lightning-sdk 0.2.17__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.
Files changed (48) hide show
  1. lightning_sdk/__init__.py +1 -1
  2. lightning_sdk/api/deployment_api.py +2 -0
  3. lightning_sdk/api/llm_api.py +3 -2
  4. lightning_sdk/deployment/deployment.py +2 -0
  5. lightning_sdk/lightning_cloud/openapi/__init__.py +8 -0
  6. lightning_sdk/lightning_cloud/openapi/api/__init__.py +1 -0
  7. lightning_sdk/lightning_cloud/openapi/api/blog_posts_service_api.py +533 -0
  8. lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +113 -0
  9. lightning_sdk/lightning_cloud/openapi/models/__init__.py +7 -0
  10. lightning_sdk/lightning_cloud/openapi/models/blogposts_id_body.py +253 -0
  11. lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py +27 -1
  12. lightning_sdk/lightning_cloud/openapi/models/id_transfer_body.py +123 -0
  13. lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +157 -157
  14. lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +79 -1
  15. lightning_sdk/lightning_cloud/openapi/models/v1_blog_post.py +331 -0
  16. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template.py +27 -1
  17. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template_config.py +27 -1
  18. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_state.py +1 -0
  19. lightning_sdk/lightning_cloud/openapi/models/v1_create_blog_post_request.py +253 -0
  20. lightning_sdk/lightning_cloud/openapi/models/v1_daily_usage.py +81 -3
  21. lightning_sdk/lightning_cloud/openapi/models/v1_delete_blog_post_response.py +123 -0
  22. lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +27 -1
  23. lightning_sdk/lightning_cloud/openapi/models/v1_get_organization_storage_metadata_response.py +79 -1
  24. lightning_sdk/lightning_cloud/openapi/models/v1_get_project_storage_metadata_response.py +133 -3
  25. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_breakdown_response.py +27 -1
  26. lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1.py +41 -15
  27. lightning_sdk/lightning_cloud/openapi/models/v1_list_blog_posts_response.py +175 -0
  28. lightning_sdk/lightning_cloud/openapi/models/v1_message.py +27 -1
  29. lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +157 -157
  30. lightning_sdk/lightning_cloud/openapi/models/v1_product_license.py +27 -1
  31. lightning_sdk/lightning_cloud/openapi/models/v1_project.py +41 -15
  32. lightning_sdk/lightning_cloud/openapi/models/v1_project_membership.py +27 -1
  33. lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +79 -1
  34. lightning_sdk/lightning_cloud/openapi/models/v1_project_storage.py +79 -27
  35. lightning_sdk/lightning_cloud/openapi/models/v1_rule_resource.py +1 -0
  36. lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset_type.py +2 -0
  37. lightning_sdk/lightning_cloud/openapi/models/v1_transfer_cloud_space_response.py +97 -0
  38. lightning_sdk/lightning_cloud/openapi/models/v1_usage.py +79 -1
  39. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +223 -67
  40. lightning_sdk/llm/llm.py +0 -2
  41. lightning_sdk/serve.py +1 -0
  42. lightning_sdk/services/license.py +87 -22
  43. {lightning_sdk-0.2.17.dist-info → lightning_sdk-0.2.19.dist-info}/METADATA +1 -1
  44. {lightning_sdk-0.2.17.dist-info → lightning_sdk-0.2.19.dist-info}/RECORD +48 -40
  45. {lightning_sdk-0.2.17.dist-info → lightning_sdk-0.2.19.dist-info}/LICENSE +0 -0
  46. {lightning_sdk-0.2.17.dist-info → lightning_sdk-0.2.19.dist-info}/WHEEL +0 -0
  47. {lightning_sdk-0.2.17.dist-info → lightning_sdk-0.2.19.dist-info}/entry_points.txt +0 -0
  48. {lightning_sdk-0.2.17.dist-info → lightning_sdk-0.2.19.dist-info}/top_level.txt +0 -0
@@ -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
@@ -44,9 +44,10 @@ class V1Project(object):
44
44
  'abac_enabled': 'bool',
45
45
  'created_at': 'datetime',
46
46
  'creator_id': 'str',
47
+ 'current_storage_bytes': 'str',
47
48
  'description': 'str',
48
49
  'display_name': 'str',
49
- 'gcp_bucket_name': 'str',
50
+ 'free_storage_bytes': 'str',
50
51
  'id': 'str',
51
52
  'is_default': 'bool',
52
53
  'lock_out_uploads': 'bool',
@@ -65,9 +66,10 @@ class V1Project(object):
65
66
  'abac_enabled': 'abacEnabled',
66
67
  'created_at': 'createdAt',
67
68
  'creator_id': 'creatorId',
69
+ 'current_storage_bytes': 'currentStorageBytes',
68
70
  'description': 'description',
69
71
  'display_name': 'displayName',
70
- 'gcp_bucket_name': 'gcpBucketName',
72
+ 'free_storage_bytes': 'freeStorageBytes',
71
73
  'id': 'id',
72
74
  'is_default': 'isDefault',
73
75
  'lock_out_uploads': 'lockOutUploads',
@@ -82,14 +84,15 @@ class V1Project(object):
82
84
  'updated_at': 'updatedAt'
83
85
  }
84
86
 
85
- def __init__(self, abac_enabled: 'bool' =None, created_at: 'datetime' =None, creator_id: 'str' =None, description: 'str' =None, display_name: 'str' =None, gcp_bucket_name: 'str' =None, id: 'str' =None, is_default: 'bool' =None, lock_out_uploads: 'bool' =None, name: 'str' =None, number_of_files_uploads: 'str' =None, owner_id: 'str' =None, owner_type: 'V1OwnerType' =None, private: 'bool' =None, project_settings: 'V1ProjectSettings' =None, quotas: 'V1Quotas' =None, total_size_uploads_bytes: 'str' =None, updated_at: 'datetime' =None): # noqa: E501
87
+ def __init__(self, abac_enabled: 'bool' =None, created_at: 'datetime' =None, creator_id: 'str' =None, current_storage_bytes: 'str' =None, description: 'str' =None, display_name: 'str' =None, free_storage_bytes: 'str' =None, id: 'str' =None, is_default: 'bool' =None, lock_out_uploads: 'bool' =None, name: 'str' =None, number_of_files_uploads: 'str' =None, owner_id: 'str' =None, owner_type: 'V1OwnerType' =None, private: 'bool' =None, project_settings: 'V1ProjectSettings' =None, quotas: 'V1Quotas' =None, total_size_uploads_bytes: 'str' =None, updated_at: 'datetime' =None): # noqa: E501
86
88
  """V1Project - a model defined in Swagger""" # noqa: E501
87
89
  self._abac_enabled = None
88
90
  self._created_at = None
89
91
  self._creator_id = None
92
+ self._current_storage_bytes = None
90
93
  self._description = None
91
94
  self._display_name = None
92
- self._gcp_bucket_name = None
95
+ self._free_storage_bytes = None
93
96
  self._id = None
94
97
  self._is_default = None
95
98
  self._lock_out_uploads = None
@@ -109,12 +112,14 @@ class V1Project(object):
109
112
  self.created_at = created_at
110
113
  if creator_id is not None:
111
114
  self.creator_id = creator_id
115
+ if current_storage_bytes is not None:
116
+ self.current_storage_bytes = current_storage_bytes
112
117
  if description is not None:
113
118
  self.description = description
114
119
  if display_name is not None:
115
120
  self.display_name = display_name
116
- if gcp_bucket_name is not None:
117
- self.gcp_bucket_name = gcp_bucket_name
121
+ if free_storage_bytes is not None:
122
+ self.free_storage_bytes = free_storage_bytes
118
123
  if id is not None:
119
124
  self.id = id
120
125
  if is_default is not None:
@@ -203,6 +208,27 @@ class V1Project(object):
203
208
 
204
209
  self._creator_id = creator_id
205
210
 
211
+ @property
212
+ def current_storage_bytes(self) -> 'str':
213
+ """Gets the current_storage_bytes of this V1Project. # noqa: E501
214
+
215
+
216
+ :return: The current_storage_bytes of this V1Project. # noqa: E501
217
+ :rtype: str
218
+ """
219
+ return self._current_storage_bytes
220
+
221
+ @current_storage_bytes.setter
222
+ def current_storage_bytes(self, current_storage_bytes: 'str'):
223
+ """Sets the current_storage_bytes of this V1Project.
224
+
225
+
226
+ :param current_storage_bytes: The current_storage_bytes of this V1Project. # noqa: E501
227
+ :type: str
228
+ """
229
+
230
+ self._current_storage_bytes = current_storage_bytes
231
+
206
232
  @property
207
233
  def description(self) -> 'str':
208
234
  """Gets the description of this V1Project. # noqa: E501
@@ -246,25 +272,25 @@ class V1Project(object):
246
272
  self._display_name = display_name
247
273
 
248
274
  @property
249
- def gcp_bucket_name(self) -> 'str':
250
- """Gets the gcp_bucket_name of this V1Project. # noqa: E501
275
+ def free_storage_bytes(self) -> 'str':
276
+ """Gets the free_storage_bytes of this V1Project. # noqa: E501
251
277
 
252
278
 
253
- :return: The gcp_bucket_name of this V1Project. # noqa: E501
279
+ :return: The free_storage_bytes of this V1Project. # noqa: E501
254
280
  :rtype: str
255
281
  """
256
- return self._gcp_bucket_name
282
+ return self._free_storage_bytes
257
283
 
258
- @gcp_bucket_name.setter
259
- def gcp_bucket_name(self, gcp_bucket_name: 'str'):
260
- """Sets the gcp_bucket_name of this V1Project.
284
+ @free_storage_bytes.setter
285
+ def free_storage_bytes(self, free_storage_bytes: 'str'):
286
+ """Sets the free_storage_bytes of this V1Project.
261
287
 
262
288
 
263
- :param gcp_bucket_name: The gcp_bucket_name of this V1Project. # noqa: E501
289
+ :param free_storage_bytes: The free_storage_bytes of this V1Project. # noqa: E501
264
290
  :type: str
