commonMain.com.bselzer.gw2.v2.model.guild.log.UpgradeLog.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.log
import com.bselzer.gw2.v2.model.enumeration.wrapper.UpgradeAction
import com.bselzer.gw2.v2.model.item.ItemId
import com.bselzer.gw2.v2.model.recipe.RecipeId
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
@SerialName("upgrade")
data class UpgradeLog(
/**
* The type of interaction.
*/
@SerialName("action")
val action: UpgradeAction = UpgradeAction(),
/**
* The id of the upgrade.
* @see the wiki
*/
@SerialName("upgrade_id")
val upgradeId: ItemId = ItemId(),
/**
* The id of the recipe.
* @see the wiki
*/
@SerialName("recipe_id")
val recipeId: RecipeId = RecipeId(),
/**
* The number of upgrades.
*/
@SerialName("count")
val count: Int = 0
) : GuildLog()