All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.bselzer.gw2.v2.model.achievement.group.AchievementGroup.kt Maven / Gradle / Ivy

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy