GW2v2Account

@Serializable
data class GW2v2Account(val id: String, val age: Int, val name: String, val world: Int, val guilds: List<String>, val guildLeader: List<String>? = null, val created: String, val access: List<String>, val commander: Boolean, val fractalLevel: Int? = null, val dailyAP: Int? = null, val monthlyAP: Int? = null, val wvwRank: Int? = null, val lastModified: String, val buildStorageSlots: Int? = null)

Information about a player's account.

Parameters

id

the unique persistent account GUID

age

the age of the account in seconds

name

the unique account name

world

the ID of the home world the account is assigned to

guilds

an array containing the IDs of all guilds the account is a member in

guildLeader

an array containing the IDs of all guilds the account is a leader of

created

the ISO-8601 standard timestamp of when the account was created

access

an array of what content this account has access to

commander

a flag indicating whether the commander tag is unlocked for the account

fractalLevel

the account's personal fractal level

dailyAP

the daily AP the account has

monthlyAP

the monthly AP the account has

wvwRank

the account's personal wvw rank

lastModified

the ISO-8601 standard timestamp of when the account information last changed (as perceived by the API)

buildStorageSlots

the number of the account's account-wide build storage slots unlocked

Constructors

Link copied to clipboard
constructor(id: String, age: Int, name: String, world: Int, guilds: List<String>, guildLeader: List<String>? = null, created: String, access: List<String>, commander: Boolean, fractalLevel: Int? = null, dailyAP: Int? = null, monthlyAP: Int? = null, wvwRank: Int? = null, lastModified: String, buildStorageSlots: Int? = null)

Properties

Link copied to clipboard

This field holds an array of what content this account has access to.

Link copied to clipboard
val age: Int

This field holds the age of the account in seconds.

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

This field holds the number of the account's account-wide build storage slots unlocked.

Link copied to clipboard

This field holds a flag indicating whether the commander tag is unlocked for the account.

Link copied to clipboard

This field holds the ISO-8601 standard timestamp of when the account was created.

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

This field holds the daily AP the account has.

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

This field holds the account's personal fractal level.

Link copied to clipboard
@SerialName(value = "guild_leader")
val guildLeader: List<String>? = null

This field holds an array containing the IDs of all guilds the account is a leader of.

Link copied to clipboard

This field holds an array containing the IDs of all guilds the account is a member in.

Link copied to clipboard
val id: String

This field holds the unique persistent account GUID.

Link copied to clipboard
@SerialName(value = "last_modified")
val lastModified: String

This field holds the ISO-8601 standard timestamp of when the account information last changed (as perceived by the API).

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

This field holds the monthly AP the account has.

Link copied to clipboard

This field holds the unique account name.

Link copied to clipboard
val world: Int

This field holds the ID of the home world the account is assigned to.

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

This field holds the account's personal wvw rank.