anyscale 0.26.57__py3-none-any.whl → 0.26.59__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- anyscale/_private/anyscale_client/common.py +1 -1
- anyscale/client/README.md +60 -0
- anyscale/client/openapi_client/__init__.py +42 -0
- anyscale/client/openapi_client/api/default_api.py +2541 -303
- anyscale/client/openapi_client/models/__init__.py +42 -0
- anyscale/client/openapi_client/models/apply_production_service_v2_model.py +31 -3
- anyscale/client/openapi_client/models/baseimagesenum.py +76 -1
- anyscale/client/openapi_client/models/create_experimental_workspace.py +29 -1
- anyscale/client/openapi_client/models/create_internal_production_job.py +31 -3
- anyscale/client/openapi_client/models/create_job_queue_requests.py +31 -3
- anyscale/client/openapi_client/models/create_workspace_template.py +404 -0
- anyscale/client/openapi_client/models/create_workspace_template_version.py +178 -0
- anyscale/client/openapi_client/models/delete_resource_tags_request.py +175 -0
- anyscale/client/openapi_client/models/deleted_count.py +121 -0
- anyscale/client/openapi_client/models/deletedcount_response.py +121 -0
- anyscale/client/openapi_client/models/email_verification_request.py +175 -0
- anyscale/client/openapi_client/models/email_verification_response.py +120 -0
- anyscale/client/openapi_client/models/emailverificationresponse_response.py +121 -0
- anyscale/client/openapi_client/models/global_workspace_template.py +465 -0
- anyscale/client/openapi_client/models/globalworkspacetemplate_list_response.py +147 -0
- anyscale/client/openapi_client/models/job_queues_query.py +31 -3
- anyscale/client/openapi_client/models/operator_event.py +256 -0
- anyscale/client/openapi_client/models/operator_event_response.py +148 -0
- anyscale/client/openapi_client/models/operator_event_type.py +101 -0
- anyscale/client/openapi_client/models/published_filter.py +101 -0
- anyscale/client/openapi_client/models/resource_tag_record.py +310 -0
- anyscale/client/openapi_client/models/resource_tag_resource_type.py +102 -0
- anyscale/client/openapi_client/models/resource_tags_list.py +121 -0
- anyscale/client/openapi_client/models/resourcetagslist_response.py +121 -0
- anyscale/client/openapi_client/models/supportedbaseimagesenum.py +76 -1
- anyscale/client/openapi_client/models/tag_key.py +121 -0
- anyscale/client/openapi_client/models/tag_key_value.py +148 -0
- anyscale/client/openapi_client/models/tag_search_in.py +101 -0
- anyscale/client/openapi_client/models/tag_value.py +121 -0
- anyscale/client/openapi_client/models/tagkey_list_response.py +147 -0
- anyscale/client/openapi_client/models/tagkeyvalue_list_response.py +147 -0
- anyscale/client/openapi_client/models/tagvalue_list_response.py +147 -0
- anyscale/client/openapi_client/models/task_attempts.py +101 -0
- anyscale/client/openapi_client/models/task_table_config.py +29 -3
- anyscale/client/openapi_client/models/update_job_queue_request.py +31 -3
- anyscale/client/openapi_client/models/upsert_resource_tags_request.py +175 -0
- anyscale/client/openapi_client/models/use_work_os_response.py +121 -0
- anyscale/client/openapi_client/models/useworkosresponse_response.py +121 -0
- anyscale/client/openapi_client/models/work_os_authorize_url_response.py +120 -0
- anyscale/client/openapi_client/models/workosauthorizeurlresponse_response.py +121 -0
- anyscale/client/openapi_client/models/workspace_system_artifacts.py +234 -0
- anyscale/client/openapi_client/models/workspace_template.py +343 -204
- anyscale/client/openapi_client/models/workspace_template_category.py +100 -0
- anyscale/client/openapi_client/models/workspace_template_complexity.py +101 -0
- anyscale/client/openapi_client/models/workspace_template_icon_background_color.py +105 -0
- anyscale/client/openapi_client/models/workspace_template_icon_type.py +108 -0
- anyscale/client/openapi_client/models/workspace_template_version.py +323 -0
- anyscale/client/openapi_client/models/workspace_template_version_data_object.py +323 -0
- anyscale/client/openapi_client/models/workspace_templates_sort_field.py +101 -0
- anyscale/client/openapi_client/models/workspacetemplate_response.py +121 -0
- anyscale/client/openapi_client/models/workspacetemplateversion_list_response.py +147 -0
- anyscale/client/openapi_client/models/workspacetemplateversion_response.py +121 -0
- anyscale/commands/cloud_commands.py +15 -3
- anyscale/commands/command_examples.py +2 -2
- anyscale/controllers/cloud_controller.py +7 -3
- 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 +76 -1
- anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +76 -1
- anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
- anyscale/shared_anyscale_utils/utils/id_gen.py +3 -0
- anyscale/version.py +1 -1
- {anyscale-0.26.57.dist-info → anyscale-0.26.59.dist-info}/METADATA +1 -1
- {anyscale-0.26.57.dist-info → anyscale-0.26.59.dist-info}/RECORD +74 -32
- {anyscale-0.26.57.dist-info → anyscale-0.26.59.dist-info}/WHEEL +0 -0
- {anyscale-0.26.57.dist-info → anyscale-0.26.59.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.57.dist-info → anyscale-0.26.59.dist-info}/licenses/LICENSE +0 -0
- {anyscale-0.26.57.dist-info → anyscale-0.26.59.dist-info}/licenses/NOTICE +0 -0
- {anyscale-0.26.57.dist-info → anyscale-0.26.59.dist-info}/top_level.txt +0 -0
@@ -33,183 +33,272 @@ class WorkspaceTemplate(object):
|
|
33
33
|
and the value is json key in definition.
|
34
34
|
"""
|
35
35
|
openapi_types = {
|
36
|
-
'
|
37
|
-
'title': 'str',
|
36
|
+
'name': 'str',
|
38
37
|
'description': 'str',
|
39
|
-
'emoji': 'str',
|
40
|
-
'labels': 'list[str]',
|
41
|
-
'url': 'str',
|
42
|
-
'maximum_uptime_minutes': 'int',
|
43
|
-
'logo_ids': 'list[str]',
|
44
|
-
'oa_group_name': 'str',
|
45
|
-
'icon_type': 'str',
|
46
|
-
'icon_bg_color': 'str',
|
47
38
|
'mins_to_complete': 'int',
|
48
|
-
'
|
39
|
+
'icon_type': 'WorkspaceTemplateIconType',
|
40
|
+
'icon_bg_color': 'WorkspaceTemplateIconBackgroundColor',
|
41
|
+
'complexity': 'WorkspaceTemplateComplexity',
|
42
|
+
'category': 'WorkspaceTemplateCategory',
|
43
|
+
'labels': 'list[str]',
|
44
|
+
'published_version_id': 'str',
|
45
|
+
'cloud_id': 'str',
|
46
|
+
'is_global': 'bool',
|
47
|
+
'id': 'str',
|
48
|
+
'creator_id': 'str',
|
49
|
+
'created_at': 'datetime',
|
50
|
+
'updated_at': 'datetime',
|
51
|
+
'organization_id': 'str',
|
52
|
+
'creator_email': 'str',
|
53
|
+
'published_version': 'WorkspaceTemplateVersionDataObject'
|
49
54
|
}
|
50
55
|
|
51
56
|
attribute_map = {
|
52
|
-
'
|
53
|
-
'title': 'title',
|
57
|
+
'name': 'name',
|
54
58
|
'description': 'description',
|
55
|
-
'
|
56
|
-
'labels': 'labels',
|
57
|
-
'url': 'url',
|
58
|
-
'maximum_uptime_minutes': 'maximum_uptime_minutes',
|
59
|
-
'logo_ids': 'logo_ids',
|
60
|
-
'oa_group_name': 'oa_group_name',
|
59
|
+
'mins_to_complete': 'mins_to_complete',
|
61
60
|
'icon_type': 'icon_type',
|
62
61
|
'icon_bg_color': 'icon_bg_color',
|
63
|
-
'
|
64
|
-
'
|
62
|
+
'complexity': 'complexity',
|
63
|
+
'category': 'category',
|
64
|
+
'labels': 'labels',
|
65
|
+
'published_version_id': 'published_version_id',
|
66
|
+
'cloud_id': 'cloud_id',
|
67
|
+
'is_global': 'is_global',
|
68
|
+
'id': 'id',
|
69
|
+
'creator_id': 'creator_id',
|
70
|
+
'created_at': 'created_at',
|
71
|
+
'updated_at': 'updated_at',
|
72
|
+
'organization_id': 'organization_id',
|
73
|
+
'creator_email': 'creator_email',
|
74
|
+
'published_version': 'published_version'
|
65
75
|
}
|
66
76
|
|
67
|
-
def __init__(self,
|
77
|
+
def __init__(self, name=None, description=None, mins_to_complete=None, icon_type=None, icon_bg_color=None, complexity=None, category=None, labels=None, published_version_id=None, cloud_id=None, is_global=False, id=None, creator_id=None, created_at=None, updated_at=None, organization_id=None, creator_email=None, published_version=None, local_vars_configuration=None): # noqa: E501
|
68
78
|
"""WorkspaceTemplate - a model defined in OpenAPI""" # noqa: E501
|
69
79
|
if local_vars_configuration is None:
|
70
80
|
local_vars_configuration = Configuration()
|
71
81
|
self.local_vars_configuration = local_vars_configuration
|
72
82
|
|
73
|
-
self.
|
74
|
-
self._title = None
|
83
|
+
self._name = None
|
75
84
|
self._description = None
|
76
|
-
self.
|
77
|
-
self._labels = None
|
78
|
-
self._url = None
|
79
|
-
self._maximum_uptime_minutes = None
|
80
|
-
self._logo_ids = None
|
81
|
-
self._oa_group_name = None
|
85
|
+
self._mins_to_complete = None
|
82
86
|
self._icon_type = None
|
83
87
|
self._icon_bg_color = None
|
84
|
-
self._mins_to_complete = None
|
85
88
|
self._complexity = None
|
89
|
+
self._category = None
|
90
|
+
self._labels = None
|
91
|
+
self._published_version_id = None
|
92
|
+
self._cloud_id = None
|
93
|
+
self._is_global = None
|
94
|
+
self._id = None
|
95
|
+
self._creator_id = None
|
96
|
+
self._created_at = None
|
97
|
+
self._updated_at = None
|
98
|
+
self._organization_id = None
|
99
|
+
self._creator_email = None
|
100
|
+
self._published_version = None
|
86
101
|
self.discriminator = None
|
87
102
|
|
88
|
-
self.
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
self.url = url
|
94
|
-
if maximum_uptime_minutes is not None:
|
95
|
-
self.maximum_uptime_minutes = maximum_uptime_minutes
|
96
|
-
self.logo_ids = logo_ids
|
97
|
-
if oa_group_name is not None:
|
98
|
-
self.oa_group_name = oa_group_name
|
103
|
+
self.name = name
|
104
|
+
if description is not None:
|
105
|
+
self.description = description
|
106
|
+
if mins_to_complete is not None:
|
107
|
+
self.mins_to_complete = mins_to_complete
|
99
108
|
if icon_type is not None:
|
100
109
|
self.icon_type = icon_type
|
101
110
|
if icon_bg_color is not None:
|
102
111
|
self.icon_bg_color = icon_bg_color
|
103
|
-
if mins_to_complete is not None:
|
104
|
-
self.mins_to_complete = mins_to_complete
|
105
112
|
if complexity is not None:
|
106
113
|
self.complexity = complexity
|
114
|
+
if category is not None:
|
115
|
+
self.category = category
|
116
|
+
if labels is not None:
|
117
|
+
self.labels = labels
|
118
|
+
if published_version_id is not None:
|
119
|
+
self.published_version_id = published_version_id
|
120
|
+
self.cloud_id = cloud_id
|
121
|
+
if is_global is not None:
|
122
|
+
self.is_global = is_global
|
123
|
+
self.id = id
|
124
|
+
self.creator_id = creator_id
|
125
|
+
self.created_at = created_at
|
126
|
+
if updated_at is not None:
|
127
|
+
self.updated_at = updated_at
|
128
|
+
self.organization_id = organization_id
|
129
|
+
if creator_email is not None:
|
130
|
+
self.creator_email = creator_email
|
131
|
+
if published_version is not None:
|
132
|
+
self.published_version = published_version
|
107
133
|
|
108
134
|
@property
|
109
|
-
def
|
110
|
-
"""Gets the
|
135
|
+
def name(self):
|
136
|
+
"""Gets the name of this WorkspaceTemplate. # noqa: E501
|
111
137
|
|
112
|
-
|
138
|
+
Name of the template # noqa: E501
|
113
139
|
|
114
|
-
:return: The
|
140
|
+
:return: The name of this WorkspaceTemplate. # noqa: E501
|
115
141
|
:rtype: str
|
116
142
|
"""
|
117
|
-
return self.
|
143
|
+
return self._name
|
118
144
|
|
119
|
-
@
|
120
|
-
def
|
121
|
-
"""Sets the
|
145
|
+
@name.setter
|
146
|
+
def name(self, name):
|
147
|
+
"""Sets the name of this WorkspaceTemplate.
|
122
148
|
|
123
|
-
|
149
|
+
Name of the template # noqa: E501
|
124
150
|
|
125
|
-
:param
|
151
|
+
:param name: The name of this WorkspaceTemplate. # noqa: E501
|
126
152
|
:type: str
|
127
153
|
"""
|
128
|
-
if self.local_vars_configuration.client_side_validation and
|
129
|
-
raise ValueError("Invalid value for `
|
154
|
+
if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501
|
155
|
+
raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
|
130
156
|
|
131
|
-
self.
|
157
|
+
self._name = name
|
132
158
|
|
133
159
|
@property
|
134
|
-
def
|
135
|
-
"""Gets the
|
160
|
+
def description(self):
|
161
|
+
"""Gets the description of this WorkspaceTemplate. # noqa: E501
|
136
162
|
|
137
|
-
|
163
|
+
Description of the template # noqa: E501
|
138
164
|
|
139
|
-
:return: The
|
165
|
+
:return: The description of this WorkspaceTemplate. # noqa: E501
|
140
166
|
:rtype: str
|
141
167
|
"""
|
142
|
-
return self.
|
168
|
+
return self._description
|
143
169
|
|
144
|
-
@
|
145
|
-
def
|
146
|
-
"""Sets the
|
170
|
+
@description.setter
|
171
|
+
def description(self, description):
|
172
|
+
"""Sets the description of this WorkspaceTemplate.
|
147
173
|
|
148
|
-
|
174
|
+
Description of the template # noqa: E501
|
149
175
|
|
150
|
-
:param
|
176
|
+
:param description: The description of this WorkspaceTemplate. # noqa: E501
|
151
177
|
:type: str
|
152
178
|
"""
|
153
|
-
if self.local_vars_configuration.client_side_validation and title is None: # noqa: E501
|
154
|
-
raise ValueError("Invalid value for `title`, must not be `None`") # noqa: E501
|
155
179
|
|
156
|
-
self.
|
180
|
+
self._description = description
|
157
181
|
|
158
182
|
@property
|
159
|
-
def
|
160
|
-
"""Gets the
|
183
|
+
def mins_to_complete(self):
|
184
|
+
"""Gets the mins_to_complete of this WorkspaceTemplate. # noqa: E501
|
161
185
|
|
162
|
-
|
186
|
+
Estimated minutes to complete this template # noqa: E501
|
163
187
|
|
164
|
-
:return: The
|
165
|
-
:rtype:
|
188
|
+
:return: The mins_to_complete of this WorkspaceTemplate. # noqa: E501
|
189
|
+
:rtype: int
|
166
190
|
"""
|
167
|
-
return self.
|
191
|
+
return self._mins_to_complete
|
168
192
|
|
169
|
-
@
|
170
|
-
def
|
171
|
-
"""Sets the
|
193
|
+
@mins_to_complete.setter
|
194
|
+
def mins_to_complete(self, mins_to_complete):
|
195
|
+
"""Sets the mins_to_complete of this WorkspaceTemplate.
|
172
196
|
|
173
|
-
|
197
|
+
Estimated minutes to complete this template # noqa: E501
|
174
198
|
|
175
|
-
:param
|
176
|
-
:type:
|
199
|
+
:param mins_to_complete: The mins_to_complete of this WorkspaceTemplate. # noqa: E501
|
200
|
+
:type: int
|
177
201
|
"""
|
178
|
-
if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501
|
179
|
-
raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501
|
180
202
|
|
181
|
-
self.
|
203
|
+
self._mins_to_complete = mins_to_complete
|
182
204
|
|
183
205
|
@property
|
184
|
-
def
|
185
|
-
"""Gets the
|
206
|
+
def icon_type(self):
|
207
|
+
"""Gets the icon_type of this WorkspaceTemplate. # noqa: E501
|
186
208
|
|
187
|
-
|
209
|
+
Icon type for the template # noqa: E501
|
188
210
|
|
189
|
-
:return: The
|
190
|
-
:rtype:
|
211
|
+
:return: The icon_type of this WorkspaceTemplate. # noqa: E501
|
212
|
+
:rtype: WorkspaceTemplateIconType
|
191
213
|
"""
|
192
|
-
return self.
|
214
|
+
return self._icon_type
|
193
215
|
|
194
|
-
@
|
195
|
-
def
|
196
|
-
"""Sets the
|
216
|
+
@icon_type.setter
|
217
|
+
def icon_type(self, icon_type):
|
218
|
+
"""Sets the icon_type of this WorkspaceTemplate.
|
197
219
|
|
198
|
-
|
220
|
+
Icon type for the template # noqa: E501
|
199
221
|
|
200
|
-
:param
|
201
|
-
:type:
|
222
|
+
:param icon_type: The icon_type of this WorkspaceTemplate. # noqa: E501
|
223
|
+
:type: WorkspaceTemplateIconType
|
224
|
+
"""
|
225
|
+
|
226
|
+
self._icon_type = icon_type
|
227
|
+
|
228
|
+
@property
|
229
|
+
def icon_bg_color(self):
|
230
|
+
"""Gets the icon_bg_color of this WorkspaceTemplate. # noqa: E501
|
231
|
+
|
232
|
+
Background color for the icon # noqa: E501
|
233
|
+
|
234
|
+
:return: The icon_bg_color of this WorkspaceTemplate. # noqa: E501
|
235
|
+
:rtype: WorkspaceTemplateIconBackgroundColor
|
236
|
+
"""
|
237
|
+
return self._icon_bg_color
|
238
|
+
|
239
|
+
@icon_bg_color.setter
|
240
|
+
def icon_bg_color(self, icon_bg_color):
|
241
|
+
"""Sets the icon_bg_color of this WorkspaceTemplate.
|
242
|
+
|
243
|
+
Background color for the icon # noqa: E501
|
244
|
+
|
245
|
+
:param icon_bg_color: The icon_bg_color of this WorkspaceTemplate. # noqa: E501
|
246
|
+
:type: WorkspaceTemplateIconBackgroundColor
|
247
|
+
"""
|
248
|
+
|
249
|
+
self._icon_bg_color = icon_bg_color
|
250
|
+
|
251
|
+
@property
|
252
|
+
def complexity(self):
|
253
|
+
"""Gets the complexity of this WorkspaceTemplate. # noqa: E501
|
254
|
+
|
255
|
+
Complexity level of the template # noqa: E501
|
256
|
+
|
257
|
+
:return: The complexity of this WorkspaceTemplate. # noqa: E501
|
258
|
+
:rtype: WorkspaceTemplateComplexity
|
202
259
|
"""
|
203
|
-
|
204
|
-
raise ValueError("Invalid value for `emoji`, must not be `None`") # noqa: E501
|
260
|
+
return self._complexity
|
205
261
|
|
206
|
-
|
262
|
+
@complexity.setter
|
263
|
+
def complexity(self, complexity):
|
264
|
+
"""Sets the complexity of this WorkspaceTemplate.
|
265
|
+
|
266
|
+
Complexity level of the template # noqa: E501
|
267
|
+
|
268
|
+
:param complexity: The complexity of this WorkspaceTemplate. # noqa: E501
|
269
|
+
:type: WorkspaceTemplateComplexity
|
270
|
+
"""
|
271
|
+
|
272
|
+
self._complexity = complexity
|
273
|
+
|
274
|
+
@property
|
275
|
+
def category(self):
|
276
|
+
"""Gets the category of this WorkspaceTemplate. # noqa: E501
|
277
|
+
|
278
|
+
Category of the template # noqa: E501
|
279
|
+
|
280
|
+
:return: The category of this WorkspaceTemplate. # noqa: E501
|
281
|
+
:rtype: WorkspaceTemplateCategory
|
282
|
+
"""
|
283
|
+
return self._category
|
284
|
+
|
285
|
+
@category.setter
|
286
|
+
def category(self, category):
|
287
|
+
"""Sets the category of this WorkspaceTemplate.
|
288
|
+
|
289
|
+
Category of the template # noqa: E501
|
290
|
+
|
291
|
+
:param category: The category of this WorkspaceTemplate. # noqa: E501
|
292
|
+
:type: WorkspaceTemplateCategory
|
293
|
+
"""
|
294
|
+
|
295
|
+
self._category = category
|
207
296
|
|
208
297
|
@property
|
209
298
|
def labels(self):
|
210
299
|
"""Gets the labels of this WorkspaceTemplate. # noqa: E501
|
211
300
|
|
212
|
-
|
301
|
+
Searchable labels for the template # noqa: E501
|
213
302
|
|
214
303
|
:return: The labels of this WorkspaceTemplate. # noqa: E501
|
215
304
|
:rtype: list[str]
|
@@ -220,203 +309,253 @@ class WorkspaceTemplate(object):
|
|
220
309
|
def labels(self, labels):
|
221
310
|
"""Sets the labels of this WorkspaceTemplate.
|
222
311
|
|
223
|
-
|
312
|
+
Searchable labels for the template # noqa: E501
|
224
313
|
|
225
314
|
:param labels: The labels of this WorkspaceTemplate. # noqa: E501
|
226
315
|
:type: list[str]
|
227
316
|
"""
|
228
|
-
if self.local_vars_configuration.client_side_validation and labels is None: # noqa: E501
|
229
|
-
raise ValueError("Invalid value for `labels`, must not be `None`") # noqa: E501
|
230
317
|
|
231
318
|
self._labels = labels
|
232
319
|
|
233
320
|
@property
|
234
|
-
def
|
235
|
-
"""Gets the
|
321
|
+
def published_version_id(self):
|
322
|
+
"""Gets the published_version_id of this WorkspaceTemplate. # noqa: E501
|
236
323
|
|
237
|
-
|
324
|
+
ID of the published version # noqa: E501
|
238
325
|
|
239
|
-
:return: The
|
326
|
+
:return: The published_version_id of this WorkspaceTemplate. # noqa: E501
|
240
327
|
:rtype: str
|
241
328
|
"""
|
242
|
-
return self.
|
329
|
+
return self._published_version_id
|
243
330
|
|
244
|
-
@
|
245
|
-
def
|
246
|
-
"""Sets the
|
331
|
+
@published_version_id.setter
|
332
|
+
def published_version_id(self, published_version_id):
|
333
|
+
"""Sets the published_version_id of this WorkspaceTemplate.
|
247
334
|
|
248
|
-
|
335
|
+
ID of the published version # noqa: E501
|
249
336
|
|
250
|
-
:param
|
337
|
+
:param published_version_id: The published_version_id of this WorkspaceTemplate. # noqa: E501
|
251
338
|
:type: str
|
252
339
|
"""
|
253
|
-
if self.local_vars_configuration.client_side_validation and url is None: # noqa: E501
|
254
|
-
raise ValueError("Invalid value for `url`, must not be `None`") # noqa: E501
|
255
340
|
|
256
|
-
self.
|
341
|
+
self._published_version_id = published_version_id
|
257
342
|
|
258
343
|
@property
|
259
|
-
def
|
260
|
-
"""Gets the
|
344
|
+
def cloud_id(self):
|
345
|
+
"""Gets the cloud_id of this WorkspaceTemplate. # noqa: E501
|
261
346
|
|
262
|
-
|
347
|
+
Cloud ID this template is associated with # noqa: E501
|
263
348
|
|
264
|
-
:return: The
|
265
|
-
:rtype:
|
349
|
+
:return: The cloud_id of this WorkspaceTemplate. # noqa: E501
|
350
|
+
:rtype: str
|
266
351
|
"""
|
267
|
-
return self.
|
352
|
+
return self._cloud_id
|
268
353
|
|
269
|
-
@
|
270
|
-
def
|
271
|
-
"""Sets the
|
354
|
+
@cloud_id.setter
|
355
|
+
def cloud_id(self, cloud_id):
|
356
|
+
"""Sets the cloud_id of this WorkspaceTemplate.
|
272
357
|
|
273
|
-
|
358
|
+
Cloud ID this template is associated with # noqa: E501
|
274
359
|
|
275
|
-
:param
|
276
|
-
:type:
|
360
|
+
:param cloud_id: The cloud_id of this WorkspaceTemplate. # noqa: E501
|
361
|
+
:type: str
|
277
362
|
"""
|
363
|
+
if self.local_vars_configuration.client_side_validation and cloud_id is None: # noqa: E501
|
364
|
+
raise ValueError("Invalid value for `cloud_id`, must not be `None`") # noqa: E501
|
278
365
|
|
279
|
-
self.
|
366
|
+
self._cloud_id = cloud_id
|
280
367
|
|
281
368
|
@property
|
282
|
-
def
|
283
|
-
"""Gets the
|
369
|
+
def is_global(self):
|
370
|
+
"""Gets the is_global of this WorkspaceTemplate. # noqa: E501
|
284
371
|
|
285
|
-
|
372
|
+
Whether this is a global template # noqa: E501
|
286
373
|
|
287
|
-
:return: The
|
288
|
-
:rtype:
|
374
|
+
:return: The is_global of this WorkspaceTemplate. # noqa: E501
|
375
|
+
:rtype: bool
|
289
376
|
"""
|
290
|
-
return self.
|
377
|
+
return self._is_global
|
291
378
|
|
292
|
-
@
|
293
|
-
def
|
294
|
-
"""Sets the
|
379
|
+
@is_global.setter
|
380
|
+
def is_global(self, is_global):
|
381
|
+
"""Sets the is_global of this WorkspaceTemplate.
|
295
382
|
|
296
|
-
|
383
|
+
Whether this is a global template # noqa: E501
|
297
384
|
|
298
|
-
:param
|
299
|
-
:type:
|
385
|
+
:param is_global: The is_global of this WorkspaceTemplate. # noqa: E501
|
386
|
+
:type: bool
|
300
387
|
"""
|
301
|
-
if self.local_vars_configuration.client_side_validation and logo_ids is None: # noqa: E501
|
302
|
-
raise ValueError("Invalid value for `logo_ids`, must not be `None`") # noqa: E501
|
303
388
|
|
304
|
-
self.
|
389
|
+
self._is_global = is_global
|
305
390
|
|
306
391
|
@property
|
307
|
-
def
|
308
|
-
"""Gets the
|
392
|
+
def id(self):
|
393
|
+
"""Gets the id of this WorkspaceTemplate. # noqa: E501
|
309
394
|
|
310
|
-
|
395
|
+
ID of the template # noqa: E501
|
311
396
|
|
312
|
-
:return: The
|
397
|
+
:return: The id of this WorkspaceTemplate. # noqa: E501
|
313
398
|
:rtype: str
|
314
399
|
"""
|
315
|
-
return self.
|
400
|
+
return self._id
|
316
401
|
|
317
|
-
@
|
318
|
-
def
|
319
|
-
"""Sets the
|
402
|
+
@id.setter
|
403
|
+
def id(self, id):
|
404
|
+
"""Sets the id of this WorkspaceTemplate.
|
320
405
|
|
321
|
-
|
406
|
+
ID of the template # noqa: E501
|
322
407
|
|
323
|
-
:param
|
408
|
+
:param id: The id of this WorkspaceTemplate. # noqa: E501
|
324
409
|
:type: str
|
325
410
|
"""
|
411
|
+
if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501
|
412
|
+
raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501
|
326
413
|
|
327
|
-
self.
|
414
|
+
self._id = id
|
328
415
|
|
329
416
|
@property
|
330
|
-
def
|
331
|
-
"""Gets the
|
417
|
+
def creator_id(self):
|
418
|
+
"""Gets the creator_id of this WorkspaceTemplate. # noqa: E501
|
332
419
|
|
333
|
-
|
420
|
+
ID of the user who created this template # noqa: E501
|
334
421
|
|
335
|
-
:return: The
|
422
|
+
:return: The creator_id of this WorkspaceTemplate. # noqa: E501
|
336
423
|
:rtype: str
|
337
424
|
"""
|
338
|
-
return self.
|
425
|
+
return self._creator_id
|
339
426
|
|
340
|
-
@
|
341
|
-
def
|
342
|
-
"""Sets the
|
427
|
+
@creator_id.setter
|
428
|
+
def creator_id(self, creator_id):
|
429
|
+
"""Sets the creator_id of this WorkspaceTemplate.
|
343
430
|
|
344
|
-
|
431
|
+
ID of the user who created this template # noqa: E501
|
345
432
|
|
346
|
-
:param
|
433
|
+
:param creator_id: The creator_id of this WorkspaceTemplate. # noqa: E501
|
347
434
|
:type: str
|
348
435
|
"""
|
436
|
+
if self.local_vars_configuration.client_side_validation and creator_id is None: # noqa: E501
|
437
|
+
raise ValueError("Invalid value for `creator_id`, must not be `None`") # noqa: E501
|
349
438
|
|
350
|
-
self.
|
439
|
+
self._creator_id = creator_id
|
351
440
|
|
352
441
|
@property
|
353
|
-
def
|
354
|
-
"""Gets the
|
442
|
+
def created_at(self):
|
443
|
+
"""Gets the created_at of this WorkspaceTemplate. # noqa: E501
|
355
444
|
|
356
|
-
|
445
|
+
When this template was created # noqa: E501
|
357
446
|
|
358
|
-
:return: The
|
447
|
+
:return: The created_at of this WorkspaceTemplate. # noqa: E501
|
448
|
+
:rtype: datetime
|
449
|
+
"""
|
450
|
+
return self._created_at
|
451
|
+
|
452
|
+
@created_at.setter
|
453
|
+
def created_at(self, created_at):
|
454
|
+
"""Sets the created_at of this WorkspaceTemplate.
|
455
|
+
|
456
|
+
When this template was created # noqa: E501
|
457
|
+
|
458
|
+
:param created_at: The created_at of this WorkspaceTemplate. # noqa: E501
|
459
|
+
:type: datetime
|
460
|
+
"""
|
461
|
+
if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501
|
462
|
+
raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501
|
463
|
+
|
464
|
+
self._created_at = created_at
|
465
|
+
|
466
|
+
@property
|
467
|
+
def updated_at(self):
|
468
|
+
"""Gets the updated_at of this WorkspaceTemplate. # noqa: E501
|
469
|
+
|
470
|
+
When this template was last updated # noqa: E501
|
471
|
+
|
472
|
+
:return: The updated_at of this WorkspaceTemplate. # noqa: E501
|
473
|
+
:rtype: datetime
|
474
|
+
"""
|
475
|
+
return self._updated_at
|
476
|
+
|
477
|
+
@updated_at.setter
|
478
|
+
def updated_at(self, updated_at):
|
479
|
+
"""Sets the updated_at of this WorkspaceTemplate.
|
480
|
+
|
481
|
+
When this template was last updated # noqa: E501
|
482
|
+
|
483
|
+
:param updated_at: The updated_at of this WorkspaceTemplate. # noqa: E501
|
484
|
+
:type: datetime
|
485
|
+
"""
|
486
|
+
|
487
|
+
self._updated_at = updated_at
|
488
|
+
|
489
|
+
@property
|
490
|
+
def organization_id(self):
|
491
|
+
"""Gets the organization_id of this WorkspaceTemplate. # noqa: E501
|
492
|
+
|
493
|
+
ID of the organization this template is associated with # noqa: E501
|
494
|
+
|
495
|
+
:return: The organization_id of this WorkspaceTemplate. # noqa: E501
|
359
496
|
:rtype: str
|
360
497
|
"""
|
361
|
-
return self.
|
498
|
+
return self._organization_id
|
362
499
|
|
363
|
-
@
|
364
|
-
def
|
365
|
-
"""Sets the
|
500
|
+
@organization_id.setter
|
501
|
+
def organization_id(self, organization_id):
|
502
|
+
"""Sets the organization_id of this WorkspaceTemplate.
|
366
503
|
|
367
|
-
|
504
|
+
ID of the organization this template is associated with # noqa: E501
|
368
505
|
|
369
|
-
:param
|
506
|
+
:param organization_id: The organization_id of this WorkspaceTemplate. # noqa: E501
|
370
507
|
:type: str
|
371
508
|
"""
|
509
|
+
if self.local_vars_configuration.client_side_validation and organization_id is None: # noqa: E501
|
510
|
+
raise ValueError("Invalid value for `organization_id`, must not be `None`") # noqa: E501
|
372
511
|
|
373
|
-
self.
|
512
|
+
self._organization_id = organization_id
|
374
513
|
|
375
514
|
@property
|
376
|
-
def
|
377
|
-
"""Gets the
|
515
|
+
def creator_email(self):
|
516
|
+
"""Gets the creator_email of this WorkspaceTemplate. # noqa: E501
|
378
517
|
|
379
|
-
|
518
|
+
Email of the creator # noqa: E501
|
380
519
|
|
381
|
-
:return: The
|
382
|
-
:rtype:
|
520
|
+
:return: The creator_email of this WorkspaceTemplate. # noqa: E501
|
521
|
+
:rtype: str
|
383
522
|
"""
|
384
|
-
return self.
|
523
|
+
return self._creator_email
|
385
524
|
|
386
|
-
@
|
387
|
-
def
|
388
|
-
"""Sets the
|
525
|
+
@creator_email.setter
|
526
|
+
def creator_email(self, creator_email):
|
527
|
+
"""Sets the creator_email of this WorkspaceTemplate.
|
389
528
|
|
390
|
-
|
529
|
+
Email of the creator # noqa: E501
|
391
530
|
|
392
|
-
:param
|
393
|
-
:type:
|
531
|
+
:param creator_email: The creator_email of this WorkspaceTemplate. # noqa: E501
|
532
|
+
:type: str
|
394
533
|
"""
|
395
534
|
|
396
|
-
self.
|
535
|
+
self._creator_email = creator_email
|
397
536
|
|
398
537
|
@property
|
399
|
-
def
|
400
|
-
"""Gets the
|
538
|
+
def published_version(self):
|
539
|
+
"""Gets the published_version of this WorkspaceTemplate. # noqa: E501
|
401
540
|
|
402
|
-
|
541
|
+
Published version of the template # noqa: E501
|
403
542
|
|
404
|
-
:return: The
|
405
|
-
:rtype:
|
543
|
+
:return: The published_version of this WorkspaceTemplate. # noqa: E501
|
544
|
+
:rtype: WorkspaceTemplateVersionDataObject
|
406
545
|
"""
|
407
|
-
return self.
|
546
|
+
return self._published_version
|
408
547
|
|
409
|
-
@
|
410
|
-
def
|
411
|
-
"""Sets the
|
548
|
+
@published_version.setter
|
549
|
+
def published_version(self, published_version):
|
550
|
+
"""Sets the published_version of this WorkspaceTemplate.
|
412
551
|
|
413
|
-
|
552
|
+
Published version of the template # noqa: E501
|
414
553
|
|
415
|
-
:param
|
416
|
-
:type:
|
554
|
+
:param published_version: The published_version of this WorkspaceTemplate. # noqa: E501
|
555
|
+
:type: WorkspaceTemplateVersionDataObject
|
417
556
|
"""
|
418
557
|
|
419
|
-
self.
|
558
|
+
self._published_version = published_version
|
420
559
|
|
421
560
|
def to_dict(self):
|
422
561
|
"""Returns the model properties as a dict"""
|