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 stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get hasNextPageGet pageNumberGet pageSizeinthashCode()hasNextPage(Boolean hasNextPage) pageNumber(Integer pageNumber) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.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
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the PaginationModel instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
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
-