kubernetes_asyncio.client.models.v1_bound_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_bound_object_reference.V1BoundObjectReference(api_version=None, kind=None, name=None, uid=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 V1BoundObjectReference. # noqa: E501

API version of the referent. # noqa: E501

Returns:

The api_version of this V1BoundObjectReference. # noqa: E501

Return type:

str

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

Gets the kind of this V1BoundObjectReference. # noqa: E501

Kind of the referent. Valid kinds are ‘Pod’ and ‘Secret’. # noqa: E501

Returns:

The kind of this V1BoundObjectReference. # noqa: E501

Return type:

str

property name

Gets the name of this V1BoundObjectReference. # noqa: E501

Name of the referent. # noqa: E501

Returns:

The name of this V1BoundObjectReference. # noqa: E501

Return type:

str

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

Returns the model properties as a dict

to_str()

Returns the string representation of the model

property uid

Gets the uid of this V1BoundObjectReference. # noqa: E501

UID of the referent. # noqa: E501

Returns:

The uid of this V1BoundObjectReference. # noqa: E501

Return type:

str