lightning-sdk 2025.12.17__py3-none-any.whl → 2026.1.22__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.
Files changed (99) hide show
  1. lightning_sdk/__version__.py +1 -1
  2. lightning_sdk/api/k8s_api.py +75 -29
  3. lightning_sdk/api/studio_api.py +195 -33
  4. lightning_sdk/api/teamspace_api.py +28 -9
  5. lightning_sdk/cli/cp/__init__.py +64 -0
  6. lightning_sdk/cli/entrypoint.py +2 -0
  7. lightning_sdk/cli/groups.py +22 -0
  8. lightning_sdk/cli/legacy/clusters_menu.py +2 -2
  9. lightning_sdk/cli/legacy/deploy/_auth.py +7 -6
  10. lightning_sdk/cli/legacy/run.py +13 -2
  11. lightning_sdk/cli/studio/__init__.py +4 -0
  12. lightning_sdk/cli/studio/cp.py +20 -64
  13. lightning_sdk/cli/studio/ls.py +57 -0
  14. lightning_sdk/cli/studio/rm.py +71 -0
  15. lightning_sdk/cli/utils/logging.py +2 -1
  16. lightning_sdk/cli/utils/studio_filesystem.py +65 -0
  17. lightning_sdk/cli/utils/teamspace_selection.py +5 -0
  18. lightning_sdk/exceptions.py +4 -0
  19. lightning_sdk/job/base.py +1 -1
  20. lightning_sdk/k8s_cluster.py +9 -10
  21. lightning_sdk/lightning_cloud/__version__.py +1 -1
  22. lightning_sdk/lightning_cloud/openapi/__init__.py +29 -11
  23. lightning_sdk/lightning_cloud/openapi/api/__init__.py +1 -1
  24. lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +113 -0
  25. lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +268 -123
  26. lightning_sdk/lightning_cloud/openapi/api/k8_s_cluster_service_api.py +246 -19
  27. lightning_sdk/lightning_cloud/openapi/api/lightningwork_service_api.py +116 -11
  28. lightning_sdk/lightning_cloud/openapi/api/lit_logger_service_api.py +588 -2
  29. lightning_sdk/lightning_cloud/openapi/api/models_store_api.py +9 -1
  30. lightning_sdk/lightning_cloud/openapi/api/{kubernetes_virtual_machine_service_api.py → virtual_machine_service_api.py} +82 -82
  31. lightning_sdk/lightning_cloud/openapi/models/__init__.py +28 -10
  32. lightning_sdk/lightning_cloud/openapi/models/cluster_service_create_cluster_capacity_reservation_body.py +53 -1
  33. lightning_sdk/lightning_cloud/openapi/models/cluster_service_create_machine_body.py +53 -1
  34. lightning_sdk/lightning_cloud/openapi/models/cluster_service_create_org_cluster_capacity_reservation_body.py +409 -0
  35. lightning_sdk/lightning_cloud/openapi/models/cluster_service_report_machine_system_metrics_body.py +123 -0
  36. lightning_sdk/lightning_cloud/openapi/models/externalv1_cloud_space_instance_status.py +27 -1
  37. lightning_sdk/lightning_cloud/openapi/models/lit_logger_service_create_lit_logger_media_body.py +305 -0
  38. lightning_sdk/lightning_cloud/openapi/models/lit_logger_service_update_lit_logger_media_body.py +149 -0
  39. lightning_sdk/lightning_cloud/openapi/models/lit_logger_service_update_metrics_stream_body.py +53 -1
  40. lightning_sdk/lightning_cloud/openapi/models/v1_capacity_reservation_used_by.py +227 -0
  41. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_provider.py +1 -1
  42. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_type.py +1 -0
  43. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_accelerator.py +27 -1
  44. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_capacity_reservation.py +27 -1
  45. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +53 -27
  46. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_type.py +0 -1
  47. lightning_sdk/lightning_cloud/openapi/models/v1_create_lit_logger_media_response.py +149 -0
  48. lightning_sdk/lightning_cloud/openapi/models/v1_create_org_cluster_capacity_reservation_response.py +201 -0
  49. lightning_sdk/lightning_cloud/openapi/models/v1_create_sdk_command_history_request.py +29 -3
  50. lightning_sdk/lightning_cloud/openapi/models/{v1_ai_pod_v1.py → v1_cudo_direct_v1.py} +51 -51
  51. lightning_sdk/lightning_cloud/openapi/models/{v1_delete_kubernetes_virtual_machine_response.py → v1_delete_lit_logger_media_response.py} +6 -6
  52. lightning_sdk/lightning_cloud/openapi/models/{kubernetes_virtual_machine_service_update_kubernetes_virtual_machine_body.py → v1_delete_virtual_machine_response.py} +6 -6
  53. lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster_spec.py +27 -27
  54. lightning_sdk/lightning_cloud/openapi/models/v1_external_search_user.py +27 -1
  55. lightning_sdk/lightning_cloud/openapi/models/v1_get_kubernetes_pod_logs_response.py +149 -0
  56. lightning_sdk/lightning_cloud/openapi/models/{v1_get_machine_response.py → v1_get_kubernetes_pod_response.py} +23 -23
  57. lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py +27 -1
  58. lightning_sdk/lightning_cloud/openapi/models/v1_joinable_organization.py +27 -1
  59. lightning_sdk/lightning_cloud/openapi/models/v1_k8s_incident_setting.py +149 -0
  60. lightning_sdk/lightning_cloud/openapi/models/v1_k8s_incident_type.py +108 -0
  61. lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_settings_v1.py +53 -1
  62. lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_v1.py +53 -1
  63. lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_pod.py +27 -1
  64. lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_pod_logs_page.py +227 -0
  65. lightning_sdk/lightning_cloud/openapi/models/v1_kubevirt_config.py +53 -1
  66. lightning_sdk/lightning_cloud/openapi/models/v1_list_kubernetes_pods_response.py +43 -17
  67. lightning_sdk/lightning_cloud/openapi/models/v1_list_kubernetes_pods_sort_order.py +104 -0
  68. lightning_sdk/lightning_cloud/openapi/models/v1_list_lit_logger_media_response.py +149 -0
  69. lightning_sdk/lightning_cloud/openapi/models/v1_list_models_response.py +55 -3
  70. lightning_sdk/lightning_cloud/openapi/models/{v1_list_kubernetes_virtual_machines_response.py → v1_list_virtual_machines_response.py} +16 -16
  71. lightning_sdk/lightning_cloud/openapi/models/v1_lit_logger_media.py +513 -0
  72. lightning_sdk/lightning_cloud/openapi/models/v1_machine.py +27 -53
  73. lightning_sdk/lightning_cloud/openapi/models/v1_machine_direct_v1.py +107 -3
  74. lightning_sdk/lightning_cloud/openapi/models/v1_media_type.py +104 -0
  75. lightning_sdk/lightning_cloud/openapi/models/v1_nebius_direct_v1.py +29 -3
  76. lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +27 -1
  77. lightning_sdk/lightning_cloud/openapi/models/v1_report_cloud_space_instance_idle_state_response.py +97 -0
  78. lightning_sdk/lightning_cloud/openapi/models/v1_report_machine_system_metrics_response.py +97 -0
  79. lightning_sdk/lightning_cloud/openapi/models/v1_tenant_credentials.py +201 -0
  80. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +157 -131
  81. lightning_sdk/lightning_cloud/openapi/models/{v1_kubernetes_virtual_machine.py → v1_virtual_machine.py} +94 -68
  82. lightning_sdk/lightning_cloud/openapi/models/{v1_kubevirt_vm_configuration.py → v1_vm_configuration.py} +20 -20
  83. lightning_sdk/lightning_cloud/openapi/models/{v1_kubevirt_provider_configuration.py → v1_vm_provider_configuration.py} +32 -32
  84. lightning_sdk/lightning_cloud/openapi/models/virtual_machine_service_create_virtual_machine_body.py +565 -0
  85. lightning_sdk/lightning_cloud/openapi/models/virtual_machine_service_update_virtual_machine_body.py +97 -0
  86. lightning_sdk/lightning_cloud/rest_client.py +0 -2
  87. lightning_sdk/machine.py +3 -3
  88. lightning_sdk/studio.py +14 -4
  89. lightning_sdk/utils/logging.py +2 -1
  90. {lightning_sdk-2025.12.17.dist-info → lightning_sdk-2026.1.22.dist-info}/METADATA +1 -5
  91. {lightning_sdk-2025.12.17.dist-info → lightning_sdk-2026.1.22.dist-info}/RECORD +95 -75
  92. {lightning_sdk-2025.12.17.dist-info → lightning_sdk-2026.1.22.dist-info}/WHEEL +1 -1
  93. lightning_sdk/lightning_cloud/cli/__main__.py +0 -29
  94. lightning_sdk/lightning_cloud/openapi/models/kubernetes_virtual_machine_service_create_kubernetes_virtual_machine_body.py +0 -513
  95. lightning_sdk/lightning_cloud/openapi/models/v1_kubevirt_vm_resources.py +0 -201
  96. lightning_sdk/lightning_cloud/source_code/logs_socket_api.py +0 -103
  97. {lightning_sdk-2025.12.17.dist-info → lightning_sdk-2026.1.22.dist-info}/LICENSE +0 -0
  98. {lightning_sdk-2025.12.17.dist-info → lightning_sdk-2026.1.22.dist-info}/entry_points.txt +0 -0
  99. {lightning_sdk-2025.12.17.dist-info → lightning_sdk-2026.1.22.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 V1CreateLitLoggerMediaResponse(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
+ 'already_exists': 'bool',
45
+ 'media': 'V1LitLoggerMedia'
46
+ }
47
+
48
+ attribute_map = {
49
+ 'already_exists': 'alreadyExists',
50
+ 'media': 'media'
51
+ }
52
+
53
+ def __init__(self, already_exists: 'bool' =None, media: 'V1LitLoggerMedia' =None): # noqa: E501
54
+ """V1CreateLitLoggerMediaResponse - a model defined in Swagger""" # noqa: E501
55
+ self._already_exists = None
56
+ self._media = None
57
+ self.discriminator = None
58
+ if already_exists is not None:
59
+ self.already_exists = already_exists
60
+ if media is not None:
61
+ self.media = media
62
+
63
+ @property
64
+ def already_exists(self) -> 'bool':
65
+ """Gets the already_exists of this V1CreateLitLoggerMediaResponse. # noqa: E501
66
+
67
+
68
+ :return: The already_exists of this V1CreateLitLoggerMediaResponse. # noqa: E501
69
+ :rtype: bool
70
+ """
71
+ return self._already_exists
72
+
73
+ @already_exists.setter
74
+ def already_exists(self, already_exists: 'bool'):
75
+ """Sets the already_exists of this V1CreateLitLoggerMediaResponse.
76
+
77
+
78
+ :param already_exists: The already_exists of this V1CreateLitLoggerMediaResponse. # noqa: E501
79
+ :type: bool
80
+ """
81
+
82
+ self._already_exists = already_exists
83
+
84
+ @property
85
+ def media(self) -> 'V1LitLoggerMedia':
86
+ """Gets the media of this V1CreateLitLoggerMediaResponse. # noqa: E501
87
+
88
+
89
+ :return: The media of this V1CreateLitLoggerMediaResponse. # noqa: E501
90
+ :rtype: V1LitLoggerMedia
91
+ """
92
+ return self._media
93
+
94
+ @media.setter
95
+ def media(self, media: 'V1LitLoggerMedia'):
96
+ """Sets the media of this V1CreateLitLoggerMediaResponse.
97
+
98
+
99
+ :param media: The media of this V1CreateLitLoggerMediaResponse. # noqa: E501
100
+ :type: V1LitLoggerMedia
101
+ """
102
+
103
+ self._media = media
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(V1CreateLitLoggerMediaResponse, 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: 'V1CreateLitLoggerMediaResponse') -> bool:
141
+ """Returns true if both objects are equal"""
142
+ if not isinstance(other, V1CreateLitLoggerMediaResponse):
143
+ return False
144
+
145
+ return self.__dict__ == other.__dict__
146
+
147
+ def __ne__(self, other: 'V1CreateLitLoggerMediaResponse') -> bool:
148
+ """Returns true if both objects are not equal"""
149
+ return not self == other
@@ -0,0 +1,201 @@
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 V1CreateOrgClusterCapacityReservationResponse(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
+ 'cloud_provider_capacity_reservation_id': 'str',
45
+ 'full_cloud_provider_reservation_string': 'str',
46
+ 'id': 'str',
47
+ 'match_pattern': 'str'
48
+ }
49
+
50
+ attribute_map = {
51
+ 'cloud_provider_capacity_reservation_id': 'cloudProviderCapacityReservationId',
52
+ 'full_cloud_provider_reservation_string': 'fullCloudProviderReservationString',
53
+ 'id': 'id',
54
+ 'match_pattern': 'matchPattern'
55
+ }
56
+
57
+ def __init__(self, cloud_provider_capacity_reservation_id: 'str' =None, full_cloud_provider_reservation_string: 'str' =None, id: 'str' =None, match_pattern: 'str' =None): # noqa: E501
58
+ """V1CreateOrgClusterCapacityReservationResponse - a model defined in Swagger""" # noqa: E501
59
+ self._cloud_provider_capacity_reservation_id = None
60
+ self._full_cloud_provider_reservation_string = None
61
+ self._id = None
62
+ self._match_pattern = None
63
+ self.discriminator = None
64
+ if cloud_provider_capacity_reservation_id is not None:
65
+ self.cloud_provider_capacity_reservation_id = cloud_provider_capacity_reservation_id
66
+ if full_cloud_provider_reservation_string is not None:
67
+ self.full_cloud_provider_reservation_string = full_cloud_provider_reservation_string
68
+ if id is not None:
69
+ self.id = id
70
+ if match_pattern is not None:
71
+ self.match_pattern = match_pattern
72
+
73
+ @property
74
+ def cloud_provider_capacity_reservation_id(self) -> 'str':
75
+ """Gets the cloud_provider_capacity_reservation_id of this V1CreateOrgClusterCapacityReservationResponse. # noqa: E501
76
+
77
+
78
+ :return: The cloud_provider_capacity_reservation_id of this V1CreateOrgClusterCapacityReservationResponse. # noqa: E501
79
+ :rtype: str
80
+ """
81
+ return self._cloud_provider_capacity_reservation_id
82
+
83
+ @cloud_provider_capacity_reservation_id.setter
84
+ def cloud_provider_capacity_reservation_id(self, cloud_provider_capacity_reservation_id: 'str'):
85
+ """Sets the cloud_provider_capacity_reservation_id of this V1CreateOrgClusterCapacityReservationResponse.
86
+
87
+
88
+ :param cloud_provider_capacity_reservation_id: The cloud_provider_capacity_reservation_id of this V1CreateOrgClusterCapacityReservationResponse. # noqa: E501
89
+ :type: str
90
+ """
91
+
92
+ self._cloud_provider_capacity_reservation_id = cloud_provider_capacity_reservation_id
93
+
94
+ @property
95
+ def full_cloud_provider_reservation_string(self) -> 'str':
96
+ """Gets the full_cloud_provider_reservation_string of this V1CreateOrgClusterCapacityReservationResponse. # noqa: E501
97
+
98
+
99
+ :return: The full_cloud_provider_reservation_string of this V1CreateOrgClusterCapacityReservationResponse. # noqa: E501
100
+ :rtype: str
101
+ """
102
+ return self._full_cloud_provider_reservation_string
103
+
104
+ @full_cloud_provider_reservation_string.setter
105
+ def full_cloud_provider_reservation_string(self, full_cloud_provider_reservation_string: 'str'):
106
+ """Sets the full_cloud_provider_reservation_string of this V1CreateOrgClusterCapacityReservationResponse.
107
+
108
+
109
+ :param full_cloud_provider_reservation_string: The full_cloud_provider_reservation_string of this V1CreateOrgClusterCapacityReservationResponse. # noqa: E501
110
+ :type: str
111
+ """
112
+
113
+ self._full_cloud_provider_reservation_string = full_cloud_provider_reservation_string
114
+
115
+ @property
116
+ def id(self) -> 'str':
117
+ """Gets the id of this V1CreateOrgClusterCapacityReservationResponse. # noqa: E501
118
+
119
+
120
+ :return: The id of this V1CreateOrgClusterCapacityReservationResponse. # noqa: E501
121
+ :rtype: str
122
+ """
123
+ return self._id
124
+
125
+ @id.setter
126
+ def id(self, id: 'str'):
127
+ """Sets the id of this V1CreateOrgClusterCapacityReservationResponse.
128
+
129
+
130
+ :param id: The id of this V1CreateOrgClusterCapacityReservationResponse. # noqa: E501
131
+ :type: str
132
+ """
133
+
134
+ self._id = id
135
+
136
+ @property
137
+ def match_pattern(self) -> 'str':
138
+ """Gets the match_pattern of this V1CreateOrgClusterCapacityReservationResponse. # noqa: E501
139
+
140
+
141
+ :return: The match_pattern of this V1CreateOrgClusterCapacityReservationResponse. # noqa: E501
142
+ :rtype: str
143
+ """
144
+ return self._match_pattern
145
+
146
+ @match_pattern.setter
147
+ def match_pattern(self, match_pattern: 'str'):
148
+ """Sets the match_pattern of this V1CreateOrgClusterCapacityReservationResponse.
149
+
150
+
151
+ :param match_pattern: The match_pattern of this V1CreateOrgClusterCapacityReservationResponse. # noqa: E501
152
+ :type: str
153
+ """
154
+
155
+ self._match_pattern = match_pattern
156
+
157
+ def to_dict(self) -> dict:
158
+ """Returns the model properties as a dict"""
159
+ result = {}
160
+
161
+ for attr, _ in six.iteritems(self.swagger_types):
162
+ value = getattr(self, attr)
163
+ if isinstance(value, list):
164
+ result[attr] = list(map(
165
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
166
+ value
167
+ ))
168
+ elif hasattr(value, "to_dict"):
169
+ result[attr] = value.to_dict()
170
+ elif isinstance(value, dict):
171
+ result[attr] = dict(map(
172
+ lambda item: (item[0], item[1].to_dict())
173
+ if hasattr(item[1], "to_dict") else item,
174
+ value.items()
175
+ ))
176
+ else:
177
+ result[attr] = value
178
+ if issubclass(V1CreateOrgClusterCapacityReservationResponse, dict):
179
+ for key, value in self.items():
180
+ result[key] = value
181
+
182
+ return result
183
+
184
+ def to_str(self) -> str:
185
+ """Returns the string representation of the model"""
186
+ return pprint.pformat(self.to_dict())
187
+
188
+ def __repr__(self) -> str:
189
+ """For `print` and `pprint`"""
190
+ return self.to_str()
191
+
192
+ def __eq__(self, other: 'V1CreateOrgClusterCapacityReservationResponse') -> bool:
193
+ """Returns true if both objects are equal"""
194
+ if not isinstance(other, V1CreateOrgClusterCapacityReservationResponse):
195
+ return False
196
+
197
+ return self.__dict__ == other.__dict__
198
+
199
+ def __ne__(self, other: 'V1CreateOrgClusterCapacityReservationResponse') -> bool:
200
+ """Returns true if both objects are not equal"""
201
+ return not self == other
@@ -46,7 +46,8 @@ class V1CreateSDKCommandHistoryRequest(object):
46
46
  'message': 'str',
47
47
  'project_id': 'str',
48
48
  'severity': 'V1SDKCommandHistorySeverity',
49
- 'type': 'V1SDKCommandHistoryType'
49
+ 'type': 'V1SDKCommandHistoryType',
50
+ 'version': 'str'
50
51
  }
51
52
 
52
53
  attribute_map = {
@@ -55,10 +56,11 @@ class V1CreateSDKCommandHistoryRequest(object):
55
56
  'message': 'message',
56
57
  'project_id': 'projectId',
57
58
  'severity': 'severity',
58
- 'type': 'type'
59
+ 'type': 'type',
60
+ 'version': 'version'
59
61
  }
60
62
 
61
- def __init__(self, command: 'str' =None, duration: 'int' =None, message: 'str' =None, project_id: 'str' =None, severity: 'V1SDKCommandHistorySeverity' =None, type: 'V1SDKCommandHistoryType' =None): # noqa: E501
63
+ def __init__(self, command: 'str' =None, duration: 'int' =None, message: 'str' =None, project_id: 'str' =None, severity: 'V1SDKCommandHistorySeverity' =None, type: 'V1SDKCommandHistoryType' =None, version: 'str' =None): # noqa: E501
62
64
  """V1CreateSDKCommandHistoryRequest - a model defined in Swagger""" # noqa: E501
63
65
  self._command = None
64
66
  self._duration = None
@@ -66,6 +68,7 @@ class V1CreateSDKCommandHistoryRequest(object):
66
68
  self._project_id = None
67
69
  self._severity = None
68
70
  self._type = None
71
+ self._version = None
69
72
  self.discriminator = None
