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
@@ -53,6 +53,7 @@ class V1DataConnection(object):
53
53
  'gcs_folder': 'V1GCSFolderDataConnection',
54
54
  'id': 'str',
55
55
  'index': 'V1Index',
56
+ 'is_billable_folder': 'bool',
56
57
  'is_cache': 'bool',
57
58
  'is_managed': 'bool',
58
59
  'lock_out': 'bool',
@@ -64,6 +65,8 @@ class V1DataConnection(object):
64
65
  's3_folder': 'V1S3FolderDataConnection',
65
66
  'snowflake': 'V1SnowflakeDataConnection',
66
67
  'state': 'V1DataConnectionState',
68
+ 'total_daily_read_bytes': 'str',
69
+ 'total_daily_write_bytes': 'str',
67
70
  'total_size_bytes': 'str',
68
71
  'type': 'str',
69
72
  'updated_at': 'datetime',
@@ -84,6 +87,7 @@ class V1DataConnection(object):
84
87
  'gcs_folder': 'gcsFolder',
85
88
  'id': 'id',
86
89
  'index': 'index',
90
+ 'is_billable_folder': 'isBillableFolder',
87
91
  'is_cache': 'isCache',
88
92
  'is_managed': 'isManaged',
89
93
  'lock_out': 'lockOut',
@@ -95,6 +99,8 @@ class V1DataConnection(object):
95
99
  's3_folder': 's3Folder',
96
100
  'snowflake': 'snowflake',
97
101
  'state': 'state',
102
+ 'total_daily_read_bytes': 'totalDailyReadBytes',
103
+ 'total_daily_write_bytes': 'totalDailyWriteBytes',
98
104
  'total_size_bytes': 'totalSizeBytes',
99
105
  'type': 'type',
100
106
  'updated_at': 'updatedAt',
@@ -102,7 +108,7 @@ class V1DataConnection(object):
102
108
  'writable': 'writable'
103
109
  }
104
110
 
105
- def __init__(self, access_cluster_ids: 'list[str]' =None, accessible: 'bool' =None, aws: 'V1AwsDataConnection' =None, cluster_id: 'str' =None, created_at: 'datetime' =None, efs: 'V1EfsConfig' =None, error: 'str' =None, filestore: 'V1FilestoreDataConnection' =None, gcp: 'V1GcpDataConnection' =None, gcs_folder: 'V1GCSFolderDataConnection' =None, id: 'str' =None, index: 'V1Index' =None, is_cache: 'bool' =None, is_managed: 'bool' =None, lock_out: 'bool' =None, name: 'str' =None, number_of_files: 'str' =None, project_id: 'str' =None, r2: 'V1R2DataConnection' =None, run_cmds: 'list[str]' =None, s3_folder: 'V1S3FolderDataConnection' =None, snowflake: 'V1SnowflakeDataConnection' =None, state: 'V1DataConnectionState' =None, total_size_bytes: 'str' =None, type: 'str' =None, updated_at: 'datetime' =None, weka: 'V1WekaDataConnection' =None, writable: 'bool' =None): # noqa: E501
111
+ def __init__(self, access_cluster_ids: 'list[str]' =None, accessible: 'bool' =None, aws: 'V1AwsDataConnection' =None, cluster_id: 'str' =None, created_at: 'datetime' =None, efs: 'V1EfsConfig' =None, error: 'str' =None, filestore: 'V1FilestoreDataConnection' =None, gcp: 'V1GcpDataConnection' =None, gcs_folder: 'V1GCSFolderDataConnection' =None, id: 'str' =None, index: 'V1Index' =None, is_billable_folder: 'bool' =None, is_cache: 'bool' =None, is_managed: 'bool' =None, lock_out: 'bool' =None, name: 'str' =None, number_of_files: 'str' =None, project_id: 'str' =None, r2: 'V1R2DataConnection' =None, run_cmds: 'list[str]' =None, s3_folder: 'V1S3FolderDataConnection' =None, snowflake: 'V1SnowflakeDataConnection' =None, state: 'V1DataConnectionState' =None, total_daily_read_bytes: 'str' =None, total_daily_write_bytes: 'str' =None, total_size_bytes: 'str' =None, type: 'str' =None, updated_at: 'datetime' =None, weka: 'V1WekaDataConnection' =None, writable: 'bool' =None): # noqa: E501
106
112
  """V1DataConnection - a model defined in Swagger""" # noqa: E501
