/* Options: Date: 2026-11-07 04:22:04 Version: 10.42 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://s4w1.api.bettor.webhop.biz //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetRecentWinsConfig.* //ExcludeTypes: //DefaultImports: */ package dtos import ( "time" ) type WinInterval struct { Start float64 `json:"start,omitempty"` End float64 `json:"end,omitempty"` Duration time.Duration `json:"duration,omitempty"` } type RecentWinsConfiguration struct { RecentWinsConfiguration Id *string `json:"id,omitempty"` } type RecentWinsConfiguration struct { MaxSize int `json:"maxSize,omitempty"` WinIntervals *RecordList[WinInterval] `json:"winIntervals,omitempty"` } type RecordList[T any] []T // @Route("/qry/config/recent-wins") type GetRecentWinsConfig struct { } func (GetRecentWinsConfig) CreateResponse() (r RecentWinsConfiguration) { return } func (GetRecentWinsConfig) HttpMethod() string { return "POST" }