lightning-sdk 0.2.18__py3-none-any.whl → 0.2.19__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.
- lightning_sdk/__init__.py +1 -1
- lightning_sdk/api/deployment_api.py +2 -0
- lightning_sdk/deployment/deployment.py +2 -0
- lightning_sdk/lightning_cloud/openapi/__init__.py +8 -0
- lightning_sdk/lightning_cloud/openapi/api/__init__.py +1 -0
- lightning_sdk/lightning_cloud/openapi/api/blog_posts_service_api.py +533 -0
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +113 -0
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +7 -0
- lightning_sdk/lightning_cloud/openapi/models/blogposts_id_body.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/id_transfer_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +157 -157
- lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_blog_post.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template_config.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_state.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_blog_post_request.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_daily_usage.py +81 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_blog_post_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_organization_storage_metadata_response.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_project_storage_metadata_response.py +133 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_breakdown_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_list_blog_posts_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_message.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +157 -157
- lightning_sdk/lightning_cloud/openapi/models/v1_product_license.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_membership.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_storage.py +79 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_rule_resource.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset_type.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_transfer_cloud_space_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_usage.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +197 -67
- lightning_sdk/serve.py +1 -0
- lightning_sdk/services/license.py +87 -22
- {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.19.dist-info}/METADATA +1 -1
- {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.19.dist-info}/RECORD +46 -38
- {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.19.dist-info}/LICENSE +0 -0
- {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.19.dist-info}/WHEEL +0 -0
- {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.19.dist-info}/entry_points.txt +0 -0
- {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.19.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
external/v1/auth_service.proto
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: version not set
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
|
|
12
|
+
NOTE
|
|
13
|
+
----
|
|
14
|
+
standard swagger-codegen-cli for this python client has been modified
|
|
15
|
+
by custom templates. The purpose of these templates is to include
|
|
16
|
+
typing information in the API and Model code. Please refer to the
|
|
17
|
+
main grid repository for more info
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
import pprint
|
|
21
|
+
import re # noqa: F401
|
|
22
|
+
|
|
23
|
+
from typing import TYPE_CHECKING
|
|
24
|
+
|
|
25
|
+
import six
|
|
26
|
+
|
|
27
|
+
if TYPE_CHECKING:
|
|
28
|
+
from datetime import datetime
|
|
29
|
+
from lightning_sdk.lightning_cloud.openapi.models import *
|
|
30
|
+
|
|
31
|
+
class V1BlogPost(object):
|
|
32
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
33
|
+
|
|
34
|
+
Do not edit the class manually.
|
|
35
|
+
"""
|
|
36
|
+
"""
|
|
37
|
+
Attributes:
|
|
38
|
+
swagger_types (dict): The key is attribute name
|
|
39
|
+
and the value is attribute type.
|
|
40
|
+
attribute_map (dict): The key is attribute name
|
|
41
|
+
and the value is json key in definition.
|
|
42
|
+
"""
|
|
43
|
+
swagger_types = {
|
|
44
|
+
'author_id': 'str',
|
|
45
|
+
'category': 'str',
|
|
46
|
+
'created_at': 'datetime',
|
|
47
|
+
'description': 'str',
|
|
48
|
+
'id': 'str',
|
|
49
|
+
'image_url': 'str',
|
|
50
|
+
'lit_page_id': 'str',
|
|
51
|
+
'title': 'str',
|
|
52
|
+
'updated_at': 'datetime'
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
attribute_map = {
|
|
56
|
+
'author_id': 'authorId',
|
|
57
|
+
'category': 'category',
|
|
58
|
+
'created_at': 'createdAt',
|
|
59
|
+
'description': 'description',
|
|
60
|
+
'id': 'id',
|
|
61
|
+
'image_url': 'imageUrl',
|
|
62
|
+
'lit_page_id': 'litPageId',
|
|
63
|
+
'title': 'title',
|
|
64
|
+
'updated_at': 'updatedAt'
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
def __init__(self, author_id: 'str' =None, category: 'str' =None, created_at: 'datetime' =None, description: 'str' =None, id: 'str' =None, image_url: 'str' =None, lit_page_id: 'str' =None, title: 'str' =None, updated_at: 'datetime' =None): # noqa: E501
|
|
68
|
+
"""V1BlogPost - a model defined in Swagger""" # noqa: E501
|
|
69
|
+
self._author_id = None
|
|
70
|
+
self._category = None
|
|
71
|
+
self._created_at = None
|
|
72
|
+
self._description = None
|
|
73
|
+
self._id = None
|
|
74
|
+
self._image_url = None
|
|
75
|
+
self._lit_page_id = None
|
|
76
|
+
self._title = None
|
|
77
|
+
self._updated_at = None
|
|
78
|
+
self.discriminator = None
|
|
79
|
+
if author_id is not None:
|
|
80
|
+
self.author_id = author_id
|
|
81
|
+
if category is not None:
|
|
82
|
+
self.category = category
|
|
83
|
+
if created_at is not None:
|
|
84
|
+
self.created_at = created_at
|
|
85
|
+
if description is not None:
|
|
86
|
+
self.description = description
|
|
87
|
+
if id is not None:
|
|
88
|
+
self.id = id
|
|
89
|
+
if image_url is not None:
|
|
90
|
+
self.image_url = image_url
|
|
91
|
+
if lit_page_id is not None:
|
|
92
|
+
self.lit_page_id = lit_page_id
|
|
93
|
+
if title is not None:
|
|
94
|
+
self.title = title
|
|
95
|
+
if updated_at is not None:
|
|
96
|
+
self.updated_at = updated_at
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
def author_id(self) -> 'str':
|
|
100
|
+
"""Gets the author_id of this V1BlogPost. # noqa: E501
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
:return: The author_id of this V1BlogPost. # noqa: E501
|
|
104
|
+
:rtype: str
|
|
105
|
+
"""
|
|
106
|
+
return self._author_id
|
|
107
|
+
|
|
108
|
+
@author_id.setter
|
|
109
|
+
def author_id(self, author_id: 'str'):
|
|
110
|
+
"""Sets the author_id of this V1BlogPost.
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
:param author_id: The author_id of this V1BlogPost. # noqa: E501
|
|
114
|
+
:type: str
|
|
115
|
+
"""
|
|
116
|
+
|
|
117
|
+
self._author_id = author_id
|
|
118
|
+
|
|
119
|
+
@property
|
|
120
|
+
def category(self) -> 'str':
|
|
121
|
+
"""Gets the category of this V1BlogPost. # noqa: E501
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
:return: The category of this V1BlogPost. # noqa: E501
|
|
125
|
+
:rtype: str
|
|
126
|
+
"""
|
|
127
|
+
return self._category
|
|
128
|
+
|
|
129
|
+
@category.setter
|
|
130
|
+
def category(self, category: 'str'):
|
|
131
|
+
"""Sets the category of this V1BlogPost.
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
:param category: The category of this V1BlogPost. # noqa: E501
|
|
135
|
+
:type: str
|
|
136
|
+
"""
|
|
137
|
+
|
|
138
|
+
self._category = category
|
|
139
|
+
|
|
140
|
+
@property
|
|
141
|
+
def created_at(self) -> 'datetime':
|
|
142
|
+
"""Gets the created_at of this V1BlogPost. # noqa: E501
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
:return: The created_at of this V1BlogPost. # noqa: E501
|
|
146
|
+
:rtype: datetime
|
|
147
|
+
"""
|
|
148
|
+
return self._created_at
|
|
149
|
+
|
|
150
|
+
@created_at.setter
|
|
151
|
+
def created_at(self, created_at: 'datetime'):
|
|
152
|
+
"""Sets the created_at of this V1BlogPost.
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
:param created_at: The created_at of this V1BlogPost. # noqa: E501
|
|
156
|
+
:type: datetime
|
|
157
|
+
"""
|
|
158
|
+
|
|
159
|
+
self._created_at = created_at
|
|
160
|
+
|
|
161
|
+
@property
|
|
162
|
+
def description(self) -> 'str':
|
|
163
|
+
"""Gets the description of this V1BlogPost. # noqa: E501
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
:return: The description of this V1BlogPost. # noqa: E501
|
|
167
|
+
:rtype: str
|
|
168
|
+
"""
|
|
169
|
+
return self._description
|
|
170
|
+
|
|
171
|
+
@description.setter
|
|
172
|
+
def description(self, description: 'str'):
|
|
173
|
+
"""Sets the description of this V1BlogPost.
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
:param description: The description of this V1BlogPost. # noqa: E501
|
|
177
|
+
:type: str
|
|
178
|
+
"""
|
|
179
|
+
|
|
180
|
+
self._description = description
|
|
181
|
+
|
|
182
|
+
@property
|
|
183
|
+
def id(self) -> 'str':
|
|
184
|
+
"""Gets the id of this V1BlogPost. # noqa: E501
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
:return: The id of this V1BlogPost. # noqa: E501
|
|
188
|
+
:rtype: str
|
|
189
|
+
"""
|
|
190
|
+
return self._id
|
|
191
|
+
|
|
192
|
+
@id.setter
|
|
193
|
+
def id(self, id: 'str'):
|
|
194
|
+
"""Sets the id of this V1BlogPost.
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
:param id: The id of this V1BlogPost. # noqa: E501
|
|
198
|
+
:type: str
|
|
199
|
+
"""
|
|
200
|
+
|
|
201
|
+
self._id = id
|
|
202
|
+
|
|
203
|
+
@property
|
|
204
|
+
def image_url(self) -> 'str':
|
|
205
|
+
"""Gets the image_url of this V1BlogPost. # noqa: E501
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
:return: The image_url of this V1BlogPost. # noqa: E501
|
|
209
|
+
:rtype: str
|
|
210
|
+
"""
|
|
211
|
+
return self._image_url
|
|
212
|
+
|
|
213
|
+
@image_url.setter
|
|
214
|
+
def image_url(self, image_url: 'str'):
|
|
215
|
+
"""Sets the image_url of this V1BlogPost.
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
:param image_url: The image_url of this V1BlogPost. # noqa: E501
|
|
219
|
+
:type: str
|
|
220
|
+
"""
|
|
221
|
+
|
|
222
|
+
self._image_url = image_url
|
|
223
|
+
|
|
224
|
+
@property
|
|
225
|
+
def lit_page_id(self) -> 'str':
|
|
226
|
+
"""Gets the lit_page_id of this V1BlogPost. # noqa: E501
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
:return: The lit_page_id of this V1BlogPost. # noqa: E501
|
|
230
|
+
:rtype: str
|
|
231
|
+
"""
|
|
232
|
+
return self._lit_page_id
|
|
233
|
+
|
|
234
|
+
@lit_page_id.setter
|
|
235
|
+
def lit_page_id(self, lit_page_id: 'str'):
|
|
236
|
+
"""Sets the lit_page_id of this V1BlogPost.
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
:param lit_page_id: The lit_page_id of this V1BlogPost. # noqa: E501
|
|
240
|
+
:type: str
|
|
241
|
+
"""
|
|
242
|
+
|
|
243
|
+
self._lit_page_id = lit_page_id
|
|
244
|
+
|
|
245
|
+
@property
|
|
246
|
+
def title(self) -> 'str':
|
|
247
|
+
"""Gets the title of this V1BlogPost. # noqa: E501
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
:return: The title of this V1BlogPost. # noqa: E501
|
|
251
|
+
:rtype: str
|
|
252
|
+
"""
|
|
253
|
+
return self._title
|
|
254
|
+
|
|
255
|
+
@title.setter
|
|
256
|
+
def title(self, title: 'str'):
|
|
257
|
+
"""Sets the title of this V1BlogPost.
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
:param title: The title of this V1BlogPost. # noqa: E501
|
|
261
|
+
:type: str
|
|
262
|
+
"""
|
|
263
|
+
|
|
264
|
+
self._title = title
|
|
265
|
+
|
|
266
|
+
@property
|
|
267
|
+
def updated_at(self) -> 'datetime':
|
|
268
|
+
"""Gets the updated_at of this V1BlogPost. # noqa: E501
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
:return: The updated_at of this V1BlogPost. # noqa: E501
|
|
272
|
+
:rtype: datetime
|
|
273
|
+
"""
|
|
274
|
+
return self._updated_at
|
|
275
|
+
|
|
276
|
+
@updated_at.setter
|
|
277
|
+
def updated_at(self, updated_at: 'datetime'):
|
|
278
|
+
"""Sets the updated_at of this V1BlogPost.
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
:param updated_at: The updated_at of this V1BlogPost. # noqa: E501
|
|
282
|
+
:type: datetime
|
|
283
|
+
"""
|
|
284
|
+
|
|
285
|
+
self._updated_at = updated_at
|
|
286
|
+
|
|
287
|
+
def to_dict(self) -> dict:
|
|
288
|
+
"""Returns the model properties as a dict"""
|
|
289
|
+
result = {}
|
|
290
|
+
|
|
291
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
292
|
+
value = getattr(self, attr)
|
|
293
|
+
if isinstance(value, list):
|
|
294
|
+
result[attr] = list(map(
|
|
295
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
296
|
+
value
|
|
297
|
+
))
|
|
298
|
+
elif hasattr(value, "to_dict"):
|
|
299
|
+
result[attr] = value.to_dict()
|
|
300
|
+
elif isinstance(value, dict):
|
|
301
|
+
result[attr] = dict(map(
|
|
302
|
+
lambda item: (item[0], item[1].to_dict())
|
|
303
|
+
if hasattr(item[1], "to_dict") else item,
|
|
304
|
+
value.items()
|
|
305
|
+
))
|
|
306
|
+
else:
|
|
307
|
+
result[attr] = value
|
|
308
|
+
if issubclass(V1BlogPost, dict):
|
|
309
|
+
for key, value in self.items():
|
|
310
|
+
result[key] = value
|
|
311
|
+
|
|
312
|
+
return result
|
|
313
|
+
|
|
314
|
+
def to_str(self) -> str:
|
|
315
|
+
"""Returns the string representation of the model"""
|
|
316
|
+
return pprint.pformat(self.to_dict())
|
|
317
|
+
|
|
318
|
+
def __repr__(self) -> str:
|
|
319
|
+
"""For `print` and `pprint`"""
|
|
320
|
+
return self.to_str()
|
|
321
|
+
|
|
322
|
+
def __eq__(self, other: 'V1BlogPost') -> bool:
|
|
323
|
+
"""Returns true if both objects are equal"""
|
|
324
|
+
if not isinstance(other, V1BlogPost):
|
|
325
|
+
return False
|
|
326
|
+
|
|
327
|
+
return self.__dict__ == other.__dict__
|
|
328
|
+
|
|
329
|
+
def __ne__(self, other: 'V1BlogPost') -> bool:
|
|
330
|
+
"""Returns true if both objects are not equal"""
|
|
331
|
+
return not self == other
|
|
@@ -46,6 +46,7 @@ class V1CloudSpaceEnvironmentTemplate(object):
|
|
|
46
46
|
'disabled': 'bool',
|
|
47
47
|
'id': 'str',
|
|
48
48
|
'managed': 'bool',
|
|
49
|
+
'managed_id': 'str',
|
|
49
50
|
'name': 'str',
|
|
50
51
|
'org_id': 'str',
|
|
51
52
|
'updated_at': 'datetime',
|
|
@@ -58,19 +59,21 @@ class V1CloudSpaceEnvironmentTemplate(object):
|
|
|
58
59
|
'disabled': 'disabled',
|
|
59
60
|
'id': 'id',
|
|
60
61
|
'managed': 'managed',
|
|
62
|
+
'managed_id': 'managedId',
|
|
61
63
|
'name': 'name',
|
|
62
64
|
'org_id': 'orgId',
|
|
63
65
|
'updated_at': 'updatedAt',
|
|
64
66
|
'user_id': 'userId'
|
|
65
67
|
}
|
|
66
68
|
|
|
67
|
-
def __init__(self, config: 'V1CloudSpaceEnvironmentTemplateConfig' =None, created_at: 'datetime' =None, disabled: 'bool' =None, id: 'str' =None, managed: 'bool' =None, name: 'str' =None, org_id: 'str' =None, updated_at: 'datetime' =None, user_id: 'str' =None): # noqa: E501
|
|
69
|
+
def __init__(self, config: 'V1CloudSpaceEnvironmentTemplateConfig' =None, created_at: 'datetime' =None, disabled: 'bool' =None, id: 'str' =None, managed: 'bool' =None, managed_id: 'str' =None, name: 'str' =None, org_id: 'str' =None, updated_at: 'datetime' =None, user_id: 'str' =None): # noqa: E501
|
|
68
70
|
"""V1CloudSpaceEnvironmentTemplate - a model defined in Swagger""" # noqa: E501
|
|
69
71
|
self._config = None
|
|
70
72
|
self._created_at = None
|
|
71
73
|
self._disabled = None
|
|
72
74
|
self._id = None
|
|
73
75
|
self._managed = None
|
|
76
|
+
self._managed_id = None
|
|
74
77
|
self._name = None
|
|
75
78
|
self._org_id = None
|
|
76
79
|
self._updated_at = None
|
|
@@ -86,6 +89,8 @@ class V1CloudSpaceEnvironmentTemplate(object):
|
|
|
86
89
|
self.id = id
|
|
87
90
|
if managed is not None:
|
|
88
91
|
self.managed = managed
|
|
92
|
+
if managed_id is not None:
|
|
93
|
+
self.managed_id = managed_id
|
|
89
94
|
if name is not None:
|
|
90
95
|
self.name = name
|
|
91
96
|
if org_id is not None:
|
|
@@ -200,6 +205,27 @@ class V1CloudSpaceEnvironmentTemplate(object):
|
|
|
200
205
|
|
|
201
206
|
self._managed = managed
|
|
202
207
|
|
|
208
|
+
@property
|
|
209
|
+
def managed_id(self) -> 'str':
|
|
210
|
+
"""Gets the managed_id of this V1CloudSpaceEnvironmentTemplate. # noqa: E501
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
:return: The managed_id of this V1CloudSpaceEnvironmentTemplate. # noqa: E501
|
|
214
|
+
:rtype: str
|
|
215
|
+
"""
|
|
216
|
+
return self._managed_id
|
|
217
|
+
|
|
218
|
+
@managed_id.setter
|
|
219
|
+
def managed_id(self, managed_id: 'str'):
|
|
220
|
+
"""Sets the managed_id of this V1CloudSpaceEnvironmentTemplate.
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
:param managed_id: The managed_id of this V1CloudSpaceEnvironmentTemplate. # noqa: E501
|
|
224
|
+
:type: str
|
|
225
|
+
"""
|
|
226
|
+
|
|
227
|
+
self._managed_id = managed_id
|
|
228
|
+
|
|
203
229
|
@property
|
|
204
230
|
def name(self) -> 'str':
|
|
205
231
|
"""Gets the name of this V1CloudSpaceEnvironmentTemplate. # noqa: E501
|
|
@@ -45,6 +45,7 @@ class V1CloudSpaceEnvironmentTemplateConfig(object):
|
|
|
45
45
|
'default_machine': 'str',
|
|
46
46
|
'environment_type': 'V1CloudSpaceEnvironmentType',
|
|
47
47
|
'machine_image_version': 'str',
|
|
48
|
+
'plugins': 'list[str]',
|
|
48
49
|
'setup_script_text': 'str'
|
|
49
50
|
}
|
|
50
51
|
|
|
@@ -53,15 +54,17 @@ class V1CloudSpaceEnvironmentTemplateConfig(object):
|
|
|
53
54
|
'default_machine': 'defaultMachine',
|
|
54
55
|
'environment_type': 'environmentType',
|
|
55
56
|
'machine_image_version': 'machineImageVersion',
|
|
57
|
+
'plugins': 'plugins',
|
|
56
58
|
'setup_script_text': 'setupScriptText'
|
|
57
59
|
}
|
|
58
60
|
|
|
59
|
-
def __init__(self, allowed_machines: 'list[str]' =None, default_machine: 'str' =None, environment_type: 'V1CloudSpaceEnvironmentType' =None, machine_image_version: 'str' =None, setup_script_text: 'str' =None): # noqa: E501
|
|
61
|
+
def __init__(self, allowed_machines: 'list[str]' =None, default_machine: 'str' =None, environment_type: 'V1CloudSpaceEnvironmentType' =None, machine_image_version: 'str' =None, plugins: 'list[str]' =None, setup_script_text: 'str' =None): # noqa: E501
|
|
60
62
|
"""V1CloudSpaceEnvironmentTemplateConfig - a model defined in Swagger""" # noqa: E501
|
|
61
63
|
self._allowed_machines = None
|
|
62
64
|
self._default_machine = None
|
|
63
65
|
self._environment_type = None
|
|
64
66
|
self._machine_image_version = None
|
|
67
|
+
self._plugins = None
|
|
65
68
|
self._setup_script_text = None
|
|
66
69
|
self.discriminator = None
|
|
67
70
|
if allowed_machines is not None:
|
|
@@ -72,6 +75,8 @@ class V1CloudSpaceEnvironmentTemplateConfig(object):
|
|
|
72
75
|
self.environment_type = environment_type
|
|
73
76
|
if machine_image_version is not None:
|
|
74
77
|
self.machine_image_version = machine_image_version
|
|
78
|
+
if plugins is not None:
|
|
79
|
+
self.plugins = plugins
|
|
75
80
|
if setup_script_text is not None:
|
|
76
81
|
self.setup_script_text = setup_script_text
|
|
77
82
|
|
|
@@ -159,6 +164,27 @@ class V1CloudSpaceEnvironmentTemplateConfig(object):
|
|
|
159
164
|
|
|
160
165
|
self._machine_image_version = machine_image_version
|
|
161
166
|
|
|
167
|
+
@property
|
|
168
|
+
def plugins(self) -> 'list[str]':
|
|
169
|
+
"""Gets the plugins of this V1CloudSpaceEnvironmentTemplateConfig. # noqa: E501
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
:return: The plugins of this V1CloudSpaceEnvironmentTemplateConfig. # noqa: E501
|
|
173
|
+
:rtype: list[str]
|
|
174
|
+
"""
|
|
175
|
+
return self._plugins
|
|
176
|
+
|
|
177
|
+
@plugins.setter
|
|
178
|
+
def plugins(self, plugins: 'list[str]'):
|
|
179
|
+
"""Sets the plugins of this V1CloudSpaceEnvironmentTemplateConfig.
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
:param plugins: The plugins of this V1CloudSpaceEnvironmentTemplateConfig. # noqa: E501
|
|
183
|
+
:type: list[str]
|
|
184
|
+
"""
|
|
185
|
+
|
|
186
|
+
self._plugins = plugins
|
|
187
|
+
|
|
162
188
|
@property
|
|
163
189
|
def setup_script_text(self) -> 'str':
|
|
164
190
|
"""Gets the setup_script_text of this V1CloudSpaceEnvironmentTemplateConfig. # noqa: E501
|
|
@@ -41,6 +41,7 @@ class V1CloudSpaceState(object):
|
|
|
41
41
|
INITIAL_SYNC_IN_PROGRESS = "CLOUD_SPACE_STATE_INITIAL_SYNC_IN_PROGRESS"
|
|
42
42
|
READY = "CLOUD_SPACE_STATE_READY"
|
|
43
43
|
DELETED = "CLOUD_SPACE_STATE_DELETED"
|
|
44
|
+
TRANSFERRING = "CLOUD_SPACE_STATE_TRANSFERRING"
|
|
44
45
|
"""
|
|
45
46
|
Attributes:
|
|
46
47
|
swagger_types (dict): The key is attribute name
|