Class V1alpha1StorageVersionMigrationStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha1StorageVersionMigrationStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-04T19:37:38.574271Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1alpha1StorageVersionMigrationStatus
extends Object
Status of the storage version migration.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConditionsItem
(V1alpha1MigrationCondition conditionsItem) conditions
(List<V1alpha1MigrationCondition> conditions) boolean
Create an instance of V1alpha1StorageVersionMigrationStatus given an JSON stringThe latest available observations of the migration's current state.ResourceVersion to compare with the GC cache for performing the migration.int
hashCode()
resourceVersion
(String resourceVersion) void
setConditions
(List<V1alpha1MigrationCondition> conditions) void
setResourceVersion
(String resourceVersion) toJson()
Convert an instance of V1alpha1StorageVersionMigrationStatus 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_CONDITIONS
- See Also:
-
SERIALIZED_NAME_RESOURCE_VERSION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1alpha1StorageVersionMigrationStatus
public V1alpha1StorageVersionMigrationStatus()
-
-
Method Details
-
conditions
public V1alpha1StorageVersionMigrationStatus conditions(List<V1alpha1MigrationCondition> conditions) -
addConditionsItem
public V1alpha1StorageVersionMigrationStatus addConditionsItem(V1alpha1MigrationCondition conditionsItem) -
getConditions
The latest available observations of the migration's current state.- Returns:
- conditions
-
setConditions
-
resourceVersion
-
getResourceVersion
ResourceVersion to compare with the GC cache for performing the migration. This is the current resource version of given group, version and resource when kube-controller-manager first observes this StorageVersionMigration resource.- Returns:
- resourceVersion
-
setResourceVersion
-
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 V1alpha1StorageVersionMigrationStatus
-
fromJson
Create an instance of V1alpha1StorageVersionMigrationStatus given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1alpha1StorageVersionMigrationStatus
- Throws:
IOException
- if the JSON string is invalid with respect to V1alpha1StorageVersionMigrationStatus
-
toJson
Convert an instance of V1alpha1StorageVersionMigrationStatus to an JSON string- Returns:
- JSON string
-