70
73
  if command is not None:
71
74
  self.command = command
@@ -79,6 +82,8 @@ class V1CreateSDKCommandHistoryRequest(object):
79
82
  self.severity = severity
80
83
  if type is not None:
81
84
  self.type = type
85
+ if version is not None:
86
+ self.version = version
82
87
 
83
88
  @property
84
89
  def command(self) -> 'str':
@@ -206,6 +211,27 @@ class V1CreateSDKCommandHistoryRequest(object):
206
211
 
207
212
  self._type = type
208
213
 
214
+ @property
215
+ def version(self) -> 'str':
216
+ """Gets the version of this V1CreateSDKCommandHistoryRequest. # noqa: E501
217
+
218
+
219
+ :return: The version of this V1CreateSDKCommandHistoryRequest. # noqa: E501
220
+ :rtype: str
221
+ """
222
+ return self._version
223
+
224
+ @version.setter
225
+ def version(self, version: 'str'):
226
+ """Sets the version of this V1CreateSDKCommandHistoryRequest.
227
+
228
+
229
+ :param version: The version of this V1CreateSDKCommandHistoryRequest. # noqa: E501
230
+ :type: str
231
+ """
232
+
233
+ self._version = version
234
+
209
235
  def to_dict(self) -> dict:
210
236
  """Returns the model properties as a dict"""
211
237
  result = {}
@@ -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 V1AiPodV1(object):
31
+ class V1CudoDirectV1(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,92 +41,92 @@ class V1AiPodV1(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
- 'ansible_credential_id': 'str',
45
- 'ansible_username': 'str',
46
- 'organization_id': 'str'
44
+ 'primary_region': 'str',
45
+ 'project_id': 'str',
46
+ 'regions': 'list[str]'
47
47
  }
48
48
 
49
49
  attribute_map = {
50
- 'ansible_credential_id': 'ansibleCredentialId',
51
- 'ansible_username': 'ansibleUsername',
52
- 'organization_id': 'organizationId'
50
+ 'primary_region': 'primaryRegion',
51
+ 'project_id': 'projectId',
52
+ 'regions': 'regions'
53
53
  }
54
54
 
55
- def __init__(self, ansible_credential_id: 'str' =None, ansible_username: 'str' =None, organization_id: 'str' =None): # noqa: E501
56
- """V1AiPodV1 - a model defined in Swagger""" # noqa: E501
57
- self._ansible_credential_id = None
58
- self._ansible_username = None
59
- self._organization_id = None
55
+ def __init__(self, primary_region: 'str' =None, project_id: 'str' =None, regions: 'list[str]' =None): # noqa: E501
56
+ """V1CudoDirectV1 - a model defined in Swagger""" # noqa: E501
57
+ self._primary_region = None
58
+ self._project_id = None
59
+ self._regions = None
60
60
  self.discriminator = None
61
- if ansible_credential_id is not None:
62
- self.ansible_credential_id = ansible_credential_id
63
- if ansible_username is not None:
64
- self.ansible_username = ansible_username
65
- if organization_id is not None:
66
- self.organization_id = organization_id
61
+ if primary_region is not None:
62
+ self.primary_region = primary_region
63
+ if project_id is not None:
64
+ self.project_id = project_id
65
+ if regions is not None:
66
+ self.regions = regions
67
67
 
68
68
  @property
69
- def ansible_credential_id(self) -> 'str':
70
- """Gets the ansible_credential_id of this V1AiPodV1. # noqa: E501
69
+ def primary_region(self) -> 'str':
70
+ """Gets the primary_region of this V1CudoDirectV1. # noqa: E501
71
71
 
72
72
 
73
- :return: The ansible_credential_id of this V1AiPodV1. # noqa: E501
73
+ :return: The primary_region of this V1CudoDirectV1. # noqa: E501
74
74
  :rtype: str
75
75
  """
76
- return self._ansible_credential_id
76
+ return self._primary_region
77
77
 
78
- @ansible_credential_id.setter
79
- def ansible_credential_id(self, ansible_credential_id: 'str'):
80
- """Sets the ansible_credential_id of this V1AiPodV1.
78
+ @primary_region.setter
79
+ def primary_region(self, primary_region: 'str'):
80
+ """Sets the primary_region of this V1CudoDirectV1.
81
81
 
82
82
 
83
- :param ansible_credential_id: The ansible_credential_id of this V1AiPodV1. # noqa: E501
83
+ :param primary_region: The primary_region of this V1CudoDirectV1. # noqa: E501
84
84
  :type: str
85
85
  """
86
86
 
87
- self._ansible_credential_id = ansible_credential_id
87
+ self._primary_region = primary_region
88
88
 
89
89
  @property
90
- def ansible_username(self) -> 'str':
91
- """Gets the ansible_username of this V1AiPodV1. # noqa: E501
90
+ def project_id(self) -> 'str':
91
+ """Gets the project_id of this V1CudoDirectV1. # noqa: E501
92
92
 
93
93
 
94
- :return: The ansible_username of this V1AiPodV1. # noqa: E501
94
+ :return: The project_id of this V1CudoDirectV1. # noqa: E501
95
95
  :rtype: str
96
96
  """
97
- return self._ansible_username
97
+ return self._project_id
98
98
 
99
- @ansible_username.setter
100
- def ansible_username(self, ansible_username: 'str'):
101
- """Sets the ansible_username of this V1AiPodV1.
99
+ @project_id.setter
100
+ def project_id(self, project_id: 'str'):
101
+ """Sets the project_id of this V1CudoDirectV1.
102
102
 
103
103
 
104
- :param ansible_username: The ansible_username of this V1AiPodV1. # noqa: E501
104
+ :param project_id: The project_id of this V1CudoDirectV1. # noqa: E501
105
105
  :type: str
106
106
  """
107
107
 
108
- self._ansible_username = ansible_username
108
+ self._project_id = project_id
109
109
 
110
110
  @property
111
- def organization_id(self) -> 'str':
112
- """Gets the organization_id of this V1AiPodV1. # noqa: E501
111
+ def regions(self) -> 'list[str]':
112
+ """Gets the regions of this V1CudoDirectV1. # noqa: E501
113
113
 
114
114
 
115
- :return: The organization_id of this V1AiPodV1. # noqa: E501
116
- :rtype: str
115
+ :return: The regions of this V1CudoDirectV1. # noqa: E501
116
+ :rtype: list[str]
117
117
  """
118
- return self._organization_id
118
+ return self._regions
119
119
 
120
- @organization_id.setter
121
- def organization_id(self, organization_id: 'str'):
122
- """Sets the organization_id of this V1AiPodV1.
120
+ @regions.setter
121
+ def regions(self, regions: 'list[str]'):
122
+ """Sets the regions of this V1CudoDirectV1.
123
123
 
124
124
 
125
- :param organization_id: The organization_id of this V1AiPodV1. # noqa: E501
126
- :type: str
125
+ :param regions: The regions of this V1CudoDirectV1. # noqa: E501
126
+ :type: list[str]
127
127
  """
128
128
 
129
- self._organization_id = organization_id
129
+ self._regions = regions
130
130
 
131
131
  def to_dict(self) -> dict:
132
132
  """Returns the model properties as a dict"""
@@ -149,7 +149,7 @@ class V1AiPodV1(object):
149
149
  ))
