PaginationInfo¶
Example Json Object
1{
2 "number": 0,
3 "size": 0,
4 "totalElements": 0,
5 "totalPages": 0,
6 "first": true,
7 "last": true,
8 "empty": true,
9 "numberOfElements": 0
10}
📄 Description: PaginationInfo is a data transfer object that encapsulates the details necessary for managing the pagination of data sets, including total item count and current page information, thereby enhancing user experience in navigating large collections of business data.
Properties
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
number |
integer(int32) |
false |
none |
Represents the current page number in the pagination sequence, facilitating efficient data retrieval and navigation within large datasets. |
size |
integer(int32) |
false |
none |
Number of items per page |
totalElements |
integer(int64) |
false |
none |
Total number of items available |
totalPages |
integer(int32) |
false |
none |
Total number of pages available |
first |
boolean |
false |
none |
Whether this is the first page |
last |
boolean |
false |
none |
Whether this is the last page |
empty |
boolean |
false |
none |
Whether the result set is empty |
numberOfElements |
integer(int32) |
false |
none |
Represents the total count of elements in the current page of results, facilitating effective pagination in data retrieval. |