lightning-sdk 0.2.18__py3-none-any.whl → 0.2.20__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 (68) hide show
  1. lightning_sdk/__init__.py +1 -1
  2. lightning_sdk/api/deployment_api.py +2 -0
  3. lightning_sdk/api/license_api.py +28 -6
  4. lightning_sdk/cli/deploy/_auth.py +11 -19
  5. lightning_sdk/cli/entrypoint.py +20 -2
  6. lightning_sdk/deployment/deployment.py +2 -0
  7. lightning_sdk/lightning_cloud/login.py +2 -2
  8. lightning_sdk/lightning_cloud/openapi/__init__.py +10 -2
  9. lightning_sdk/lightning_cloud/openapi/api/__init__.py +1 -0
  10. lightning_sdk/lightning_cloud/openapi/api/blog_posts_service_api.py +533 -0
  11. lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +113 -0
  12. lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +121 -0
  13. lightning_sdk/lightning_cloud/openapi/models/__init__.py +9 -2
  14. lightning_sdk/lightning_cloud/openapi/models/alertingevents_id_body.py +409 -0
  15. lightning_sdk/lightning_cloud/openapi/models/blogposts_id_body.py +253 -0
  16. lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py +27 -1
  17. lightning_sdk/lightning_cloud/openapi/models/id_codeconfig_body.py +29 -3
  18. lightning_sdk/lightning_cloud/openapi/models/id_transfer_body.py +123 -0
  19. lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +157 -157
  20. lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +79 -1
  21. lightning_sdk/lightning_cloud/openapi/models/update.py +27 -1
  22. lightning_sdk/lightning_cloud/openapi/models/v1_author.py +201 -0
  23. lightning_sdk/lightning_cloud/openapi/models/v1_blog_post.py +383 -0
  24. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +27 -1
  25. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template.py +27 -1
  26. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template_config.py +27 -1
  27. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_state.py +1 -0
  28. lightning_sdk/lightning_cloud/openapi/models/v1_create_blog_post_request.py +253 -0
  29. lightning_sdk/lightning_cloud/openapi/models/v1_create_cloud_space_environment_template_request.py +27 -1
  30. lightning_sdk/lightning_cloud/openapi/models/v1_daily_usage.py +81 -3
  31. lightning_sdk/lightning_cloud/openapi/models/v1_data_connection.py +79 -1
  32. lightning_sdk/lightning_cloud/openapi/models/v1_delete_blog_post_response.py +123 -0
  33. lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +27 -1
  34. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_type.py +1 -0
  35. lightning_sdk/lightning_cloud/openapi/models/v1_get_organization_storage_metadata_response.py +157 -1
  36. lightning_sdk/lightning_cloud/openapi/models/v1_get_project_storage_metadata_response.py +237 -3
  37. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_breakdown_response.py +53 -1
  38. lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1.py +53 -1
  39. lightning_sdk/lightning_cloud/openapi/models/v1_list_blog_posts_response.py +175 -0
  40. lightning_sdk/lightning_cloud/openapi/models/v1_membership.py +27 -1
  41. lightning_sdk/lightning_cloud/openapi/models/v1_message.py +27 -1
  42. lightning_sdk/lightning_cloud/openapi/models/v1_notification_type.py +1 -0
  43. lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +261 -157
  44. lightning_sdk/lightning_cloud/openapi/models/v1_product_license.py +27 -1
  45. lightning_sdk/lightning_cloud/openapi/models/v1_project.py +53 -1
  46. lightning_sdk/lightning_cloud/openapi/models/v1_project_membership.py +27 -1
  47. lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +79 -1
  48. lightning_sdk/lightning_cloud/openapi/models/v1_project_storage.py +199 -17
  49. lightning_sdk/lightning_cloud/openapi/models/v1_rule_resource.py +1 -0
  50. lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset.py +27 -1
  51. lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset_type.py +4 -0
  52. lightning_sdk/lightning_cloud/openapi/models/v1_transaction.py +27 -1
  53. lightning_sdk/lightning_cloud/openapi/models/v1_transfer_cloud_space_response.py +97 -0
  54. lightning_sdk/lightning_cloud/openapi/models/v1_usage.py +105 -27
  55. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +249 -145
  56. lightning_sdk/lightning_cloud/openapi/models/v1_volume.py +499 -31
  57. lightning_sdk/lightning_cloud/rest_client.py +13 -11
  58. lightning_sdk/lightning_cloud/source_code/logs_socket_api.py +8 -3
  59. lightning_sdk/serve.py +1 -0
  60. lightning_sdk/services/license.py +148 -27
  61. {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.20.dist-info}/METADATA +1 -1
  62. {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.20.dist-info}/RECORD +66 -58
  63. lightning_sdk/lightning_cloud/openapi/models/v1_ebs.py +0 -279
  64. lightning_sdk/lightning_cloud/openapi/models/v1_reservation_billing_session.py +0 -279
  65. {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.20.dist-info}/LICENSE +0 -0
  66. {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.20.dist-info}/WHEEL +0 -0
  67. {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.20.dist-info}/entry_points.txt +0 -0
  68. {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.20.dist-info}/top_level.txt +0 -0
