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 V1Organization(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_domain_validations': 'dict(str, V1AutoJoinDomainValidation)',
60
54
  'auto_join_domains': 'list[str]',
@@ -65,6 +59,12 @@ class V1Organization(object):
65
59
  'default_machine_image_version': 'str',
66
60
  'default_machine_type': 'str',
67
61
  'description': 'str',
62
+ 'disallow_aws_saas': 'bool',
63
+ 'disallow_dgx_saas': 'bool',
64
+ 'disallow_gcp_saas': 'bool',
65
+ 'disallow_lambda_saas': 'bool',
66
+ 'disallow_lightning_saas': 'bool',
67
+ 'disallow_vultr_saas': 'bool',
68
68
  'display_name': 'str',
69
69
  'domain': 'str',
70
70
  'email': 'str',
@@ -73,12 +73,16 @@ class V1Organization(object):
73
73
  'full_story_start_date': 'datetime',
74
74
  'general_teamspace': 'bool',
75
75
  'id': 'str',
76
+ 'last_storage_overuse_notification_sent_at': 'datetime',
76
77
  'location': 'str',
77
78
  'name': 'str',
78
79
  'preferred_cluster': 'str',
79
80
  'preferred_deployment_provider': 'str',
80
81
  'preferred_studio_provider': 'str',
81
82
  'start_studios_on_spot_instance': 'bool',
83
+ 'storage_overuse_bytes': 'str',
84
+ 'storage_overuse_deletion_at': 'datetime',
85
+ 'storage_overuse_notification_count': 'int',
82
86
  'switch_to_default_machine_on_idle': 'bool',
83
87
  'teamspace_default_credits': 'float',
84
88
  'twitter_username': 'str',
@@ -88,19 +92,13 @@ class V1Organization(object):
88
92
 
89
93
  attribute_map = {
90
94
  'alerts_config': 'alertsConfig',
91
- 'allow_aws_saas': 'allowAwsSaas',
92
95
  'allow_budgeting': 'allowBudgeting',
93
96
  'allow_credits_auto_replenish': 'allowCreditsAutoReplenish',
94
- 'allow_dgx_saas': 'allowDgxSaas',
95
97
  'allow_external_project_duplication': 'allowExternalProjectDuplication',
96
- 'allow_gcp_saas': 'allowGcpSaas',
97
98
  'allow_guest': 'allowGuest',
98
- 'allow_lambda_saas': 'allowLambdaSaas',
99
- 'allow_lightning_saas': 'allowLightningSaas',
100
99
  'allow_marketplace': 'allowMarketplace',
101
100
  'allow_member_invitations': 'allowMemberInvitations',
102
101
  'allow_member_teamspace_creation': 'allowMemberTeamspaceCreation',
103
- 'allow_vultr_saas': 'allowVultrSaas',
104
102
  'auto_invite_by_domain': 'autoInviteByDomain',
105
103
  'auto_join_domain_validations': 'autoJoinDomainValidations',
106
104
  'auto_join_domains': 'autoJoinDomains',
@@ -111,6 +109,12 @@ class V1Organization(object):
111
109
  'default_machine_image_version': 'defaultMachineImageVersion',
112
110
  'default_machine_type': 'defaultMachineType',
113
111
  'description': 'description',
112
+ 'disallow_aws_saas': 'disallowAwsSaas',
113
+ 'disallow_dgx_saas': 'disallowDgxSaas',
114
+ 'disallow_gcp_saas': 'disallowGcpSaas',
115
+ 'disallow_lambda_saas': 'disallowLambdaSaas',
116
+ 'disallow_lightning_saas': 'disallowLightningSaas',
117
+ 'disallow_vultr_saas': 'disallowVultrSaas',
114
118
  'display_name': 'displayName',
115
119
  'domain': 'domain',
116
120
  'email': 'email',
@@ -119,12 +123,16 @@ class V1Organization(object):
119
123
  'full_story_start_date': 'fullStoryStartDate',
120
124
  'general_teamspace': 'generalTeamspace',
121
125
  'id': 'id',
126
+ 'last_storage_overuse_notification_sent_at': 'lastStorageOveruseNotificationSentAt',
122
127
  'location': 'location',
123
128
  'name': 'name',
124
129
  'preferred_cluster': 'preferredCluster',
125
130
  'preferred_deployment_provider': 'preferredDeploymentProvider',
126
131
  'preferred_studio_provider': 'preferredStudioProvider',
127
132
  'start_studios_on_spot_instance': 'startStudiosOnSpotInstance',
133
+ 'storage_overuse_bytes': 'storageOveruseBytes',
134
+ 'storage_overuse_deletion_at': 'storageOveruseDeletionAt',
135
+ 'storage_overuse_notification_count': 'storageOveruseNotificationCount',
128
136
  'switch_to_default_machine_on_idle': 'switchToDefaultMachineOnIdle',
129
137
  'teamspace_default_credits': 'teamspaceDefaultCredits',
130
138
  'twitter_username': 'twitterUsername',
@@ -132,22 +140,16 @@ class V1Organization(object):
132
140
  'workload_max_run_duration': 'workloadMaxRunDuration'
133
141
  }
134
142
 
135
- 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_domain_validations: 'dict(str, V1AutoJoinDomainValidation)' =None, auto_join_domains: 'list[str]' =None, auto_replenish_amount: 'float' =None, auto_replenish_threshold: 'float' =None, auto_switch_machine: 'bool' =None, created_at: 'datetime' =None, default_machine_image_version: 'str' =None, default_machine_type: 'str' =None, description: 'str' =None, display_name: 'str' =None, domain: 'str' =None, email: 'str' =None, featured_gallery: 'bool' =None, full_story_end_date: 'datetime' =None, full_story_start_date: 'datetime' =None, general_teamspace: 'bool' =None, id: 'str' =None, location: 'str' =None, name: '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, updated_at: 'datetime' =None, workload_max_run_duration: 'str' =None): # noqa: E501
143
+ 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_domain_validations: 'dict(str, V1AutoJoinDomainValidation)' =None, auto_join_domains: 'list[str]' =None, auto_replenish_amount: 'float' =None, auto_replenish_threshold: 'float' =None, auto_switch_machine: 'bool' =None, created_at: 'datetime' =None, default_machine_image_version: 'str' =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, full_story_end_date: 'datetime' =None, full_story_start_date: 'datetime' =None, general_teamspace: 'bool' =None, id: 'str' =None, last_storage_overuse_notification_sent_at: 'datetime' =None, location: 'str' =None, name: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, start_studios_on_spot_instance: 'bool' =None, storage_overuse_bytes: 'str' =None, storage_overuse_deletion_at: 'datetime' =None, storage_overuse_notification_count: 'int' =None, switch_to_default_machine_on_idle: 'bool' =None, teamspace_default_credits: 'float' =None, twitter_username: 'str' =None, updated_at: 'datetime' =None, workload_max_run_duration: 'str' =None): # noqa: E501
136
144
  """V1Organization - a model defined in Swagger""" # noqa: E501
