commonMain.com.bselzer.gw2.v2.model.account.currency.AccountCurrency.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.account.currency
import com.bselzer.gw2.v2.model.currency.CurrencyId
import com.bselzer.ktx.value.identifier.Identifiable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class AccountCurrency(
/**
* The id of the currency.
* @see the wiki
*/
@SerialName("id")
override val id: CurrencyId = CurrencyId(),
/**
* The amount of the currency.
*/
@SerialName("value")
val count: Int = 0
) : Identifiable