kubernetes_asyncio.client.models.v1_cross_version_object_reference 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_cross_version_object_reference.V1CrossVersionObjectReference(api_version=None, kind=None, name=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 V1CrossVersionObjectReference. # noqa: E501

apiVersion is the API version of the referent # noqa: E501

Returns:

The api_version of this V1CrossVersionObjectReference. # noqa: E501

Return type:

str

attribute_map = {'api_version': 'apiVersion', 'kind': 'kind', 'name': 'name'}
property kind

Gets the kind of this V1CrossVersionObjectReference. # noqa: E501

kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501

Returns:

The kind of this V1CrossVersionObjectReference. # noqa: E501

Return type:

str

property name

Gets the name of this V1CrossVersionObjectReference. # noqa: E501

name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names # noqa: E501

Returns:

The name of this V1CrossVersionObjectReference. # noqa: E501

Return type:

str

openapi_types = {'api_version': 'str', 'kind': 'str', 'name': 'str'}
to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model