@Generated(value="org.jsonschema2pojo") public class GroupRestriction extends Object implements KubernetesResource
Constructor and Description |
---|
GroupRestriction()
No args constructor for use in serialization
|
GroupRestriction(List<String> groups,
List<LabelSelector> labels) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
List<String> |
getGroups() |
List<LabelSelector> |
getLabels() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setGroups(List<String> groups) |
void |
setLabels(List<LabelSelector> labels) |
public GroupRestriction()
public GroupRestriction(List<String> groups, List<LabelSelector> labels)
groups
- labels
- public List<LabelSelector> getLabels()
public void setLabels(List<LabelSelector> labels)
labels
- The labelsCopyright © 2015–2018 Red Hat. All rights reserved.