Class V1beta3UserSubject
java.lang.Object
io.kubernetes.client.openapi.models.V1beta3UserSubject
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[Etc/UTC]")
public class V1beta3UserSubject
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 V1beta3UserSubjectCreate an instance of V1beta3UserSubject given an JSON stringgetName()`name` is the username that matches, or \"*\" to match all usernames.inthashCode()voidtoJson()Convert an instance of V1beta3UserSubject 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
-
V1beta3UserSubject
public V1beta3UserSubject()
-
-
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 V1beta3UserSubject
-
fromJson
Create an instance of V1beta3UserSubject given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1beta3UserSubject
- Throws:
IOException- if the JSON string is invalid with respect to V1beta3UserSubject
-
toJson
Convert an instance of V1beta3UserSubject to an JSON string- Returns:
- JSON string
-