Package net.stickycode.kuuty.model.v18
Class IoK8sApiAuthorizationV1SubjectAccessReviewStatus
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiAuthorizationV1SubjectAccessReviewStatus
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiAuthorizationV1SubjectAccessReviewStatus extends Object
SubjectAccessReviewStatus
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ALLOWEDstatic StringJSON_PROPERTY_DENIEDstatic StringJSON_PROPERTY_EVALUATION_ERRORstatic StringJSON_PROPERTY_REASON
-
Constructor Summary
Constructors Constructor Description IoK8sApiAuthorizationV1SubjectAccessReviewStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiAuthorizationV1SubjectAccessReviewStatusallowed(Boolean allowed)IoK8sApiAuthorizationV1SubjectAccessReviewStatusdenied(Boolean denied)booleanequals(Object o)IoK8sApiAuthorizationV1SubjectAccessReviewStatusevaluationError(String evaluationError)BooleangetAllowed()Allowed is required.BooleangetDenied()Denied is optional.StringgetEvaluationError()EvaluationError is an indication that some error occurred during the authorization check.StringgetReason()Reason is optional.inthashCode()IoK8sApiAuthorizationV1SubjectAccessReviewStatusreason(String reason)voidsetAllowed(Boolean allowed)voidsetDenied(Boolean denied)voidsetEvaluationError(String evaluationError)voidsetReason(String reason)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ALLOWED
public static final String JSON_PROPERTY_ALLOWED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DENIED
public static final String JSON_PROPERTY_DENIED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EVALUATION_ERROR
public static final String JSON_PROPERTY_EVALUATION_ERROR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REASON
public static final String JSON_PROPERTY_REASON
- See Also:
- Constant Field Values
-
-
Method Detail
-
allowed
public IoK8sApiAuthorizationV1SubjectAccessReviewStatus allowed(Boolean allowed)
-
getAllowed
public Boolean getAllowed()
Allowed is required. True if the action would be allowed, false otherwise.- Returns:
- allowed
-
setAllowed
public void setAllowed(Boolean allowed)
-
denied
public IoK8sApiAuthorizationV1SubjectAccessReviewStatus denied(Boolean denied)
-
getDenied
@Nullable public Boolean getDenied()
Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.- Returns:
- denied
-
setDenied
public void setDenied(Boolean denied)
-
evaluationError
public IoK8sApiAuthorizationV1SubjectAccessReviewStatus evaluationError(String evaluationError)
-
getEvaluationError
@Nullable public String getEvaluationError()
EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.- Returns:
- evaluationError
-
setEvaluationError
public void setEvaluationError(String evaluationError)
-
reason
public IoK8sApiAuthorizationV1SubjectAccessReviewStatus reason(String reason)
-
getReason
@Nullable public String getReason()
Reason is optional. It indicates why a request was allowed or denied.- Returns:
- reason
-
setReason
public void setReason(String reason)
-
-