kubernetes.aio.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: release-1.36 Generated by: https://openapi-generator.tech

class kubernetes.aio.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

apiServerID is 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

decodableVersions are the encoding versions the API server can handle to decode. 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

encodingVersion the API server encodes the object to 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

servedVersions lists all versions the API server can serve. 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