commonMain.com.bselzer.gw2.v2.model.account.mastery.AccountMastery.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.account.mastery
import com.bselzer.gw2.v2.model.mastery.Mastery
import com.bselzer.gw2.v2.model.mastery.MasteryId
import com.bselzer.ktx.value.identifier.Identifiable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class AccountMastery(
/**
* The id of the mastery.
* @see the wiki
*/
@SerialName("id")
override val id: MasteryId = MasteryId(),
/**
* The index into the [Mastery.levels] collection.
*/
@SerialName("level")
val level: Int = 0
) : Identifiable