commonMain.com.bselzer.gw2.v2.model.legend.Legend.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.legend
import com.bselzer.gw2.v2.model.skill.SkillId
import com.bselzer.ktx.value.identifier.Identifiable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class Legend(
@SerialName("id")
override val id: LegendId = LegendId(),
/**
* The id used in build template chat links.
* @see the wiki
*/
@SerialName("code")
val code: LegendCode = LegendCode(),
/**
* The id of the profession skill used to swap to this legend.
* @see the wiki
*/
@SerialName("swap")
val swapLegendId: SkillId = SkillId(),
/**
* The id of the heal skill.
* @see the wiki
*/
@SerialName("heal")
val healId: SkillId = SkillId(),
/**
* The id of the elite skill.
* @see the wiki
*/
@SerialName("elite")
val eliteId: SkillId = SkillId(),
/**
* The ids of the utility skills.
* @see the wiki
*/
@SerialName("utilities")
val utilityIds: List = emptyList()
) : Identifiable