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

commonMain.com.bselzer.gw2.v2.model.guild.member.GuildMember.kt Maven / Gradle / Ivy

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

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

@Serializable
data class GuildMember(
    /**
     * The account name of the player.
     */
    @SerialName("name")
    val name: AccountName = AccountName(),

    /**
     * The name of the rank.
     * @see the wiki
     */
    @SerialName("rank")
    val rank: GuildRankId = GuildRankId(),

    /**
     * The date and time the player joined the guild.
     */
    @SerialName("joined")
    val joinedAt: Instant = Instant.DISTANT_PAST
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy