GW2v2Item
constructor(id: GW2ItemId, name: String, type: String, chatLink: String, icon: String? = null, description: String? = null, rarity: String, level: Int, vendorValue: Int, defaultSkin: GW2SkinId? = null, flags: List<String>, gameTypes: List<String>, restrictions: List<String>, upgradesInto: List<GW2v2Item.Upgrade>? = null, upgradesFrom: List<GW2v2Item.Precursor>? = null, details: GW2v2Item.Details? = null)
Parameters
id
the item's ID
name
the item's name
type
the item's type
chatLink 
the chat link
icon
the URL for the item's icon
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
upgradesInto 
lists what items this item can be upgraded into, and the method of upgrading
upgradesFrom 
lists what items this item can be upgraded from, and the method of upgrading
details
additional information about the item