265
291
  """
266
292
 
267
- self._gcp_bucket_name = gcp_bucket_name
293
+ self._free_storage_bytes = free_storage_bytes
268
294
 
269
295
  @property
270
296
  def id(self) -> 'str':
@@ -52,6 +52,7 @@ class V1ProjectMembership(object):
52
52
  'email': 'str',
53
53
  'first_name': 'str',
54
54
  'free_credits_enabled': 'bool',
55
+ 'free_storage_bytes': 'str',
55
56
  'inactive': 'bool',
56
57
  'is_default': 'bool',
57
58
  'job_count': 'str',
@@ -83,6 +84,7 @@ class V1ProjectMembership(object):
83
84
  'email': 'email',
84
85
  'first_name': 'firstName',
85
86
  'free_credits_enabled': 'freeCreditsEnabled',
87
+ 'free_storage_bytes': 'freeStorageBytes',
86
88
  'inactive': 'inactive',
87
89
  'is_default': 'isDefault',
88
90
  'job_count': 'jobCount',
@@ -102,7 +104,7 @@ class V1ProjectMembership(object):
102
104
  'username': 'username'
103
105
  }
104
106
 
105
- def __init__(self, avatar_url: 'str' =None, balance: 'float' =None, created_at: 'datetime' =None, creator_id: 'str' =None, current_storage_bytes: 'str' =None, datastore_count: 'str' =None, description: 'str' =None, display_name: 'str' =None, email: 'str' =None, first_name: 'str' =None, free_credits_enabled: 'bool' =None, inactive: 'bool' =None, is_default: 'bool' =None, job_count: 'str' =None, job_title: 'str' =None, last_name: 'str' =None, membership_count: 'str' =None, name: 'str' =None, next_free_credits_grant: 'str' =None, organization: 'str' =None, owner_id: 'str' =None, owner_type: 'V1OwnerType' =None, project_id: 'str' =None, quotas: 'V1Quotas' =None, roles: 'list[V1Role]' =None, updated_at: 'datetime' =None, user_id: 'str' =None, username: 'str' =None): # noqa: E501
107
+ def __init__(self, avatar_url: 'str' =None, balance: 'float' =None, created_at: 'datetime' =None, creator_id: 'str' =None, current_storage_bytes: 'str' =None, datastore_count: 'str' =None, description: 'str' =None, display_name: 'str' =None, email: 'str' =None, first_name: 'str' =None, free_credits_enabled: 'bool' =None, free_storage_bytes: 'str' =None, inactive: 'bool' =None, is_default: 'bool' =None, job_count: 'str' =None, job_title: 'str' =None, last_name: 'str' =None, membership_count: 'str' =None, name: 'str' =None, next_free_credits_grant: 'str' =None, organization: 'str' =None, owner_id: 'str' =None, owner_type: 'V1OwnerType' =None, project_id: 'str' =None, quotas: 'V1Quotas' =None, roles: 'list[V1Role]' =None, updated_at: 'datetime' =None, user_id: 'str' =None, username: 'str' =None): # noqa: E501
106
108
  """V1ProjectMembership - a model defined in Swagger""" # noqa: E501
107
109
  self._avatar_url = None
108
110
  self._balance = None
@@ -115,6 +117,7 @@ class V1ProjectMembership(object):
115
117
  self._email = None
116
118
  self._first_name = None
117
119
  self._free_credits_enabled = None
120
+ self._free_storage_bytes = None
118
121
  self._inactive = None
119
122
  self._is_default = None
120
123
  self._job_count = None
@@ -155,6 +158,8 @@ class V1ProjectMembership(object):
155
158
  self.first_name = first_name
156
159
  if free_credits_enabled is not None:
157
160
  self.free_credits_enabled = free_credits_enabled
161
+ if free_storage_bytes is not None:
162
+ self.free_storage_bytes = free_storage_bytes
158
163
  if inactive is not None:
159
164
  self.inactive = inactive
160
165
  if is_default is not None:
@@ -421,6 +426,27 @@ class V1ProjectMembership(object):
421
426
 
422
427
  self._free_credits_enabled = free_credits_enabled
423
428
 
429
+ @property
430
+ def free_storage_bytes(self) -> 'str':
431
+ """Gets the free_storage_bytes of this V1ProjectMembership. # noqa: E501
432
+
433
+
434
+ :return: The free_storage_bytes of this V1ProjectMembership. # noqa: E501
435
+ :rtype: str
436
+ """
437
+ return self._free_storage_bytes
438
+
439
+ @free_storage_bytes.setter
440
+ def free_storage_bytes(self, free_storage_bytes: 'str'):
441
+ """Sets the free_storage_bytes of this V1ProjectMembership.
442
+
443
+
444
+ :param free_storage_bytes: The free_storage_bytes of this V1ProjectMembership. # noqa: E501
445
+ :type: str
446
+ """
447
+
448
+ self._free_storage_bytes = free_storage_bytes
449
+
424
450
  @property
425
451
  def inactive(self) -> 'bool':
426
452
  """Gets the inactive of this V1ProjectMembership. # noqa: E501
@@ -42,12 +42,15 @@ class V1ProjectSettings(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_image_version': 'str',
53
56
  'default_machine_type': 'str',
@@ -61,12 +64,15 @@ class V1ProjectSettings(object):
61
64
 
62
65
  attribute_map = {
63
66
  'allow_aws_saas': 'allowAwsSaas',
67
+ 'allow_credits_auto_replenish': 'allowCreditsAutoReplenish',
64
68
  'allow_dgx_saas': 'allowDgxSaas',
65
69
  'allow_external_project_duplication': 'allowExternalProjectDuplication',
66
70
  'allow_gcp_saas': 'allowGcpSaas',
67
71
  'allow_lambda_saas': 'allowLambdaSaas',
68
72
  'allow_lightning_saas': 'allowLightningSaas',
69
73
  'allow_vultr_saas': 'allowVultrSaas',
74
+ 'auto_replenish_amount': 'autoReplenishAmount',
75
+ 'auto_replenish_threshold': 'autoReplenishThreshold',
70
76
  'auto_switch_machine': 'autoSwitchMachine',
71
77
  'default_machine_image_version': 'defaultMachineImageVersion',
72
78
  'default_machine_type': 'defaultMachineType',
@@ -78,15 +84,18 @@ class V1ProjectSettings(object):
78
84
  'switch_to_default_machine_on_idle': 'switchToDefaultMachineOnIdle'
79
85
  }
80
86
 
81
- 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_image_version: 'str' =None, default_machine_type: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, same_compute_on_resume: 'bool' =None, start_studio_on_spot_instance: 'bool' =None, switch_to_default_machine_on_idle: 'bool' =None): # noqa: E501
87
+ 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_image_version: 'str' =None, default_machine_type: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, same_compute_on_resume: 'bool' =None, start_studio_on_spot_instance: 'bool' =None, switch_to_default_machine_on_idle: 'bool' =None): # noqa: E501
82
88
  """V1ProjectSettings - a model defined in Swagger""" # noqa: E501
83
89
  self._allow_aws_saas = None
90
+ self._allow_credits_auto_replenish = None
84
91
  self._allow_dgx_saas = None
85
92
  self._allow_external_project_duplication = None
86
93
  self._allow_gcp_saas = None
87
94
  self._allow_lambda_saas = None
88
95
  self._allow_lightning_saas = None
89
96
  self._allow_vultr_saas = None
97
+ self._auto_replenish_amount = None
98
+ self._auto_replenish_threshold = None
90
99
  self._auto_switch_machine = None
91
100
  self._default_machine_image_version = None
92
101
  self._default_machine_type = None
@@ -99,6 +108,8 @@ class V1ProjectSettings(object):
99
108
  self.discriminator = None
100
109
  if allow_aws_saas is not None:
101
110
  self.allow_aws_saas = allow_aws_saas
111
+ if allow_credits_auto_replenish is not None:
112
+ self.allow_credits_auto_replenish = allow_credits_auto_replenish
102
113
  if allow_dgx_saas is not None:
103
114
  self.allow_dgx_saas = allow_dgx_saas
104
115
  if allow_external_project_duplication is not None:
@@ -111,6 +122,10 @@ class V1ProjectSettings(object):
111
122
  self.allow_lightning_saas = allow_lightning_saas
112
123
  if allow_vultr_saas is not None:
113
124
  self.allow_vultr_saas = allow_vultr_saas
125
+ if auto_replenish_amount is not None:
126
+ self.auto_replenish_amount = auto_replenish_amount
127
+ if auto_replenish_threshold is not None:
128
+ self.auto_replenish_threshold = auto_replenish_threshold
114
129
  if auto_switch_machine is not None:
115
130
  self.auto_switch_machine = auto_switch_machine
116
131
  if default_machine_image_version is not None:
@@ -151,6 +166,27 @@ class V1ProjectSettings(object):
151
166
 
152
167
  self._allow_aws_saas = allow_aws_saas
153
168
 
169
+ @property
170
+ def allow_credits_auto_replenish(self) -> 'bool':
171
+ """Gets the allow_credits_auto_replenish of this V1ProjectSettings. # noqa: E501
172
+
173
+
174
+ :return: The allow_credits_auto_replenish of this V1ProjectSettings. # noqa: E501
175
+ :rtype: bool
176
+ """
177
+ return self._allow_credits_auto_replenish
178
+
179
+ @allow_credits_auto_replenish.setter
180
+ def allow_credits_auto_replenish(self, allow_credits_auto_replenish: 'bool'):
181
+ """Sets the allow_credits_auto_replenish of this V1ProjectSettings.
182
+
183
+
184
+ :param allow_credits_auto_replenish: The allow_credits_auto_replenish of this V1ProjectSettings. # noqa: E501
185
+ :type: bool
186
+ """
187
+
188
+ self._allow_credits_auto_replenish = allow_credits_auto_replenish
189
+
154
190
  @property
