anyscale 0.26.17__py3-none-any.whl → 0.26.18__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/anyscale-cloud-setup.yaml +0 -4
- anyscale/client/README.md +0 -37
- anyscale/client/openapi_client/__init__.py +0 -20
- anyscale/client/openapi_client/api/default_api.py +192 -2193
- anyscale/client/openapi_client/models/__init__.py +0 -20
- anyscale/commands/cloud_commands.py +32 -4
- anyscale/connect_utils/prepare_cluster.py +19 -14
- anyscale/controllers/cloud_controller.py +23 -3
- anyscale/version.py +1 -1
- {anyscale-0.26.17.dist-info → anyscale-0.26.18.dist-info}/METADATA +1 -1
- {anyscale-0.26.17.dist-info → anyscale-0.26.18.dist-info}/RECORD +16 -36
- anyscale/client/openapi_client/models/archived_logs_info.py +0 -164
- anyscale/client/openapi_client/models/archivedlogsinfo_response.py +0 -121
- anyscale/client/openapi_client/models/create_experimental_workspace_from_job.py +0 -123
- anyscale/client/openapi_client/models/create_session_from_snapshot_options.py +0 -538
- anyscale/client/openapi_client/models/create_session_in_db.py +0 -434
- anyscale/client/openapi_client/models/create_session_response.py +0 -174
- anyscale/client/openapi_client/models/createsessionresponse_response.py +0 -121
- anyscale/client/openapi_client/models/external_service_status.py +0 -147
- anyscale/client/openapi_client/models/external_service_status_response.py +0 -250
- anyscale/client/openapi_client/models/externalservicestatusresponse_response.py +0 -121
- anyscale/client/openapi_client/models/monitor_logs_extension.py +0 -100
- anyscale/client/openapi_client/models/session_describe.py +0 -175
- anyscale/client/openapi_client/models/session_details.py +0 -148
- anyscale/client/openapi_client/models/session_history_item.py +0 -146
- anyscale/client/openapi_client/models/sessiondescribe_response.py +0 -121
- anyscale/client/openapi_client/models/sessiondetails_response.py +0 -121
- anyscale/client/openapi_client/models/sessionhistoryitem_list_response.py +0 -147
- anyscale/client/openapi_client/models/update_compute_template.py +0 -146
- anyscale/client/openapi_client/models/update_compute_template_config.py +0 -464
- anyscale/client/openapi_client/models/webterminal_list_response.py +0 -147
- {anyscale-0.26.17.dist-info → anyscale-0.26.18.dist-info}/LICENSE +0 -0
- {anyscale-0.26.17.dist-info → anyscale-0.26.18.dist-info}/NOTICE +0 -0
- {anyscale-0.26.17.dist-info → anyscale-0.26.18.dist-info}/WHEEL +0 -0
- {anyscale-0.26.17.dist-info → anyscale-0.26.18.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.17.dist-info → anyscale-0.26.18.dist-info}/top_level.txt +0 -0
@@ -1,121 +0,0 @@
|
|
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 CreatesessionresponseResponse(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': 'CreateSessionResponse'
|
37
|
-
}
|
38
|
-
|
39
|
-
attribute_map = {
|
40
|
-
'result': 'result'
|
41
|
-
}
|
42
|
-
|
43
|
-
def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
|
44
|
-
"""CreatesessionresponseResponse - 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 CreatesessionresponseResponse. # noqa: E501
|
57
|
-
|
58
|
-
|
59
|
-
:return: The result of this CreatesessionresponseResponse. # noqa: E501
|
60
|
-
:rtype: CreateSessionResponse
|
61
|
-
"""
|
62
|
-
return self._result
|
63
|
-
|
64
|
-
@result.setter
|
65
|
-
def result(self, result):
|
66
|
-
"""Sets the result of this CreatesessionresponseResponse.
|
67
|
-
|
68
|
-
|
69
|
-
:param result: The result of this CreatesessionresponseResponse. # noqa: E501
|
70
|
-
:type: CreateSessionResponse
|
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, CreatesessionresponseResponse):
|
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, CreatesessionresponseResponse):
|
119
|
-
return True
|
120
|
-
|
121
|
-
return self.to_dict() != other.to_dict()
|
@@ -1,147 +0,0 @@
|
|
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 ExternalServiceStatus(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_code': 'int',
|
37
|
-
'error_reason': 'str'
|
38
|
-
}
|
39
|
-
|
40
|
-
attribute_map = {
|
41
|
-
'status_code': 'status_code',
|
42
|
-
'error_reason': 'error_reason'
|
43
|
-
}
|
44
|
-
|
45
|
-
def __init__(self, status_code=None, error_reason=None, local_vars_configuration=None): # noqa: E501
|
46
|
-
"""ExternalServiceStatus - 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_code = None
|
52
|
-
self._error_reason = None
|
53
|
-
self.discriminator = None
|
54
|
-
|
55
|
-
self.status_code = status_code
|
56
|
-
if error_reason is not None:
|
57
|
-
self.error_reason = error_reason
|
58
|
-
|
59
|
-
@property
|
60
|
-
def status_code(self):
|
61
|
-
"""Gets the status_code of this ExternalServiceStatus. # noqa: E501
|
62
|
-
|
63
|
-
|
64
|
-
:return: The status_code of this ExternalServiceStatus. # noqa: E501
|
65
|
-
:rtype: int
|
66
|
-
"""
|
67
|
-
return self._status_code
|
68
|
-
|
69
|
-
@status_code.setter
|
70
|
-
def status_code(self, status_code):
|
71
|
-
"""Sets the status_code of this ExternalServiceStatus.
|
72
|
-
|
73
|
-
|
74
|
-
:param status_code: The status_code of this ExternalServiceStatus. # noqa: E501
|
75
|
-
:type: int
|
76
|
-
"""
|
77
|
-
if self.local_vars_configuration.client_side_validation and status_code is None: # noqa: E501
|
78
|
-
raise ValueError("Invalid value for `status_code`, must not be `None`") # noqa: E501
|
79
|
-
|
80
|
-
self._status_code = status_code
|
81
|
-
|
82
|
-
@property
|
83
|
-
def error_reason(self):
|
84
|
-
"""Gets the error_reason of this ExternalServiceStatus. # noqa: E501
|
85
|
-
|
86
|
-
|
87
|
-
:return: The error_reason of this ExternalServiceStatus. # noqa: E501
|
88
|
-
:rtype: str
|
89
|
-
"""
|
90
|
-
return self._error_reason
|
91
|
-
|
92
|
-
@error_reason.setter
|
93
|
-
def error_reason(self, error_reason):
|
94
|
-
"""Sets the error_reason of this ExternalServiceStatus.
|
95
|
-
|
96
|
-
|
97
|
-
:param error_reason: The error_reason of this ExternalServiceStatus. # noqa: E501
|
98
|
-
:type: str
|
99
|
-
"""
|
100
|
-
|
101
|
-
self._error_reason = error_reason
|
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, ExternalServiceStatus):
|
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, ExternalServiceStatus):
|
145
|
-
return True
|
146
|
-
|
147
|
-
return self.to_dict() != other.to_dict()
|
@@ -1,250 +0,0 @@
|
|
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 ExternalServiceStatusResponse(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
|
-
'metrics_dashboard_status': 'ExternalServiceStatus',
|
37
|
-
'persistent_metrics_status': 'ExternalServiceStatus',
|
38
|
-
'jupyter_noteboook_status': 'ExternalServiceStatus',
|
39
|
-
'service_proxy_status': 'ExternalServiceStatus',
|
40
|
-
'ray_dashboard_status': 'ExternalServiceStatus',
|
41
|
-
'webterminal_status': 'ExternalServiceStatus'
|
42
|
-
}
|
43
|
-
|
44
|
-
attribute_map = {
|
45
|
-
'metrics_dashboard_status': 'metrics_dashboard_status',
|
46
|
-
'persistent_metrics_status': 'persistent_metrics_status',
|
47
|
-
'jupyter_noteboook_status': 'jupyter_noteboook_status',
|
48
|
-
'service_proxy_status': 'service_proxy_status',
|
49
|
-
'ray_dashboard_status': 'ray_dashboard_status',
|
50
|
-
'webterminal_status': 'webterminal_status'
|
51
|
-
}
|
52
|
-
|
53
|
-
def __init__(self, metrics_dashboard_status=None, persistent_metrics_status=None, jupyter_noteboook_status=None, service_proxy_status=None, ray_dashboard_status=None, webterminal_status=None, local_vars_configuration=None): # noqa: E501
|
54
|
-
"""ExternalServiceStatusResponse - 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._metrics_dashboard_status = None
|
60
|
-
self._persistent_metrics_status = None
|
61
|
-
self._jupyter_noteboook_status = None
|
62
|
-
self._service_proxy_status = None
|
63
|
-
self._ray_dashboard_status = None
|
64
|
-
self._webterminal_status = None
|
65
|
-
self.discriminator = None
|
66
|
-
|
67
|
-
if metrics_dashboard_status is not None:
|
68
|
-
self.metrics_dashboard_status = metrics_dashboard_status
|
69
|
-
if persistent_metrics_status is not None:
|
70
|
-
self.persistent_metrics_status = persistent_metrics_status
|
71
|
-
if jupyter_noteboook_status is not None:
|
72
|
-
self.jupyter_noteboook_status = jupyter_noteboook_status
|
73
|
-
if service_proxy_status is not None:
|
74
|
-
self.service_proxy_status = service_proxy_status
|
75
|
-
if ray_dashboard_status is not None:
|
76
|
-
self.ray_dashboard_status = ray_dashboard_status
|
77
|
-
if webterminal_status is not None:
|
78
|
-
self.webterminal_status = webterminal_status
|
79
|
-
|
80
|
-
@property
|
81
|
-
def metrics_dashboard_status(self):
|
82
|
-
"""Gets the metrics_dashboard_status of this ExternalServiceStatusResponse. # noqa: E501
|
83
|
-
|
84
|
-
|
85
|
-
:return: The metrics_dashboard_status of this ExternalServiceStatusResponse. # noqa: E501
|
86
|
-
:rtype: ExternalServiceStatus
|
87
|
-
"""
|
88
|
-
return self._metrics_dashboard_status
|
89
|
-
|
90
|
-
@metrics_dashboard_status.setter
|
91
|
-
def metrics_dashboard_status(self, metrics_dashboard_status):
|
92
|
-
"""Sets the metrics_dashboard_status of this ExternalServiceStatusResponse.
|
93
|
-
|
94
|
-
|
95
|
-
:param metrics_dashboard_status: The metrics_dashboard_status of this ExternalServiceStatusResponse. # noqa: E501
|
96
|
-
:type: ExternalServiceStatus
|
97
|
-
"""
|
98
|
-
|
99
|
-
self._metrics_dashboard_status = metrics_dashboard_status
|
100
|
-
|
101
|
-
@property
|
102
|
-
def persistent_metrics_status(self):
|
103
|
-
"""Gets the persistent_metrics_status of this ExternalServiceStatusResponse. # noqa: E501
|
104
|
-
|
105
|
-
|
106
|
-
:return: The persistent_metrics_status of this ExternalServiceStatusResponse. # noqa: E501
|
107
|
-
:rtype: ExternalServiceStatus
|
108
|
-
"""
|
109
|
-
return self._persistent_metrics_status
|
110
|
-
|
111
|
-
@persistent_metrics_status.setter
|
112
|
-
def persistent_metrics_status(self, persistent_metrics_status):
|
113
|
-
"""Sets the persistent_metrics_status of this ExternalServiceStatusResponse.
|
114
|
-
|
115
|
-
|
116
|
-
:param persistent_metrics_status: The persistent_metrics_status of this ExternalServiceStatusResponse. # noqa: E501
|
117
|
-
:type: ExternalServiceStatus
|
118
|
-
"""
|
119
|
-
|
120
|
-
self._persistent_metrics_status = persistent_metrics_status
|
121
|
-
|
122
|
-
@property
|
123
|
-
def jupyter_noteboook_status(self):
|
124
|
-
"""Gets the jupyter_noteboook_status of this ExternalServiceStatusResponse. # noqa: E501
|
125
|
-
|
126
|
-
|
127
|
-
:return: The jupyter_noteboook_status of this ExternalServiceStatusResponse. # noqa: E501
|
128
|
-
:rtype: ExternalServiceStatus
|
129
|
-
"""
|
130
|
-
return self._jupyter_noteboook_status
|
131
|
-
|
132
|
-
@jupyter_noteboook_status.setter
|
133
|
-
def jupyter_noteboook_status(self, jupyter_noteboook_status):
|
134
|
-
"""Sets the jupyter_noteboook_status of this ExternalServiceStatusResponse.
|
135
|
-
|
136
|
-
|
137
|
-
:param jupyter_noteboook_status: The jupyter_noteboook_status of this ExternalServiceStatusResponse. # noqa: E501
|
138
|
-
:type: ExternalServiceStatus
|
139
|
-
"""
|
140
|
-
|
141
|
-
self._jupyter_noteboook_status = jupyter_noteboook_status
|
142
|
-
|
143
|
-
@property
|
144
|
-
def service_proxy_status(self):
|
145
|
-
"""Gets the service_proxy_status of this ExternalServiceStatusResponse. # noqa: E501
|
146
|
-
|
147
|
-
|
148
|
-
:return: The service_proxy_status of this ExternalServiceStatusResponse. # noqa: E501
|
149
|
-
:rtype: ExternalServiceStatus
|
150
|
-
"""
|
151
|
-
return self._service_proxy_status
|
152
|
-
|
153
|
-
@service_proxy_status.setter
|
154
|
-
def service_proxy_status(self, service_proxy_status):
|
155
|
-
"""Sets the service_proxy_status of this ExternalServiceStatusResponse.
|
156
|
-
|
157
|
-
|
158
|
-
:param service_proxy_status: The service_proxy_status of this ExternalServiceStatusResponse. # noqa: E501
|
159
|
-
:type: ExternalServiceStatus
|
160
|
-
"""
|
161
|
-
|
162
|
-
self._service_proxy_status = service_proxy_status
|
163
|
-
|
164
|
-
@property
|
165
|
-
def ray_dashboard_status(self):
|
166
|
-
"""Gets the ray_dashboard_status of this ExternalServiceStatusResponse. # noqa: E501
|
167
|
-
|
168
|
-
|
169
|
-
:return: The ray_dashboard_status of this ExternalServiceStatusResponse. # noqa: E501
|
170
|
-
:rtype: ExternalServiceStatus
|
171
|
-
"""
|
172
|
-
return self._ray_dashboard_status
|
173
|
-
|
174
|
-
@ray_dashboard_status.setter
|
175
|
-
def ray_dashboard_status(self, ray_dashboard_status):
|
176
|
-
"""Sets the ray_dashboard_status of this ExternalServiceStatusResponse.
|
177
|
-
|
178
|
-
|
179
|
-
:param ray_dashboard_status: The ray_dashboard_status of this ExternalServiceStatusResponse. # noqa: E501
|
180
|
-
:type: ExternalServiceStatus
|
181
|
-
"""
|
182
|
-
|
183
|
-
self._ray_dashboard_status = ray_dashboard_status
|
184
|
-
|
185
|
-
@property
|
186
|
-
def webterminal_status(self):
|
187
|
-
"""Gets the webterminal_status of this ExternalServiceStatusResponse. # noqa: E501
|
188
|
-
|
189
|
-
|
190
|
-
:return: The webterminal_status of this ExternalServiceStatusResponse. # noqa: E501
|
191
|
-
:rtype: ExternalServiceStatus
|
192
|
-
"""
|
193
|
-
return self._webterminal_status
|
194
|
-
|
195
|
-
@webterminal_status.setter
|
196
|
-
def webterminal_status(self, webterminal_status):
|
197
|
-
"""Sets the webterminal_status of this ExternalServiceStatusResponse.
|
198
|
-
|
199
|
-
|
200
|
-
:param webterminal_status: The webterminal_status of this ExternalServiceStatusResponse. # noqa: E501
|
201
|
-
:type: ExternalServiceStatus
|
202
|
-
"""
|
203
|
-
|
204
|
-
self._webterminal_status = webterminal_status
|
205
|
-
|
206
|
-
def to_dict(self):
|
207
|
-
"""Returns the model properties as a dict"""
|
208
|
-
result = {}
|
209
|
-
|
210
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
211
|
-
value = getattr(self, attr)
|
212
|
-
if isinstance(value, list):
|
213
|
-
result[attr] = list(map(
|
214
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
215
|
-
value
|
216
|
-
))
|
217
|
-
elif hasattr(value, "to_dict"):
|
218
|
-
result[attr] = value.to_dict()
|
219
|
-
elif isinstance(value, dict):
|
220
|
-
result[attr] = dict(map(
|
221
|
-
lambda item: (item[0], item[1].to_dict())
|
222
|
-
if hasattr(item[1], "to_dict") else item,
|
223
|
-
value.items()
|
224
|
-
))
|
225
|
-
else:
|
226
|
-
result[attr] = value
|
227
|
-
|
228
|
-
return result
|
229
|
-
|
230
|
-
def to_str(self):
|
231
|
-
"""Returns the string representation of the model"""
|
232
|
-
return pprint.pformat(self.to_dict())
|
233
|
-
|
234
|
-
def __repr__(self):
|
235
|
-
"""For `print` and `pprint`"""
|
236
|
-
return self.to_str()
|
237
|
-
|
238
|
-
def __eq__(self, other):
|
239
|
-
"""Returns true if both objects are equal"""
|
240
|
-
if not isinstance(other, ExternalServiceStatusResponse):
|
241
|
-
return False
|
242
|
-
|
243
|
-
return self.to_dict() == other.to_dict()
|
244
|
-
|
245
|
-
def __ne__(self, other):
|
246
|
-
"""Returns true if both objects are not equal"""
|
247
|
-
if not isinstance(other, ExternalServiceStatusResponse):
|
248
|
-
return True
|
249
|
-
|
250
|
-
return self.to_dict() != other.to_dict()
|
@@ -1,121 +0,0 @@
|
|
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 ExternalservicestatusresponseResponse(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': 'ExternalServiceStatusResponse'
|
37
|
-
}
|
38
|
-
|
39
|
-
attribute_map = {
|
40
|
-
'result': 'result'
|
41
|
-
}
|
42
|
-
|
43
|
-
def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
|
44
|
-
"""ExternalservicestatusresponseResponse - 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 ExternalservicestatusresponseResponse. # noqa: E501
|
57
|
-
|
58
|
-
|
59
|
-
:return: The result of this ExternalservicestatusresponseResponse. # noqa: E501
|
60
|
-
:rtype: ExternalServiceStatusResponse
|
61
|
-
"""
|
62
|
-
return self._result
|
63
|
-
|
64
|
-
@result.setter
|
65
|
-
def result(self, result):
|
66
|
-
"""Sets the result of this ExternalservicestatusresponseResponse.
|
67
|
-
|
68
|
-
|
69
|
-
:param result: The result of this ExternalservicestatusresponseResponse. # noqa: E501
|
70
|
-
:type: ExternalServiceStatusResponse
|
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, ExternalservicestatusresponseResponse):
|
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, ExternalservicestatusresponseResponse):
|
119
|
-
return True
|
120
|
-
|
121
|
-
return self.to_dict() != other.to_dict()
|