Class SubjectAccessReviewResponse

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<SubjectAccessReviewResponseBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, io.fabric8.kubernetes.api.model.Namespaced, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class SubjectAccessReviewResponse
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<SubjectAccessReviewResponseBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, io.fabric8.kubernetes.api.model.Namespaced
    SubjectAccessReviewResponse describes whether or not a user or group can perform an action


    Compatibility 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 Detail

      • SubjectAccessReviewResponse

        public SubjectAccessReviewResponse()
        No args constructor for use in serialization
    • Method Detail

      • getAllowed

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

        public void setAllowed​(Boolean allowed)
        allowed is required. True if the action would be allowed, false otherwise.
      • 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
      • 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. This is most common when a bound role is missing, but enough roles are still present and bound to reason about the request.
      • setEvaluationError

        public void setEvaluationError​(String evaluationError)
        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. This is most common when a bound role is missing, but enough roles are still present and bound to reason about the request.
      • 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
      • getReason

        public String getReason()
        reason is optional. It indicates why a request was allowed or denied.
      • setReason

        public void setReason​(String reason)
        reason is optional. It indicates why a request was allowed or denied.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)