Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions python/lightning_sdk/lightning_cloud/openapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@
from lightning_sdk.lightning_cloud.openapi.models.experiments_service_assign_variant_body import ExperimentsServiceAssignVariantBody
from lightning_sdk.lightning_cloud.openapi.models.externalv1_cloud_space_instance_status import Externalv1CloudSpaceInstanceStatus
from lightning_sdk.lightning_cloud.openapi.models.externalv1_cluster import Externalv1Cluster
from lightning_sdk.lightning_cloud.openapi.models.externalv1_header import Externalv1Header
from lightning_sdk.lightning_cloud.openapi.models.externalv1_license import Externalv1License
from lightning_sdk.lightning_cloud.openapi.models.externalv1_lightningapp_instance import Externalv1LightningappInstance
from lightning_sdk.lightning_cloud.openapi.models.externalv1_lightningwork import Externalv1Lightningwork
from lightning_sdk.lightning_cloud.openapi.models.externalv1_resource_scoped_alerting_recipients import Externalv1ResourceScopedAlertingRecipients
Expand Down Expand Up @@ -718,7 +720,6 @@
from lightning_sdk.lightning_cloud.openapi.models.v1_gpu_telemetry_vm import V1GpuTelemetryVm
from lightning_sdk.lightning_cloud.openapi.models.v1_group_node_metrics import V1GroupNodeMetrics
from lightning_sdk.lightning_cloud.openapi.models.v1_group_pod_metrics import V1GroupPodMetrics
from lightning_sdk.lightning_cloud.openapi.models.v1_header import V1Header
from lightning_sdk.lightning_cloud.openapi.models.v1_health_check_exec import V1HealthCheckExec
from lightning_sdk.lightning_cloud.openapi.models.v1_health_check_http_get import V1HealthCheckHttpGet
from lightning_sdk.lightning_cloud.openapi.models.v1_host_health import V1HostHealth
Expand Down Expand Up @@ -775,7 +776,6 @@
from lightning_sdk.lightning_cloud.openapi.models.v1_kubevirt_config import V1KubevirtConfig
from lightning_sdk.lightning_cloud.openapi.models.v1_lambda_labs_direct_v1 import V1LambdaLabsDirectV1
from lightning_sdk.lightning_cloud.openapi.models.v1_lib_nvfm_fitness import V1LibNVFMFitness
from lightning_sdk.lightning_cloud.openapi.models.v1_license import V1License
from lightning_sdk.lightning_cloud.openapi.models.v1_lightning_elastic_cluster_v1 import V1LightningElasticClusterV1
from lightning_sdk.lightning_cloud.openapi.models.v1_lightning_run import V1LightningRun
from lightning_sdk.lightning_cloud.openapi.models.v1_lightningapp_instance_event import V1LightningappInstanceEvent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__(self, api_client=None):
api_client = ApiClient()
self.api_client = api_client

