All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.bselzer.gw2.v2.model.guild.log.StashLog.kt Maven / Gradle / Ivy

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()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy