anyscale 0.26.56__py3-none-any.whl → 0.26.58__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.
Files changed (53) hide show
  1. anyscale/client/README.md +45 -0
  2. anyscale/client/openapi_client/__init__.py +32 -0
  3. anyscale/client/openapi_client/api/default_api.py +1882 -244
  4. anyscale/client/openapi_client/models/__init__.py +32 -0
  5. anyscale/client/openapi_client/models/apply_production_service_v2_model.py +31 -3
  6. anyscale/client/openapi_client/models/create_experimental_workspace.py +29 -1
  7. anyscale/client/openapi_client/models/create_workspace_template.py +404 -0
  8. anyscale/client/openapi_client/models/create_workspace_template_version.py +178 -0
  9. anyscale/client/openapi_client/models/delete_resource_tags_request.py +175 -0
  10. anyscale/client/openapi_client/models/deleted_count.py +121 -0
  11. anyscale/client/openapi_client/models/deletedcount_response.py +121 -0
  12. anyscale/client/openapi_client/models/global_workspace_template.py +465 -0
  13. anyscale/client/openapi_client/models/globalworkspacetemplate_list_response.py +147 -0
  14. anyscale/client/openapi_client/models/published_filter.py +101 -0
  15. anyscale/client/openapi_client/models/resource_tag_record.py +310 -0
  16. anyscale/client/openapi_client/models/resource_tag_resource_type.py +102 -0
  17. anyscale/client/openapi_client/models/resource_tags_list.py +121 -0
  18. anyscale/client/openapi_client/models/resourcetagslist_response.py +121 -0
  19. anyscale/client/openapi_client/models/tag_key.py +121 -0
  20. anyscale/client/openapi_client/models/tag_key_value.py +148 -0
  21. anyscale/client/openapi_client/models/tag_search_in.py +101 -0
  22. anyscale/client/openapi_client/models/tag_value.py +121 -0
  23. anyscale/client/openapi_client/models/tagkey_list_response.py +147 -0
  24. anyscale/client/openapi_client/models/tagkeyvalue_list_response.py +147 -0
  25. anyscale/client/openapi_client/models/tagvalue_list_response.py +147 -0
  26. anyscale/client/openapi_client/models/task_attempts.py +101 -0
  27. anyscale/client/openapi_client/models/task_table_config.py +29 -3
  28. anyscale/client/openapi_client/models/upsert_resource_tags_request.py +175 -0
  29. anyscale/client/openapi_client/models/workspace_system_artifacts.py +234 -0
  30. anyscale/client/openapi_client/models/workspace_template.py +343 -204
  31. anyscale/client/openapi_client/models/workspace_template_category.py +100 -0
  32. anyscale/client/openapi_client/models/workspace_template_complexity.py +101 -0
  33. anyscale/client/openapi_client/models/workspace_template_icon_background_color.py +105 -0
  34. anyscale/client/openapi_client/models/workspace_template_icon_type.py +108 -0
  35. anyscale/client/openapi_client/models/workspace_template_version.py +323 -0
  36. anyscale/client/openapi_client/models/workspace_template_version_data_object.py +323 -0
  37. anyscale/client/openapi_client/models/workspace_templates_sort_field.py +101 -0
  38. anyscale/client/openapi_client/models/workspacetemplate_response.py +121 -0
  39. anyscale/client/openapi_client/models/workspacetemplateversion_list_response.py +147 -0
  40. anyscale/client/openapi_client/models/workspacetemplateversion_response.py +121 -0
  41. anyscale/commands/command_examples.py +1 -1
  42. anyscale/connect_utils/start_interactive_session.py +0 -1
  43. anyscale/sdk/anyscale_client/models/apply_production_service_v2_model.py +31 -3
  44. anyscale/sdk/anyscale_client/models/apply_service_model.py +31 -3
  45. anyscale/shared_anyscale_utils/utils/id_gen.py +3 -0
  46. anyscale/version.py +1 -1
  47. {anyscale-0.26.56.dist-info → anyscale-0.26.58.dist-info}/METADATA +1 -1
  48. {anyscale-0.26.56.dist-info → anyscale-0.26.58.dist-info}/RECORD +53 -21
  49. {anyscale-0.26.56.dist-info → anyscale-0.26.58.dist-info}/WHEEL +0 -0
  50. {anyscale-0.26.56.dist-info → anyscale-0.26.58.dist-info}/entry_points.txt +0 -0
  51. {anyscale-0.26.56.dist-info → anyscale-0.26.58.dist-info}/licenses/LICENSE +0 -0
  52. {anyscale-0.26.56.dist-info → anyscale-0.26.58.dist-info}/licenses/NOTICE +0 -0
  53. {anyscale-0.26.56.dist-info → anyscale-0.26.58.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
- 'id': 'str',
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
- 'complexity': 'ComplexityLevel'
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
- 'id': 'id',
53
- 'title': 'title',
57
+ 'name': 'name',
54
58
  'description': 'description',
55
- 'emoji': 'emoji',
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
- 'mins_to_complete': 'mins_to_complete',
64
- 'complexity': 'complexity'
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, id=None, title=None, description=None, emoji=None, labels=None, url=None, maximum_uptime_minutes=None, logo_ids=None, oa_group_name=None, icon_type=None, icon_bg_color=None, mins_to_complete=None, complexity=None, local_vars_configuration=None): # noqa: E501
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._id = None
74
- self._title = None
83
+ self._name = None
75
84
  self._description = None