@@ -42,19 +42,13 @@ class OrgsIdBody(object):
42
42
  """
43
43
  swagger_types = {
44
44
  'alerts_config': 'V1AlertsConfig',
45
- 'allow_aws_saas': 'bool',
46
45
  'allow_budgeting': 'bool',
47
46
  'allow_credits_auto_replenish': 'bool',
48
- 'allow_dgx_saas': 'bool',
49
47
  'allow_external_project_duplication': 'bool',
50
- 'allow_gcp_saas': 'bool',
51
48
  'allow_guest': 'bool',
52
- 'allow_lambda_saas': 'bool',
53
- 'allow_lightning_saas': 'bool',
54
49
  'allow_marketplace': 'bool',
55
50
  'allow_member_invitations': 'bool',
56
51
  'allow_member_teamspace_creation': 'bool',
57
- 'allow_vultr_saas': 'bool',
58
52
  'auto_invite_by_domain': 'bool',
59
53
  'auto_join_domains': 'list[str]',
60
54
  'auto_replenish_amount': 'float',
@@ -62,6 +56,12 @@ class OrgsIdBody(object):
62
56
  'auto_switch_machine': 'bool',
63
57
  'default_machine_type': 'str',
64
58
  'description': 'str',
59
+ 'disallow_aws_saas': 'bool',
60
+ 'disallow_dgx_saas': 'bool',
61
+ 'disallow_gcp_saas': 'bool',
62
+ 'disallow_lambda_saas': 'bool',
63
+ 'disallow_lightning_saas': 'bool',
64
+ 'disallow_vultr_saas': 'bool',
65
65
  'display_name': 'str',
66
66
  'domain': 'str',
67
67
  'email': 'str',
@@ -79,19 +79,13 @@ class OrgsIdBody(object):
79
79
 
80
80
  attribute_map = {
81
81
  'alerts_config': 'alertsConfig',
82
- 'allow_aws_saas': 'allowAwsSaas',
83
82
  'allow_budgeting': 'allowBudgeting',
84
83
  'allow_credits_auto_replenish': 'allowCreditsAutoReplenish',
85
- 'allow_dgx_saas': 'allowDgxSaas',
86
84
  'allow_external_project_duplication': 'allowExternalProjectDuplication',
87
- 'allow_gcp_saas': 'allowGcpSaas',
88
85
  'allow_guest': 'allowGuest',
89
- 'allow_lambda_saas': 'allowLambdaSaas',
90
- 'allow_lightning_saas': 'allowLightningSaas',
91
86
  'allow_marketplace': 'allowMarketplace',
92
87
  'allow_member_invitations': 'allowMemberInvitations',
93
88
  'allow_member_teamspace_creation': 'allowMemberTeamspaceCreation',
94
- 'allow_vultr_saas': 'allowVultrSaas',
95
89
  'auto_invite_by_domain': 'autoInviteByDomain',
96
90
  'auto_join_domains': 'autoJoinDomains',
97
91
  'auto_replenish_amount': 'autoReplenishAmount',
@@ -99,6 +93,12 @@ class OrgsIdBody(object):
99
93
  'auto_switch_machine': 'autoSwitchMachine',
100
94
  'default_machine_type': 'defaultMachineType',
101
95
  'description': 'description',
96
+ 'disallow_aws_saas': 'disallowAwsSaas',
97
+ 'disallow_dgx_saas': 'disallowDgxSaas',
98
+ 'disallow_gcp_saas': 'disallowGcpSaas',
99
+ 'disallow_lambda_saas': 'disallowLambdaSaas',
100
+ 'disallow_lightning_saas': 'disallowLightningSaas',
101
+ 'disallow_vultr_saas': 'disallowVultrSaas',
102
102
  'display_name': 'displayName',
103
103
  'domain': 'domain',
104
104
  'email': 'email',
@@ -114,22 +114,16 @@ class OrgsIdBody(object):
114
114
  'workload_max_run_duration': 'workloadMaxRunDuration'
115
115
  }
116
116
 
117
- def __init__(self, alerts_config: 'V1AlertsConfig' =None, allow_aws_saas: 'bool' =None, allow_budgeting: 'bool' =None, allow_credits_auto_replenish: 'bool' =None, allow_dgx_saas: 'bool' =None, allow_external_project_duplication: 'bool' =None, allow_gcp_saas: 'bool' =None, allow_guest: 'bool' =None, allow_lambda_saas: 'bool' =None, allow_lightning_saas: 'bool' =None, allow_marketplace: 'bool' =None, allow_member_invitations: 'bool' =None, allow_member_teamspace_creation: 'bool' =None, allow_vultr_saas: 'bool' =None, auto_invite_by_domain: 'bool' =None, auto_join_domains: 'list[str]' =None, auto_replenish_amount: 'float' =None, auto_replenish_threshold: 'float' =None, auto_switch_machine: 'bool' =None, default_machine_type: 'str' =None, description: 'str' =None, display_name: 'str' =None, domain: 'str' =None, email: 'str' =None, featured_gallery: 'bool' =None, location: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, start_studios_on_spot_instance: 'bool' =None, switch_to_default_machine_on_idle: 'bool' =None, teamspace_default_credits: 'float' =None, twitter_username: 'str' =None, workload_max_run_duration: 'str' =None): # noqa: E501
117
+ def __init__(self, alerts_config: 'V1AlertsConfig' =None, allow_budgeting: 'bool' =None, allow_credits_auto_replenish: 'bool' =None, allow_external_project_duplication: 'bool' =None, allow_guest: 'bool' =None, allow_marketplace: 'bool' =None, allow_member_invitations: 'bool' =None, allow_member_teamspace_creation: 'bool' =None, auto_invite_by_domain: 'bool' =None, auto_join_domains: 'list[str]' =None, auto_replenish_amount: 'float' =None, auto_replenish_threshold: 'float' =None, auto_switch_machine: 'bool' =None, default_machine_type: 'str' =None, description: 'str' =None, disallow_aws_saas: 'bool' =None, disallow_dgx_saas: 'bool' =None, disallow_gcp_saas: 'bool' =None, disallow_lambda_saas: 'bool' =None, disallow_lightning_saas: 'bool' =None, disallow_vultr_saas: 'bool' =None, display_name: 'str' =None, domain: 'str' =None, email: 'str' =None, featured_gallery: 'bool' =None, location: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, start_studios_on_spot_instance: 'bool' =None, switch_to_default_machine_on_idle: 'bool' =None, teamspace_default_credits: 'float' =None, twitter_username: 'str' =None, workload_max_run_duration: 'str' =None): # noqa: E501
118
118
  """OrgsIdBody - a model defined in Swagger""" # noqa: E501
119
119
  self._alerts_config = None
120
- self._allow_aws_saas = None
121
120
  self._allow_budgeting = None
122
121
  self._allow_credits_auto_replenish = None
123
- self._allow_dgx_saas = None
124
122
  self._allow_external_project_duplication = None
125
- self._allow_gcp_saas = None
126
123
  self._allow_guest = None
127
- self._allow_lambda_saas = None
128
- self._allow_lightning_saas = None
129
124
  self._allow_marketplace = None
130
125
  self._allow_member_invitations = None
131
126
  self._allow_member_teamspace_creation = None
132
- self._allow_vultr_saas = None
133
127
  self._auto_invite_by_domain = None
134
128
  self._auto_join_domains = None
135
129
  self._auto_replenish_amount = None
@@ -137,6 +131,12 @@ class OrgsIdBody(object):
137
131
  self._auto_switch_machine = None
138
132
  self._default_machine_type = None
139
133
  self._description = None
134
+ self._disallow_aws_saas = None
135
+ self._disallow_dgx_saas = None
136
+ self._disallow_gcp_saas = None
137
+ self._disallow_lambda_saas = None
138
+ self._disallow_lightning_saas = None
139
+ self._disallow_vultr_saas = None
140
140
  self._display_name = None
141
141
  self._domain = None
142
142
  self._email = None
@@ -153,32 +153,20 @@ class OrgsIdBody(object):
153
153
  self.discriminator = None
154
154
  if alerts_config is not None:
155
155
  self.alerts_config = alerts_config
156
- if allow_aws_saas is not None:
157
- self.allow_aws_saas = allow_aws_saas
158
156
  if allow_budgeting is not None:
159
157
  self.allow_budgeting = allow_budgeting
160
158
  if allow_credits_auto_replenish is not None:
161
159
  self.allow_credits_auto_replenish = allow_credits_auto_replenish
162
- if allow_dgx_saas is not None:
163
- self.allow_dgx_saas = allow_dgx_saas
164
160
  if allow_external_project_duplication is not None:
165
161
  self.allow_external_project_duplication = allow_external_project_duplication
166
- if allow_gcp_saas is not None:
167
- self.allow_gcp_saas = allow_gcp_saas
168
162
  if allow_guest is not None:
169
163
  self.allow_guest = allow_guest
170
- if allow_lambda_saas is not None:
171
- self.allow_lambda_saas = allow_lambda_saas
172
- if allow_lightning_saas is not None:
173
- self.allow_lightning_saas = allow_lightning_saas
174
164
  if allow_marketplace is not None:
175
165
  self.allow_marketplace = allow_marketplace
176
166
  if allow_member_invitations is not None:
177
167
  self.allow_member_invitations = allow_member_invitations
178
168
  if allow_member_teamspace_creation is not None:
179
169
  self.allow_member_teamspace_creation = allow_member_teamspace_creation
180
- if allow_vultr_saas is not None:
181
- self.allow_vultr_saas = allow_vultr_saas
182
170
  if auto_invite_by_domain is not None:
183
171
  self.auto_invite_by_domain = auto_invite_by_domain
184
172
  if auto_join_domains is not None:
@@ -193,6 +181,18 @@ class OrgsIdBody(object):
193
181
  self.default_machine_type = default_machine_type
194
182
  if description is not None:
195
183
  self.description = description
184
+ if disallow_aws_saas is not None:
185
+ self.disallow_aws_saas = disallow_aws_saas
186
+ if disallow_dgx_saas is not None:
187
+ self.disallow_dgx_saas = disallow_dgx_saas
188
+ if disallow_gcp_saas is not None:
189
+ self.disallow_gcp_saas = disallow_gcp_saas
190
+ if disallow_lambda_saas is not None:
191
+ self.disallow_lambda_saas = disallow_lambda_saas
192
+ if disallow_lightning_saas is not None:
193
+ self.disallow_lightning_saas = disallow_lightning_saas
194
+ if disallow_vultr_saas is not None:
195
+ self.disallow_vultr_saas = disallow_vultr_saas
196
196
  if display_name is not None:
197
197
  self.display_name = display_name
198
198
  if domain is not None:
@@ -241,27 +241,6 @@ class OrgsIdBody(object):
241
241
 
242
242
  self._alerts_config = alerts_config
243
243
 
244
- @property
245
- def allow_aws_saas(self) -> 'bool':
246
- """Gets the allow_aws_saas of this OrgsIdBody. # noqa: E501
247
-
248
-
249
- :return: The allow_aws_saas of this OrgsIdBody. # noqa: E501
250
- :rtype: bool
251
- """
252
- return self._allow_aws_saas
253
-
254
- @allow_aws_saas.setter
255
- def allow_aws_saas(self, allow_aws_saas: 'bool'):
256
- """Sets the allow_aws_saas of this OrgsIdBody.
257
-
258
-
259
- :param allow_aws_saas: The allow_aws_saas of this OrgsIdBody. # noqa: E501
260
- :type: bool
261
- """
262
-
263
- self._allow_aws_saas = allow_aws_saas
264
-
265
244
  @property
266
245
  def allow_budgeting(self) -> 'bool':
267
246
  """Gets the allow_budgeting of this OrgsIdBody. # noqa: E501
