Cursor Based Paging Object
constructor(href: String, items: List<T>, limit: Int, next: String? = null, cursor: Cursor? = null, total: Int = 0, offset: Int = 0, previous: String? = null)(source)
Parameters
href
A link to the Web API endpoint returning the full result of the request.
items
The requested data.
limit
The maximum number of items in the response (as set in the query or by default).
next
URL to the next page of items. ( null if none)
total
The maximum number of items available to return.
cursor
The cursors used to find the next set of items. If items is empty, cursor may be null.