PlayerRankingList

data class PlayerRankingList(val items: List<PlayerRanking>, val paging: Paging?) : ApiListResponse<PlayerRanking>

Represents the PlayerRankingList model of the Clash of Clans API. The PlayerRankingList data class stores a list of player rankings.

Constructors

Link copied to clipboard
constructor(items: List<PlayerRanking>, paging: Paging?)

Properties

Link copied to clipboard
open override val items: List<PlayerRanking>

A list of player rankings.

Link copied to clipboard
open override val paging: Paging?

The pagination information for navigating through the list (optional).