lightning-sdk 2025.12.17__py3-none-any.whl → 2026.1.27__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/__version__.py +1 -1
- lightning_sdk/api/k8s_api.py +75 -29
- lightning_sdk/api/studio_api.py +192 -37
- lightning_sdk/api/teamspace_api.py +180 -54
- lightning_sdk/api/utils.py +8 -0
- lightning_sdk/cli/cp/__init__.py +67 -0
- lightning_sdk/cli/cp/teamspace_uploads.py +93 -0
- lightning_sdk/cli/entrypoint.py +2 -0
- lightning_sdk/cli/groups.py +22 -0
- lightning_sdk/cli/legacy/clusters_menu.py +2 -2
- lightning_sdk/cli/legacy/deploy/_auth.py +7 -6
- lightning_sdk/cli/legacy/download.py +29 -98
- lightning_sdk/cli/legacy/run.py +13 -2
- lightning_sdk/cli/legacy/upload.py +24 -31
- lightning_sdk/cli/studio/__init__.py +4 -0
- lightning_sdk/cli/studio/cp.py +24 -65
- lightning_sdk/cli/studio/ls.py +57 -0
- lightning_sdk/cli/studio/rm.py +71 -0
- lightning_sdk/cli/utils/filesystem.py +103 -0
- lightning_sdk/cli/utils/logging.py +2 -1
- lightning_sdk/cli/utils/teamspace_selection.py +5 -0
- lightning_sdk/exceptions.py +31 -0
- lightning_sdk/job/base.py +1 -1
- lightning_sdk/k8s_cluster.py +9 -10
- lightning_sdk/lightning_cloud/__version__.py +1 -1
- lightning_sdk/lightning_cloud/openapi/__init__.py +43 -23
- lightning_sdk/lightning_cloud/openapi/api/__init__.py +2 -1
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +118 -1
- lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +378 -536
- lightning_sdk/lightning_cloud/openapi/api/container_registry_service_api.py +456 -0
- lightning_sdk/lightning_cloud/openapi/api/data_connection_service_api.py +5 -1
- lightning_sdk/lightning_cloud/openapi/api/file_system_service_api.py +11 -11
- lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +113 -0
- lightning_sdk/lightning_cloud/openapi/api/k8_s_cluster_service_api.py +246 -19
- lightning_sdk/lightning_cloud/openapi/api/lightningwork_service_api.py +116 -11
- lightning_sdk/lightning_cloud/openapi/api/lit_logger_service_api.py +588 -2
- lightning_sdk/lightning_cloud/openapi/api/models_store_api.py +9 -1
- lightning_sdk/lightning_cloud/openapi/api/organizations_service_api.py +113 -0
- lightning_sdk/lightning_cloud/openapi/api/storage_service_api.py +5 -1
- lightning_sdk/lightning_cloud/openapi/api/{kubernetes_virtual_machine_service_api.py → virtual_machine_service_api.py} +82 -82
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +41 -22
- lightning_sdk/lightning_cloud/openapi/models/cluster_service_create_cluster_capacity_reservation_body.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/cluster_service_create_machine_body.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/cluster_service_create_org_cluster_capacity_reservation_body.py +409 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_add_container_registry_response.py → cluster_service_report_machine_system_metrics_body.py} +23 -23
- lightning_sdk/lightning_cloud/openapi/models/container_registry_config_ecr.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_container_registry_status.py → container_registry_provider.py} +14 -10
- lightning_sdk/lightning_cloud/openapi/models/container_registry_service_create_container_registry_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_ecr_registry_config_input.py → container_registry_service_refresh_container_registry_credentials_body.py} +21 -21
- lightning_sdk/lightning_cloud/openapi/models/externalv1_cloud_space_instance_status.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/{v1_ecr_registry_config.py → jobs_service_duplicate_deployment_body.py} +51 -51
- lightning_sdk/lightning_cloud/openapi/models/lit_logger_service_create_lit_logger_media_body.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/lit_logger_service_update_lit_logger_media_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/lit_logger_service_update_metrics_stream_body.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/organizations_service_update_org_role_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_capacity_reservation_used_by.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_provider.py +2 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_type.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_accelerator.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_capacity_reservation.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +79 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_type.py +0 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_container_registry.py +63 -89
- lightning_sdk/lightning_cloud/openapi/models/{cluster_service_add_container_registry_body.py → v1_container_registry_config.py} +16 -16
- lightning_sdk/lightning_cloud/openapi/models/v1_container_registry_scopes.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_delete_kubernetes_virtual_machine_response.py → v1_create_container_registry_response.py} +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_create_lit_logger_media_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_org_cluster_capacity_reservation_response.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_sdk_command_history_request.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_cudo_direct_v1.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/{cluster_service_refresh_container_registry_credentials_body.py → v1_delete_lit_logger_media_response.py} +6 -6
- lightning_sdk/lightning_cloud/openapi/models/{kubernetes_virtual_machine_service_update_kubernetes_virtual_machine_body.py → v1_delete_org_cluster_capacity_reservation_response.py} +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_virtual_machine_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_describe_org_cluster_capacity_reservation_response.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster_spec.py +27 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_external_search_user.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_generic_job_spec.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/{v1_validate_container_registry_response.py → v1_get_kubernetes_pod_logs_response.py} +37 -37
- lightning_sdk/lightning_cloud/openapi/models/{v1_get_machine_response.py → v1_get_kubernetes_pod_response.py} +23 -23
- lightning_sdk/lightning_cloud/openapi/models/v1_job.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_joinable_organization.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/{v1_container_registry_integration.py → v1_k8s_incident_setting.py} +49 -23
- lightning_sdk/lightning_cloud/openapi/models/v1_k8s_incident_type.py +108 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_settings_v1.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_v1.py +53 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_pod.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_pod_logs_page.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kubevirt_config.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_list_container_registries_response.py +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_list_kubernetes_pods_response.py +43 -17
- lightning_sdk/lightning_cloud/openapi/models/v1_list_kubernetes_pods_sort_order.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_lit_logger_media_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_models_response.py +55 -3
- lightning_sdk/lightning_cloud/openapi/models/{v1_list_kubernetes_virtual_machines_response.py → v1_list_virtual_machines_response.py} +16 -16
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_logger_media.py +513 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_machine.py +27 -53
- lightning_sdk/lightning_cloud/openapi/models/v1_machine_direct_v1.py +107 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_media_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_ai_pod_v1.py → v1_mithril_direct_v1.py} +51 -51
- lightning_sdk/lightning_cloud/openapi/models/v1_nebius_direct_v1.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_refresh_container_registry_credentials_response.py +1 -27
- lightning_sdk/lightning_cloud/openapi/models/{cluster_service_validate_container_registry_body.py → v1_report_cloud_space_instance_idle_state_response.py} +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_report_machine_system_metrics_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_ecr_registry_details.py → v1_tenant_credentials.py} +53 -53
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +183 -157
- lightning_sdk/lightning_cloud/openapi/models/{v1_kubernetes_virtual_machine.py → v1_virtual_machine.py} +94 -68
- lightning_sdk/lightning_cloud/openapi/models/{v1_kubevirt_vm_configuration.py → v1_vm_configuration.py} +20 -20
- lightning_sdk/lightning_cloud/openapi/models/{v1_kubevirt_provider_configuration.py → v1_vm_provider_configuration.py} +32 -32
- lightning_sdk/lightning_cloud/openapi/models/virtual_machine_service_create_virtual_machine_body.py +565 -0
- lightning_sdk/lightning_cloud/openapi/models/virtual_machine_service_update_virtual_machine_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/rest.py +2 -2
- lightning_sdk/lightning_cloud/rest_client.py +0 -2
- lightning_sdk/machine.py +3 -3
- lightning_sdk/studio.py +14 -4
- lightning_sdk/teamspace.py +28 -7
- lightning_sdk/utils/logging.py +2 -1
- {lightning_sdk-2025.12.17.dist-info → lightning_sdk-2026.1.27.dist-info}/METADATA +1 -5
- {lightning_sdk-2025.12.17.dist-info → lightning_sdk-2026.1.27.dist-info}/RECORD +125 -102
- {lightning_sdk-2025.12.17.dist-info → lightning_sdk-2026.1.27.dist-info}/WHEEL +1 -1
- lightning_sdk/lightning_cloud/cli/__main__.py +0 -29
- lightning_sdk/lightning_cloud/openapi/models/kubernetes_virtual_machine_service_create_kubernetes_virtual_machine_body.py +0 -513
- lightning_sdk/lightning_cloud/openapi/models/v1_container_registry_info.py +0 -281
- lightning_sdk/lightning_cloud/openapi/models/v1_kubevirt_vm_resources.py +0 -201
- lightning_sdk/lightning_cloud/source_code/logs_socket_api.py +0 -103
- /lightning_sdk/lightning_cloud/openapi/models/{v1_list_filesystem_mmts_response.py → v1_list_filesystem_mm_ts_response.py} +0 -0
- {lightning_sdk-2025.12.17.dist-info → lightning_sdk-2026.1.27.dist-info}/LICENSE +0 -0
- {lightning_sdk-2025.12.17.dist-info → lightning_sdk-2026.1.27.dist-info}/entry_points.txt +0 -0
- {lightning_sdk-2025.12.17.dist-info → lightning_sdk-2026.1.27.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,409 @@
|
|
|
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 ClusterServiceCreateOrgClusterCapacityReservationBody(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
|
+
'capacity_reservation_type': 'str',
|
|
45
|
+
'cloud_provider_capacity_reservation_id': 'str',
|
|
46
|
+
'end_time': 'datetime',
|
|
47
|
+
'full_cloud_provider_reservation_string': 'str',
|
|
48
|
+
'instance_type': 'str',
|
|
49
|
+
'match_pattern': 'str',
|
|
50
|
+
'num_instances': 'int',
|
|
51
|
+
'populate_from_cloud_provider': 'bool',
|
|
52
|
+
'project_id': 'str',
|
|
53
|
+
'region': 'str',
|
|
54
|
+
'start_time': 'datetime',
|
|
55
|
+
'zone': 'str'
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
attribute_map = {
|
|
59
|
+
'capacity_reservation_type': 'capacityReservationType',
|
|
60
|
+
'cloud_provider_capacity_reservation_id': 'cloudProviderCapacityReservationId',
|
|
61
|
+
'end_time': 'endTime',
|
|
62
|
+
'full_cloud_provider_reservation_string': 'fullCloudProviderReservationString',
|
|
63
|
+
'instance_type': 'instanceType',
|
|
64
|
+
'match_pattern': 'matchPattern',
|
|
65
|
+
'num_instances': 'numInstances',
|
|
66
|
+
'populate_from_cloud_provider': 'populateFromCloudProvider',
|
|
67
|
+
'project_id': 'projectId',
|
|
68
|
+
'region': 'region',
|
|
69
|
+
'start_time': 'startTime',
|
|
70
|
+
'zone': 'zone'
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
def __init__(self, capacity_reservation_type: 'str' =None, cloud_provider_capacity_reservation_id: 'str' =None, end_time: 'datetime' =None, full_cloud_provider_reservation_string: 'str' =None, instance_type: 'str' =None, match_pattern: 'str' =None, num_instances: 'int' =None, populate_from_cloud_provider: 'bool' =None, project_id: 'str' =None, region: 'str' =None, start_time: 'datetime' =None, zone: 'str' =None): # noqa: E501
|
|
74
|
+
"""ClusterServiceCreateOrgClusterCapacityReservationBody - a model defined in Swagger""" # noqa: E501
|
|
75
|
+
self._capacity_reservation_type = None
|
|
76
|
+
self._cloud_provider_capacity_reservation_id = None
|
|
77
|
+
self._end_time = None
|
|
78
|
+
self._full_cloud_provider_reservation_string = None
|
|
79
|
+
self._instance_type = None
|
|
80
|
+
self._match_pattern = None
|
|
81
|
+
self._num_instances = None
|
|
82
|
+
self._populate_from_cloud_provider = None
|
|
83
|
+
self._project_id = None
|
|
84
|
+
self._region = None
|
|
85
|
+
self._start_time = None
|
|
86
|
+
self._zone = None
|
|
87
|
+
self.discriminator = None
|
|
88
|
+
if capacity_reservation_type is not None:
|
|
89
|
+
self.capacity_reservation_type = capacity_reservation_type
|
|
90
|
+
if cloud_provider_capacity_reservation_id is not None:
|
|
91
|
+
self.cloud_provider_capacity_reservation_id = cloud_provider_capacity_reservation_id
|
|
92
|
+
if end_time is not None:
|
|
93
|
+
self.end_time = end_time
|
|
94
|
+
if full_cloud_provider_reservation_string is not None:
|
|
95
|
+
self.full_cloud_provider_reservation_string = full_cloud_provider_reservation_string
|
|
96
|
+
if instance_type is not None:
|
|
97
|
+
self.instance_type = instance_type
|
|
98
|
+
if match_pattern is not None:
|
|
99
|
+
self.match_pattern = match_pattern
|
|
100
|
+
if num_instances is not None:
|
|
101
|
+
self.num_instances = num_instances
|
|
102
|
+
if populate_from_cloud_provider is not None:
|
|
103
|
+
self.populate_from_cloud_provider = populate_from_cloud_provider
|
|
104
|
+
if project_id is not None:
|
|
105
|
+
self.project_id = project_id
|
|
106
|
+
if region is not None:
|
|
107
|
+
self.region = region
|
|
108
|
+
if start_time is not None:
|
|
109
|
+
self.start_time = start_time
|
|
110
|
+
if zone is not None:
|
|
111
|
+
self.zone = zone
|
|
112
|
+
|
|
113
|
+
@property
|
|
114
|
+
def capacity_reservation_type(self) -> 'str':
|
|
115
|
+
"""Gets the capacity_reservation_type of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
:return: The capacity_reservation_type of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
119
|
+
:rtype: str
|
|
120
|
+
"""
|
|
121
|
+
return self._capacity_reservation_type
|
|
122
|
+
|
|
123
|
+
@capacity_reservation_type.setter
|
|
124
|
+
def capacity_reservation_type(self, capacity_reservation_type: 'str'):
|
|
125
|
+
"""Sets the capacity_reservation_type of this ClusterServiceCreateOrgClusterCapacityReservationBody.
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
:param capacity_reservation_type: The capacity_reservation_type of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
129
|
+
:type: str
|
|
130
|
+
"""
|
|
131
|
+
|
|
132
|
+
self._capacity_reservation_type = capacity_reservation_type
|
|
133
|
+
|
|
134
|
+
@property
|
|
135
|
+
def cloud_provider_capacity_reservation_id(self) -> 'str':
|
|
136
|
+
"""Gets the cloud_provider_capacity_reservation_id of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
:return: The cloud_provider_capacity_reservation_id of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
140
|
+
:rtype: str
|
|
141
|
+
"""
|
|
142
|
+
return self._cloud_provider_capacity_reservation_id
|
|
143
|
+
|
|
144
|
+
@cloud_provider_capacity_reservation_id.setter
|
|
145
|
+
def cloud_provider_capacity_reservation_id(self, cloud_provider_capacity_reservation_id: 'str'):
|
|
146
|
+
"""Sets the cloud_provider_capacity_reservation_id of this ClusterServiceCreateOrgClusterCapacityReservationBody.
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
:param cloud_provider_capacity_reservation_id: The cloud_provider_capacity_reservation_id of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
150
|
+
:type: str
|
|
151
|
+
"""
|
|
152
|
+
|
|
153
|
+
self._cloud_provider_capacity_reservation_id = cloud_provider_capacity_reservation_id
|
|
154
|
+
|
|
155
|
+
@property
|
|
156
|
+
def end_time(self) -> 'datetime':
|
|
157
|
+
"""Gets the end_time of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
:return: The end_time of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
161
|
+
:rtype: datetime
|
|
162
|
+
"""
|
|
163
|
+
return self._end_time
|
|
164
|
+
|
|
165
|
+
@end_time.setter
|
|
166
|
+
def end_time(self, end_time: 'datetime'):
|
|
167
|
+
"""Sets the end_time of this ClusterServiceCreateOrgClusterCapacityReservationBody.
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
:param end_time: The end_time of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
171
|
+
:type: datetime
|
|
172
|
+
"""
|
|
173
|
+
|
|
174
|
+
self._end_time = end_time
|
|
175
|
+
|
|
176
|
+
@property
|
|
177
|
+
def full_cloud_provider_reservation_string(self) -> 'str':
|
|
178
|
+
"""Gets the full_cloud_provider_reservation_string of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
:return: The full_cloud_provider_reservation_string of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
182
|
+
:rtype: str
|
|
183
|
+
"""
|
|
184
|
+
return self._full_cloud_provider_reservation_string
|
|
185
|
+
|
|
186
|
+
@full_cloud_provider_reservation_string.setter
|
|
187
|
+
def full_cloud_provider_reservation_string(self, full_cloud_provider_reservation_string: 'str'):
|
|
188
|
+
"""Sets the full_cloud_provider_reservation_string of this ClusterServiceCreateOrgClusterCapacityReservationBody.
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
:param full_cloud_provider_reservation_string: The full_cloud_provider_reservation_string of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
192
|
+
:type: str
|
|
193
|
+
"""
|
|
194
|
+
|
|
195
|
+
self._full_cloud_provider_reservation_string = full_cloud_provider_reservation_string
|
|
196
|
+
|
|
197
|
+
@property
|
|
198
|
+
def instance_type(self) -> 'str':
|
|
199
|
+
"""Gets the instance_type of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
:return: The instance_type of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
203
|
+
:rtype: str
|
|
204
|
+
"""
|
|
205
|
+
return self._instance_type
|
|
206
|
+
|
|
207
|
+
@instance_type.setter
|
|
208
|
+
def instance_type(self, instance_type: 'str'):
|
|
209
|
+
"""Sets the instance_type of this ClusterServiceCreateOrgClusterCapacityReservationBody.
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
:param instance_type: The instance_type of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
213
|
+
:type: str
|
|
214
|
+
"""
|
|
215
|
+
|
|
216
|
+
self._instance_type = instance_type
|
|
217
|
+
|
|
218
|
+
@property
|
|
219
|
+
def match_pattern(self) -> 'str':
|
|
220
|
+
"""Gets the match_pattern of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
:return: The match_pattern of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
224
|
+
:rtype: str
|
|
225
|
+
"""
|
|
226
|
+
return self._match_pattern
|
|
227
|
+
|
|
228
|
+
@match_pattern.setter
|
|
229
|
+
def match_pattern(self, match_pattern: 'str'):
|
|
230
|
+
"""Sets the match_pattern of this ClusterServiceCreateOrgClusterCapacityReservationBody.
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
:param match_pattern: The match_pattern of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
234
|
+
:type: str
|
|
235
|
+
"""
|
|
236
|
+
|
|
237
|
+
self._match_pattern = match_pattern
|
|
238
|
+
|
|
239
|
+
@property
|
|
240
|
+
def num_instances(self) -> 'int':
|
|
241
|
+
"""Gets the num_instances of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
:return: The num_instances of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
245
|
+
:rtype: int
|
|
246
|
+
"""
|
|
247
|
+
return self._num_instances
|
|
248
|
+
|
|
249
|
+
@num_instances.setter
|
|
250
|
+
def num_instances(self, num_instances: 'int'):
|
|
251
|
+
"""Sets the num_instances of this ClusterServiceCreateOrgClusterCapacityReservationBody.
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
:param num_instances: The num_instances of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
255
|
+
:type: int
|
|
256
|
+
"""
|
|
257
|
+
|
|
258
|
+
self._num_instances = num_instances
|
|
259
|
+
|
|
260
|
+
@property
|
|
261
|
+
def populate_from_cloud_provider(self) -> 'bool':
|
|
262
|
+
"""Gets the populate_from_cloud_provider of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
:return: The populate_from_cloud_provider of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
266
|
+
:rtype: bool
|
|
267
|
+
"""
|
|
268
|
+
return self._populate_from_cloud_provider
|
|
269
|
+
|
|
270
|
+
@populate_from_cloud_provider.setter
|
|
271
|
+
def populate_from_cloud_provider(self, populate_from_cloud_provider: 'bool'):
|
|
272
|
+
"""Sets the populate_from_cloud_provider of this ClusterServiceCreateOrgClusterCapacityReservationBody.
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
:param populate_from_cloud_provider: The populate_from_cloud_provider of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
276
|
+
:type: bool
|
|
277
|
+
"""
|
|
278
|
+
|
|
279
|
+
self._populate_from_cloud_provider = populate_from_cloud_provider
|
|
280
|
+
|
|
281
|
+
@property
|
|
282
|
+
def project_id(self) -> 'str':
|
|
283
|
+
"""Gets the project_id of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
:return: The project_id of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
287
|
+
:rtype: str
|
|
288
|
+
"""
|
|
289
|
+
return self._project_id
|
|
290
|
+
|
|
291
|
+
@project_id.setter
|
|
292
|
+
def project_id(self, project_id: 'str'):
|
|
293
|
+
"""Sets the project_id of this ClusterServiceCreateOrgClusterCapacityReservationBody.
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
:param project_id: The project_id of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
297
|
+
:type: str
|
|
298
|
+
"""
|
|
299
|
+
|
|
300
|
+
self._project_id = project_id
|
|
301
|
+
|
|
302
|
+
@property
|
|
303
|
+
def region(self) -> 'str':
|
|
304
|
+
"""Gets the region of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
:return: The region of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
308
|
+
:rtype: str
|
|
309
|
+
"""
|
|
310
|
+
return self._region
|
|
311
|
+
|
|
312
|
+
@region.setter
|
|
313
|
+
def region(self, region: 'str'):
|
|
314
|
+
"""Sets the region of this ClusterServiceCreateOrgClusterCapacityReservationBody.
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
:param region: The region of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
318
|
+
:type: str
|
|
319
|
+
"""
|
|
320
|
+
|
|
321
|
+
self._region = region
|
|
322
|
+
|
|
323
|
+
@property
|
|
324
|
+
def start_time(self) -> 'datetime':
|
|
325
|
+
"""Gets the start_time of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
:return: The start_time of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
329
|
+
:rtype: datetime
|
|
330
|
+
"""
|
|
331
|
+
return self._start_time
|
|
332
|
+
|
|
333
|
+
@start_time.setter
|
|
334
|
+
def start_time(self, start_time: 'datetime'):
|
|
335
|
+
"""Sets the start_time of this ClusterServiceCreateOrgClusterCapacityReservationBody.
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
:param start_time: The start_time of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
339
|
+
:type: datetime
|
|
340
|
+
"""
|
|
341
|
+
|
|
342
|
+
self._start_time = start_time
|
|
343
|
+
|
|
344
|
+
@property
|
|
345
|
+
def zone(self) -> 'str':
|
|
346
|
+
"""Gets the zone of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
:return: The zone of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
350
|
+
:rtype: str
|
|
351
|
+
"""
|
|
352
|
+
return self._zone
|
|
353
|
+
|
|
354
|
+
@zone.setter
|
|
355
|
+
def zone(self, zone: 'str'):
|
|
356
|
+
"""Sets the zone of this ClusterServiceCreateOrgClusterCapacityReservationBody.
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
:param zone: The zone of this ClusterServiceCreateOrgClusterCapacityReservationBody. # noqa: E501
|
|
360
|
+
:type: str
|
|
361
|
+
"""
|
|
362
|
+
|
|
363
|
+
self._zone = zone
|
|
364
|
+
|
|
365
|
+
def to_dict(self) -> dict:
|
|
366
|
+
"""Returns the model properties as a dict"""
|
|
367
|
+
result = {}
|
|
368
|
+
|
|
369
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
370
|
+
value = getattr(self, attr)
|
|
371
|
+
if isinstance(value, list):
|
|
372
|
+
result[attr] = list(map(
|
|
373
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
374
|
+
value
|
|
375
|
+
))
|
|
376
|
+
elif hasattr(value, "to_dict"):
|
|
377
|
+
result[attr] = value.to_dict()
|
|
378
|
+
elif isinstance(value, dict):
|
|
379
|
+
result[attr] = dict(map(
|
|
380
|
+
lambda item: (item[0], item[1].to_dict())
|
|
381
|
+
if hasattr(item[1], "to_dict") else item,
|
|
382
|
+
value.items()
|
|
383
|
+
))
|
|
384
|
+
else:
|
|
385
|
+
result[attr] = value
|
|
386
|
+
if issubclass(ClusterServiceCreateOrgClusterCapacityReservationBody, dict):
|
|
387
|
+
for key, value in self.items():
|
|
388
|
+
result[key] = value
|
|
389
|
+
|
|
390
|
+
return result
|
|
391
|
+
|
|
392
|
+
def to_str(self) -> str:
|
|
393
|
+
"""Returns the string representation of the model"""
|
|
394
|
+
return pprint.pformat(self.to_dict())
|
|
395
|
+
|
|
396
|
+
def __repr__(self) -> str:
|
|
397
|
+
"""For `print` and `pprint`"""
|
|
398
|
+
return self.to_str()
|
|
399
|
+
|
|
400
|
+
def __eq__(self, other: 'ClusterServiceCreateOrgClusterCapacityReservationBody') -> bool:
|
|
401
|
+
"""Returns true if both objects are equal"""
|
|
402
|
+
if not isinstance(other, ClusterServiceCreateOrgClusterCapacityReservationBody):
|
|
403
|
+
return False
|
|
404
|
+
|
|
405
|
+
return self.__dict__ == other.__dict__
|
|
406
|
+
|
|
407
|
+
def __ne__(self, other: 'ClusterServiceCreateOrgClusterCapacityReservationBody') -> bool:
|
|
408
|
+
"""Returns true if both objects are not equal"""
|
|
409
|
+
return not self == other
|
|
@@ -28,7 +28,7 @@ if TYPE_CHECKING:
|
|
|
28
28
|
from datetime import datetime
|
|
29
29
|
from lightning_sdk.lightning_cloud.openapi.models import *
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class ClusterServiceReportMachineSystemMetricsBody(object):
|
|
32
32
|
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
33
33
|
|
|
34
34
|
Do not edit the class manually.
|
|
@@ -41,40 +41,40 @@ class V1AddContainerRegistryResponse(object):
|
|
|
41
41
|
and the value is json key in definition.
|
|
42
42
|
"""
|
|
43
43
|
swagger_types = {
|
|
44
|
-
'
|
|
44
|
+
'machine_metrics': 'list[V1SystemMetrics]'
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
attribute_map = {
|
|
48
|
-
'
|
|
48
|
+
'machine_metrics': 'machineMetrics'
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
def __init__(self,
|
|
52
|
-
"""
|
|
53
|
-
self.
|
|
51
|
+
def __init__(self, machine_metrics: 'list[V1SystemMetrics]' =None): # noqa: E501
|
|
52
|
+
"""ClusterServiceReportMachineSystemMetricsBody - a model defined in Swagger""" # noqa: E501
|
|
53
|
+
self._machine_metrics = None
|
|
54
54
|
self.discriminator = None
|
|
55
|
-
if
|
|
56
|
-
self.
|
|
55
|
+
if machine_metrics is not None:
|
|
56
|
+
self.machine_metrics = machine_metrics
|
|
57
57
|
|
|
58
58
|
@property
|
|
59
|
-
def
|
|
60
|
-
"""Gets the
|
|
59
|
+
def machine_metrics(self) -> 'list[V1SystemMetrics]':
|
|
60
|
+
"""Gets the machine_metrics of this ClusterServiceReportMachineSystemMetricsBody. # noqa: E501
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
:return: The
|
|
64
|
-
:rtype:
|
|
63
|
+
:return: The machine_metrics of this ClusterServiceReportMachineSystemMetricsBody. # noqa: E501
|
|
64
|
+
:rtype: list[V1SystemMetrics]
|
|
65
65
|
"""
|
|
66
|
-
return self.
|
|
66
|
+
return self._machine_metrics
|
|
67
67
|
|
|
68
|
-
@
|
|
69
|
-
def
|
|
70
|
-
"""Sets the
|
|
68
|
+
@machine_metrics.setter
|
|
69
|
+
def machine_metrics(self, machine_metrics: 'list[V1SystemMetrics]'):
|
|
70
|
+
"""Sets the machine_metrics of this ClusterServiceReportMachineSystemMetricsBody.
|
|
71
71
|
|
|
72
72
|
|
|
73
|
-
:param
|
|
74
|
-
:type:
|
|
73
|
+
:param machine_metrics: The machine_metrics of this ClusterServiceReportMachineSystemMetricsBody. # noqa: E501
|
|
74
|
+
:type: list[V1SystemMetrics]
|
|
75
75
|
"""
|
|
76
76
|
|
|
77
|
-
self.
|
|
77
|
+
self._machine_metrics = machine_metrics
|
|
78
78
|
|
|
79
79
|
def to_dict(self) -> dict:
|
|
80
80
|
"""Returns the model properties as a dict"""
|
|
@@ -97,7 +97,7 @@ class V1AddContainerRegistryResponse(object):
|
|
|
97
97
|
))
|
|
98
98
|
else:
|
|
99
99
|
result[attr] = value
|
|
100
|
-
if issubclass(
|
|
100
|
+
if issubclass(ClusterServiceReportMachineSystemMetricsBody, dict):
|
|
101
101
|
for key, value in self.items():
|
|
102
102
|
result[key] = value
|
|
103
103
|
|
|
@@ -111,13 +111,13 @@ class V1AddContainerRegistryResponse(object):
|
|
|
111
111
|
"""For `print` and `pprint`"""
|
|
112
112
|
return self.to_str()
|
|
113
113
|
|
|
114
|
-
def __eq__(self, other: '
|
|
114
|
+
def __eq__(self, other: 'ClusterServiceReportMachineSystemMetricsBody') -> bool:
|
|
115
115
|
"""Returns true if both objects are equal"""
|
|
116
|
-
if not isinstance(other,
|
|
116
|
+
if not isinstance(other, ClusterServiceReportMachineSystemMetricsBody):
|
|
117
117
|
return False
|
|
118
118
|
|
|
119
119
|
return self.__dict__ == other.__dict__
|
|
120
120
|
|
|
121
|
-
def __ne__(self, other: '
|
|
121
|
+
def __ne__(self, other: 'ClusterServiceReportMachineSystemMetricsBody') -> bool:
|
|
122
122
|
"""Returns true if both objects are not equal"""
|
|
123
123
|
return not self == other
|
|
@@ -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 ContainerRegistryConfigECR(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
|
+
'last_refresh_at': 'datetime',
|
|
45
|
+
'token_refresh_seconds': 'str'
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
attribute_map = {
|
|
49
|
+
'last_refresh_at': 'lastRefreshAt',
|
|
50
|
+
'token_refresh_seconds': 'tokenRefreshSeconds'
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
def __init__(self, last_refresh_at: 'datetime' =None, token_refresh_seconds: 'str' =None): # noqa: E501
|
|
54
|
+
"""ContainerRegistryConfigECR - a model defined in Swagger""" # noqa: E501
|
|
55
|
+
self._last_refresh_at = None
|
|
56
|
+
self._token_refresh_seconds = None
|
|
57
|
+
self.discriminator = None
|
|
58
|
+
if last_refresh_at is not None:
|
|
59
|
+
self.last_refresh_at = last_refresh_at
|
|
60
|
+
if token_refresh_seconds is not None:
|
|
61
|
+
self.token_refresh_seconds = token_refresh_seconds
|
|
62
|
+
|
|
63
|
+
@property
|
|
64
|
+
def last_refresh_at(self) -> 'datetime':
|
|
65
|
+
"""Gets the last_refresh_at of this ContainerRegistryConfigECR. # noqa: E501
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
:return: The last_refresh_at of this ContainerRegistryConfigECR. # noqa: E501
|
|
69
|
+
:rtype: datetime
|
|
70
|
+
"""
|
|
71
|
+
return self._last_refresh_at
|
|
72
|
+
|
|
73
|
+
@last_refresh_at.setter
|
|
74
|
+
def last_refresh_at(self, last_refresh_at: 'datetime'):
|
|
75
|
+
"""Sets the last_refresh_at of this ContainerRegistryConfigECR.
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
:param last_refresh_at: The last_refresh_at of this ContainerRegistryConfigECR. # noqa: E501
|
|
79
|
+
:type: datetime
|
|
80
|
+
"""
|
|
81
|
+
|
|
82
|
+
self._last_refresh_at = last_refresh_at
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def token_refresh_seconds(self) -> 'str':
|
|
86
|
+
"""Gets the token_refresh_seconds of this ContainerRegistryConfigECR. # noqa: E501
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
:return: The token_refresh_seconds of this ContainerRegistryConfigECR. # noqa: E501
|
|
90
|
+
:rtype: str
|
|
91
|
+
"""
|
|
92
|
+
return self._token_refresh_seconds
|
|
93
|
+
|
|
94
|
+
@token_refresh_seconds.setter
|
|
95
|
+
def token_refresh_seconds(self, token_refresh_seconds: 'str'):
|
|
96
|
+
"""Sets the token_refresh_seconds of this ContainerRegistryConfigECR.
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
:param token_refresh_seconds: The token_refresh_seconds of this ContainerRegistryConfigECR. # noqa: E501
|
|
100
|
+
:type: str
|
|
101
|
+
"""
|
|
102
|
+
|
|
103
|
+
self._token_refresh_seconds = token_refresh_seconds
|
|
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(ContainerRegistryConfigECR, 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: 'ContainerRegistryConfigECR') -> bool:
|
|
141
|
+
"""Returns true if both objects are equal"""
|
|
142
|
+
if not isinstance(other, ContainerRegistryConfigECR):
|
|
143
|
+
return False
|
|
144
|
+
|
|
145
|
+
return self.__dict__ == other.__dict__
|
|
146
|
+
|
|
147
|
+
def __ne__(self, other: 'ContainerRegistryConfigECR') -> bool:
|
|
148
|
+
"""Returns true if both objects are not equal"""
|
|
149
|
+
return not self == other
|