@@ -304,27 +283,6 @@ class OrgsIdBody(object):
304
283
 
305
284
  self._allow_credits_auto_replenish = allow_credits_auto_replenish
306
285
 
307
- @property
308
- def allow_dgx_saas(self) -> 'bool':
309
- """Gets the allow_dgx_saas of this OrgsIdBody. # noqa: E501
310
-
311
-
312
- :return: The allow_dgx_saas of this OrgsIdBody. # noqa: E501
313
- :rtype: bool
314
- """
315
- return self._allow_dgx_saas
316
-
317
- @allow_dgx_saas.setter
318
- def allow_dgx_saas(self, allow_dgx_saas: 'bool'):
319
- """Sets the allow_dgx_saas of this OrgsIdBody.
320
-
321
-
322
- :param allow_dgx_saas: The allow_dgx_saas of this OrgsIdBody. # noqa: E501
323
- :type: bool
324
- """
325
-
326
- self._allow_dgx_saas = allow_dgx_saas
327
-
328
286
  @property
329
287
  def allow_external_project_duplication(self) -> 'bool':
330
288
  """Gets the allow_external_project_duplication of this OrgsIdBody. # noqa: E501
@@ -346,27 +304,6 @@ class OrgsIdBody(object):
346
304
 
347
305
  self._allow_external_project_duplication = allow_external_project_duplication
348
306
 
349
- @property
350
- def allow_gcp_saas(self) -> 'bool':
351
- """Gets the allow_gcp_saas of this OrgsIdBody. # noqa: E501
352
-
353
-
354
- :return: The allow_gcp_saas of this OrgsIdBody. # noqa: E501
355
- :rtype: bool
356
- """
357
- return self._allow_gcp_saas
358
-
359
- @allow_gcp_saas.setter
360
- def allow_gcp_saas(self, allow_gcp_saas: 'bool'):
361
- """Sets the allow_gcp_saas of this OrgsIdBody.
362
-
363
-
364
- :param allow_gcp_saas: The allow_gcp_saas of this OrgsIdBody. # noqa: E501
365
- :type: bool
366
- """
367
-
368
- self._allow_gcp_saas = allow_gcp_saas
369
-
370
307
  @property
371
308
  def allow_guest(self) -> 'bool':
372
309
  """Gets the allow_guest of this OrgsIdBody. # noqa: E501
