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

commonMain.com.bselzer.gw2.v2.model.pvp.rank.PvpRank.kt Maven / Gradle / Ivy

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy