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