Auction

@Serializable
data class Auction(val uuid: String? = null, val auctioneer: String? = null, val profileId: String? = null, val coop: List<String>? = null, val start: Long? = null, val end: Long? = null, val itemName: String? = null, val itemLore: String? = null, val extra: String? = null, val category: String? = null, val categories: List<String>? = null, val tier: String? = null, val startingBid: Long? = null, val itemBytes: String? = null, val claimed: Boolean? = null, val claimedBidders: List<String>? = null, val highestBidAmount: Long? = null, val lastUpdated: Long? = null, val bin: Boolean? = null, val bids: List<Bid>? = null, val itemUuid: String? = null)

Information about a specific auction.

Constructors

Link copied to clipboard
constructor(uuid: String? = null, auctioneer: String? = null, profileId: String? = null, coop: List<String>? = null, start: Long? = null, end: Long? = null, itemName: String? = null, itemLore: String? = null, extra: String? = null, category: String? = null, categories: List<String>? = null, tier: String? = null, startingBid: Long? = null, itemBytes: String? = null, claimed: Boolean? = null, claimedBidders: List<String>? = null, highestBidAmount: Long? = null, lastUpdated: Long? = null, bin: Boolean? = null, bids: List<Bid>? = null, itemUuid: String? = null)

Properties

Link copied to clipboard
val auctioneer: String? = null

The UUID of the seller.

Link copied to clipboard
val bids: List<Bid>? = null

A list of Bid on the auction.

Link copied to clipboard
val bin: Boolean? = null

Whether the auction is a bin auction.

Link copied to clipboard
val categories: List<String>? = null

The categories of the item in auction house.

Link copied to clipboard
val category: String? = null

The category of the item in auction house.

Link copied to clipboard
val claimed: Boolean? = null

Whether the item has been claimed by the buyer. TODO check this

Link copied to clipboard
@SerialName(value = "claimed_bidders")
val claimedBidders: List<String>? = null

Whether the item has been claimed by the buyer's coop. TODO check this

Link copied to clipboard
val coop: List<String>? = null

A list of UUIDs for the seller's coop members.

Link copied to clipboard
val end: Long? = null

Timestamp for when the auction ended/sold.

Link copied to clipboard
val extra: String? = null

Unknown. Item name plus a bunch of attributes like item and enchants.

Link copied to clipboard
@SerialName(value = "highest_bid_amount")
val highestBidAmount: Long? = null

The highest bid on the auction.

Link copied to clipboard
@SerialName(value = "item_bytes")
val itemBytes: String? = null

Item data for the auctioned item.

Link copied to clipboard
@SerialName(value = "item_lore")
val itemLore: String? = null

Lore of the item sold (separated by unicode char \u00a7).

Link copied to clipboard
@SerialName(value = "item_name")
val itemName: String? = null

Name of the item sold.

Link copied to clipboard
@SerialName(value = "item_uuid")
val itemUuid: String? = null

UUID of the item if it is an item with a UUID.

Link copied to clipboard
@SerialName(value = "last_updated")
val lastUpdated: Long? = null

Timestamp of the last time the auction was modified or bin on.

Link copied to clipboard
@SerialName(value = "profile_id")
val profileId: String? = null

The UUID of the seller's profile.

Link copied to clipboard
val start: Long? = null

Timetsamp for when the auction started.

Link copied to clipboard
@SerialName(value = "starting_bid")
val startingBid: Long? = null

Starting bid for an auction or price of a bin auction.

Link copied to clipboard
val tier: String? = null

Rarity of the item.

Link copied to clipboard
val uuid: String? = null

The auction UUID.