@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2021-01-04T09:55:14.976Z[Etc/UTC]") public class V1LabelSelectorRequirement extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_KEY |
static String |
SERIALIZED_NAME_OPERATOR |
static String |
SERIALIZED_NAME_VALUES |
Constructor and Description |
---|
V1LabelSelectorRequirement() |
Modifier and Type | Method and Description |
---|---|
V1LabelSelectorRequirement |
addValuesItem(String valuesItem) |
boolean |
equals(Object o) |
String |
getKey()
key is the label key that the selector applies to.
|
String |
getOperator()
operator represents a key's relationship to a set of values.
|
List<String> |
getValues()
values is an array of string values.
|
int |
hashCode() |
V1LabelSelectorRequirement |
key(String key) |
V1LabelSelectorRequirement |
operator(String operator) |
void |
setKey(String key) |
void |
setOperator(String operator) |
void |
setValues(List<String> values) |
String |
toString() |
V1LabelSelectorRequirement |
values(List<String> values) |
public static final String SERIALIZED_NAME_KEY
public static final String SERIALIZED_NAME_OPERATOR
public static final String SERIALIZED_NAME_VALUES
public V1LabelSelectorRequirement key(String key)
public String getKey()
public void setKey(String key)
public V1LabelSelectorRequirement operator(String operator)
public String getOperator()
public void setOperator(String operator)
public V1LabelSelectorRequirement values(List<String> values)
public V1LabelSelectorRequirement addValuesItem(String valuesItem)
@Nullable public List<String> getValues()
Copyright © 2021. All rights reserved.