diff --git a/go/internal/lightningcloud/openapi/generated/models/v1_header.go b/go/internal/lightningcloud/openapi/generated/models/externalv1_header.go similarity index 61% rename from go/internal/lightningcloud/openapi/generated/models/v1_header.go rename to go/internal/lightningcloud/openapi/generated/models/externalv1_header.go index b034863e6..908a80cca 100644 --- a/go/internal/lightningcloud/openapi/generated/models/v1_header.go +++ b/go/internal/lightningcloud/openapi/generated/models/externalv1_header.go @@ -16,10 +16,10 @@ import ( "github.com/go-openapi/swag" ) -// V1Header v1 header +// Externalv1Header externalv1 header // -// swagger:model v1Header -type V1Header struct { +// swagger:model externalv1Header +type Externalv1Header struct { // description Description string `json:"description,omitempty"` @@ -31,18 +31,18 @@ type V1Header struct { Value string `json:"value,omitempty"` } -// Validate validates this v1 header -func (m *V1Header) Validate(formats strfmt.Registry) error { +// Validate validates this externalv1 header +func (m *Externalv1Header) Validate(formats strfmt.Registry) error { return nil } -// ContextValidate validates this v1 header based on context it is used -func (m *V1Header) ContextValidate(ctx context.Context, formats strfmt.Registry) error { +// ContextValidate validates this externalv1 header based on context it is used +func (m *Externalv1Header) ContextValidate(ctx context.Context, formats strfmt.Registry) error { return nil } // MarshalBinary interface implementation -func (m *V1Header) MarshalBinary() ([]byte, error) { +func (m *Externalv1Header) MarshalBinary() ([]byte, error) { if m == nil { return nil, nil } @@ -50,8 +50,8 @@ func (m *V1Header) MarshalBinary() ([]byte, error) { } // UnmarshalBinary interface implementation -func (m *V1Header) UnmarshalBinary(b []byte) error { - var res V1Header +func (m *Externalv1Header) UnmarshalBinary(b []byte) error { + var res Externalv1Header if err := swag.ReadJSON(b, &res); err != nil { return err } diff --git a/go/internal/lightningcloud/openapi/generated/models/v1_deployment_api.go b/go/internal/lightningcloud/openapi/generated/models/v1_deployment_api.go index 1dd482088..2d2352237 100644 --- a/go/internal/lightningcloud/openapi/generated/models/v1_deployment_api.go +++ b/go/internal/lightningcloud/openapi/generated/models/v1_deployment_api.go @@ -31,7 +31,7 @@ type V1DeploymentAPI struct { Description string `json:"description,omitempty"` // headers - Headers []*V1Header `json:"headers"` + Headers []*Externalv1Header `json:"headers"` // id ID string `json:"id,omitempty"` diff --git a/go/internal/lightningcloud/openapi/generated/models/v1_get_temp_bucket_credentials_response.go b/go/internal/lightningcloud/openapi/generated/models/v1_get_temp_bucket_credentials_response.go index c0ac04667..241ba1f62 100644 --- a/go/internal/lightningcloud/openapi/generated/models/v1_get_temp_bucket_credentials_response.go +++ b/go/internal/lightningcloud/openapi/generated/models/v1_get_temp_bucket_credentials_response.go @@ -12,8 +12,10 @@ package models import ( "context" + "github.com/go-openapi/errors" "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" + "github.com/go-openapi/validate" ) // V1GetTempBucketCredentialsResponse v1 get temp bucket credentials response @@ -27,6 +29,20 @@ type V1GetTempBucketCredentialsResponse struct { // account Id AccountID string `json:"accountId,omitempty"` + // A Studio's AWS_CONFIG_FILE carries the R2 endpoint and region = auto in its + // default profile, and botocore applies both to any client built there unless + // it is passed an endpoint explicitly. Callers must use these two rather than + // let the SDK resolve them, or the request is signed for the wrong region and + // sent to Cloudflare, which rejects an AWS key with InvalidAccessKeyId. + Endpoint string `json:"endpoint,omitempty"` + + // Unset when the connection is backed by static keys, which never expire. + // Format: date-time + ExpiresAt strfmt.DateTime `json:"expiresAt,omitempty"` + + // region + Region string `json:"region,omitempty"` + // secret access key SecretAccessKey string `json:"secretAccessKey,omitempty"` @@ -36,6 +52,27 @@ type V1GetTempBucketCredentialsResponse struct { // Validate validates this v1 get temp bucket credentials response func (m *V1GetTempBucketCredentialsResponse) Validate(formats strfmt.Registry) error { + var res []error + + if err := m.validateExpiresAt(formats); err != nil { + res = append(res, err) + } + + if len(res) > 0 { + return errors.CompositeValidationError(res...) + } + return nil +} + +func (m *V1GetTempBucketCredentialsResponse) validateExpiresAt(formats strfmt.Registry) error { + if swag.IsZero(m.ExpiresAt) { // not required + return nil + } + + if err := validate.FormatOf("expiresAt", "body", "date-time", m.ExpiresAt.String(), formats); err != nil { + return err + } + return nil } diff --git a/go/internal/lightningcloud/openapi/generated/models/v1_server_spec.go b/go/internal/lightningcloud/openapi/generated/models/v1_server_spec.go index 4511a50da..9926bb9c1 100644 --- a/go/internal/lightningcloud/openapi/generated/models/v1_server_spec.go +++ b/go/internal/lightningcloud/openapi/generated/models/v1_server_spec.go @@ -103,6 +103,12 @@ type V1ServerSpec struct { // Keeps cleanup tied to the gate that admitted IB membership. IbMembershipSource string `json:"ibMembershipSource,omitempty"` + // Keeps cleanup in the same mode used for membership creation: true sends a + // preview/test request, while false permits a live request. When unset, + // legacy global admissions inherit the configured global mode and legacy + // user-feature admissions remain preview-only. + IbMembershipTestMode *bool `json:"ibMembershipTestMode,omitempty"` + // Per-VM inband /32 (from the host's 10.15.x overlay pool) assigned by the // baremetal-agent. Empty for non-inband instances. Read by the VAST // client-IP registration hooks; not consumed elsewhere. diff --git a/python/lightning_sdk/lightning_cloud/openapi/__init__.py b/python/lightning_sdk/lightning_cloud/openapi/__init__.py index d15fc8c06..6cb056a0d 100644 --- a/python/lightning_sdk/lightning_cloud/openapi/__init__.py +++ b/python/lightning_sdk/lightning_cloud/openapi/__init__.py @@ -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 @@ -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 @@ -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 diff --git a/python/lightning_sdk/lightning_cloud/openapi/api/product_license_service_api.py b/python/lightning_sdk/lightning_cloud/openapi/api/product_license_service_api.py index f9223a192..dae9afc64 100644 --- a/python/lightning_sdk/lightning_cloud/openapi/api/product_license_service_api.py +++ b/python/lightning_sdk/lightning_cloud/openapi/api/product_license_service_api.py @@ -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 @@ -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. """ @@ -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 @@ -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. """ @@ -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'), @@ -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 @@ -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. """ @@ -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 @@ -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. """ @@ -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'), diff --git a/python/lightning_sdk/lightning_cloud/openapi/models/__init__.py b/python/lightning_sdk/lightning_cloud/openapi/models/__init__.py index 7a99a57d6..2f031a4ce 100644 --- a/python/lightning_sdk/lightning_cloud/openapi/models/__init__.py +++ b/python/lightning_sdk/lightning_cloud/openapi/models/__init__.py @@ -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 @@ -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 @@ -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 diff --git a/python/lightning_sdk/lightning_cloud/openapi/models/v1_header.py b/python/lightning_sdk/lightning_cloud/openapi/models/externalv1_header.py similarity index 78% rename from python/lightning_sdk/lightning_cloud/openapi/models/v1_header.py rename to python/lightning_sdk/lightning_cloud/openapi/models/externalv1_header.py index ffb72ec38..16934b811 100644 --- a/python/lightning_sdk/lightning_cloud/openapi/models/v1_header.py +++ b/python/lightning_sdk/lightning_cloud/openapi/models/externalv1_header.py @@ -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. @@ -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 @@ -71,20 +71,20 @@ 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 """ @@ -92,20 +92,20 @@ def description(self, description: 'str'): @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 """ @@ -113,20 +113,20 @@ def key(self, key: 'str'): @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 """ @@ -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 @@ -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 diff --git a/python/lightning_sdk/lightning_cloud/openapi/models/v1_license.py b/python/lightning_sdk/lightning_cloud/openapi/models/externalv1_license.py similarity index 74% rename from python/lightning_sdk/lightning_cloud/openapi/models/v1_license.py rename to python/lightning_sdk/lightning_cloud/openapi/models/externalv1_license.py index 6fe10d58b..8e821cc35 100644 --- a/python/lightning_sdk/lightning_cloud/openapi/models/v1_license.py +++ b/python/lightning_sdk/lightning_cloud/openapi/models/externalv1_license.py @@ -32,7 +32,7 @@ from datetime import datetime from lightning_sdk.lightning_cloud.openapi.models import * -class V1License(object): +class Externalv1License(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -61,7 +61,7 @@ class V1License(object): } def __init__(self, id: 'str' =None, license_key: 'str' =None, owner_id: 'str' =None, owner_type: 'V1TokenOwnerType' =None, product_id: 'str' =None): # noqa: E501 - """V1License - a model defined in Swagger""" # noqa: E501 + """Externalv1License - a model defined in Swagger""" # noqa: E501 self._id = None self._license_key = None self._owner_id = None @@ -81,20 +81,20 @@ def __init__(self, id: 'str' =None, license_key: 'str' =None, owner_id: 'str' =N @property def id(self) -> 'str': - """Gets the id of this V1License. # noqa: E501 + """Gets the id of this Externalv1License. # noqa: E501 - :return: The id of this V1License. # noqa: E501 + :return: The id of this Externalv1License. # noqa: E501 :rtype: str """ return self._id @id.setter def id(self, id: 'str'): - """Sets the id of this V1License. + """Sets the id of this Externalv1License. - :param id: The id of this V1License. # noqa: E501 + :param id: The id of this Externalv1License. # noqa: E501 :type: str """ @@ -102,20 +102,20 @@ def id(self, id: 'str'): @property def license_key(self) -> 'str': - """Gets the license_key of this V1License. # noqa: E501 + """Gets the license_key of this Externalv1License. # noqa: E501 - :return: The license_key of this V1License. # noqa: E501 + :return: The license_key of this Externalv1License. # noqa: E501 :rtype: str """ return self._license_key @license_key.setter def license_key(self, license_key: 'str'): - """Sets the license_key of this V1License. + """Sets the license_key of this Externalv1License. - :param license_key: The license_key of this V1License. # noqa: E501 + :param license_key: The license_key of this Externalv1License. # noqa: E501 :type: str """ @@ -123,20 +123,20 @@ def license_key(self, license_key: 'str'): @property def owner_id(self) -> 'str': - """Gets the owner_id of this V1License. # noqa: E501 + """Gets the owner_id of this Externalv1License. # noqa: E501 - :return: The owner_id of this V1License. # noqa: E501 + :return: The owner_id of this Externalv1License. # noqa: E501 :rtype: str """ return self._owner_id @owner_id.setter def owner_id(self, owner_id: 'str'): - """Sets the owner_id of this V1License. + """Sets the owner_id of this Externalv1License. - :param owner_id: The owner_id of this V1License. # noqa: E501 + :param owner_id: The owner_id of this Externalv1License. # noqa: E501 :type: str """ @@ -144,20 +144,20 @@ def owner_id(self, owner_id: 'str'): @property def owner_type(self) -> 'V1TokenOwnerType': - """Gets the owner_type of this V1License. # noqa: E501 + """Gets the owner_type of this Externalv1License. # noqa: E501 - :return: The owner_type of this V1License. # noqa: E501 + :return: The owner_type of this Externalv1License. # noqa: E501 :rtype: V1TokenOwnerType """ return self._owner_type @owner_type.setter def owner_type(self, owner_type: 'V1TokenOwnerType'): - """Sets the owner_type of this V1License. + """Sets the owner_type of this Externalv1License. - :param owner_type: The owner_type of this V1License. # noqa: E501 + :param owner_type: The owner_type of this Externalv1License. # noqa: E501 :type: V1TokenOwnerType """ @@ -165,20 +165,20 @@ def owner_type(self, owner_type: 'V1TokenOwnerType'): @property def product_id(self) -> 'str': - """Gets the product_id of this V1License. # noqa: E501 + """Gets the product_id of this Externalv1License. # noqa: E501 - :return: The product_id of this V1License. # noqa: E501 + :return: The product_id of this Externalv1License. # noqa: E501 :rtype: str """ return self._product_id @product_id.setter def product_id(self, product_id: 'str'): - """Sets the product_id of this V1License. + """Sets the product_id of this Externalv1License. - :param product_id: The product_id of this V1License. # noqa: E501 + :param product_id: The product_id of this Externalv1License. # noqa: E501 :type: str """ @@ -205,7 +205,7 @@ def to_dict(self) -> dict: )) else: result[attr] = value - if issubclass(V1License, dict): + if issubclass(Externalv1License, dict): for key, value in self.items(): result[key] = value @@ -219,13 +219,13 @@ def __repr__(self) -> str: """For `print` and `pprint`""" return self.to_str() - def __eq__(self, other: 'V1License') -> bool: + def __eq__(self, other: 'Externalv1License') -> bool: """Returns true if both objects are equal""" - if not isinstance(other, V1License): + if not isinstance(other, Externalv1License): return False return self.__dict__ == other.__dict__ - def __ne__(self, other: 'V1License') -> bool: + def __ne__(self, other: 'Externalv1License') -> bool: """Returns true if both objects are not equal""" return not self == other diff --git a/python/lightning_sdk/lightning_cloud/openapi/models/storage_service_publish_shared_artifact_body.py b/python/lightning_sdk/lightning_cloud/openapi/models/storage_service_publish_shared_artifact_body.py index fd3260aa2..12902369a 100644 --- a/python/lightning_sdk/lightning_cloud/openapi/models/storage_service_publish_shared_artifact_body.py +++ b/python/lightning_sdk/lightning_cloud/openapi/models/storage_service_publish_shared_artifact_body.py @@ -48,22 +48,25 @@ class StorageServicePublishSharedArtifactBody(object): 'cluster_id': 'str', 'content_type': 'str', 'filename': 'str', - 'private': 'bool' + 'private': 'bool', + 'visibility': 'V1ResourceVisibility' } attribute_map = { 'cluster_id': 'clusterId', 'content_type': 'contentType', 'filename': 'filename', - 'private': 'private' + 'private': 'private', + 'visibility': 'visibility' } - def __init__(self, cluster_id: 'str' =None, content_type: 'str' =None, filename: 'str' =None, private: 'bool' =None): # noqa: E501 + def __init__(self, cluster_id: 'str' =None, content_type: 'str' =None, filename: 'str' =None, private: 'bool' =None, visibility: 'V1ResourceVisibility' =None): # noqa: E501 """StorageServicePublishSharedArtifactBody - a model defined in Swagger""" # noqa: E501 self._cluster_id = None self._content_type = None self._filename = None self._private = None + self._visibility = None self.discriminator = None if cluster_id is not None: self.cluster_id = cluster_id @@ -73,6 +76,8 @@ def __init__(self, cluster_id: 'str' =None, content_type: 'str' =None, filename: self.filename = filename if private is not None: self.private = private + if visibility is not None: + self.visibility = visibility @property def cluster_id(self) -> 'str': @@ -158,6 +163,27 @@ def private(self, private: 'bool'): self._private = private + @property + def visibility(self) -> 'V1ResourceVisibility': + """Gets the visibility of this StorageServicePublishSharedArtifactBody. # noqa: E501 + + + :return: The visibility of this StorageServicePublishSharedArtifactBody. # noqa: E501 + :rtype: V1ResourceVisibility + """ + return self._visibility + + @visibility.setter + def visibility(self, visibility: 'V1ResourceVisibility'): + """Sets the visibility of this StorageServicePublishSharedArtifactBody. + + + :param visibility: The visibility of this StorageServicePublishSharedArtifactBody. # noqa: E501 + :type: V1ResourceVisibility + """ + + self._visibility = visibility + def to_dict(self) -> dict: """Returns the model properties as a dict""" result = {} diff --git a/python/lightning_sdk/lightning_cloud/openapi/models/v1_deployment_api.py b/python/lightning_sdk/lightning_cloud/openapi/models/v1_deployment_api.py index db0d384ca..64c13856d 100644 --- a/python/lightning_sdk/lightning_cloud/openapi/models/v1_deployment_api.py +++ b/python/lightning_sdk/lightning_cloud/openapi/models/v1_deployment_api.py @@ -47,7 +47,7 @@ class V1DeploymentAPI(object): swagger_types = { 'body': 'V1Body', 'description': 'str', - 'headers': 'list[V1Header]', + 'headers': 'list[Externalv1Header]', 'id': 'str', 'method': 'str', 'name': 'str', @@ -68,7 +68,7 @@ class V1DeploymentAPI(object): '_query_params': 'queryParams' } - def __init__(self, body: 'V1Body' =None, description: 'str' =None, headers: 'list[V1Header]' =None, id: 'str' =None, method: 'str' =None, name: 'str' =None, path: 'str' =None, port: 'int' =None, _query_params: 'list[V1QueryParam]' =None): # noqa: E501 + def __init__(self, body: 'V1Body' =None, description: 'str' =None, headers: 'list[Externalv1Header]' =None, id: 'str' =None, method: 'str' =None, name: 'str' =None, path: 'str' =None, port: 'int' =None, _query_params: 'list[V1QueryParam]' =None): # noqa: E501 """V1DeploymentAPI - a model defined in Swagger""" # noqa: E501 self._body = None self._description = None @@ -142,22 +142,22 @@ def description(self, description: 'str'): self._description = description @property - def headers(self) -> 'list[V1Header]': + def headers(self) -> 'list[Externalv1Header]': """Gets the headers of this V1DeploymentAPI. # noqa: E501 :return: The headers of this V1DeploymentAPI. # noqa: E501 - :rtype: list[V1Header] + :rtype: list[Externalv1Header] """ return self._headers @headers.setter - def headers(self, headers: 'list[V1Header]'): + def headers(self, headers: 'list[Externalv1Header]'): """Sets the headers of this V1DeploymentAPI. :param headers: The headers of this V1DeploymentAPI. # noqa: E501 - :type: list[V1Header] + :type: list[Externalv1Header] """ self._headers = headers diff --git a/python/lightning_sdk/lightning_cloud/openapi/models/v1_get_temp_bucket_credentials_response.py b/python/lightning_sdk/lightning_cloud/openapi/models/v1_get_temp_bucket_credentials_response.py index 6aedd7ed4..db6d5bcb9 100644 --- a/python/lightning_sdk/lightning_cloud/openapi/models/v1_get_temp_bucket_credentials_response.py +++ b/python/lightning_sdk/lightning_cloud/openapi/models/v1_get_temp_bucket_credentials_response.py @@ -47,6 +47,9 @@ class V1GetTempBucketCredentialsResponse(object): swagger_types = { 'access_key_id': 'str', 'account_id': 'str', + 'endpoint': 'str', + 'expires_at': 'datetime', + 'region': 'str', 'secret_access_key': 'str', 'session_token': 'str' } @@ -54,14 +57,20 @@ class V1GetTempBucketCredentialsResponse(object): attribute_map = { 'access_key_id': 'accessKeyId', 'account_id': 'accountId', + 'endpoint': 'endpoint', + 'expires_at': 'expiresAt', + 'region': 'region', 'secret_access_key': 'secretAccessKey', 'session_token': 'sessionToken' } - def __init__(self, access_key_id: 'str' =None, account_id: 'str' =None, secret_access_key: 'str' =None, session_token: 'str' =None): # noqa: E501 + def __init__(self, access_key_id: 'str' =None, account_id: 'str' =None, endpoint: 'str' =None, expires_at: 'datetime' =None, region: 'str' =None, secret_access_key: 'str' =None, session_token: 'str' =None): # noqa: E501 """V1GetTempBucketCredentialsResponse - a model defined in Swagger""" # noqa: E501 self._access_key_id = None self._account_id = None + self._endpoint = None + self._expires_at = None + self._region = None self._secret_access_key = None self._session_token = None self.discriminator = None @@ -69,6 +78,12 @@ def __init__(self, access_key_id: 'str' =None, account_id: 'str' =None, secret_a self.access_key_id = access_key_id if account_id is not None: self.account_id = account_id + if endpoint is not None: + self.endpoint = endpoint + if expires_at is not None: + self.expires_at = expires_at + if region is not None: + self.region = region if secret_access_key is not None: self.secret_access_key = secret_access_key if session_token is not None: @@ -116,6 +131,73 @@ def account_id(self, account_id: 'str'): self._account_id = account_id + @property + def endpoint(self) -> 'str': + """Gets the endpoint of this V1GetTempBucketCredentialsResponse. # noqa: E501 + + A Studio's AWS_CONFIG_FILE carries the R2 endpoint and region = auto in its default profile, and botocore applies both to any client built there unless it is passed an endpoint explicitly. Callers must use these two rather than let the SDK resolve them, or the request is signed for the wrong region and sent to Cloudflare, which rejects an AWS key with InvalidAccessKeyId. # noqa: E501 + + :return: The endpoint of this V1GetTempBucketCredentialsResponse. # noqa: E501 + :rtype: str + """ + return self._endpoint + + @endpoint.setter + def endpoint(self, endpoint: 'str'): + """Sets the endpoint of this V1GetTempBucketCredentialsResponse. + + A Studio's AWS_CONFIG_FILE carries the R2 endpoint and region = auto in its default profile, and botocore applies both to any client built there unless it is passed an endpoint explicitly. Callers must use these two rather than let the SDK resolve them, or the request is signed for the wrong region and sent to Cloudflare, which rejects an AWS key with InvalidAccessKeyId. # noqa: E501 + + :param endpoint: The endpoint of this V1GetTempBucketCredentialsResponse. # noqa: E501 + :type: str + """ + + self._endpoint = endpoint + + @property + def expires_at(self) -> 'datetime': + """Gets the expires_at of this V1GetTempBucketCredentialsResponse. # noqa: E501 + + Unset when the connection is backed by static keys, which never expire. # noqa: E501 + + :return: The expires_at of this V1GetTempBucketCredentialsResponse. # noqa: E501 + :rtype: datetime + """ + return self._expires_at + + @expires_at.setter + def expires_at(self, expires_at: 'datetime'): + """Sets the expires_at of this V1GetTempBucketCredentialsResponse. + + Unset when the connection is backed by static keys, which never expire. # noqa: E501 + + :param expires_at: The expires_at of this V1GetTempBucketCredentialsResponse. # noqa: E501 + :type: datetime + """ + + self._expires_at = expires_at + + @property + def region(self) -> 'str': + """Gets the region of this V1GetTempBucketCredentialsResponse. # noqa: E501 + + + :return: The region of this V1GetTempBucketCredentialsResponse. # noqa: E501 + :rtype: str + """ + return self._region + + @region.setter + def region(self, region: 'str'): + """Sets the region of this V1GetTempBucketCredentialsResponse. + + + :param region: The region of this V1GetTempBucketCredentialsResponse. # noqa: E501 + :type: str + """ + + self._region = region + @property def secret_access_key(self) -> 'str': """Gets the secret_access_key of this V1GetTempBucketCredentialsResponse. # noqa: E501 diff --git a/python/lightning_sdk/lightning_cloud/openapi/models/v1_list_license_response.py b/python/lightning_sdk/lightning_cloud/openapi/models/v1_list_license_response.py index d734cef67..b445b1aa1 100644 --- a/python/lightning_sdk/lightning_cloud/openapi/models/v1_list_license_response.py +++ b/python/lightning_sdk/lightning_cloud/openapi/models/v1_list_license_response.py @@ -45,14 +45,14 @@ class V1ListLicenseResponse(object): and the value is json key in definition. """ swagger_types = { - 'licenses': 'list[V1License]' + 'licenses': 'list[Externalv1License]' } attribute_map = { 'licenses': 'licenses' } - def __init__(self, licenses: 'list[V1License]' =None): # noqa: E501 + def __init__(self, licenses: 'list[Externalv1License]' =None): # noqa: E501 """V1ListLicenseResponse - a model defined in Swagger""" # noqa: E501 self._licenses = None self.discriminator = None @@ -60,22 +60,22 @@ def __init__(self, licenses: 'list[V1License]' =None): # noqa: E501 self.licenses = licenses @property - def licenses(self) -> 'list[V1License]': + def licenses(self) -> 'list[Externalv1License]': """Gets the licenses of this V1ListLicenseResponse. # noqa: E501 :return: The licenses of this V1ListLicenseResponse. # noqa: E501 - :rtype: list[V1License] + :rtype: list[Externalv1License] """ return self._licenses @licenses.setter - def licenses(self, licenses: 'list[V1License]'): + def licenses(self, licenses: 'list[Externalv1License]'): """Sets the licenses of this V1ListLicenseResponse. :param licenses: The licenses of this V1ListLicenseResponse. # noqa: E501 - :type: list[V1License] + :type: list[Externalv1License] """ self._licenses = licenses diff --git a/python/lightning_sdk/lightning_cloud/openapi/models/v1_server_spec.py b/python/lightning_sdk/lightning_cloud/openapi/models/v1_server_spec.py index 1ed77f168..831cec7a8 100644 --- a/python/lightning_sdk/lightning_cloud/openapi/models/v1_server_spec.py +++ b/python/lightning_sdk/lightning_cloud/openapi/models/v1_server_spec.py @@ -70,6 +70,7 @@ class V1ServerSpec(object): 'guest_accelerators': 'list[V1ServerAccelerator]', 'ib_device_infos': 'list[V1IBDeviceInfo]', 'ib_membership_source': 'str', + 'ib_membership_test_mode': 'bool', 'inband_ip': 'str', 'instance_managed_group_id': 'str', 'instance_template_id': 'str', @@ -146,6 +147,7 @@ class V1ServerSpec(object): 'guest_accelerators': 'guestAccelerators', 'ib_device_infos': 'ibDeviceInfos', 'ib_membership_source': 'ibMembershipSource', + 'ib_membership_test_mode': 'ibMembershipTestMode', 'inband_ip': 'inbandIp', 'instance_managed_group_id': 'instanceManagedGroupId', 'instance_template_id': 'instanceTemplateId', @@ -196,7 +198,7 @@ class V1ServerSpec(object): 'workload_name': 'workloadName' } - def __init__(self, accelerator_type: 'V1AcceleratorType' =None, address: 'str' =None, affinity_identifier: 'str' =None, agent_version: 'str' =None, apparent_provider: 'str' =None, availability_zone: 'str' =None, batch_id: 'str' =None, ca_cert: 'str' =None, ca_key: 'str' =None, capacity_reservation_id: 'str' =None, cloud_init_run_cmds: 'list[str]' =None, cloud_space_id: 'str' =None, cluster_id: 'str' =None, customer_network_ids: 'list[str]' =None, delete_protection: 'bool' =None, deployment_id: 'str' =None, desired_machine_id: 'str' =None, dws: 'bool' =None, forward_ports: 'list[int]' =None, free: 'bool' =None, gpu_assignments: 'list[int]' =None, gpu_uuids: 'list[str]' =None, guest_accelerators: 'list[V1ServerAccelerator]' =None, ib_device_infos: 'list[V1IBDeviceInfo]' =None, ib_membership_source: 'str' =None, inband_ip: 'str' =None, instance_managed_group_id: 'str' =None, instance_template_id: 'str' =None, instance_type: 'str' =None, keep_after_stop: 'bool' =None, launch_template_id: 'str' =None, lightning_interruptible: 'bool' =None, machine_id: 'str' =None, machine_image: 'str' =None, machine_image_version: 'str' =None, memory_zones: 'list[V1MemoryZone]' =None, multi_machine_job_id: 'str' =None, network_interfaces: 'list[V1NetworkInterface]' =None, nvlink_fm_partition: 'V1NvlinkFMPartitionBinding' =None, parent_resource_id: 'str' =None, parent_server_id: 'str' =None, persistent_disk_id: 'str' =None, placement_group_id: 'str' =None, port_forwarding_rules: 'list[V1PortForwardRule]' =None, port_overrides: 'V1PortOverrides' =None, private_address: 'str' =None, private_addresses: 'list[str]' =None, provider: 'str' =None, provider_config: 'str' =None, provider_instance_id: 'str' =None, provider_instance_url: 'str' =None, rank: 'int' =None, region: 'str' =None, regions: 'list[str]' =None, requested_run_duration_seconds: 'str' =None, required_machine_id: 'str' =None, reservation_time_minutes: 'str' =None, resource_id: 'str' =None, resource_type: 'str' =None, server_type: 'V1ServerType' =None, skip_graceful_shutdown: 'bool' =None, spot: 'bool' =None, ssh_public_keys: 'list[str]' =None, state: 'V1ServerState' =None, termination_time: 'datetime' =None, tls_cert: 'str' =None, tls_key: 'str' =None, user_cloud_init: 'str' =None, user_id: 'str' =None, volume_size: 'str' =None, volume_type: 'str' =None, volumes: 'list[V1Volume]' =None, workload_name: 'str' =None): # noqa: E501 + def __init__(self, accelerator_type: 'V1AcceleratorType' =None, address: 'str' =None, affinity_identifier: 'str' =None, agent_version: 'str' =None, apparent_provider: 'str' =None, availability_zone: 'str' =None, batch_id: 'str' =None, ca_cert: 'str' =None, ca_key: 'str' =None, capacity_reservation_id: 'str' =None, cloud_init_run_cmds: 'list[str]' =None, cloud_space_id: 'str' =None, cluster_id: 'str' =None, customer_network_ids: 'list[str]' =None, delete_protection: 'bool' =None, deployment_id: 'str' =None, desired_machine_id: 'str' =None, dws: 'bool' =None, forward_ports: 'list[int]' =None, free: 'bool' =None, gpu_assignments: 'list[int]' =None, gpu_uuids: 'list[str]' =None, guest_accelerators: 'list[V1ServerAccelerator]' =None, ib_device_infos: 'list[V1IBDeviceInfo]' =None, ib_membership_source: 'str' =None, ib_membership_test_mode: 'bool' =None, inband_ip: 'str' =None, instance_managed_group_id: 'str' =None, instance_template_id: 'str' =None, instance_type: 'str' =None, keep_after_stop: 'bool' =None, launch_template_id: 'str' =None, lightning_interruptible: 'bool' =None, machine_id: 'str' =None, machine_image: 'str' =None, machine_image_version: 'str' =None, memory_zones: 'list[V1MemoryZone]' =None, multi_machine_job_id: 'str' =None, network_interfaces: 'list[V1NetworkInterface]' =None, nvlink_fm_partition: 'V1NvlinkFMPartitionBinding' =None, parent_resource_id: 'str' =None, parent_server_id: 'str' =None, persistent_disk_id: 'str' =None, placement_group_id: 'str' =None, port_forwarding_rules: 'list[V1PortForwardRule]' =None, port_overrides: 'V1PortOverrides' =None, private_address: 'str' =None, private_addresses: 'list[str]' =None, provider: 'str' =None, provider_config: 'str' =None, provider_instance_id: 'str' =None, provider_instance_url: 'str' =None, rank: 'int' =None, region: 'str' =None, regions: 'list[str]' =None, requested_run_duration_seconds: 'str' =None, required_machine_id: 'str' =None, reservation_time_minutes: 'str' =None, resource_id: 'str' =None, resource_type: 'str' =None, server_type: 'V1ServerType' =None, skip_graceful_shutdown: 'bool' =None, spot: 'bool' =None, ssh_public_keys: 'list[str]' =None, state: 'V1ServerState' =None, termination_time: 'datetime' =None, tls_cert: 'str' =None, tls_key: 'str' =None, user_cloud_init: 'str' =None, user_id: 'str' =None, volume_size: 'str' =None, volume_type: 'str' =None, volumes: 'list[V1Volume]' =None, workload_name: 'str' =None): # noqa: E501 """V1ServerSpec - a model defined in Swagger""" # noqa: E501 self._accelerator_type = None self._address = None @@ -223,6 +225,7 @@ def __init__(self, accelerator_type: 'V1AcceleratorType' =None, address: 'str' = self._guest_accelerators = None self._ib_device_infos = None self._ib_membership_source = None + self._ib_membership_test_mode = None self._inband_ip = None self._instance_managed_group_id = None self._instance_template_id = None @@ -322,6 +325,8 @@ def __init__(self, accelerator_type: 'V1AcceleratorType' =None, address: 'str' = self.ib_device_infos = ib_device_infos if ib_membership_source is not None: self.ib_membership_source = ib_membership_source + if ib_membership_test_mode is not None: + self.ib_membership_test_mode = ib_membership_test_mode if inband_ip is not None: self.inband_ip = inband_ip if instance_managed_group_id is not None: @@ -948,6 +953,29 @@ def ib_membership_source(self, ib_membership_source: 'str'): self._ib_membership_source = ib_membership_source + @property + def ib_membership_test_mode(self) -> 'bool': + """Gets the ib_membership_test_mode of this V1ServerSpec. # noqa: E501 + + Keeps cleanup in the same mode used for membership creation: true sends a preview/test request, while false permits a live request. When unset, legacy global admissions inherit the configured global mode and legacy user-feature admissions remain preview-only. # noqa: E501 + + :return: The ib_membership_test_mode of this V1ServerSpec. # noqa: E501 + :rtype: bool + """ + return self._ib_membership_test_mode + + @ib_membership_test_mode.setter + def ib_membership_test_mode(self, ib_membership_test_mode: 'bool'): + """Sets the ib_membership_test_mode of this V1ServerSpec. + + Keeps cleanup in the same mode used for membership creation: true sends a preview/test request, while false permits a live request. When unset, legacy global admissions inherit the configured global mode and legacy user-feature admissions remain preview-only. # noqa: E501 + + :param ib_membership_test_mode: The ib_membership_test_mode of this V1ServerSpec. # noqa: E501 + :type: bool + """ + + self._ib_membership_test_mode = ib_membership_test_mode + @property def inband_ip(self) -> 'str': """Gets the inband_ip of this V1ServerSpec. # noqa: E501 diff --git a/python/lightning_sdk/lightning_cloud/openapi/models/v1_shared_artifact.py b/python/lightning_sdk/lightning_cloud/openapi/models/v1_shared_artifact.py index e31d3ebf5..b61a9dd72 100644 --- a/python/lightning_sdk/lightning_cloud/openapi/models/v1_shared_artifact.py +++ b/python/lightning_sdk/lightning_cloud/openapi/models/v1_shared_artifact.py @@ -52,7 +52,8 @@ class V1SharedArtifact(object): 'filename': 'str', 'id': 'str', 'private': 'bool', - 'url': 'str' + 'url': 'str', + 'visibility': 'V1ResourceVisibility' } attribute_map = { @@ -63,10 +64,11 @@ class V1SharedArtifact(object): 'filename': 'filename', 'id': 'id', 'private': 'private', - 'url': 'url' + 'url': 'url', + 'visibility': 'visibility' } - def __init__(self, cluster_id: 'str' =None, content_type: 'str' =None, created_at: 'datetime' =None, downloads: 'str' =None, filename: 'str' =None, id: 'str' =None, private: 'bool' =None, url: 'str' =None): # noqa: E501 + def __init__(self, cluster_id: 'str' =None, content_type: 'str' =None, created_at: 'datetime' =None, downloads: 'str' =None, filename: 'str' =None, id: 'str' =None, private: 'bool' =None, url: 'str' =None, visibility: 'V1ResourceVisibility' =None): # noqa: E501 """V1SharedArtifact - a model defined in Swagger""" # noqa: E501 self._cluster_id = None self._content_type = None @@ -76,6 +78,7 @@ def __init__(self, cluster_id: 'str' =None, content_type: 'str' =None, created_a self._id = None self._private = None self._url = None + self._visibility = None self.discriminator = None if cluster_id is not None: self.cluster_id = cluster_id @@ -93,6 +96,8 @@ def __init__(self, cluster_id: 'str' =None, content_type: 'str' =None, created_a self.private = private if url is not None: self.url = url + if visibility is not None: + self.visibility = visibility @property def cluster_id(self) -> 'str': @@ -262,6 +267,27 @@ def url(self, url: 'str'): self._url = url + @property + def visibility(self) -> 'V1ResourceVisibility': + """Gets the visibility of this V1SharedArtifact. # noqa: E501 + + + :return: The visibility of this V1SharedArtifact. # noqa: E501 + :rtype: V1ResourceVisibility + """ + return self._visibility + + @visibility.setter + def visibility(self, visibility: 'V1ResourceVisibility'): + """Sets the visibility of this V1SharedArtifact. + + + :param visibility: The visibility of this V1SharedArtifact. # noqa: E501 + :type: V1ResourceVisibility + """ + + self._visibility = visibility + def to_dict(self) -> dict: """Returns the model properties as a dict""" result = {} diff --git a/python/lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py b/python/lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py index ce2d00a07..0afa978e3 100644 --- a/python/lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +++ b/python/lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py @@ -63,7 +63,6 @@ class V1UserFeatures(object): 'default_one_cluster': 'bool', 'enterprise_compute_admin': 'bool', 'f234': 'bool', - 'f236': 'bool', 'f240': 'bool', 'f241': 'bool', 'f243': 'bool', @@ -122,7 +121,6 @@ class V1UserFeatures(object): 'f351': 'bool', 'f352': 'bool', 'f353': 'bool', - 'f354': 'bool', 'f355': 'bool', 'f356': 'bool', 'f357': 'bool', @@ -140,6 +138,9 @@ class V1UserFeatures(object): 'f370': 'bool', 'f371': 'bool', 'f372': 'bool', + 'f373': 'bool', + 'f374': 'bool', + 'f375': 'bool', 'fair_share': 'bool', 'featured_studios_admin': 'bool', 'job_artifacts_v2': 'bool', @@ -194,7 +195,6 @@ class V1UserFeatures(object): 'default_one_cluster': 'defaultOneCluster', 'enterprise_compute_admin': 'enterpriseComputeAdmin', 'f234': 'f234', - 'f236': 'f236', 'f240': 'f240', 'f241': 'f241', 'f243': 'f243', @@ -253,7 +253,6 @@ class V1UserFeatures(object): 'f351': 'f351', 'f352': 'f352', 'f353': 'f353', - 'f354': 'f354', 'f355': 'f355', 'f356': 'f356', 'f357': 'f357', @@ -271,6 +270,9 @@ class V1UserFeatures(object): 'f370': 'f370', 'f371': 'f371', 'f372': 'f372', + 'f373': 'f373', + 'f374': 'f374', + 'f375': 'f375', 'fair_share': 'fairShare', 'featured_studios_admin': 'featuredStudiosAdmin', 'job_artifacts_v2': 'jobArtifactsV2', @@ -306,7 +308,7 @@ class V1UserFeatures(object): 'vultr': 'vultr' } - def __init__(self, affiliate_links: 'bool' =None, ai_hub_monetization: 'bool' =None, auto_fast_load: 'bool' =None, b2c_experience: 'bool' =None, byo_machine_type: 'bool' =None, cap_add: 'list[str]' =None, cap_drop: 'list[str]' =None, capacity_reservation_byoc: 'bool' =None, capacity_reservation_dry_run: 'bool' =None, chat_models: 'bool' =None, cloudspace_schedules: 'bool' =None, collab_screen_sharing: 'bool' =None, control_center_monitoring: 'bool' =None, cost_attribution_settings: 'bool' =None, datasets: 'bool' =None, default_one_cluster: 'bool' =None, enterprise_compute_admin: 'bool' =None, f234: 'bool' =None, f236: 'bool' =None, f240: 'bool' =None, f241: 'bool' =None, f243: 'bool' =None, f245: 'bool' =None, f247: 'bool' =None, f250: 'bool' =None, f252: 'bool' =None, f253: 'bool' =None, f254: 'bool' =None, f258: 'bool' =None, f259: 'bool' =None, f266: 'bool' =None, f268: 'bool' =None, f270: 'bool' =None, f271: 'bool' =None, f272: 'bool' =None, f279: 'bool' =None, f281: 'bool' =None, f283: 'bool' =None, f287: 'bool' =None, f288: 'bool' =None, f293: 'bool' =None, f294: 'bool' =None, f297: 'bool' =None, f298: 'bool' =None, f299: 'bool' =None, f300: 'bool' =None, f302: 'bool' =None, f303: 'bool' =None, f305: 'bool' =None, f313: 'bool' =None, f314: 'bool' =None, f316: 'bool' =None, f317: 'bool' =None, f321: 'bool' =None, f322: 'bool' =None, f323: 'bool' =None, f324: 'bool' =None, f327: 'bool' =None, f328: 'bool' =None, f329: 'bool' =None, f331: 'bool' =None, f332: 'bool' =None, f333: 'bool' =None, f336: 'bool' =None, f337: 'bool' =None, f338: 'bool' =None, f339: 'bool' =None, f340: 'bool' =None, f341: 'bool' =None, f345: 'bool' =None, f346: 'bool' =None, f347: 'bool' =None, f348: 'bool' =None, f349: 'bool' =None, f351: 'bool' =None, f352: 'bool' =None, f353: 'bool' =None, f354: 'bool' =None, f355: 'bool' =None, f356: 'bool' =None, f357: 'bool' =None, f358: 'bool' =None, f359: 'bool' =None, f360: 'bool' =None, f361: 'bool' =None, f362: 'bool' =None, f363: 'bool' =None, f364: 'bool' =None, f365: 'bool' =None, f366: 'bool' =None, f367: 'bool' =None, f369: 'bool' =None, f370: 'bool' =None, f371: 'bool' =None, f372: 'bool' =None, fair_share: 'bool' =None, featured_studios_admin: 'bool' =None, job_artifacts_v2: 'bool' =None, kubernetes_cluster_ui: 'bool' =None, kubernetes_clusters: 'bool' =None, landing_studios: 'bool' =None, marketplace: 'bool' =None, mmt_fault_tolerance: 'bool' =None, mmt_strategy_selector: 'bool' =None, multiple_studio_versions: 'bool' =None, nerf_fs_nonpaying: 'bool' =None, org_level_member_permissions: 'bool' =None, org_usage_limits: 'bool' =None, persistent_disk: 'bool' =None, plugin_distributed: 'bool' =None, plugin_inference: 'bool' =None, plugin_label_studio: 'bool' =None, plugin_langflow: 'bool' =None, plugin_python_profiler: 'bool' =None, plugin_sweeps: 'bool' =None, product_generator: 'bool' =None, product_license: 'bool' =None, publish_pipelines: 'bool' =None, reserved_machines_tab: 'bool' =None, restartable_jobs: 'bool' =None, runnable_public_studio_page: 'bool' =None, security_docs: 'bool' =None, show_dev_admin: 'bool' =None, slurm: 'bool' =None, specialised_studios: 'bool' =None, studio_config: 'bool' =None, studio_version_visibility: 'bool' =None, vultr: 'bool' =None): # noqa: E501 + def __init__(self, affiliate_links: 'bool' =None, ai_hub_monetization: 'bool' =None, auto_fast_load: 'bool' =None, b2c_experience: 'bool' =None, byo_machine_type: 'bool' =None, cap_add: 'list[str]' =None, cap_drop: 'list[str]' =None, capacity_reservation_byoc: 'bool' =None, capacity_reservation_dry_run: 'bool' =None, chat_models: 'bool' =None, cloudspace_schedules: 'bool' =None, collab_screen_sharing: 'bool' =None, control_center_monitoring: 'bool' =None, cost_attribution_settings: 'bool' =None, datasets: 'bool' =None, default_one_cluster: 'bool' =None, enterprise_compute_admin: 'bool' =None, f234: 'bool' =None, f240: 'bool' =None, f241: 'bool' =None, f243: 'bool' =None, f245: 'bool' =None, f247: 'bool' =None, f250: 'bool' =None, f252: 'bool' =None, f253: 'bool' =None, f254: 'bool' =None, f258: 'bool' =None, f259: 'bool' =None, f266: 'bool' =None, f268: 'bool' =None, f270: 'bool' =None, f271: 'bool' =None, f272: 'bool' =None, f279: 'bool' =None, f281: 'bool' =None, f283: 'bool' =None, f287: 'bool' =None, f288: 'bool' =None, f293: 'bool' =None, f294: 'bool' =None, f297: 'bool' =None, f298: 'bool' =None, f299: 'bool' =None, f300: 'bool' =None, f302: 'bool' =None, f303: 'bool' =None, f305: 'bool' =None, f313: 'bool' =None, f314: 'bool' =None, f316: 'bool' =None, f317: 'bool' =None, f321: 'bool' =None, f322: 'bool' =None, f323: 'bool' =None, f324: 'bool' =None, f327: 'bool' =None, f328: 'bool' =None, f329: 'bool' =None, f331: 'bool' =None, f332: 'bool' =None, f333: 'bool' =None, f336: 'bool' =None, f337: 'bool' =None, f338: 'bool' =None, f339: 'bool' =None, f340: 'bool' =None, f341: 'bool' =None, f345: 'bool' =None, f346: 'bool' =None, f347: 'bool' =None, f348: 'bool' =None, f349: 'bool' =None, f351: 'bool' =None, f352: 'bool' =None, f353: 'bool' =None, f355: 'bool' =None, f356: 'bool' =None, f357: 'bool' =None, f358: 'bool' =None, f359: 'bool' =None, f360: 'bool' =None, f361: 'bool' =None, f362: 'bool' =None, f363: 'bool' =None, f364: 'bool' =None, f365: 'bool' =None, f366: 'bool' =None, f367: 'bool' =None, f369: 'bool' =None, f370: 'bool' =None, f371: 'bool' =None, f372: 'bool' =None, f373: 'bool' =None, f374: 'bool' =None, f375: 'bool' =None, fair_share: 'bool' =None, featured_studios_admin: 'bool' =None, job_artifacts_v2: 'bool' =None, kubernetes_cluster_ui: 'bool' =None, kubernetes_clusters: 'bool' =None, landing_studios: 'bool' =None, marketplace: 'bool' =None, mmt_fault_tolerance: 'bool' =None, mmt_strategy_selector: 'bool' =None, multiple_studio_versions: 'bool' =None, nerf_fs_nonpaying: 'bool' =None, org_level_member_permissions: 'bool' =None, org_usage_limits: 'bool' =None, persistent_disk: 'bool' =None, plugin_distributed: 'bool' =None, plugin_inference: 'bool' =None, plugin_label_studio: 'bool' =None, plugin_langflow: 'bool' =None, plugin_python_profiler: 'bool' =None, plugin_sweeps: 'bool' =None, product_generator: 'bool' =None, product_license: 'bool' =None, publish_pipelines: 'bool' =None, reserved_machines_tab: 'bool' =None, restartable_jobs: 'bool' =None, runnable_public_studio_page: 'bool' =None, security_docs: 'bool' =None, show_dev_admin: 'bool' =None, slurm: 'bool' =None, specialised_studios: 'bool' =None, studio_config: 'bool' =None, studio_version_visibility: 'bool' =None, vultr: 'bool' =None): # noqa: E501 """V1UserFeatures - a model defined in Swagger""" # noqa: E501 self._affiliate_links = None self._ai_hub_monetization = None @@ -326,7 +328,6 @@ def __init__(self, affiliate_links: 'bool' =None, ai_hub_monetization: 'bool' =N self._default_one_cluster = None self._enterprise_compute_admin = None self._f234 = None - self._f236 = None self._f240 = None self._f241 = None self._f243 = None @@ -385,7 +386,6 @@ def __init__(self, affiliate_links: 'bool' =None, ai_hub_monetization: 'bool' =N self._f351 = None self._f352 = None self._f353 = None - self._f354 = None self._f355 = None self._f356 = None self._f357 = None @@ -403,6 +403,9 @@ def __init__(self, affiliate_links: 'bool' =None, ai_hub_monetization: 'bool' =N self._f370 = None self._f371 = None self._f372 = None + self._f373 = None + self._f374 = None + self._f375 = None self._fair_share = None self._featured_studios_admin = None self._job_artifacts_v2 = None @@ -473,8 +476,6 @@ def __init__(self, affiliate_links: 'bool' =None, ai_hub_monetization: 'bool' =N self.enterprise_compute_admin = enterprise_compute_admin if f234 is not None: self.f234 = f234 - if f236 is not None: - self.f236 = f236 if f240 is not None: self.f240 = f240 if f241 is not None: @@ -591,8 +592,6 @@ def __init__(self, affiliate_links: 'bool' =None, ai_hub_monetization: 'bool' =N self.f352 = f352 if f353 is not None: self.f353 = f353 - if f354 is not None: - self.f354 = f354 if f355 is not None: self.f355 = f355 if f356 is not None: @@ -627,6 +626,12 @@ def __init__(self, affiliate_links: 'bool' =None, ai_hub_monetization: 'bool' =N self.f371 = f371 if f372 is not None: self.f372 = f372 + if f373 is not None: + self.f373 = f373 + if f374 is not None: + self.f374 = f374 + if f375 is not None: + self.f375 = f375 if fair_share is not None: self.fair_share = fair_share if featured_studios_admin is not None: @@ -1072,27 +1077,6 @@ def f234(self, f234: 'bool'): self._f234 = f234 - @property - def f236(self) -> 'bool': - """Gets the f236 of this V1UserFeatures. # noqa: E501 - - - :return: The f236 of this V1UserFeatures. # noqa: E501 - :rtype: bool - """ - return self._f236 - - @f236.setter - def f236(self, f236: 'bool'): - """Sets the f236 of this V1UserFeatures. - - - :param f236: The f236 of this V1UserFeatures. # noqa: E501 - :type: bool - """ - - self._f236 = f236 - @property def f240(self) -> 'bool': """Gets the f240 of this V1UserFeatures. # noqa: E501 @@ -2311,27 +2295,6 @@ def f353(self, f353: 'bool'): self._f353 = f353 - @property - def f354(self) -> 'bool': - """Gets the f354 of this V1UserFeatures. # noqa: E501 - - - :return: The f354 of this V1UserFeatures. # noqa: E501 - :rtype: bool - """ - return self._f354 - - @f354.setter - def f354(self, f354: 'bool'): - """Sets the f354 of this V1UserFeatures. - - - :param f354: The f354 of this V1UserFeatures. # noqa: E501 - :type: bool - """ - - self._f354 = f354 - @property def f355(self) -> 'bool': """Gets the f355 of this V1UserFeatures. # noqa: E501 @@ -2689,6 +2652,69 @@ def f372(self, f372: 'bool'): self._f372 = f372 + @property + def f373(self) -> 'bool': + """Gets the f373 of this V1UserFeatures. # noqa: E501 + + + :return: The f373 of this V1UserFeatures. # noqa: E501 + :rtype: bool + """ + return self._f373 + + @f373.setter + def f373(self, f373: 'bool'): + """Sets the f373 of this V1UserFeatures. + + + :param f373: The f373 of this V1UserFeatures. # noqa: E501 + :type: bool + """ + + self._f373 = f373 + + @property + def f374(self) -> 'bool': + """Gets the f374 of this V1UserFeatures. # noqa: E501 + + + :return: The f374 of this V1UserFeatures. # noqa: E501 + :rtype: bool + """ + return self._f374 + + @f374.setter + def f374(self, f374: 'bool'): + """Sets the f374 of this V1UserFeatures. + + + :param f374: The f374 of this V1UserFeatures. # noqa: E501 + :type: bool + """ + + self._f374 = f374 + + @property + def f375(self) -> 'bool': + """Gets the f375 of this V1UserFeatures. # noqa: E501 + + + :return: The f375 of this V1UserFeatures. # noqa: E501 + :rtype: bool + """ + return self._f375 + + @f375.setter + def f375(self, f375: 'bool'): + """Sets the f375 of this V1UserFeatures. + + + :param f375: The f375 of this V1UserFeatures. # noqa: E501 + :type: bool + """ + + self._f375 = f375 + @property def fair_share(self) -> 'bool': """Gets the fair_share of this V1UserFeatures. # noqa: E501