Class V1RoleRef
java.lang.Object
io.kubernetes.client.openapi.models.V1RoleRef
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[Etc/UTC]")
public class V1RoleRef
extends Object
RoleRef contains information that points to the role being used
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static V1RoleRef
Create an instance of V1RoleRef given an JSON stringAPIGroup is the group for the resource being referencedgetKind()
Kind is the type of resource being referencedgetName()
Name is the name of resource being referencedint
hashCode()
void
setApiGroup
(String apiGroup) void
void
toJson()
Convert an instance of V1RoleRef to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_API_GROUP
- See Also:
-
SERIALIZED_NAME_KIND
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1RoleRef
public V1RoleRef()
-
-
Method Details
-
apiGroup
-
getApiGroup
APIGroup is the group for the resource being referenced- Returns:
- apiGroup
-
setApiGroup
-
kind
-
getKind
Kind is the type of resource being referenced- Returns:
- kind
-
setKind
-
name
-
getName
Name is the name of resource being referenced- 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 V1RoleRef
-
fromJson
Create an instance of V1RoleRef given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1RoleRef
- Throws:
IOException
- if the JSON string is invalid with respect to V1RoleRef
-
toJson
Convert an instance of V1RoleRef to an JSON string- Returns:
- JSON string
-