Class V1UserSubject
java.lang.Object
io.kubernetes.client.openapi.models.V1UserSubject
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-04T19:05:53.712211Z[Etc/UTC]",
comments="Generator version: 7.6.0")
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 TypeMethodDescriptionboolean
static V1UserSubject
Create an instance of V1UserSubject given an JSON stringgetName()
`name` is the username that matches, or \"*\" to match all usernames.int
hashCode()
void
toJson()
Convert an instance of V1UserSubject to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element 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
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement
- JSON Element- Throws:
IOException
- if the JSON Element 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
-