wds-client 0.3.0__py3-none-any.whl → 0.4.0__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
wds_client/__init__.py CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
  from __future__ import absolute_import
16
16
 
17
- __version__ = "0.3.0"
17
+ __version__ = "0.4.0"
18
18
 
19
19
  # import apis into sdk package
20
20
  from wds_client.api.capabilities_api import CapabilitiesApi
@@ -52,13 +52,6 @@ from wds_client.models.clone_job import CloneJob
52
52
  from wds_client.models.clone_job_all_of import CloneJobAllOf
53
53
  from wds_client.models.clone_response import CloneResponse
54
54
  from wds_client.models.commit import Commit
55
- from wds_client.models.component import Component
56
- from wds_client.models.components import Components
57
- from wds_client.models.db_component import DbComponent
58
- from wds_client.models.db_validationcomponent import DbValidationcomponent
59
- from wds_client.models.db_validationcomponent_details import DbValidationcomponentDetails
60
- from wds_client.models.disk_space_component import DiskSpaceComponent
61
- from wds_client.models.disk_space_component_details import DiskSpaceComponentDetails
62
55
  from wds_client.models.error_response import ErrorResponse
63
56
  from wds_client.models.generic_job import GenericJob
64
57
  from wds_client.models.generic_job_all_of import GenericJobAllOf
wds_client/api_client.py CHANGED
@@ -78,7 +78,7 @@ class ApiClient(object):
78
78
  self.default_headers[header_name] = header_value
79
79
  self.cookie = cookie
80
80
  # Set default User-Agent.
81
- self.user_agent = 'wds-client/0.3.0/python'
81
+ self.user_agent = 'wds-client/0.4.0/python'
82
82
  self.client_side_validation = configuration.client_side_validation
83
83
 
84
84
  def __enter__(self):
@@ -336,7 +336,7 @@ class Configuration(object):
336
336
  "OS: {env}\n"\
337
337
  "Python Version: {pyversion}\n"\
338
338
  "Version of the API: v0.2\n"\
339
- "SDK Package Version: 0.3.0".\
339
+ "SDK Package Version: 0.4.0".\
340
340
  format(env=sys.platform, pyversion=sys.version)
341
341
 
342
342
  def get_host_settings(self):
@@ -31,13 +31,6 @@ from wds_client.models.clone_job import CloneJob
31
31
  from wds_client.models.clone_job_all_of import CloneJobAllOf
32
32
  from wds_client.models.clone_response import CloneResponse
33
33
  from wds_client.models.commit import Commit
34
- from wds_client.models.component import Component
35
- from wds_client.models.components import Components
36
- from wds_client.models.db_component import DbComponent
37
- from wds_client.models.db_validationcomponent import DbValidationcomponent
38
- from wds_client.models.db_validationcomponent_details import DbValidationcomponentDetails
39
- from wds_client.models.disk_space_component import DiskSpaceComponent
40
- from wds_client.models.disk_space_component_details import DiskSpaceComponentDetails
41
34
  from wds_client.models.error_response import ErrorResponse
42
35
  from wds_client.models.generic_job import GenericJob
43
36
  from wds_client.models.generic_job_all_of import GenericJobAllOf
@@ -34,7 +34,7 @@ class StatusResponse(object):
34
34
  """
35
35
  openapi_types = {
36
36
  'status': 'str',
37
- 'components': 'Components'
37
+ 'components': 'object'
38
38
  }
39
39
 
40
40
  attribute_map = {
@@ -84,7 +84,7 @@ class StatusResponse(object):
84
84
 
85
85
 
86
86
  :return: The components of this StatusResponse. # noqa: E501
87
- :rtype: Components
87
+ :rtype: object
88
88
  """
89
89
  return self._components
90
90
 
@@ -94,7 +94,7 @@ class StatusResponse(object):
94
94
 
95
95
 
96
96
  :param components: The components of this StatusResponse. # noqa: E501