137
145
  self._alerts_config = None
138
- self._allow_aws_saas = None
139
146
  self._allow_budgeting = None
140
147
  self._allow_credits_auto_replenish = None
141
- self._allow_dgx_saas = None
142
148
  self._allow_external_project_duplication = None
143
- self._allow_gcp_saas = None
144
149
  self._allow_guest = None
145
- self._allow_lambda_saas = None
146
- self._allow_lightning_saas = None
147
150
  self._allow_marketplace = None
148
151
  self._allow_member_invitations = None
149
152
  self._allow_member_teamspace_creation = None
150
- self._allow_vultr_saas = None
151
153
  self._auto_invite_by_domain = None
152
154
  self._auto_join_domain_validations = None
153
155
  self._auto_join_domains = None
@@ -158,6 +160,12 @@ class V1Organization(object):
158
160
  self._default_machine_image_version = None
159
161
  self._default_machine_type = None
160
162
  self._description = None
163
+ self._disallow_aws_saas = None
164
+ self._disallow_dgx_saas = None
165
+ self._disallow_gcp_saas = None
166
+ self._disallow_lambda_saas = None
167
+ self._disallow_lightning_saas = None
168
+ self._disallow_vultr_saas = None
161
169
  self._display_name = None
162
170
  self._domain = None
