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

commonMain.com.bselzer.gw2.v2.model.novelty.Novelty.kt Maven / Gradle / Ivy

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

import com.bselzer.gw2.v2.model.enumeration.wrapper.NoveltySlot
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 Novelty(
    @SerialName("id")
    override val id: NoveltyId = NoveltyId(),

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

    @SerialName("description")
    val description: String = "",

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

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

    @SerialName("slot")
    val slot: NoveltySlot = NoveltySlot()
) : Identifiable




© 2015 - 2024 Weber Informatics LLC | Privacy Policy