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.
  • Field Details

  • Constructor Details

    • V1VolumeStatus

      public V1VolumeStatus()
  • Method Details

    • image

      public V1VolumeStatus image(@Nullable V1ImageVolumeStatus image)
    • getImage

      @Nullable public V1ImageVolumeStatus getImage()
      Get image
      Returns:
      image
    • setImage

      public void setImage(@Nullable V1ImageVolumeStatus image)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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

      public static V1VolumeStatus fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of V1VolumeStatus to an JSON string
      Returns:
      JSON string