163
171
  self._email = None
@@ -166,12 +174,16 @@ class V1Organization(object):
166
174
  self._full_story_start_date = None
167
175
  self._general_teamspace = None
168
176
  self._id = None
177
+ self._last_storage_overuse_notification_sent_at = None
169
178
  self._location = None
170
179
  self._name = None
171
180
  self._preferred_cluster = None
172
181
  self._preferred_deployment_provider = None
173
182
  self._preferred_studio_provider = None
174
183
  self._start_studios_on_spot_instance = None
184
+ self._storage_overuse_bytes = None
185
+ self._storage_overuse_deletion_at = None
186
+ self._storage_overuse_notification_count = None
175
187
  self._switch_to_default_machine_on_idle = None
176
188
  self._teamspace_default_credits = None
177
189
  self._twitter_username = None
@@ -180,32 +192,20 @@ class V1Organization(object):
180
192
  self.discriminator = None
181
193
  if alerts_config is not None:
182
194
  self.alerts_config = alerts_config
183
- if allow_aws_saas is not None:
184
- self.allow_aws_saas = allow_aws_saas
185
195
  if allow_budgeting is not None:
186
196
  self.allow_budgeting = allow_budgeting
187
197
  if allow_credits_auto_replenish is not None:
188
198
  self.allow_credits_auto_replenish = allow_credits_auto_replenish
189
- if allow_dgx_saas is not None:
190
- self.allow_dgx_saas = allow_dgx_saas
191
199
  if allow_external_project_duplication is not None:
192
200
  self.allow_external_project_duplication = allow_external_project_duplication
193
- if allow_gcp_saas is not None:
194
- self.allow_gcp_saas = allow_gcp_saas
195
201
  if allow_guest is not None:
196
202
  self.allow_guest = allow_guest
197
- if allow_lambda_saas is not None:
198
- self.allow_lambda_saas = allow_lambda_saas
199
- if allow_lightning_saas is not None:
200
- self.allow_lightning_saas = allow_lightning_saas
201
203
  if allow_marketplace is not None:
202
204
  self.allow_marketplace = allow_marketplace
203
205
  if allow_member_invitations is not None:
204
206
  self.allow_member_invitations = allow_member_invitations
205
207
  if allow_member_teamspace_creation is not None:
206
208
  self.allow_member_teamspace_creation = allow_member_teamspace_creation
207
- if allow_vultr_saas is not None:
208
- self.allow_vultr_saas = allow_vultr_saas
209
209
  if auto_invite_by_domain is not None:
210
210
  self.auto_invite_by_domain = auto_invite_by_domain
211
211
  if auto_join_domain_validations is not None:
@@ -226,6 +226,18 @@ class V1Organization(object):
226
226
  self.default_machine_type = default_machine_type
227
227
  if description is not None:
228
228
  self.description = description
229
+ if disallow_aws_saas is not None:
230
+ self.disallow_aws_saas = disallow_aws_saas
231
+ if disallow_dgx_saas is not None:
232
+ self.disallow_dgx_saas = disallow_dgx_saas
233
+ if disallow_gcp_saas is not None:
234
+ self.disallow_gcp_saas = disallow_gcp_saas
235
+ if disallow_lambda_saas is not None:
236
+ self.disallow_lambda_saas = disallow_lambda_saas
237
+ if disallow_lightning_saas is not None:
238
+ self.disallow_lightning_saas = disallow_lightning_saas
239
+ if disallow_vultr_saas is not None:
240
+ self.disallow_vultr_saas = disallow_vultr_saas
229
241
  if display_name is not None:
230
242
  self.display_name = display_name
231
243
  if domain is not None:
@@ -242,6 +254,8 @@ class V1Organization(object):
242
254
  self.general_teamspace = general_teamspace
243
255
  if id is not None:
