kubernetes.aio.client.models.v2beta1_api_version_discovery 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.v2beta1_api_version_discovery.V2beta1APIVersionDiscovery(version=None, resources=None, freshness=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.

attribute_map = {'freshness': 'freshness', 'resources': 'resources', 'version': 'version'}
property freshness

Gets the freshness of this V2beta1APIVersionDiscovery. # noqa: E501

freshness marks whether a group version’s discovery document is up to date. # noqa: E501

Returns:

The freshness of this V2beta1APIVersionDiscovery. # noqa: E501

Return type:

str

openapi_types = {'freshness': 'str', 'resources': 'list[V2beta1APIResourceDiscovery]', 'version': 'str'}
property resources

Gets the resources of this V2beta1APIVersionDiscovery. # noqa: E501

Returns:

The resources of this V2beta1APIVersionDiscovery. # noqa: E501

Return type:

list[V2beta1APIResourceDiscovery]

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model

property version

Gets the version of this V2beta1APIVersionDiscovery. # noqa: E501

version is the name of the version within a group version. # noqa: E501

Returns:

The version of this V2beta1APIVersionDiscovery. # noqa: E501

Return type:

str