107
113
  self._access_cluster_ids = None
108
114
  self._accessible = None
@@ -116,6 +122,7 @@ class V1DataConnection(object):
116
122
  self._gcs_folder = None
117
123
  self._id = None
118
124
  self._index = None
125
+ self._is_billable_folder = None
119
126
  self._is_cache = None
120
127
  self._is_managed = None
121
128
  self._lock_out = None
@@ -127,6 +134,8 @@ class V1DataConnection(object):
127
134
  self._s3_folder = None
128
135
  self._snowflake = None
129
136
  self._state = None
137
+ self._total_daily_read_bytes = None
138
+ self._total_daily_write_bytes = None
130
139
  self._total_size_bytes = None
131
140
  self._type = None
132
141
  self._updated_at = None
@@ -157,6 +166,8 @@ class V1DataConnection(object):
157
166
  self.id = id
158
167
  if index is not None:
159
168
  self.index = index
169
+ if is_billable_folder is not None:
170
+ self.is_billable_folder = is_billable_folder
160
171
  if is_cache is not None:
161
172
  self.is_cache = is_cache
162
173
  if is_managed is not None:
@@ -179,6 +190,10 @@ class V1DataConnection(object):
179
190
  self.snowflake = snowflake
180
191
  if state is not None:
181
192
  self.state = state
193
+ if total_daily_read_bytes is not None:
194
+ self.total_daily_read_bytes = total_daily_read_bytes
195
+ if total_daily_write_bytes is not None:
196
+ self.total_daily_write_bytes = total_daily_write_bytes
182
197
  if total_size_bytes is not None:
183
198
  self.total_size_bytes = total_size_bytes
184
199
  if type is not None:
@@ -442,6 +457,27 @@ class V1DataConnection(object):
442
457
 
443
458
  self._index = index
444
459
 
460
+ @property
461
+ def is_billable_folder(self) -> 'bool':
462
+ """Gets the is_billable_folder of this V1DataConnection. # noqa: E501
463
+
464
+
465
+ :return: The is_billable_folder of this V1DataConnection. # noqa: E501
466
+ :rtype: bool
467
+ """
468
+ return self._is_billable_folder
469
+
470
+ @is_billable_folder.setter
471
+ def is_billable_folder(self, is_billable_folder: 'bool'):
472
+ """Sets the is_billable_folder of this V1DataConnection.
473
+
474
+
475
+ :param is_billable_folder: The is_billable_folder of this V1DataConnection. # noqa: E501
476
+ :type: bool
477
+ """
478
+
479
+ self._is_billable_folder = is_billable_folder
480
+
445
481
  @property
446
482
  def is_cache(self) -> 'bool':
447
483
  """Gets the is_cache of this V1DataConnection. # noqa: E501
@@ -673,6 +709,48 @@ class V1DataConnection(object):
673
709
 
674
710
  self._state = state
675
711
 
712
+ @property
713
+ def total_daily_read_bytes(self) -> 'str':
714
+ """Gets the total_daily_read_bytes of this V1DataConnection. # noqa: E501
715
+
716
+
717
+ :return: The total_daily_read_bytes of this V1DataConnection. # noqa: E501
718
+ :rtype: str
719
+ """
720
+ return self._total_daily_read_bytes
721
+
722
+ @total_daily_read_bytes.setter
723
+ def total_daily_read_bytes(self, total_daily_read_bytes: 'str'):
724
+ """Sets the total_daily_read_bytes of this V1DataConnection.
725
+
726
+
727
+ :param total_daily_read_bytes: The total_daily_read_bytes of this V1DataConnection. # noqa: E501
728
+ :type: str
729
+ """
730
+
731
+ self._total_daily_read_bytes = total_daily_read_bytes
732
+
733
+ @property
734
+ def total_daily_write_bytes(self) -> 'str':
735
+ """Gets the total_daily_write_bytes of this V1DataConnection. # noqa: E501
736
+
737
+
738
+ :return: The total_daily_write_bytes of this V1DataConnection. # noqa: E501
739
+ :rtype: str
740
+ """
741
+ return self._total_daily_write_bytes
742
+
743
+ @total_daily_write_bytes.setter
744
+ def total_daily_write_bytes(self, total_daily_write_bytes: 'str'):
745
+ """Sets the total_daily_write_bytes of this V1DataConnection.
746
+
747
+
748
+ :param total_daily_write_bytes: The total_daily_write_bytes of this V1DataConnection. # noqa: E501
749
+ :type: str
750
+ """
751
+
752
+ self._total_daily_write_bytes = total_daily_write_bytes
753
+
676
754
  @property
677
755
  def total_size_bytes(self) -> 'str':
678
756
  """Gets the total_size_bytes of this V1DataConnection. # noqa: E501
