Class V1SelfSubjectAccessReviewSpec
java.lang.Object
io.kubernetes.client.openapi.models.V1SelfSubjectAccessReviewSpec
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1SelfSubjectAccessReviewSpec
extends Object
SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of V1SelfSubjectAccessReviewSpec given an JSON stringGet nonResourceAttributesGet resourceAttributesinthashCode()nonResourceAttributes(V1NonResourceAttributes nonResourceAttributes) resourceAttributes(V1ResourceAttributes resourceAttributes) voidsetNonResourceAttributes(V1NonResourceAttributes nonResourceAttributes) voidsetResourceAttributes(V1ResourceAttributes resourceAttributes) toJson()Convert an instance of V1SelfSubjectAccessReviewSpec to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_NON_RESOURCE_ATTRIBUTES
- See Also:
-
SERIALIZED_NAME_RESOURCE_ATTRIBUTES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1SelfSubjectAccessReviewSpec
public V1SelfSubjectAccessReviewSpec()
-
-
Method Details
-
nonResourceAttributes
public V1SelfSubjectAccessReviewSpec nonResourceAttributes(V1NonResourceAttributes nonResourceAttributes) -
getNonResourceAttributes
Get nonResourceAttributes- Returns:
- nonResourceAttributes
-
setNonResourceAttributes
-
resourceAttributes
-
getResourceAttributes
Get resourceAttributes- Returns:
- resourceAttributes
-
setResourceAttributes
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to V1SelfSubjectAccessReviewSpec
-
fromJson
Create an instance of V1SelfSubjectAccessReviewSpec given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1SelfSubjectAccessReviewSpec
- Throws:
IOException- if the JSON string is invalid with respect to V1SelfSubjectAccessReviewSpec
-
toJson
Convert an instance of V1SelfSubjectAccessReviewSpec to an JSON string- Returns:
- JSON string
-