/* Options: Date: 2026-11-07 04:19:05 Version: 10.42 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://s4w2.api.bettor.webhop.biz //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetRecentGlobalCodePotWinners.* //ExcludeTypes: //DefaultImports: */ package dtos import ( "time" ) type Ref struct { Id string `json:"id"` Val string `json:"val"` } type BettingApp struct { Name *string `json:"name,omitempty"` Version *string `json:"version,omitempty"` } type RefEx struct { Ref Data RecordDictionary[string, string] `json:"data"` } type Origin struct { Application *BettingApp `json:"application,omitempty"` Ip *string `json:"ip,omitempty"` Organization *RefEx `json:"organization,omitempty"` Region *Ref `json:"region,omitempty"` LocationGroup *Ref `json:"locationGroup,omitempty"` Location *RefEx `json:"location,omitempty"` Device *RefEx `json:"device,omitempty"` Clerk *Ref `json:"clerk,omitempty"` } type RecordDictionary[TKey any, TVal any] map[TKey]TVal type WinnerByCode struct { RoundId *string `json:"roundId,omitempty"` DrawnAtUtc time.Time `json:"drawnAtUtc,omitempty"` SlipId *string `json:"slipId,omitempty"` BetId *string `json:"betId,omitempty"` Code *string `json:"code,omitempty"` Amount float64 `json:"amount,omitempty"` Origin *Origin `json:"origin,omitempty"` Bettor *Ref `json:"bettor,omitempty"` LocationAddressOrBettorInfo *string `json:"locationAddressOrBettorInfo,omitempty"` } type RecentGlobalCodePotWinners struct { Id *string `json:"id,omitempty"` RecentWinners []WinnerByCode `json:"recentWinners,omitempty"` } // @Route("/qry/recentGlobalCodePotWinners", "GET") type GetRecentGlobalCodePotWinners struct { } func (GetRecentGlobalCodePotWinners) CreateResponse() (r RecentGlobalCodePotWinners) { return } func (GetRecentGlobalCodePotWinners) HttpMethod() string { return "GET" }