api

package
v0.0.0-...-b986d7c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2023 License: AGPL-3.0 Imports: 25 Imported by: 0

Documentation

Overview

Code generated by ogen, DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithServerURL

func WithServerURL(ctx context.Context, u *url.URL) context.Context

WithServerURL sets context key to override server URL.

Types

type APIAuctionAuctionUuidGetParams

type APIAuctionAuctionUuidGetParams struct {
	// The uuid of the auction you want the details for.
	AuctionUuid string
}

APIAuctionAuctionUuidGetParams is parameters of GET /api/auction/{auctionUuid} operation.

type APIAuctionAuctionUuidUIDGetOKApplicationJSON

type APIAuctionAuctionUuidUIDGetOKApplicationJSON string

func (*APIAuctionAuctionUuidUIDGetOKApplicationJSON) Decode

Decode decodes APIAuctionAuctionUuidUIDGetOKApplicationJSON from json.

func (APIAuctionAuctionUuidUIDGetOKApplicationJSON) Encode

Encode encodes APIAuctionAuctionUuidUIDGetOKApplicationJSON as json.

func (APIAuctionAuctionUuidUIDGetOKApplicationJSON) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*APIAuctionAuctionUuidUIDGetOKApplicationJSON) UnmarshalJSON

func (s *APIAuctionAuctionUuidUIDGetOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type APIAuctionAuctionUuidUIDGetOKTextJSON

type APIAuctionAuctionUuidUIDGetOKTextJSON struct {
	Data io.Reader
}

func (APIAuctionAuctionUuidUIDGetOKTextJSON) Read

func (s APIAuctionAuctionUuidUIDGetOKTextJSON) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type APIAuctionAuctionUuidUIDGetOKTextPlain

type APIAuctionAuctionUuidUIDGetOKTextPlain struct {
	Data io.Reader
}

func (APIAuctionAuctionUuidUIDGetOKTextPlain) Read

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type APIAuctionAuctionUuidUIDGetParams

type APIAuctionAuctionUuidUIDGetParams struct {
	// The uuid of the auction you want the details for.
	AuctionUuid string
}

APIAuctionAuctionUuidUIDGetParams is parameters of GET /api/auction/{auctionUuid}/uid operation.

type APIAuctionAuctionUuidUIDGetRes

type APIAuctionAuctionUuidUIDGetRes interface {
	// contains filtered or unexported methods
}

type APIAuctionsBatchGetOK

type APIAuctionsBatchGetOK struct{}

APIAuctionsBatchGetOK is response for APIAuctionsBatchGet operation.

type APIAuctionsBatchGetParams

type APIAuctionsBatchGetParams struct {
	// Page of auctions to get.
	Page OptString
	// Secret token to access data.
	Token OptString
}

APIAuctionsBatchGetParams is parameters of GET /api/auctions/batch operation.

type APIAuctionsTagItemTagActiveBinGetParams

type APIAuctionsTagItemTagActiveBinGetParams struct {
	// The itemTag to get bins for.
	ItemTag string
	// Filters for the auctions.
	Query *APIAuctionsTagItemTagActiveBinGetQuery
}

APIAuctionsTagItemTagActiveBinGetParams is parameters of GET /api/auctions/tag/{itemTag}/active/bin operation.

type APIAuctionsTagItemTagActiveBinGetQuery

type APIAuctionsTagItemTagActiveBinGetQuery struct{}

func (*APIAuctionsTagItemTagActiveBinGetQuery) DecodeURI

DecodeURI decodes APIAuctionsTagItemTagActiveBinGetQuery from URI form.

func (*APIAuctionsTagItemTagActiveBinGetQuery) EncodeURI

EncodeURI encodes APIAuctionsTagItemTagActiveBinGetQuery as URI form.

type APIAuctionsTagItemTagActiveOverviewGetParams

type APIAuctionsTagItemTagActiveOverviewGetParams struct {
	// The itemTag to get auctions for.
	ItemTag string
	Query   *APIAuctionsTagItemTagActiveOverviewGetQuery
}

APIAuctionsTagItemTagActiveOverviewGetParams is parameters of GET /api/auctions/tag/{itemTag}/active/overview operation.

type APIAuctionsTagItemTagActiveOverviewGetQuery

type APIAuctionsTagItemTagActiveOverviewGetQuery struct{}

func (*APIAuctionsTagItemTagActiveOverviewGetQuery) DecodeURI

DecodeURI decodes APIAuctionsTagItemTagActiveOverviewGetQuery from URI form.

func (*APIAuctionsTagItemTagActiveOverviewGetQuery) EncodeURI

EncodeURI encodes APIAuctionsTagItemTagActiveOverviewGetQuery as URI form.

type APIAuctionsTagItemTagRecentOverviewGetParams

type APIAuctionsTagItemTagRecentOverviewGetParams struct {
	// The itemTag to get auctions for.
	ItemTag string
	Query   *APIAuctionsTagItemTagRecentOverviewGetQuery
}

APIAuctionsTagItemTagRecentOverviewGetParams is parameters of GET /api/auctions/tag/{itemTag}/recent/overview operation.

type APIAuctionsTagItemTagRecentOverviewGetQuery

type APIAuctionsTagItemTagRecentOverviewGetQuery struct{}

func (*APIAuctionsTagItemTagRecentOverviewGetQuery) DecodeURI

DecodeURI decodes APIAuctionsTagItemTagRecentOverviewGetQuery from URI form.

func (*APIAuctionsTagItemTagRecentOverviewGetQuery) EncodeURI

EncodeURI encodes APIAuctionsTagItemTagRecentOverviewGetQuery as URI form.

type APIAuctionsTagItemTagSoldGetParams

type APIAuctionsTagItemTagSoldGetParams struct {
	// The itemTag to get auctions for.
	ItemTag string
	// Page of auctions to get.
	Page OptInt32
	// How many auctions to get per page 1-1000.
	PageSize OptInt32
}

APIAuctionsTagItemTagSoldGetParams is parameters of GET /api/auctions/tag/{itemTag}/sold operation.

type APIAuctionsUIDUIDSoldGetParams

type APIAuctionsUIDUIDSoldGetParams struct {
	// The Item uuid or just uid.
	UID string
}

APIAuctionsUIDUIDSoldGetParams is parameters of GET /api/auctions/uid/{uid}/sold operation.

type APIAuctionsUidsSoldPostOKApplicationJSON

type APIAuctionsUidsSoldPostOKApplicationJSON struct{}

func (*APIAuctionsUidsSoldPostOKApplicationJSON) Decode

Decode decodes APIAuctionsUidsSoldPostOKApplicationJSON from json.

func (*APIAuctionsUidsSoldPostOKApplicationJSON) Encode

Encode implements json.Marshaler.

func (*APIAuctionsUidsSoldPostOKApplicationJSON) MarshalJSON

func (s *APIAuctionsUidsSoldPostOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*APIAuctionsUidsSoldPostOKApplicationJSON) UnmarshalJSON

func (s *APIAuctionsUidsSoldPostOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type APIBazaarItemHistoryItemTagStatusGetOKApplicationJSON

type APIBazaarItemHistoryItemTagStatusGetOKApplicationJSON string

func (*APIBazaarItemHistoryItemTagStatusGetOKApplicationJSON) Decode

Decode decodes APIBazaarItemHistoryItemTagStatusGetOKApplicationJSON from json.

func (APIBazaarItemHistoryItemTagStatusGetOKApplicationJSON) Encode

Encode encodes APIBazaarItemHistoryItemTagStatusGetOKApplicationJSON as json.

func (APIBazaarItemHistoryItemTagStatusGetOKApplicationJSON) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*APIBazaarItemHistoryItemTagStatusGetOKApplicationJSON) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type APIBazaarItemHistoryItemTagStatusGetOKTextJSON

type APIBazaarItemHistoryItemTagStatusGetOKTextJSON struct {
	Data io.Reader
}

func (APIBazaarItemHistoryItemTagStatusGetOKTextJSON) Read

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type APIBazaarItemHistoryItemTagStatusGetOKTextPlain

type APIBazaarItemHistoryItemTagStatusGetOKTextPlain struct {
	Data io.Reader
}

func (APIBazaarItemHistoryItemTagStatusGetOKTextPlain) Read

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type APIBazaarItemHistoryItemTagStatusGetParams

type APIBazaarItemHistoryItemTagStatusGetParams struct {
	ItemTag string
}

APIBazaarItemHistoryItemTagStatusGetParams is parameters of GET /api/bazaar/item/history/{itemTag}/status operation.

type APIBazaarItemHistoryItemTagStatusGetRes

type APIBazaarItemHistoryItemTagStatusGetRes interface {
	// contains filtered or unexported methods
}

type APIBazaarItemTagHistoryDayGetParams

type APIBazaarItemTagHistoryDayGetParams struct {
	// What item to get data for.
	ItemTag string
}

APIBazaarItemTagHistoryDayGetParams is parameters of GET /api/bazaar/{itemTag}/history/day operation.

type APIBazaarItemTagHistoryGetParams

type APIBazaarItemTagHistoryGetParams struct {
	// What item to get data for.
	ItemTag string
	Start   OptDateTime
	End     OptDateTime
}

APIBazaarItemTagHistoryGetParams is parameters of GET /api/bazaar/{itemTag}/history operation.

type APIBazaarItemTagHistoryHourGetParams

type APIBazaarItemTagHistoryHourGetParams struct {
	// What item to get data for.
	ItemTag string
}

APIBazaarItemTagHistoryHourGetParams is parameters of GET /api/bazaar/{itemTag}/history/hour operation.

type APIBazaarItemTagHistoryWeekGetParams

type APIBazaarItemTagHistoryWeekGetParams struct {
	// What item to get data for.
	ItemTag string
}

APIBazaarItemTagHistoryWeekGetParams is parameters of GET /api/bazaar/{itemTag}/history/week operation.

type APIBazaarItemTagSnapshotGetParams

type APIBazaarItemTagSnapshotGetParams struct {
	// The search term to search for.
	ItemTag string
	// Whattime to retrieve the information at (defaults to now).
	Timestamp OptDateTime
}

APIBazaarItemTagSnapshotGetParams is parameters of GET /api/bazaar/{itemTag}/snapshot operation.

type APICraftAPICraftGetOKApplicationJSON

type APICraftAPICraftGetOKApplicationJSON struct{}

func (*APICraftAPICraftGetOKApplicationJSON) Decode

Decode decodes APICraftAPICraftGetOKApplicationJSON from json.

func (*APICraftAPICraftGetOKApplicationJSON) Encode

Encode implements json.Marshaler.

func (*APICraftAPICraftGetOKApplicationJSON) MarshalJSON

func (s *APICraftAPICraftGetOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*APICraftAPICraftGetOKApplicationJSON) UnmarshalJSON

func (s *APICraftAPICraftGetOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type APICraftProfitGetParams

type APICraftProfitGetParams struct {
	Player  OptString
	Profile OptString
}

APICraftProfitGetParams is parameters of GET /api/craft/profit operation.

type APICraftRecipeItemTagGetOKApplicationJSON

type APICraftRecipeItemTagGetOKApplicationJSON struct{}

func (*APICraftRecipeItemTagGetOKApplicationJSON) Decode

Decode decodes APICraftRecipeItemTagGetOKApplicationJSON from json.

func (*APICraftRecipeItemTagGetOKApplicationJSON) Encode

Encode implements json.Marshaler.

func (*APICraftRecipeItemTagGetOKApplicationJSON) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*APICraftRecipeItemTagGetOKApplicationJSON) UnmarshalJSON

func (s *APICraftRecipeItemTagGetOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type APICraftRecipeItemTagGetParams

type APICraftRecipeItemTagGetParams struct {
	ItemTag string
}

APICraftRecipeItemTagGetParams is parameters of GET /api/craft/recipe/{itemTag} operation.

type APIDataPlayerNamePostParams

type APIDataPlayerNamePostParams struct {
	Name OptString
}

APIDataPlayerNamePostParams is parameters of POST /api/data/playerName operation.

type APIDataProxyPostOKApplicationJSON

type APIDataProxyPostOKApplicationJSON string

func (*APIDataProxyPostOKApplicationJSON) Decode

Decode decodes APIDataProxyPostOKApplicationJSON from json.

func (APIDataProxyPostOKApplicationJSON) Encode

Encode encodes APIDataProxyPostOKApplicationJSON as json.

func (APIDataProxyPostOKApplicationJSON) MarshalJSON

func (s APIDataProxyPostOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*APIDataProxyPostOKApplicationJSON) UnmarshalJSON

func (s *APIDataProxyPostOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type APIDataProxyPostOKTextJSON

type APIDataProxyPostOKTextJSON struct {
	Data io.Reader
}

func (APIDataProxyPostOKTextJSON) Read

func (s APIDataProxyPostOKTextJSON) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type APIDataProxyPostOKTextPlain

type APIDataProxyPostOKTextPlain struct {
	Data io.Reader
}

func (APIDataProxyPostOKTextPlain) Read

func (s APIDataProxyPostOKTextPlain) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type APIDataProxyPostRes

type APIDataProxyPostRes interface {
	// contains filtered or unexported methods
}

type APIFilterOptionsGetParams

type APIFilterOptionsGetParams struct {
	ItemTag OptString
}

APIFilterOptionsGetParams is parameters of GET /api/filter/options operation.

type APIFlipStatsFinderFinderNameGetParams

type APIFlipStatsFinderFinderNameGetParams struct {
	// Uuid of player to get stats for.
	FinderName string
	// The start time of flips to get (inclusive).
	Start OptDateTime
	// The end time of flips to get (exclusive).
	End OptDateTime
}

APIFlipStatsFinderFinderNameGetParams is parameters of GET /api/flip/stats/finder/{finderName} operation.

type APIFlipStatsPlayerPlayerUuidGetParams

type APIFlipStatsPlayerPlayerUuidGetParams struct {
	// Uuid of player to get stats for.
	PlayerUuid string
	Days       OptFloat32
}

APIFlipStatsPlayerPlayerUuidGetParams is parameters of GET /api/flip/stats/player/{playerUuid} operation.

type APIFlipStatsPlayerPlayerUuidHourGetParams

type APIFlipStatsPlayerPlayerUuidHourGetParams struct {
	// Uuid of player.
	PlayerUuid string
}

APIFlipStatsPlayerPlayerUuidHourGetParams is parameters of GET /api/flip/stats/player/{playerUuid}/hour operation.

type APIFlipTrackFoundAuctionIdPostOK

type APIFlipTrackFoundAuctionIdPostOK struct{}

APIFlipTrackFoundAuctionIdPostOK is response for APIFlipTrackFoundAuctionIdPost operation.

type APIFlipTrackFoundAuctionIdPostParams

type APIFlipTrackFoundAuctionIdPostParams struct {
	// The id of the found auction.
	AuctionId string
	// Identifier of finder.
	Finder OptString
	// Suggested target price.
	Price OptInt32
	// Unix millisecond timestamp when the flip was found.
	TimeStamp OptInt64
}

APIFlipTrackFoundAuctionIdPostParams is parameters of POST /api/flip/track/found/{auctionId} operation.

type APIFlipTrackPurchaseAuctionIdPostOK

type APIFlipTrackPurchaseAuctionIdPostOK struct{}

APIFlipTrackPurchaseAuctionIdPostOK is response for APIFlipTrackPurchaseAuctionIdPost operation.

type APIFlipTrackPurchaseAuctionIdPostParams

type APIFlipTrackPurchaseAuctionIdPostParams struct {
	// Id of found and purchased auction.
	AuctionId string
	// Identifier of finder.
	Finder OptString
	// The uuid of the player.
	PlayerId OptString
	// Sugested target price.
	Price OptInt32
	// Unix millisecond timestamp when the flip was found.
	TimeStamp OptInt64
}

APIFlipTrackPurchaseAuctionIdPostParams is parameters of POST /api/flip/track/purchase/{auctionId} operation.

type APIItemItemTagDetailsGetParams

type APIItemItemTagDetailsGetParams struct {
	ItemTag string
}

APIItemItemTagDetailsGetParams is parameters of GET /api/item/{itemTag}/details operation.

type APIItemItemTagSimilarGetParams

type APIItemItemTagSimilarGetParams struct {
	ItemTag string
}

APIItemItemTagSimilarGetParams is parameters of GET /api/item/{itemTag}/similar operation.

type APIItemPriceItemTagBinGetParams

type APIItemPriceItemTagBinGetParams struct {
	// The tag of the item to search for bin.
	ItemTag string
	Query   *APIItemPriceItemTagBinGetQuery
}

APIItemPriceItemTagBinGetParams is parameters of GET /api/item/price/{itemTag}/bin operation.

type APIItemPriceItemTagBinGetQuery

type APIItemPriceItemTagBinGetQuery struct{}

func (*APIItemPriceItemTagBinGetQuery) DecodeURI

DecodeURI decodes APIItemPriceItemTagBinGetQuery from URI form.

func (*APIItemPriceItemTagBinGetQuery) EncodeURI

EncodeURI encodes APIItemPriceItemTagBinGetQuery as URI form.

type APIItemPriceItemTagCurrentGetParams

type APIItemPriceItemTagCurrentGetParams struct {
	// The tag of the item.
	ItemTag string
	// How many items to search for (and include in cost).
	Count OptInt32
}

APIItemPriceItemTagCurrentGetParams is parameters of GET /api/item/price/{itemTag}/current operation.

type APIItemPriceItemTagGetParams

type APIItemPriceItemTagGetParams struct {
	// The item tag you want prices for.
	ItemTag string
	// Filter query.
	Query *APIItemPriceItemTagGetQuery
}

APIItemPriceItemTagGetParams is parameters of GET /api/item/price/{itemTag} operation.

type APIItemPriceItemTagGetQuery

type APIItemPriceItemTagGetQuery struct{}

func (*APIItemPriceItemTagGetQuery) DecodeURI

func (s *APIItemPriceItemTagGetQuery) DecodeURI(d uri.Decoder) error

DecodeURI decodes APIItemPriceItemTagGetQuery from URI form.

func (*APIItemPriceItemTagGetQuery) EncodeURI

func (s *APIItemPriceItemTagGetQuery) EncodeURI(e uri.Encoder) error

EncodeURI encodes APIItemPriceItemTagGetQuery as URI form.

type APIItemPriceItemTagHistoryDayGetParams

type APIItemPriceItemTagHistoryDayGetParams struct {
	// The tag of the item.
	ItemTag string
	// Filter query.
	Query *APIItemPriceItemTagHistoryDayGetQuery
}

APIItemPriceItemTagHistoryDayGetParams is parameters of GET /api/item/price/{itemTag}/history/day operation.

type APIItemPriceItemTagHistoryDayGetQuery

type APIItemPriceItemTagHistoryDayGetQuery struct{}

func (*APIItemPriceItemTagHistoryDayGetQuery) DecodeURI

DecodeURI decodes APIItemPriceItemTagHistoryDayGetQuery from URI form.

func (*APIItemPriceItemTagHistoryDayGetQuery) EncodeURI

EncodeURI encodes APIItemPriceItemTagHistoryDayGetQuery as URI form.

type APIItemPriceItemTagHistoryFullGetParams

type APIItemPriceItemTagHistoryFullGetParams struct {
	// The tag of the item.
	ItemTag string
}

APIItemPriceItemTagHistoryFullGetParams is parameters of GET /api/item/price/{itemTag}/history/full operation.

type APIItemPriceItemTagHistoryMonthGetParams

type APIItemPriceItemTagHistoryMonthGetParams struct {
	// The tag of the item.
	ItemTag string
	// Filter query.
	Query *APIItemPriceItemTagHistoryMonthGetQuery
}

APIItemPriceItemTagHistoryMonthGetParams is parameters of GET /api/item/price/{itemTag}/history/month operation.

type APIItemPriceItemTagHistoryMonthGetQuery

type APIItemPriceItemTagHistoryMonthGetQuery struct{}

func (*APIItemPriceItemTagHistoryMonthGetQuery) DecodeURI

DecodeURI decodes APIItemPriceItemTagHistoryMonthGetQuery from URI form.

func (*APIItemPriceItemTagHistoryMonthGetQuery) EncodeURI

EncodeURI encodes APIItemPriceItemTagHistoryMonthGetQuery as URI form.

type APIItemPriceItemTagHistoryWeekGetParams

type APIItemPriceItemTagHistoryWeekGetParams struct {
	// The tag of the item.
	ItemTag string
	// Filter query.
	Query *APIItemPriceItemTagHistoryWeekGetQuery
}

APIItemPriceItemTagHistoryWeekGetParams is parameters of GET /api/item/price/{itemTag}/history/week operation.

type APIItemPriceItemTagHistoryWeekGetQuery

type APIItemPriceItemTagHistoryWeekGetQuery struct{}

func (*APIItemPriceItemTagHistoryWeekGetQuery) DecodeURI

DecodeURI decodes APIItemPriceItemTagHistoryWeekGetQuery from URI form.

func (*APIItemPriceItemTagHistoryWeekGetQuery) EncodeURI

EncodeURI encodes APIItemPriceItemTagHistoryWeekGetQuery as URI form.

type APIItemSearchSearchValGetParams

type APIItemSearchSearchValGetParams struct {
	// The search term to search for.
	SearchVal string
}

APIItemSearchSearchValGetParams is parameters of GET /api/item/search/{searchVal} operation.

type APIItemsNamesPostOKApplicationJSON

type APIItemsNamesPostOKApplicationJSON struct{}

func (*APIItemsNamesPostOKApplicationJSON) Decode

Decode decodes APIItemsNamesPostOKApplicationJSON from json.

func (*APIItemsNamesPostOKApplicationJSON) Encode

Encode implements json.Marshaler.

func (*APIItemsNamesPostOKApplicationJSON) MarshalJSON

func (s *APIItemsNamesPostOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*APIItemsNamesPostOKApplicationJSON) UnmarshalJSON

func (s *APIItemsNamesPostOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type APIMayorGetParams

type APIMayorGetParams struct {
	// Start ISO 8601.
	From OptDateTime
	// End eg. 2022-09-22T20:03:10.937Z.
	To OptDateTime
}

APIMayorGetParams is parameters of GET /api/mayor operation.

type APIMayorYearGetParams

type APIMayorYearGetParams struct {
	Year int32
}

APIMayorYearGetParams is parameters of GET /api/mayor/{year} operation.

type APIModDescriptionModificationsPostBadRequest

type APIModDescriptionModificationsPostBadRequest ErrorResponse

func (*APIModDescriptionModificationsPostBadRequest) Decode

Decode decodes APIModDescriptionModificationsPostBadRequest from json.

func (*APIModDescriptionModificationsPostBadRequest) Encode

Encode encodes APIModDescriptionModificationsPostBadRequest as json.

func (*APIModDescriptionModificationsPostBadRequest) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*APIModDescriptionModificationsPostBadRequest) UnmarshalJSON

func (s *APIModDescriptionModificationsPostBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type APIModDescriptionModificationsPostInternalServerError

type APIModDescriptionModificationsPostInternalServerError ErrorResponse

func (*APIModDescriptionModificationsPostInternalServerError) Decode

Decode decodes APIModDescriptionModificationsPostInternalServerError from json.

func (*APIModDescriptionModificationsPostInternalServerError) Encode

Encode encodes APIModDescriptionModificationsPostInternalServerError as json.

func (*APIModDescriptionModificationsPostInternalServerError) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*APIModDescriptionModificationsPostInternalServerError) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type APIModDescriptionModificationsPostOKApplicationJSON

type APIModDescriptionModificationsPostOKApplicationJSON [][]DescModification

func (*APIModDescriptionModificationsPostOKApplicationJSON) Decode

Decode decodes APIModDescriptionModificationsPostOKApplicationJSON from json.

func (APIModDescriptionModificationsPostOKApplicationJSON) Encode

Encode encodes APIModDescriptionModificationsPostOKApplicationJSON as json.

func (APIModDescriptionModificationsPostOKApplicationJSON) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*APIModDescriptionModificationsPostOKApplicationJSON) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (APIModDescriptionModificationsPostOKApplicationJSON) Validate

type APIModDescriptionModificationsPostParams

type APIModDescriptionModificationsPostParams struct {
	// (optional) Connection id of the calling mod to apply user settings.
	ConId OptString
	// (optional) The uuid of the calling player.
	UUID OptString
}

APIModDescriptionModificationsPostParams is parameters of POST /api/mod/description/modifications operation.

type APIModDescriptionModificationsPostRes

type APIModDescriptionModificationsPostRes interface {
	// contains filtered or unexported methods
}

type APIModDescriptionPostBadRequest

type APIModDescriptionPostBadRequest ErrorResponse

func (*APIModDescriptionPostBadRequest) Decode

Decode decodes APIModDescriptionPostBadRequest from json.

func (*APIModDescriptionPostBadRequest) Encode

Encode encodes APIModDescriptionPostBadRequest as json.

func (*APIModDescriptionPostBadRequest) MarshalJSON

func (s *APIModDescriptionPostBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*APIModDescriptionPostBadRequest) UnmarshalJSON

func (s *APIModDescriptionPostBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type APIModDescriptionPostInternalServerError

type APIModDescriptionPostInternalServerError ErrorResponse

func (*APIModDescriptionPostInternalServerError) Decode

Decode decodes APIModDescriptionPostInternalServerError from json.

func (*APIModDescriptionPostInternalServerError) Encode

Encode encodes APIModDescriptionPostInternalServerError as json.

func (*APIModDescriptionPostInternalServerError) MarshalJSON

func (s *APIModDescriptionPostInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*APIModDescriptionPostInternalServerError) UnmarshalJSON

func (s *APIModDescriptionPostInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type APIModDescriptionPostOKApplicationJSON

type APIModDescriptionPostOKApplicationJSON [][]string

func (*APIModDescriptionPostOKApplicationJSON) Decode

Decode decodes APIModDescriptionPostOKApplicationJSON from json.

func (APIModDescriptionPostOKApplicationJSON) Encode

Encode encodes APIModDescriptionPostOKApplicationJSON as json.

func (APIModDescriptionPostOKApplicationJSON) MarshalJSON

func (s APIModDescriptionPostOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*APIModDescriptionPostOKApplicationJSON) UnmarshalJSON

func (s *APIModDescriptionPostOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (APIModDescriptionPostOKApplicationJSON) Validate

type APIModDescriptionPostParams

type APIModDescriptionPostParams struct {
	// (optional) Connection id of the calling mod to apply user settings.
	ConId OptString
	// (optional) The uuid of the calling player.
	UUID OptString
}

APIModDescriptionPostParams is parameters of POST /api/mod/description operation.

type APIModDescriptionPostRes

type APIModDescriptionPostRes interface {
	// contains filtered or unexported methods
}

type APIModItemUUIDGetOKApplicationJSON

type APIModItemUUIDGetOKApplicationJSON string

func (*APIModItemUUIDGetOKApplicationJSON) Decode

Decode decodes APIModItemUUIDGetOKApplicationJSON from json.

func (APIModItemUUIDGetOKApplicationJSON) Encode

Encode encodes APIModItemUUIDGetOKApplicationJSON as json.

func (APIModItemUUIDGetOKApplicationJSON) MarshalJSON

func (s APIModItemUUIDGetOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*APIModItemUUIDGetOKApplicationJSON) UnmarshalJSON

func (s *APIModItemUUIDGetOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type APIModItemUUIDGetOKTextJSON

type APIModItemUUIDGetOKTextJSON struct {
	Data io.Reader
}

func (APIModItemUUIDGetOKTextJSON) Read

func (s APIModItemUUIDGetOKTextJSON) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type APIModItemUUIDGetOKTextPlain

type APIModItemUUIDGetOKTextPlain struct {
	Data io.Reader
}

func (APIModItemUUIDGetOKTextPlain) Read

func (s APIModItemUUIDGetOKTextPlain) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type APIModItemUUIDGetParams

type APIModItemUUIDGetParams struct {
	UUID  string
	Count OptInt32
}

APIModItemUUIDGetParams is parameters of GET /api/mod/item/{uuid} operation.

type APIModItemUUIDGetRes

type APIModItemUUIDGetRes interface {
	// contains filtered or unexported methods
}

type APIPlayerPlayerUuidAuctionsGetFilters

type APIPlayerPlayerUuidAuctionsGetFilters struct{}

func (*APIPlayerPlayerUuidAuctionsGetFilters) DecodeURI

DecodeURI decodes APIPlayerPlayerUuidAuctionsGetFilters from URI form.

func (*APIPlayerPlayerUuidAuctionsGetFilters) EncodeURI

EncodeURI encodes APIPlayerPlayerUuidAuctionsGetFilters as URI form.

type APIPlayerPlayerUuidAuctionsGetParams

type APIPlayerPlayerUuidAuctionsGetParams struct {
	// The uuid of the player.
	PlayerUuid string
	// Page of auctions (another 10).
	Page    OptInt32
	Filters *APIPlayerPlayerUuidAuctionsGetFilters
}

APIPlayerPlayerUuidAuctionsGetParams is parameters of GET /api/player/{playerUuid}/auctions operation.

type APIPlayerPlayerUuidBidsGetFilters

type APIPlayerPlayerUuidBidsGetFilters struct{}

func (*APIPlayerPlayerUuidBidsGetFilters) DecodeURI

DecodeURI decodes APIPlayerPlayerUuidBidsGetFilters from URI form.

func (*APIPlayerPlayerUuidBidsGetFilters) EncodeURI

EncodeURI encodes APIPlayerPlayerUuidBidsGetFilters as URI form.

type APIPlayerPlayerUuidBidsGetParams

type APIPlayerPlayerUuidBidsGetParams struct {
	// The uuid of the player.
	PlayerUuid string
	// Page of auctions (another 10).
	Page    OptInt32
	Filters *APIPlayerPlayerUuidBidsGetFilters
}

APIPlayerPlayerUuidBidsGetParams is parameters of GET /api/player/{playerUuid}/bids operation.

type APIPlayerPlayerUuidNameGetOKApplicationJSON

type APIPlayerPlayerUuidNameGetOKApplicationJSON string

func (*APIPlayerPlayerUuidNameGetOKApplicationJSON) Decode

Decode decodes APIPlayerPlayerUuidNameGetOKApplicationJSON from json.

func (APIPlayerPlayerUuidNameGetOKApplicationJSON) Encode

Encode encodes APIPlayerPlayerUuidNameGetOKApplicationJSON as json.

func (APIPlayerPlayerUuidNameGetOKApplicationJSON) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*APIPlayerPlayerUuidNameGetOKApplicationJSON) UnmarshalJSON

func (s *APIPlayerPlayerUuidNameGetOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type APIPlayerPlayerUuidNameGetOKTextJSON

type APIPlayerPlayerUuidNameGetOKTextJSON struct {
	Data io.Reader
}

func (APIPlayerPlayerUuidNameGetOKTextJSON) Read

func (s APIPlayerPlayerUuidNameGetOKTextJSON) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type APIPlayerPlayerUuidNameGetOKTextPlain

type APIPlayerPlayerUuidNameGetOKTextPlain struct {
	Data io.Reader
}

func (APIPlayerPlayerUuidNameGetOKTextPlain) Read

func (s APIPlayerPlayerUuidNameGetOKTextPlain) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type APIPlayerPlayerUuidNameGetParams

type APIPlayerPlayerUuidNameGetParams struct {
	// The uuid of the player.
	PlayerUuid string
}

APIPlayerPlayerUuidNameGetParams is parameters of GET /api/player/{playerUuid}/name operation.

type APIPlayerPlayerUuidNameGetRes

type APIPlayerPlayerUuidNameGetRes interface {
	// contains filtered or unexported methods
}

type APIPlayerPlayerUuidNamePostOKApplicationJSON

type APIPlayerPlayerUuidNamePostOKApplicationJSON string

func (*APIPlayerPlayerUuidNamePostOKApplicationJSON) Decode

Decode decodes APIPlayerPlayerUuidNamePostOKApplicationJSON from json.

func (APIPlayerPlayerUuidNamePostOKApplicationJSON) Encode

Encode encodes APIPlayerPlayerUuidNamePostOKApplicationJSON as json.

func (APIPlayerPlayerUuidNamePostOKApplicationJSON) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*APIPlayerPlayerUuidNamePostOKApplicationJSON) UnmarshalJSON

func (s *APIPlayerPlayerUuidNamePostOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type APIPlayerPlayerUuidNamePostOKTextJSON

type APIPlayerPlayerUuidNamePostOKTextJSON struct {
	Data io.Reader
}

func (APIPlayerPlayerUuidNamePostOKTextJSON) Read

func (s APIPlayerPlayerUuidNamePostOKTextJSON) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type APIPlayerPlayerUuidNamePostOKTextPlain

type APIPlayerPlayerUuidNamePostOKTextPlain struct {
	Data io.Reader
}

func (APIPlayerPlayerUuidNamePostOKTextPlain) Read

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type APIPlayerPlayerUuidNamePostParams

type APIPlayerPlayerUuidNamePostParams struct {
	// The uuid of the player.
	PlayerUuid string
}

APIPlayerPlayerUuidNamePostParams is parameters of POST /api/player/{playerUuid}/name operation.

type APIPlayerPlayerUuidNamePostRes

type APIPlayerPlayerUuidNamePostRes interface {
	// contains filtered or unexported methods
}

type APIPremiumPricesAdjustedPostOK

type APIPremiumPricesAdjustedPostOK struct{}

APIPremiumPricesAdjustedPostOK is response for APIPremiumPricesAdjustedPost operation.

type APIPremiumUserOwnsPostOKApplicationJSON

type APIPremiumUserOwnsPostOKApplicationJSON struct{}

func (*APIPremiumUserOwnsPostOKApplicationJSON) Decode

Decode decodes APIPremiumUserOwnsPostOKApplicationJSON from json.

func (*APIPremiumUserOwnsPostOKApplicationJSON) Encode

Encode implements json.Marshaler.

func (*APIPremiumUserOwnsPostOKApplicationJSON) MarshalJSON

func (s *APIPremiumUserOwnsPostOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*APIPremiumUserOwnsPostOKApplicationJSON) UnmarshalJSON

func (s *APIPremiumUserOwnsPostOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type APIReferralReferredByPostOK

type APIReferralReferredByPostOK struct{}

APIReferralReferredByPostOK is response for APIReferralReferredByPost operation.

type APISearchPlayerPlayerNameGetParams

type APISearchPlayerPlayerNameGetParams struct {
	// The player name to search for.
	PlayerName string
}

APISearchPlayerPlayerNameGetParams is parameters of GET /api/search/player/{playerName} operation.

type APISearchSearchValGetParams

type APISearchSearchValGetParams struct {
	// The search term to search for.
	SearchVal string
	// The maximum amount of results to return.
	Limit OptInt32
}

APISearchSearchValGetParams is parameters of GET /api/search/{searchVal} operation.

type APIServicePurchasePostOK

type APIServicePurchasePostOK struct{}

APIServicePurchasePostOK is response for APIServicePurchasePost operation.

type APITopupPaypalProductSlugPostOK

type APITopupPaypalProductSlugPostOK struct{}

APITopupPaypalProductSlugPostOK is response for APITopupPaypalProductSlugPost operation.

type APITopupPaypalProductSlugPostParams

type APITopupPaypalProductSlugPostParams struct {
	ProductSlug string
}

APITopupPaypalProductSlugPostParams is parameters of POST /api/topup/paypal/{productSlug} operation.

type APITopupStripeProductSlugPostOK

type APITopupStripeProductSlugPostOK struct{}

APITopupStripeProductSlugPostOK is response for APITopupStripeProductSlugPost operation.

type APITopupStripeProductSlugPostParams

type APITopupStripeProductSlugPostParams struct {
	ProductSlug string
}

APITopupStripeProductSlugPostParams is parameters of POST /api/topup/stripe/{productSlug} operation.

type APIUserPrivacyPostOK

type APIUserPrivacyPostOK struct{}

APIUserPrivacyPostOK is response for APIUserPrivacyPost operation.

type AuctionPreview

type AuctionPreview struct {
	Seller     OptNilString `json:"seller"`
	Price      OptInt64     `json:"price"`
	End        OptDateTime  `json:"end"`
	UUID       OptNilString `json:"uuid"`
	PlayerName OptNilString `json:"playerName"`
}

Ref: #/components/schemas/AuctionPreview

func (*AuctionPreview) Decode

func (s *AuctionPreview) Decode(d *jx.Decoder) error

Decode decodes AuctionPreview from json.

func (*AuctionPreview) Encode

func (s *AuctionPreview) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AuctionPreview) GetEnd

func (s *AuctionPreview) GetEnd() OptDateTime

GetEnd returns the value of End.

func (*AuctionPreview) GetPlayerName

func (s *AuctionPreview) GetPlayerName() OptNilString

GetPlayerName returns the value of PlayerName.

func (*AuctionPreview) GetPrice

func (s *AuctionPreview) GetPrice() OptInt64

GetPrice returns the value of Price.

func (*AuctionPreview) GetSeller

func (s *AuctionPreview) GetSeller() OptNilString

GetSeller returns the value of Seller.

func (*AuctionPreview) GetUUID

func (s *AuctionPreview) GetUUID() OptNilString

GetUUID returns the value of UUID.

func (*AuctionPreview) MarshalJSON

func (s *AuctionPreview) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AuctionPreview) SetEnd

func (s *AuctionPreview) SetEnd(val OptDateTime)

SetEnd sets the value of End.

func (*AuctionPreview) SetPlayerName

func (s *AuctionPreview) SetPlayerName(val OptNilString)

SetPlayerName sets the value of PlayerName.

func (*AuctionPreview) SetPrice

func (s *AuctionPreview) SetPrice(val OptInt64)

SetPrice sets the value of Price.

func (*AuctionPreview) SetSeller

func (s *AuctionPreview) SetSeller(val OptNilString)

SetSeller sets the value of Seller.

func (*AuctionPreview) SetUUID

func (s *AuctionPreview) SetUUID(val OptNilString)

SetUUID sets the value of UUID.

func (*AuctionPreview) UnmarshalJSON

func (s *AuctionPreview) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type AuctionResult

type AuctionResult struct {
	AuctionId   OptNilString `json:"auctionId"`
	HighestBid  OptInt64     `json:"highestBid"`
	ItemName    OptNilString `json:"itemName"`
	Tag         OptNilString `json:"tag"`
	End         OptDateTime  `json:"end"`
	StartingBid OptInt64     `json:"startingBid"`
	Bin         OptBool      `json:"bin"`
}

Ref: #/components/schemas/AuctionResult

func (*AuctionResult) Decode

func (s *AuctionResult) Decode(d *jx.Decoder) error

Decode decodes AuctionResult from json.

func (*AuctionResult) Encode

func (s *AuctionResult) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AuctionResult) GetAuctionId

func (s *AuctionResult) GetAuctionId() OptNilString

GetAuctionId returns the value of AuctionId.

func (*AuctionResult) GetBin

func (s *AuctionResult) GetBin() OptBool

GetBin returns the value of Bin.

func (*AuctionResult) GetEnd

func (s *AuctionResult) GetEnd() OptDateTime

GetEnd returns the value of End.

func (*AuctionResult) GetHighestBid

func (s *AuctionResult) GetHighestBid() OptInt64

GetHighestBid returns the value of HighestBid.

func (*AuctionResult) GetItemName

func (s *AuctionResult) GetItemName() OptNilString

GetItemName returns the value of ItemName.

func (*AuctionResult) GetStartingBid

func (s *AuctionResult) GetStartingBid() OptInt64

GetStartingBid returns the value of StartingBid.

func (*AuctionResult) GetTag

func (s *AuctionResult) GetTag() OptNilString

GetTag returns the value of Tag.

func (*AuctionResult) MarshalJSON

func (s *AuctionResult) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AuctionResult) SetAuctionId

func (s *AuctionResult) SetAuctionId(val OptNilString)

SetAuctionId sets the value of AuctionId.

func (*AuctionResult) SetBin

func (s *AuctionResult) SetBin(val OptBool)

SetBin sets the value of Bin.

func (*AuctionResult) SetEnd

func (s *AuctionResult) SetEnd(val OptDateTime)

SetEnd sets the value of End.

func (*AuctionResult) SetHighestBid

func (s *AuctionResult) SetHighestBid(val OptInt64)

SetHighestBid sets the value of HighestBid.

func (*AuctionResult) SetItemName

func (s *AuctionResult) SetItemName(val OptNilString)

SetItemName sets the value of ItemName.

func (*AuctionResult) SetStartingBid

func (s *AuctionResult) SetStartingBid(val OptInt64)

SetStartingBid sets the value of StartingBid.

func (*AuctionResult) SetTag

func (s *AuctionResult) SetTag(val OptNilString)

SetTag sets the value of Tag.

func (*AuctionResult) UnmarshalJSON

func (s *AuctionResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type AveragePrice

type AveragePrice struct {
	Min    OptFloat32  `json:"min"`
	Max    OptFloat32  `json:"max"`
	Avg    OptFloat64  `json:"avg"`
	Volume OptInt32    `json:"volume"`
	Time   OptDateTime `json:"time"`
}

Ref: #/components/schemas/AveragePrice

func (*AveragePrice) Decode

func (s *AveragePrice) Decode(d *jx.Decoder) error

Decode decodes AveragePrice from json.

func (*AveragePrice) Encode

func (s *AveragePrice) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AveragePrice) GetAvg

func (s *AveragePrice) GetAvg() OptFloat64

GetAvg returns the value of Avg.

func (*AveragePrice) GetMax

func (s *AveragePrice) GetMax() OptFloat32

GetMax returns the value of Max.

func (*AveragePrice) GetMin

func (s *AveragePrice) GetMin() OptFloat32

GetMin returns the value of Min.

func (*AveragePrice) GetTime

func (s *AveragePrice) GetTime() OptDateTime

GetTime returns the value of Time.

func (*AveragePrice) GetVolume

func (s *AveragePrice) GetVolume() OptInt32

GetVolume returns the value of Volume.

func (*AveragePrice) MarshalJSON

func (s *AveragePrice) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AveragePrice) SetAvg

func (s *AveragePrice) SetAvg(val OptFloat64)

SetAvg sets the value of Avg.

func (*AveragePrice) SetMax

func (s *AveragePrice) SetMax(val OptFloat32)

SetMax sets the value of Max.

func (*AveragePrice) SetMin

func (s *AveragePrice) SetMin(val OptFloat32)

SetMin sets the value of Min.

func (*AveragePrice) SetTime

func (s *AveragePrice) SetTime(val OptDateTime)

SetTime sets the value of Time.

func (*AveragePrice) SetVolume

func (s *AveragePrice) SetVolume(val OptInt32)

SetVolume sets the value of Volume.

func (*AveragePrice) UnmarshalJSON

func (s *AveragePrice) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AveragePrice) Validate

func (s *AveragePrice) Validate() error

type BidResult

type BidResult struct {
	// The highest bid the requesting player has made.
	HighestOwnBid OptInt64     `json:"highestOwnBid"`
	AuctionId     OptNilString `json:"auctionId"`
	HighestBid    OptInt64     `json:"highestBid"`
	ItemName      OptNilString `json:"itemName"`
	Tag           OptNilString `json:"tag"`
	End           OptDateTime  `json:"end"`
	StartingBid   OptInt64     `json:"startingBid"`
	Bin           OptBool      `json:"bin"`
}

Paginated bid result for player overview. Ref: #/components/schemas/BidResult

func (*BidResult) Decode

func (s *BidResult) Decode(d *jx.Decoder) error

Decode decodes BidResult from json.

func (*BidResult) Encode

func (s *BidResult) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*BidResult) GetAuctionId

func (s *BidResult) GetAuctionId() OptNilString

GetAuctionId returns the value of AuctionId.

func (*BidResult) GetBin

func (s *BidResult) GetBin() OptBool

GetBin returns the value of Bin.

func (*BidResult) GetEnd

func (s *BidResult) GetEnd() OptDateTime

GetEnd returns the value of End.

func (*BidResult) GetHighestBid

func (s *BidResult) GetHighestBid() OptInt64

GetHighestBid returns the value of HighestBid.

func (*BidResult) GetHighestOwnBid

func (s *BidResult) GetHighestOwnBid() OptInt64

GetHighestOwnBid returns the value of HighestOwnBid.

func (*BidResult) GetItemName

func (s *BidResult) GetItemName() OptNilString

GetItemName returns the value of ItemName.

func (*BidResult) GetStartingBid

func (s *BidResult) GetStartingBid() OptInt64

GetStartingBid returns the value of StartingBid.

func (*BidResult) GetTag

func (s *BidResult) GetTag() OptNilString

GetTag returns the value of Tag.

func (*BidResult) MarshalJSON

func (s *BidResult) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*BidResult) SetAuctionId

func (s *BidResult) SetAuctionId(val OptNilString)

SetAuctionId sets the value of AuctionId.

func (*BidResult) SetBin

func (s *BidResult) SetBin(val OptBool)

SetBin sets the value of Bin.

func (*BidResult) SetEnd

func (s *BidResult) SetEnd(val OptDateTime)

SetEnd sets the value of End.

func (*BidResult) SetHighestBid

func (s *BidResult) SetHighestBid(val OptInt64)

SetHighestBid sets the value of HighestBid.

func (*BidResult) SetHighestOwnBid

func (s *BidResult) SetHighestOwnBid(val OptInt64)

SetHighestOwnBid sets the value of HighestOwnBid.

func (*BidResult) SetItemName

func (s *BidResult) SetItemName(val OptNilString)

SetItemName sets the value of ItemName.

func (*BidResult) SetStartingBid

func (s *BidResult) SetStartingBid(val OptInt64)

SetStartingBid sets the value of StartingBid.

func (*BidResult) SetTag

func (s *BidResult) SetTag(val OptNilString)

SetTag sets the value of Tag.

func (*BidResult) UnmarshalJSON

func (s *BidResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type BinResponse

type BinResponse struct {
	// The lowest bin price.
	Lowest OptInt64 `json:"lowest"`
	// The lowest bin auction uuid.
	UUID OptNilString `json:"uuid"`
	// The price of the second lowest bin.
	SecondLowest OptInt64 `json:"secondLowest"`
}

Lowest bin response. Ref: #/components/schemas/BinResponse

func (*BinResponse) Decode

func (s *BinResponse) Decode(d *jx.Decoder) error

Decode decodes BinResponse from json.

func (*BinResponse) Encode

func (s *BinResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*BinResponse) GetLowest

func (s *BinResponse) GetLowest() OptInt64

GetLowest returns the value of Lowest.

func (*BinResponse) GetSecondLowest

func (s *BinResponse) GetSecondLowest() OptInt64

GetSecondLowest returns the value of SecondLowest.

func (*BinResponse) GetUUID

func (s *BinResponse) GetUUID() OptNilString

GetUUID returns the value of UUID.

func (*BinResponse) MarshalJSON

func (s *BinResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*BinResponse) SetLowest

func (s *BinResponse) SetLowest(val OptInt64)

SetLowest sets the value of Lowest.

func (*BinResponse) SetSecondLowest

func (s *BinResponse) SetSecondLowest(val OptInt64)

SetSecondLowest sets the value of SecondLowest.

func (*BinResponse) SetUUID

func (s *BinResponse) SetUUID(val OptNilString)

SetUUID sets the value of UUID.

func (*BinResponse) UnmarshalJSON

func (s *BinResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type BuyOrder

type BuyOrder struct {
	Amount       OptInt32   `json:"amount"`
	PricePerUnit OptFloat64 `json:"pricePerUnit"`
	Orders       OptInt32   `json:"orders"`
}

Ref: #/components/schemas/BuyOrder

func (*BuyOrder) Decode

func (s *BuyOrder) Decode(d *jx.Decoder) error

Decode decodes BuyOrder from json.

func (*BuyOrder) Encode

func (s *BuyOrder) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*BuyOrder) GetAmount

func (s *BuyOrder) GetAmount() OptInt32

GetAmount returns the value of Amount.

func (*BuyOrder) GetOrders

func (s *BuyOrder) GetOrders() OptInt32

GetOrders returns the value of Orders.

func (*BuyOrder) GetPricePerUnit

func (s *BuyOrder) GetPricePerUnit() OptFloat64

GetPricePerUnit returns the value of PricePerUnit.

func (*BuyOrder) MarshalJSON

func (s *BuyOrder) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*BuyOrder) SetAmount

func (s *BuyOrder) SetAmount(val OptInt32)

SetAmount sets the value of Amount.

func (*BuyOrder) SetOrders

func (s *BuyOrder) SetOrders(val OptInt32)

SetOrders sets the value of Orders.

func (*BuyOrder) SetPricePerUnit

func (s *BuyOrder) SetPricePerUnit(val OptFloat64)

SetPricePerUnit sets the value of PricePerUnit.

func (*BuyOrder) UnmarshalJSON

func (s *BuyOrder) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BuyOrder) Validate

func (s *BuyOrder) Validate() error

type Category

type Category string

Ref: #/components/schemas/Category

const (
	CategoryUNKNOWN     Category = "UNKNOWN"
	CategoryWEAPON      Category = "WEAPON"
	CategoryARMOR       Category = "ARMOR"
	CategoryACCESSORIES Category = "ACCESSORIES"
	CategoryCONSUMABLES Category = "CONSUMABLES"
	CategoryBLOCKS      Category = "BLOCKS"
	CategoryMISC        Category = "MISC"
)

func (*Category) Decode

func (s *Category) Decode(d *jx.Decoder) error

Decode decodes Category from json.

func (Category) Encode

func (s Category) Encode(e *jx.Encoder)

Encode encodes Category as json.

func (Category) MarshalJSON

func (s Category) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (Category) MarshalText

func (s Category) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*Category) UnmarshalJSON

func (s *Category) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Category) UnmarshalText

func (s *Category) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (Category) Validate

func (s Category) Validate() error

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client implements OAS client.

func NewClient

func NewClient(serverURL string, opts ...ClientOption) (*Client, error)

NewClient initializes new Client defined by OAS.

func (*Client) APIAuctionAuctionUuidGet

func (c *Client) APIAuctionAuctionUuidGet(ctx context.Context, params APIAuctionAuctionUuidGetParams) (*ColorSaveAuction, error)

APIAuctionAuctionUuidGet invokes GET /api/auction/{auctionUuid} operation.

Retrieve details of a specific auction.

GET /api/auction/{auctionUuid}

func (*Client) APIAuctionAuctionUuidUIDGet

func (c *Client) APIAuctionAuctionUuidUIDGet(ctx context.Context, params APIAuctionAuctionUuidUIDGetParams) (APIAuctionAuctionUuidUIDGetRes, error)

APIAuctionAuctionUuidUIDGet invokes GET /api/auction/{auctionUuid}/uid operation.

Retrieve the uid of an auction (mainly a helper to get the lookup id for another service).

GET /api/auction/{auctionUuid}/uid

func (*Client) APIAuctionsActiveUUIDPost

func (c *Client) APIAuctionsActiveUUIDPost(ctx context.Context, request []string) ([]string, error)

APIAuctionsActiveUUIDPost invokes POST /api/auctions/active/uuid operation.

Checks an array of item uuids if they are active on the ah.

POST /api/auctions/active/uuid

func (*Client) APIAuctionsBatchGet

func (c *Client) APIAuctionsBatchGet(ctx context.Context, params APIAuctionsBatchGetParams) error

APIAuctionsBatchGet invokes GET /api/auctions/batch operation.

Batch raw item value export, requires token.

GET /api/auctions/batch

func (*Client) APIAuctionsSupplyLowGet

func (c *Client) APIAuctionsSupplyLowGet(ctx context.Context) ([]SupplyElement, error)

APIAuctionsSupplyLowGet invokes GET /api/auctions/supply/low operation.

Get items that are in low supply.

GET /api/auctions/supply/low

func (*Client) APIAuctionsTagItemTagActiveBinGet

func (c *Client) APIAuctionsTagItemTagActiveBinGet(ctx context.Context, params APIAuctionsTagItemTagActiveBinGetParams) ([]SaveAuction, error)

APIAuctionsTagItemTagActiveBinGet invokes GET /api/auctions/tag/{itemTag}/active/bin operation.

Get the 10 (or how many are available) lowest bins.

GET /api/auctions/tag/{itemTag}/active/bin

func (*Client) APIAuctionsTagItemTagActiveOverviewGet

func (c *Client) APIAuctionsTagItemTagActiveOverviewGet(ctx context.Context, params APIAuctionsTagItemTagActiveOverviewGetParams) ([]AuctionPreview, error)

APIAuctionsTagItemTagActiveOverviewGet invokes GET /api/auctions/tag/{itemTag}/active/overview operation.

Gets a preview of active auctions useful in overviews, available orderBy options HIGHEST_PRICE, LOWEST_PRICE (default), ENDING_SOON.

GET /api/auctions/tag/{itemTag}/active/overview

func (*Client) APIAuctionsTagItemTagRecentOverviewGet

func (c *Client) APIAuctionsTagItemTagRecentOverviewGet(ctx context.Context, params APIAuctionsTagItemTagRecentOverviewGetParams) ([]AuctionPreview, error)

APIAuctionsTagItemTagRecentOverviewGet invokes GET /api/auctions/tag/{itemTag}/recent/overview operation.

Gets a preview of recent auctions useful in overviews.

GET /api/auctions/tag/{itemTag}/recent/overview

func (*Client) APIAuctionsTagItemTagSoldGet

func (c *Client) APIAuctionsTagItemTagSoldGet(ctx context.Context, params APIAuctionsTagItemTagSoldGetParams) ([]SaveAuction, error)

APIAuctionsTagItemTagSoldGet invokes GET /api/auctions/tag/{itemTag}/sold operation.

Get a batch of 1000 auctions that sold in the last week for any kind of processing. Please credit us with providing data for whatever you are doing. You can also manually request a review to get older data on the discord.

GET /api/auctions/tag/{itemTag}/sold

func (*Client) APIAuctionsUIDUIDSoldGet

func (c *Client) APIAuctionsUIDUIDSoldGet(ctx context.Context, params APIAuctionsUIDUIDSoldGetParams) ([]ItemSell, error)

APIAuctionsUIDUIDSoldGet invokes GET /api/auctions/uid/{uid}/sold operation.

Gets all recorded past sells of an item with a specific uuid meant for dupe detection.

GET /api/auctions/uid/{uid}/sold

func (*Client) APIAuctionsUidsSoldPost

func (c *Client) APIAuctionsUidsSoldPost(ctx context.Context, request *InventoryBatchLookup) error

APIAuctionsUidsSoldPost invokes POST /api/auctions/uids/sold operation.

Gets all recorded past sells of a batch of items by uuid meant for dupe detection of whole inventories.

POST /api/auctions/uids/sold

func (*Client) APIBazaarItemHistoryItemTagStatusGet deprecated

APIBazaarItemHistoryItemTagStatusGet invokes GET /api/bazaar/item/history/{itemTag}/status operation.

Returns bazaar history.

Deprecated: schema marks this operation as deprecated.

GET /api/bazaar/item/history/{itemTag}/status

func (*Client) APIBazaarItemTagHistoryDayGet

func (c *Client) APIBazaarItemTagHistoryDayGet(ctx context.Context, params APIBazaarItemTagHistoryDayGetParams) ([]GraphResult, error)

APIBazaarItemTagHistoryDayGet invokes GET /api/bazaar/{itemTag}/history/day operation.

Gets the history data for display in a graph for one day ( in intervalls of 5 minutes).

GET /api/bazaar/{itemTag}/history/day

func (*Client) APIBazaarItemTagHistoryGet

func (c *Client) APIBazaarItemTagHistoryGet(ctx context.Context, params APIBazaarItemTagHistoryGetParams) ([]GraphResult, error)

APIBazaarItemTagHistoryGet invokes GET /api/bazaar/{itemTag}/history operation.

Gets the history data for display in a graph.

GET /api/bazaar/{itemTag}/history

func (*Client) APIBazaarItemTagHistoryHourGet

func (c *Client) APIBazaarItemTagHistoryHourGet(ctx context.Context, params APIBazaarItemTagHistoryHourGetParams) ([]GraphResult, error)

APIBazaarItemTagHistoryHourGet invokes GET /api/bazaar/{itemTag}/history/hour operation.

Gets the history data for display in a graph for one hour ( in intervalls of 10 seconds).

GET /api/bazaar/{itemTag}/history/hour

func (*Client) APIBazaarItemTagHistoryWeekGet

func (c *Client) APIBazaarItemTagHistoryWeekGet(ctx context.Context, params APIBazaarItemTagHistoryWeekGetParams) ([]GraphResult, error)

APIBazaarItemTagHistoryWeekGet invokes GET /api/bazaar/{itemTag}/history/week operation.

Gets the history data for display in a graph for one week ( in intervalls of 2 hours).

GET /api/bazaar/{itemTag}/history/week

func (*Client) APIBazaarItemTagSnapshotGet

func (c *Client) APIBazaarItemTagSnapshotGet(ctx context.Context, params APIBazaarItemTagSnapshotGetParams) (*StorageQuickStatus, error)

APIBazaarItemTagSnapshotGet invokes GET /api/bazaar/{itemTag}/snapshot operation.

Gets a snapshot of a specific item at a specific time.

GET /api/bazaar/{itemTag}/snapshot

func (*Client) APICraftAPICraftGet

func (c *Client) APICraftAPICraftGet(ctx context.Context) error

APICraftAPICraftGet invokes GET /api/craft/api/craft operation.

Returns the crafting recipe for some item.

GET /api/craft/api/craft

func (*Client) APICraftProfitGet

func (c *Client) APICraftProfitGet(ctx context.Context, params APICraftProfitGetParams) ([]ProfitableCraft, error)

APICraftProfitGet invokes GET /api/craft/profit operation.

Craft flips.

GET /api/craft/profit

func (*Client) APICraftRecipeItemTagGet

func (c *Client) APICraftRecipeItemTagGet(ctx context.Context, params APICraftRecipeItemTagGetParams) error

APICraftRecipeItemTagGet invokes GET /api/craft/recipe/{itemTag} operation.

Returns the crafting recipe for some item.

GET /api/craft/recipe/{itemTag}

func (*Client) APIDataPlayerNamePost

func (c *Client) APIDataPlayerNamePost(ctx context.Context, params APIDataPlayerNamePostParams) (*Int32Int64ValueTuple, error)

APIDataPlayerNamePost invokes POST /api/data/playerName operation.

Accepts player name based auction hints.

POST /api/data/playerName

func (*Client) APIDataPlayerNamesPost

func (c *Client) APIDataPlayerNamesPost(ctx context.Context, request []string) ([]Int32Int64ValueTuple, error)

APIDataPlayerNamesPost invokes POST /api/data/playerNames operation.

Accepts player name based auction hints.

POST /api/data/playerNames

func (*Client) APIDataProxyPost

func (c *Client) APIDataProxyPost(ctx context.Context) (APIDataProxyPostRes, error)

APIDataProxyPost invokes POST /api/data/proxy operation.

Endpoint to upload proxied data.

POST /api/data/proxy

func (*Client) APIFilterOptionsGet

func (c *Client) APIFilterOptionsGet(ctx context.Context, params APIFilterOptionsGetParams) ([]FilterOptions, error)

APIFilterOptionsGet invokes GET /api/filter/options operation.

Returns all available filters with all available options.

GET /api/filter/options

func (*Client) APIFilterPost

func (c *Client) APIFilterPost(ctx context.Context, request *FilterQuery) (bool, error)

APIFilterPost invokes POST /api/Filter operation.

POST /api/Filter

func (*Client) APIFlipSettingsOptionsGet

func (c *Client) APIFlipSettingsOptionsGet(ctx context.Context) (*FlipSettings, error)

APIFlipSettingsOptionsGet invokes GET /api/flip/settings/options operation.

Shows you the available settings options for the socket comand subFlip, Doesn't currently actually do anything.

GET /api/flip/settings/options

func (*Client) APIFlipStatsFinderFinderNameGet

func (c *Client) APIFlipStatsFinderFinderNameGet(ctx context.Context, params APIFlipStatsFinderFinderNameGetParams) ([]FlipDetails, error)

APIFlipStatsFinderFinderNameGet invokes GET /api/flip/stats/finder/{finderName} operation.

Get flips stats for one type of flip finder.

GET /api/flip/stats/finder/{finderName}

func (*Client) APIFlipStatsPlayerPlayerUuidGet

func (c *Client) APIFlipStatsPlayerPlayerUuidGet(ctx context.Context, params APIFlipStatsPlayerPlayerUuidGetParams) (*FlipSumary, error)

APIFlipStatsPlayerPlayerUuidGet invokes GET /api/flip/stats/player/{playerUuid} operation.

Get flips stats for player.

GET /api/flip/stats/player/{playerUuid}

func (*Client) APIFlipStatsPlayerPlayerUuidHourGet

func (c *Client) APIFlipStatsPlayerPlayerUuidHourGet(ctx context.Context, params APIFlipStatsPlayerPlayerUuidHourGetParams) (*FlipSumary, error)

APIFlipStatsPlayerPlayerUuidHourGet invokes GET /api/flip/stats/player/{playerUuid}/hour operation.

Get flips stats for player for the last hour (faster).

GET /api/flip/stats/player/{playerUuid}/hour

func (*Client) APIFlipTrackFoundAuctionIdPost

func (c *Client) APIFlipTrackFoundAuctionIdPost(ctx context.Context, params APIFlipTrackFoundAuctionIdPostParams) error

APIFlipTrackFoundAuctionIdPost invokes POST /api/flip/track/found/{auctionId} operation.

Callback for external flip finders to be included in tracking.

POST /api/flip/track/found/{auctionId}

func (*Client) APIFlipTrackPurchaseAuctionIdPost

func (c *Client) APIFlipTrackPurchaseAuctionIdPost(ctx context.Context, params APIFlipTrackPurchaseAuctionIdPostParams) error

APIFlipTrackPurchaseAuctionIdPost invokes POST /api/flip/track/purchase/{auctionId} operation.

Callback for external flip finders to be included in tracking.

POST /api/flip/track/purchase/{auctionId}

func (*Client) APIFlipUpdateWhenGet

func (c *Client) APIFlipUpdateWhenGet(ctx context.Context) (time.Time, error)

APIFlipUpdateWhenGet invokes GET /api/flip/update/when operation.

The last time an update was loaded (cached for 30min) You should only look at the second part.

GET /api/flip/update/when

func (*Client) APIItemItemTagDetailsGet

func (c *Client) APIItemItemTagDetailsGet(ctx context.Context, params APIItemItemTagDetailsGetParams) (*SkyblockItem, error)

APIItemItemTagDetailsGet invokes GET /api/item/{itemTag}/details operation.

Returns details about a specific item This gets updated once every hour.

GET /api/item/{itemTag}/details

func (*Client) APIItemItemTagSimilarGet

func (c *Client) APIItemItemTagSimilarGet(ctx context.Context, params APIItemItemTagSimilarGetParams) ([]ItemPreview, error)

APIItemItemTagSimilarGet invokes GET /api/item/{itemTag}/similar operation.

Other items related to some tag.

GET /api/item/{itemTag}/similar

func (*Client) APIItemPriceItemTagBinGet

func (c *Client) APIItemPriceItemTagBinGet(ctx context.Context, params APIItemPriceItemTagBinGetParams) (*BinResponse, error)

APIItemPriceItemTagBinGet invokes GET /api/item/price/{itemTag}/bin operation.

Gets the lowest bin by item type.

GET /api/item/price/{itemTag}/bin

func (*Client) APIItemPriceItemTagCurrentGet

func (c *Client) APIItemPriceItemTagCurrentGet(ctx context.Context, params APIItemPriceItemTagCurrentGetParams) (*CurrentPrice, error)

APIItemPriceItemTagCurrentGet invokes GET /api/item/price/{itemTag}/current operation.

Gets the current (latest known) price for an item and available quantity, supports items from bazaar and ah.

GET /api/item/price/{itemTag}/current

func (*Client) APIItemPriceItemTagGet

func (c *Client) APIItemPriceItemTagGet(ctx context.Context, params APIItemPriceItemTagGetParams) (*PriceSumary, error)

APIItemPriceItemTagGet invokes GET /api/item/price/{itemTag} operation.

Aggregated sumary of item prices for the 3 last days.

GET /api/item/price/{itemTag}

func (*Client) APIItemPriceItemTagHistoryDayGet

func (c *Client) APIItemPriceItemTagHistoryDayGet(ctx context.Context, params APIItemPriceItemTagHistoryDayGetParams) ([]AveragePrice, error)

APIItemPriceItemTagHistoryDayGet invokes GET /api/item/price/{itemTag}/history/day operation.

Gets the price history for an item for the last 24 hours.

GET /api/item/price/{itemTag}/history/day

func (*Client) APIItemPriceItemTagHistoryFullGet

func (c *Client) APIItemPriceItemTagHistoryFullGet(ctx context.Context, params APIItemPriceItemTagHistoryFullGetParams) ([]AveragePrice, error)

APIItemPriceItemTagHistoryFullGet invokes GET /api/item/price/{itemTag}/history/full operation.

Gets the price history for an item for all time.

GET /api/item/price/{itemTag}/history/full

func (*Client) APIItemPriceItemTagHistoryMonthGet

func (c *Client) APIItemPriceItemTagHistoryMonthGet(ctx context.Context, params APIItemPriceItemTagHistoryMonthGetParams) ([]AveragePrice, error)

APIItemPriceItemTagHistoryMonthGet invokes GET /api/item/price/{itemTag}/history/month operation.

Gets the price history for an item for one month.

GET /api/item/price/{itemTag}/history/month

func (*Client) APIItemPriceItemTagHistoryWeekGet

func (c *Client) APIItemPriceItemTagHistoryWeekGet(ctx context.Context, params APIItemPriceItemTagHistoryWeekGetParams) ([]AveragePrice, error)

APIItemPriceItemTagHistoryWeekGet invokes GET /api/item/price/{itemTag}/history/week operation.

Gets the price history for an item for the last 7 days.

GET /api/item/price/{itemTag}/history/week

func (*Client) APIItemSearchSearchValGet

func (c *Client) APIItemSearchSearchValGet(ctx context.Context, params APIItemSearchSearchValGetParams) ([]SearchResultItem, error)

APIItemSearchSearchValGet invokes GET /api/item/search/{searchVal} operation.

Searches through all items, includes the rarity of items.

GET /api/item/search/{searchVal}

func (*Client) APIItemsBazaarTagsGet

func (c *Client) APIItemsBazaarTagsGet(ctx context.Context) ([]string, error)

APIItemsBazaarTagsGet invokes GET /api/items/bazaar/tags operation.

A list of item tags (hypixel ids) that are tradeable on bazaar This gets updated once every hour.

GET /api/items/bazaar/tags

func (*Client) APIItemsGet

func (c *Client) APIItemsGet(ctx context.Context) ([]ItemMetadataElement, error)

APIItemsGet invokes GET /api/items operation.

Get all item tags, names and wherever they are on ah or bazaar.

GET /api/items

func (*Client) APIItemsNamesPost

func (c *Client) APIItemsNamesPost(ctx context.Context, request []string) error

APIItemsNamesPost invokes POST /api/items/names operation.

Batch lookup names for item tags.

POST /api/items/names

func (*Client) APIKatDataGet

func (c *Client) APIKatDataGet(ctx context.Context) ([]KatUpgradeCost, error)

APIKatDataGet invokes GET /api/kat/data operation.

Raw data of upgrade cost.

GET /api/kat/data

func (*Client) APIKatProfitGet

func (c *Client) APIKatProfitGet(ctx context.Context) ([]KatFlip, error)

APIKatProfitGet invokes GET /api/kat/profit operation.

Kat flips.

GET /api/kat/profit

func (*Client) APIMayorGet

func (c *Client) APIMayorGet(ctx context.Context, params APIMayorGetParams) ([]ModelElectionPeriod, error)

APIMayorGet invokes GET /api/mayor operation.

Gets election data between two Timestamps.

GET /api/mayor

func (*Client) APIMayorYearGet

func (c *Client) APIMayorYearGet(ctx context.Context, params APIMayorYearGetParams) (*ModelElectionPeriod, error)

APIMayorYearGet invokes GET /api/mayor/{year} operation.

Return Election results for a specific year.

GET /api/mayor/{year}

func (*Client) APIModCommandsGet

func (c *Client) APIModCommandsGet(ctx context.Context) ([]CommandListEntry, error)

APIModCommandsGet invokes GET /api/mod/commands operation.

Returns a list of available server-side commands.

GET /api/mod/commands

func (*Client) APIModDescriptionModificationsPost

func (c *Client) APIModDescriptionModificationsPost(ctx context.Context, request *InventoryData, params APIModDescriptionModificationsPostParams) (APIModDescriptionModificationsPostRes, error)

APIModDescriptionModificationsPost invokes POST /api/mod/description/modifications operation.

Returns a collection of modifications for each item passed.

POST /api/mod/description/modifications

func (*Client) APIModDescriptionPost

func (c *Client) APIModDescriptionPost(ctx context.Context, request *InventoryData, params APIModDescriptionPostParams) (APIModDescriptionPostRes, error)

APIModDescriptionPost invokes POST /api/mod/description operation.

Returns new descriptions for an array of items.

POST /api/mod/description

func (*Client) APIModItemUUIDGet

func (c *Client) APIModItemUUIDGet(ctx context.Context, params APIModItemUUIDGetParams) (APIModItemUUIDGetRes, error)

APIModItemUUIDGet invokes GET /api/mod/item/{uuid} operation.

Returns extra information for an item.

GET /api/mod/item/{uuid}

func (*Client) APIPlayerPlayerUuidAuctionsGet

func (c *Client) APIPlayerPlayerUuidAuctionsGet(ctx context.Context, params APIPlayerPlayerUuidAuctionsGetParams) ([]AuctionResult, error)

APIPlayerPlayerUuidAuctionsGet invokes GET /api/player/{playerUuid}/auctions operation.

The last 10 auctions a player created.

GET /api/player/{playerUuid}/auctions

func (*Client) APIPlayerPlayerUuidBidsGet

func (c *Client) APIPlayerPlayerUuidBidsGet(ctx context.Context, params APIPlayerPlayerUuidBidsGetParams) ([]BidResult, error)

APIPlayerPlayerUuidBidsGet invokes GET /api/player/{playerUuid}/bids operation.

The last 10 bids (with auction) a player did.

GET /api/player/{playerUuid}/bids

func (*Client) APIPlayerPlayerUuidNameGet

func (c *Client) APIPlayerPlayerUuidNameGet(ctx context.Context, params APIPlayerPlayerUuidNameGetParams) (APIPlayerPlayerUuidNameGetRes, error)

APIPlayerPlayerUuidNameGet invokes GET /api/player/{playerUuid}/name operation.

The name for a given uuid.

GET /api/player/{playerUuid}/name

func (*Client) APIPlayerPlayerUuidNamePost

func (c *Client) APIPlayerPlayerUuidNamePost(ctx context.Context, params APIPlayerPlayerUuidNamePostParams) (APIPlayerPlayerUuidNamePostRes, error)

APIPlayerPlayerUuidNamePost invokes POST /api/player/{playerUuid}/name operation.

The name for a given uuid.

POST /api/player/{playerUuid}/name

func (*Client) APIPremiumPricesAdjustedPost

func (c *Client) APIPremiumPricesAdjustedPost(ctx context.Context, request []string) error

APIPremiumPricesAdjustedPost invokes POST /api/premium/prices/adjusted operation.

Get adjusted prices.

POST /api/premium/prices/adjusted

func (*Client) APIPremiumUserOwnsPost

func (c *Client) APIPremiumUserOwnsPost(ctx context.Context, request []string) error

APIPremiumUserOwnsPost invokes POST /api/premium/user/owns operation.

Get adjusted prices.

POST /api/premium/user/owns

func (*Client) APIPriceNbtPost

func (c *Client) APIPriceNbtPost(ctx context.Context, request *InventoryData) ([]PriceEstimate, error)

APIPriceNbtPost invokes POST /api/price/nbt operation.

Returns price estimations for nbt data (for in game mods) NOTE: THIS WILL BE A PAID FEATURE IN THE FUTURE.

POST /api/price/nbt

func (*Client) APIReferralInfoGet

func (c *Client) APIReferralInfoGet(ctx context.Context) (*ReferralInfo, error)

APIReferralInfoGet invokes GET /api/referral/info operation.

Returns ReferralCode and statistics for the user.

GET /api/referral/info

func (*Client) APIReferralReferredByPost

func (c *Client) APIReferralReferredByPost(ctx context.Context, request *ReferredBy) error

APIReferralReferredByPost invokes POST /api/referral/referred/by operation.

Tells the backend that the user was referred by someone.

POST /api/referral/referred/by

func (*Client) APISearchPlayerPlayerNameGet

func (c *Client) APISearchPlayerPlayerNameGet(ctx context.Context, params APISearchPlayerPlayerNameGetParams) ([]PlayerResult, error)

APISearchPlayerPlayerNameGet invokes GET /api/search/player/{playerName} operation.

Search player.

GET /api/search/player/{playerName}

func (*Client) APISearchSearchValGet

func (c *Client) APISearchSearchValGet(ctx context.Context, params APISearchSearchValGetParams) ([]SearchResultItem, error)

APISearchSearchValGet invokes GET /api/search/{searchVal} operation.

Full search, includes item types, items (by uuid), players, auctions and enchantments.

GET /api/search/{searchVal}

func (*Client) APIServicePurchasePost

func (c *Client) APIServicePurchasePost(ctx context.Context, request *PurchaseArgs) error

APIServicePurchasePost invokes POST /api/service/purchase operation.

Purchase a service.

POST /api/service/purchase

func (*Client) APITopupOptionsGet

func (c *Client) APITopupOptionsGet(ctx context.Context) ([]TopUpProduct, error)

APITopupOptionsGet invokes GET /api/topup/options operation.

Products to top up.

GET /api/topup/options

func (*Client) APITopupPaypalProductSlugPost

func (c *Client) APITopupPaypalProductSlugPost(ctx context.Context, request *TopUpArguments, params APITopupPaypalProductSlugPostParams) error

APITopupPaypalProductSlugPost invokes POST /api/topup/paypal/{productSlug} operation.

Start a new topup session with paypal.

POST /api/topup/paypal/{productSlug}

func (*Client) APITopupStripeProductSlugPost

func (c *Client) APITopupStripeProductSlugPost(ctx context.Context, request *TopUpArguments, params APITopupStripeProductSlugPostParams) error

APITopupStripeProductSlugPost invokes POST /api/topup/stripe/{productSlug} operation.

Start a new topup session with stripe.

POST /api/topup/stripe/{productSlug}

func (*Client) APIUserPrivacyGet

func (c *Client) APIUserPrivacyGet(ctx context.Context) (*PrivacySettings, error)

APIUserPrivacyGet invokes GET /api/user/privacy operation.

Get the users privacy settings (requires google token).

GET /api/user/privacy

func (*Client) APIUserPrivacyPost

func (c *Client) APIUserPrivacyPost(ctx context.Context, request *PrivacySettings) error

APIUserPrivacyPost invokes POST /api/user/privacy operation.

Update users privacy settings (requires google token).

POST /api/user/privacy

type ClientOption

type ClientOption interface {
	// contains filtered or unexported methods
}

ClientOption is client config option.

func WithClient

func WithClient(client ht.Client) ClientOption

WithClient specifies http client to use.

type ColorEnchant

type ColorEnchant struct {
	Color OptNilString       `json:"color"`
	Type  OptEnchantmentType `json:"type"`
	Level OptInt32           `json:"level"`
}

Ref: #/components/schemas/ColorEnchant

func (*ColorEnchant) Decode

func (s *ColorEnchant) Decode(d *jx.Decoder) error

Decode decodes ColorEnchant from json.

func (*ColorEnchant) Encode

func (s *ColorEnchant) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ColorEnchant) GetColor

func (s *ColorEnchant) GetColor() OptNilString

GetColor returns the value of Color.

func (*ColorEnchant) GetLevel

func (s *ColorEnchant) GetLevel() OptInt32

GetLevel returns the value of Level.

func (*ColorEnchant) GetType

func (s *ColorEnchant) GetType() OptEnchantmentType

GetType returns the value of Type.

func (*ColorEnchant) MarshalJSON

func (s *ColorEnchant) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ColorEnchant) SetColor

func (s *ColorEnchant) SetColor(val OptNilString)

SetColor sets the value of Color.

func (*ColorEnchant) SetLevel

func (s *ColorEnchant) SetLevel(val OptInt32)

SetLevel sets the value of Level.

func (*ColorEnchant) SetType

func (s *ColorEnchant) SetType(val OptEnchantmentType)

SetType sets the value of Type.

func (*ColorEnchant) UnmarshalJSON

func (s *ColorEnchant) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ColorEnchant) Validate

func (s *ColorEnchant) Validate() error

type ColorSaveAuction

type ColorSaveAuction struct {
	Enchantments     OptNilColorEnchantArray       `json:"enchantments"`
	UUID             OptNilString                  `json:"uuid"`
	Count            OptInt32                      `json:"count"`
	StartingBid      OptInt64                      `json:"startingBid"`
	Tag              OptNilString                  `json:"tag"`
	ItemName         OptNilString                  `json:"itemName"`
	Start            OptDateTime                   `json:"start"`
	End              OptDateTime                   `json:"end"`
	AuctioneerId     OptNilString                  `json:"auctioneerId"`
	ProfileId        OptNilString                  `json:"profileId"`
	Coop             OptNilStringArray             `json:"coop"`
	CoopMembers      OptNilUUIDArray               `json:"coopMembers"`
	HighestBidAmount OptInt64                      `json:"highestBidAmount"`
	Bids             OptNilSaveBidsArray           `json:"bids"`
	AnvilUses        OptInt32                      `json:"anvilUses"`
	NbtData          OptNbtData                    `json:"nbtData"`
	ItemCreatedAt    OptDateTime                   `json:"itemCreatedAt"`
	Reforge          OptReforge                    `json:"reforge"`
	Category         OptCategory                   `json:"category"`
	Tier             OptTier                       `json:"tier"`
	Bin              OptBool                       `json:"bin"`
	FlatNbt          OptNilColorSaveAuctionFlatNbt `json:"flatNbt"`
}

Ref: #/components/schemas/ColorSaveAuction

func (*ColorSaveAuction) Decode

func (s *ColorSaveAuction) Decode(d *jx.Decoder) error

Decode decodes ColorSaveAuction from json.

func (*ColorSaveAuction) Encode

func (s *ColorSaveAuction) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ColorSaveAuction) GetAnvilUses

func (s *ColorSaveAuction) GetAnvilUses() OptInt32

GetAnvilUses returns the value of AnvilUses.

func (*ColorSaveAuction) GetAuctioneerId

func (s *ColorSaveAuction) GetAuctioneerId() OptNilString

GetAuctioneerId returns the value of AuctioneerId.

func (*ColorSaveAuction) GetBids

GetBids returns the value of Bids.

func (*ColorSaveAuction) GetBin

func (s *ColorSaveAuction) GetBin() OptBool

GetBin returns the value of Bin.

func (*ColorSaveAuction) GetCategory

func (s *ColorSaveAuction) GetCategory() OptCategory

GetCategory returns the value of Category.

func (*ColorSaveAuction) GetCoop

func (s *ColorSaveAuction) GetCoop() OptNilStringArray

GetCoop returns the value of Coop.

func (*ColorSaveAuction) GetCoopMembers

func (s *ColorSaveAuction) GetCoopMembers() OptNilUUIDArray

GetCoopMembers returns the value of CoopMembers.

func (*ColorSaveAuction) GetCount

func (s *ColorSaveAuction) GetCount() OptInt32

GetCount returns the value of Count.

func (*ColorSaveAuction) GetEnchantments

func (s *ColorSaveAuction) GetEnchantments() OptNilColorEnchantArray

GetEnchantments returns the value of Enchantments.

func (*ColorSaveAuction) GetEnd

func (s *ColorSaveAuction) GetEnd() OptDateTime

GetEnd returns the value of End.

func (*ColorSaveAuction) GetFlatNbt

GetFlatNbt returns the value of FlatNbt.

func (*ColorSaveAuction) GetHighestBidAmount

func (s *ColorSaveAuction) GetHighestBidAmount() OptInt64

GetHighestBidAmount returns the value of HighestBidAmount.

func (*ColorSaveAuction) GetItemCreatedAt

func (s *ColorSaveAuction) GetItemCreatedAt() OptDateTime

GetItemCreatedAt returns the value of ItemCreatedAt.

func (*ColorSaveAuction) GetItemName

func (s *ColorSaveAuction) GetItemName() OptNilString

GetItemName returns the value of ItemName.

func (*ColorSaveAuction) GetNbtData

func (s *ColorSaveAuction) GetNbtData() OptNbtData

GetNbtData returns the value of NbtData.

func (*ColorSaveAuction) GetProfileId

func (s *ColorSaveAuction) GetProfileId() OptNilString

GetProfileId returns the value of ProfileId.

func (*ColorSaveAuction) GetReforge

func (s *ColorSaveAuction) GetReforge() OptReforge

GetReforge returns the value of Reforge.

func (*ColorSaveAuction) GetStart

func (s *ColorSaveAuction) GetStart() OptDateTime

GetStart returns the value of Start.

func (*ColorSaveAuction) GetStartingBid

func (s *ColorSaveAuction) GetStartingBid() OptInt64

GetStartingBid returns the value of StartingBid.

func (*ColorSaveAuction) GetTag

func (s *ColorSaveAuction) GetTag() OptNilString

GetTag returns the value of Tag.

func (*ColorSaveAuction) GetTier

func (s *ColorSaveAuction) GetTier() OptTier

GetTier returns the value of Tier.

func (*ColorSaveAuction) GetUUID

func (s *ColorSaveAuction) GetUUID() OptNilString

GetUUID returns the value of UUID.

func (*ColorSaveAuction) MarshalJSON

func (s *ColorSaveAuction) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ColorSaveAuction) SetAnvilUses

func (s *ColorSaveAuction) SetAnvilUses(val OptInt32)

SetAnvilUses sets the value of AnvilUses.

func (*ColorSaveAuction) SetAuctioneerId

func (s *ColorSaveAuction) SetAuctioneerId(val OptNilString)

SetAuctioneerId sets the value of AuctioneerId.

func (*ColorSaveAuction) SetBids

func (s *ColorSaveAuction) SetBids(val OptNilSaveBidsArray)

SetBids sets the value of Bids.

func (*ColorSaveAuction) SetBin

func (s *ColorSaveAuction) SetBin(val OptBool)

SetBin sets the value of Bin.

func (*ColorSaveAuction) SetCategory

func (s *ColorSaveAuction) SetCategory(val OptCategory)

SetCategory sets the value of Category.

func (*ColorSaveAuction) SetCoop

func (s *ColorSaveAuction) SetCoop(val OptNilStringArray)

SetCoop sets the value of Coop.

func (*ColorSaveAuction) SetCoopMembers

func (s *ColorSaveAuction) SetCoopMembers(val OptNilUUIDArray)

SetCoopMembers sets the value of CoopMembers.

func (*ColorSaveAuction) SetCount

func (s *ColorSaveAuction) SetCount(val OptInt32)

SetCount sets the value of Count.

func (*ColorSaveAuction) SetEnchantments

func (s *ColorSaveAuction) SetEnchantments(val OptNilColorEnchantArray)

SetEnchantments sets the value of Enchantments.

func (*ColorSaveAuction) SetEnd

func (s *ColorSaveAuction) SetEnd(val OptDateTime)

SetEnd sets the value of End.

func (*ColorSaveAuction) SetFlatNbt

SetFlatNbt sets the value of FlatNbt.

func (*ColorSaveAuction) SetHighestBidAmount

func (s *ColorSaveAuction) SetHighestBidAmount(val OptInt64)

SetHighestBidAmount sets the value of HighestBidAmount.

func (*ColorSaveAuction) SetItemCreatedAt

func (s *ColorSaveAuction) SetItemCreatedAt(val OptDateTime)

SetItemCreatedAt sets the value of ItemCreatedAt.

func (*ColorSaveAuction) SetItemName

func (s *ColorSaveAuction) SetItemName(val OptNilString)

SetItemName sets the value of ItemName.

func (*ColorSaveAuction) SetNbtData

func (s *ColorSaveAuction) SetNbtData(val OptNbtData)

SetNbtData sets the value of NbtData.

func (*ColorSaveAuction) SetProfileId

func (s *ColorSaveAuction) SetProfileId(val OptNilString)

SetProfileId sets the value of ProfileId.

func (*ColorSaveAuction) SetReforge

func (s *ColorSaveAuction) SetReforge(val OptReforge)

SetReforge sets the value of Reforge.

func (*ColorSaveAuction) SetStart

func (s *ColorSaveAuction) SetStart(val OptDateTime)

SetStart sets the value of Start.

func (*ColorSaveAuction) SetStartingBid

func (s *ColorSaveAuction) SetStartingBid(val OptInt64)

SetStartingBid sets the value of StartingBid.

func (*ColorSaveAuction) SetTag

func (s *ColorSaveAuction) SetTag(val OptNilString)

SetTag sets the value of Tag.

func (*ColorSaveAuction) SetTier

func (s *ColorSaveAuction) SetTier(val OptTier)

SetTier sets the value of Tier.

func (*ColorSaveAuction) SetUUID

func (s *ColorSaveAuction) SetUUID(val OptNilString)

SetUUID sets the value of UUID.

func (*ColorSaveAuction) UnmarshalJSON

func (s *ColorSaveAuction) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ColorSaveAuction) Validate

func (s *ColorSaveAuction) Validate() error

type ColorSaveAuctionFlatNbt

type ColorSaveAuctionFlatNbt map[string]NilString

func (*ColorSaveAuctionFlatNbt) Decode

func (s *ColorSaveAuctionFlatNbt) Decode(d *jx.Decoder) error

Decode decodes ColorSaveAuctionFlatNbt from json.

func (ColorSaveAuctionFlatNbt) Encode

func (s ColorSaveAuctionFlatNbt) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (ColorSaveAuctionFlatNbt) MarshalJSON

func (s ColorSaveAuctionFlatNbt) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ColorSaveAuctionFlatNbt) UnmarshalJSON

func (s *ColorSaveAuctionFlatNbt) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type CommandListEntry

type CommandListEntry struct {
	// The commands label. ie /cofl {this}.
	SubCommand OptNilString `json:"subCommand"`
	// The descriptive help text to display.
	Description OptNilString `json:"description"`
}

Represents help text for some command. Ref: #/components/schemas/CommandListEntry

func (*CommandListEntry) Decode

func (s *CommandListEntry) Decode(d *jx.Decoder) error

Decode decodes CommandListEntry from json.

func (*CommandListEntry) Encode

func (s *CommandListEntry) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*CommandListEntry) GetDescription

func (s *CommandListEntry) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*CommandListEntry) GetSubCommand

func (s *CommandListEntry) GetSubCommand() OptNilString

GetSubCommand returns the value of SubCommand.

func (*CommandListEntry) MarshalJSON

func (s *CommandListEntry) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CommandListEntry) SetDescription

func (s *CommandListEntry) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*CommandListEntry) SetSubCommand

func (s *CommandListEntry) SetSubCommand(val OptNilString)

SetSubCommand sets the value of SubCommand.

func (*CommandListEntry) UnmarshalJSON

func (s *CommandListEntry) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type CurrentPrice

type CurrentPrice struct {
	Sell      OptFloat64  `json:"sell"`
	Buy       OptFloat64  `json:"buy"`
	Available OptInt32    `json:"available"`
	UpdatedAt OptDateTime `json:"updatedAt"`
}

Ref: #/components/schemas/CurrentPrice

func (*CurrentPrice) Decode

func (s *CurrentPrice) Decode(d *jx.Decoder) error

Decode decodes CurrentPrice from json.

func (*CurrentPrice) Encode

func (s *CurrentPrice) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*CurrentPrice) GetAvailable

func (s *CurrentPrice) GetAvailable() OptInt32

GetAvailable returns the value of Available.

func (*CurrentPrice) GetBuy

func (s *CurrentPrice) GetBuy() OptFloat64

GetBuy returns the value of Buy.

func (*CurrentPrice) GetSell

func (s *CurrentPrice) GetSell() OptFloat64

GetSell returns the value of Sell.

func (*CurrentPrice) GetUpdatedAt

func (s *CurrentPrice) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*CurrentPrice) MarshalJSON

func (s *CurrentPrice) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CurrentPrice) SetAvailable

func (s *CurrentPrice) SetAvailable(val OptInt32)

SetAvailable sets the value of Available.

func (*CurrentPrice) SetBuy

func (s *CurrentPrice) SetBuy(val OptFloat64)

SetBuy sets the value of Buy.

func (*CurrentPrice) SetSell

func (s *CurrentPrice) SetSell(val OptFloat64)

SetSell sets the value of Sell.

func (*CurrentPrice) SetUpdatedAt

func (s *CurrentPrice) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*CurrentPrice) UnmarshalJSON

func (s *CurrentPrice) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CurrentPrice) Validate

func (s *CurrentPrice) Validate() error

type DescModification

type DescModification struct {
	Type OptModType `json:"type"`
	// Extra field containing index to insert (int), or value to replace (string).
	Line OptInt32 `json:"line"`
	// New value to add,insert, or replace something with.
	Value OptNilString `json:"value"`
}

Response object instructing minecraft mods how to modify the description. Ref: #/components/schemas/DescModification

func (*DescModification) Decode

func (s *DescModification) Decode(d *jx.Decoder) error

Decode decodes DescModification from json.

func (*DescModification) Encode

func (s *DescModification) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*DescModification) GetLine

func (s *DescModification) GetLine() OptInt32

GetLine returns the value of Line.

func (*DescModification) GetType

func (s *DescModification) GetType() OptModType

GetType returns the value of Type.

func (*DescModification) GetValue

func (s *DescModification) GetValue() OptNilString

GetValue returns the value of Value.

func (*DescModification) MarshalJSON

func (s *DescModification) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*DescModification) SetLine

func (s *DescModification) SetLine(val OptInt32)

SetLine sets the value of Line.

func (*DescModification) SetType

func (s *DescModification) SetType(val OptModType)

SetType sets the value of Type.

func (*DescModification) SetValue

func (s *DescModification) SetValue(val OptNilString)

SetValue sets the value of Value.

func (*DescModification) UnmarshalJSON

func (s *DescModification) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DescModification) Validate

func (s *DescModification) Validate() error

type DescriptionField

type DescriptionField string

Ref: #/components/schemas/DescriptionField

const (
	DescriptionFieldNONE       DescriptionField = "NONE"
	DescriptionFieldLBIN       DescriptionField = "LBIN"
	DescriptionFieldLBINKEY    DescriptionField = "LBIN_KEY"
	DescriptionFieldMEDIAN     DescriptionField = "MEDIAN"
	DescriptionFieldMEDIANKEY  DescriptionField = "MEDIAN_KEY"
	DescriptionFieldVOLUME     DescriptionField = "VOLUME"
	DescriptionFieldTAG        DescriptionField = "TAG"
	DescriptionFieldCRAFTCOST  DescriptionField = "CRAFT_COST"
	DescriptionFieldBazaarBuy  DescriptionField = "BazaarBuy"
	DescriptionFieldBazaarSell DescriptionField = "BazaarSell"
	DescriptionFieldPRICEPAID  DescriptionField = "PRICE_PAID"
	DescriptionFieldITEMKEY    DescriptionField = "ITEM_KEY"
	DescriptionFieldBAZAARCOST DescriptionField = "BAZAAR_COST"
)

func (*DescriptionField) Decode

func (s *DescriptionField) Decode(d *jx.Decoder) error

Decode decodes DescriptionField from json.

func (DescriptionField) Encode

func (s DescriptionField) Encode(e *jx.Encoder)

Encode encodes DescriptionField as json.

func (DescriptionField) MarshalJSON

func (s DescriptionField) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (DescriptionField) MarshalText

func (s DescriptionField) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*DescriptionField) UnmarshalJSON

func (s *DescriptionField) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DescriptionField) UnmarshalText

func (s *DescriptionField) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (DescriptionField) Validate

func (s DescriptionField) Validate() error

type DescriptionSetting

type DescriptionSetting struct {
	Fields OptNilDescriptionFieldArrayArray `json:"fields"`
}

Ref: #/components/schemas/DescriptionSetting

func (*DescriptionSetting) Decode

func (s *DescriptionSetting) Decode(d *jx.Decoder) error

Decode decodes DescriptionSetting from json.

func (*DescriptionSetting) Encode

func (s *DescriptionSetting) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*DescriptionSetting) GetFields

GetFields returns the value of Fields.

func (*DescriptionSetting) MarshalJSON

func (s *DescriptionSetting) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*DescriptionSetting) SetFields

SetFields sets the value of Fields.

func (*DescriptionSetting) UnmarshalJSON

func (s *DescriptionSetting) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DescriptionSetting) Validate

func (s *DescriptionSetting) Validate() error

type Enchantment

type Enchantment struct {
	Type  OptEnchantmentType `json:"type"`
	Level OptInt32           `json:"level"`
}

Ref: #/components/schemas/Enchantment

func (*Enchantment) Decode

func (s *Enchantment) Decode(d *jx.Decoder) error

Decode decodes Enchantment from json.

func (*Enchantment) Encode

func (s *Enchantment) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Enchantment) GetLevel

func (s *Enchantment) GetLevel() OptInt32

GetLevel returns the value of Level.

func (*Enchantment) GetType

func (s *Enchantment) GetType() OptEnchantmentType

GetType returns the value of Type.

func (*Enchantment) MarshalJSON

func (s *Enchantment) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Enchantment) SetLevel

func (s *Enchantment) SetLevel(val OptInt32)

SetLevel sets the value of Level.

func (*Enchantment) SetType

func (s *Enchantment) SetType(val OptEnchantmentType)

SetType sets the value of Type.

func (*Enchantment) UnmarshalJSON

func (s *Enchantment) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Enchantment) Validate

func (s *Enchantment) Validate() error

type EnchantmentType

type EnchantmentType string

Ref: #/components/schemas/EnchantmentType

const (
	EnchantmentTypeUnknown                 EnchantmentType = "unknown"
	EnchantmentTypeCleave                  EnchantmentType = "cleave"
	EnchantmentTypeCritical                EnchantmentType = "critical"
	EnchantmentTypeCubism                  EnchantmentType = "cubism"
	EnchantmentTypeEnderSlayer             EnchantmentType = "ender_slayer"
	EnchantmentTypeExecute                 EnchantmentType = "execute"
	EnchantmentTypeExperience              EnchantmentType = "experience"
	EnchantmentTypeFirstStrike             EnchantmentType = "first_strike"
	EnchantmentTypeGiantKiller             EnchantmentType = "giant_killer"
	EnchantmentTypeImpaling                EnchantmentType = "impaling"
	EnchantmentTypeLethality               EnchantmentType = "lethality"
	EnchantmentTypeLifeSteal               EnchantmentType = "life_steal"
	EnchantmentTypeLuck                    EnchantmentType = "luck"
	EnchantmentTypeScavenger               EnchantmentType = "scavenger"
	EnchantmentTypeThunderlord             EnchantmentType = "thunderlord"
	EnchantmentTypeTelekinesis             EnchantmentType = "telekinesis"
	EnchantmentTypeVampirism               EnchantmentType = "vampirism"
	EnchantmentTypeVenomous                EnchantmentType = "venomous"
	EnchantmentTypeGrowth                  EnchantmentType = "growth"
	EnchantmentTypeAiming                  EnchantmentType = "aiming"
	EnchantmentTypeDragonHunter            EnchantmentType = "dragon_hunter"
	EnchantmentTypeInfiniteQuiver          EnchantmentType = "infinite_quiver"
	EnchantmentTypePiercing                EnchantmentType = "piercing"
	EnchantmentTypeSnipe                   EnchantmentType = "snipe"
	EnchantmentTypeHarvesting              EnchantmentType = "harvesting"
	EnchantmentTypeRainbow                 EnchantmentType = "rainbow"
	EnchantmentTypeSmeltingTouch           EnchantmentType = "smelting_touch"
	EnchantmentTypeAngler                  EnchantmentType = "angler"
	EnchantmentTypeBlessing                EnchantmentType = "blessing"
	EnchantmentTypeCaster                  EnchantmentType = "caster"
	EnchantmentTypeFrail                   EnchantmentType = "frail"
	EnchantmentTypeMagnet                  EnchantmentType = "magnet"
	EnchantmentTypeSpikedHook              EnchantmentType = "spiked_hook"
	EnchantmentTypeBaneOfArthropods        EnchantmentType = "bane_of_arthropods"
	EnchantmentTypeFireAspect              EnchantmentType = "fire_aspect"
	EnchantmentTypeLooting                 EnchantmentType = "looting"
	EnchantmentTypeKnockback               EnchantmentType = "knockback"
	EnchantmentTypeSharpness               EnchantmentType = "sharpness"
	EnchantmentTypeSmite                   EnchantmentType = "smite"
	EnchantmentTypeAquaAffinity            EnchantmentType = "aqua_affinity"
	EnchantmentTypeBlastProtection         EnchantmentType = "blast_protection"
	EnchantmentTypeDepthStrider            EnchantmentType = "depth_strider"
	EnchantmentTypeFeatherFalling          EnchantmentType = "feather_falling"
	EnchantmentTypeFireProtection          EnchantmentType = "fire_protection"
	EnchantmentTypeFrostWalker             EnchantmentType = "frost_walker"
	EnchantmentTypeProjectileProtection    EnchantmentType = "projectile_protection"
	EnchantmentTypeProtection              EnchantmentType = "protection"
	EnchantmentTypeRespiration             EnchantmentType = "respiration"
	EnchantmentTypeThorns                  EnchantmentType = "thorns"
	EnchantmentTypeFlame                   EnchantmentType = "flame"
	EnchantmentTypePower                   EnchantmentType = "power"
	EnchantmentTypePunch                   EnchantmentType = "punch"
	EnchantmentTypeEfficiency              EnchantmentType = "efficiency"
	EnchantmentTypeFortune                 EnchantmentType = "fortune"
	EnchantmentTypeSilkTouch               EnchantmentType = "silk_touch"
	EnchantmentTypeLure                    EnchantmentType = "lure"
	EnchantmentTypeLuckOfTheSea            EnchantmentType = "luck_of_the_sea"
	EnchantmentTypeTrueProtection          EnchantmentType = "true_protection"
	EnchantmentTypeSugarRush               EnchantmentType = "sugar_rush"
	EnchantmentTypeReplenish               EnchantmentType = "replenish"
	EnchantmentTypeRejuvenate              EnchantmentType = "rejuvenate"
	EnchantmentTypeUltimateBank            EnchantmentType = "ultimate_bank"
	EnchantmentTypeUltimateCombo           EnchantmentType = "ultimate_combo"
	EnchantmentTypeUltimateJerry           EnchantmentType = "ultimate_jerry"
	EnchantmentTypeUltimateLastStand       EnchantmentType = "ultimate_last_stand"
	EnchantmentTypeUltimateNoPainNoGain    EnchantmentType = "ultimate_no_pain_no_gain"
	EnchantmentTypeUltimateWisdom          EnchantmentType = "ultimate_wisdom"
	EnchantmentTypeUltimateWise            EnchantmentType = "ultimate_wise"
	EnchantmentTypeExpertise               EnchantmentType = "expertise"
	EnchantmentTypeUltimateChimera         EnchantmentType = "ultimate_chimera"
	EnchantmentTypeUltimateRend            EnchantmentType = "ultimate_rend"
	EnchantmentTypeOverload                EnchantmentType = "overload"
	EnchantmentTypeUltimateLegion          EnchantmentType = "ultimate_legion"
	EnchantmentTypeUltimateSwarm           EnchantmentType = "ultimate_swarm"
	EnchantmentTypeBigBrain                EnchantmentType = "big_brain"
	EnchantmentTypeCompact                 EnchantmentType = "compact"
	EnchantmentTypeVicious                 EnchantmentType = "vicious"
	EnchantmentTypeCounterStrike           EnchantmentType = "counter_strike"
	EnchantmentTypeTurboCarrot             EnchantmentType = "turbo_carrot"
	EnchantmentTypeTurboCactus             EnchantmentType = "turbo_cactus"
	EnchantmentTypeTurboCane               EnchantmentType = "turbo_cane"
	EnchantmentTypeTurboCoco               EnchantmentType = "turbo_coco"
	EnchantmentTypeTurboMelon              EnchantmentType = "turbo_melon"
	EnchantmentTypeTurboMushrooms          EnchantmentType = "turbo_mushrooms"
	EnchantmentTypeTurboPumpkin            EnchantmentType = "turbo_pumpkin"
	EnchantmentTypeTurboPotato             EnchantmentType = "turbo_potato"
	EnchantmentTypeTurboWarts              EnchantmentType = "turbo_warts"
	EnchantmentTypeTurboWheat              EnchantmentType = "turbo_wheat"
	EnchantmentTypeChance                  EnchantmentType = "chance"
	EnchantmentTypePROSECUTE               EnchantmentType = "PROSECUTE"
	EnchantmentTypeSyphon                  EnchantmentType = "syphon"
	EnchantmentTypeRespite                 EnchantmentType = "respite"
	EnchantmentTypeThunderbolt             EnchantmentType = "thunderbolt"
	EnchantmentTypeTitanKiller             EnchantmentType = "titan_killer"
	EnchantmentTypeTripleStrike            EnchantmentType = "triple_strike"
	EnchantmentTypeUltimateSoulEater       EnchantmentType = "ultimate_soul_eater"
	EnchantmentTypeUltimateOneForAll       EnchantmentType = "ultimate_one_for_all"
	EnchantmentTypeNone                    EnchantmentType = "None"
	EnchantmentTypeCultivating             EnchantmentType = "cultivating"
	EnchantmentTypeDelicate                EnchantmentType = "delicate"
	EnchantmentTypeManaSteal               EnchantmentType = "mana_steal"
	EnchantmentTypeSmartyPants             EnchantmentType = "smarty_pants"
	EnchantmentTypePristine                EnchantmentType = "pristine"
	EnchantmentTypeUltimateFatalTempo      EnchantmentType = "ultimate_fatal_tempo"
	EnchantmentTypeUltimateInferno         EnchantmentType = "ultimate_inferno"
	EnchantmentTypeCharm                   EnchantmentType = "charm"
	EnchantmentTypeCorruption              EnchantmentType = "corruption"
	EnchantmentTypeFerociousMana           EnchantmentType = "ferocious_mana"
	EnchantmentTypeStrongMana              EnchantmentType = "strong_mana"
	EnchantmentTypeHardenedMana            EnchantmentType = "hardened_mana"
	EnchantmentTypeManaVampire             EnchantmentType = "mana_vampire"
	EnchantmentTypeSmoldering              EnchantmentType = "smoldering"
	EnchantmentTypeUltimateDuplex          EnchantmentType = "ultimate_duplex"
	EnchantmentTypeUltimateFlash           EnchantmentType = "ultimate_flash"
	EnchantmentTypeHecatomb                EnchantmentType = "hecatomb"
	EnchantmentTypeChampion                EnchantmentType = "champion"
	EnchantmentTypeUltimateHabaneroTactics EnchantmentType = "ultimate_habanero_tactics"
	EnchantmentTypeCayenne                 EnchantmentType = "cayenne"
	EnchantmentTypeDivineGift              EnchantmentType = "divine_gift"
	EnchantmentTypePiscary                 EnchantmentType = "piscary"
	EnchantmentTypeUltimateBobbinTime      EnchantmentType = "ultimate_bobbin_time"
	EnchantmentTypeTabasco                 EnchantmentType = "tabasco"
	EnchantmentTypeProsperity              EnchantmentType = "prosperity"
	EnchantmentTypeSunder                  EnchantmentType = "sunder"
	EnchantmentTypeAny                     EnchantmentType = "Any"
)

func (*EnchantmentType) Decode

func (s *EnchantmentType) Decode(d *jx.Decoder) error

Decode decodes EnchantmentType from json.

func (EnchantmentType) Encode

func (s EnchantmentType) Encode(e *jx.Encoder)

Encode encodes EnchantmentType as json.

func (EnchantmentType) MarshalJSON

func (s EnchantmentType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (EnchantmentType) MarshalText

func (s EnchantmentType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*EnchantmentType) UnmarshalJSON

func (s *EnchantmentType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EnchantmentType) UnmarshalText

func (s *EnchantmentType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (EnchantmentType) Validate

func (s EnchantmentType) Validate() error

type ErrorHandler

type ErrorHandler = ogenerrors.ErrorHandler

ErrorHandler is error handler.

type ErrorResponse

type ErrorResponse struct {
	Slug    OptNilString `json:"slug"`
	Message OptNilString `json:"message"`
	Trace   OptNilString `json:"trace"`
}

Ref: #/components/schemas/ErrorResponse

func (*ErrorResponse) Decode

func (s *ErrorResponse) Decode(d *jx.Decoder) error

Decode decodes ErrorResponse from json.

func (*ErrorResponse) Encode

func (s *ErrorResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ErrorResponse) GetMessage

func (s *ErrorResponse) GetMessage() OptNilString

GetMessage returns the value of Message.

func (*ErrorResponse) GetSlug

func (s *ErrorResponse) GetSlug() OptNilString

GetSlug returns the value of Slug.

func (*ErrorResponse) GetTrace

func (s *ErrorResponse) GetTrace() OptNilString

GetTrace returns the value of Trace.

func (*ErrorResponse) MarshalJSON

func (s *ErrorResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ErrorResponse) SetMessage

func (s *ErrorResponse) SetMessage(val OptNilString)

SetMessage sets the value of Message.

func (*ErrorResponse) SetSlug

func (s *ErrorResponse) SetSlug(val OptNilString)

SetSlug sets the value of Slug.

func (*ErrorResponse) SetTrace

func (s *ErrorResponse) SetTrace(val OptNilString)

SetTrace sets the value of Trace.

func (*ErrorResponse) UnmarshalJSON

func (s *ErrorResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type FilterOptions

type FilterOptions struct {
	Name        OptNilString      `json:"name"`
	Options     OptNilStringArray `json:"options"`
	Type        OptFilterType     `json:"type"`
	LongType    OptNilString      `json:"longType"`
	Description OptNilString      `json:"description"`
}

Ref: #/components/schemas/FilterOptions

func (*FilterOptions) Decode

func (s *FilterOptions) Decode(d *jx.Decoder) error

Decode decodes FilterOptions from json.

func (*FilterOptions) Encode

func (s *FilterOptions) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FilterOptions) GetDescription

func (s *FilterOptions) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*FilterOptions) GetLongType

func (s *FilterOptions) GetLongType() OptNilString

GetLongType returns the value of LongType.

func (*FilterOptions) GetName

func (s *FilterOptions) GetName() OptNilString

GetName returns the value of Name.

func (*FilterOptions) GetOptions

func (s *FilterOptions) GetOptions() OptNilStringArray

GetOptions returns the value of Options.

func (*FilterOptions) GetType

func (s *FilterOptions) GetType() OptFilterType

GetType returns the value of Type.

func (*FilterOptions) MarshalJSON

func (s *FilterOptions) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FilterOptions) SetDescription

func (s *FilterOptions) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*FilterOptions) SetLongType

func (s *FilterOptions) SetLongType(val OptNilString)

SetLongType sets the value of LongType.

func (*FilterOptions) SetName

func (s *FilterOptions) SetName(val OptNilString)

SetName sets the value of Name.

func (*FilterOptions) SetOptions

func (s *FilterOptions) SetOptions(val OptNilStringArray)

SetOptions sets the value of Options.

func (*FilterOptions) SetType

func (s *FilterOptions) SetType(val OptFilterType)

SetType sets the value of Type.

func (*FilterOptions) UnmarshalJSON

func (s *FilterOptions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FilterOptions) Validate

func (s *FilterOptions) Validate() error

type FilterQuery

type FilterQuery struct {
	Filters OptFilterQueryFilters `json:"filters"`
	Auction OptSaveAuction        `json:"auction"`
}

Ref: #/components/schemas/FilterQuery

func (*FilterQuery) Decode

func (s *FilterQuery) Decode(d *jx.Decoder) error

Decode decodes FilterQuery from json.

func (*FilterQuery) Encode

func (s *FilterQuery) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FilterQuery) GetAuction

func (s *FilterQuery) GetAuction() OptSaveAuction

GetAuction returns the value of Auction.

func (*FilterQuery) GetFilters

func (s *FilterQuery) GetFilters() OptFilterQueryFilters

GetFilters returns the value of Filters.

func (*FilterQuery) MarshalJSON

func (s *FilterQuery) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FilterQuery) SetAuction

func (s *FilterQuery) SetAuction(val OptSaveAuction)

SetAuction sets the value of Auction.

func (*FilterQuery) SetFilters

func (s *FilterQuery) SetFilters(val OptFilterQueryFilters)

SetFilters sets the value of Filters.

func (*FilterQuery) UnmarshalJSON

func (s *FilterQuery) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FilterQuery) Validate

func (s *FilterQuery) Validate() error

type FilterQueryFilters

type FilterQueryFilters struct{}

func (*FilterQueryFilters) Decode

func (s *FilterQueryFilters) Decode(d *jx.Decoder) error

Decode decodes FilterQueryFilters from json.

func (*FilterQueryFilters) Encode

func (s *FilterQueryFilters) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FilterQueryFilters) MarshalJSON

func (s *FilterQueryFilters) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FilterQueryFilters) UnmarshalJSON

func (s *FilterQueryFilters) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type FilterType

type FilterType int32

Ref: #/components/schemas/FilterType

const (
	FilterType1   FilterType = 1
	FilterType2   FilterType = 2
	FilterType4   FilterType = 4
	FilterType8   FilterType = 8
	FilterType16  FilterType = 16
	FilterType32  FilterType = 32
	FilterType64  FilterType = 64
	FilterType128 FilterType = 128
	FilterType256 FilterType = 256
	FilterType512 FilterType = 512
)

func (*FilterType) Decode

func (s *FilterType) Decode(d *jx.Decoder) error

Decode decodes FilterType from json.

func (FilterType) Encode

func (s FilterType) Encode(e *jx.Encoder)

Encode encodes FilterType as json.

func (FilterType) MarshalJSON

func (s FilterType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FilterType) UnmarshalJSON

func (s *FilterType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (FilterType) Validate

func (s FilterType) Validate() error

type FinderType

type FinderType int32

Ref: #/components/schemas/FinderType

const (
	FinderType0   FinderType = 0
	FinderType1   FinderType = 1
	FinderType2   FinderType = 2
	FinderType4   FinderType = 4
	FinderType6   FinderType = 6
	FinderType7   FinderType = 7
	FinderType8   FinderType = 8
	FinderType16  FinderType = 16
	FinderType32  FinderType = 32
	FinderType64  FinderType = 64
	FinderType128 FinderType = 128
)

func (*FinderType) Decode

func (s *FinderType) Decode(d *jx.Decoder) error

Decode decodes FinderType from json.

func (FinderType) Encode

func (s FinderType) Encode(e *jx.Encoder)

Encode encodes FinderType as json.

func (FinderType) MarshalJSON

func (s FinderType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FinderType) UnmarshalJSON

func (s *FinderType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (FinderType) Validate

func (s FinderType) Validate() error

type FlipDetails

type FlipDetails struct {
	ItemName        OptNilString              `json:"itemName"`
	ItemTag         OptNilString              `json:"itemTag"`
	Tier            OptNilString              `json:"tier"`
	PricePaid       OptInt64                  `json:"pricePaid"`
	SoldFor         OptInt64                  `json:"soldFor"`
	Finder          OptFinderType             `json:"finder"`
	UID             OptInt64                  `json:"uId"`
	OriginAuction   OptNilString              `json:"originAuction"`
	SoldAuction     OptNilString              `json:"soldAuction"`
	BuyTime         OptDateTime               `json:"buyTime"`
	SellTime        OptDateTime               `json:"sellTime"`
	Profit          OptInt64                  `json:"profit"`
	PropertyChanges OptNilPropertyChangeArray `json:"propertyChanges"`
}

Ref: #/components/schemas/FlipDetails

func (*FlipDetails) Decode

func (s *FlipDetails) Decode(d *jx.Decoder) error

Decode decodes FlipDetails from json.

func (*FlipDetails) Encode

func (s *FlipDetails) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FlipDetails) GetBuyTime

func (s *FlipDetails) GetBuyTime() OptDateTime

GetBuyTime returns the value of BuyTime.

func (*FlipDetails) GetFinder

func (s *FlipDetails) GetFinder() OptFinderType

GetFinder returns the value of Finder.

func (*FlipDetails) GetItemName

func (s *FlipDetails) GetItemName() OptNilString

GetItemName returns the value of ItemName.

func (*FlipDetails) GetItemTag

func (s *FlipDetails) GetItemTag() OptNilString

GetItemTag returns the value of ItemTag.

func (*FlipDetails) GetOriginAuction

func (s *FlipDetails) GetOriginAuction() OptNilString

GetOriginAuction returns the value of OriginAuction.

func (*FlipDetails) GetPricePaid

func (s *FlipDetails) GetPricePaid() OptInt64

GetPricePaid returns the value of PricePaid.

func (*FlipDetails) GetProfit

func (s *FlipDetails) GetProfit() OptInt64

GetProfit returns the value of Profit.

func (*FlipDetails) GetPropertyChanges

func (s *FlipDetails) GetPropertyChanges() OptNilPropertyChangeArray

GetPropertyChanges returns the value of PropertyChanges.

func (*FlipDetails) GetSellTime

func (s *FlipDetails) GetSellTime() OptDateTime

GetSellTime returns the value of SellTime.

func (*FlipDetails) GetSoldAuction

func (s *FlipDetails) GetSoldAuction() OptNilString

GetSoldAuction returns the value of SoldAuction.

func (*FlipDetails) GetSoldFor

func (s *FlipDetails) GetSoldFor() OptInt64

GetSoldFor returns the value of SoldFor.

func (*FlipDetails) GetTier

func (s *FlipDetails) GetTier() OptNilString

GetTier returns the value of Tier.

func (*FlipDetails) GetUID

func (s *FlipDetails) GetUID() OptInt64

GetUID returns the value of UID.

func (*FlipDetails) MarshalJSON

func (s *FlipDetails) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FlipDetails) SetBuyTime

func (s *FlipDetails) SetBuyTime(val OptDateTime)

SetBuyTime sets the value of BuyTime.

func (*FlipDetails) SetFinder

func (s *FlipDetails) SetFinder(val OptFinderType)

SetFinder sets the value of Finder.

func (*FlipDetails) SetItemName

func (s *FlipDetails) SetItemName(val OptNilString)

SetItemName sets the value of ItemName.

func (*FlipDetails) SetItemTag

func (s *FlipDetails) SetItemTag(val OptNilString)

SetItemTag sets the value of ItemTag.

func (*FlipDetails) SetOriginAuction

func (s *FlipDetails) SetOriginAuction(val OptNilString)

SetOriginAuction sets the value of OriginAuction.

func (*FlipDetails) SetPricePaid

func (s *FlipDetails) SetPricePaid(val OptInt64)

SetPricePaid sets the value of PricePaid.

func (*FlipDetails) SetProfit

func (s *FlipDetails) SetProfit(val OptInt64)

SetProfit sets the value of Profit.

func (*FlipDetails) SetPropertyChanges

func (s *FlipDetails) SetPropertyChanges(val OptNilPropertyChangeArray)

SetPropertyChanges sets the value of PropertyChanges.

func (*FlipDetails) SetSellTime

func (s *FlipDetails) SetSellTime(val OptDateTime)

SetSellTime sets the value of SellTime.

func (*FlipDetails) SetSoldAuction

func (s *FlipDetails) SetSoldAuction(val OptNilString)

SetSoldAuction sets the value of SoldAuction.

func (*FlipDetails) SetSoldFor

func (s *FlipDetails) SetSoldFor(val OptInt64)

SetSoldFor sets the value of SoldFor.

func (*FlipDetails) SetTier

func (s *FlipDetails) SetTier(val OptNilString)

SetTier sets the value of Tier.

func (*FlipDetails) SetUID

func (s *FlipDetails) SetUID(val OptInt64)

SetUID sets the value of UID.

func (*FlipDetails) UnmarshalJSON

func (s *FlipDetails) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FlipDetails) Validate

func (s *FlipDetails) Validate() error

type FlipSettings

type FlipSettings struct {
	Filters            OptFlipSettingsFilters `json:"filters"`
	Blacklist          OptNilListEntryArray   `json:"blacklist"`
	Whitelist          OptNilListEntryArray   `json:"whitelist"`
	Lbin               OptBool                `json:"lbin"`
	Visibility         OptVisibilitySettings  `json:"visibility"`
	Mod                OptModSettings         `json:"mod"`
	Finders            OptFinderType          `json:"finders"`
	FastMode           OptBool                `json:"fastMode"`
	Changer            OptNilString           `json:"changer"`
	OnlyBin            OptBool                `json:"onlyBin"`
	WhitelistAftermain OptBool                `json:"whitelistAftermain"`
	MinProfit          OptInt64               `json:"minProfit"`
	MinProfitPercent   OptInt32               `json:"minProfitPercent"`
	MinVolume          OptFloat64             `json:"minVolume"`
	MaxCost            OptInt64               `json:"maxCost"`
	LastChange         OptNilString           `json:"lastChange"`
}

Ref: #/components/schemas/FlipSettings

func (*FlipSettings) Decode

func (s *FlipSettings) Decode(d *jx.Decoder) error

Decode decodes FlipSettings from json.

func (*FlipSettings) Encode

func (s *FlipSettings) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FlipSettings) GetBlacklist

func (s *FlipSettings) GetBlacklist() OptNilListEntryArray

GetBlacklist returns the value of Blacklist.

func (*FlipSettings) GetChanger

func (s *FlipSettings) GetChanger() OptNilString

GetChanger returns the value of Changer.

func (*FlipSettings) GetFastMode

func (s *FlipSettings) GetFastMode() OptBool

GetFastMode returns the value of FastMode.

func (*FlipSettings) GetFilters

func (s *FlipSettings) GetFilters() OptFlipSettingsFilters

GetFilters returns the value of Filters.

func (*FlipSettings) GetFinders

func (s *FlipSettings) GetFinders() OptFinderType

GetFinders returns the value of Finders.

func (*FlipSettings) GetLastChange

func (s *FlipSettings) GetLastChange() OptNilString

GetLastChange returns the value of LastChange.

func (*FlipSettings) GetLbin

func (s *FlipSettings) GetLbin() OptBool

GetLbin returns the value of Lbin.

func (*FlipSettings) GetMaxCost

func (s *FlipSettings) GetMaxCost() OptInt64

GetMaxCost returns the value of MaxCost.

func (*FlipSettings) GetMinProfit

func (s *FlipSettings) GetMinProfit() OptInt64

GetMinProfit returns the value of MinProfit.

func (*FlipSettings) GetMinProfitPercent

func (s *FlipSettings) GetMinProfitPercent() OptInt32

GetMinProfitPercent returns the value of MinProfitPercent.

func (*FlipSettings) GetMinVolume

func (s *FlipSettings) GetMinVolume() OptFloat64

GetMinVolume returns the value of MinVolume.

func (*FlipSettings) GetMod

func (s *FlipSettings) GetMod() OptModSettings

GetMod returns the value of Mod.

func (*FlipSettings) GetOnlyBin

func (s *FlipSettings) GetOnlyBin() OptBool

GetOnlyBin returns the value of OnlyBin.

func (*FlipSettings) GetVisibility

func (s *FlipSettings) GetVisibility() OptVisibilitySettings

GetVisibility returns the value of Visibility.

func (*FlipSettings) GetWhitelist

func (s *FlipSettings) GetWhitelist() OptNilListEntryArray

GetWhitelist returns the value of Whitelist.

func (*FlipSettings) GetWhitelistAftermain

func (s *FlipSettings) GetWhitelistAftermain() OptBool

GetWhitelistAftermain returns the value of WhitelistAftermain.

func (*FlipSettings) MarshalJSON

func (s *FlipSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FlipSettings) SetBlacklist

func (s *FlipSettings) SetBlacklist(val OptNilListEntryArray)

SetBlacklist sets the value of Blacklist.

func (*FlipSettings) SetChanger

func (s *FlipSettings) SetChanger(val OptNilString)

SetChanger sets the value of Changer.

func (*FlipSettings) SetFastMode

func (s *FlipSettings) SetFastMode(val OptBool)

SetFastMode sets the value of FastMode.

func (*FlipSettings) SetFilters

func (s *FlipSettings) SetFilters(val OptFlipSettingsFilters)

SetFilters sets the value of Filters.

func (*FlipSettings) SetFinders

func (s *FlipSettings) SetFinders(val OptFinderType)

SetFinders sets the value of Finders.

func (*FlipSettings) SetLastChange

func (s *FlipSettings) SetLastChange(val OptNilString)

SetLastChange sets the value of LastChange.

func (*FlipSettings) SetLbin

func (s *FlipSettings) SetLbin(val OptBool)

SetLbin sets the value of Lbin.

func (*FlipSettings) SetMaxCost

func (s *FlipSettings) SetMaxCost(val OptInt64)

SetMaxCost sets the value of MaxCost.

func (*FlipSettings) SetMinProfit

func (s *FlipSettings) SetMinProfit(val OptInt64)

SetMinProfit sets the value of MinProfit.

func (*FlipSettings) SetMinProfitPercent

func (s *FlipSettings) SetMinProfitPercent(val OptInt32)

SetMinProfitPercent sets the value of MinProfitPercent.

func (*FlipSettings) SetMinVolume

func (s *FlipSettings) SetMinVolume(val OptFloat64)

SetMinVolume sets the value of MinVolume.

func (*FlipSettings) SetMod

func (s *FlipSettings) SetMod(val OptModSettings)

SetMod sets the value of Mod.

func (*FlipSettings) SetOnlyBin

func (s *FlipSettings) SetOnlyBin(val OptBool)

SetOnlyBin sets the value of OnlyBin.

func (*FlipSettings) SetVisibility

func (s *FlipSettings) SetVisibility(val OptVisibilitySettings)

SetVisibility sets the value of Visibility.

func (*FlipSettings) SetWhitelist

func (s *FlipSettings) SetWhitelist(val OptNilListEntryArray)

SetWhitelist sets the value of Whitelist.

func (*FlipSettings) SetWhitelistAftermain

func (s *FlipSettings) SetWhitelistAftermain(val OptBool)

SetWhitelistAftermain sets the value of WhitelistAftermain.

func (*FlipSettings) UnmarshalJSON

func (s *FlipSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FlipSettings) Validate

func (s *FlipSettings) Validate() error

type FlipSettingsFilters

type FlipSettingsFilters struct{}

func (*FlipSettingsFilters) Decode

func (s *FlipSettingsFilters) Decode(d *jx.Decoder) error

Decode decodes FlipSettingsFilters from json.

func (*FlipSettingsFilters) Encode

func (s *FlipSettingsFilters) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FlipSettingsFilters) MarshalJSON

func (s *FlipSettingsFilters) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FlipSettingsFilters) UnmarshalJSON

func (s *FlipSettingsFilters) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type FlipSumary

type FlipSumary struct {
	Flips       OptNilFlipDetailsArray `json:"flips"`
	TotalProfit OptInt64               `json:"totalProfit"`
}

Ref: #/components/schemas/FlipSumary

func (*FlipSumary) Decode

func (s *FlipSumary) Decode(d *jx.Decoder) error

Decode decodes FlipSumary from json.

func (*FlipSumary) Encode

func (s *FlipSumary) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FlipSumary) GetFlips

func (s *FlipSumary) GetFlips() OptNilFlipDetailsArray

GetFlips returns the value of Flips.

func (*FlipSumary) GetTotalProfit

func (s *FlipSumary) GetTotalProfit() OptInt64

GetTotalProfit returns the value of TotalProfit.

func (*FlipSumary) MarshalJSON

func (s *FlipSumary) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FlipSumary) SetFlips

func (s *FlipSumary) SetFlips(val OptNilFlipDetailsArray)

SetFlips sets the value of Flips.

func (*FlipSumary) SetTotalProfit

func (s *FlipSumary) SetTotalProfit(val OptInt64)

SetTotalProfit sets the value of TotalProfit.

func (*FlipSumary) UnmarshalJSON

func (s *FlipSumary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FlipSumary) Validate

func (s *FlipSumary) Validate() error

type GraphResult

type GraphResult struct {
	MaxBuy         OptFloat32  `json:"maxBuy"`
	MaxSell        OptFloat32  `json:"maxSell"`
	MinBuy         OptFloat32  `json:"minBuy"`
	MinSell        OptFloat32  `json:"minSell"`
	Buy            OptFloat64  `json:"buy"`
	Sell           OptFloat64  `json:"sell"`
	SellVolume     OptInt64    `json:"sellVolume"`
	BuyVolume      OptInt64    `json:"buyVolume"`
	Timestamp      OptDateTime `json:"timestamp"`
	BuyMovingWeek  OptInt64    `json:"buyMovingWeek"`
	SellMovingWeek OptInt64    `json:"sellMovingWeek"`
}

Ref: #/components/schemas/GraphResult

func (*GraphResult) Decode

func (s *GraphResult) Decode(d *jx.Decoder) error

Decode decodes GraphResult from json.

func (*GraphResult) Encode

func (s *GraphResult) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GraphResult) GetBuy

func (s *GraphResult) GetBuy() OptFloat64

GetBuy returns the value of Buy.

func (*GraphResult) GetBuyMovingWeek

func (s *GraphResult) GetBuyMovingWeek() OptInt64

GetBuyMovingWeek returns the value of BuyMovingWeek.

func (*GraphResult) GetBuyVolume

func (s *GraphResult) GetBuyVolume() OptInt64

GetBuyVolume returns the value of BuyVolume.

func (*GraphResult) GetMaxBuy

func (s *GraphResult) GetMaxBuy() OptFloat32

GetMaxBuy returns the value of MaxBuy.

func (*GraphResult) GetMaxSell

func (s *GraphResult) GetMaxSell() OptFloat32

GetMaxSell returns the value of MaxSell.

func (*GraphResult) GetMinBuy

func (s *GraphResult) GetMinBuy() OptFloat32

GetMinBuy returns the value of MinBuy.

func (*GraphResult) GetMinSell

func (s *GraphResult) GetMinSell() OptFloat32

GetMinSell returns the value of MinSell.

func (*GraphResult) GetSell

func (s *GraphResult) GetSell() OptFloat64

GetSell returns the value of Sell.

func (*GraphResult) GetSellMovingWeek

func (s *GraphResult) GetSellMovingWeek() OptInt64

GetSellMovingWeek returns the value of SellMovingWeek.

func (*GraphResult) GetSellVolume

func (s *GraphResult) GetSellVolume() OptInt64

GetSellVolume returns the value of SellVolume.

func (*GraphResult) GetTimestamp

func (s *GraphResult) GetTimestamp() OptDateTime

GetTimestamp returns the value of Timestamp.

func (*GraphResult) MarshalJSON

func (s *GraphResult) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GraphResult) SetBuy

func (s *GraphResult) SetBuy(val OptFloat64)

SetBuy sets the value of Buy.

func (*GraphResult) SetBuyMovingWeek

func (s *GraphResult) SetBuyMovingWeek(val OptInt64)

SetBuyMovingWeek sets the value of BuyMovingWeek.

func (*GraphResult) SetBuyVolume

func (s *GraphResult) SetBuyVolume(val OptInt64)

SetBuyVolume sets the value of BuyVolume.

func (*GraphResult) SetMaxBuy

func (s *GraphResult) SetMaxBuy(val OptFloat32)

SetMaxBuy sets the value of MaxBuy.

func (*GraphResult) SetMaxSell

func (s *GraphResult) SetMaxSell(val OptFloat32)

SetMaxSell sets the value of MaxSell.

func (*GraphResult) SetMinBuy

func (s *GraphResult) SetMinBuy(val OptFloat32)

SetMinBuy sets the value of MinBuy.

func (*GraphResult) SetMinSell

func (s *GraphResult) SetMinSell(val OptFloat32)

SetMinSell sets the value of MinSell.

func (*GraphResult) SetSell

func (s *GraphResult) SetSell(val OptFloat64)

SetSell sets the value of Sell.

func (*GraphResult) SetSellMovingWeek

func (s *GraphResult) SetSellMovingWeek(val OptInt64)

SetSellMovingWeek sets the value of SellMovingWeek.

func (*GraphResult) SetSellVolume

func (s *GraphResult) SetSellVolume(val OptInt64)

SetSellVolume sets the value of SellVolume.

func (*GraphResult) SetTimestamp

func (s *GraphResult) SetTimestamp(val OptDateTime)

SetTimestamp sets the value of Timestamp.

func (*GraphResult) UnmarshalJSON

func (s *GraphResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GraphResult) Validate

func (s *GraphResult) Validate() error

type Handler

type Handler interface {
	// APIAuctionAuctionUuidGet implements GET /api/auction/{auctionUuid} operation.
	//
	// Retrieve details of a specific auction.
	//
	// GET /api/auction/{auctionUuid}
	APIAuctionAuctionUuidGet(ctx context.Context, params APIAuctionAuctionUuidGetParams) (*ColorSaveAuction, error)
	// APIAuctionAuctionUuidUIDGet implements GET /api/auction/{auctionUuid}/uid operation.
	//
	// Retrieve the uid of an auction (mainly a helper to get the lookup id for another service).
	//
	// GET /api/auction/{auctionUuid}/uid
	APIAuctionAuctionUuidUIDGet(ctx context.Context, params APIAuctionAuctionUuidUIDGetParams) (APIAuctionAuctionUuidUIDGetRes, error)
	// APIAuctionsActiveUUIDPost implements POST /api/auctions/active/uuid operation.
	//
	// Checks an array of item uuids if they are active on the ah.
	//
	// POST /api/auctions/active/uuid
	APIAuctionsActiveUUIDPost(ctx context.Context, req []string) ([]string, error)
	// APIAuctionsBatchGet implements GET /api/auctions/batch operation.
	//
	// Batch raw item value export, requires token.
	//
	// GET /api/auctions/batch
	APIAuctionsBatchGet(ctx context.Context, params APIAuctionsBatchGetParams) error
	// APIAuctionsSupplyLowGet implements GET /api/auctions/supply/low operation.
	//
	// Get items that are in low supply.
	//
	// GET /api/auctions/supply/low
	APIAuctionsSupplyLowGet(ctx context.Context) ([]SupplyElement, error)
	// APIAuctionsTagItemTagActiveBinGet implements GET /api/auctions/tag/{itemTag}/active/bin operation.
	//
	// Get the 10 (or how many are available) lowest bins.
	//
	// GET /api/auctions/tag/{itemTag}/active/bin
	APIAuctionsTagItemTagActiveBinGet(ctx context.Context, params APIAuctionsTagItemTagActiveBinGetParams) ([]SaveAuction, error)
	// APIAuctionsTagItemTagActiveOverviewGet implements GET /api/auctions/tag/{itemTag}/active/overview operation.
	//
	// Gets a preview of active auctions useful in overviews, available orderBy options
	// HIGHEST_PRICE, LOWEST_PRICE (default), ENDING_SOON.
	//
	// GET /api/auctions/tag/{itemTag}/active/overview
	APIAuctionsTagItemTagActiveOverviewGet(ctx context.Context, params APIAuctionsTagItemTagActiveOverviewGetParams) ([]AuctionPreview, error)
	// APIAuctionsTagItemTagRecentOverviewGet implements GET /api/auctions/tag/{itemTag}/recent/overview operation.
	//
	// Gets a preview of recent auctions useful in overviews.
	//
	// GET /api/auctions/tag/{itemTag}/recent/overview
	APIAuctionsTagItemTagRecentOverviewGet(ctx context.Context, params APIAuctionsTagItemTagRecentOverviewGetParams) ([]AuctionPreview, error)
	// APIAuctionsTagItemTagSoldGet implements GET /api/auctions/tag/{itemTag}/sold operation.
	//
	// Get a batch of 1000 auctions that sold in the last week for any kind of processing.
	// Please credit us with providing data for whatever you are doing.
	// You can also manually request a review to get older data on the discord.
	//
	// GET /api/auctions/tag/{itemTag}/sold
	APIAuctionsTagItemTagSoldGet(ctx context.Context, params APIAuctionsTagItemTagSoldGetParams) ([]SaveAuction, error)
	// APIAuctionsUIDUIDSoldGet implements GET /api/auctions/uid/{uid}/sold operation.
	//
	// Gets all recorded past sells of an item with a specific uuid
	// meant for dupe detection.
	//
	// GET /api/auctions/uid/{uid}/sold
	APIAuctionsUIDUIDSoldGet(ctx context.Context, params APIAuctionsUIDUIDSoldGetParams) ([]ItemSell, error)
	// APIAuctionsUidsSoldPost implements POST /api/auctions/uids/sold operation.
	//
	// Gets all recorded past sells of a batch of items by uuid
	// meant for dupe detection of whole inventories.
	//
	// POST /api/auctions/uids/sold
	APIAuctionsUidsSoldPost(ctx context.Context, req *InventoryBatchLookup) error
	// APIBazaarItemHistoryItemTagStatusGet implements GET /api/bazaar/item/history/{itemTag}/status operation.
	//
	// Returns bazaar history.
	//
	// Deprecated: schema marks this operation as deprecated.
	//
	// GET /api/bazaar/item/history/{itemTag}/status
	APIBazaarItemHistoryItemTagStatusGet(ctx context.Context, params APIBazaarItemHistoryItemTagStatusGetParams) (APIBazaarItemHistoryItemTagStatusGetRes, error)
	// APIBazaarItemTagHistoryDayGet implements GET /api/bazaar/{itemTag}/history/day operation.
	//
	// Gets the history data for display in a graph for one day ( in intervalls of 5 minutes).
	//
	// GET /api/bazaar/{itemTag}/history/day
	APIBazaarItemTagHistoryDayGet(ctx context.Context, params APIBazaarItemTagHistoryDayGetParams) ([]GraphResult, error)
	// APIBazaarItemTagHistoryGet implements GET /api/bazaar/{itemTag}/history operation.
	//
	// Gets the history data for display in a graph.
	//
	// GET /api/bazaar/{itemTag}/history
	APIBazaarItemTagHistoryGet(ctx context.Context, params APIBazaarItemTagHistoryGetParams) ([]GraphResult, error)
	// APIBazaarItemTagHistoryHourGet implements GET /api/bazaar/{itemTag}/history/hour operation.
	//
	// Gets the history data for display in a graph for one hour ( in intervalls of 10 seconds).
	//
	// GET /api/bazaar/{itemTag}/history/hour
	APIBazaarItemTagHistoryHourGet(ctx context.Context, params APIBazaarItemTagHistoryHourGetParams) ([]GraphResult, error)
	// APIBazaarItemTagHistoryWeekGet implements GET /api/bazaar/{itemTag}/history/week operation.
	//
	// Gets the history data for display in a graph for one week ( in intervalls of 2 hours).
	//
	// GET /api/bazaar/{itemTag}/history/week
	APIBazaarItemTagHistoryWeekGet(ctx context.Context, params APIBazaarItemTagHistoryWeekGetParams) ([]GraphResult, error)
	// APIBazaarItemTagSnapshotGet implements GET /api/bazaar/{itemTag}/snapshot operation.
	//
	// Gets a snapshot of a specific item at a specific time.
	//
	// GET /api/bazaar/{itemTag}/snapshot
	APIBazaarItemTagSnapshotGet(ctx context.Context, params APIBazaarItemTagSnapshotGetParams) (*StorageQuickStatus, error)
	// APICraftAPICraftGet implements GET /api/craft/api/craft operation.
	//
	// Returns the crafting recipe for some item.
	//
	// GET /api/craft/api/craft
	APICraftAPICraftGet(ctx context.Context) error
	// APICraftProfitGet implements GET /api/craft/profit operation.
	//
	// Craft flips.
	//
	// GET /api/craft/profit
	APICraftProfitGet(ctx context.Context, params APICraftProfitGetParams) ([]ProfitableCraft, error)
	// APICraftRecipeItemTagGet implements GET /api/craft/recipe/{itemTag} operation.
	//
	// Returns the crafting recipe for some item.
	//
	// GET /api/craft/recipe/{itemTag}
	APICraftRecipeItemTagGet(ctx context.Context, params APICraftRecipeItemTagGetParams) error
	// APIDataPlayerNamePost implements POST /api/data/playerName operation.
	//
	// Accepts player name based auction hints.
	//
	// POST /api/data/playerName
	APIDataPlayerNamePost(ctx context.Context, params APIDataPlayerNamePostParams) (*Int32Int64ValueTuple, error)
	// APIDataPlayerNamesPost implements POST /api/data/playerNames operation.
	//
	// Accepts player name based auction hints.
	//
	// POST /api/data/playerNames
	APIDataPlayerNamesPost(ctx context.Context, req []string) ([]Int32Int64ValueTuple, error)
	// APIDataProxyPost implements POST /api/data/proxy operation.
	//
	// Endpoint to upload proxied data.
	//
	// POST /api/data/proxy
	APIDataProxyPost(ctx context.Context) (APIDataProxyPostRes, error)
	// APIFilterOptionsGet implements GET /api/filter/options operation.
	//
	// Returns all available filters with all available options.
	//
	// GET /api/filter/options
	APIFilterOptionsGet(ctx context.Context, params APIFilterOptionsGetParams) ([]FilterOptions, error)
	// APIFilterPost implements POST /api/Filter operation.
	//
	// POST /api/Filter
	APIFilterPost(ctx context.Context, req *FilterQuery) (bool, error)
	// APIFlipSettingsOptionsGet implements GET /api/flip/settings/options operation.
	//
	// Shows you the available settings options for the socket comand subFlip,
	// Doesn't currently actually do anything.
	//
	// GET /api/flip/settings/options
	APIFlipSettingsOptionsGet(ctx context.Context) (*FlipSettings, error)
	// APIFlipStatsFinderFinderNameGet implements GET /api/flip/stats/finder/{finderName} operation.
	//
	// Get flips stats for one type of flip finder.
	//
	// GET /api/flip/stats/finder/{finderName}
	APIFlipStatsFinderFinderNameGet(ctx context.Context, params APIFlipStatsFinderFinderNameGetParams) ([]FlipDetails, error)
	// APIFlipStatsPlayerPlayerUuidGet implements GET /api/flip/stats/player/{playerUuid} operation.
	//
	// Get flips stats for player.
	//
	// GET /api/flip/stats/player/{playerUuid}
	APIFlipStatsPlayerPlayerUuidGet(ctx context.Context, params APIFlipStatsPlayerPlayerUuidGetParams) (*FlipSumary, error)
	// APIFlipStatsPlayerPlayerUuidHourGet implements GET /api/flip/stats/player/{playerUuid}/hour operation.
	//
	// Get flips stats for player for the last hour (faster).
	//
	// GET /api/flip/stats/player/{playerUuid}/hour
	APIFlipStatsPlayerPlayerUuidHourGet(ctx context.Context, params APIFlipStatsPlayerPlayerUuidHourGetParams) (*FlipSumary, error)
	// APIFlipTrackFoundAuctionIdPost implements POST /api/flip/track/found/{auctionId} operation.
	//
	// Callback for external flip finders to be included in tracking.
	//
	// POST /api/flip/track/found/{auctionId}
	APIFlipTrackFoundAuctionIdPost(ctx context.Context, params APIFlipTrackFoundAuctionIdPostParams) error
	// APIFlipTrackPurchaseAuctionIdPost implements POST /api/flip/track/purchase/{auctionId} operation.
	//
	// Callback for external flip finders to be included in tracking.
	//
	// POST /api/flip/track/purchase/{auctionId}
	APIFlipTrackPurchaseAuctionIdPost(ctx context.Context, params APIFlipTrackPurchaseAuctionIdPostParams) error
	// APIFlipUpdateWhenGet implements GET /api/flip/update/when operation.
	//
	// The last time an update was loaded (cached for 30min)
	// You should only look at the second part.
	//
	// GET /api/flip/update/when
	APIFlipUpdateWhenGet(ctx context.Context) (time.Time, error)
	// APIItemItemTagDetailsGet implements GET /api/item/{itemTag}/details operation.
	//
	// Returns details about a specific item
	// This gets updated once every hour.
	//
	// GET /api/item/{itemTag}/details
	APIItemItemTagDetailsGet(ctx context.Context, params APIItemItemTagDetailsGetParams) (*SkyblockItem, error)
	// APIItemItemTagSimilarGet implements GET /api/item/{itemTag}/similar operation.
	//
	// Other items related to some tag.
	//
	// GET /api/item/{itemTag}/similar
	APIItemItemTagSimilarGet(ctx context.Context, params APIItemItemTagSimilarGetParams) ([]ItemPreview, error)
	// APIItemPriceItemTagBinGet implements GET /api/item/price/{itemTag}/bin operation.
	//
	// Gets the lowest bin by item type.
	//
	// GET /api/item/price/{itemTag}/bin
	APIItemPriceItemTagBinGet(ctx context.Context, params APIItemPriceItemTagBinGetParams) (*BinResponse, error)
	// APIItemPriceItemTagCurrentGet implements GET /api/item/price/{itemTag}/current operation.
	//
	// Gets the current (latest known) price for an item and available quantity, supports items from
	// bazaar and ah.
	//
	// GET /api/item/price/{itemTag}/current
	APIItemPriceItemTagCurrentGet(ctx context.Context, params APIItemPriceItemTagCurrentGetParams) (*CurrentPrice, error)
	// APIItemPriceItemTagGet implements GET /api/item/price/{itemTag} operation.
	//
	// Aggregated sumary of item prices for the 3 last days.
	//
	// GET /api/item/price/{itemTag}
	APIItemPriceItemTagGet(ctx context.Context, params APIItemPriceItemTagGetParams) (*PriceSumary, error)
	// APIItemPriceItemTagHistoryDayGet implements GET /api/item/price/{itemTag}/history/day operation.
	//
	// Gets the price history for an item for the last 24 hours.
	//
	// GET /api/item/price/{itemTag}/history/day
	APIItemPriceItemTagHistoryDayGet(ctx context.Context, params APIItemPriceItemTagHistoryDayGetParams) ([]AveragePrice, error)
	// APIItemPriceItemTagHistoryFullGet implements GET /api/item/price/{itemTag}/history/full operation.
	//
	// Gets the price history for an item for all time.
	//
	// GET /api/item/price/{itemTag}/history/full
	APIItemPriceItemTagHistoryFullGet(ctx context.Context, params APIItemPriceItemTagHistoryFullGetParams) ([]AveragePrice, error)
	// APIItemPriceItemTagHistoryMonthGet implements GET /api/item/price/{itemTag}/history/month operation.
	//
	// Gets the price history for an item for one month.
	//
	// GET /api/item/price/{itemTag}/history/month
	APIItemPriceItemTagHistoryMonthGet(ctx context.Context, params APIItemPriceItemTagHistoryMonthGetParams) ([]AveragePrice, error)
	// APIItemPriceItemTagHistoryWeekGet implements GET /api/item/price/{itemTag}/history/week operation.
	//
	// Gets the price history for an item for the last 7 days.
	//
	// GET /api/item/price/{itemTag}/history/week
	APIItemPriceItemTagHistoryWeekGet(ctx context.Context, params APIItemPriceItemTagHistoryWeekGetParams) ([]AveragePrice, error)
	// APIItemSearchSearchValGet implements GET /api/item/search/{searchVal} operation.
	//
	// Searches through all items, includes the rarity of items.
	//
	// GET /api/item/search/{searchVal}
	APIItemSearchSearchValGet(ctx context.Context, params APIItemSearchSearchValGetParams) ([]SearchResultItem, error)
	// APIItemsBazaarTagsGet implements GET /api/items/bazaar/tags operation.
	//
	// A list of item tags (hypixel ids) that are tradeable on bazaar
	// This gets updated once every hour.
	//
	// GET /api/items/bazaar/tags
	APIItemsBazaarTagsGet(ctx context.Context) ([]string, error)
	// APIItemsGet implements GET /api/items operation.
	//
	// Get all item tags, names and wherever they are on ah or bazaar.
	//
	// GET /api/items
	APIItemsGet(ctx context.Context) ([]ItemMetadataElement, error)
	// APIItemsNamesPost implements POST /api/items/names operation.
	//
	// Batch lookup names for item tags.
	//
	// POST /api/items/names
	APIItemsNamesPost(ctx context.Context, req []string) error
	// APIKatDataGet implements GET /api/kat/data operation.
	//
	// Raw data of upgrade cost.
	//
	// GET /api/kat/data
	APIKatDataGet(ctx context.Context) ([]KatUpgradeCost, error)
	// APIKatProfitGet implements GET /api/kat/profit operation.
	//
	// Kat flips.
	//
	// GET /api/kat/profit
	APIKatProfitGet(ctx context.Context) ([]KatFlip, error)
	// APIMayorGet implements GET /api/mayor operation.
	//
	// Gets election data between two Timestamps.
	//
	// GET /api/mayor
	APIMayorGet(ctx context.Context, params APIMayorGetParams) ([]ModelElectionPeriod, error)
	// APIMayorYearGet implements GET /api/mayor/{year} operation.
	//
	// Return Election results for a specific year.
	//
	// GET /api/mayor/{year}
	APIMayorYearGet(ctx context.Context, params APIMayorYearGetParams) (*ModelElectionPeriod, error)
	// APIModCommandsGet implements GET /api/mod/commands operation.
	//
	// Returns a list of available server-side commands.
	//
	// GET /api/mod/commands
	APIModCommandsGet(ctx context.Context) ([]CommandListEntry, error)
	// APIModDescriptionModificationsPost implements POST /api/mod/description/modifications operation.
	//
	// Returns a collection of modifications for each item passed.
	//
	// POST /api/mod/description/modifications
	APIModDescriptionModificationsPost(ctx context.Context, req *InventoryData, params APIModDescriptionModificationsPostParams) (APIModDescriptionModificationsPostRes, error)
	// APIModDescriptionPost implements POST /api/mod/description operation.
	//
	// Returns new descriptions for an array of items.
	//
	// POST /api/mod/description
	APIModDescriptionPost(ctx context.Context, req *InventoryData, params APIModDescriptionPostParams) (APIModDescriptionPostRes, error)
	// APIModItemUUIDGet implements GET /api/mod/item/{uuid} operation.
	//
	// Returns extra information for an item.
	//
	// GET /api/mod/item/{uuid}
	APIModItemUUIDGet(ctx context.Context, params APIModItemUUIDGetParams) (APIModItemUUIDGetRes, error)
	// APIPlayerPlayerUuidAuctionsGet implements GET /api/player/{playerUuid}/auctions operation.
	//
	// The last 10 auctions a player created.
	//
	// GET /api/player/{playerUuid}/auctions
	APIPlayerPlayerUuidAuctionsGet(ctx context.Context, params APIPlayerPlayerUuidAuctionsGetParams) ([]AuctionResult, error)
	// APIPlayerPlayerUuidBidsGet implements GET /api/player/{playerUuid}/bids operation.
	//
	// The last 10 bids (with auction) a player did.
	//
	// GET /api/player/{playerUuid}/bids
	APIPlayerPlayerUuidBidsGet(ctx context.Context, params APIPlayerPlayerUuidBidsGetParams) ([]BidResult, error)
	// APIPlayerPlayerUuidNameGet implements GET /api/player/{playerUuid}/name operation.
	//
	// The name for a given uuid.
	//
	// GET /api/player/{playerUuid}/name
	APIPlayerPlayerUuidNameGet(ctx context.Context, params APIPlayerPlayerUuidNameGetParams) (APIPlayerPlayerUuidNameGetRes, error)
	// APIPlayerPlayerUuidNamePost implements POST /api/player/{playerUuid}/name operation.
	//
	// The name for a given uuid.
	//
	// POST /api/player/{playerUuid}/name
	APIPlayerPlayerUuidNamePost(ctx context.Context, params APIPlayerPlayerUuidNamePostParams) (APIPlayerPlayerUuidNamePostRes, error)
	// APIPremiumPricesAdjustedPost implements POST /api/premium/prices/adjusted operation.
	//
	// Get adjusted prices.
	//
	// POST /api/premium/prices/adjusted
	APIPremiumPricesAdjustedPost(ctx context.Context, req []string) error
	// APIPremiumUserOwnsPost implements POST /api/premium/user/owns operation.
	//
	// Get adjusted prices.
	//
	// POST /api/premium/user/owns
	APIPremiumUserOwnsPost(ctx context.Context, req []string) error
	// APIPriceNbtPost implements POST /api/price/nbt operation.
	//
	// Returns price estimations for nbt data (for in game mods)
	// NOTE: THIS WILL BE A PAID FEATURE IN THE FUTURE.
	//
	// POST /api/price/nbt
	APIPriceNbtPost(ctx context.Context, req *InventoryData) ([]PriceEstimate, error)
	// APIReferralInfoGet implements GET /api/referral/info operation.
	//
	// Returns ReferralCode and statistics for the user.
	//
	// GET /api/referral/info
	APIReferralInfoGet(ctx context.Context) (*ReferralInfo, error)
	// APIReferralReferredByPost implements POST /api/referral/referred/by operation.
	//
	// Tells the backend that the user was referred by someone.
	//
	// POST /api/referral/referred/by
	APIReferralReferredByPost(ctx context.Context, req *ReferredBy) error
	// APISearchPlayerPlayerNameGet implements GET /api/search/player/{playerName} operation.
	//
	// Search player.
	//
	// GET /api/search/player/{playerName}
	APISearchPlayerPlayerNameGet(ctx context.Context, params APISearchPlayerPlayerNameGetParams) ([]PlayerResult, error)
	// APISearchSearchValGet implements GET /api/search/{searchVal} operation.
	//
	// Full search, includes item types, items (by uuid), players, auctions and enchantments.
	//
	// GET /api/search/{searchVal}
	APISearchSearchValGet(ctx context.Context, params APISearchSearchValGetParams) ([]SearchResultItem, error)
	// APIServicePurchasePost implements POST /api/service/purchase operation.
	//
	// Purchase a service.
	//
	// POST /api/service/purchase
	APIServicePurchasePost(ctx context.Context, req *PurchaseArgs) error
	// APITopupOptionsGet implements GET /api/topup/options operation.
	//
	// Products to top up.
	//
	// GET /api/topup/options
	APITopupOptionsGet(ctx context.Context) ([]TopUpProduct, error)
	// APITopupPaypalProductSlugPost implements POST /api/topup/paypal/{productSlug} operation.
	//
	// Start a new topup session with paypal.
	//
	// POST /api/topup/paypal/{productSlug}
	APITopupPaypalProductSlugPost(ctx context.Context, req *TopUpArguments, params APITopupPaypalProductSlugPostParams) error
	// APITopupStripeProductSlugPost implements POST /api/topup/stripe/{productSlug} operation.
	//
	// Start a new topup session with stripe.
	//
	// POST /api/topup/stripe/{productSlug}
	APITopupStripeProductSlugPost(ctx context.Context, req *TopUpArguments, params APITopupStripeProductSlugPostParams) error
	// APIUserPrivacyGet implements GET /api/user/privacy operation.
	//
	// Get the users privacy settings (requires google token).
	//
	// GET /api/user/privacy
	APIUserPrivacyGet(ctx context.Context) (*PrivacySettings, error)
	// APIUserPrivacyPost implements POST /api/user/privacy operation.
	//
	// Update users privacy settings (requires google token).
	//
	// POST /api/user/privacy
	APIUserPrivacyPost(ctx context.Context, req *PrivacySettings) error
}

Handler handles operations described by OpenAPI v3 specification.

type Ingredient

type Ingredient struct {
	ItemId OptNilString `json:"itemId"`
	Count  OptInt32     `json:"count"`
	Cost   OptFloat64   `json:"cost"`
}

Ref: #/components/schemas/Ingredient

func (*Ingredient) Decode

func (s *Ingredient) Decode(d *jx.Decoder) error

Decode decodes Ingredient from json.

func (*Ingredient) Encode

func (s *Ingredient) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Ingredient) GetCost

func (s *Ingredient) GetCost() OptFloat64

GetCost returns the value of Cost.

func (*Ingredient) GetCount

func (s *Ingredient) GetCount() OptInt32

GetCount returns the value of Count.

func (*Ingredient) GetItemId

func (s *Ingredient) GetItemId() OptNilString

GetItemId returns the value of ItemId.

func (*Ingredient) MarshalJSON

func (s *Ingredient) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Ingredient) SetCost

func (s *Ingredient) SetCost(val OptFloat64)

SetCost sets the value of Cost.

func (*Ingredient) SetCount

func (s *Ingredient) SetCount(val OptInt32)

SetCount sets the value of Count.

func (*Ingredient) SetItemId

func (s *Ingredient) SetItemId(val OptNilString)

SetItemId sets the value of ItemId.

func (*Ingredient) UnmarshalJSON

func (s *Ingredient) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Ingredient) Validate

func (s *Ingredient) Validate() error

type Int32Int64ValueTuple

type Int32Int64ValueTuple struct {
	Item1 OptInt32 `json:"item1"`
	Item2 OptInt64 `json:"item2"`
}

Ref: #/components/schemas/Int32Int64ValueTuple

func (*Int32Int64ValueTuple) Decode

func (s *Int32Int64ValueTuple) Decode(d *jx.Decoder) error

Decode decodes Int32Int64ValueTuple from json.

func (*Int32Int64ValueTuple) Encode

func (s *Int32Int64ValueTuple) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Int32Int64ValueTuple) GetItem1

func (s *Int32Int64ValueTuple) GetItem1() OptInt32

GetItem1 returns the value of Item1.

func (*Int32Int64ValueTuple) GetItem2

func (s *Int32Int64ValueTuple) GetItem2() OptInt64

GetItem2 returns the value of Item2.

func (*Int32Int64ValueTuple) MarshalJSON

func (s *Int32Int64ValueTuple) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Int32Int64ValueTuple) SetItem1

func (s *Int32Int64ValueTuple) SetItem1(val OptInt32)

SetItem1 sets the value of Item1.

func (*Int32Int64ValueTuple) SetItem2

func (s *Int32Int64ValueTuple) SetItem2(val OptInt64)

SetItem2 sets the value of Item2.

func (*Int32Int64ValueTuple) UnmarshalJSON

func (s *Int32Int64ValueTuple) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type InventoryBatchLookup

type InventoryBatchLookup struct {
	ProfileId OptNilString      `json:"profileId"`
	PlayerId  OptNilString      `json:"playerId"`
	Uuids     OptNilStringArray `json:"uuids"`
}

Ref: #/components/schemas/InventoryBatchLookup

func (*InventoryBatchLookup) Decode

func (s *InventoryBatchLookup) Decode(d *jx.Decoder) error

Decode decodes InventoryBatchLookup from json.

func (*InventoryBatchLookup) Encode

func (s *InventoryBatchLookup) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*InventoryBatchLookup) GetPlayerId

func (s *InventoryBatchLookup) GetPlayerId() OptNilString

GetPlayerId returns the value of PlayerId.

func (*InventoryBatchLookup) GetProfileId

func (s *InventoryBatchLookup) GetProfileId() OptNilString

GetProfileId returns the value of ProfileId.

func (*InventoryBatchLookup) GetUuids

GetUuids returns the value of Uuids.

func (*InventoryBatchLookup) MarshalJSON

func (s *InventoryBatchLookup) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*InventoryBatchLookup) SetPlayerId

func (s *InventoryBatchLookup) SetPlayerId(val OptNilString)

SetPlayerId sets the value of PlayerId.

func (*InventoryBatchLookup) SetProfileId

func (s *InventoryBatchLookup) SetProfileId(val OptNilString)

SetProfileId sets the value of ProfileId.

func (*InventoryBatchLookup) SetUuids

func (s *InventoryBatchLookup) SetUuids(val OptNilStringArray)

SetUuids sets the value of Uuids.

func (*InventoryBatchLookup) UnmarshalJSON

func (s *InventoryBatchLookup) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*InventoryBatchLookup) Validate

func (s *InventoryBatchLookup) Validate() error

type InventoryData

type InventoryData struct {
	// The name of the chest.
	ChestName OptNilString `json:"chestName"`
	// Base64, gziped nbtdata of the inventory.
	FullInventoryNbt OptNilString          `json:"fullInventoryNbt"`
	Settings         OptDescriptionSetting `json:"settings"`
}

Representation of an inventory. Ref: #/components/schemas/InventoryData

func (*InventoryData) Decode

func (s *InventoryData) Decode(d *jx.Decoder) error

Decode decodes InventoryData from json.

func (*InventoryData) Encode

func (s *InventoryData) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*InventoryData) GetChestName

func (s *InventoryData) GetChestName() OptNilString

GetChestName returns the value of ChestName.

func (*InventoryData) GetFullInventoryNbt

func (s *InventoryData) GetFullInventoryNbt() OptNilString

GetFullInventoryNbt returns the value of FullInventoryNbt.

func (*InventoryData) GetSettings

func (s *InventoryData) GetSettings() OptDescriptionSetting

GetSettings returns the value of Settings.

func (*InventoryData) MarshalJSON

func (s *InventoryData) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*InventoryData) SetChestName

func (s *InventoryData) SetChestName(val OptNilString)

SetChestName sets the value of ChestName.

func (*InventoryData) SetFullInventoryNbt

func (s *InventoryData) SetFullInventoryNbt(val OptNilString)

SetFullInventoryNbt sets the value of FullInventoryNbt.

func (*InventoryData) SetSettings

func (s *InventoryData) SetSettings(val OptDescriptionSetting)

SetSettings sets the value of Settings.

func (*InventoryData) UnmarshalJSON

func (s *InventoryData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*InventoryData) Validate

func (s *InventoryData) Validate() error

type ItemCategory

type ItemCategory string

Ref: #/components/schemas/ItemCategory

const (
	ItemCategoryUNKNOWN            ItemCategory = "UNKNOWN"
	ItemCategoryPETITEM            ItemCategory = "PET_ITEM"
	ItemCategorySWORD              ItemCategory = "SWORD"
	ItemCategoryCHESTPLATE         ItemCategory = "CHESTPLATE"
	ItemCategoryHELMET             ItemCategory = "HELMET"
	ItemCategoryREFORGESTONE       ItemCategory = "REFORGE_STONE"
	ItemCategoryCOSMETIC           ItemCategory = "COSMETIC"
	ItemCategoryAXE                ItemCategory = "AXE"
	ItemCategoryLEGGINGS           ItemCategory = "LEGGINGS"
	ItemCategoryACCESSORY          ItemCategory = "ACCESSORY"
	ItemCategoryBOW                ItemCategory = "BOW"
	ItemCategoryTRAVELSCROLL       ItemCategory = "TRAVEL_SCROLL"
	ItemCategoryBOOTS              ItemCategory = "BOOTS"
	ItemCategoryHOE                ItemCategory = "HOE"
	ItemCategoryBAIT               ItemCategory = "BAIT"
	ItemCategoryFISHINGROD         ItemCategory = "FISHING_ROD"
	ItemCategoryDUNGEONPASS        ItemCategory = "DUNGEON_PASS"
	ItemCategoryARROW              ItemCategory = "ARROW"
	ItemCategorySPADE              ItemCategory = "SPADE"
	ItemCategorySHEARS             ItemCategory = "SHEARS"
	ItemCategoryPICKAXE            ItemCategory = "PICKAXE"
	ItemCategoryARROWPOISON        ItemCategory = "ARROW_POISON"
	ItemCategoryWAND               ItemCategory = "WAND"
	ItemCategoryDRILL              ItemCategory = "DRILL"
	ItemCategoryFISHINGWEAPON      ItemCategory = "FISHING_WEAPON"
	ItemCategoryGAUNTLET           ItemCategory = "GAUNTLET"
	ItemCategoryFURNITURE          ItemCategory = "FURNITURE"
	ItemCategoryGENERATOR          ItemCategory = "GENERATOR"
	ItemCategoryMINIONSKIN         ItemCategory = "MINION_SKIN"
	ItemCategoryPRIVATEISLAND      ItemCategory = "PRIVATE_ISLAND"
	ItemCategoryISLANDCRYSTAL      ItemCategory = "ISLAND_CRYSTAL"
	ItemCategoryFRAGMENT           ItemCategory = "FRAGMENT"
	ItemCategorySLAYER             ItemCategory = "SLAYER"
	ItemCategoryDUNGEON            ItemCategory = "DUNGEON"
	ItemCategoryDUNGEONITEM        ItemCategory = "DUNGEON_ITEM"
	ItemCategorySACK               ItemCategory = "SACK"
	ItemCategoryPORTAL             ItemCategory = "PORTAL"
	ItemCategoryDEEPCAVERNS        ItemCategory = "DEEP_CAVERNS"
	ItemCategoryBACKPACK           ItemCategory = "BACKPACK"
	ItemCategoryTALISMANENRICHMENT ItemCategory = "TALISMAN_ENRICHMENT"
	ItemCategoryTHEFISH            ItemCategory = "THE_FISH"
	ItemCategoryPET                ItemCategory = "PET"
	ItemCategoryPETSKIN            ItemCategory = "PET_SKIN"
	ItemCategoryRUNE               ItemCategory = "RUNE"
	ItemCategoryArmorDye           ItemCategory = "ArmorDye"
	ItemCategoryVanilla            ItemCategory = "Vanilla"
	ItemCategoryNullNamed          ItemCategory = "NullNamed"
	ItemCategoryCLOAK              ItemCategory = "CLOAK"
	ItemCategoryNECKLACE           ItemCategory = "NECKLACE"
	ItemCategoryBELT               ItemCategory = "BELT"
	ItemCategoryGLOVES             ItemCategory = "GLOVES"
	ItemCategoryBRACELET           ItemCategory = "BRACELET"
)

func (*ItemCategory) Decode

func (s *ItemCategory) Decode(d *jx.Decoder) error

Decode decodes ItemCategory from json.

func (ItemCategory) Encode

func (s ItemCategory) Encode(e *jx.Encoder)

Encode encodes ItemCategory as json.

func (ItemCategory) MarshalJSON

func (s ItemCategory) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ItemCategory) MarshalText

func (s ItemCategory) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ItemCategory) UnmarshalJSON

func (s *ItemCategory) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ItemCategory) UnmarshalText

func (s *ItemCategory) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ItemCategory) Validate

func (s ItemCategory) Validate() error

type ItemFlags

type ItemFlags string

Ref: #/components/schemas/ItemFlags

const (
	ItemFlagsNONE      ItemFlags = "NONE"
	ItemFlagsBAZAAR    ItemFlags = "BAZAAR"
	ItemFlagsTRADEABLE ItemFlags = "TRADEABLE"
	ItemFlagsAUCTION   ItemFlags = "AUCTION"
	ItemFlagsCRAFT     ItemFlags = "CRAFT"
	ItemFlagsGLOWING   ItemFlags = "GLOWING"
	ItemFlagsMUSEUM    ItemFlags = "MUSEUM"
)

func (*ItemFlags) Decode

func (s *ItemFlags) Decode(d *jx.Decoder) error

Decode decodes ItemFlags from json.

func (ItemFlags) Encode

func (s ItemFlags) Encode(e *jx.Encoder)

Encode encodes ItemFlags as json.

func (ItemFlags) MarshalJSON

func (s ItemFlags) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ItemFlags) MarshalText

func (s ItemFlags) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ItemFlags) UnmarshalJSON

func (s *ItemFlags) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ItemFlags) UnmarshalText

func (s *ItemFlags) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ItemFlags) Validate

func (s ItemFlags) Validate() error

type ItemMetadataElement

type ItemMetadataElement struct {
	// The name of the element.
	Name OptNilString `json:"name"`
	// The hypixel tag of the item.
	Tag   OptNilString `json:"tag"`
	Flags OptItemFlags `json:"flags"`
}

Item Metadata. Ref: #/components/schemas/ItemMetadataElement

func (*ItemMetadataElement) Decode

func (s *ItemMetadataElement) Decode(d *jx.Decoder) error

Decode decodes ItemMetadataElement from json.

func (*ItemMetadataElement) Encode

func (s *ItemMetadataElement) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ItemMetadataElement) GetFlags

func (s *ItemMetadataElement) GetFlags() OptItemFlags

GetFlags returns the value of Flags.

func (*ItemMetadataElement) GetName

func (s *ItemMetadataElement) GetName() OptNilString

GetName returns the value of Name.

func (*ItemMetadataElement) GetTag

func (s *ItemMetadataElement) GetTag() OptNilString

GetTag returns the value of Tag.

func (*ItemMetadataElement) MarshalJSON

func (s *ItemMetadataElement) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ItemMetadataElement) SetFlags

func (s *ItemMetadataElement) SetFlags(val OptItemFlags)

SetFlags sets the value of Flags.

func (*ItemMetadataElement) SetName

func (s *ItemMetadataElement) SetName(val OptNilString)

SetName sets the value of Name.

func (*ItemMetadataElement) SetTag

func (s *ItemMetadataElement) SetTag(val OptNilString)

SetTag sets the value of Tag.

func (*ItemMetadataElement) UnmarshalJSON

func (s *ItemMetadataElement) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ItemMetadataElement) Validate

func (s *ItemMetadataElement) Validate() error

type ItemPreview

type ItemPreview struct {
	Tag  OptNilString `json:"tag"`
	Name OptNilString `json:"name"`
}

Ref: #/components/schemas/ItemPreview

func (*ItemPreview) Decode

func (s *ItemPreview) Decode(d *jx.Decoder) error

Decode decodes ItemPreview from json.

func (*ItemPreview) Encode

func (s *ItemPreview) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ItemPreview) GetName

func (s *ItemPreview) GetName() OptNilString

GetName returns the value of Name.

func (*ItemPreview) GetTag

func (s *ItemPreview) GetTag() OptNilString

GetTag returns the value of Tag.

func (*ItemPreview) MarshalJSON

func (s *ItemPreview) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ItemPreview) SetName

func (s *ItemPreview) SetName(val OptNilString)

SetName sets the value of Name.

func (*ItemPreview) SetTag

func (s *ItemPreview) SetTag(val OptNilString)

SetTag sets the value of Tag.

func (*ItemPreview) UnmarshalJSON

func (s *ItemPreview) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ItemSell

type ItemSell struct {
	// The minecraft account uuid that sold the item.
	Seller OptNilString `json:"seller"`
	// The hypixel auction uuid for the item.
	UUID OptNilString `json:"uuid"`
	// The minecraft account uuid that bought the item.
	Buyer OptNilString `json:"buyer"`
	// When was the item sold.
	Timestamp OptDateTime `json:"timestamp"`
}

Lookup element for sold items. Ref: #/components/schemas/ItemSell

func (*ItemSell) Decode

func (s *ItemSell) Decode(d *jx.Decoder) error

Decode decodes ItemSell from json.

func (*ItemSell) Encode

func (s *ItemSell) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ItemSell) GetBuyer

func (s *ItemSell) GetBuyer() OptNilString

GetBuyer returns the value of Buyer.

func (*ItemSell) GetSeller

func (s *ItemSell) GetSeller() OptNilString

GetSeller returns the value of Seller.

func (*ItemSell) GetTimestamp

func (s *ItemSell) GetTimestamp() OptDateTime

GetTimestamp returns the value of Timestamp.

func (*ItemSell) GetUUID

func (s *ItemSell) GetUUID() OptNilString

GetUUID returns the value of UUID.

func (*ItemSell) MarshalJSON

func (s *ItemSell) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ItemSell) SetBuyer

func (s *ItemSell) SetBuyer(val OptNilString)

SetBuyer sets the value of Buyer.

func (*ItemSell) SetSeller

func (s *ItemSell) SetSeller(val OptNilString)

SetSeller sets the value of Seller.

func (*ItemSell) SetTimestamp

func (s *ItemSell) SetTimestamp(val OptDateTime)

SetTimestamp sets the value of Timestamp.

func (*ItemSell) SetUUID

func (s *ItemSell) SetUUID(val OptNilString)

SetUUID sets the value of UUID.

func (*ItemSell) UnmarshalJSON

func (s *ItemSell) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type KatFlip

type KatFlip struct {
	// 24 hour sell volume.
	Volume OptFloat64 `json:"volume"`
	// Median prie of the item.
	Median OptInt64 `json:"median"`
	// The amount of coins the upgrade costs (excluding materials).
	UpgradeCost OptFloat64 `json:"upgradeCost"`
	// The cost for materials at current bazaar/ah rate.
	MaterialCost OptFloat64 `json:"materialCost"`
	// The auction to flip.
	OriginAuction OptNilString      `json:"originAuction"`
	CoreData      OptKatUpgradeCost `json:"coreData"`
	TargetRarity  OptTier           `json:"targetRarity"`
	// The estimated profit the flip will genreate.
	Profit OptFloat64 `json:"profit"`
	// The reference auction used to estimate the profit (lowest bin of higher rarity).
	ReferenceAuction OptNilString `json:"referenceAuction"`
	// How much the starting bid of the auction is.
	PurchaseCost OptInt64 `json:"purchaseCost"`
	// The full name of the origin auction (cotnaining pet level).
	OriginAuctionName OptNilString `json:"originAuctionName"`
}

Kat pet rarity upgrade flip. Ref: #/components/schemas/KatFlip

func (*KatFlip) Decode

func (s *KatFlip) Decode(d *jx.Decoder) error

Decode decodes KatFlip from json.

func (*KatFlip) Encode

func (s *KatFlip) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*KatFlip) GetCoreData

func (s *KatFlip) GetCoreData() OptKatUpgradeCost

GetCoreData returns the value of CoreData.

func (*KatFlip) GetMaterialCost

func (s *KatFlip) GetMaterialCost() OptFloat64

GetMaterialCost returns the value of MaterialCost.

func (*KatFlip) GetMedian

func (s *KatFlip) GetMedian() OptInt64

GetMedian returns the value of Median.

func (*KatFlip) GetOriginAuction

func (s *KatFlip) GetOriginAuction() OptNilString

GetOriginAuction returns the value of OriginAuction.

func (*KatFlip) GetOriginAuctionName

func (s *KatFlip) GetOriginAuctionName() OptNilString

GetOriginAuctionName returns the value of OriginAuctionName.

func (*KatFlip) GetProfit

func (s *KatFlip) GetProfit() OptFloat64

GetProfit returns the value of Profit.

func (*KatFlip) GetPurchaseCost

func (s *KatFlip) GetPurchaseCost() OptInt64

GetPurchaseCost returns the value of PurchaseCost.

func (*KatFlip) GetReferenceAuction

func (s *KatFlip) GetReferenceAuction() OptNilString

GetReferenceAuction returns the value of ReferenceAuction.

func (*KatFlip) GetTargetRarity

func (s *KatFlip) GetTargetRarity() OptTier

GetTargetRarity returns the value of TargetRarity.

func (*KatFlip) GetUpgradeCost

func (s *KatFlip) GetUpgradeCost() OptFloat64

GetUpgradeCost returns the value of UpgradeCost.

func (*KatFlip) GetVolume

func (s *KatFlip) GetVolume() OptFloat64

GetVolume returns the value of Volume.

func (*KatFlip) MarshalJSON

func (s *KatFlip) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*KatFlip) SetCoreData

func (s *KatFlip) SetCoreData(val OptKatUpgradeCost)

SetCoreData sets the value of CoreData.

func (*KatFlip) SetMaterialCost

func (s *KatFlip) SetMaterialCost(val OptFloat64)

SetMaterialCost sets the value of MaterialCost.

func (*KatFlip) SetMedian

func (s *KatFlip) SetMedian(val OptInt64)

SetMedian sets the value of Median.

func (*KatFlip) SetOriginAuction

func (s *KatFlip) SetOriginAuction(val OptNilString)

SetOriginAuction sets the value of OriginAuction.

func (*KatFlip) SetOriginAuctionName

func (s *KatFlip) SetOriginAuctionName(val OptNilString)

SetOriginAuctionName sets the value of OriginAuctionName.

func (*KatFlip) SetProfit

func (s *KatFlip) SetProfit(val OptFloat64)

SetProfit sets the value of Profit.

func (*KatFlip) SetPurchaseCost

func (s *KatFlip) SetPurchaseCost(val OptInt64)

SetPurchaseCost sets the value of PurchaseCost.

func (*KatFlip) SetReferenceAuction

func (s *KatFlip) SetReferenceAuction(val OptNilString)

SetReferenceAuction sets the value of ReferenceAuction.

func (*KatFlip) SetTargetRarity

func (s *KatFlip) SetTargetRarity(val OptTier)

SetTargetRarity sets the value of TargetRarity.

func (*KatFlip) SetUpgradeCost

func (s *KatFlip) SetUpgradeCost(val OptFloat64)

SetUpgradeCost sets the value of UpgradeCost.

func (*KatFlip) SetVolume

func (s *KatFlip) SetVolume(val OptFloat64)

SetVolume sets the value of Volume.

func (*KatFlip) UnmarshalJSON

func (s *KatFlip) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*KatFlip) Validate

func (s *KatFlip) Validate() error

type KatUpgradeCost

type KatUpgradeCost struct {
	// The name of the pet.
	Name       OptNilString `json:"name"`
	BaseRarity OptTier      `json:"baseRarity"`
	// Time it takes to upgrade.
	Hours OptInt32 `json:"hours"`
	// Base cost of coins it takes to do the upgrade.
	Cost OptInt32 `json:"cost"`
	// Material (if any) required to upgrade.
	Material OptNilString `json:"material"`
	// Amount of Coflnet.Sky.Api.Models.KatUpgradeCost.Material required to do the upgrade.
	Amount OptInt32 `json:"amount"`
	// Coflnet Item tag for the Pet.
	ItemTag OptNilString `json:"itemTag"`
}

Information on requirements to upgrade a pet to another rarity. Ref: #/components/schemas/KatUpgradeCost

func (*KatUpgradeCost) Decode

func (s *KatUpgradeCost) Decode(d *jx.Decoder) error

Decode decodes KatUpgradeCost from json.

func (*KatUpgradeCost) Encode

func (s *KatUpgradeCost) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*KatUpgradeCost) GetAmount

func (s *KatUpgradeCost) GetAmount() OptInt32

GetAmount returns the value of Amount.

func (*KatUpgradeCost) GetBaseRarity

func (s *KatUpgradeCost) GetBaseRarity() OptTier

GetBaseRarity returns the value of BaseRarity.

func (*KatUpgradeCost) GetCost

func (s *KatUpgradeCost) GetCost() OptInt32

GetCost returns the value of Cost.

func (*KatUpgradeCost) GetHours

func (s *KatUpgradeCost) GetHours() OptInt32

GetHours returns the value of Hours.

func (*KatUpgradeCost) GetItemTag

func (s *KatUpgradeCost) GetItemTag() OptNilString

GetItemTag returns the value of ItemTag.

func (*KatUpgradeCost) GetMaterial

func (s *KatUpgradeCost) GetMaterial() OptNilString

GetMaterial returns the value of Material.

func (*KatUpgradeCost) GetName

func (s *KatUpgradeCost) GetName() OptNilString

GetName returns the value of Name.

func (*KatUpgradeCost) MarshalJSON

func (s *KatUpgradeCost) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*KatUpgradeCost) SetAmount

func (s *KatUpgradeCost) SetAmount(val OptInt32)

SetAmount sets the value of Amount.

func (*KatUpgradeCost) SetBaseRarity

func (s *KatUpgradeCost) SetBaseRarity(val OptTier)

SetBaseRarity sets the value of BaseRarity.

func (*KatUpgradeCost) SetCost

func (s *KatUpgradeCost) SetCost(val OptInt32)

SetCost sets the value of Cost.

func (*KatUpgradeCost) SetHours

func (s *KatUpgradeCost) SetHours(val OptInt32)

SetHours sets the value of Hours.

func (*KatUpgradeCost) SetItemTag

func (s *KatUpgradeCost) SetItemTag(val OptNilString)

SetItemTag sets the value of ItemTag.

func (*KatUpgradeCost) SetMaterial

func (s *KatUpgradeCost) SetMaterial(val OptNilString)

SetMaterial sets the value of Material.

func (*KatUpgradeCost) SetName

func (s *KatUpgradeCost) SetName(val OptNilString)

SetName sets the value of Name.

func (*KatUpgradeCost) UnmarshalJSON

func (s *KatUpgradeCost) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*KatUpgradeCost) Validate

func (s *KatUpgradeCost) Validate() error

type ListEntry

type ListEntry struct {
	Tag         OptNilString       `json:"tag"`
	DisplayName OptNilString       `json:"displayName"`
	Filter      OptListEntryFilter `json:"filter"`
	Tags        OptNilStringArray  `json:"tags"`
	Order       OptInt32           `json:"order"`
	Group       OptNilString       `json:"group"`
}

Ref: #/components/schemas/ListEntry

func (*ListEntry) Decode

func (s *ListEntry) Decode(d *jx.Decoder) error

Decode decodes ListEntry from json.

func (*ListEntry) Encode

func (s *ListEntry) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ListEntry) GetDisplayName

func (s *ListEntry) GetDisplayName() OptNilString

GetDisplayName returns the value of DisplayName.

func (*ListEntry) GetFilter

func (s *ListEntry) GetFilter() OptListEntryFilter

GetFilter returns the value of Filter.

func (*ListEntry) GetGroup

func (s *ListEntry) GetGroup() OptNilString

GetGroup returns the value of Group.

func (*ListEntry) GetOrder

func (s *ListEntry) GetOrder() OptInt32

GetOrder returns the value of Order.

func (*ListEntry) GetTag

func (s *ListEntry) GetTag() OptNilString

GetTag returns the value of Tag.

func (*ListEntry) GetTags

func (s *ListEntry) GetTags() OptNilStringArray

GetTags returns the value of Tags.

func (*ListEntry) MarshalJSON

func (s *ListEntry) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListEntry) SetDisplayName

func (s *ListEntry) SetDisplayName(val OptNilString)

SetDisplayName sets the value of DisplayName.

func (*ListEntry) SetFilter

func (s *ListEntry) SetFilter(val OptListEntryFilter)

SetFilter sets the value of Filter.

func (*ListEntry) SetGroup

func (s *ListEntry) SetGroup(val OptNilString)

SetGroup sets the value of Group.

func (*ListEntry) SetOrder

func (s *ListEntry) SetOrder(val OptInt32)

SetOrder sets the value of Order.

func (*ListEntry) SetTag

func (s *ListEntry) SetTag(val OptNilString)

SetTag sets the value of Tag.

func (*ListEntry) SetTags

func (s *ListEntry) SetTags(val OptNilStringArray)

SetTags sets the value of Tags.

func (*ListEntry) UnmarshalJSON

func (s *ListEntry) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ListEntry) Validate

func (s *ListEntry) Validate() error

type ListEntryFilter

type ListEntryFilter struct{}

func (*ListEntryFilter) Decode

func (s *ListEntryFilter) Decode(d *jx.Decoder) error

Decode decodes ListEntryFilter from json.

func (*ListEntryFilter) Encode

func (s *ListEntryFilter) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ListEntryFilter) MarshalJSON

func (s *ListEntryFilter) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListEntryFilter) UnmarshalJSON

func (s *ListEntryFilter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Middleware

type Middleware = middleware.Middleware

Middleware is middleware type.

type ModSettings

type ModSettings struct {
	JustProfit       OptBool      `json:"justProfit"`
	SoundOnFlip      OptBool      `json:"soundOnFlip"`
	ShortNumbers     OptBool      `json:"shortNumbers"`
	BlockTenSecMsg   OptBool      `json:"blockTenSecMsg"`
	Format           OptNilString `json:"format"`
	Chat             OptBool      `json:"chat"`
	Countdown        OptBool      `json:"countdown"`
	HideNoBestFlip   OptBool      `json:"hideNoBestFlip"`
	TimerX           OptInt32     `json:"timerX"`
	TimerY           OptInt32     `json:"timerY"`
	TimerSeconds     OptInt32     `json:"timerSeconds"`
	TimerScale       OptFloat32   `json:"timerScale"`
	TimerPrefix      OptNilString `json:"timerPrefix"`
	TimerPrecision   OptInt32     `json:"timerPrecision"`
	BlockedMsg       OptInt32     `json:"blockedMsg"`
	NoAdjustToPurse  OptBool      `json:"noAdjustToPurse"`
	NoBedDelay       OptBool      `json:"noBedDelay"`
	StreamerMode     OptBool      `json:"streamerMode"`
	AutoStartFlipper OptBool      `json:"autoStartFlipper"`
	NormalSoldFlips  OptBool      `json:"normalSoldFlips"`
}

Ref: #/components/schemas/ModSettings

func (*ModSettings) Decode

func (s *ModSettings) Decode(d *jx.Decoder) error

Decode decodes ModSettings from json.

func (*ModSettings) Encode

func (s *ModSettings) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ModSettings) GetAutoStartFlipper

func (s *ModSettings) GetAutoStartFlipper() OptBool

GetAutoStartFlipper returns the value of AutoStartFlipper.

func (*ModSettings) GetBlockTenSecMsg

func (s *ModSettings) GetBlockTenSecMsg() OptBool

GetBlockTenSecMsg returns the value of BlockTenSecMsg.

func (*ModSettings) GetBlockedMsg

func (s *ModSettings) GetBlockedMsg() OptInt32

GetBlockedMsg returns the value of BlockedMsg.

func (*ModSettings) GetChat

func (s *ModSettings) GetChat() OptBool

GetChat returns the value of Chat.

func (*ModSettings) GetCountdown

func (s *ModSettings) GetCountdown() OptBool

GetCountdown returns the value of Countdown.

func (*ModSettings) GetFormat

func (s *ModSettings) GetFormat() OptNilString

GetFormat returns the value of Format.

func (*ModSettings) GetHideNoBestFlip

func (s *ModSettings) GetHideNoBestFlip() OptBool

GetHideNoBestFlip returns the value of HideNoBestFlip.

func (*ModSettings) GetJustProfit

func (s *ModSettings) GetJustProfit() OptBool

GetJustProfit returns the value of JustProfit.

func (*ModSettings) GetNoAdjustToPurse

func (s *ModSettings) GetNoAdjustToPurse() OptBool

GetNoAdjustToPurse returns the value of NoAdjustToPurse.

func (*ModSettings) GetNoBedDelay

func (s *ModSettings) GetNoBedDelay() OptBool

GetNoBedDelay returns the value of NoBedDelay.

func (*ModSettings) GetNormalSoldFlips

func (s *ModSettings) GetNormalSoldFlips() OptBool

GetNormalSoldFlips returns the value of NormalSoldFlips.

func (*ModSettings) GetShortNumbers

func (s *ModSettings) GetShortNumbers() OptBool

GetShortNumbers returns the value of ShortNumbers.

func (*ModSettings) GetSoundOnFlip

func (s *ModSettings) GetSoundOnFlip() OptBool

GetSoundOnFlip returns the value of SoundOnFlip.

func (*ModSettings) GetStreamerMode

func (s *ModSettings) GetStreamerMode() OptBool

GetStreamerMode returns the value of StreamerMode.

func (*ModSettings) GetTimerPrecision

func (s *ModSettings) GetTimerPrecision() OptInt32

GetTimerPrecision returns the value of TimerPrecision.

func (*ModSettings) GetTimerPrefix

func (s *ModSettings) GetTimerPrefix() OptNilString

GetTimerPrefix returns the value of TimerPrefix.

func (*ModSettings) GetTimerScale

func (s *ModSettings) GetTimerScale() OptFloat32

GetTimerScale returns the value of TimerScale.

func (*ModSettings) GetTimerSeconds

func (s *ModSettings) GetTimerSeconds() OptInt32

GetTimerSeconds returns the value of TimerSeconds.

func (*ModSettings) GetTimerX

func (s *ModSettings) GetTimerX() OptInt32

GetTimerX returns the value of TimerX.

func (*ModSettings) GetTimerY

func (s *ModSettings) GetTimerY() OptInt32

GetTimerY returns the value of TimerY.

func (*ModSettings) MarshalJSON

func (s *ModSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ModSettings) SetAutoStartFlipper

func (s *ModSettings) SetAutoStartFlipper(val OptBool)

SetAutoStartFlipper sets the value of AutoStartFlipper.

func (*ModSettings) SetBlockTenSecMsg

func (s *ModSettings) SetBlockTenSecMsg(val OptBool)

SetBlockTenSecMsg sets the value of BlockTenSecMsg.

func (*ModSettings) SetBlockedMsg

func (s *ModSettings) SetBlockedMsg(val OptInt32)

SetBlockedMsg sets the value of BlockedMsg.

func (*ModSettings) SetChat

func (s *ModSettings) SetChat(val OptBool)

SetChat sets the value of Chat.

func (*ModSettings) SetCountdown

func (s *ModSettings) SetCountdown(val OptBool)

SetCountdown sets the value of Countdown.

func (*ModSettings) SetFormat

func (s *ModSettings) SetFormat(val OptNilString)

SetFormat sets the value of Format.

func (*ModSettings) SetHideNoBestFlip

func (s *ModSettings) SetHideNoBestFlip(val OptBool)

SetHideNoBestFlip sets the value of HideNoBestFlip.

func (*ModSettings) SetJustProfit

func (s *ModSettings) SetJustProfit(val OptBool)

SetJustProfit sets the value of JustProfit.

func (*ModSettings) SetNoAdjustToPurse

func (s *ModSettings) SetNoAdjustToPurse(val OptBool)

SetNoAdjustToPurse sets the value of NoAdjustToPurse.

func (*ModSettings) SetNoBedDelay

func (s *ModSettings) SetNoBedDelay(val OptBool)

SetNoBedDelay sets the value of NoBedDelay.

func (*ModSettings) SetNormalSoldFlips

func (s *ModSettings) SetNormalSoldFlips(val OptBool)

SetNormalSoldFlips sets the value of NormalSoldFlips.

func (*ModSettings) SetShortNumbers

func (s *ModSettings) SetShortNumbers(val OptBool)

SetShortNumbers sets the value of ShortNumbers.

func (*ModSettings) SetSoundOnFlip

func (s *ModSettings) SetSoundOnFlip(val OptBool)

SetSoundOnFlip sets the value of SoundOnFlip.

func (*ModSettings) SetStreamerMode

func (s *ModSettings) SetStreamerMode(val OptBool)

SetStreamerMode sets the value of StreamerMode.

func (*ModSettings) SetTimerPrecision

func (s *ModSettings) SetTimerPrecision(val OptInt32)

SetTimerPrecision sets the value of TimerPrecision.

func (*ModSettings) SetTimerPrefix

func (s *ModSettings) SetTimerPrefix(val OptNilString)

SetTimerPrefix sets the value of TimerPrefix.

func (*ModSettings) SetTimerScale

func (s *ModSettings) SetTimerScale(val OptFloat32)

SetTimerScale sets the value of TimerScale.

func (*ModSettings) SetTimerSeconds

func (s *ModSettings) SetTimerSeconds(val OptInt32)

SetTimerSeconds sets the value of TimerSeconds.

func (*ModSettings) SetTimerX

func (s *ModSettings) SetTimerX(val OptInt32)

SetTimerX sets the value of TimerX.

func (*ModSettings) SetTimerY

func (s *ModSettings) SetTimerY(val OptInt32)

SetTimerY sets the value of TimerY.

func (*ModSettings) UnmarshalJSON

func (s *ModSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ModSettings) Validate

func (s *ModSettings) Validate() error

type ModType

type ModType string

Defines the type of modification. Ref: #/components/schemas/ModType

const (
	ModTypeNONE    ModType = "NONE"
	ModTypeINSERT  ModType = "INSERT"
	ModTypeREPLACE ModType = "REPLACE"
	ModTypeAPPEND  ModType = "APPEND"
	ModTypeDELETE  ModType = "DELETE"
)

func (*ModType) Decode

func (s *ModType) Decode(d *jx.Decoder) error

Decode decodes ModType from json.

func (ModType) Encode

func (s ModType) Encode(e *jx.Encoder)

Encode encodes ModType as json.

func (ModType) MarshalJSON

func (s ModType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ModType) MarshalText

func (s ModType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ModType) UnmarshalJSON

func (s *ModType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ModType) UnmarshalText

func (s *ModType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ModType) Validate

func (s ModType) Validate() error

type ModelCandidate

type ModelCandidate struct {
	Key   OptNilString         `json:"key"`
	Name  OptNilString         `json:"name"`
	Perks OptNilModelPerkArray `json:"perks"`
}

Ref: #/components/schemas/ModelCandidate

func (*ModelCandidate) Decode

func (s *ModelCandidate) Decode(d *jx.Decoder) error

Decode decodes ModelCandidate from json.

func (*ModelCandidate) Encode

func (s *ModelCandidate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ModelCandidate) GetKey

func (s *ModelCandidate) GetKey() OptNilString

GetKey returns the value of Key.

func (*ModelCandidate) GetName

func (s *ModelCandidate) GetName() OptNilString

GetName returns the value of Name.

func (*ModelCandidate) GetPerks

func (s *ModelCandidate) GetPerks() OptNilModelPerkArray

GetPerks returns the value of Perks.

func (*ModelCandidate) MarshalJSON

func (s *ModelCandidate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ModelCandidate) SetKey

func (s *ModelCandidate) SetKey(val OptNilString)

SetKey sets the value of Key.

func (*ModelCandidate) SetName

func (s *ModelCandidate) SetName(val OptNilString)

SetName sets the value of Name.

func (*ModelCandidate) SetPerks

func (s *ModelCandidate) SetPerks(val OptNilModelPerkArray)

SetPerks sets the value of Perks.

func (*ModelCandidate) UnmarshalJSON

func (s *ModelCandidate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ModelCandidate) Validate

func (s *ModelCandidate) Validate() error

type ModelElectionPeriod

type ModelElectionPeriod struct {
	Candidates OptNilModelCandidateArray `json:"candidates"`
	End        OptNilString              `json:"end"`
	ID         OptNilString              `json:"id"`
	Start      OptNilString              `json:"start"`
	Winner     OptModelCandidate         `json:"winner"`
	Year       OptInt32                  `json:"year"`
}

Ref: #/components/schemas/ModelElectionPeriod

func (*ModelElectionPeriod) Decode

func (s *ModelElectionPeriod) Decode(d *jx.Decoder) error

Decode decodes ModelElectionPeriod from json.

func (*ModelElectionPeriod) Encode

func (s *ModelElectionPeriod) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ModelElectionPeriod) GetCandidates

GetCandidates returns the value of Candidates.

func (*ModelElectionPeriod) GetEnd

func (s *ModelElectionPeriod) GetEnd() OptNilString

GetEnd returns the value of End.

func (*ModelElectionPeriod) GetID

func (s *ModelElectionPeriod) GetID() OptNilString

GetID returns the value of ID.

func (*ModelElectionPeriod) GetStart

func (s *ModelElectionPeriod) GetStart() OptNilString

GetStart returns the value of Start.

func (*ModelElectionPeriod) GetWinner

func (s *ModelElectionPeriod) GetWinner() OptModelCandidate

GetWinner returns the value of Winner.

func (*ModelElectionPeriod) GetYear

func (s *ModelElectionPeriod) GetYear() OptInt32

GetYear returns the value of Year.

func (*ModelElectionPeriod) MarshalJSON

func (s *ModelElectionPeriod) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ModelElectionPeriod) SetCandidates

func (s *ModelElectionPeriod) SetCandidates(val OptNilModelCandidateArray)

SetCandidates sets the value of Candidates.

func (*ModelElectionPeriod) SetEnd

func (s *ModelElectionPeriod) SetEnd(val OptNilString)

SetEnd sets the value of End.

func (*ModelElectionPeriod) SetID

func (s *ModelElectionPeriod) SetID(val OptNilString)

SetID sets the value of ID.

func (*ModelElectionPeriod) SetStart

func (s *ModelElectionPeriod) SetStart(val OptNilString)

SetStart sets the value of Start.

func (*ModelElectionPeriod) SetWinner

func (s *ModelElectionPeriod) SetWinner(val OptModelCandidate)

SetWinner sets the value of Winner.

func (*ModelElectionPeriod) SetYear

func (s *ModelElectionPeriod) SetYear(val OptInt32)

SetYear sets the value of Year.

func (*ModelElectionPeriod) UnmarshalJSON

func (s *ModelElectionPeriod) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ModelElectionPeriod) Validate

func (s *ModelElectionPeriod) Validate() error

type ModelPerk

type ModelPerk struct {
	Description OptNilString `json:"description"`
	Name        OptNilString `json:"name"`
}

Ref: #/components/schemas/ModelPerk

func (*ModelPerk) Decode

func (s *ModelPerk) Decode(d *jx.Decoder) error

Decode decodes ModelPerk from json.

func (*ModelPerk) Encode

func (s *ModelPerk) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ModelPerk) GetDescription

func (s *ModelPerk) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*ModelPerk) GetName

func (s *ModelPerk) GetName() OptNilString

GetName returns the value of Name.

func (*ModelPerk) MarshalJSON

func (s *ModelPerk) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ModelPerk) SetDescription

func (s *ModelPerk) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*ModelPerk) SetName

func (s *ModelPerk) SetName(val OptNilString)

SetName sets the value of Name.

func (*ModelPerk) UnmarshalJSON

func (s *ModelPerk) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type NbtData

type NbtData struct {
	Data OptNbtDataData `json:"data"`
}

Ref: #/components/schemas/NbtData

func (*NbtData) Decode

func (s *NbtData) Decode(d *jx.Decoder) error

Decode decodes NbtData from json.

func (*NbtData) Encode

func (s *NbtData) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*NbtData) GetData

func (s *NbtData) GetData() OptNbtDataData

GetData returns the value of Data.

func (*NbtData) MarshalJSON

func (s *NbtData) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*NbtData) SetData

func (s *NbtData) SetData(val OptNbtDataData)

SetData sets the value of Data.

func (*NbtData) UnmarshalJSON

func (s *NbtData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type NbtDataData

type NbtDataData struct{}

func (*NbtDataData) Decode

func (s *NbtDataData) Decode(d *jx.Decoder) error

Decode decodes NbtDataData from json.

func (*NbtDataData) Encode

func (s *NbtDataData) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*NbtDataData) MarshalJSON

func (s *NbtDataData) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*NbtDataData) UnmarshalJSON

func (s *NbtDataData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type NilString

type NilString struct {
	Value string
	Null  bool
}

NilString is nullable string.

func NewNilString

func NewNilString(v string) NilString

NewNilString returns new NilString with value set to v.

func (*NilString) Decode

func (o *NilString) Decode(d *jx.Decoder) error

Decode decodes string from json.

func (NilString) Encode

func (o NilString) Encode(e *jx.Encoder)

Encode encodes string as json.

func (NilString) Get

func (o NilString) Get() (v string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (NilString) IsNull

func (o NilString) IsNull() bool

IsSet returns true if value is Null.

func (NilString) MarshalJSON

func (s NilString) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (NilString) Or

func (o NilString) Or(d string) string

Or returns value if set, or given parameter if does not.

func (*NilString) SetTo

func (o *NilString) SetTo(v string)

SetTo sets value to v.

func (*NilString) SetToNull

func (o *NilString) SetToNull()

SetNull sets value to null.

func (*NilString) UnmarshalJSON

func (s *NilString) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OldRefInfo

type OldRefInfo struct {
	RefId         OptNilString `json:"refId"`
	Count         OptInt32     `json:"count"`
	ReceivedTime  OptString    `json:"receivedTime"`
	ReceivedHours OptInt32     `json:"receivedHours"`
	BougthPremium OptInt32     `json:"bougthPremium"`
}

Ref: #/components/schemas/OldRefInfo

func (*OldRefInfo) Decode

func (s *OldRefInfo) Decode(d *jx.Decoder) error

Decode decodes OldRefInfo from json.

func (*OldRefInfo) Encode

func (s *OldRefInfo) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*OldRefInfo) GetBougthPremium

func (s *OldRefInfo) GetBougthPremium() OptInt32

GetBougthPremium returns the value of BougthPremium.

func (*OldRefInfo) GetCount

func (s *OldRefInfo) GetCount() OptInt32

GetCount returns the value of Count.

func (*OldRefInfo) GetReceivedHours

func (s *OldRefInfo) GetReceivedHours() OptInt32

GetReceivedHours returns the value of ReceivedHours.

func (*OldRefInfo) GetReceivedTime

func (s *OldRefInfo) GetReceivedTime() OptString

GetReceivedTime returns the value of ReceivedTime.

func (*OldRefInfo) GetRefId

func (s *OldRefInfo) GetRefId() OptNilString

GetRefId returns the value of RefId.

func (*OldRefInfo) MarshalJSON

func (s *OldRefInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OldRefInfo) SetBougthPremium

func (s *OldRefInfo) SetBougthPremium(val OptInt32)

SetBougthPremium sets the value of BougthPremium.

func (*OldRefInfo) SetCount

func (s *OldRefInfo) SetCount(val OptInt32)

SetCount sets the value of Count.

func (*OldRefInfo) SetReceivedHours

func (s *OldRefInfo) SetReceivedHours(val OptInt32)

SetReceivedHours sets the value of ReceivedHours.

func (*OldRefInfo) SetReceivedTime

func (s *OldRefInfo) SetReceivedTime(val OptString)

SetReceivedTime sets the value of ReceivedTime.

func (*OldRefInfo) SetRefId

func (s *OldRefInfo) SetRefId(val OptNilString)

SetRefId sets the value of RefId.

func (*OldRefInfo) UnmarshalJSON

func (s *OldRefInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBinResponse

type OptBinResponse struct {
	Value BinResponse
	Set   bool
}

OptBinResponse is optional BinResponse.

func NewOptBinResponse

func NewOptBinResponse(v BinResponse) OptBinResponse

NewOptBinResponse returns new OptBinResponse with value set to v.

func (*OptBinResponse) Decode

func (o *OptBinResponse) Decode(d *jx.Decoder) error

Decode decodes BinResponse from json.

func (OptBinResponse) Encode

func (o OptBinResponse) Encode(e *jx.Encoder)

Encode encodes BinResponse as json.

func (OptBinResponse) Get

func (o OptBinResponse) Get() (v BinResponse, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptBinResponse) IsSet

func (o OptBinResponse) IsSet() bool

IsSet returns true if OptBinResponse was set.

func (OptBinResponse) MarshalJSON

func (s OptBinResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptBinResponse) Or

Or returns value if set, or given parameter if does not.

func (*OptBinResponse) Reset

func (o *OptBinResponse) Reset()

Reset unsets value.

func (*OptBinResponse) SetTo

func (o *OptBinResponse) SetTo(v BinResponse)

SetTo sets value to v.

func (*OptBinResponse) UnmarshalJSON

func (s *OptBinResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBool

type OptBool struct {
	Value bool
	Set   bool
}

OptBool is optional bool.

func NewOptBool

func NewOptBool(v bool) OptBool

NewOptBool returns new OptBool with value set to v.

func (*OptBool) Decode

func (o *OptBool) Decode(d *jx.Decoder) error

Decode decodes bool from json.

func (OptBool) Encode

func (o OptBool) Encode(e *jx.Encoder)

Encode encodes bool as json.

func (OptBool) Get

func (o OptBool) Get() (v bool, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptBool) IsSet

func (o OptBool) IsSet() bool

IsSet returns true if OptBool was set.

func (OptBool) MarshalJSON

func (s OptBool) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptBool) Or

func (o OptBool) Or(d bool) bool

Or returns value if set, or given parameter if does not.

func (*OptBool) Reset

func (o *OptBool) Reset()

Reset unsets value.

func (*OptBool) SetTo

func (o *OptBool) SetTo(v bool)

SetTo sets value to v.

func (*OptBool) UnmarshalJSON

func (s *OptBool) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCategory

type OptCategory struct {
	Value Category
	Set   bool
}

OptCategory is optional Category.

func NewOptCategory

func NewOptCategory(v Category) OptCategory

NewOptCategory returns new OptCategory with value set to v.

func (*OptCategory) Decode

func (o *OptCategory) Decode(d *jx.Decoder) error

Decode decodes Category from json.

func (OptCategory) Encode

func (o OptCategory) Encode(e *jx.Encoder)

Encode encodes Category as json.

func (OptCategory) Get

func (o OptCategory) Get() (v Category, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptCategory) IsSet

func (o OptCategory) IsSet() bool

IsSet returns true if OptCategory was set.

func (OptCategory) MarshalJSON

func (s OptCategory) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptCategory) Or

func (o OptCategory) Or(d Category) Category

Or returns value if set, or given parameter if does not.

func (*OptCategory) Reset

func (o *OptCategory) Reset()

Reset unsets value.

func (*OptCategory) SetTo

func (o *OptCategory) SetTo(v Category)

SetTo sets value to v.

func (*OptCategory) UnmarshalJSON

func (s *OptCategory) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptDateTime

type OptDateTime struct {
	Value time.Time
	Set   bool
}

OptDateTime is optional time.Time.

func NewOptDateTime

func NewOptDateTime(v time.Time) OptDateTime

NewOptDateTime returns new OptDateTime with value set to v.

func (*OptDateTime) Decode

func (o *OptDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error

Decode decodes time.Time from json.

func (OptDateTime) Encode

func (o OptDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))

Encode encodes time.Time as json.

func (OptDateTime) Get

func (o OptDateTime) Get() (v time.Time, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptDateTime) IsSet

func (o OptDateTime) IsSet() bool

IsSet returns true if OptDateTime was set.

func (OptDateTime) MarshalJSON

func (s OptDateTime) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptDateTime) Or

func (o OptDateTime) Or(d time.Time) time.Time

Or returns value if set, or given parameter if does not.

func (*OptDateTime) Reset

func (o *OptDateTime) Reset()

Reset unsets value.

func (*OptDateTime) SetTo

func (o *OptDateTime) SetTo(v time.Time)

SetTo sets value to v.

func (*OptDateTime) UnmarshalJSON

func (s *OptDateTime) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptDescriptionSetting

type OptDescriptionSetting struct {
	Value DescriptionSetting
	Set   bool
}

OptDescriptionSetting is optional DescriptionSetting.

func NewOptDescriptionSetting

func NewOptDescriptionSetting(v DescriptionSetting) OptDescriptionSetting

NewOptDescriptionSetting returns new OptDescriptionSetting with value set to v.

func (*OptDescriptionSetting) Decode

func (o *OptDescriptionSetting) Decode(d *jx.Decoder) error

Decode decodes DescriptionSetting from json.

func (OptDescriptionSetting) Encode

func (o OptDescriptionSetting) Encode(e *jx.Encoder)

Encode encodes DescriptionSetting as json.

func (OptDescriptionSetting) Get

Get returns value and boolean that denotes whether value was set.

func (OptDescriptionSetting) IsSet

func (o OptDescriptionSetting) IsSet() bool

IsSet returns true if OptDescriptionSetting was set.

func (OptDescriptionSetting) MarshalJSON

func (s OptDescriptionSetting) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptDescriptionSetting) Or

Or returns value if set, or given parameter if does not.

func (*OptDescriptionSetting) Reset

func (o *OptDescriptionSetting) Reset()

Reset unsets value.

func (*OptDescriptionSetting) SetTo

SetTo sets value to v.

func (*OptDescriptionSetting) UnmarshalJSON

func (s *OptDescriptionSetting) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptEnchantmentType

type OptEnchantmentType struct {
	Value EnchantmentType
	Set   bool
}

OptEnchantmentType is optional EnchantmentType.

func NewOptEnchantmentType

func NewOptEnchantmentType(v EnchantmentType) OptEnchantmentType

NewOptEnchantmentType returns new OptEnchantmentType with value set to v.

func (*OptEnchantmentType) Decode

func (o *OptEnchantmentType) Decode(d *jx.Decoder) error

Decode decodes EnchantmentType from json.

func (OptEnchantmentType) Encode

func (o OptEnchantmentType) Encode(e *jx.Encoder)

Encode encodes EnchantmentType as json.

func (OptEnchantmentType) Get

func (o OptEnchantmentType) Get() (v EnchantmentType, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptEnchantmentType) IsSet

func (o OptEnchantmentType) IsSet() bool

IsSet returns true if OptEnchantmentType was set.

func (OptEnchantmentType) MarshalJSON

func (s OptEnchantmentType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptEnchantmentType) Or

Or returns value if set, or given parameter if does not.

func (*OptEnchantmentType) Reset

func (o *OptEnchantmentType) Reset()

Reset unsets value.

func (*OptEnchantmentType) SetTo

func (o *OptEnchantmentType) SetTo(v EnchantmentType)

SetTo sets value to v.

func (*OptEnchantmentType) UnmarshalJSON

func (s *OptEnchantmentType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptFilterQueryFilters

type OptFilterQueryFilters struct {
	Value *FilterQueryFilters
	Set   bool
}

OptFilterQueryFilters is optional *FilterQueryFilters.

func NewOptFilterQueryFilters

func NewOptFilterQueryFilters(v *FilterQueryFilters) OptFilterQueryFilters

NewOptFilterQueryFilters returns new OptFilterQueryFilters with value set to v.

func (*OptFilterQueryFilters) Decode

func (o *OptFilterQueryFilters) Decode(d *jx.Decoder) error

Decode decodes *FilterQueryFilters from json.

func (OptFilterQueryFilters) Encode

func (o OptFilterQueryFilters) Encode(e *jx.Encoder)

Encode encodes *FilterQueryFilters as json.

func (OptFilterQueryFilters) Get

Get returns value and boolean that denotes whether value was set.

func (OptFilterQueryFilters) IsSet

func (o OptFilterQueryFilters) IsSet() bool

IsSet returns true if OptFilterQueryFilters was set.

func (OptFilterQueryFilters) MarshalJSON

func (s OptFilterQueryFilters) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptFilterQueryFilters) Or

Or returns value if set, or given parameter if does not.

func (*OptFilterQueryFilters) Reset

func (o *OptFilterQueryFilters) Reset()

Reset unsets value.

func (*OptFilterQueryFilters) SetTo

SetTo sets value to v.

func (*OptFilterQueryFilters) UnmarshalJSON

func (s *OptFilterQueryFilters) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptFilterType

type OptFilterType struct {
	Value FilterType
	Set   bool
}

OptFilterType is optional FilterType.

func NewOptFilterType

func NewOptFilterType(v FilterType) OptFilterType

NewOptFilterType returns new OptFilterType with value set to v.

func (*OptFilterType) Decode

func (o *OptFilterType) Decode(d *jx.Decoder) error

Decode decodes FilterType from json.

func (OptFilterType) Encode

func (o OptFilterType) Encode(e *jx.Encoder)

Encode encodes FilterType as json.

func (OptFilterType) Get

func (o OptFilterType) Get() (v FilterType, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptFilterType) IsSet

func (o OptFilterType) IsSet() bool

IsSet returns true if OptFilterType was set.

func (OptFilterType) MarshalJSON

func (s OptFilterType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptFilterType) Or

Or returns value if set, or given parameter if does not.

func (*OptFilterType) Reset

func (o *OptFilterType) Reset()

Reset unsets value.

func (*OptFilterType) SetTo

func (o *OptFilterType) SetTo(v FilterType)

SetTo sets value to v.

func (*OptFilterType) UnmarshalJSON

func (s *OptFilterType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptFinderType

type OptFinderType struct {
	Value FinderType
	Set   bool
}

OptFinderType is optional FinderType.

func NewOptFinderType

func NewOptFinderType(v FinderType) OptFinderType

NewOptFinderType returns new OptFinderType with value set to v.

func (*OptFinderType) Decode

func (o *OptFinderType) Decode(d *jx.Decoder) error

Decode decodes FinderType from json.

func (OptFinderType) Encode

func (o OptFinderType) Encode(e *jx.Encoder)

Encode encodes FinderType as json.

func (OptFinderType) Get

func (o OptFinderType) Get() (v FinderType, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptFinderType) IsSet

func (o OptFinderType) IsSet() bool

IsSet returns true if OptFinderType was set.

func (OptFinderType) MarshalJSON

func (s OptFinderType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptFinderType) Or

Or returns value if set, or given parameter if does not.

func (*OptFinderType) Reset

func (o *OptFinderType) Reset()

Reset unsets value.

func (*OptFinderType) SetTo

func (o *OptFinderType) SetTo(v FinderType)

SetTo sets value to v.

func (*OptFinderType) UnmarshalJSON

func (s *OptFinderType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptFlipSettingsFilters

type OptFlipSettingsFilters struct {
	Value *FlipSettingsFilters
	Set   bool
}

OptFlipSettingsFilters is optional *FlipSettingsFilters.

func NewOptFlipSettingsFilters

func NewOptFlipSettingsFilters(v *FlipSettingsFilters) OptFlipSettingsFilters

NewOptFlipSettingsFilters returns new OptFlipSettingsFilters with value set to v.

func (*OptFlipSettingsFilters) Decode

func (o *OptFlipSettingsFilters) Decode(d *jx.Decoder) error

Decode decodes *FlipSettingsFilters from json.

func (OptFlipSettingsFilters) Encode

func (o OptFlipSettingsFilters) Encode(e *jx.Encoder)

Encode encodes *FlipSettingsFilters as json.

func (OptFlipSettingsFilters) Get

Get returns value and boolean that denotes whether value was set.

func (OptFlipSettingsFilters) IsSet

func (o OptFlipSettingsFilters) IsSet() bool

IsSet returns true if OptFlipSettingsFilters was set.

func (OptFlipSettingsFilters) MarshalJSON

func (s OptFlipSettingsFilters) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptFlipSettingsFilters) Or

Or returns value if set, or given parameter if does not.

func (*OptFlipSettingsFilters) Reset

func (o *OptFlipSettingsFilters) Reset()

Reset unsets value.

func (*OptFlipSettingsFilters) SetTo

SetTo sets value to v.

func (*OptFlipSettingsFilters) UnmarshalJSON

func (s *OptFlipSettingsFilters) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptFloat32

type OptFloat32 struct {
	Value float32
	Set   bool
}

OptFloat32 is optional float32.

func NewOptFloat32

func NewOptFloat32(v float32) OptFloat32

NewOptFloat32 returns new OptFloat32 with value set to v.

func (*OptFloat32) Decode

func (o *OptFloat32) Decode(d *jx.Decoder) error

Decode decodes float32 from json.

func (OptFloat32) Encode

func (o OptFloat32) Encode(e *jx.Encoder)

Encode encodes float32 as json.

func (OptFloat32) Get

func (o OptFloat32) Get() (v float32, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptFloat32) IsSet

func (o OptFloat32) IsSet() bool

IsSet returns true if OptFloat32 was set.

func (OptFloat32) MarshalJSON

func (s OptFloat32) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptFloat32) Or

func (o OptFloat32) Or(d float32) float32

Or returns value if set, or given parameter if does not.

func (*OptFloat32) Reset

func (o *OptFloat32) Reset()

Reset unsets value.

func (*OptFloat32) SetTo

func (o *OptFloat32) SetTo(v float32)

SetTo sets value to v.

func (*OptFloat32) UnmarshalJSON

func (s *OptFloat32) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptFloat64

type OptFloat64 struct {
	Value float64
	Set   bool
}

OptFloat64 is optional float64.

func NewOptFloat64

func NewOptFloat64(v float64) OptFloat64

NewOptFloat64 returns new OptFloat64 with value set to v.

func (*OptFloat64) Decode

func (o *OptFloat64) Decode(d *jx.Decoder) error

Decode decodes float64 from json.

func (OptFloat64) Encode

func (o OptFloat64) Encode(e *jx.Encoder)

Encode encodes float64 as json.

func (OptFloat64) Get

func (o OptFloat64) Get() (v float64, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptFloat64) IsSet

func (o OptFloat64) IsSet() bool

IsSet returns true if OptFloat64 was set.

func (OptFloat64) MarshalJSON

func (s OptFloat64) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptFloat64) Or

func (o OptFloat64) Or(d float64) float64

Or returns value if set, or given parameter if does not.

func (*OptFloat64) Reset

func (o *OptFloat64) Reset()

Reset unsets value.

func (*OptFloat64) SetTo

func (o *OptFloat64) SetTo(v float64)

SetTo sets value to v.

func (*OptFloat64) UnmarshalJSON

func (s *OptFloat64) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptInt32

type OptInt32 struct {
	Value int32
	Set   bool
}

OptInt32 is optional int32.

func NewOptInt32

func NewOptInt32(v int32) OptInt32

NewOptInt32 returns new OptInt32 with value set to v.

func (*OptInt32) Decode

func (o *OptInt32) Decode(d *jx.Decoder) error

Decode decodes int32 from json.

func (OptInt32) Encode

func (o OptInt32) Encode(e *jx.Encoder)

Encode encodes int32 as json.

func (OptInt32) Get

func (o OptInt32) Get() (v int32, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptInt32) IsSet

func (o OptInt32) IsSet() bool

IsSet returns true if OptInt32 was set.

func (OptInt32) MarshalJSON

func (s OptInt32) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptInt32) Or

func (o OptInt32) Or(d int32) int32

Or returns value if set, or given parameter if does not.

func (*OptInt32) Reset

func (o *OptInt32) Reset()

Reset unsets value.

func (*OptInt32) SetTo

func (o *OptInt32) SetTo(v int32)

SetTo sets value to v.

func (*OptInt32) UnmarshalJSON

func (s *OptInt32) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptInt64

type OptInt64 struct {
	Value int64
	Set   bool
}

OptInt64 is optional int64.

func NewOptInt64

func NewOptInt64(v int64) OptInt64

NewOptInt64 returns new OptInt64 with value set to v.

func (*OptInt64) Decode

func (o *OptInt64) Decode(d *jx.Decoder) error

Decode decodes int64 from json.

func (OptInt64) Encode

func (o OptInt64) Encode(e *jx.Encoder)

Encode encodes int64 as json.

func (OptInt64) Get

func (o OptInt64) Get() (v int64, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptInt64) IsSet

func (o OptInt64) IsSet() bool

IsSet returns true if OptInt64 was set.

func (OptInt64) MarshalJSON

func (s OptInt64) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptInt64) Or

func (o OptInt64) Or(d int64) int64

Or returns value if set, or given parameter if does not.

func (*OptInt64) Reset

func (o *OptInt64) Reset()

Reset unsets value.

func (*OptInt64) SetTo

func (o *OptInt64) SetTo(v int64)

SetTo sets value to v.

func (*OptInt64) UnmarshalJSON

func (s *OptInt64) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptItemCategory

type OptItemCategory struct {
	Value ItemCategory
	Set   bool
}

OptItemCategory is optional ItemCategory.

func NewOptItemCategory

func NewOptItemCategory(v ItemCategory) OptItemCategory

NewOptItemCategory returns new OptItemCategory with value set to v.

func (*OptItemCategory) Decode

func (o *OptItemCategory) Decode(d *jx.Decoder) error

Decode decodes ItemCategory from json.

func (OptItemCategory) Encode

func (o OptItemCategory) Encode(e *jx.Encoder)

Encode encodes ItemCategory as json.

func (OptItemCategory) Get

func (o OptItemCategory) Get() (v ItemCategory, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptItemCategory) IsSet

func (o OptItemCategory) IsSet() bool

IsSet returns true if OptItemCategory was set.

func (OptItemCategory) MarshalJSON

func (s OptItemCategory) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptItemCategory) Or

Or returns value if set, or given parameter if does not.

func (*OptItemCategory) Reset

func (o *OptItemCategory) Reset()

Reset unsets value.

func (*OptItemCategory) SetTo

func (o *OptItemCategory) SetTo(v ItemCategory)

SetTo sets value to v.

func (*OptItemCategory) UnmarshalJSON

func (s *OptItemCategory) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptItemFlags

type OptItemFlags struct {
	Value ItemFlags
	Set   bool
}

OptItemFlags is optional ItemFlags.

func NewOptItemFlags

func NewOptItemFlags(v ItemFlags) OptItemFlags

NewOptItemFlags returns new OptItemFlags with value set to v.

func (*OptItemFlags) Decode

func (o *OptItemFlags) Decode(d *jx.Decoder) error

Decode decodes ItemFlags from json.

func (OptItemFlags) Encode

func (o OptItemFlags) Encode(e *jx.Encoder)

Encode encodes ItemFlags as json.

func (OptItemFlags) Get

func (o OptItemFlags) Get() (v ItemFlags, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptItemFlags) IsSet

func (o OptItemFlags) IsSet() bool

IsSet returns true if OptItemFlags was set.

func (OptItemFlags) MarshalJSON

func (s OptItemFlags) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptItemFlags) Or

Or returns value if set, or given parameter if does not.

func (*OptItemFlags) Reset

func (o *OptItemFlags) Reset()

Reset unsets value.

func (*OptItemFlags) SetTo

func (o *OptItemFlags) SetTo(v ItemFlags)

SetTo sets value to v.

func (*OptItemFlags) UnmarshalJSON

func (s *OptItemFlags) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptKatUpgradeCost

type OptKatUpgradeCost struct {
	Value KatUpgradeCost
	Set   bool
}

OptKatUpgradeCost is optional KatUpgradeCost.

func NewOptKatUpgradeCost

func NewOptKatUpgradeCost(v KatUpgradeCost) OptKatUpgradeCost

NewOptKatUpgradeCost returns new OptKatUpgradeCost with value set to v.

func (*OptKatUpgradeCost) Decode

func (o *OptKatUpgradeCost) Decode(d *jx.Decoder) error

Decode decodes KatUpgradeCost from json.

func (OptKatUpgradeCost) Encode

func (o OptKatUpgradeCost) Encode(e *jx.Encoder)

Encode encodes KatUpgradeCost as json.

func (OptKatUpgradeCost) Get

func (o OptKatUpgradeCost) Get() (v KatUpgradeCost, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptKatUpgradeCost) IsSet

func (o OptKatUpgradeCost) IsSet() bool

IsSet returns true if OptKatUpgradeCost was set.

func (OptKatUpgradeCost) MarshalJSON

func (s OptKatUpgradeCost) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptKatUpgradeCost) Or

Or returns value if set, or given parameter if does not.

func (*OptKatUpgradeCost) Reset

func (o *OptKatUpgradeCost) Reset()

Reset unsets value.

func (*OptKatUpgradeCost) SetTo

func (o *OptKatUpgradeCost) SetTo(v KatUpgradeCost)

SetTo sets value to v.

func (*OptKatUpgradeCost) UnmarshalJSON

func (s *OptKatUpgradeCost) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptListEntryFilter

type OptListEntryFilter struct {
	Value *ListEntryFilter
	Set   bool
}

OptListEntryFilter is optional *ListEntryFilter.

func NewOptListEntryFilter

func NewOptListEntryFilter(v *ListEntryFilter) OptListEntryFilter

NewOptListEntryFilter returns new OptListEntryFilter with value set to v.

func (*OptListEntryFilter) Decode

func (o *OptListEntryFilter) Decode(d *jx.Decoder) error

Decode decodes *ListEntryFilter from json.

func (OptListEntryFilter) Encode

func (o OptListEntryFilter) Encode(e *jx.Encoder)

Encode encodes *ListEntryFilter as json.

func (OptListEntryFilter) Get

func (o OptListEntryFilter) Get() (v *ListEntryFilter, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptListEntryFilter) IsSet

func (o OptListEntryFilter) IsSet() bool

IsSet returns true if OptListEntryFilter was set.

func (OptListEntryFilter) MarshalJSON

func (s OptListEntryFilter) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptListEntryFilter) Or

Or returns value if set, or given parameter if does not.

func (*OptListEntryFilter) Reset

func (o *OptListEntryFilter) Reset()

Reset unsets value.

func (*OptListEntryFilter) SetTo

func (o *OptListEntryFilter) SetTo(v *ListEntryFilter)

SetTo sets value to v.

func (*OptListEntryFilter) UnmarshalJSON

func (s *OptListEntryFilter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptModSettings

type OptModSettings struct {
	Value ModSettings
	Set   bool
}

OptModSettings is optional ModSettings.

func NewOptModSettings

func NewOptModSettings(v ModSettings) OptModSettings

NewOptModSettings returns new OptModSettings with value set to v.

func (*OptModSettings) Decode

func (o *OptModSettings) Decode(d *jx.Decoder) error

Decode decodes ModSettings from json.

func (OptModSettings) Encode

func (o OptModSettings) Encode(e *jx.Encoder)

Encode encodes ModSettings as json.

func (OptModSettings) Get

func (o OptModSettings) Get() (v ModSettings, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptModSettings) IsSet

func (o OptModSettings) IsSet() bool

IsSet returns true if OptModSettings was set.

func (OptModSettings) MarshalJSON

func (s OptModSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptModSettings) Or

Or returns value if set, or given parameter if does not.

func (*OptModSettings) Reset

func (o *OptModSettings) Reset()

Reset unsets value.

func (*OptModSettings) SetTo

func (o *OptModSettings) SetTo(v ModSettings)

SetTo sets value to v.

func (*OptModSettings) UnmarshalJSON

func (s *OptModSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptModType

type OptModType struct {
	Value ModType
	Set   bool
}

OptModType is optional ModType.

func NewOptModType

func NewOptModType(v ModType) OptModType

NewOptModType returns new OptModType with value set to v.

func (*OptModType) Decode

func (o *OptModType) Decode(d *jx.Decoder) error

Decode decodes ModType from json.

func (OptModType) Encode

func (o OptModType) Encode(e *jx.Encoder)

Encode encodes ModType as json.

func (OptModType) Get

func (o OptModType) Get() (v ModType, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptModType) IsSet

func (o OptModType) IsSet() bool

IsSet returns true if OptModType was set.

func (OptModType) MarshalJSON

func (s OptModType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptModType) Or

func (o OptModType) Or(d ModType) ModType

Or returns value if set, or given parameter if does not.

func (*OptModType) Reset

func (o *OptModType) Reset()

Reset unsets value.

func (*OptModType) SetTo

func (o *OptModType) SetTo(v ModType)

SetTo sets value to v.

func (*OptModType) UnmarshalJSON

func (s *OptModType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptModelCandidate

type OptModelCandidate struct {
	Value ModelCandidate
	Set   bool
}

OptModelCandidate is optional ModelCandidate.

func NewOptModelCandidate

func NewOptModelCandidate(v ModelCandidate) OptModelCandidate

NewOptModelCandidate returns new OptModelCandidate with value set to v.

func (*OptModelCandidate) Decode

func (o *OptModelCandidate) Decode(d *jx.Decoder) error

Decode decodes ModelCandidate from json.

func (OptModelCandidate) Encode

func (o OptModelCandidate) Encode(e *jx.Encoder)

Encode encodes ModelCandidate as json.

func (OptModelCandidate) Get

func (o OptModelCandidate) Get() (v ModelCandidate, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptModelCandidate) IsSet

func (o OptModelCandidate) IsSet() bool

IsSet returns true if OptModelCandidate was set.

func (OptModelCandidate) MarshalJSON

func (s OptModelCandidate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptModelCandidate) Or

Or returns value if set, or given parameter if does not.

func (*OptModelCandidate) Reset

func (o *OptModelCandidate) Reset()

Reset unsets value.

func (*OptModelCandidate) SetTo

func (o *OptModelCandidate) SetTo(v ModelCandidate)

SetTo sets value to v.

func (*OptModelCandidate) UnmarshalJSON

func (s *OptModelCandidate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNbtData

type OptNbtData struct {
	Value NbtData
	Set   bool
}

OptNbtData is optional NbtData.

func NewOptNbtData

func NewOptNbtData(v NbtData) OptNbtData

NewOptNbtData returns new OptNbtData with value set to v.

func (*OptNbtData) Decode

func (o *OptNbtData) Decode(d *jx.Decoder) error

Decode decodes NbtData from json.

func (OptNbtData) Encode

func (o OptNbtData) Encode(e *jx.Encoder)

Encode encodes NbtData as json.

func (OptNbtData) Get

func (o OptNbtData) Get() (v NbtData, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNbtData) IsSet

func (o OptNbtData) IsSet() bool

IsSet returns true if OptNbtData was set.

func (OptNbtData) MarshalJSON

func (s OptNbtData) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNbtData) Or

func (o OptNbtData) Or(d NbtData) NbtData

Or returns value if set, or given parameter if does not.

func (*OptNbtData) Reset

func (o *OptNbtData) Reset()

Reset unsets value.

func (*OptNbtData) SetTo

func (o *OptNbtData) SetTo(v NbtData)

SetTo sets value to v.

func (*OptNbtData) UnmarshalJSON

func (s *OptNbtData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNbtDataData

type OptNbtDataData struct {
	Value *NbtDataData
	Set   bool
}

OptNbtDataData is optional *NbtDataData.

func NewOptNbtDataData

func NewOptNbtDataData(v *NbtDataData) OptNbtDataData

NewOptNbtDataData returns new OptNbtDataData with value set to v.

func (*OptNbtDataData) Decode

func (o *OptNbtDataData) Decode(d *jx.Decoder) error

Decode decodes *NbtDataData from json.

func (OptNbtDataData) Encode

func (o OptNbtDataData) Encode(e *jx.Encoder)

Encode encodes *NbtDataData as json.

func (OptNbtDataData) Get

func (o OptNbtDataData) Get() (v *NbtDataData, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNbtDataData) IsSet

func (o OptNbtDataData) IsSet() bool

IsSet returns true if OptNbtDataData was set.

func (OptNbtDataData) MarshalJSON

func (s OptNbtDataData) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNbtDataData) Or

Or returns value if set, or given parameter if does not.

func (*OptNbtDataData) Reset

func (o *OptNbtDataData) Reset()

Reset unsets value.

func (*OptNbtDataData) SetTo

func (o *OptNbtDataData) SetTo(v *NbtDataData)

SetTo sets value to v.

func (*OptNbtDataData) UnmarshalJSON

func (s *OptNbtDataData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilBuyOrderArray

type OptNilBuyOrderArray struct {
	Value []BuyOrder
	Set   bool
	Null  bool
}

OptNilBuyOrderArray is optional nullable []BuyOrder.

func NewOptNilBuyOrderArray

func NewOptNilBuyOrderArray(v []BuyOrder) OptNilBuyOrderArray

NewOptNilBuyOrderArray returns new OptNilBuyOrderArray with value set to v.

func (*OptNilBuyOrderArray) Decode

func (o *OptNilBuyOrderArray) Decode(d *jx.Decoder) error

Decode decodes []BuyOrder from json.

func (OptNilBuyOrderArray) Encode

func (o OptNilBuyOrderArray) Encode(e *jx.Encoder)

Encode encodes []BuyOrder as json.

func (OptNilBuyOrderArray) Get

func (o OptNilBuyOrderArray) Get() (v []BuyOrder, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilBuyOrderArray) IsNull

func (o OptNilBuyOrderArray) IsNull() bool

IsSet returns true if value is Null.

func (OptNilBuyOrderArray) IsSet

func (o OptNilBuyOrderArray) IsSet() bool

IsSet returns true if OptNilBuyOrderArray was set.

func (OptNilBuyOrderArray) MarshalJSON

func (s OptNilBuyOrderArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilBuyOrderArray) Or

Or returns value if set, or given parameter if does not.

func (*OptNilBuyOrderArray) Reset

func (o *OptNilBuyOrderArray) Reset()

Reset unsets value.

func (*OptNilBuyOrderArray) SetTo

func (o *OptNilBuyOrderArray) SetTo(v []BuyOrder)

SetTo sets value to v.

func (*OptNilBuyOrderArray) SetToNull

func (o *OptNilBuyOrderArray) SetToNull()

SetNull sets value to null.

func (*OptNilBuyOrderArray) UnmarshalJSON

func (s *OptNilBuyOrderArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilColorEnchantArray

type OptNilColorEnchantArray struct {
	Value []ColorEnchant
	Set   bool
	Null  bool
}

OptNilColorEnchantArray is optional nullable []ColorEnchant.

func NewOptNilColorEnchantArray

func NewOptNilColorEnchantArray(v []ColorEnchant) OptNilColorEnchantArray

NewOptNilColorEnchantArray returns new OptNilColorEnchantArray with value set to v.

func (*OptNilColorEnchantArray) Decode

func (o *OptNilColorEnchantArray) Decode(d *jx.Decoder) error

Decode decodes []ColorEnchant from json.

func (OptNilColorEnchantArray) Encode

func (o OptNilColorEnchantArray) Encode(e *jx.Encoder)

Encode encodes []ColorEnchant as json.

func (OptNilColorEnchantArray) Get

func (o OptNilColorEnchantArray) Get() (v []ColorEnchant, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilColorEnchantArray) IsNull

func (o OptNilColorEnchantArray) IsNull() bool

IsSet returns true if value is Null.

func (OptNilColorEnchantArray) IsSet

func (o OptNilColorEnchantArray) IsSet() bool

IsSet returns true if OptNilColorEnchantArray was set.

func (OptNilColorEnchantArray) MarshalJSON

func (s OptNilColorEnchantArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilColorEnchantArray) Or

Or returns value if set, or given parameter if does not.

func (*OptNilColorEnchantArray) Reset

func (o *OptNilColorEnchantArray) Reset()

Reset unsets value.

func (*OptNilColorEnchantArray) SetTo

func (o *OptNilColorEnchantArray) SetTo(v []ColorEnchant)

SetTo sets value to v.

func (*OptNilColorEnchantArray) SetToNull

func (o *OptNilColorEnchantArray) SetToNull()

SetNull sets value to null.

func (*OptNilColorEnchantArray) UnmarshalJSON

func (s *OptNilColorEnchantArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilColorSaveAuctionFlatNbt

type OptNilColorSaveAuctionFlatNbt struct {
	Value ColorSaveAuctionFlatNbt
	Set   bool
	Null  bool
}

OptNilColorSaveAuctionFlatNbt is optional nullable ColorSaveAuctionFlatNbt.

func NewOptNilColorSaveAuctionFlatNbt

func NewOptNilColorSaveAuctionFlatNbt(v ColorSaveAuctionFlatNbt) OptNilColorSaveAuctionFlatNbt

NewOptNilColorSaveAuctionFlatNbt returns new OptNilColorSaveAuctionFlatNbt with value set to v.

func (*OptNilColorSaveAuctionFlatNbt) Decode

Decode decodes ColorSaveAuctionFlatNbt from json.

func (OptNilColorSaveAuctionFlatNbt) Encode

Encode encodes ColorSaveAuctionFlatNbt as json.

func (OptNilColorSaveAuctionFlatNbt) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilColorSaveAuctionFlatNbt) IsNull

IsSet returns true if value is Null.

func (OptNilColorSaveAuctionFlatNbt) IsSet

IsSet returns true if OptNilColorSaveAuctionFlatNbt was set.

func (OptNilColorSaveAuctionFlatNbt) MarshalJSON

func (s OptNilColorSaveAuctionFlatNbt) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilColorSaveAuctionFlatNbt) Or

Or returns value if set, or given parameter if does not.

func (*OptNilColorSaveAuctionFlatNbt) Reset

func (o *OptNilColorSaveAuctionFlatNbt) Reset()

Reset unsets value.

func (*OptNilColorSaveAuctionFlatNbt) SetTo

SetTo sets value to v.

func (*OptNilColorSaveAuctionFlatNbt) SetToNull

func (o *OptNilColorSaveAuctionFlatNbt) SetToNull()

SetNull sets value to null.

func (*OptNilColorSaveAuctionFlatNbt) UnmarshalJSON

func (s *OptNilColorSaveAuctionFlatNbt) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilDescriptionFieldArrayArray

type OptNilDescriptionFieldArrayArray struct {
	Value [][]DescriptionField
	Set   bool
	Null  bool
}

OptNilDescriptionFieldArrayArray is optional nullable [][]DescriptionField.

func NewOptNilDescriptionFieldArrayArray

func NewOptNilDescriptionFieldArrayArray(v [][]DescriptionField) OptNilDescriptionFieldArrayArray

NewOptNilDescriptionFieldArrayArray returns new OptNilDescriptionFieldArrayArray with value set to v.

func (*OptNilDescriptionFieldArrayArray) Decode

Decode decodes [][]DescriptionField from json.

func (OptNilDescriptionFieldArrayArray) Encode

Encode encodes [][]DescriptionField as json.

func (OptNilDescriptionFieldArrayArray) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilDescriptionFieldArrayArray) IsNull

IsSet returns true if value is Null.

func (OptNilDescriptionFieldArrayArray) IsSet

IsSet returns true if OptNilDescriptionFieldArrayArray was set.

func (OptNilDescriptionFieldArrayArray) MarshalJSON

func (s OptNilDescriptionFieldArrayArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilDescriptionFieldArrayArray) Or

Or returns value if set, or given parameter if does not.

func (*OptNilDescriptionFieldArrayArray) Reset

Reset unsets value.

func (*OptNilDescriptionFieldArrayArray) SetTo

SetTo sets value to v.

func (*OptNilDescriptionFieldArrayArray) SetToNull

func (o *OptNilDescriptionFieldArrayArray) SetToNull()

SetNull sets value to null.

func (*OptNilDescriptionFieldArrayArray) UnmarshalJSON

func (s *OptNilDescriptionFieldArrayArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilEnchantmentArray

type OptNilEnchantmentArray struct {
	Value []Enchantment
	Set   bool
	Null  bool
}

OptNilEnchantmentArray is optional nullable []Enchantment.

func NewOptNilEnchantmentArray

func NewOptNilEnchantmentArray(v []Enchantment) OptNilEnchantmentArray

NewOptNilEnchantmentArray returns new OptNilEnchantmentArray with value set to v.

func (*OptNilEnchantmentArray) Decode

func (o *OptNilEnchantmentArray) Decode(d *jx.Decoder) error

Decode decodes []Enchantment from json.

func (OptNilEnchantmentArray) Encode

func (o OptNilEnchantmentArray) Encode(e *jx.Encoder)

Encode encodes []Enchantment as json.

func (OptNilEnchantmentArray) Get

func (o OptNilEnchantmentArray) Get() (v []Enchantment, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilEnchantmentArray) IsNull

func (o OptNilEnchantmentArray) IsNull() bool

IsSet returns true if value is Null.

func (OptNilEnchantmentArray) IsSet

func (o OptNilEnchantmentArray) IsSet() bool

IsSet returns true if OptNilEnchantmentArray was set.

func (OptNilEnchantmentArray) MarshalJSON

func (s OptNilEnchantmentArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilEnchantmentArray) Or

Or returns value if set, or given parameter if does not.

func (*OptNilEnchantmentArray) Reset

func (o *OptNilEnchantmentArray) Reset()

Reset unsets value.

func (*OptNilEnchantmentArray) SetTo

func (o *OptNilEnchantmentArray) SetTo(v []Enchantment)

SetTo sets value to v.

func (*OptNilEnchantmentArray) SetToNull

func (o *OptNilEnchantmentArray) SetToNull()

SetNull sets value to null.

func (*OptNilEnchantmentArray) UnmarshalJSON

func (s *OptNilEnchantmentArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilFlipDetailsArray

type OptNilFlipDetailsArray struct {
	Value []FlipDetails
	Set   bool
	Null  bool
}

OptNilFlipDetailsArray is optional nullable []FlipDetails.

func NewOptNilFlipDetailsArray

func NewOptNilFlipDetailsArray(v []FlipDetails) OptNilFlipDetailsArray

NewOptNilFlipDetailsArray returns new OptNilFlipDetailsArray with value set to v.

func (*OptNilFlipDetailsArray) Decode

func (o *OptNilFlipDetailsArray) Decode(d *jx.Decoder) error

Decode decodes []FlipDetails from json.

func (OptNilFlipDetailsArray) Encode

func (o OptNilFlipDetailsArray) Encode(e *jx.Encoder)

Encode encodes []FlipDetails as json.

func (OptNilFlipDetailsArray) Get

func (o OptNilFlipDetailsArray) Get() (v []FlipDetails, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilFlipDetailsArray) IsNull

func (o OptNilFlipDetailsArray) IsNull() bool

IsSet returns true if value is Null.

func (OptNilFlipDetailsArray) IsSet

func (o OptNilFlipDetailsArray) IsSet() bool

IsSet returns true if OptNilFlipDetailsArray was set.

func (OptNilFlipDetailsArray) MarshalJSON

func (s OptNilFlipDetailsArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilFlipDetailsArray) Or

Or returns value if set, or given parameter if does not.

func (*OptNilFlipDetailsArray) Reset

func (o *OptNilFlipDetailsArray) Reset()

Reset unsets value.

func (*OptNilFlipDetailsArray) SetTo

func (o *OptNilFlipDetailsArray) SetTo(v []FlipDetails)

SetTo sets value to v.

func (*OptNilFlipDetailsArray) SetToNull

func (o *OptNilFlipDetailsArray) SetToNull()

SetNull sets value to null.

func (*OptNilFlipDetailsArray) UnmarshalJSON

func (s *OptNilFlipDetailsArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilIngredientArray

type OptNilIngredientArray struct {
	Value []Ingredient
	Set   bool
	Null  bool
}

OptNilIngredientArray is optional nullable []Ingredient.

func NewOptNilIngredientArray

func NewOptNilIngredientArray(v []Ingredient) OptNilIngredientArray

NewOptNilIngredientArray returns new OptNilIngredientArray with value set to v.

func (*OptNilIngredientArray) Decode

func (o *OptNilIngredientArray) Decode(d *jx.Decoder) error

Decode decodes []Ingredient from json.

func (OptNilIngredientArray) Encode

func (o OptNilIngredientArray) Encode(e *jx.Encoder)

Encode encodes []Ingredient as json.

func (OptNilIngredientArray) Get

func (o OptNilIngredientArray) Get() (v []Ingredient, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilIngredientArray) IsNull

func (o OptNilIngredientArray) IsNull() bool

IsSet returns true if value is Null.

func (OptNilIngredientArray) IsSet

func (o OptNilIngredientArray) IsSet() bool

IsSet returns true if OptNilIngredientArray was set.

func (OptNilIngredientArray) MarshalJSON

func (s OptNilIngredientArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilIngredientArray) Or

Or returns value if set, or given parameter if does not.

func (*OptNilIngredientArray) Reset

func (o *OptNilIngredientArray) Reset()

Reset unsets value.

func (*OptNilIngredientArray) SetTo

func (o *OptNilIngredientArray) SetTo(v []Ingredient)

SetTo sets value to v.

func (*OptNilIngredientArray) SetToNull

func (o *OptNilIngredientArray) SetToNull()

SetNull sets value to null.

func (*OptNilIngredientArray) UnmarshalJSON

func (s *OptNilIngredientArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilListEntryArray

type OptNilListEntryArray struct {
	Value []ListEntry
	Set   bool
	Null  bool
}

OptNilListEntryArray is optional nullable []ListEntry.

func NewOptNilListEntryArray

func NewOptNilListEntryArray(v []ListEntry) OptNilListEntryArray

NewOptNilListEntryArray returns new OptNilListEntryArray with value set to v.

func (*OptNilListEntryArray) Decode

func (o *OptNilListEntryArray) Decode(d *jx.Decoder) error

Decode decodes []ListEntry from json.

func (OptNilListEntryArray) Encode

func (o OptNilListEntryArray) Encode(e *jx.Encoder)

Encode encodes []ListEntry as json.

func (OptNilListEntryArray) Get

func (o OptNilListEntryArray) Get() (v []ListEntry, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilListEntryArray) IsNull

func (o OptNilListEntryArray) IsNull() bool

IsSet returns true if value is Null.

func (OptNilListEntryArray) IsSet

func (o OptNilListEntryArray) IsSet() bool

IsSet returns true if OptNilListEntryArray was set.

func (OptNilListEntryArray) MarshalJSON

func (s OptNilListEntryArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilListEntryArray) Or

Or returns value if set, or given parameter if does not.

func (*OptNilListEntryArray) Reset

func (o *OptNilListEntryArray) Reset()

Reset unsets value.

func (*OptNilListEntryArray) SetTo

func (o *OptNilListEntryArray) SetTo(v []ListEntry)

SetTo sets value to v.

func (*OptNilListEntryArray) SetToNull

func (o *OptNilListEntryArray) SetToNull()

SetNull sets value to null.

func (*OptNilListEntryArray) UnmarshalJSON

func (s *OptNilListEntryArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilModelCandidateArray

type OptNilModelCandidateArray struct {
	Value []ModelCandidate
	Set   bool
	Null  bool
}

OptNilModelCandidateArray is optional nullable []ModelCandidate.

func NewOptNilModelCandidateArray

func NewOptNilModelCandidateArray(v []ModelCandidate) OptNilModelCandidateArray

NewOptNilModelCandidateArray returns new OptNilModelCandidateArray with value set to v.

func (*OptNilModelCandidateArray) Decode

func (o *OptNilModelCandidateArray) Decode(d *jx.Decoder) error

Decode decodes []ModelCandidate from json.

func (OptNilModelCandidateArray) Encode

func (o OptNilModelCandidateArray) Encode(e *jx.Encoder)

Encode encodes []ModelCandidate as json.

func (OptNilModelCandidateArray) Get

func (o OptNilModelCandidateArray) Get() (v []ModelCandidate, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilModelCandidateArray) IsNull

func (o OptNilModelCandidateArray) IsNull() bool

IsSet returns true if value is Null.

func (OptNilModelCandidateArray) IsSet

func (o OptNilModelCandidateArray) IsSet() bool

IsSet returns true if OptNilModelCandidateArray was set.

func (OptNilModelCandidateArray) MarshalJSON

func (s OptNilModelCandidateArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilModelCandidateArray) Or

Or returns value if set, or given parameter if does not.

func (*OptNilModelCandidateArray) Reset

func (o *OptNilModelCandidateArray) Reset()

Reset unsets value.

func (*OptNilModelCandidateArray) SetTo

SetTo sets value to v.

func (*OptNilModelCandidateArray) SetToNull

func (o *OptNilModelCandidateArray) SetToNull()

SetNull sets value to null.

func (*OptNilModelCandidateArray) UnmarshalJSON

func (s *OptNilModelCandidateArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilModelPerkArray

type OptNilModelPerkArray struct {
	Value []ModelPerk
	Set   bool
	Null  bool
}

OptNilModelPerkArray is optional nullable []ModelPerk.

func NewOptNilModelPerkArray

func NewOptNilModelPerkArray(v []ModelPerk) OptNilModelPerkArray

NewOptNilModelPerkArray returns new OptNilModelPerkArray with value set to v.

func (*OptNilModelPerkArray) Decode

func (o *OptNilModelPerkArray) Decode(d *jx.Decoder) error

Decode decodes []ModelPerk from json.

func (OptNilModelPerkArray) Encode

func (o OptNilModelPerkArray) Encode(e *jx.Encoder)

Encode encodes []ModelPerk as json.

func (OptNilModelPerkArray) Get

func (o OptNilModelPerkArray) Get() (v []ModelPerk, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilModelPerkArray) IsNull

func (o OptNilModelPerkArray) IsNull() bool

IsSet returns true if value is Null.

func (OptNilModelPerkArray) IsSet

func (o OptNilModelPerkArray) IsSet() bool

IsSet returns true if OptNilModelPerkArray was set.

func (OptNilModelPerkArray) MarshalJSON

func (s OptNilModelPerkArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilModelPerkArray) Or

Or returns value if set, or given parameter if does not.

func (*OptNilModelPerkArray) Reset

func (o *OptNilModelPerkArray) Reset()

Reset unsets value.

func (*OptNilModelPerkArray) SetTo

func (o *OptNilModelPerkArray) SetTo(v []ModelPerk)

SetTo sets value to v.

func (*OptNilModelPerkArray) SetToNull

func (o *OptNilModelPerkArray) SetToNull()

SetNull sets value to null.

func (*OptNilModelPerkArray) UnmarshalJSON

func (s *OptNilModelPerkArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilPropertyChangeArray

type OptNilPropertyChangeArray struct {
	Value []PropertyChange
	Set   bool
	Null  bool
}

OptNilPropertyChangeArray is optional nullable []PropertyChange.

func NewOptNilPropertyChangeArray

func NewOptNilPropertyChangeArray(v []PropertyChange) OptNilPropertyChangeArray

NewOptNilPropertyChangeArray returns new OptNilPropertyChangeArray with value set to v.

func (*OptNilPropertyChangeArray) Decode

func (o *OptNilPropertyChangeArray) Decode(d *jx.Decoder) error

Decode decodes []PropertyChange from json.

func (OptNilPropertyChangeArray) Encode

func (o OptNilPropertyChangeArray) Encode(e *jx.Encoder)

Encode encodes []PropertyChange as json.

func (OptNilPropertyChangeArray) Get

func (o OptNilPropertyChangeArray) Get() (v []PropertyChange, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilPropertyChangeArray) IsNull

func (o OptNilPropertyChangeArray) IsNull() bool

IsSet returns true if value is Null.

func (OptNilPropertyChangeArray) IsSet

func (o OptNilPropertyChangeArray) IsSet() bool

IsSet returns true if OptNilPropertyChangeArray was set.

func (OptNilPropertyChangeArray) MarshalJSON

func (s OptNilPropertyChangeArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilPropertyChangeArray) Or

Or returns value if set, or given parameter if does not.

func (*OptNilPropertyChangeArray) Reset

func (o *OptNilPropertyChangeArray) Reset()

Reset unsets value.

func (*OptNilPropertyChangeArray) SetTo

SetTo sets value to v.

func (*OptNilPropertyChangeArray) SetToNull

func (o *OptNilPropertyChangeArray) SetToNull()

SetNull sets value to null.

func (*OptNilPropertyChangeArray) UnmarshalJSON

func (s *OptNilPropertyChangeArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilSaveBidsArray

type OptNilSaveBidsArray struct {
	Value []SaveBids
	Set   bool
	Null  bool
}

OptNilSaveBidsArray is optional nullable []SaveBids.

func NewOptNilSaveBidsArray

func NewOptNilSaveBidsArray(v []SaveBids) OptNilSaveBidsArray

NewOptNilSaveBidsArray returns new OptNilSaveBidsArray with value set to v.

func (*OptNilSaveBidsArray) Decode

func (o *OptNilSaveBidsArray) Decode(d *jx.Decoder) error

Decode decodes []SaveBids from json.

func (OptNilSaveBidsArray) Encode

func (o OptNilSaveBidsArray) Encode(e *jx.Encoder)

Encode encodes []SaveBids as json.

func (OptNilSaveBidsArray) Get

func (o OptNilSaveBidsArray) Get() (v []SaveBids, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilSaveBidsArray) IsNull

func (o OptNilSaveBidsArray) IsNull() bool

IsSet returns true if value is Null.

func (OptNilSaveBidsArray) IsSet

func (o OptNilSaveBidsArray) IsSet() bool

IsSet returns true if OptNilSaveBidsArray was set.

func (OptNilSaveBidsArray) MarshalJSON

func (s OptNilSaveBidsArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilSaveBidsArray) Or

Or returns value if set, or given parameter if does not.

func (*OptNilSaveBidsArray) Reset

func (o *OptNilSaveBidsArray) Reset()

Reset unsets value.

func (*OptNilSaveBidsArray) SetTo

func (o *OptNilSaveBidsArray) SetTo(v []SaveBids)

SetTo sets value to v.

func (*OptNilSaveBidsArray) SetToNull

func (o *OptNilSaveBidsArray) SetToNull()

SetNull sets value to null.

func (*OptNilSaveBidsArray) UnmarshalJSON

func (s *OptNilSaveBidsArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilSellOrderArray

type OptNilSellOrderArray struct {
	Value []SellOrder
	Set   bool
	Null  bool
}

OptNilSellOrderArray is optional nullable []SellOrder.

func NewOptNilSellOrderArray

func NewOptNilSellOrderArray(v []SellOrder) OptNilSellOrderArray

NewOptNilSellOrderArray returns new OptNilSellOrderArray with value set to v.

func (*OptNilSellOrderArray) Decode

func (o *OptNilSellOrderArray) Decode(d *jx.Decoder) error

Decode decodes []SellOrder from json.

func (OptNilSellOrderArray) Encode

func (o OptNilSellOrderArray) Encode(e *jx.Encoder)

Encode encodes []SellOrder as json.

func (OptNilSellOrderArray) Get

func (o OptNilSellOrderArray) Get() (v []SellOrder, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilSellOrderArray) IsNull

func (o OptNilSellOrderArray) IsNull() bool

IsSet returns true if value is Null.

func (OptNilSellOrderArray) IsSet

func (o OptNilSellOrderArray) IsSet() bool

IsSet returns true if OptNilSellOrderArray was set.

func (OptNilSellOrderArray) MarshalJSON

func (s OptNilSellOrderArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilSellOrderArray) Or

Or returns value if set, or given parameter if does not.

func (*OptNilSellOrderArray) Reset

func (o *OptNilSellOrderArray) Reset()

Reset unsets value.

func (*OptNilSellOrderArray) SetTo

func (o *OptNilSellOrderArray) SetTo(v []SellOrder)

SetTo sets value to v.

func (*OptNilSellOrderArray) SetToNull

func (o *OptNilSellOrderArray) SetToNull()

SetNull sets value to null.

func (*OptNilSellOrderArray) UnmarshalJSON

func (s *OptNilSellOrderArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilString

type OptNilString struct {
	Value string
	Set   bool
	Null  bool
}

OptNilString is optional nullable string.

func NewOptNilString

func NewOptNilString(v string) OptNilString

NewOptNilString returns new OptNilString with value set to v.

func (*OptNilString) Decode

func (o *OptNilString) Decode(d *jx.Decoder) error

Decode decodes string from json.

func (OptNilString) Encode

func (o OptNilString) Encode(e *jx.Encoder)

Encode encodes string as json.

func (OptNilString) Get

func (o OptNilString) Get() (v string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilString) IsNull

func (o OptNilString) IsNull() bool

IsSet returns true if value is Null.

func (OptNilString) IsSet

func (o OptNilString) IsSet() bool

IsSet returns true if OptNilString was set.

func (OptNilString) MarshalJSON

func (s OptNilString) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilString) Or

func (o OptNilString) Or(d string) string

Or returns value if set, or given parameter if does not.

func (*OptNilString) Reset

func (o *OptNilString) Reset()

Reset unsets value.

func (*OptNilString) SetTo

func (o *OptNilString) SetTo(v string)

SetTo sets value to v.

func (*OptNilString) SetToNull

func (o *OptNilString) SetToNull()

SetNull sets value to null.

func (*OptNilString) UnmarshalJSON

func (s *OptNilString) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilStringArray

type OptNilStringArray struct {
	Value []string
	Set   bool
	Null  bool
}

OptNilStringArray is optional nullable []string.

func NewOptNilStringArray

func NewOptNilStringArray(v []string) OptNilStringArray

NewOptNilStringArray returns new OptNilStringArray with value set to v.

func (*OptNilStringArray) Decode

func (o *OptNilStringArray) Decode(d *jx.Decoder) error

Decode decodes []string from json.

func (OptNilStringArray) Encode

func (o OptNilStringArray) Encode(e *jx.Encoder)

Encode encodes []string as json.

func (OptNilStringArray) Get

func (o OptNilStringArray) Get() (v []string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilStringArray) IsNull

func (o OptNilStringArray) IsNull() bool

IsSet returns true if value is Null.

func (OptNilStringArray) IsSet

func (o OptNilStringArray) IsSet() bool

IsSet returns true if OptNilStringArray was set.

func (OptNilStringArray) MarshalJSON

func (s OptNilStringArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilStringArray) Or

func (o OptNilStringArray) Or(d []string) []string

Or returns value if set, or given parameter if does not.

func (*OptNilStringArray) Reset

func (o *OptNilStringArray) Reset()

Reset unsets value.

func (*OptNilStringArray) SetTo

func (o *OptNilStringArray) SetTo(v []string)

SetTo sets value to v.

func (*OptNilStringArray) SetToNull

func (o *OptNilStringArray) SetToNull()

SetNull sets value to null.

func (*OptNilStringArray) UnmarshalJSON

func (s *OptNilStringArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilUUIDArray

type OptNilUUIDArray struct {
	Value []UUID
	Set   bool
	Null  bool
}

OptNilUUIDArray is optional nullable []UUID.

func NewOptNilUUIDArray

func NewOptNilUUIDArray(v []UUID) OptNilUUIDArray

NewOptNilUUIDArray returns new OptNilUUIDArray with value set to v.

func (*OptNilUUIDArray) Decode

func (o *OptNilUUIDArray) Decode(d *jx.Decoder) error

Decode decodes []UUID from json.

func (OptNilUUIDArray) Encode

func (o OptNilUUIDArray) Encode(e *jx.Encoder)

Encode encodes []UUID as json.

func (OptNilUUIDArray) Get

func (o OptNilUUIDArray) Get() (v []UUID, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilUUIDArray) IsNull

func (o OptNilUUIDArray) IsNull() bool

IsSet returns true if value is Null.

func (OptNilUUIDArray) IsSet

func (o OptNilUUIDArray) IsSet() bool

IsSet returns true if OptNilUUIDArray was set.

func (OptNilUUIDArray) MarshalJSON

func (s OptNilUUIDArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilUUIDArray) Or

func (o OptNilUUIDArray) Or(d []UUID) []UUID

Or returns value if set, or given parameter if does not.

func (*OptNilUUIDArray) Reset

func (o *OptNilUUIDArray) Reset()

Reset unsets value.

func (*OptNilUUIDArray) SetTo

func (o *OptNilUUIDArray) SetTo(v []UUID)

SetTo sets value to v.

func (*OptNilUUIDArray) SetToNull

func (o *OptNilUUIDArray) SetToNull()

SetNull sets value to null.

func (*OptNilUUIDArray) UnmarshalJSON

func (s *OptNilUUIDArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptOldRefInfo

type OptOldRefInfo struct {
	Value OldRefInfo
	Set   bool
}

OptOldRefInfo is optional OldRefInfo.

func NewOptOldRefInfo

func NewOptOldRefInfo(v OldRefInfo) OptOldRefInfo

NewOptOldRefInfo returns new OptOldRefInfo with value set to v.

func (*OptOldRefInfo) Decode

func (o *OptOldRefInfo) Decode(d *jx.Decoder) error

Decode decodes OldRefInfo from json.

func (OptOldRefInfo) Encode

func (o OptOldRefInfo) Encode(e *jx.Encoder)

Encode encodes OldRefInfo as json.

func (OptOldRefInfo) Get

func (o OptOldRefInfo) Get() (v OldRefInfo, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptOldRefInfo) IsSet

func (o OptOldRefInfo) IsSet() bool

IsSet returns true if OptOldRefInfo was set.

func (OptOldRefInfo) MarshalJSON

func (s OptOldRefInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptOldRefInfo) Or

Or returns value if set, or given parameter if does not.

func (*OptOldRefInfo) Reset

func (o *OptOldRefInfo) Reset()

Reset unsets value.

func (*OptOldRefInfo) SetTo

func (o *OptOldRefInfo) SetTo(v OldRefInfo)

SetTo sets value to v.

func (*OptOldRefInfo) UnmarshalJSON

func (s *OptOldRefInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptProductType

type OptProductType struct {
	Value ProductType
	Set   bool
}

OptProductType is optional ProductType.

func NewOptProductType

func NewOptProductType(v ProductType) OptProductType

NewOptProductType returns new OptProductType with value set to v.

func (*OptProductType) Decode

func (o *OptProductType) Decode(d *jx.Decoder) error

Decode decodes ProductType from json.

func (OptProductType) Encode

func (o OptProductType) Encode(e *jx.Encoder)

Encode encodes ProductType as json.

func (OptProductType) Get

func (o OptProductType) Get() (v ProductType, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptProductType) IsSet

func (o OptProductType) IsSet() bool

IsSet returns true if OptProductType was set.

func (OptProductType) MarshalJSON

func (s OptProductType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptProductType) Or

Or returns value if set, or given parameter if does not.

func (*OptProductType) Reset

func (o *OptProductType) Reset()

Reset unsets value.

func (*OptProductType) SetTo

func (o *OptProductType) SetTo(v ProductType)

SetTo sets value to v.

func (*OptProductType) UnmarshalJSON

func (s *OptProductType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptReforge

type OptReforge struct {
	Value Reforge
	Set   bool
}

OptReforge is optional Reforge.

func NewOptReforge

func NewOptReforge(v Reforge) OptReforge

NewOptReforge returns new OptReforge with value set to v.

func (*OptReforge) Decode

func (o *OptReforge) Decode(d *jx.Decoder) error

Decode decodes Reforge from json.

func (OptReforge) Encode

func (o OptReforge) Encode(e *jx.Encoder)

Encode encodes Reforge as json.

func (OptReforge) Get

func (o OptReforge) Get() (v Reforge, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptReforge) IsSet

func (o OptReforge) IsSet() bool

IsSet returns true if OptReforge was set.

func (OptReforge) MarshalJSON

func (s OptReforge) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptReforge) Or

func (o OptReforge) Or(d Reforge) Reforge

Or returns value if set, or given parameter if does not.

func (*OptReforge) Reset

func (o *OptReforge) Reset()

Reset unsets value.

func (*OptReforge) SetTo

func (o *OptReforge) SetTo(v Reforge)

SetTo sets value to v.

func (*OptReforge) UnmarshalJSON

func (s *OptReforge) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptRequiredCollection

type OptRequiredCollection struct {
	Value RequiredCollection
	Set   bool
}

OptRequiredCollection is optional RequiredCollection.

func NewOptRequiredCollection

func NewOptRequiredCollection(v RequiredCollection) OptRequiredCollection

NewOptRequiredCollection returns new OptRequiredCollection with value set to v.

func (*OptRequiredCollection) Decode

func (o *OptRequiredCollection) Decode(d *jx.Decoder) error

Decode decodes RequiredCollection from json.

func (OptRequiredCollection) Encode

func (o OptRequiredCollection) Encode(e *jx.Encoder)

Encode encodes RequiredCollection as json.

func (OptRequiredCollection) Get

Get returns value and boolean that denotes whether value was set.

func (OptRequiredCollection) IsSet

func (o OptRequiredCollection) IsSet() bool

IsSet returns true if OptRequiredCollection was set.

func (OptRequiredCollection) MarshalJSON

func (s OptRequiredCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptRequiredCollection) Or

Or returns value if set, or given parameter if does not.

func (*OptRequiredCollection) Reset

func (o *OptRequiredCollection) Reset()

Reset unsets value.

func (*OptRequiredCollection) SetTo

SetTo sets value to v.

func (*OptRequiredCollection) UnmarshalJSON

func (s *OptRequiredCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSaveAuction

type OptSaveAuction struct {
	Value SaveAuction
	Set   bool
}

OptSaveAuction is optional SaveAuction.

func NewOptSaveAuction

func NewOptSaveAuction(v SaveAuction) OptSaveAuction

NewOptSaveAuction returns new OptSaveAuction with value set to v.

func (*OptSaveAuction) Decode

func (o *OptSaveAuction) Decode(d *jx.Decoder) error

Decode decodes SaveAuction from json.

func (OptSaveAuction) Encode

func (o OptSaveAuction) Encode(e *jx.Encoder)

Encode encodes SaveAuction as json.

func (OptSaveAuction) Get

func (o OptSaveAuction) Get() (v SaveAuction, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptSaveAuction) IsSet

func (o OptSaveAuction) IsSet() bool

IsSet returns true if OptSaveAuction was set.

func (OptSaveAuction) MarshalJSON

func (s OptSaveAuction) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSaveAuction) Or

Or returns value if set, or given parameter if does not.

func (*OptSaveAuction) Reset

func (o *OptSaveAuction) Reset()

Reset unsets value.

func (*OptSaveAuction) SetTo

func (o *OptSaveAuction) SetTo(v SaveAuction)

SetTo sets value to v.

func (*OptSaveAuction) UnmarshalJSON

func (s *OptSaveAuction) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSaveAuctionFlatNbt

type OptSaveAuctionFlatNbt struct {
	Value *SaveAuctionFlatNbt
	Set   bool
}

OptSaveAuctionFlatNbt is optional *SaveAuctionFlatNbt.

func NewOptSaveAuctionFlatNbt

func NewOptSaveAuctionFlatNbt(v *SaveAuctionFlatNbt) OptSaveAuctionFlatNbt

NewOptSaveAuctionFlatNbt returns new OptSaveAuctionFlatNbt with value set to v.

func (*OptSaveAuctionFlatNbt) Decode

func (o *OptSaveAuctionFlatNbt) Decode(d *jx.Decoder) error

Decode decodes *SaveAuctionFlatNbt from json.

func (OptSaveAuctionFlatNbt) Encode

func (o OptSaveAuctionFlatNbt) Encode(e *jx.Encoder)

Encode encodes *SaveAuctionFlatNbt as json.

func (OptSaveAuctionFlatNbt) Get

Get returns value and boolean that denotes whether value was set.

func (OptSaveAuctionFlatNbt) IsSet

func (o OptSaveAuctionFlatNbt) IsSet() bool

IsSet returns true if OptSaveAuctionFlatNbt was set.

func (OptSaveAuctionFlatNbt) MarshalJSON

func (s OptSaveAuctionFlatNbt) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSaveAuctionFlatNbt) Or

Or returns value if set, or given parameter if does not.

func (*OptSaveAuctionFlatNbt) Reset

func (o *OptSaveAuctionFlatNbt) Reset()

Reset unsets value.

func (*OptSaveAuctionFlatNbt) SetTo

SetTo sets value to v.

func (*OptSaveAuctionFlatNbt) UnmarshalJSON

func (s *OptSaveAuctionFlatNbt) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptString

type OptString struct {
	Value string
	Set   bool
}

OptString is optional string.

func NewOptString

func NewOptString(v string) OptString

NewOptString returns new OptString with value set to v.

func (*OptString) Decode

func (o *OptString) Decode(d *jx.Decoder) error

Decode decodes string from json.

func (OptString) Encode

func (o OptString) Encode(e *jx.Encoder)

Encode encodes string as json.

func (OptString) Get

func (o OptString) Get() (v string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptString) IsSet

func (o OptString) IsSet() bool

IsSet returns true if OptString was set.

func (OptString) MarshalJSON

func (s OptString) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptString) Or

func (o OptString) Or(d string) string

Or returns value if set, or given parameter if does not.

func (*OptString) Reset

func (o *OptString) Reset()

Reset unsets value.

func (*OptString) SetTo

func (o *OptString) SetTo(v string)

SetTo sets value to v.

func (*OptString) UnmarshalJSON

func (s *OptString) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTier

type OptTier struct {
	Value Tier
	Set   bool
}

OptTier is optional Tier.

func NewOptTier

func NewOptTier(v Tier) OptTier

NewOptTier returns new OptTier with value set to v.

func (*OptTier) Decode

func (o *OptTier) Decode(d *jx.Decoder) error

Decode decodes Tier from json.

func (OptTier) Encode

func (o OptTier) Encode(e *jx.Encoder)

Encode encodes Tier as json.

func (OptTier) Get

func (o OptTier) Get() (v Tier, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptTier) IsSet

func (o OptTier) IsSet() bool

IsSet returns true if OptTier was set.

func (OptTier) MarshalJSON

func (s OptTier) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptTier) Or

func (o OptTier) Or(d Tier) Tier

Or returns value if set, or given parameter if does not.

func (*OptTier) Reset

func (o *OptTier) Reset()

Reset unsets value.

func (*OptTier) SetTo

func (o *OptTier) SetTo(v Tier)

SetTo sets value to v.

func (*OptTier) UnmarshalJSON

func (s *OptTier) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptVisibilitySettings

type OptVisibilitySettings struct {
	Value VisibilitySettings
	Set   bool
}

OptVisibilitySettings is optional VisibilitySettings.

func NewOptVisibilitySettings

func NewOptVisibilitySettings(v VisibilitySettings) OptVisibilitySettings

NewOptVisibilitySettings returns new OptVisibilitySettings with value set to v.

func (*OptVisibilitySettings) Decode

func (o *OptVisibilitySettings) Decode(d *jx.Decoder) error

Decode decodes VisibilitySettings from json.

func (OptVisibilitySettings) Encode

func (o OptVisibilitySettings) Encode(e *jx.Encoder)

Encode encodes VisibilitySettings as json.

func (OptVisibilitySettings) Get

Get returns value and boolean that denotes whether value was set.

func (OptVisibilitySettings) IsSet

func (o OptVisibilitySettings) IsSet() bool

IsSet returns true if OptVisibilitySettings was set.

func (OptVisibilitySettings) MarshalJSON

func (s OptVisibilitySettings) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptVisibilitySettings) Or

Or returns value if set, or given parameter if does not.

func (*OptVisibilitySettings) Reset

func (o *OptVisibilitySettings) Reset()

Reset unsets value.

func (*OptVisibilitySettings) SetTo

SetTo sets value to v.

func (*OptVisibilitySettings) UnmarshalJSON

func (s *OptVisibilitySettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Option

type Option interface {
	ServerOption
	ClientOption
}

Option is config option.

func WithMeterProvider

func WithMeterProvider(provider metric.MeterProvider) Option

WithMeterProvider specifies a meter provider to use for creating a meter.

If none is specified, the otel.GetMeterProvider() is used.

func WithTracerProvider

func WithTracerProvider(provider trace.TracerProvider) Option

WithTracerProvider specifies a tracer provider to use for creating a tracer.

If none is specified, the global provider is used.

type PlayerResult

type PlayerResult struct {
	Name     OptNilString `json:"name"`
	UUID     OptNilString `json:"uuid"`
	HitCount OptInt32     `json:"hitCount"`
}

Ref: #/components/schemas/PlayerResult

func (*PlayerResult) Decode

func (s *PlayerResult) Decode(d *jx.Decoder) error

Decode decodes PlayerResult from json.

func (*PlayerResult) Encode

func (s *PlayerResult) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PlayerResult) GetHitCount

func (s *PlayerResult) GetHitCount() OptInt32

GetHitCount returns the value of HitCount.

func (*PlayerResult) GetName

func (s *PlayerResult) GetName() OptNilString

GetName returns the value of Name.

func (*PlayerResult) GetUUID

func (s *PlayerResult) GetUUID() OptNilString

GetUUID returns the value of UUID.

func (*PlayerResult) MarshalJSON

func (s *PlayerResult) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PlayerResult) SetHitCount

func (s *PlayerResult) SetHitCount(val OptInt32)

SetHitCount sets the value of HitCount.

func (*PlayerResult) SetName

func (s *PlayerResult) SetName(val OptNilString)

SetName sets the value of Name.

func (*PlayerResult) SetUUID

func (s *PlayerResult) SetUUID(val OptNilString)

SetUUID sets the value of UUID.

func (*PlayerResult) UnmarshalJSON

func (s *PlayerResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PriceEstimate

type PriceEstimate struct {
	// The best matching lowest bin found on ah.
	Lbin OptInt64 `json:"lbin"`
	// The best matching median sell price.
	Median OptInt64 `json:"median"`
	// Average 24 hour sell volume.
	Volume OptFloat32 `json:"volume"`
	// The link to best matching lbin.
	LbinLink OptNilString `json:"lbinLink"`
	// Suggested price for selling withing 5 minutes.
	FastSell OptInt64 `json:"fastSell"`
	// The key of the median price.
	MedianKey OptNilString `json:"medianKey"`
	// The key of the.
	ItemKey OptNilString `json:"itemKey"`
}

Ref: #/components/schemas/PriceEstimate

func (*PriceEstimate) Decode

func (s *PriceEstimate) Decode(d *jx.Decoder) error

Decode decodes PriceEstimate from json.

func (*PriceEstimate) Encode

func (s *PriceEstimate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PriceEstimate) GetFastSell

func (s *PriceEstimate) GetFastSell() OptInt64

GetFastSell returns the value of FastSell.

func (*PriceEstimate) GetItemKey

func (s *PriceEstimate) GetItemKey() OptNilString

GetItemKey returns the value of ItemKey.

func (*PriceEstimate) GetLbin

func (s *PriceEstimate) GetLbin() OptInt64

GetLbin returns the value of Lbin.

func (s *PriceEstimate) GetLbinLink() OptNilString

GetLbinLink returns the value of LbinLink.

func (*PriceEstimate) GetMedian

func (s *PriceEstimate) GetMedian() OptInt64

GetMedian returns the value of Median.

func (*PriceEstimate) GetMedianKey

func (s *PriceEstimate) GetMedianKey() OptNilString

GetMedianKey returns the value of MedianKey.

func (*PriceEstimate) GetVolume

func (s *PriceEstimate) GetVolume() OptFloat32

GetVolume returns the value of Volume.

func (*PriceEstimate) MarshalJSON

func (s *PriceEstimate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PriceEstimate) SetFastSell

func (s *PriceEstimate) SetFastSell(val OptInt64)

SetFastSell sets the value of FastSell.

func (*PriceEstimate) SetItemKey

func (s *PriceEstimate) SetItemKey(val OptNilString)

SetItemKey sets the value of ItemKey.

func (*PriceEstimate) SetLbin

func (s *PriceEstimate) SetLbin(val OptInt64)

SetLbin sets the value of Lbin.

func (s *PriceEstimate) SetLbinLink(val OptNilString)

SetLbinLink sets the value of LbinLink.

func (*PriceEstimate) SetMedian

func (s *PriceEstimate) SetMedian(val OptInt64)

SetMedian sets the value of Median.

func (*PriceEstimate) SetMedianKey

func (s *PriceEstimate) SetMedianKey(val OptNilString)

SetMedianKey sets the value of MedianKey.

func (*PriceEstimate) SetVolume

func (s *PriceEstimate) SetVolume(val OptFloat32)

SetVolume sets the value of Volume.

func (*PriceEstimate) UnmarshalJSON

func (s *PriceEstimate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PriceEstimate) Validate

func (s *PriceEstimate) Validate() error

type PriceSumary

type PriceSumary struct {
	Min    OptInt64   `json:"min"`
	Median OptInt64   `json:"median"`
	Mean   OptFloat64 `json:"mean"`
	Mode   OptInt64   `json:"mode"`
	Volume OptFloat64 `json:"volume"`
	Max    OptInt64   `json:"max"`
}

Ref: #/components/schemas/PriceSumary

func (*PriceSumary) Decode

func (s *PriceSumary) Decode(d *jx.Decoder) error

Decode decodes PriceSumary from json.

func (*PriceSumary) Encode

func (s *PriceSumary) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PriceSumary) GetMax

func (s *PriceSumary) GetMax() OptInt64

GetMax returns the value of Max.

func (*PriceSumary) GetMean

func (s *PriceSumary) GetMean() OptFloat64

GetMean returns the value of Mean.

func (*PriceSumary) GetMedian

func (s *PriceSumary) GetMedian() OptInt64

GetMedian returns the value of Median.

func (*PriceSumary) GetMin

func (s *PriceSumary) GetMin() OptInt64

GetMin returns the value of Min.

func (*PriceSumary) GetMode

func (s *PriceSumary) GetMode() OptInt64

GetMode returns the value of Mode.

func (*PriceSumary) GetVolume

func (s *PriceSumary) GetVolume() OptFloat64

GetVolume returns the value of Volume.

func (*PriceSumary) MarshalJSON

func (s *PriceSumary) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PriceSumary) SetMax

func (s *PriceSumary) SetMax(val OptInt64)

SetMax sets the value of Max.

func (*PriceSumary) SetMean

func (s *PriceSumary) SetMean(val OptFloat64)

SetMean sets the value of Mean.

func (*PriceSumary) SetMedian

func (s *PriceSumary) SetMedian(val OptInt64)

SetMedian sets the value of Median.

func (*PriceSumary) SetMin

func (s *PriceSumary) SetMin(val OptInt64)

SetMin sets the value of Min.

func (*PriceSumary) SetMode

func (s *PriceSumary) SetMode(val OptInt64)

SetMode sets the value of Mode.

func (*PriceSumary) SetVolume

func (s *PriceSumary) SetVolume(val OptFloat64)

SetVolume sets the value of Volume.

func (*PriceSumary) UnmarshalJSON

func (s *PriceSumary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PriceSumary) Validate

func (s *PriceSumary) Validate() error

type PrivacySettings

type PrivacySettings struct {
	ChatRegex           OptNilString      `json:"chatRegex"`
	CollectChat         OptBool           `json:"collectChat"`
	CollectInventory    OptBool           `json:"collectInventory"`
	CollectTab          OptBool           `json:"collectTab"`
	CollectScoreboard   OptBool           `json:"collectScoreboard"`
	AllowProxy          OptBool           `json:"allowProxy"`
	CollectInvClick     OptBool           `json:"collectInvClick"`
	CollectChatClicks   OptBool           `json:"collectChatClicks"`
	CollectLobbyChanges OptBool           `json:"collectLobbyChanges"`
	CollectEntities     OptBool           `json:"collectEntities"`
	CollectLocation     OptBool           `json:"collectLocation"`
	ExtendDescriptions  OptBool           `json:"extendDescriptions"`
	CommandPrefixes     OptNilStringArray `json:"commandPrefixes"`
	AutoStart           OptBool           `json:"autoStart"`
}

Ref: #/components/schemas/PrivacySettings

func (*PrivacySettings) Decode

func (s *PrivacySettings) Decode(d *jx.Decoder) error

Decode decodes PrivacySettings from json.

func (*PrivacySettings) Encode

func (s *PrivacySettings) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PrivacySettings) GetAllowProxy

func (s *PrivacySettings) GetAllowProxy() OptBool

GetAllowProxy returns the value of AllowProxy.

func (*PrivacySettings) GetAutoStart

func (s *PrivacySettings) GetAutoStart() OptBool

GetAutoStart returns the value of AutoStart.

func (*PrivacySettings) GetChatRegex

func (s *PrivacySettings) GetChatRegex() OptNilString

GetChatRegex returns the value of ChatRegex.

func (*PrivacySettings) GetCollectChat

func (s *PrivacySettings) GetCollectChat() OptBool

GetCollectChat returns the value of CollectChat.

func (*PrivacySettings) GetCollectChatClicks

func (s *PrivacySettings) GetCollectChatClicks() OptBool

GetCollectChatClicks returns the value of CollectChatClicks.

func (*PrivacySettings) GetCollectEntities

func (s *PrivacySettings) GetCollectEntities() OptBool

GetCollectEntities returns the value of CollectEntities.

func (*PrivacySettings) GetCollectInvClick

func (s *PrivacySettings) GetCollectInvClick() OptBool

GetCollectInvClick returns the value of CollectInvClick.

func (*PrivacySettings) GetCollectInventory

func (s *PrivacySettings) GetCollectInventory() OptBool

GetCollectInventory returns the value of CollectInventory.

func (*PrivacySettings) GetCollectLobbyChanges

func (s *PrivacySettings) GetCollectLobbyChanges() OptBool

GetCollectLobbyChanges returns the value of CollectLobbyChanges.

func (*PrivacySettings) GetCollectLocation

func (s *PrivacySettings) GetCollectLocation() OptBool

GetCollectLocation returns the value of CollectLocation.

func (*PrivacySettings) GetCollectScoreboard

func (s *PrivacySettings) GetCollectScoreboard() OptBool

GetCollectScoreboard returns the value of CollectScoreboard.

func (*PrivacySettings) GetCollectTab

func (s *PrivacySettings) GetCollectTab() OptBool

GetCollectTab returns the value of CollectTab.

func (*PrivacySettings) GetCommandPrefixes

func (s *PrivacySettings) GetCommandPrefixes() OptNilStringArray

GetCommandPrefixes returns the value of CommandPrefixes.

func (*PrivacySettings) GetExtendDescriptions

func (s *PrivacySettings) GetExtendDescriptions() OptBool

GetExtendDescriptions returns the value of ExtendDescriptions.

func (*PrivacySettings) MarshalJSON

func (s *PrivacySettings) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PrivacySettings) SetAllowProxy

func (s *PrivacySettings) SetAllowProxy(val OptBool)

SetAllowProxy sets the value of AllowProxy.

func (*PrivacySettings) SetAutoStart

func (s *PrivacySettings) SetAutoStart(val OptBool)

SetAutoStart sets the value of AutoStart.

func (*PrivacySettings) SetChatRegex

func (s *PrivacySettings) SetChatRegex(val OptNilString)

SetChatRegex sets the value of ChatRegex.

func (*PrivacySettings) SetCollectChat

func (s *PrivacySettings) SetCollectChat(val OptBool)

SetCollectChat sets the value of CollectChat.

func (*PrivacySettings) SetCollectChatClicks

func (s *PrivacySettings) SetCollectChatClicks(val OptBool)

SetCollectChatClicks sets the value of CollectChatClicks.

func (*PrivacySettings) SetCollectEntities

func (s *PrivacySettings) SetCollectEntities(val OptBool)

SetCollectEntities sets the value of CollectEntities.

func (*PrivacySettings) SetCollectInvClick

func (s *PrivacySettings) SetCollectInvClick(val OptBool)

SetCollectInvClick sets the value of CollectInvClick.

func (*PrivacySettings) SetCollectInventory

func (s *PrivacySettings) SetCollectInventory(val OptBool)

SetCollectInventory sets the value of CollectInventory.

func (*PrivacySettings) SetCollectLobbyChanges

func (s *PrivacySettings) SetCollectLobbyChanges(val OptBool)

SetCollectLobbyChanges sets the value of CollectLobbyChanges.

func (*PrivacySettings) SetCollectLocation

func (s *PrivacySettings) SetCollectLocation(val OptBool)

SetCollectLocation sets the value of CollectLocation.

func (*PrivacySettings) SetCollectScoreboard

func (s *PrivacySettings) SetCollectScoreboard(val OptBool)

SetCollectScoreboard sets the value of CollectScoreboard.

func (*PrivacySettings) SetCollectTab

func (s *PrivacySettings) SetCollectTab(val OptBool)

SetCollectTab sets the value of CollectTab.

func (*PrivacySettings) SetCommandPrefixes

func (s *PrivacySettings) SetCommandPrefixes(val OptNilStringArray)

SetCommandPrefixes sets the value of CommandPrefixes.

func (*PrivacySettings) SetExtendDescriptions

func (s *PrivacySettings) SetExtendDescriptions(val OptBool)

SetExtendDescriptions sets the value of ExtendDescriptions.

func (*PrivacySettings) UnmarshalJSON

func (s *PrivacySettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PrivacySettings) Validate

func (s *PrivacySettings) Validate() error

type ProductType

type ProductType string

Ref: #/components/schemas/ProductType

const (
	ProductTypeNONE          ProductType = "NONE"
	ProductTypeSERVICE       ProductType = "SERVICE"
	ProductTypeCOLLECTABLE   ProductType = "COLLECTABLE"
	ProductTypeTOPUP         ProductType = "TOP_UP"
	ProductTypeLOCKED        ProductType = "LOCKED"
	ProductTypeDISABLED      ProductType = "DISABLED"
	ProductTypeVARIABLEPRICE ProductType = "VARIABLE_PRICE"
)

func (*ProductType) Decode

func (s *ProductType) Decode(d *jx.Decoder) error

Decode decodes ProductType from json.

func (ProductType) Encode

func (s ProductType) Encode(e *jx.Encoder)

Encode encodes ProductType as json.

func (ProductType) MarshalJSON

func (s ProductType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ProductType) MarshalText

func (s ProductType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ProductType) UnmarshalJSON

func (s *ProductType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ProductType) UnmarshalText

func (s *ProductType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ProductType) Validate

func (s ProductType) Validate() error

type ProfitableCraft

type ProfitableCraft struct {
	ItemId        OptNilString          `json:"itemId"`
	ItemName      OptNilString          `json:"itemName"`
	SellPrice     OptFloat64            `json:"sellPrice"`
	CraftCost     OptFloat64            `json:"craftCost"`
	Ingredients   OptNilIngredientArray `json:"ingredients"`
	ReqCollection OptRequiredCollection `json:"reqCollection"`
	ReqSlayer     OptRequiredCollection `json:"reqSlayer"`
	Volume        OptFloat64            `json:"volume"`
	Median        OptFloat32            `json:"median"`
}

Ref: #/components/schemas/ProfitableCraft

func (*ProfitableCraft) Decode

func (s *ProfitableCraft) Decode(d *jx.Decoder) error

Decode decodes ProfitableCraft from json.

func (*ProfitableCraft) Encode

func (s *ProfitableCraft) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ProfitableCraft) GetCraftCost

func (s *ProfitableCraft) GetCraftCost() OptFloat64

GetCraftCost returns the value of CraftCost.

func (*ProfitableCraft) GetIngredients

func (s *ProfitableCraft) GetIngredients() OptNilIngredientArray

GetIngredients returns the value of Ingredients.

func (*ProfitableCraft) GetItemId

func (s *ProfitableCraft) GetItemId() OptNilString

GetItemId returns the value of ItemId.

func (*ProfitableCraft) GetItemName

func (s *ProfitableCraft) GetItemName() OptNilString

GetItemName returns the value of ItemName.

func (*ProfitableCraft) GetMedian

func (s *ProfitableCraft) GetMedian() OptFloat32

GetMedian returns the value of Median.

func (*ProfitableCraft) GetReqCollection

func (s *ProfitableCraft) GetReqCollection() OptRequiredCollection

GetReqCollection returns the value of ReqCollection.

func (*ProfitableCraft) GetReqSlayer

func (s *ProfitableCraft) GetReqSlayer() OptRequiredCollection

GetReqSlayer returns the value of ReqSlayer.

func (*ProfitableCraft) GetSellPrice

func (s *ProfitableCraft) GetSellPrice() OptFloat64

GetSellPrice returns the value of SellPrice.

func (*ProfitableCraft) GetVolume

func (s *ProfitableCraft) GetVolume() OptFloat64

GetVolume returns the value of Volume.

func (*ProfitableCraft) MarshalJSON

func (s *ProfitableCraft) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProfitableCraft) SetCraftCost

func (s *ProfitableCraft) SetCraftCost(val OptFloat64)

SetCraftCost sets the value of CraftCost.

func (*ProfitableCraft) SetIngredients

func (s *ProfitableCraft) SetIngredients(val OptNilIngredientArray)

SetIngredients sets the value of Ingredients.

func (*ProfitableCraft) SetItemId

func (s *ProfitableCraft) SetItemId(val OptNilString)

SetItemId sets the value of ItemId.

func (*ProfitableCraft) SetItemName

func (s *ProfitableCraft) SetItemName(val OptNilString)

SetItemName sets the value of ItemName.

func (*ProfitableCraft) SetMedian

func (s *ProfitableCraft) SetMedian(val OptFloat32)

SetMedian sets the value of Median.

func (*ProfitableCraft) SetReqCollection

func (s *ProfitableCraft) SetReqCollection(val OptRequiredCollection)

SetReqCollection sets the value of ReqCollection.

func (*ProfitableCraft) SetReqSlayer

func (s *ProfitableCraft) SetReqSlayer(val OptRequiredCollection)

SetReqSlayer sets the value of ReqSlayer.

func (*ProfitableCraft) SetSellPrice

func (s *ProfitableCraft) SetSellPrice(val OptFloat64)

SetSellPrice sets the value of SellPrice.

func (*ProfitableCraft) SetVolume

func (s *ProfitableCraft) SetVolume(val OptFloat64)

SetVolume sets the value of Volume.

func (*ProfitableCraft) UnmarshalJSON

func (s *ProfitableCraft) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ProfitableCraft) Validate

func (s *ProfitableCraft) Validate() error

type PropertyChange

type PropertyChange struct {
	Description OptNilString `json:"description"`
	Effect      OptInt64     `json:"effect"`
}

Ref: #/components/schemas/PropertyChange

func (*PropertyChange) Decode

func (s *PropertyChange) Decode(d *jx.Decoder) error

Decode decodes PropertyChange from json.

func (*PropertyChange) Encode

func (s *PropertyChange) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PropertyChange) GetDescription

func (s *PropertyChange) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*PropertyChange) GetEffect

func (s *PropertyChange) GetEffect() OptInt64

GetEffect returns the value of Effect.

func (*PropertyChange) MarshalJSON

func (s *PropertyChange) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PropertyChange) SetDescription

func (s *PropertyChange) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*PropertyChange) SetEffect

func (s *PropertyChange) SetEffect(val OptInt64)

SetEffect sets the value of Effect.

func (*PropertyChange) UnmarshalJSON

func (s *PropertyChange) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PurchaseArgs

type PurchaseArgs struct {
	// The service to pruchase.
	Slug OptNilString `json:"slug"`
	// How many instances to purchase (longer time).
	Count OptInt32 `json:"count"`
	// Reference to prevent dupplicates.
	Reference OptNilString `json:"reference"`
}

Arguments for purchasing a service. Ref: #/components/schemas/PurchaseArgs

func (*PurchaseArgs) Decode

func (s *PurchaseArgs) Decode(d *jx.Decoder) error

Decode decodes PurchaseArgs from json.

func (*PurchaseArgs) Encode

func (s *PurchaseArgs) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PurchaseArgs) GetCount

func (s *PurchaseArgs) GetCount() OptInt32

GetCount returns the value of Count.

func (*PurchaseArgs) GetReference

func (s *PurchaseArgs) GetReference() OptNilString

GetReference returns the value of Reference.

func (*PurchaseArgs) GetSlug

func (s *PurchaseArgs) GetSlug() OptNilString

GetSlug returns the value of Slug.

func (*PurchaseArgs) MarshalJSON

func (s *PurchaseArgs) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PurchaseArgs) SetCount

func (s *PurchaseArgs) SetCount(val OptInt32)

SetCount sets the value of Count.

func (*PurchaseArgs) SetReference

func (s *PurchaseArgs) SetReference(val OptNilString)

SetReference sets the value of Reference.

func (*PurchaseArgs) SetSlug

func (s *PurchaseArgs) SetSlug(val OptNilString)

SetSlug sets the value of Slug.

func (*PurchaseArgs) UnmarshalJSON

func (s *PurchaseArgs) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ReferralInfo

type ReferralInfo struct {
	ReferedCount       OptInt32      `json:"referedCount"`
	ValidatedMinecraft OptInt32      `json:"validatedMinecraft"`
	PurchasedCoins     OptInt32      `json:"purchasedCoins"`
	ReferredBy         OptNilString  `json:"referredBy"`
	OldInfo            OptOldRefInfo `json:"oldInfo"`
}

Ref: #/components/schemas/ReferralInfo

func (*ReferralInfo) Decode

func (s *ReferralInfo) Decode(d *jx.Decoder) error

Decode decodes ReferralInfo from json.

func (*ReferralInfo) Encode

func (s *ReferralInfo) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ReferralInfo) GetOldInfo

func (s *ReferralInfo) GetOldInfo() OptOldRefInfo

GetOldInfo returns the value of OldInfo.

func (*ReferralInfo) GetPurchasedCoins

func (s *ReferralInfo) GetPurchasedCoins() OptInt32

GetPurchasedCoins returns the value of PurchasedCoins.

func (*ReferralInfo) GetReferedCount

func (s *ReferralInfo) GetReferedCount() OptInt32

GetReferedCount returns the value of ReferedCount.

func (*ReferralInfo) GetReferredBy

func (s *ReferralInfo) GetReferredBy() OptNilString

GetReferredBy returns the value of ReferredBy.

func (*ReferralInfo) GetValidatedMinecraft

func (s *ReferralInfo) GetValidatedMinecraft() OptInt32

GetValidatedMinecraft returns the value of ValidatedMinecraft.

func (*ReferralInfo) MarshalJSON

func (s *ReferralInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ReferralInfo) SetOldInfo

func (s *ReferralInfo) SetOldInfo(val OptOldRefInfo)

SetOldInfo sets the value of OldInfo.

func (*ReferralInfo) SetPurchasedCoins

func (s *ReferralInfo) SetPurchasedCoins(val OptInt32)

SetPurchasedCoins sets the value of PurchasedCoins.

func (*ReferralInfo) SetReferedCount

func (s *ReferralInfo) SetReferedCount(val OptInt32)

SetReferedCount sets the value of ReferedCount.

func (*ReferralInfo) SetReferredBy

func (s *ReferralInfo) SetReferredBy(val OptNilString)

SetReferredBy sets the value of ReferredBy.

func (*ReferralInfo) SetValidatedMinecraft

func (s *ReferralInfo) SetValidatedMinecraft(val OptInt32)

SetValidatedMinecraft sets the value of ValidatedMinecraft.

func (*ReferralInfo) UnmarshalJSON

func (s *ReferralInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ReferredBy

type ReferredBy struct {
	RefCode OptNilString `json:"refCode"`
}

Object containing referral code to give reward to. Ref: #/components/schemas/ReferredBy

func (*ReferredBy) Decode

func (s *ReferredBy) Decode(d *jx.Decoder) error

Decode decodes ReferredBy from json.

func (*ReferredBy) Encode

func (s *ReferredBy) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ReferredBy) GetRefCode

func (s *ReferredBy) GetRefCode() OptNilString

GetRefCode returns the value of RefCode.

func (*ReferredBy) MarshalJSON

func (s *ReferredBy) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ReferredBy) SetRefCode

func (s *ReferredBy) SetRefCode(val OptNilString)

SetRefCode sets the value of RefCode.

func (*ReferredBy) UnmarshalJSON

func (s *ReferredBy) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Reforge

type Reforge string

Ref: #/components/schemas/Reforge

const (
	ReforgeNone         Reforge = "None"
	ReforgeDemonic      Reforge = "Demonic"
	ReforgeForceful     Reforge = "Forceful"
	ReforgeGentle       Reforge = "Gentle"
	ReforgeGodly        Reforge = "Godly"
	ReforgeHurtful      Reforge = "Hurtful"
	ReforgeKeen         Reforge = "Keen"
	ReforgeStrong       Reforge = "Strong"
	ReforgeSuperior     Reforge = "Superior"
	ReforgeUnpleasant   Reforge = "Unpleasant"
	ReforgeZealous      Reforge = "Zealous"
	ReforgeOdd          Reforge = "Odd"
	ReforgeRich         Reforge = "Rich"
	ReforgeEpic         Reforge = "Epic"
	ReforgeFair         Reforge = "Fair"
	ReforgeFast         Reforge = "Fast"
	ReforgeHeroic       Reforge = "Heroic"
	ReforgeLegendary    Reforge = "Legendary"
	ReforgeSpicy        Reforge = "Spicy"
	ReforgeDeadly       Reforge = "Deadly"
	ReforgeFine         Reforge = "Fine"
	ReforgeGrand        Reforge = "Grand"
	ReforgeHasty        Reforge = "Hasty"
	ReforgeNeat         Reforge = "Neat"
	ReforgePapid        Reforge = "Papid"
	ReforgeUnreal       Reforge = "Unreal"
	ReforgeClean        Reforge = "Clean"
	ReforgeFierce       Reforge = "Fierce"
	ReforgeHeavy        Reforge = "Heavy"
	ReforgeLight        Reforge = "Light"
	ReforgeMythic       Reforge = "Mythic"
	ReforgePure         Reforge = "Pure"
	ReforgeSmart        Reforge = "Smart"
	ReforgeTitanic      Reforge = "Titanic"
	ReforgeWise         Reforge = "Wise"
	ReforgeVery         Reforge = "Very"
	ReforgeHighly       Reforge = "Highly"
	ReforgeBizarre      Reforge = "Bizarre"
	ReforgeItchy        Reforge = "Itchy"
	ReforgeOmnious      Reforge = "Omnious"
	ReforgePleasant     Reforge = "Pleasant"
	ReforgePretty       Reforge = "Pretty"
	ReforgeShiny        Reforge = "Shiny"
	ReforgeSimple       Reforge = "Simple"
	ReforgeStrange      Reforge = "Strange"
	ReforgeVivid        Reforge = "Vivid"
	ReforgeOminous      Reforge = "Ominous"
	ReforgeSharp        Reforge = "Sharp"
	ReforgeRapid        Reforge = "Rapid"
	ReforgeNecrotic     Reforge = "Necrotic"
	ReforgeFabled       Reforge = "Fabled"
	ReforgePrecise      Reforge = "Precise"
	ReforgeGiant        Reforge = "Giant"
	ReforgeAoteStone    Reforge = "aote_stone"
	ReforgeSpiritual    Reforge = "Spiritual"
	ReforgeTreacherous  Reforge = "Treacherous"
	ReforgeRenowned     Reforge = "Renowned"
	ReforgeReinforced   Reforge = "Reinforced"
	ReforgeRichBow      Reforge = "rich_bow"
	ReforgeSpiked       Reforge = "Spiked"
	ReforgePerfect      Reforge = "Perfect"
	ReforgeMagnetic     Reforge = "Magnetic"
	ReforgeLoving       Reforge = "Loving"
	ReforgeGilded       Reforge = "Gilded"
	ReforgeOddSword     Reforge = "odd_sword"
	ReforgeSalty        Reforge = "Salty"
	ReforgeSilky        Reforge = "Silky"
	ReforgeRefined      Reforge = "Refined"
	ReforgeSuspicious   Reforge = "suspicious"
	ReforgeToil         Reforge = "toil"
	ReforgeEmpowered    Reforge = "empowered"
	ReforgeFruitful     Reforge = "fruitful"
	ReforgeBlessed      Reforge = "blessed"
	ReforgeShaded       Reforge = "shaded"
	ReforgeAwkward      Reforge = "awkward"
	ReforgeDirty        Reforge = "dirty"
	ReforgeUndead       Reforge = "undead"
	ReforgeCubic        Reforge = "cubic"
	ReforgeBloody       Reforge = "bloody"
	ReforgeMoil         Reforge = "moil"
	ReforgeRidiculous   Reforge = "ridiculous"
	ReforgeRichSword    Reforge = "rich_sword"
	ReforgeWarped       Reforge = "warped"
	ReforgeOddBow       Reforge = "odd_bow"
	ReforgeCandied      Reforge = "candied"
	ReforgeSubmerged    Reforge = "submerged"
	ReforgeAncient      Reforge = "ancient"
	ReforgeWithered     Reforge = "withered"
	ReforgeSweet        Reforge = "sweet"
	ReforgeFleet        Reforge = "fleet"
	ReforgeStellar      Reforge = "stellar"
	ReforgeMithraic     Reforge = "mithraic"
	ReforgeAuspicious   Reforge = "Auspicious"
	ReforgeHeadstrong   Reforge = "headstrong"
	ReforgeStiff        Reforge = "stiff"
	ReforgeBulky        Reforge = "bulky"
	ReforgeLucky        Reforge = "lucky"
	ReforgeBountiful    Reforge = "bountiful"
	ReforgeHeated       Reforge = "heated"
	ReforgeJaded        Reforge = "jaded"
	ReforgeAmbered      Reforge = "ambered"
	ReforgeDoubleBit    Reforge = "double_bit"
	ReforgeExcellent    Reforge = "excellent"
	ReforgeFortunate    Reforge = "fortunate"
	ReforgeProspector   Reforge = "prospector"
	ReforgeLush         Reforge = "lush"
	ReforgeSturdy       Reforge = "sturdy"
	ReforgeLumberjack   Reforge = "lumberjack"
	ReforgeUnyielding   Reforge = "unyielding"
	ReforgeGreat        Reforge = "great"
	ReforgeRobust       Reforge = "robust"
	ReforgeRugged       Reforge = "rugged"
	ReforgeZooming      Reforge = "zooming"
	ReforgePeasant      Reforge = "peasant"
	ReforgeStrengthened Reforge = "strengthened"
	ReforgeGlistening   Reforge = "glistening"
	ReforgeWaxed        Reforge = "waxed"
	ReforgeFortified    Reforge = "fortified"
	ReforgeGreenThumb   Reforge = "green_thumb"
	ReforgePitchin      Reforge = "pitchin"
	ReforgeColdfusion   Reforge = "coldfusion"
	ReforgeUnknown      Reforge = "Unknown"
	ReforgeAny          Reforge = "Any"
)

func (*Reforge) Decode

func (s *Reforge) Decode(d *jx.Decoder) error

Decode decodes Reforge from json.

func (Reforge) Encode

func (s Reforge) Encode(e *jx.Encoder)

Encode encodes Reforge as json.

func (Reforge) MarshalJSON

func (s Reforge) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (Reforge) MarshalText

func (s Reforge) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*Reforge) UnmarshalJSON

func (s *Reforge) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Reforge) UnmarshalText

func (s *Reforge) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (Reforge) Validate

func (s Reforge) Validate() error

type RequiredCollection

type RequiredCollection struct {
	Name  OptNilString `json:"name"`
	Level OptInt32     `json:"level"`
}

Ref: #/components/schemas/RequiredCollection

func (*RequiredCollection) Decode

func (s *RequiredCollection) Decode(d *jx.Decoder) error

Decode decodes RequiredCollection from json.

func (*RequiredCollection) Encode

func (s *RequiredCollection) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RequiredCollection) GetLevel

func (s *RequiredCollection) GetLevel() OptInt32

GetLevel returns the value of Level.

func (*RequiredCollection) GetName

func (s *RequiredCollection) GetName() OptNilString

GetName returns the value of Name.

func (*RequiredCollection) MarshalJSON

func (s *RequiredCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RequiredCollection) SetLevel

func (s *RequiredCollection) SetLevel(val OptInt32)

SetLevel sets the value of Level.

func (*RequiredCollection) SetName

func (s *RequiredCollection) SetName(val OptNilString)

SetName sets the value of Name.

func (*RequiredCollection) UnmarshalJSON

func (s *RequiredCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Route

type Route struct {
	// contains filtered or unexported fields
}

Route is route object.

func (Route) Args

func (r Route) Args() []string

Args returns parsed arguments.

func (Route) Name

func (r Route) Name() string

Name returns ogen operation name.

It is guaranteed to be unique and not empty.

func (Route) OperationID

func (r Route) OperationID() string

OperationID returns OpenAPI operationId.

func (Route) PathPattern

func (r Route) PathPattern() string

PathPattern returns OpenAPI path.

type SaveAuction

type SaveAuction struct {
	UUID             OptNilString           `json:"uuid"`
	Count            OptInt32               `json:"count"`
	StartingBid      OptInt64               `json:"startingBid"`
	Tag              OptNilString           `json:"tag"`
	ItemName         OptNilString           `json:"itemName"`
	Start            OptDateTime            `json:"start"`
	End              OptDateTime            `json:"end"`
	AuctioneerId     OptNilString           `json:"auctioneerId"`
	ProfileId        OptNilString           `json:"profileId"`
	Coop             OptNilStringArray      `json:"coop"`
	CoopMembers      OptNilUUIDArray        `json:"coopMembers"`
	HighestBidAmount OptInt64               `json:"highestBidAmount"`
	Bids             OptNilSaveBidsArray    `json:"bids"`
	AnvilUses        OptInt32               `json:"anvilUses"`
	Enchantments     OptNilEnchantmentArray `json:"enchantments"`
	NbtData          OptNbtData             `json:"nbtData"`
	ItemCreatedAt    OptDateTime            `json:"itemCreatedAt"`
	Reforge          OptReforge             `json:"reforge"`
	Category         OptCategory            `json:"category"`
	Tier             OptTier                `json:"tier"`
	Bin              OptBool                `json:"bin"`
	FlatNbt          OptSaveAuctionFlatNbt  `json:"flatNbt"`
}

Ref: #/components/schemas/SaveAuction

func (*SaveAuction) Decode

func (s *SaveAuction) Decode(d *jx.Decoder) error

Decode decodes SaveAuction from json.

func (*SaveAuction) Encode

func (s *SaveAuction) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SaveAuction) GetAnvilUses

func (s *SaveAuction) GetAnvilUses() OptInt32

GetAnvilUses returns the value of AnvilUses.

func (*SaveAuction) GetAuctioneerId

func (s *SaveAuction) GetAuctioneerId() OptNilString

GetAuctioneerId returns the value of AuctioneerId.

func (*SaveAuction) GetBids

func (s *SaveAuction) GetBids() OptNilSaveBidsArray

GetBids returns the value of Bids.

func (*SaveAuction) GetBin

func (s *SaveAuction) GetBin() OptBool

GetBin returns the value of Bin.

func (*SaveAuction) GetCategory

func (s *SaveAuction) GetCategory() OptCategory

GetCategory returns the value of Category.

func (*SaveAuction) GetCoop

func (s *SaveAuction) GetCoop() OptNilStringArray

GetCoop returns the value of Coop.

func (*SaveAuction) GetCoopMembers

func (s *SaveAuction) GetCoopMembers() OptNilUUIDArray

GetCoopMembers returns the value of CoopMembers.

func (*SaveAuction) GetCount

func (s *SaveAuction) GetCount() OptInt32

GetCount returns the value of Count.

func (*SaveAuction) GetEnchantments

func (s *SaveAuction) GetEnchantments() OptNilEnchantmentArray

GetEnchantments returns the value of Enchantments.

func (*SaveAuction) GetEnd

func (s *SaveAuction) GetEnd() OptDateTime

GetEnd returns the value of End.

func (*SaveAuction) GetFlatNbt

func (s *SaveAuction) GetFlatNbt() OptSaveAuctionFlatNbt

GetFlatNbt returns the value of FlatNbt.

func (*SaveAuction) GetHighestBidAmount

func (s *SaveAuction) GetHighestBidAmount() OptInt64

GetHighestBidAmount returns the value of HighestBidAmount.

func (*SaveAuction) GetItemCreatedAt

func (s *SaveAuction) GetItemCreatedAt() OptDateTime

GetItemCreatedAt returns the value of ItemCreatedAt.

func (*SaveAuction) GetItemName

func (s *SaveAuction) GetItemName() OptNilString

GetItemName returns the value of ItemName.

func (*SaveAuction) GetNbtData

func (s *SaveAuction) GetNbtData() OptNbtData

GetNbtData returns the value of NbtData.

func (*SaveAuction) GetProfileId

func (s *SaveAuction) GetProfileId() OptNilString

GetProfileId returns the value of ProfileId.

func (*SaveAuction) GetReforge

func (s *SaveAuction) GetReforge() OptReforge

GetReforge returns the value of Reforge.

func (*SaveAuction) GetStart

func (s *SaveAuction) GetStart() OptDateTime

GetStart returns the value of Start.

func (*SaveAuction) GetStartingBid

func (s *SaveAuction) GetStartingBid() OptInt64

GetStartingBid returns the value of StartingBid.

func (*SaveAuction) GetTag

func (s *SaveAuction) GetTag() OptNilString

GetTag returns the value of Tag.

func (*SaveAuction) GetTier

func (s *SaveAuction) GetTier() OptTier

GetTier returns the value of Tier.

func (*SaveAuction) GetUUID

func (s *SaveAuction) GetUUID() OptNilString

GetUUID returns the value of UUID.

func (*SaveAuction) MarshalJSON

func (s *SaveAuction) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SaveAuction) SetAnvilUses

func (s *SaveAuction) SetAnvilUses(val OptInt32)

SetAnvilUses sets the value of AnvilUses.

func (*SaveAuction) SetAuctioneerId

func (s *SaveAuction) SetAuctioneerId(val OptNilString)

SetAuctioneerId sets the value of AuctioneerId.

func (*SaveAuction) SetBids

func (s *SaveAuction) SetBids(val OptNilSaveBidsArray)

SetBids sets the value of Bids.

func (*SaveAuction) SetBin

func (s *SaveAuction) SetBin(val OptBool)

SetBin sets the value of Bin.

func (*SaveAuction) SetCategory

func (s *SaveAuction) SetCategory(val OptCategory)

SetCategory sets the value of Category.

func (*SaveAuction) SetCoop

func (s *SaveAuction) SetCoop(val OptNilStringArray)

SetCoop sets the value of Coop.

func (*SaveAuction) SetCoopMembers

func (s *SaveAuction) SetCoopMembers(val OptNilUUIDArray)

SetCoopMembers sets the value of CoopMembers.

func (*SaveAuction) SetCount

func (s *SaveAuction) SetCount(val OptInt32)

SetCount sets the value of Count.

func (*SaveAuction) SetEnchantments

func (s *SaveAuction) SetEnchantments(val OptNilEnchantmentArray)

SetEnchantments sets the value of Enchantments.

func (*SaveAuction) SetEnd

func (s *SaveAuction) SetEnd(val OptDateTime)

SetEnd sets the value of End.

func (*SaveAuction) SetFlatNbt

func (s *SaveAuction) SetFlatNbt(val OptSaveAuctionFlatNbt)

SetFlatNbt sets the value of FlatNbt.

func (*SaveAuction) SetHighestBidAmount

func (s *SaveAuction) SetHighestBidAmount(val OptInt64)

SetHighestBidAmount sets the value of HighestBidAmount.

func (*SaveAuction) SetItemCreatedAt

func (s *SaveAuction) SetItemCreatedAt(val OptDateTime)

SetItemCreatedAt sets the value of ItemCreatedAt.

func (*SaveAuction) SetItemName

func (s *SaveAuction) SetItemName(val OptNilString)

SetItemName sets the value of ItemName.

func (*SaveAuction) SetNbtData

func (s *SaveAuction) SetNbtData(val OptNbtData)

SetNbtData sets the value of NbtData.

func (*SaveAuction) SetProfileId

func (s *SaveAuction) SetProfileId(val OptNilString)

SetProfileId sets the value of ProfileId.

func (*SaveAuction) SetReforge

func (s *SaveAuction) SetReforge(val OptReforge)

SetReforge sets the value of Reforge.

func (*SaveAuction) SetStart

func (s *SaveAuction) SetStart(val OptDateTime)

SetStart sets the value of Start.

func (*SaveAuction) SetStartingBid

func (s *SaveAuction) SetStartingBid(val OptInt64)

SetStartingBid sets the value of StartingBid.

func (*SaveAuction) SetTag

func (s *SaveAuction) SetTag(val OptNilString)

SetTag sets the value of Tag.

func (*SaveAuction) SetTier

func (s *SaveAuction) SetTier(val OptTier)

SetTier sets the value of Tier.

func (*SaveAuction) SetUUID

func (s *SaveAuction) SetUUID(val OptNilString)

SetUUID sets the value of UUID.

func (*SaveAuction) UnmarshalJSON

func (s *SaveAuction) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SaveAuction) Validate

func (s *SaveAuction) Validate() error

type SaveAuctionFlatNbt

type SaveAuctionFlatNbt struct{}

func (*SaveAuctionFlatNbt) Decode

func (s *SaveAuctionFlatNbt) Decode(d *jx.Decoder) error

Decode decodes SaveAuctionFlatNbt from json.

func (*SaveAuctionFlatNbt) Encode

func (s *SaveAuctionFlatNbt) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SaveAuctionFlatNbt) MarshalJSON

func (s *SaveAuctionFlatNbt) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SaveAuctionFlatNbt) UnmarshalJSON

func (s *SaveAuctionFlatNbt) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SaveBids

type SaveBids struct {
	Bidder    OptNilString `json:"bidder"`
	ProfileId OptNilString `json:"profileId"`
	Amount    OptInt64     `json:"amount"`
	Timestamp OptDateTime  `json:"timestamp"`
}

Ref: #/components/schemas/SaveBids

func (*SaveBids) Decode

func (s *SaveBids) Decode(d *jx.Decoder) error

Decode decodes SaveBids from json.

func (*SaveBids) Encode

func (s *SaveBids) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SaveBids) GetAmount

func (s *SaveBids) GetAmount() OptInt64

GetAmount returns the value of Amount.

func (*SaveBids) GetBidder

func (s *SaveBids) GetBidder() OptNilString

GetBidder returns the value of Bidder.

func (*SaveBids) GetProfileId

func (s *SaveBids) GetProfileId() OptNilString

GetProfileId returns the value of ProfileId.

func (*SaveBids) GetTimestamp

func (s *SaveBids) GetTimestamp() OptDateTime

GetTimestamp returns the value of Timestamp.

func (*SaveBids) MarshalJSON

func (s *SaveBids) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SaveBids) SetAmount

func (s *SaveBids) SetAmount(val OptInt64)

SetAmount sets the value of Amount.

func (*SaveBids) SetBidder

func (s *SaveBids) SetBidder(val OptNilString)

SetBidder sets the value of Bidder.

func (*SaveBids) SetProfileId

func (s *SaveBids) SetProfileId(val OptNilString)

SetProfileId sets the value of ProfileId.

func (*SaveBids) SetTimestamp

func (s *SaveBids) SetTimestamp(val OptDateTime)

SetTimestamp sets the value of Timestamp.

func (*SaveBids) UnmarshalJSON

func (s *SaveBids) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SearchResultItem

type SearchResultItem struct {
	Name    OptNilString `json:"name"`
	ID      OptNilString `json:"id"`
	Type    OptNilString `json:"type"`
	IconUrl OptNilString `json:"iconUrl"`
	Img     OptNilString `json:"img"`
	Tier    OptTier      `json:"tier"`
}

Ref: #/components/schemas/SearchResultItem

func (*SearchResultItem) Decode

func (s *SearchResultItem) Decode(d *jx.Decoder) error

Decode decodes SearchResultItem from json.

func (*SearchResultItem) Encode

func (s *SearchResultItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SearchResultItem) GetID

func (s *SearchResultItem) GetID() OptNilString

GetID returns the value of ID.

func (*SearchResultItem) GetIconUrl

func (s *SearchResultItem) GetIconUrl() OptNilString

GetIconUrl returns the value of IconUrl.

func (*SearchResultItem) GetImg

func (s *SearchResultItem) GetImg() OptNilString

GetImg returns the value of Img.

func (*SearchResultItem) GetName

func (s *SearchResultItem) GetName() OptNilString

GetName returns the value of Name.

func (*SearchResultItem) GetTier

func (s *SearchResultItem) GetTier() OptTier

GetTier returns the value of Tier.

func (*SearchResultItem) GetType

func (s *SearchResultItem) GetType() OptNilString

GetType returns the value of Type.

func (*SearchResultItem) MarshalJSON

func (s *SearchResultItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SearchResultItem) SetID

func (s *SearchResultItem) SetID(val OptNilString)

SetID sets the value of ID.

func (*SearchResultItem) SetIconUrl

func (s *SearchResultItem) SetIconUrl(val OptNilString)

SetIconUrl sets the value of IconUrl.

func (*SearchResultItem) SetImg

func (s *SearchResultItem) SetImg(val OptNilString)

SetImg sets the value of Img.

func (*SearchResultItem) SetName

func (s *SearchResultItem) SetName(val OptNilString)

SetName sets the value of Name.

func (*SearchResultItem) SetTier

func (s *SearchResultItem) SetTier(val OptTier)

SetTier sets the value of Tier.

func (*SearchResultItem) SetType

func (s *SearchResultItem) SetType(val OptNilString)

SetType sets the value of Type.

func (*SearchResultItem) UnmarshalJSON

func (s *SearchResultItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SearchResultItem) Validate

func (s *SearchResultItem) Validate() error

type SellOrder

type SellOrder struct {
	Amount       OptInt32   `json:"amount"`
	PricePerUnit OptFloat64 `json:"pricePerUnit"`
	Orders       OptInt32   `json:"orders"`
}

Ref: #/components/schemas/SellOrder

func (*SellOrder) Decode

func (s *SellOrder) Decode(d *jx.Decoder) error

Decode decodes SellOrder from json.

func (*SellOrder) Encode

func (s *SellOrder) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SellOrder) GetAmount

func (s *SellOrder) GetAmount() OptInt32

GetAmount returns the value of Amount.

func (*SellOrder) GetOrders

func (s *SellOrder) GetOrders() OptInt32

GetOrders returns the value of Orders.

func (*SellOrder) GetPricePerUnit

func (s *SellOrder) GetPricePerUnit() OptFloat64

GetPricePerUnit returns the value of PricePerUnit.

func (*SellOrder) MarshalJSON

func (s *SellOrder) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SellOrder) SetAmount

func (s *SellOrder) SetAmount(val OptInt32)

SetAmount sets the value of Amount.

func (*SellOrder) SetOrders

func (s *SellOrder) SetOrders(val OptInt32)

SetOrders sets the value of Orders.

func (*SellOrder) SetPricePerUnit

func (s *SellOrder) SetPricePerUnit(val OptFloat64)

SetPricePerUnit sets the value of PricePerUnit.

func (*SellOrder) UnmarshalJSON

func (s *SellOrder) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SellOrder) Validate

func (s *SellOrder) Validate() error

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server implements http server based on OpenAPI v3 specification and calls Handler to handle requests.

func NewServer

func NewServer(h Handler, opts ...ServerOption) (*Server, error)

NewServer creates new Server.

func (*Server) FindPath

func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool)

FindPath finds Route for given method and URL.

func (*Server) FindRoute

func (s *Server) FindRoute(method, path string) (Route, bool)

FindRoute finds Route for given method and path.

Note: this method does not unescape path or handle reserved characters in path properly. Use FindPath instead.

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP serves http request as defined by OpenAPI v3 specification, calling handler that matches the path or returning not found error.

type ServerOption

type ServerOption interface {
	// contains filtered or unexported methods
}

ServerOption is server config option.

func WithErrorHandler

func WithErrorHandler(h ErrorHandler) ServerOption

WithErrorHandler specifies error handler to use.

func WithMaxMultipartMemory

func WithMaxMultipartMemory(max int64) ServerOption

WithMaxMultipartMemory specifies limit of memory for storing file parts. File parts which can't be stored in memory will be stored on disk in temporary files.

func WithMethodNotAllowed

func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption

WithMethodNotAllowed specifies Method Not Allowed handler to use.

func WithMiddleware

func WithMiddleware(m ...Middleware) ServerOption

WithMiddleware specifies middlewares to use.

func WithNotFound

func WithNotFound(notFound http.HandlerFunc) ServerOption

WithNotFound specifies Not Found handler to use.

func WithPathPrefix

func WithPathPrefix(prefix string) ServerOption

WithPathPrefix specifies server path prefix.

type SkyblockItem

type SkyblockItem struct {
	NpcSellPrice  OptFloat32      `json:"npcSellPrice"`
	MinecraftType OptNilString    `json:"minecraftType"`
	IconUrl       OptNilString    `json:"iconUrl"`
	Name          OptNilString    `json:"name"`
	Tag           OptNilString    `json:"tag"`
	Flags         OptItemFlags    `json:"flags"`
	Tier          OptTier         `json:"tier"`
	Category      OptItemCategory `json:"category"`
}

Ref: #/components/schemas/SkyblockItem

func (*SkyblockItem) Decode

func (s *SkyblockItem) Decode(d *jx.Decoder) error

Decode decodes SkyblockItem from json.

func (*SkyblockItem) Encode

func (s *SkyblockItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SkyblockItem) GetCategory

func (s *SkyblockItem) GetCategory() OptItemCategory

GetCategory returns the value of Category.

func (*SkyblockItem) GetFlags

func (s *SkyblockItem) GetFlags() OptItemFlags

GetFlags returns the value of Flags.

func (*SkyblockItem) GetIconUrl

func (s *SkyblockItem) GetIconUrl() OptNilString

GetIconUrl returns the value of IconUrl.

func (*SkyblockItem) GetMinecraftType

func (s *SkyblockItem) GetMinecraftType() OptNilString

GetMinecraftType returns the value of MinecraftType.

func (*SkyblockItem) GetName

func (s *SkyblockItem) GetName() OptNilString

GetName returns the value of Name.

func (*SkyblockItem) GetNpcSellPrice

func (s *SkyblockItem) GetNpcSellPrice() OptFloat32

GetNpcSellPrice returns the value of NpcSellPrice.

func (*SkyblockItem) GetTag

func (s *SkyblockItem) GetTag() OptNilString

GetTag returns the value of Tag.

func (*SkyblockItem) GetTier

func (s *SkyblockItem) GetTier() OptTier

GetTier returns the value of Tier.

func (*SkyblockItem) MarshalJSON

func (s *SkyblockItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SkyblockItem) SetCategory

func (s *SkyblockItem) SetCategory(val OptItemCategory)

SetCategory sets the value of Category.

func (*SkyblockItem) SetFlags

func (s *SkyblockItem) SetFlags(val OptItemFlags)

SetFlags sets the value of Flags.

func (*SkyblockItem) SetIconUrl

func (s *SkyblockItem) SetIconUrl(val OptNilString)

SetIconUrl sets the value of IconUrl.

func (*SkyblockItem) SetMinecraftType

func (s *SkyblockItem) SetMinecraftType(val OptNilString)

SetMinecraftType sets the value of MinecraftType.

func (*SkyblockItem) SetName

func (s *SkyblockItem) SetName(val OptNilString)

SetName sets the value of Name.

func (*SkyblockItem) SetNpcSellPrice

func (s *SkyblockItem) SetNpcSellPrice(val OptFloat32)

SetNpcSellPrice sets the value of NpcSellPrice.

func (*SkyblockItem) SetTag

func (s *SkyblockItem) SetTag(val OptNilString)

SetTag sets the value of Tag.

func (*SkyblockItem) SetTier

func (s *SkyblockItem) SetTier(val OptTier)

SetTier sets the value of Tier.

func (*SkyblockItem) UnmarshalJSON

func (s *SkyblockItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SkyblockItem) Validate

func (s *SkyblockItem) Validate() error

type StorageQuickStatus

type StorageQuickStatus struct {
	ProductId       OptNilString         `json:"productId"`
	BuyPrice        OptFloat64           `json:"buyPrice"`
	BuyVolume       OptInt64             `json:"buyVolume"`
	BuyMovingWeek   OptInt64             `json:"buyMovingWeek"`
	BuyOrdersCount  OptInt32             `json:"buyOrdersCount"`
	SellPrice       OptFloat64           `json:"sellPrice"`
	SellVolume      OptInt64             `json:"sellVolume"`
	SellMovingWeek  OptInt64             `json:"sellMovingWeek"`
	SellOrdersCount OptInt32             `json:"sellOrdersCount"`
	TimeStamp       OptDateTime          `json:"timeStamp"`
	BuyOrders       OptNilBuyOrderArray  `json:"buyOrders"`
	SellOrders      OptNilSellOrderArray `json:"sellOrders"`
}

Ref: #/components/schemas/StorageQuickStatus

func (*StorageQuickStatus) Decode

func (s *StorageQuickStatus) Decode(d *jx.Decoder) error

Decode decodes StorageQuickStatus from json.

func (*StorageQuickStatus) Encode

func (s *StorageQuickStatus) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*StorageQuickStatus) GetBuyMovingWeek

func (s *StorageQuickStatus) GetBuyMovingWeek() OptInt64

GetBuyMovingWeek returns the value of BuyMovingWeek.

func (*StorageQuickStatus) GetBuyOrders

func (s *StorageQuickStatus) GetBuyOrders() OptNilBuyOrderArray

GetBuyOrders returns the value of BuyOrders.

func (*StorageQuickStatus) GetBuyOrdersCount

func (s *StorageQuickStatus) GetBuyOrdersCount() OptInt32

GetBuyOrdersCount returns the value of BuyOrdersCount.

func (*StorageQuickStatus) GetBuyPrice

func (s *StorageQuickStatus) GetBuyPrice() OptFloat64

GetBuyPrice returns the value of BuyPrice.

func (*StorageQuickStatus) GetBuyVolume

func (s *StorageQuickStatus) GetBuyVolume() OptInt64

GetBuyVolume returns the value of BuyVolume.

func (*StorageQuickStatus) GetProductId

func (s *StorageQuickStatus) GetProductId() OptNilString

GetProductId returns the value of ProductId.

func (*StorageQuickStatus) GetSellMovingWeek

func (s *StorageQuickStatus) GetSellMovingWeek() OptInt64

GetSellMovingWeek returns the value of SellMovingWeek.

func (*StorageQuickStatus) GetSellOrders

func (s *StorageQuickStatus) GetSellOrders() OptNilSellOrderArray

GetSellOrders returns the value of SellOrders.

func (*StorageQuickStatus) GetSellOrdersCount

func (s *StorageQuickStatus) GetSellOrdersCount() OptInt32

GetSellOrdersCount returns the value of SellOrdersCount.

func (*StorageQuickStatus) GetSellPrice

func (s *StorageQuickStatus) GetSellPrice() OptFloat64

GetSellPrice returns the value of SellPrice.

func (*StorageQuickStatus) GetSellVolume

func (s *StorageQuickStatus) GetSellVolume() OptInt64

GetSellVolume returns the value of SellVolume.

func (*StorageQuickStatus) GetTimeStamp

func (s *StorageQuickStatus) GetTimeStamp() OptDateTime

GetTimeStamp returns the value of TimeStamp.

func (*StorageQuickStatus) MarshalJSON

func (s *StorageQuickStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StorageQuickStatus) SetBuyMovingWeek

func (s *StorageQuickStatus) SetBuyMovingWeek(val OptInt64)

SetBuyMovingWeek sets the value of BuyMovingWeek.

func (*StorageQuickStatus) SetBuyOrders

func (s *StorageQuickStatus) SetBuyOrders(val OptNilBuyOrderArray)

SetBuyOrders sets the value of BuyOrders.

func (*StorageQuickStatus) SetBuyOrdersCount

func (s *StorageQuickStatus) SetBuyOrdersCount(val OptInt32)

SetBuyOrdersCount sets the value of BuyOrdersCount.

func (*StorageQuickStatus) SetBuyPrice

func (s *StorageQuickStatus) SetBuyPrice(val OptFloat64)

SetBuyPrice sets the value of BuyPrice.

func (*StorageQuickStatus) SetBuyVolume

func (s *StorageQuickStatus) SetBuyVolume(val OptInt64)

SetBuyVolume sets the value of BuyVolume.

func (*StorageQuickStatus) SetProductId

func (s *StorageQuickStatus) SetProductId(val OptNilString)

SetProductId sets the value of ProductId.

func (*StorageQuickStatus) SetSellMovingWeek

func (s *StorageQuickStatus) SetSellMovingWeek(val OptInt64)

SetSellMovingWeek sets the value of SellMovingWeek.

func (*StorageQuickStatus) SetSellOrders

func (s *StorageQuickStatus) SetSellOrders(val OptNilSellOrderArray)

SetSellOrders sets the value of SellOrders.

func (*StorageQuickStatus) SetSellOrdersCount

func (s *StorageQuickStatus) SetSellOrdersCount(val OptInt32)

SetSellOrdersCount sets the value of SellOrdersCount.

func (*StorageQuickStatus) SetSellPrice

func (s *StorageQuickStatus) SetSellPrice(val OptFloat64)

SetSellPrice sets the value of SellPrice.

func (*StorageQuickStatus) SetSellVolume

func (s *StorageQuickStatus) SetSellVolume(val OptInt64)

SetSellVolume sets the value of SellVolume.

func (*StorageQuickStatus) SetTimeStamp

func (s *StorageQuickStatus) SetTimeStamp(val OptDateTime)

SetTimeStamp sets the value of TimeStamp.

func (*StorageQuickStatus) UnmarshalJSON

func (s *StorageQuickStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*StorageQuickStatus) Validate

func (s *StorageQuickStatus) Validate() error

type SupplyElement

type SupplyElement struct {
	// Item Tag of the time.
	Tag OptNilString `json:"tag"`
	// How much supply there is on the ah.
	Supply OptInt64 `json:"supply"`
	// Median sell price.
	Median   OptInt64       `json:"median"`
	LbinData OptBinResponse `json:"lbinData"`
	// The average amount of sells in 24 hours.
	Volume OptFloat64 `json:"volume"`
}

Element for the /lowSupply page. Ref: #/components/schemas/SupplyElement

func (*SupplyElement) Decode

func (s *SupplyElement) Decode(d *jx.Decoder) error

Decode decodes SupplyElement from json.

func (*SupplyElement) Encode

func (s *SupplyElement) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SupplyElement) GetLbinData

func (s *SupplyElement) GetLbinData() OptBinResponse

GetLbinData returns the value of LbinData.

func (*SupplyElement) GetMedian

func (s *SupplyElement) GetMedian() OptInt64

GetMedian returns the value of Median.

func (*SupplyElement) GetSupply

func (s *SupplyElement) GetSupply() OptInt64

GetSupply returns the value of Supply.

func (*SupplyElement) GetTag

func (s *SupplyElement) GetTag() OptNilString

GetTag returns the value of Tag.

func (*SupplyElement) GetVolume

func (s *SupplyElement) GetVolume() OptFloat64

GetVolume returns the value of Volume.

func (*SupplyElement) MarshalJSON

func (s *SupplyElement) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SupplyElement) SetLbinData

func (s *SupplyElement) SetLbinData(val OptBinResponse)

SetLbinData sets the value of LbinData.

func (*SupplyElement) SetMedian

func (s *SupplyElement) SetMedian(val OptInt64)

SetMedian sets the value of Median.

func (*SupplyElement) SetSupply

func (s *SupplyElement) SetSupply(val OptInt64)

SetSupply sets the value of Supply.

func (*SupplyElement) SetTag

func (s *SupplyElement) SetTag(val OptNilString)

SetTag sets the value of Tag.

func (*SupplyElement) SetVolume

func (s *SupplyElement) SetVolume(val OptFloat64)

SetVolume sets the value of Volume.

func (*SupplyElement) UnmarshalJSON

func (s *SupplyElement) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SupplyElement) Validate

func (s *SupplyElement) Validate() error

type Tier

type Tier string

Ref: #/components/schemas/Tier

const (
	TierUNKNOWN     Tier = "UNKNOWN"
	TierCOMMON      Tier = "COMMON"
	TierUNCOMMON    Tier = "UNCOMMON"
	TierRARE        Tier = "RARE"
	TierEPIC        Tier = "EPIC"
	TierLEGENDARY   Tier = "LEGENDARY"
	TierSPECIAL     Tier = "SPECIAL"
	TierVERYSPECIAL Tier = "VERY_SPECIAL"
	TierMYTHIC      Tier = "MYTHIC"
	TierSUPREME     Tier = "SUPREME"
)

func (*Tier) Decode

func (s *Tier) Decode(d *jx.Decoder) error

Decode decodes Tier from json.

func (Tier) Encode

func (s Tier) Encode(e *jx.Encoder)

Encode encodes Tier as json.

func (Tier) MarshalJSON

func (s Tier) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (Tier) MarshalText

func (s Tier) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*Tier) UnmarshalJSON

func (s *Tier) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Tier) UnmarshalText

func (s *Tier) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (Tier) Validate

func (s Tier) Validate() error

type TopUpArguments

type TopUpArguments struct {
	// A specific amount of coins to topup.
	CoinAmount OptInt32 `json:"coinAmount"`
	// The url to redirect to after successful payment.
	SuccessUrl OptNilString `json:"successUrl"`
	// The url to redirect to when user aborts payment.
	CancelUrl OptNilString `json:"cancelUrl"`
}

Additional arguments for a topup. Ref: #/components/schemas/TopUpArguments

func (*TopUpArguments) Decode

func (s *TopUpArguments) Decode(d *jx.Decoder) error

Decode decodes TopUpArguments from json.

func (*TopUpArguments) Encode

func (s *TopUpArguments) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TopUpArguments) GetCancelUrl

func (s *TopUpArguments) GetCancelUrl() OptNilString

GetCancelUrl returns the value of CancelUrl.

func (*TopUpArguments) GetCoinAmount

func (s *TopUpArguments) GetCoinAmount() OptInt32

GetCoinAmount returns the value of CoinAmount.

func (*TopUpArguments) GetSuccessUrl

func (s *TopUpArguments) GetSuccessUrl() OptNilString

GetSuccessUrl returns the value of SuccessUrl.

func (*TopUpArguments) MarshalJSON

func (s *TopUpArguments) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TopUpArguments) SetCancelUrl

func (s *TopUpArguments) SetCancelUrl(val OptNilString)

SetCancelUrl sets the value of CancelUrl.

func (*TopUpArguments) SetCoinAmount

func (s *TopUpArguments) SetCoinAmount(val OptInt32)

SetCoinAmount sets the value of CoinAmount.

func (*TopUpArguments) SetSuccessUrl

func (s *TopUpArguments) SetSuccessUrl(val OptNilString)

SetSuccessUrl sets the value of SuccessUrl.

func (*TopUpArguments) UnmarshalJSON

func (s *TopUpArguments) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TopUpProduct

type TopUpProduct struct {
	Type             OptProductType `json:"type"`
	Price            OptFloat64     `json:"price"`
	CurrencyCode     OptNilString   `json:"currencyCode"`
	ProviderSlug     OptNilString   `json:"providerSlug"`
	ID               OptInt32       `json:"id"`
	Title            OptNilString   `json:"title"`
	Slug             OptNilString   `json:"slug"`
	Description      OptNilString   `json:"description"`
	Cost             OptFloat64     `json:"cost"`
	OwnershipSeconds OptInt64       `json:"ownershipSeconds"`
}

Ref: #/components/schemas/TopUpProduct

func (*TopUpProduct) Decode

func (s *TopUpProduct) Decode(d *jx.Decoder) error

Decode decodes TopUpProduct from json.

func (*TopUpProduct) Encode

func (s *TopUpProduct) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TopUpProduct) GetCost

func (s *TopUpProduct) GetCost() OptFloat64

GetCost returns the value of Cost.

func (*TopUpProduct) GetCurrencyCode

func (s *TopUpProduct) GetCurrencyCode() OptNilString

GetCurrencyCode returns the value of CurrencyCode.

func (*TopUpProduct) GetDescription

func (s *TopUpProduct) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*TopUpProduct) GetID

func (s *TopUpProduct) GetID() OptInt32

GetID returns the value of ID.

func (*TopUpProduct) GetOwnershipSeconds

func (s *TopUpProduct) GetOwnershipSeconds() OptInt64

GetOwnershipSeconds returns the value of OwnershipSeconds.

func (*TopUpProduct) GetPrice

func (s *TopUpProduct) GetPrice() OptFloat64

GetPrice returns the value of Price.

func (*TopUpProduct) GetProviderSlug

func (s *TopUpProduct) GetProviderSlug() OptNilString

GetProviderSlug returns the value of ProviderSlug.

func (*TopUpProduct) GetSlug

func (s *TopUpProduct) GetSlug() OptNilString

GetSlug returns the value of Slug.

func (*TopUpProduct) GetTitle

func (s *TopUpProduct) GetTitle() OptNilString

GetTitle returns the value of Title.

func (*TopUpProduct) GetType

func (s *TopUpProduct) GetType() OptProductType

GetType returns the value of Type.

func (*TopUpProduct) MarshalJSON

func (s *TopUpProduct) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TopUpProduct) SetCost

func (s *TopUpProduct) SetCost(val OptFloat64)

SetCost sets the value of Cost.

func (*TopUpProduct) SetCurrencyCode

func (s *TopUpProduct) SetCurrencyCode(val OptNilString)

SetCurrencyCode sets the value of CurrencyCode.

func (*TopUpProduct) SetDescription

func (s *TopUpProduct) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*TopUpProduct) SetID

func (s *TopUpProduct) SetID(val OptInt32)

SetID sets the value of ID.

func (*TopUpProduct) SetOwnershipSeconds

func (s *TopUpProduct) SetOwnershipSeconds(val OptInt64)

SetOwnershipSeconds sets the value of OwnershipSeconds.

func (*TopUpProduct) SetPrice

func (s *TopUpProduct) SetPrice(val OptFloat64)

SetPrice sets the value of Price.

func (*TopUpProduct) SetProviderSlug

func (s *TopUpProduct) SetProviderSlug(val OptNilString)

SetProviderSlug sets the value of ProviderSlug.

func (*TopUpProduct) SetSlug

func (s *TopUpProduct) SetSlug(val OptNilString)

SetSlug sets the value of Slug.

func (*TopUpProduct) SetTitle

func (s *TopUpProduct) SetTitle(val OptNilString)

SetTitle sets the value of Title.

func (*TopUpProduct) SetType

func (s *TopUpProduct) SetType(val OptProductType)

SetType sets the value of Type.

func (*TopUpProduct) UnmarshalJSON

func (s *TopUpProduct) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TopUpProduct) Validate

func (s *TopUpProduct) Validate() error

type UUID

type UUID struct {
	ID    OptInt32     `json:"id"`
	Value OptNilString `json:"value"`
}

Ref: #/components/schemas/UuId

func (*UUID) Decode

func (s *UUID) Decode(d *jx.Decoder) error

Decode decodes UUID from json.

func (*UUID) Encode

func (s *UUID) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UUID) GetID

func (s *UUID) GetID() OptInt32

GetID returns the value of ID.

func (*UUID) GetValue

func (s *UUID) GetValue() OptNilString

GetValue returns the value of Value.

func (*UUID) MarshalJSON

func (s *UUID) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UUID) SetID

func (s *UUID) SetID(val OptInt32)

SetID sets the value of ID.

func (*UUID) SetValue

func (s *UUID) SetValue(val OptNilString)

SetValue sets the value of Value.

func (*UUID) UnmarshalJSON

func (s *UUID) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UnimplementedHandler

type UnimplementedHandler struct{}

UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.

func (UnimplementedHandler) APIAuctionAuctionUuidGet

func (UnimplementedHandler) APIAuctionAuctionUuidGet(ctx context.Context, params APIAuctionAuctionUuidGetParams) (r *ColorSaveAuction, _ error)

APIAuctionAuctionUuidGet implements GET /api/auction/{auctionUuid} operation.

Retrieve details of a specific auction.

GET /api/auction/{auctionUuid}

func (UnimplementedHandler) APIAuctionAuctionUuidUIDGet

APIAuctionAuctionUuidUIDGet implements GET /api/auction/{auctionUuid}/uid operation.

Retrieve the uid of an auction (mainly a helper to get the lookup id for another service).

GET /api/auction/{auctionUuid}/uid

func (UnimplementedHandler) APIAuctionsActiveUUIDPost

func (UnimplementedHandler) APIAuctionsActiveUUIDPost(ctx context.Context, req []string) (r []string, _ error)

APIAuctionsActiveUUIDPost implements POST /api/auctions/active/uuid operation.

Checks an array of item uuids if they are active on the ah.

POST /api/auctions/active/uuid

func (UnimplementedHandler) APIAuctionsBatchGet

func (UnimplementedHandler) APIAuctionsBatchGet(ctx context.Context, params APIAuctionsBatchGetParams) error

APIAuctionsBatchGet implements GET /api/auctions/batch operation.

Batch raw item value export, requires token.

GET /api/auctions/batch

func (UnimplementedHandler) APIAuctionsSupplyLowGet

func (UnimplementedHandler) APIAuctionsSupplyLowGet(ctx context.Context) (r []SupplyElement, _ error)

APIAuctionsSupplyLowGet implements GET /api/auctions/supply/low operation.

Get items that are in low supply.

GET /api/auctions/supply/low

func (UnimplementedHandler) APIAuctionsTagItemTagActiveBinGet

func (UnimplementedHandler) APIAuctionsTagItemTagActiveBinGet(ctx context.Context, params APIAuctionsTagItemTagActiveBinGetParams) (r []SaveAuction, _ error)

APIAuctionsTagItemTagActiveBinGet implements GET /api/auctions/tag/{itemTag}/active/bin operation.

Get the 10 (or how many are available) lowest bins.

GET /api/auctions/tag/{itemTag}/active/bin

func (UnimplementedHandler) APIAuctionsTagItemTagActiveOverviewGet

func (UnimplementedHandler) APIAuctionsTagItemTagActiveOverviewGet(ctx context.Context, params APIAuctionsTagItemTagActiveOverviewGetParams) (r []AuctionPreview, _ error)

APIAuctionsTagItemTagActiveOverviewGet implements GET /api/auctions/tag/{itemTag}/active/overview operation.

Gets a preview of active auctions useful in overviews, available orderBy options HIGHEST_PRICE, LOWEST_PRICE (default), ENDING_SOON.

GET /api/auctions/tag/{itemTag}/active/overview

func (UnimplementedHandler) APIAuctionsTagItemTagRecentOverviewGet

func (UnimplementedHandler) APIAuctionsTagItemTagRecentOverviewGet(ctx context.Context, params APIAuctionsTagItemTagRecentOverviewGetParams) (r []AuctionPreview, _ error)

APIAuctionsTagItemTagRecentOverviewGet implements GET /api/auctions/tag/{itemTag}/recent/overview operation.

Gets a preview of recent auctions useful in overviews.

GET /api/auctions/tag/{itemTag}/recent/overview

func (UnimplementedHandler) APIAuctionsTagItemTagSoldGet

func (UnimplementedHandler) APIAuctionsTagItemTagSoldGet(ctx context.Context, params APIAuctionsTagItemTagSoldGetParams) (r []SaveAuction, _ error)

APIAuctionsTagItemTagSoldGet implements GET /api/auctions/tag/{itemTag}/sold operation.

Get a batch of 1000 auctions that sold in the last week for any kind of processing. Please credit us with providing data for whatever you are doing. You can also manually request a review to get older data on the discord.

GET /api/auctions/tag/{itemTag}/sold

func (UnimplementedHandler) APIAuctionsUIDUIDSoldGet

func (UnimplementedHandler) APIAuctionsUIDUIDSoldGet(ctx context.Context, params APIAuctionsUIDUIDSoldGetParams) (r []ItemSell, _ error)

APIAuctionsUIDUIDSoldGet implements GET /api/auctions/uid/{uid}/sold operation.

Gets all recorded past sells of an item with a specific uuid meant for dupe detection.

GET /api/auctions/uid/{uid}/sold

func (UnimplementedHandler) APIAuctionsUidsSoldPost

func (UnimplementedHandler) APIAuctionsUidsSoldPost(ctx context.Context, req *InventoryBatchLookup) error

APIAuctionsUidsSoldPost implements POST /api/auctions/uids/sold operation.

Gets all recorded past sells of a batch of items by uuid meant for dupe detection of whole inventories.

POST /api/auctions/uids/sold

func (UnimplementedHandler) APIBazaarItemHistoryItemTagStatusGet deprecated

APIBazaarItemHistoryItemTagStatusGet implements GET /api/bazaar/item/history/{itemTag}/status operation.

Returns bazaar history.

Deprecated: schema marks this operation as deprecated.

GET /api/bazaar/item/history/{itemTag}/status

func (UnimplementedHandler) APIBazaarItemTagHistoryDayGet

func (UnimplementedHandler) APIBazaarItemTagHistoryDayGet(ctx context.Context, params APIBazaarItemTagHistoryDayGetParams) (r []GraphResult, _ error)

APIBazaarItemTagHistoryDayGet implements GET /api/bazaar/{itemTag}/history/day operation.

Gets the history data for display in a graph for one day ( in intervalls of 5 minutes).

GET /api/bazaar/{itemTag}/history/day

func (UnimplementedHandler) APIBazaarItemTagHistoryGet

func (UnimplementedHandler) APIBazaarItemTagHistoryGet(ctx context.Context, params APIBazaarItemTagHistoryGetParams) (r []GraphResult, _ error)

APIBazaarItemTagHistoryGet implements GET /api/bazaar/{itemTag}/history operation.

Gets the history data for display in a graph.

GET /api/bazaar/{itemTag}/history

func (UnimplementedHandler) APIBazaarItemTagHistoryHourGet

func (UnimplementedHandler) APIBazaarItemTagHistoryHourGet(ctx context.Context, params APIBazaarItemTagHistoryHourGetParams) (r []GraphResult, _ error)

APIBazaarItemTagHistoryHourGet implements GET /api/bazaar/{itemTag}/history/hour operation.

Gets the history data for display in a graph for one hour ( in intervalls of 10 seconds).

GET /api/bazaar/{itemTag}/history/hour

func (UnimplementedHandler) APIBazaarItemTagHistoryWeekGet

func (UnimplementedHandler) APIBazaarItemTagHistoryWeekGet(ctx context.Context, params APIBazaarItemTagHistoryWeekGetParams) (r []GraphResult, _ error)

APIBazaarItemTagHistoryWeekGet implements GET /api/bazaar/{itemTag}/history/week operation.

Gets the history data for display in a graph for one week ( in intervalls of 2 hours).

GET /api/bazaar/{itemTag}/history/week

func (UnimplementedHandler) APIBazaarItemTagSnapshotGet

func (UnimplementedHandler) APIBazaarItemTagSnapshotGet(ctx context.Context, params APIBazaarItemTagSnapshotGetParams) (r *StorageQuickStatus, _ error)

APIBazaarItemTagSnapshotGet implements GET /api/bazaar/{itemTag}/snapshot operation.

Gets a snapshot of a specific item at a specific time.

GET /api/bazaar/{itemTag}/snapshot

func (UnimplementedHandler) APICraftAPICraftGet

func (UnimplementedHandler) APICraftAPICraftGet(ctx context.Context) error

APICraftAPICraftGet implements GET /api/craft/api/craft operation.

Returns the crafting recipe for some item.

GET /api/craft/api/craft

func (UnimplementedHandler) APICraftProfitGet

func (UnimplementedHandler) APICraftProfitGet(ctx context.Context, params APICraftProfitGetParams) (r []ProfitableCraft, _ error)

APICraftProfitGet implements GET /api/craft/profit operation.

Craft flips.

GET /api/craft/profit

func (UnimplementedHandler) APICraftRecipeItemTagGet

func (UnimplementedHandler) APICraftRecipeItemTagGet(ctx context.Context, params APICraftRecipeItemTagGetParams) error

APICraftRecipeItemTagGet implements GET /api/craft/recipe/{itemTag} operation.

Returns the crafting recipe for some item.

GET /api/craft/recipe/{itemTag}

func (UnimplementedHandler) APIDataPlayerNamePost

APIDataPlayerNamePost implements POST /api/data/playerName operation.

Accepts player name based auction hints.

POST /api/data/playerName

func (UnimplementedHandler) APIDataPlayerNamesPost

func (UnimplementedHandler) APIDataPlayerNamesPost(ctx context.Context, req []string) (r []Int32Int64ValueTuple, _ error)

APIDataPlayerNamesPost implements POST /api/data/playerNames operation.

Accepts player name based auction hints.

POST /api/data/playerNames

func (UnimplementedHandler) APIDataProxyPost

func (UnimplementedHandler) APIDataProxyPost(ctx context.Context) (r APIDataProxyPostRes, _ error)

APIDataProxyPost implements POST /api/data/proxy operation.

Endpoint to upload proxied data.

POST /api/data/proxy

func (UnimplementedHandler) APIFilterOptionsGet

func (UnimplementedHandler) APIFilterOptionsGet(ctx context.Context, params APIFilterOptionsGetParams) (r []FilterOptions, _ error)

APIFilterOptionsGet implements GET /api/filter/options operation.

Returns all available filters with all available options.

GET /api/filter/options

func (UnimplementedHandler) APIFilterPost

func (UnimplementedHandler) APIFilterPost(ctx context.Context, req *FilterQuery) (r bool, _ error)

APIFilterPost implements POST /api/Filter operation.

POST /api/Filter

func (UnimplementedHandler) APIFlipSettingsOptionsGet

func (UnimplementedHandler) APIFlipSettingsOptionsGet(ctx context.Context) (r *FlipSettings, _ error)

APIFlipSettingsOptionsGet implements GET /api/flip/settings/options operation.

Shows you the available settings options for the socket comand subFlip, Doesn't currently actually do anything.

GET /api/flip/settings/options

func (UnimplementedHandler) APIFlipStatsFinderFinderNameGet

func (UnimplementedHandler) APIFlipStatsFinderFinderNameGet(ctx context.Context, params APIFlipStatsFinderFinderNameGetParams) (r []FlipDetails, _ error)

APIFlipStatsFinderFinderNameGet implements GET /api/flip/stats/finder/{finderName} operation.

Get flips stats for one type of flip finder.

GET /api/flip/stats/finder/{finderName}

func (UnimplementedHandler) APIFlipStatsPlayerPlayerUuidGet

func (UnimplementedHandler) APIFlipStatsPlayerPlayerUuidGet(ctx context.Context, params APIFlipStatsPlayerPlayerUuidGetParams) (r *FlipSumary, _ error)

APIFlipStatsPlayerPlayerUuidGet implements GET /api/flip/stats/player/{playerUuid} operation.

Get flips stats for player.

GET /api/flip/stats/player/{playerUuid}

func (UnimplementedHandler) APIFlipStatsPlayerPlayerUuidHourGet

func (UnimplementedHandler) APIFlipStatsPlayerPlayerUuidHourGet(ctx context.Context, params APIFlipStatsPlayerPlayerUuidHourGetParams) (r *FlipSumary, _ error)

APIFlipStatsPlayerPlayerUuidHourGet implements GET /api/flip/stats/player/{playerUuid}/hour operation.

Get flips stats for player for the last hour (faster).

GET /api/flip/stats/player/{playerUuid}/hour

func (UnimplementedHandler) APIFlipTrackFoundAuctionIdPost

func (UnimplementedHandler) APIFlipTrackFoundAuctionIdPost(ctx context.Context, params APIFlipTrackFoundAuctionIdPostParams) error

APIFlipTrackFoundAuctionIdPost implements POST /api/flip/track/found/{auctionId} operation.

Callback for external flip finders to be included in tracking.

POST /api/flip/track/found/{auctionId}

func (UnimplementedHandler) APIFlipTrackPurchaseAuctionIdPost

func (UnimplementedHandler) APIFlipTrackPurchaseAuctionIdPost(ctx context.Context, params APIFlipTrackPurchaseAuctionIdPostParams) error

APIFlipTrackPurchaseAuctionIdPost implements POST /api/flip/track/purchase/{auctionId} operation.

Callback for external flip finders to be included in tracking.

POST /api/flip/track/purchase/{auctionId}

func (UnimplementedHandler) APIFlipUpdateWhenGet

func (UnimplementedHandler) APIFlipUpdateWhenGet(ctx context.Context) (r time.Time, _ error)

APIFlipUpdateWhenGet implements GET /api/flip/update/when operation.

The last time an update was loaded (cached for 30min) You should only look at the second part.

GET /api/flip/update/when

func (UnimplementedHandler) APIItemItemTagDetailsGet

func (UnimplementedHandler) APIItemItemTagDetailsGet(ctx context.Context, params APIItemItemTagDetailsGetParams) (r *SkyblockItem, _ error)

APIItemItemTagDetailsGet implements GET /api/item/{itemTag}/details operation.

Returns details about a specific item This gets updated once every hour.

GET /api/item/{itemTag}/details

func (UnimplementedHandler) APIItemItemTagSimilarGet

func (UnimplementedHandler) APIItemItemTagSimilarGet(ctx context.Context, params APIItemItemTagSimilarGetParams) (r []ItemPreview, _ error)

APIItemItemTagSimilarGet implements GET /api/item/{itemTag}/similar operation.

Other items related to some tag.

GET /api/item/{itemTag}/similar

func (UnimplementedHandler) APIItemPriceItemTagBinGet

func (UnimplementedHandler) APIItemPriceItemTagBinGet(ctx context.Context, params APIItemPriceItemTagBinGetParams) (r *BinResponse, _ error)

APIItemPriceItemTagBinGet implements GET /api/item/price/{itemTag}/bin operation.

Gets the lowest bin by item type.

GET /api/item/price/{itemTag}/bin

func (UnimplementedHandler) APIItemPriceItemTagCurrentGet

func (UnimplementedHandler) APIItemPriceItemTagCurrentGet(ctx context.Context, params APIItemPriceItemTagCurrentGetParams) (r *CurrentPrice, _ error)

APIItemPriceItemTagCurrentGet implements GET /api/item/price/{itemTag}/current operation.

Gets the current (latest known) price for an item and available quantity, supports items from bazaar and ah.

GET /api/item/price/{itemTag}/current

func (UnimplementedHandler) APIItemPriceItemTagGet

func (UnimplementedHandler) APIItemPriceItemTagGet(ctx context.Context, params APIItemPriceItemTagGetParams) (r *PriceSumary, _ error)

APIItemPriceItemTagGet implements GET /api/item/price/{itemTag} operation.

Aggregated sumary of item prices for the 3 last days.

GET /api/item/price/{itemTag}

func (UnimplementedHandler) APIItemPriceItemTagHistoryDayGet

func (UnimplementedHandler) APIItemPriceItemTagHistoryDayGet(ctx context.Context, params APIItemPriceItemTagHistoryDayGetParams) (r []AveragePrice, _ error)

APIItemPriceItemTagHistoryDayGet implements GET /api/item/price/{itemTag}/history/day operation.

Gets the price history for an item for the last 24 hours.

GET /api/item/price/{itemTag}/history/day

func (UnimplementedHandler) APIItemPriceItemTagHistoryFullGet

func (UnimplementedHandler) APIItemPriceItemTagHistoryFullGet(ctx context.Context, params APIItemPriceItemTagHistoryFullGetParams) (r []AveragePrice, _ error)

APIItemPriceItemTagHistoryFullGet implements GET /api/item/price/{itemTag}/history/full operation.

Gets the price history for an item for all time.

GET /api/item/price/{itemTag}/history/full

func (UnimplementedHandler) APIItemPriceItemTagHistoryMonthGet

func (UnimplementedHandler) APIItemPriceItemTagHistoryMonthGet(ctx context.Context, params APIItemPriceItemTagHistoryMonthGetParams) (r []AveragePrice, _ error)

APIItemPriceItemTagHistoryMonthGet implements GET /api/item/price/{itemTag}/history/month operation.

Gets the price history for an item for one month.

GET /api/item/price/{itemTag}/history/month

func (UnimplementedHandler) APIItemPriceItemTagHistoryWeekGet

func (UnimplementedHandler) APIItemPriceItemTagHistoryWeekGet(ctx context.Context, params APIItemPriceItemTagHistoryWeekGetParams) (r []AveragePrice, _ error)

APIItemPriceItemTagHistoryWeekGet implements GET /api/item/price/{itemTag}/history/week operation.

Gets the price history for an item for the last 7 days.

GET /api/item/price/{itemTag}/history/week

func (UnimplementedHandler) APIItemSearchSearchValGet

func (UnimplementedHandler) APIItemSearchSearchValGet(ctx context.Context, params APIItemSearchSearchValGetParams) (r []SearchResultItem, _ error)

APIItemSearchSearchValGet implements GET /api/item/search/{searchVal} operation.

Searches through all items, includes the rarity of items.

GET /api/item/search/{searchVal}

func (UnimplementedHandler) APIItemsBazaarTagsGet

func (UnimplementedHandler) APIItemsBazaarTagsGet(ctx context.Context) (r []string, _ error)

APIItemsBazaarTagsGet implements GET /api/items/bazaar/tags operation.

A list of item tags (hypixel ids) that are tradeable on bazaar This gets updated once every hour.

GET /api/items/bazaar/tags

func (UnimplementedHandler) APIItemsGet

func (UnimplementedHandler) APIItemsGet(ctx context.Context) (r []ItemMetadataElement, _ error)

APIItemsGet implements GET /api/items operation.

Get all item tags, names and wherever they are on ah or bazaar.

GET /api/items

func (UnimplementedHandler) APIItemsNamesPost

func (UnimplementedHandler) APIItemsNamesPost(ctx context.Context, req []string) error

APIItemsNamesPost implements POST /api/items/names operation.

Batch lookup names for item tags.

POST /api/items/names

func (UnimplementedHandler) APIKatDataGet

func (UnimplementedHandler) APIKatDataGet(ctx context.Context) (r []KatUpgradeCost, _ error)

APIKatDataGet implements GET /api/kat/data operation.

Raw data of upgrade cost.

GET /api/kat/data

func (UnimplementedHandler) APIKatProfitGet

func (UnimplementedHandler) APIKatProfitGet(ctx context.Context) (r []KatFlip, _ error)

APIKatProfitGet implements GET /api/kat/profit operation.

Kat flips.

GET /api/kat/profit

func (UnimplementedHandler) APIMayorGet

APIMayorGet implements GET /api/mayor operation.

Gets election data between two Timestamps.

GET /api/mayor

func (UnimplementedHandler) APIMayorYearGet

APIMayorYearGet implements GET /api/mayor/{year} operation.

Return Election results for a specific year.

GET /api/mayor/{year}

func (UnimplementedHandler) APIModCommandsGet

func (UnimplementedHandler) APIModCommandsGet(ctx context.Context) (r []CommandListEntry, _ error)

APIModCommandsGet implements GET /api/mod/commands operation.

Returns a list of available server-side commands.

GET /api/mod/commands

func (UnimplementedHandler) APIModDescriptionModificationsPost

APIModDescriptionModificationsPost implements POST /api/mod/description/modifications operation.

Returns a collection of modifications for each item passed.

POST /api/mod/description/modifications

func (UnimplementedHandler) APIModDescriptionPost

APIModDescriptionPost implements POST /api/mod/description operation.

Returns new descriptions for an array of items.

POST /api/mod/description

func (UnimplementedHandler) APIModItemUUIDGet

APIModItemUUIDGet implements GET /api/mod/item/{uuid} operation.

Returns extra information for an item.

GET /api/mod/item/{uuid}

func (UnimplementedHandler) APIPlayerPlayerUuidAuctionsGet

func (UnimplementedHandler) APIPlayerPlayerUuidAuctionsGet(ctx context.Context, params APIPlayerPlayerUuidAuctionsGetParams) (r []AuctionResult, _ error)

APIPlayerPlayerUuidAuctionsGet implements GET /api/player/{playerUuid}/auctions operation.

The last 10 auctions a player created.

GET /api/player/{playerUuid}/auctions

func (UnimplementedHandler) APIPlayerPlayerUuidBidsGet

func (UnimplementedHandler) APIPlayerPlayerUuidBidsGet(ctx context.Context, params APIPlayerPlayerUuidBidsGetParams) (r []BidResult, _ error)

APIPlayerPlayerUuidBidsGet implements GET /api/player/{playerUuid}/bids operation.

The last 10 bids (with auction) a player did.

GET /api/player/{playerUuid}/bids

func (UnimplementedHandler) APIPlayerPlayerUuidNameGet

APIPlayerPlayerUuidNameGet implements GET /api/player/{playerUuid}/name operation.

The name for a given uuid.

GET /api/player/{playerUuid}/name

func (UnimplementedHandler) APIPlayerPlayerUuidNamePost

APIPlayerPlayerUuidNamePost implements POST /api/player/{playerUuid}/name operation.

The name for a given uuid.

POST /api/player/{playerUuid}/name

func (UnimplementedHandler) APIPremiumPricesAdjustedPost

func (UnimplementedHandler) APIPremiumPricesAdjustedPost(ctx context.Context, req []string) error

APIPremiumPricesAdjustedPost implements POST /api/premium/prices/adjusted operation.

Get adjusted prices.

POST /api/premium/prices/adjusted

func (UnimplementedHandler) APIPremiumUserOwnsPost

func (UnimplementedHandler) APIPremiumUserOwnsPost(ctx context.Context, req []string) error

APIPremiumUserOwnsPost implements POST /api/premium/user/owns operation.

Get adjusted prices.

POST /api/premium/user/owns

func (UnimplementedHandler) APIPriceNbtPost

func (UnimplementedHandler) APIPriceNbtPost(ctx context.Context, req *InventoryData) (r []PriceEstimate, _ error)

APIPriceNbtPost implements POST /api/price/nbt operation.

Returns price estimations for nbt data (for in game mods) NOTE: THIS WILL BE A PAID FEATURE IN THE FUTURE.

POST /api/price/nbt

func (UnimplementedHandler) APIReferralInfoGet

func (UnimplementedHandler) APIReferralInfoGet(ctx context.Context) (r *ReferralInfo, _ error)

APIReferralInfoGet implements GET /api/referral/info operation.

Returns ReferralCode and statistics for the user.

GET /api/referral/info

func (UnimplementedHandler) APIReferralReferredByPost

func (UnimplementedHandler) APIReferralReferredByPost(ctx context.Context, req *ReferredBy) error

APIReferralReferredByPost implements POST /api/referral/referred/by operation.

Tells the backend that the user was referred by someone.

POST /api/referral/referred/by

func (UnimplementedHandler) APISearchPlayerPlayerNameGet

func (UnimplementedHandler) APISearchPlayerPlayerNameGet(ctx context.Context, params APISearchPlayerPlayerNameGetParams) (r []PlayerResult, _ error)

APISearchPlayerPlayerNameGet implements GET /api/search/player/{playerName} operation.

Search player.

GET /api/search/player/{playerName}

func (UnimplementedHandler) APISearchSearchValGet

func (UnimplementedHandler) APISearchSearchValGet(ctx context.Context, params APISearchSearchValGetParams) (r []SearchResultItem, _ error)

APISearchSearchValGet implements GET /api/search/{searchVal} operation.

Full search, includes item types, items (by uuid), players, auctions and enchantments.

GET /api/search/{searchVal}

func (UnimplementedHandler) APIServicePurchasePost

func (UnimplementedHandler) APIServicePurchasePost(ctx context.Context, req *PurchaseArgs) error

APIServicePurchasePost implements POST /api/service/purchase operation.

Purchase a service.

POST /api/service/purchase

func (UnimplementedHandler) APITopupOptionsGet

func (UnimplementedHandler) APITopupOptionsGet(ctx context.Context) (r []TopUpProduct, _ error)

APITopupOptionsGet implements GET /api/topup/options operation.

Products to top up.

GET /api/topup/options

func (UnimplementedHandler) APITopupPaypalProductSlugPost

func (UnimplementedHandler) APITopupPaypalProductSlugPost(ctx context.Context, req *TopUpArguments, params APITopupPaypalProductSlugPostParams) error

APITopupPaypalProductSlugPost implements POST /api/topup/paypal/{productSlug} operation.

Start a new topup session with paypal.

POST /api/topup/paypal/{productSlug}

func (UnimplementedHandler) APITopupStripeProductSlugPost

func (UnimplementedHandler) APITopupStripeProductSlugPost(ctx context.Context, req *TopUpArguments, params APITopupStripeProductSlugPostParams) error

APITopupStripeProductSlugPost implements POST /api/topup/stripe/{productSlug} operation.

Start a new topup session with stripe.

POST /api/topup/stripe/{productSlug}

func (UnimplementedHandler) APIUserPrivacyGet

func (UnimplementedHandler) APIUserPrivacyGet(ctx context.Context) (r *PrivacySettings, _ error)

APIUserPrivacyGet implements GET /api/user/privacy operation.

Get the users privacy settings (requires google token).

GET /api/user/privacy

func (UnimplementedHandler) APIUserPrivacyPost

func (UnimplementedHandler) APIUserPrivacyPost(ctx context.Context, req *PrivacySettings) error

APIUserPrivacyPost implements POST /api/user/privacy operation.

Update users privacy settings (requires google token).

POST /api/user/privacy

type VisibilitySettings

type VisibilitySettings struct {
	Cost               OptBool  `json:"cost"`
	EstProfit          OptBool  `json:"estProfit"`
	Lbin               OptBool  `json:"lbin"`
	Slbin              OptBool  `json:"slbin"`
	MedPrice           OptBool  `json:"medPrice"`
	Seller             OptBool  `json:"seller"`
	Volume             OptBool  `json:"volume"`
	ExtraFields        OptInt32 `json:"extraFields"`
	AvgSellTime        OptBool  `json:"avgSellTime"`
	ProfitPercent      OptBool  `json:"profitPercent"`
	Profit             OptBool  `json:"profit"`
	SellerOpenBtn      OptBool  `json:"sellerOpenBtn"`
	Lore               OptBool  `json:"lore"`
	Links              OptBool  `json:"links"`
	CopySuccessMessage OptBool  `json:"copySuccessMessage"`
	HideSold           OptBool  `json:"hideSold"`
}

Ref: #/components/schemas/VisibilitySettings

func (*VisibilitySettings) Decode

func (s *VisibilitySettings) Decode(d *jx.Decoder) error

Decode decodes VisibilitySettings from json.

func (*VisibilitySettings) Encode

func (s *VisibilitySettings) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*VisibilitySettings) GetAvgSellTime

func (s *VisibilitySettings) GetAvgSellTime() OptBool

GetAvgSellTime returns the value of AvgSellTime.

func (*VisibilitySettings) GetCopySuccessMessage

func (s *VisibilitySettings) GetCopySuccessMessage() OptBool

GetCopySuccessMessage returns the value of CopySuccessMessage.

func (*VisibilitySettings) GetCost

func (s *VisibilitySettings) GetCost() OptBool

GetCost returns the value of Cost.

func (*VisibilitySettings) GetEstProfit

func (s *VisibilitySettings) GetEstProfit() OptBool

GetEstProfit returns the value of EstProfit.

func (*VisibilitySettings) GetExtraFields

func (s *VisibilitySettings) GetExtraFields() OptInt32

GetExtraFields returns the value of ExtraFields.

func (*VisibilitySettings) GetHideSold

func (s *VisibilitySettings) GetHideSold() OptBool

GetHideSold returns the value of HideSold.

func (*VisibilitySettings) GetLbin

func (s *VisibilitySettings) GetLbin() OptBool

GetLbin returns the value of Lbin.

func (s *VisibilitySettings) GetLinks() OptBool

GetLinks returns the value of Links.

func (*VisibilitySettings) GetLore

func (s *VisibilitySettings) GetLore() OptBool

GetLore returns the value of Lore.

func (*VisibilitySettings) GetMedPrice

func (s *VisibilitySettings) GetMedPrice() OptBool

GetMedPrice returns the value of MedPrice.

func (*VisibilitySettings) GetProfit

func (s *VisibilitySettings) GetProfit() OptBool

GetProfit returns the value of Profit.

func (*VisibilitySettings) GetProfitPercent

func (s *VisibilitySettings) GetProfitPercent() OptBool

GetProfitPercent returns the value of ProfitPercent.

func (*VisibilitySettings) GetSeller

func (s *VisibilitySettings) GetSeller() OptBool

GetSeller returns the value of Seller.

func (*VisibilitySettings) GetSellerOpenBtn

func (s *VisibilitySettings) GetSellerOpenBtn() OptBool

GetSellerOpenBtn returns the value of SellerOpenBtn.

func (*VisibilitySettings) GetSlbin

func (s *VisibilitySettings) GetSlbin() OptBool

GetSlbin returns the value of Slbin.

func (*VisibilitySettings) GetVolume

func (s *VisibilitySettings) GetVolume() OptBool

GetVolume returns the value of Volume.

func (*VisibilitySettings) MarshalJSON

func (s *VisibilitySettings) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VisibilitySettings) SetAvgSellTime

func (s *VisibilitySettings) SetAvgSellTime(val OptBool)

SetAvgSellTime sets the value of AvgSellTime.

func (*VisibilitySettings) SetCopySuccessMessage

func (s *VisibilitySettings) SetCopySuccessMessage(val OptBool)

SetCopySuccessMessage sets the value of CopySuccessMessage.

func (*VisibilitySettings) SetCost

func (s *VisibilitySettings) SetCost(val OptBool)

SetCost sets the value of Cost.

func (*VisibilitySettings) SetEstProfit

func (s *VisibilitySettings) SetEstProfit(val OptBool)

SetEstProfit sets the value of EstProfit.

func (*VisibilitySettings) SetExtraFields

func (s *VisibilitySettings) SetExtraFields(val OptInt32)

SetExtraFields sets the value of ExtraFields.

func (*VisibilitySettings) SetHideSold

func (s *VisibilitySettings) SetHideSold(val OptBool)

SetHideSold sets the value of HideSold.

func (*VisibilitySettings) SetLbin

func (s *VisibilitySettings) SetLbin(val OptBool)

SetLbin sets the value of Lbin.

func (s *VisibilitySettings) SetLinks(val OptBool)

SetLinks sets the value of Links.

func (*VisibilitySettings) SetLore

func (s *VisibilitySettings) SetLore(val OptBool)

SetLore sets the value of Lore.

func (*VisibilitySettings) SetMedPrice

func (s *VisibilitySettings) SetMedPrice(val OptBool)

SetMedPrice sets the value of MedPrice.

func (*VisibilitySettings) SetProfit

func (s *VisibilitySettings) SetProfit(val OptBool)

SetProfit sets the value of Profit.

func (*VisibilitySettings) SetProfitPercent

func (s *VisibilitySettings) SetProfitPercent(val OptBool)

SetProfitPercent sets the value of ProfitPercent.

func (*VisibilitySettings) SetSeller

func (s *VisibilitySettings) SetSeller(val OptBool)

SetSeller sets the value of Seller.

func (*VisibilitySettings) SetSellerOpenBtn

func (s *VisibilitySettings) SetSellerOpenBtn(val OptBool)

SetSellerOpenBtn sets the value of SellerOpenBtn.

func (*VisibilitySettings) SetSlbin

func (s *VisibilitySettings) SetSlbin(val OptBool)

SetSlbin sets the value of Slbin.

func (*VisibilitySettings) SetVolume

func (s *VisibilitySettings) SetVolume(val OptBool)

SetVolume sets the value of Volume.

func (*VisibilitySettings) UnmarshalJSON

func (s *VisibilitySettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL