Package net.stickycode.kuuty.model.v18
Class IoK8sApiAuthorizationV1SelfSubjectRulesReview
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiAuthorizationV1SelfSubjectRulesReview
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiAuthorizationV1SelfSubjectRulesReview extends Object
SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_API_VERSIONstatic StringJSON_PROPERTY_KINDstatic StringJSON_PROPERTY_METADATAstatic StringJSON_PROPERTY_SPECstatic StringJSON_PROPERTY_STATUS
-
Constructor Summary
Constructors Constructor Description IoK8sApiAuthorizationV1SelfSubjectRulesReview()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_API_VERSION
public static final String JSON_PROPERTY_API_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_KIND
public static final String JSON_PROPERTY_KIND
- See Also:
- Constant Field Values
-
JSON_PROPERTY_METADATA
public static final String JSON_PROPERTY_METADATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SPEC
public static final String JSON_PROPERTY_SPEC
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_STATUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
apiVersion
public IoK8sApiAuthorizationV1SelfSubjectRulesReview apiVersion(String apiVersion)
-
getApiVersion
@Nullable 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- Returns:
- apiVersion
-
setApiVersion
public void setApiVersion(String apiVersion)
-
kind
public IoK8sApiAuthorizationV1SelfSubjectRulesReview kind(String kind)
-
getKind
@Nullable 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- Returns:
- kind
-
setKind
public void setKind(String kind)
-
metadata
public IoK8sApiAuthorizationV1SelfSubjectRulesReview metadata(IoK8sApimachineryPkgApisMetaV1ObjectMeta metadata)
-
getMetadata
@Nullable public IoK8sApimachineryPkgApisMetaV1ObjectMeta getMetadata()
Get metadata- Returns:
- metadata
-
setMetadata
public void setMetadata(IoK8sApimachineryPkgApisMetaV1ObjectMeta metadata)
-
spec
public IoK8sApiAuthorizationV1SelfSubjectRulesReview spec(IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec spec)
-
getSpec
public IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec getSpec()
Get spec- Returns:
- spec
-
setSpec
public void setSpec(IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec spec)
-
status
public IoK8sApiAuthorizationV1SelfSubjectRulesReview status(IoK8sApiAuthorizationV1SubjectRulesReviewStatus status)
-
getStatus
@Nullable public IoK8sApiAuthorizationV1SubjectRulesReviewStatus getStatus()
Get status- Returns:
- status
-
setStatus
public void setStatus(IoK8sApiAuthorizationV1SubjectRulesReviewStatus status)
-
-