kubernetes.aio.client.models.v2_api_resource_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.v2_api_resource_discovery.V2APIResourceDiscovery(resource=None, response_kind=None, scope=None, singular_resource=None, verbs=None, short_names=None, categories=None, subresources=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 = {'categories': 'categories', 'resource': 'resource', 'response_kind': 'responseKind', 'scope': 'scope', 'short_names': 'shortNames', 'singular_resource': 'singularResource', 'subresources': 'subresources', 'verbs': 'verbs'}
property categories

Gets the categories of this V2APIResourceDiscovery. # noqa: E501

categories is a list of the grouped resources this resource belongs to. # noqa: E501

Returns:

The categories of this V2APIResourceDiscovery. # noqa: E501

Return type:

list[str]

openapi_types = {'categories': 'list[str]', 'resource': 'str', 'response_kind': 'IoK8sApimachineryPkgApisMetaV1GroupVersionKind', 'scope': 'str', 'short_names': 'list[str]', 'singular_resource': 'str', 'subresources': 'list[V2APISubresourceDiscovery]', 'verbs': 'list[str]'}
property resource

Gets the resource of this V2APIResourceDiscovery. # noqa: E501

resource is the plural name of the resource. # noqa: E501

Returns:

The resource of this V2APIResourceDiscovery. # noqa: E501

Return type:

str

property response_kind

Gets the response_kind of this V2APIResourceDiscovery. # noqa: E501

Returns:

The response_kind of this V2APIResourceDiscovery. # noqa: E501

Return type:

IoK8sApimachineryPkgApisMetaV1GroupVersionKind

property scope

Gets the scope of this V2APIResourceDiscovery. # noqa: E501

scope indicates the scope of a resource, either Cluster or Namespaced # noqa: E501

Returns:

The scope of this V2APIResourceDiscovery. # noqa: E501

Return type:

str

property short_names

Gets the short_names of this V2APIResourceDiscovery. # noqa: E501

shortNames is a list of suggested short names of the resource. # noqa: E501

Returns:

The short_names of this V2APIResourceDiscovery. # noqa: E501

Return type:

list[str]

property singular_resource

Gets the singular_resource of this V2APIResourceDiscovery. # noqa: E501

singularResource is the singular name of the resource. # noqa: E501

Returns:

The singular_resource of this V2APIResourceDiscovery. # noqa: E501

Return type:

str

property subresources

Gets the subresources of this V2APIResourceDiscovery. # noqa: E501

Returns:

The subresources of this V2APIResourceDiscovery. # noqa: E501

Return type:

list[V2APISubresourceDiscovery]

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model

property verbs

Gets the verbs of this V2APIResourceDiscovery. # noqa: E501

verbs is a list of supported API operation types # noqa: E501

Returns:

The verbs of this V2APIResourceDiscovery. # noqa: E501

Return type:

list[str]