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:
-
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<Volume> volumes) voidsetWarnings(List<String> warnings) toJson()Convert an instance of ListResponse to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object 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
-
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
-
validateJsonObject
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
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
Convert an instance of ListResponse to an JSON string- Returns:
- JSON string
-