76
- self._emoji = None
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.id = id
89
- self.title = title
90
- self.description = description
91
- self.emoji = emoji
92
- self.labels = labels
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 id(self):
110
- """Gets the id of this WorkspaceTemplate. # noqa: E501
135
+ def name(self):
136
+ """Gets the name of this WorkspaceTemplate. # noqa: E501
111
137
 
112
- The id of the workspace template. # noqa: E501
138
+ Name of the template # noqa: E501
113
139
 
114
- :return: The id of this WorkspaceTemplate. # noqa: E501
140
+ :return: The name of this WorkspaceTemplate. # noqa: E501
115
141
  :rtype: str
116
142
  """
117
- return self._id
143
+ return self._name
118
144
 
119
- @id.setter
120
- def id(self, id):
121
- """Sets the id of this WorkspaceTemplate.
145
+ @name.setter
146
+ def name(self, name):
147
+ """Sets the name of this WorkspaceTemplate.
122
148
 
123
- The id of the workspace template. # noqa: E501
149
+ Name of the template # noqa: E501
124
150
 
125
- :param id: The id of this WorkspaceTemplate. # noqa: E501
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 id is None: # noqa: E501
129
- raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501
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._id = id
157
+ self._name = name
132
158
 
133
159
  @property
134
- def title(self):
135
- """Gets the title of this WorkspaceTemplate. # noqa: E501
160
+ def description(self):
161
+ """Gets the description of this WorkspaceTemplate. # noqa: E501
136
162
 
137
- The title of the workspace template # noqa: E501
163
+ Description of the template # noqa: E501
138
164
 
139
- :return: The title of this WorkspaceTemplate. # noqa: E501
165
+ :return: The description of this WorkspaceTemplate. # noqa: E501
140
166
  :rtype: str
141
167
  """
142
- return self._title
168
+ return self._description
143
169
 
144
- @title.setter
145
- def title(self, title):
146
- """Sets the title of this WorkspaceTemplate.
170
+ @description.setter
171
+ def description(self, description):
172
+ """Sets the description of this WorkspaceTemplate.
147
173
 
148
- The title of the workspace template # noqa: E501
174
+ Description of the template # noqa: E501
149
175
 
150
- :param title: The title of this WorkspaceTemplate. # noqa: E501
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._title = title
180
+ self._description = description
157
181
 
158
182
  @property
159
- def description(self):
160
- """Gets the description of this WorkspaceTemplate. # noqa: E501
183
+ def mins_to_complete(self):
184
+ """Gets the mins_to_complete of this WorkspaceTemplate. # noqa: E501
161
185
 
162
- The description of the workspace template # noqa: E501
186
+ Estimated minutes to complete this template # noqa: E501
163
187
 
164
- :return: The description of this WorkspaceTemplate. # noqa: E501
165
- :rtype: str
188
+ :return: The mins_to_complete of this WorkspaceTemplate. # noqa: E501
189
+ :rtype: int
166
190
  """
167
- return self._description
191
+ return self._mins_to_complete
168
192
 
169
- @description.setter
170
- def description(self, description):
171
- """Sets the description of this WorkspaceTemplate.
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
- The description of the workspace template # noqa: E501
197
+ Estimated minutes to complete this template # noqa: E501
174
198
 
