commonMain.com.bselzer.gw2.v2.model.character.progression.CharacterCrafting.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of v2-model-jvm Show documentation
Show all versions of v2-model-jvm Show documentation
Guild Wars 2 API models for v2-client.
The newest version!
package com.bselzer.gw2.v2.model.character.progression
import com.bselzer.gw2.v2.model.enumeration.wrapper.CraftingDiscipline
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class CharacterCrafting(
/**
* The name of the discipline.
* @see the wiki
*/
@SerialName("discipline")
val discipline: CraftingDiscipline = CraftingDiscipline(),
/**
* The discipline level.
*/
@SerialName("rating")
val level: Int = 0,
/**
* Whether this discipline is currently active on the character.
*/
@SerialName("active")
val isActive: Boolean = false
)