Class V1alpha1GroupVersionResource
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha1GroupVersionResource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-04T19:05:53.712211Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1alpha1GroupVersionResource
extends Object
The names of the group, the version, and the resource.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static V1alpha1GroupVersionResource
Create an instance of V1alpha1GroupVersionResource given an JSON stringgetGroup()
The name of the group.The name of the resource.The name of the version.int
hashCode()
void
void
setResource
(String resource) void
setVersion
(String version) toJson()
Convert an instance of V1alpha1GroupVersionResource to an JSON stringtoString()
static void
validateJsonElement
(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_RESOURCE
- See Also:
-
SERIALIZED_NAME_VERSION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1alpha1GroupVersionResource
public V1alpha1GroupVersionResource()
-
-
Method Details
-
group
-
getGroup
The name of the group.- Returns:
- group
-
setGroup
-
resource
-
getResource
The name of the resource.- Returns:
- resource
-
setResource
-
version
-
getVersion
The name of the version.- 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 V1alpha1GroupVersionResource
-
fromJson
Create an instance of V1alpha1GroupVersionResource given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1alpha1GroupVersionResource
- Throws:
IOException
- if the JSON string is invalid with respect to V1alpha1GroupVersionResource
-
toJson
Convert an instance of V1alpha1GroupVersionResource to an JSON string- Returns:
- JSON string
-