PageMetadata

data class PageMetadata(@Json(name = "number") val number: Int, @Json(name = "size") val propertySize: Int, @Json(name = "totalPages") val totalPages: Int, @Json(name = "totalElements") val totalElements: Int)

Information about the current and available page of elements. Pages are returned from list operations which could contain a lot of elements. One page contains a subset of the available elements. API users can retrieve all pages in order to retrieve all of the available elements.

Parameters

number

The index of the current page. Page indexes start at zero.

propertySize

The number of elements in the current page.

totalPages

The total number of pages.

totalElements

The total number of elements across all pages.

Constructors

Link copied to clipboard
constructor(@Json(name = "number") number: Int, @Json(name = "size") propertySize: Int, @Json(name = "totalPages") totalPages: Int, @Json(name = "totalElements") totalElements: Int)

Properties

Link copied to clipboard
val number: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard