Consumable

constructor(itemId: GW2ItemId, name: String, type: String, iconFileId: String, iconFileSignature: String, description: String? = null, rarity: String, level: Int, vendorValue: Int, defaultSkin: Int? = null, flags: List<String>, gameTypes: List<String>, restrictions: List<String>, upgradeRecipes: List<GW2v1ItemDetails.Upgrade>? = null, consumable: GW2v1ItemDetails.Consumable.Consumable)

Parameters

itemId

the item's ID

name

the item's name

type

the item's type

iconFileId

the icon's file ID to be used with the render service

iconFileSignature

the icon's file signature to be used with the render service

description

the item's description

rarity

the item's rarity

level

the level required to use the item

vendorValue

the value in coins when selling the item to a vendor

defaultSkin

the ID of the item's default skin

flags

flags applying to the item

gameTypes

the game types in which the item is usable

restrictions

restrictions applied to the item

upgradeRecipes

lists what items this item can be upgraded from and into, and the method of upgrading