def product_license_service_create_license(self, body: 'V1CreateLicenseRequest', **kwargs) -> 'V1License': # noqa: E501
def product_license_service_create_license(self, body: 'V1CreateLicenseRequest', **kwargs) -> 'Externalv1License': # noqa: E501
"""product_license_service_create_license # noqa: E501

This method makes a synchronous HTTP request by default. To make an
Expand All @@ -57,7 +57,7 @@ def product_license_service_create_license(self, body: 'V1CreateLicenseRequest',

:param async_req bool
:param V1CreateLicenseRequest body: (required)
:return: V1License
:return: Externalv1License
If the method is called asynchronously,
returns the request thread.
"""
Expand All @@ -68,7 +68,7 @@ def product_license_service_create_license(self, body: 'V1CreateLicenseRequest',
(data) = self.product_license_service_create_license_with_http_info(body, **kwargs) # noqa: E501
return data

def product_license_service_create_license_with_http_info(self, body: 'V1CreateLicenseRequest', **kwargs) -> 'V1License': # noqa: E501
def product_license_service_create_license_with_http_info(self, body: 'V1CreateLicenseRequest', **kwargs) -> 'Externalv1License': # noqa: E501
"""product_license_service_create_license # noqa: E501

This method makes a synchronous HTTP request by default. To make an
Expand All @@ -78,7 +78,7 @@ def product_license_service_create_license_with_http_info(self, body: 'V1CreateL

:param async_req bool
:param V1CreateLicenseRequest body: (required)
:return: V1License
:return: Externalv1License
If the method is called asynchronously,
returns the request thread.
"""
Expand Down Expand Up @@ -136,7 +136,7 @@ def product_license_service_create_license_with_http_info(self, body: 'V1CreateL
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='V1License', # noqa: E501
response_type='Externalv1License', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
Expand Down Expand Up @@ -237,7 +237,7 @@ def product_license_service_delete_license_with_http_info(self, id: 'str', **kwa
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)

def product_license_service_get_license(self, id: 'str', **kwargs) -> 'V1License': # noqa: E501
def product_license_service_get_license(self, id: 'str', **kwargs) -> 'Externalv1License': # noqa: E501
"""product_license_service_get_license # noqa: E501

This method makes a synchronous HTTP request by default. To make an
Expand All @@ -247,7 +247,7 @@ def product_license_service_get_license(self, id: 'str', **kwargs) -> 'V1License

:param async_req bool
:param str id: (required)
:return: V1License
:return: Externalv1License
If the method is called asynchronously,
returns the request thread.
"""
Expand All @@ -258,7 +258,7 @@ def product_license_service_get_license(self, id: 'str', **kwargs) -> 'V1License
(data) = self.product_license_service_get_license_with_http_info(id, **kwargs) # noqa: E501
return data

def product_license_service_get_license_with_http_info(self, id: 'str', **kwargs) -> 'V1License': # noqa: E501
def product_license_service_get_license_with_http_info(self, id: 'str', **kwargs) -> 'Externalv1License': # noqa: E501
"""product_license_service_get_license # noqa: E501

This method makes a synchronous HTTP request by default. To make an
Expand All @@ -268,7 +268,7 @@ def product_license_service_get_license_with_http_info(self, id: 'str', **kwargs

:param async_req bool
:param str id: (required)
:return: V1License
:return: Externalv1License
If the method is called asynchronously,
returns the request thread.
"""
Expand Down Expand Up @@ -322,7 +322,7 @@ def product_license_service_get_license_with_http_info(self, id: 'str', **kwargs
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='V1License', # noqa: E501
response_type='Externalv1License', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@
from lightning_sdk.lightning_cloud.openapi.models.experiments_service_assign_variant_body import ExperimentsServiceAssignVariantBody
from lightning_sdk.lightning_cloud.openapi.models.externalv1_cloud_space_instance_status import Externalv1CloudSpaceInstanceStatus
from lightning_sdk.lightning_cloud.openapi.models.externalv1_cluster import Externalv1Cluster
from lightning_sdk.lightning_cloud.openapi.models.externalv1_header import Externalv1Header
from lightning_sdk.lightning_cloud.openapi.models.externalv1_license import Externalv1License
from lightning_sdk.lightning_cloud.openapi.models.externalv1_lightningapp_instance import Externalv1LightningappInstance
from lightning_sdk.lightning_cloud.openapi.models.externalv1_lightningwork import Externalv1Lightningwork
from lightning_sdk.lightning_cloud.openapi.models.externalv1_resource_scoped_alerting_recipients import Externalv1ResourceScopedAlertingRecipients
Expand Down Expand Up @@ -679,7 +681,6 @@
from lightning_sdk.lightning_cloud.openapi.models.v1_gpu_telemetry_vm import V1GpuTelemetryVm
from lightning_sdk.lightning_cloud.openapi.models.v1_group_node_metrics import V1GroupNodeMetrics
from lightning_sdk.lightning_cloud.openapi.models.v1_group_pod_metrics import V1GroupPodMetrics
from lightning_sdk.lightning_cloud.openapi.models.v1_header import V1Header
from lightning_sdk.lightning_cloud.openapi.models.v1_health_check_exec import V1HealthCheckExec
from lightning_sdk.lightning_cloud.openapi.models.v1_health_check_http_get import V1HealthCheckHttpGet
from lightning_sdk.lightning_cloud.openapi.models.v1_host_health import V1HostHealth
Expand Down Expand Up @@ -736,7 +737,6 @@
from lightning_sdk.lightning_cloud.openapi.models.v1_kubevirt_config import V1KubevirtConfig
from lightning_sdk.lightning_cloud.openapi.models.v1_lambda_labs_direct_v1 import V1LambdaLabsDirectV1
from lightning_sdk.lightning_cloud.openapi.models.v1_lib_nvfm_fitness import V1LibNVFMFitness
from lightning_sdk.lightning_cloud.openapi.models.v1_license import V1License
from lightning_sdk.lightning_cloud.openapi.models.v1_lightning_elastic_cluster_v1 import V1LightningElasticClusterV1
from lightning_sdk.lightning_cloud.openapi.models.v1_lightning_run import V1LightningRun
from lightning_sdk.lightning_cloud.openapi.models.v1_lightningapp_instance_event import V1LightningappInstanceEvent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from datetime import datetime
from lightning_sdk.lightning_cloud.openapi.models import *

class V1Header(object):
class Externalv1Header(object):
"""NOTE: This class is auto generated by the swagger code generator program.

Do not edit the class manually.
Expand All @@ -57,7 +57,7 @@ class V1Header(object):
}

def __init__(self, description: 'str' =None, key: 'str' =None, value: 'str' =None): # noqa: E501
"""V1Header - a model defined in Swagger""" # noqa: E501
"""Externalv1Header - a model defined in Swagger""" # noqa: E501
self._description = None
self._key = None
self._value = None
Expand All @@ -71,62 +71,62 @@ def __init__(self, description: 'str' =None, key: 'str' =None, value: 'str' =Non

@property
def description(self) -> 'str':
"""Gets the description of this V1Header. # noqa: E501
"""Gets the description of this Externalv1Header. # noqa: E501


:return: The description of this V1Header. # noqa: E501
:return: The description of this Externalv1Header. # noqa: E501
:rtype: str
"""
return self._description

@description.setter
def description(self, description: 'str'):
"""Sets the description of this V1Header.
"""Sets the description of this Externalv1Header.


:param description: The description of this V1Header. # noqa: E501
:param description: The description of this Externalv1Header. # noqa: E501
:type: str
"""

self._description = description

@property
def key(self) -> 'str':
"""Gets the key of this V1Header. # noqa: E501
"""Gets the key of this Externalv1Header. # noqa: E501


:return: The key of this V1Header. # noqa: E501
:return: The key of this Externalv1Header. # noqa: E501
:rtype: str
"""
return self._key

@key.setter
def key(self, key: 'str'):
"""Sets the key of this V1Header.
"""Sets the key of this Externalv1Header.


:param key: The key of this V1Header. # noqa: E501
:param key: The key of this Externalv1Header. # noqa: E501
:type: str
"""

self._key = key

@property
def value(self) -> 'str':
"""Gets the value of this V1Header. # noqa: E501
"""Gets the value of this Externalv1Header. # noqa: E501


:return: The value of this V1Header. # noqa: E501
:return: The value of this Externalv1Header. # noqa: E501
:rtype: str
"""
return self._value

@value.setter
def value(self, value: 'str'):
"""Sets the value of this V1Header.
"""Sets the value of this Externalv1Header.


:param value: The value of this V1Header. # noqa: E501
:param value: The value of this Externalv1Header. # noqa: E501
:type: str
"""

Expand All @@ -153,7 +153,7 @@ def to_dict(self) -> dict:
))
else:
result[attr] = value
if issubclass(V1Header, dict):
if issubclass(Externalv1Header, dict):
for key, value in self.items():
result[key] = value

Expand All @@ -167,13 +167,13 @@ def __repr__(self) -> str:
"""For `print` and `pprint`"""
return self.to_str()

def __eq__(self, other: 'V1Header') -> bool:
def __eq__(self, other: 'Externalv1Header') -> bool:
"""Returns true if both objects are equal"""
if not isinstance(other, V1Header):
if not isinstance(other, Externalv1Header):
return False

return self.__dict__ == other.__dict__

def __ne__(self, other: 'V1Header') -> bool:
def __ne__(self, other: 'Externalv1Header') -> bool:
"""Returns true if both objects are not equal"""
return not self == other
Loading
Loading