kubernetes_asyncio.client.models.v1_custom_resource_definition_names 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_custom_resource_definition_names.V1CustomResourceDefinitionNames(categories=None, kind=None, list_kind=None, plural=None, short_names=None, singular=None, local_vars_configuration=None)
Bases:
objectNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
- attribute_map = {'categories': 'categories', 'kind': 'kind', 'list_kind': 'listKind', 'plural': 'plural', 'short_names': 'shortNames', 'singular': 'singular'}
- property categories
Gets the categories of this V1CustomResourceDefinitionNames. # noqa: E501
categories is a list of grouped resources this custom resource belongs to (e.g. ‘all’). This is published in API discovery documents, and used by clients to support invocations like kubectl get all. # noqa: E501
- Returns:
The categories of this V1CustomResourceDefinitionNames. # noqa: E501
- Return type:
list[str]
- property kind
Gets the kind of this V1CustomResourceDefinitionNames. # noqa: E501
kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the kind attribute in API calls. # noqa: E501
- Returns:
The kind of this V1CustomResourceDefinitionNames. # noqa: E501
- Return type:
str
- property list_kind
Gets the list_kind of this V1CustomResourceDefinitionNames. # noqa: E501
listKind is the serialized kind of the list for this resource. Defaults to “`kind`List”. # noqa: E501
- Returns:
The list_kind of this V1CustomResourceDefinitionNames. # noqa: E501
- Return type:
str
- openapi_types = {'categories': 'list[str]', 'kind': 'str', 'list_kind': 'str', 'plural': 'str', 'short_names': 'list[str]', 'singular': 'str'}
- property plural
Gets the plural of this V1CustomResourceDefinitionNames. # noqa: E501
plural is the plural name of the resource to serve. The custom resources are served under /apis/<group>/<version>/…/<plural>. Must match the name of the CustomResourceDefinition (in the form <names.plural>.<group>). Must be all lowercase. # noqa: E501
- Returns:
The plural of this V1CustomResourceDefinitionNames. # noqa: E501
- Return type:
str
- property short_names
Gets the short_names of this V1CustomResourceDefinitionNames. # noqa: E501
shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like kubectl get <shortname>. It must be all lowercase. # noqa: E501
- Returns:
The short_names of this V1CustomResourceDefinitionNames. # noqa: E501
- Return type:
list[str]
- property singular
Gets the singular of this V1CustomResourceDefinitionNames. # noqa: E501
singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased kind. # noqa: E501
- Returns:
The singular of this V1CustomResourceDefinitionNames. # noqa: E501
- Return type:
str
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model