commonMain.com.bselzer.gw2.v2.model.character.equipment.CharacterItemStat.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.character.equipment
import com.bselzer.gw2.v2.model.enumeration.wrapper.AttributeName
import com.bselzer.gw2.v2.model.itemstat.ItemStatId
import com.bselzer.ktx.value.identifier.Identifiable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class CharacterItemStat(
/**
* The id of the item stat.
* @see the wiki
*/
@SerialName("id")
override val id: ItemStatId = ItemStatId(),
/**
* The name of the stats mapped to the amounts.
* @see the wiki
*/
@SerialName("attributes")
val attributes: Map = emptyMap()
) : Identifiable