175
- :param description: The description of this WorkspaceTemplate. # noqa: E501
176
- :type: str
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._description = description
203
+ self._mins_to_complete = mins_to_complete
182
204
 
183
205
  @property
184
- def emoji(self):
185
- """Gets the emoji of this WorkspaceTemplate. # noqa: E501
206
+ def icon_type(self):
207
+ """Gets the icon_type of this WorkspaceTemplate. # noqa: E501
186
208
 
187
- The emoji of the workspace template # noqa: E501
209
+ Icon type for the template # noqa: E501
188
210
 
189
- :return: The emoji of this WorkspaceTemplate. # noqa: E501
190
- :rtype: str
211
+ :return: The icon_type of this WorkspaceTemplate. # noqa: E501
212
+ :rtype: WorkspaceTemplateIconType
191
213
  """
192
- return self._emoji
214
+ return self._icon_type
193
215
 
194
- @emoji.setter
195
- def emoji(self, emoji):
196
- """Sets the emoji of this WorkspaceTemplate.
216
+ @icon_type.setter
217
+ def icon_type(self, icon_type):
218
+ """Sets the icon_type of this WorkspaceTemplate.
197
219
 
198
- The emoji of the workspace template # noqa: E501
220
+ Icon type for the template # noqa: E501
199
221
 
200
- :param emoji: The emoji of this WorkspaceTemplate. # noqa: E501
201
- :type: str
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
- if self.local_vars_configuration.client_side_validation and emoji is None: # noqa: E501
204
- raise ValueError("Invalid value for `emoji`, must not be `None`") # noqa: E501
260
+ return self._complexity
205
261
 
206
- self._emoji = emoji
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
- The labels of the workspace template # noqa: E501
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
- The labels of the workspace template # noqa: E501
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 url(self):
235
- """Gets the url of this WorkspaceTemplate. # noqa: E501
321
+ def published_version_id(self):
322
+ """Gets the published_version_id of this WorkspaceTemplate. # noqa: E501
236
323
 
237
- The url of the workspace template # noqa: E501
324
+ ID of the published version # noqa: E501
238
325
 
239
- :return: The url of this WorkspaceTemplate. # noqa: E501
326
+ :return: The published_version_id of this WorkspaceTemplate. # noqa: E501
240
327
  :rtype: str
241
328
  """
242
- return self._url
329
+ return self._published_version_id
243
330
 
244
- @url.setter
245
- def url(self, url):
246
- """Sets the url of this WorkspaceTemplate.
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
- The url of the workspace template # noqa: E501
335
+ ID of the published version # noqa: E501
249
336
 
250
- :param url: The url of this WorkspaceTemplate. # noqa: E501
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._url = url
341
+ self._published_version_id = published_version_id
257
342
 
258
343
  @property
259
- def maximum_uptime_minutes(self):
260
- """Gets the maximum_uptime_minutes of this WorkspaceTemplate. # noqa: E501
344
+ def cloud_id(self):
345
+ """Gets the cloud_id of this WorkspaceTemplate. # noqa: E501
261
346
 
262
- The maximum uptime of the workspace in minutes. The workspace will force terminate after this time. # noqa: E501
347
+ Cloud ID this template is associated with # noqa: E501
263
348
 
264
- :return: The maximum_uptime_minutes of this WorkspaceTemplate. # noqa: E501
265
- :rtype: int
349
+ :return: The cloud_id of this WorkspaceTemplate. # noqa: E501
350
+ :rtype: str
266
351
  """
267
- return self._maximum_uptime_minutes
352
+ return self._cloud_id
268
353
 
269
- @maximum_uptime_minutes.setter
270
- def maximum_uptime_minutes(self, maximum_uptime_minutes):
271
- """Sets the maximum_uptime_minutes of this WorkspaceTemplate.
354
+ @cloud_id.setter
355
+ def cloud_id(self, cloud_id):
356
+ """Sets the cloud_id of this WorkspaceTemplate.
272
357
 
273
- The maximum uptime of the workspace in minutes. The workspace will force terminate after this time. # noqa: E501
358
+ Cloud ID this template is associated with # noqa: E501
274
359
 
