commonMain.com.bselzer.gw2.v2.model.account.finisher.AccountFinisher.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of v2-model Show documentation
Show all versions of v2-model Show documentation
Guild Wars 2 API models for v2-client.
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