Package io.fabric8.openshift.api.model
Class SelfSubjectRulesReviewSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.SelfSubjectRulesReviewSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<SelfSubjectRulesReviewSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class SelfSubjectRulesReviewSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<SelfSubjectRulesReviewSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
SelfSubjectRulesReviewSpec adds information about how to conduct the check- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SelfSubjectRulesReviewSpec()No args constructor for use in serializationSelfSubjectRulesReviewSpec(List<String> scopes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SelfSubjectRulesReviewSpecBuilderedit()Map<String,Object>getAdditionalProperties()List<String>getScopes()scopes to use for the evaluation.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetScopes(List<String> scopes)scopes to use for the evaluation.SelfSubjectRulesReviewSpecBuildertoBuilder()
-
-
-
Method Detail
-
getScopes
public List<String> getScopes()
scopes to use for the evaluation. Empty means "use the unscoped (full) permissions of the user/groups". Nil means "use the scopes on this request".
-
setScopes
public void setScopes(List<String> scopes)
scopes to use for the evaluation. Empty means "use the unscoped (full) permissions of the user/groups". Nil means "use the scopes on this request".
-
edit
public SelfSubjectRulesReviewSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<SelfSubjectRulesReviewSpecBuilder>
-
toBuilder
public SelfSubjectRulesReviewSpecBuilder toBuilder()
-
-