Upgrade

data class Upgrade(val id: Int, val time: String, val user: String? = null, val type: String, val action: String, val count: Int? = null, val upgradeId: Int, val recipeId: Int? = null) : GW2v2GuildLogEntry

A log entry indicating that the user has interacted with a guild upgrade.

Parameters

id

the log entry's ID

time

ISO-8601 timestamp for when the log entry was created

user

the account name of the guild member who generated this log entry

type

the type of log entry

action

the action (may be "queued", "cancelled", "completed" or "sped_up"

count

how many upgrade were added

upgradeId

the ID of the completed upgrade

recipeId

the recipe that generated the upgrade

Constructors

Link copied to clipboard
constructor(id: Int, time: String, user: String? = null, type: String, action: String, count: Int? = null, upgradeId: Int, recipeId: Int? = null)

Properties

Link copied to clipboard

This field holds the action (may be "queued", "cancelled", "completed" or "sped_up".

Link copied to clipboard
val count: Int? = null

This field holds how many upgrade were added.

Link copied to clipboard
open override val id: Int
Link copied to clipboard
@SerialName(value = "recipe_id")
val recipeId: Int? = null

This field holds the recipe that generated the upgrade.

Link copied to clipboard
open override val time: String
Link copied to clipboard
open override val type: String
Link copied to clipboard
@SerialName(value = "upgrade_id")
val upgradeId: Int

This field holds the ID of the completed upgrade.

Link copied to clipboard
open override val user: String? = null