commonMain.com.bselzer.gw2.v2.model.achievement.group.AchievementGroup.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.achievement.group
import com.bselzer.gw2.v2.model.achievement.category.AchievementCategoryId
import com.bselzer.ktx.value.identifier.Identifiable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class AchievementGroup(
/**
* The id in the form of a UUID.
*/
@SerialName("id")
override val id: AchievementGroupId = AchievementGroupId(),
@SerialName("name")
val name: String = "",
@SerialName("description")
val description: String = "",
/**
* The order of this group among other groups. The lower the order, the higher the priority.
*/
@SerialName("order")
val order: Int = Int.MAX_VALUE,
/**
* The ids of achievement categories.
* @see the wiki
*/
@SerialName("categories")
val categories: List = emptyList()
) : Identifiable