244
256
  self.id = id
257
+ if last_storage_overuse_notification_sent_at is not None:
258
+ self.last_storage_overuse_notification_sent_at = last_storage_overuse_notification_sent_at
245
259
  if location is not None:
246
260
  self.location = location
247
261
  if name is not None:
@@ -254,6 +268,12 @@ class V1Organization(object):
254
268
  self.preferred_studio_provider = preferred_studio_provider
255
269
  if start_studios_on_spot_instance is not None:
256
270
  self.start_studios_on_spot_instance = start_studios_on_spot_instance
271
+ if storage_overuse_bytes is not None:
272
+ self.storage_overuse_bytes = storage_overuse_bytes
273
+ if storage_overuse_deletion_at is not None:
274
+ self.storage_overuse_deletion_at = storage_overuse_deletion_at
275
+ if storage_overuse_notification_count is not None:
276
+ self.storage_overuse_notification_count = storage_overuse_notification_count
257
277
  if switch_to_default_machine_on_idle is not None:
258
278
  self.switch_to_default_machine_on_idle = switch_to_default_machine_on_idle
259
279
  if teamspace_default_credits is not None:
@@ -286,27 +306,6 @@ class V1Organization(object):
286
306
 
287
307
  self._alerts_config = alerts_config
288
308
 
289
- @property
290
- def allow_aws_saas(self) -> 'bool':
291
- """Gets the allow_aws_saas of this V1Organization. # noqa: E501
292
-
293
-
294
- :return: The allow_aws_saas of this V1Organization. # noqa: E501
295
- :rtype: bool
296
- """
297
- return self._allow_aws_saas
298
-
299
- @allow_aws_saas.setter
300
- def allow_aws_saas(self, allow_aws_saas: 'bool'):
301
- """Sets the allow_aws_saas of this V1Organization.
302
-
303
-
304
- :param allow_aws_saas: The allow_aws_saas of this V1Organization. # noqa: E501
305
- :type: bool
306
- """
307
-
308
- self._allow_aws_saas = allow_aws_saas
309
-
310
309
  @property
311
310
  def allow_budgeting(self) -> 'bool':
312
311
  """Gets the allow_budgeting of this V1Organization. # noqa: E501
@@ -349,27 +348,6 @@ class V1Organization(object):
349
348
 
350
349
  self._allow_credits_auto_replenish = allow_credits_auto_replenish
351
350
 
352
- @property
353
- def allow_dgx_saas(self) -> 'bool':
354
- """Gets the allow_dgx_saas of this V1Organization. # noqa: E501
355
-
356
-
357
- :return: The allow_dgx_saas of this V1Organization. # noqa: E501
358
- :rtype: bool
359
- """
360
- return self._allow_dgx_saas
361
-
362
- @allow_dgx_saas.setter
363
- def allow_dgx_saas(self, allow_dgx_saas: 'bool'):
364
- """Sets the allow_dgx_saas of this V1Organization.
365
-
366
-
367
- :param allow_dgx_saas: The allow_dgx_saas of this V1Organization. # noqa: E501
368
- :type: bool
369
- """
370
-
371
- self._allow_dgx_saas = allow_dgx_saas
372
-
373
351
  @property
374
352
  def allow_external_project_duplication(self) -> 'bool':
375
353
  """Gets the allow_external_project_duplication of this V1Organization. # noqa: E501
@@ -393,27 +371,6 @@ class V1Organization(object):
393
371
 
394
372
  self._allow_external_project_duplication = allow_external_project_duplication
395
373
 
396
- @property
397
- def allow_gcp_saas(self) -> 'bool':
398
- """Gets the allow_gcp_saas of this V1Organization. # noqa: E501
399
-
400
-
401
- :return: The allow_gcp_saas of this V1Organization. # noqa: E501
402
- :rtype: bool
403
- """
404
- return self._allow_gcp_saas
405
-
406
- @allow_gcp_saas.setter
407
- def allow_gcp_saas(self, allow_gcp_saas: 'bool'):
408
- """Sets the allow_gcp_saas of this V1Organization.
409
-
410
-
411
- :param allow_gcp_saas: The allow_gcp_saas of this V1Organization. # noqa: E501
412
- :type: bool
413
- """
414
-
415
- self._allow_gcp_saas = allow_gcp_saas
416
-
417
374
  @property
418
375
  def allow_guest(self) -> 'bool':
419
376
  """Gets the allow_guest of this V1Organization. # noqa: E501
@@ -435,48 +392,6 @@ class V1Organization(object):
435
392
 
436
393
  self._allow_guest = allow_guest
437
394
 
438
- @property
439
- def allow_lambda_saas(self) -> 'bool':
440
- """Gets the allow_lambda_saas of this V1Organization. # noqa: E501
441
-
442
-
443
- :return: The allow_lambda_saas of this V1Organization. # noqa: E501
444
- :rtype: bool
445
- """
446
- return self._allow_lambda_saas
447
-
448
- @allow_lambda_saas.setter
449
- def allow_lambda_saas(self, allow_lambda_saas: 'bool'):
450
- """Sets the allow_lambda_saas of this V1Organization.
451
-
452
-
453
- :param allow_lambda_saas: The allow_lambda_saas of this V1Organization. # noqa: E501
454
- :type: bool
455
- """
456
-
457
- self._allow_lambda_saas = allow_lambda_saas
458
-
459
- @property
460
- def allow_lightning_saas(self) -> 'bool':
461
- """Gets the allow_lightning_saas of this V1Organization. # noqa: E501
462
-
463
-
464
- :return: The allow_lightning_saas of this V1Organization. # noqa: E501
465
- :rtype: bool
466
- """
467
- return self._allow_lightning_saas
468
-
469
- @allow_lightning_saas.setter
470
- def allow_lightning_saas(self, allow_lightning_saas: 'bool'):
471
- """Sets the allow_lightning_saas of this V1Organization.
472
-
473
-
474
- :param allow_lightning_saas: The allow_lightning_saas of this V1Organization. # noqa: E501
475
- :type: bool
476
- """
477
-
478
- self._allow_lightning_saas = allow_lightning_saas
479
-
480
395
  @property
481
396
  def allow_marketplace(self) -> 'bool':
482
397
  """Gets the allow_marketplace of this V1Organization. # noqa: E501
@@ -540,27 +455,6 @@ class V1Organization(object):
540
455
 
541
456
  self._allow_member_teamspace_creation = allow_member_teamspace_creation
542
457
 
543
- @property
544
- def allow_vultr_saas(self) -> 'bool':
545
- """Gets the allow_vultr_saas of this V1Organization. # noqa: E501
546
-
547
-
548
- :return: The allow_vultr_saas of this V1Organization. # noqa: E501
549
- :rtype: bool
550
- """
551
- return self._allow_vultr_saas
552
-
553
- @allow_vultr_saas.setter
554
- def allow_vultr_saas(self, allow_vultr_saas: 'bool'):
555
- """Sets the allow_vultr_saas of this V1Organization.
556
-
557
-
558
- :param allow_vultr_saas: The allow_vultr_saas of this V1Organization. # noqa: E501
559
- :type: bool
560
- """
561
-
562
- self._allow_vultr_saas = allow_vultr_saas
563
-
564
458
  @property
565
459
  def auto_invite_by_domain(self) -> 'bool':
566
460
  """Gets the auto_invite_by_domain of this V1Organization. # noqa: E501
@@ -771,6 +665,132 @@ class V1Organization(object):
771
665
 
772
666
  self._description = description
773
667
 
668
+ @property
669
+ def disallow_aws_saas(self) -> 'bool':
670
+ """Gets the disallow_aws_saas of this V1Organization. # noqa: E501
671
+
672
+
673
+ :return: The disallow_aws_saas of this V1Organization. # noqa: E501
674
+ :rtype: bool
675
+ """
676
+ return self._disallow_aws_saas
677
+
678
+ @disallow_aws_saas.setter
679
+ def disallow_aws_saas(self, disallow_aws_saas: 'bool'):
680
+ """Sets the disallow_aws_saas of this V1Organization.
681
+
682
+
683
+ :param disallow_aws_saas: The disallow_aws_saas of this V1Organization. # noqa: E501
684
+ :type: bool
685
+ """
686
+
687
+ self._disallow_aws_saas = disallow_aws_saas
688
+
689
+ @property
690
+ def disallow_dgx_saas(self) -> 'bool':
691
+ """Gets the disallow_dgx_saas of this V1Organization. # noqa: E501
692
+
693
+
694
+ :return: The disallow_dgx_saas of this V1Organization. # noqa: E501
695
+ :rtype: bool
696
+ """
697
+ return self._disallow_dgx_saas
698
+
699
+ @disallow_dgx_saas.setter
700
+ def disallow_dgx_saas(self, disallow_dgx_saas: 'bool'):
701
+ """Sets the disallow_dgx_saas of this V1Organization.
702
+
703
+
704
+ :param disallow_dgx_saas: The disallow_dgx_saas of this V1Organization. # noqa: E501
705
+ :type: bool
706
+ """
707
+
708
+ self._disallow_dgx_saas = disallow_dgx_saas
709
+
710
+ @property
711
+ def disallow_gcp_saas(self) -> 'bool':
712
+ """Gets the disallow_gcp_saas of this V1Organization. # noqa: E501
713
+
714
+
715
+ :return: The disallow_gcp_saas of this V1Organization. # noqa: E501
716
+ :rtype: bool
717
+ """
718
+ return self._disallow_gcp_saas
719
+
720
+ @disallow_gcp_saas.setter
721
+ def disallow_gcp_saas(self, disallow_gcp_saas: 'bool'):
722
+ """Sets the disallow_gcp_saas of this V1Organization.
723
+
724
+
725
+ :param disallow_gcp_saas: The disallow_gcp_saas of this V1Organization. # noqa: E501
726
+ :type: bool
727
+ """
728
+
729
+ self._disallow_gcp_saas = disallow_gcp_saas
730
+
731
+ @property
732
+ def disallow_lambda_saas(self) -> 'bool':
733
+ """Gets the disallow_lambda_saas of this V1Organization. # noqa: E501
734
+
735
+
736
+ :return: The disallow_lambda_saas of this V1Organization. # noqa: E501
737
+ :rtype: bool
738
+ """
739
+ return self._disallow_lambda_saas
740
+
741
+ @disallow_lambda_saas.setter
742
+ def disallow_lambda_saas(self, disallow_lambda_saas: 'bool'):
743
+ """Sets the disallow_lambda_saas of this V1Organization.
744
+
745
+
746
+ :param disallow_lambda_saas: The disallow_lambda_saas of this V1Organization. # noqa: E501
747
+ :type: bool
748
+ """
749
+
750
+ self._disallow_lambda_saas = disallow_lambda_saas
751
+
752
+ @property
753
+ def disallow_lightning_saas(self) -> 'bool':
754
+ """Gets the disallow_lightning_saas of this V1Organization. # noqa: E501
755
+
756
+
757
+ :return: The disallow_lightning_saas of this V1Organization. # noqa: E501
758
+ :rtype: bool
759
+ """
760
+ return self._disallow_lightning_saas
761
+
762
+ @disallow_lightning_saas.setter
763
+ def disallow_lightning_saas(self, disallow_lightning_saas: 'bool'):
764
+ """Sets the disallow_lightning_saas of this V1Organization.
765
+
766
+
767
+ :param disallow_lightning_saas: The disallow_lightning_saas of this V1Organization. # noqa: E501
768
+ :type: bool
769
+ """
770
+
771
+ self._disallow_lightning_saas = disallow_lightning_saas
772
+
773
+ @property
774
+ def disallow_vultr_saas(self) -> 'bool':
775
+ """Gets the disallow_vultr_saas of this V1Organization. # noqa: E501
776
+
777
+
778
+ :return: The disallow_vultr_saas of this V1Organization. # noqa: E501
779
+ :rtype: bool
780
+ """
781
+ return self._disallow_vultr_saas
782
+
783
+ @disallow_vultr_saas.setter
784
+ def disallow_vultr_saas(self, disallow_vultr_saas: 'bool'):
785
+ """Sets the disallow_vultr_saas of this V1Organization.
786
+
787
+
788
+ :param disallow_vultr_saas: The disallow_vultr_saas of this V1Organization. # noqa: E501
789
+ :type: bool
790
+ """
791
+
792
+ self._disallow_vultr_saas = disallow_vultr_saas
793
+
774
794
  @property
775
795
  def display_name(self) -> 'str':
776
796
  """Gets the display_name of this V1Organization. # noqa: E501
