commonMain.com.bselzer.gw2.v2.model.pvp.rank.PvpRank.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.pvp.rank
import com.bselzer.gw2.v2.model.finisher.FinisherId
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 PvpRank(
/**
* The id of the rank.
* @see the wiki
*/
@SerialName("id")
override val id: PvpRankId = PvpRankId(),
/**
* The id of the finisher.
* @see the wiki
*/
@SerialName("finisher_id")
val finisherId: FinisherId = FinisherId(),
@SerialName("name")
val name: String = "",
@SerialName("icon")
val iconLink: ImageLink = ImageLink(),
/**
* The minimum PvP level to be at this rank.
*/
@SerialName("min_rank")
val minRank: Int = 0,
/**
* The maximum PvP level to be at this rank.
*/
@SerialName("max_rank")
val maxRank: Int = 0,
@SerialName("levels")
val levels: List = emptyList()
) : Identifiable