io.github.kryszak.gwatlin.api.achievement.model.Achievement.kt Maven / Gradle / Ivy
The newest version!
package io.github.kryszak.gwatlin.api.achievement.model
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
/**
* Data model for achievement object
*/
@Serializable
data class Achievement(
val id: Int,
val name: String,
val description: String,
val requirement: String,
@SerialName("locked_text") val lockedText: String,
val type: String,
val flags: List = listOf(),
val tiers: List = listOf(),
val rewards: List = listOf(),
val bits: List = listOf()
)