@@ -939,6 +959,27 @@ class V1Organization(object):
939
959
 
940
960
  self._id = id
941
961
 
962
+ @property
963
+ def last_storage_overuse_notification_sent_at(self) -> 'datetime':
964
+ """Gets the last_storage_overuse_notification_sent_at of this V1Organization. # noqa: E501
965
+
966
+
967
+ :return: The last_storage_overuse_notification_sent_at of this V1Organization. # noqa: E501
968
+ :rtype: datetime
969
+ """
970
+ return self._last_storage_overuse_notification_sent_at
971
+
972
+ @last_storage_overuse_notification_sent_at.setter
973
+ def last_storage_overuse_notification_sent_at(self, last_storage_overuse_notification_sent_at: 'datetime'):
974
+ """Sets the last_storage_overuse_notification_sent_at of this V1Organization.
975
+
976
+
977
+ :param last_storage_overuse_notification_sent_at: The last_storage_overuse_notification_sent_at of this V1Organization. # noqa: E501
978
+ :type: datetime
979
+ """
980
+
981
+ self._last_storage_overuse_notification_sent_at = last_storage_overuse_notification_sent_at
982
+
942
983
  @property
943
984
  def location(self) -> 'str':
944
985
  """Gets the location of this V1Organization. # noqa: E501
@@ -1065,6 +1106,69 @@ class V1Organization(object):
1065
1106
 
1066
1107
  self._start_studios_on_spot_instance = start_studios_on_spot_instance
1067
1108
 
1109
+ @property
1110
+ def storage_overuse_bytes(self) -> 'str':
1111
+ """Gets the storage_overuse_bytes of this V1Organization. # noqa: E501
1112
+
1113
+
1114
+ :return: The storage_overuse_bytes of this V1Organization. # noqa: E501
1115
+ :rtype: str
1116
+ """
1117
+ return self._storage_overuse_bytes
1118
+
1119
+ @storage_overuse_bytes.setter
1120
+ def storage_overuse_bytes(self, storage_overuse_bytes: 'str'):
1121
+ """Sets the storage_overuse_bytes of this V1Organization.
1122
+
1123
+
1124
+ :param storage_overuse_bytes: The storage_overuse_bytes of this V1Organization. # noqa: E501
1125
+ :type: str
1126
+ """
1127
+
1128
+ self._storage_overuse_bytes = storage_overuse_bytes
1129
+
1130
+ @property
1131
+ def storage_overuse_deletion_at(self) -> 'datetime':
1132
+ """Gets the storage_overuse_deletion_at of this V1Organization. # noqa: E501
1133
+
1134
+
1135
+ :return: The storage_overuse_deletion_at of this V1Organization. # noqa: E501
1136
+ :rtype: datetime
1137
+ """
1138
+ return self._storage_overuse_deletion_at
1139
+
1140
+ @storage_overuse_deletion_at.setter
1141
+ def storage_overuse_deletion_at(self, storage_overuse_deletion_at: 'datetime'):
1142
+ """Sets the storage_overuse_deletion_at of this V1Organization.
1143
+
1144
+
1145
+ :param storage_overuse_deletion_at: The storage_overuse_deletion_at of this V1Organization. # noqa: E501
1146
+ :type: datetime
1147
+ """
1148
+
1149
+ self._storage_overuse_deletion_at = storage_overuse_deletion_at
1150
+
1151
+ @property
1152
+ def storage_overuse_notification_count(self) -> 'int':
1153
+ """Gets the storage_overuse_notification_count of this V1Organization. # noqa: E501
1154
+
1155
+
1156
+ :return: The storage_overuse_notification_count of this V1Organization. # noqa: E501
1157
+ :rtype: int
1158
+ """
1159
+ return self._storage_overuse_notification_count
1160
+
1161
+ @storage_overuse_notification_count.setter
1162
+ def storage_overuse_notification_count(self, storage_overuse_notification_count: 'int'):
1163
+ """Sets the storage_overuse_notification_count of this V1Organization.
1164
+
1165
+
1166
+ :param storage_overuse_notification_count: The storage_overuse_notification_count of this V1Organization. # noqa: E501
1167
+ :type: int
1168
+ """
1169
+
1170
+ self._storage_overuse_notification_count = storage_overuse_notification_count
1171
+
1068
1172
  @property
1069
1173
  def switch_to_default_machine_on_idle(self) -> 'bool':
1070
1174
  """Gets the switch_to_default_machine_on_idle of this V1Organization. # noqa: E501
