Class PruneReport

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

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class PruneReport extends Object implements Serializable
POST \"/volumes/prune\"
See Also:
  • Field Details

  • Constructor Details

    • PruneReport

      public PruneReport()
  • Method Details

    • err

      public PruneReport err(String err)
    • getErr

      @Nullable public String getErr()
      Get err
      Returns:
      err
    • setErr

      public void setErr(String err)
    • id

      public PruneReport id(String id)
    • getId

      @Nullable public String getId()
      Get id
      Returns:
      id
    • setId

      public void setId(String id)
    • size

      public PruneReport size(Integer size)
    • getSize

      @Nullable public Integer getSize()
      Get size
      Returns:
      size
    • setSize

      public void setSize(Integer size)
    • 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 PruneReport
    • fromJson

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

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