anyscale 0.26.15__py3-none-any.whl → 0.26.17__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/anyscale_client.py +4 -2
- anyscale/_private/anyscale_client/common.py +6 -4
- anyscale/_private/anyscale_client/fake_anyscale_client.py +15 -6
- anyscale/_private/docgen/__main__.py +4 -4
- anyscale/_private/docgen/generator.py +2 -2
- anyscale/_private/sdk/__init__.py +2 -2
- anyscale/_private/workload/workload_sdk.py +6 -4
- anyscale/aggregated_instance_usage/commands.py +6 -2
- anyscale/anyscale-cloud-setup-gcp.yaml +2 -0
- anyscale/client/README.md +11 -6
- anyscale/client/openapi_client/__init__.py +8 -4
- anyscale/client/openapi_client/api/default_api.py +402 -270
- anyscale/client/openapi_client/models/__init__.py +8 -4
- anyscale/client/openapi_client/models/alert_type.py +11 -2
- anyscale/client/openapi_client/models/create_job_queue_requests.py +3 -32
- anyscale/client/openapi_client/models/i_know_response.py +174 -0
- anyscale/client/openapi_client/models/i_know_time_series_event.py +148 -0
- anyscale/client/openapi_client/models/job_report.py +199 -0
- anyscale/client/openapi_client/models/job_with_report.py +254 -0
- anyscale/client/openapi_client/models/jobwithreport_list_response.py +147 -0
- anyscale/client/openapi_client/models/{product_autoscaler_flag.py → list_ray_sessions_response.py} +22 -23
- anyscale/client/openapi_client/models/{productautoscalerflag_response.py → listraysessionsresponse_response.py} +11 -11
- anyscale/client/openapi_client/models/metric.py +133 -3
- anyscale/client/openapi_client/models/ray_session.py +121 -0
- anyscale/cloud/__init__.py +2 -2
- anyscale/cloud/_private/cloud_sdk.py +2 -2
- anyscale/cloud/commands.py +9 -6
- anyscale/cloud_utils.py +5 -4
- anyscale/cluster_compute.py +2 -2
- anyscale/cluster_env.py +2 -0
- anyscale/commands/cloud_commands.py +43 -0
- anyscale/commands/login_commands.py +24 -3
- anyscale/commands/schedule_commands.py +2 -1
- anyscale/compute_config/commands.py +15 -7
- anyscale/controllers/cloud_controller.py +151 -8
- anyscale/controllers/cluster_controller.py +1 -0
- anyscale/controllers/job_controller.py +1 -1
- anyscale/controllers/service_controller.py +1 -0
- anyscale/image/commands.py +6 -6
- anyscale/job/_private/job_sdk.py +22 -24
- anyscale/job/commands.py +12 -12
- anyscale/organization_invitation/commands.py +11 -7
- anyscale/project/__init__.py +2 -2
- anyscale/project/_private/project_sdk.py +2 -2
- anyscale/project/commands.py +3 -3
- anyscale/project_utils.py +1 -1
- anyscale/resource_quota/commands.py +18 -10
- anyscale/schedule/commands.py +12 -8
- anyscale/sdk/anyscale_client/sdk.py +1 -0
- anyscale/service/commands.py +17 -17
- anyscale/service_account/commands.py +12 -10
- anyscale/user/commands.py +5 -3
- anyscale/utils/gcp_utils.py +25 -9
- anyscale/version.py +1 -1
- anyscale/workspace/__init__.py +1 -1
- anyscale/workspace/_private/workspace_sdk.py +5 -3
- anyscale/workspace/commands.py +26 -24
- {anyscale-0.26.15.dist-info → anyscale-0.26.17.dist-info}/METADATA +1 -1
- {anyscale-0.26.15.dist-info → anyscale-0.26.17.dist-info}/RECORD +64 -60
- anyscale/client/openapi_client/models/aviary_model_config_v2.py +0 -358
- anyscale/client/openapi_client/models/finish_ft_job_request_v2.py +0 -183
- {anyscale-0.26.15.dist-info → anyscale-0.26.17.dist-info}/LICENSE +0 -0
- {anyscale-0.26.15.dist-info → anyscale-0.26.17.dist-info}/NOTICE +0 -0
- {anyscale-0.26.15.dist-info → anyscale-0.26.17.dist-info}/WHEEL +0 -0
- {anyscale-0.26.15.dist-info → anyscale-0.26.17.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.15.dist-info → anyscale-0.26.17.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,254 @@
|
|
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 JobWithReport(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
|
+
'job_id': 'str',
|
37
|
+
'job_name': 'str',
|
38
|
+
'job_state': 'HaJobStates',
|
39
|
+
'job_report': 'JobReport',
|
40
|
+
'created_at': 'datetime',
|
41
|
+
'finished_at': 'datetime'
|
42
|
+
}
|
43
|
+
|
44
|
+
attribute_map = {
|
45
|
+
'job_id': 'job_id',
|
46
|
+
'job_name': 'job_name',
|
47
|
+
'job_state': 'job_state',
|
48
|
+
'job_report': 'job_report',
|
49
|
+
'created_at': 'created_at',
|
50
|
+
'finished_at': 'finished_at'
|
51
|
+
}
|
52
|
+
|
53
|
+
def __init__(self, job_id=None, job_name=None, job_state=None, job_report=None, created_at=None, finished_at=None, local_vars_configuration=None): # noqa: E501
|
54
|
+
"""JobWithReport - a model defined in OpenAPI""" # noqa: E501
|
55
|
+
if local_vars_configuration is None:
|
56
|
+
local_vars_configuration = Configuration()
|
57
|
+
self.local_vars_configuration = local_vars_configuration
|
58
|
+
|
59
|
+
self._job_id = None
|
60
|
+
self._job_name = None
|
61
|
+
self._job_state = None
|
62
|
+
self._job_report = None
|
63
|
+
self._created_at = None
|
64
|
+
self._finished_at = None
|
65
|
+
self.discriminator = None
|
66
|
+
|
67
|
+
self.job_id = job_id
|
68
|
+
self.job_name = job_name
|
69
|
+
self.job_state = job_state
|
70
|
+
if job_report is not None:
|
71
|
+
self.job_report = job_report
|
72
|
+
self.created_at = created_at
|
73
|
+
if finished_at is not None:
|
74
|
+
self.finished_at = finished_at
|
75
|
+
|
76
|
+
@property
|
77
|
+
def job_id(self):
|
78
|
+
"""Gets the job_id of this JobWithReport. # noqa: E501
|
79
|
+
|
80
|
+
|
81
|
+
:return: The job_id of this JobWithReport. # noqa: E501
|
82
|
+
:rtype: str
|
83
|
+
"""
|
84
|
+
return self._job_id
|
85
|
+
|
86
|
+
@job_id.setter
|
87
|
+
def job_id(self, job_id):
|
88
|
+
"""Sets the job_id of this JobWithReport.
|
89
|
+
|
90
|
+
|
91
|
+
:param job_id: The job_id of this JobWithReport. # noqa: E501
|
92
|
+
:type: str
|
93
|
+
"""
|
94
|
+
if self.local_vars_configuration.client_side_validation and job_id is None: # noqa: E501
|
95
|
+
raise ValueError("Invalid value for `job_id`, must not be `None`") # noqa: E501
|
96
|
+
|
97
|
+
self._job_id = job_id
|
98
|
+
|
99
|
+
@property
|
100
|
+
def job_name(self):
|
101
|
+
"""Gets the job_name of this JobWithReport. # noqa: E501
|
102
|
+
|
103
|
+
|
104
|
+
:return: The job_name of this JobWithReport. # noqa: E501
|
105
|
+
:rtype: str
|
106
|
+
"""
|
107
|
+
return self._job_name
|
108
|
+
|
109
|
+
@job_name.setter
|
110
|
+
def job_name(self, job_name):
|
111
|
+
"""Sets the job_name of this JobWithReport.
|
112
|
+
|
113
|
+
|
114
|
+
:param job_name: The job_name of this JobWithReport. # noqa: E501
|
115
|
+
:type: str
|
116
|
+
"""
|
117
|
+
if self.local_vars_configuration.client_side_validation and job_name is None: # noqa: E501
|
118
|
+
raise ValueError("Invalid value for `job_name`, must not be `None`") # noqa: E501
|
119
|
+
|
120
|
+
self._job_name = job_name
|
121
|
+
|
122
|
+
@property
|
123
|
+
def job_state(self):
|
124
|
+
"""Gets the job_state of this JobWithReport. # noqa: E501
|
125
|
+
|
126
|
+
|
127
|
+
:return: The job_state of this JobWithReport. # noqa: E501
|
128
|
+
:rtype: HaJobStates
|
129
|
+
"""
|
130
|
+
return self._job_state
|
131
|
+
|
132
|
+
@job_state.setter
|
133
|
+
def job_state(self, job_state):
|
134
|
+
"""Sets the job_state of this JobWithReport.
|
135
|
+
|
136
|
+
|
137
|
+
:param job_state: The job_state of this JobWithReport. # noqa: E501
|
138
|
+
:type: HaJobStates
|
139
|
+
"""
|
140
|
+
if self.local_vars_configuration.client_side_validation and job_state is None: # noqa: E501
|
141
|
+
raise ValueError("Invalid value for `job_state`, must not be `None`") # noqa: E501
|
142
|
+
|
143
|
+
self._job_state = job_state
|
144
|
+
|
145
|
+
@property
|
146
|
+
def job_report(self):
|
147
|
+
"""Gets the job_report of this JobWithReport. # noqa: E501
|
148
|
+
|
149
|
+
|
150
|
+
:return: The job_report of this JobWithReport. # noqa: E501
|
151
|
+
:rtype: JobReport
|
152
|
+
"""
|
153
|
+
return self._job_report
|
154
|
+
|
155
|
+
@job_report.setter
|
156
|
+
def job_report(self, job_report):
|
157
|
+
"""Sets the job_report of this JobWithReport.
|
158
|
+
|
159
|
+
|
160
|
+
:param job_report: The job_report of this JobWithReport. # noqa: E501
|
161
|
+
:type: JobReport
|
162
|
+
"""
|
163
|
+
|
164
|
+
self._job_report = job_report
|
165
|
+
|
166
|
+
@property
|
167
|
+
def created_at(self):
|
168
|
+
"""Gets the created_at of this JobWithReport. # noqa: E501
|
169
|
+
|
170
|
+
|
171
|
+
:return: The created_at of this JobWithReport. # noqa: E501
|
172
|
+
:rtype: datetime
|
173
|
+
"""
|
174
|
+
return self._created_at
|
175
|
+
|
176
|
+
@created_at.setter
|
177
|
+
def created_at(self, created_at):
|
178
|
+
"""Sets the created_at of this JobWithReport.
|
179
|
+
|
180
|
+
|
181
|
+
:param created_at: The created_at of this JobWithReport. # noqa: E501
|
182
|
+
:type: datetime
|
183
|
+
"""
|
184
|
+
if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501
|
185
|
+
raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501
|
186
|
+
|
187
|
+
self._created_at = created_at
|
188
|
+
|
189
|
+
@property
|
190
|
+
def finished_at(self):
|
191
|
+
"""Gets the finished_at of this JobWithReport. # noqa: E501
|
192
|
+
|
193
|
+
|
194
|
+
:return: The finished_at of this JobWithReport. # noqa: E501
|
195
|
+
:rtype: datetime
|
196
|
+
"""
|
197
|
+
return self._finished_at
|
198
|
+
|
199
|
+
@finished_at.setter
|
200
|
+
def finished_at(self, finished_at):
|
201
|
+
"""Sets the finished_at of this JobWithReport.
|
202
|
+
|
203
|
+
|
204
|
+
:param finished_at: The finished_at of this JobWithReport. # noqa: E501
|
205
|
+
:type: datetime
|
206
|
+
"""
|
207
|
+
|
208
|
+
self._finished_at = finished_at
|
209
|
+
|
210
|
+
def to_dict(self):
|
211
|
+
"""Returns the model properties as a dict"""
|
212
|
+
result = {}
|
213
|
+
|
214
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
215
|
+
value = getattr(self, attr)
|
216
|
+
if isinstance(value, list):
|
217
|
+
result[attr] = list(map(
|
218
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
219
|
+
value
|
220
|
+
))
|
221
|
+
elif hasattr(value, "to_dict"):
|
222
|
+
result[attr] = value.to_dict()
|
223
|
+
elif isinstance(value, dict):
|
224
|
+
result[attr] = dict(map(
|
225
|
+
lambda item: (item[0], item[1].to_dict())
|
226
|
+
if hasattr(item[1], "to_dict") else item,
|
227
|
+
value.items()
|
228
|
+
))
|
229
|
+
else:
|
230
|
+
result[attr] = value
|
231
|
+
|
232
|
+
return result
|
233
|
+
|
234
|
+
def to_str(self):
|
235
|
+
"""Returns the string representation of the model"""
|
236
|
+
return pprint.pformat(self.to_dict())
|
237
|
+
|
238
|
+
def __repr__(self):
|
239
|
+
"""For `print` and `pprint`"""
|
240
|
+
return self.to_str()
|
241
|
+
|
242
|
+
def __eq__(self, other):
|
243
|
+
"""Returns true if both objects are equal"""
|
244
|
+
if not isinstance(other, JobWithReport):
|
245
|
+
return False
|
246
|
+
|
247
|
+
return self.to_dict() == other.to_dict()
|
248
|
+
|
249
|
+
def __ne__(self, other):
|
250
|
+
"""Returns true if both objects are not equal"""
|
251
|
+
if not isinstance(other, JobWithReport):
|
252
|
+
return True
|
253
|
+
|
254
|
+
return self.to_dict() != other.to_dict()
|
@@ -0,0 +1,147 @@
|
|
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 JobwithreportListResponse(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
|
+
'results': 'list[JobWithReport]',
|
37
|
+
'metadata': 'ListResponseMetadata'
|
38
|
+
}
|
39
|
+
|
40
|
+
attribute_map = {
|
41
|
+
'results': 'results',
|
42
|
+
'metadata': 'metadata'
|
43
|
+
}
|
44
|
+
|
45
|
+
def __init__(self, results=None, metadata=None, local_vars_configuration=None): # noqa: E501
|
46
|
+
"""JobwithreportListResponse - 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._results = None
|
52
|
+
self._metadata = None
|
53
|
+
self.discriminator = None
|
54
|
+
|
55
|
+
self.results = results
|
56
|
+
if metadata is not None:
|
57
|
+
self.metadata = metadata
|
58
|
+
|
59
|
+
@property
|
60
|
+
def results(self):
|
61
|
+
"""Gets the results of this JobwithreportListResponse. # noqa: E501
|
62
|
+
|
63
|
+
|
64
|
+
:return: The results of this JobwithreportListResponse. # noqa: E501
|
65
|
+
:rtype: list[JobWithReport]
|
66
|
+
"""
|
67
|
+
return self._results
|
68
|
+
|
69
|
+
@results.setter
|
70
|
+
def results(self, results):
|
71
|
+
"""Sets the results of this JobwithreportListResponse.
|
72
|
+
|
73
|
+
|
74
|
+
:param results: The results of this JobwithreportListResponse. # noqa: E501
|
75
|
+
:type: list[JobWithReport]
|
76
|
+
"""
|
77
|
+
if self.local_vars_configuration.client_side_validation and results is None: # noqa: E501
|
78
|
+
raise ValueError("Invalid value for `results`, must not be `None`") # noqa: E501
|
79
|
+
|
80
|
+
self._results = results
|
81
|
+
|
82
|
+
@property
|
83
|
+
def metadata(self):
|
84
|
+
"""Gets the metadata of this JobwithreportListResponse. # noqa: E501
|
85
|
+
|
86
|
+
|
87
|
+
:return: The metadata of this JobwithreportListResponse. # noqa: E501
|
88
|
+
:rtype: ListResponseMetadata
|
89
|
+
"""
|
90
|
+
return self._metadata
|
91
|
+
|
92
|
+
@metadata.setter
|
93
|
+
def metadata(self, metadata):
|
94
|
+
"""Sets the metadata of this JobwithreportListResponse.
|
95
|
+
|
96
|
+
|
97
|
+
:param metadata: The metadata of this JobwithreportListResponse. # noqa: E501
|
98
|
+
:type: ListResponseMetadata
|
99
|
+
"""
|
100
|
+
|
101
|
+
self._metadata = metadata
|
102
|
+
|
103
|
+
def to_dict(self):
|
104
|
+
"""Returns the model properties as a dict"""
|
105
|
+
result = {}
|
106
|
+
|
107
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
108
|
+
value = getattr(self, attr)
|
109
|
+
if isinstance(value, list):
|
110
|
+
result[attr] = list(map(
|
111
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
112
|
+
value
|
113
|
+
))
|
114
|
+
elif hasattr(value, "to_dict"):
|
115
|
+
result[attr] = value.to_dict()
|
116
|
+
elif isinstance(value, dict):
|
117
|
+
result[attr] = dict(map(
|
118
|
+
lambda item: (item[0], item[1].to_dict())
|
119
|
+
if hasattr(item[1], "to_dict") else item,
|
120
|
+
value.items()
|
121
|
+
))
|
122
|
+
else:
|
123
|
+
result[attr] = value
|
124
|
+
|
125
|
+
return result
|
126
|
+
|
127
|
+
def to_str(self):
|
128
|
+
"""Returns the string representation of the model"""
|
129
|
+
return pprint.pformat(self.to_dict())
|
130
|
+
|
131
|
+
def __repr__(self):
|
132
|
+
"""For `print` and `pprint`"""
|
133
|
+
return self.to_str()
|
134
|
+
|
135
|
+
def __eq__(self, other):
|
136
|
+
"""Returns true if both objects are equal"""
|
137
|
+
if not isinstance(other, JobwithreportListResponse):
|
138
|
+
return False
|
139
|
+
|
140
|
+
return self.to_dict() == other.to_dict()
|
141
|
+
|
142
|
+
def __ne__(self, other):
|
143
|
+
"""Returns true if both objects are not equal"""
|
144
|
+
if not isinstance(other, JobwithreportListResponse):
|
145
|
+
return True
|
146
|
+
|
147
|
+
return self.to_dict() != other.to_dict()
|
anyscale/client/openapi_client/models/{product_autoscaler_flag.py → list_ray_sessions_response.py}
RENAMED
@@ -18,7 +18,7 @@ import six
|
|
18
18
|
from openapi_client.configuration import Configuration
|
19
19
|
|
20
20
|
|
21
|
-
class
|
21
|
+
class ListRaySessionsResponse(object):
|
22
22
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
23
|
Ref: https://openapi-generator.tech
|
24
24
|
|
@@ -33,47 +33,46 @@ class ProductAutoscalerFlag(object):
|
|
33
33
|
and the value is json key in definition.
|
34
34
|
"""
|
35
35
|
openapi_types = {
|
36
|
-
'
|
36
|
+
'results': 'list[RaySession]'
|
37
37
|
}
|
38
38
|
|
39
39
|
attribute_map = {
|
40
|
-
'
|
40
|
+
'results': 'results'
|
41
41
|
}
|
42
42
|
|
43
|
-
def __init__(self,
|
44
|
-
"""
|
43
|
+
def __init__(self, results=None, local_vars_configuration=None): # noqa: E501
|
44
|
+
"""ListRaySessionsResponse - a model defined in OpenAPI""" # noqa: E501
|
45
45
|
if local_vars_configuration is None:
|
46
46
|
local_vars_configuration = Configuration()
|
47
47
|
self.local_vars_configuration = local_vars_configuration
|
48
48
|
|
49
|
-
self.
|
49
|
+
self._results = None
|
50
50
|
self.discriminator = None
|
51
51
|
|
52
|
-
|
53
|
-
self.enable_product_autoscaler = enable_product_autoscaler
|
52
|
+
self.results = results
|
54
53
|
|
55
54
|
@property
|
56
|
-
def
|
57
|
-
"""Gets the
|
55
|
+
def results(self):
|
56
|
+
"""Gets the results of this ListRaySessionsResponse. # noqa: E501
|
58
57
|
|
59
|
-
Product autoscaler flag. # noqa: E501
|
60
58
|
|
61
|
-
:return: The
|
62
|
-
:rtype:
|
59
|
+
:return: The results of this ListRaySessionsResponse. # noqa: E501
|
60
|
+
:rtype: list[RaySession]
|
63
61
|
"""
|
64
|
-
return self.
|
62
|
+
return self._results
|
65
63
|
|
66
|
-
@
|
67
|
-
def
|
68
|
-
"""Sets the
|
64
|
+
@results.setter
|
65
|
+
def results(self, results):
|
66
|
+
"""Sets the results of this ListRaySessionsResponse.
|
69
67
|
|
70
|
-
Product autoscaler flag. # noqa: E501
|
71
68
|
|
72
|
-
:param
|
73
|
-
:type:
|
69
|
+
:param results: The results of this ListRaySessionsResponse. # noqa: E501
|
70
|
+
:type: list[RaySession]
|
74
71
|
"""
|
72
|
+
if self.local_vars_configuration.client_side_validation and results is None: # noqa: E501
|
73
|
+
raise ValueError("Invalid value for `results`, must not be `None`") # noqa: E501
|
75
74
|
|
76
|
-
self.
|
75
|
+
self._results = results
|
77
76
|
|
78
77
|
def to_dict(self):
|
79
78
|
"""Returns the model properties as a dict"""
|
@@ -109,14 +108,14 @@ class ProductAutoscalerFlag(object):
|
|
109
108
|
|
110
109
|
def __eq__(self, other):
|
111
110
|
"""Returns true if both objects are equal"""
|
112
|
-
if not isinstance(other,
|
111
|
+
if not isinstance(other, ListRaySessionsResponse):
|
113
112
|
return False
|
114
113
|
|
115
114
|
return self.to_dict() == other.to_dict()
|
116
115
|
|
117
116
|
def __ne__(self, other):
|
118
117
|
"""Returns true if both objects are not equal"""
|
119
|
-
if not isinstance(other,
|
118
|
+
if not isinstance(other, ListRaySessionsResponse):
|
120
119
|
return True
|
121
120
|
|
122
121
|
return self.to_dict() != other.to_dict()
|
@@ -18,7 +18,7 @@ import six
|
|
18
18
|
from openapi_client.configuration import Configuration
|
19
19
|
|
20
20
|
|
21
|
-
class
|
21
|
+
class ListraysessionsresponseResponse(object):
|
22
22
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
23
|
Ref: https://openapi-generator.tech
|
24
24
|
|
@@ -33,7 +33,7 @@ class ProductautoscalerflagResponse(object):
|
|
33
33
|
and the value is json key in definition.
|
34
34
|
"""
|
35
35
|
openapi_types = {
|
36
|
-
'result': '
|
36
|
+
'result': 'ListRaySessionsResponse'
|
37
37
|
}
|
38
38
|
|
39
39
|
attribute_map = {
|
@@ -41,7 +41,7 @@ class ProductautoscalerflagResponse(object):
|
|
41
41
|
}
|
42
42
|
|
43
43
|
def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
|
44
|
-
"""
|
44
|
+
"""ListraysessionsresponseResponse - a model defined in OpenAPI""" # noqa: E501
|
45
45
|
if local_vars_configuration is None:
|
46
46
|
local_vars_configuration = Configuration()
|
47
47
|
self.local_vars_configuration = local_vars_configuration
|
@@ -53,21 +53,21 @@ class ProductautoscalerflagResponse(object):
|
|
53
53
|
|
54
54
|
@property
|
55
55
|
def result(self):
|
56
|
-
"""Gets the result of this
|
56
|
+
"""Gets the result of this ListraysessionsresponseResponse. # noqa: E501
|
57
57
|
|
58
58
|
|
59
|
-
:return: The result of this
|
60
|
-
:rtype:
|
59
|
+
:return: The result of this ListraysessionsresponseResponse. # noqa: E501
|
60
|
+
:rtype: ListRaySessionsResponse
|
61
61
|
"""
|
62
62
|
return self._result
|
63
63
|
|
64
64
|
@result.setter
|
65
65
|
def result(self, result):
|
66
|
-
"""Sets the result of this
|
66
|
+
"""Sets the result of this ListraysessionsresponseResponse.
|
67
67
|
|
68
68
|
|
69
|
-
:param result: The result of this
|
70
|
-
:type:
|
69
|
+
:param result: The result of this ListraysessionsresponseResponse. # noqa: E501
|
70
|
+
:type: ListRaySessionsResponse
|
71
71
|
"""
|
72
72
|
if self.local_vars_configuration.client_side_validation and result is None: # noqa: E501
|
73
73
|
raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501
|
@@ -108,14 +108,14 @@ class ProductautoscalerflagResponse(object):
|
|
108
108
|
|
109
109
|
def __eq__(self, other):
|
110
110
|
"""Returns true if both objects are equal"""
|
111
|
-
if not isinstance(other,
|
111
|
+
if not isinstance(other, ListraysessionsresponseResponse):
|
112
112
|
return False
|
113
113
|
|
114
114
|
return self.to_dict() == other.to_dict()
|
115
115
|
|
116
116
|
def __ne__(self, other):
|
117
117
|
"""Returns true if both objects are not equal"""
|
118
|
-
if not isinstance(other,
|
118
|
+
if not isinstance(other, ListraysessionsresponseResponse):
|
119
119
|
return True
|
120
120
|
|
121
121
|
return self.to_dict() != other.to_dict()
|