Class IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]")
    public class IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus
    extends Object
    SubjectAccessReviewStatus
    • Constructor Detail

      • IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus

        public IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus()
    • Method Detail

      • getAllowed

        public Boolean getAllowed()
        Allowed is required. True if the action would be allowed, false otherwise.
        Returns:
        allowed
      • setAllowed

        public void setAllowed​(Boolean allowed)
      • 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)
      • 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)
      • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object