Class V1NonResourceRule
java.lang.Object
io.kubernetes.client.openapi.models.V1NonResourceRule
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[Etc/UTC]")
public class V1NonResourceRule
extends Object
NonResourceRule holds information that describes a rule for the non-resource
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddNonResourceURLsItem
(String nonResourceURLsItem) addVerbsItem
(String verbsItem) boolean
static V1NonResourceRule
Create an instance of V1NonResourceRule given an JSON stringNonResourceURLs is a set of partial urls that a user should have access to.getVerbs()
Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options.int
hashCode()
nonResourceURLs
(List<String> nonResourceURLs) void
setNonResourceURLs
(List<String> nonResourceURLs) void
toJson()
Convert an instance of V1NonResourceRule 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_NON_RESOURCE_U_R_LS
- See Also:
-
SERIALIZED_NAME_VERBS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1NonResourceRule
public V1NonResourceRule()
-
-
Method Details
-
nonResourceURLs
-
addNonResourceURLsItem
-
getNonResourceURLs
NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. \"*\" means all.- Returns:
- nonResourceURLs
-
setNonResourceURLs
-
verbs
-
addVerbsItem
-
getVerbs
Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all.- Returns:
- verbs
-
setVerbs
-
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 V1NonResourceRule
-
fromJson
Create an instance of V1NonResourceRule given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1NonResourceRule
- Throws:
IOException
- if the JSON string is invalid with respect to V1NonResourceRule
-
toJson
Convert an instance of V1NonResourceRule to an JSON string- Returns:
- JSON string
-