Class LibpodImagesPullReport

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

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

  • Constructor Details

    • LibpodImagesPullReport

      public LibpodImagesPullReport()
  • Method Details

    • error

      public LibpodImagesPullReport error(String error)
    • getError

      @Nullable public String getError()
      Error contains text of errors from c/image
      Returns:
      error
    • setError

      public void setError(String error)
    • id

    • getId

      @Nullable public String getId()
      ID contains image id (retained for backwards compatibility)
      Returns:
      id
    • setId

      public void setId(String id)
    • images

      public LibpodImagesPullReport images(List<String> images)
    • addImagesItem

      public LibpodImagesPullReport addImagesItem(String imagesItem)
    • getImages

      @Nullable public List<String> getImages()
      Images contains the ID's of the images pulled
      Returns:
      images
    • setImages

      public void setImages(List<String> images)
    • stream

      public LibpodImagesPullReport stream(String stream)
    • getStream

      @Nullable public String getStream()
      Stream used to provide output from c/image
      Returns:
      stream
    • setStream

      public void setStream(String stream)
    • 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 LibpodImagesPullReport
    • fromJson

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

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