Class V1TypedLocalObjectReference
java.lang.Object
io.kubernetes.client.openapi.models.V1TypedLocalObjectReference
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-04T19:37:38.574271Z[Etc/UTC]",
comments="Generator version: 7.6.0")
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 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
-
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
-
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 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
-