Class V1GroupSubject
java.lang.Object
io.kubernetes.client.openapi.models.V1GroupSubject
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
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 TypeMethodDescriptionbooleanstatic V1GroupSubjectCreate an instance of V1GroupSubject given an JSON stringgetName()name is the user group that matches, or \"*\" to match all user groups.inthashCode()voidtoJson()Convert an instance of V1GroupSubject 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
-
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
-
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 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
-