Class V1VolumeStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1VolumeStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-06-26T22:35:15.319369Z[Etc/UTC]",
comments="Generator version: 7.18.0")
public class V1VolumeStatus
extends Object
VolumeStatus represents the status of a mounted volume. At most one of its members must be specified.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic V1VolumeStatusCreate an instance of V1VolumeStatus given an JSON stringgetImage()Get imageinthashCode()image(V1ImageVolumeStatus image) voidsetImage(V1ImageVolumeStatus image) toJson()Convert an instance of V1VolumeStatus 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
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1VolumeStatus
public V1VolumeStatus()
-
-
Method Details
-
image
-
getImage
Get image- Returns:
- image
-
setImage
-
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 V1VolumeStatus
-
fromJson
Create an instance of V1VolumeStatus given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1VolumeStatus
- Throws:
IOException- if the JSON string is invalid with respect to V1VolumeStatus
-
toJson
Convert an instance of V1VolumeStatus to an JSON string- Returns:
- JSON string
-