Class V1SubjectAccessReviewStatus

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1SubjectAccessReviewStatus

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1SubjectAccessReviewStatus extends Object
SubjectAccessReviewStatus
  • Field Details

  • Constructor Details

    • V1SubjectAccessReviewStatus

      public V1SubjectAccessReviewStatus(Boolean allowed)
  • Method Details

    • getAllowed

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

      public void setAllowed(Boolean allowed)
      Set the allowed property value
      Parameters:
      allowed - property value to set
    • allowed

      public V1SubjectAccessReviewStatus allowed(Boolean allowed)
      Set allowed in a chainable fashion.
      Returns:
      The same instance of V1SubjectAccessReviewStatus for chaining.
    • getDenied

      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:
      the denied property value
    • setDenied

      public void setDenied(Boolean denied)
      Set the denied property value
      Parameters:
      denied - property value to set
    • denied

      public V1SubjectAccessReviewStatus denied(Boolean denied)
      Set denied in a chainable fashion.
      Returns:
      The same instance of V1SubjectAccessReviewStatus for chaining.
    • getEvaluationError

      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:
      the evaluationError property value
    • setEvaluationError

      public void setEvaluationError(String evaluationError)
      Set the evaluationError property value
      Parameters:
      evaluationError - property value to set
    • evaluationError

      public V1SubjectAccessReviewStatus evaluationError(String evaluationError)
      Set evaluationError in a chainable fashion.
      Returns:
      The same instance of V1SubjectAccessReviewStatus for chaining.
    • getReason

      public String getReason()
      Reason is optional. It indicates why a request was allowed or denied.
      Returns:
      the reason property value
    • setReason

      public void setReason(String reason)
      Set the reason property value
      Parameters:
      reason - property value to set
    • reason

      public V1SubjectAccessReviewStatus reason(String reason)
      Set reason in a chainable fashion.
      Returns:
      The same instance of V1SubjectAccessReviewStatus for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object