Package ai.reveng.model
Class ListCollectionsOutputBody
java.lang.Object
ai.reveng.model.ListCollectionsOutputBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ListCollectionsOutputBody
extends Object
ListCollectionsOutputBody
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddResultsItem(CollectionListItemBody resultsItem) booleanstatic ListCollectionsOutputBodyCreate an instance of ListCollectionsOutputBody given an JSON stringGet hasNextPageGet pageNumberGet pageSizeGet resultsinthashCode()hasNextPage(Boolean hasNextPage) pageNumber(Long pageNumber) results(List<CollectionListItemBody> results) voidsetHasNextPage(Boolean hasNextPage) voidsetPageNumber(Long pageNumber) voidsetPageSize(Long pageSize) voidsetResults(List<CollectionListItemBody> results) toJson()Convert an instance of ListCollectionsOutputBody 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_HAS_NEXT_PAGE
- See Also:
-
SERIALIZED_NAME_PAGE_NUMBER
- See Also:
-
SERIALIZED_NAME_PAGE_SIZE
- See Also:
-
SERIALIZED_NAME_RESULTS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ListCollectionsOutputBody
public ListCollectionsOutputBody()
-
-
Method Details
-
hasNextPage
-
getHasNextPage
Get hasNextPage- Returns:
- hasNextPage
-
setHasNextPage
-
pageNumber
-
getPageNumber
Get pageNumber- Returns:
- pageNumber
-
setPageNumber
-
pageSize
-
getPageSize
Get pageSize- Returns:
- pageSize
-
setPageSize
-
results
-
addResultsItem
-
getResults
Get results- Returns:
- results
-
setResults
-
equals
-
hashCode
public int hashCode() -
toString
-
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 ListCollectionsOutputBody
-
fromJson
Create an instance of ListCollectionsOutputBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ListCollectionsOutputBody
- Throws:
IOException- if the JSON string is invalid with respect to ListCollectionsOutputBody
-
toJson
Convert an instance of ListCollectionsOutputBody to an JSON string- Returns:
- JSON string
-