150
150
  else:
151
151
  result[attr] = value
152
- if issubclass(V1AiPodV1, dict):
152
+ if issubclass(V1CudoDirectV1, dict):
153
153
  for key, value in self.items():
154
154
  result[key] = value
155
155
 
@@ -163,13 +163,13 @@ class V1AiPodV1(object):
163
163
  """For `print` and `pprint`"""
164
164
  return self.to_str()
165
165
 
166
- def __eq__(self, other: 'V1AiPodV1') -> bool:
166
+ def __eq__(self, other: 'V1CudoDirectV1') -> bool:
167
167
  """Returns true if both objects are equal"""
168
- if not isinstance(other, V1AiPodV1):
168
+ if not isinstance(other, V1CudoDirectV1):
169
169
  return False
170
170
 
171
171
  return self.__dict__ == other.__dict__
172
172
 
173
- def __ne__(self, other: 'V1AiPodV1') -> bool:
173
+ def __ne__(self, other: 'V1CudoDirectV1') -> bool:
174
174
  """Returns true if both objects are not equal"""
175
175
  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 V1DeleteKubernetesVirtualMachineResponse(object):
31
+ class V1DeleteLitLoggerMediaResponse(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.
@@ -47,7 +47,7 @@ class V1DeleteKubernetesVirtualMachineResponse(object):
47
47
  }
