Class V1SelfSubjectRulesReviewSpec
java.lang.Object
io.kubernetes.client.openapi.models.V1SelfSubjectRulesReviewSpec
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1SelfSubjectRulesReviewSpec
extends Object
SelfSubjectRulesReviewSpec defines the specification for SelfSubjectRulesReview.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static V1SelfSubjectRulesReviewSpec
Create an instance of V1SelfSubjectRulesReviewSpec given an JSON stringNamespace to evaluate rules for.int
hashCode()
void
setNamespace
(String namespace) toJson()
Convert an instance of V1SelfSubjectRulesReviewSpec to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_NAMESPACE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1SelfSubjectRulesReviewSpec
public V1SelfSubjectRulesReviewSpec()
-
-
Method Details
-
namespace
-
getNamespace
Namespace to evaluate rules for. Required.- Returns:
- namespace
-
setNamespace
-
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 V1SelfSubjectRulesReviewSpec
-
fromJson
Create an instance of V1SelfSubjectRulesReviewSpec given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1SelfSubjectRulesReviewSpec
- Throws:
IOException
- if the JSON string is invalid with respect to V1SelfSubjectRulesReviewSpec
-
toJson
Convert an instance of V1SelfSubjectRulesReviewSpec to an JSON string- Returns:
- JSON string
-