DiscoveryPaginationResponse

data class DiscoveryPaginationResponse(val size: Int, val totalElements: Int, val totalPage: Int, val number: Int)

Represents pagination details in the Discovery API response.

Holds information about page size, total elements, and page number.

Constructors

Link copied to clipboard
constructor(size: Int, totalElements: Int, totalPage: Int, number: Int)

Properties

Link copied to clipboard
val number: Int

The current page number.

Link copied to clipboard
val size: Int

The number of elements per page.

Link copied to clipboard

The total number of elements.

Link copied to clipboard

The total number of pages.