anyscale 0.26.58__py3-none-any.whl → 0.26.59__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- anyscale/_private/anyscale_client/common.py +1 -1
- anyscale/client/README.md +15 -0
- anyscale/client/openapi_client/__init__.py +10 -0
- anyscale/client/openapi_client/api/default_api.py +602 -2
- anyscale/client/openapi_client/models/__init__.py +10 -0
- anyscale/client/openapi_client/models/baseimagesenum.py +76 -1
- anyscale/client/openapi_client/models/create_internal_production_job.py +31 -3
- anyscale/client/openapi_client/models/create_job_queue_requests.py +31 -3
- anyscale/client/openapi_client/models/email_verification_request.py +175 -0
- anyscale/client/openapi_client/models/email_verification_response.py +120 -0
- anyscale/client/openapi_client/models/emailverificationresponse_response.py +121 -0
- anyscale/client/openapi_client/models/job_queues_query.py +31 -3
- anyscale/client/openapi_client/models/operator_event.py +256 -0
- anyscale/client/openapi_client/models/operator_event_response.py +148 -0
- anyscale/client/openapi_client/models/operator_event_type.py +101 -0
- anyscale/client/openapi_client/models/supportedbaseimagesenum.py +76 -1
- anyscale/client/openapi_client/models/update_job_queue_request.py +31 -3
- anyscale/client/openapi_client/models/use_work_os_response.py +121 -0
- anyscale/client/openapi_client/models/useworkosresponse_response.py +121 -0
- anyscale/client/openapi_client/models/work_os_authorize_url_response.py +120 -0
- anyscale/client/openapi_client/models/workosauthorizeurlresponse_response.py +121 -0
- anyscale/commands/cloud_commands.py +15 -3
- anyscale/commands/command_examples.py +1 -1
- anyscale/controllers/cloud_controller.py +7 -3
- anyscale/sdk/anyscale_client/models/baseimagesenum.py +76 -1
- anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +76 -1
- anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
- anyscale/version.py +1 -1
- {anyscale-0.26.58.dist-info → anyscale-0.26.59.dist-info}/METADATA +1 -1
- {anyscale-0.26.58.dist-info → anyscale-0.26.59.dist-info}/RECORD +35 -25
- {anyscale-0.26.58.dist-info → anyscale-0.26.59.dist-info}/WHEEL +0 -0
- {anyscale-0.26.58.dist-info → anyscale-0.26.59.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.58.dist-info → anyscale-0.26.59.dist-info}/licenses/LICENSE +0 -0
- {anyscale-0.26.58.dist-info → anyscale-0.26.59.dist-info}/licenses/NOTICE +0 -0
- {anyscale-0.26.58.dist-info → anyscale-0.26.59.dist-info}/top_level.txt +0 -0
@@ -38,7 +38,8 @@ class CreateInternalProductionJob(object):
|
|
38
38
|
'project_id': 'str',
|
39
39
|
'config': 'CreateProductionJobConfig',
|
40
40
|
'job_queue_config': 'CreateJobQueueConfig',
|
41
|
-
'workspace_id': 'str'
|
41
|
+
'workspace_id': 'str',
|
42
|
+
'tags': 'dict(str, str)'
|
42
43
|
}
|
43
44
|
|
44
45
|
attribute_map = {
|
@@ -47,10 +48,11 @@ class CreateInternalProductionJob(object):
|
|
47
48
|
'project_id': 'project_id',
|
48
49
|
'config': 'config',
|
49
50
|
'job_queue_config': 'job_queue_config',
|
50
|
-
'workspace_id': 'workspace_id'
|
51
|
+
'workspace_id': 'workspace_id',
|
52
|
+
'tags': 'tags'
|
51
53
|
}
|
52
54
|
|
53
|
-
def __init__(self, name=None, description=None, project_id=None, config=None, job_queue_config=None, workspace_id=None, local_vars_configuration=None): # noqa: E501
|
55
|
+
def __init__(self, name=None, description=None, project_id=None, config=None, job_queue_config=None, workspace_id=None, tags=None, local_vars_configuration=None): # noqa: E501
|
54
56
|
"""CreateInternalProductionJob - a model defined in OpenAPI""" # noqa: E501
|
55
57
|
if local_vars_configuration is None:
|
56
58
|
local_vars_configuration = Configuration()
|
@@ -62,6 +64,7 @@ class CreateInternalProductionJob(object):
|
|
62
64
|
self._config = None
|
63
65
|
self._job_queue_config = None
|
64
66
|
self._workspace_id = None
|
67
|
+
self._tags = None
|
65
68
|
self.discriminator = None
|
66
69
|
|
67
70
|
self.name = name
|
@@ -74,6 +77,8 @@ class CreateInternalProductionJob(object):
|
|
74
77
|
self.job_queue_config = job_queue_config
|
75
78
|
if workspace_id is not None:
|
76
79
|
self.workspace_id = workspace_id
|
80
|
+
if tags is not None:
|
81
|
+
self.tags = tags
|
77
82
|
|
78
83
|
@property
|
79
84
|
def name(self):
|
@@ -215,6 +220,29 @@ class CreateInternalProductionJob(object):
|
|
215
220
|
|
216
221
|
self._workspace_id = workspace_id
|
217
222
|
|
223
|
+
@property
|
224
|
+
def tags(self):
|
225
|
+
"""Gets the tags of this CreateInternalProductionJob. # noqa: E501
|
226
|
+
|
227
|
+
Tags to associate with the job # noqa: E501
|
228
|
+
|
229
|
+
:return: The tags of this CreateInternalProductionJob. # noqa: E501
|
230
|
+
:rtype: dict(str, str)
|
231
|
+
"""
|
232
|
+
return self._tags
|
233
|
+
|
234
|
+
@tags.setter
|
235
|
+
def tags(self, tags):
|
236
|
+
"""Sets the tags of this CreateInternalProductionJob.
|
237
|
+
|
238
|
+
Tags to associate with the job # noqa: E501
|
239
|
+
|
240
|
+
:param tags: The tags of this CreateInternalProductionJob. # noqa: E501
|
241
|
+
:type: dict(str, str)
|
242
|
+
"""
|
243
|
+
|
244
|
+
self._tags = tags
|
245
|
+
|
218
246
|
def to_dict(self):
|
219
247
|
"""Returns the model properties as a dict"""
|
220
248
|
result = {}
|
@@ -40,7 +40,8 @@ class CreateJobQueueRequests(object):
|
|
40
40
|
'max_concurrency': 'int',
|
41
41
|
'idle_timeout_sec': 'int',
|
42
42
|
'auto_termination_threshold_job_count': 'int',
|
43
|
-
'project_id': 'str'
|
43
|
+
'project_id': 'str',
|
44
|
+
'tags': 'dict(str, str)'
|
44
45
|
}
|
45
46
|
|
46
47
|
attribute_map = {
|
@@ -51,10 +52,11 @@ class CreateJobQueueRequests(object):
|
|
51
52
|
'max_concurrency': 'max_concurrency',
|
52
53
|
'idle_timeout_sec': 'idle_timeout_sec',
|
53
54
|
'auto_termination_threshold_job_count': 'auto_termination_threshold_job_count',
|
54
|
-
'project_id': 'project_id'
|
55
|
+
'project_id': 'project_id',
|
56
|
+
'tags': 'tags'
|
55
57
|
}
|
56
58
|
|
57
|
-
def __init__(self, job_queue_name=None, execution_mode=None, compute_config_id=None, cluster_environment_build_id=None, max_concurrency=1, idle_timeout_sec=None, auto_termination_threshold_job_count=None, project_id=None, local_vars_configuration=None): # noqa: E501
|
59
|
+
def __init__(self, job_queue_name=None, execution_mode=None, compute_config_id=None, cluster_environment_build_id=None, max_concurrency=1, idle_timeout_sec=None, auto_termination_threshold_job_count=None, project_id=None, tags=None, local_vars_configuration=None): # noqa: E501
|
58
60
|
"""CreateJobQueueRequests - a model defined in OpenAPI""" # noqa: E501
|
59
61
|
if local_vars_configuration is None:
|
60
62
|
local_vars_configuration = Configuration()
|
@@ -68,6 +70,7 @@ class CreateJobQueueRequests(object):
|
|
68
70
|
self._idle_timeout_sec = None
|
69
71
|
self._auto_termination_threshold_job_count = None
|
70
72
|
self._project_id = None
|
73
|
+
self._tags = None
|
71
74
|
self.discriminator = None
|
72
75
|
|
73
76
|
if job_queue_name is not None:
|
@@ -82,6 +85,8 @@ class CreateJobQueueRequests(object):
|
|
82
85
|
if auto_termination_threshold_job_count is not None:
|
83
86
|
self.auto_termination_threshold_job_count = auto_termination_threshold_job_count
|
84
87
|
self.project_id = project_id
|
88
|
+
if tags is not None:
|
89
|
+
self.tags = tags
|
85
90
|
|
86
91
|
@property
|
87
92
|
def job_queue_name(self):
|
@@ -275,6 +280,29 @@ class CreateJobQueueRequests(object):
|
|
275
280
|
|
276
281
|
self._project_id = project_id
|
277
282
|
|
283
|
+
@property
|
284
|
+
def tags(self):
|
285
|
+
"""Gets the tags of this CreateJobQueueRequests. # noqa: E501
|
286
|
+
|
287
|
+
Tags to associate with the job queue # noqa: E501
|
288
|
+
|
289
|
+
:return: The tags of this CreateJobQueueRequests. # noqa: E501
|
290
|
+
:rtype: dict(str, str)
|
291
|
+
"""
|
292
|
+
return self._tags
|
293
|
+
|
294
|
+
@tags.setter
|
295
|
+
def tags(self, tags):
|
296
|
+
"""Sets the tags of this CreateJobQueueRequests.
|
297
|
+
|
298
|
+
Tags to associate with the job queue # noqa: E501
|
299
|
+
|
300
|
+
:param tags: The tags of this CreateJobQueueRequests. # noqa: E501
|
301
|
+
:type: dict(str, str)
|
302
|
+
"""
|
303
|
+
|
304
|
+
self._tags = tags
|
305
|
+
|
278
306
|
def to_dict(self):
|
279
307
|
"""Returns the model properties as a dict"""
|
280
308
|
result = {}
|
@@ -0,0 +1,175 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
"""
|
4
|
+
Managed Ray API
|
5
|
+
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
|
7
|
+
|
8
|
+
The version of the OpenAPI document: 0.1.0
|
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 openapi_client.configuration import Configuration
|
19
|
+
|
20
|
+
|
21
|
+
class EmailVerificationRequest(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
|
+
'email': 'str',
|
37
|
+
'code': 'str',
|
38
|
+
'pending_authentication_token': 'str'
|
39
|
+
}
|
40
|
+
|
41
|
+
attribute_map = {
|
42
|
+
'email': 'email',
|
43
|
+
'code': 'code',
|
44
|
+
'pending_authentication_token': 'pending_authentication_token'
|
45
|
+
}
|
46
|
+
|
47
|
+
def __init__(self, email=None, code=None, pending_authentication_token=None, local_vars_configuration=None): # noqa: E501
|
48
|
+
"""EmailVerificationRequest - a model defined in OpenAPI""" # noqa: E501
|
49
|
+
if local_vars_configuration is None:
|
50
|
+
local_vars_configuration = Configuration()
|
51
|
+
self.local_vars_configuration = local_vars_configuration
|
52
|
+
|
53
|
+
self._email = None
|
54
|
+
self._code = None
|
55
|
+
self._pending_authentication_token = None
|
56
|
+
self.discriminator = None
|
57
|
+
|
58
|
+
self.email = email
|
59
|
+
self.code = code
|
60
|
+
self.pending_authentication_token = pending_authentication_token
|
61
|
+
|
62
|
+
@property
|
63
|
+
def email(self):
|
64
|
+
"""Gets the email of this EmailVerificationRequest. # noqa: E501
|
65
|
+
|
66
|
+
|
67
|
+
:return: The email of this EmailVerificationRequest. # noqa: E501
|
68
|
+
:rtype: str
|
69
|
+
"""
|
70
|
+
return self._email
|
71
|
+
|
72
|
+
@email.setter
|
73
|
+
def email(self, email):
|
74
|
+
"""Sets the email of this EmailVerificationRequest.
|
75
|
+
|
76
|
+
|
77
|
+
:param email: The email of this EmailVerificationRequest. # noqa: E501
|
78
|
+
:type: str
|
79
|
+
"""
|
80
|
+
if self.local_vars_configuration.client_side_validation and email is None: # noqa: E501
|
81
|
+
raise ValueError("Invalid value for `email`, must not be `None`") # noqa: E501
|
82
|
+
|
83
|
+
self._email = email
|
84
|
+
|
85
|
+
@property
|
86
|
+
def code(self):
|
87
|
+
"""Gets the code of this EmailVerificationRequest. # noqa: E501
|
88
|
+
|
89
|
+
|
90
|
+
:return: The code of this EmailVerificationRequest. # noqa: E501
|
91
|
+
:rtype: str
|
92
|
+
"""
|
93
|
+
return self._code
|
94
|
+
|
95
|
+
@code.setter
|
96
|
+
def code(self, code):
|
97
|
+
"""Sets the code of this EmailVerificationRequest.
|
98
|
+
|
99
|
+
|
100
|
+
:param code: The code of this EmailVerificationRequest. # noqa: E501
|
101
|
+
:type: str
|
102
|
+
"""
|
103
|
+
if self.local_vars_configuration.client_side_validation and code is None: # noqa: E501
|
104
|
+
raise ValueError("Invalid value for `code`, must not be `None`") # noqa: E501
|
105
|
+
|
106
|
+
self._code = code
|
107
|
+
|
108
|
+
@property
|
109
|
+
def pending_authentication_token(self):
|
110
|
+
"""Gets the pending_authentication_token of this EmailVerificationRequest. # noqa: E501
|
111
|
+
|
112
|
+
|
113
|
+
:return: The pending_authentication_token of this EmailVerificationRequest. # noqa: E501
|
114
|
+
:rtype: str
|
115
|
+
"""
|
116
|
+
return self._pending_authentication_token
|
117
|
+
|
118
|
+
@pending_authentication_token.setter
|
119
|
+
def pending_authentication_token(self, pending_authentication_token):
|
120
|
+
"""Sets the pending_authentication_token of this EmailVerificationRequest.
|
121
|
+
|
122
|
+
|
123
|
+
:param pending_authentication_token: The pending_authentication_token of this EmailVerificationRequest. # noqa: E501
|
124
|
+
:type: str
|
125
|
+
"""
|
126
|
+
if self.local_vars_configuration.client_side_validation and pending_authentication_token is None: # noqa: E501
|
127
|
+
raise ValueError("Invalid value for `pending_authentication_token`, must not be `None`") # noqa: E501
|
128
|
+
|
129
|
+
self._pending_authentication_token = pending_authentication_token
|
130
|
+
|
131
|
+
def to_dict(self):
|
132
|
+
"""Returns the model properties as a dict"""
|
133
|
+
result = {}
|
134
|
+
|
135
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
136
|
+
value = getattr(self, attr)
|
137
|
+
if isinstance(value, list):
|
138
|
+
result[attr] = list(map(
|
139
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
140
|
+
value
|
141
|
+
))
|
142
|
+
elif hasattr(value, "to_dict"):
|
143
|
+
result[attr] = value.to_dict()
|
144
|
+
elif isinstance(value, dict):
|
145
|
+
result[attr] = dict(map(
|
146
|
+
lambda item: (item[0], item[1].to_dict())
|
147
|
+
if hasattr(item[1], "to_dict") else item,
|
148
|
+
value.items()
|
149
|
+
))
|
150
|
+
else:
|
151
|
+
result[attr] = value
|
152
|
+
|
153
|
+
return result
|
154
|
+
|
155
|
+
def to_str(self):
|
156
|
+
"""Returns the string representation of the model"""
|
157
|
+
return pprint.pformat(self.to_dict())
|
158
|
+
|
159
|
+
def __repr__(self):
|
160
|
+
"""For `print` and `pprint`"""
|
161
|
+
return self.to_str()
|
162
|
+
|
163
|
+
def __eq__(self, other):
|
164
|
+
"""Returns true if both objects are equal"""
|
165
|
+
if not isinstance(other, EmailVerificationRequest):
|
166
|
+
return False
|
167
|
+
|
168
|
+
return self.to_dict() == other.to_dict()
|
169
|
+
|
170
|
+
def __ne__(self, other):
|
171
|
+
"""Returns true if both objects are not equal"""
|
172
|
+
if not isinstance(other, EmailVerificationRequest):
|
173
|
+
return True
|
174
|
+
|
175
|
+
return self.to_dict() != other.to_dict()
|
@@ -0,0 +1,120 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
"""
|
4
|
+
Managed Ray API
|
5
|
+
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
|
7
|
+
|
8
|
+
The version of the OpenAPI document: 0.1.0
|
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 openapi_client.configuration import Configuration
|
19
|
+
|
20
|
+
|
21
|
+
class EmailVerificationResponse(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
|
+
'redirect_url': 'str'
|
37
|
+
}
|
38
|
+
|
39
|
+
attribute_map = {
|
40
|
+
'redirect_url': 'redirect_url'
|
41
|
+
}
|
42
|
+
|
43
|
+
def __init__(self, redirect_url=None, local_vars_configuration=None): # noqa: E501
|
44
|
+
"""EmailVerificationResponse - a model defined in OpenAPI""" # noqa: E501
|
45
|
+
if local_vars_configuration is None:
|
46
|
+
local_vars_configuration = Configuration()
|
47
|
+
self.local_vars_configuration = local_vars_configuration
|
48
|
+
|
49
|
+
self._redirect_url = None
|
50
|
+
self.discriminator = None
|
51
|
+
|
52
|
+
if redirect_url is not None:
|
53
|
+
self.redirect_url = redirect_url
|
54
|
+
|
55
|
+
@property
|
56
|
+
def redirect_url(self):
|
57
|
+
"""Gets the redirect_url of this EmailVerificationResponse. # noqa: E501
|
58
|
+
|
59
|
+
|
60
|
+
:return: The redirect_url of this EmailVerificationResponse. # noqa: E501
|
61
|
+
:rtype: str
|
62
|
+
"""
|
63
|
+
return self._redirect_url
|
64
|
+
|
65
|
+
@redirect_url.setter
|
66
|
+
def redirect_url(self, redirect_url):
|
67
|
+
"""Sets the redirect_url of this EmailVerificationResponse.
|
68
|
+
|
69
|
+
|
70
|
+
:param redirect_url: The redirect_url of this EmailVerificationResponse. # noqa: E501
|
71
|
+
:type: str
|
72
|
+
"""
|
73
|
+
|
74
|
+
self._redirect_url = redirect_url
|
75
|
+
|
76
|
+
def to_dict(self):
|
77
|
+
"""Returns the model properties as a dict"""
|
78
|
+
result = {}
|
79
|
+
|
80
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
81
|
+
value = getattr(self, attr)
|
82
|
+
if isinstance(value, list):
|
83
|
+
result[attr] = list(map(
|
84
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
85
|
+
value
|
86
|
+
))
|
87
|
+
elif hasattr(value, "to_dict"):
|
88
|
+
result[attr] = value.to_dict()
|
89
|
+
elif isinstance(value, dict):
|
90
|
+
result[attr] = dict(map(
|
91
|
+
lambda item: (item[0], item[1].to_dict())
|
92
|
+
if hasattr(item[1], "to_dict") else item,
|
93
|
+
value.items()
|
94
|
+
))
|
95
|
+
else:
|
96
|
+
result[attr] = value
|
97
|
+
|
98
|
+
return result
|
99
|
+
|
100
|
+
def to_str(self):
|
101
|
+
"""Returns the string representation of the model"""
|
102
|
+
return pprint.pformat(self.to_dict())
|
103
|
+
|
104
|
+
def __repr__(self):
|
105
|
+
"""For `print` and `pprint`"""
|
106
|
+
return self.to_str()
|
107
|
+
|
108
|
+
def __eq__(self, other):
|
109
|
+
"""Returns true if both objects are equal"""
|
110
|
+
if not isinstance(other, EmailVerificationResponse):
|
111
|
+
return False
|
112
|
+
|
113
|
+
return self.to_dict() == other.to_dict()
|
114
|
+
|
115
|
+
def __ne__(self, other):
|
116
|
+
"""Returns true if both objects are not equal"""
|
117
|
+
if not isinstance(other, EmailVerificationResponse):
|
118
|
+
return True
|
119
|
+
|
120
|
+
return self.to_dict() != other.to_dict()
|
@@ -0,0 +1,121 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
"""
|
4
|
+
Managed Ray API
|
5
|
+
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
|
7
|
+
|
8
|
+
The version of the OpenAPI document: 0.1.0
|
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 openapi_client.configuration import Configuration
|
19
|
+
|
20
|
+
|
21
|
+
class EmailverificationresponseResponse(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
|
+
'result': 'EmailVerificationResponse'
|
37
|
+
}
|
38
|
+
|
39
|
+
attribute_map = {
|
40
|
+
'result': 'result'
|
41
|
+
}
|
42
|
+
|
43
|
+
def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
|
44
|
+
"""EmailverificationresponseResponse - a model defined in OpenAPI""" # noqa: E501
|
45
|
+
if local_vars_configuration is None:
|
46
|
+
local_vars_configuration = Configuration()
|
47
|
+
self.local_vars_configuration = local_vars_configuration
|
48
|
+
|
49
|
+
self._result = None
|
50
|
+
self.discriminator = None
|
51
|
+
|
52
|
+
self.result = result
|
53
|
+
|
54
|
+
@property
|
55
|
+
def result(self):
|
56
|
+
"""Gets the result of this EmailverificationresponseResponse. # noqa: E501
|
57
|
+
|
58
|
+
|
59
|
+
:return: The result of this EmailverificationresponseResponse. # noqa: E501
|
60
|
+
:rtype: EmailVerificationResponse
|
61
|
+
"""
|
62
|
+
return self._result
|
63
|
+
|
64
|
+
@result.setter
|
65
|
+
def result(self, result):
|
66
|
+
"""Sets the result of this EmailverificationresponseResponse.
|
67
|
+
|
68
|
+
|
69
|
+
:param result: The result of this EmailverificationresponseResponse. # noqa: E501
|
70
|
+
:type: EmailVerificationResponse
|
71
|
+
"""
|
72
|
+
if self.local_vars_configuration.client_side_validation and result is None: # noqa: E501
|
73
|
+
raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501
|
74
|
+
|
75
|
+
self._result = result
|
76
|
+
|
77
|
+
def to_dict(self):
|
78
|
+
"""Returns the model properties as a dict"""
|
79
|
+
result = {}
|
80
|
+
|
81
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
82
|
+
value = getattr(self, attr)
|
83
|
+
if isinstance(value, list):
|
84
|
+
result[attr] = list(map(
|
85
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
86
|
+
value
|
87
|
+
))
|
88
|
+
elif hasattr(value, "to_dict"):
|
89
|
+
result[attr] = value.to_dict()
|
90
|
+
elif isinstance(value, dict):
|
91
|
+
result[attr] = dict(map(
|
92
|
+
lambda item: (item[0], item[1].to_dict())
|
93
|
+
if hasattr(item[1], "to_dict") else item,
|
94
|
+
value.items()
|
95
|
+
))
|
96
|
+
else:
|
97
|
+
result[attr] = value
|
98
|
+
|
99
|
+
return result
|
100
|
+
|
101
|
+
def to_str(self):
|
102
|
+
"""Returns the string representation of the model"""
|
103
|
+
return pprint.pformat(self.to_dict())
|
104
|
+
|
105
|
+
def __repr__(self):
|
106
|
+
"""For `print` and `pprint`"""
|
107
|
+
return self.to_str()
|
108
|
+
|
109
|
+
def __eq__(self, other):
|
110
|
+
"""Returns true if both objects are equal"""
|
111
|
+
if not isinstance(other, EmailverificationresponseResponse):
|
112
|
+
return False
|
113
|
+
|
114
|
+
return self.to_dict() == other.to_dict()
|
115
|
+
|
116
|
+
def __ne__(self, other):
|
117
|
+
"""Returns true if both objects are not equal"""
|
118
|
+
if not isinstance(other, EmailverificationresponseResponse):
|
119
|
+
return True
|
120
|
+
|
121
|
+
return self.to_dict() != other.to_dict()
|
@@ -39,7 +39,8 @@ class JobQueuesQuery(object):
|
|
39
39
|
'project_id': 'str',
|
40
40
|
'cloud_id': 'str',
|
41
41
|
'paging': 'PageQuery',
|
42
|
-
'sorting_directives': 'list[JobQueueSortDirective]'
|
42
|
+
'sorting_directives': 'list[JobQueueSortDirective]',
|
43
|
+
'tags_filter': 'dict(str, list[str])'
|
43
44
|
}
|
44
45
|
|
45
46
|
attribute_map = {
|
@@ -49,10 +50,11 @@ class JobQueuesQuery(object):
|
|
49
50
|
'project_id': 'project_id',
|
50
51
|
'cloud_id': 'cloud_id',
|
51
52
|
'paging': 'paging',
|
52
|
-
'sorting_directives': 'sorting_directives'
|
53
|
+
'sorting_directives': 'sorting_directives',
|
54
|
+
'tags_filter': 'tags_filter'
|
53
55
|
}
|
54
56
|
|
55
|
-
def __init__(self, name=None, creator_id=None, cluster_status=None, project_id=None, cloud_id=None, paging=None, sorting_directives=None, local_vars_configuration=None): # noqa: E501
|
57
|
+
def __init__(self, name=None, creator_id=None, cluster_status=None, project_id=None, cloud_id=None, paging=None, sorting_directives=None, tags_filter=None, local_vars_configuration=None): # noqa: E501
|
56
58
|
"""JobQueuesQuery - a model defined in OpenAPI""" # noqa: E501
|
57
59
|
if local_vars_configuration is None:
|
58
60
|
local_vars_configuration = Configuration()
|
@@ -65,6 +67,7 @@ class JobQueuesQuery(object):
|
|
65
67
|
self._cloud_id = None
|
66
68
|
self._paging = None
|
67
69
|
self._sorting_directives = None
|
70
|
+
self._tags_filter = None
|
68
71
|
self.discriminator = None
|
69
72
|
|
70
73
|
if name is not None:
|
@@ -81,6 +84,8 @@ class JobQueuesQuery(object):
|
|
81
84
|
self.paging = paging
|
82
85
|
if sorting_directives is not None:
|
83
86
|
self.sorting_directives = sorting_directives
|
87
|
+
if tags_filter is not None:
|
88
|
+
self.tags_filter = tags_filter
|
84
89
|
|
85
90
|
@property
|
86
91
|
def name(self):
|
@@ -243,6 +248,29 @@ class JobQueuesQuery(object):
|
|
243
248
|
|
244
249
|
self._sorting_directives = sorting_directives
|
245
250
|
|
251
|
+
@property
|
252
|
+
def tags_filter(self):
|
253
|
+
"""Gets the tags_filter of this JobQueuesQuery. # noqa: E501
|
254
|
+
|
255
|
+
Filter by tags, keys are ANDed, values are ORed # noqa: E501
|
256
|
+
|
257
|
+
:return: The tags_filter of this JobQueuesQuery. # noqa: E501
|
258
|
+
:rtype: dict(str, list[str])
|
259
|
+
"""
|
260
|
+
return self._tags_filter
|
261
|
+
|
262
|
+
@tags_filter.setter
|
263
|
+
def tags_filter(self, tags_filter):
|
264
|
+
"""Sets the tags_filter of this JobQueuesQuery.
|
265
|
+
|
266
|
+
Filter by tags, keys are ANDed, values are ORed # noqa: E501
|
267
|
+
|
268
|
+
:param tags_filter: The tags_filter of this JobQueuesQuery. # noqa: E501
|
269
|
+
:type: dict(str, list[str])
|
270
|
+
"""
|
271
|
+
|
272
|
+
self._tags_filter = tags_filter
|
273
|
+
|
246
274
|
def to_dict(self):
|
247
275
|
"""Returns the model properties as a dict"""
|
248
276
|
result = {}
|