anyscale 0.26.69__py3-none-any.whl → 0.26.71__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 +126 -3
- anyscale/_private/anyscale_client/common.py +51 -2
- anyscale/_private/anyscale_client/fake_anyscale_client.py +103 -11
- anyscale/client/README.md +43 -4
- anyscale/client/openapi_client/__init__.py +30 -4
- anyscale/client/openapi_client/api/default_api.py +1769 -27
- anyscale/client/openapi_client/models/__init__.py +30 -4
- anyscale/client/openapi_client/models/api_key_info.py +29 -3
- anyscale/client/openapi_client/models/apply_autoscaling_config_update_model.py +350 -0
- anyscale/client/openapi_client/models/apply_multi_version_update_weights_update_model.py +152 -0
- anyscale/client/openapi_client/models/apply_production_service_multi_version_v2_model.py +207 -0
- anyscale/client/openapi_client/models/apply_production_service_v2_model.py +31 -3
- anyscale/client/openapi_client/models/apply_version_weight_update_model.py +181 -0
- anyscale/client/openapi_client/models/backend_server_api_product_models_catalog_client_models_table_metadata.py +546 -0
- anyscale/client/openapi_client/models/backend_server_api_product_models_data_catalogs_table_metadata.py +178 -0
- anyscale/client/openapi_client/models/baseimagesenum.py +139 -1
- anyscale/client/openapi_client/models/catalog_metadata.py +150 -0
- anyscale/client/openapi_client/models/cloud_data_bucket_file_type.py +2 -1
- anyscale/client/openapi_client/models/{oauthconnectionresponse_response.py → clouddeployment_response.py} +11 -11
- anyscale/client/openapi_client/models/column_info.py +265 -0
- anyscale/client/openapi_client/models/compute_node_type.py +29 -1
- anyscale/client/openapi_client/models/connection_metadata.py +206 -0
- anyscale/client/openapi_client/models/create_experimental_workspace.py +29 -1
- anyscale/client/openapi_client/models/create_workspace_from_template.py +29 -1
- anyscale/client/openapi_client/models/create_workspace_template_version.py +59 -3
- anyscale/client/openapi_client/models/data_catalog.py +45 -31
- anyscale/client/openapi_client/models/data_catalog_connection.py +74 -58
- anyscale/client/openapi_client/models/{ha_job_event_level.py → data_catalog_object_type.py} +7 -8
- anyscale/client/openapi_client/models/data_catalog_schema.py +324 -0
- anyscale/client/openapi_client/models/data_catalog_table.py +437 -0
- anyscale/client/openapi_client/models/data_catalog_volume.py +437 -0
- anyscale/client/openapi_client/models/datacatalogschema_list_response.py +147 -0
- anyscale/client/openapi_client/models/datacatalogtable_list_response.py +147 -0
- anyscale/client/openapi_client/models/datacatalogvolume_list_response.py +147 -0
- anyscale/client/openapi_client/models/decorated_list_service_api_model.py +58 -1
- anyscale/client/openapi_client/models/decorated_production_service_v2_api_model.py +60 -3
- anyscale/client/openapi_client/models/decorated_serve_deployment.py +27 -1
- anyscale/client/openapi_client/models/decorated_service_event_api_model.py +3 -3
- anyscale/client/openapi_client/models/decoratedproductionservicev2_versionapimodel_response.py +121 -0
- anyscale/client/openapi_client/models/describe_machine_pool_machines_filters.py +33 -5
- anyscale/client/openapi_client/models/describe_machine_pool_requests_filters.py +33 -5
- anyscale/client/openapi_client/models/describe_machine_pool_workloads_filters.py +33 -5
- anyscale/client/openapi_client/models/{service_event_level.py → entity_type.py} +9 -9
- anyscale/client/openapi_client/models/event_level.py +2 -1
- anyscale/client/openapi_client/models/job_event_fields.py +206 -0
- anyscale/client/openapi_client/models/machine_type_partition_filter.py +152 -0
- anyscale/client/openapi_client/models/partition_info.py +30 -1
- anyscale/client/openapi_client/models/physical_resources.py +178 -0
- anyscale/client/openapi_client/models/production_job_event.py +3 -3
- anyscale/client/openapi_client/models/rollout_strategy.py +2 -1
- anyscale/client/openapi_client/models/schema_metadata.py +150 -0
- anyscale/client/openapi_client/models/service_event_fields.py +318 -0
- anyscale/client/openapi_client/models/sso_config.py +18 -18
- anyscale/client/openapi_client/models/supportedbaseimagesenum.py +139 -1
- anyscale/client/openapi_client/models/table_data_preview.py +209 -0
- 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/unified_event.py +377 -0
- anyscale/client/openapi_client/models/unified_origin_filter.py +113 -0
- anyscale/client/openapi_client/models/unifiedevent_list_response.py +147 -0
- anyscale/client/openapi_client/models/volume_metadata.py +150 -0
- anyscale/client/openapi_client/models/worker_node_type.py +29 -1
- anyscale/client/openapi_client/models/workspace_event_fields.py +122 -0
- anyscale/client/openapi_client/models/workspace_template_version.py +58 -1
- anyscale/client/openapi_client/models/workspace_template_version_data_object.py +58 -1
- anyscale/cloud/models.py +2 -2
- anyscale/commands/cloud_commands.py +133 -2
- anyscale/commands/job_commands.py +121 -1
- anyscale/commands/job_queue_commands.py +99 -2
- anyscale/commands/service_commands.py +267 -67
- anyscale/commands/setup_k8s.py +546 -31
- anyscale/commands/util.py +104 -1
- anyscale/commands/workspace_commands.py +123 -5
- anyscale/commands/workspace_commands_v2.py +17 -1
- anyscale/compute_config/_private/compute_config_sdk.py +25 -12
- anyscale/compute_config/models.py +15 -0
- anyscale/controllers/cloud_controller.py +15 -2
- anyscale/controllers/job_controller.py +12 -0
- anyscale/controllers/kubernetes_verifier.py +80 -66
- anyscale/controllers/workspace_controller.py +67 -5
- anyscale/job/_private/job_sdk.py +50 -2
- anyscale/job/commands.py +3 -0
- anyscale/job/models.py +16 -0
- anyscale/job_queue/__init__.py +37 -1
- anyscale/job_queue/_private/job_queue_sdk.py +28 -1
- anyscale/job_queue/commands.py +61 -1
- anyscale/sdk/anyscale_client/__init__.py +1 -0
- anyscale/sdk/anyscale_client/api/default_api.py +12 -2
- anyscale/sdk/anyscale_client/models/__init__.py +1 -0
- anyscale/sdk/anyscale_client/models/apply_production_service_v2_model.py +31 -3
- anyscale/sdk/anyscale_client/models/apply_service_model.py +31 -3
- anyscale/sdk/anyscale_client/models/baseimagesenum.py +139 -1
- anyscale/sdk/anyscale_client/models/compute_node_type.py +29 -1
- anyscale/sdk/anyscale_client/models/physical_resources.py +178 -0
- anyscale/sdk/anyscale_client/models/rollout_strategy.py +2 -1
- anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +139 -1
- anyscale/sdk/anyscale_client/models/worker_node_type.py +29 -1
- anyscale/service/__init__.py +51 -3
- anyscale/service/_private/service_sdk.py +481 -58
- anyscale/service/commands.py +90 -4
- anyscale/service/models.py +56 -0
- anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
- anyscale/version.py +1 -1
- anyscale/workspace/_private/workspace_sdk.py +1 -0
- anyscale/workspace/models.py +19 -0
- {anyscale-0.26.69.dist-info → anyscale-0.26.71.dist-info}/METADATA +1 -1
- {anyscale-0.26.69.dist-info → anyscale-0.26.71.dist-info}/RECORD +112 -85
- anyscale/client/openapi_client/models/o_auth_connection_response.py +0 -229
- {anyscale-0.26.69.dist-info → anyscale-0.26.71.dist-info}/WHEEL +0 -0
- {anyscale-0.26.69.dist-info → anyscale-0.26.71.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.69.dist-info → anyscale-0.26.71.dist-info}/licenses/LICENSE +0 -0
- {anyscale-0.26.69.dist-info → anyscale-0.26.71.dist-info}/licenses/NOTICE +0 -0
- {anyscale-0.26.69.dist-info → anyscale-0.26.71.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,318 @@
|
|
|
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 ServiceEventFields(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
|
+
'service_id': 'str',
|
|
37
|
+
'service_version_id': 'str',
|
|
38
|
+
'service_version_name': 'str',
|
|
39
|
+
'current_state': 'ServiceEventCurrentState',
|
|
40
|
+
'goal_state': 'str',
|
|
41
|
+
'serve_deployment_name': 'str',
|
|
42
|
+
'goal_state_initiator': 'object',
|
|
43
|
+
'event_type': 'str'
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
attribute_map = {
|
|
47
|
+
'service_id': 'service_id',
|
|
48
|
+
'service_version_id': 'service_version_id',
|
|
49
|
+
'service_version_name': 'service_version_name',
|
|
50
|
+
'current_state': 'current_state',
|
|
51
|
+
'goal_state': 'goal_state',
|
|
52
|
+
'serve_deployment_name': 'serve_deployment_name',
|
|
53
|
+
'goal_state_initiator': 'goal_state_initiator',
|
|
54
|
+
'event_type': 'event_type'
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
def __init__(self, service_id=None, service_version_id=None, service_version_name=None, current_state=None, goal_state=None, serve_deployment_name=None, goal_state_initiator=None, event_type=None, local_vars_configuration=None): # noqa: E501
|
|
58
|
+
"""ServiceEventFields - a model defined in OpenAPI""" # noqa: E501
|
|
59
|
+
if local_vars_configuration is None:
|
|
60
|
+
local_vars_configuration = Configuration()
|
|
61
|
+
self.local_vars_configuration = local_vars_configuration
|
|
62
|
+
|
|
63
|
+
self._service_id = None
|
|
64
|
+
self._service_version_id = None
|
|
65
|
+
self._service_version_name = None
|
|
66
|
+
self._current_state = None
|
|
67
|
+
self._goal_state = None
|
|
68
|
+
self._serve_deployment_name = None
|
|
69
|
+
self._goal_state_initiator = None
|
|
70
|
+
self._event_type = None
|
|
71
|
+
self.discriminator = None
|
|
72
|
+
|
|
73
|
+
if service_id is not None:
|
|
74
|
+
self.service_id = service_id
|
|
75
|
+
if service_version_id is not None:
|
|
76
|
+
self.service_version_id = service_version_id
|
|
77
|
+
if service_version_name is not None:
|
|
78
|
+
self.service_version_name = service_version_name
|
|
79
|
+
if current_state is not None:
|
|
80
|
+
self.current_state = current_state
|
|
81
|
+
if goal_state is not None:
|
|
82
|
+
self.goal_state = goal_state
|
|
83
|
+
if serve_deployment_name is not None:
|
|
84
|
+
self.serve_deployment_name = serve_deployment_name
|
|
85
|
+
if goal_state_initiator is not None:
|
|
86
|
+
self.goal_state_initiator = goal_state_initiator
|
|
87
|
+
if event_type is not None:
|
|
88
|
+
self.event_type = event_type
|
|
89
|
+
|
|
90
|
+
@property
|
|
91
|
+
def service_id(self):
|
|
92
|
+
"""Gets the service_id of this ServiceEventFields. # noqa: E501
|
|
93
|
+
|
|
94
|
+
The id of the Service v2. Present only for Service events. # noqa: E501
|
|
95
|
+
|
|
96
|
+
:return: The service_id of this ServiceEventFields. # noqa: E501
|
|
97
|
+
:rtype: str
|
|
98
|
+
"""
|
|
99
|
+
return self._service_id
|
|
100
|
+
|
|
101
|
+
@service_id.setter
|
|
102
|
+
def service_id(self, service_id):
|
|
103
|
+
"""Sets the service_id of this ServiceEventFields.
|
|
104
|
+
|
|
105
|
+
The id of the Service v2. Present only for Service events. # noqa: E501
|
|
106
|
+
|
|
107
|
+
:param service_id: The service_id of this ServiceEventFields. # noqa: E501
|
|
108
|
+
:type: str
|
|
109
|
+
"""
|
|
110
|
+
|
|
111
|
+
self._service_id = service_id
|
|
112
|
+
|
|
113
|
+
@property
|
|
114
|
+
def service_version_id(self):
|
|
115
|
+
"""Gets the service_version_id of this ServiceEventFields. # noqa: E501
|
|
116
|
+
|
|
117
|
+
The id of the associated Service Version. Present only for Service Version event # noqa: E501
|
|
118
|
+
|
|
119
|
+
:return: The service_version_id of this ServiceEventFields. # noqa: E501
|
|
120
|
+
:rtype: str
|
|
121
|
+
"""
|
|
122
|
+
return self._service_version_id
|
|
123
|
+
|
|
124
|
+
@service_version_id.setter
|
|
125
|
+
def service_version_id(self, service_version_id):
|
|
126
|
+
"""Sets the service_version_id of this ServiceEventFields.
|
|
127
|
+
|
|
128
|
+
The id of the associated Service Version. Present only for Service Version event # noqa: E501
|
|
129
|
+
|
|
130
|
+
:param service_version_id: The service_version_id of this ServiceEventFields. # noqa: E501
|
|
131
|
+
:type: str
|
|
132
|
+
"""
|
|
133
|
+
|
|
134
|
+
self._service_version_id = service_version_id
|
|
135
|
+
|
|
136
|
+
@property
|
|
137
|
+
def service_version_name(self):
|
|
138
|
+
"""Gets the service_version_name of this ServiceEventFields. # noqa: E501
|
|
139
|
+
|
|
140
|
+
The name of the associated Service Version. Present only for Service Version event # noqa: E501
|
|
141
|
+
|
|
142
|
+
:return: The service_version_name of this ServiceEventFields. # noqa: E501
|
|
143
|
+
:rtype: str
|
|
144
|
+
"""
|
|
145
|
+
return self._service_version_name
|
|
146
|
+
|
|
147
|
+
@service_version_name.setter
|
|
148
|
+
def service_version_name(self, service_version_name):
|
|
149
|
+
"""Sets the service_version_name of this ServiceEventFields.
|
|
150
|
+
|
|
151
|
+
The name of the associated Service Version. Present only for Service Version event # noqa: E501
|
|
152
|
+
|
|
153
|
+
:param service_version_name: The service_version_name of this ServiceEventFields. # noqa: E501
|
|
154
|
+
:type: str
|
|
155
|
+
"""
|
|
156
|
+
|
|
157
|
+
self._service_version_name = service_version_name
|
|
158
|
+
|
|
159
|
+
@property
|
|
160
|
+
def current_state(self):
|
|
161
|
+
"""Gets the current_state of this ServiceEventFields. # noqa: E501
|
|
162
|
+
|
|
163
|
+
Current service state # noqa: E501
|
|
164
|
+
|
|
165
|
+
:return: The current_state of this ServiceEventFields. # noqa: E501
|
|
166
|
+
:rtype: ServiceEventCurrentState
|
|
167
|
+
"""
|
|
168
|
+
return self._current_state
|
|
169
|
+
|
|
170
|
+
@current_state.setter
|
|
171
|
+
def current_state(self, current_state):
|
|
172
|
+
"""Sets the current_state of this ServiceEventFields.
|
|
173
|
+
|
|
174
|
+
Current service state # noqa: E501
|
|
175
|
+
|
|
176
|
+
:param current_state: The current_state of this ServiceEventFields. # noqa: E501
|
|
177
|
+
:type: ServiceEventCurrentState
|
|
178
|
+
"""
|
|
179
|
+
|
|
180
|
+
self._current_state = current_state
|
|
181
|
+
|
|
182
|
+
@property
|
|
183
|
+
def goal_state(self):
|
|
184
|
+
"""Gets the goal_state of this ServiceEventFields. # noqa: E501
|
|
185
|
+
|
|
186
|
+
Goal service state # noqa: E501
|
|
187
|
+
|
|
188
|
+
:return: The goal_state of this ServiceEventFields. # noqa: E501
|
|
189
|
+
:rtype: str
|
|
190
|
+
"""
|
|
191
|
+
return self._goal_state
|
|
192
|
+
|
|
193
|
+
@goal_state.setter
|
|
194
|
+
def goal_state(self, goal_state):
|
|
195
|
+
"""Sets the goal_state of this ServiceEventFields.
|
|
196
|
+
|
|
197
|
+
Goal service state # noqa: E501
|
|
198
|
+
|
|
199
|
+
:param goal_state: The goal_state of this ServiceEventFields. # noqa: E501
|
|
200
|
+
:type: str
|
|
201
|
+
"""
|
|
202
|
+
|
|
203
|
+
self._goal_state = goal_state
|
|
204
|
+
|
|
205
|
+
@property
|
|
206
|
+
def serve_deployment_name(self):
|
|
207
|
+
"""Gets the serve_deployment_name of this ServiceEventFields. # noqa: E501
|
|
208
|
+
|
|
209
|
+
Name of serve deployment associated with this event. Present only for Serve Deployment events. # noqa: E501
|
|
210
|
+
|
|
211
|
+
:return: The serve_deployment_name of this ServiceEventFields. # noqa: E501
|
|
212
|
+
:rtype: str
|
|
213
|
+
"""
|
|
214
|
+
return self._serve_deployment_name
|
|
215
|
+
|
|
216
|
+
@serve_deployment_name.setter
|
|
217
|
+
def serve_deployment_name(self, serve_deployment_name):
|
|
218
|
+
"""Sets the serve_deployment_name of this ServiceEventFields.
|
|
219
|
+
|
|
220
|
+
Name of serve deployment associated with this event. Present only for Serve Deployment events. # noqa: E501
|
|
221
|
+
|
|
222
|
+
:param serve_deployment_name: The serve_deployment_name of this ServiceEventFields. # noqa: E501
|
|
223
|
+
:type: str
|
|
224
|
+
"""
|
|
225
|
+
|
|
226
|
+
self._serve_deployment_name = serve_deployment_name
|
|
227
|
+
|
|
228
|
+
@property
|
|
229
|
+
def goal_state_initiator(self):
|
|
230
|
+
"""Gets the goal_state_initiator of this ServiceEventFields. # noqa: E501
|
|
231
|
+
|
|
232
|
+
The user who initiated the service goal state change. Present only for goal state changes. # noqa: E501
|
|
233
|
+
|
|
234
|
+
:return: The goal_state_initiator of this ServiceEventFields. # noqa: E501
|
|
235
|
+
:rtype: object
|
|
236
|
+
"""
|
|
237
|
+
return self._goal_state_initiator
|
|
238
|
+
|
|
239
|
+
@goal_state_initiator.setter
|
|
240
|
+
def goal_state_initiator(self, goal_state_initiator):
|
|
241
|
+
"""Sets the goal_state_initiator of this ServiceEventFields.
|
|
242
|
+
|
|
243
|
+
The user who initiated the service goal state change. Present only for goal state changes. # noqa: E501
|
|
244
|
+
|
|
245
|
+
:param goal_state_initiator: The goal_state_initiator of this ServiceEventFields. # noqa: E501
|
|
246
|
+
:type: object
|
|
247
|
+
"""
|
|
248
|
+
|
|
249
|
+
self._goal_state_initiator = goal_state_initiator
|
|
250
|
+
|
|
251
|
+
@property
|
|
252
|
+
def event_type(self):
|
|
253
|
+
"""Gets the event_type of this ServiceEventFields. # noqa: E501
|
|
254
|
+
|
|
255
|
+
Type of service event # noqa: E501
|
|
256
|
+
|
|
257
|
+
:return: The event_type of this ServiceEventFields. # noqa: E501
|
|
258
|
+
:rtype: str
|
|
259
|
+
"""
|
|
260
|
+
return self._event_type
|
|
261
|
+
|
|
262
|
+
@event_type.setter
|
|
263
|
+
def event_type(self, event_type):
|
|
264
|
+
"""Sets the event_type of this ServiceEventFields.
|
|
265
|
+
|
|
266
|
+
Type of service event # noqa: E501
|
|
267
|
+
|
|
268
|
+
:param event_type: The event_type of this ServiceEventFields. # noqa: E501
|
|
269
|
+
:type: str
|
|
270
|
+
"""
|
|
271
|
+
|
|
272
|
+
self._event_type = event_type
|
|
273
|
+
|
|
274
|
+
def to_dict(self):
|
|
275
|
+
"""Returns the model properties as a dict"""
|
|
276
|
+
result = {}
|
|
277
|
+
|
|
278
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
279
|
+
value = getattr(self, attr)
|
|
280
|
+
if isinstance(value, list):
|
|
281
|
+
result[attr] = list(map(
|
|
282
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
283
|
+
value
|
|
284
|
+
))
|
|
285
|
+
elif hasattr(value, "to_dict"):
|
|
286
|
+
result[attr] = value.to_dict()
|
|
287
|
+
elif isinstance(value, dict):
|
|
288
|
+
result[attr] = dict(map(
|
|
289
|
+
lambda item: (item[0], item[1].to_dict())
|
|
290
|
+
if hasattr(item[1], "to_dict") else item,
|
|
291
|
+
value.items()
|
|
292
|
+
))
|
|
293
|
+
else:
|
|
294
|
+
result[attr] = value
|
|
295
|
+
|
|
296
|
+
return result
|
|
297
|
+
|
|
298
|
+
def to_str(self):
|
|
299
|
+
"""Returns the string representation of the model"""
|
|
300
|
+
return pprint.pformat(self.to_dict())
|
|
301
|
+
|
|
302
|
+
def __repr__(self):
|
|
303
|
+
"""For `print` and `pprint`"""
|
|
304
|
+
return self.to_str()
|
|
305
|
+
|
|
306
|
+
def __eq__(self, other):
|
|
307
|
+
"""Returns true if both objects are equal"""
|
|
308
|
+
if not isinstance(other, ServiceEventFields):
|
|
309
|
+
return False
|
|
310
|
+
|
|
311
|
+
return self.to_dict() == other.to_dict()
|
|
312
|
+
|
|
313
|
+
def __ne__(self, other):
|
|
314
|
+
"""Returns true if both objects are not equal"""
|
|
315
|
+
if not isinstance(other, ServiceEventFields):
|
|
316
|
+
return True
|
|
317
|
+
|
|
318
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -34,26 +34,26 @@ class SSOConfig(object):
|
|
|
34
34
|
"""
|
|
35
35
|
openapi_types = {
|
|
36
36
|
'sso_connection': 'SSOConnection',
|
|
37
|
-
'
|
|
37
|
+
'domain_verifications': 'list[DomainVerification]'
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
attribute_map = {
|
|
41
41
|
'sso_connection': 'sso_connection',
|
|
42
|
-
'
|
|
42
|
+
'domain_verifications': 'domain_verifications'
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
def __init__(self, sso_connection=None,
|
|
45
|
+
def __init__(self, sso_connection=None, domain_verifications=None, local_vars_configuration=None): # noqa: E501
|
|
46
46
|
"""SSOConfig - a model defined in OpenAPI""" # noqa: E501
|
|
47
47
|
if local_vars_configuration is None:
|
|
48
48
|
local_vars_configuration = Configuration()
|
|
49
49
|
self.local_vars_configuration = local_vars_configuration
|
|
50
50
|
|
|
51
51
|
self._sso_connection = None
|
|
52
|
-
self.
|
|
52
|
+
self._domain_verifications = None
|
|
53
53
|
self.discriminator = None
|
|
54
54
|
|
|
55
55
|
self.sso_connection = sso_connection
|
|
56
|
-
self.
|
|
56
|
+
self.domain_verifications = domain_verifications
|
|
57
57
|
|
|
58
58
|
@property
|
|
59
59
|
def sso_connection(self):
|
|
@@ -79,27 +79,27 @@ class SSOConfig(object):
|
|
|
79
79
|
self._sso_connection = sso_connection
|
|
80
80
|
|
|
81
81
|
@property
|
|
82
|
-
def
|
|
83
|
-
"""Gets the
|
|
82
|
+
def domain_verifications(self):
|
|
83
|
+
"""Gets the domain_verifications of this SSOConfig. # noqa: E501
|
|
84
84
|
|
|
85
85
|
|
|
86
|
-
:return: The
|
|
87
|
-
:rtype: DomainVerification
|
|
86
|
+
:return: The domain_verifications of this SSOConfig. # noqa: E501
|
|
87
|
+
:rtype: list[DomainVerification]
|
|
88
88
|
"""
|
|
89
|
-
return self.
|
|
89
|
+
return self._domain_verifications
|
|
90
90
|
|
|
91
|
-
@
|
|
92
|
-
def
|
|
93
|
-
"""Sets the
|
|
91
|
+
@domain_verifications.setter
|
|
92
|
+
def domain_verifications(self, domain_verifications):
|
|
93
|
+
"""Sets the domain_verifications of this SSOConfig.
|
|
94
94
|
|
|
95
95
|
|
|
96
|
-
:param
|
|
97
|
-
:type: DomainVerification
|
|
96
|
+
:param domain_verifications: The domain_verifications of this SSOConfig. # noqa: E501
|
|
97
|
+
:type: list[DomainVerification]
|
|
98
98
|
"""
|
|
99
|
-
if self.local_vars_configuration.client_side_validation and
|
|
100
|
-
raise ValueError("Invalid value for `
|
|
99
|
+
if self.local_vars_configuration.client_side_validation and domain_verifications is None: # noqa: E501
|
|
100
|
+
raise ValueError("Invalid value for `domain_verifications`, must not be `None`") # noqa: E501
|
|
101
101
|
|
|
102
|
-
self.
|
|
102
|
+
self._domain_verifications = domain_verifications
|
|
103
103
|
|
|
104
104
|
def to_dict(self):
|
|
105
105
|
"""Returns the model properties as a dict"""
|