@@ -388,48 +325,6 @@ class OrgsIdBody(object):
388
325
 
389
326
  self._allow_guest = allow_guest
390
327
 
391
- @property
392
- def allow_lambda_saas(self) -> 'bool':
393
- """Gets the allow_lambda_saas of this OrgsIdBody. # noqa: E501
394
-
395
-
396
- :return: The allow_lambda_saas of this OrgsIdBody. # noqa: E501
397
- :rtype: bool
398
- """
399
- return self._allow_lambda_saas
400
-
401
- @allow_lambda_saas.setter
402
- def allow_lambda_saas(self, allow_lambda_saas: 'bool'):
403
- """Sets the allow_lambda_saas of this OrgsIdBody.
404
-
405
-
406
- :param allow_lambda_saas: The allow_lambda_saas of this OrgsIdBody. # noqa: E501
407
- :type: bool
408
- """
409
-
410
- self._allow_lambda_saas = allow_lambda_saas
411
-
412
- @property
413
- def allow_lightning_saas(self) -> 'bool':
414
- """Gets the allow_lightning_saas of this OrgsIdBody. # noqa: E501
415
-
416
-
417
- :return: The allow_lightning_saas of this OrgsIdBody. # noqa: E501
418
- :rtype: bool
419
- """
420
- return self._allow_lightning_saas
421
-
422
- @allow_lightning_saas.setter
423
- def allow_lightning_saas(self, allow_lightning_saas: 'bool'):
424
- """Sets the allow_lightning_saas of this OrgsIdBody.
425
-
426
-
427
- :param allow_lightning_saas: The allow_lightning_saas of this OrgsIdBody. # noqa: E501
428
- :type: bool
429
- """
430
-
431
- self._allow_lightning_saas = allow_lightning_saas
432
-
433
328
  @property