275
- :param maximum_uptime_minutes: The maximum_uptime_minutes of this WorkspaceTemplate. # noqa: E501
276
- :type: int
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._maximum_uptime_minutes = maximum_uptime_minutes
366
+ self._cloud_id = cloud_id
280
367
 
281
368
  @property
282
- def logo_ids(self):
283
- """Gets the logo_ids of this WorkspaceTemplate. # noqa: E501
369
+ def is_global(self):
370
+ """Gets the is_global of this WorkspaceTemplate. # noqa: E501
284
371
 
285
- The ids for the workspace template logos that we show on the FE # noqa: E501
372
+ Whether this is a global template # noqa: E501
286
373
 
287
- :return: The logo_ids of this WorkspaceTemplate. # noqa: E501
288
- :rtype: list[str]
374
+ :return: The is_global of this WorkspaceTemplate. # noqa: E501
375
+ :rtype: bool
289
376
  """
290
- return self._logo_ids
377
+ return self._is_global
291
378
 
292
- @logo_ids.setter
293
- def logo_ids(self, logo_ids):
294
- """Sets the logo_ids of this WorkspaceTemplate.
379
+ @is_global.setter
380
+ def is_global(self, is_global):
381
+ """Sets the is_global of this WorkspaceTemplate.
295
382
 
296
- The ids for the workspace template logos that we show on the FE # noqa: E501
383
+ Whether this is a global template # noqa: E501
297
384
 
298
- :param logo_ids: The logo_ids of this WorkspaceTemplate. # noqa: E501
299
- :type: list[str]
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._logo_ids = logo_ids
389
+ self._is_global = is_global
305
390
 
306
391
  @property
307
- def oa_group_name(self):
308
- """Gets the oa_group_name of this WorkspaceTemplate. # noqa: E501
392
+ def id(self):
393
+ """Gets the id of this WorkspaceTemplate. # noqa: E501
309
394
 
310
- The name of the OA group for the workspace template # noqa: E501
395
+ ID of the template # noqa: E501
311
396
 
312
- :return: The oa_group_name of this WorkspaceTemplate. # noqa: E501
397
+ :return: The id of this WorkspaceTemplate. # noqa: E501
313
398
  :rtype: str
314
399
  """
315
- return self._oa_group_name
400
+ return self._id
316
401
 
317
- @oa_group_name.setter
318
- def oa_group_name(self, oa_group_name):
319
- """Sets the oa_group_name of this WorkspaceTemplate.
402
+ @id.setter
403
+ def id(self, id):
404
+ """Sets the id of this WorkspaceTemplate.
320
405
 
321
- The name of the OA group for the workspace template # noqa: E501
406
+ ID of the template # noqa: E501
322
407
 
323
- :param oa_group_name: The oa_group_name of this WorkspaceTemplate. # noqa: E501
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._oa_group_name = oa_group_name
414
+ self._id = id
328
415
 
329
416
  @property
330
- def icon_type(self):
331
- """Gets the icon_type of this WorkspaceTemplate. # noqa: E501
417
+ def creator_id(self):
418
+ """Gets the creator_id of this WorkspaceTemplate. # noqa: E501
332
419
 
333
- The type of the icon for the workspace template # noqa: E501
420
+ ID of the user who created this template # noqa: E501
334
421
 
335
- :return: The icon_type of this WorkspaceTemplate. # noqa: E501
422
+ :return: The creator_id of this WorkspaceTemplate. # noqa: E501
336
423
  :rtype: str
