kubernetes_asyncio.client.models.v1_field_selector_attributes 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_field_selector_attributes.V1FieldSelectorAttributes(raw_selector=None, requirements=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 = {'raw_selector': 'rawSelector', 'requirements': 'requirements'}
openapi_types = {'raw_selector': 'str', 'requirements': 'list[V1FieldSelectorRequirement]'}
property raw_selector

Gets the raw_selector of this V1FieldSelectorAttributes. # noqa: E501

rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSelector. The kube-apiserver’s *SubjectAccessReview will parse the rawSelector as long as the requirements are not present. # noqa: E501

Returns:

The raw_selector of this V1FieldSelectorAttributes. # noqa: E501

Return type:

str

property requirements

Gets the requirements of this V1FieldSelectorAttributes. # noqa: E501

requirements is the parsed interpretation of a field selector. All requirements must be met for a resource instance to match the selector. Webhook implementations should handle requirements, but how to handle them is up to the webhook. Since requirements can only limit the request, it is safe to authorize as unlimited request if the requirements are not understood. # noqa: E501

Returns:

The requirements of this V1FieldSelectorAttributes. # noqa: E501

Return type:

list[V1FieldSelectorRequirement]

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model