97
- :type: Components
97
+ :type: object
98
98
  """
99
99
 
100
100
  self._components = components
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wds-client
3
- Version: 0.3.0
3
+ Version: 0.4.0
4
4
  Summary: Workspace Data Service
5
5
  Home-page:
6
6
  Author: OpenAPI Generator community
@@ -1,6 +1,6 @@
1
- wds_client/__init__.py,sha256=-xI7PEePP2zQ2sYxxyrfNBuszauqbDIVrLEyAuKsAmI,3711
2
- wds_client/api_client.py,sha256=UG9MPAOqiUf01CGws_cNMJtaQRlbM51zaKyborjCKRk,26209
3
- wds_client/configuration.py,sha256=DH4P8nEm_J517u7vMmvedir9Bah6lLayygcIM0pJdNY,12786
1
+ wds_client/__init__.py,sha256=l5jkUI9CvUoMN_ObrpRYYNHBZ6Z00YKVDaVtqIMcmUw,3234
2
+ wds_client/api_client.py,sha256=kzl_C-BUq-2J3OsIsLU_D3rNGAkeKlh4JDdh6e1_Kp0,26209
3
+ wds_client/configuration.py,sha256=FUUQLrLmq0ktK-1vJkb0EmpqX2gXT45XEqSNiTw5iG8,12786
4
4
  wds_client/exceptions.py,sha256=0mEseFMbvxS5JfgkbPg14sxBI7bW0Gt0Ftxs96_LCyg,3781
5
5
  wds_client/rest.py,sha256=v-8FIxQfUQ7bkeKfe9qsi9en8uQa5Zf5uSqhrui_cRw,12309
6
6
  wds_client/api/__init__.py,sha256=T7qJbog9E_rDanluvSZAqM71AaSKcg2AUsmzEtz_MOg,519
@@ -12,7 +12,7 @@ wds_client/api/instances_api.py,sha256=EtBqCzB6HETQ5GDh7_LHNeoPR4vqR4ScP-uyNDAxm
12
12
  wds_client/api/job_api.py,sha256=yR0rFpBKf5W1dqwzeKMEGjOfP9JrRQ8HM4gxhzKWskM,11209
13
13
  wds_client/api/records_api.py,sha256=kH_DklhEdBFbyCAOBfsy82J_kD7t-dfhJDTeI9PmeZ8,61562
14
14
  wds_client/api/schema_api.py,sha256=p2cgKPW7qAYNir0S7-AY67hE0xejkubFSOTBv6Pq-aQ,34758
15
- wds_client/models/__init__.py,sha256=UvRvdnamg4UsFugpiXygs2PsrU095a0xFfyYx_d_g3o,2871
15
+ wds_client/models/__init__.py,sha256=vijZYsa1aEcObIVEi14vp_bdSdLkv_prkuG7YpKy90M,2394
16
16
  wds_client/models/app.py,sha256=3sIUtT5T8VXBcNvD07QVOQHOxD_8dp0QSMeWcvCflCQ,3917
17
17
  wds_client/models/attribute_data_type.py,sha256=naNblQZsE5NirXqB9-EPRTRzgHPSu_b3pNrqOzEW7XY,3416
18
18
  wds_client/models/attribute_schema.py,sha256=2wMwqiaETuJb9sk8Wa0Yy_PPijQH348bveD8w3Dsouk,5323
@@ -30,13 +30,6 @@ wds_client/models/clone_job.py,sha256=QXRWd8Rh8YJOtd-kwSWRatI8TVpPDFOJxbYFhf4r-9
30
30
  wds_client/models/clone_job_all_of.py,sha256=qCdV6YEmTXmjhzOU_5badSYgeBHl6TCkPAaIcldzHLY,4058
31
31
  wds_client/models/clone_response.py,sha256=eKoFwQwL0ewxXZffLI-h9W2ICYxP16O7K9ndDZEJmDs,4463
32
32
  wds_client/models/commit.py,sha256=TAQ1AUNHHYuiPBRNlUhCbbVqtAbMtqhXaz3_MsW33NU,3728
33
- wds_client/models/component.py,sha256=81O9337IiC7G0cmixPAKUOdijIcgljIztGktGNurihA,3889
34
- wds_client/models/components.py,sha256=_sujJDeiHfATykauXZmzZHV8roXbGLygzSZWNkRuXQ4,5218
35
- wds_client/models/db_component.py,sha256=vY21MauPZ8R6WUkY2rpqMwMHxJyJt7ogq90iGRV8CPI,3991
36
- wds_client/models/db_validationcomponent.py,sha256=D3VlYaClitomBWBX4w8dfKf_VfRWUoZPhee_hKQk6GA,4168
37
- wds_client/models/db_validationcomponent_details.py,sha256=XCdava2ei6-61oD5HsNcRoYStXBMMGLk_9dovtJJFOU,4336
38
- wds_client/models/disk_space_component.py,sha256=PvwH4oB_mpJxub4WyEmHEOMGGfXrDwparswmqVu_DO8,4063
39
- wds_client/models/disk_space_component_details.py,sha256=scmRuQ20RSzM5rsAndhR7nrl95wu5XJgs6ve-USblNs,5414
40
33
  wds_client/models/error_response.py,sha256=85fAunlWeuyumacVFr7erC7HSSMXblv1AE5fuB0Bx_o,6947
41
34
  wds_client/models/generic_job.py,sha256=y1xyCnWyzLTF6n-5KvwpZLDmEX8Ij_ofOJ4izA3XmoU,10385
42
35
  wds_client/models/generic_job_all_of.py,sha256=STC-Cz0AA0EN0yGCaxJQaHTjDTZ9LW47u8V50olg-58,4123
@@ -52,10 +45,10 @@ wds_client/models/record_type_schema.py,sha256=cPbDQH0kvz91z1IZ_s3Zbrpqx_hrWYfG9
52
45
  wds_client/models/search_filter.py,sha256=Y4uD_N2qoXBke8nKxszr2ZfcPXGOqZKTGUxTMHAwEig,3370
53
46
  wds_client/models/search_request.py,sha256=ig__yYlNP1m10ODvCDC700zeAHYMpUWKU1u5kf92EhU,6866
54
47
  wds_client/models/search_sort_direction.py,sha256=qR4x09JH9HLuTwvBL8OJrJrw5DwI_KwcTU8I-vjNYO8,2824
55
- wds_client/models/status_response.py,sha256=TjCfqrE5KFZ-3DmEePndQUOD-GWGVtdpAzOw-d8QEPk,4030
48
+ wds_client/models/status_response.py,sha256=F084od3-J9gJPcJsDx2AKSkAHF8gdY8goo0pdtFnMbw,4018
56
49
  wds_client/models/tsv_upload_response.py,sha256=JdEs9hwyH264eLhQYj9d7p9B4cCP5-wkpgMg6qk8GNI,4507
57
50
  wds_client/models/version_response.py,sha256=rHOAaXFPx0CjAe3hJ_2TzYUrhaTY5yfxA3rlf5XcytM,4436
58
- wds_client-0.3.0.dist-info/METADATA,sha256=U7RTwUrulQ9HlfMMsAJ6mEV77TAMXNYhDNSrSbHRTpA,466
59
- wds_client-0.3.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
60
- wds_client-0.3.0.dist-info/top_level.txt,sha256=hU2h533r5-3FzApV8ps3zXmQJKy74SPT3sYR8-uZhp8,11
61
- wds_client-0.3.0.dist-info/RECORD,,
51
+ wds_client-0.4.0.dist-info/METADATA,sha256=HWOHnXcmWnaVroIS0ZkwhsRj9nOOqA8mIewE6J0PVlY,466
52
+ wds_client-0.4.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
53
+ wds_client-0.4.0.dist-info/top_level.txt,sha256=hU2h533r5-3FzApV8ps3zXmQJKy74SPT3sYR8-uZhp8,11
54
+ wds_client-0.4.0.dist-info/RECORD,,
@@ -1,146 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Workspace Data Service
5
-
6
- This page lists current APIs. As of v0.2, all APIs are subject to change without notice. # noqa: E501
7
-
8
- The version of the OpenAPI document: v0.2
9
- Generated by: https://openapi-generator.tech
10
- """
11
-
12
-
13
- import pprint
14
- import re # noqa: F401
15
-
16
- import six
17
-
18
- from wds_client.configuration import Configuration
19
-
20
-
21
- class Component(object):
22
- """NOTE: This class is auto generated by OpenAPI Generator.
23
- Ref: https://openapi-generator.tech
24
-
25
- Do not edit the class manually.
26
- """
27
-
28
- """
29
- Attributes:
30
- openapi_types (dict): The key is attribute name
31
- and the value is attribute type.
32
- attribute_map (dict): The key is attribute name
33
- and the value is json key in definition.
34
- """
35
- openapi_types = {
36
- 'status': 'str',
37
- 'details': 'str'
38
- }
39
-
40
- attribute_map = {
41
- 'status': 'status',
42
- 'details': 'details'
43
- }
44
-
45
- def __init__(self, status=None, details=None, local_vars_configuration=None): # noqa: E501
46
- """Component - a model defined in OpenAPI""" # noqa: E501
47
- if local_vars_configuration is None:
48
- local_vars_configuration = Configuration()
49
- self.local_vars_configuration = local_vars_configuration
50
-
51
- self._status = None
52
- self._details = None
53
- self.discriminator = None
54
-
55
- if status is not None:
56
- self.status = status
57
- if details is not None:
58
- self.details = details
59
-
60
- @property
61
- def status(self):
62
- """Gets the status of this Component. # noqa: E501
63
-
64
-
65
- :return: The status of this Component. # noqa: E501
66
- :rtype: str
67
- """
68
- return self._status
69
-
70
- @status.setter
71
- def status(self, status):
72
- """Sets the status of this Component.
73
-
74
-
75
- :param status: The status of this Component. # noqa: E501
76
- :type: str
77
- """
78
-
79
- self._status = status
80
-
81
- @property
82
- def details(self):
83
- """Gets the details of this Component. # noqa: E501
84
-
85
-
86
- :return: The details of this Component. # noqa: E501
87
- :rtype: str
88
- """
89
- return self._details
90
-
91
- @details.setter
92
- def details(self, details):
93
- """Sets the details of this Component.
94
-
95
-
96
- :param details: The details of this Component. # noqa: E501
97
- :type: str
98
- """
99
-
100
- self._details = details
101
-
102
- def to_dict(self):
103
- """Returns the model properties as a dict"""
104
- result = {}
105
-
106
- for attr, _ in six.iteritems(self.openapi_types):
107
- value = getattr(self, attr)
108
- if isinstance(value, list):
109
- result[attr] = list(map(
110
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
111
- value
112
- ))
113
- elif hasattr(value, "to_dict"):
114
- result[attr] = value.to_dict()
115
- elif isinstance(value, dict):
116
- result[attr] = dict(map(
117
- lambda item: (item[0], item[1].to_dict())
118
- if hasattr(item[1], "to_dict") else item,
119
- value.items()
120
- ))
121
- else:
122
- result[attr] = value
123
-
124
- return result
125
-
126
- def to_str(self):
127
- """Returns the string representation of the model"""
128
- return pprint.pformat(self.to_dict())
129
-
130
- def __repr__(self):
131
- """For `print` and `pprint`"""
132
- return self.to_str()
133
-
134
- def __eq__(self, other):
135
- """Returns true if both objects are equal"""
136
- if not isinstance(other, Component):
137
- return False
138
-
139
- return self.to_dict() == other.to_dict()
140
-
141
- def __ne__(self, other):
142
- """Returns true if both objects are not equal"""
143
- if not isinstance(other, Component):
144
- return True
145
-
146
- return self.to_dict() != other.to_dict()
@@ -1,198 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Workspace Data Service
5
-
6
- This page lists current APIs. As of v0.2, all APIs are subject to change without notice. # noqa: E501
7
-
8
- The version of the OpenAPI document: v0.2
9
- Generated by: https://openapi-generator.tech
10
- """
11
-
12
-
13
- import pprint
14
- import re # noqa: F401
15
-
16
- import six
17
-
18
- from wds_client.configuration import Configuration
19
-
20
-
21
- class Components(object):
22
- """NOTE: This class is auto generated by OpenAPI Generator.
23
- Ref: https://openapi-generator.tech
24
-
25
- Do not edit the class manually.
26
- """
27
-
28
- """
29
- Attributes:
30
- openapi_types (dict): The key is attribute name
31
- and the value is attribute type.
32
- attribute_map (dict): The key is attribute name
33
- and the value is json key in definition.
34
- """
35
- openapi_types = {
36
- 'db': 'DbComponent',
37
- 'disk_space': 'DiskSpaceComponent',
38
- 'ping': 'Component',
39
- 'main_db': 'DbValidationcomponent'
40
- }
41
-
42
- attribute_map = {
43
- 'db': 'db',
44
- 'disk_space': 'diskSpace',
45
- 'ping': 'ping',
46
- 'main_db': 'mainDb'
47
- }
48
-
49
- def __init__(self, db=None, disk_space=None, ping=None, main_db=None, local_vars_configuration=None): # noqa: E501
50
- """Components - a model defined in OpenAPI""" # noqa: E501
51
- if local_vars_configuration is None:
52
- local_vars_configuration = Configuration()
53
- self.local_vars_configuration = local_vars_configuration
54
-
55
- self._db = None
56
- self._disk_space = None
57
- self._ping = None
58
- self._main_db = None
59
- self.discriminator = None
60
-
61
- if db is not None:
62
- self.db = db
63
- if disk_space is not None:
64
- self.disk_space = disk_space
65
- if ping is not None:
66
- self.ping = ping
67
- if main_db is not None:
68
- self.main_db = main_db
69
-
70
- @property
71
- def db(self):
72
- """Gets the db of this Components. # noqa: E501
73
-
74
-
75
- :return: The db of this Components. # noqa: E501
76
- :rtype: DbComponent
77
- """
78
- return self._db
79
-
80
- @db.setter
81
- def db(self, db):
82
- """Sets the db of this Components.
83
-
84
-
85
- :param db: The db of this Components. # noqa: E501
86
- :type: DbComponent
87
- """
88
-
89
- self._db = db
90
-
91
- @property
92
- def disk_space(self):
93
- """Gets the disk_space of this Components. # noqa: E501
94
-
95
-
96
- :return: The disk_space of this Components. # noqa: E501
97
- :rtype: DiskSpaceComponent
98
- """
99
- return self._disk_space
100
-
101
- @disk_space.setter
102
- def disk_space(self, disk_space):
103
- """Sets the disk_space of this Components.
104
-
105
-
106
- :param disk_space: The disk_space of this Components. # noqa: E501
107
- :type: DiskSpaceComponent
108
- """
109
-
110
- self._disk_space = disk_space
111
-
112
- @property
113
- def ping(self):
114
- """Gets the ping of this Components. # noqa: E501
115
-
116
-
117
- :return: The ping of this Components. # noqa: E501
118
- :rtype: Component
119
- """
120
- return self._ping
121
-
122
- @ping.setter
123
- def ping(self, ping):
124
- """Sets the ping of this Components.
125
-
126
-
127
- :param ping: The ping of this Components. # noqa: E501
128
- :type: Component
129
- """
130
-
131
- self._ping = ping
132
-
133
- @property
134
- def main_db(self):
135
- """Gets the main_db of this Components. # noqa: E501
136
-
137
-
138
- :return: The main_db of this Components. # noqa: E501
139
- :rtype: DbValidationcomponent
140
- """
141
- return self._main_db
142
-
143
- @main_db.setter
144
- def main_db(self, main_db):
145
- """Sets the main_db of this Components.
146
-
147
-
148
- :param main_db: The main_db of this Components. # noqa: E501
149
- :type: DbValidationcomponent
150
- """
151
-
152
- self._main_db = main_db
153
-
154
- def to_dict(self):
155
- """Returns the model properties as a dict"""
156
- result = {}
157
-
158
- for attr, _ in six.iteritems(self.openapi_types):
159
- value = getattr(self, attr)
160
- if isinstance(value, list):
161
- result[attr] = list(map(
162
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
163
- value
164
- ))
165
- elif hasattr(value, "to_dict"):
166
- result[attr] = value.to_dict()
167
- elif isinstance(value, dict):
168
- result[attr] = dict(map(
169
- lambda item: (item[0], item[1].to_dict())
170
- if hasattr(item[1], "to_dict") else item,
171
- value.items()
172
- ))
173
- else:
174
- result[attr] = value
175
-
176
- return result
177
-
178
- def to_str(self):
179
- """Returns the string representation of the model"""
180
- return pprint.pformat(self.to_dict())
181
-
182
- def __repr__(self):
183
- """For `print` and `pprint`"""
184
- return self.to_str()
185
-
186
- def __eq__(self, other):
187
- """Returns true if both objects are equal"""
188
- if not isinstance(other, Components):
189
- return False
190
-
191
- return self.to_dict() == other.to_dict()
192
-
193
- def __ne__(self, other):
194
- """Returns true if both objects are not equal"""
195
- if not isinstance(other, Components):
196
- return True
197
-
198
- return self.to_dict() != other.to_dict()
@@ -1,146 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Workspace Data Service
5
-
6
- This page lists current APIs. As of v0.2, all APIs are subject to change without notice. # noqa: E501
7
-
8
- The version of the OpenAPI document: v0.2
9
- Generated by: https://openapi-generator.tech
10
- """
11
-
12
-
13
- import pprint
14
- import re # noqa: F401
15
-
16
- import six
17
-
18
- from wds_client.configuration import Configuration
19
-
20
-
21
- class DbComponent(object):
22
- """NOTE: This class is auto generated by OpenAPI Generator.
23
- Ref: https://openapi-generator.tech
24
-
25
- Do not edit the class manually.
26
- """
27
-
28
- """
29
- Attributes:
30
- openapi_types (dict): The key is attribute name
31
- and the value is attribute type.
32
- attribute_map (dict): The key is attribute name
33
- and the value is json key in definition.
34
- """
35
- openapi_types = {
36
- 'status': 'str',
37
- 'components': 'Component'
38
- }
39
-
40
- attribute_map = {
41
- 'status': 'status',
42
- 'components': 'components'
43
- }
44
-
45
- def __init__(self, status=None, components=None, local_vars_configuration=None): # noqa: E501
46
- """DbComponent - a model defined in OpenAPI""" # noqa: E501
47
- if local_vars_configuration is None:
48
- local_vars_configuration = Configuration()
49
- self.local_vars_configuration = local_vars_configuration
50
-
51
- self._status = None
52
- self._components = None
53
- self.discriminator = None
54
-
55
- if status is not None:
56
- self.status = status
57
- if components is not None:
58
- self.components = components
59
-
60
- @property
61
- def status(self):
62
- """Gets the status of this DbComponent. # noqa: E501
63
-
64
-
65
- :return: The status of this DbComponent. # noqa: E501
66
- :rtype: str
67
- """
68
- return self._status
69
-
70
- @status.setter
71
- def status(self, status):
72
- """Sets the status of this DbComponent.
73
-
74
-
75
- :param status: The status of this DbComponent. # noqa: E501
76
- :type: str
77
- """
78
-
79
- self._status = status
80
-
81
- @property
82
- def components(self):
83
- """Gets the components of this DbComponent. # noqa: E501
84
-
85
-
86
- :return: The components of this DbComponent. # noqa: E501
87
- :rtype: Component
88
- """
89
- return self._components
90
-
91
- @components.setter
92
- def components(self, components):
93
- """Sets the components of this DbComponent.
94
-
95
-
96
- :param components: The components of this DbComponent. # noqa: E501
97
- :type: Component
98
- """
99
-
100
- self._components = components
101
-
102
- def to_dict(self):
103
- """Returns the model properties as a dict"""
104
- result = {}
105
-
106
- for attr, _ in six.iteritems(self.openapi_types):
107
- value = getattr(self, attr)
108
- if isinstance(value, list):
109
- result[attr] = list(map(
110
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
111
- value
112
- ))
113
- elif hasattr(value, "to_dict"):
114
- result[attr] = value.to_dict()
115
- elif isinstance(value, dict):
116
- result[attr] = dict(map(
117
- lambda item: (item[0], item[1].to_dict())
118
- if hasattr(item[1], "to_dict") else item,
119
- value.items()
120
- ))
121
- else:
122
- result[attr] = value
123
-
124
- return result
125
-
126
- def to_str(self):
127
- """Returns the string representation of the model"""
128
- return pprint.pformat(self.to_dict())
129
-
130
- def __repr__(self):
131
- """For `print` and `pprint`"""
132
- return self.to_str()
133
-
134
- def __eq__(self, other):
135
- """Returns true if both objects are equal"""
136
- if not isinstance(other, DbComponent):
137
- return False
138
-
139
- return self.to_dict() == other.to_dict()
140
-
141
- def __ne__(self, other):
142
- """Returns true if both objects are not equal"""
143
- if not isinstance(other, DbComponent):
144
- return True
145
-
146
- return self.to_dict() != other.to_dict()
@@ -1,146 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Workspace Data Service
5
-
6
- This page lists current APIs. As of v0.2, all APIs are subject to change without notice. # noqa: E501
7
-
8
- The version of the OpenAPI document: v0.2
9
- Generated by: https://openapi-generator.tech
10
- """
11
-
12
-
13
- import pprint
14
- import re # noqa: F401
15
-
16
- import six
17
-
18
- from wds_client.configuration import Configuration
19
-
20
-
21
- class DbValidationcomponent(object):
22
- """NOTE: This class is auto generated by OpenAPI Generator.
23
- Ref: https://openapi-generator.tech
24
-
25
- Do not edit the class manually.
26
- """
27
-
28
- """
29
- Attributes:
30
- openapi_types (dict): The key is attribute name
31
- and the value is attribute type.
32
- attribute_map (dict): The key is attribute name
33
- and the value is json key in definition.
34
- """
35
- openapi_types = {
36
- 'status': 'str',
37
- 'components': 'DbValidationcomponentDetails'
38
- }
39
-
40
- attribute_map = {
41
- 'status': 'status',
42
- 'components': 'components'
43
- }
44
-
45
- def __init__(self, status=None, components=None, local_vars_configuration=None): # noqa: E501
46
- """DbValidationcomponent - a model defined in OpenAPI""" # noqa: E501
47
- if local_vars_configuration is None:
48
- local_vars_configuration = Configuration()
49
- self.local_vars_configuration = local_vars_configuration
50
-
51
- self._status = None
52
- self._components = None
53
- self.discriminator = None
54
-
55
- if status is not None:
56
- self.status = status
57
- if components is not None:
58
- self.components = components
59
-
60
- @property
61
- def status(self):
62
- """Gets the status of this DbValidationcomponent. # noqa: E501
63
-
64
-
65
- :return: The status of this DbValidationcomponent. # noqa: E501
66
- :rtype: str
67
- """
68
- return self._status
69
-
70
- @status.setter
71
- def status(self, status):
72
- """Sets the status of this DbValidationcomponent.
73
-
74
-
75
- :param status: The status of this DbValidationcomponent. # noqa: E501
76
- :type: str
77
- """
78
-
79
- self._status = status
80
-
81
- @property
82
- def components(self):
83
- """Gets the components of this DbValidationcomponent. # noqa: E501
84
-
85
-
86
- :return: The components of this DbValidationcomponent. # noqa: E501
87
- :rtype: DbValidationcomponentDetails
88
- """
89
- return self._components
90
-
91
- @components.setter
92
- def components(self, components):
93
- """Sets the components of this DbValidationcomponent.
94
-
95
-
96
- :param components: The components of this DbValidationcomponent. # noqa: E501
97
- :type: DbValidationcomponentDetails
98
- """
99
-
100
- self._components = components
101
-
102
- def to_dict(self):
103
- """Returns the model properties as a dict"""
104
- result = {}
105
-
106
- for attr, _ in six.iteritems(self.openapi_types):
107
- value = getattr(self, attr)
108
- if isinstance(value, list):
109
- result[attr] = list(map(
110
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
111
- value
112
- ))
113
- elif hasattr(value, "to_dict"):
114
- result[attr] = value.to_dict()
115
- elif isinstance(value, dict):
116
- result[attr] = dict(map(
117
- lambda item: (item[0], item[1].to_dict())
118
- if hasattr(item[1], "to_dict") else item,
119
- value.items()
120
- ))
121
- else:
122
- result[attr] = value
123
-
124
- return result
125
-
126
- def to_str(self):
127
- """Returns the string representation of the model"""
128
- return pprint.pformat(self.to_dict())
129
-
130
- def __repr__(self):
131
- """For `print` and `pprint`"""
132
- return self.to_str()
133
-
134
- def __eq__(self, other):
135
- """Returns true if both objects are equal"""
136
- if not isinstance(other, DbValidationcomponent):
137
- return False
138
-
139
- return self.to_dict() == other.to_dict()
140
-
141
- def __ne__(self, other):
142
- """Returns true if both objects are not equal"""
143
- if not isinstance(other, DbValidationcomponent):
144
- return True
145
-
146
- return self.to_dict() != other.to_dict()
@@ -1,146 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Workspace Data Service
5
-
6
- This page lists current APIs. As of v0.2, all APIs are subject to change without notice. # noqa: E501
7
-
8
- The version of the OpenAPI document: v0.2
9
- Generated by: https://openapi-generator.tech
10
- """
11
-
12
-
13
- import pprint
14
- import re # noqa: F401
15
-
16
- import six
17
-
18
- from wds_client.configuration import Configuration
19
-
20
-
21
- class DbValidationcomponentDetails(object):
22
- """NOTE: This class is auto generated by OpenAPI Generator.
23
- Ref: https://openapi-generator.tech
24
-
25
- Do not edit the class manually.
26
- """
27
-
28
- """
29
- Attributes:
30
- openapi_types (dict): The key is attribute name
31
- and the value is attribute type.
32
- attribute_map (dict): The key is attribute name
33
- and the value is json key in definition.
34
- """
35
- openapi_types = {
36
- 'database': 'str',
37
- 'validation_query': 'str'
38
- }
39
-
40
- attribute_map = {
41
- 'database': 'database',
42
- 'validation_query': 'validationQuery'
43
- }
44
-
45
- def __init__(self, database=None, validation_query=None, local_vars_configuration=None): # noqa: E501
46
- """DbValidationcomponentDetails - a model defined in OpenAPI""" # noqa: E501
47
- if local_vars_configuration is None:
48
- local_vars_configuration = Configuration()
49
- self.local_vars_configuration = local_vars_configuration
50
-
51
- self._database = None
52
- self._validation_query = None
53
- self.discriminator = None
54
-
55
- if database is not None:
56
- self.database = database
57
- if validation_query is not None:
58
- self.validation_query = validation_query
59
-
60
- @property
61
- def database(self):
62
- """Gets the database of this DbValidationcomponentDetails. # noqa: E501
63
-
64
-
65
- :return: The database of this DbValidationcomponentDetails. # noqa: E501
66
- :rtype: str
67
- """
68
- return self._database
69
-
70
- @database.setter
71
- def database(self, database):
72
- """Sets the database of this DbValidationcomponentDetails.
73
-
74
-
75
- :param database: The database of this DbValidationcomponentDetails. # noqa: E501
76
- :type: str
77
- """
78
-
79
- self._database = database
80
-
81
- @property
82
- def validation_query(self):
83
- """Gets the validation_query of this DbValidationcomponentDetails. # noqa: E501
84
-
85
-
86
- :return: The validation_query of this DbValidationcomponentDetails. # noqa: E501
87
- :rtype: str
88
- """
89
- return self._validation_query
90
-
91
- @validation_query.setter
92
- def validation_query(self, validation_query):
93
- """Sets the validation_query of this DbValidationcomponentDetails.
94
-
95
-
96
- :param validation_query: The validation_query of this DbValidationcomponentDetails. # noqa: E501
97
- :type: str
98
- """
99
-
100
- self._validation_query = validation_query
101
-
102
- def to_dict(self):
103
- """Returns the model properties as a dict"""
104
- result = {}
105
-
106
- for attr, _ in six.iteritems(self.openapi_types):
107
- value = getattr(self, attr)
108
- if isinstance(value, list):
109
- result[attr] = list(map(
110
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
111
- value
112
- ))
113
- elif hasattr(value, "to_dict"):
114
- result[attr] = value.to_dict()
115
- elif isinstance(value, dict):
116
- result[attr] = dict(map(
117
- lambda item: (item[0], item[1].to_dict())
118
- if hasattr(item[1], "to_dict") else item,
119
- value.items()
120
- ))
121
- else:
122
- result[attr] = value
123
-
124
- return result
125
-
126
- def to_str(self):
127
- """Returns the string representation of the model"""
128
- return pprint.pformat(self.to_dict())
129
-
130
- def __repr__(self):
131
- """For `print` and `pprint`"""
132
- return self.to_str()
133
-
134
- def __eq__(self, other):
135
- """Returns true if both objects are equal"""
136
- if not isinstance(other, DbValidationcomponentDetails):
137
- return False
138
-
139
- return self.to_dict() == other.to_dict()
140
-
141
- def __ne__(self, other):
142
- """Returns true if both objects are not equal"""
143
- if not isinstance(other, DbValidationcomponentDetails):
144
- return True
145
-
146
- return self.to_dict() != other.to_dict()
@@ -1,146 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Workspace Data Service
5
-
6
- This page lists current APIs. As of v0.2, all APIs are subject to change without notice. # noqa: E501
7
-
8
- The version of the OpenAPI document: v0.2
9
- Generated by: https://openapi-generator.tech
10
- """
11
-
12
-
13
- import pprint
14
- import re # noqa: F401
15
-
16
- import six
17
-
18
- from wds_client.configuration import Configuration
19
-
20
-
21
- class DiskSpaceComponent(object):
22
- """NOTE: This class is auto generated by OpenAPI Generator.
23
- Ref: https://openapi-generator.tech
24
-
25
- Do not edit the class manually.
26
- """
27
-
28
- """
29
- Attributes:
30
- openapi_types (dict): The key is attribute name
31
- and the value is attribute type.
32
- attribute_map (dict): The key is attribute name
33
- and the value is json key in definition.
34
- """
35
- openapi_types = {
36
- 'status': 'str',
37
- 'details': 'DiskSpaceComponentDetails'
38
- }
39
-
40
- attribute_map = {
41
- 'status': 'status',
42
- 'details': 'details'
43
- }
44
-
45
- def __init__(self, status=None, details=None, local_vars_configuration=None): # noqa: E501
46
- """DiskSpaceComponent - a model defined in OpenAPI""" # noqa: E501
47
- if local_vars_configuration is None:
48
- local_vars_configuration = Configuration()
49
- self.local_vars_configuration = local_vars_configuration
50
-
51
- self._status = None
52
- self._details = None
53
- self.discriminator = None
54
-
55
- if status is not None:
56
- self.status = status
57
- if details is not None:
58
- self.details = details
59
-
60
- @property
61
- def status(self):
62
- """Gets the status of this DiskSpaceComponent. # noqa: E501
63
-
64
-
65
- :return: The status of this DiskSpaceComponent. # noqa: E501
66
- :rtype: str
67
- """
68
- return self._status
69
-
70
- @status.setter
71
- def status(self, status):
72
- """Sets the status of this DiskSpaceComponent.
73
-
74
-
75
- :param status: The status of this DiskSpaceComponent. # noqa: E501
76
- :type: str
77
- """
78
-
79
- self._status = status
80
-
81
- @property
82
- def details(self):
83
- """Gets the details of this DiskSpaceComponent. # noqa: E501
84
-
85
-
86
- :return: The details of this DiskSpaceComponent. # noqa: E501
87
- :rtype: DiskSpaceComponentDetails
88
- """
89
- return self._details
90
-
91
- @details.setter
92
- def details(self, details):
93
- """Sets the details of this DiskSpaceComponent.
94
-
95
-
96
- :param details: The details of this DiskSpaceComponent. # noqa: E501
97
- :type: DiskSpaceComponentDetails
98
- """
99
-
100
- self._details = details
101
-
102
- def to_dict(self):
103
- """Returns the model properties as a dict"""
104
- result = {}
105
-
106
- for attr, _ in six.iteritems(self.openapi_types):
107
- value = getattr(self, attr)
108
- if isinstance(value, list):
109
- result[attr] = list(map(
110
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
111
- value
112
- ))
113
- elif hasattr(value, "to_dict"):
114
- result[attr] = value.to_dict()
115
- elif isinstance(value, dict):
116
- result[attr] = dict(map(
117
- lambda item: (item[0], item[1].to_dict())
118
- if hasattr(item[1], "to_dict") else item,
119
- value.items()
120
- ))
121
- else:
122
- result[attr] = value
123
-
124
- return result
125
-
126
- def to_str(self):
127
- """Returns the string representation of the model"""
128
- return pprint.pformat(self.to_dict())
129
-
130
- def __repr__(self):
131
- """For `print` and `pprint`"""
132
- return self.to_str()
133
-
134
- def __eq__(self, other):
135
- """Returns true if both objects are equal"""
136
- if not isinstance(other, DiskSpaceComponent):
137
- return False
138
-
139
- return self.to_dict() == other.to_dict()
140
-
141
- def __ne__(self, other):
142
- """Returns true if both objects are not equal"""
143
- if not isinstance(other, DiskSpaceComponent):
144
- return True
145
-
146
- return self.to_dict() != other.to_dict()
@@ -1,198 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Workspace Data Service
5
-
6
- This page lists current APIs. As of v0.2, all APIs are subject to change without notice. # noqa: E501
7
-
8
- The version of the OpenAPI document: v0.2
9
- Generated by: https://openapi-generator.tech
10
- """
11
-
12
-
13
- import pprint
14
- import re # noqa: F401
15
-
16
- import six
17
-
18
- from wds_client.configuration import Configuration
19
-
20
-
21
- class DiskSpaceComponentDetails(object):
22
- """NOTE: This class is auto generated by OpenAPI Generator.
23
- Ref: https://openapi-generator.tech
24
-
25
- Do not edit the class manually.
26
- """
27
-
28
- """
29
- Attributes:
30
- openapi_types (dict): The key is attribute name
31
- and the value is attribute type.
32
- attribute_map (dict): The key is attribute name
33
- and the value is json key in definition.
34
- """
35
- openapi_types = {
36
- 'total': 'str',
37
- 'free': 'float',
38
- 'threshold': 'float',
39
- 'exists': 'bool'
40
- }
41
-
42
- attribute_map = {
43
- 'total': 'total',
44
- 'free': 'free',
45
- 'threshold': 'threshold',
46
- 'exists': 'exists'
47
- }
48
-
49
- def __init__(self, total=None, free=None, threshold=None, exists=None, local_vars_configuration=None): # noqa: E501
50
- """DiskSpaceComponentDetails - a model defined in OpenAPI""" # noqa: E501
51
- if local_vars_configuration is None:
52
- local_vars_configuration = Configuration()
53
- self.local_vars_configuration = local_vars_configuration
54
-
55
- self._total = None
56
- self._free = None
57
- self._threshold = None
58
- self._exists = None
59
- self.discriminator = None
60
-
61
- if total is not None:
62
- self.total = total
63
- if free is not None:
64
- self.free = free
65
- if threshold is not None:
66
- self.threshold = threshold
67
- if exists is not None:
68
- self.exists = exists
69
-
70
- @property
71
- def total(self):
72
- """Gets the total of this DiskSpaceComponentDetails. # noqa: E501
73
-
74
-
75
- :return: The total of this DiskSpaceComponentDetails. # noqa: E501
76
- :rtype: str
77
- """
78
- return self._total
79
-
80
- @total.setter
81
- def total(self, total):
82
- """Sets the total of this DiskSpaceComponentDetails.
83
-
84
-
85
- :param total: The total of this DiskSpaceComponentDetails. # noqa: E501
86
- :type: str
87
- """
88
-
89
- self._total = total
90
-
91
- @property
92
- def free(self):
93
- """Gets the free of this DiskSpaceComponentDetails. # noqa: E501
94
-
95
-
96
- :return: The free of this DiskSpaceComponentDetails. # noqa: E501
97
- :rtype: float
98
- """
99
- return self._free
100
-
101
- @free.setter
102
- def free(self, free):
103
- """Sets the free of this DiskSpaceComponentDetails.
104
-
105
-
106
- :param free: The free of this DiskSpaceComponentDetails. # noqa: E501
107
- :type: float
108
- """
109
-
110
- self._free = free
111
-
112
- @property
113
- def threshold(self):
114
- """Gets the threshold of this DiskSpaceComponentDetails. # noqa: E501
115
-
116
-
117
- :return: The threshold of this DiskSpaceComponentDetails. # noqa: E501
118
- :rtype: float
119
- """
120
- return self._threshold
121
-
122
- @threshold.setter
123
- def threshold(self, threshold):
124
- """Sets the threshold of this DiskSpaceComponentDetails.
125
-
126
-
127
- :param threshold: The threshold of this DiskSpaceComponentDetails. # noqa: E501
128
- :type: float
129
- """
130
-
131
- self._threshold = threshold
132
-
133
- @property
134
- def exists(self):
135
- """Gets the exists of this DiskSpaceComponentDetails. # noqa: E501
136
-
137
-
138
- :return: The exists of this DiskSpaceComponentDetails. # noqa: E501
139
- :rtype: bool
140
- """
141
- return self._exists
142
-
143
- @exists.setter
144
- def exists(self, exists):
145
- """Sets the exists of this DiskSpaceComponentDetails.
146
-
147
-
148
- :param exists: The exists of this DiskSpaceComponentDetails. # noqa: E501
149
- :type: bool
150
- """
151
-
152
- self._exists = exists
153
-
154
- def to_dict(self):
155
- """Returns the model properties as a dict"""
156
- result = {}
157
-
158
- for attr, _ in six.iteritems(self.openapi_types):
159
- value = getattr(self, attr)
160
- if isinstance(value, list):
161
- result[attr] = list(map(
162
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
163
- value
164
- ))
165
- elif hasattr(value, "to_dict"):
166
- result[attr] = value.to_dict()
167
- elif isinstance(value, dict):
168
- result[attr] = dict(map(
169
- lambda item: (item[0], item[1].to_dict())
170
- if hasattr(item[1], "to_dict") else item,
171
- value.items()
172
- ))
173
- else:
174
- result[attr] = value
175
-
176
- return result
177
-
178
- def to_str(self):
179
- """Returns the string representation of the model"""
180
- return pprint.pformat(self.to_dict())
181
-
182
- def __repr__(self):
183
- """For `print` and `pprint`"""
184
- return self.to_str()
185
-
186
- def __eq__(self, other):
187
- """Returns true if both objects are equal"""
188
- if not isinstance(other, DiskSpaceComponentDetails):
189
- return False
190
-
191
- return self.to_dict() == other.to_dict()
192
-
193
- def __ne__(self, other):
194
- """Returns true if both objects are not equal"""
195
- if not isinstance(other, DiskSpaceComponentDetails):
196
- return True
197
-
198
- return self.to_dict() != other.to_dict()