48
48
 
49
49
  def __init__(self): # noqa: E501
50
- """V1DeleteKubernetesVirtualMachineResponse - a model defined in Swagger""" # noqa: E501
50
+ """V1DeleteLitLoggerMediaResponse - a model defined in Swagger""" # noqa: E501
51
51
  self.discriminator = None
52
52
 
53
53
  def to_dict(self) -> dict:
@@ -71,7 +71,7 @@ class V1DeleteKubernetesVirtualMachineResponse(object):
71
71
  ))
72
72
  else:
73
73
  result[attr] = value
74
- if issubclass(V1DeleteKubernetesVirtualMachineResponse, dict):
74
+ if issubclass(V1DeleteLitLoggerMediaResponse, dict):
75
75
  for key, value in self.items():
76
76
  result[key] = value
77
77
 
@@ -85,13 +85,13 @@ class V1DeleteKubernetesVirtualMachineResponse(object):
85
85
  """For `print` and `pprint`"""
86
86
  return self.to_str()
87
87
 
88
- def __eq__(self, other: 'V1DeleteKubernetesVirtualMachineResponse') -> bool:
88
+ def __eq__(self, other: 'V1DeleteLitLoggerMediaResponse') -> bool:
89
89
  """Returns true if both objects are equal"""
90
- if not isinstance(other, V1DeleteKubernetesVirtualMachineResponse):
90
+ if not isinstance(other, V1DeleteLitLoggerMediaResponse):
91
91
  return False
