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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet allowed in a chainable fashion.Set denied in a chainable fashion.boolean
evaluationError
(String evaluationError) Set evaluationError in a chainable fashion.Allowed is required.Denied is optional.EvaluationError is an indication that some error occurred during the authorization check.Reason is optional.int
hashCode()
Set reason in a chainable fashion.void
setAllowed
(Boolean allowed) Set the allowed property valuevoid
Set the denied property valuevoid
setEvaluationError
(String evaluationError) Set the evaluationError property valuevoid
Set the reason property valuetoString()
-
Field Details
-
JSON_PROPERTY_ALLOWED
- See Also:
-
JSON_PROPERTY_DENIED
- See Also:
-
JSON_PROPERTY_EVALUATION_ERROR
- See Also:
-
JSON_PROPERTY_REASON
- See Also:
-
-
Constructor Details
-
V1SubjectAccessReviewStatus
-
-
Method Details
-
getAllowed
Allowed is required. True if the action would be allowed, false otherwise.- Returns:
- the allowed property value
-
setAllowed
Set the allowed property value- Parameters:
allowed
- property value to set
-
allowed
Set allowed in a chainable fashion.- Returns:
- The same instance of V1SubjectAccessReviewStatus for chaining.
-
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
Set the denied property value- Parameters:
denied
- property value to set
-
denied
Set denied in a chainable fashion.- Returns:
- The same instance of V1SubjectAccessReviewStatus for chaining.
-
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
Set the evaluationError property value- Parameters:
evaluationError
- property value to set
-
evaluationError
Set evaluationError in a chainable fashion.- Returns:
- The same instance of V1SubjectAccessReviewStatus for chaining.
-
getReason
Reason is optional. It indicates why a request was allowed or denied.- Returns:
- the reason property value
-
setReason
Set the reason property value- Parameters:
reason
- property value to set
-
reason
Set reason in a chainable fashion.- Returns:
- The same instance of V1SubjectAccessReviewStatus for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-