PaginationResult

constructor(page: Int, results: List<T>, pagesNumber: Int, size: Int)(source)


constructor(page: Int, size: Int, results: List<T>, objectsNumber: Long)(source)

Parameters

page

Current page number

size

Current page size. It can be greater than size of results

results

Result objects

objectsNumber

Count of all objects across all pages