GW2v2PvpSeasonsLeaderboardEntry

@Serializable
data class GW2v2PvpSeasonsLeaderboardEntry(val name: String? = null, val id: String? = null, val rank: Int, val team: String? = null, val teamId: Int? = null, val date: String, val scores: List<GW2v2PvpSeasonsLeaderboardEntry.Scoring>)

Information about a leaderboard entry.

Parameters

name

the account's name

id

the guild's ID

rank

the account's rank

team

the guild team's name

teamId

the guild team's ID

date

the date at which the rank was reached

scores

the entry's scoring values

Constructors

Link copied to clipboard
constructor(name: String? = null, id: String? = null, rank: Int, team: String? = null, teamId: Int? = null, date: String, scores: List<GW2v2PvpSeasonsLeaderboardEntry.Scoring>)

Types

Link copied to clipboard
@Serializable
data class Scoring(val id: String, val value: Int)

Information about a leaderboard entry's scoring

Properties

Link copied to clipboard

This field holds the date at which the rank was reached.

Link copied to clipboard
val id: String? = null

This field holds the guild's ID.

Link copied to clipboard
val name: String? = null

This field holds the account's name.

Link copied to clipboard
val rank: Int

This field holds the account's rank.

Link copied to clipboard

This field holds the entry's scoring values.

Link copied to clipboard
val team: String? = null

This field holds the guild team's name.

Link copied to clipboard
@SerialName(value = "team_id")
val teamId: Int? = null

This field holds the guild team's ID.