kubernetes_asyncio.client.models.v1_topology_selector_label_requirement 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_topology_selector_label_requirement.V1TopologySelectorLabelRequirement(key=None, values=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 = {'key': 'key', 'values': 'values'}
- property key
Gets the key of this V1TopologySelectorLabelRequirement. # noqa: E501
The label key that the selector applies to. # noqa: E501
- Returns:
The key of this V1TopologySelectorLabelRequirement. # noqa: E501
- Return type:
str
- openapi_types = {'key': 'str', 'values': 'list[str]'}
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
- property values
Gets the values of this V1TopologySelectorLabelRequirement. # noqa: E501
An array of string values. One value must match the label to be selected. Each entry in Values is ORed. # noqa: E501
- Returns:
The values of this V1TopologySelectorLabelRequirement. # noqa: E501
- Return type:
list[str]