lightning-sdk 2025.8.1__py3-none-any.whl → 2025.8.6rc1__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 +6 -4
- lightning_sdk/api/job_api.py +2 -0
- lightning_sdk/api/mmt_api.py +2 -0
- lightning_sdk/deployment/deployment.py +5 -0
- lightning_sdk/lightning_cloud/login.py +1 -7
- lightning_sdk/lightning_cloud/openapi/__init__.py +15 -23
- lightning_sdk/lightning_cloud/openapi/api/__init__.py +1 -0
- lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +5 -1
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +228 -1
- lightning_sdk/lightning_cloud/openapi/api/endpoint_service_api.py +126 -2129
- lightning_sdk/lightning_cloud/openapi/api/k8_s_cluster_service_api.py +625 -0
- lightning_sdk/lightning_cloud/openapi/api/storage_service_api.py +5 -1
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +14 -23
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_metrics_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_transfer_metadata.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloudflare_v1.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/{v1_complete_upload_service_execution_artifact_response.py → v1_complete_running_cloud_space_instance_transfer_response.py} +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_container_metrics.py +461 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_metrics.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_list_file_endpoints_response.py → v1_list_container_metrics_response.py} +23 -23
- lightning_sdk/lightning_cloud/openapi/models/{service_artifact_artifact_kind.py → v1_list_node_file_system_metrics_response.py} +6 -13
- lightning_sdk/lightning_cloud/openapi/models/{v1_upload_service_execution_artifact_parts_response.py → v1_list_node_metrics_response.py} +23 -23
- lightning_sdk/lightning_cloud/openapi/models/v1_list_pod_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_managed_model.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_node_metrics.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_pod_metrics.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/{v1_delete_service_execution_response.py → v1_report_k8s_cluster_metrics_response.py} +6 -6
- lightning_sdk/lightning_cloud/openapi/models/{command_argument_command_argument_type.py → v1_request_cloud_space_access_response.py} +6 -12
- lightning_sdk/lightning_cloud/openapi/models/v1_update_cloud_space_instance_config_request.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +157 -53
- lightning_sdk/lightning_cloud/utils/data_connection.py +56 -1
- lightning_sdk/llm/llm.py +2 -13
- lightning_sdk/llm/public_assistants.py +17 -0
- lightning_sdk/pipeline/steps.py +30 -1
- lightning_sdk/services/file_endpoint.py +3 -4
- {lightning_sdk-2025.8.1.dist-info → lightning_sdk-2025.8.6rc1.dist-info}/METADATA +1 -1
- {lightning_sdk-2025.8.1.dist-info → lightning_sdk-2025.8.6rc1.dist-info}/RECORD +47 -55
- lightning_sdk/lightning_cloud/openapi/models/fileendpoints_id_body.py +0 -409
- lightning_sdk/lightning_cloud/openapi/models/id_complete_body.py +0 -175
- lightning_sdk/lightning_cloud/openapi/models/id_storage_body.py +0 -175
- lightning_sdk/lightning_cloud/openapi/models/id_uploads_body1.py +0 -175
- lightning_sdk/lightning_cloud/openapi/models/project_id_fileendpoints_body.py +0 -357
- lightning_sdk/lightning_cloud/openapi/models/project_id_serviceexecution_body.py +0 -175
- lightning_sdk/lightning_cloud/openapi/models/serviceexecution_id_body.py +0 -331
- lightning_sdk/lightning_cloud/openapi/models/v1_command_argument.py +0 -305
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_file_endpoint_response.py +0 -149
- lightning_sdk/lightning_cloud/openapi/models/v1_download_service_execution_artifact_response.py +0 -175
- lightning_sdk/lightning_cloud/openapi/models/v1_file_endpoint.py +0 -461
- lightning_sdk/lightning_cloud/openapi/models/v1_get_service_execution_status_response.py +0 -175
- lightning_sdk/lightning_cloud/openapi/models/v1_list_service_execution_lightningapp_instances_response.py +0 -175
- lightning_sdk/lightning_cloud/openapi/models/v1_list_service_executions_response.py +0 -123
- lightning_sdk/lightning_cloud/openapi/models/v1_service_artifact.py +0 -201
- lightning_sdk/lightning_cloud/openapi/models/v1_service_execution.py +0 -383
- lightning_sdk/lightning_cloud/openapi/models/v1_upload_service_execution_artifact_response.py +0 -149
- lightning_sdk/llm/public_assistants.json +0 -34
- {lightning_sdk-2025.8.1.dist-info → lightning_sdk-2025.8.6rc1.dist-info}/LICENSE +0 -0
- {lightning_sdk-2025.8.1.dist-info → lightning_sdk-2025.8.6rc1.dist-info}/WHEEL +0 -0
- {lightning_sdk-2025.8.1.dist-info → lightning_sdk-2025.8.6rc1.dist-info}/entry_points.txt +0 -0
- {lightning_sdk-2025.8.1.dist-info → lightning_sdk-2025.8.6rc1.dist-info}/top_level.txt +0 -0
|
@@ -1,175 +0,0 @@
|
|
|
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 ProjectIdServiceexecutionBody(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
|
-
'arguments': 'list[V1CommandArgument]',
|
|
45
|
-
'file_endpoint_id': 'str',
|
|
46
|
-
'pipeline_id': 'str'
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
attribute_map = {
|
|
50
|
-
'arguments': 'arguments',
|
|
51
|
-
'file_endpoint_id': 'fileEndpointId',
|
|
52
|
-
'pipeline_id': 'pipelineId'
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
def __init__(self, arguments: 'list[V1CommandArgument]' =None, file_endpoint_id: 'str' =None, pipeline_id: 'str' =None): # noqa: E501
|
|
56
|
-
"""ProjectIdServiceexecutionBody - a model defined in Swagger""" # noqa: E501
|
|
57
|
-
self._arguments = None
|
|
58
|
-
self._file_endpoint_id = None
|
|
59
|
-
self._pipeline_id = None
|
|
60
|
-
self.discriminator = None
|
|
61
|
-
if arguments is not None:
|
|
62
|
-
self.arguments = arguments
|
|
63
|
-
if file_endpoint_id is not None:
|
|
64
|
-
self.file_endpoint_id = file_endpoint_id
|
|
65
|
-
if pipeline_id is not None:
|
|
66
|
-
self.pipeline_id = pipeline_id
|
|
67
|
-
|
|
68
|
-
@property
|
|
69
|
-
def arguments(self) -> 'list[V1CommandArgument]':
|
|
70
|
-
"""Gets the arguments of this ProjectIdServiceexecutionBody. # noqa: E501
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
:return: The arguments of this ProjectIdServiceexecutionBody. # noqa: E501
|
|
74
|
-
:rtype: list[V1CommandArgument]
|
|
75
|
-
"""
|
|
76
|
-
return self._arguments
|
|
77
|
-
|
|
78
|
-
@arguments.setter
|
|
79
|
-
def arguments(self, arguments: 'list[V1CommandArgument]'):
|
|
80
|
-
"""Sets the arguments of this ProjectIdServiceexecutionBody.
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
:param arguments: The arguments of this ProjectIdServiceexecutionBody. # noqa: E501
|
|
84
|
-
:type: list[V1CommandArgument]
|
|
85
|
-
"""
|
|
86
|
-
|
|
87
|
-
self._arguments = arguments
|
|
88
|
-
|
|
89
|
-
@property
|
|
90
|
-
def file_endpoint_id(self) -> 'str':
|
|
91
|
-
"""Gets the file_endpoint_id of this ProjectIdServiceexecutionBody. # noqa: E501
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
:return: The file_endpoint_id of this ProjectIdServiceexecutionBody. # noqa: E501
|
|
95
|
-
:rtype: str
|
|
96
|
-
"""
|
|
97
|
-
return self._file_endpoint_id
|
|
98
|
-
|
|
99
|
-
@file_endpoint_id.setter
|
|
100
|
-
def file_endpoint_id(self, file_endpoint_id: 'str'):
|
|
101
|
-
"""Sets the file_endpoint_id of this ProjectIdServiceexecutionBody.
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
:param file_endpoint_id: The file_endpoint_id of this ProjectIdServiceexecutionBody. # noqa: E501
|
|
105
|
-
:type: str
|
|
106
|
-
"""
|
|
107
|
-
|
|
108
|
-
self._file_endpoint_id = file_endpoint_id
|
|
109
|
-
|
|
110
|
-
@property
|
|
111
|
-
def pipeline_id(self) -> 'str':
|
|
112
|
-
"""Gets the pipeline_id of this ProjectIdServiceexecutionBody. # noqa: E501
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
:return: The pipeline_id of this ProjectIdServiceexecutionBody. # noqa: E501
|
|
116
|
-
:rtype: str
|
|
117
|
-
"""
|
|
118
|
-
return self._pipeline_id
|
|
119
|
-
|
|
120
|
-
@pipeline_id.setter
|
|
121
|
-
def pipeline_id(self, pipeline_id: 'str'):
|
|
122
|
-
"""Sets the pipeline_id of this ProjectIdServiceexecutionBody.
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
:param pipeline_id: The pipeline_id of this ProjectIdServiceexecutionBody. # noqa: E501
|
|
126
|
-
:type: str
|
|
127
|
-
"""
|
|
128
|
-
|
|
129
|
-
self._pipeline_id = pipeline_id
|
|
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(ProjectIdServiceexecutionBody, 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: 'ProjectIdServiceexecutionBody') -> bool:
|
|
167
|
-
"""Returns true if both objects are equal"""
|
|
168
|
-
if not isinstance(other, ProjectIdServiceexecutionBody):
|
|
169
|
-
return False
|
|
170
|
-
|
|
171
|
-
return self.__dict__ == other.__dict__
|
|
172
|
-
|
|
173
|
-
def __ne__(self, other: 'ProjectIdServiceexecutionBody') -> bool:
|
|
174
|
-
"""Returns true if both objects are not equal"""
|
|
175
|
-
return not self == other
|
|
@@ -1,331 +0,0 @@
|
|
|
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 ServiceexecutionIdBody(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
|
-
'arguments': 'list[V1CommandArgument]',
|
|
45
|
-
'artifacts': 'list[V1ServiceArtifact]',
|
|
46
|
-
'cloudspace_id': 'str',
|
|
47
|
-
'cluster_id': 'str',
|
|
48
|
-
'file_endpoint_cluster_id': 'str',
|
|
49
|
-
'file_endpoint_id': 'str',
|
|
50
|
-
'file_endpoint_project_id': 'str',
|
|
51
|
-
'pipeline_id': 'str',
|
|
52
|
-
'user_id': 'str'
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
attribute_map = {
|
|
56
|
-
'arguments': 'arguments',
|
|
57
|
-
'artifacts': 'artifacts',
|
|
58
|
-
'cloudspace_id': 'cloudspaceId',
|
|
59
|
-
'cluster_id': 'clusterId',
|
|
60
|
-
'file_endpoint_cluster_id': 'fileEndpointClusterId',
|
|
61
|
-
'file_endpoint_id': 'fileEndpointId',
|
|
62
|
-
'file_endpoint_project_id': 'fileEndpointProjectId',
|
|
63
|
-
'pipeline_id': 'pipelineId',
|
|
64
|
-
'user_id': 'userId'
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
def __init__(self, arguments: 'list[V1CommandArgument]' =None, artifacts: 'list[V1ServiceArtifact]' =None, cloudspace_id: 'str' =None, cluster_id: 'str' =None, file_endpoint_cluster_id: 'str' =None, file_endpoint_id: 'str' =None, file_endpoint_project_id: 'str' =None, pipeline_id: 'str' =None, user_id: 'str' =None): # noqa: E501
|
|
68
|
-
"""ServiceexecutionIdBody - a model defined in Swagger""" # noqa: E501
|
|
69
|
-
self._arguments = None
|
|
70
|
-
self._artifacts = None
|
|
71
|
-
self._cloudspace_id = None
|
|
72
|
-
self._cluster_id = None
|
|
73
|
-
self._file_endpoint_cluster_id = None
|
|
74
|
-
self._file_endpoint_id = None
|
|
75
|
-
self._file_endpoint_project_id = None
|
|
76
|
-
self._pipeline_id = None
|
|
77
|
-
self._user_id = None
|
|
78
|
-
self.discriminator = None
|
|
79
|
-
if arguments is not None:
|
|
80
|
-
self.arguments = arguments
|
|
81
|
-
if artifacts is not None:
|
|
82
|
-
self.artifacts = artifacts
|
|
83
|
-
if cloudspace_id is not None:
|
|
84
|
-
self.cloudspace_id = cloudspace_id
|
|
85
|
-
if cluster_id is not None:
|
|
86
|
-
self.cluster_id = cluster_id
|
|
87
|
-
if file_endpoint_cluster_id is not None:
|
|
88
|
-
self.file_endpoint_cluster_id = file_endpoint_cluster_id
|
|
89
|
-
if file_endpoint_id is not None:
|
|
90
|
-
self.file_endpoint_id = file_endpoint_id
|
|
91
|
-
if file_endpoint_project_id is not None:
|
|
92
|
-
self.file_endpoint_project_id = file_endpoint_project_id
|
|
93
|
-
if pipeline_id is not None:
|
|
94
|
-
self.pipeline_id = pipeline_id
|
|
95
|
-
if user_id is not None:
|
|
96
|
-
self.user_id = user_id
|
|
97
|
-
|
|
98
|
-
@property
|
|
99
|
-
def arguments(self) -> 'list[V1CommandArgument]':
|
|
100
|
-
"""Gets the arguments of this ServiceexecutionIdBody. # noqa: E501
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
:return: The arguments of this ServiceexecutionIdBody. # noqa: E501
|
|
104
|
-
:rtype: list[V1CommandArgument]
|
|
105
|
-
"""
|
|
106
|
-
return self._arguments
|
|
107
|
-
|
|
108
|
-
@arguments.setter
|
|
109
|
-
def arguments(self, arguments: 'list[V1CommandArgument]'):
|
|
110
|
-
"""Sets the arguments of this ServiceexecutionIdBody.
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
:param arguments: The arguments of this ServiceexecutionIdBody. # noqa: E501
|
|
114
|
-
:type: list[V1CommandArgument]
|
|
115
|
-
"""
|
|
116
|
-
|
|
117
|
-
self._arguments = arguments
|
|
118
|
-
|
|
119
|
-
@property
|
|
120
|
-
def artifacts(self) -> 'list[V1ServiceArtifact]':
|
|
121
|
-
"""Gets the artifacts of this ServiceexecutionIdBody. # noqa: E501
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
:return: The artifacts of this ServiceexecutionIdBody. # noqa: E501
|
|
125
|
-
:rtype: list[V1ServiceArtifact]
|
|
126
|
-
"""
|
|
127
|
-
return self._artifacts
|
|
128
|
-
|
|
129
|
-
@artifacts.setter
|
|
130
|
-
def artifacts(self, artifacts: 'list[V1ServiceArtifact]'):
|
|
131
|
-
"""Sets the artifacts of this ServiceexecutionIdBody.
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
:param artifacts: The artifacts of this ServiceexecutionIdBody. # noqa: E501
|
|
135
|
-
:type: list[V1ServiceArtifact]
|
|
136
|
-
"""
|
|
137
|
-
|
|
138
|
-
self._artifacts = artifacts
|
|
139
|
-
|
|
140
|
-
@property
|
|
141
|
-
def cloudspace_id(self) -> 'str':
|
|
142
|
-
"""Gets the cloudspace_id of this ServiceexecutionIdBody. # noqa: E501
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
:return: The cloudspace_id of this ServiceexecutionIdBody. # noqa: E501
|
|
146
|
-
:rtype: str
|
|
147
|
-
"""
|
|
148
|
-
return self._cloudspace_id
|
|
149
|
-
|
|
150
|
-
@cloudspace_id.setter
|
|
151
|
-
def cloudspace_id(self, cloudspace_id: 'str'):
|
|
152
|
-
"""Sets the cloudspace_id of this ServiceexecutionIdBody.
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
:param cloudspace_id: The cloudspace_id of this ServiceexecutionIdBody. # noqa: E501
|
|
156
|
-
:type: str
|
|
157
|
-
"""
|
|
158
|
-
|
|
159
|
-
self._cloudspace_id = cloudspace_id
|
|
160
|
-
|
|
161
|
-
@property
|
|
162
|
-
def cluster_id(self) -> 'str':
|
|
163
|
-
"""Gets the cluster_id of this ServiceexecutionIdBody. # noqa: E501
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
:return: The cluster_id of this ServiceexecutionIdBody. # noqa: E501
|
|
167
|
-
:rtype: str
|
|
168
|
-
"""
|
|
169
|
-
return self._cluster_id
|
|
170
|
-
|
|
171
|
-
@cluster_id.setter
|
|
172
|
-
def cluster_id(self, cluster_id: 'str'):
|
|
173
|
-
"""Sets the cluster_id of this ServiceexecutionIdBody.
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
:param cluster_id: The cluster_id of this ServiceexecutionIdBody. # noqa: E501
|
|
177
|
-
:type: str
|
|
178
|
-
"""
|
|
179
|
-
|
|
180
|
-
self._cluster_id = cluster_id
|
|
181
|
-
|
|
182
|
-
@property
|
|
183
|
-
def file_endpoint_cluster_id(self) -> 'str':
|
|
184
|
-
"""Gets the file_endpoint_cluster_id of this ServiceexecutionIdBody. # noqa: E501
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
:return: The file_endpoint_cluster_id of this ServiceexecutionIdBody. # noqa: E501
|
|
188
|
-
:rtype: str
|
|
189
|
-
"""
|
|
190
|
-
return self._file_endpoint_cluster_id
|
|
191
|
-
|
|
192
|
-
@file_endpoint_cluster_id.setter
|
|
193
|
-
def file_endpoint_cluster_id(self, file_endpoint_cluster_id: 'str'):
|
|
194
|
-
"""Sets the file_endpoint_cluster_id of this ServiceexecutionIdBody.
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
:param file_endpoint_cluster_id: The file_endpoint_cluster_id of this ServiceexecutionIdBody. # noqa: E501
|
|
198
|
-
:type: str
|
|
199
|
-
"""
|
|
200
|
-
|
|
201
|
-
self._file_endpoint_cluster_id = file_endpoint_cluster_id
|
|
202
|
-
|
|
203
|
-
@property
|
|
204
|
-
def file_endpoint_id(self) -> 'str':
|
|
205
|
-
"""Gets the file_endpoint_id of this ServiceexecutionIdBody. # noqa: E501
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
:return: The file_endpoint_id of this ServiceexecutionIdBody. # noqa: E501
|
|
209
|
-
:rtype: str
|
|
210
|
-
"""
|
|
211
|
-
return self._file_endpoint_id
|
|
212
|
-
|
|
213
|
-
@file_endpoint_id.setter
|
|
214
|
-
def file_endpoint_id(self, file_endpoint_id: 'str'):
|
|
215
|
-
"""Sets the file_endpoint_id of this ServiceexecutionIdBody.
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
:param file_endpoint_id: The file_endpoint_id of this ServiceexecutionIdBody. # noqa: E501
|
|
219
|
-
:type: str
|
|
220
|
-
"""
|
|
221
|
-
|
|
222
|
-
self._file_endpoint_id = file_endpoint_id
|
|
223
|
-
|
|
224
|
-
@property
|
|
225
|
-
def file_endpoint_project_id(self) -> 'str':
|
|
226
|
-
"""Gets the file_endpoint_project_id of this ServiceexecutionIdBody. # noqa: E501
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
:return: The file_endpoint_project_id of this ServiceexecutionIdBody. # noqa: E501
|
|
230
|
-
:rtype: str
|
|
231
|
-
"""
|
|
232
|
-
return self._file_endpoint_project_id
|
|
233
|
-
|
|
234
|
-
@file_endpoint_project_id.setter
|
|
235
|
-
def file_endpoint_project_id(self, file_endpoint_project_id: 'str'):
|
|
236
|
-
"""Sets the file_endpoint_project_id of this ServiceexecutionIdBody.
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
:param file_endpoint_project_id: The file_endpoint_project_id of this ServiceexecutionIdBody. # noqa: E501
|
|
240
|
-
:type: str
|
|
241
|
-
"""
|
|
242
|
-
|
|
243
|
-
self._file_endpoint_project_id = file_endpoint_project_id
|
|
244
|
-
|
|
245
|
-
@property
|
|
246
|
-
def pipeline_id(self) -> 'str':
|
|
247
|
-
"""Gets the pipeline_id of this ServiceexecutionIdBody. # noqa: E501
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
:return: The pipeline_id of this ServiceexecutionIdBody. # noqa: E501
|
|
251
|
-
:rtype: str
|
|
252
|
-
"""
|
|
253
|
-
return self._pipeline_id
|
|
254
|
-
|
|
255
|
-
@pipeline_id.setter
|
|
256
|
-
def pipeline_id(self, pipeline_id: 'str'):
|
|
257
|
-
"""Sets the pipeline_id of this ServiceexecutionIdBody.
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
:param pipeline_id: The pipeline_id of this ServiceexecutionIdBody. # noqa: E501
|
|
261
|
-
:type: str
|
|
262
|
-
"""
|
|
263
|
-
|
|
264
|
-
self._pipeline_id = pipeline_id
|
|
265
|
-
|
|
266
|
-
@property
|
|
267
|
-
def user_id(self) -> 'str':
|
|
268
|
-
"""Gets the user_id of this ServiceexecutionIdBody. # noqa: E501
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
:return: The user_id of this ServiceexecutionIdBody. # noqa: E501
|
|
272
|
-
:rtype: str
|
|
273
|
-
"""
|
|
274
|
-
return self._user_id
|
|
275
|
-
|
|
276
|
-
@user_id.setter
|
|
277
|
-
def user_id(self, user_id: 'str'):
|
|
278
|
-
"""Sets the user_id of this ServiceexecutionIdBody.
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
:param user_id: The user_id of this ServiceexecutionIdBody. # noqa: E501
|
|
282
|
-
:type: str
|
|
283
|
-
"""
|
|
284
|
-
|
|
285
|
-
self._user_id = user_id
|
|
286
|
-
|
|
287
|
-
def to_dict(self) -> dict:
|
|
288
|
-
"""Returns the model properties as a dict"""
|
|
289
|
-
result = {}
|
|
290
|
-
|
|
291
|
-
for attr, _ in six.iteritems(self.swagger_types):
|
|
292
|
-
value = getattr(self, attr)
|
|
293
|
-
if isinstance(value, list):
|
|
294
|
-
result[attr] = list(map(
|
|
295
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
296
|
-
value
|
|
297
|
-
))
|
|
298
|
-
elif hasattr(value, "to_dict"):
|
|
299
|
-
result[attr] = value.to_dict()
|
|
300
|
-
elif isinstance(value, dict):
|
|
301
|
-
result[attr] = dict(map(
|
|
302
|
-
lambda item: (item[0], item[1].to_dict())
|
|
303
|
-
if hasattr(item[1], "to_dict") else item,
|
|
304
|
-
value.items()
|
|
305
|
-
))
|
|
306
|
-
else:
|
|
307
|
-
result[attr] = value
|
|
308
|
-
if issubclass(ServiceexecutionIdBody, dict):
|
|
309
|
-
for key, value in self.items():
|
|
310
|
-
result[key] = value
|
|
311
|
-
|
|
312
|
-
return result
|
|
313
|
-
|
|
314
|
-
def to_str(self) -> str:
|
|
315
|
-
"""Returns the string representation of the model"""
|
|
316
|
-
return pprint.pformat(self.to_dict())
|
|
317
|
-
|
|
318
|
-
def __repr__(self) -> str:
|
|
319
|
-
"""For `print` and `pprint`"""
|
|
320
|
-
return self.to_str()
|
|
321
|
-
|
|
322
|
-
def __eq__(self, other: 'ServiceexecutionIdBody') -> bool:
|
|
323
|
-
"""Returns true if both objects are equal"""
|
|
324
|
-
if not isinstance(other, ServiceexecutionIdBody):
|
|
325
|
-
return False
|
|
326
|
-
|
|
327
|
-
return self.__dict__ == other.__dict__
|
|
328
|
-
|
|
329
|
-
def __ne__(self, other: 'ServiceexecutionIdBody') -> bool:
|
|
330
|
-
"""Returns true if both objects are not equal"""
|
|
331
|
-
return not self == other
|