@@ -0,0 +1,123 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ external/v1/auth_service.proto
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: version not set
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+
12
+ NOTE
13
+ ----
14
+ standard swagger-codegen-cli for this python client has been modified
15
+ by custom templates. The purpose of these templates is to include
16
+ typing information in the API and Model code. Please refer to the
17
+ main grid repository for more info
18
+ """
19
+
20
+ import pprint
21
+ import re # noqa: F401
22
+
23
+ from typing import TYPE_CHECKING
24
+
25
+ import six
26
+
27
+ if TYPE_CHECKING:
28
+ from datetime import datetime
29
+ from lightning_sdk.lightning_cloud.openapi.models import *
30
+
31
+ class V1DeleteBlogPostResponse(object):
32
+ """NOTE: This class is auto generated by the swagger code generator program.
33
+
34
+ Do not edit the class manually.
35
+ """
36
+ """
37
+ Attributes:
38
+ swagger_types (dict): The key is attribute name
39
+ and the value is attribute type.
40
+ attribute_map (dict): The key is attribute name
41
+ and the value is json key in definition.
42
+ """
43
+ swagger_types = {
44
+ 'success': 'bool'
45
+ }
46
+
47
+ attribute_map = {
48
+ 'success': 'success'
49
+ }
50
+
51
+ def __init__(self, success: 'bool' =None): # noqa: E501
52
+ """V1DeleteBlogPostResponse - a model defined in Swagger""" # noqa: E501
53
+ self._success = None
54
+ self.discriminator = None
55
+ if success is not None:
56
+ self.success = success
57
+
58
+ @property
59
+ def success(self) -> 'bool':
60
+ """Gets the success of this V1DeleteBlogPostResponse. # noqa: E501
61
+
62
+
63
+ :return: The success of this V1DeleteBlogPostResponse. # noqa: E501
64
+ :rtype: bool
65
+ """
66
+ return self._success
67
+
68
+ @success.setter
69
+ def success(self, success: 'bool'):
70
+ """Sets the success of this V1DeleteBlogPostResponse.
71
+
72
+
73
+ :param success: The success of this V1DeleteBlogPostResponse. # noqa: E501
74
+ :type: bool
75
+ """
76
+
77
+ self._success = success
78
+
79
+ def to_dict(self) -> dict:
80
+ """Returns the model properties as a dict"""
81
+ result = {}
82
+
83
+ for attr, _ in six.iteritems(self.swagger_types):
84
+ value = getattr(self, attr)
85
+ if isinstance(value, list):
86
+ result[attr] = list(map(
87
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
88
+ value
89
+ ))
90
+ elif hasattr(value, "to_dict"):
91
+ result[attr] = value.to_dict()
92
+ elif isinstance(value, dict):
93
+ result[attr] = dict(map(
94
+ lambda item: (item[0], item[1].to_dict())
95
+ if hasattr(item[1], "to_dict") else item,
96
+ value.items()
97
+ ))
98
+ else:
99
+ result[attr] = value
100
+ if issubclass(V1DeleteBlogPostResponse, dict):
101
+ for key, value in self.items():
102
+ result[key] = value
103
+
104
+ return result
105
+
106
+ def to_str(self) -> str:
107
+ """Returns the string representation of the model"""
108
+ return pprint.pformat(self.to_dict())
109
+
110
+ def __repr__(self) -> str:
111
+ """For `print` and `pprint`"""
112
+ return self.to_str()
113
+
114
+ def __eq__(self, other: 'V1DeleteBlogPostResponse') -> bool:
115
+ """Returns true if both objects are equal"""
116
+ if not isinstance(other, V1DeleteBlogPostResponse):
117
+ return False
118
+
119
+ return self.__dict__ == other.__dict__
120
+
121
+ def __ne__(self, other: 'V1DeleteBlogPostResponse') -> bool:
122
+ """Returns true if both objects are not equal"""
123
+ return not self == other
@@ -41,6 +41,7 @@ class V1Deployment(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
+ 'source': 'str',
44
45
  'api_standard': 'str',
45
46
  'apis': 'list[V1DeploymentAPI]',
46
47
  'assistant_id': 'str',
@@ -74,6 +75,7 @@ class V1Deployment(object):
74
75
  }
75
76
 
76
77
  attribute_map = {
78
+ 'source': 'Source',
77
79
  'api_standard': 'apiStandard',
78
80
  'apis': 'apis',
79
81
  'assistant_id': 'assistantId',
@@ -106,8 +108,9 @@ class V1Deployment(object):
106
108
  'visibility': 'visibility'
107
109
  }
108
110
 
109
- def __init__(self, api_standard: 'str' =None, apis: 'list[V1DeploymentAPI]' =None, assistant_id: 'str' =None, autoscaling: 'V1AutoscalingSpec' =None, cloudspace_id: 'str' =None, created_at: 'datetime' =None, current_state: 'V1DeploymentState' =None, debug: 'bool' =None, desired_state: 'V1DeploymentState' =None, endpoint: 'V1Endpoint' =None, id: 'str' =None, is_published: 'bool' =None, managed: 'bool' =None, managed_endpoint_id: 'str' =None, name: 'str' =None, oncall_notification: 'bool' =None, parameter_spec: 'V1ParameterizationSpec' =None, pipeline_id: 'str' =None, project_id: 'str' =None, recipients: 'V1DeploymentAlertingRecipients' =None, release_id: 'str' =None, replicas: 'int' =None, spec: 'V1JobSpec' =None, status: 'V1DeploymentStatus' =None, strategy: 'V1DeploymentStrategy' =None, template_id: 'str' =None, total_cost: 'float' =None, updated_at: 'datetime' =None, user_id: 'str' =None, visibility: 'V1ResourceVisibility' =None): # noqa: E501
111
+ def __init__(self, source: 'str' =None, api_standard: 'str' =None, apis: 'list[V1DeploymentAPI]' =None, assistant_id: 'str' =None, autoscaling: 'V1AutoscalingSpec' =None, cloudspace_id: 'str' =None, created_at: 'datetime' =None, current_state: 'V1DeploymentState' =None, debug: 'bool' =None, desired_state: 'V1DeploymentState' =None, endpoint: 'V1Endpoint' =None, id: 'str' =None, is_published: 'bool' =None, managed: 'bool' =None, managed_endpoint_id: 'str' =None, name: 'str' =None, oncall_notification: 'bool' =None, parameter_spec: 'V1ParameterizationSpec' =None, pipeline_id: 'str' =None, project_id: 'str' =None, recipients: 'V1DeploymentAlertingRecipients' =None, release_id: 'str' =None, replicas: 'int' =None, spec: 'V1JobSpec' =None, status: 'V1DeploymentStatus' =None, strategy: 'V1DeploymentStrategy' =None, template_id: 'str' =None, total_cost: 'float' =None, updated_at: 'datetime' =None, user_id: 'str' =None, visibility: 'V1ResourceVisibility' =None): # noqa: E501
110
112
  """V1Deployment - a model defined in Swagger""" # noqa: E501
113
+ self._source = None
111
114
  self._api_standard = None
112
115
  self._apis = None
113
116
  self._assistant_id = None
@@ -139,6 +142,8 @@ class V1Deployment(object):
139
142
  self._user_id = None
140
143
  self._visibility = None
141
144
  self.discriminator = None
145
+ if source is not None:
146
+ self.source = source
142
147
  if api_standard is not None:
143
148
  self.api_standard = api_standard
144
149
  if apis is not None:
@@ -200,6 +205,27 @@ class V1Deployment(object):
200
205
  if visibility is not None:
201
206
  self.visibility = visibility
202
207
 
208
+ @property
209
+ def source(self) -> 'str':
210
+ """Gets the source of this V1Deployment. # noqa: E501
211
+
212
+
213
+ :return: The source of this V1Deployment. # noqa: E501
214
+ :rtype: str
215
+ """
216
+ return self._source
217
+
218
+ @source.setter
219
+ def source(self, source: 'str'):
220
+ """Sets the source of this V1Deployment.
221
+
222
+
223
+ :param source: The source of this V1Deployment. # noqa: E501
224
+ :type: str
225
+ """
226
+
227
+ self._source = source
228
+
203
229
  @property
204
230
  def api_standard(self) -> 'str':
205
231
  """Gets the api_standard of this V1Deployment. # noqa: E501
@@ -47,6 +47,7 @@ class V1DeploymentAlertingPolicyType(object):
47
47
  STATUSCODES1XX = "StatusCodes1xx"
48
48
  THROUGHPUT = "Throughput"
49
49
  LATENCYQ95 = "LatencyQ95"
50
+ DEPLOYMENTSUSPENDED = "DeploymentSuspended"
50
51
  """
51
52
  Attributes:
52
53
  swagger_types (dict): The key is attribute name
@@ -42,42 +42,64 @@ class V1GetOrganizationStorageMetadataResponse(object):
42
42
  """
43
43
  swagger_types = {
44
44
  'account_limit_bytes': 'str',
45
+ 'estimated_daily_cost': 'float',
46
+ 'estimated_daily_efs_cost': 'float',
45
47
  'id': 'str',
46
48
  'project_metadata': 'list[V1ProjectStorage]',
47
49
  'total_billable_bytes': 'str',
48
50
  'total_cloudspace_storage_bytes': 'str',
51
+ 'total_container_registry_storage_bytes': 'str',
49
52
  'total_data_connection_storage_bytes': 'str',
53
+ 'total_folder_storage_bytes': 'str',
54
+ 'total_free_storage_bytes': 'str',
50
55
  'total_job_storage_bytes': 'str',
56
+ 'total_model_storage_bytes': 'str',
51
57
  'total_storage_bytes': 'str',
52
58
  'total_upload_storage_bytes': 'str'
53
59
  }
54
60
 
55
61
  attribute_map = {
56
62
  'account_limit_bytes': 'accountLimitBytes',
63
+ 'estimated_daily_cost': 'estimatedDailyCost',
64
+ 'estimated_daily_efs_cost': 'estimatedDailyEfsCost',
57
65
  'id': 'id',
58
66
  'project_metadata': 'projectMetadata',
59
67
  'total_billable_bytes': 'totalBillableBytes',
60
68
  'total_cloudspace_storage_bytes': 'totalCloudspaceStorageBytes',
69
+ 'total_container_registry_storage_bytes': 'totalContainerRegistryStorageBytes',
61
70
  'total_data_connection_storage_bytes': 'totalDataConnectionStorageBytes',
71
+ 'total_folder_storage_bytes': 'totalFolderStorageBytes',
72
+ 'total_free_storage_bytes': 'totalFreeStorageBytes',
62
73
  'total_job_storage_bytes': 'totalJobStorageBytes',
74
+ 'total_model_storage_bytes': 'totalModelStorageBytes',
63
75
  'total_storage_bytes': 'totalStorageBytes',
64
76
  'total_upload_storage_bytes': 'totalUploadStorageBytes'
65
77
  }
66
78
 
67
- def __init__(self, account_limit_bytes: 'str' =None, id: 'str' =None, project_metadata: 'list[V1ProjectStorage]' =None, total_billable_bytes: 'str' =None, total_cloudspace_storage_bytes: 'str' =None, total_data_connection_storage_bytes: 'str' =None, total_job_storage_bytes: 'str' =None, total_storage_bytes: 'str' =None, total_upload_storage_bytes: 'str' =None): # noqa: E501
79
+ def __init__(self, account_limit_bytes: 'str' =None, estimated_daily_cost: 'float' =None, estimated_daily_efs_cost: 'float' =None, id: 'str' =None, project_metadata: 'list[V1ProjectStorage]' =None, total_billable_bytes: 'str' =None, total_cloudspace_storage_bytes: 'str' =None, total_container_registry_storage_bytes: 'str' =None, total_data_connection_storage_bytes: 'str' =None, total_folder_storage_bytes: 'str' =None, total_free_storage_bytes: 'str' =None, total_job_storage_bytes: 'str' =None, total_model_storage_bytes: 'str' =None, total_storage_bytes: 'str' =None, total_upload_storage_bytes: 'str' =None): # noqa: E501
68
80
  """V1GetOrganizationStorageMetadataResponse - a model defined in Swagger""" # noqa: E501
