Class LibpodImagesRemoveReport

java.lang.Object
io.github.alersrt.pod4j.openapi.model.LibpodImagesRemoveReport

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-11-29T01:29:49.168634544+07:00[Asia/Barnaul]", comments="Generator version: 7.7.0") public class LibpodImagesRemoveReport extends Object
LibpodImagesRemoveReport is the return type for image removal via the rest api.
  • Field Details

  • Constructor Details

    • LibpodImagesRemoveReport

      public LibpodImagesRemoveReport()
  • Method Details

    • 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 LibpodImagesRemoveReport
    • fromJson

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

      public LibpodImagesRemoveReport deleted(List<String> deleted)
    • addDeletedItem

      public LibpodImagesRemoveReport addDeletedItem(String deletedItem)
    • getDeleted

      @Nullable public List<String> getDeleted()
      Deleted images.
      Returns:
      deleted
    • setDeleted

      public void setDeleted(List<String> deleted)
    • errors

      public LibpodImagesRemoveReport errors(List<String> errors)
    • addErrorsItem

      public LibpodImagesRemoveReport addErrorsItem(String errorsItem)
    • getErrors

      @Nullable public List<String> getErrors()
      Image removal requires is to return data and an error.
      Returns:
      errors
    • setErrors

      public void setErrors(List<String> errors)
    • exitCode

      public LibpodImagesRemoveReport exitCode(Long exitCode)
    • getExitCode

      @Nullable public Long getExitCode()
      ExitCode describes the exit codes as described in the `podman rmi` man page.
      Returns:
      exitCode
    • setExitCode

      public void setExitCode(Long exitCode)
    • untagged

      public LibpodImagesRemoveReport untagged(List<String> untagged)
    • addUntaggedItem

      public LibpodImagesRemoveReport addUntaggedItem(String untaggedItem)
    • getUntagged

      @Nullable public List<String> getUntagged()
      Untagged images. Can be longer than Deleted.
      Returns:
      untagged
    • setUntagged

      public void setUntagged(List<String> untagged)
    • 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
    • toJson

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