Package io.fabric8.openshift.api.model
Class ScopeRestriction
java.lang.Object
io.fabric8.openshift.api.model.ScopeRestriction
- All Implemented Interfaces:
io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("org.jsonschema2pojo") public class ScopeRestriction extends Object implements io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ScopeRestriction()No args constructor for use in serializationScopeRestriction(ClusterRoleScopeRestriction clusterRole, List<String> literals) -
Method Summary
Modifier and Type Method Description Map<String,Object>getAdditionalProperties()ClusterRoleScopeRestrictiongetClusterRole()List<String>getLiterals()voidsetAdditionalProperty(String name, Object value)voidsetClusterRole(ClusterRoleScopeRestriction clusterRole)voidsetLiterals(List<String> literals)
-
Constructor Details
-
ScopeRestriction
public ScopeRestriction()No args constructor for use in serialization -
ScopeRestriction
- Parameters:
clusterRole-literals-
-
-
Method Details
-
getClusterRole
- Returns:
- The clusterRole
-
setClusterRole
- Parameters:
clusterRole- The clusterRole
-
getLiterals
- Returns:
- The literals
-
setLiterals
- Parameters:
literals- The literals
-
getAdditionalProperties
-
setAdditionalProperty
-