434
329
  def allow_marketplace(self) -> 'bool':
435
330
  """Gets the allow_marketplace of this OrgsIdBody. # noqa: E501
@@ -493,27 +388,6 @@ class OrgsIdBody(object):
493
388
 
494
389
  self._allow_member_teamspace_creation = allow_member_teamspace_creation
495
390
 
496
- @property
497
- def allow_vultr_saas(self) -> 'bool':
498
- """Gets the allow_vultr_saas of this OrgsIdBody. # noqa: E501
499
-
500
-
501
- :return: The allow_vultr_saas of this OrgsIdBody. # noqa: E501
502
- :rtype: bool
503
- """
504
- return self._allow_vultr_saas
505
-
506
- @allow_vultr_saas.setter
507
- def allow_vultr_saas(self, allow_vultr_saas: 'bool'):
508
- """Sets the allow_vultr_saas of this OrgsIdBody.
509
-
510
-
511
- :param allow_vultr_saas: The allow_vultr_saas of this OrgsIdBody. # noqa: E501
512
- :type: bool
513
- """
514
-
515
- self._allow_vultr_saas = allow_vultr_saas
516
-
517
391
  @property
518
392
  def auto_invite_by_domain(self) -> 'bool':
519
393
  """Gets the auto_invite_by_domain of this OrgsIdBody. # noqa: E501
@@ -661,6 +535,132 @@ class OrgsIdBody(object):
661
535
 
662
536
  self._description = description
663
537
 