92
92
 
93
93
  return self.__dict__ == other.__dict__
94
94
 
95
- def __ne__(self, other: 'V1DeleteKubernetesVirtualMachineResponse') -> bool:
95
+ def __ne__(self, other: 'V1DeleteLitLoggerMediaResponse') -> bool:
96
96
  """Returns true if both objects are not equal"""
97
97
  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 KubernetesVirtualMachineServiceUpdateKubernetesVirtualMachineBody(object):
31
+ class V1DeleteVirtualMachineResponse(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.
@@ -47,7 +47,7 @@ class KubernetesVirtualMachineServiceUpdateKubernetesVirtualMachineBody(object):
47
47
  }
48
48
 
49
49
  def __init__(self): # noqa: E501
50
- """KubernetesVirtualMachineServiceUpdateKubernetesVirtualMachineBody - a model defined in Swagger""" # noqa: E501
50
+ """V1DeleteVirtualMachineResponse - a model defined in Swagger""" # noqa: E501
51
51
  self.discriminator = None
52
52
 
53
53
  def to_dict(self) -> dict:
@@ -71,7 +71,7 @@ class KubernetesVirtualMachineServiceUpdateKubernetesVirtualMachineBody(object):
71
71
  ))
72
72
  else:
73
73
  result[attr] = value