69
81
  self._account_limit_bytes = None
82
+ self._estimated_daily_cost = None
83
+ self._estimated_daily_efs_cost = None
70
84
  self._id = None
71
85
  self._project_metadata = None
72
86
  self._total_billable_bytes = None
73
87
  self._total_cloudspace_storage_bytes = None
88
+ self._total_container_registry_storage_bytes = None
74
89
  self._total_data_connection_storage_bytes = None
90
+ self._total_folder_storage_bytes = None
91
+ self._total_free_storage_bytes = None
75
92
  self._total_job_storage_bytes = None
93
+ self._total_model_storage_bytes = None
76
94
  self._total_storage_bytes = None
77
95
  self._total_upload_storage_bytes = None
78
96
  self.discriminator = None
79
97
  if account_limit_bytes is not None:
80
98
  self.account_limit_bytes = account_limit_bytes
99
+ if estimated_daily_cost is not None:
100
+ self.estimated_daily_cost = estimated_daily_cost
101
+ if estimated_daily_efs_cost is not None:
102
+ self.estimated_daily_efs_cost = estimated_daily_efs_cost
81
103
  if id is not None:
82
104
  self.id = id
83
105
  if project_metadata is not None:
@@ -86,10 +108,18 @@ class V1GetOrganizationStorageMetadataResponse(object):
86
108
  self.total_billable_bytes = total_billable_bytes
87
109
  if total_cloudspace_storage_bytes is not None:
88
110
  self.total_cloudspace_storage_bytes = total_cloudspace_storage_bytes
111
+ if total_container_registry_storage_bytes is not None:
112
+ self.total_container_registry_storage_bytes = total_container_registry_storage_bytes
89
113
  if total_data_connection_storage_bytes is not None:
90
114
  self.total_data_connection_storage_bytes = total_data_connection_storage_bytes
115
+ if total_folder_storage_bytes is not None:
116
+ self.total_folder_storage_bytes = total_folder_storage_bytes
117
+ if total_free_storage_bytes is not None:
118
+ self.total_free_storage_bytes = total_free_storage_bytes
91
119
  if total_job_storage_bytes is not None:
92
120
  self.total_job_storage_bytes = total_job_storage_bytes
121
+ if total_model_storage_bytes is not None:
122
+ self.total_model_storage_bytes = total_model_storage_bytes
93
123
  if total_storage_bytes is not None:
94
124
  self.total_storage_bytes = total_storage_bytes
95
125
  if total_upload_storage_bytes is not None:
@@ -116,6 +146,48 @@ class V1GetOrganizationStorageMetadataResponse(object):
116
146
 
117
147
  self._account_limit_bytes = account_limit_bytes
118
148
 
149
+ @property
150
+ def estimated_daily_cost(self) -> 'float':
151
+ """Gets the estimated_daily_cost of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
152
+
153
+
154
+ :return: The estimated_daily_cost of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
155
+ :rtype: float
156
+ """
157
+ return self._estimated_daily_cost
158
+
159
+ @estimated_daily_cost.setter
160
+ def estimated_daily_cost(self, estimated_daily_cost: 'float'):
161
+ """Sets the estimated_daily_cost of this V1GetOrganizationStorageMetadataResponse.
162
+
163
+
164
+ :param estimated_daily_cost: The estimated_daily_cost of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
165
+ :type: float
166
+ """
167
+
168
+ self._estimated_daily_cost = estimated_daily_cost
169
+
170
+ @property
171
+ def estimated_daily_efs_cost(self) -> 'float':
172
+ """Gets the estimated_daily_efs_cost of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
173
+
174
+
175
+ :return: The estimated_daily_efs_cost of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
176
+ :rtype: float
177
+ """
178
+ return self._estimated_daily_efs_cost
179
+
180
+ @estimated_daily_efs_cost.setter
181
+ def estimated_daily_efs_cost(self, estimated_daily_efs_cost: 'float'):
182
+ """Sets the estimated_daily_efs_cost of this V1GetOrganizationStorageMetadataResponse.
183
+
184
+
185
+ :param estimated_daily_efs_cost: The estimated_daily_efs_cost of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
186
+ :type: float
187
+ """
188
+
189
+ self._estimated_daily_efs_cost = estimated_daily_efs_cost
190
+
119
191
  @property
