Package io.fabric8.openshift.api.model
Class ClusterRoleScopeRestriction
java.lang.Object
io.fabric8.openshift.api.model.ClusterRoleScopeRestriction
- All Implemented Interfaces:
io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("org.jsonschema2pojo") public class ClusterRoleScopeRestriction extends Object implements io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ClusterRoleScopeRestriction()No args constructor for use in serializationClusterRoleScopeRestriction(Boolean allowEscalation, List<String> namespaces, List<String> roleNames) -
Method Summary
Modifier and Type Method Description Map<String,Object>getAdditionalProperties()BooleangetAllowEscalation()List<String>getNamespaces()List<String>getRoleNames()voidsetAdditionalProperty(String name, Object value)voidsetAllowEscalation(Boolean allowEscalation)voidsetNamespaces(List<String> namespaces)voidsetRoleNames(List<String> roleNames)
-
Constructor Details
-
ClusterRoleScopeRestriction
public ClusterRoleScopeRestriction()No args constructor for use in serialization -
ClusterRoleScopeRestriction
public ClusterRoleScopeRestriction(Boolean allowEscalation, List<String> namespaces, List<String> roleNames)- Parameters:
allowEscalation-roleNames-namespaces-
-
-
Method Details
-
getAllowEscalation
- Returns:
- The allowEscalation
-
setAllowEscalation
- Parameters:
allowEscalation- The allowEscalation
-
getNamespaces
- Returns:
- The namespaces
-
setNamespaces
- Parameters:
namespaces- The namespaces
-
getRoleNames
- Returns:
- The roleNames
-
setRoleNames
- Parameters:
roleNames- The roleNames
-
getAdditionalProperties
-
setAdditionalProperty
-