538
+ @property
539
+ def disallow_aws_saas(self) -> 'bool':
540
+ """Gets the disallow_aws_saas of this OrgsIdBody. # noqa: E501
541
+
542
+
543
+ :return: The disallow_aws_saas of this OrgsIdBody. # noqa: E501
544
+ :rtype: bool
545
+ """
546
+ return self._disallow_aws_saas
547
+
548
+ @disallow_aws_saas.setter
549
+ def disallow_aws_saas(self, disallow_aws_saas: 'bool'):
550
+ """Sets the disallow_aws_saas of this OrgsIdBody.
551
+
552
+
553
+ :param disallow_aws_saas: The disallow_aws_saas of this OrgsIdBody. # noqa: E501
554
+ :type: bool
555
+ """
556
+
557
+ self._disallow_aws_saas = disallow_aws_saas
558
+
559
+ @property
560
+ def disallow_dgx_saas(self) -> 'bool':
561
+ """Gets the disallow_dgx_saas of this OrgsIdBody. # noqa: E501
562
+
563
+
564
+ :return: The disallow_dgx_saas of this OrgsIdBody. # noqa: E501
565
+ :rtype: bool
566
+ """
567
+ return self._disallow_dgx_saas
568
+
569
+ @disallow_dgx_saas.setter
570
+ def disallow_dgx_saas(self, disallow_dgx_saas: 'bool'):
571
+ """Sets the disallow_dgx_saas of this OrgsIdBody.
572
+
573
+
574
+ :param disallow_dgx_saas: The disallow_dgx_saas of this OrgsIdBody. # noqa: E501
575
+ :type: bool
576
+ """
577
+
578
+ self._disallow_dgx_saas = disallow_dgx_saas
579
+
580
+ @property
581
+ def disallow_gcp_saas(self) -> 'bool':
582
+ """Gets the disallow_gcp_saas of this OrgsIdBody. # noqa: E501
583
+
584
+
585
+ :return: The disallow_gcp_saas of this OrgsIdBody. # noqa: E501
586
+ :rtype: bool
587
+ """
588
+ return self._disallow_gcp_saas
589
+
590
+ @disallow_gcp_saas.setter
591
+ def disallow_gcp_saas(self, disallow_gcp_saas: 'bool'):
592
+ """Sets the disallow_gcp_saas of this OrgsIdBody.
593
+
594
+
595
+ :param disallow_gcp_saas: The disallow_gcp_saas of this OrgsIdBody. # noqa: E501
596
+ :type: bool
597
+ """
598
+
599
+ self._disallow_gcp_saas = disallow_gcp_saas
600
+
601
+ @property
602
+ def disallow_lambda_saas(self) -> 'bool':
603
+ """Gets the disallow_lambda_saas of this OrgsIdBody. # noqa: E501
604
+
605
+
606
+ :return: The disallow_lambda_saas of this OrgsIdBody. # noqa: E501
607
+ :rtype: bool
608
+ """
609
+ return self._disallow_lambda_saas
610
+
611
+ @disallow_lambda_saas.setter
612
+ def disallow_lambda_saas(self, disallow_lambda_saas: 'bool'):
613
+ """Sets the disallow_lambda_saas of this OrgsIdBody.
614
+
615
+
616
+ :param disallow_lambda_saas: The disallow_lambda_saas of this OrgsIdBody. # noqa: E501
617
+ :type: bool
618
+ """
619
+
620
+ self._disallow_lambda_saas = disallow_lambda_saas
621
+
622
+ @property
623
+ def disallow_lightning_saas(self) -> 'bool':
624
+ """Gets the disallow_lightning_saas of this OrgsIdBody. # noqa: E501
625
+
626
+
627
+ :return: The disallow_lightning_saas of this OrgsIdBody. # noqa: E501
628
+ :rtype: bool
629
+ """
630
+ return self._disallow_lightning_saas
631
+
632
+ @disallow_lightning_saas.setter
633
+ def disallow_lightning_saas(self, disallow_lightning_saas: 'bool'):
634
+ """Sets the disallow_lightning_saas of this OrgsIdBody.
635
+
636
+
637
+ :param disallow_lightning_saas: The disallow_lightning_saas of this OrgsIdBody. # noqa: E501
638
+ :type: bool
639
+ """
640
+
641
+ self._disallow_lightning_saas = disallow_lightning_saas
642
+
643
+ @property
644
+ def disallow_vultr_saas(self) -> 'bool':
645
+ """Gets the disallow_vultr_saas of this OrgsIdBody. # noqa: E501
646
+
647
+
648
+ :return: The disallow_vultr_saas of this OrgsIdBody. # noqa: E501
649
+ :rtype: bool
650
+ """
651
+ return self._disallow_vultr_saas
652
+
653
+ @disallow_vultr_saas.setter
654
+ def disallow_vultr_saas(self, disallow_vultr_saas: 'bool'):
655
+ """Sets the disallow_vultr_saas of this OrgsIdBody.
656
+
657
+
658
+ :param disallow_vultr_saas: The disallow_vultr_saas of this OrgsIdBody. # noqa: E501
659
+ :type: bool
660
+ """
661
+
662
+ self._disallow_vultr_saas = disallow_vultr_saas
663
+
664
664
  @property
665
665
  def display_name(self) -> 'str':
666
666
  """Gets the display_name of this OrgsIdBody. # noqa: E501
@@ -42,12 +42,15 @@ class ProjectsIdBody(object):
42
42
  """
