Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AccountItem
- func (o *AccountItem) GetBetType() string
- func (o *AccountItem) GetBetTypeOk() (*string, bool)
- func (o *AccountItem) GetBookie() string
- func (o *AccountItem) GetBookieOk() (*string, bool)
- func (o *AccountItem) GetUsername() string
- func (o *AccountItem) GetUsernameOk() (*string, bool)
- func (o AccountItem) MarshalJSON() ([]byte, error)
- func (o *AccountItem) SetBetType(v string)
- func (o *AccountItem) SetBookie(v string)
- func (o *AccountItem) SetUsername(v string)
- type BadRequestError
- func (o *BadRequestError) GetCode() string
- func (o *BadRequestError) GetCodeOk() (*string, bool)
- func (o *BadRequestError) GetData() ErrorData
- func (o *BadRequestError) GetDataOk() (*ErrorData, bool)
- func (o *BadRequestError) GetStatus() string
- func (o *BadRequestError) GetStatusOk() (*string, bool)
- func (o BadRequestError) MarshalJSON() ([]byte, error)
- func (o *BadRequestError) SetCode(v string)
- func (o *BadRequestError) SetData(v ErrorData)
- func (o *BadRequestError) SetStatus(v string)
- type BalanceItem
- func (o *BalanceItem) GetKey() string
- func (o *BalanceItem) GetKeyOk() (*string, bool)
- func (o *BalanceItem) GetLabel() string
- func (o *BalanceItem) GetLabelOk() (*string, bool)
- func (o *BalanceItem) GetUnit() string
- func (o *BalanceItem) GetUnitOk() (*string, bool)
- func (o *BalanceItem) GetValue() float64
- func (o *BalanceItem) GetValueOk() (*float64, bool)
- func (o BalanceItem) MarshalJSON() ([]byte, error)
- func (o *BalanceItem) SetKey(v string)
- func (o *BalanceItem) SetLabel(v string)
- func (o *BalanceItem) SetUnit(v string)
- func (o *BalanceItem) SetValue(v float64)
- type BalanceResponse
- func (o *BalanceResponse) GetData() []BalanceItem
- func (o *BalanceResponse) GetDataOk() (*[]BalanceItem, bool)
- func (o *BalanceResponse) GetStatus() string
- func (o *BalanceResponse) GetStatusOk() (*string, bool)
- func (o BalanceResponse) MarshalJSON() ([]byte, error)
- func (o *BalanceResponse) SetData(v []BalanceItem)
- func (o *BalanceResponse) SetStatus(v string)
- type BasicAuth
- type BetApiService
- func (a *BetApiService) BetById(ctx _context.Context, orderId int64) apiBetByIdRequest
- func (a *BetApiService) BetList(ctx _context.Context) apiBetListRequest
- func (a *BetApiService) BetLog(ctx _context.Context, orderId int64) apiBetLogRequest
- func (a *BetApiService) BetSlip(ctx _context.Context) apiBetSlipRequest
- func (a *BetApiService) PlaceBet(ctx _context.Context) apiPlaceBetRequest
- func (a *BetApiService) RefreshBetSlip(ctx _context.Context, betslipId string) apiRefreshBetSlipRequest
- type BetBar
- func (o *BetBar) GetDanger() []interface{}
- func (o *BetBar) GetDangerOk() (*[]interface{}, bool)
- func (o *BetBar) GetInprogress() []interface{}
- func (o *BetBar) GetInprogressOk() (*[]interface{}, bool)
- func (o *BetBar) GetSuccess() []interface{}
- func (o *BetBar) GetSuccessOk() (*[]interface{}, bool)
- func (o *BetBar) GetUnplaced() []interface{}
- func (o *BetBar) GetUnplacedOk() (*[]interface{}, bool)
- func (o BetBar) MarshalJSON() ([]byte, error)
- func (o *BetBar) SetDanger(v []interface{})
- func (o *BetBar) SetInprogress(v []interface{})
- func (o *BetBar) SetSuccess(v []interface{})
- func (o *BetBar) SetUnplaced(v []interface{})
- type BetItem
- func (o *BetItem) GetBetId() int64
- func (o *BetItem) GetBetIdOk() (*int64, bool)
- func (o *BetItem) GetBetType() string
- func (o *BetItem) GetBetTypeOk() (*string, bool)
- func (o *BetItem) GetBookie() string
- func (o *BetItem) GetBookieBetId() string
- func (o *BetItem) GetBookieBetIdOk() (*string, bool)
- func (o *BetItem) GetBookieOk() (*string, bool)
- func (o *BetItem) GetCcyRate() float64
- func (o *BetItem) GetCcyRateOk() (*float64, bool)
- func (o *BetItem) GetEventId() string
- func (o *BetItem) GetEventIdOk() (*string, bool)
- func (o *BetItem) GetGotPrice() float64
- func (o *BetItem) GetGotPriceOk() (*float64, bool)
- func (o *BetItem) GetGotStake() []interface{}
- func (o *BetItem) GetGotStakeOk() (*[]interface{}, bool)
- func (o *BetItem) GetOrderId() int64
- func (o *BetItem) GetOrderIdOk() (*int64, bool)
- func (o *BetItem) GetProfitLoss() []interface{}
- func (o *BetItem) GetProfitLossOk() (*[]interface{}, bool)
- func (o *BetItem) GetReconciled() bool
- func (o *BetItem) GetReconciledOk() (*bool, bool)
- func (o *BetItem) GetSport() string
- func (o *BetItem) GetSportOk() (*string, bool)
- func (o *BetItem) GetStatus() BetItemStatus
- func (o *BetItem) GetStatusOk() (*BetItemStatus, bool)
- func (o *BetItem) GetUsername() string
- func (o *BetItem) GetUsernameOk() (*string, bool)
- func (o *BetItem) GetWantPrice() float64
- func (o *BetItem) GetWantPriceOk() (*float64, bool)
- func (o *BetItem) GetWantStake() []interface{}
- func (o *BetItem) GetWantStakeOk() (*[]interface{}, bool)
- func (o *BetItem) HasBetId() bool
- func (o *BetItem) HasBetType() bool
- func (o *BetItem) HasBookie() bool
- func (o *BetItem) HasBookieBetId() bool
- func (o *BetItem) HasCcyRate() bool
- func (o *BetItem) HasEventId() bool
- func (o *BetItem) HasGotPrice() bool
- func (o *BetItem) HasGotStake() bool
- func (o *BetItem) HasOrderId() bool
- func (o *BetItem) HasProfitLoss() bool
- func (o *BetItem) HasReconciled() bool
- func (o *BetItem) HasSport() bool
- func (o *BetItem) HasStatus() bool
- func (o *BetItem) HasUsername() bool
- func (o *BetItem) HasWantPrice() bool
- func (o *BetItem) HasWantStake() bool
- func (o BetItem) MarshalJSON() ([]byte, error)
- func (o *BetItem) SetBetId(v int64)
- func (o *BetItem) SetBetType(v string)
- func (o *BetItem) SetBookie(v string)
- func (o *BetItem) SetBookieBetId(v string)
- func (o *BetItem) SetCcyRate(v float64)
- func (o *BetItem) SetEventId(v string)
- func (o *BetItem) SetGotPrice(v float64)
- func (o *BetItem) SetGotStake(v []interface{})
- func (o *BetItem) SetOrderId(v int64)
- func (o *BetItem) SetProfitLoss(v []interface{})
- func (o *BetItem) SetReconciled(v bool)
- func (o *BetItem) SetSport(v string)
- func (o *BetItem) SetStatus(v BetItemStatus)
- func (o *BetItem) SetUsername(v string)
- func (o *BetItem) SetWantPrice(v float64)
- func (o *BetItem) SetWantStake(v []interface{})
- type BetItemStatus
- type BetListResponse
- func (o *BetListResponse) GetData() []OrderItem
- func (o *BetListResponse) GetDataOk() (*[]OrderItem, bool)
- func (o *BetListResponse) GetStatus() string
- func (o *BetListResponse) GetStatusOk() (*string, bool)
- func (o BetListResponse) MarshalJSON() ([]byte, error)
- func (o *BetListResponse) SetData(v []OrderItem)
- func (o *BetListResponse) SetStatus(v string)
- type BetLogResponse
- func (o *BetLogResponse) GetData() []LogItem
- func (o *BetLogResponse) GetDataOk() (*[]LogItem, bool)
- func (o *BetLogResponse) GetStatus() string
- func (o *BetLogResponse) GetStatusOk() (*string, bool)
- func (o BetLogResponse) MarshalJSON() ([]byte, error)
- func (o *BetLogResponse) SetData(v []LogItem)
- func (o *BetLogResponse) SetStatus(v string)
- type BetSlipData
- func (o *BetSlipData) GetAccounts() []AccountItem
- func (o *BetSlipData) GetAccountsOk() (*[]AccountItem, bool)
- func (o *BetSlipData) GetBetType() string
- func (o *BetSlipData) GetBetTypeDescription() string
- func (o *BetSlipData) GetBetTypeDescriptionOk() (*string, bool)
- func (o *BetSlipData) GetBetTypeOk() (*string, bool)
- func (o *BetSlipData) GetBetTypeTemplate() string
- func (o *BetSlipData) GetBetTypeTemplateOk() (*string, bool)
- func (o *BetSlipData) GetBetslipId() string
- func (o *BetSlipData) GetBetslipIdOk() (*string, bool)
- func (o *BetSlipData) GetBookiesWithOffers() []string
- func (o *BetSlipData) GetBookiesWithOffersOk() (*[]string, bool)
- func (o *BetSlipData) GetCloseReason() string
- func (o *BetSlipData) GetCloseReasonOk() (*string, bool)
- func (o *BetSlipData) GetCustomerCcy() string
- func (o *BetSlipData) GetCustomerCcyOk() (*string, bool)
- func (o *BetSlipData) GetCustomerUsername() string
- func (o *BetSlipData) GetCustomerUsernameOk() (*string, bool)
- func (o *BetSlipData) GetEquivalentBets() bool
- func (o *BetSlipData) GetEquivalentBetsBookies() []string
- func (o *BetSlipData) GetEquivalentBetsBookiesOk() (*[]string, bool)
- func (o *BetSlipData) GetEquivalentBetsOk() (*bool, bool)
- func (o *BetSlipData) GetEventId() string
- func (o *BetSlipData) GetEventIdOk() (*string, bool)
- func (o *BetSlipData) GetExpiryTs() float64
- func (o *BetSlipData) GetExpiryTsOk() (*float64, bool)
- func (o *BetSlipData) GetInvalidAccounts() map[string]map[string]interface{}
- func (o *BetSlipData) GetInvalidAccountsOk() (*map[string]map[string]interface{}, bool)
- func (o *BetSlipData) GetIsOpen() bool
- func (o *BetSlipData) GetIsOpenOk() (*bool, bool)
- func (o *BetSlipData) GetMultipleAccounts() bool
- func (o *BetSlipData) GetMultipleAccountsOk() (*bool, bool)
- func (o *BetSlipData) GetSport() string
- func (o *BetSlipData) GetSportOk() (*string, bool)
- func (o *BetSlipData) GetWantBookies() string
- func (o *BetSlipData) GetWantBookiesOk() (*string, bool)
- func (o *BetSlipData) HasAccounts() bool
- func (o *BetSlipData) HasBetTypeDescription() bool
- func (o *BetSlipData) HasBetTypeTemplate() bool
- func (o *BetSlipData) HasBookiesWithOffers() bool
- func (o *BetSlipData) HasCloseReason() bool
- func (o *BetSlipData) HasCustomerCcy() bool
- func (o *BetSlipData) HasCustomerUsername() bool
- func (o *BetSlipData) HasEquivalentBets() bool
- func (o *BetSlipData) HasEquivalentBetsBookies() bool
- func (o *BetSlipData) HasInvalidAccounts() bool
- func (o *BetSlipData) HasIsOpen() bool
- func (o *BetSlipData) HasMultipleAccounts() bool
- func (o *BetSlipData) HasWantBookies() bool
- func (o BetSlipData) MarshalJSON() ([]byte, error)
- func (o *BetSlipData) SetAccounts(v []AccountItem)
- func (o *BetSlipData) SetBetType(v string)
- func (o *BetSlipData) SetBetTypeDescription(v string)
- func (o *BetSlipData) SetBetTypeTemplate(v string)
- func (o *BetSlipData) SetBetslipId(v string)
- func (o *BetSlipData) SetBookiesWithOffers(v []string)
- func (o *BetSlipData) SetCloseReason(v string)
- func (o *BetSlipData) SetCustomerCcy(v string)
- func (o *BetSlipData) SetCustomerUsername(v string)
- func (o *BetSlipData) SetEquivalentBets(v bool)
- func (o *BetSlipData) SetEquivalentBetsBookies(v []string)
- func (o *BetSlipData) SetEventId(v string)
- func (o *BetSlipData) SetExpiryTs(v float64)
- func (o *BetSlipData) SetInvalidAccounts(v map[string]map[string]interface{})
- func (o *BetSlipData) SetIsOpen(v bool)
- func (o *BetSlipData) SetMultipleAccounts(v bool)
- func (o *BetSlipData) SetSport(v string)
- func (o *BetSlipData) SetWantBookies(v string)
- type BetSlipRequest
- func (o *BetSlipRequest) GetBetType() string
- func (o *BetSlipRequest) GetBetTypeOk() (*string, bool)
- func (o *BetSlipRequest) GetEquivalentBets() bool
- func (o *BetSlipRequest) GetEquivalentBetsOk() (*bool, bool)
- func (o *BetSlipRequest) GetEventId() string
- func (o *BetSlipRequest) GetEventIdOk() (*string, bool)
- func (o *BetSlipRequest) GetMultipleAccounts() bool
- func (o *BetSlipRequest) GetMultipleAccountsOk() (*bool, bool)
- func (o *BetSlipRequest) GetSport() string
- func (o *BetSlipRequest) GetSportOk() (*string, bool)
- func (o BetSlipRequest) MarshalJSON() ([]byte, error)
- func (o *BetSlipRequest) SetBetType(v string)
- func (o *BetSlipRequest) SetEquivalentBets(v bool)
- func (o *BetSlipRequest) SetEventId(v string)
- func (o *BetSlipRequest) SetMultipleAccounts(v bool)
- func (o *BetSlipRequest) SetSport(v string)
- type BetSlipResponse
- func (o *BetSlipResponse) GetData() BetSlipData
- func (o *BetSlipResponse) GetDataOk() (*BetSlipData, bool)
- func (o *BetSlipResponse) GetStatus() string
- func (o *BetSlipResponse) GetStatusOk() (*string, bool)
- func (o BetSlipResponse) MarshalJSON() ([]byte, error)
- func (o *BetSlipResponse) SetData(v BetSlipData)
- func (o *BetSlipResponse) SetStatus(v string)
- type Configuration
- type ErrorData
- type Event
- func (o *Event) GetAway() string
- func (o *Event) GetAwayOk() (*string, bool)
- func (o *Event) GetHome() string
- func (o *Event) GetHomeOk() (*string, bool)
- func (o *Event) GetIrStatus() string
- func (o *Event) GetIrStatusOk() (*string, bool)
- func (o *Event) GetSports() []string
- func (o *Event) GetSportsOk() (*[]string, bool)
- func (o *Event) GetStartTime() time.Time
- func (o *Event) GetStartTimeOk() (*time.Time, bool)
- func (o *Event) HasAway() bool
- func (o *Event) HasHome() bool
- func (o *Event) HasIrStatus() bool
- func (o *Event) HasSports() bool
- func (o *Event) HasStartTime() bool
- func (o Event) MarshalJSON() ([]byte, error)
- func (o *Event) SetAway(v string)
- func (o *Event) SetHome(v string)
- func (o *Event) SetIrStatus(v string)
- func (o *Event) SetSports(v []string)
- func (o *Event) SetStartTime(v time.Time)
- type EventInfo
- func (o *EventInfo) GetAwayId() int64
- func (o *EventInfo) GetAwayIdOk() (*int64, bool)
- func (o *EventInfo) GetAwayTeam() string
- func (o *EventInfo) GetAwayTeamOk() (*string, bool)
- func (o *EventInfo) GetCompetitionCountry() string
- func (o *EventInfo) GetCompetitionCountryOk() (*string, bool)
- func (o *EventInfo) GetCompetitionId() int64
- func (o *EventInfo) GetCompetitionIdOk() (*int64, bool)
- func (o *EventInfo) GetCompetitionName() string
- func (o *EventInfo) GetCompetitionNameOk() (*string, bool)
- func (o *EventInfo) GetDate() string
- func (o *EventInfo) GetDateOk() (*string, bool)
- func (o *EventInfo) GetEventId() string
- func (o *EventInfo) GetEventIdOk() (*string, bool)
- func (o *EventInfo) GetHomeId() int64
- func (o *EventInfo) GetHomeIdOk() (*int64, bool)
- func (o *EventInfo) GetHomeTeam() string
- func (o *EventInfo) GetHomeTeamOk() (*string, bool)
- func (o *EventInfo) GetStartTime() time.Time
- func (o *EventInfo) GetStartTimeOk() (*time.Time, bool)
- func (o EventInfo) MarshalJSON() ([]byte, error)
- func (o *EventInfo) SetAwayId(v int64)
- func (o *EventInfo) SetAwayTeam(v string)
- func (o *EventInfo) SetCompetitionCountry(v string)
- func (o *EventInfo) SetCompetitionId(v int64)
- func (o *EventInfo) SetCompetitionName(v string)
- func (o *EventInfo) SetDate(v string)
- func (o *EventInfo) SetEventId(v string)
- func (o *EventInfo) SetHomeId(v int64)
- func (o *EventInfo) SetHomeTeam(v string)
- func (o *EventInfo) SetStartTime(v time.Time)
- type GenericOpenAPIError
- type GetEventsRequest
- func (o *GetEventsRequest) GetAllEvents() bool
- func (o *GetEventsRequest) GetAllEventsOk() (*bool, bool)
- func (o *GetEventsRequest) GetAllHcaps() bool
- func (o *GetEventsRequest) GetAllHcapsOk() (*bool, bool)
- func (o *GetEventsRequest) GetEventIds() [][]string
- func (o *GetEventsRequest) GetEventIdsOk() (*[][]string, bool)
- func (o *GetEventsRequest) GetIncludePrices() bool
- func (o *GetEventsRequest) GetIncludePricesOk() (*bool, bool)
- func (o *GetEventsRequest) HasAllHcaps() bool
- func (o *GetEventsRequest) HasEventIds() bool
- func (o GetEventsRequest) MarshalJSON() ([]byte, error)
- func (o *GetEventsRequest) SetAllEvents(v bool)
- func (o *GetEventsRequest) SetAllHcaps(v bool)
- func (o *GetEventsRequest) SetEventIds(v [][]string)
- func (o *GetEventsRequest) SetIncludePrices(v bool)
- type GetEventsResponse
- func (o *GetEventsResponse) GetData() map[string]League
- func (o *GetEventsResponse) GetDataOk() (*map[string]League, bool)
- func (o *GetEventsResponse) GetStatus() string
- func (o *GetEventsResponse) GetStatusOk() (*string, bool)
- func (o *GetEventsResponse) HasData() bool
- func (o *GetEventsResponse) HasStatus() bool
- func (o GetEventsResponse) MarshalJSON() ([]byte, error)
- func (o *GetEventsResponse) SetData(v map[string]League)
- func (o *GetEventsResponse) SetStatus(v string)
- type League
- func (o *League) GetCompBookie() bool
- func (o *League) GetCompBookieOk() (*bool, bool)
- func (o *League) GetCountry() string
- func (o *League) GetCountryOk() (*string, bool)
- func (o *League) GetEvents() map[string]Event
- func (o *League) GetEventsOk() (*map[string]Event, bool)
- func (o *League) GetName() string
- func (o *League) GetNameOk() (*string, bool)
- func (o *League) GetRank() int64
- func (o *League) GetRankOk() (*int64, bool)
- func (o *League) HasCompBookie() bool
- func (o *League) HasCountry() bool
- func (o *League) HasEvents() bool
- func (o *League) HasName() bool
- func (o *League) HasRank() bool
- func (o League) MarshalJSON() ([]byte, error)
- func (o *League) SetCompBookie(v bool)
- func (o *League) SetCountry(v string)
- func (o *League) SetEvents(v map[string]Event)
- func (o *League) SetName(v string)
- func (o *League) SetRank(v int64)
- type LogItem
- func (o *LogItem) GetCategory() string
- func (o *LogItem) GetCategoryOk() (*string, bool)
- func (o *LogItem) GetMessage() string
- func (o *LogItem) GetMessageOk() (*string, bool)
- func (o *LogItem) GetTimestamp() time.Time
- func (o *LogItem) GetTimestampOk() (*time.Time, bool)
- func (o *LogItem) HasCategory() bool
- func (o *LogItem) HasMessage() bool
- func (o *LogItem) HasTimestamp() bool
- func (o LogItem) MarshalJSON() ([]byte, error)
- func (o *LogItem) SetCategory(v string)
- func (o *LogItem) SetMessage(v string)
- func (o *LogItem) SetTimestamp(v time.Time)
- type LoginData
- func (o *LoginData) GetCustomerId() int64
- func (o *LoginData) GetCustomerIdOk() (*int64, bool)
- func (o *LoginData) GetLang() string
- func (o *LoginData) GetLangOk() (*string, bool)
- func (o *LoginData) GetSessionId() string
- func (o *LoginData) GetSessionIdOk() (*string, bool)
- func (o *LoginData) GetUsername() string
- func (o *LoginData) GetUsernameOk() (*string, bool)
- func (o *LoginData) GetWhitelabel() string
- func (o *LoginData) GetWhitelabelOk() (*string, bool)
- func (o *LoginData) HasCustomerId() bool
- func (o *LoginData) HasLang() bool
- func (o *LoginData) HasSessionId() bool
- func (o *LoginData) HasUsername() bool
- func (o *LoginData) HasWhitelabel() bool
- func (o LoginData) MarshalJSON() ([]byte, error)
- func (o *LoginData) SetCustomerId(v int64)
- func (o *LoginData) SetLang(v string)
- func (o *LoginData) SetSessionId(v string)
- func (o *LoginData) SetUsername(v string)
- func (o *LoginData) SetWhitelabel(v string)
- type LoginRequest
- func (o *LoginRequest) GetFull() bool
- func (o *LoginRequest) GetFullOk() (*bool, bool)
- func (o *LoginRequest) GetLang() string
- func (o *LoginRequest) GetLangOk() (*string, bool)
- func (o *LoginRequest) GetPassword() string
- func (o *LoginRequest) GetPasswordOk() (*string, bool)
- func (o *LoginRequest) GetUsername() string
- func (o *LoginRequest) GetUsernameOk() (*string, bool)
- func (o LoginRequest) MarshalJSON() ([]byte, error)
- func (o *LoginRequest) SetFull(v bool)
- func (o *LoginRequest) SetLang(v string)
- func (o *LoginRequest) SetPassword(v string)
- func (o *LoginRequest) SetUsername(v string)
- type LoginResponse
- func (o *LoginResponse) GetData() LoginData
- func (o *LoginResponse) GetDataOk() (*LoginData, bool)
- func (o *LoginResponse) GetStatus() string
- func (o *LoginResponse) GetStatusOk() (*string, bool)
- func (o *LoginResponse) HasData() bool
- func (o *LoginResponse) HasStatus() bool
- func (o LoginResponse) MarshalJSON() ([]byte, error)
- func (o *LoginResponse) SetData(v LoginData)
- func (o *LoginResponse) SetStatus(v string)
- type MarketApiService
- type NullableAccountItem
- func (v NullableAccountItem) Get() *AccountItem
- func (v NullableAccountItem) IsSet() bool
- func (v NullableAccountItem) MarshalJSON() ([]byte, error)
- func (v *NullableAccountItem) Set(val *AccountItem)
- func (v *NullableAccountItem) UnmarshalJSON(src []byte) error
- func (v *NullableAccountItem) Unset()
- type NullableBadRequestError
- func (v NullableBadRequestError) Get() *BadRequestError
- func (v NullableBadRequestError) IsSet() bool
- func (v NullableBadRequestError) MarshalJSON() ([]byte, error)
- func (v *NullableBadRequestError) Set(val *BadRequestError)
- func (v *NullableBadRequestError) UnmarshalJSON(src []byte) error
- func (v *NullableBadRequestError) Unset()
- type NullableBalanceItem
- func (v NullableBalanceItem) Get() *BalanceItem
- func (v NullableBalanceItem) IsSet() bool
- func (v NullableBalanceItem) MarshalJSON() ([]byte, error)
- func (v *NullableBalanceItem) Set(val *BalanceItem)
- func (v *NullableBalanceItem) UnmarshalJSON(src []byte) error
- func (v *NullableBalanceItem) Unset()
- type NullableBalanceResponse
- func (v NullableBalanceResponse) Get() *BalanceResponse
- func (v NullableBalanceResponse) IsSet() bool
- func (v NullableBalanceResponse) MarshalJSON() ([]byte, error)
- func (v *NullableBalanceResponse) Set(val *BalanceResponse)
- func (v *NullableBalanceResponse) UnmarshalJSON(src []byte) error
- func (v *NullableBalanceResponse) Unset()
- type NullableBetBar
- type NullableBetItem
- type NullableBetItemStatus
- func (v NullableBetItemStatus) Get() *BetItemStatus
- func (v NullableBetItemStatus) IsSet() bool
- func (v NullableBetItemStatus) MarshalJSON() ([]byte, error)
- func (v *NullableBetItemStatus) Set(val *BetItemStatus)
- func (v *NullableBetItemStatus) UnmarshalJSON(src []byte) error
- func (v *NullableBetItemStatus) Unset()
- type NullableBetListResponse
- func (v NullableBetListResponse) Get() *BetListResponse
- func (v NullableBetListResponse) IsSet() bool
- func (v NullableBetListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableBetListResponse) Set(val *BetListResponse)
- func (v *NullableBetListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableBetListResponse) Unset()
- type NullableBetLogResponse
- func (v NullableBetLogResponse) Get() *BetLogResponse
- func (v NullableBetLogResponse) IsSet() bool
- func (v NullableBetLogResponse) MarshalJSON() ([]byte, error)
- func (v *NullableBetLogResponse) Set(val *BetLogResponse)
- func (v *NullableBetLogResponse) UnmarshalJSON(src []byte) error
- func (v *NullableBetLogResponse) Unset()
- type NullableBetSlipData
- func (v NullableBetSlipData) Get() *BetSlipData
- func (v NullableBetSlipData) IsSet() bool
- func (v NullableBetSlipData) MarshalJSON() ([]byte, error)
- func (v *NullableBetSlipData) Set(val *BetSlipData)
- func (v *NullableBetSlipData) UnmarshalJSON(src []byte) error
- func (v *NullableBetSlipData) Unset()
- type NullableBetSlipRequest
- func (v NullableBetSlipRequest) Get() *BetSlipRequest
- func (v NullableBetSlipRequest) IsSet() bool
- func (v NullableBetSlipRequest) MarshalJSON() ([]byte, error)
- func (v *NullableBetSlipRequest) Set(val *BetSlipRequest)
- func (v *NullableBetSlipRequest) UnmarshalJSON(src []byte) error
- func (v *NullableBetSlipRequest) Unset()
- type NullableBetSlipResponse
- func (v NullableBetSlipResponse) Get() *BetSlipResponse
- func (v NullableBetSlipResponse) IsSet() bool
- func (v NullableBetSlipResponse) MarshalJSON() ([]byte, error)
- func (v *NullableBetSlipResponse) Set(val *BetSlipResponse)
- func (v *NullableBetSlipResponse) UnmarshalJSON(src []byte) error
- func (v *NullableBetSlipResponse) Unset()
- type NullableBool
- type NullableErrorData
- type NullableEvent
- type NullableEventInfo
- type NullableFloat32
- type NullableFloat64
- type NullableGetEventsRequest
- func (v NullableGetEventsRequest) Get() *GetEventsRequest
- func (v NullableGetEventsRequest) IsSet() bool
- func (v NullableGetEventsRequest) MarshalJSON() ([]byte, error)
- func (v *NullableGetEventsRequest) Set(val *GetEventsRequest)
- func (v *NullableGetEventsRequest) UnmarshalJSON(src []byte) error
- func (v *NullableGetEventsRequest) Unset()
- type NullableGetEventsResponse
- func (v NullableGetEventsResponse) Get() *GetEventsResponse
- func (v NullableGetEventsResponse) IsSet() bool
- func (v NullableGetEventsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetEventsResponse) Set(val *GetEventsResponse)
- func (v *NullableGetEventsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetEventsResponse) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLeague
- type NullableLogItem
- type NullableLoginData
- type NullableLoginRequest
- func (v NullableLoginRequest) Get() *LoginRequest
- func (v NullableLoginRequest) IsSet() bool
- func (v NullableLoginRequest) MarshalJSON() ([]byte, error)
- func (v *NullableLoginRequest) Set(val *LoginRequest)
- func (v *NullableLoginRequest) UnmarshalJSON(src []byte) error
- func (v *NullableLoginRequest) Unset()
- type NullableLoginResponse
- func (v NullableLoginResponse) Get() *LoginResponse
- func (v NullableLoginResponse) IsSet() bool
- func (v NullableLoginResponse) MarshalJSON() ([]byte, error)
- func (v *NullableLoginResponse) Set(val *LoginResponse)
- func (v *NullableLoginResponse) UnmarshalJSON(src []byte) error
- func (v *NullableLoginResponse) Unset()
- type NullableOrderItem
- type NullablePlaceBetRequest
- func (v NullablePlaceBetRequest) Get() *PlaceBetRequest
- func (v NullablePlaceBetRequest) IsSet() bool
- func (v NullablePlaceBetRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePlaceBetRequest) Set(val *PlaceBetRequest)
- func (v *NullablePlaceBetRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePlaceBetRequest) Unset()
- type NullablePlaceBetResponse
- func (v NullablePlaceBetResponse) Get() *PlaceBetResponse
- func (v NullablePlaceBetResponse) IsSet() bool
- func (v NullablePlaceBetResponse) MarshalJSON() ([]byte, error)
- func (v *NullablePlaceBetResponse) Set(val *PlaceBetResponse)
- func (v *NullablePlaceBetResponse) UnmarshalJSON(src []byte) error
- func (v *NullablePlaceBetResponse) Unset()
- type NullableRefreshBetSlipResponse
- func (v NullableRefreshBetSlipResponse) Get() *RefreshBetSlipResponse
- func (v NullableRefreshBetSlipResponse) IsSet() bool
- func (v NullableRefreshBetSlipResponse) MarshalJSON() ([]byte, error)
- func (v *NullableRefreshBetSlipResponse) Set(val *RefreshBetSlipResponse)
- func (v *NullableRefreshBetSlipResponse) UnmarshalJSON(src []byte) error
- func (v *NullableRefreshBetSlipResponse) Unset()
- type NullableString
- type NullableTime
- type NullableWebsocketResponse
- func (v NullableWebsocketResponse) Get() *WebsocketResponse
- func (v NullableWebsocketResponse) IsSet() bool
- func (v NullableWebsocketResponse) MarshalJSON() ([]byte, error)
- func (v *NullableWebsocketResponse) Set(val *WebsocketResponse)
- func (v *NullableWebsocketResponse) UnmarshalJSON(src []byte) error
- func (v *NullableWebsocketResponse) Unset()
- type OrderItem
- func (o *OrderItem) GetBetBarValues() BetBar
- func (o *OrderItem) GetBetBarValuesOk() (*BetBar, bool)
- func (o *OrderItem) GetBetType() string
- func (o *OrderItem) GetBetTypeDescription() string
- func (o *OrderItem) GetBetTypeDescriptionOk() (*string, bool)
- func (o *OrderItem) GetBetTypeOk() (*string, bool)
- func (o *OrderItem) GetBetTypeTemplate() string
- func (o *OrderItem) GetBetTypeTemplateOk() (*string, bool)
- func (o *OrderItem) GetBets() []BetItem
- func (o *OrderItem) GetBetsOk() (*[]BetItem, bool)
- func (o *OrderItem) GetCcyRate() float64
- func (o *OrderItem) GetCcyRateOk() (*float64, bool)
- func (o *OrderItem) GetCloseReason() string
- func (o *OrderItem) GetCloseReasonOk() (*string, bool)
- func (o *OrderItem) GetClosed() bool
- func (o *OrderItem) GetClosedOk() (*bool, bool)
- func (o *OrderItem) GetEventInfo() EventInfo
- func (o *OrderItem) GetEventInfoOk() (*EventInfo, bool)
- func (o *OrderItem) GetExpiryTime() time.Time
- func (o *OrderItem) GetExpiryTimeOk() (*time.Time, bool)
- func (o *OrderItem) GetKeepOpenIr() bool
- func (o *OrderItem) GetKeepOpenIrOk() (*bool, bool)
- func (o *OrderItem) GetOrderId() int64
- func (o *OrderItem) GetOrderIdOk() (*int64, bool)
- func (o *OrderItem) GetOrderType() string
- func (o *OrderItem) GetOrderTypeOk() (*string, bool)
- func (o *OrderItem) GetPlacementTime() time.Time
- func (o *OrderItem) GetPlacementTimeOk() (*time.Time, bool)
- func (o *OrderItem) GetPlacer() string
- func (o *OrderItem) GetPlacerOk() (*string, bool)
- func (o *OrderItem) GetPrice() float64
- func (o *OrderItem) GetPriceOk() (*float64, bool)
- func (o *OrderItem) GetProfitLoss() []interface{}
- func (o *OrderItem) GetProfitLossOk() (*[]interface{}, bool)
- func (o *OrderItem) GetSport() string
- func (o *OrderItem) GetSportOk() (*string, bool)
- func (o *OrderItem) GetStake() []interface{}
- func (o *OrderItem) GetStakeOk() (*[]interface{}, bool)
- func (o *OrderItem) GetStatus() string
- func (o *OrderItem) GetStatusOk() (*string, bool)
- func (o *OrderItem) GetTakeStartingPrice() bool
- func (o *OrderItem) GetTakeStartingPriceOk() (*bool, bool)
- func (o *OrderItem) GetUserData() string
- func (o *OrderItem) GetUserDataOk() (*string, bool)
- func (o *OrderItem) GetWantPrice() float64
- func (o *OrderItem) GetWantPriceOk() (*float64, bool)
- func (o *OrderItem) GetWantStake() []interface{}
- func (o *OrderItem) GetWantStakeOk() (*[]interface{}, bool)
- func (o *OrderItem) HasBetBarValues() bool
- func (o *OrderItem) HasBetTypeDescription() bool
- func (o *OrderItem) HasBetTypeTemplate() bool
- func (o *OrderItem) HasBets() bool
- func (o *OrderItem) HasCcyRate() bool
- func (o *OrderItem) HasCloseReason() bool
- func (o *OrderItem) HasClosed() bool
- func (o *OrderItem) HasEventInfo() bool
- func (o *OrderItem) HasExpiryTime() bool
- func (o *OrderItem) HasKeepOpenIr() bool
- func (o *OrderItem) HasPlacementTime() bool
- func (o *OrderItem) HasPlacer() bool
- func (o *OrderItem) HasPrice() bool
- func (o *OrderItem) HasProfitLoss() bool
- func (o *OrderItem) HasSport() bool
- func (o *OrderItem) HasStake() bool
- func (o *OrderItem) HasStatus() bool
- func (o *OrderItem) HasTakeStartingPrice() bool
- func (o *OrderItem) HasUserData() bool
- func (o *OrderItem) HasWantPrice() bool
- func (o *OrderItem) HasWantStake() bool
- func (o OrderItem) MarshalJSON() ([]byte, error)
- func (o *OrderItem) SetBetBarValues(v BetBar)
- func (o *OrderItem) SetBetType(v string)
- func (o *OrderItem) SetBetTypeDescription(v string)
- func (o *OrderItem) SetBetTypeTemplate(v string)
- func (o *OrderItem) SetBets(v []BetItem)
- func (o *OrderItem) SetCcyRate(v float64)
- func (o *OrderItem) SetCloseReason(v string)
- func (o *OrderItem) SetClosed(v bool)
- func (o *OrderItem) SetEventInfo(v EventInfo)
- func (o *OrderItem) SetExpiryTime(v time.Time)
- func (o *OrderItem) SetKeepOpenIr(v bool)
- func (o *OrderItem) SetOrderId(v int64)
- func (o *OrderItem) SetOrderType(v string)
- func (o *OrderItem) SetPlacementTime(v time.Time)
- func (o *OrderItem) SetPlacer(v string)
- func (o *OrderItem) SetPrice(v float64)
- func (o *OrderItem) SetProfitLoss(v []interface{})
- func (o *OrderItem) SetSport(v string)
- func (o *OrderItem) SetStake(v []interface{})
- func (o *OrderItem) SetStatus(v string)
- func (o *OrderItem) SetTakeStartingPrice(v bool)
- func (o *OrderItem) SetUserData(v string)
- func (o *OrderItem) SetWantPrice(v float64)
- func (o *OrderItem) SetWantStake(v []interface{})
- type PlaceBetRequest
- func (o *PlaceBetRequest) GetAccounts() [][]string
- func (o *PlaceBetRequest) GetAccountsOk() (*[][]string, bool)
- func (o *PlaceBetRequest) GetAdaptiveBookies() []string
- func (o *PlaceBetRequest) GetAdaptiveBookiesOk() (*[]string, bool)
- func (o *PlaceBetRequest) GetBetslipId() string
- func (o *PlaceBetRequest) GetBetslipIdOk() (*string, bool)
- func (o *PlaceBetRequest) GetDuration() int64
- func (o *PlaceBetRequest) GetDurationOk() (*int64, bool)
- func (o *PlaceBetRequest) GetIgnoreSystemMaintenance() bool
- func (o *PlaceBetRequest) GetIgnoreSystemMaintenanceOk() (*bool, bool)
- func (o *PlaceBetRequest) GetNoPutOfferExchange() bool
- func (o *PlaceBetRequest) GetNoPutOfferExchangeOk() (*bool, bool)
- func (o *PlaceBetRequest) GetPrice() float64
- func (o *PlaceBetRequest) GetPriceOk() (*float64, bool)
- func (o *PlaceBetRequest) GetRequestUuid() string
- func (o *PlaceBetRequest) GetRequestUuidOk() (*string, bool)
- func (o *PlaceBetRequest) GetStake() []interface{}
- func (o *PlaceBetRequest) GetStakeOk() (*[]interface{}, bool)
- func (o *PlaceBetRequest) HasAccounts() bool
- func (o *PlaceBetRequest) HasAdaptiveBookies() bool
- func (o PlaceBetRequest) MarshalJSON() ([]byte, error)
- func (o *PlaceBetRequest) SetAccounts(v [][]string)
- func (o *PlaceBetRequest) SetAdaptiveBookies(v []string)
- func (o *PlaceBetRequest) SetBetslipId(v string)
- func (o *PlaceBetRequest) SetDuration(v int64)
- func (o *PlaceBetRequest) SetIgnoreSystemMaintenance(v bool)
- func (o *PlaceBetRequest) SetNoPutOfferExchange(v bool)
- func (o *PlaceBetRequest) SetPrice(v float64)
- func (o *PlaceBetRequest) SetRequestUuid(v string)
- func (o *PlaceBetRequest) SetStake(v []interface{})
- type PlaceBetResponse
- func (o *PlaceBetResponse) GetData() OrderItem
- func (o *PlaceBetResponse) GetDataOk() (*OrderItem, bool)
- func (o *PlaceBetResponse) GetStatus() string
- func (o *PlaceBetResponse) GetStatusOk() (*string, bool)
- func (o PlaceBetResponse) MarshalJSON() ([]byte, error)
- func (o *PlaceBetResponse) SetData(v OrderItem)
- func (o *PlaceBetResponse) SetStatus(v string)
- type RefreshBetSlipResponse
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type UserApiService
- type WebsocketResponse
- func (o *WebsocketResponse) GetBetType() string
- func (o *WebsocketResponse) GetBetTypeOk() (*string, bool)
- func (o *WebsocketResponse) GetBetslipId() string
- func (o *WebsocketResponse) GetBetslipIdOk() (*string, bool)
- func (o *WebsocketResponse) GetBookie() string
- func (o *WebsocketResponse) GetBookieOk() (*string, bool)
- func (o *WebsocketResponse) GetEventId() string
- func (o *WebsocketResponse) GetEventIdOk() (*string, bool)
- func (o *WebsocketResponse) GetMax() float64
- func (o *WebsocketResponse) GetMaxOk() (*float64, bool)
- func (o *WebsocketResponse) GetMin() float64
- func (o *WebsocketResponse) GetMinOk() (*float64, bool)
- func (o *WebsocketResponse) GetPrice() float64
- func (o *WebsocketResponse) GetPriceOk() (*float64, bool)
- func (o *WebsocketResponse) GetSport() string
- func (o *WebsocketResponse) GetSportOk() (*string, bool)
- func (o *WebsocketResponse) GetStatus() string
- func (o *WebsocketResponse) GetStatusOk() (*string, bool)
- func (o *WebsocketResponse) GetUsername() string
- func (o *WebsocketResponse) GetUsernameOk() (*string, bool)
- func (o WebsocketResponse) MarshalJSON() ([]byte, error)
- func (o *WebsocketResponse) SetBetType(v string)
- func (o *WebsocketResponse) SetBetslipId(v string)
- func (o *WebsocketResponse) SetBookie(v string)
- func (o *WebsocketResponse) SetEventId(v string)
- func (o *WebsocketResponse) SetMax(v float64)
- func (o *WebsocketResponse) SetMin(v float64)
- func (o *WebsocketResponse) SetPrice(v float64)
- func (o *WebsocketResponse) SetSport(v string)
- func (o *WebsocketResponse) SetStatus(v string)
- func (o *WebsocketResponse) SetUsername(v string)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { BetApi *BetApiService MarketApi *MarketApiService UserApi *UserApiService // contains filtered or unexported fields }
APIClient manages communication with the Black API API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResonse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type AccountItem ¶
type AccountItem struct { Bookie string `json:"bookie"` Username string `json:"username"` BetType string `json:"bet_type"` }
AccountItem struct for AccountItem
func NewAccountItem ¶
func NewAccountItem(bookie string, username string, betType string) *AccountItem
NewAccountItem instantiates a new AccountItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountItemWithDefaults ¶
func NewAccountItemWithDefaults() *AccountItem
NewAccountItemWithDefaults instantiates a new AccountItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountItem) GetBetType ¶
func (o *AccountItem) GetBetType() string
GetBetType returns the BetType field value
func (*AccountItem) GetBetTypeOk ¶
func (o *AccountItem) GetBetTypeOk() (*string, bool)
GetBetTypeOk returns a tuple with the BetType field value and a boolean to check if the value has been set.
func (*AccountItem) GetBookie ¶
func (o *AccountItem) GetBookie() string
GetBookie returns the Bookie field value
func (*AccountItem) GetBookieOk ¶
func (o *AccountItem) GetBookieOk() (*string, bool)
GetBookieOk returns a tuple with the Bookie field value and a boolean to check if the value has been set.
func (*AccountItem) GetUsername ¶
func (o *AccountItem) GetUsername() string
GetUsername returns the Username field value
func (*AccountItem) GetUsernameOk ¶
func (o *AccountItem) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.
func (AccountItem) MarshalJSON ¶
func (o AccountItem) MarshalJSON() ([]byte, error)
func (*AccountItem) SetBetType ¶
func (o *AccountItem) SetBetType(v string)
SetBetType sets field value
func (*AccountItem) SetBookie ¶
func (o *AccountItem) SetBookie(v string)
SetBookie sets field value
func (*AccountItem) SetUsername ¶
func (o *AccountItem) SetUsername(v string)
SetUsername sets field value
type BadRequestError ¶
type BadRequestError struct { Status string `json:"status"` Code string `json:"code"` Data ErrorData `json:"data"` }
BadRequestError struct for BadRequestError
func NewBadRequestError ¶
func NewBadRequestError(status string, code string, data ErrorData) *BadRequestError
NewBadRequestError instantiates a new BadRequestError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBadRequestErrorWithDefaults ¶
func NewBadRequestErrorWithDefaults() *BadRequestError
NewBadRequestErrorWithDefaults instantiates a new BadRequestError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BadRequestError) GetCode ¶
func (o *BadRequestError) GetCode() string
GetCode returns the Code field value
func (*BadRequestError) GetCodeOk ¶
func (o *BadRequestError) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*BadRequestError) GetData ¶
func (o *BadRequestError) GetData() ErrorData
GetData returns the Data field value
func (*BadRequestError) GetDataOk ¶
func (o *BadRequestError) GetDataOk() (*ErrorData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*BadRequestError) GetStatus ¶
func (o *BadRequestError) GetStatus() string
GetStatus returns the Status field value
func (*BadRequestError) GetStatusOk ¶
func (o *BadRequestError) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (BadRequestError) MarshalJSON ¶
func (o BadRequestError) MarshalJSON() ([]byte, error)
func (*BadRequestError) SetCode ¶
func (o *BadRequestError) SetCode(v string)
SetCode sets field value
func (*BadRequestError) SetData ¶
func (o *BadRequestError) SetData(v ErrorData)
SetData sets field value
func (*BadRequestError) SetStatus ¶
func (o *BadRequestError) SetStatus(v string)
SetStatus sets field value
type BalanceItem ¶
type BalanceItem struct { Key string `json:"key"` Label string `json:"label"` Value float64 `json:"value"` Unit string `json:"unit"` }
BalanceItem struct for BalanceItem
func NewBalanceItem ¶
func NewBalanceItem(key string, label string, value float64, unit string) *BalanceItem
NewBalanceItem instantiates a new BalanceItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBalanceItemWithDefaults ¶
func NewBalanceItemWithDefaults() *BalanceItem
NewBalanceItemWithDefaults instantiates a new BalanceItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BalanceItem) GetKey ¶
func (o *BalanceItem) GetKey() string
GetKey returns the Key field value
func (*BalanceItem) GetKeyOk ¶
func (o *BalanceItem) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.
func (*BalanceItem) GetLabel ¶
func (o *BalanceItem) GetLabel() string
GetLabel returns the Label field value
func (*BalanceItem) GetLabelOk ¶
func (o *BalanceItem) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field value and a boolean to check if the value has been set.
func (*BalanceItem) GetUnit ¶
func (o *BalanceItem) GetUnit() string
GetUnit returns the Unit field value
func (*BalanceItem) GetUnitOk ¶
func (o *BalanceItem) GetUnitOk() (*string, bool)
GetUnitOk returns a tuple with the Unit field value and a boolean to check if the value has been set.
func (*BalanceItem) GetValue ¶
func (o *BalanceItem) GetValue() float64
GetValue returns the Value field value
func (*BalanceItem) GetValueOk ¶
func (o *BalanceItem) GetValueOk() (*float64, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (BalanceItem) MarshalJSON ¶
func (o BalanceItem) MarshalJSON() ([]byte, error)
type BalanceResponse ¶
type BalanceResponse struct { Status string `json:"status"` Data []BalanceItem `json:"data"` }
BalanceResponse struct for BalanceResponse
func NewBalanceResponse ¶
func NewBalanceResponse(status string, data []BalanceItem) *BalanceResponse
NewBalanceResponse instantiates a new BalanceResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBalanceResponseWithDefaults ¶
func NewBalanceResponseWithDefaults() *BalanceResponse
NewBalanceResponseWithDefaults instantiates a new BalanceResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BalanceResponse) GetData ¶
func (o *BalanceResponse) GetData() []BalanceItem
GetData returns the Data field value
func (*BalanceResponse) GetDataOk ¶
func (o *BalanceResponse) GetDataOk() (*[]BalanceItem, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*BalanceResponse) GetStatus ¶
func (o *BalanceResponse) GetStatus() string
GetStatus returns the Status field value
func (*BalanceResponse) GetStatusOk ¶
func (o *BalanceResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (BalanceResponse) MarshalJSON ¶
func (o BalanceResponse) MarshalJSON() ([]byte, error)
func (*BalanceResponse) SetData ¶
func (o *BalanceResponse) SetData(v []BalanceItem)
SetData sets field value
func (*BalanceResponse) SetStatus ¶
func (o *BalanceResponse) SetStatus(v string)
SetStatus sets field value
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type BetApiService ¶
type BetApiService service
BetApiService BetApi service
func (*BetApiService) BetById ¶
func (a *BetApiService) BetById(ctx _context.Context, orderId int64) apiBetByIdRequest
BetById Method for BetById
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orderId
@return apiBetByIdRequest
func (*BetApiService) BetList ¶
func (a *BetApiService) BetList(ctx _context.Context) apiBetListRequest
BetList Method for BetList
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiBetListRequest
func (*BetApiService) BetLog ¶
func (a *BetApiService) BetLog(ctx _context.Context, orderId int64) apiBetLogRequest
BetLog Method for BetLog
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orderId
@return apiBetLogRequest
func (*BetApiService) BetSlip ¶
func (a *BetApiService) BetSlip(ctx _context.Context) apiBetSlipRequest
BetSlip Method for BetSlip
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiBetSlipRequest
func (*BetApiService) PlaceBet ¶
func (a *BetApiService) PlaceBet(ctx _context.Context) apiPlaceBetRequest
PlaceBet Method for PlaceBet
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiPlaceBetRequest
func (*BetApiService) RefreshBetSlip ¶
func (a *BetApiService) RefreshBetSlip(ctx _context.Context, betslipId string) apiRefreshBetSlipRequest
RefreshBetSlip Method for RefreshBetSlip
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param betslipId
@return apiRefreshBetSlipRequest
type BetBar ¶
type BetBar struct { Success []interface{} `json:"success"` Inprogress []interface{} `json:"inprogress"` Danger []interface{} `json:"danger"` Unplaced []interface{} `json:"unplaced"` }
BetBar struct for BetBar
func NewBetBar ¶
func NewBetBar(success []interface{}, inprogress []interface{}, danger []interface{}, unplaced []interface{}) *BetBar
NewBetBar instantiates a new BetBar object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBetBarWithDefaults ¶
func NewBetBarWithDefaults() *BetBar
NewBetBarWithDefaults instantiates a new BetBar object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BetBar) GetDanger ¶
func (o *BetBar) GetDanger() []interface{}
GetDanger returns the Danger field value
func (*BetBar) GetDangerOk ¶
GetDangerOk returns a tuple with the Danger field value and a boolean to check if the value has been set.
func (*BetBar) GetInprogress ¶
func (o *BetBar) GetInprogress() []interface{}
GetInprogress returns the Inprogress field value
func (*BetBar) GetInprogressOk ¶
GetInprogressOk returns a tuple with the Inprogress field value and a boolean to check if the value has been set.
func (*BetBar) GetSuccess ¶
func (o *BetBar) GetSuccess() []interface{}
GetSuccess returns the Success field value
func (*BetBar) GetSuccessOk ¶
GetSuccessOk returns a tuple with the Success field value and a boolean to check if the value has been set.
func (*BetBar) GetUnplaced ¶
func (o *BetBar) GetUnplaced() []interface{}
GetUnplaced returns the Unplaced field value
func (*BetBar) GetUnplacedOk ¶
GetUnplacedOk returns a tuple with the Unplaced field value and a boolean to check if the value has been set.
func (BetBar) MarshalJSON ¶
func (*BetBar) SetInprogress ¶
func (o *BetBar) SetInprogress(v []interface{})
SetInprogress sets field value
func (*BetBar) SetSuccess ¶
func (o *BetBar) SetSuccess(v []interface{})
SetSuccess sets field value
func (*BetBar) SetUnplaced ¶
func (o *BetBar) SetUnplaced(v []interface{})
SetUnplaced sets field value
type BetItem ¶
type BetItem struct { BetId *int64 `json:"bet_id,omitempty"` OrderId *int64 `json:"order_id,omitempty"` Sport *string `json:"sport,omitempty"` EventId *string `json:"event_id,omitempty"` Bookie *string `json:"bookie,omitempty"` Username *string `json:"username,omitempty"` BetType *string `json:"bet_type,omitempty"` CcyRate *float64 `json:"ccy_rate,omitempty"` Reconciled *bool `json:"reconciled,omitempty"` BookieBetId *string `json:"bookie_bet_id,omitempty"` Status *BetItemStatus `json:"status,omitempty"` WantPrice *float64 `json:"want_price,omitempty"` GotPrice *float64 `json:"got_price,omitempty"` WantStake *[]interface{} `json:"want_stake,omitempty"` GotStake *[]interface{} `json:"got_stake,omitempty"` ProfitLoss *[]interface{} `json:"profit_loss,omitempty"` }
BetItem struct for BetItem
func NewBetItem ¶
func NewBetItem() *BetItem
NewBetItem instantiates a new BetItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBetItemWithDefaults ¶
func NewBetItemWithDefaults() *BetItem
NewBetItemWithDefaults instantiates a new BetItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BetItem) GetBetIdOk ¶
GetBetIdOk returns a tuple with the BetId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetItem) GetBetType ¶
GetBetType returns the BetType field value if set, zero value otherwise.
func (*BetItem) GetBetTypeOk ¶
GetBetTypeOk returns a tuple with the BetType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetItem) GetBookieBetId ¶
GetBookieBetId returns the BookieBetId field value if set, zero value otherwise.
func (*BetItem) GetBookieBetIdOk ¶
GetBookieBetIdOk returns a tuple with the BookieBetId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetItem) GetBookieOk ¶
GetBookieOk returns a tuple with the Bookie field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetItem) GetCcyRate ¶
GetCcyRate returns the CcyRate field value if set, zero value otherwise.
func (*BetItem) GetCcyRateOk ¶
GetCcyRateOk returns a tuple with the CcyRate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetItem) GetEventId ¶
GetEventId returns the EventId field value if set, zero value otherwise.
func (*BetItem) GetEventIdOk ¶
GetEventIdOk returns a tuple with the EventId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetItem) GetGotPrice ¶
GetGotPrice returns the GotPrice field value if set, zero value otherwise.
func (*BetItem) GetGotPriceOk ¶
GetGotPriceOk returns a tuple with the GotPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetItem) GetGotStake ¶
func (o *BetItem) GetGotStake() []interface{}
GetGotStake returns the GotStake field value if set, zero value otherwise.
func (*BetItem) GetGotStakeOk ¶
GetGotStakeOk returns a tuple with the GotStake field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetItem) GetOrderId ¶
GetOrderId returns the OrderId field value if set, zero value otherwise.
func (*BetItem) GetOrderIdOk ¶
GetOrderIdOk returns a tuple with the OrderId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetItem) GetProfitLoss ¶
func (o *BetItem) GetProfitLoss() []interface{}
GetProfitLoss returns the ProfitLoss field value if set, zero value otherwise.
func (*BetItem) GetProfitLossOk ¶
GetProfitLossOk returns a tuple with the ProfitLoss field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetItem) GetReconciled ¶
GetReconciled returns the Reconciled field value if set, zero value otherwise.
func (*BetItem) GetReconciledOk ¶
GetReconciledOk returns a tuple with the Reconciled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetItem) GetSportOk ¶
GetSportOk returns a tuple with the Sport field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetItem) GetStatus ¶
func (o *BetItem) GetStatus() BetItemStatus
GetStatus returns the Status field value if set, zero value otherwise.
func (*BetItem) GetStatusOk ¶
func (o *BetItem) GetStatusOk() (*BetItemStatus, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetItem) GetUsername ¶
GetUsername returns the Username field value if set, zero value otherwise.
func (*BetItem) GetUsernameOk ¶
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetItem) GetWantPrice ¶
GetWantPrice returns the WantPrice field value if set, zero value otherwise.
func (*BetItem) GetWantPriceOk ¶
GetWantPriceOk returns a tuple with the WantPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetItem) GetWantStake ¶
func (o *BetItem) GetWantStake() []interface{}
GetWantStake returns the WantStake field value if set, zero value otherwise.
func (*BetItem) GetWantStakeOk ¶
GetWantStakeOk returns a tuple with the WantStake field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetItem) HasBetType ¶
HasBetType returns a boolean if a field has been set.
func (*BetItem) HasBookieBetId ¶
HasBookieBetId returns a boolean if a field has been set.
func (*BetItem) HasCcyRate ¶
HasCcyRate returns a boolean if a field has been set.
func (*BetItem) HasEventId ¶
HasEventId returns a boolean if a field has been set.
func (*BetItem) HasGotPrice ¶
HasGotPrice returns a boolean if a field has been set.
func (*BetItem) HasGotStake ¶
HasGotStake returns a boolean if a field has been set.
func (*BetItem) HasOrderId ¶
HasOrderId returns a boolean if a field has been set.
func (*BetItem) HasProfitLoss ¶
HasProfitLoss returns a boolean if a field has been set.
func (*BetItem) HasReconciled ¶
HasReconciled returns a boolean if a field has been set.
func (*BetItem) HasUsername ¶
HasUsername returns a boolean if a field has been set.
func (*BetItem) HasWantPrice ¶
HasWantPrice returns a boolean if a field has been set.
func (*BetItem) HasWantStake ¶
HasWantStake returns a boolean if a field has been set.
func (BetItem) MarshalJSON ¶
func (*BetItem) SetBetId ¶
SetBetId gets a reference to the given int64 and assigns it to the BetId field.
func (*BetItem) SetBetType ¶
SetBetType gets a reference to the given string and assigns it to the BetType field.
func (*BetItem) SetBookie ¶
SetBookie gets a reference to the given string and assigns it to the Bookie field.
func (*BetItem) SetBookieBetId ¶
SetBookieBetId gets a reference to the given string and assigns it to the BookieBetId field.
func (*BetItem) SetCcyRate ¶
SetCcyRate gets a reference to the given float64 and assigns it to the CcyRate field.
func (*BetItem) SetEventId ¶
SetEventId gets a reference to the given string and assigns it to the EventId field.
func (*BetItem) SetGotPrice ¶
SetGotPrice gets a reference to the given float64 and assigns it to the GotPrice field.
func (*BetItem) SetGotStake ¶
func (o *BetItem) SetGotStake(v []interface{})
SetGotStake gets a reference to the given []interface{} and assigns it to the GotStake field.
func (*BetItem) SetOrderId ¶
SetOrderId gets a reference to the given int64 and assigns it to the OrderId field.
func (*BetItem) SetProfitLoss ¶
func (o *BetItem) SetProfitLoss(v []interface{})
SetProfitLoss gets a reference to the given []interface{} and assigns it to the ProfitLoss field.
func (*BetItem) SetReconciled ¶
SetReconciled gets a reference to the given bool and assigns it to the Reconciled field.
func (*BetItem) SetSport ¶
SetSport gets a reference to the given string and assigns it to the Sport field.
func (*BetItem) SetStatus ¶
func (o *BetItem) SetStatus(v BetItemStatus)
SetStatus gets a reference to the given BetItemStatus and assigns it to the Status field.
func (*BetItem) SetUsername ¶
SetUsername gets a reference to the given string and assigns it to the Username field.
func (*BetItem) SetWantPrice ¶
SetWantPrice gets a reference to the given float64 and assigns it to the WantPrice field.
func (*BetItem) SetWantStake ¶
func (o *BetItem) SetWantStake(v []interface{})
SetWantStake gets a reference to the given []interface{} and assigns it to the WantStake field.
type BetItemStatus ¶
type BetItemStatus struct {
Code *string `json:"code,omitempty"`
}
BetItemStatus struct for BetItemStatus
func NewBetItemStatus ¶
func NewBetItemStatus() *BetItemStatus
NewBetItemStatus instantiates a new BetItemStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBetItemStatusWithDefaults ¶
func NewBetItemStatusWithDefaults() *BetItemStatus
NewBetItemStatusWithDefaults instantiates a new BetItemStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BetItemStatus) GetCode ¶
func (o *BetItemStatus) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*BetItemStatus) GetCodeOk ¶
func (o *BetItemStatus) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetItemStatus) HasCode ¶
func (o *BetItemStatus) HasCode() bool
HasCode returns a boolean if a field has been set.
func (BetItemStatus) MarshalJSON ¶
func (o BetItemStatus) MarshalJSON() ([]byte, error)
func (*BetItemStatus) SetCode ¶
func (o *BetItemStatus) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
type BetListResponse ¶
BetListResponse struct for BetListResponse
func NewBetListResponse ¶
func NewBetListResponse(status string, data []OrderItem) *BetListResponse
NewBetListResponse instantiates a new BetListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBetListResponseWithDefaults ¶
func NewBetListResponseWithDefaults() *BetListResponse
NewBetListResponseWithDefaults instantiates a new BetListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BetListResponse) GetData ¶
func (o *BetListResponse) GetData() []OrderItem
GetData returns the Data field value
func (*BetListResponse) GetDataOk ¶
func (o *BetListResponse) GetDataOk() (*[]OrderItem, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*BetListResponse) GetStatus ¶
func (o *BetListResponse) GetStatus() string
GetStatus returns the Status field value
func (*BetListResponse) GetStatusOk ¶
func (o *BetListResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (BetListResponse) MarshalJSON ¶
func (o BetListResponse) MarshalJSON() ([]byte, error)
func (*BetListResponse) SetData ¶
func (o *BetListResponse) SetData(v []OrderItem)
SetData sets field value
func (*BetListResponse) SetStatus ¶
func (o *BetListResponse) SetStatus(v string)
SetStatus sets field value
type BetLogResponse ¶
BetLogResponse struct for BetLogResponse
func NewBetLogResponse ¶
func NewBetLogResponse(status string, data []LogItem) *BetLogResponse
NewBetLogResponse instantiates a new BetLogResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBetLogResponseWithDefaults ¶
func NewBetLogResponseWithDefaults() *BetLogResponse
NewBetLogResponseWithDefaults instantiates a new BetLogResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BetLogResponse) GetData ¶
func (o *BetLogResponse) GetData() []LogItem
GetData returns the Data field value
func (*BetLogResponse) GetDataOk ¶
func (o *BetLogResponse) GetDataOk() (*[]LogItem, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*BetLogResponse) GetStatus ¶
func (o *BetLogResponse) GetStatus() string
GetStatus returns the Status field value
func (*BetLogResponse) GetStatusOk ¶
func (o *BetLogResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (BetLogResponse) MarshalJSON ¶
func (o BetLogResponse) MarshalJSON() ([]byte, error)
func (*BetLogResponse) SetData ¶
func (o *BetLogResponse) SetData(v []LogItem)
SetData sets field value
func (*BetLogResponse) SetStatus ¶
func (o *BetLogResponse) SetStatus(v string)
SetStatus sets field value
type BetSlipData ¶
type BetSlipData struct { BetslipId string `json:"betslip_id"` Sport string `json:"sport"` EventId string `json:"event_id"` BetType string `json:"bet_type"` BetTypeDescription *string `json:"bet_type_description,omitempty"` BetTypeTemplate *string `json:"bet_type_template,omitempty"` EquivalentBets *bool `json:"equivalent_bets,omitempty"` MultipleAccounts *bool `json:"multiple_accounts,omitempty"` IsOpen *bool `json:"is_open,omitempty"` ExpiryTs float64 `json:"expiry_ts"` BookiesWithOffers *[]string `json:"bookies_with_offers,omitempty"` EquivalentBetsBookies *[]string `json:"equivalent_bets_bookies,omitempty"` CloseReason *string `json:"close_reason,omitempty"` CustomerUsername *string `json:"customer_username,omitempty"` CustomerCcy *string `json:"customer_ccy,omitempty"` InvalidAccounts *map[string]map[string]interface{} `json:"invalid_accounts,omitempty"` WantBookies *string `json:"want_bookies,omitempty"` Accounts *[]AccountItem `json:"accounts,omitempty"` }
BetSlipData struct for BetSlipData
func NewBetSlipData ¶
func NewBetSlipData(betslipId string, sport string, eventId string, betType string, expiryTs float64) *BetSlipData
NewBetSlipData instantiates a new BetSlipData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBetSlipDataWithDefaults ¶
func NewBetSlipDataWithDefaults() *BetSlipData
NewBetSlipDataWithDefaults instantiates a new BetSlipData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BetSlipData) GetAccounts ¶
func (o *BetSlipData) GetAccounts() []AccountItem
GetAccounts returns the Accounts field value if set, zero value otherwise.
func (*BetSlipData) GetAccountsOk ¶
func (o *BetSlipData) GetAccountsOk() (*[]AccountItem, bool)
GetAccountsOk returns a tuple with the Accounts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetSlipData) GetBetType ¶
func (o *BetSlipData) GetBetType() string
GetBetType returns the BetType field value
func (*BetSlipData) GetBetTypeDescription ¶
func (o *BetSlipData) GetBetTypeDescription() string
GetBetTypeDescription returns the BetTypeDescription field value if set, zero value otherwise.
func (*BetSlipData) GetBetTypeDescriptionOk ¶
func (o *BetSlipData) GetBetTypeDescriptionOk() (*string, bool)
GetBetTypeDescriptionOk returns a tuple with the BetTypeDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetSlipData) GetBetTypeOk ¶
func (o *BetSlipData) GetBetTypeOk() (*string, bool)
GetBetTypeOk returns a tuple with the BetType field value and a boolean to check if the value has been set.
func (*BetSlipData) GetBetTypeTemplate ¶
func (o *BetSlipData) GetBetTypeTemplate() string
GetBetTypeTemplate returns the BetTypeTemplate field value if set, zero value otherwise.
func (*BetSlipData) GetBetTypeTemplateOk ¶
func (o *BetSlipData) GetBetTypeTemplateOk() (*string, bool)
GetBetTypeTemplateOk returns a tuple with the BetTypeTemplate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetSlipData) GetBetslipId ¶
func (o *BetSlipData) GetBetslipId() string
GetBetslipId returns the BetslipId field value
func (*BetSlipData) GetBetslipIdOk ¶
func (o *BetSlipData) GetBetslipIdOk() (*string, bool)
GetBetslipIdOk returns a tuple with the BetslipId field value and a boolean to check if the value has been set.
func (*BetSlipData) GetBookiesWithOffers ¶
func (o *BetSlipData) GetBookiesWithOffers() []string
GetBookiesWithOffers returns the BookiesWithOffers field value if set, zero value otherwise.
func (*BetSlipData) GetBookiesWithOffersOk ¶
func (o *BetSlipData) GetBookiesWithOffersOk() (*[]string, bool)
GetBookiesWithOffersOk returns a tuple with the BookiesWithOffers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetSlipData) GetCloseReason ¶
func (o *BetSlipData) GetCloseReason() string
GetCloseReason returns the CloseReason field value if set, zero value otherwise.
func (*BetSlipData) GetCloseReasonOk ¶
func (o *BetSlipData) GetCloseReasonOk() (*string, bool)
GetCloseReasonOk returns a tuple with the CloseReason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetSlipData) GetCustomerCcy ¶
func (o *BetSlipData) GetCustomerCcy() string
GetCustomerCcy returns the CustomerCcy field value if set, zero value otherwise.
func (*BetSlipData) GetCustomerCcyOk ¶
func (o *BetSlipData) GetCustomerCcyOk() (*string, bool)
GetCustomerCcyOk returns a tuple with the CustomerCcy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetSlipData) GetCustomerUsername ¶
func (o *BetSlipData) GetCustomerUsername() string
GetCustomerUsername returns the CustomerUsername field value if set, zero value otherwise.
func (*BetSlipData) GetCustomerUsernameOk ¶
func (o *BetSlipData) GetCustomerUsernameOk() (*string, bool)
GetCustomerUsernameOk returns a tuple with the CustomerUsername field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetSlipData) GetEquivalentBets ¶
func (o *BetSlipData) GetEquivalentBets() bool
GetEquivalentBets returns the EquivalentBets field value if set, zero value otherwise.
func (*BetSlipData) GetEquivalentBetsBookies ¶
func (o *BetSlipData) GetEquivalentBetsBookies() []string
GetEquivalentBetsBookies returns the EquivalentBetsBookies field value if set, zero value otherwise.
func (*BetSlipData) GetEquivalentBetsBookiesOk ¶
func (o *BetSlipData) GetEquivalentBetsBookiesOk() (*[]string, bool)
GetEquivalentBetsBookiesOk returns a tuple with the EquivalentBetsBookies field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetSlipData) GetEquivalentBetsOk ¶
func (o *BetSlipData) GetEquivalentBetsOk() (*bool, bool)
GetEquivalentBetsOk returns a tuple with the EquivalentBets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetSlipData) GetEventId ¶
func (o *BetSlipData) GetEventId() string
GetEventId returns the EventId field value
func (*BetSlipData) GetEventIdOk ¶
func (o *BetSlipData) GetEventIdOk() (*string, bool)
GetEventIdOk returns a tuple with the EventId field value and a boolean to check if the value has been set.
func (*BetSlipData) GetExpiryTs ¶
func (o *BetSlipData) GetExpiryTs() float64
GetExpiryTs returns the ExpiryTs field value
func (*BetSlipData) GetExpiryTsOk ¶
func (o *BetSlipData) GetExpiryTsOk() (*float64, bool)
GetExpiryTsOk returns a tuple with the ExpiryTs field value and a boolean to check if the value has been set.
func (*BetSlipData) GetInvalidAccounts ¶
func (o *BetSlipData) GetInvalidAccounts() map[string]map[string]interface{}
GetInvalidAccounts returns the InvalidAccounts field value if set, zero value otherwise.
func (*BetSlipData) GetInvalidAccountsOk ¶
func (o *BetSlipData) GetInvalidAccountsOk() (*map[string]map[string]interface{}, bool)
GetInvalidAccountsOk returns a tuple with the InvalidAccounts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetSlipData) GetIsOpen ¶
func (o *BetSlipData) GetIsOpen() bool
GetIsOpen returns the IsOpen field value if set, zero value otherwise.
func (*BetSlipData) GetIsOpenOk ¶
func (o *BetSlipData) GetIsOpenOk() (*bool, bool)
GetIsOpenOk returns a tuple with the IsOpen field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetSlipData) GetMultipleAccounts ¶
func (o *BetSlipData) GetMultipleAccounts() bool
GetMultipleAccounts returns the MultipleAccounts field value if set, zero value otherwise.
func (*BetSlipData) GetMultipleAccountsOk ¶
func (o *BetSlipData) GetMultipleAccountsOk() (*bool, bool)
GetMultipleAccountsOk returns a tuple with the MultipleAccounts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetSlipData) GetSport ¶
func (o *BetSlipData) GetSport() string
GetSport returns the Sport field value
func (*BetSlipData) GetSportOk ¶
func (o *BetSlipData) GetSportOk() (*string, bool)
GetSportOk returns a tuple with the Sport field value and a boolean to check if the value has been set.
func (*BetSlipData) GetWantBookies ¶
func (o *BetSlipData) GetWantBookies() string
GetWantBookies returns the WantBookies field value if set, zero value otherwise.
func (*BetSlipData) GetWantBookiesOk ¶
func (o *BetSlipData) GetWantBookiesOk() (*string, bool)
GetWantBookiesOk returns a tuple with the WantBookies field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BetSlipData) HasAccounts ¶
func (o *BetSlipData) HasAccounts() bool
HasAccounts returns a boolean if a field has been set.
func (*BetSlipData) HasBetTypeDescription ¶
func (o *BetSlipData) HasBetTypeDescription() bool
HasBetTypeDescription returns a boolean if a field has been set.
func (*BetSlipData) HasBetTypeTemplate ¶
func (o *BetSlipData) HasBetTypeTemplate() bool
HasBetTypeTemplate returns a boolean if a field has been set.
func (*BetSlipData) HasBookiesWithOffers ¶
func (o *BetSlipData) HasBookiesWithOffers() bool
HasBookiesWithOffers returns a boolean if a field has been set.
func (*BetSlipData) HasCloseReason ¶
func (o *BetSlipData) HasCloseReason() bool
HasCloseReason returns a boolean if a field has been set.
func (*BetSlipData) HasCustomerCcy ¶
func (o *BetSlipData) HasCustomerCcy() bool
HasCustomerCcy returns a boolean if a field has been set.
func (*BetSlipData) HasCustomerUsername ¶
func (o *BetSlipData) HasCustomerUsername() bool
HasCustomerUsername returns a boolean if a field has been set.
func (*BetSlipData) HasEquivalentBets ¶
func (o *BetSlipData) HasEquivalentBets() bool
HasEquivalentBets returns a boolean if a field has been set.
func (*BetSlipData) HasEquivalentBetsBookies ¶
func (o *BetSlipData) HasEquivalentBetsBookies() bool
HasEquivalentBetsBookies returns a boolean if a field has been set.
func (*BetSlipData) HasInvalidAccounts ¶
func (o *BetSlipData) HasInvalidAccounts() bool
HasInvalidAccounts returns a boolean if a field has been set.
func (*BetSlipData) HasIsOpen ¶
func (o *BetSlipData) HasIsOpen() bool
HasIsOpen returns a boolean if a field has been set.
func (*BetSlipData) HasMultipleAccounts ¶
func (o *BetSlipData) HasMultipleAccounts() bool
HasMultipleAccounts returns a boolean if a field has been set.
func (*BetSlipData) HasWantBookies ¶
func (o *BetSlipData) HasWantBookies() bool
HasWantBookies returns a boolean if a field has been set.
func (BetSlipData) MarshalJSON ¶
func (o BetSlipData) MarshalJSON() ([]byte, error)
func (*BetSlipData) SetAccounts ¶
func (o *BetSlipData) SetAccounts(v []AccountItem)
SetAccounts gets a reference to the given []AccountItem and assigns it to the Accounts field.
func (*BetSlipData) SetBetType ¶
func (o *BetSlipData) SetBetType(v string)
SetBetType sets field value
func (*BetSlipData) SetBetTypeDescription ¶
func (o *BetSlipData) SetBetTypeDescription(v string)
SetBetTypeDescription gets a reference to the given string and assigns it to the BetTypeDescription field.
func (*BetSlipData) SetBetTypeTemplate ¶
func (o *BetSlipData) SetBetTypeTemplate(v string)
SetBetTypeTemplate gets a reference to the given string and assigns it to the BetTypeTemplate field.
func (*BetSlipData) SetBetslipId ¶
func (o *BetSlipData) SetBetslipId(v string)
SetBetslipId sets field value
func (*BetSlipData) SetBookiesWithOffers ¶
func (o *BetSlipData) SetBookiesWithOffers(v []string)
SetBookiesWithOffers gets a reference to the given []string and assigns it to the BookiesWithOffers field.
func (*BetSlipData) SetCloseReason ¶
func (o *BetSlipData) SetCloseReason(v string)
SetCloseReason gets a reference to the given string and assigns it to the CloseReason field.
func (*BetSlipData) SetCustomerCcy ¶
func (o *BetSlipData) SetCustomerCcy(v string)
SetCustomerCcy gets a reference to the given string and assigns it to the CustomerCcy field.
func (*BetSlipData) SetCustomerUsername ¶
func (o *BetSlipData) SetCustomerUsername(v string)
SetCustomerUsername gets a reference to the given string and assigns it to the CustomerUsername field.
func (*BetSlipData) SetEquivalentBets ¶
func (o *BetSlipData) SetEquivalentBets(v bool)
SetEquivalentBets gets a reference to the given bool and assigns it to the EquivalentBets field.
func (*BetSlipData) SetEquivalentBetsBookies ¶
func (o *BetSlipData) SetEquivalentBetsBookies(v []string)
SetEquivalentBetsBookies gets a reference to the given []string and assigns it to the EquivalentBetsBookies field.
func (*BetSlipData) SetEventId ¶
func (o *BetSlipData) SetEventId(v string)
SetEventId sets field value
func (*BetSlipData) SetExpiryTs ¶
func (o *BetSlipData) SetExpiryTs(v float64)
SetExpiryTs sets field value
func (*BetSlipData) SetInvalidAccounts ¶
func (o *BetSlipData) SetInvalidAccounts(v map[string]map[string]interface{})
SetInvalidAccounts gets a reference to the given map[string]map[string]interface{} and assigns it to the InvalidAccounts field.
func (*BetSlipData) SetIsOpen ¶
func (o *BetSlipData) SetIsOpen(v bool)
SetIsOpen gets a reference to the given bool and assigns it to the IsOpen field.
func (*BetSlipData) SetMultipleAccounts ¶
func (o *BetSlipData) SetMultipleAccounts(v bool)
SetMultipleAccounts gets a reference to the given bool and assigns it to the MultipleAccounts field.
func (*BetSlipData) SetWantBookies ¶
func (o *BetSlipData) SetWantBookies(v string)
SetWantBookies gets a reference to the given string and assigns it to the WantBookies field.
type BetSlipRequest ¶
type BetSlipRequest struct { Sport string `json:"sport"` EventId string `json:"event_id"` BetType string `json:"bet_type"` EquivalentBets bool `json:"equivalent_bets"` MultipleAccounts bool `json:"multiple_accounts"` }
BetSlipRequest struct for BetSlipRequest
func NewBetSlipRequest ¶
func NewBetSlipRequest(sport string, eventId string, betType string, equivalentBets bool, multipleAccounts bool) *BetSlipRequest
NewBetSlipRequest instantiates a new BetSlipRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBetSlipRequestWithDefaults ¶
func NewBetSlipRequestWithDefaults() *BetSlipRequest
NewBetSlipRequestWithDefaults instantiates a new BetSlipRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BetSlipRequest) GetBetType ¶
func (o *BetSlipRequest) GetBetType() string
GetBetType returns the BetType field value
func (*BetSlipRequest) GetBetTypeOk ¶
func (o *BetSlipRequest) GetBetTypeOk() (*string, bool)
GetBetTypeOk returns a tuple with the BetType field value and a boolean to check if the value has been set.
func (*BetSlipRequest) GetEquivalentBets ¶
func (o *BetSlipRequest) GetEquivalentBets() bool
GetEquivalentBets returns the EquivalentBets field value
func (*BetSlipRequest) GetEquivalentBetsOk ¶
func (o *BetSlipRequest) GetEquivalentBetsOk() (*bool, bool)
GetEquivalentBetsOk returns a tuple with the EquivalentBets field value and a boolean to check if the value has been set.
func (*BetSlipRequest) GetEventId ¶
func (o *BetSlipRequest) GetEventId() string
GetEventId returns the EventId field value
func (*BetSlipRequest) GetEventIdOk ¶
func (o *BetSlipRequest) GetEventIdOk() (*string, bool)
GetEventIdOk returns a tuple with the EventId field value and a boolean to check if the value has been set.
func (*BetSlipRequest) GetMultipleAccounts ¶
func (o *BetSlipRequest) GetMultipleAccounts() bool
GetMultipleAccounts returns the MultipleAccounts field value
func (*BetSlipRequest) GetMultipleAccountsOk ¶
func (o *BetSlipRequest) GetMultipleAccountsOk() (*bool, bool)
GetMultipleAccountsOk returns a tuple with the MultipleAccounts field value and a boolean to check if the value has been set.
func (*BetSlipRequest) GetSport ¶
func (o *BetSlipRequest) GetSport() string
GetSport returns the Sport field value
func (*BetSlipRequest) GetSportOk ¶
func (o *BetSlipRequest) GetSportOk() (*string, bool)
GetSportOk returns a tuple with the Sport field value and a boolean to check if the value has been set.
func (BetSlipRequest) MarshalJSON ¶
func (o BetSlipRequest) MarshalJSON() ([]byte, error)
func (*BetSlipRequest) SetBetType ¶
func (o *BetSlipRequest) SetBetType(v string)
SetBetType sets field value
func (*BetSlipRequest) SetEquivalentBets ¶
func (o *BetSlipRequest) SetEquivalentBets(v bool)
SetEquivalentBets sets field value
func (*BetSlipRequest) SetEventId ¶
func (o *BetSlipRequest) SetEventId(v string)
SetEventId sets field value
func (*BetSlipRequest) SetMultipleAccounts ¶
func (o *BetSlipRequest) SetMultipleAccounts(v bool)
SetMultipleAccounts sets field value
func (*BetSlipRequest) SetSport ¶
func (o *BetSlipRequest) SetSport(v string)
SetSport sets field value
type BetSlipResponse ¶
type BetSlipResponse struct { Data BetSlipData `json:"data"` Status string `json:"status"` }
BetSlipResponse struct for BetSlipResponse
func NewBetSlipResponse ¶
func NewBetSlipResponse(data BetSlipData, status string) *BetSlipResponse
NewBetSlipResponse instantiates a new BetSlipResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBetSlipResponseWithDefaults ¶
func NewBetSlipResponseWithDefaults() *BetSlipResponse
NewBetSlipResponseWithDefaults instantiates a new BetSlipResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BetSlipResponse) GetData ¶
func (o *BetSlipResponse) GetData() BetSlipData
GetData returns the Data field value
func (*BetSlipResponse) GetDataOk ¶
func (o *BetSlipResponse) GetDataOk() (*BetSlipData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*BetSlipResponse) GetStatus ¶
func (o *BetSlipResponse) GetStatus() string
GetStatus returns the Status field value
func (*BetSlipResponse) GetStatusOk ¶
func (o *BetSlipResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (BetSlipResponse) MarshalJSON ¶
func (o BetSlipResponse) MarshalJSON() ([]byte, error)
func (*BetSlipResponse) SetData ¶
func (o *BetSlipResponse) SetData(v BetSlipData)
SetData sets field value
func (*BetSlipResponse) SetStatus ¶
func (o *BetSlipResponse) SetStatus(v string)
SetStatus sets field value
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type ErrorData ¶
type ErrorData struct {
ValidationErrors *map[string][]string `json:"validation_errors,omitempty"`
}
ErrorData struct for ErrorData
func NewErrorData ¶
func NewErrorData() *ErrorData
NewErrorData instantiates a new ErrorData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorDataWithDefaults ¶
func NewErrorDataWithDefaults() *ErrorData
NewErrorDataWithDefaults instantiates a new ErrorData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ErrorData) GetValidationErrors ¶
GetValidationErrors returns the ValidationErrors field value if set, zero value otherwise.
func (*ErrorData) GetValidationErrorsOk ¶
GetValidationErrorsOk returns a tuple with the ValidationErrors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorData) HasValidationErrors ¶
HasValidationErrors returns a boolean if a field has been set.
func (ErrorData) MarshalJSON ¶
func (*ErrorData) SetValidationErrors ¶
SetValidationErrors gets a reference to the given map[string][]string and assigns it to the ValidationErrors field.
type Event ¶
type Event struct { Away *string `json:"away,omitempty"` Home *string `json:"home,omitempty"` IrStatus *string `json:"ir_status,omitempty"` Sports *[]string `json:"sports,omitempty"` StartTime *time.Time `json:"start_time,omitempty"` }
Event struct for Event
func NewEvent ¶
func NewEvent() *Event
NewEvent instantiates a new Event object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEventWithDefaults ¶
func NewEventWithDefaults() *Event
NewEventWithDefaults instantiates a new Event object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Event) GetAwayOk ¶
GetAwayOk returns a tuple with the Away field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) GetHomeOk ¶
GetHomeOk returns a tuple with the Home field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) GetIrStatus ¶
GetIrStatus returns the IrStatus field value if set, zero value otherwise.
func (*Event) GetIrStatusOk ¶
GetIrStatusOk returns a tuple with the IrStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) GetSportsOk ¶
GetSportsOk returns a tuple with the Sports field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) GetStartTime ¶
GetStartTime returns the StartTime field value if set, zero value otherwise.
func (*Event) GetStartTimeOk ¶
GetStartTimeOk returns a tuple with the StartTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) HasIrStatus ¶
HasIrStatus returns a boolean if a field has been set.
func (*Event) HasStartTime ¶
HasStartTime returns a boolean if a field has been set.
func (Event) MarshalJSON ¶
func (*Event) SetAway ¶
SetAway gets a reference to the given string and assigns it to the Away field.
func (*Event) SetHome ¶
SetHome gets a reference to the given string and assigns it to the Home field.
func (*Event) SetIrStatus ¶
SetIrStatus gets a reference to the given string and assigns it to the IrStatus field.
func (*Event) SetSports ¶
SetSports gets a reference to the given []string and assigns it to the Sports field.
func (*Event) SetStartTime ¶
SetStartTime gets a reference to the given time.Time and assigns it to the StartTime field.
type EventInfo ¶
type EventInfo struct { EventId string `json:"event_id"` HomeId int64 `json:"home_id"` HomeTeam string `json:"home_team"` AwayId int64 `json:"away_id"` AwayTeam string `json:"away_team"` CompetitionId int64 `json:"competition_id"` CompetitionName string `json:"competition_name"` CompetitionCountry string `json:"competition_country"` StartTime time.Time `json:"start_time"` Date string `json:"date"` }
EventInfo struct for EventInfo
func NewEventInfo ¶
func NewEventInfo(eventId string, homeId int64, homeTeam string, awayId int64, awayTeam string, competitionId int64, competitionName string, competitionCountry string, startTime time.Time, date string) *EventInfo
NewEventInfo instantiates a new EventInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEventInfoWithDefaults ¶
func NewEventInfoWithDefaults() *EventInfo
NewEventInfoWithDefaults instantiates a new EventInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EventInfo) GetAwayIdOk ¶
GetAwayIdOk returns a tuple with the AwayId field value and a boolean to check if the value has been set.
func (*EventInfo) GetAwayTeam ¶
GetAwayTeam returns the AwayTeam field value
func (*EventInfo) GetAwayTeamOk ¶
GetAwayTeamOk returns a tuple with the AwayTeam field value and a boolean to check if the value has been set.
func (*EventInfo) GetCompetitionCountry ¶
GetCompetitionCountry returns the CompetitionCountry field value
func (*EventInfo) GetCompetitionCountryOk ¶
GetCompetitionCountryOk returns a tuple with the CompetitionCountry field value and a boolean to check if the value has been set.
func (*EventInfo) GetCompetitionId ¶
GetCompetitionId returns the CompetitionId field value
func (*EventInfo) GetCompetitionIdOk ¶
GetCompetitionIdOk returns a tuple with the CompetitionId field value and a boolean to check if the value has been set.
func (*EventInfo) GetCompetitionName ¶
GetCompetitionName returns the CompetitionName field value
func (*EventInfo) GetCompetitionNameOk ¶
GetCompetitionNameOk returns a tuple with the CompetitionName field value and a boolean to check if the value has been set.
func (*EventInfo) GetDateOk ¶
GetDateOk returns a tuple with the Date field value and a boolean to check if the value has been set.
func (*EventInfo) GetEventId ¶
GetEventId returns the EventId field value
func (*EventInfo) GetEventIdOk ¶
GetEventIdOk returns a tuple with the EventId field value and a boolean to check if the value has been set.
func (*EventInfo) GetHomeIdOk ¶
GetHomeIdOk returns a tuple with the HomeId field value and a boolean to check if the value has been set.
func (*EventInfo) GetHomeTeam ¶
GetHomeTeam returns the HomeTeam field value
func (*EventInfo) GetHomeTeamOk ¶
GetHomeTeamOk returns a tuple with the HomeTeam field value and a boolean to check if the value has been set.
func (*EventInfo) GetStartTime ¶
GetStartTime returns the StartTime field value
func (*EventInfo) GetStartTimeOk ¶
GetStartTimeOk returns a tuple with the StartTime field value and a boolean to check if the value has been set.
func (EventInfo) MarshalJSON ¶
func (*EventInfo) SetAwayTeam ¶
SetAwayTeam sets field value
func (*EventInfo) SetCompetitionCountry ¶
SetCompetitionCountry sets field value
func (*EventInfo) SetCompetitionId ¶
SetCompetitionId sets field value
func (*EventInfo) SetCompetitionName ¶
SetCompetitionName sets field value
func (*EventInfo) SetHomeTeam ¶
SetHomeTeam sets field value
func (*EventInfo) SetStartTime ¶
SetStartTime sets field value
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type GetEventsRequest ¶
type GetEventsRequest struct { IncludePrices bool `json:"include_prices"` AllEvents bool `json:"all_events"` AllHcaps *bool `json:"all_hcaps,omitempty"` EventIds *[][]string `json:"event_ids,omitempty"` }
GetEventsRequest struct for GetEventsRequest
func NewGetEventsRequest ¶
func NewGetEventsRequest(includePrices bool, allEvents bool) *GetEventsRequest
NewGetEventsRequest instantiates a new GetEventsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetEventsRequestWithDefaults ¶
func NewGetEventsRequestWithDefaults() *GetEventsRequest
NewGetEventsRequestWithDefaults instantiates a new GetEventsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetEventsRequest) GetAllEvents ¶
func (o *GetEventsRequest) GetAllEvents() bool
GetAllEvents returns the AllEvents field value
func (*GetEventsRequest) GetAllEventsOk ¶
func (o *GetEventsRequest) GetAllEventsOk() (*bool, bool)
GetAllEventsOk returns a tuple with the AllEvents field value and a boolean to check if the value has been set.
func (*GetEventsRequest) GetAllHcaps ¶
func (o *GetEventsRequest) GetAllHcaps() bool
GetAllHcaps returns the AllHcaps field value if set, zero value otherwise.
func (*GetEventsRequest) GetAllHcapsOk ¶
func (o *GetEventsRequest) GetAllHcapsOk() (*bool, bool)
GetAllHcapsOk returns a tuple with the AllHcaps field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetEventsRequest) GetEventIds ¶
func (o *GetEventsRequest) GetEventIds() [][]string
GetEventIds returns the EventIds field value if set, zero value otherwise.
func (*GetEventsRequest) GetEventIdsOk ¶
func (o *GetEventsRequest) GetEventIdsOk() (*[][]string, bool)
GetEventIdsOk returns a tuple with the EventIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetEventsRequest) GetIncludePrices ¶
func (o *GetEventsRequest) GetIncludePrices() bool
GetIncludePrices returns the IncludePrices field value
func (*GetEventsRequest) GetIncludePricesOk ¶
func (o *GetEventsRequest) GetIncludePricesOk() (*bool, bool)
GetIncludePricesOk returns a tuple with the IncludePrices field value and a boolean to check if the value has been set.
func (*GetEventsRequest) HasAllHcaps ¶
func (o *GetEventsRequest) HasAllHcaps() bool
HasAllHcaps returns a boolean if a field has been set.
func (*GetEventsRequest) HasEventIds ¶
func (o *GetEventsRequest) HasEventIds() bool
HasEventIds returns a boolean if a field has been set.
func (GetEventsRequest) MarshalJSON ¶
func (o GetEventsRequest) MarshalJSON() ([]byte, error)
func (*GetEventsRequest) SetAllEvents ¶
func (o *GetEventsRequest) SetAllEvents(v bool)
SetAllEvents sets field value
func (*GetEventsRequest) SetAllHcaps ¶
func (o *GetEventsRequest) SetAllHcaps(v bool)
SetAllHcaps gets a reference to the given bool and assigns it to the AllHcaps field.
func (*GetEventsRequest) SetEventIds ¶
func (o *GetEventsRequest) SetEventIds(v [][]string)
SetEventIds gets a reference to the given [][]string and assigns it to the EventIds field.
func (*GetEventsRequest) SetIncludePrices ¶
func (o *GetEventsRequest) SetIncludePrices(v bool)
SetIncludePrices sets field value
type GetEventsResponse ¶
type GetEventsResponse struct { Status *string `json:"status,omitempty"` Data *map[string]League `json:"data,omitempty"` }
GetEventsResponse struct for GetEventsResponse
func NewGetEventsResponse ¶
func NewGetEventsResponse() *GetEventsResponse
NewGetEventsResponse instantiates a new GetEventsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetEventsResponseWithDefaults ¶
func NewGetEventsResponseWithDefaults() *GetEventsResponse
NewGetEventsResponseWithDefaults instantiates a new GetEventsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetEventsResponse) GetData ¶
func (o *GetEventsResponse) GetData() map[string]League
GetData returns the Data field value if set, zero value otherwise.
func (*GetEventsResponse) GetDataOk ¶
func (o *GetEventsResponse) GetDataOk() (*map[string]League, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetEventsResponse) GetStatus ¶
func (o *GetEventsResponse) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*GetEventsResponse) GetStatusOk ¶
func (o *GetEventsResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetEventsResponse) HasData ¶
func (o *GetEventsResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*GetEventsResponse) HasStatus ¶
func (o *GetEventsResponse) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (GetEventsResponse) MarshalJSON ¶
func (o GetEventsResponse) MarshalJSON() ([]byte, error)
func (*GetEventsResponse) SetData ¶
func (o *GetEventsResponse) SetData(v map[string]League)
SetData gets a reference to the given map[string]League and assigns it to the Data field.
func (*GetEventsResponse) SetStatus ¶
func (o *GetEventsResponse) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
type League ¶
type League struct { CompBookie *bool `json:"comp_bookie,omitempty"` Country *string `json:"country,omitempty"` Name *string `json:"name,omitempty"` Rank *int64 `json:"rank,omitempty"` Events *map[string]Event `json:"events,omitempty"` }
League struct for League
func NewLeague ¶
func NewLeague() *League
NewLeague instantiates a new League object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLeagueWithDefaults ¶
func NewLeagueWithDefaults() *League
NewLeagueWithDefaults instantiates a new League object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*League) GetCompBookie ¶
GetCompBookie returns the CompBookie field value if set, zero value otherwise.
func (*League) GetCompBookieOk ¶
GetCompBookieOk returns a tuple with the CompBookie field value if set, nil otherwise and a boolean to check if the value has been set.
func (*League) GetCountry ¶
GetCountry returns the Country field value if set, zero value otherwise.
func (*League) GetCountryOk ¶
GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.
func (*League) GetEventsOk ¶
GetEventsOk returns a tuple with the Events field value if set, nil otherwise and a boolean to check if the value has been set.
func (*League) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*League) GetRankOk ¶
GetRankOk returns a tuple with the Rank field value if set, nil otherwise and a boolean to check if the value has been set.
func (*League) HasCompBookie ¶
HasCompBookie returns a boolean if a field has been set.
func (*League) HasCountry ¶
HasCountry returns a boolean if a field has been set.
func (League) MarshalJSON ¶
func (*League) SetCompBookie ¶
SetCompBookie gets a reference to the given bool and assigns it to the CompBookie field.
func (*League) SetCountry ¶
SetCountry gets a reference to the given string and assigns it to the Country field.
func (*League) SetEvents ¶
SetEvents gets a reference to the given map[string]Event and assigns it to the Events field.
type LogItem ¶
type LogItem struct { Timestamp *time.Time `json:"timestamp,omitempty"` Message *string `json:"message,omitempty"` Category *string `json:"category,omitempty"` }
LogItem struct for LogItem
func NewLogItem ¶
func NewLogItem() *LogItem
NewLogItem instantiates a new LogItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLogItemWithDefaults ¶
func NewLogItemWithDefaults() *LogItem
NewLogItemWithDefaults instantiates a new LogItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LogItem) GetCategory ¶
GetCategory returns the Category field value if set, zero value otherwise.
func (*LogItem) GetCategoryOk ¶
GetCategoryOk returns a tuple with the Category field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogItem) GetMessage ¶
GetMessage returns the Message field value if set, zero value otherwise.
func (*LogItem) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogItem) GetTimestamp ¶
GetTimestamp returns the Timestamp field value if set, zero value otherwise.
func (*LogItem) GetTimestampOk ¶
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogItem) HasCategory ¶
HasCategory returns a boolean if a field has been set.
func (*LogItem) HasMessage ¶
HasMessage returns a boolean if a field has been set.
func (*LogItem) HasTimestamp ¶
HasTimestamp returns a boolean if a field has been set.
func (LogItem) MarshalJSON ¶
func (*LogItem) SetCategory ¶
SetCategory gets a reference to the given string and assigns it to the Category field.
func (*LogItem) SetMessage ¶
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*LogItem) SetTimestamp ¶
SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.
type LoginData ¶
type LoginData struct { Whitelabel *string `json:"whitelabel,omitempty"` Username *string `json:"username,omitempty"` CustomerId *int64 `json:"customer_id,omitempty"` Lang *string `json:"lang,omitempty"` SessionId *string `json:"session_id,omitempty"` }
LoginData struct for LoginData
func NewLoginData ¶
func NewLoginData() *LoginData
NewLoginData instantiates a new LoginData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLoginDataWithDefaults ¶
func NewLoginDataWithDefaults() *LoginData
NewLoginDataWithDefaults instantiates a new LoginData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LoginData) GetCustomerId ¶
GetCustomerId returns the CustomerId field value if set, zero value otherwise.
func (*LoginData) GetCustomerIdOk ¶
GetCustomerIdOk returns a tuple with the CustomerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginData) GetLangOk ¶
GetLangOk returns a tuple with the Lang field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginData) GetSessionId ¶
GetSessionId returns the SessionId field value if set, zero value otherwise.
func (*LoginData) GetSessionIdOk ¶
GetSessionIdOk returns a tuple with the SessionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginData) GetUsername ¶
GetUsername returns the Username field value if set, zero value otherwise.
func (*LoginData) GetUsernameOk ¶
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginData) GetWhitelabel ¶
GetWhitelabel returns the Whitelabel field value if set, zero value otherwise.
func (*LoginData) GetWhitelabelOk ¶
GetWhitelabelOk returns a tuple with the Whitelabel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginData) HasCustomerId ¶
HasCustomerId returns a boolean if a field has been set.
func (*LoginData) HasSessionId ¶
HasSessionId returns a boolean if a field has been set.
func (*LoginData) HasUsername ¶
HasUsername returns a boolean if a field has been set.
func (*LoginData) HasWhitelabel ¶
HasWhitelabel returns a boolean if a field has been set.
func (LoginData) MarshalJSON ¶
func (*LoginData) SetCustomerId ¶
SetCustomerId gets a reference to the given int64 and assigns it to the CustomerId field.
func (*LoginData) SetLang ¶
SetLang gets a reference to the given string and assigns it to the Lang field.
func (*LoginData) SetSessionId ¶
SetSessionId gets a reference to the given string and assigns it to the SessionId field.
func (*LoginData) SetUsername ¶
SetUsername gets a reference to the given string and assigns it to the Username field.
func (*LoginData) SetWhitelabel ¶
SetWhitelabel gets a reference to the given string and assigns it to the Whitelabel field.
type LoginRequest ¶
type LoginRequest struct { Username string `json:"username"` Password string `json:"password"` Full bool `json:"full"` Lang string `json:"lang"` }
LoginRequest struct for LoginRequest
func NewLoginRequest ¶
func NewLoginRequest(username string, password string, full bool, lang string) *LoginRequest
NewLoginRequest instantiates a new LoginRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLoginRequestWithDefaults ¶
func NewLoginRequestWithDefaults() *LoginRequest
NewLoginRequestWithDefaults instantiates a new LoginRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LoginRequest) GetFull ¶
func (o *LoginRequest) GetFull() bool
GetFull returns the Full field value
func (*LoginRequest) GetFullOk ¶
func (o *LoginRequest) GetFullOk() (*bool, bool)
GetFullOk returns a tuple with the Full field value and a boolean to check if the value has been set.
func (*LoginRequest) GetLang ¶
func (o *LoginRequest) GetLang() string
GetLang returns the Lang field value
func (*LoginRequest) GetLangOk ¶
func (o *LoginRequest) GetLangOk() (*string, bool)
GetLangOk returns a tuple with the Lang field value and a boolean to check if the value has been set.
func (*LoginRequest) GetPassword ¶
func (o *LoginRequest) GetPassword() string
GetPassword returns the Password field value
func (*LoginRequest) GetPasswordOk ¶
func (o *LoginRequest) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.
func (*LoginRequest) GetUsername ¶
func (o *LoginRequest) GetUsername() string
GetUsername returns the Username field value
func (*LoginRequest) GetUsernameOk ¶
func (o *LoginRequest) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.
func (LoginRequest) MarshalJSON ¶
func (o LoginRequest) MarshalJSON() ([]byte, error)
func (*LoginRequest) SetPassword ¶
func (o *LoginRequest) SetPassword(v string)
SetPassword sets field value
func (*LoginRequest) SetUsername ¶
func (o *LoginRequest) SetUsername(v string)
SetUsername sets field value
type LoginResponse ¶
type LoginResponse struct { Status *string `json:"status,omitempty"` Data *LoginData `json:"data,omitempty"` }
LoginResponse struct for LoginResponse
func NewLoginResponse ¶
func NewLoginResponse() *LoginResponse
NewLoginResponse instantiates a new LoginResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLoginResponseWithDefaults ¶
func NewLoginResponseWithDefaults() *LoginResponse
NewLoginResponseWithDefaults instantiates a new LoginResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LoginResponse) GetData ¶
func (o *LoginResponse) GetData() LoginData
GetData returns the Data field value if set, zero value otherwise.
func (*LoginResponse) GetDataOk ¶
func (o *LoginResponse) GetDataOk() (*LoginData, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginResponse) GetStatus ¶
func (o *LoginResponse) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*LoginResponse) GetStatusOk ¶
func (o *LoginResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginResponse) HasData ¶
func (o *LoginResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*LoginResponse) HasStatus ¶
func (o *LoginResponse) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (LoginResponse) MarshalJSON ¶
func (o LoginResponse) MarshalJSON() ([]byte, error)
func (*LoginResponse) SetData ¶
func (o *LoginResponse) SetData(v LoginData)
SetData gets a reference to the given LoginData and assigns it to the Data field.
func (*LoginResponse) SetStatus ¶
func (o *LoginResponse) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
type MarketApiService ¶
type MarketApiService service
MarketApiService MarketApi service
func (*MarketApiService) GetEvents ¶
func (a *MarketApiService) GetEvents(ctx _context.Context) apiGetEventsRequest
GetEvents Method for GetEvents
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiGetEventsRequest
type NullableAccountItem ¶
type NullableAccountItem struct {
// contains filtered or unexported fields
}
func NewNullableAccountItem ¶
func NewNullableAccountItem(val *AccountItem) *NullableAccountItem
func (NullableAccountItem) Get ¶
func (v NullableAccountItem) Get() *AccountItem
func (NullableAccountItem) IsSet ¶
func (v NullableAccountItem) IsSet() bool
func (NullableAccountItem) MarshalJSON ¶
func (v NullableAccountItem) MarshalJSON() ([]byte, error)
func (*NullableAccountItem) Set ¶
func (v *NullableAccountItem) Set(val *AccountItem)
func (*NullableAccountItem) UnmarshalJSON ¶
func (v *NullableAccountItem) UnmarshalJSON(src []byte) error
func (*NullableAccountItem) Unset ¶
func (v *NullableAccountItem) Unset()
type NullableBadRequestError ¶
type NullableBadRequestError struct {
// contains filtered or unexported fields
}
func NewNullableBadRequestError ¶
func NewNullableBadRequestError(val *BadRequestError) *NullableBadRequestError
func (NullableBadRequestError) Get ¶
func (v NullableBadRequestError) Get() *BadRequestError
func (NullableBadRequestError) IsSet ¶
func (v NullableBadRequestError) IsSet() bool
func (NullableBadRequestError) MarshalJSON ¶
func (v NullableBadRequestError) MarshalJSON() ([]byte, error)
func (*NullableBadRequestError) Set ¶
func (v *NullableBadRequestError) Set(val *BadRequestError)
func (*NullableBadRequestError) UnmarshalJSON ¶
func (v *NullableBadRequestError) UnmarshalJSON(src []byte) error
func (*NullableBadRequestError) Unset ¶
func (v *NullableBadRequestError) Unset()
type NullableBalanceItem ¶
type NullableBalanceItem struct {
// contains filtered or unexported fields
}
func NewNullableBalanceItem ¶
func NewNullableBalanceItem(val *BalanceItem) *NullableBalanceItem
func (NullableBalanceItem) Get ¶
func (v NullableBalanceItem) Get() *BalanceItem
func (NullableBalanceItem) IsSet ¶
func (v NullableBalanceItem) IsSet() bool
func (NullableBalanceItem) MarshalJSON ¶
func (v NullableBalanceItem) MarshalJSON() ([]byte, error)
func (*NullableBalanceItem) Set ¶
func (v *NullableBalanceItem) Set(val *BalanceItem)
func (*NullableBalanceItem) UnmarshalJSON ¶
func (v *NullableBalanceItem) UnmarshalJSON(src []byte) error
func (*NullableBalanceItem) Unset ¶
func (v *NullableBalanceItem) Unset()
type NullableBalanceResponse ¶
type NullableBalanceResponse struct {
// contains filtered or unexported fields
}
func NewNullableBalanceResponse ¶
func NewNullableBalanceResponse(val *BalanceResponse) *NullableBalanceResponse
func (NullableBalanceResponse) Get ¶
func (v NullableBalanceResponse) Get() *BalanceResponse
func (NullableBalanceResponse) IsSet ¶
func (v NullableBalanceResponse) IsSet() bool
func (NullableBalanceResponse) MarshalJSON ¶
func (v NullableBalanceResponse) MarshalJSON() ([]byte, error)
func (*NullableBalanceResponse) Set ¶
func (v *NullableBalanceResponse) Set(val *BalanceResponse)
func (*NullableBalanceResponse) UnmarshalJSON ¶
func (v *NullableBalanceResponse) UnmarshalJSON(src []byte) error
func (*NullableBalanceResponse) Unset ¶
func (v *NullableBalanceResponse) Unset()
type NullableBetBar ¶
type NullableBetBar struct {
// contains filtered or unexported fields
}
func NewNullableBetBar ¶
func NewNullableBetBar(val *BetBar) *NullableBetBar
func (NullableBetBar) Get ¶
func (v NullableBetBar) Get() *BetBar
func (NullableBetBar) IsSet ¶
func (v NullableBetBar) IsSet() bool
func (NullableBetBar) MarshalJSON ¶
func (v NullableBetBar) MarshalJSON() ([]byte, error)
func (*NullableBetBar) Set ¶
func (v *NullableBetBar) Set(val *BetBar)
func (*NullableBetBar) UnmarshalJSON ¶
func (v *NullableBetBar) UnmarshalJSON(src []byte) error
func (*NullableBetBar) Unset ¶
func (v *NullableBetBar) Unset()
type NullableBetItem ¶
type NullableBetItem struct {
// contains filtered or unexported fields
}
func NewNullableBetItem ¶
func NewNullableBetItem(val *BetItem) *NullableBetItem
func (NullableBetItem) Get ¶
func (v NullableBetItem) Get() *BetItem
func (NullableBetItem) IsSet ¶
func (v NullableBetItem) IsSet() bool
func (NullableBetItem) MarshalJSON ¶
func (v NullableBetItem) MarshalJSON() ([]byte, error)
func (*NullableBetItem) Set ¶
func (v *NullableBetItem) Set(val *BetItem)
func (*NullableBetItem) UnmarshalJSON ¶
func (v *NullableBetItem) UnmarshalJSON(src []byte) error
func (*NullableBetItem) Unset ¶
func (v *NullableBetItem) Unset()
type NullableBetItemStatus ¶
type NullableBetItemStatus struct {
// contains filtered or unexported fields
}
func NewNullableBetItemStatus ¶
func NewNullableBetItemStatus(val *BetItemStatus) *NullableBetItemStatus
func (NullableBetItemStatus) Get ¶
func (v NullableBetItemStatus) Get() *BetItemStatus
func (NullableBetItemStatus) IsSet ¶
func (v NullableBetItemStatus) IsSet() bool
func (NullableBetItemStatus) MarshalJSON ¶
func (v NullableBetItemStatus) MarshalJSON() ([]byte, error)
func (*NullableBetItemStatus) Set ¶
func (v *NullableBetItemStatus) Set(val *BetItemStatus)
func (*NullableBetItemStatus) UnmarshalJSON ¶
func (v *NullableBetItemStatus) UnmarshalJSON(src []byte) error
func (*NullableBetItemStatus) Unset ¶
func (v *NullableBetItemStatus) Unset()
type NullableBetListResponse ¶
type NullableBetListResponse struct {
// contains filtered or unexported fields
}
func NewNullableBetListResponse ¶
func NewNullableBetListResponse(val *BetListResponse) *NullableBetListResponse
func (NullableBetListResponse) Get ¶
func (v NullableBetListResponse) Get() *BetListResponse
func (NullableBetListResponse) IsSet ¶
func (v NullableBetListResponse) IsSet() bool
func (NullableBetListResponse) MarshalJSON ¶
func (v NullableBetListResponse) MarshalJSON() ([]byte, error)
func (*NullableBetListResponse) Set ¶
func (v *NullableBetListResponse) Set(val *BetListResponse)
func (*NullableBetListResponse) UnmarshalJSON ¶
func (v *NullableBetListResponse) UnmarshalJSON(src []byte) error
func (*NullableBetListResponse) Unset ¶
func (v *NullableBetListResponse) Unset()
type NullableBetLogResponse ¶
type NullableBetLogResponse struct {
// contains filtered or unexported fields
}
func NewNullableBetLogResponse ¶
func NewNullableBetLogResponse(val *BetLogResponse) *NullableBetLogResponse
func (NullableBetLogResponse) Get ¶
func (v NullableBetLogResponse) Get() *BetLogResponse
func (NullableBetLogResponse) IsSet ¶
func (v NullableBetLogResponse) IsSet() bool
func (NullableBetLogResponse) MarshalJSON ¶
func (v NullableBetLogResponse) MarshalJSON() ([]byte, error)
func (*NullableBetLogResponse) Set ¶
func (v *NullableBetLogResponse) Set(val *BetLogResponse)
func (*NullableBetLogResponse) UnmarshalJSON ¶
func (v *NullableBetLogResponse) UnmarshalJSON(src []byte) error
func (*NullableBetLogResponse) Unset ¶
func (v *NullableBetLogResponse) Unset()
type NullableBetSlipData ¶
type NullableBetSlipData struct {
// contains filtered or unexported fields
}
func NewNullableBetSlipData ¶
func NewNullableBetSlipData(val *BetSlipData) *NullableBetSlipData
func (NullableBetSlipData) Get ¶
func (v NullableBetSlipData) Get() *BetSlipData
func (NullableBetSlipData) IsSet ¶
func (v NullableBetSlipData) IsSet() bool
func (NullableBetSlipData) MarshalJSON ¶
func (v NullableBetSlipData) MarshalJSON() ([]byte, error)
func (*NullableBetSlipData) Set ¶
func (v *NullableBetSlipData) Set(val *BetSlipData)
func (*NullableBetSlipData) UnmarshalJSON ¶
func (v *NullableBetSlipData) UnmarshalJSON(src []byte) error
func (*NullableBetSlipData) Unset ¶
func (v *NullableBetSlipData) Unset()
type NullableBetSlipRequest ¶
type NullableBetSlipRequest struct {
// contains filtered or unexported fields
}
func NewNullableBetSlipRequest ¶
func NewNullableBetSlipRequest(val *BetSlipRequest) *NullableBetSlipRequest
func (NullableBetSlipRequest) Get ¶
func (v NullableBetSlipRequest) Get() *BetSlipRequest
func (NullableBetSlipRequest) IsSet ¶
func (v NullableBetSlipRequest) IsSet() bool
func (NullableBetSlipRequest) MarshalJSON ¶
func (v NullableBetSlipRequest) MarshalJSON() ([]byte, error)
func (*NullableBetSlipRequest) Set ¶
func (v *NullableBetSlipRequest) Set(val *BetSlipRequest)
func (*NullableBetSlipRequest) UnmarshalJSON ¶
func (v *NullableBetSlipRequest) UnmarshalJSON(src []byte) error
func (*NullableBetSlipRequest) Unset ¶
func (v *NullableBetSlipRequest) Unset()
type NullableBetSlipResponse ¶
type NullableBetSlipResponse struct {
// contains filtered or unexported fields
}
func NewNullableBetSlipResponse ¶
func NewNullableBetSlipResponse(val *BetSlipResponse) *NullableBetSlipResponse
func (NullableBetSlipResponse) Get ¶
func (v NullableBetSlipResponse) Get() *BetSlipResponse
func (NullableBetSlipResponse) IsSet ¶
func (v NullableBetSlipResponse) IsSet() bool
func (NullableBetSlipResponse) MarshalJSON ¶
func (v NullableBetSlipResponse) MarshalJSON() ([]byte, error)
func (*NullableBetSlipResponse) Set ¶
func (v *NullableBetSlipResponse) Set(val *BetSlipResponse)
func (*NullableBetSlipResponse) UnmarshalJSON ¶
func (v *NullableBetSlipResponse) UnmarshalJSON(src []byte) error
func (*NullableBetSlipResponse) Unset ¶
func (v *NullableBetSlipResponse) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableErrorData ¶
type NullableErrorData struct {
// contains filtered or unexported fields
}
func NewNullableErrorData ¶
func NewNullableErrorData(val *ErrorData) *NullableErrorData
func (NullableErrorData) Get ¶
func (v NullableErrorData) Get() *ErrorData
func (NullableErrorData) IsSet ¶
func (v NullableErrorData) IsSet() bool
func (NullableErrorData) MarshalJSON ¶
func (v NullableErrorData) MarshalJSON() ([]byte, error)
func (*NullableErrorData) Set ¶
func (v *NullableErrorData) Set(val *ErrorData)
func (*NullableErrorData) UnmarshalJSON ¶
func (v *NullableErrorData) UnmarshalJSON(src []byte) error
func (*NullableErrorData) Unset ¶
func (v *NullableErrorData) Unset()
type NullableEvent ¶
type NullableEvent struct {
// contains filtered or unexported fields
}
func NewNullableEvent ¶
func NewNullableEvent(val *Event) *NullableEvent
func (NullableEvent) Get ¶
func (v NullableEvent) Get() *Event
func (NullableEvent) IsSet ¶
func (v NullableEvent) IsSet() bool
func (NullableEvent) MarshalJSON ¶
func (v NullableEvent) MarshalJSON() ([]byte, error)
func (*NullableEvent) Set ¶
func (v *NullableEvent) Set(val *Event)
func (*NullableEvent) UnmarshalJSON ¶
func (v *NullableEvent) UnmarshalJSON(src []byte) error
func (*NullableEvent) Unset ¶
func (v *NullableEvent) Unset()
type NullableEventInfo ¶
type NullableEventInfo struct {
// contains filtered or unexported fields
}
func NewNullableEventInfo ¶
func NewNullableEventInfo(val *EventInfo) *NullableEventInfo
func (NullableEventInfo) Get ¶
func (v NullableEventInfo) Get() *EventInfo
func (NullableEventInfo) IsSet ¶
func (v NullableEventInfo) IsSet() bool
func (NullableEventInfo) MarshalJSON ¶
func (v NullableEventInfo) MarshalJSON() ([]byte, error)
func (*NullableEventInfo) Set ¶
func (v *NullableEventInfo) Set(val *EventInfo)
func (*NullableEventInfo) UnmarshalJSON ¶
func (v *NullableEventInfo) UnmarshalJSON(src []byte) error
func (*NullableEventInfo) Unset ¶
func (v *NullableEventInfo) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableGetEventsRequest ¶
type NullableGetEventsRequest struct {
// contains filtered or unexported fields
}
func NewNullableGetEventsRequest ¶
func NewNullableGetEventsRequest(val *GetEventsRequest) *NullableGetEventsRequest
func (NullableGetEventsRequest) Get ¶
func (v NullableGetEventsRequest) Get() *GetEventsRequest
func (NullableGetEventsRequest) IsSet ¶
func (v NullableGetEventsRequest) IsSet() bool
func (NullableGetEventsRequest) MarshalJSON ¶
func (v NullableGetEventsRequest) MarshalJSON() ([]byte, error)
func (*NullableGetEventsRequest) Set ¶
func (v *NullableGetEventsRequest) Set(val *GetEventsRequest)
func (*NullableGetEventsRequest) UnmarshalJSON ¶
func (v *NullableGetEventsRequest) UnmarshalJSON(src []byte) error
func (*NullableGetEventsRequest) Unset ¶
func (v *NullableGetEventsRequest) Unset()
type NullableGetEventsResponse ¶
type NullableGetEventsResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetEventsResponse ¶
func NewNullableGetEventsResponse(val *GetEventsResponse) *NullableGetEventsResponse
func (NullableGetEventsResponse) Get ¶
func (v NullableGetEventsResponse) Get() *GetEventsResponse
func (NullableGetEventsResponse) IsSet ¶
func (v NullableGetEventsResponse) IsSet() bool
func (NullableGetEventsResponse) MarshalJSON ¶
func (v NullableGetEventsResponse) MarshalJSON() ([]byte, error)
func (*NullableGetEventsResponse) Set ¶
func (v *NullableGetEventsResponse) Set(val *GetEventsResponse)
func (*NullableGetEventsResponse) UnmarshalJSON ¶
func (v *NullableGetEventsResponse) UnmarshalJSON(src []byte) error
func (*NullableGetEventsResponse) Unset ¶
func (v *NullableGetEventsResponse) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableLeague ¶
type NullableLeague struct {
// contains filtered or unexported fields
}
func NewNullableLeague ¶
func NewNullableLeague(val *League) *NullableLeague
func (NullableLeague) Get ¶
func (v NullableLeague) Get() *League
func (NullableLeague) IsSet ¶
func (v NullableLeague) IsSet() bool
func (NullableLeague) MarshalJSON ¶
func (v NullableLeague) MarshalJSON() ([]byte, error)
func (*NullableLeague) Set ¶
func (v *NullableLeague) Set(val *League)
func (*NullableLeague) UnmarshalJSON ¶
func (v *NullableLeague) UnmarshalJSON(src []byte) error
func (*NullableLeague) Unset ¶
func (v *NullableLeague) Unset()
type NullableLogItem ¶
type NullableLogItem struct {
// contains filtered or unexported fields
}
func NewNullableLogItem ¶
func NewNullableLogItem(val *LogItem) *NullableLogItem
func (NullableLogItem) Get ¶
func (v NullableLogItem) Get() *LogItem
func (NullableLogItem) IsSet ¶
func (v NullableLogItem) IsSet() bool
func (NullableLogItem) MarshalJSON ¶
func (v NullableLogItem) MarshalJSON() ([]byte, error)
func (*NullableLogItem) Set ¶
func (v *NullableLogItem) Set(val *LogItem)
func (*NullableLogItem) UnmarshalJSON ¶
func (v *NullableLogItem) UnmarshalJSON(src []byte) error
func (*NullableLogItem) Unset ¶
func (v *NullableLogItem) Unset()
type NullableLoginData ¶
type NullableLoginData struct {
// contains filtered or unexported fields
}
func NewNullableLoginData ¶
func NewNullableLoginData(val *LoginData) *NullableLoginData
func (NullableLoginData) Get ¶
func (v NullableLoginData) Get() *LoginData
func (NullableLoginData) IsSet ¶
func (v NullableLoginData) IsSet() bool
func (NullableLoginData) MarshalJSON ¶
func (v NullableLoginData) MarshalJSON() ([]byte, error)
func (*NullableLoginData) Set ¶
func (v *NullableLoginData) Set(val *LoginData)
func (*NullableLoginData) UnmarshalJSON ¶
func (v *NullableLoginData) UnmarshalJSON(src []byte) error
func (*NullableLoginData) Unset ¶
func (v *NullableLoginData) Unset()
type NullableLoginRequest ¶
type NullableLoginRequest struct {
// contains filtered or unexported fields
}
func NewNullableLoginRequest ¶
func NewNullableLoginRequest(val *LoginRequest) *NullableLoginRequest
func (NullableLoginRequest) Get ¶
func (v NullableLoginRequest) Get() *LoginRequest
func (NullableLoginRequest) IsSet ¶
func (v NullableLoginRequest) IsSet() bool
func (NullableLoginRequest) MarshalJSON ¶
func (v NullableLoginRequest) MarshalJSON() ([]byte, error)
func (*NullableLoginRequest) Set ¶
func (v *NullableLoginRequest) Set(val *LoginRequest)
func (*NullableLoginRequest) UnmarshalJSON ¶
func (v *NullableLoginRequest) UnmarshalJSON(src []byte) error
func (*NullableLoginRequest) Unset ¶
func (v *NullableLoginRequest) Unset()
type NullableLoginResponse ¶
type NullableLoginResponse struct {
// contains filtered or unexported fields
}
func NewNullableLoginResponse ¶
func NewNullableLoginResponse(val *LoginResponse) *NullableLoginResponse
func (NullableLoginResponse) Get ¶
func (v NullableLoginResponse) Get() *LoginResponse
func (NullableLoginResponse) IsSet ¶
func (v NullableLoginResponse) IsSet() bool
func (NullableLoginResponse) MarshalJSON ¶
func (v NullableLoginResponse) MarshalJSON() ([]byte, error)
func (*NullableLoginResponse) Set ¶
func (v *NullableLoginResponse) Set(val *LoginResponse)
func (*NullableLoginResponse) UnmarshalJSON ¶
func (v *NullableLoginResponse) UnmarshalJSON(src []byte) error
func (*NullableLoginResponse) Unset ¶
func (v *NullableLoginResponse) Unset()
type NullableOrderItem ¶
type NullableOrderItem struct {
// contains filtered or unexported fields
}
func NewNullableOrderItem ¶
func NewNullableOrderItem(val *OrderItem) *NullableOrderItem
func (NullableOrderItem) Get ¶
func (v NullableOrderItem) Get() *OrderItem
func (NullableOrderItem) IsSet ¶
func (v NullableOrderItem) IsSet() bool
func (NullableOrderItem) MarshalJSON ¶
func (v NullableOrderItem) MarshalJSON() ([]byte, error)
func (*NullableOrderItem) Set ¶
func (v *NullableOrderItem) Set(val *OrderItem)
func (*NullableOrderItem) UnmarshalJSON ¶
func (v *NullableOrderItem) UnmarshalJSON(src []byte) error
func (*NullableOrderItem) Unset ¶
func (v *NullableOrderItem) Unset()
type NullablePlaceBetRequest ¶
type NullablePlaceBetRequest struct {
// contains filtered or unexported fields
}
func NewNullablePlaceBetRequest ¶
func NewNullablePlaceBetRequest(val *PlaceBetRequest) *NullablePlaceBetRequest
func (NullablePlaceBetRequest) Get ¶
func (v NullablePlaceBetRequest) Get() *PlaceBetRequest
func (NullablePlaceBetRequest) IsSet ¶
func (v NullablePlaceBetRequest) IsSet() bool
func (NullablePlaceBetRequest) MarshalJSON ¶
func (v NullablePlaceBetRequest) MarshalJSON() ([]byte, error)
func (*NullablePlaceBetRequest) Set ¶
func (v *NullablePlaceBetRequest) Set(val *PlaceBetRequest)
func (*NullablePlaceBetRequest) UnmarshalJSON ¶
func (v *NullablePlaceBetRequest) UnmarshalJSON(src []byte) error
func (*NullablePlaceBetRequest) Unset ¶
func (v *NullablePlaceBetRequest) Unset()
type NullablePlaceBetResponse ¶
type NullablePlaceBetResponse struct {
// contains filtered or unexported fields
}
func NewNullablePlaceBetResponse ¶
func NewNullablePlaceBetResponse(val *PlaceBetResponse) *NullablePlaceBetResponse
func (NullablePlaceBetResponse) Get ¶
func (v NullablePlaceBetResponse) Get() *PlaceBetResponse
func (NullablePlaceBetResponse) IsSet ¶
func (v NullablePlaceBetResponse) IsSet() bool
func (NullablePlaceBetResponse) MarshalJSON ¶
func (v NullablePlaceBetResponse) MarshalJSON() ([]byte, error)
func (*NullablePlaceBetResponse) Set ¶
func (v *NullablePlaceBetResponse) Set(val *PlaceBetResponse)
func (*NullablePlaceBetResponse) UnmarshalJSON ¶
func (v *NullablePlaceBetResponse) UnmarshalJSON(src []byte) error
func (*NullablePlaceBetResponse) Unset ¶
func (v *NullablePlaceBetResponse) Unset()
type NullableRefreshBetSlipResponse ¶
type NullableRefreshBetSlipResponse struct {
// contains filtered or unexported fields
}
func NewNullableRefreshBetSlipResponse ¶
func NewNullableRefreshBetSlipResponse(val *RefreshBetSlipResponse) *NullableRefreshBetSlipResponse
func (NullableRefreshBetSlipResponse) Get ¶
func (v NullableRefreshBetSlipResponse) Get() *RefreshBetSlipResponse
func (NullableRefreshBetSlipResponse) IsSet ¶
func (v NullableRefreshBetSlipResponse) IsSet() bool
func (NullableRefreshBetSlipResponse) MarshalJSON ¶
func (v NullableRefreshBetSlipResponse) MarshalJSON() ([]byte, error)
func (*NullableRefreshBetSlipResponse) Set ¶
func (v *NullableRefreshBetSlipResponse) Set(val *RefreshBetSlipResponse)
func (*NullableRefreshBetSlipResponse) UnmarshalJSON ¶
func (v *NullableRefreshBetSlipResponse) UnmarshalJSON(src []byte) error
func (*NullableRefreshBetSlipResponse) Unset ¶
func (v *NullableRefreshBetSlipResponse) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableWebsocketResponse ¶
type NullableWebsocketResponse struct {
// contains filtered or unexported fields
}
func NewNullableWebsocketResponse ¶
func NewNullableWebsocketResponse(val *WebsocketResponse) *NullableWebsocketResponse
func (NullableWebsocketResponse) Get ¶
func (v NullableWebsocketResponse) Get() *WebsocketResponse
func (NullableWebsocketResponse) IsSet ¶
func (v NullableWebsocketResponse) IsSet() bool
func (NullableWebsocketResponse) MarshalJSON ¶
func (v NullableWebsocketResponse) MarshalJSON() ([]byte, error)
func (*NullableWebsocketResponse) Set ¶
func (v *NullableWebsocketResponse) Set(val *WebsocketResponse)
func (*NullableWebsocketResponse) UnmarshalJSON ¶
func (v *NullableWebsocketResponse) UnmarshalJSON(src []byte) error
func (*NullableWebsocketResponse) Unset ¶
func (v *NullableWebsocketResponse) Unset()
type OrderItem ¶
type OrderItem struct { OrderId int64 `json:"order_id"` OrderType string `json:"order_type"` BetType string `json:"bet_type"` BetTypeDescription *string `json:"bet_type_description,omitempty"` BetTypeTemplate *string `json:"bet_type_template,omitempty"` Sport *string `json:"sport,omitempty"` Placer *string `json:"placer,omitempty"` WantPrice *float64 `json:"want_price,omitempty"` WantStake *[]interface{} `json:"want_stake,omitempty"` CcyRate *float64 `json:"ccy_rate,omitempty"` PlacementTime *time.Time `json:"placement_time,omitempty"` ExpiryTime *time.Time `json:"expiry_time,omitempty"` Closed *bool `json:"closed,omitempty"` CloseReason *string `json:"close_reason,omitempty"` Status *string `json:"status,omitempty"` UserData *string `json:"user_data,omitempty"` TakeStartingPrice *bool `json:"take_starting_price,omitempty"` KeepOpenIr *bool `json:"keep_open_ir,omitempty"` EventInfo *EventInfo `json:"event_info,omitempty"` Price *float64 `json:"price,omitempty"` Stake *[]interface{} `json:"stake,omitempty"` ProfitLoss *[]interface{} `json:"profit_loss,omitempty"` BetBarValues *BetBar `json:"bet_bar_values,omitempty"` Bets *[]BetItem `json:"bets,omitempty"` }
OrderItem struct for OrderItem
func NewOrderItem ¶
NewOrderItem instantiates a new OrderItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOrderItemWithDefaults ¶
func NewOrderItemWithDefaults() *OrderItem
NewOrderItemWithDefaults instantiates a new OrderItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OrderItem) GetBetBarValues ¶
GetBetBarValues returns the BetBarValues field value if set, zero value otherwise.
func (*OrderItem) GetBetBarValuesOk ¶
GetBetBarValuesOk returns a tuple with the BetBarValues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderItem) GetBetType ¶
GetBetType returns the BetType field value
func (*OrderItem) GetBetTypeDescription ¶
GetBetTypeDescription returns the BetTypeDescription field value if set, zero value otherwise.
func (*OrderItem) GetBetTypeDescriptionOk ¶
GetBetTypeDescriptionOk returns a tuple with the BetTypeDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderItem) GetBetTypeOk ¶
GetBetTypeOk returns a tuple with the BetType field value and a boolean to check if the value has been set.
func (*OrderItem) GetBetTypeTemplate ¶
GetBetTypeTemplate returns the BetTypeTemplate field value if set, zero value otherwise.
func (*OrderItem) GetBetTypeTemplateOk ¶
GetBetTypeTemplateOk returns a tuple with the BetTypeTemplate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderItem) GetBetsOk ¶
GetBetsOk returns a tuple with the Bets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderItem) GetCcyRate ¶
GetCcyRate returns the CcyRate field value if set, zero value otherwise.
func (*OrderItem) GetCcyRateOk ¶
GetCcyRateOk returns a tuple with the CcyRate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderItem) GetCloseReason ¶
GetCloseReason returns the CloseReason field value if set, zero value otherwise.
func (*OrderItem) GetCloseReasonOk ¶
GetCloseReasonOk returns a tuple with the CloseReason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderItem) GetClosed ¶
GetClosed returns the Closed field value if set, zero value otherwise.
func (*OrderItem) GetClosedOk ¶
GetClosedOk returns a tuple with the Closed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderItem) GetEventInfo ¶
GetEventInfo returns the EventInfo field value if set, zero value otherwise.
func (*OrderItem) GetEventInfoOk ¶
GetEventInfoOk returns a tuple with the EventInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderItem) GetExpiryTime ¶
GetExpiryTime returns the ExpiryTime field value if set, zero value otherwise.
func (*OrderItem) GetExpiryTimeOk ¶
GetExpiryTimeOk returns a tuple with the ExpiryTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderItem) GetKeepOpenIr ¶
GetKeepOpenIr returns the KeepOpenIr field value if set, zero value otherwise.
func (*OrderItem) GetKeepOpenIrOk ¶
GetKeepOpenIrOk returns a tuple with the KeepOpenIr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderItem) GetOrderId ¶
GetOrderId returns the OrderId field value
func (*OrderItem) GetOrderIdOk ¶
GetOrderIdOk returns a tuple with the OrderId field value and a boolean to check if the value has been set.
func (*OrderItem) GetOrderType ¶
GetOrderType returns the OrderType field value
func (*OrderItem) GetOrderTypeOk ¶
GetOrderTypeOk returns a tuple with the OrderType field value and a boolean to check if the value has been set.
func (*OrderItem) GetPlacementTime ¶
GetPlacementTime returns the PlacementTime field value if set, zero value otherwise.
func (*OrderItem) GetPlacementTimeOk ¶
GetPlacementTimeOk returns a tuple with the PlacementTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderItem) GetPlacer ¶
GetPlacer returns the Placer field value if set, zero value otherwise.
func (*OrderItem) GetPlacerOk ¶
GetPlacerOk returns a tuple with the Placer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderItem) GetPriceOk ¶
GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderItem) GetProfitLoss ¶
func (o *OrderItem) GetProfitLoss() []interface{}
GetProfitLoss returns the ProfitLoss field value if set, zero value otherwise.
func (*OrderItem) GetProfitLossOk ¶
GetProfitLossOk returns a tuple with the ProfitLoss field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderItem) GetSportOk ¶
GetSportOk returns a tuple with the Sport field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderItem) GetStake ¶
func (o *OrderItem) GetStake() []interface{}
GetStake returns the Stake field value if set, zero value otherwise.
func (*OrderItem) GetStakeOk ¶
GetStakeOk returns a tuple with the Stake field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderItem) GetStatus ¶
GetStatus returns the Status field value if set, zero value otherwise.
func (*OrderItem) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderItem) GetTakeStartingPrice ¶
GetTakeStartingPrice returns the TakeStartingPrice field value if set, zero value otherwise.
func (*OrderItem) GetTakeStartingPriceOk ¶
GetTakeStartingPriceOk returns a tuple with the TakeStartingPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderItem) GetUserData ¶
GetUserData returns the UserData field value if set, zero value otherwise.
func (*OrderItem) GetUserDataOk ¶
GetUserDataOk returns a tuple with the UserData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderItem) GetWantPrice ¶
GetWantPrice returns the WantPrice field value if set, zero value otherwise.
func (*OrderItem) GetWantPriceOk ¶
GetWantPriceOk returns a tuple with the WantPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderItem) GetWantStake ¶
func (o *OrderItem) GetWantStake() []interface{}
GetWantStake returns the WantStake field value if set, zero value otherwise.
func (*OrderItem) GetWantStakeOk ¶
GetWantStakeOk returns a tuple with the WantStake field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderItem) HasBetBarValues ¶
HasBetBarValues returns a boolean if a field has been set.
func (*OrderItem) HasBetTypeDescription ¶
HasBetTypeDescription returns a boolean if a field has been set.
func (*OrderItem) HasBetTypeTemplate ¶
HasBetTypeTemplate returns a boolean if a field has been set.
func (*OrderItem) HasCcyRate ¶
HasCcyRate returns a boolean if a field has been set.
func (*OrderItem) HasCloseReason ¶
HasCloseReason returns a boolean if a field has been set.
func (*OrderItem) HasEventInfo ¶
HasEventInfo returns a boolean if a field has been set.
func (*OrderItem) HasExpiryTime ¶
HasExpiryTime returns a boolean if a field has been set.
func (*OrderItem) HasKeepOpenIr ¶
HasKeepOpenIr returns a boolean if a field has been set.
func (*OrderItem) HasPlacementTime ¶
HasPlacementTime returns a boolean if a field has been set.
func (*OrderItem) HasProfitLoss ¶
HasProfitLoss returns a boolean if a field has been set.
func (*OrderItem) HasTakeStartingPrice ¶
HasTakeStartingPrice returns a boolean if a field has been set.
func (*OrderItem) HasUserData ¶
HasUserData returns a boolean if a field has been set.
func (*OrderItem) HasWantPrice ¶
HasWantPrice returns a boolean if a field has been set.
func (*OrderItem) HasWantStake ¶
HasWantStake returns a boolean if a field has been set.
func (OrderItem) MarshalJSON ¶
func (*OrderItem) SetBetBarValues ¶
SetBetBarValues gets a reference to the given BetBar and assigns it to the BetBarValues field.
func (*OrderItem) SetBetTypeDescription ¶
SetBetTypeDescription gets a reference to the given string and assigns it to the BetTypeDescription field.
func (*OrderItem) SetBetTypeTemplate ¶
SetBetTypeTemplate gets a reference to the given string and assigns it to the BetTypeTemplate field.
func (*OrderItem) SetBets ¶
SetBets gets a reference to the given []BetItem and assigns it to the Bets field.
func (*OrderItem) SetCcyRate ¶
SetCcyRate gets a reference to the given float64 and assigns it to the CcyRate field.
func (*OrderItem) SetCloseReason ¶
SetCloseReason gets a reference to the given string and assigns it to the CloseReason field.
func (*OrderItem) SetClosed ¶
SetClosed gets a reference to the given bool and assigns it to the Closed field.
func (*OrderItem) SetEventInfo ¶
SetEventInfo gets a reference to the given EventInfo and assigns it to the EventInfo field.
func (*OrderItem) SetExpiryTime ¶
SetExpiryTime gets a reference to the given time.Time and assigns it to the ExpiryTime field.
func (*OrderItem) SetKeepOpenIr ¶
SetKeepOpenIr gets a reference to the given bool and assigns it to the KeepOpenIr field.
func (*OrderItem) SetOrderType ¶
SetOrderType sets field value
func (*OrderItem) SetPlacementTime ¶
SetPlacementTime gets a reference to the given time.Time and assigns it to the PlacementTime field.
func (*OrderItem) SetPlacer ¶
SetPlacer gets a reference to the given string and assigns it to the Placer field.
func (*OrderItem) SetPrice ¶
SetPrice gets a reference to the given float64 and assigns it to the Price field.
func (*OrderItem) SetProfitLoss ¶
func (o *OrderItem) SetProfitLoss(v []interface{})
SetProfitLoss gets a reference to the given []interface{} and assigns it to the ProfitLoss field.
func (*OrderItem) SetSport ¶
SetSport gets a reference to the given string and assigns it to the Sport field.
func (*OrderItem) SetStake ¶
func (o *OrderItem) SetStake(v []interface{})
SetStake gets a reference to the given []interface{} and assigns it to the Stake field.
func (*OrderItem) SetStatus ¶
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*OrderItem) SetTakeStartingPrice ¶
SetTakeStartingPrice gets a reference to the given bool and assigns it to the TakeStartingPrice field.
func (*OrderItem) SetUserData ¶
SetUserData gets a reference to the given string and assigns it to the UserData field.
func (*OrderItem) SetWantPrice ¶
SetWantPrice gets a reference to the given float64 and assigns it to the WantPrice field.
func (*OrderItem) SetWantStake ¶
func (o *OrderItem) SetWantStake(v []interface{})
SetWantStake gets a reference to the given []interface{} and assigns it to the WantStake field.
type PlaceBetRequest ¶
type PlaceBetRequest struct { BetslipId string `json:"betslip_id"` Price float64 `json:"price"` Stake []interface{} `json:"stake"` IgnoreSystemMaintenance bool `json:"ignore_system_maintenance"` NoPutOfferExchange bool `json:"no_put_offer_exchange"` AdaptiveBookies *[]string `json:"adaptive_bookies,omitempty"` RequestUuid string `json:"request_uuid"` Duration int64 `json:"duration"` Accounts *[][]string `json:"accounts,omitempty"` }
PlaceBetRequest struct for PlaceBetRequest
func NewPlaceBetRequest ¶
func NewPlaceBetRequest(betslipId string, price float64, stake []interface{}, ignoreSystemMaintenance bool, noPutOfferExchange bool, requestUuid string, duration int64) *PlaceBetRequest
NewPlaceBetRequest instantiates a new PlaceBetRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPlaceBetRequestWithDefaults ¶
func NewPlaceBetRequestWithDefaults() *PlaceBetRequest
NewPlaceBetRequestWithDefaults instantiates a new PlaceBetRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PlaceBetRequest) GetAccounts ¶
func (o *PlaceBetRequest) GetAccounts() [][]string
GetAccounts returns the Accounts field value if set, zero value otherwise.
func (*PlaceBetRequest) GetAccountsOk ¶
func (o *PlaceBetRequest) GetAccountsOk() (*[][]string, bool)
GetAccountsOk returns a tuple with the Accounts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlaceBetRequest) GetAdaptiveBookies ¶
func (o *PlaceBetRequest) GetAdaptiveBookies() []string
GetAdaptiveBookies returns the AdaptiveBookies field value if set, zero value otherwise.
func (*PlaceBetRequest) GetAdaptiveBookiesOk ¶
func (o *PlaceBetRequest) GetAdaptiveBookiesOk() (*[]string, bool)
GetAdaptiveBookiesOk returns a tuple with the AdaptiveBookies field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlaceBetRequest) GetBetslipId ¶
func (o *PlaceBetRequest) GetBetslipId() string
GetBetslipId returns the BetslipId field value
func (*PlaceBetRequest) GetBetslipIdOk ¶
func (o *PlaceBetRequest) GetBetslipIdOk() (*string, bool)
GetBetslipIdOk returns a tuple with the BetslipId field value and a boolean to check if the value has been set.
func (*PlaceBetRequest) GetDuration ¶
func (o *PlaceBetRequest) GetDuration() int64
GetDuration returns the Duration field value
func (*PlaceBetRequest) GetDurationOk ¶
func (o *PlaceBetRequest) GetDurationOk() (*int64, bool)
GetDurationOk returns a tuple with the Duration field value and a boolean to check if the value has been set.
func (*PlaceBetRequest) GetIgnoreSystemMaintenance ¶
func (o *PlaceBetRequest) GetIgnoreSystemMaintenance() bool
GetIgnoreSystemMaintenance returns the IgnoreSystemMaintenance field value
func (*PlaceBetRequest) GetIgnoreSystemMaintenanceOk ¶
func (o *PlaceBetRequest) GetIgnoreSystemMaintenanceOk() (*bool, bool)
GetIgnoreSystemMaintenanceOk returns a tuple with the IgnoreSystemMaintenance field value and a boolean to check if the value has been set.
func (*PlaceBetRequest) GetNoPutOfferExchange ¶
func (o *PlaceBetRequest) GetNoPutOfferExchange() bool
GetNoPutOfferExchange returns the NoPutOfferExchange field value
func (*PlaceBetRequest) GetNoPutOfferExchangeOk ¶
func (o *PlaceBetRequest) GetNoPutOfferExchangeOk() (*bool, bool)
GetNoPutOfferExchangeOk returns a tuple with the NoPutOfferExchange field value and a boolean to check if the value has been set.
func (*PlaceBetRequest) GetPrice ¶
func (o *PlaceBetRequest) GetPrice() float64
GetPrice returns the Price field value
func (*PlaceBetRequest) GetPriceOk ¶
func (o *PlaceBetRequest) GetPriceOk() (*float64, bool)
GetPriceOk returns a tuple with the Price field value and a boolean to check if the value has been set.
func (*PlaceBetRequest) GetRequestUuid ¶
func (o *PlaceBetRequest) GetRequestUuid() string
GetRequestUuid returns the RequestUuid field value
func (*PlaceBetRequest) GetRequestUuidOk ¶
func (o *PlaceBetRequest) GetRequestUuidOk() (*string, bool)
GetRequestUuidOk returns a tuple with the RequestUuid field value and a boolean to check if the value has been set.
func (*PlaceBetRequest) GetStake ¶
func (o *PlaceBetRequest) GetStake() []interface{}
GetStake returns the Stake field value
func (*PlaceBetRequest) GetStakeOk ¶
func (o *PlaceBetRequest) GetStakeOk() (*[]interface{}, bool)
GetStakeOk returns a tuple with the Stake field value and a boolean to check if the value has been set.
func (*PlaceBetRequest) HasAccounts ¶
func (o *PlaceBetRequest) HasAccounts() bool
HasAccounts returns a boolean if a field has been set.
func (*PlaceBetRequest) HasAdaptiveBookies ¶
func (o *PlaceBetRequest) HasAdaptiveBookies() bool
HasAdaptiveBookies returns a boolean if a field has been set.
func (PlaceBetRequest) MarshalJSON ¶
func (o PlaceBetRequest) MarshalJSON() ([]byte, error)
func (*PlaceBetRequest) SetAccounts ¶
func (o *PlaceBetRequest) SetAccounts(v [][]string)
SetAccounts gets a reference to the given [][]string and assigns it to the Accounts field.
func (*PlaceBetRequest) SetAdaptiveBookies ¶
func (o *PlaceBetRequest) SetAdaptiveBookies(v []string)
SetAdaptiveBookies gets a reference to the given []string and assigns it to the AdaptiveBookies field.
func (*PlaceBetRequest) SetBetslipId ¶
func (o *PlaceBetRequest) SetBetslipId(v string)
SetBetslipId sets field value
func (*PlaceBetRequest) SetDuration ¶
func (o *PlaceBetRequest) SetDuration(v int64)
SetDuration sets field value
func (*PlaceBetRequest) SetIgnoreSystemMaintenance ¶
func (o *PlaceBetRequest) SetIgnoreSystemMaintenance(v bool)
SetIgnoreSystemMaintenance sets field value
func (*PlaceBetRequest) SetNoPutOfferExchange ¶
func (o *PlaceBetRequest) SetNoPutOfferExchange(v bool)
SetNoPutOfferExchange sets field value
func (*PlaceBetRequest) SetPrice ¶
func (o *PlaceBetRequest) SetPrice(v float64)
SetPrice sets field value
func (*PlaceBetRequest) SetRequestUuid ¶
func (o *PlaceBetRequest) SetRequestUuid(v string)
SetRequestUuid sets field value
func (*PlaceBetRequest) SetStake ¶
func (o *PlaceBetRequest) SetStake(v []interface{})
SetStake sets field value
type PlaceBetResponse ¶
PlaceBetResponse struct for PlaceBetResponse
func NewPlaceBetResponse ¶
func NewPlaceBetResponse(status string, data OrderItem) *PlaceBetResponse
NewPlaceBetResponse instantiates a new PlaceBetResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPlaceBetResponseWithDefaults ¶
func NewPlaceBetResponseWithDefaults() *PlaceBetResponse
NewPlaceBetResponseWithDefaults instantiates a new PlaceBetResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PlaceBetResponse) GetData ¶
func (o *PlaceBetResponse) GetData() OrderItem
GetData returns the Data field value
func (*PlaceBetResponse) GetDataOk ¶
func (o *PlaceBetResponse) GetDataOk() (*OrderItem, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*PlaceBetResponse) GetStatus ¶
func (o *PlaceBetResponse) GetStatus() string
GetStatus returns the Status field value
func (*PlaceBetResponse) GetStatusOk ¶
func (o *PlaceBetResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (PlaceBetResponse) MarshalJSON ¶
func (o PlaceBetResponse) MarshalJSON() ([]byte, error)
func (*PlaceBetResponse) SetData ¶
func (o *PlaceBetResponse) SetData(v OrderItem)
SetData sets field value
func (*PlaceBetResponse) SetStatus ¶
func (o *PlaceBetResponse) SetStatus(v string)
SetStatus sets field value
type RefreshBetSlipResponse ¶
type RefreshBetSlipResponse struct {
Status string `json:"status"`
}
RefreshBetSlipResponse struct for RefreshBetSlipResponse
func NewRefreshBetSlipResponse ¶
func NewRefreshBetSlipResponse(status string) *RefreshBetSlipResponse
NewRefreshBetSlipResponse instantiates a new RefreshBetSlipResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRefreshBetSlipResponseWithDefaults ¶
func NewRefreshBetSlipResponseWithDefaults() *RefreshBetSlipResponse
NewRefreshBetSlipResponseWithDefaults instantiates a new RefreshBetSlipResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RefreshBetSlipResponse) GetStatus ¶
func (o *RefreshBetSlipResponse) GetStatus() string
GetStatus returns the Status field value
func (*RefreshBetSlipResponse) GetStatusOk ¶
func (o *RefreshBetSlipResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (RefreshBetSlipResponse) MarshalJSON ¶
func (o RefreshBetSlipResponse) MarshalJSON() ([]byte, error)
func (*RefreshBetSlipResponse) SetStatus ¶
func (o *RefreshBetSlipResponse) SetStatus(v string)
SetStatus sets field value
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type UserApiService ¶
type UserApiService service
UserApiService UserApi service
func (*UserApiService) Balance ¶
func (a *UserApiService) Balance(ctx _context.Context, username string) apiBalanceRequest
Balance Method for Balance
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param username
@return apiBalanceRequest
func (*UserApiService) CheckLogin ¶
func (a *UserApiService) CheckLogin(ctx _context.Context, session string) apiCheckLoginRequest
CheckLogin Method for CheckLogin
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param session
@return apiCheckLoginRequest
func (*UserApiService) Login ¶
func (a *UserApiService) Login(ctx _context.Context) apiLoginRequest
Login Method for Login
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiLoginRequest
type WebsocketResponse ¶
type WebsocketResponse struct { BetslipId string `json:"betslip_id"` Sport string `json:"sport"` EventId string `json:"event_id"` Bookie string `json:"bookie"` Username string `json:"username"` BetType string `json:"bet_type"` Price float64 `json:"price"` Min float64 `json:"min"` Max float64 `json:"max"` Status string `json:"status"` }
WebsocketResponse struct for WebsocketResponse
func NewWebsocketResponse ¶
func NewWebsocketResponse(betslipId string, sport string, eventId string, bookie string, username string, betType string, price float64, min float64, max float64, status string) *WebsocketResponse
NewWebsocketResponse instantiates a new WebsocketResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewWebsocketResponseWithDefaults ¶
func NewWebsocketResponseWithDefaults() *WebsocketResponse
NewWebsocketResponseWithDefaults instantiates a new WebsocketResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*WebsocketResponse) GetBetType ¶
func (o *WebsocketResponse) GetBetType() string
GetBetType returns the BetType field value
func (*WebsocketResponse) GetBetTypeOk ¶
func (o *WebsocketResponse) GetBetTypeOk() (*string, bool)
GetBetTypeOk returns a tuple with the BetType field value and a boolean to check if the value has been set.
func (*WebsocketResponse) GetBetslipId ¶
func (o *WebsocketResponse) GetBetslipId() string
GetBetslipId returns the BetslipId field value
func (*WebsocketResponse) GetBetslipIdOk ¶
func (o *WebsocketResponse) GetBetslipIdOk() (*string, bool)
GetBetslipIdOk returns a tuple with the BetslipId field value and a boolean to check if the value has been set.
func (*WebsocketResponse) GetBookie ¶
func (o *WebsocketResponse) GetBookie() string
GetBookie returns the Bookie field value
func (*WebsocketResponse) GetBookieOk ¶
func (o *WebsocketResponse) GetBookieOk() (*string, bool)
GetBookieOk returns a tuple with the Bookie field value and a boolean to check if the value has been set.
func (*WebsocketResponse) GetEventId ¶
func (o *WebsocketResponse) GetEventId() string
GetEventId returns the EventId field value
func (*WebsocketResponse) GetEventIdOk ¶
func (o *WebsocketResponse) GetEventIdOk() (*string, bool)
GetEventIdOk returns a tuple with the EventId field value and a boolean to check if the value has been set.
func (*WebsocketResponse) GetMax ¶
func (o *WebsocketResponse) GetMax() float64
GetMax returns the Max field value
func (*WebsocketResponse) GetMaxOk ¶
func (o *WebsocketResponse) GetMaxOk() (*float64, bool)
GetMaxOk returns a tuple with the Max field value and a boolean to check if the value has been set.
func (*WebsocketResponse) GetMin ¶
func (o *WebsocketResponse) GetMin() float64
GetMin returns the Min field value
func (*WebsocketResponse) GetMinOk ¶
func (o *WebsocketResponse) GetMinOk() (*float64, bool)
GetMinOk returns a tuple with the Min field value and a boolean to check if the value has been set.
func (*WebsocketResponse) GetPrice ¶
func (o *WebsocketResponse) GetPrice() float64
GetPrice returns the Price field value
func (*WebsocketResponse) GetPriceOk ¶
func (o *WebsocketResponse) GetPriceOk() (*float64, bool)
GetPriceOk returns a tuple with the Price field value and a boolean to check if the value has been set.
func (*WebsocketResponse) GetSport ¶
func (o *WebsocketResponse) GetSport() string
GetSport returns the Sport field value
func (*WebsocketResponse) GetSportOk ¶
func (o *WebsocketResponse) GetSportOk() (*string, bool)
GetSportOk returns a tuple with the Sport field value and a boolean to check if the value has been set.
func (*WebsocketResponse) GetStatus ¶
func (o *WebsocketResponse) GetStatus() string
GetStatus returns the Status field value
func (*WebsocketResponse) GetStatusOk ¶
func (o *WebsocketResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*WebsocketResponse) GetUsername ¶
func (o *WebsocketResponse) GetUsername() string
GetUsername returns the Username field value
func (*WebsocketResponse) GetUsernameOk ¶
func (o *WebsocketResponse) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.
func (WebsocketResponse) MarshalJSON ¶
func (o WebsocketResponse) MarshalJSON() ([]byte, error)
func (*WebsocketResponse) SetBetType ¶
func (o *WebsocketResponse) SetBetType(v string)
SetBetType sets field value
func (*WebsocketResponse) SetBetslipId ¶
func (o *WebsocketResponse) SetBetslipId(v string)
SetBetslipId sets field value
func (*WebsocketResponse) SetBookie ¶
func (o *WebsocketResponse) SetBookie(v string)
SetBookie sets field value
func (*WebsocketResponse) SetEventId ¶
func (o *WebsocketResponse) SetEventId(v string)
SetEventId sets field value
func (*WebsocketResponse) SetMax ¶
func (o *WebsocketResponse) SetMax(v float64)
SetMax sets field value
func (*WebsocketResponse) SetMin ¶
func (o *WebsocketResponse) SetMin(v float64)
SetMin sets field value
func (*WebsocketResponse) SetPrice ¶
func (o *WebsocketResponse) SetPrice(v float64)
SetPrice sets field value
func (*WebsocketResponse) SetSport ¶
func (o *WebsocketResponse) SetSport(v string)
SetSport sets field value
func (*WebsocketResponse) SetStatus ¶
func (o *WebsocketResponse) SetStatus(v string)
SetStatus sets field value
func (*WebsocketResponse) SetUsername ¶
func (o *WebsocketResponse) SetUsername(v string)
SetUsername sets field value
Source Files ¶
- api_bet.go
- api_market.go
- api_user.go
- client.go
- configuration.go
- model_account_item.go
- model_bad_request_error.go
- model_balance_item.go
- model_balance_response.go
- model_bet_bar.go
- model_bet_item.go
- model_bet_item_status.go
- model_bet_list_response.go
- model_bet_log_response.go
- model_bet_slip_data.go
- model_bet_slip_request.go
- model_bet_slip_response.go
- model_error_data.go
- model_event.go
- model_event_info.go
- model_get_events_request.go
- model_get_events_response.go
- model_league.go
- model_log_item.go
- model_login_data.go
- model_login_request.go
- model_login_response.go
- model_order_item.go
- model_place_bet_request.go
- model_place_bet_response.go
- model_refresh_bet_slip_response.go
- model_websocket_response.go
- response.go
- utils.go