Class V1alpha1StorageVersionStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha1StorageVersionStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-06-26T22:35:15.319369Z[Etc/UTC]",
comments="Generator version: 7.18.0")
public class V1alpha1StorageVersionStatus
extends Object
API server instances report the versions they can decode and the version they encode objects to when persisting objects in the backend.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConditionsItem(V1alpha1StorageVersionCondition conditionsItem) addStorageVersionsItem(V1alpha1ServerStorageVersion storageVersionsItem) commonEncodingVersion(String commonEncodingVersion) conditions(List<V1alpha1StorageVersionCondition> conditions) booleanstatic V1alpha1StorageVersionStatusCreate an instance of V1alpha1StorageVersionStatus given an JSON stringcommonEncodingVersion is set to an encoding storage version if all API server instances share that same version.conditions lists the latest available observations of the storageVersion's state.storageVersions lists the reported versions per API server instance.inthashCode()voidsetCommonEncodingVersion(String commonEncodingVersion) voidsetConditions(List<V1alpha1StorageVersionCondition> conditions) voidsetStorageVersions(List<V1alpha1ServerStorageVersion> storageVersions) storageVersions(List<V1alpha1ServerStorageVersion> storageVersions) toJson()Convert an instance of V1alpha1StorageVersionStatus 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_COMMON_ENCODING_VERSION
- See Also:
-
SERIALIZED_NAME_CONDITIONS
- See Also:
-
SERIALIZED_NAME_STORAGE_VERSIONS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1alpha1StorageVersionStatus
public V1alpha1StorageVersionStatus()
-
-
Method Details
-
commonEncodingVersion
-
getCommonEncodingVersion
commonEncodingVersion is set to an encoding storage version if all API server instances share that same version. If they don't share one storage version, this field is left empty. API servers should finish updating its storageVersionStatus entry before serving write operations, so that this field will be in sync with the reality.- Returns:
- commonEncodingVersion
-
setCommonEncodingVersion
-
conditions
public V1alpha1StorageVersionStatus conditions(@Nullable List<V1alpha1StorageVersionCondition> conditions) -
addConditionsItem
public V1alpha1StorageVersionStatus addConditionsItem(V1alpha1StorageVersionCondition conditionsItem) -
getConditions
conditions lists the latest available observations of the storageVersion's state.- Returns:
- conditions
-
setConditions
-
storageVersions
public V1alpha1StorageVersionStatus storageVersions(@Nullable List<V1alpha1ServerStorageVersion> storageVersions) -
addStorageVersionsItem
public V1alpha1StorageVersionStatus addStorageVersionsItem(V1alpha1ServerStorageVersion storageVersionsItem) -
getStorageVersions
storageVersions lists the reported versions per API server instance.- Returns:
- storageVersions
-
setStorageVersions
-
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 V1alpha1StorageVersionStatus
-
fromJson
Create an instance of V1alpha1StorageVersionStatus given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1alpha1StorageVersionStatus
- Throws:
IOException- if the JSON string is invalid with respect to V1alpha1StorageVersionStatus
-
toJson
Convert an instance of V1alpha1StorageVersionStatus to an JSON string- Returns:
- JSON string
-