43
43
  swagger_types = {
44
44
  'allow_aws_saas': 'bool',
45
+ 'allow_credits_auto_replenish': 'bool',
45
46
  'allow_dgx_saas': 'bool',
46
47
  'allow_external_project_duplication': 'bool',
47
48
  'allow_gcp_saas': 'bool',
48
49
  'allow_lambda_saas': 'bool',
49
50
  'allow_lightning_saas': 'bool',
50
51
  'allow_vultr_saas': 'bool',
52
+ 'auto_replenish_amount': 'float',
53
+ 'auto_replenish_threshold': 'float',
51
54
  'auto_switch_machine': 'bool',
52
55
  'default_machine_type': 'str',
53
56
  'description': 'str',
@@ -64,12 +67,15 @@ class ProjectsIdBody(object):
64
67
 
65
68
  attribute_map = {
66
69
  'allow_aws_saas': 'allowAwsSaas',
70
+ 'allow_credits_auto_replenish': 'allowCreditsAutoReplenish',
67
71
  'allow_dgx_saas': 'allowDgxSaas',
68
72
  'allow_external_project_duplication': 'allowExternalProjectDuplication',
69
73
  'allow_gcp_saas': 'allowGcpSaas',
70
74
  'allow_lambda_saas': 'allowLambdaSaas',
71
75
  'allow_lightning_saas': 'allowLightningSaas',
72
76
  'allow_vultr_saas': 'allowVultrSaas',
77
+ 'auto_replenish_amount': 'autoReplenishAmount',
78
+ 'auto_replenish_threshold': 'autoReplenishThreshold',
73
79
  'auto_switch_machine': 'autoSwitchMachine',
74
80
  'default_machine_type': 'defaultMachineType',
75
81
  'description': 'description',
@@ -84,15 +90,18 @@ class ProjectsIdBody(object):
84
90
  'switch_to_default_machine_on_idle': 'switchToDefaultMachineOnIdle'
85
91
  }
86
92
 
87
- def __init__(self, allow_aws_saas: 'bool' =None, allow_dgx_saas: 'bool' =None, allow_external_project_duplication: 'bool' =None, allow_gcp_saas: 'bool' =None, allow_lambda_saas: 'bool' =None, allow_lightning_saas: 'bool' =None, allow_vultr_saas: 'bool' =None, auto_switch_machine: 'bool' =None, default_machine_type: 'str' =None, description: 'str' =None, display_name: 'str' =None, name: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, quotas: 'V1Quotas' =None, same_compute_on_resume: 'bool' =None, start_studio_on_spot_instance: 'bool' =None, switch_to_default_machine_on_idle: 'bool' =None): # noqa: E501
93
+ def __init__(self, allow_aws_saas: 'bool' =None, allow_credits_auto_replenish: 'bool' =None, allow_dgx_saas: 'bool' =None, allow_external_project_duplication: 'bool' =None, allow_gcp_saas: 'bool' =None, allow_lambda_saas: 'bool' =None, allow_lightning_saas: 'bool' =None, allow_vultr_saas: 'bool' =None, auto_replenish_amount: 'float' =None, auto_replenish_threshold: 'float' =None, auto_switch_machine: 'bool' =None, default_machine_type: 'str' =None, description: 'str' =None, display_name: 'str' =None, name: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, quotas: 'V1Quotas' =None, same_compute_on_resume: 'bool' =None, start_studio_on_spot_instance: 'bool' =None, switch_to_default_machine_on_idle: 'bool' =None): # noqa: E501
88
94
  """ProjectsIdBody - a model defined in Swagger""" # noqa: E501
89
95
  self._allow_aws_saas = None
96
+ self._allow_credits_auto_replenish = None
90
97
  self._allow_dgx_saas = None
91
98
  self._allow_external_project_duplication = None
92
99
  self._allow_gcp_saas = None
93
100
  self._allow_lambda_saas = None
94
101
  self._allow_lightning_saas = None
95
102
  self._allow_vultr_saas = None
103
+ self._auto_replenish_amount = None
104
+ self._auto_replenish_threshold = None
96
105
  self._auto_switch_machine = None
97
106
  self._default_machine_type = None
98
107
  self._description = None
@@ -108,6 +117,8 @@ class ProjectsIdBody(object):
108
117
  self.discriminator = None
109
118
  if allow_aws_saas is not None:
110
119
  self.allow_aws_saas = allow_aws_saas
120
+ if allow_credits_auto_replenish is not None:
121
+ self.allow_credits_auto_replenish = allow_credits_auto_replenish
111
122
  if allow_dgx_saas is not None:
112
123
  self.allow_dgx_saas = allow_dgx_saas
113
124
  if allow_external_project_duplication is not None:
@@ -120,6 +131,10 @@ class ProjectsIdBody(object):
120
131
  self.allow_lightning_saas = allow_lightning_saas
121
132
  if allow_vultr_saas is not None:
122
133
  self.allow_vultr_saas = allow_vultr_saas
134
+ if auto_replenish_amount is not None:
135
+ self.auto_replenish_amount = auto_replenish_amount
136
+ if auto_replenish_threshold is not None:
137
+ self.auto_replenish_threshold = auto_replenish_threshold
123
138
  if auto_switch_machine is not None:
124
139
  self.auto_switch_machine = auto_switch_machine
125
140
  if default_machine_type is not None:
@@ -166,6 +181,27 @@ class ProjectsIdBody(object):
166
181
 
167
182
  self._allow_aws_saas = allow_aws_saas
168
183
 
184
+ @property
185
+ def allow_credits_auto_replenish(self) -> 'bool':
186
+ """Gets the allow_credits_auto_replenish of this ProjectsIdBody. # noqa: E501
187
+
188
+
189
+ :return: The allow_credits_auto_replenish of this ProjectsIdBody. # noqa: E501
190
+ :rtype: bool
191
+ """
192
+ return self._allow_credits_auto_replenish
193
+
194
+ @allow_credits_auto_replenish.setter
195
+ def allow_credits_auto_replenish(self, allow_credits_auto_replenish: 'bool'):
196
+ """Sets the allow_credits_auto_replenish of this ProjectsIdBody.
197
+
198
+
199
+ :param allow_credits_auto_replenish: The allow_credits_auto_replenish of this ProjectsIdBody. # noqa: E501
200
+ :type: bool
201
+ """
202
+
203
+ self._allow_credits_auto_replenish = allow_credits_auto_replenish
204
+
169
205
  @property
170
206
  def allow_dgx_saas(self) -> 'bool':
171
207
  """Gets the allow_dgx_saas of this ProjectsIdBody. # noqa: E501
@@ -292,6 +328,48 @@ class ProjectsIdBody(object):
292
328
 
293
329
  self._allow_vultr_saas = allow_vultr_saas
294
330
 
331
+ @property
332
+ def auto_replenish_amount(self) -> 'float':
333
+ """Gets the auto_replenish_amount of this ProjectsIdBody. # noqa: E501
334
+
335
+
336
+ :return: The auto_replenish_amount of this ProjectsIdBody. # noqa: E501
337
+ :rtype: float
338
+ """
339
+ return self._auto_replenish_amount
340
+
341
+ @auto_replenish_amount.setter
342
+ def auto_replenish_amount(self, auto_replenish_amount: 'float'):
343
+ """Sets the auto_replenish_amount of this ProjectsIdBody.
344
+
345
+
346
+ :param auto_replenish_amount: The auto_replenish_amount of this ProjectsIdBody. # noqa: E501
347
+ :type: float
348
+ """
349
+
350
+ self._auto_replenish_amount = auto_replenish_amount
351
+
352
+ @property
353
+ def auto_replenish_threshold(self) -> 'float':
354
+ """Gets the auto_replenish_threshold of this ProjectsIdBody. # noqa: E501
355
+
356
+
357
+ :return: The auto_replenish_threshold of this ProjectsIdBody. # noqa: E501
358
+ :rtype: float
359
+ """
360
+ return self._auto_replenish_threshold
361
+
362
+ @auto_replenish_threshold.setter
363
+ def auto_replenish_threshold(self, auto_replenish_threshold: 'float'):
364
+ """Sets the auto_replenish_threshold of this ProjectsIdBody.
365
+
366
+
367
+ :param auto_replenish_threshold: The auto_replenish_threshold of this ProjectsIdBody. # noqa: E501
368
+ :type: float
369
+ """
370
+
371
+ self._auto_replenish_threshold = auto_replenish_threshold
372
+
295
373
  @property
296
374
  def auto_switch_machine(self) -> 'bool':
297
375
  """Gets the auto_switch_machine of this ProjectsIdBody. # noqa: E501
@@ -48,6 +48,7 @@ class Update(object):
48
48
  'machine_image_version': 'str',
49
49
  'name': 'str',
50
50
  'org_id': 'str',
51
+ 'plugins': 'list[str]',
51
52
  'setup_script_text': 'str'
52
53
  }
