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

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

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

import com.bselzer.gw2.v2.model.finisher.FinisherId
import com.bselzer.ktx.value.identifier.Identifiable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class AccountFinisher(
    /**
     * The id of the finisher.
     * @see the wiki
     */
    @SerialName("id")
    override val id: FinisherId = FinisherId(),

    /**
     * Whether the finisher is permanent or temporary.
     */
    @SerialName("permanent")
    val permanent: Boolean = false,

    /**
     * The number of uses, if the finisher is temporary.
     */
    @SerialName("quantity")
    val count: Int = 0
) : Identifiable




© 2015 - 2024 Weber Informatics LLC | Privacy Policy