PaginationContainer

@Serializable
data class PaginationContainer<T>

A page of results returned by a Wemap backend service.

Type Parameters

T

The type of the contained results.

Properties

Link copied to clipboard
val count: Int

The total number of results available, across all pages.

Link copied to clipboard
val next: String?

The URL of the next page, or null on the last page.

Link copied to clipboard

The URL of the previous page, or null on the first page.

Link copied to clipboard
val results: List<T>

The results on this page.