@Generated(value="org.jsonschema2pojo") public class ScopeRestriction extends Object implements KubernetesResource
Constructor and Description |
---|
ScopeRestriction()
No args constructor for use in serialization
|
ScopeRestriction(ClusterRoleScopeRestriction clusterRole,
List<String> literals) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
ClusterRoleScopeRestriction |
getClusterRole() |
List<String> |
getLiterals() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setClusterRole(ClusterRoleScopeRestriction clusterRole) |
void |
setLiterals(List<String> literals) |
public ScopeRestriction()
public ScopeRestriction(ClusterRoleScopeRestriction clusterRole, List<String> literals)
clusterRole
- literals
- public ClusterRoleScopeRestriction getClusterRole()
public void setClusterRole(ClusterRoleScopeRestriction clusterRole)
clusterRole
- The clusterRoleCopyright © 2015–2018 Red Hat. All rights reserved.