anyscale 0.26.64__py3-none-any.whl → 0.26.66__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/_private/docgen/__main__.py +23 -4
- anyscale/_private/docgen/generator.py +127 -34
- anyscale/_private/docgen/generator_legacy.py +35 -12
- anyscale/client/README.md +37 -1
- anyscale/client/openapi_client/__init__.py +26 -0
- anyscale/client/openapi_client/api/default_api.py +1446 -245
- anyscale/client/openapi_client/models/__init__.py +26 -0
- anyscale/client/openapi_client/models/baseimagesenum.py +70 -1
- anyscale/client/openapi_client/models/cloud_deployment_compute_config.py +29 -1
- anyscale/client/openapi_client/models/connection_type.py +99 -0
- anyscale/client/openapi_client/models/create_experimental_workspace.py +29 -1
- anyscale/client/openapi_client/models/data_catalog.py +281 -0
- anyscale/client/openapi_client/models/data_catalog_connection.py +308 -0
- anyscale/client/openapi_client/models/data_catalog_connection_status.py +102 -0
- anyscale/client/openapi_client/models/data_catalog_provider.py +101 -0
- anyscale/client/openapi_client/models/databricks_connection_config.py +152 -0
- anyscale/client/openapi_client/models/databricks_connection_info.py +229 -0
- anyscale/client/openapi_client/models/databricks_connection_response.py +148 -0
- anyscale/client/openapi_client/models/databricks_register_request.py +187 -0
- anyscale/client/openapi_client/models/databricksconnectioninfo_response.py +121 -0
- anyscale/client/openapi_client/models/databricksconnectionresponse_response.py +121 -0
- anyscale/client/openapi_client/models/datacatalog_list_response.py +147 -0
- anyscale/client/openapi_client/models/datacatalogconnection_list_response.py +147 -0
- anyscale/client/openapi_client/models/decorated_session.py +29 -1
- anyscale/client/openapi_client/models/domain_verification.py +181 -0
- anyscale/client/openapi_client/models/list_databricks_connections.py +121 -0
- anyscale/client/openapi_client/models/o_auth_connection_response.py +229 -0
- anyscale/client/openapi_client/models/oauth_auth_url_response.py +121 -0
- anyscale/client/openapi_client/models/oauthconnectionresponse_response.py +121 -0
- anyscale/client/openapi_client/models/sso_config.py +148 -0
- anyscale/client/openapi_client/models/sso_connection.py +148 -0
- anyscale/client/openapi_client/models/sso_connection_state.py +100 -0
- anyscale/client/openapi_client/models/ssoconfig_response.py +121 -0
- anyscale/client/openapi_client/models/supportedbaseimagesenum.py +70 -1
- anyscale/client/openapi_client/models/task_summary_config.py +29 -3
- anyscale/client/openapi_client/models/task_table_config.py +29 -3
- anyscale/client/openapi_client/models/update_workspace_template.py +346 -0
- anyscale/client/openapi_client/models/usage_by_cluster_type.py +174 -0
- anyscale/client/openapi_client/models/usagebyclustertype_list_response.py +147 -0
- anyscale/client/openapi_client/models/validation_status.py +101 -0
- anyscale/commands/cloud_commands.py +310 -206
- anyscale/controllers/cloud_controller.py +175 -241
- anyscale/controllers/cloud_functional_verification_controller.py +6 -3
- anyscale/sdk/anyscale_client/models/baseimagesenum.py +70 -1
- anyscale/sdk/anyscale_client/models/cloud_deployment_compute_config.py +29 -1
- anyscale/sdk/anyscale_client/models/session.py +31 -3
- anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +70 -1
- anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
- anyscale/util.py +1 -1
- anyscale/version.py +1 -1
- {anyscale-0.26.64.dist-info → anyscale-0.26.66.dist-info}/METADATA +1 -1
- {anyscale-0.26.64.dist-info → anyscale-0.26.66.dist-info}/RECORD +58 -33
- anyscale/commands/cloud_commands_util.py +0 -10
- {anyscale-0.26.64.dist-info → anyscale-0.26.66.dist-info}/WHEEL +0 -0
- {anyscale-0.26.64.dist-info → anyscale-0.26.66.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.64.dist-info → anyscale-0.26.66.dist-info}/licenses/LICENSE +0 -0
- {anyscale-0.26.64.dist-info → anyscale-0.26.66.dist-info}/licenses/NOTICE +0 -0
- {anyscale-0.26.64.dist-info → anyscale-0.26.66.dist-info}/top_level.txt +0 -0
@@ -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 ListDatabricksConnections(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
|
+
'connections': 'list[DatabricksConnectionInfo]'
|
37
|
+
}
|
38
|
+
|
39
|
+
attribute_map = {
|
40
|
+
'connections': 'connections'
|
41
|
+
}
|
42
|
+
|
43
|
+
def __init__(self, connections=None, local_vars_configuration=None): # noqa: E501
|
44
|
+
"""ListDatabricksConnections - 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._connections = None
|
50
|
+
self.discriminator = None
|
51
|
+
|
52
|
+
self.connections = connections
|
53
|
+
|
54
|
+
@property
|
55
|
+
def connections(self):
|
56
|
+
"""Gets the connections of this ListDatabricksConnections. # noqa: E501
|
57
|
+
|
58
|
+
|
59
|
+
:return: The connections of this ListDatabricksConnections. # noqa: E501
|
60
|
+
:rtype: list[DatabricksConnectionInfo]
|
61
|
+
"""
|
62
|
+
return self._connections
|
63
|
+
|
64
|
+
@connections.setter
|
65
|
+
def connections(self, connections):
|
66
|
+
"""Sets the connections of this ListDatabricksConnections.
|
67
|
+
|
68
|
+
|
69
|
+
:param connections: The connections of this ListDatabricksConnections. # noqa: E501
|
70
|
+
:type: list[DatabricksConnectionInfo]
|
71
|
+
"""
|
72
|
+
if self.local_vars_configuration.client_side_validation and connections is None: # noqa: E501
|
73
|
+
raise ValueError("Invalid value for `connections`, must not be `None`") # noqa: E501
|
74
|
+
|
75
|
+
self._connections = connections
|
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, ListDatabricksConnections):
|
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, ListDatabricksConnections):
|
119
|
+
return True
|
120
|
+
|
121
|
+
return self.to_dict() != other.to_dict()
|
@@ -0,0 +1,229 @@
|
|
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 OAuthConnectionResponse(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
|
+
'success': 'bool',
|
37
|
+
'token_id': 'str',
|
38
|
+
'connection_id': 'str',
|
39
|
+
'message': 'str',
|
40
|
+
'is_validation': 'bool'
|
41
|
+
}
|
42
|
+
|
43
|
+
attribute_map = {
|
44
|
+
'success': 'success',
|
45
|
+
'token_id': 'token_id',
|
46
|
+
'connection_id': 'connection_id',
|
47
|
+
'message': 'message',
|
48
|
+
'is_validation': 'is_validation'
|
49
|
+
}
|
50
|
+
|
51
|
+
def __init__(self, success=None, token_id=None, connection_id=None, message=None, is_validation=None, local_vars_configuration=None): # noqa: E501
|
52
|
+
"""OAuthConnectionResponse - a model defined in OpenAPI""" # noqa: E501
|
53
|
+
if local_vars_configuration is None:
|
54
|
+
local_vars_configuration = Configuration()
|
55
|
+
self.local_vars_configuration = local_vars_configuration
|
56
|
+
|
57
|
+
self._success = None
|
58
|
+
self._token_id = None
|
59
|
+
self._connection_id = None
|
60
|
+
self._message = None
|
61
|
+
self._is_validation = None
|
62
|
+
self.discriminator = None
|
63
|
+
|
64
|
+
self.success = success
|
65
|
+
self.token_id = token_id
|
66
|
+
self.connection_id = connection_id
|
67
|
+
self.message = message
|
68
|
+
self.is_validation = is_validation
|
69
|
+
|
70
|
+
@property
|
71
|
+
def success(self):
|
72
|
+
"""Gets the success of this OAuthConnectionResponse. # noqa: E501
|
73
|
+
|
74
|
+
|
75
|
+
:return: The success of this OAuthConnectionResponse. # noqa: E501
|
76
|
+
:rtype: bool
|
77
|
+
"""
|
78
|
+
return self._success
|
79
|
+
|
80
|
+
@success.setter
|
81
|
+
def success(self, success):
|
82
|
+
"""Sets the success of this OAuthConnectionResponse.
|
83
|
+
|
84
|
+
|
85
|
+
:param success: The success of this OAuthConnectionResponse. # noqa: E501
|
86
|
+
:type: bool
|
87
|
+
"""
|
88
|
+
if self.local_vars_configuration.client_side_validation and success is None: # noqa: E501
|
89
|
+
raise ValueError("Invalid value for `success`, must not be `None`") # noqa: E501
|
90
|
+
|
91
|
+
self._success = success
|
92
|
+
|
93
|
+
@property
|
94
|
+
def token_id(self):
|
95
|
+
"""Gets the token_id of this OAuthConnectionResponse. # noqa: E501
|
96
|
+
|
97
|
+
|
98
|
+
:return: The token_id of this OAuthConnectionResponse. # noqa: E501
|
99
|
+
:rtype: str
|
100
|
+
"""
|
101
|
+
return self._token_id
|
102
|
+
|
103
|
+
@token_id.setter
|
104
|
+
def token_id(self, token_id):
|
105
|
+
"""Sets the token_id of this OAuthConnectionResponse.
|
106
|
+
|
107
|
+
|
108
|
+
:param token_id: The token_id of this OAuthConnectionResponse. # noqa: E501
|
109
|
+
:type: str
|
110
|
+
"""
|
111
|
+
if self.local_vars_configuration.client_side_validation and token_id is None: # noqa: E501
|
112
|
+
raise ValueError("Invalid value for `token_id`, must not be `None`") # noqa: E501
|
113
|
+
|
114
|
+
self._token_id = token_id
|
115
|
+
|
116
|
+
@property
|
117
|
+
def connection_id(self):
|
118
|
+
"""Gets the connection_id of this OAuthConnectionResponse. # noqa: E501
|
119
|
+
|
120
|
+
|
121
|
+
:return: The connection_id of this OAuthConnectionResponse. # noqa: E501
|
122
|
+
:rtype: str
|
123
|
+
"""
|
124
|
+
return self._connection_id
|
125
|
+
|
126
|
+
@connection_id.setter
|
127
|
+
def connection_id(self, connection_id):
|
128
|
+
"""Sets the connection_id of this OAuthConnectionResponse.
|
129
|
+
|
130
|
+
|
131
|
+
:param connection_id: The connection_id of this OAuthConnectionResponse. # noqa: E501
|
132
|
+
:type: str
|
133
|
+
"""
|
134
|
+
if self.local_vars_configuration.client_side_validation and connection_id is None: # noqa: E501
|
135
|
+
raise ValueError("Invalid value for `connection_id`, must not be `None`") # noqa: E501
|
136
|
+
|
137
|
+
self._connection_id = connection_id
|
138
|
+
|
139
|
+
@property
|
140
|
+
def message(self):
|
141
|
+
"""Gets the message of this OAuthConnectionResponse. # noqa: E501
|
142
|
+
|
143
|
+
|
144
|
+
:return: The message of this OAuthConnectionResponse. # noqa: E501
|
145
|
+
:rtype: str
|
146
|
+
"""
|
147
|
+
return self._message
|
148
|
+
|
149
|
+
@message.setter
|
150
|
+
def message(self, message):
|
151
|
+
"""Sets the message of this OAuthConnectionResponse.
|
152
|
+
|
153
|
+
|
154
|
+
:param message: The message of this OAuthConnectionResponse. # noqa: E501
|
155
|
+
:type: str
|
156
|
+
"""
|
157
|
+
if self.local_vars_configuration.client_side_validation and message is None: # noqa: E501
|
158
|
+
raise ValueError("Invalid value for `message`, must not be `None`") # noqa: E501
|
159
|
+
|
160
|
+
self._message = message
|
161
|
+
|
162
|
+
@property
|
163
|
+
def is_validation(self):
|
164
|
+
"""Gets the is_validation of this OAuthConnectionResponse. # noqa: E501
|
165
|
+
|
166
|
+
|
167
|
+
:return: The is_validation of this OAuthConnectionResponse. # noqa: E501
|
168
|
+
:rtype: bool
|
169
|
+
"""
|
170
|
+
return self._is_validation
|
171
|
+
|
172
|
+
@is_validation.setter
|
173
|
+
def is_validation(self, is_validation):
|
174
|
+
"""Sets the is_validation of this OAuthConnectionResponse.
|
175
|
+
|
176
|
+
|
177
|
+
:param is_validation: The is_validation of this OAuthConnectionResponse. # noqa: E501
|
178
|
+
:type: bool
|
179
|
+
"""
|
180
|
+
if self.local_vars_configuration.client_side_validation and is_validation is None: # noqa: E501
|
181
|
+
raise ValueError("Invalid value for `is_validation`, must not be `None`") # noqa: E501
|
182
|
+
|
183
|
+
self._is_validation = is_validation
|
184
|
+
|
185
|
+
def to_dict(self):
|
186
|
+
"""Returns the model properties as a dict"""
|
187
|
+
result = {}
|
188
|
+
|
189
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
190
|
+
value = getattr(self, attr)
|
191
|
+
if isinstance(value, list):
|
192
|
+
result[attr] = list(map(
|
193
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
194
|
+
value
|
195
|
+
))
|
196
|
+
elif hasattr(value, "to_dict"):
|
197
|
+
result[attr] = value.to_dict()
|
198
|
+
elif isinstance(value, dict):
|
199
|
+
result[attr] = dict(map(
|
200
|
+
lambda item: (item[0], item[1].to_dict())
|
201
|
+
if hasattr(item[1], "to_dict") else item,
|
202
|
+
value.items()
|
203
|
+
))
|
204
|
+
else:
|
205
|
+
result[attr] = value
|
206
|
+
|
207
|
+
return result
|
208
|
+
|
209
|
+
def to_str(self):
|
210
|
+
"""Returns the string representation of the model"""
|
211
|
+
return pprint.pformat(self.to_dict())
|
212
|
+
|
213
|
+
def __repr__(self):
|
214
|
+
"""For `print` and `pprint`"""
|
215
|
+
return self.to_str()
|
216
|
+
|
217
|
+
def __eq__(self, other):
|
218
|
+
"""Returns true if both objects are equal"""
|
219
|
+
if not isinstance(other, OAuthConnectionResponse):
|
220
|
+
return False
|
221
|
+
|
222
|
+
return self.to_dict() == other.to_dict()
|
223
|
+
|
224
|
+
def __ne__(self, other):
|
225
|
+
"""Returns true if both objects are not equal"""
|
226
|
+
if not isinstance(other, OAuthConnectionResponse):
|
227
|
+
return True
|
228
|
+
|
229
|
+
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 OauthAuthUrlResponse(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
|
+
'auth_url': 'str'
|
37
|
+
}
|
38
|
+
|
39
|
+
attribute_map = {
|
40
|
+
'auth_url': 'auth_url'
|
41
|
+
}
|
42
|
+
|
43
|
+
def __init__(self, auth_url=None, local_vars_configuration=None): # noqa: E501
|
44
|
+
"""OauthAuthUrlResponse - 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._auth_url = None
|
50
|
+
self.discriminator = None
|
51
|
+
|
52
|
+
self.auth_url = auth_url
|
53
|
+
|
54
|
+
@property
|
55
|
+
def auth_url(self):
|
56
|
+
"""Gets the auth_url of this OauthAuthUrlResponse. # noqa: E501
|
57
|
+
|
58
|
+
|
59
|
+
:return: The auth_url of this OauthAuthUrlResponse. # noqa: E501
|
60
|
+
:rtype: str
|
61
|
+
"""
|
62
|
+
return self._auth_url
|
63
|
+
|
64
|
+
@auth_url.setter
|
65
|
+
def auth_url(self, auth_url):
|
66
|
+
"""Sets the auth_url of this OauthAuthUrlResponse.
|
67
|
+
|
68
|
+
|
69
|
+
:param auth_url: The auth_url of this OauthAuthUrlResponse. # noqa: E501
|
70
|
+
:type: str
|
71
|
+
"""
|
72
|
+
if self.local_vars_configuration.client_side_validation and auth_url is None: # noqa: E501
|
73
|
+
raise ValueError("Invalid value for `auth_url`, must not be `None`") # noqa: E501
|
74
|
+
|
75
|
+
self._auth_url = auth_url
|
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, OauthAuthUrlResponse):
|
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, OauthAuthUrlResponse):
|
119
|
+
return True
|
120
|
+
|
121
|
+
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 OauthconnectionresponseResponse(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': 'OAuthConnectionResponse'
|
37
|
+
}
|
38
|
+
|
39
|
+
attribute_map = {
|
40
|
+
'result': 'result'
|
41
|
+
}
|
42
|
+
|
43
|
+
def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
|
44
|
+
"""OauthconnectionresponseResponse - 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 OauthconnectionresponseResponse. # noqa: E501
|
57
|
+
|
58
|
+
|
59
|
+
:return: The result of this OauthconnectionresponseResponse. # noqa: E501
|
60
|
+
:rtype: OAuthConnectionResponse
|
61
|
+
"""
|
62
|
+
return self._result
|
63
|
+
|
64
|
+
@result.setter
|
65
|
+
def result(self, result):
|
66
|
+
"""Sets the result of this OauthconnectionresponseResponse.
|
67
|
+
|
68
|
+
|
69
|
+
:param result: The result of this OauthconnectionresponseResponse. # noqa: E501
|
70
|
+
:type: OAuthConnectionResponse
|
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, OauthconnectionresponseResponse):
|
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, OauthconnectionresponseResponse):
|
119
|
+
return True
|
120
|
+
|
121
|
+
return self.to_dict() != other.to_dict()
|