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

commonMain.com.bselzer.gw2.v2.model.guild.log.RankChangeLog.kt Maven / Gradle / Ivy

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()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy