commonMain.com.bselzer.gw2.v2.model.guild.rank.GuildRank.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of v2-model-jvm Show documentation
Show all versions of v2-model-jvm Show documentation
Guild Wars 2 API models for v2-client.
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