commonMain.com.bselzer.gw2.v2.model.guild.team.GuildTeam.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of v2-model Show documentation
Show all versions of v2-model Show documentation
Guild Wars 2 API models for v2-client.
The newest version!
package com.bselzer.gw2.v2.model.guild.team
import com.bselzer.gw2.v2.model.enumeration.wrapper.PvpLadderType
import com.bselzer.gw2.v2.model.pvp.game.PvpGame
import com.bselzer.gw2.v2.model.pvp.stat.StatAggregate
import com.bselzer.ktx.value.identifier.Identifiable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class GuildTeam(
/**
* The id of the team unique to this guild only.
*/
@SerialName("id")
override val id: GuildTeamId = GuildTeamId(),
@SerialName("members")
val members: List = emptyList(),
@SerialName("name")
val name: String = "",
/**
* The total count of wins and losses.
*/
@SerialName("aggregate")
val totalAggregate: StatAggregate = StatAggregate(),
/**
* The ladder types mapped to an aggregate.
*/
@SerialName("ladders")
val ladderAggregate: Map = emptyMap(),
/**
* The games. The profession will always be omitted.
*/
@SerialName("games")
val games: List = emptyList(),
@SerialName("seasons")
val seasons: List = emptyList()
) : Identifiable