@@ -41,6 +41,7 @@ class V1ProductLicense(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
+ 'active': 'bool',
44
45
  'created_at': 'datetime',
45
46
  'expires_at': 'datetime',
46
47
  'is_valid': 'bool',
@@ -56,6 +57,7 @@ class V1ProductLicense(object):
56
57
  }
57
58
 
58
59
  attribute_map = {
60
+ 'active': 'active',
59
61
  'created_at': 'createdAt',
60
62
  'expires_at': 'expiresAt',
61
63
  'is_valid': 'isValid',
@@ -70,8 +72,9 @@ class V1ProductLicense(object):
70
72
  'updated_at': 'updatedAt'
71
73
  }
72
74
 
73
- def __init__(self, created_at: 'datetime' =None, expires_at: 'datetime' =None, is_valid: 'bool' =None, license_id: 'str' =None, license_key: 'str' =None, license_type: 'str' =None, owner_name: 'str' =None, owner_type: 'str' =None, product_name: 'str' =None, product_type: 'str' =None, product_version: 'str' =None, updated_at: 'datetime' =None): # noqa: E501
75
+ def __init__(self, active: 'bool' =None, created_at: 'datetime' =None, expires_at: 'datetime' =None, is_valid: 'bool' =None, license_id: 'str' =None, license_key: 'str' =None, license_type: 'str' =None, owner_name: 'str' =None, owner_type: 'str' =None, product_name: 'str' =None, product_type: 'str' =None, product_version: 'str' =None, updated_at: 'datetime' =None): # noqa: E501
74
76
  """V1ProductLicense - a model defined in Swagger""" # noqa: E501
77
+ self._active = None
75
78
  self._created_at = None
76
79
  self._expires_at = None
77
80
  self._is_valid = None
@@ -85,6 +88,8 @@ class V1ProductLicense(object):
85
88
  self._product_version = None
86
89
  self._updated_at = None
87
90
  self.discriminator = None
91
+ if active is not None:
92
+ self.active = active
88
93
  if created_at is not None:
89
94
  self.created_at = created_at
90
95
  if expires_at is not None:
@@ -110,6 +115,27 @@ class V1ProductLicense(object):
110
115
  if updated_at is not None:
111
116
  self.updated_at = updated_at
112
117
 
118
+ @property
119
+ def active(self) -> 'bool':
120
+ """Gets the active of this V1ProductLicense. # noqa: E501
121
+
122
+
123
+ :return: The active of this V1ProductLicense. # noqa: E501
124
+ :rtype: bool
125
+ """
126
+ return self._active
127
+
128
+ @active.setter
129
+ def active(self, active: 'bool'):
130
+ """Sets the active of this V1ProductLicense.
131
+
132
+
133
+ :param active: The active of this V1ProductLicense. # noqa: E501
134
+ :type: bool
135
+ """
136
+
137
+ self._active = active
138
+
113
139
  @property
114
140
  def created_at(self) -> 'datetime':
115
141
  """Gets the created_at of this V1ProductLicense. # noqa: E501