PaginationInfo

data class PaginationInfo(val nextPage: Int? = null, val totalPages: Int = 0, val totalRecords: Int = 0)

PaginationInfo is the model for pagination related data.

Constructors

Link copied to clipboard
constructor(nextPage: Int? = null, totalPages: Int = 0, totalRecords: Int = 0)

Properties

Link copied to clipboard
val nextPage: Int? = null

Int? The next page number. If null, there are no more pages.

Link copied to clipboard
val totalPages: Int = 0

Int The total number of pages.

Link copied to clipboard
val totalRecords: Int = 0

Int The total number of records for the current page.