155
191
  def allow_dgx_saas(self) -> 'bool':
156
192
  """Gets the allow_dgx_saas of this V1ProjectSettings. # noqa: E501
@@ -279,6 +315,48 @@ class V1ProjectSettings(object):
279
315
 
280
316
  self._allow_vultr_saas = allow_vultr_saas
281
317
 
318
+ @property
319
+ def auto_replenish_amount(self) -> 'float':
320
+ """Gets the auto_replenish_amount of this V1ProjectSettings. # noqa: E501
321
+
322
+
323
+ :return: The auto_replenish_amount of this V1ProjectSettings. # noqa: E501
324
+ :rtype: float
325
+ """
326
+ return self._auto_replenish_amount
327
+
328
+ @auto_replenish_amount.setter
329
+ def auto_replenish_amount(self, auto_replenish_amount: 'float'):
330
+ """Sets the auto_replenish_amount of this V1ProjectSettings.
331
+
332
+
333
+ :param auto_replenish_amount: The auto_replenish_amount of this V1ProjectSettings. # noqa: E501
334
+ :type: float
335
+ """
336
+
337
+ self._auto_replenish_amount = auto_replenish_amount
338
+
339
+ @property
340
+ def auto_replenish_threshold(self) -> 'float':
341
+ """Gets the auto_replenish_threshold of this V1ProjectSettings. # noqa: E501
342
+
343
+
344
+ :return: The auto_replenish_threshold of this V1ProjectSettings. # noqa: E501
345
+ :rtype: float
346
+ """
347
+ return self._auto_replenish_threshold
348
+
349
+ @auto_replenish_threshold.setter
350
+ def auto_replenish_threshold(self, auto_replenish_threshold: 'float'):
351
+ """Sets the auto_replenish_threshold of this V1ProjectSettings.
352
+
353
+
354
+ :param auto_replenish_threshold: The auto_replenish_threshold of this V1ProjectSettings. # noqa: E501
355
+ :type: float
356
+ """
357
+
358
+ self._auto_replenish_threshold = auto_replenish_threshold
359
+
282
360
  @property
283
361
  def auto_switch_machine(self) -> 'bool':
284
362
  """Gets the auto_switch_machine of this V1ProjectSettings. # noqa: E501
@@ -43,11 +43,13 @@ class V1ProjectStorage(object):
43
43
  swagger_types = {
44
44
  'billable_bytes': 'str',
45
45
  'cloudspace_storage_bytes': 'str',
46
+ 'container_registry_storage_bytes': 'str',
46
47
  'data_connection_storage_bytes': 'str',
47
48
  'display_name': 'str',
49
+ 'estimated_daily_cost': 'float',
50
+ 'folder_storage_bytes': 'str',
48
51
  'id': 'str',
49
52
  'job_storage_bytes': 'str',
50
- 'total_billed_per_day': 'float',
51
53
  'total_storage_bytes': 'str',
52
54
  'upload_storage_bytes': 'str'
53
55
  }
@@ -55,24 +57,28 @@ class V1ProjectStorage(object):
55
57
  attribute_map = {
56
58
  'billable_bytes': 'billableBytes',
57
59
  'cloudspace_storage_bytes': 'cloudspaceStorageBytes',
60
+ 'container_registry_storage_bytes': 'containerRegistryStorageBytes',
58
61
  'data_connection_storage_bytes': 'dataConnectionStorageBytes',
59
62
  'display_name': 'displayName',
63
+ 'estimated_daily_cost': 'estimatedDailyCost',
64
+ 'folder_storage_bytes': 'folderStorageBytes',
60
65
  'id': 'id',
61
66
  'job_storage_bytes': 'jobStorageBytes',
62
- 'total_billed_per_day': 'totalBilledPerDay',
63
67
  'total_storage_bytes': 'totalStorageBytes',
64
68
  'upload_storage_bytes': 'uploadStorageBytes'
65
69
  }
66
70
 
