commonMain.com.bselzer.gw2.v2.model.guild.treasury.GuildTreasurySlot.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.guild.treasury
import com.bselzer.gw2.v2.model.item.ItemId
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class GuildTreasurySlot(
/**
* The id of the item.
* @see the wiki
*/
@SerialName("item_id")
val itemId: ItemId = ItemId(),
/**
* The number of the item in the stack.
*/
@SerialName("count")
val count: Int = 0,
/**
* The guild upgrades that need the item.
*/
@SerialName("needed_by")
val neededBy: List = emptyList()
)