commonMain.com.bselzer.gw2.v2.model.trait.fact.TraitRechargeFact.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.trait.fact
import com.bselzer.ktx.serialization.serializer.SecondDurationSerializer
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlin.time.Duration
@Serializable
@SerialName("Recharge")
data class TraitRechargeFact(
/**
* The recharge time in seconds.
*/
@Serializable(with = SecondDurationSerializer::class)
@SerialName("value")
val value: Duration = Duration.ZERO
) : TraitFact()