A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.
| Name | Type | Description | Notes |
|---|---|---|---|
| operator | str | Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. | |
| scope_name | str | The name of the scope that the selector applies to. | |
| values | List[str] | An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. | [optional] |
from kubernetes.client.models.v1_scoped_resource_selector_requirement import V1ScopedResourceSelectorRequirement
# TODO update the JSON string below
json = "{}"
# create an instance of V1ScopedResourceSelectorRequirement from a JSON string
v1_scoped_resource_selector_requirement_instance = V1ScopedResourceSelectorRequirement.from_json(json)
# print the JSON string representation of the object
print(V1ScopedResourceSelectorRequirement.to_json())
# convert the object into a dict
v1_scoped_resource_selector_requirement_dict = v1_scoped_resource_selector_requirement_instance.to_dict()
# create an instance of V1ScopedResourceSelectorRequirement from a dict
v1_scoped_resource_selector_requirement_from_dict = V1ScopedResourceSelectorRequirement.from_dict(v1_scoped_resource_selector_requirement_dict)