commonMain.com.bselzer.gw2.v2.model.pvp.hero.PvpHero.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.pvp.hero
import com.bselzer.gw2.v2.model.enumeration.wrapper.PvpHeroName
import com.bselzer.gw2.v2.model.enumeration.wrapper.PvpHeroType
import com.bselzer.gw2.v2.model.pvp.hero.skin.PvpHeroSkin
import com.bselzer.gw2.v2.model.pvp.hero.stat.PvpHeroStats
import com.bselzer.gw2.v2.model.wrapper.ImageLink
import com.bselzer.ktx.value.identifier.Identifiable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class PvpHero(
/**
* The id of the hero in the form of a UUID.
*/
@SerialName("id")
override val id: PvpHeroId = PvpHeroId(),
@SerialName("name")
val name: PvpHeroName = PvpHeroName(),
@SerialName("type")
val type: PvpHeroType = PvpHeroType(),
@SerialName("description")
val description: String = "",
@SerialName("stats")
val stats: PvpHeroStats = PvpHeroStats(),
@SerialName("overlay")
val overlayLink: ImageLink = ImageLink(),
@SerialName("underlay")
val underlayLink: ImageLink = ImageLink(),
@SerialName("skins")
val skins: List = emptyList()
) : Identifiable