Class ListResponse

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

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

  • Constructor Details

    • ListResponse

      public ListResponse()
  • Method Details

    • volumes

      public ListResponse volumes(List<Volume> volumes)
    • addVolumesItem

      public ListResponse addVolumesItem(Volume volumesItem)
    • getVolumes

      @Nullable @Valid public @Valid List<Volume> getVolumes()
      List of volumes
      Returns:
      volumes
    • setVolumes

      public void setVolumes(List<Volume> volumes)
    • warnings

      public ListResponse warnings(List<String> warnings)
    • addWarningsItem

      public ListResponse addWarningsItem(String warningsItem)
    • getWarnings

      @Nullable public List<String> getWarnings()
      Warnings that occurred when fetching the list of volumes.
      Returns:
      warnings
    • setWarnings

      public void setWarnings(List<String> warnings)
    • 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 ListResponse
    • fromJson

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

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