kubernetes_asyncio.client.models.v1alpha1_server_storage_version module

Kubernetes

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: v1.34.3 Generated by: https://openapi-generator.tech

class kubernetes_asyncio.client.models.v1alpha1_server_storage_version.V1alpha1ServerStorageVersion(api_server_id=None, decodable_versions=None, encoding_version=None, served_versions=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

property api_server_id

Gets the api_server_id of this V1alpha1ServerStorageVersion. # noqa: E501

The ID of the reporting API server. # noqa: E501

Returns:

The api_server_id of this V1alpha1ServerStorageVersion. # noqa: E501

Return type:

str

attribute_map = {'api_server_id': 'apiServerID', 'decodable_versions': 'decodableVersions', 'encoding_version': 'encodingVersion', 'served_versions': 'servedVersions'}
property decodable_versions

Gets the decodable_versions of this V1alpha1ServerStorageVersion. # noqa: E501

The API server can decode objects encoded in these versions. The encodingVersion must be included in the decodableVersions. # noqa: E501

Returns:

The decodable_versions of this V1alpha1ServerStorageVersion. # noqa: E501

Return type:

list[str]

property encoding_version

Gets the encoding_version of this V1alpha1ServerStorageVersion. # noqa: E501

The API server encodes the object to this version when persisting it in the backend (e.g., etcd). # noqa: E501

Returns:

The encoding_version of this V1alpha1ServerStorageVersion. # noqa: E501

Return type:

str

openapi_types = {'api_server_id': 'str', 'decodable_versions': 'list[str]', 'encoding_version': 'str', 'served_versions': 'list[str]'}
property served_versions

Gets the served_versions of this V1alpha1ServerStorageVersion. # noqa: E501

The API server can serve these versions. DecodableVersions must include all ServedVersions. # noqa: E501

Returns:

The served_versions of this V1alpha1ServerStorageVersion. # noqa: E501

Return type:

list[str]

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model