Class V1alpha1TypedLocalObjectReference
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha1TypedLocalObjectReference
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-01-21T21:30:13.305152Z[Etc/UTC]",
comments="Generator version: 7.18.0")
public class V1alpha1TypedLocalObjectReference
extends Object
TypedLocalObjectReference allows to reference typed object inside the same namespace.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of V1alpha1TypedLocalObjectReference given an JSON stringAPIGroup is the group for the resource being referenced.getKind()Kind is the type of resource being referenced.getName()Name is the name of resource being referenced.inthashCode()voidsetApiGroup(String apiGroup) voidvoidtoJson()Convert an instance of V1alpha1TypedLocalObjectReference to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element 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
-
V1alpha1TypedLocalObjectReference
public V1alpha1TypedLocalObjectReference()
-
-
Method Details
-
apiGroup
-
getApiGroup
APIGroup is the group for the resource being referenced. If APIGroup is empty, the specified Kind must be in the core API group. For any other third-party types, setting APIGroup is required. It must be a DNS subdomain.- Returns:
- apiGroup
-
setApiGroup
-
kind
-
getKind
Kind is the type of resource being referenced. It must be a path segment name.- Returns:
- kind
-
setKind
-
name
-
getName
Name is the name of resource being referenced. It must be a path segment name.- 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 V1alpha1TypedLocalObjectReference
-
fromJson
Create an instance of V1alpha1TypedLocalObjectReference given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1alpha1TypedLocalObjectReference
- Throws:
IOException- if the JSON string is invalid with respect to V1alpha1TypedLocalObjectReference
-
toJson
Convert an instance of V1alpha1TypedLocalObjectReference to an JSON string- Returns:
- JSON string
-