commonMain.com.bselzer.gw2.v2.model.skill.fact.SkillTimeFact.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of v2-model-jvm Show documentation
Show all versions of v2-model-jvm Show documentation
Guild Wars 2 API models for v2-client.
The newest version!
package com.bselzer.gw2.v2.model.skill.fact
import com.bselzer.ktx.serialization.serializer.SecondDurationSerializer
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlin.time.Duration
@Serializable
@SerialName("Time")
data class SkillTimeFact(
/**
* The time value in seconds.
*/
@Serializable(with = SecondDurationSerializer::class)
@SerialName("duration")
val duration: Duration = Duration.ZERO
) : SkillFact()