Class V1TypedLocalObjectReference
java.lang.Object
io.kubernetes.client.openapi.models.V1TypedLocalObjectReference
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1TypedLocalObjectReference
extends Object
TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic V1TypedLocalObjectReferenceCreate an instance of V1TypedLocalObjectReference given an JSON stringAPIGroup is the group for the resource being referenced.getKind()Kind is the type of resource being referencedgetName()Name is the name of resource being referencedinthashCode()voidsetApiGroup(String apiGroup) voidvoidtoJson()Convert an instance of V1TypedLocalObjectReference 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_API_GROUP
- See Also:
-
SERIALIZED_NAME_KIND
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1TypedLocalObjectReference
public V1TypedLocalObjectReference()
-
-
Method Details
-
apiGroup
-
getApiGroup
APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.- 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 V1TypedLocalObjectReference
-
fromJson
Create an instance of V1TypedLocalObjectReference given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1TypedLocalObjectReference
- Throws:
IOException- if the JSON string is invalid with respect to V1TypedLocalObjectReference
-
toJson
Convert an instance of V1TypedLocalObjectReference to an JSON string- Returns:
- JSON string
-