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.
- lightning_sdk/__init__.py +1 -1
- lightning_sdk/api/deployment_api.py +2 -0
- lightning_sdk/api/llm_api.py +3 -2
- lightning_sdk/deployment/deployment.py +2 -0
- lightning_sdk/lightning_cloud/openapi/__init__.py +8 -0
- lightning_sdk/lightning_cloud/openapi/api/__init__.py +1 -0
- lightning_sdk/lightning_cloud/openapi/api/blog_posts_service_api.py +533 -0
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +113 -0
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +7 -0
- lightning_sdk/lightning_cloud/openapi/models/blogposts_id_body.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/id_transfer_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +157 -157
- lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_blog_post.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template_config.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_state.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_blog_post_request.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_daily_usage.py +81 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_blog_post_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_organization_storage_metadata_response.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_project_storage_metadata_response.py +133 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_breakdown_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1.py +41 -15
- lightning_sdk/lightning_cloud/openapi/models/v1_list_blog_posts_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_message.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +157 -157
- lightning_sdk/lightning_cloud/openapi/models/v1_product_license.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project.py +41 -15
- lightning_sdk/lightning_cloud/openapi/models/v1_project_membership.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_storage.py +79 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_rule_resource.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset_type.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_transfer_cloud_space_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_usage.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +223 -67
- lightning_sdk/llm/llm.py +0 -2
- lightning_sdk/serve.py +1 -0
- lightning_sdk/services/license.py +87 -22
- {lightning_sdk-0.2.17.dist-info → lightning_sdk-0.2.19.dist-info}/METADATA +1 -1
- {lightning_sdk-0.2.17.dist-info → lightning_sdk-0.2.19.dist-info}/RECORD +48 -40
- {lightning_sdk-0.2.17.dist-info → lightning_sdk-0.2.19.dist-info}/LICENSE +0 -0
- {lightning_sdk-0.2.17.dist-info → lightning_sdk-0.2.19.dist-info}/WHEEL +0 -0
- {lightning_sdk-0.2.17.dist-info → lightning_sdk-0.2.19.dist-info}/entry_points.txt +0 -0
- {lightning_sdk-0.2.17.dist-info → lightning_sdk-0.2.19.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,175 @@
|
|
|
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 V1ListBlogPostsResponse(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
|
+
'blog_posts': 'list[V1BlogPost]',
|
|
45
|
+
'next_page_token': 'str',
|
|
46
|
+
'prev_page_token': 'str'
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
attribute_map = {
|
|
50
|
+
'blog_posts': 'blogPosts',
|
|
51
|
+
'next_page_token': 'nextPageToken',
|
|
52
|
+
'prev_page_token': 'prevPageToken'
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
def __init__(self, blog_posts: 'list[V1BlogPost]' =None, next_page_token: 'str' =None, prev_page_token: 'str' =None): # noqa: E501
|
|
56
|
+
"""V1ListBlogPostsResponse - a model defined in Swagger""" # noqa: E501
|
|
57
|
+
self._blog_posts = None
|
|
58
|
+
self._next_page_token = None
|
|
59
|
+
self._prev_page_token = None
|
|
60
|
+
self.discriminator = None
|
|
61
|
+
if blog_posts is not None:
|
|
62
|
+
self.blog_posts = blog_posts
|
|
63
|
+
if next_page_token is not None:
|
|
64
|
+
self.next_page_token = next_page_token
|
|
65
|
+
if prev_page_token is not None:
|
|
66
|
+
self.prev_page_token = prev_page_token
|
|
67
|
+
|
|
68
|
+
@property
|
|
69
|
+
def blog_posts(self) -> 'list[V1BlogPost]':
|
|
70
|
+
"""Gets the blog_posts of this V1ListBlogPostsResponse. # noqa: E501
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
:return: The blog_posts of this V1ListBlogPostsResponse. # noqa: E501
|
|
74
|
+
:rtype: list[V1BlogPost]
|
|
75
|
+
"""
|
|
76
|
+
return self._blog_posts
|
|
77
|
+
|
|
78
|
+
@blog_posts.setter
|
|
79
|
+
def blog_posts(self, blog_posts: 'list[V1BlogPost]'):
|
|
80
|
+
"""Sets the blog_posts of this V1ListBlogPostsResponse.
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
:param blog_posts: The blog_posts of this V1ListBlogPostsResponse. # noqa: E501
|
|
84
|
+
:type: list[V1BlogPost]
|
|
85
|
+
"""
|
|
86
|
+
|
|
87
|
+
self._blog_posts = blog_posts
|
|
88
|
+
|
|
89
|
+
@property
|
|
90
|
+
def next_page_token(self) -> 'str':
|
|
91
|
+
"""Gets the next_page_token of this V1ListBlogPostsResponse. # noqa: E501
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
:return: The next_page_token of this V1ListBlogPostsResponse. # noqa: E501
|
|
95
|
+
:rtype: str
|
|
96
|
+
"""
|
|
97
|
+
return self._next_page_token
|
|
98
|
+
|
|
99
|
+
@next_page_token.setter
|
|
100
|
+
def next_page_token(self, next_page_token: 'str'):
|
|
101
|
+
"""Sets the next_page_token of this V1ListBlogPostsResponse.
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
:param next_page_token: The next_page_token of this V1ListBlogPostsResponse. # noqa: E501
|
|
105
|
+
:type: str
|
|
106
|
+
"""
|
|
107
|
+
|
|
108
|
+
self._next_page_token = next_page_token
|
|
109
|
+
|
|
110
|
+
@property
|
|
111
|
+
def prev_page_token(self) -> 'str':
|
|
112
|
+
"""Gets the prev_page_token of this V1ListBlogPostsResponse. # noqa: E501
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
:return: The prev_page_token of this V1ListBlogPostsResponse. # noqa: E501
|
|
116
|
+
:rtype: str
|
|
117
|
+
"""
|
|
118
|
+
return self._prev_page_token
|
|
119
|
+
|
|
120
|
+
@prev_page_token.setter
|
|
121
|
+
def prev_page_token(self, prev_page_token: 'str'):
|
|
122
|
+
"""Sets the prev_page_token of this V1ListBlogPostsResponse.
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
:param prev_page_token: The prev_page_token of this V1ListBlogPostsResponse. # noqa: E501
|
|
126
|
+
:type: str
|
|
127
|
+
"""
|
|
128
|
+
|
|
129
|
+
self._prev_page_token = prev_page_token
|
|
130
|
+
|
|
131
|
+
def to_dict(self) -> dict:
|
|
132
|
+
"""Returns the model properties as a dict"""
|
|
133
|
+
result = {}
|
|
134
|
+
|
|
135
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
136
|
+
value = getattr(self, attr)
|
|
137
|
+
if isinstance(value, list):
|
|
138
|
+
result[attr] = list(map(
|
|
139
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
140
|
+
value
|
|
141
|
+
))
|
|
142
|
+
elif hasattr(value, "to_dict"):
|
|
143
|
+
result[attr] = value.to_dict()
|
|
144
|
+
elif isinstance(value, dict):
|
|
145
|
+
result[attr] = dict(map(
|
|
146
|
+
lambda item: (item[0], item[1].to_dict())
|
|
147
|
+
if hasattr(item[1], "to_dict") else item,
|
|
148
|
+
value.items()
|
|
149
|
+
))
|
|
150
|
+
else:
|
|
151
|
+
result[attr] = value
|
|
152
|
+
if issubclass(V1ListBlogPostsResponse, dict):
|
|
153
|
+
for key, value in self.items():
|
|
154
|
+
result[key] = value
|
|
155
|
+
|
|
156
|
+
return result
|
|
157
|
+
|
|
158
|
+
def to_str(self) -> str:
|
|
159
|
+
"""Returns the string representation of the model"""
|
|
160
|
+
return pprint.pformat(self.to_dict())
|
|
161
|
+
|
|
162
|
+
def __repr__(self) -> str:
|
|
163
|
+
"""For `print` and `pprint`"""
|
|
164
|
+
return self.to_str()
|
|
165
|
+
|
|
166
|
+
def __eq__(self, other: 'V1ListBlogPostsResponse') -> bool:
|
|
167
|
+
"""Returns true if both objects are equal"""
|
|
168
|
+
if not isinstance(other, V1ListBlogPostsResponse):
|
|
169
|
+
return False
|
|
170
|
+
|
|
171
|
+
return self.__dict__ == other.__dict__
|
|
172
|
+
|
|
173
|
+
def __ne__(self, other: 'V1ListBlogPostsResponse') -> bool:
|
|
174
|
+
"""Returns true if both objects are not equal"""
|
|
175
|
+
return not self == other
|
|
@@ -49,6 +49,7 @@ class V1Message(object):
|
|
|
49
49
|
'created_at': 'datetime',
|
|
50
50
|
'executable': 'bool',
|
|
51
51
|
'id': 'str',
|
|
52
|
+
'metadata': 'dict(str, str)',
|
|
52
53
|
'model': 'str',
|
|
53
54
|
'prompt_tokens': 'str',
|
|
54
55
|
'throughput': 'float'
|
|
@@ -63,12 +64,13 @@ class V1Message(object):
|
|
|
63
64
|
'created_at': 'createdAt',
|
|
64
65
|
'executable': 'executable',
|
|
65
66
|
'id': 'id',
|
|
67
|
+
'metadata': 'metadata',
|
|
66
68
|
'model': 'model',
|
|
67
69
|
'prompt_tokens': 'promptTokens',
|
|
68
70
|
'throughput': 'throughput'
|
|
69
71
|
}
|
|
70
72
|
|
|
71
|
-
def __init__(self, assistant_id: 'str' =None, author: 'V1MessageAuthor' =None, completion_tokens: 'str' =None, content: 'list[V1MessageContent]' =None, conversation_id: 'str' =None, created_at: 'datetime' =None, executable: 'bool' =None, id: 'str' =None, model: 'str' =None, prompt_tokens: 'str' =None, throughput: 'float' =None): # noqa: E501
|
|
73
|
+
def __init__(self, assistant_id: 'str' =None, author: 'V1MessageAuthor' =None, completion_tokens: 'str' =None, content: 'list[V1MessageContent]' =None, conversation_id: 'str' =None, created_at: 'datetime' =None, executable: 'bool' =None, id: 'str' =None, metadata: 'dict(str, str)' =None, model: 'str' =None, prompt_tokens: 'str' =None, throughput: 'float' =None): # noqa: E501
|
|
72
74
|
"""V1Message - a model defined in Swagger""" # noqa: E501
|
|
73
75
|
self._assistant_id = None
|
|
74
76
|
self._author = None
|
|
@@ -78,6 +80,7 @@ class V1Message(object):
|
|
|
78
80
|
self._created_at = None
|
|
79
81
|
self._executable = None
|
|
80
82
|
self._id = None
|
|
83
|
+
self._metadata = None
|
|
81
84
|
self._model = None
|
|
82
85
|
self._prompt_tokens = None
|
|
83
86
|
self._throughput = None
|
|
@@ -98,6 +101,8 @@ class V1Message(object):
|
|
|
98
101
|
self.executable = executable
|
|
99
102
|
if id is not None:
|
|
100
103
|
self.id = id
|
|
104
|
+
if metadata is not None:
|
|
105
|
+
self.metadata = metadata
|
|
101
106
|
if model is not None:
|
|
102
107
|
self.model = model
|
|
103
108
|
if prompt_tokens is not None:
|
|
@@ -273,6 +278,27 @@ class V1Message(object):
|
|
|
273
278
|
|
|
274
279
|
self._id = id
|
|
275
280
|
|
|
281
|
+
@property
|
|
282
|
+
def metadata(self) -> 'dict(str, str)':
|
|
283
|
+
"""Gets the metadata of this V1Message. # noqa: E501
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
:return: The metadata of this V1Message. # noqa: E501
|
|
287
|
+
:rtype: dict(str, str)
|
|
288
|
+
"""
|
|
289
|
+
return self._metadata
|
|
290
|
+
|
|
291
|
+
@metadata.setter
|
|
292
|
+
def metadata(self, metadata: 'dict(str, str)'):
|
|
293
|
+
"""Sets the metadata of this V1Message.
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
:param metadata: The metadata of this V1Message. # noqa: E501
|
|
297
|
+
:type: dict(str, str)
|
|
298
|
+
"""
|
|
299
|
+
|
|
300
|
+
self._metadata = metadata
|
|
301
|
+
|
|
276
302
|
@property
|
|
277
303
|
def model(self) -> 'str':
|
|
278
304
|
"""Gets the model of this V1Message. # noqa: E501
|
|
@@ -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',
|
|
@@ -88,19 +88,13 @@ class V1Organization(object):
|
|
|
88
88
|
|
|
89
89
|
attribute_map = {
|
|
90
90
|
'alerts_config': 'alertsConfig',
|
|
91
|
-
'allow_aws_saas': 'allowAwsSaas',
|
|
92
91
|
'allow_budgeting': 'allowBudgeting',
|
|
93
92
|
'allow_credits_auto_replenish': 'allowCreditsAutoReplenish',
|
|
94
|
-
'allow_dgx_saas': 'allowDgxSaas',
|
|
95
93
|
'allow_external_project_duplication': 'allowExternalProjectDuplication',
|
|
96
|
-
'allow_gcp_saas': 'allowGcpSaas',
|
|
97
94
|
'allow_guest': 'allowGuest',
|
|
98
|
-
'allow_lambda_saas': 'allowLambdaSaas',
|
|
99
|
-
'allow_lightning_saas': 'allowLightningSaas',
|
|
100
95
|
'allow_marketplace': 'allowMarketplace',
|
|
101
96
|
'allow_member_invitations': 'allowMemberInvitations',
|
|
102
97
|
'allow_member_teamspace_creation': 'allowMemberTeamspaceCreation',
|
|
103
|
-
'allow_vultr_saas': 'allowVultrSaas',
|
|
104
98
|
'auto_invite_by_domain': 'autoInviteByDomain',
|
|
105
99
|
'auto_join_domain_validations': 'autoJoinDomainValidations',
|
|
106
100
|
'auto_join_domains': 'autoJoinDomains',
|
|
@@ -111,6 +105,12 @@ class V1Organization(object):
|
|
|
111
105
|
'default_machine_image_version': 'defaultMachineImageVersion',
|
|
112
106
|
'default_machine_type': 'defaultMachineType',
|
|
113
107
|
'description': 'description',
|
|
108
|
+
'disallow_aws_saas': 'disallowAwsSaas',
|
|
109
|
+
'disallow_dgx_saas': 'disallowDgxSaas',
|
|
110
|
+
'disallow_gcp_saas': 'disallowGcpSaas',
|
|
111
|
+
'disallow_lambda_saas': 'disallowLambdaSaas',
|
|
112
|
+
'disallow_lightning_saas': 'disallowLightningSaas',
|
|
113
|
+
'disallow_vultr_saas': 'disallowVultrSaas',
|
|
114
114
|
'display_name': 'displayName',
|
|
115
115
|
'domain': 'domain',
|
|
116
116
|
'email': 'email',
|
|
@@ -132,22 +132,16 @@ class V1Organization(object):
|
|
|
132
132
|
'workload_max_run_duration': 'workloadMaxRunDuration'
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
def __init__(self, alerts_config: 'V1AlertsConfig' =None,
|
|
135
|
+
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, 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
|
|
136
136
|
"""V1Organization - a model defined in Swagger""" # noqa: E501
|
|
137
137
|
self._alerts_config = None
|
|
138
|
-
self._allow_aws_saas = None
|
|
139
138
|
self._allow_budgeting = None
|
|
140
139
|
self._allow_credits_auto_replenish = None
|
|
141
|
-
self._allow_dgx_saas = None
|
|
142
140
|
self._allow_external_project_duplication = None
|
|
143
|
-
self._allow_gcp_saas = None
|
|
144
141
|
self._allow_guest = None
|
|
145
|
-
self._allow_lambda_saas = None
|
|
146
|
-
self._allow_lightning_saas = None
|
|
147
142
|
self._allow_marketplace = None
|
|
148
143
|
self._allow_member_invitations = None
|
|
149
144
|
self._allow_member_teamspace_creation = None
|
|
150
|
-
self._allow_vultr_saas = None
|
|
151
145
|
self._auto_invite_by_domain = None
|
|
152
146
|
self._auto_join_domain_validations = None
|
|
153
147
|
self._auto_join_domains = None
|
|
@@ -158,6 +152,12 @@ class V1Organization(object):
|
|
|
158
152
|
self._default_machine_image_version = None
|
|
159
153
|
self._default_machine_type = None
|
|
160
154
|
self._description = None
|
|
155
|
+
self._disallow_aws_saas = None
|
|
156
|
+
self._disallow_dgx_saas = None
|
|
157
|
+
self._disallow_gcp_saas = None
|
|
158
|
+
self._disallow_lambda_saas = None
|
|
159
|
+
self._disallow_lightning_saas = None
|
|
160
|
+
self._disallow_vultr_saas = None
|
|
161
161
|
self._display_name = None
|
|
162
162
|
self._domain = None
|
|
163
163
|
self._email = None
|
|
@@ -180,32 +180,20 @@ class V1Organization(object):
|
|
|
180
180
|
self.discriminator = None
|
|
181
181
|
if alerts_config is not None:
|
|
182
182
|
self.alerts_config = alerts_config
|
|
183
|
-
if allow_aws_saas is not None:
|
|
184
|
-
self.allow_aws_saas = allow_aws_saas
|
|
185
183
|
if allow_budgeting is not None:
|
|
186
184
|
self.allow_budgeting = allow_budgeting
|
|
187
185
|
if allow_credits_auto_replenish is not None:
|
|
188
186
|
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
187
|
if allow_external_project_duplication is not None:
|
|
192
188
|
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
189
|
if allow_guest is not None:
|
|
196
190
|
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
191
|
if allow_marketplace is not None:
|
|
202
192
|
self.allow_marketplace = allow_marketplace
|
|
203
193
|
if allow_member_invitations is not None:
|
|
204
194
|
self.allow_member_invitations = allow_member_invitations
|
|
205
195
|
if allow_member_teamspace_creation is not None:
|
|
206
196
|
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
197
|
if auto_invite_by_domain is not None:
|
|
210
198
|
self.auto_invite_by_domain = auto_invite_by_domain
|
|
211
199
|
if auto_join_domain_validations is not None:
|
|
@@ -226,6 +214,18 @@ class V1Organization(object):
|
|
|
226
214
|
self.default_machine_type = default_machine_type
|
|
227
215
|
if description is not None:
|
|
228
216
|
self.description = description
|
|
217
|
+
if disallow_aws_saas is not None:
|
|
218
|
+
self.disallow_aws_saas = disallow_aws_saas
|
|
219
|
+
if disallow_dgx_saas is not None:
|
|
220
|
+
self.disallow_dgx_saas = disallow_dgx_saas
|
|
221
|
+
if disallow_gcp_saas is not None:
|
|
222
|
+
self.disallow_gcp_saas = disallow_gcp_saas
|
|
223
|
+
if disallow_lambda_saas is not None:
|
|
224
|
+
self.disallow_lambda_saas = disallow_lambda_saas
|
|
225
|
+
if disallow_lightning_saas is not None:
|
|
226
|
+
self.disallow_lightning_saas = disallow_lightning_saas
|
|
227
|
+
if disallow_vultr_saas is not None:
|
|
228
|
+
self.disallow_vultr_saas = disallow_vultr_saas
|
|
229
229
|
if display_name is not None:
|
|
230
230
|
self.display_name = display_name
|
|
231
231
|
if domain is not None:
|
|
@@ -286,27 +286,6 @@ class V1Organization(object):
|
|
|
286
286
|
|
|
287
287
|
self._alerts_config = alerts_config
|
|
288
288
|
|
|
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
289
|
@property
|
|
311
290
|
def allow_budgeting(self) -> 'bool':
|
|
312
291
|
"""Gets the allow_budgeting of this V1Organization. # noqa: E501
|
|
@@ -349,27 +328,6 @@ class V1Organization(object):
|
|
|
349
328
|
|
|
350
329
|
self._allow_credits_auto_replenish = allow_credits_auto_replenish
|
|
351
330
|
|
|
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
331
|
@property
|
|
374
332
|
def allow_external_project_duplication(self) -> 'bool':
|
|
375
333
|
"""Gets the allow_external_project_duplication of this V1Organization. # noqa: E501
|
|
@@ -393,27 +351,6 @@ class V1Organization(object):
|
|
|
393
351
|
|
|
394
352
|
self._allow_external_project_duplication = allow_external_project_duplication
|
|
395
353
|
|
|
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
354
|
@property
|
|
418
355
|
def allow_guest(self) -> 'bool':
|
|
419
356
|
"""Gets the allow_guest of this V1Organization. # noqa: E501
|
|
@@ -435,48 +372,6 @@ class V1Organization(object):
|
|
|
435
372
|
|
|
436
373
|
self._allow_guest = allow_guest
|
|
437
374
|
|
|
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
375
|
@property
|
|
481
376
|
def allow_marketplace(self) -> 'bool':
|
|
482
377
|
"""Gets the allow_marketplace of this V1Organization. # noqa: E501
|
|
@@ -540,27 +435,6 @@ class V1Organization(object):
|
|
|
540
435
|
|
|
541
436
|
self._allow_member_teamspace_creation = allow_member_teamspace_creation
|
|
542
437
|
|
|
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
438
|
@property
|
|
565
439
|
def auto_invite_by_domain(self) -> 'bool':
|
|
566
440
|
"""Gets the auto_invite_by_domain of this V1Organization. # noqa: E501
|
|
@@ -771,6 +645,132 @@ class V1Organization(object):
|
|
|
771
645
|
|
|
772
646
|
self._description = description
|
|
773
647
|
|
|
648
|
+
@property
|
|
649
|
+
def disallow_aws_saas(self) -> 'bool':
|
|
650
|
+
"""Gets the disallow_aws_saas of this V1Organization. # noqa: E501
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
:return: The disallow_aws_saas of this V1Organization. # noqa: E501
|
|
654
|
+
:rtype: bool
|
|
655
|
+
"""
|
|
656
|
+
return self._disallow_aws_saas
|
|
657
|
+
|
|
658
|
+
@disallow_aws_saas.setter
|
|
659
|
+
def disallow_aws_saas(self, disallow_aws_saas: 'bool'):
|
|
660
|
+
"""Sets the disallow_aws_saas of this V1Organization.
|
|
661
|
+
|
|
662
|
+
|
|
663
|
+
:param disallow_aws_saas: The disallow_aws_saas of this V1Organization. # noqa: E501
|
|
664
|
+
:type: bool
|
|
665
|
+
"""
|
|
666
|
+
|
|
667
|
+
self._disallow_aws_saas = disallow_aws_saas
|
|
668
|
+
|
|
669
|
+
@property
|
|
670
|
+
def disallow_dgx_saas(self) -> 'bool':
|
|
671
|
+
"""Gets the disallow_dgx_saas of this V1Organization. # noqa: E501
|
|
672
|
+
|
|
673
|
+
|
|
674
|
+
:return: The disallow_dgx_saas of this V1Organization. # noqa: E501
|
|
675
|
+
:rtype: bool
|
|
676
|
+
"""
|
|
677
|
+
return self._disallow_dgx_saas
|
|
678
|
+
|
|
679
|
+
@disallow_dgx_saas.setter
|
|
680
|
+
def disallow_dgx_saas(self, disallow_dgx_saas: 'bool'):
|
|
681
|
+
"""Sets the disallow_dgx_saas of this V1Organization.
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
:param disallow_dgx_saas: The disallow_dgx_saas of this V1Organization. # noqa: E501
|
|
685
|
+
:type: bool
|
|
686
|
+
"""
|
|
687
|
+
|
|
688
|
+
self._disallow_dgx_saas = disallow_dgx_saas
|
|
689
|
+
|
|
690
|
+
@property
|
|
691
|
+
def disallow_gcp_saas(self) -> 'bool':
|
|
692
|
+
"""Gets the disallow_gcp_saas of this V1Organization. # noqa: E501
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
:return: The disallow_gcp_saas of this V1Organization. # noqa: E501
|
|
696
|
+
:rtype: bool
|
|
697
|
+
"""
|
|
698
|
+
return self._disallow_gcp_saas
|
|
699
|
+
|
|
700
|
+
@disallow_gcp_saas.setter
|
|
701
|
+
def disallow_gcp_saas(self, disallow_gcp_saas: 'bool'):
|
|
702
|
+
"""Sets the disallow_gcp_saas of this V1Organization.
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
:param disallow_gcp_saas: The disallow_gcp_saas of this V1Organization. # noqa: E501
|
|
706
|
+
:type: bool
|
|
707
|
+
"""
|
|
708
|
+
|
|
709
|
+
self._disallow_gcp_saas = disallow_gcp_saas
|
|
710
|
+
|
|
711
|
+
@property
|
|
712
|
+
def disallow_lambda_saas(self) -> 'bool':
|
|
713
|
+
"""Gets the disallow_lambda_saas of this V1Organization. # noqa: E501
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
:return: The disallow_lambda_saas of this V1Organization. # noqa: E501
|
|
717
|
+
:rtype: bool
|
|
718
|
+
"""
|
|
719
|
+
return self._disallow_lambda_saas
|
|
720
|
+
|
|
721
|
+
@disallow_lambda_saas.setter
|
|
722
|
+
def disallow_lambda_saas(self, disallow_lambda_saas: 'bool'):
|
|
723
|
+
"""Sets the disallow_lambda_saas of this V1Organization.
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
:param disallow_lambda_saas: The disallow_lambda_saas of this V1Organization. # noqa: E501
|
|
727
|
+
:type: bool
|
|
728
|
+
"""
|
|
729
|
+
|
|
730
|
+
self._disallow_lambda_saas = disallow_lambda_saas
|
|
731
|
+
|
|
732
|
+
@property
|
|
733
|
+
def disallow_lightning_saas(self) -> 'bool':
|
|
734
|
+
"""Gets the disallow_lightning_saas of this V1Organization. # noqa: E501
|
|
735
|
+
|
|
736
|
+
|
|
737
|
+
:return: The disallow_lightning_saas of this V1Organization. # noqa: E501
|
|
738
|
+
:rtype: bool
|
|
739
|
+
"""
|
|
740
|
+
return self._disallow_lightning_saas
|
|
741
|
+
|
|
742
|
+
@disallow_lightning_saas.setter
|
|
743
|
+
def disallow_lightning_saas(self, disallow_lightning_saas: 'bool'):
|
|
744
|
+
"""Sets the disallow_lightning_saas of this V1Organization.
|
|
745
|
+
|
|
746
|
+
|
|
747
|
+
:param disallow_lightning_saas: The disallow_lightning_saas of this V1Organization. # noqa: E501
|
|
748
|
+
:type: bool
|
|
749
|
+
"""
|
|
750
|
+
|
|
751
|
+
self._disallow_lightning_saas = disallow_lightning_saas
|
|
752
|
+
|
|
753
|
+
@property
|
|
754
|
+
def disallow_vultr_saas(self) -> 'bool':
|
|
755
|
+
"""Gets the disallow_vultr_saas of this V1Organization. # noqa: E501
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
:return: The disallow_vultr_saas of this V1Organization. # noqa: E501
|
|
759
|
+
:rtype: bool
|
|
760
|
+
"""
|
|
761
|
+
return self._disallow_vultr_saas
|
|
762
|
+
|
|
763
|
+
@disallow_vultr_saas.setter
|
|
764
|
+
def disallow_vultr_saas(self, disallow_vultr_saas: 'bool'):
|
|
765
|
+
"""Sets the disallow_vultr_saas of this V1Organization.
|
|
766
|
+
|
|
767
|
+
|
|
768
|
+
:param disallow_vultr_saas: The disallow_vultr_saas of this V1Organization. # noqa: E501
|
|
769
|
+
:type: bool
|
|
770
|
+
"""
|
|
771
|
+
|
|
772
|
+
self._disallow_vultr_saas = disallow_vultr_saas
|
|
773
|
+
|
|
774
774
|
@property
|
|
775
775
|
def display_name(self) -> 'str':
|
|
776
776
|
"""Gets the display_name of this V1Organization. # noqa: E501
|