67
- def __init__(self, billable_bytes: 'str' =None, cloudspace_storage_bytes: 'str' =None, data_connection_storage_bytes: 'str' =None, display_name: 'str' =None, id: 'str' =None, job_storage_bytes: 'str' =None, total_billed_per_day: 'float' =None, total_storage_bytes: 'str' =None, upload_storage_bytes: 'str' =None): # noqa: E501
71
+ def __init__(self, billable_bytes: 'str' =None, cloudspace_storage_bytes: 'str' =None, container_registry_storage_bytes: 'str' =None, data_connection_storage_bytes: 'str' =None, display_name: 'str' =None, estimated_daily_cost: 'float' =None, folder_storage_bytes: 'str' =None, id: 'str' =None, job_storage_bytes: 'str' =None, total_storage_bytes: 'str' =None, upload_storage_bytes: 'str' =None): # noqa: E501
68
72
  """V1ProjectStorage - a model defined in Swagger""" # noqa: E501
69
73
  self._billable_bytes = None
70
74
  self._cloudspace_storage_bytes = None
75
+ self._container_registry_storage_bytes = None
71
76
  self._data_connection_storage_bytes = None
72
77
  self._display_name = None
78
+ self._estimated_daily_cost = None
79
+ self._folder_storage_bytes = None
73
80
  self._id = None
74
81
  self._job_storage_bytes = None
75
- self._total_billed_per_day = None
76
82
  self._total_storage_bytes = None
77
83
  self._upload_storage_bytes = None
78
84
  self.discriminator = None
@@ -80,16 +86,20 @@ class V1ProjectStorage(object):
80
86
  self.billable_bytes = billable_bytes
81
87
  if cloudspace_storage_bytes is not None:
82
88
  self.cloudspace_storage_bytes = cloudspace_storage_bytes
89
+ if container_registry_storage_bytes is not None:
90
+ self.container_registry_storage_bytes = container_registry_storage_bytes
83
91
  if data_connection_storage_bytes is not None:
84
92
  self.data_connection_storage_bytes = data_connection_storage_bytes
85
93
  if display_name is not None:
86
94
  self.display_name = display_name
95
+ if estimated_daily_cost is not None:
96
+ self.estimated_daily_cost = estimated_daily_cost
97
+ if folder_storage_bytes is not None:
98
+ self.folder_storage_bytes = folder_storage_bytes
87
99
  if id is not None:
88
100
  self.id = id
89
101
  if job_storage_bytes is not None:
90
102
  self.job_storage_bytes = job_storage_bytes
91
- if total_billed_per_day is not None:
92
- self.total_billed_per_day = total_billed_per_day
93
103
  if total_storage_bytes is not None:
94
104
  self.total_storage_bytes = total_storage_bytes
95
105
  if upload_storage_bytes is not None:
@@ -137,6 +147,27 @@ class V1ProjectStorage(object):
137
147
 
138
148
  self._cloudspace_storage_bytes = cloudspace_storage_bytes
139
149
 
150
+ @property
151
+ def container_registry_storage_bytes(self) -> 'str':
152
+ """Gets the container_registry_storage_bytes of this V1ProjectStorage. # noqa: E501
153
+
154
+
155
+ :return: The container_registry_storage_bytes of this V1ProjectStorage. # noqa: E501
156
+ :rtype: str
157
+ """
158
+ return self._container_registry_storage_bytes
159
+
160
+ @container_registry_storage_bytes.setter
161
+ def container_registry_storage_bytes(self, container_registry_storage_bytes: 'str'):
162
+ """Sets the container_registry_storage_bytes of this V1ProjectStorage.
163
+
164
+
165
+ :param container_registry_storage_bytes: The container_registry_storage_bytes of this V1ProjectStorage. # noqa: E501
166
+ :type: str
167
+ """
168
+
169
+ self._container_registry_storage_bytes = container_registry_storage_bytes
170
+
140
171
  @property
141
172
  def data_connection_storage_bytes(self) -> 'str':
