Documentation
¶
Overview ¶
Code generated by ogen, DO NOT EDIT.
Index ¶
- func WithServerURL(ctx context.Context, u *url.URL) context.Context
- type BaseAhPlayerIdPostOK
- type BaseAhPlayerIdPostParams
- type BaseKeyPostOK
- type BaseKeysPartyCountGetParams
- type Category
- type Client
- func (c *Client) APITimeGet(ctx context.Context) (time.Time, error)
- func (c *Client) BaseAhPlayerIdPost(ctx context.Context, params BaseAhPlayerIdPostParams) error
- func (c *Client) BaseKeyPost(ctx context.Context, request *KeyCreate) error
- func (c *Client) BaseKeysPartyCountGet(ctx context.Context, params BaseKeysPartyCountGetParams) (int32, error)
- func (c *Client) ProxyHypixelAhPlayerPlayerUuidGet(ctx context.Context, params ProxyHypixelAhPlayerPlayerUuidGetParams) ([]SaveAuction, error)
- func (c *Client) ProxyHypixelGet(ctx context.Context, params ProxyHypixelGetParams) (ProxyHypixelGetRes, error)
- func (c *Client) ProxyHypixelStatusGet(ctx context.Context) error
- func (c *Client) SkyblockAuctionsGet(ctx context.Context) (SkyblockAuctionsGetRes, error)
- func (c *Client) SkyblockAuctionsPost(ctx context.Context) (SkyblockAuctionsPostRes, error)
- type ClientOption
- type Enchantment
- func (s *Enchantment) Decode(d *jx.Decoder) error
- func (s *Enchantment) Encode(e *jx.Encoder)
- func (s *Enchantment) GetID() OptInt32
- func (s *Enchantment) GetItemType() OptInt32
- func (s *Enchantment) GetLevel() OptInt32
- func (s *Enchantment) GetSaveAuctionId() OptInt32
- func (s *Enchantment) GetType() OptEnchantmentType
- func (s *Enchantment) MarshalJSON() ([]byte, error)
- func (s *Enchantment) SetID(val OptInt32)
- func (s *Enchantment) SetItemType(val OptInt32)
- func (s *Enchantment) SetLevel(val OptInt32)
- func (s *Enchantment) SetSaveAuctionId(val OptInt32)
- func (s *Enchantment) SetType(val OptEnchantmentType)
- func (s *Enchantment) UnmarshalJSON(data []byte) error
- func (s *Enchantment) Validate() error
- type EnchantmentType
- type ErrorHandler
- type Handler
- type KeyCreate
- func (s *KeyCreate) Decode(d *jx.Decoder) error
- func (s *KeyCreate) Encode(e *jx.Encoder)
- func (s *KeyCreate) GetKey() OptNilString
- func (s *KeyCreate) GetOwner() OptNilString
- func (s *KeyCreate) GetParty() OptNilString
- func (s *KeyCreate) MarshalJSON() ([]byte, error)
- func (s *KeyCreate) SetKey(val OptNilString)
- func (s *KeyCreate) SetOwner(val OptNilString)
- func (s *KeyCreate) SetParty(val OptNilString)
- func (s *KeyCreate) UnmarshalJSON(data []byte) error
- type Middleware
- type NBTLookup
- func (s *NBTLookup) Decode(d *jx.Decoder) error
- func (s *NBTLookup) Encode(e *jx.Encoder)
- func (s *NBTLookup) GetAuctionId() OptInt32
- func (s *NBTLookup) GetKeyId() OptInt32
- func (s *NBTLookup) GetValue() OptInt64
- func (s *NBTLookup) MarshalJSON() ([]byte, error)
- func (s *NBTLookup) SetAuctionId(val OptInt32)
- func (s *NBTLookup) SetKeyId(val OptInt32)
- func (s *NBTLookup) SetValue(val OptInt64)
- func (s *NBTLookup) UnmarshalJSON(data []byte) error
- type NbtData
- func (s *NbtData) Decode(d *jx.Decoder) error
- func (s *NbtData) Encode(e *jx.Encoder)
- func (s *NbtData) GetData() OptNilNbtDataData
- func (s *NbtData) GetID() OptInt32
- func (s *NbtData) MarshalJSON() ([]byte, error)
- func (s *NbtData) SetData(val OptNilNbtDataData)
- func (s *NbtData) SetID(val OptInt32)
- func (s *NbtData) UnmarshalJSON(data []byte) error
- type NbtDataData
- type OptBool
- func (o *OptBool) Decode(d *jx.Decoder) error
- func (o OptBool) Encode(e *jx.Encoder)
- func (o OptBool) Get() (v bool, ok bool)
- func (o OptBool) IsSet() bool
- func (s OptBool) MarshalJSON() ([]byte, error)
- func (o OptBool) Or(d bool) bool
- func (o *OptBool) Reset()
- func (o *OptBool) SetTo(v bool)
- func (s *OptBool) UnmarshalJSON(data []byte) error
- type OptCategory
- func (o *OptCategory) Decode(d *jx.Decoder) error
- func (o OptCategory) Encode(e *jx.Encoder)
- func (o OptCategory) Get() (v Category, ok bool)
- func (o OptCategory) IsSet() bool
- func (s OptCategory) MarshalJSON() ([]byte, error)
- func (o OptCategory) Or(d Category) Category
- func (o *OptCategory) Reset()
- func (o *OptCategory) SetTo(v Category)
- func (s *OptCategory) UnmarshalJSON(data []byte) error
- type OptDateTime
- func (o *OptDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error
- func (o OptDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))
- func (o OptDateTime) Get() (v time.Time, ok bool)
- func (o OptDateTime) IsSet() bool
- func (s OptDateTime) MarshalJSON() ([]byte, error)
- func (o OptDateTime) Or(d time.Time) time.Time
- func (o *OptDateTime) Reset()
- func (o *OptDateTime) SetTo(v time.Time)
- func (s *OptDateTime) UnmarshalJSON(data []byte) error
- type OptEnchantmentType
- func (o *OptEnchantmentType) Decode(d *jx.Decoder) error
- func (o OptEnchantmentType) Encode(e *jx.Encoder)
- func (o OptEnchantmentType) Get() (v EnchantmentType, ok bool)
- func (o OptEnchantmentType) IsSet() bool
- func (s OptEnchantmentType) MarshalJSON() ([]byte, error)
- func (o OptEnchantmentType) Or(d EnchantmentType) EnchantmentType
- func (o *OptEnchantmentType) Reset()
- func (o *OptEnchantmentType) SetTo(v EnchantmentType)
- func (s *OptEnchantmentType) UnmarshalJSON(data []byte) error
- type OptInt32
- func (o *OptInt32) Decode(d *jx.Decoder) error
- func (o OptInt32) Encode(e *jx.Encoder)
- func (o OptInt32) Get() (v int32, ok bool)
- func (o OptInt32) IsSet() bool
- func (s OptInt32) MarshalJSON() ([]byte, error)
- func (o OptInt32) Or(d int32) int32
- func (o *OptInt32) Reset()
- func (o *OptInt32) SetTo(v int32)
- func (s *OptInt32) UnmarshalJSON(data []byte) error
- type OptInt64
- func (o *OptInt64) Decode(d *jx.Decoder) error
- func (o OptInt64) Encode(e *jx.Encoder)
- func (o OptInt64) Get() (v int64, ok bool)
- func (o OptInt64) IsSet() bool
- func (s OptInt64) MarshalJSON() ([]byte, error)
- func (o OptInt64) Or(d int64) int64
- func (o *OptInt64) Reset()
- func (o *OptInt64) SetTo(v int64)
- func (s *OptInt64) UnmarshalJSON(data []byte) error
- type OptNbtData
- func (o *OptNbtData) Decode(d *jx.Decoder) error
- func (o OptNbtData) Encode(e *jx.Encoder)
- func (o OptNbtData) Get() (v NbtData, ok bool)
- func (o OptNbtData) IsSet() bool
- func (s OptNbtData) MarshalJSON() ([]byte, error)
- func (o OptNbtData) Or(d NbtData) NbtData
- func (o *OptNbtData) Reset()
- func (o *OptNbtData) SetTo(v NbtData)
- func (s *OptNbtData) UnmarshalJSON(data []byte) error
- type OptNilAnyArray
- func (o *OptNilAnyArray) Decode(d *jx.Decoder) error
- func (o OptNilAnyArray) Encode(e *jx.Encoder)
- func (o OptNilAnyArray) Get() (v []jx.Raw, ok bool)
- func (o OptNilAnyArray) IsNull() bool
- func (o OptNilAnyArray) IsSet() bool
- func (s OptNilAnyArray) MarshalJSON() ([]byte, error)
- func (o OptNilAnyArray) Or(d []jx.Raw) []jx.Raw
- func (o *OptNilAnyArray) Reset()
- func (o *OptNilAnyArray) SetTo(v []jx.Raw)
- func (s *OptNilAnyArray) UnmarshalJSON(data []byte) error
- type OptNilEnchantmentArray
- func (o *OptNilEnchantmentArray) Decode(d *jx.Decoder) error
- func (o OptNilEnchantmentArray) Encode(e *jx.Encoder)
- func (o OptNilEnchantmentArray) Get() (v []Enchantment, ok bool)
- func (o OptNilEnchantmentArray) IsNull() bool
- func (o OptNilEnchantmentArray) IsSet() bool
- func (s OptNilEnchantmentArray) MarshalJSON() ([]byte, error)
- func (o OptNilEnchantmentArray) Or(d []Enchantment) []Enchantment
- func (o *OptNilEnchantmentArray) Reset()
- func (o *OptNilEnchantmentArray) SetTo(v []Enchantment)
- func (s *OptNilEnchantmentArray) UnmarshalJSON(data []byte) error
- type OptNilNBTLookupArray
- func (o *OptNilNBTLookupArray) Decode(d *jx.Decoder) error
- func (o OptNilNBTLookupArray) Encode(e *jx.Encoder)
- func (o OptNilNBTLookupArray) Get() (v []NBTLookup, ok bool)
- func (o OptNilNBTLookupArray) IsNull() bool
- func (o OptNilNBTLookupArray) IsSet() bool
- func (s OptNilNBTLookupArray) MarshalJSON() ([]byte, error)
- func (o OptNilNBTLookupArray) Or(d []NBTLookup) []NBTLookup
- func (o *OptNilNBTLookupArray) Reset()
- func (o *OptNilNBTLookupArray) SetTo(v []NBTLookup)
- func (s *OptNilNBTLookupArray) UnmarshalJSON(data []byte) error
- type OptNilNbtDataData
- func (o *OptNilNbtDataData) Decode(d *jx.Decoder) error
- func (o OptNilNbtDataData) Encode(e *jx.Encoder)
- func (o OptNilNbtDataData) Get() (v NbtDataData, ok bool)
- func (o OptNilNbtDataData) IsNull() bool
- func (o OptNilNbtDataData) IsSet() bool
- func (s OptNilNbtDataData) MarshalJSON() ([]byte, error)
- func (o OptNilNbtDataData) Or(d NbtDataData) NbtDataData
- func (o *OptNilNbtDataData) Reset()
- func (o *OptNilNbtDataData) SetTo(v NbtDataData)
- func (s *OptNilNbtDataData) UnmarshalJSON(data []byte) error
- type OptNilSaveAuctionContext
- func (o *OptNilSaveAuctionContext) Decode(d *jx.Decoder) error
- func (o OptNilSaveAuctionContext) Encode(e *jx.Encoder)
- func (o OptNilSaveAuctionContext) Get() (v SaveAuctionContext, ok bool)
- func (o OptNilSaveAuctionContext) IsNull() bool
- func (o OptNilSaveAuctionContext) IsSet() bool
- func (s OptNilSaveAuctionContext) MarshalJSON() ([]byte, error)
- func (o OptNilSaveAuctionContext) Or(d SaveAuctionContext) SaveAuctionContext
- func (o *OptNilSaveAuctionContext) Reset()
- func (o *OptNilSaveAuctionContext) SetTo(v SaveAuctionContext)
- func (s *OptNilSaveAuctionContext) UnmarshalJSON(data []byte) error
- type OptNilSaveAuctionFlatNbt
- func (o *OptNilSaveAuctionFlatNbt) Decode(d *jx.Decoder) error
- func (o OptNilSaveAuctionFlatNbt) Encode(e *jx.Encoder)
- func (o OptNilSaveAuctionFlatNbt) Get() (v SaveAuctionFlatNbt, ok bool)
- func (o OptNilSaveAuctionFlatNbt) IsNull() bool
- func (o OptNilSaveAuctionFlatNbt) IsSet() bool
- func (s OptNilSaveAuctionFlatNbt) MarshalJSON() ([]byte, error)
- func (o OptNilSaveAuctionFlatNbt) Or(d SaveAuctionFlatNbt) SaveAuctionFlatNbt
- func (o *OptNilSaveAuctionFlatNbt) Reset()
- func (o *OptNilSaveAuctionFlatNbt) SetTo(v SaveAuctionFlatNbt)
- func (s *OptNilSaveAuctionFlatNbt) UnmarshalJSON(data []byte) error
- type OptNilSaveAuctionTraceContext
- func (o *OptNilSaveAuctionTraceContext) Decode(d *jx.Decoder) error
- func (o OptNilSaveAuctionTraceContext) Encode(e *jx.Encoder)
- func (o OptNilSaveAuctionTraceContext) Get() (v SaveAuctionTraceContext, ok bool)
- func (o OptNilSaveAuctionTraceContext) IsNull() bool
- func (o OptNilSaveAuctionTraceContext) IsSet() bool
- func (s OptNilSaveAuctionTraceContext) MarshalJSON() ([]byte, error)
- func (o OptNilSaveAuctionTraceContext) Or(d SaveAuctionTraceContext) SaveAuctionTraceContext
- func (o *OptNilSaveAuctionTraceContext) Reset()
- func (o *OptNilSaveAuctionTraceContext) SetTo(v SaveAuctionTraceContext)
- func (s *OptNilSaveAuctionTraceContext) UnmarshalJSON(data []byte) error
- type OptNilSaveBidsArray
- func (o *OptNilSaveBidsArray) Decode(d *jx.Decoder) error
- func (o OptNilSaveBidsArray) Encode(e *jx.Encoder)
- func (o OptNilSaveBidsArray) Get() (v []SaveBids, ok bool)
- func (o OptNilSaveBidsArray) IsNull() bool
- func (o OptNilSaveBidsArray) IsSet() bool
- func (s OptNilSaveBidsArray) MarshalJSON() ([]byte, error)
- func (o OptNilSaveBidsArray) Or(d []SaveBids) []SaveBids
- func (o *OptNilSaveBidsArray) Reset()
- func (o *OptNilSaveBidsArray) SetTo(v []SaveBids)
- func (s *OptNilSaveBidsArray) UnmarshalJSON(data []byte) error
- type OptNilString
- func (o *OptNilString) Decode(d *jx.Decoder) error
- func (o OptNilString) Encode(e *jx.Encoder)
- func (o OptNilString) Get() (v string, ok bool)
- func (o OptNilString) IsNull() bool
- func (o OptNilString) IsSet() bool
- func (s OptNilString) MarshalJSON() ([]byte, error)
- func (o OptNilString) Or(d string) string
- func (o *OptNilString) Reset()
- func (o *OptNilString) SetTo(v string)
- func (s *OptNilString) UnmarshalJSON(data []byte) error
- type OptNilStringArray
- func (o *OptNilStringArray) Decode(d *jx.Decoder) error
- func (o OptNilStringArray) Encode(e *jx.Encoder)
- func (o OptNilStringArray) Get() (v []string, ok bool)
- func (o OptNilStringArray) IsNull() bool
- func (o OptNilStringArray) IsSet() bool
- func (s OptNilStringArray) MarshalJSON() ([]byte, error)
- func (o OptNilStringArray) Or(d []string) []string
- func (o *OptNilStringArray) Reset()
- func (o *OptNilStringArray) SetTo(v []string)
- func (s *OptNilStringArray) UnmarshalJSON(data []byte) error
- type OptNilUUIDArray
- func (o *OptNilUUIDArray) Decode(d *jx.Decoder) error
- func (o OptNilUUIDArray) Encode(e *jx.Encoder)
- func (o OptNilUUIDArray) Get() (v []UUID, ok bool)
- func (o OptNilUUIDArray) IsNull() bool
- func (o OptNilUUIDArray) IsSet() bool
- func (s OptNilUUIDArray) MarshalJSON() ([]byte, error)
- func (o OptNilUUIDArray) Or(d []UUID) []UUID
- func (o *OptNilUUIDArray) Reset()
- func (o *OptNilUUIDArray) SetTo(v []UUID)
- func (s *OptNilUUIDArray) UnmarshalJSON(data []byte) error
- type OptReforge
- func (o *OptReforge) Decode(d *jx.Decoder) error
- func (o OptReforge) Encode(e *jx.Encoder)
- func (o OptReforge) Get() (v Reforge, ok bool)
- func (o OptReforge) IsSet() bool
- func (s OptReforge) MarshalJSON() ([]byte, error)
- func (o OptReforge) Or(d Reforge) Reforge
- func (o *OptReforge) Reset()
- func (o *OptReforge) SetTo(v Reforge)
- func (s *OptReforge) UnmarshalJSON(data []byte) error
- type OptSaveAuction
- func (o *OptSaveAuction) Decode(d *jx.Decoder) error
- func (o OptSaveAuction) Encode(e *jx.Encoder)
- func (o OptSaveAuction) Get() (v SaveAuction, ok bool)
- func (o OptSaveAuction) IsSet() bool
- func (s OptSaveAuction) MarshalJSON() ([]byte, error)
- func (o OptSaveAuction) Or(d SaveAuction) SaveAuction
- func (o *OptSaveAuction) Reset()
- func (o *OptSaveAuction) SetTo(v SaveAuction)
- func (s *OptSaveAuction) UnmarshalJSON(data []byte) error
- type OptString
- type OptTier
- func (o *OptTier) Decode(d *jx.Decoder) error
- func (o OptTier) Encode(e *jx.Encoder)
- func (o OptTier) Get() (v Tier, ok bool)
- func (o OptTier) IsSet() bool
- func (s OptTier) MarshalJSON() ([]byte, error)
- func (o OptTier) Or(d Tier) Tier
- func (o *OptTier) Reset()
- func (o *OptTier) SetTo(v Tier)
- func (s *OptTier) UnmarshalJSON(data []byte) error
- type Option
- type ProxyHypixelAhPlayerPlayerUuidGetParams
- type ProxyHypixelGetOKApplicationJSON
- type ProxyHypixelGetOKTextJSON
- type ProxyHypixelGetOKTextPlain
- type ProxyHypixelGetParams
- type ProxyHypixelGetRes
- type ProxyHypixelStatusGetOK
- type Reforge
- type Route
- type SaveAuction
- func (s *SaveAuction) Decode(d *jx.Decoder) error
- func (s *SaveAuction) Encode(e *jx.Encoder)
- func (s *SaveAuction) GetAnvilUses() OptInt32
- func (s *SaveAuction) GetAuctioneerId() OptNilString
- func (s *SaveAuction) GetBids() OptNilSaveBidsArray
- func (s *SaveAuction) GetBin() OptBool
- func (s *SaveAuction) GetCategory() OptCategory
- func (s *SaveAuction) GetClaimed() OptBool
- func (s *SaveAuction) GetClaimedBidders() OptNilAnyArray
- func (s *SaveAuction) GetClaimedBids() OptNilUUIDArray
- func (s *SaveAuction) GetContext() OptNilSaveAuctionContext
- func (s *SaveAuction) GetCoop() OptNilStringArray
- func (s *SaveAuction) GetCoopMembers() OptNilUUIDArray
- func (s *SaveAuction) GetCount() OptInt32
- func (s *SaveAuction) GetEnchantments() OptNilEnchantmentArray
- func (s *SaveAuction) GetEnd() OptDateTime
- func (s *SaveAuction) GetFindTime() OptDateTime
- func (s *SaveAuction) GetFlatNbt() OptNilSaveAuctionFlatNbt
- func (s *SaveAuction) GetHighestBidAmount() OptInt64
- func (s *SaveAuction) GetID() OptInt32
- func (s *SaveAuction) GetItemCreatedAt() OptDateTime
- func (s *SaveAuction) GetItemId() OptInt32
- func (s *SaveAuction) GetItemName() OptNilString
- func (s *SaveAuction) GetNbtData() OptNbtData
- func (s *SaveAuction) GetNbtLookup() OptNilNBTLookupArray
- func (s *SaveAuction) GetOldCategory() OptNilString
- func (s *SaveAuction) GetOldTier() OptNilString
- func (s *SaveAuction) GetProfileId() OptNilString
- func (s *SaveAuction) GetReforge() OptReforge
- func (s *SaveAuction) GetSellerId() OptInt32
- func (s *SaveAuction) GetStart() OptDateTime
- func (s *SaveAuction) GetStartingBid() OptInt64
- func (s *SaveAuction) GetTag() OptNilString
- func (s *SaveAuction) GetTier() OptTier
- func (s *SaveAuction) GetTraceContext() OptNilSaveAuctionTraceContext
- func (s *SaveAuction) GetUID() OptInt64
- func (s *SaveAuction) GetUUID() OptNilString
- func (s *SaveAuction) MarshalJSON() ([]byte, error)
- func (s *SaveAuction) SetAnvilUses(val OptInt32)
- func (s *SaveAuction) SetAuctioneerId(val OptNilString)
- func (s *SaveAuction) SetBids(val OptNilSaveBidsArray)
- func (s *SaveAuction) SetBin(val OptBool)
- func (s *SaveAuction) SetCategory(val OptCategory)
- func (s *SaveAuction) SetClaimed(val OptBool)
- func (s *SaveAuction) SetClaimedBidders(val OptNilAnyArray)
- func (s *SaveAuction) SetClaimedBids(val OptNilUUIDArray)
- func (s *SaveAuction) SetContext(val OptNilSaveAuctionContext)
- func (s *SaveAuction) SetCoop(val OptNilStringArray)
- func (s *SaveAuction) SetCoopMembers(val OptNilUUIDArray)
- func (s *SaveAuction) SetCount(val OptInt32)
- func (s *SaveAuction) SetEnchantments(val OptNilEnchantmentArray)
- func (s *SaveAuction) SetEnd(val OptDateTime)
- func (s *SaveAuction) SetFindTime(val OptDateTime)
- func (s *SaveAuction) SetFlatNbt(val OptNilSaveAuctionFlatNbt)
- func (s *SaveAuction) SetHighestBidAmount(val OptInt64)
- func (s *SaveAuction) SetID(val OptInt32)
- func (s *SaveAuction) SetItemCreatedAt(val OptDateTime)
- func (s *SaveAuction) SetItemId(val OptInt32)
- func (s *SaveAuction) SetItemName(val OptNilString)
- func (s *SaveAuction) SetNbtData(val OptNbtData)
- func (s *SaveAuction) SetNbtLookup(val OptNilNBTLookupArray)
- func (s *SaveAuction) SetOldCategory(val OptNilString)
- func (s *SaveAuction) SetOldTier(val OptNilString)
- func (s *SaveAuction) SetProfileId(val OptNilString)
- func (s *SaveAuction) SetReforge(val OptReforge)
- func (s *SaveAuction) SetSellerId(val OptInt32)
- func (s *SaveAuction) SetStart(val OptDateTime)
- func (s *SaveAuction) SetStartingBid(val OptInt64)
- func (s *SaveAuction) SetTag(val OptNilString)
- func (s *SaveAuction) SetTier(val OptTier)
- func (s *SaveAuction) SetTraceContext(val OptNilSaveAuctionTraceContext)
- func (s *SaveAuction) SetUID(val OptInt64)
- func (s *SaveAuction) SetUUID(val OptNilString)
- func (s *SaveAuction) UnmarshalJSON(data []byte) error
- func (s *SaveAuction) Validate() error
- type SaveAuctionContext
- type SaveAuctionFlatNbt
- type SaveAuctionTraceContext
- type SaveBids
- func (s *SaveBids) Decode(d *jx.Decoder) error
- func (s *SaveBids) Encode(e *jx.Encoder)
- func (s *SaveBids) GetAmount() OptInt64
- func (s *SaveBids) GetAuction() OptSaveAuction
- func (s *SaveBids) GetBidder() OptNilString
- func (s *SaveBids) GetBidderId() OptInt32
- func (s *SaveBids) GetID() OptInt32
- func (s *SaveBids) GetProfileId() OptNilString
- func (s *SaveBids) GetTimestamp() OptDateTime
- func (s *SaveBids) MarshalJSON() ([]byte, error)
- func (s *SaveBids) SetAmount(val OptInt64)
- func (s *SaveBids) SetAuction(val OptSaveAuction)
- func (s *SaveBids) SetBidder(val OptNilString)
- func (s *SaveBids) SetBidderId(val OptInt32)
- func (s *SaveBids) SetID(val OptInt32)
- func (s *SaveBids) SetProfileId(val OptNilString)
- func (s *SaveBids) SetTimestamp(val OptDateTime)
- func (s *SaveBids) UnmarshalJSON(data []byte) error
- func (s *SaveBids) Validate() error
- type Server
- type ServerOption
- func WithErrorHandler(h ErrorHandler) ServerOption
- func WithMaxMultipartMemory(max int64) ServerOption
- func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption
- func WithMiddleware(m ...Middleware) ServerOption
- func WithNotFound(notFound http.HandlerFunc) ServerOption
- func WithPathPrefix(prefix string) ServerOption
- type SkyblockAuctionsGetOKApplicationJSON
- type SkyblockAuctionsGetOKTextJSON
- type SkyblockAuctionsGetOKTextPlain
- type SkyblockAuctionsGetRes
- type SkyblockAuctionsPostOKApplicationJSON
- func (s *SkyblockAuctionsPostOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s SkyblockAuctionsPostOKApplicationJSON) Encode(e *jx.Encoder)
- func (s SkyblockAuctionsPostOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *SkyblockAuctionsPostOKApplicationJSON) UnmarshalJSON(data []byte) error
- type SkyblockAuctionsPostOKTextJSON
- type SkyblockAuctionsPostOKTextPlain
- type SkyblockAuctionsPostRes
- type Tier
- type UUID
- func (s *UUID) Decode(d *jx.Decoder) error
- func (s *UUID) Encode(e *jx.Encoder)
- func (s *UUID) GetID() OptInt32
- func (s *UUID) GetValue() OptNilString
- func (s *UUID) MarshalJSON() ([]byte, error)
- func (s *UUID) SetID(val OptInt32)
- func (s *UUID) SetValue(val OptNilString)
- func (s *UUID) UnmarshalJSON(data []byte) error
- type UnimplementedHandler
- func (UnimplementedHandler) APITimeGet(ctx context.Context) (r time.Time, _ error)
- func (UnimplementedHandler) BaseAhPlayerIdPost(ctx context.Context, params BaseAhPlayerIdPostParams) error
- func (UnimplementedHandler) BaseKeyPost(ctx context.Context, req *KeyCreate) error
- func (UnimplementedHandler) BaseKeysPartyCountGet(ctx context.Context, params BaseKeysPartyCountGetParams) (r int32, _ error)
- func (UnimplementedHandler) ProxyHypixelAhPlayerPlayerUuidGet(ctx context.Context, params ProxyHypixelAhPlayerPlayerUuidGetParams) (r []SaveAuction, _ error)
- func (UnimplementedHandler) ProxyHypixelGet(ctx context.Context, params ProxyHypixelGetParams) (r ProxyHypixelGetRes, _ error)
- func (UnimplementedHandler) ProxyHypixelStatusGet(ctx context.Context) error
- func (UnimplementedHandler) SkyblockAuctionsGet(ctx context.Context) (r SkyblockAuctionsGetRes, _ error)
- func (UnimplementedHandler) SkyblockAuctionsPost(ctx context.Context) (r SkyblockAuctionsPostRes, _ error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BaseAhPlayerIdPostOK ¶
type BaseAhPlayerIdPostOK struct{}
BaseAhPlayerIdPostOK is response for BaseAhPlayerIdPost operation.
type BaseAhPlayerIdPostParams ¶
type BaseAhPlayerIdPostParams struct {
PlayerId string
}
BaseAhPlayerIdPostParams is parameters of POST /Base/ah/{playerId} operation.
type BaseKeyPostOK ¶
type BaseKeyPostOK struct{}
BaseKeyPostOK is response for BaseKeyPost operation.
type BaseKeysPartyCountGetParams ¶
type BaseKeysPartyCountGetParams struct {
Party string
}
BaseKeysPartyCountGetParams is parameters of GET /Base/keys/{party}/count operation.
type Category ¶
type Category int32
Ref: #/components/schemas/Category
func (Category) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Category) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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) BaseAhPlayerIdPost ¶
func (c *Client) BaseAhPlayerIdPost(ctx context.Context, params BaseAhPlayerIdPostParams) error
BaseAhPlayerIdPost invokes POST /Base/ah/{playerId} operation.
Request ah update for a player.
POST /Base/ah/{playerId}
func (*Client) BaseKeysPartyCountGet ¶
func (c *Client) BaseKeysPartyCountGet(ctx context.Context, params BaseKeysPartyCountGetParams) (int32, error)
BaseKeysPartyCountGet invokes GET /Base/keys/{party}/count operation.
GET /Base/keys/{party}/count
func (*Client) ProxyHypixelAhPlayerPlayerUuidGet ¶
func (c *Client) ProxyHypixelAhPlayerPlayerUuidGet(ctx context.Context, params ProxyHypixelAhPlayerPlayerUuidGetParams) ([]SaveAuction, error)
ProxyHypixelAhPlayerPlayerUuidGet invokes GET /Proxy/hypixel/ah/player/{playerUuid} operation.
Load the auctions of a player.
GET /Proxy/hypixel/ah/player/{playerUuid}
func (*Client) ProxyHypixelGet ¶
func (c *Client) ProxyHypixelGet(ctx context.Context, params ProxyHypixelGetParams) (ProxyHypixelGetRes, error)
ProxyHypixelGet invokes GET /Proxy/hypixel operation.
Proxy the path to hypixel using the assigned key (no key required).
GET /Proxy/hypixel
func (*Client) ProxyHypixelStatusGet ¶
ProxyHypixelStatusGet invokes GET /Proxy/hypixel/status operation.
Can proxy anything.
GET /Proxy/hypixel/status
func (*Client) SkyblockAuctionsGet ¶
func (c *Client) SkyblockAuctionsGet(ctx context.Context) (SkyblockAuctionsGetRes, error)
SkyblockAuctionsGet invokes GET /skyblock/auctions operation.
GET /skyblock/auctions
func (*Client) SkyblockAuctionsPost ¶
func (c *Client) SkyblockAuctionsPost(ctx context.Context) (SkyblockAuctionsPostRes, error)
SkyblockAuctionsPost invokes POST /skyblock/auctions operation.
POST /skyblock/auctions
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 Enchantment ¶
type Enchantment struct { ID OptInt32 `json:"id"` Type OptEnchantmentType `json:"type"` Level OptInt32 `json:"level"` ItemType OptInt32 `json:"itemType"` SaveAuctionId OptInt32 `json:"saveAuctionId"` }
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) GetItemType ¶
func (s *Enchantment) GetItemType() OptInt32
GetItemType returns the value of ItemType.
func (*Enchantment) GetLevel ¶
func (s *Enchantment) GetLevel() OptInt32
GetLevel returns the value of Level.
func (*Enchantment) GetSaveAuctionId ¶
func (s *Enchantment) GetSaveAuctionId() OptInt32
GetSaveAuctionId returns the value of SaveAuctionId.
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) SetItemType ¶
func (s *Enchantment) SetItemType(val OptInt32)
SetItemType sets the value of ItemType.
func (*Enchantment) SetLevel ¶
func (s *Enchantment) SetLevel(val OptInt32)
SetLevel sets the value of Level.
func (*Enchantment) SetSaveAuctionId ¶
func (s *Enchantment) SetSaveAuctionId(val OptInt32)
SetSaveAuctionId sets the value of SaveAuctionId.
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 int32
Ref: #/components/schemas/EnchantmentType
const ( EnchantmentType0 EnchantmentType = 0 EnchantmentType1 EnchantmentType = 1 EnchantmentType2 EnchantmentType = 2 EnchantmentType3 EnchantmentType = 3 EnchantmentType4 EnchantmentType = 4 EnchantmentType5 EnchantmentType = 5 EnchantmentType6 EnchantmentType = 6 EnchantmentType7 EnchantmentType = 7 EnchantmentType8 EnchantmentType = 8 EnchantmentType9 EnchantmentType = 9 EnchantmentType10 EnchantmentType = 10 EnchantmentType11 EnchantmentType = 11 EnchantmentType12 EnchantmentType = 12 EnchantmentType13 EnchantmentType = 13 EnchantmentType14 EnchantmentType = 14 EnchantmentType15 EnchantmentType = 15 EnchantmentType16 EnchantmentType = 16 EnchantmentType17 EnchantmentType = 17 EnchantmentType18 EnchantmentType = 18 EnchantmentType19 EnchantmentType = 19 EnchantmentType20 EnchantmentType = 20 EnchantmentType21 EnchantmentType = 21 EnchantmentType22 EnchantmentType = 22 EnchantmentType23 EnchantmentType = 23 EnchantmentType24 EnchantmentType = 24 EnchantmentType25 EnchantmentType = 25 EnchantmentType26 EnchantmentType = 26 EnchantmentType27 EnchantmentType = 27 EnchantmentType28 EnchantmentType = 28 EnchantmentType29 EnchantmentType = 29 EnchantmentType30 EnchantmentType = 30 EnchantmentType31 EnchantmentType = 31 EnchantmentType32 EnchantmentType = 32 EnchantmentType33 EnchantmentType = 33 EnchantmentType34 EnchantmentType = 34 EnchantmentType35 EnchantmentType = 35 EnchantmentType36 EnchantmentType = 36 EnchantmentType37 EnchantmentType = 37 EnchantmentType38 EnchantmentType = 38 EnchantmentType39 EnchantmentType = 39 EnchantmentType40 EnchantmentType = 40 EnchantmentType41 EnchantmentType = 41 EnchantmentType42 EnchantmentType = 42 EnchantmentType43 EnchantmentType = 43 EnchantmentType44 EnchantmentType = 44 EnchantmentType45 EnchantmentType = 45 EnchantmentType46 EnchantmentType = 46 EnchantmentType47 EnchantmentType = 47 EnchantmentType48 EnchantmentType = 48 EnchantmentType49 EnchantmentType = 49 EnchantmentType50 EnchantmentType = 50 EnchantmentType51 EnchantmentType = 51 EnchantmentType52 EnchantmentType = 52 EnchantmentType53 EnchantmentType = 53 EnchantmentType54 EnchantmentType = 54 EnchantmentType55 EnchantmentType = 55 EnchantmentType56 EnchantmentType = 56 EnchantmentType57 EnchantmentType = 57 EnchantmentType58 EnchantmentType = 58 EnchantmentType60 EnchantmentType = 60 EnchantmentType61 EnchantmentType = 61 EnchantmentType62 EnchantmentType = 62 EnchantmentType63 EnchantmentType = 63 EnchantmentType64 EnchantmentType = 64 EnchantmentType65 EnchantmentType = 65 EnchantmentType66 EnchantmentType = 66 EnchantmentType67 EnchantmentType = 67 EnchantmentType68 EnchantmentType = 68 EnchantmentType69 EnchantmentType = 69 EnchantmentType70 EnchantmentType = 70 EnchantmentType71 EnchantmentType = 71 EnchantmentType72 EnchantmentType = 72 EnchantmentType73 EnchantmentType = 73 EnchantmentType74 EnchantmentType = 74 EnchantmentType75 EnchantmentType = 75 EnchantmentType76 EnchantmentType = 76 EnchantmentType77 EnchantmentType = 77 EnchantmentType78 EnchantmentType = 78 EnchantmentType79 EnchantmentType = 79 EnchantmentType80 EnchantmentType = 80 EnchantmentType81 EnchantmentType = 81 EnchantmentType82 EnchantmentType = 82 EnchantmentType83 EnchantmentType = 83 EnchantmentType84 EnchantmentType = 84 EnchantmentType85 EnchantmentType = 85 EnchantmentType86 EnchantmentType = 86 EnchantmentType87 EnchantmentType = 87 EnchantmentType88 EnchantmentType = 88 EnchantmentType89 EnchantmentType = 89 EnchantmentType90 EnchantmentType = 90 EnchantmentType91 EnchantmentType = 91 EnchantmentType92 EnchantmentType = 92 EnchantmentType93 EnchantmentType = 93 EnchantmentType94 EnchantmentType = 94 EnchantmentType95 EnchantmentType = 95 EnchantmentType96 EnchantmentType = 96 EnchantmentType97 EnchantmentType = 97 EnchantmentType98 EnchantmentType = 98 EnchantmentType99 EnchantmentType = 99 EnchantmentType100 EnchantmentType = 100 EnchantmentType101 EnchantmentType = 101 EnchantmentType102 EnchantmentType = 102 EnchantmentType103 EnchantmentType = 103 EnchantmentType104 EnchantmentType = 104 EnchantmentType105 EnchantmentType = 105 EnchantmentType106 EnchantmentType = 106 EnchantmentType107 EnchantmentType = 107 EnchantmentType108 EnchantmentType = 108 EnchantmentType109 EnchantmentType = 109 EnchantmentType110 EnchantmentType = 110 EnchantmentType111 EnchantmentType = 111 EnchantmentType112 EnchantmentType = 112 EnchantmentType113 EnchantmentType = 113 EnchantmentType114 EnchantmentType = 114 EnchantmentType115 EnchantmentType = 115 EnchantmentType116 EnchantmentType = 116 EnchantmentType117 EnchantmentType = 117 EnchantmentType118 EnchantmentType = 118 EnchantmentType119 EnchantmentType = 119 EnchantmentType120 EnchantmentType = 120 EnchantmentType121 EnchantmentType = 121 EnchantmentType122 EnchantmentType = 122 EnchantmentType123 EnchantmentType = 123 EnchantmentType126 EnchantmentType = 126 )
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) UnmarshalJSON ¶
func (s *EnchantmentType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (EnchantmentType) Validate ¶
func (s EnchantmentType) Validate() error
type Handler ¶
type Handler interface { // APITimeGet implements GET /Api/time operation. // // GET /Api/time APITimeGet(ctx context.Context) (time.Time, error) // BaseAhPlayerIdPost implements POST /Base/ah/{playerId} operation. // // Request ah update for a player. // // POST /Base/ah/{playerId} BaseAhPlayerIdPost(ctx context.Context, params BaseAhPlayerIdPostParams) error // BaseKeyPost implements POST /Base/key operation. // // POST /Base/key BaseKeyPost(ctx context.Context, req *KeyCreate) error // BaseKeysPartyCountGet implements GET /Base/keys/{party}/count operation. // // GET /Base/keys/{party}/count BaseKeysPartyCountGet(ctx context.Context, params BaseKeysPartyCountGetParams) (int32, error) // ProxyHypixelAhPlayerPlayerUuidGet implements GET /Proxy/hypixel/ah/player/{playerUuid} operation. // // Load the auctions of a player. // // GET /Proxy/hypixel/ah/player/{playerUuid} ProxyHypixelAhPlayerPlayerUuidGet(ctx context.Context, params ProxyHypixelAhPlayerPlayerUuidGetParams) ([]SaveAuction, error) // ProxyHypixelGet implements GET /Proxy/hypixel operation. // // Proxy the path to hypixel using the assigned key (no key required). // // GET /Proxy/hypixel ProxyHypixelGet(ctx context.Context, params ProxyHypixelGetParams) (ProxyHypixelGetRes, error) // ProxyHypixelStatusGet implements GET /Proxy/hypixel/status operation. // // Can proxy anything. // // GET /Proxy/hypixel/status ProxyHypixelStatusGet(ctx context.Context) error // SkyblockAuctionsGet implements GET /skyblock/auctions operation. // // GET /skyblock/auctions SkyblockAuctionsGet(ctx context.Context) (SkyblockAuctionsGetRes, error) // SkyblockAuctionsPost implements POST /skyblock/auctions operation. // // POST /skyblock/auctions SkyblockAuctionsPost(ctx context.Context) (SkyblockAuctionsPostRes, error) }
Handler handles operations described by OpenAPI v3 specification.
type KeyCreate ¶
type KeyCreate struct { Party OptNilString `json:"party"` Key OptNilString `json:"key"` Owner OptNilString `json:"owner"` }
Ref: #/components/schemas/KeyCreate
func (*KeyCreate) GetKey ¶
func (s *KeyCreate) GetKey() OptNilString
GetKey returns the value of Key.
func (*KeyCreate) GetOwner ¶
func (s *KeyCreate) GetOwner() OptNilString
GetOwner returns the value of Owner.
func (*KeyCreate) GetParty ¶
func (s *KeyCreate) GetParty() OptNilString
GetParty returns the value of Party.
func (*KeyCreate) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*KeyCreate) SetKey ¶
func (s *KeyCreate) SetKey(val OptNilString)
SetKey sets the value of Key.
func (*KeyCreate) SetOwner ¶
func (s *KeyCreate) SetOwner(val OptNilString)
SetOwner sets the value of Owner.
func (*KeyCreate) SetParty ¶
func (s *KeyCreate) SetParty(val OptNilString)
SetParty sets the value of Party.
func (*KeyCreate) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type NBTLookup ¶
type NBTLookup struct { AuctionId OptInt32 `json:"auctionId"` KeyId OptInt32 `json:"keyId"` Value OptInt64 `json:"value"` }
Ref: #/components/schemas/NBTLookup
func (*NBTLookup) GetAuctionId ¶
GetAuctionId returns the value of AuctionId.
func (*NBTLookup) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*NBTLookup) SetAuctionId ¶
SetAuctionId sets the value of AuctionId.
func (*NBTLookup) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type NbtData ¶
type NbtData struct { ID OptInt32 `json:"id"` Data OptNilNbtDataData `json:"data"` }
Ref: #/components/schemas/NbtData
func (*NbtData) GetData ¶
func (s *NbtData) GetData() OptNilNbtDataData
GetData returns the value of Data.
func (*NbtData) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*NbtData) SetData ¶
func (s *NbtData) SetData(val OptNilNbtDataData)
SetData sets the value of Data.
func (*NbtData) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type NbtDataData ¶
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 OptBool ¶
OptBool is optional bool.
func NewOptBool ¶
NewOptBool returns new OptBool with value set to v.
func (OptBool) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptBool) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCategory ¶
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) UnmarshalJSON ¶
func (s *OptCategory) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptDateTime ¶
OptDateTime is optional time.Time.
func NewOptDateTime ¶
func NewOptDateTime(v time.Time) OptDateTime
NewOptDateTime returns new OptDateTime with value set to v.
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) UnmarshalJSON ¶
func (s *OptDateTime) 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 ¶
func (o OptEnchantmentType) Or(d EnchantmentType) EnchantmentType
Or returns value if set, or given parameter if does not.
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 OptInt32 ¶
OptInt32 is optional int32.
func NewOptInt32 ¶
NewOptInt32 returns new OptInt32 with value set to v.
func (OptInt32) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptInt32) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInt64 ¶
OptInt64 is optional int64.
func NewOptInt64 ¶
NewOptInt64 returns new OptInt64 with value set to v.
func (OptInt64) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptInt64) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNbtData ¶
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) UnmarshalJSON ¶
func (s *OptNbtData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilAnyArray ¶
OptNilAnyArray is optional nullable []jx.Raw.
func NewOptNilAnyArray ¶
func NewOptNilAnyArray(v []jx.Raw) OptNilAnyArray
NewOptNilAnyArray returns new OptNilAnyArray with value set to v.
func (*OptNilAnyArray) Decode ¶
func (o *OptNilAnyArray) Decode(d *jx.Decoder) error
Decode decodes []jx.Raw from json.
func (OptNilAnyArray) Encode ¶
func (o OptNilAnyArray) Encode(e *jx.Encoder)
Encode encodes []jx.Raw as json.
func (OptNilAnyArray) Get ¶
func (o OptNilAnyArray) Get() (v []jx.Raw, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilAnyArray) IsNull ¶
func (o OptNilAnyArray) IsNull() bool
IsSet returns true if value is Null.
func (OptNilAnyArray) IsSet ¶
func (o OptNilAnyArray) IsSet() bool
IsSet returns true if OptNilAnyArray was set.
func (OptNilAnyArray) MarshalJSON ¶
func (s OptNilAnyArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilAnyArray) Or ¶
func (o OptNilAnyArray) Or(d []jx.Raw) []jx.Raw
Or returns value if set, or given parameter if does not.
func (*OptNilAnyArray) UnmarshalJSON ¶
func (s *OptNilAnyArray) 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 ¶
func (o OptNilEnchantmentArray) Or(d []Enchantment) []Enchantment
Or returns value if set, or given parameter if does not.
func (*OptNilEnchantmentArray) SetTo ¶
func (o *OptNilEnchantmentArray) SetTo(v []Enchantment)
SetTo sets value to v.
func (*OptNilEnchantmentArray) UnmarshalJSON ¶
func (s *OptNilEnchantmentArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilNBTLookupArray ¶
OptNilNBTLookupArray is optional nullable []NBTLookup.
func NewOptNilNBTLookupArray ¶
func NewOptNilNBTLookupArray(v []NBTLookup) OptNilNBTLookupArray
NewOptNilNBTLookupArray returns new OptNilNBTLookupArray with value set to v.
func (*OptNilNBTLookupArray) Decode ¶
func (o *OptNilNBTLookupArray) Decode(d *jx.Decoder) error
Decode decodes []NBTLookup from json.
func (OptNilNBTLookupArray) Encode ¶
func (o OptNilNBTLookupArray) Encode(e *jx.Encoder)
Encode encodes []NBTLookup as json.
func (OptNilNBTLookupArray) Get ¶
func (o OptNilNBTLookupArray) Get() (v []NBTLookup, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilNBTLookupArray) IsNull ¶
func (o OptNilNBTLookupArray) IsNull() bool
IsSet returns true if value is Null.
func (OptNilNBTLookupArray) IsSet ¶
func (o OptNilNBTLookupArray) IsSet() bool
IsSet returns true if OptNilNBTLookupArray was set.
func (OptNilNBTLookupArray) MarshalJSON ¶
func (s OptNilNBTLookupArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilNBTLookupArray) Or ¶
func (o OptNilNBTLookupArray) Or(d []NBTLookup) []NBTLookup
Or returns value if set, or given parameter if does not.
func (*OptNilNBTLookupArray) SetTo ¶
func (o *OptNilNBTLookupArray) SetTo(v []NBTLookup)
SetTo sets value to v.
func (*OptNilNBTLookupArray) UnmarshalJSON ¶
func (s *OptNilNBTLookupArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilNbtDataData ¶
type OptNilNbtDataData struct { Value NbtDataData Set bool Null bool }
OptNilNbtDataData is optional nullable NbtDataData.
func NewOptNilNbtDataData ¶
func NewOptNilNbtDataData(v NbtDataData) OptNilNbtDataData
NewOptNilNbtDataData returns new OptNilNbtDataData with value set to v.
func (*OptNilNbtDataData) Decode ¶
func (o *OptNilNbtDataData) Decode(d *jx.Decoder) error
Decode decodes NbtDataData from json.
func (OptNilNbtDataData) Encode ¶
func (o OptNilNbtDataData) Encode(e *jx.Encoder)
Encode encodes NbtDataData as json.
func (OptNilNbtDataData) Get ¶
func (o OptNilNbtDataData) Get() (v NbtDataData, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilNbtDataData) IsNull ¶
func (o OptNilNbtDataData) IsNull() bool
IsSet returns true if value is Null.
func (OptNilNbtDataData) IsSet ¶
func (o OptNilNbtDataData) IsSet() bool
IsSet returns true if OptNilNbtDataData was set.
func (OptNilNbtDataData) MarshalJSON ¶
func (s OptNilNbtDataData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilNbtDataData) Or ¶
func (o OptNilNbtDataData) Or(d NbtDataData) NbtDataData
Or returns value if set, or given parameter if does not.
func (*OptNilNbtDataData) SetTo ¶
func (o *OptNilNbtDataData) SetTo(v NbtDataData)
SetTo sets value to v.
func (*OptNilNbtDataData) UnmarshalJSON ¶
func (s *OptNilNbtDataData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilSaveAuctionContext ¶
type OptNilSaveAuctionContext struct { Value SaveAuctionContext Set bool Null bool }
OptNilSaveAuctionContext is optional nullable SaveAuctionContext.
func NewOptNilSaveAuctionContext ¶
func NewOptNilSaveAuctionContext(v SaveAuctionContext) OptNilSaveAuctionContext
NewOptNilSaveAuctionContext returns new OptNilSaveAuctionContext with value set to v.
func (*OptNilSaveAuctionContext) Decode ¶
func (o *OptNilSaveAuctionContext) Decode(d *jx.Decoder) error
Decode decodes SaveAuctionContext from json.
func (OptNilSaveAuctionContext) Encode ¶
func (o OptNilSaveAuctionContext) Encode(e *jx.Encoder)
Encode encodes SaveAuctionContext as json.
func (OptNilSaveAuctionContext) Get ¶
func (o OptNilSaveAuctionContext) Get() (v SaveAuctionContext, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilSaveAuctionContext) IsNull ¶
func (o OptNilSaveAuctionContext) IsNull() bool
IsSet returns true if value is Null.
func (OptNilSaveAuctionContext) IsSet ¶
func (o OptNilSaveAuctionContext) IsSet() bool
IsSet returns true if OptNilSaveAuctionContext was set.
func (OptNilSaveAuctionContext) MarshalJSON ¶
func (s OptNilSaveAuctionContext) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilSaveAuctionContext) Or ¶
func (o OptNilSaveAuctionContext) Or(d SaveAuctionContext) SaveAuctionContext
Or returns value if set, or given parameter if does not.
func (*OptNilSaveAuctionContext) Reset ¶
func (o *OptNilSaveAuctionContext) Reset()
Reset unsets value.
func (*OptNilSaveAuctionContext) SetTo ¶
func (o *OptNilSaveAuctionContext) SetTo(v SaveAuctionContext)
SetTo sets value to v.
func (*OptNilSaveAuctionContext) UnmarshalJSON ¶
func (s *OptNilSaveAuctionContext) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilSaveAuctionFlatNbt ¶
type OptNilSaveAuctionFlatNbt struct { Value SaveAuctionFlatNbt Set bool Null bool }
OptNilSaveAuctionFlatNbt is optional nullable SaveAuctionFlatNbt.
func NewOptNilSaveAuctionFlatNbt ¶
func NewOptNilSaveAuctionFlatNbt(v SaveAuctionFlatNbt) OptNilSaveAuctionFlatNbt
NewOptNilSaveAuctionFlatNbt returns new OptNilSaveAuctionFlatNbt with value set to v.
func (*OptNilSaveAuctionFlatNbt) Decode ¶
func (o *OptNilSaveAuctionFlatNbt) Decode(d *jx.Decoder) error
Decode decodes SaveAuctionFlatNbt from json.
func (OptNilSaveAuctionFlatNbt) Encode ¶
func (o OptNilSaveAuctionFlatNbt) Encode(e *jx.Encoder)
Encode encodes SaveAuctionFlatNbt as json.
func (OptNilSaveAuctionFlatNbt) Get ¶
func (o OptNilSaveAuctionFlatNbt) Get() (v SaveAuctionFlatNbt, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilSaveAuctionFlatNbt) IsNull ¶
func (o OptNilSaveAuctionFlatNbt) IsNull() bool
IsSet returns true if value is Null.
func (OptNilSaveAuctionFlatNbt) IsSet ¶
func (o OptNilSaveAuctionFlatNbt) IsSet() bool
IsSet returns true if OptNilSaveAuctionFlatNbt was set.
func (OptNilSaveAuctionFlatNbt) MarshalJSON ¶
func (s OptNilSaveAuctionFlatNbt) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilSaveAuctionFlatNbt) Or ¶
func (o OptNilSaveAuctionFlatNbt) Or(d SaveAuctionFlatNbt) SaveAuctionFlatNbt
Or returns value if set, or given parameter if does not.
func (*OptNilSaveAuctionFlatNbt) Reset ¶
func (o *OptNilSaveAuctionFlatNbt) Reset()
Reset unsets value.
func (*OptNilSaveAuctionFlatNbt) SetTo ¶
func (o *OptNilSaveAuctionFlatNbt) SetTo(v SaveAuctionFlatNbt)
SetTo sets value to v.
func (*OptNilSaveAuctionFlatNbt) UnmarshalJSON ¶
func (s *OptNilSaveAuctionFlatNbt) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilSaveAuctionTraceContext ¶
type OptNilSaveAuctionTraceContext struct { Value SaveAuctionTraceContext Set bool Null bool }
OptNilSaveAuctionTraceContext is optional nullable SaveAuctionTraceContext.
func NewOptNilSaveAuctionTraceContext ¶
func NewOptNilSaveAuctionTraceContext(v SaveAuctionTraceContext) OptNilSaveAuctionTraceContext
NewOptNilSaveAuctionTraceContext returns new OptNilSaveAuctionTraceContext with value set to v.
func (*OptNilSaveAuctionTraceContext) Decode ¶
func (o *OptNilSaveAuctionTraceContext) Decode(d *jx.Decoder) error
Decode decodes SaveAuctionTraceContext from json.
func (OptNilSaveAuctionTraceContext) Encode ¶
func (o OptNilSaveAuctionTraceContext) Encode(e *jx.Encoder)
Encode encodes SaveAuctionTraceContext as json.
func (OptNilSaveAuctionTraceContext) Get ¶
func (o OptNilSaveAuctionTraceContext) Get() (v SaveAuctionTraceContext, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilSaveAuctionTraceContext) IsNull ¶
func (o OptNilSaveAuctionTraceContext) IsNull() bool
IsSet returns true if value is Null.
func (OptNilSaveAuctionTraceContext) IsSet ¶
func (o OptNilSaveAuctionTraceContext) IsSet() bool
IsSet returns true if OptNilSaveAuctionTraceContext was set.
func (OptNilSaveAuctionTraceContext) MarshalJSON ¶
func (s OptNilSaveAuctionTraceContext) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptNilSaveAuctionTraceContext) Reset ¶
func (o *OptNilSaveAuctionTraceContext) Reset()
Reset unsets value.
func (*OptNilSaveAuctionTraceContext) SetTo ¶
func (o *OptNilSaveAuctionTraceContext) SetTo(v SaveAuctionTraceContext)
SetTo sets value to v.
func (*OptNilSaveAuctionTraceContext) UnmarshalJSON ¶
func (s *OptNilSaveAuctionTraceContext) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilSaveBidsArray ¶
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 ¶
func (o OptNilSaveBidsArray) Or(d []SaveBids) []SaveBids
Or returns value if set, or given parameter if does not.
func (*OptNilSaveBidsArray) SetTo ¶
func (o *OptNilSaveBidsArray) SetTo(v []SaveBids)
SetTo sets value to v.
func (*OptNilSaveBidsArray) UnmarshalJSON ¶
func (s *OptNilSaveBidsArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilString ¶
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) UnmarshalJSON ¶
func (s *OptNilString) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilStringArray ¶
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) SetTo ¶
func (o *OptNilStringArray) SetTo(v []string)
SetTo sets value to v.
func (*OptNilStringArray) UnmarshalJSON ¶
func (s *OptNilStringArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilUUIDArray ¶
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) UnmarshalJSON ¶
func (s *OptNilUUIDArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptReforge ¶
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) UnmarshalJSON ¶
func (s *OptReforge) 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 ¶
func (o OptSaveAuction) Or(d SaveAuction) SaveAuction
Or returns value if set, or given parameter if does not.
func (*OptSaveAuction) UnmarshalJSON ¶
func (s *OptSaveAuction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptString ¶
OptString is optional string.
func NewOptString ¶
NewOptString returns new OptString with value set to v.
type OptTier ¶
OptTier is optional Tier.
func NewOptTier ¶
NewOptTier returns new OptTier with value set to v.
func (OptTier) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptTier) UnmarshalJSON ¶
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 metric.NewNoopMeterProvider 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 ProxyHypixelAhPlayerPlayerUuidGetParams ¶
type ProxyHypixelAhPlayerPlayerUuidGetParams struct { PlayerUuid string // Prefilter auctions to end in the future or less than x seconds ago, 0 is no limit (default). MaxAgeSeconds OptInt32 // Identifer for whoever provided the hint. HintOwner OptString }
ProxyHypixelAhPlayerPlayerUuidGetParams is parameters of GET /Proxy/hypixel/ah/player/{playerUuid} operation.
type ProxyHypixelGetOKApplicationJSON ¶
type ProxyHypixelGetOKApplicationJSON string
func (*ProxyHypixelGetOKApplicationJSON) Decode ¶
func (s *ProxyHypixelGetOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ProxyHypixelGetOKApplicationJSON from json.
func (ProxyHypixelGetOKApplicationJSON) Encode ¶
func (s ProxyHypixelGetOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ProxyHypixelGetOKApplicationJSON as json.
func (ProxyHypixelGetOKApplicationJSON) MarshalJSON ¶
func (s ProxyHypixelGetOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ProxyHypixelGetOKApplicationJSON) UnmarshalJSON ¶
func (s *ProxyHypixelGetOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ProxyHypixelGetParams ¶
type ProxyHypixelGetParams struct {
Path OptString
}
ProxyHypixelGetParams is parameters of GET /Proxy/hypixel operation.
type ProxyHypixelGetRes ¶
type ProxyHypixelGetRes interface {
// contains filtered or unexported methods
}
type ProxyHypixelStatusGetOK ¶
type ProxyHypixelStatusGetOK struct{}
ProxyHypixelStatusGetOK is response for ProxyHypixelStatusGet operation.
type Reforge ¶
type Reforge int32
Ref: #/components/schemas/Reforge
const ( Reforge0 Reforge = 0 Reforge1 Reforge = 1 Reforge2 Reforge = 2 Reforge3 Reforge = 3 Reforge4 Reforge = 4 Reforge5 Reforge = 5 Reforge6 Reforge = 6 Reforge7 Reforge = 7 Reforge8 Reforge = 8 Reforge9 Reforge = 9 Reforge10 Reforge = 10 Reforge11 Reforge = 11 Reforge12 Reforge = 12 Reforge13 Reforge = 13 Reforge14 Reforge = 14 Reforge15 Reforge = 15 Reforge16 Reforge = 16 Reforge17 Reforge = 17 Reforge18 Reforge = 18 Reforge19 Reforge = 19 Reforge20 Reforge = 20 Reforge21 Reforge = 21 Reforge22 Reforge = 22 Reforge23 Reforge = 23 Reforge24 Reforge = 24 Reforge25 Reforge = 25 Reforge26 Reforge = 26 Reforge27 Reforge = 27 Reforge28 Reforge = 28 Reforge29 Reforge = 29 Reforge30 Reforge = 30 Reforge31 Reforge = 31 Reforge32 Reforge = 32 Reforge33 Reforge = 33 Reforge34 Reforge = 34 Reforge35 Reforge = 35 Reforge36 Reforge = 36 Reforge37 Reforge = 37 Reforge38 Reforge = 38 Reforge39 Reforge = 39 Reforge40 Reforge = 40 Reforge41 Reforge = 41 Reforge42 Reforge = 42 Reforge43 Reforge = 43 Reforge44 Reforge = 44 Reforge45 Reforge = 45 Reforge46 Reforge = 46 Reforge47 Reforge = 47 Reforge48 Reforge = 48 Reforge49 Reforge = 49 Reforge50 Reforge = 50 Reforge51 Reforge = 51 Reforge52 Reforge = 52 Reforge53 Reforge = 53 Reforge54 Reforge = 54 Reforge55 Reforge = 55 Reforge56 Reforge = 56 Reforge57 Reforge = 57 Reforge58 Reforge = 58 Reforge59 Reforge = 59 Reforge60 Reforge = 60 Reforge61 Reforge = 61 Reforge62 Reforge = 62 Reforge63 Reforge = 63 Reforge64 Reforge = 64 Reforge65 Reforge = 65 Reforge66 Reforge = 66 Reforge67 Reforge = 67 Reforge68 Reforge = 68 Reforge69 Reforge = 69 Reforge70 Reforge = 70 Reforge71 Reforge = 71 Reforge72 Reforge = 72 Reforge73 Reforge = 73 Reforge74 Reforge = 74 Reforge75 Reforge = 75 Reforge76 Reforge = 76 Reforge77 Reforge = 77 Reforge78 Reforge = 78 Reforge79 Reforge = 79 Reforge80 Reforge = 80 Reforge81 Reforge = 81 Reforge82 Reforge = 82 Reforge83 Reforge = 83 Reforge84 Reforge = 84 Reforge85 Reforge = 85 Reforge86 Reforge = 86 Reforge87 Reforge = 87 Reforge88 Reforge = 88 Reforge89 Reforge = 89 Reforge90 Reforge = 90 Reforge91 Reforge = 91 Reforge92 Reforge = 92 Reforge93 Reforge = 93 Reforge94 Reforge = 94 Reforge95 Reforge = 95 Reforge96 Reforge = 96 Reforge97 Reforge = 97 Reforge98 Reforge = 98 Reforge99 Reforge = 99 Reforge100 Reforge = 100 Reforge101 Reforge = 101 Reforge102 Reforge = 102 Reforge103 Reforge = 103 Reforge104 Reforge = 104 Reforge105 Reforge = 105 Reforge106 Reforge = 106 Reforge107 Reforge = 107 Reforge108 Reforge = 108 Reforge109 Reforge = 109 Reforge110 Reforge = 110 Reforge111 Reforge = 111 Reforge112 Reforge = 112 Reforge113 Reforge = 113 Reforge114 Reforge = 114 Reforge115 Reforge = 115 Reforge116 Reforge = 116 Reforge117 Reforge = 117 Reforge118 Reforge = 118 Reforge119 Reforge = 119 Reforge120 Reforge = 120 Reforge125 Reforge = 125 Reforge126 Reforge = 126 )
func (Reforge) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Reforge) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type Route ¶
type Route struct {
// contains filtered or unexported fields
}
Route is route object.
func (Route) OperationID ¶
OperationID returns OpenAPI operationId.
type SaveAuction ¶
type SaveAuction struct { ID OptInt32 `json:"id"` UUID OptNilString `json:"uuid"` Claimed OptBool `json:"claimed"` Count OptInt32 `json:"count"` StartingBid OptInt64 `json:"startingBid"` OldTier OptNilString `json:"oldTier"` OldCategory OptNilString `json:"oldCategory"` 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"` ClaimedBidders OptNilAnyArray `json:"claimedBidders"` ClaimedBids OptNilUUIDArray `json:"claimedBids"` 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"` SellerId OptInt32 `json:"sellerId"` ItemId OptInt32 `json:"itemId"` NbtLookup OptNilNBTLookupArray `json:"nbtLookup"` FlatNbt OptNilSaveAuctionFlatNbt `json:"flatNbt"` UID OptInt64 `json:"uId"` FindTime OptDateTime `json:"findTime"` TraceContext OptNilSaveAuctionTraceContext `json:"traceContext"` Context OptNilSaveAuctionContext `json:"context"` }
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) GetClaimed ¶
func (s *SaveAuction) GetClaimed() OptBool
GetClaimed returns the value of Claimed.
func (*SaveAuction) GetClaimedBidders ¶
func (s *SaveAuction) GetClaimedBidders() OptNilAnyArray
GetClaimedBidders returns the value of ClaimedBidders.
func (*SaveAuction) GetClaimedBids ¶
func (s *SaveAuction) GetClaimedBids() OptNilUUIDArray
GetClaimedBids returns the value of ClaimedBids.
func (*SaveAuction) GetContext ¶
func (s *SaveAuction) GetContext() OptNilSaveAuctionContext
GetContext returns the value of Context.
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) GetFindTime ¶
func (s *SaveAuction) GetFindTime() OptDateTime
GetFindTime returns the value of FindTime.
func (*SaveAuction) GetFlatNbt ¶
func (s *SaveAuction) GetFlatNbt() OptNilSaveAuctionFlatNbt
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) GetItemId ¶
func (s *SaveAuction) GetItemId() OptInt32
GetItemId returns the value of ItemId.
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) GetNbtLookup ¶
func (s *SaveAuction) GetNbtLookup() OptNilNBTLookupArray
GetNbtLookup returns the value of NbtLookup.
func (*SaveAuction) GetOldCategory ¶
func (s *SaveAuction) GetOldCategory() OptNilString
GetOldCategory returns the value of OldCategory.
func (*SaveAuction) GetOldTier ¶
func (s *SaveAuction) GetOldTier() OptNilString
GetOldTier returns the value of OldTier.
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) GetSellerId ¶
func (s *SaveAuction) GetSellerId() OptInt32
GetSellerId returns the value of SellerId.
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) GetTraceContext ¶
func (s *SaveAuction) GetTraceContext() OptNilSaveAuctionTraceContext
GetTraceContext returns the value of TraceContext.
func (*SaveAuction) GetUID ¶
func (s *SaveAuction) GetUID() OptInt64
GetUID returns the value of UID.
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) SetClaimed ¶
func (s *SaveAuction) SetClaimed(val OptBool)
SetClaimed sets the value of Claimed.
func (*SaveAuction) SetClaimedBidders ¶
func (s *SaveAuction) SetClaimedBidders(val OptNilAnyArray)
SetClaimedBidders sets the value of ClaimedBidders.
func (*SaveAuction) SetClaimedBids ¶
func (s *SaveAuction) SetClaimedBids(val OptNilUUIDArray)
SetClaimedBids sets the value of ClaimedBids.
func (*SaveAuction) SetContext ¶
func (s *SaveAuction) SetContext(val OptNilSaveAuctionContext)
SetContext sets the value of Context.
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) SetFindTime ¶
func (s *SaveAuction) SetFindTime(val OptDateTime)
SetFindTime sets the value of FindTime.
func (*SaveAuction) SetFlatNbt ¶
func (s *SaveAuction) SetFlatNbt(val OptNilSaveAuctionFlatNbt)
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) SetItemId ¶
func (s *SaveAuction) SetItemId(val OptInt32)
SetItemId sets the value of ItemId.
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) SetNbtLookup ¶
func (s *SaveAuction) SetNbtLookup(val OptNilNBTLookupArray)
SetNbtLookup sets the value of NbtLookup.
func (*SaveAuction) SetOldCategory ¶
func (s *SaveAuction) SetOldCategory(val OptNilString)
SetOldCategory sets the value of OldCategory.
func (*SaveAuction) SetOldTier ¶
func (s *SaveAuction) SetOldTier(val OptNilString)
SetOldTier sets the value of OldTier.
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) SetSellerId ¶
func (s *SaveAuction) SetSellerId(val OptInt32)
SetSellerId sets the value of SellerId.
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) SetTraceContext ¶
func (s *SaveAuction) SetTraceContext(val OptNilSaveAuctionTraceContext)
SetTraceContext sets the value of TraceContext.
func (*SaveAuction) SetUID ¶
func (s *SaveAuction) SetUID(val OptInt64)
SetUID sets the value of UID.
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 SaveAuctionContext ¶
func (*SaveAuctionContext) Decode ¶
func (s *SaveAuctionContext) Decode(d *jx.Decoder) error
Decode decodes SaveAuctionContext from json.
func (SaveAuctionContext) Encode ¶
func (s SaveAuctionContext) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (SaveAuctionContext) MarshalJSON ¶
func (s SaveAuctionContext) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SaveAuctionContext) UnmarshalJSON ¶
func (s *SaveAuctionContext) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SaveAuctionFlatNbt ¶
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 SaveAuctionTraceContext ¶
func (*SaveAuctionTraceContext) Decode ¶
func (s *SaveAuctionTraceContext) Decode(d *jx.Decoder) error
Decode decodes SaveAuctionTraceContext from json.
func (SaveAuctionTraceContext) Encode ¶
func (s SaveAuctionTraceContext) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (SaveAuctionTraceContext) MarshalJSON ¶
func (s SaveAuctionTraceContext) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SaveAuctionTraceContext) UnmarshalJSON ¶
func (s *SaveAuctionTraceContext) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SaveBids ¶
type SaveBids struct { ID OptInt32 `json:"id"` Auction OptSaveAuction `json:"auction"` Bidder OptNilString `json:"bidder"` ProfileId OptNilString `json:"profileId"` Amount OptInt64 `json:"amount"` Timestamp OptDateTime `json:"timestamp"` BidderId OptInt32 `json:"bidderId"` }
Ref: #/components/schemas/SaveBids
func (*SaveBids) GetAuction ¶
func (s *SaveBids) GetAuction() OptSaveAuction
GetAuction returns the value of Auction.
func (*SaveBids) GetBidder ¶
func (s *SaveBids) GetBidder() OptNilString
GetBidder returns the value of Bidder.
func (*SaveBids) GetBidderId ¶
GetBidderId returns the value of BidderId.
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 ¶
MarshalJSON implements stdjson.Marshaler.
func (*SaveBids) SetAuction ¶
func (s *SaveBids) SetAuction(val OptSaveAuction)
SetAuction sets the value of Auction.
func (*SaveBids) SetBidder ¶
func (s *SaveBids) SetBidder(val OptNilString)
SetBidder sets the value of Bidder.
func (*SaveBids) SetBidderId ¶
SetBidderId sets the value of BidderId.
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 ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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.
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 SkyblockAuctionsGetOKApplicationJSON ¶
type SkyblockAuctionsGetOKApplicationJSON string
func (*SkyblockAuctionsGetOKApplicationJSON) Decode ¶
func (s *SkyblockAuctionsGetOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes SkyblockAuctionsGetOKApplicationJSON from json.
func (SkyblockAuctionsGetOKApplicationJSON) Encode ¶
func (s SkyblockAuctionsGetOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes SkyblockAuctionsGetOKApplicationJSON as json.
func (SkyblockAuctionsGetOKApplicationJSON) MarshalJSON ¶
func (s SkyblockAuctionsGetOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SkyblockAuctionsGetOKApplicationJSON) UnmarshalJSON ¶
func (s *SkyblockAuctionsGetOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SkyblockAuctionsGetRes ¶
type SkyblockAuctionsGetRes interface {
// contains filtered or unexported methods
}
type SkyblockAuctionsPostOKApplicationJSON ¶
type SkyblockAuctionsPostOKApplicationJSON string
func (*SkyblockAuctionsPostOKApplicationJSON) Decode ¶
func (s *SkyblockAuctionsPostOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes SkyblockAuctionsPostOKApplicationJSON from json.
func (SkyblockAuctionsPostOKApplicationJSON) Encode ¶
func (s SkyblockAuctionsPostOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes SkyblockAuctionsPostOKApplicationJSON as json.
func (SkyblockAuctionsPostOKApplicationJSON) MarshalJSON ¶
func (s SkyblockAuctionsPostOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SkyblockAuctionsPostOKApplicationJSON) UnmarshalJSON ¶
func (s *SkyblockAuctionsPostOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SkyblockAuctionsPostRes ¶
type SkyblockAuctionsPostRes interface {
// contains filtered or unexported methods
}
type Tier ¶
type Tier int32
Ref: #/components/schemas/Tier
func (Tier) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Tier) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type UUID ¶
type UUID struct { ID OptInt32 `json:"id"` Value OptNilString `json:"value"` }
Ref: #/components/schemas/UuId
func (*UUID) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*UUID) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type UnimplementedHandler ¶
type UnimplementedHandler struct{}
UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.
func (UnimplementedHandler) APITimeGet ¶
APITimeGet implements GET /Api/time operation.
GET /Api/time
func (UnimplementedHandler) BaseAhPlayerIdPost ¶
func (UnimplementedHandler) BaseAhPlayerIdPost(ctx context.Context, params BaseAhPlayerIdPostParams) error
BaseAhPlayerIdPost implements POST /Base/ah/{playerId} operation.
Request ah update for a player.
POST /Base/ah/{playerId}
func (UnimplementedHandler) BaseKeyPost ¶
func (UnimplementedHandler) BaseKeyPost(ctx context.Context, req *KeyCreate) error
BaseKeyPost implements POST /Base/key operation.
POST /Base/key
func (UnimplementedHandler) BaseKeysPartyCountGet ¶
func (UnimplementedHandler) BaseKeysPartyCountGet(ctx context.Context, params BaseKeysPartyCountGetParams) (r int32, _ error)
BaseKeysPartyCountGet implements GET /Base/keys/{party}/count operation.
GET /Base/keys/{party}/count
func (UnimplementedHandler) ProxyHypixelAhPlayerPlayerUuidGet ¶
func (UnimplementedHandler) ProxyHypixelAhPlayerPlayerUuidGet(ctx context.Context, params ProxyHypixelAhPlayerPlayerUuidGetParams) (r []SaveAuction, _ error)
ProxyHypixelAhPlayerPlayerUuidGet implements GET /Proxy/hypixel/ah/player/{playerUuid} operation.
Load the auctions of a player.
GET /Proxy/hypixel/ah/player/{playerUuid}
func (UnimplementedHandler) ProxyHypixelGet ¶
func (UnimplementedHandler) ProxyHypixelGet(ctx context.Context, params ProxyHypixelGetParams) (r ProxyHypixelGetRes, _ error)
ProxyHypixelGet implements GET /Proxy/hypixel operation.
Proxy the path to hypixel using the assigned key (no key required).
GET /Proxy/hypixel
func (UnimplementedHandler) ProxyHypixelStatusGet ¶
func (UnimplementedHandler) ProxyHypixelStatusGet(ctx context.Context) error
ProxyHypixelStatusGet implements GET /Proxy/hypixel/status operation.
Can proxy anything.
GET /Proxy/hypixel/status
func (UnimplementedHandler) SkyblockAuctionsGet ¶
func (UnimplementedHandler) SkyblockAuctionsGet(ctx context.Context) (r SkyblockAuctionsGetRes, _ error)
SkyblockAuctionsGet implements GET /skyblock/auctions operation.
GET /skyblock/auctions
func (UnimplementedHandler) SkyblockAuctionsPost ¶
func (UnimplementedHandler) SkyblockAuctionsPost(ctx context.Context) (r SkyblockAuctionsPostRes, _ error)
SkyblockAuctionsPost implements POST /skyblock/auctions operation.
POST /skyblock/auctions
Source Files
¶
- oas_cfg_gen.go
- oas_client_gen.go
- oas_handlers_gen.go
- oas_interfaces_gen.go
- oas_json_gen.go
- oas_middleware_gen.go
- oas_parameters_gen.go
- oas_request_decoders_gen.go
- oas_request_encoders_gen.go
- oas_response_decoders_gen.go
- oas_response_encoders_gen.go
- oas_router_gen.go
- oas_schemas_gen.go
- oas_server_gen.go
- oas_unimplemented_gen.go
- oas_validators_gen.go