Class V1alpha1StorageVersionStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha1StorageVersionStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-12T21:15:49.397498Z[Etc/UTC]",
comments="Generator version: 7.6.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) boolean
static V1alpha1StorageVersionStatus
Create an instance of V1alpha1StorageVersionStatus given an JSON stringIf all API server instances agree on the same encoding storage version, then this field is set to that version.The latest available observations of the storageVersion's state.The reported versions per API server instance.int
hashCode()
void
setCommonEncodingVersion
(String commonEncodingVersion) void
setConditions
(List<V1alpha1StorageVersionCondition> conditions) void
setStorageVersions
(List<V1alpha1ServerStorageVersion> storageVersions) storageVersions
(List<V1alpha1ServerStorageVersion> storageVersions) toJson()
Convert an instance of V1alpha1StorageVersionStatus 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_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
If all API server instances agree on the same encoding storage version, then this field is set to that version. Otherwise 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
-
addConditionsItem
public V1alpha1StorageVersionStatus addConditionsItem(V1alpha1StorageVersionCondition conditionsItem) -
getConditions
The latest available observations of the storageVersion's state.- Returns:
- conditions
-
setConditions
-
storageVersions
public V1alpha1StorageVersionStatus storageVersions(List<V1alpha1ServerStorageVersion> storageVersions) -
addStorageVersionsItem
public V1alpha1StorageVersionStatus addStorageVersionsItem(V1alpha1ServerStorageVersion storageVersionsItem) -
getStorageVersions
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
-