Class V1beta1StorageVersionMigrationSpec
java.lang.Object
io.kubernetes.client.openapi.models.V1beta1StorageVersionMigrationSpec
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-01-21T21:30:13.305152Z[Etc/UTC]",
comments="Generator version: 7.18.0")
public class V1beta1StorageVersionMigrationSpec
extends Object
Spec of the storage version migration.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of V1beta1StorageVersionMigrationSpec given an JSON stringGet resourceinthashCode()resource(V1GroupResource resource) voidsetResource(V1GroupResource resource) toJson()Convert an instance of V1beta1StorageVersionMigrationSpec 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_RESOURCE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1beta1StorageVersionMigrationSpec
public V1beta1StorageVersionMigrationSpec()
-
-
Method Details
-
resource
-
getResource
Get resource- Returns:
- resource
-
setResource
-
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 V1beta1StorageVersionMigrationSpec
-
fromJson
Create an instance of V1beta1StorageVersionMigrationSpec given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1beta1StorageVersionMigrationSpec
- Throws:
IOException- if the JSON string is invalid with respect to V1beta1StorageVersionMigrationSpec
-
toJson
Convert an instance of V1beta1StorageVersionMigrationSpec to an JSON string- Returns:
- JSON string
-