142
173
  """Gets the data_connection_storage_bytes of this V1ProjectStorage. # noqa: E501
@@ -179,6 +210,48 @@ class V1ProjectStorage(object):
179
210
 
180
211
  self._display_name = display_name
181
212
 
213
+ @property
214
+ def estimated_daily_cost(self) -> 'float':
215
+ """Gets the estimated_daily_cost of this V1ProjectStorage. # noqa: E501
216
+
217
+
218
+ :return: The estimated_daily_cost of this V1ProjectStorage. # noqa: E501
219
+ :rtype: float
220
+ """
221
+ return self._estimated_daily_cost
222
+
223
+ @estimated_daily_cost.setter
224
+ def estimated_daily_cost(self, estimated_daily_cost: 'float'):
225
+ """Sets the estimated_daily_cost of this V1ProjectStorage.
226
+
227
+
228
+ :param estimated_daily_cost: The estimated_daily_cost of this V1ProjectStorage. # noqa: E501
229
+ :type: float
230
+ """
231
+
232
+ self._estimated_daily_cost = estimated_daily_cost
233
+
234
+ @property
235
+ def folder_storage_bytes(self) -> 'str':
236
+ """Gets the folder_storage_bytes of this V1ProjectStorage. # noqa: E501
237
+
238
+
239
+ :return: The folder_storage_bytes of this V1ProjectStorage. # noqa: E501
240
+ :rtype: str
241
+ """
242
+ return self._folder_storage_bytes
243
+
244
+ @folder_storage_bytes.setter
245
+ def folder_storage_bytes(self, folder_storage_bytes: 'str'):
246
+ """Sets the folder_storage_bytes of this V1ProjectStorage.
247
+
248
+
249
+ :param folder_storage_bytes: The folder_storage_bytes of this V1ProjectStorage. # noqa: E501
250
+ :type: str
251
+ """
252
+
253
+ self._folder_storage_bytes = folder_storage_bytes
254
+
182
255
  @property
183
256
  def id(self) -> 'str':
184
257
  """Gets the id of this V1ProjectStorage. # noqa: E501
@@ -221,27 +294,6 @@ class V1ProjectStorage(object):
221
294
 
222
295
  self._job_storage_bytes = job_storage_bytes
223
296
 
224
- @property
225
- def total_billed_per_day(self) -> 'float':
226
- """Gets the total_billed_per_day of this V1ProjectStorage. # noqa: E501
227
-
228
-
229
- :return: The total_billed_per_day of this V1ProjectStorage. # noqa: E501
230
- :rtype: float
231
- """
232
- return self._total_billed_per_day
233
-
234
- @total_billed_per_day.setter
235
- def total_billed_per_day(self, total_billed_per_day: 'float'):
236
- """Sets the total_billed_per_day of this V1ProjectStorage.
237
-
238
-
239
- :param total_billed_per_day: The total_billed_per_day of this V1ProjectStorage. # noqa: E501
240
- :type: float
241
- """
242
-
243
- self._total_billed_per_day = total_billed_per_day
244
-
245
297
  @property
246
298
  def total_storage_bytes(self) -> 'str':
247
299
  """Gets the total_storage_bytes of this V1ProjectStorage. # noqa: E501
@@ -76,6 +76,7 @@ class V1RuleResource(object):
76
76
  LITLOGGER = "litLogger"
77
77
  PIPELINE = "pipeline"
78
78
  CLOUDSPACEENVIRONMENTTEMPLATE = "cloudSpaceEnvironmentTemplate"
79
+ ORGSTORAGE = "orgStorage"
79
80
  """
80
81
  Attributes:
81
82
  swagger_types (dict): The key is attribute name
@@ -41,6 +41,8 @@ class V1StorageAssetType(object):
41
41
  DATA_CONNECTION = "DATA_CONNECTION"
42
42
  CLOUDSPACE = "CLOUDSPACE"
43
43
  JOB = "JOB"
44
+ FOLDER = "FOLDER"
45
+ UPLOAD = "UPLOAD"
44
46
  """
45
47
  Attributes:
46
48
  swagger_types (dict): The key is attribute name