74
- if issubclass(KubernetesVirtualMachineServiceUpdateKubernetesVirtualMachineBody, dict):
74
+ if issubclass(V1DeleteVirtualMachineResponse, dict):
75
75
  for key, value in self.items():
76
76
  result[key] = value
77
77
 
@@ -85,13 +85,13 @@ class KubernetesVirtualMachineServiceUpdateKubernetesVirtualMachineBody(object):
85
85
  """For `print` and `pprint`"""
86
86
  return self.to_str()
87
87
 
88
- def __eq__(self, other: 'KubernetesVirtualMachineServiceUpdateKubernetesVirtualMachineBody') -> bool:
88
+ def __eq__(self, other: 'V1DeleteVirtualMachineResponse') -> bool:
89
89
  """Returns true if both objects are equal"""
90
- if not isinstance(other, KubernetesVirtualMachineServiceUpdateKubernetesVirtualMachineBody):
90
+ if not isinstance(other, V1DeleteVirtualMachineResponse):
91
91
  return False
92
92
 
93
93
  return self.__dict__ == other.__dict__
94
94
 
95
- def __ne__(self, other: 'KubernetesVirtualMachineServiceUpdateKubernetesVirtualMachineBody') -> bool:
95
+ def __ne__(self, other: 'V1DeleteVirtualMachineResponse') -> bool:
96
96
  """Returns true if both objects are not equal"""
97
97
  return not self == other