kubernetes_asyncio.client.models.v1_controller_revision 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.v1_controller_revision.V1ControllerRevision(api_version=None, data=None, kind=None, metadata=None, revision=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_version

Gets the api_version of this V1ControllerRevision. # noqa: E501

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501

Returns:

The api_version of this V1ControllerRevision. # noqa: E501

Return type:

str

attribute_map = {'api_version': 'apiVersion', 'data': 'data', 'kind': 'kind', 'metadata': 'metadata', 'revision': 'revision'}
property data

Gets the data of this V1ControllerRevision. # noqa: E501

Data is the serialized representation of the state. # noqa: E501

Returns:

The data of this V1ControllerRevision. # noqa: E501

Return type:

object

property kind

Gets the kind of this V1ControllerRevision. # noqa: E501

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501

Returns:

The kind of this V1ControllerRevision. # noqa: E501

Return type:

str

property metadata

Gets the metadata of this V1ControllerRevision. # noqa: E501

Returns:

The metadata of this V1ControllerRevision. # noqa: E501

Return type:

V1ObjectMeta

openapi_types = {'api_version': 'str', 'data': 'object', 'kind': 'str', 'metadata': 'V1ObjectMeta', 'revision': 'int'}
property revision

Gets the revision of this V1ControllerRevision. # noqa: E501

Revision indicates the revision of the state represented by Data. # noqa: E501

Returns:

The revision of this V1ControllerRevision. # noqa: E501

Return type:

int

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model