Class ImagePropertiesSize

java.lang.Object
io.github.alersrt.pod4j.openapi.model.ImagePropertiesSize
All Implemented Interfaces:
Serializable

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ImagePropertiesSize extends Object implements Serializable
ImagePropertiesSize
See Also:
  • Field Details

  • Constructor Details

    • ImagePropertiesSize

      public ImagePropertiesSize()
  • Method Details

    • unpacked

      public ImagePropertiesSize unpacked(Long unpacked)
    • getUnpacked

      @Nonnull @NotNull public @NotNull Long getUnpacked()
      Unpacked is the size (in bytes) of the locally unpacked (uncompressed) image content that's directly usable by the containers running this image. It's independent of the distributable content - e.g. the image might still have an unpacked data that's still used by some container even when the distributable/compressed content is already gone.
      Returns:
      unpacked
    • setUnpacked

      public void setUnpacked(Long unpacked)
    • 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
    • validateJsonObject

      public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
      Validates the JSON Object and throws an exception if issues found
      Parameters:
      jsonObj - JSON Object
      Throws:
      IOException - if the JSON Object is invalid with respect to ImagePropertiesSize
    • fromJson

      public static ImagePropertiesSize fromJson(String jsonString) throws IOException
      Create an instance of ImagePropertiesSize given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of ImagePropertiesSize
      Throws:
      IOException - if the JSON string is invalid with respect to ImagePropertiesSize
    • toJson

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