commonMain.com.bselzer.gw2.v2.model.guild.log.RankChangeLog.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.log
import com.bselzer.gw2.v2.model.account.AccountName
import com.bselzer.gw2.v2.model.guild.rank.GuildRankId
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
@SerialName("rank_change")
data class RankChangeLog(
/**
* The account name of the guild member who changed the [user]'s rank.
*/
@SerialName("changed_by")
val changedBy: AccountName = AccountName(),
/**
* The name of the old rank.
* @see the wiki
*/
@SerialName("old_rank")
val oldRank: GuildRankId = GuildRankId(),
/**
* The name of the new rank.
* @see the wiki
*/
@SerialName("new_rank")
val newRank: GuildRankId = GuildRankId()
) : GuildLog()