commonMain.com.bselzer.gw2.v2.model.guild.treasury.TreasuryUpgrade.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.guild.treasury
import com.bselzer.gw2.v2.model.guild.upgrade.GuildUpgradeId
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class TreasuryUpgrade(
/**
* The id of the upgrade.
* @see the wiki
*/
@SerialName("upgrade_id")
val upgradeId: GuildUpgradeId = GuildUpgradeId(),
/**
* The number of the item required.
*/
@SerialName("count")
val count: Int = 0,
)