Class V1UserSubject
java.lang.Object
io.kubernetes.client.openapi.models.V1UserSubject
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1UserSubject
extends Object
UserSubject holds detailed information for user-kind subject.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic V1UserSubjectCreate an instance of V1UserSubject given an JSON stringgetName()`name` is the username that matches, or \"*\" to match all usernames.inthashCode()voidtoJson()Convert an instance of V1UserSubject 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_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1UserSubject
public V1UserSubject()
-
-
Method Details
-
name
-
getName
`name` is the username that matches, or \"*\" to match all usernames. Required.- Returns:
- name
-
setName
-
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 V1UserSubject
-
fromJson
Create an instance of V1UserSubject given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1UserSubject
- Throws:
IOException- if the JSON string is invalid with respect to V1UserSubject
-
toJson
Convert an instance of V1UserSubject to an JSON string- Returns:
- JSON string
-