Recipe

@Serializable
data class Recipe(val id: Int, val type: String, val outputItemId: Int, val outputItemCount: Int, val timeToCraftMs: Int, val disciplines: List<String>, val minRating: Int, val flags: List<String>, val ingredients: List<Ingredient>, val guildIngredients: List<GuildIngredient> = listOf(), val outputUpgradeId: Int? = null, val chatLink: String)

Data model for recipe object

Constructors

Link copied to clipboard
constructor(id: Int, type: String, outputItemId: Int, outputItemCount: Int, timeToCraftMs: Int, disciplines: List<String>, minRating: Int, flags: List<String>, ingredients: List<Ingredient>, guildIngredients: List<GuildIngredient> = listOf(), outputUpgradeId: Int? = null, chatLink: String)

Properties

Link copied to clipboard
@SerialName(value = "chat_link")
val chatLink: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "guild_ingredients")
val guildIngredients: List<GuildIngredient>
Link copied to clipboard
val id: Int
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "min_rating")
val minRating: Int
Link copied to clipboard
@SerialName(value = "output_item_count")
val outputItemCount: Int
Link copied to clipboard
@SerialName(value = "output_item_id")
val outputItemId: Int
Link copied to clipboard
@SerialName(value = "output_upgrade_id")
val outputUpgradeId: Int? = null
Link copied to clipboard
@SerialName(value = "time_to_craft_ms")
val timeToCraftMs: Int
Link copied to clipboard