Package ai.reveng.model
Class PaginationModel
java.lang.Object
ai.reveng.model.PaginationModel
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class PaginationModel
extends Object
PaginationModel
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic PaginationModelCreate an instance of PaginationModel given an JSON stringGet hasNextPageGet pageNumberGet pageSizeinthashCode()hasNextPage(Boolean hasNextPage) pageNumber(Integer pageNumber) voidsetHasNextPage(Boolean hasNextPage) voidsetPageNumber(Integer pageNumber) voidsetPageSize(Integer pageSize) toJson()Convert an instance of PaginationModel 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_PAGE_SIZE
- See Also:
-
SERIALIZED_NAME_PAGE_NUMBER
- See Also:
-
SERIALIZED_NAME_HAS_NEXT_PAGE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PaginationModel
public PaginationModel()
-
-
Method Details
-
pageSize
-
getPageSize
Get pageSize- Returns:
- pageSize
-
setPageSize
-
pageNumber
-
getPageNumber
Get pageNumber- Returns:
- pageNumber
-
setPageNumber
-
hasNextPage
-
getHasNextPage
Get hasNextPage- Returns:
- hasNextPage
-
setHasNextPage
-
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 PaginationModel
-
fromJson
Create an instance of PaginationModel given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaginationModel
- Throws:
IOException- if the JSON string is invalid with respect to PaginationModel
-
toJson
Convert an instance of PaginationModel to an JSON string- Returns:
- JSON string
-