Package io.fabric8.openshift.api.model
Class ResourceAccessReviewResponse
- java.lang.Object
-
- io.fabric8.openshift.api.model.ResourceAccessReviewResponse
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ResourceAccessReviewResponseBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,io.fabric8.kubernetes.api.model.Namespaced,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ResourceAccessReviewResponse extends Object implements io.fabric8.kubernetes.api.builder.Editable<ResourceAccessReviewResponseBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, io.fabric8.kubernetes.api.model.Namespaced
ResourceAccessReviewResponse describes who can perform the actionCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResourceAccessReviewResponse()No args constructor for use in serializationResourceAccessReviewResponse(String apiVersion, String evalutionError, List<String> groups, String kind, String namespace, List<String> users)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceAccessReviewResponseBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.StringgetEvalutionError()EvaluationError is an indication that some error occurred during resolution, but partial results can still be returned.List<String>getGroups()GroupsSlice is the list of groups who can perform the actionStringgetKind()Kind is a string value representing the REST resource this object represents.StringgetNamespace()namespace is the namespace used for the access reviewList<String>getUsers()UsersSlice is the list of users who can perform the actionvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiVersion(String apiVersion)APIVersion defines the versioned schema of this representation of an object.voidsetEvalutionError(String evalutionError)EvaluationError is an indication that some error occurred during resolution, but partial results can still be returned.voidsetGroups(List<String> groups)GroupsSlice is the list of groups who can perform the actionvoidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetNamespace(String namespace)namespace is the namespace used for the access reviewvoidsetUsers(List<String> users)UsersSlice is the list of users who can perform the actionResourceAccessReviewResponseBuildertoBuilder()
-
-
-
Method Detail
-
getApiVersion
public String getApiVersion()
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
-
setApiVersion
public void setApiVersion(String apiVersion)
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
-
getEvalutionError
public String getEvalutionError()
EvaluationError is an indication that some error occurred during resolution, but partial results can still be returned. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. This is most common when a bound role is missing, but enough roles are still present and bound to reason about the request.
-
setEvalutionError
public void setEvalutionError(String evalutionError)
EvaluationError is an indication that some error occurred during resolution, but partial results can still be returned. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. This is most common when a bound role is missing, but enough roles are still present and bound to reason about the request.
-
getGroups
public List<String> getGroups()
GroupsSlice is the list of groups who can perform the action
-
setGroups
public void setGroups(List<String> groups)
GroupsSlice is the list of groups who can perform the action
-
getKind
public String getKind()
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
setKind
public void setKind(String kind)
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
getNamespace
public String getNamespace()
namespace is the namespace used for the access review
-
setNamespace
public void setNamespace(String namespace)
namespace is the namespace used for the access review
-
setUsers
public void setUsers(List<String> users)
UsersSlice is the list of users who can perform the action
-
edit
public ResourceAccessReviewResponseBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ResourceAccessReviewResponseBuilder>
-
toBuilder
public ResourceAccessReviewResponseBuilder toBuilder()
-
-