Class ListResponse
java.lang.Object
io.github.alersrt.pod4j.openapi.model.ListResponse
@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 ListResponse
extends Object
Volume list response
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddVolumesItem(Volume volumesItem) addWarningsItem(String warningsItem) booleanstatic ListResponseCreate an instance of ListResponse given an JSON stringList of volumesWarnings that occurred when fetching the list of volumes.inthashCode()voidsetVolumes(List<@Valid Volume> volumes) voidsetWarnings(List<String> warnings) toJson()Convert an instance of ListResponse to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_VOLUMES
- See Also:
-
SERIALIZED_NAME_WARNINGS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ListResponse
public ListResponse()
-
-
Method Details
-
validateJsonElement
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
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
-
volumes
-
addVolumesItem
-
getVolumes
List of volumes- Returns:
- volumes
-
setVolumes
-
warnings
-
addWarningsItem
-
getWarnings
Warnings that occurred when fetching the list of volumes.- Returns:
- warnings
-
setWarnings
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of ListResponse to an JSON string- Returns:
- JSON string
-