Class ListResponse

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-11-19T11:19:05.435500352+07:00[Asia/Barnaul]", comments="Generator version: 7.7.0") public class ListResponse extends Object
Volume list response
  • Field Details

  • Constructor Details

    • ListResponse

      public ListResponse()
  • Method Details

    • volumes

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

      public ListResponse addVolumesItem(Volume volumesItem)
    • getVolumes

      @Nullable public 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
    • 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 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