Class V1ImageVolumeStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1ImageVolumeStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-06-26T22:35:15.319369Z[Etc/UTC]",
comments="Generator version: 7.18.0")
public class V1ImageVolumeStatus
extends Object
ImageVolumeStatus represents the image-based volume status.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic V1ImageVolumeStatusCreate an instance of V1ImageVolumeStatus given an JSON stringImageRef is the digest of the image used for this volume.inthashCode()voidsetImageRef(String imageRef) toJson()Convert an instance of V1ImageVolumeStatus 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_IMAGE_REF
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1ImageVolumeStatus
public V1ImageVolumeStatus()
-
-
Method Details
-
imageRef
-
getImageRef
ImageRef is the digest of the image used for this volume. It should have a value that's similar to the pod's status.containerStatuses[i].imageID. The ImageRef length should not exceed 256 characters.- Returns:
- imageRef
-
setImageRef
-
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 V1ImageVolumeStatus
-
fromJson
Create an instance of V1ImageVolumeStatus given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1ImageVolumeStatus
- Throws:
IOException- if the JSON string is invalid with respect to V1ImageVolumeStatus
-
toJson
Convert an instance of V1ImageVolumeStatus to an JSON string- Returns:
- JSON string
-