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

commonMain.com.bselzer.gw2.v2.model.pvp.leaderboard.PvpLeaderboard.kt Maven / Gradle / Ivy

The newest version!
package com.bselzer.gw2.v2.model.pvp.leaderboard

import com.bselzer.gw2.v2.model.account.AccountName
import kotlinx.datetime.Instant
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class PvpLeaderboard(
    /**
     * The account name.
     */
    @SerialName("name")
    val name: AccountName = AccountName(),

    /**
     * The rank for the player or guild.
     */
    @SerialName("rank")
    val rank: Int = 0,

    /**
     * The date when the rank was achieved.
     */
    @SerialName("date")
    val achievedAt: Instant = Instant.DISTANT_PAST,

    @SerialName("scores")
    val scores: List = emptyList()
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy