lightning-sdk 0.2.4__py3-none-any.whl → 0.2.6__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/ai_hub.py +3 -1
- lightning_sdk/api/ai_hub_api.py +15 -0
- lightning_sdk/api/studio_api.py +0 -8
- lightning_sdk/cli/serve.py +29 -9
- lightning_sdk/deployment/deployment.py +32 -4
- lightning_sdk/lightning_cloud/openapi/__init__.py +57 -1
- lightning_sdk/lightning_cloud/openapi/api/__init__.py +4 -0
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_environment_template_service_api.py +537 -0
- lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +115 -6
- lightning_sdk/lightning_cloud/openapi/api/lit_dataset_service_api.py +1973 -0
- lightning_sdk/lightning_cloud/openapi/api/lit_registry_service_api.py +20 -4
- lightning_sdk/lightning_cloud/openapi/api/models_store_api.py +20 -20
- lightning_sdk/lightning_cloud/openapi/api/pipeline_templates_service_api.py +339 -0
- lightning_sdk/lightning_cloud/openapi/api/pipelines_service_api.py +5 -1
- lightning_sdk/lightning_cloud/openapi/api/schedules_service_api.py +573 -0
- lightning_sdk/lightning_cloud/openapi/api/slurm_jobs_user_service_api.py +202 -0
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_capacityblock_body.py +15 -15
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_slurmusers_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/dataset_id_versions_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/dataset_id_visibility_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/environmenttemplates_id_body.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/externalv1_cloud_space_instance_status.py +95 -69
- lightning_sdk/lightning_cloud/openapi/models/externalv1_cluster.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/litdatasets_dataset_id_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/pipelines_id_body.py +69 -17
- lightning_sdk/lightning_cloud/openapi/models/pipelinetemplates_id_body.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_cloudspaces_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/project_id_litdatasets_body.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_pipelines_body.py +17 -17
- lightning_sdk/lightning_cloud/openapi/models/project_id_schedules_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/schedules_id_body.py +383 -0
- lightning_sdk/lightning_cloud/openapi/models/server_id_alerts_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/slurm_jobs_body.py +15 -15
- lightning_sdk/lightning_cloud/openapi/models/upload_id_complete_body1.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/upload_id_parts_body1.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_agent_job.py +124 -20
- lightning_sdk/lightning_cloud/openapi/models/v1_assistant_model_status.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_provider.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template_config.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_security_options.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +157 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_complete_lit_dataset_multi_part_upload_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_complete_lit_dataset_upload_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_cloud_space_environment_template_request.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_lit_dataset_multi_part_upload_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_organization_request.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_pipeline_template_request.py +383 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_project_request.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_server_alert_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_data_connection.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/{v1_pipeline_schedule.py → v1_delete_cloud_space_environment_template_response.py} +32 -32
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_lit_dataset_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_lit_dataset_version_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_schedule_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_size_response.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_lit_dataset_file_upload_urls_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_lit_dataset_files_url_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1.py +55 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_instance_overprovisioning_spec.py +79 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_lambda_labs_direct_v1.py +1 -29
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_environment_templates_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_lit_dataset_versions_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_lit_datasets_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_lit_registry_repository_image_artifact_versions_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_list_schedules_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_slurm_cluster_users_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_dataset.py +539 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_dataset_file.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_dataset_version_archive.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_registry_project.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_repository.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_magic_link_login_request.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_managed_model.py +107 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_metadata.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline.py +69 -17
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_parameter.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_parameter_placement.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_parameter_placement_type.py +106 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_parameter_type.py +106 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_template.py +513 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_template_visibility_type.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_reservation_details.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_rule_resource.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_schedule.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_schedule_resource_type.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_server_alert.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_severity.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_type.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_cluster_user.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_job.py +58 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_node.py +31 -291
- lightning_sdk/lightning_cloud/openapi/models/v1_subnet_spec.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_lit_dataset_visibility_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_user_request.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +223 -171
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_managed_endpoint_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_voltage_park_direct_v1.py +203 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_vultr_direct_v1.py +1 -27
- lightning_sdk/lightning_cloud/openapi/models/version_default_body.py +29 -29
- lightning_sdk/lightning_cloud/openapi/models/version_default_body1.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/version_uploads_body1.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/versions_version_body1.py +123 -0
- lightning_sdk/lightning_cloud/rest_client.py +44 -40
- lightning_sdk/pipeline/types.py +28 -2
- lightning_sdk/pipeline/utils.py +1 -1
- lightning_sdk/plugin.py +0 -6
- lightning_sdk/serve.py +5 -3
- lightning_sdk/utils/resolve.py +1 -0
- {lightning_sdk-0.2.4.dist-info → lightning_sdk-0.2.6.dist-info}/METADATA +1 -1
- {lightning_sdk-0.2.4.dist-info → lightning_sdk-0.2.6.dist-info}/RECORD +123 -67
- {lightning_sdk-0.2.4.dist-info → lightning_sdk-0.2.6.dist-info}/WHEEL +1 -1
- {lightning_sdk-0.2.4.dist-info → lightning_sdk-0.2.6.dist-info}/LICENSE +0 -0
- {lightning_sdk-0.2.4.dist-info → lightning_sdk-0.2.6.dist-info}/entry_points.txt +0 -0
- {lightning_sdk-0.2.4.dist-info → lightning_sdk-0.2.6.dist-info}/top_level.txt +0 -0
|
@@ -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 LitdatasetsDatasetIdBody(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
|
+
"""LitdatasetsDatasetIdBody - 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 LitdatasetsDatasetIdBody. # noqa: E501
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
:return: The metadata of this LitdatasetsDatasetIdBody. # 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 LitdatasetsDatasetIdBody.
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
:param metadata: The metadata of this LitdatasetsDatasetIdBody. # 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 LitdatasetsDatasetIdBody. # noqa: E501
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
:return: The name of this LitdatasetsDatasetIdBody. # 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 LitdatasetsDatasetIdBody.
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
:param name: The name of this LitdatasetsDatasetIdBody. # 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(LitdatasetsDatasetIdBody, 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: 'LitdatasetsDatasetIdBody') -> bool:
|
|
141
|
+
"""Returns true if both objects are equal"""
|
|
142
|
+
if not isinstance(other, LitdatasetsDatasetIdBody):
|
|
143
|
+
return False
|
|
144
|
+
|
|
145
|
+
return self.__dict__ == other.__dict__
|
|
146
|
+
|
|
147
|
+
def __ne__(self, other: 'LitdatasetsDatasetIdBody') -> bool:
|
|
148
|
+
"""Returns true if both objects are not equal"""
|
|
149
|
+
return not self == other
|
|
@@ -45,6 +45,7 @@ class OrgsIdBody(object):
|
|
|
45
45
|
'allow_gcp_saas': 'bool',
|
|
46
46
|
'allow_guest': 'bool',
|
|
47
47
|
'allow_lambda_saas': 'bool',
|
|
48
|
+
'allow_marketplace': 'bool',
|
|
48
49
|
'allow_member_invitations': 'bool',
|
|
49
50
|
'allow_member_teamspace_creation': 'bool',
|
|
50
51
|
'allow_vultr_saas': 'bool',
|
|
@@ -69,6 +70,7 @@ class OrgsIdBody(object):
|
|
|
69
70
|
'allow_gcp_saas': 'allowGcpSaas',
|
|
70
71
|
'allow_guest': 'allowGuest',
|
|
71
72
|
'allow_lambda_saas': 'allowLambdaSaas',
|
|
73
|
+
'allow_marketplace': 'allowMarketplace',
|
|
72
74
|
'allow_member_invitations': 'allowMemberInvitations',
|
|
73
75
|
'allow_member_teamspace_creation': 'allowMemberTeamspaceCreation',
|
|
74
76
|
'allow_vultr_saas': 'allowVultrSaas',
|
|
@@ -88,12 +90,13 @@ class OrgsIdBody(object):
|
|
|
88
90
|
'twitter_username': 'twitterUsername'
|
|
89
91
|
}
|
|
90
92
|
|
|
91
|
-
def __init__(self, allow_aws_saas: 'bool' =None, allow_gcp_saas: 'bool' =None, allow_guest: 'bool' =None, allow_lambda_saas: 'bool' =None, allow_member_invitations: 'bool' =None, allow_member_teamspace_creation: 'bool' =None, allow_vultr_saas: 'bool' =None, auto_invite_by_domain: 'bool' =None, auto_join_domains: 'list[str]' =None, description: 'str' =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, start_studios_on_spot_instance: 'bool' =None, teamspace_default_credits: 'float' =None, twitter_username: 'str' =None): # noqa: E501
|
|
93
|
+
def __init__(self, allow_aws_saas: 'bool' =None, allow_gcp_saas: 'bool' =None, allow_guest: 'bool' =None, allow_lambda_saas: 'bool' =None, allow_marketplace: 'bool' =None, allow_member_invitations: 'bool' =None, allow_member_teamspace_creation: 'bool' =None, allow_vultr_saas: 'bool' =None, auto_invite_by_domain: 'bool' =None, auto_join_domains: 'list[str]' =None, description: 'str' =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, start_studios_on_spot_instance: 'bool' =None, teamspace_default_credits: 'float' =None, twitter_username: 'str' =None): # noqa: E501
|
|
92
94
|
"""OrgsIdBody - a model defined in Swagger""" # noqa: E501
|
|
93
95
|
self._allow_aws_saas = None
|
|
94
96
|
self._allow_gcp_saas = None
|
|
95
97
|
self._allow_guest = None
|
|
96
98
|
self._allow_lambda_saas = None
|
|
99
|
+
self._allow_marketplace = None
|
|
97
100
|
self._allow_member_invitations = None
|
|
98
101
|
self._allow_member_teamspace_creation = None
|
|
99
102
|
self._allow_vultr_saas = None
|
|
@@ -120,6 +123,8 @@ class OrgsIdBody(object):
|
|
|
120
123
|
self.allow_guest = allow_guest
|
|
121
124
|
if allow_lambda_saas is not None:
|
|
122
125
|
self.allow_lambda_saas = allow_lambda_saas
|
|
126
|
+
if allow_marketplace is not None:
|
|
127
|
+
self.allow_marketplace = allow_marketplace
|
|
123
128
|
if allow_member_invitations is not None:
|
|
124
129
|
self.allow_member_invitations = allow_member_invitations
|
|
125
130
|
if allow_member_teamspace_creation is not None:
|
|
@@ -239,6 +244,27 @@ class OrgsIdBody(object):
|
|
|
239
244
|
|
|
240
245
|
self._allow_lambda_saas = allow_lambda_saas
|
|
241
246
|
|
|
247
|
+
@property
|
|
248
|
+
def allow_marketplace(self) -> 'bool':
|
|
249
|
+
"""Gets the allow_marketplace of this OrgsIdBody. # noqa: E501
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
:return: The allow_marketplace of this OrgsIdBody. # noqa: E501
|
|
253
|
+
:rtype: bool
|
|
254
|
+
"""
|
|
255
|
+
return self._allow_marketplace
|
|
256
|
+
|
|
257
|
+
@allow_marketplace.setter
|
|
258
|
+
def allow_marketplace(self, allow_marketplace: 'bool'):
|
|
259
|
+
"""Sets the allow_marketplace of this OrgsIdBody.
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
:param allow_marketplace: The allow_marketplace of this OrgsIdBody. # noqa: E501
|
|
263
|
+
:type: bool
|
|
264
|
+
"""
|
|
265
|
+
|
|
266
|
+
self._allow_marketplace = allow_marketplace
|
|
267
|
+
|
|
242
268
|
@property
|
|
243
269
|
def allow_member_invitations(self) -> 'bool':
|
|
244
270
|
"""Gets the allow_member_invitations of this OrgsIdBody. # noqa: E501
|
|
@@ -45,10 +45,12 @@ class PipelinesIdBody(object):
|
|
|
45
45
|
'created_at': 'datetime',
|
|
46
46
|
'display_name': 'str',
|
|
47
47
|
'error': 'str',
|
|
48
|
+
'is_published': 'bool',
|
|
48
49
|
'message': 'str',
|
|
49
50
|
'name': 'str',
|
|
51
|
+
'parameters': 'list[V1PipelineParameter]',
|
|
50
52
|
'parent_pipeline_id': 'str',
|
|
51
|
-
'
|
|
53
|
+
'schedule_id': 'str',
|
|
52
54
|
'shared_filesystem': 'V1SharedFilesystem',
|
|
53
55
|
'state': 'str',
|
|
54
56
|
'statuses': 'list[V1PipelineStepStatus]',
|
|
@@ -62,10 +64,12 @@ class PipelinesIdBody(object):
|
|
|
62
64
|
'created_at': 'createdAt',
|
|
63
65
|
'display_name': 'displayName',
|
|
64
66
|
'error': 'error',
|
|
67
|
+
'is_published': 'isPublished',
|
|
65
68
|
'message': 'message',
|
|
66
69
|
'name': 'name',
|
|
70
|
+
'parameters': 'parameters',
|
|
67
71
|
'parent_pipeline_id': 'parentPipelineId',
|
|
68
|
-
'
|
|
72
|
+
'schedule_id': 'scheduleId',
|
|
69
73
|
'shared_filesystem': 'sharedFilesystem',
|
|
70
74
|
'state': 'state',
|
|
71
75
|
'statuses': 'statuses',
|
|
@@ -74,16 +78,18 @@ class PipelinesIdBody(object):
|
|
|
74
78
|
'user_id': 'userId'
|
|
75
79
|
}
|
|
76
80
|
|
|
77
|
-
def __init__(self, cluster_id: 'str' =None, created_at: 'datetime' =None, display_name: 'str' =None, error: 'str' =None, message: 'str' =None, name: 'str' =None, parent_pipeline_id: 'str' =None,
|
|
81
|
+
def __init__(self, cluster_id: 'str' =None, created_at: 'datetime' =None, display_name: 'str' =None, error: 'str' =None, is_published: 'bool' =None, message: 'str' =None, name: 'str' =None, parameters: 'list[V1PipelineParameter]' =None, parent_pipeline_id: 'str' =None, schedule_id: 'str' =None, shared_filesystem: 'V1SharedFilesystem' =None, state: 'str' =None, statuses: 'list[V1PipelineStepStatus]' =None, steps: 'list[V1PipelineStep]' =None, updated_at: 'datetime' =None, user_id: 'str' =None): # noqa: E501
|
|
78
82
|
"""PipelinesIdBody - a model defined in Swagger""" # noqa: E501
|
|
79
83
|
self._cluster_id = None
|
|
80
84
|
self._created_at = None
|
|
81
85
|
self._display_name = None
|
|
82
86
|
self._error = None
|
|
87
|
+
self._is_published = None
|
|
83
88
|
self._message = None
|
|
84
89
|
self._name = None
|
|
90
|
+
self._parameters = None
|
|
85
91
|
self._parent_pipeline_id = None
|
|
86
|
-
self.
|
|
92
|
+
self._schedule_id = None
|
|
87
93
|
self._shared_filesystem = None
|
|
88
94
|
self._state = None
|
|
89
95
|
self._statuses = None
|
|
@@ -99,14 +105,18 @@ class PipelinesIdBody(object):
|
|
|
99
105
|
self.display_name = display_name
|
|
100
106
|
if error is not None:
|
|
101
107
|
self.error = error
|
|
108
|
+
if is_published is not None:
|
|
109
|
+
self.is_published = is_published
|
|
102
110
|
if message is not None:
|
|
103
111
|
self.message = message
|
|
104
112
|
if name is not None:
|
|
105
113
|
self.name = name
|
|
114
|
+
if parameters is not None:
|
|
115
|
+
self.parameters = parameters
|
|
106
116
|
if parent_pipeline_id is not None:
|
|
107
117
|
self.parent_pipeline_id = parent_pipeline_id
|
|
108
|
-
if
|
|
109
|
-
self.
|
|
118
|
+
if schedule_id is not None:
|
|
119
|
+
self.schedule_id = schedule_id
|
|
110
120
|
if shared_filesystem is not None:
|
|
111
121
|
self.shared_filesystem = shared_filesystem
|
|
112
122
|
if state is not None:
|
|
@@ -204,6 +214,27 @@ class PipelinesIdBody(object):
|
|
|
204
214
|
|
|
205
215
|
self._error = error
|
|
206
216
|
|
|
217
|
+
@property
|
|
218
|
+
def is_published(self) -> 'bool':
|
|
219
|
+
"""Gets the is_published of this PipelinesIdBody. # noqa: E501
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
:return: The is_published of this PipelinesIdBody. # noqa: E501
|
|
223
|
+
:rtype: bool
|
|
224
|
+
"""
|
|
225
|
+
return self._is_published
|
|
226
|
+
|
|
227
|
+
@is_published.setter
|
|
228
|
+
def is_published(self, is_published: 'bool'):
|
|
229
|
+
"""Sets the is_published of this PipelinesIdBody.
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
:param is_published: The is_published of this PipelinesIdBody. # noqa: E501
|
|
233
|
+
:type: bool
|
|
234
|
+
"""
|
|
235
|
+
|
|
236
|
+
self._is_published = is_published
|
|
237
|
+
|
|
207
238
|
@property
|
|
208
239
|
def message(self) -> 'str':
|
|
209
240
|
"""Gets the message of this PipelinesIdBody. # noqa: E501
|
|
@@ -246,6 +277,27 @@ class PipelinesIdBody(object):
|
|
|
246
277
|
|
|
247
278
|
self._name = name
|
|
248
279
|
|
|
280
|
+
@property
|
|
281
|
+
def parameters(self) -> 'list[V1PipelineParameter]':
|
|
282
|
+
"""Gets the parameters of this PipelinesIdBody. # noqa: E501
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
:return: The parameters of this PipelinesIdBody. # noqa: E501
|
|
286
|
+
:rtype: list[V1PipelineParameter]
|
|
287
|
+
"""
|
|
288
|
+
return self._parameters
|
|
289
|
+
|
|
290
|
+
@parameters.setter
|
|
291
|
+
def parameters(self, parameters: 'list[V1PipelineParameter]'):
|
|
292
|
+
"""Sets the parameters of this PipelinesIdBody.
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
:param parameters: The parameters of this PipelinesIdBody. # noqa: E501
|
|
296
|
+
:type: list[V1PipelineParameter]
|
|
297
|
+
"""
|
|
298
|
+
|
|
299
|
+
self._parameters = parameters
|
|
300
|
+
|
|
249
301
|
@property
|
|
250
302
|
def parent_pipeline_id(self) -> 'str':
|
|
251
303
|
"""Gets the parent_pipeline_id of this PipelinesIdBody. # noqa: E501
|
|
@@ -268,25 +320,25 @@ class PipelinesIdBody(object):
|
|
|
268
320
|
self._parent_pipeline_id = parent_pipeline_id
|
|
269
321
|
|
|
270
322
|
@property
|
|
271
|
-
def
|
|
272
|
-
"""Gets the
|
|
323
|
+
def schedule_id(self) -> 'str':
|
|
324
|
+
"""Gets the schedule_id of this PipelinesIdBody. # noqa: E501
|
|
273
325
|
|
|
274
326
|
|
|
275
|
-
:return: The
|
|
276
|
-
:rtype:
|
|
327
|
+
:return: The schedule_id of this PipelinesIdBody. # noqa: E501
|
|
328
|
+
:rtype: str
|
|
277
329
|
"""
|
|
278
|
-
return self.
|
|
330
|
+
return self._schedule_id
|
|
279
331
|
|
|
280
|
-
@
|
|
281
|
-
def
|
|
282
|
-
"""Sets the
|
|
332
|
+
@schedule_id.setter
|
|
333
|
+
def schedule_id(self, schedule_id: 'str'):
|
|
334
|
+
"""Sets the schedule_id of this PipelinesIdBody.
|
|
283
335
|
|
|
284
336
|
|
|
285
|
-
:param
|
|
286
|
-
:type:
|
|
337
|
+
:param schedule_id: The schedule_id of this PipelinesIdBody. # noqa: E501
|
|
338
|
+
:type: str
|
|
287
339
|
"""
|
|
288
340
|
|
|
289
|
-
self.
|
|
341
|
+
self._schedule_id = schedule_id
|
|
290
342
|
|
|
291
343
|
@property
|
|
292
344
|
def shared_filesystem(self) -> 'V1SharedFilesystem':
|