commonMain.com.bselzer.gw2.v2.model.pet.PetId.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.pet
import com.bselzer.ktx.value.identifier.ByteIdentifier
import kotlinx.serialization.Serializable
import kotlin.jvm.JvmInline
/**
* The id of a pet.
* @see the wiki
*/
@Serializable
@JvmInline
value class PetId(override val value: Byte = 0) : ByteIdentifier {
override fun toString(): String = value.toString()
}