120
192
  def id(self) -> 'str':
121
193
  """Gets the id of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
@@ -200,6 +272,27 @@ class V1GetOrganizationStorageMetadataResponse(object):
200
272
 
201
273
  self._total_cloudspace_storage_bytes = total_cloudspace_storage_bytes
202
274
 
275
+ @property
276
+ def total_container_registry_storage_bytes(self) -> 'str':
277
+ """Gets the total_container_registry_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
278
+
279
+
280
+ :return: The total_container_registry_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
281
+ :rtype: str
282
+ """
283
+ return self._total_container_registry_storage_bytes
284
+
285
+ @total_container_registry_storage_bytes.setter
286
+ def total_container_registry_storage_bytes(self, total_container_registry_storage_bytes: 'str'):
287
+ """Sets the total_container_registry_storage_bytes of this V1GetOrganizationStorageMetadataResponse.
288
+
289
+
290
+ :param total_container_registry_storage_bytes: The total_container_registry_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
291
+ :type: str
292
+ """
293
+
294
+ self._total_container_registry_storage_bytes = total_container_registry_storage_bytes
295
+
203
296
  @property
204
297
  def total_data_connection_storage_bytes(self) -> 'str':
205
298
  """Gets the total_data_connection_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
@@ -221,6 +314,48 @@ class V1GetOrganizationStorageMetadataResponse(object):
221
314
 
222
315
  self._total_data_connection_storage_bytes = total_data_connection_storage_bytes
223
316
 
317
+ @property
318
+ def total_folder_storage_bytes(self) -> 'str':
319
+ """Gets the total_folder_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
320
+
321
+
322
+ :return: The total_folder_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
323
+ :rtype: str
324
+ """
325
+ return self._total_folder_storage_bytes
326
+
327
+ @total_folder_storage_bytes.setter
328
+ def total_folder_storage_bytes(self, total_folder_storage_bytes: 'str'):
329
+ """Sets the total_folder_storage_bytes of this V1GetOrganizationStorageMetadataResponse.
330
+
331
+
332
+ :param total_folder_storage_bytes: The total_folder_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
333
+ :type: str
334
+ """
335
+
336
+ self._total_folder_storage_bytes = total_folder_storage_bytes
337
+
338
+ @property
339
+ def total_free_storage_bytes(self) -> 'str':
340
+ """Gets the total_free_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
341
+
342
+
343
+ :return: The total_free_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
344
+ :rtype: str
345
+ """
346
+ return self._total_free_storage_bytes
347
+
348
+ @total_free_storage_bytes.setter
349
+ def total_free_storage_bytes(self, total_free_storage_bytes: 'str'):
350
+ """Sets the total_free_storage_bytes of this V1GetOrganizationStorageMetadataResponse.
351
+
352
+
353
+ :param total_free_storage_bytes: The total_free_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
354
+ :type: str
355
+ """
356
+
357
+ self._total_free_storage_bytes = total_free_storage_bytes
358
+
224
359
  @property
225
360
  def total_job_storage_bytes(self) -> 'str':
226
361
  """Gets the total_job_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
@@ -242,6 +377,27 @@ class V1GetOrganizationStorageMetadataResponse(object):
242
377
 
243
378
  self._total_job_storage_bytes = total_job_storage_bytes
244
379
 
380
+ @property
381
+ def total_model_storage_bytes(self) -> 'str':
382
+ """Gets the total_model_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
383
+
384
+
385
+ :return: The total_model_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
386
+ :rtype: str
387
+ """
388
+ return self._total_model_storage_bytes
389
+
390
+ @total_model_storage_bytes.setter
391
+ def total_model_storage_bytes(self, total_model_storage_bytes: 'str'):
392
+ """Sets the total_model_storage_bytes of this V1GetOrganizationStorageMetadataResponse.
393
+
394
+
395
+ :param total_model_storage_bytes: The total_model_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
396
+ :type: str
397
+ """
398
+
399
+ self._total_model_storage_bytes = total_model_storage_bytes
400
+
245
401
  @property
246
402
  def total_storage_bytes(self) -> 'str':
247
403
  """Gets the total_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501