53
54
 
@@ -59,10 +60,11 @@ class Update(object):
59
60
  'machine_image_version': 'machineImageVersion',
60
61
  'name': 'name',
61
62
  'org_id': 'orgId',
63
+ 'plugins': 'plugins',
62
64
  'setup_script_text': 'setupScriptText'
63
65
  }
64
66
 
65
- def __init__(self, allowed_machines: 'list[str]' =None, default_machine: 'str' =None, disabled: 'bool' =None, environment_type: 'V1CloudSpaceEnvironmentType' =None, machine_image_version: 'str' =None, name: 'str' =None, org_id: 'str' =None, setup_script_text: 'str' =None): # noqa: E501
67
+ def __init__(self, allowed_machines: 'list[str]' =None, default_machine: 'str' =None, disabled: 'bool' =None, environment_type: 'V1CloudSpaceEnvironmentType' =None, machine_image_version: 'str' =None, name: 'str' =None, org_id: 'str' =None, plugins: 'list[str]' =None, setup_script_text: 'str' =None): # noqa: E501
66
68
  """Update - a model defined in Swagger""" # noqa: E501
67
69
  self._allowed_machines = None
68
70
  self._default_machine = None
@@ -71,6 +73,7 @@ class Update(object):
71
73
  self._machine_image_version = None
72
74
  self._name = None
73
75
  self._org_id = None
76
+ self._plugins = None
74
77
  self._setup_script_text = None
75
78
  self.discriminator = None
76
79
  if allowed_machines is not None:
@@ -87,6 +90,8 @@ class Update(object):
87
90
  self.name = name
88
91
  if org_id is not None:
89
92
  self.org_id = org_id
93
+ if plugins is not None:
94
+ self.plugins = plugins
90
95
  if setup_script_text is not None:
91
96
  self.setup_script_text = setup_script_text
92
97
 
@@ -237,6 +242,27 @@ class Update(object):
237
242
 
238
243
  self._org_id = org_id
239
244
 
245
+ @property
246
+ def plugins(self) -> 'list[str]':
247
+ """Gets the plugins of this Update. # noqa: E501
248
+
249
+
250
+ :return: The plugins of this Update. # noqa: E501
251
+ :rtype: list[str]
252
+ """
253
+ return self._plugins
254
+
255
+ @plugins.setter
256
+ def plugins(self, plugins: 'list[str]'):
257
+ """Sets the plugins of this Update.
258
+
259
+
260
+ :param plugins: The plugins of this Update. # noqa: E501
261
+ :type: list[str]
262
+ """
263
+
264
+ self._plugins = plugins
265
+
240
266
  @property
241
267
  def setup_script_text(self) -> 'str':
242
268
  """Gets the setup_script_text of this Update. # noqa: E501