lightning-sdk 0.2.22__py3-none-any.whl → 0.2.24rc0__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/base_studio_api.py +9 -2
- lightning_sdk/api/deployment_api.py +9 -9
- lightning_sdk/api/license_api.py +2 -2
- lightning_sdk/api/llm_api.py +7 -11
- lightning_sdk/api/pipeline_api.py +31 -10
- lightning_sdk/api/studio_api.py +6 -0
- lightning_sdk/base_studio.py +22 -6
- lightning_sdk/cli/entrypoint.py +15 -13
- lightning_sdk/cli/start.py +5 -2
- lightning_sdk/deployment/deployment.py +17 -7
- lightning_sdk/lightning_cloud/openapi/__init__.py +20 -0
- lightning_sdk/lightning_cloud/openapi/api/__init__.py +1 -0
- lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +114 -1
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +206 -0
- lightning_sdk/lightning_cloud/openapi/api/cloudy_service_api.py +129 -0
- lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +97 -0
- lightning_sdk/lightning_cloud/openapi/api/organizations_service_api.py +105 -0
- lightning_sdk/lightning_cloud/openapi/api/pipelines_service_api.py +118 -1
- lightning_sdk/lightning_cloud/openapi/api/user_service_api.py +105 -0
- lightning_sdk/lightning_cloud/openapi/configuration.py +1 -1
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +19 -0
- lightning_sdk/lightning_cloud/openapi/models/agents_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/assistant_id_conversations_body.py +81 -3
- lightning_sdk/lightning_cloud/openapi/models/cloudspace_id_visibility_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/create_deployment_request_defines_a_spec_for_the_job_that_allows_for_autoscaling_jobs.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/credits_autoreplenish_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/credits_autoreplenish_body1.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/externalv1_user_status.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/metricsstream_create_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/pipelines_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/pipelines_id_body1.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_agents_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/project_id_cloudspaces_body.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/update.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_assistant.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_check_cluster_name_availability_request.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_check_cluster_name_availability_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_provider.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_config.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template_config.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_type.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_session.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_specialized_view.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloudy_expert.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_accelerator.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_capacity_reservation.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_security_options.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +105 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_status.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_conversation_response_chunk.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_create_cloud_space_environment_template_request.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_create_deployment_request.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_organization_request.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_status.py +47 -21
- lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster_spec.py +853 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_job_stats_response.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_instance_overprovisioning_spec.py +29 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_v1.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_v1_status.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lightning_run.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cloudy_experts_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_clusters_response.py +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_list_project_clusters_response.py +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_lite_published_cloud_space_response.py +513 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_login_request.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_magic_link_login_request.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_magic_link_login_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_metrics_stream.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_shared_filesystem.py +131 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_token_usage.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_cloud_space_visibility_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_organization_credits_auto_replenish_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_user_credits_auto_replenish_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_user_request.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +234 -104
- lightning_sdk/lightning_cloud/openapi/models/v1_volume.py +78 -104
- lightning_sdk/lightning_cloud/openapi/models/v1_volume_state.py +104 -0
- lightning_sdk/llm/llm.py +113 -115
- lightning_sdk/llm/public_assistants.json +8 -0
- lightning_sdk/pipeline/__init__.py +11 -2
- lightning_sdk/pipeline/pipeline.py +54 -14
- lightning_sdk/pipeline/printer.py +36 -16
- lightning_sdk/pipeline/schedule.py +2 -1
- lightning_sdk/pipeline/{types.py → steps.py} +77 -56
- lightning_sdk/pipeline/utils.py +65 -3
- lightning_sdk/sandbox.py +157 -0
- lightning_sdk/services/license.py +12 -6
- lightning_sdk/studio.py +10 -1
- {lightning_sdk-0.2.22.dist-info → lightning_sdk-0.2.24rc0.dist-info}/METADATA +1 -1
- {lightning_sdk-0.2.22.dist-info → lightning_sdk-0.2.24rc0.dist-info}/RECORD +101 -79
- {lightning_sdk-0.2.22.dist-info → lightning_sdk-0.2.24rc0.dist-info}/LICENSE +0 -0
- {lightning_sdk-0.2.22.dist-info → lightning_sdk-0.2.24rc0.dist-info}/WHEEL +0 -0
- {lightning_sdk-0.2.22.dist-info → lightning_sdk-0.2.24rc0.dist-info}/entry_points.txt +0 -0
- {lightning_sdk-0.2.22.dist-info → lightning_sdk-0.2.24rc0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,513 @@
|
|
|
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 V1LitePublishedCloudSpaceResponse(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
|
+
'description': 'str',
|
|
45
|
+
'display_name': 'str',
|
|
46
|
+
'engagement_counts': 'dict(str, str)',
|
|
47
|
+
'id': 'str',
|
|
48
|
+
'name': 'str',
|
|
49
|
+
'project_id': 'str',
|
|
50
|
+
'project_name': 'str',
|
|
51
|
+
'project_owner_id': 'str',
|
|
52
|
+
'project_owner_name': 'str',
|
|
53
|
+
'project_owner_type': 'V1OwnerType',
|
|
54
|
+
'studio_creator_avatar_url': 'str',
|
|
55
|
+
'studio_creator_first_name': 'str',
|
|
56
|
+
'studio_creator_id': 'str',
|
|
57
|
+
'studio_creator_last_name': 'str',
|
|
58
|
+
'studio_creator_username': 'str',
|
|
59
|
+
'thumbnail_url': 'str'
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
attribute_map = {
|
|
63
|
+
'description': 'description',
|
|
64
|
+
'display_name': 'displayName',
|
|
65
|
+
'engagement_counts': 'engagementCounts',
|
|
66
|
+
'id': 'id',
|
|
67
|
+
'name': 'name',
|
|
68
|
+
'project_id': 'projectId',
|
|
69
|
+
'project_name': 'projectName',
|
|
70
|
+
'project_owner_id': 'projectOwnerId',
|
|
71
|
+
'project_owner_name': 'projectOwnerName',
|
|
72
|
+
'project_owner_type': 'projectOwnerType',
|
|
73
|
+
'studio_creator_avatar_url': 'studioCreatorAvatarUrl',
|
|
74
|
+
'studio_creator_first_name': 'studioCreatorFirstName',
|
|
75
|
+
'studio_creator_id': 'studioCreatorId',
|
|
76
|
+
'studio_creator_last_name': 'studioCreatorLastName',
|
|
77
|
+
'studio_creator_username': 'studioCreatorUsername',
|
|
78
|
+
'thumbnail_url': 'thumbnailUrl'
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
def __init__(self, description: 'str' =None, display_name: 'str' =None, engagement_counts: 'dict(str, str)' =None, id: 'str' =None, name: 'str' =None, project_id: 'str' =None, project_name: 'str' =None, project_owner_id: 'str' =None, project_owner_name: 'str' =None, project_owner_type: 'V1OwnerType' =None, studio_creator_avatar_url: 'str' =None, studio_creator_first_name: 'str' =None, studio_creator_id: 'str' =None, studio_creator_last_name: 'str' =None, studio_creator_username: 'str' =None, thumbnail_url: 'str' =None): # noqa: E501
|
|
82
|
+
"""V1LitePublishedCloudSpaceResponse - a model defined in Swagger""" # noqa: E501
|
|
83
|
+
self._description = None
|
|
84
|
+
self._display_name = None
|
|
85
|
+
self._engagement_counts = None
|
|
86
|
+
self._id = None
|
|
87
|
+
self._name = None
|
|
88
|
+
self._project_id = None
|
|
89
|
+
self._project_name = None
|
|
90
|
+
self._project_owner_id = None
|
|
91
|
+
self._project_owner_name = None
|
|
92
|
+
self._project_owner_type = None
|
|
93
|
+
self._studio_creator_avatar_url = None
|
|
94
|
+
self._studio_creator_first_name = None
|
|
95
|
+
self._studio_creator_id = None
|
|
96
|
+
self._studio_creator_last_name = None
|
|
97
|
+
self._studio_creator_username = None
|
|
98
|
+
self._thumbnail_url = None
|
|
99
|
+
self.discriminator = None
|
|
100
|
+
if description is not None:
|
|
101
|
+
self.description = description
|
|
102
|
+
if display_name is not None:
|
|
103
|
+
self.display_name = display_name
|
|
104
|
+
if engagement_counts is not None:
|
|
105
|
+
self.engagement_counts = engagement_counts
|
|
106
|
+
if id is not None:
|
|
107
|
+
self.id = id
|
|
108
|
+
if name is not None:
|
|
109
|
+
self.name = name
|
|
110
|
+
if project_id is not None:
|
|
111
|
+
self.project_id = project_id
|
|
112
|
+
if project_name is not None:
|
|
113
|
+
self.project_name = project_name
|
|
114
|
+
if project_owner_id is not None:
|
|
115
|
+
self.project_owner_id = project_owner_id
|
|
116
|
+
if project_owner_name is not None:
|
|
117
|
+
self.project_owner_name = project_owner_name
|
|
118
|
+
if project_owner_type is not None:
|
|
119
|
+
self.project_owner_type = project_owner_type
|
|
120
|
+
if studio_creator_avatar_url is not None:
|
|
121
|
+
self.studio_creator_avatar_url = studio_creator_avatar_url
|
|
122
|
+
if studio_creator_first_name is not None:
|
|
123
|
+
self.studio_creator_first_name = studio_creator_first_name
|
|
124
|
+
if studio_creator_id is not None:
|
|
125
|
+
self.studio_creator_id = studio_creator_id
|
|
126
|
+
if studio_creator_last_name is not None:
|
|
127
|
+
self.studio_creator_last_name = studio_creator_last_name
|
|
128
|
+
if studio_creator_username is not None:
|
|
129
|
+
self.studio_creator_username = studio_creator_username
|
|
130
|
+
if thumbnail_url is not None:
|
|
131
|
+
self.thumbnail_url = thumbnail_url
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
def description(self) -> 'str':
|
|
135
|
+
"""Gets the description of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
:return: The description of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
139
|
+
:rtype: str
|
|
140
|
+
"""
|
|
141
|
+
return self._description
|
|
142
|
+
|
|
143
|
+
@description.setter
|
|
144
|
+
def description(self, description: 'str'):
|
|
145
|
+
"""Sets the description of this V1LitePublishedCloudSpaceResponse.
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
:param description: The description of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
149
|
+
:type: str
|
|
150
|
+
"""
|
|
151
|
+
|
|
152
|
+
self._description = description
|
|
153
|
+
|
|
154
|
+
@property
|
|
155
|
+
def display_name(self) -> 'str':
|
|
156
|
+
"""Gets the display_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
:return: The display_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
160
|
+
:rtype: str
|
|
161
|
+
"""
|
|
162
|
+
return self._display_name
|
|
163
|
+
|
|
164
|
+
@display_name.setter
|
|
165
|
+
def display_name(self, display_name: 'str'):
|
|
166
|
+
"""Sets the display_name of this V1LitePublishedCloudSpaceResponse.
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
:param display_name: The display_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
170
|
+
:type: str
|
|
171
|
+
"""
|
|
172
|
+
|
|
173
|
+
self._display_name = display_name
|
|
174
|
+
|
|
175
|
+
@property
|
|
176
|
+
def engagement_counts(self) -> 'dict(str, str)':
|
|
177
|
+
"""Gets the engagement_counts of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
:return: The engagement_counts of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
181
|
+
:rtype: dict(str, str)
|
|
182
|
+
"""
|
|
183
|
+
return self._engagement_counts
|
|
184
|
+
|
|
185
|
+
@engagement_counts.setter
|
|
186
|
+
def engagement_counts(self, engagement_counts: 'dict(str, str)'):
|
|
187
|
+
"""Sets the engagement_counts of this V1LitePublishedCloudSpaceResponse.
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
:param engagement_counts: The engagement_counts of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
191
|
+
:type: dict(str, str)
|
|
192
|
+
"""
|
|
193
|
+
|
|
194
|
+
self._engagement_counts = engagement_counts
|
|
195
|
+
|
|
196
|
+
@property
|
|
197
|
+
def id(self) -> 'str':
|
|
198
|
+
"""Gets the id of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
:return: The id of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
202
|
+
:rtype: str
|
|
203
|
+
"""
|
|
204
|
+
return self._id
|
|
205
|
+
|
|
206
|
+
@id.setter
|
|
207
|
+
def id(self, id: 'str'):
|
|
208
|
+
"""Sets the id of this V1LitePublishedCloudSpaceResponse.
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
:param id: The id of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
212
|
+
:type: str
|
|
213
|
+
"""
|
|
214
|
+
|
|
215
|
+
self._id = id
|
|
216
|
+
|
|
217
|
+
@property
|
|
218
|
+
def name(self) -> 'str':
|
|
219
|
+
"""Gets the name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
:return: The name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
223
|
+
:rtype: str
|
|
224
|
+
"""
|
|
225
|
+
return self._name
|
|
226
|
+
|
|
227
|
+
@name.setter
|
|
228
|
+
def name(self, name: 'str'):
|
|
229
|
+
"""Sets the name of this V1LitePublishedCloudSpaceResponse.
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
:param name: The name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
233
|
+
:type: str
|
|
234
|
+
"""
|
|
235
|
+
|
|
236
|
+
self._name = name
|
|
237
|
+
|
|
238
|
+
@property
|
|
239
|
+
def project_id(self) -> 'str':
|
|
240
|
+
"""Gets the project_id of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
:return: The project_id of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
244
|
+
:rtype: str
|
|
245
|
+
"""
|
|
246
|
+
return self._project_id
|
|
247
|
+
|
|
248
|
+
@project_id.setter
|
|
249
|
+
def project_id(self, project_id: 'str'):
|
|
250
|
+
"""Sets the project_id of this V1LitePublishedCloudSpaceResponse.
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
:param project_id: The project_id of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
254
|
+
:type: str
|
|
255
|
+
"""
|
|
256
|
+
|
|
257
|
+
self._project_id = project_id
|
|
258
|
+
|
|
259
|
+
@property
|
|
260
|
+
def project_name(self) -> 'str':
|
|
261
|
+
"""Gets the project_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
:return: The project_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
265
|
+
:rtype: str
|
|
266
|
+
"""
|
|
267
|
+
return self._project_name
|
|
268
|
+
|
|
269
|
+
@project_name.setter
|
|
270
|
+
def project_name(self, project_name: 'str'):
|
|
271
|
+
"""Sets the project_name of this V1LitePublishedCloudSpaceResponse.
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
:param project_name: The project_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
275
|
+
:type: str
|
|
276
|
+
"""
|
|
277
|
+
|
|
278
|
+
self._project_name = project_name
|
|
279
|
+
|
|
280
|
+
@property
|
|
281
|
+
def project_owner_id(self) -> 'str':
|
|
282
|
+
"""Gets the project_owner_id of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
:return: The project_owner_id of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
286
|
+
:rtype: str
|
|
287
|
+
"""
|
|
288
|
+
return self._project_owner_id
|
|
289
|
+
|
|
290
|
+
@project_owner_id.setter
|
|
291
|
+
def project_owner_id(self, project_owner_id: 'str'):
|
|
292
|
+
"""Sets the project_owner_id of this V1LitePublishedCloudSpaceResponse.
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
:param project_owner_id: The project_owner_id of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
296
|
+
:type: str
|
|
297
|
+
"""
|
|
298
|
+
|
|
299
|
+
self._project_owner_id = project_owner_id
|
|
300
|
+
|
|
301
|
+
@property
|
|
302
|
+
def project_owner_name(self) -> 'str':
|
|
303
|
+
"""Gets the project_owner_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
:return: The project_owner_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
307
|
+
:rtype: str
|
|
308
|
+
"""
|
|
309
|
+
return self._project_owner_name
|
|
310
|
+
|
|
311
|
+
@project_owner_name.setter
|
|
312
|
+
def project_owner_name(self, project_owner_name: 'str'):
|
|
313
|
+
"""Sets the project_owner_name of this V1LitePublishedCloudSpaceResponse.
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
:param project_owner_name: The project_owner_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
317
|
+
:type: str
|
|
318
|
+
"""
|
|
319
|
+
|
|
320
|
+
self._project_owner_name = project_owner_name
|
|
321
|
+
|
|
322
|
+
@property
|
|
323
|
+
def project_owner_type(self) -> 'V1OwnerType':
|
|
324
|
+
"""Gets the project_owner_type of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
:return: The project_owner_type of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
328
|
+
:rtype: V1OwnerType
|
|
329
|
+
"""
|
|
330
|
+
return self._project_owner_type
|
|
331
|
+
|
|
332
|
+
@project_owner_type.setter
|
|
333
|
+
def project_owner_type(self, project_owner_type: 'V1OwnerType'):
|
|
334
|
+
"""Sets the project_owner_type of this V1LitePublishedCloudSpaceResponse.
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
:param project_owner_type: The project_owner_type of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
338
|
+
:type: V1OwnerType
|
|
339
|
+
"""
|
|
340
|
+
|
|
341
|
+
self._project_owner_type = project_owner_type
|
|
342
|
+
|
|
343
|
+
@property
|
|
344
|
+
def studio_creator_avatar_url(self) -> 'str':
|
|
345
|
+
"""Gets the studio_creator_avatar_url of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
:return: The studio_creator_avatar_url of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
349
|
+
:rtype: str
|
|
350
|
+
"""
|
|
351
|
+
return self._studio_creator_avatar_url
|
|
352
|
+
|
|
353
|
+
@studio_creator_avatar_url.setter
|
|
354
|
+
def studio_creator_avatar_url(self, studio_creator_avatar_url: 'str'):
|
|
355
|
+
"""Sets the studio_creator_avatar_url of this V1LitePublishedCloudSpaceResponse.
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
:param studio_creator_avatar_url: The studio_creator_avatar_url of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
359
|
+
:type: str
|
|
360
|
+
"""
|
|
361
|
+
|
|
362
|
+
self._studio_creator_avatar_url = studio_creator_avatar_url
|
|
363
|
+
|
|
364
|
+
@property
|
|
365
|
+
def studio_creator_first_name(self) -> 'str':
|
|
366
|
+
"""Gets the studio_creator_first_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
:return: The studio_creator_first_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
370
|
+
:rtype: str
|
|
371
|
+
"""
|
|
372
|
+
return self._studio_creator_first_name
|
|
373
|
+
|
|
374
|
+
@studio_creator_first_name.setter
|
|
375
|
+
def studio_creator_first_name(self, studio_creator_first_name: 'str'):
|
|
376
|
+
"""Sets the studio_creator_first_name of this V1LitePublishedCloudSpaceResponse.
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
:param studio_creator_first_name: The studio_creator_first_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
380
|
+
:type: str
|
|
381
|
+
"""
|
|
382
|
+
|
|
383
|
+
self._studio_creator_first_name = studio_creator_first_name
|
|
384
|
+
|
|
385
|
+
@property
|
|
386
|
+
def studio_creator_id(self) -> 'str':
|
|
387
|
+
"""Gets the studio_creator_id of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
:return: The studio_creator_id of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
391
|
+
:rtype: str
|
|
392
|
+
"""
|
|
393
|
+
return self._studio_creator_id
|
|
394
|
+
|
|
395
|
+
@studio_creator_id.setter
|
|
396
|
+
def studio_creator_id(self, studio_creator_id: 'str'):
|
|
397
|
+
"""Sets the studio_creator_id of this V1LitePublishedCloudSpaceResponse.
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
:param studio_creator_id: The studio_creator_id of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
401
|
+
:type: str
|
|
402
|
+
"""
|
|
403
|
+
|
|
404
|
+
self._studio_creator_id = studio_creator_id
|
|
405
|
+
|
|
406
|
+
@property
|
|
407
|
+
def studio_creator_last_name(self) -> 'str':
|
|
408
|
+
"""Gets the studio_creator_last_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
:return: The studio_creator_last_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
412
|
+
:rtype: str
|
|
413
|
+
"""
|
|
414
|
+
return self._studio_creator_last_name
|
|
415
|
+
|
|
416
|
+
@studio_creator_last_name.setter
|
|
417
|
+
def studio_creator_last_name(self, studio_creator_last_name: 'str'):
|
|
418
|
+
"""Sets the studio_creator_last_name of this V1LitePublishedCloudSpaceResponse.
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
:param studio_creator_last_name: The studio_creator_last_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
422
|
+
:type: str
|
|
423
|
+
"""
|
|
424
|
+
|
|
425
|
+
self._studio_creator_last_name = studio_creator_last_name
|
|
426
|
+
|
|
427
|
+
@property
|
|
428
|
+
def studio_creator_username(self) -> 'str':
|
|
429
|
+
"""Gets the studio_creator_username of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
:return: The studio_creator_username of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
433
|
+
:rtype: str
|
|
434
|
+
"""
|
|
435
|
+
return self._studio_creator_username
|
|
436
|
+
|
|
437
|
+
@studio_creator_username.setter
|
|
438
|
+
def studio_creator_username(self, studio_creator_username: 'str'):
|
|
439
|
+
"""Sets the studio_creator_username of this V1LitePublishedCloudSpaceResponse.
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
:param studio_creator_username: The studio_creator_username of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
443
|
+
:type: str
|
|
444
|
+
"""
|
|
445
|
+
|
|
446
|
+
self._studio_creator_username = studio_creator_username
|
|
447
|
+
|
|
448
|
+
@property
|
|
449
|
+
def thumbnail_url(self) -> 'str':
|
|
450
|
+
"""Gets the thumbnail_url of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
:return: The thumbnail_url of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
454
|
+
:rtype: str
|
|
455
|
+
"""
|
|
456
|
+
return self._thumbnail_url
|
|
457
|
+
|
|
458
|
+
@thumbnail_url.setter
|
|
459
|
+
def thumbnail_url(self, thumbnail_url: 'str'):
|
|
460
|
+
"""Sets the thumbnail_url of this V1LitePublishedCloudSpaceResponse.
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
:param thumbnail_url: The thumbnail_url of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
464
|
+
:type: str
|
|
465
|
+
"""
|
|
466
|
+
|
|
467
|
+
self._thumbnail_url = thumbnail_url
|
|
468
|
+
|
|
469
|
+
def to_dict(self) -> dict:
|
|
470
|
+
"""Returns the model properties as a dict"""
|
|
471
|
+
result = {}
|
|
472
|
+
|
|
473
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
474
|
+
value = getattr(self, attr)
|
|
475
|
+
if isinstance(value, list):
|
|
476
|
+
result[attr] = list(map(
|
|
477
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
478
|
+
value
|
|
479
|
+
))
|
|
480
|
+
elif hasattr(value, "to_dict"):
|
|
481
|
+
result[attr] = value.to_dict()
|
|
482
|
+
elif isinstance(value, dict):
|
|
483
|
+
result[attr] = dict(map(
|
|
484
|
+
lambda item: (item[0], item[1].to_dict())
|
|
485
|
+
if hasattr(item[1], "to_dict") else item,
|
|
486
|
+
value.items()
|
|
487
|
+
))
|
|
488
|
+
else:
|
|
489
|
+
result[attr] = value
|
|
490
|
+
if issubclass(V1LitePublishedCloudSpaceResponse, dict):
|
|
491
|
+
for key, value in self.items():
|
|
492
|
+
result[key] = value
|
|
493
|
+
|
|
494
|
+
return result
|
|
495
|
+
|
|
496
|
+
def to_str(self) -> str:
|
|
497
|
+
"""Returns the string representation of the model"""
|
|
498
|
+
return pprint.pformat(self.to_dict())
|
|
499
|
+
|
|
500
|
+
def __repr__(self) -> str:
|
|
501
|
+
"""For `print` and `pprint`"""
|
|
502
|
+
return self.to_str()
|
|
503
|
+
|
|
504
|
+
def __eq__(self, other: 'V1LitePublishedCloudSpaceResponse') -> bool:
|
|
505
|
+
"""Returns true if both objects are equal"""
|
|
506
|
+
if not isinstance(other, V1LitePublishedCloudSpaceResponse):
|
|
507
|
+
return False
|
|
508
|
+
|
|
509
|
+
return self.__dict__ == other.__dict__
|
|
510
|
+
|
|
511
|
+
def __ne__(self, other: 'V1LitePublishedCloudSpaceResponse') -> bool:
|
|
512
|
+
"""Returns true if both objects are not equal"""
|
|
513
|
+
return not self == other
|
|
@@ -43,25 +43,30 @@ class V1LoginRequest(object):
|
|
|
43
43
|
swagger_types = {
|
|
44
44
|
'api_key': 'str',
|
|
45
45
|
'duration': 'str',
|
|
46
|
+
'should_auto_verify': 'bool',
|
|
46
47
|
'username': 'str'
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
attribute_map = {
|
|
50
51
|
'api_key': 'apiKey',
|
|
51
52
|
'duration': 'duration',
|
|
53
|
+
'should_auto_verify': 'shouldAutoVerify',
|
|
52
54
|
'username': 'username'
|
|
53
55
|
}
|
|
54
56
|
|
|
55
|
-
def __init__(self, api_key: 'str' =None, duration: 'str' =None, username: 'str' =None): # noqa: E501
|
|
57
|
+
def __init__(self, api_key: 'str' =None, duration: 'str' =None, should_auto_verify: 'bool' =None, username: 'str' =None): # noqa: E501
|
|
56
58
|
"""V1LoginRequest - a model defined in Swagger""" # noqa: E501
|
|
57
59
|
self._api_key = None
|
|
58
60
|
self._duration = None
|
|
61
|
+
self._should_auto_verify = None
|
|
59
62
|
self._username = None
|
|
60
63
|
self.discriminator = None
|
|
61
64
|
if api_key is not None:
|
|
62
65
|
self.api_key = api_key
|
|
63
66
|
if duration is not None:
|
|
64
67
|
self.duration = duration
|
|
68
|
+
if should_auto_verify is not None:
|
|
69
|
+
self.should_auto_verify = should_auto_verify
|
|
65
70
|
if username is not None:
|
|
66
71
|
self.username = username
|
|
67
72
|
|
|
@@ -107,6 +112,27 @@ class V1LoginRequest(object):
|
|
|
107
112
|
|
|
108
113
|
self._duration = duration
|
|
109
114
|
|
|
115
|
+
@property
|
|
116
|
+
def should_auto_verify(self) -> 'bool':
|
|
117
|
+
"""Gets the should_auto_verify of this V1LoginRequest. # noqa: E501
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
:return: The should_auto_verify of this V1LoginRequest. # noqa: E501
|
|
121
|
+
:rtype: bool
|
|
122
|
+
"""
|
|
123
|
+
return self._should_auto_verify
|
|
124
|
+
|
|
125
|
+
@should_auto_verify.setter
|
|
126
|
+
def should_auto_verify(self, should_auto_verify: 'bool'):
|
|
127
|
+
"""Sets the should_auto_verify of this V1LoginRequest.
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
:param should_auto_verify: The should_auto_verify of this V1LoginRequest. # noqa: E501
|
|
131
|
+
:type: bool
|
|
132
|
+
"""
|
|
133
|
+
|
|
134
|
+
self._should_auto_verify = should_auto_verify
|
|
135
|
+
|
|
110
136
|
@property
|
|
111
137
|
def username(self) -> 'str':
|
|
112
138
|
"""Gets the username of this V1LoginRequest. # noqa: E501
|
|
@@ -47,7 +47,8 @@ class V1MagicLinkLoginRequest(object):
|
|
|
47
47
|
'experimentation_id': 'str',
|
|
48
48
|
'invite_code': 'str',
|
|
49
49
|
'redirect_url': 'str',
|
|
50
|
-
'referrer_params': 'str'
|
|
50
|
+
'referrer_params': 'str',
|
|
51
|
+
'should_auto_verify': 'bool'
|
|
51
52
|
}
|
|
52
53
|
|
|
53
54
|
attribute_map = {
|
|
@@ -57,10 +58,11 @@ class V1MagicLinkLoginRequest(object):
|
|
|
57
58
|
'experimentation_id': 'experimentationId',
|
|
58
59
|
'invite_code': 'inviteCode',
|
|
59
60
|
'redirect_url': 'redirectUrl',
|
|
60
|
-
'referrer_params': 'referrerParams'
|
|
61
|
+
'referrer_params': 'referrerParams',
|
|
62
|
+
'should_auto_verify': 'shouldAutoVerify'
|
|
61
63
|
}
|
|
62
64
|
|
|
63
|
-
def __init__(self, collab_session_id: 'str' =None, discounted_pro_plan: 'bool' =None, email: 'str' =None, experimentation_id: 'str' =None, invite_code: 'str' =None, redirect_url: 'str' =None, referrer_params: 'str' =None): # noqa: E501
|
|
65
|
+
def __init__(self, collab_session_id: 'str' =None, discounted_pro_plan: 'bool' =None, email: 'str' =None, experimentation_id: 'str' =None, invite_code: 'str' =None, redirect_url: 'str' =None, referrer_params: 'str' =None, should_auto_verify: 'bool' =None): # noqa: E501
|
|
64
66
|
"""V1MagicLinkLoginRequest - a model defined in Swagger""" # noqa: E501
|
|
65
67
|
self._collab_session_id = None
|
|
66
68
|
self._discounted_pro_plan = None
|
|
@@ -69,6 +71,7 @@ class V1MagicLinkLoginRequest(object):
|
|
|
69
71
|
self._invite_code = None
|
|
70
72
|
self._redirect_url = None
|
|
71
73
|
self._referrer_params = None
|
|
74
|
+
self._should_auto_verify = None
|
|
72
75
|
self.discriminator = None
|
|
73
76
|
if collab_session_id is not None:
|
|
74
77
|
self.collab_session_id = collab_session_id
|
|
@@ -84,6 +87,8 @@ class V1MagicLinkLoginRequest(object):
|
|
|
84
87
|
self.redirect_url = redirect_url
|
|
85
88
|
if referrer_params is not None:
|
|
86
89
|
self.referrer_params = referrer_params
|
|
90
|
+
if should_auto_verify is not None:
|
|
91
|
+
self.should_auto_verify = should_auto_verify
|
|
87
92
|
|
|
88
93
|
@property
|
|
89
94
|
def collab_session_id(self) -> 'str':
|
|
@@ -232,6 +237,27 @@ class V1MagicLinkLoginRequest(object):
|
|
|
232
237
|
|
|
233
238
|
self._referrer_params = referrer_params
|
|
234
239
|
|
|
240
|
+
@property
|
|
241
|
+
def should_auto_verify(self) -> 'bool':
|
|
242
|
+
"""Gets the should_auto_verify of this V1MagicLinkLoginRequest. # noqa: E501
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
:return: The should_auto_verify of this V1MagicLinkLoginRequest. # noqa: E501
|
|
246
|
+
:rtype: bool
|
|
247
|
+
"""
|
|
248
|
+
return self._should_auto_verify
|
|
249
|
+
|
|
250
|
+
@should_auto_verify.setter
|
|
251
|
+
def should_auto_verify(self, should_auto_verify: 'bool'):
|
|
252
|
+
"""Sets the should_auto_verify of this V1MagicLinkLoginRequest.
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
:param should_auto_verify: The should_auto_verify of this V1MagicLinkLoginRequest. # noqa: E501
|
|
256
|
+
:type: bool
|
|
257
|
+
"""
|
|
258
|
+
|
|
259
|
+
self._should_auto_verify = should_auto_verify
|
|
260
|
+
|
|
235
261
|
def to_dict(self) -> dict:
|
|
236
262
|
"""Returns the model properties as a dict"""
|
|
237
263
|
result = {}
|