Class V1GroupVersionKind
java.lang.Object
io.kubernetes.client.openapi.models.V1GroupVersionKind
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-06-26T22:35:15.319369Z[Etc/UTC]",
comments="Generator version: 7.18.0")
public class V1GroupVersionKind
extends Object
GroupVersionKind unambiguously identifies a kind.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic V1GroupVersionKindCreate an instance of V1GroupVersionKind given an JSON stringgetGroup()group is the group part of the GroupVersionKind.getKind()kind is the kind part of the GroupVersionKind.version is the version part of the GroupVersionKind.inthashCode()voidvoidvoidsetVersion(String version) toJson()Convert an instance of V1GroupVersionKind 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_GROUP
- See Also:
-
SERIALIZED_NAME_KIND
- See Also:
-
SERIALIZED_NAME_VERSION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1GroupVersionKind
public V1GroupVersionKind()
-
-
Method Details
-
group
-
getGroup
group is the group part of the GroupVersionKind.- Returns:
- group
-
setGroup
-
kind
-
getKind
kind is the kind part of the GroupVersionKind.- Returns:
- kind
-
setKind
-
version
-
getVersion
version is the version part of the GroupVersionKind.- Returns:
- version
-
setVersion
-
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 V1GroupVersionKind
-
fromJson
Create an instance of V1GroupVersionKind given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1GroupVersionKind
- Throws:
IOException- if the JSON string is invalid with respect to V1GroupVersionKind
-
toJson
Convert an instance of V1GroupVersionKind to an JSON string- Returns:
- JSON string
-