Class V1alpha1GroupVersionResource
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha1GroupVersionResource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
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
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object 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
-
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 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
-