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

commonMain.com.bselzer.gw2.v2.model.guild.rank.GuildRank.kt Maven / Gradle / Ivy

The newest version!
package com.bselzer.gw2.v2.model.guild.rank

import com.bselzer.gw2.v2.model.guild.permission.GuildPermissionId
import com.bselzer.gw2.v2.model.wrapper.ImageLink
import com.bselzer.ktx.value.identifier.Identifiable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class GuildRank(
    /**
     * The name of the rank given by the leader.
     */
    @SerialName("id")
    override val id: GuildRankId = GuildRankId(),

    /**
     * The sorting order. The lower the value, the higher the priority.
     */
    @SerialName("order")
    val order: Int = Int.MAX_VALUE,

    /**
     * The ids of the permissions.
     * @see the wiki
     */
    @SerialName("permissions")
    val permissions: List = emptyList(),

    @SerialName("icon")
    val iconLink: ImageLink = ImageLink()
) : Identifiable




© 2015 - 2024 Weber Informatics LLC | Privacy Policy