lightning-sdk 2025.8.28__py3-none-any.whl → 2025.9.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- lightning_sdk/__init__.py +1 -1
- lightning_sdk/api/teamspace_api.py +2 -0
- lightning_sdk/lightning_cloud/openapi/__init__.py +16 -0
- lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +388 -0
- lightning_sdk/lightning_cloud/openapi/api/auth_service_api.py +97 -0
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +202 -0
- lightning_sdk/lightning_cloud/openapi/api/data_connection_service_api.py +101 -0
- lightning_sdk/lightning_cloud/openapi/api/models_store_api.py +4 -4
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +16 -0
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_metrics_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/models_model_id_body.py +109 -31
- lightning_sdk/lightning_cloud/openapi/models/models_model_id_body1.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_aggregated_pod_metrics.py +799 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cancel_running_cloud_space_instance_transfer_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_transfer_metadata.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloudflare_v1.py +3 -29
- lightning_sdk/lightning_cloud/openapi/models/v1_create_model_metrics_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_daily_model_metrics.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filestore_data_connection.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_required_balance_status_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_latest_model_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_model_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_model_total_usage_metrics_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_temp_bucket_credentials_response.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_group_node_metrics.py +1215 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_guest_login_request.py +177 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_guest_login_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_guest_user.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lambda_labs_direct_v1.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_list_aggregated_pod_metrics_response.py +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_magic_link_login_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_model_metrics.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_nebius_direct_v1.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_node_metrics.py +81 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_required_balance_reason.py +107 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +53 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_voltage_park_direct_v1.py +29 -3
- {lightning_sdk-2025.8.28.dist-info → lightning_sdk-2025.9.4.dist-info}/METADATA +1 -1
- {lightning_sdk-2025.8.28.dist-info → lightning_sdk-2025.9.4.dist-info}/RECORD +45 -29
- {lightning_sdk-2025.8.28.dist-info → lightning_sdk-2025.9.4.dist-info}/LICENSE +0 -0
- {lightning_sdk-2025.8.28.dist-info → lightning_sdk-2025.9.4.dist-info}/WHEEL +0 -0
- {lightning_sdk-2025.8.28.dist-info → lightning_sdk-2025.9.4.dist-info}/entry_points.txt +0 -0
- {lightning_sdk-2025.8.28.dist-info → lightning_sdk-2025.9.4.dist-info}/top_level.txt +0 -0
|
@@ -41,66 +41,144 @@ class ModelsModelIdBody(object):
|
|
|
41
41
|
and the value is json key in definition.
|
|
42
42
|
"""
|
|
43
43
|
swagger_types = {
|
|
44
|
-
'
|
|
45
|
-
'
|
|
44
|
+
'managed_endpoint_id': 'str',
|
|
45
|
+
'metrics': 'V1ModelMetrics',
|
|
46
|
+
'model_display_name': 'str',
|
|
47
|
+
'model_name': 'str',
|
|
48
|
+
'org_id': 'str'
|
|
46
49
|
}
|
|
47
50
|
|
|
48
51
|
attribute_map = {
|
|
49
|
-
'
|
|
50
|
-
'
|
|
52
|
+
'managed_endpoint_id': 'managedEndpointId',
|
|
53
|
+
'metrics': 'metrics',
|
|
54
|
+
'model_display_name': 'modelDisplayName',
|
|
55
|
+
'model_name': 'modelName',
|
|
56
|
+
'org_id': 'orgId'
|
|
51
57
|
}
|
|
52
58
|
|
|
53
|
-
def __init__(self,
|
|
59
|
+
def __init__(self, managed_endpoint_id: 'str' =None, metrics: 'V1ModelMetrics' =None, model_display_name: 'str' =None, model_name: 'str' =None, org_id: 'str' =None): # noqa: E501
|
|
54
60
|
"""ModelsModelIdBody - a model defined in Swagger""" # noqa: E501
|
|
55
|
-
self.
|
|
56
|
-
self.
|
|
61
|
+
self._managed_endpoint_id = None
|
|
62
|
+
self._metrics = None
|
|
63
|
+
self._model_display_name = None
|
|
64
|
+
self._model_name = None
|
|
65
|
+
self._org_id = None
|
|
57
66
|
self.discriminator = None
|
|
58
|
-
if
|
|
59
|
-
self.
|
|
60
|
-
if
|
|
61
|
-
self.
|
|
67
|
+
if managed_endpoint_id is not None:
|
|
68
|
+
self.managed_endpoint_id = managed_endpoint_id
|
|
69
|
+
if metrics is not None:
|
|
70
|
+
self.metrics = metrics
|
|
71
|
+
if model_display_name is not None:
|
|
72
|
+
self.model_display_name = model_display_name
|
|
73
|
+
if model_name is not None:
|
|
74
|
+
self.model_name = model_name
|
|
75
|
+
if org_id is not None:
|
|
76
|
+
self.org_id = org_id
|
|
62
77
|
|
|
63
78
|
@property
|
|
64
|
-
def
|
|
65
|
-
"""Gets the
|
|
79
|
+
def managed_endpoint_id(self) -> 'str':
|
|
80
|
+
"""Gets the managed_endpoint_id of this ModelsModelIdBody. # noqa: E501
|
|
66
81
|
|
|
67
82
|
|
|
68
|
-
:return: The
|
|
69
|
-
:rtype:
|
|
83
|
+
:return: The managed_endpoint_id of this ModelsModelIdBody. # noqa: E501
|
|
84
|
+
:rtype: str
|
|
85
|
+
"""
|
|
86
|
+
return self._managed_endpoint_id
|
|
87
|
+
|
|
88
|
+
@managed_endpoint_id.setter
|
|
89
|
+
def managed_endpoint_id(self, managed_endpoint_id: 'str'):
|
|
90
|
+
"""Sets the managed_endpoint_id of this ModelsModelIdBody.
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
:param managed_endpoint_id: The managed_endpoint_id of this ModelsModelIdBody. # noqa: E501
|
|
94
|
+
:type: str
|
|
95
|
+
"""
|
|
96
|
+
|
|
97
|
+
self._managed_endpoint_id = managed_endpoint_id
|
|
98
|
+
|
|
99
|
+
@property
|
|
100
|
+
def metrics(self) -> 'V1ModelMetrics':
|
|
101
|
+
"""Gets the metrics of this ModelsModelIdBody. # noqa: E501
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
:return: The metrics of this ModelsModelIdBody. # noqa: E501
|
|
105
|
+
:rtype: V1ModelMetrics
|
|
106
|
+
"""
|
|
107
|
+
return self._metrics
|
|
108
|
+
|
|
109
|
+
@metrics.setter
|
|
110
|
+
def metrics(self, metrics: 'V1ModelMetrics'):
|
|
111
|
+
"""Sets the metrics of this ModelsModelIdBody.
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
:param metrics: The metrics of this ModelsModelIdBody. # noqa: E501
|
|
115
|
+
:type: V1ModelMetrics
|
|
116
|
+
"""
|
|
117
|
+
|
|
118
|
+
self._metrics = metrics
|
|
119
|
+
|
|
120
|
+
@property
|
|
121
|
+
def model_display_name(self) -> 'str':
|
|
122
|
+
"""Gets the model_display_name of this ModelsModelIdBody. # noqa: E501
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
:return: The model_display_name of this ModelsModelIdBody. # noqa: E501
|
|
126
|
+
:rtype: str
|
|
127
|
+
"""
|
|
128
|
+
return self._model_display_name
|
|
129
|
+
|
|
130
|
+
@model_display_name.setter
|
|
131
|
+
def model_display_name(self, model_display_name: 'str'):
|
|
132
|
+
"""Sets the model_display_name of this ModelsModelIdBody.
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
:param model_display_name: The model_display_name of this ModelsModelIdBody. # noqa: E501
|
|
136
|
+
:type: str
|
|
70
137
|
"""
|
|
71
|
-
return self._metadata
|
|
72
138
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
139
|
+
self._model_display_name = model_display_name
|
|
140
|
+
|
|
141
|
+
@property
|
|
142
|
+
def model_name(self) -> 'str':
|
|
143
|
+
"""Gets the model_name of this ModelsModelIdBody. # noqa: E501
|
|
76
144
|
|
|
77
145
|
|
|
78
|
-
:
|
|
79
|
-
:
|
|
146
|
+
:return: The model_name of this ModelsModelIdBody. # noqa: E501
|
|
147
|
+
:rtype: str
|
|
148
|
+
"""
|
|
149
|
+
return self._model_name
|
|
150
|
+
|
|
151
|
+
@model_name.setter
|
|
152
|
+
def model_name(self, model_name: 'str'):
|
|
153
|
+
"""Sets the model_name of this ModelsModelIdBody.
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
:param model_name: The model_name of this ModelsModelIdBody. # noqa: E501
|
|
157
|
+
:type: str
|
|
80
158
|
"""
|
|
81
159
|
|
|
82
|
-
self.
|
|
160
|
+
self._model_name = model_name
|
|
83
161
|
|
|
84
162
|
@property
|
|
85
|
-
def
|
|
86
|
-
"""Gets the
|
|
163
|
+
def org_id(self) -> 'str':
|
|
164
|
+
"""Gets the org_id of this ModelsModelIdBody. # noqa: E501
|
|
87
165
|
|
|
88
166
|
|
|
89
|
-
:return: The
|
|
167
|
+
:return: The org_id of this ModelsModelIdBody. # noqa: E501
|
|
90
168
|
:rtype: str
|
|
91
169
|
"""
|
|
92
|
-
return self.
|
|
170
|
+
return self._org_id
|
|
93
171
|
|
|
94
|
-
@
|
|
95
|
-
def
|
|
96
|
-
"""Sets the
|
|
172
|
+
@org_id.setter
|
|
173
|
+
def org_id(self, org_id: 'str'):
|
|
174
|
+
"""Sets the org_id of this ModelsModelIdBody.
|
|
97
175
|
|
|
98
176
|
|
|
99
|
-
:param
|
|
177
|
+
:param org_id: The org_id of this ModelsModelIdBody. # noqa: E501
|
|
100
178
|
:type: str
|
|
101
179
|
"""
|
|
102
180
|
|
|
103
|
-
self.
|
|
181
|
+
self._org_id = org_id
|
|
104
182
|
|
|
105
183
|
def to_dict(self) -> dict:
|
|
106
184
|
"""Returns the model properties as a dict"""
|
|
@@ -0,0 +1,149 @@
|
|
|
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 ModelsModelIdBody1(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
|
+
'metadata': 'dict(str, str)',
|
|
45
|
+
'name': 'str'
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
attribute_map = {
|
|
49
|
+
'metadata': 'metadata',
|
|
50
|
+
'name': 'name'
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
def __init__(self, metadata: 'dict(str, str)' =None, name: 'str' =None): # noqa: E501
|
|
54
|
+
"""ModelsModelIdBody1 - a model defined in Swagger""" # noqa: E501
|
|
55
|
+
self._metadata = None
|
|
56
|
+
self._name = None
|
|
57
|
+
self.discriminator = None
|
|
58
|
+
if metadata is not None:
|
|
59
|
+
self.metadata = metadata
|
|
60
|
+
if name is not None:
|
|
61
|
+
self.name = name
|
|
62
|
+
|
|
63
|
+
@property
|
|
64
|
+
def metadata(self) -> 'dict(str, str)':
|
|
65
|
+
"""Gets the metadata of this ModelsModelIdBody1. # noqa: E501
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
:return: The metadata of this ModelsModelIdBody1. # noqa: E501
|
|
69
|
+
:rtype: dict(str, str)
|
|
70
|
+
"""
|
|
71
|
+
return self._metadata
|
|
72
|
+
|
|
73
|
+
@metadata.setter
|
|
74
|
+
def metadata(self, metadata: 'dict(str, str)'):
|
|
75
|
+
"""Sets the metadata of this ModelsModelIdBody1.
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
:param metadata: The metadata of this ModelsModelIdBody1. # noqa: E501
|
|
79
|
+
:type: dict(str, str)
|
|
80
|
+
"""
|
|
81
|
+
|
|
82
|
+
self._metadata = metadata
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def name(self) -> 'str':
|
|
86
|
+
"""Gets the name of this ModelsModelIdBody1. # noqa: E501
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
:return: The name of this ModelsModelIdBody1. # noqa: E501
|
|
90
|
+
:rtype: str
|
|
91
|
+
"""
|
|
92
|
+
return self._name
|
|
93
|
+
|
|
94
|
+
@name.setter
|
|
95
|
+
def name(self, name: 'str'):
|
|
96
|
+
"""Sets the name of this ModelsModelIdBody1.
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
:param name: The name of this ModelsModelIdBody1. # noqa: E501
|
|
100
|
+
:type: str
|
|
101
|
+
"""
|
|
102
|
+
|
|
103
|
+
self._name = name
|
|
104
|
+
|
|
105
|
+
def to_dict(self) -> dict:
|
|
106
|
+
"""Returns the model properties as a dict"""
|
|
107
|
+
result = {}
|
|
108
|
+
|
|
109
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
110
|
+
value = getattr(self, attr)
|
|
111
|
+
if isinstance(value, list):
|
|
112
|
+
result[attr] = list(map(
|
|
113
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
114
|
+
value
|
|
115
|
+
))
|
|
116
|
+
elif hasattr(value, "to_dict"):
|
|
117
|
+
result[attr] = value.to_dict()
|
|
118
|
+
elif isinstance(value, dict):
|
|
119
|
+
result[attr] = dict(map(
|
|
120
|
+
lambda item: (item[0], item[1].to_dict())
|
|
121
|
+
if hasattr(item[1], "to_dict") else item,
|
|
122
|
+
value.items()
|
|
123
|
+
))
|
|
124
|
+
else:
|
|
125
|
+
result[attr] = value
|
|
126
|
+
if issubclass(ModelsModelIdBody1, dict):
|
|
127
|
+
for key, value in self.items():
|
|
128
|
+
result[key] = value
|
|
129
|
+
|
|
130
|
+
return result
|
|
131
|
+
|
|
132
|
+
def to_str(self) -> str:
|
|
133
|
+
"""Returns the string representation of the model"""
|
|
134
|
+
return pprint.pformat(self.to_dict())
|
|
135
|
+
|
|
136
|
+
def __repr__(self) -> str:
|
|
137
|
+
"""For `print` and `pprint`"""
|
|
138
|
+
return self.to_str()
|
|
139
|
+
|
|
140
|
+
def __eq__(self, other: 'ModelsModelIdBody1') -> bool:
|
|
141
|
+
"""Returns true if both objects are equal"""
|
|
142
|
+
if not isinstance(other, ModelsModelIdBody1):
|
|
143
|
+
return False
|
|
144
|
+
|
|
145
|
+
return self.__dict__ == other.__dict__
|
|
146
|
+
|
|
147
|
+
def __ne__(self, other: 'ModelsModelIdBody1') -> bool:
|
|
148
|
+
"""Returns true if both objects are not equal"""
|
|
149
|
+
return not self == other
|
|
@@ -43,6 +43,7 @@ class OrgsIdBody(object):
|
|
|
43
43
|
swagger_types = {
|
|
44
44
|
'alerts_config': 'V1AlertsConfig',
|
|
45
45
|
'allow_budgeting': 'bool',
|
|
46
|
+
'allow_cloud_space_publish': 'bool',
|
|
46
47
|
'allow_credits_auto_replenish': 'bool',
|
|
47
48
|
'allow_external_project_duplication': 'bool',
|
|
48
49
|
'allow_guest': 'bool',
|
|
@@ -84,6 +85,7 @@ class OrgsIdBody(object):
|
|
|
84
85
|
attribute_map = {
|
|
85
86
|
'alerts_config': 'alertsConfig',
|
|
86
87
|
'allow_budgeting': 'allowBudgeting',
|
|
88
|
+
'allow_cloud_space_publish': 'allowCloudSpacePublish',
|
|
87
89
|
'allow_credits_auto_replenish': 'allowCreditsAutoReplenish',
|
|
88
90
|
'allow_external_project_duplication': 'allowExternalProjectDuplication',
|
|
89
91
|
'allow_guest': 'allowGuest',
|
|
@@ -122,10 +124,11 @@ class OrgsIdBody(object):
|
|
|
122
124
|
'workload_max_run_duration': 'workloadMaxRunDuration'
|
|
123
125
|
}
|
|
124
126
|
|
|
125
|
-
def __init__(self, alerts_config: 'V1AlertsConfig' =None, allow_budgeting: 'bool' =None, allow_credits_auto_replenish: 'bool' =None, allow_external_project_duplication: 'bool' =None, allow_guest: 'bool' =None, allow_marketplace: 'bool' =None, allow_member_invitations: 'bool' =None, allow_member_teamspace_creation: 'bool' =None, auto_invite_by_domain: 'bool' =None, auto_join_domains: 'list[str]' =None, auto_replenish_amount: 'float' =None, auto_replenish_threshold: 'float' =None, auto_switch_machine: 'bool' =None, default_machine_type: 'str' =None, default_project_id: '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_nebius_saas: 'bool' =None, disallow_voltage_park_saas: 'bool' =None, disallow_vultr_saas: 'bool' =None, display_name: 'str' =None, domain: 'str' =None, email: 'str' =None, featured_gallery: 'bool' =None, location: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, show_model_apis_tab: 'bool' =None, start_studios_on_spot_instance: 'bool' =None, switch_to_default_machine_on_idle: 'bool' =None, teamspace_default_credits: 'float' =None, twitter_username: 'str' =None, workload_max_run_duration: 'str' =None): # noqa: E501
|
|
127
|
+
def __init__(self, alerts_config: 'V1AlertsConfig' =None, allow_budgeting: 'bool' =None, allow_cloud_space_publish: 'bool' =None, allow_credits_auto_replenish: 'bool' =None, allow_external_project_duplication: 'bool' =None, allow_guest: 'bool' =None, allow_marketplace: 'bool' =None, allow_member_invitations: 'bool' =None, allow_member_teamspace_creation: 'bool' =None, auto_invite_by_domain: 'bool' =None, auto_join_domains: 'list[str]' =None, auto_replenish_amount: 'float' =None, auto_replenish_threshold: 'float' =None, auto_switch_machine: 'bool' =None, default_machine_type: 'str' =None, default_project_id: '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_nebius_saas: 'bool' =None, disallow_voltage_park_saas: 'bool' =None, disallow_vultr_saas: 'bool' =None, display_name: 'str' =None, domain: 'str' =None, email: 'str' =None, featured_gallery: 'bool' =None, location: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, show_model_apis_tab: 'bool' =None, start_studios_on_spot_instance: 'bool' =None, switch_to_default_machine_on_idle: 'bool' =None, teamspace_default_credits: 'float' =None, twitter_username: 'str' =None, workload_max_run_duration: 'str' =None): # noqa: E501
|
|
126
128
|
"""OrgsIdBody - a model defined in Swagger""" # noqa: E501
|
|
127
129
|
self._alerts_config = None
|
|
128
130
|
self._allow_budgeting = None
|
|
131
|
+
self._allow_cloud_space_publish = None
|
|
129
132
|
self._allow_credits_auto_replenish = None
|
|
130
133
|
self._allow_external_project_duplication = None
|
|
131
134
|
self._allow_guest = None
|
|
@@ -167,6 +170,8 @@ class OrgsIdBody(object):
|
|
|
167
170
|
self.alerts_config = alerts_config
|
|
168
171
|
if allow_budgeting is not None:
|
|
169
172
|
self.allow_budgeting = allow_budgeting
|
|
173
|
+
if allow_cloud_space_publish is not None:
|
|
174
|
+
self.allow_cloud_space_publish = allow_cloud_space_publish
|
|
170
175
|
if allow_credits_auto_replenish is not None:
|
|
171
176
|
self.allow_credits_auto_replenish = allow_credits_auto_replenish
|
|
172
177
|
if allow_external_project_duplication is not None:
|
|
@@ -282,6 +287,27 @@ class OrgsIdBody(object):
|
|
|
282
287
|
|
|
283
288
|
self._allow_budgeting = allow_budgeting
|
|
284
289
|
|
|
290
|
+
@property
|
|
291
|
+
def allow_cloud_space_publish(self) -> 'bool':
|
|
292
|
+
"""Gets the allow_cloud_space_publish of this OrgsIdBody. # noqa: E501
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
:return: The allow_cloud_space_publish of this OrgsIdBody. # noqa: E501
|
|
296
|
+
:rtype: bool
|
|
297
|
+
"""
|
|
298
|
+
return self._allow_cloud_space_publish
|
|
299
|
+
|
|
300
|
+
@allow_cloud_space_publish.setter
|
|
301
|
+
def allow_cloud_space_publish(self, allow_cloud_space_publish: 'bool'):
|
|
302
|
+
"""Sets the allow_cloud_space_publish of this OrgsIdBody.
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
:param allow_cloud_space_publish: The allow_cloud_space_publish of this OrgsIdBody. # noqa: E501
|
|
306
|
+
:type: bool
|
|
307
|
+
"""
|
|
308
|
+
|
|
309
|
+
self._allow_cloud_space_publish = allow_cloud_space_publish
|
|
310
|
+
|
|
285
311
|
@property
|
|
286
312
|
def allow_credits_auto_replenish(self) -> 'bool':
|
|
287
313
|
"""Gets the allow_credits_auto_replenish of this OrgsIdBody. # noqa: E501
|