337
424
  """
338
- return self._icon_type
425
+ return self._creator_id
339
426
 
340
- @icon_type.setter
341
- def icon_type(self, icon_type):
342
- """Sets the icon_type of this WorkspaceTemplate.
427
+ @creator_id.setter
428
+ def creator_id(self, creator_id):
429
+ """Sets the creator_id of this WorkspaceTemplate.
343
430
 
344
- The type of the icon for the workspace template # noqa: E501
431
+ ID of the user who created this template # noqa: E501
345
432
 
346
- :param icon_type: The icon_type of this WorkspaceTemplate. # noqa: E501
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._icon_type = icon_type
439
+ self._creator_id = creator_id
351
440
 
352
441
  @property
353
- def icon_bg_color(self):
354
- """Gets the icon_bg_color of this WorkspaceTemplate. # noqa: E501
442
+ def created_at(self):
443
+ """Gets the created_at of this WorkspaceTemplate. # noqa: E501
355
444
 
356
- The background color of the icon for the workspace template # noqa: E501
445
+ When this template was created # noqa: E501
357
446
 
358
- :return: The icon_bg_color of this WorkspaceTemplate. # noqa: E501
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._icon_bg_color
498
+ return self._organization_id
362
499
 
363
- @icon_bg_color.setter
364
- def icon_bg_color(self, icon_bg_color):
365
- """Sets the icon_bg_color of this WorkspaceTemplate.
500
+ @organization_id.setter
501
+ def organization_id(self, organization_id):
502
+ """Sets the organization_id of this WorkspaceTemplate.
366
503
 
367
- The background color of the icon for the workspace template # noqa: E501
504
+ ID of the organization this template is associated with # noqa: E501
368
505
 
369
- :param icon_bg_color: The icon_bg_color of this WorkspaceTemplate. # noqa: E501
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._icon_bg_color = icon_bg_color
512
+ self._organization_id = organization_id
374
513
 
375
514
  @property
376
- def mins_to_complete(self):
377
- """Gets the mins_to_complete of this WorkspaceTemplate. # noqa: E501
515
+ def creator_email(self):
516
+ """Gets the creator_email of this WorkspaceTemplate. # noqa: E501
378
517
 
379
- The number of minutes expected to complete the template # noqa: E501
518
+ Email of the creator # noqa: E501
380
519
 
381
- :return: The mins_to_complete of this WorkspaceTemplate. # noqa: E501
382
- :rtype: int
520
+ :return: The creator_email of this WorkspaceTemplate. # noqa: E501
521
+ :rtype: str
383
522
  """
384
- return self._mins_to_complete
523
+ return self._creator_email
385
524
 
386
- @mins_to_complete.setter
387
- def mins_to_complete(self, mins_to_complete):
388
- """Sets the mins_to_complete of this WorkspaceTemplate.
525
+ @creator_email.setter
526
+ def creator_email(self, creator_email):
527
+ """Sets the creator_email of this WorkspaceTemplate.
389
528
 
390
- The number of minutes expected to complete the template # noqa: E501
529
+ Email of the creator # noqa: E501
391
530
 
392
- :param mins_to_complete: The mins_to_complete of this WorkspaceTemplate. # noqa: E501
393
- :type: int
531
+ :param creator_email: The creator_email of this WorkspaceTemplate. # noqa: E501
532
+ :type: str
394
533
  """
395
534
 
396
- self._mins_to_complete = mins_to_complete
535
+ self._creator_email = creator_email
397
536
 
398
537
  @property
399
- def complexity(self):
400
- """Gets the complexity of this WorkspaceTemplate. # noqa: E501
538
+ def published_version(self):
539
+ """Gets the published_version of this WorkspaceTemplate. # noqa: E501
401
540
 
402
- The complexity of the workspace template # noqa: E501
541
+ Published version of the template # noqa: E501
403
542
 
404
- :return: The complexity of this WorkspaceTemplate. # noqa: E501
405
- :rtype: ComplexityLevel
543
+ :return: The published_version of this WorkspaceTemplate. # noqa: E501
544
+ :rtype: WorkspaceTemplateVersionDataObject
406
545
  """
407
- return self._complexity
546
+ return self._published_version
408
547
 
409
- @complexity.setter
410
- def complexity(self, complexity):
411
- """Sets the complexity of this WorkspaceTemplate.
548
+ @published_version.setter
549
+ def published_version(self, published_version):
550
+ """Sets the published_version of this WorkspaceTemplate.
412
551
 
413
- The complexity of the workspace template # noqa: E501
552
+ Published version of the template # noqa: E501
414
553
 
415
- :param complexity: The complexity of this WorkspaceTemplate. # noqa: E501
416
- :type: ComplexityLevel
554
+ :param published_version: The published_version of this WorkspaceTemplate. # noqa: E501
555
+ :type: WorkspaceTemplateVersionDataObject
417
556
  """
418
557
 
419
- self._complexity = complexity
558
+ self._published_version = published_version
420
559
 
421
560
  def to_dict(self):
422
561
  """Returns the model properties as a dict"""