Are you an LLM? You can read better optimized documentation at /en/message-templates/types/storage/page.md for this page in Markdown format
Page
This data type describes a page of objects.
TIP
The values with this data type are iterable and can be used in for loops directly.
Properties
| Property | Type | Description |
|---|---|---|
content | List | List of elements currently on this page |
number | Number | Page number (starts from 0) |
size | Number | Page size |
numberOfElements | Number | The number of elements currently on this page |
totalElements | Number | The total amount of elements in the page source |
totalPages | Number | The number of total pages in the source |
sort | String | Sorting direction (DESC if descending, ASC if ascending) |
hasContent | Boolean | Returns true if page has content at all |
hasNext | Boolean | Returns true if there's a next page |
isFirst | Boolean | Returns true if it's the first page |
isLast | Boolean | Returns true if it's the last page |