commonMain.com.bselzer.gw2.v2.model.guild.log.StashLog.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.log
import com.bselzer.gw2.v2.model.enumeration.wrapper.StashOperation
import com.bselzer.gw2.v2.model.item.ItemId
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
@SerialName("stash")
data class StashLog(
/**
* The type of operation performed on the stash.
*/
@SerialName("operation")
val operation: StashOperation = StashOperation(),
/**
* The id of the item associated with the operation.
* @see the wiki
*/
@SerialName("item_id")
val itemId: ItemId = ItemId(),
/**
* The number of the item with the [itemId] being operated with.
*/
@SerialName("count")
val count: Int = 0,
/**
* The amount of copper coins operated with.
*/
@SerialName("coins")
val coins: Int = 0
) : GuildLog()