Cursors

data class Cursors(val before: String?, val after: String?)

Represents the Cursors model of the Clash of Clans API. Cursors are used for pagination, providing references to the "before" and "after" elements in a list.

Constructors

Link copied to clipboard
constructor(before: String?, after: String?)

Properties

Link copied to clipboard

The cursor pointing to the element after the current page in the list. It is null for the last page of results.

Link copied to clipboard

The cursor pointing to the element before the current page in the list. It is null for the first page of results.