GW2v2PvpSeason

@Serializable
data class GW2v2PvpSeason(val id: String, val name: String, val start: String, val end: String, val active: Boolean, val divisions: List<GW2v2PvpSeason.Division>, val ranks: List<GW2v2PvpSeason.Ranks>? = null, val leaderboards: GW2v2PvpSeason.Leaderboards)

Information about a PvP season.

Parameters

id

the PvP season's ID

name

the season's localized name

start

the ISO-8601 standard timestamp of when the season started

end

the ISO-8601 standard timestamp of when the season ended

active

whether the season is currently active

divisions

the season's divisions

ranks

the season's ranks

leaderboards

the season's leaderboards

Constructors

Link copied to clipboard
constructor(id: String, name: String, start: String, end: String, active: Boolean, divisions: List<GW2v2PvpSeason.Division>, ranks: List<GW2v2PvpSeason.Ranks>? = null, leaderboards: GW2v2PvpSeason.Leaderboards)

Types

Link copied to clipboard
@Serializable
data class Division(val name: String, val flags: List<String>, val largeIcon: String, val smallIcon: String, val pipIcon: String, val tiers: List<GW2v2PvpSeason.Division.Tier>)

Information about a division.

Link copied to clipboard
@Serializable
data class Leaderboards(val guild: GW2v2PvpSeason.Leaderboards.Leaderboard? = null, val ladder: GW2v2PvpSeason.Leaderboards.Leaderboard? = null, val legendary: GW2v2PvpSeason.Leaderboards.Leaderboard? = null)

Information about a seasons leaderboards.

Link copied to clipboard
@Serializable
data class Ranks(val name: String, val description: String, val icon: String, val overlay: String, val overlaySmall: String, val tiers: List<GW2v2PvpSeason.Ranks.Tier>)

Information about a season's ranks.

Properties

Link copied to clipboard

This field holds whether the season is currently active.

Link copied to clipboard

This field holds the season's divisions.

Link copied to clipboard
val end: String

This field holds the ISO-8601 standard timestamp of when the season ended.

Link copied to clipboard
val id: String

This field holds the PvP season's ID.

Link copied to clipboard

This field holds the season's leaderboards.

Link copied to clipboard

This field holds the season's localized name.

Link copied to clipboard

This field holds the season's ranks.

Link copied to clipboard

This field holds the ISO-8601 standard timestamp of when the season started.