Class V1GroupSubject
java.lang.Object
io.kubernetes.client.openapi.models.V1GroupSubject
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-12T21:15:49.397498Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1GroupSubject
extends Object
GroupSubject holds detailed information for group-kind subject.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static V1GroupSubject
Create an instance of V1GroupSubject given an JSON stringgetName()
name is the user group that matches, or \"*\" to match all user groups.int
hashCode()
void
toJson()
Convert an instance of V1GroupSubject 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
-
V1GroupSubject
public V1GroupSubject()
-
-
Method Details
-
name
-
getName
name is the user group that matches, or \"*\" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. 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 V1GroupSubject
-
fromJson
Create an instance of V1GroupSubject given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1GroupSubject
- Throws:
IOException
- if the JSON string is invalid with respect to V1GroupSubject
-
toJson
Convert an instance of V1GroupSubject to an JSON string- Returns:
- JSON string
-