Ingredient

@Serializable
data class Ingredient(val itemId: GW2ItemId, val count: Long)

Information about a recipe ingredient.

Parameters

itemId

the ingredient's item ID

count

the quantity of this ingredient

Constructors

Link copied to clipboard
constructor(itemId: GW2ItemId, count: Long)

Properties

Link copied to clipboard
val count: Long

This field holds the quantity of this ingredient.

Link copied to clipboard
@SerialName(value = "item_id")
val itemId: GW2ItemId

This field holds the ingredient's item ID.