CharacterBazaar

@Serializable
data class CharacterBazaar(val type: BazaarType, val filters: BazaarFilters = BazaarFilters(), val currentPage: Int, val totalPages: Int, val resultsCount: Int, val entries: List<Auction>) : PaginatedWithUrl<Auction> (source)

The Character Bazaar.

Constructors

Link copied to clipboard
constructor(type: BazaarType, filters: BazaarFilters = BazaarFilters(), currentPage: Int, totalPages: Int, resultsCount: Int, entries: List<Auction>)

Properties

Link copied to clipboard
open override val currentPage: Int

The currently viewed page.

Link copied to clipboard
open override val entries: List<Auction>

The entries in this page.

Link copied to clipboard

The currently active filters for the bazaar.

Link copied to clipboard
open val nextPageUrl: String?

Get the URL to the next page if there is any.

Link copied to clipboard

Get the URL to the previous page if there is any.

Link copied to clipboard
open override val resultsCount: Int

The total number of entries across all pages.

Link copied to clipboard
open override val totalPages: Int

The total number of pages.

Link copied to clipboard

The type of bazaar, current auctions or auction history.

Link copied to clipboard
val url: String

The URL to the bazaar with the current filters and page.

Functions

Link copied to clipboard
open override fun getPageUrl(page: Int): String

Get the URL to a specific page.