forked from Nyarum/betting
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbetting_filter.go
19 lines (18 loc) · 1.13 KB
/
betting_filter.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package betting
type MarketFilter struct {
TextQuery string `json:"textQuery,omitempty"`
ExchangeIDs []string `json:"exchangeIds,omitempty"`
EventTypeIDs []string `json:"eventTypeIds,omitempty"`
EventIDs []string `json:"eventIds,omitempty"`
CompetitionIDs []string `json:"competitionIds,omitempty"`
MarketIDs []string `json:"marketIds,omitempty"`
Venues []string `json:"venues,omitempty"`
BspOnly *bool `json:"bspOnly,omitempty"`
TurnInPlayEnabled *bool `json:"turnInPlayEnabled,omitempty"`
InPlayOnly *bool `json:"inPlayOnly,omitempty"`
MarketBettingTypes []EMarketBettingTypes `json:"marketBettingTypes,omitempty"`
MarketCountries []string `json:"marketCountries,omitempty"`
MarketTypeCodes []string `json:"marketTypeCodes,omitempty"`
MarketStartTime *DateRange `json:"marketStartTime,omitempty"`
WithOrders []EOrderStatus `json:"withOrders,omitempty"`
}