All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.bselzer.gw2.v2.model.finisher.Finisher.kt Maven / Gradle / Ivy

The newest version!
package com.bselzer.gw2.v2.model.finisher

import com.bselzer.gw2.v2.model.item.ItemId
import com.bselzer.gw2.v2.model.wrapper.ImageLink
import com.bselzer.ktx.value.identifier.Identifiable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class Finisher(
    @SerialName("id")
    override val id: FinisherId = FinisherId(),

    /**
     * The description of how to unlock this finisher.
     */
    @SerialName("unlock_details")
    val unlockDescription: String = "",

    /**
     * The ids of the items used to unlock this finisher.
     * @see the wiki
     */
    @SerialName("unlock_items")
    val unlockItemIds: List = emptyList(),

    /**
     * The order in which this finisher appears in a list.
     */
    @SerialName("order")
    val order: Int = 0,

    @SerialName("icon")
    val iconLink: ImageLink = ImageLink(),

    @SerialName("name")
    val name: String = ""
) : Identifiable




© 2015 - 2024 Weber Informatics LLC | Privacy Policy