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 BasicAuth
- type BettingStatusApiService
- type BettingStatusResponse
- type CancellationDetailsItem
- func (o *CancellationDetailsItem) GetKey() string
- func (o *CancellationDetailsItem) GetKeyOk() (*string, bool)
- func (o *CancellationDetailsItem) GetValue() string
- func (o *CancellationDetailsItem) GetValueOk() (*string, bool)
- func (o *CancellationDetailsItem) HasKey() bool
- func (o *CancellationDetailsItem) HasValue() bool
- func (o CancellationDetailsItem) MarshalJSON() ([]byte, error)
- func (o *CancellationDetailsItem) SetKey(v string)
- func (o *CancellationDetailsItem) SetValue(v string)
- type CancellationReason
- func (o *CancellationReason) GetCode() string
- func (o *CancellationReason) GetCodeOk() (*string, bool)
- func (o *CancellationReason) GetDetails() []CancellationDetailsItem
- func (o *CancellationReason) GetDetailsOk() (*[]CancellationDetailsItem, bool)
- func (o *CancellationReason) HasDetails() bool
- func (o CancellationReason) MarshalJSON() ([]byte, error)
- func (o *CancellationReason) SetCode(v string)
- func (o *CancellationReason) SetDetails(v []CancellationDetailsItem)
- type CancellationReasonDetailsType
- func (o *CancellationReasonDetailsType) GetKey() string
- func (o *CancellationReasonDetailsType) GetKeyOk() (*string, bool)
- func (o *CancellationReasonDetailsType) GetValue() string
- func (o *CancellationReasonDetailsType) GetValueOk() (*string, bool)
- func (o *CancellationReasonDetailsType) HasKey() bool
- func (o *CancellationReasonDetailsType) HasValue() bool
- func (o CancellationReasonDetailsType) MarshalJSON() ([]byte, error)
- func (o *CancellationReasonDetailsType) SetKey(v string)
- func (o *CancellationReasonDetailsType) SetValue(v string)
- type CancellationReasonResponse
- func (o *CancellationReasonResponse) GetCancellationReasons() []CancellationReason
- func (o *CancellationReasonResponse) GetCancellationReasonsOk() (*[]CancellationReason, bool)
- func (o *CancellationReasonResponse) HasCancellationReasons() bool
- func (o CancellationReasonResponse) MarshalJSON() ([]byte, error)
- func (o *CancellationReasonResponse) SetCancellationReasons(v []CancellationReason)
- type CancellationReasonType
- func (o *CancellationReasonType) GetCode() string
- func (o *CancellationReasonType) GetCodeOk() (*string, bool)
- func (o *CancellationReasonType) GetDetails() CancellationReasonDetailsType
- func (o *CancellationReasonType) GetDetailsOk() (*CancellationReasonDetailsType, bool)
- func (o *CancellationReasonType) HasCode() bool
- func (o *CancellationReasonType) HasDetails() bool
- func (o CancellationReasonType) MarshalJSON() ([]byte, error)
- func (o *CancellationReasonType) SetCode(v string)
- func (o *CancellationReasonType) SetDetails(v CancellationReasonDetailsType)
- type ClientBalanceApiService
- type ClientBalanceResponse
- func (o *ClientBalanceResponse) GetAvailableBalance() float64
- func (o *ClientBalanceResponse) GetAvailableBalanceOk() (*float64, bool)
- func (o *ClientBalanceResponse) GetCurrency() string
- func (o *ClientBalanceResponse) GetCurrencyOk() (*string, bool)
- func (o *ClientBalanceResponse) GetGivenCredit() float64
- func (o *ClientBalanceResponse) GetGivenCreditOk() (*float64, bool)
- func (o *ClientBalanceResponse) GetOutstandingTransactions() float64
- func (o *ClientBalanceResponse) GetOutstandingTransactionsOk() (*float64, bool)
- func (o ClientBalanceResponse) MarshalJSON() ([]byte, error)
- func (o *ClientBalanceResponse) SetAvailableBalance(v float64)
- func (o *ClientBalanceResponse) SetCurrency(v string)
- func (o *ClientBalanceResponse) SetGivenCredit(v float64)
- func (o *ClientBalanceResponse) SetOutstandingTransactions(v float64)
- type Configuration
- type Currency
- func (o *Currency) GetCode() string
- func (o *Currency) GetCodeOk() (*string, bool)
- func (o *Currency) GetName() string
- func (o *Currency) GetNameOk() (*string, bool)
- func (o *Currency) GetRate() float64
- func (o *Currency) GetRateOk() (*float64, bool)
- func (o *Currency) HasCode() bool
- func (o *Currency) HasName() bool
- func (o *Currency) HasRate() bool
- func (o Currency) MarshalJSON() ([]byte, error)
- func (o *Currency) SetCode(v string)
- func (o *Currency) SetName(v string)
- func (o *Currency) SetRate(v float64)
- type ErrorCode
- type ErrorResponse
- func (o *ErrorResponse) GetCode() string
- func (o *ErrorResponse) GetCodeOk() (*string, bool)
- func (o *ErrorResponse) GetMessage() string
- func (o *ErrorResponse) GetMessageOk() (*string, bool)
- func (o *ErrorResponse) HasCode() bool
- func (o *ErrorResponse) HasMessage() bool
- func (o ErrorResponse) MarshalJSON() ([]byte, error)
- func (o *ErrorResponse) SetCode(v string)
- func (o *ErrorResponse) SetMessage(v string)
- type ErrorResponseWithErrorRef
- func (o *ErrorResponseWithErrorRef) GetCode() string
- func (o *ErrorResponseWithErrorRef) GetCodeOk() (*string, bool)
- func (o *ErrorResponseWithErrorRef) GetMessage() string
- func (o *ErrorResponseWithErrorRef) GetMessageOk() (*string, bool)
- func (o *ErrorResponseWithErrorRef) GetRef() string
- func (o *ErrorResponseWithErrorRef) GetRefOk() (*string, bool)
- func (o *ErrorResponseWithErrorRef) HasCode() bool
- func (o *ErrorResponseWithErrorRef) HasMessage() bool
- func (o *ErrorResponseWithErrorRef) HasRef() bool
- func (o ErrorResponseWithErrorRef) MarshalJSON() ([]byte, error)
- func (o *ErrorResponseWithErrorRef) SetCode(v string)
- func (o *ErrorResponseWithErrorRef) SetMessage(v string)
- func (o *ErrorResponseWithErrorRef) SetRef(v string)
- type ExtendedErrorResponse
- func (o *ExtendedErrorResponse) GetCode() string
- func (o *ExtendedErrorResponse) GetCodeOk() (*string, bool)
- func (o *ExtendedErrorResponse) GetMessage() string
- func (o *ExtendedErrorResponse) GetMessageOk() (*string, bool)
- func (o *ExtendedErrorResponse) GetRef() string
- func (o *ExtendedErrorResponse) GetRefOk() (*string, bool)
- func (o *ExtendedErrorResponse) HasCode() bool
- func (o *ExtendedErrorResponse) HasMessage() bool
- func (o *ExtendedErrorResponse) HasRef() bool
- func (o ExtendedErrorResponse) MarshalJSON() ([]byte, error)
- func (o *ExtendedErrorResponse) SetCode(v string)
- func (o *ExtendedErrorResponse) SetMessage(v string)
- func (o *ExtendedErrorResponse) SetRef(v string)
- type ExtendedLinesErrorResponse
- func (o *ExtendedLinesErrorResponse) GetCode() int
- func (o *ExtendedLinesErrorResponse) GetCodeOk() (*int, bool)
- func (o *ExtendedLinesErrorResponse) GetError() ErrorResponse
- func (o *ExtendedLinesErrorResponse) GetErrorOk() (*ErrorResponse, bool)
- func (o *ExtendedLinesErrorResponse) GetRef() string
- func (o *ExtendedLinesErrorResponse) GetRefOk() (*string, bool)
- func (o *ExtendedLinesErrorResponse) GetStatus() string
- func (o *ExtendedLinesErrorResponse) GetStatusOk() (*string, bool)
- func (o *ExtendedLinesErrorResponse) HasCode() bool
- func (o *ExtendedLinesErrorResponse) HasError() bool
- func (o *ExtendedLinesErrorResponse) HasRef() bool
- func (o *ExtendedLinesErrorResponse) HasStatus() bool
- func (o ExtendedLinesErrorResponse) MarshalJSON() ([]byte, error)
- func (o *ExtendedLinesErrorResponse) SetCode(v int)
- func (o *ExtendedLinesErrorResponse) SetError(v ErrorResponse)
- func (o *ExtendedLinesErrorResponse) SetRef(v string)
- func (o *ExtendedLinesErrorResponse) SetStatus(v string)
- type FillType
- type Fixture
- func (o *Fixture) GetAltTeaser() bool
- func (o *Fixture) GetAltTeaserOk() (*bool, bool)
- func (o *Fixture) GetAway() string
- func (o *Fixture) GetAwayOk() (*string, bool)
- func (o *Fixture) GetAwayPitcher() string
- func (o *Fixture) GetAwayPitcherOk() (*string, bool)
- func (o *Fixture) GetHome() string
- func (o *Fixture) GetHomeOk() (*string, bool)
- func (o *Fixture) GetHomePitcher() string
- func (o *Fixture) GetHomePitcherOk() (*string, bool)
- func (o *Fixture) GetId() int64
- func (o *Fixture) GetIdOk() (*int64, bool)
- func (o *Fixture) GetLiveStatus() int
- func (o *Fixture) GetLiveStatusOk() (*int, bool)
- func (o *Fixture) GetParentId() int64
- func (o *Fixture) GetParentIdOk() (*int64, bool)
- func (o *Fixture) GetParlayRestriction() int
- func (o *Fixture) GetParlayRestrictionOk() (*int, bool)
- func (o *Fixture) GetResultingUnit() string
- func (o *Fixture) GetResultingUnitOk() (*string, bool)
- func (o *Fixture) GetRotNum() string
- func (o *Fixture) GetRotNumOk() (*string, bool)
- func (o *Fixture) GetStarts() time.Time
- func (o *Fixture) GetStartsOk() (*time.Time, bool)
- func (o *Fixture) GetStatus() string
- func (o *Fixture) GetStatusOk() (*string, bool)
- func (o *Fixture) HasAltTeaser() bool
- func (o *Fixture) HasAway() bool
- func (o *Fixture) HasAwayPitcher() bool
- func (o *Fixture) HasHome() bool
- func (o *Fixture) HasHomePitcher() bool
- func (o *Fixture) HasId() bool
- func (o *Fixture) HasLiveStatus() bool
- func (o *Fixture) HasParentId() bool
- func (o *Fixture) HasParlayRestriction() bool
- func (o *Fixture) HasResultingUnit() bool
- func (o *Fixture) HasRotNum() bool
- func (o *Fixture) HasStarts() bool
- func (o *Fixture) HasStatus() bool
- func (o Fixture) MarshalJSON() ([]byte, error)
- func (o *Fixture) SetAltTeaser(v bool)
- func (o *Fixture) SetAway(v string)
- func (o *Fixture) SetAwayPitcher(v string)
- func (o *Fixture) SetHome(v string)
- func (o *Fixture) SetHomePitcher(v string)
- func (o *Fixture) SetId(v int64)
- func (o *Fixture) SetLiveStatus(v int)
- func (o *Fixture) SetParentId(v int64)
- func (o *Fixture) SetParlayRestriction(v int)
- func (o *Fixture) SetResultingUnit(v string)
- func (o *Fixture) SetRotNum(v string)
- func (o *Fixture) SetStarts(v time.Time)
- func (o *Fixture) SetStatus(v string)
- type FixturesApiService
- func (a *FixturesApiService) FixturesSettledV1Get(ctx _context.Context) apiFixturesSettledV1GetRequest
- func (a *FixturesApiService) FixturesSpecialV1Get(ctx _context.Context) apiFixturesSpecialV1GetRequest
- func (a *FixturesApiService) FixturesSpecialsSettledV1Get(ctx _context.Context) apiFixturesSpecialsSettledV1GetRequest
- func (a *FixturesApiService) FixturesV1Get(ctx _context.Context) apiFixturesV1GetRequest
- type FixturesLeague
- func (o *FixturesLeague) GetEvents() []Fixture
- func (o *FixturesLeague) GetEventsOk() (*[]Fixture, bool)
- func (o *FixturesLeague) GetId() int
- func (o *FixturesLeague) GetIdOk() (*int, bool)
- func (o *FixturesLeague) GetName() string
- func (o *FixturesLeague) GetNameOk() (*string, bool)
- func (o *FixturesLeague) HasEvents() bool
- func (o *FixturesLeague) HasId() bool
- func (o *FixturesLeague) HasName() bool
- func (o FixturesLeague) MarshalJSON() ([]byte, error)
- func (o *FixturesLeague) SetEvents(v []Fixture)
- func (o *FixturesLeague) SetId(v int)
- func (o *FixturesLeague) SetName(v string)
- type FixturesResponse
- func (o *FixturesResponse) GetLast() int64
- func (o *FixturesResponse) GetLastOk() (*int64, bool)
- func (o *FixturesResponse) GetLeague() []FixturesLeague
- func (o *FixturesResponse) GetLeagueOk() (*[]FixturesLeague, bool)
- func (o *FixturesResponse) GetSportId() int
- func (o *FixturesResponse) GetSportIdOk() (*int, bool)
- func (o *FixturesResponse) HasLast() bool
- func (o *FixturesResponse) HasLeague() bool
- func (o *FixturesResponse) HasSportId() bool
- func (o FixturesResponse) MarshalJSON() ([]byte, error)
- func (o *FixturesResponse) SetLast(v int64)
- func (o *FixturesResponse) SetLeague(v []FixturesLeague)
- func (o *FixturesResponse) SetSportId(v int)
- type GenericOpenAPIError
- type GetBetsApiService
- type GetBetsByTypeResponseV3
- func (o *GetBetsByTypeResponseV3) GetFromRecord() int
- func (o *GetBetsByTypeResponseV3) GetFromRecordOk() (*int, bool)
- func (o *GetBetsByTypeResponseV3) GetManualBets() []ManualBet
- func (o *GetBetsByTypeResponseV3) GetManualBetsOk() (*[]ManualBet, bool)
- func (o *GetBetsByTypeResponseV3) GetMoreAvailable() bool
- func (o *GetBetsByTypeResponseV3) GetMoreAvailableOk() (*bool, bool)
- func (o *GetBetsByTypeResponseV3) GetPageSize() int
- func (o *GetBetsByTypeResponseV3) GetPageSizeOk() (*int, bool)
- func (o *GetBetsByTypeResponseV3) GetParlayBets() []ParlayBet
- func (o *GetBetsByTypeResponseV3) GetParlayBetsOk() (*[]ParlayBet, bool)
- func (o *GetBetsByTypeResponseV3) GetSpecialBets() []SpecialBet
- func (o *GetBetsByTypeResponseV3) GetSpecialBetsOk() (*[]SpecialBet, bool)
- func (o *GetBetsByTypeResponseV3) GetStraightBets() []StraightBetV3
- func (o *GetBetsByTypeResponseV3) GetStraightBetsOk() (*[]StraightBetV3, bool)
- func (o *GetBetsByTypeResponseV3) GetTeaserBets() []TeaserBet
- func (o *GetBetsByTypeResponseV3) GetTeaserBetsOk() (*[]TeaserBet, bool)
- func (o *GetBetsByTypeResponseV3) GetToRecord() int
- func (o *GetBetsByTypeResponseV3) GetToRecordOk() (*int, bool)
- func (o *GetBetsByTypeResponseV3) HasFromRecord() bool
- func (o *GetBetsByTypeResponseV3) HasManualBets() bool
- func (o *GetBetsByTypeResponseV3) HasMoreAvailable() bool
- func (o *GetBetsByTypeResponseV3) HasPageSize() bool
- func (o *GetBetsByTypeResponseV3) HasParlayBets() bool
- func (o *GetBetsByTypeResponseV3) HasSpecialBets() bool
- func (o *GetBetsByTypeResponseV3) HasStraightBets() bool
- func (o *GetBetsByTypeResponseV3) HasTeaserBets() bool
- func (o *GetBetsByTypeResponseV3) HasToRecord() bool
- func (o GetBetsByTypeResponseV3) MarshalJSON() ([]byte, error)
- func (o *GetBetsByTypeResponseV3) SetFromRecord(v int)
- func (o *GetBetsByTypeResponseV3) SetManualBets(v []ManualBet)
- func (o *GetBetsByTypeResponseV3) SetMoreAvailable(v bool)
- func (o *GetBetsByTypeResponseV3) SetPageSize(v int)
- func (o *GetBetsByTypeResponseV3) SetParlayBets(v []ParlayBet)
- func (o *GetBetsByTypeResponseV3) SetSpecialBets(v []SpecialBet)
- func (o *GetBetsByTypeResponseV3) SetStraightBets(v []StraightBetV3)
- func (o *GetBetsByTypeResponseV3) SetTeaserBets(v []TeaserBet)
- func (o *GetBetsByTypeResponseV3) SetToRecord(v int)
- type GetTranslationsApiService
- type InRunningEvent
- func (o *InRunningEvent) GetElapsed() int
- func (o *InRunningEvent) GetElapsedOk() (*int, bool)
- func (o *InRunningEvent) GetId() int64
- func (o *InRunningEvent) GetIdOk() (*int64, bool)
- func (o *InRunningEvent) GetState() int
- func (o *InRunningEvent) GetStateOk() (*int, bool)
- func (o *InRunningEvent) HasElapsed() bool
- func (o *InRunningEvent) HasId() bool
- func (o *InRunningEvent) HasState() bool
- func (o InRunningEvent) MarshalJSON() ([]byte, error)
- func (o *InRunningEvent) SetElapsed(v int)
- func (o *InRunningEvent) SetId(v int64)
- func (o *InRunningEvent) SetState(v int)
- type InRunningLeague
- func (o *InRunningLeague) GetEvents() []InRunningEvent
- func (o *InRunningLeague) GetEventsOk() (*[]InRunningEvent, bool)
- func (o *InRunningLeague) GetId() int
- func (o *InRunningLeague) GetIdOk() (*int, bool)
- func (o *InRunningLeague) HasEvents() bool
- func (o *InRunningLeague) HasId() bool
- func (o InRunningLeague) MarshalJSON() ([]byte, error)
- func (o *InRunningLeague) SetEvents(v []InRunningEvent)
- func (o *InRunningLeague) SetId(v int)
- type InRunningResponse
- type InRunningSport
- func (o *InRunningSport) GetId() int
- func (o *InRunningSport) GetIdOk() (*int, bool)
- func (o *InRunningSport) GetLeagues() []InRunningLeague
- func (o *InRunningSport) GetLeaguesOk() (*[]InRunningLeague, bool)
- func (o *InRunningSport) HasId() bool
- func (o *InRunningSport) HasLeagues() bool
- func (o InRunningSport) MarshalJSON() ([]byte, error)
- func (o *InRunningSport) SetId(v int)
- func (o *InRunningSport) SetLeagues(v []InRunningLeague)
- type League
- func (o *League) GetAllowRoundRobins() bool
- func (o *League) GetAllowRoundRobinsOk() (*bool, bool)
- func (o *League) GetContainer() string
- func (o *League) GetContainerOk() (*string, bool)
- func (o *League) GetEventCount() int
- func (o *League) GetEventCountOk() (*int, bool)
- func (o *League) GetEventSpecialsCount() int
- func (o *League) GetEventSpecialsCountOk() (*int, bool)
- func (o *League) GetHasOfferings() bool
- func (o *League) GetHasOfferingsOk() (*bool, bool)
- func (o *League) GetHomeTeamType() string
- func (o *League) GetHomeTeamTypeOk() (*string, bool)
- func (o *League) GetId() int
- func (o *League) GetIdOk() (*int, bool)
- func (o *League) GetLeagueSpecialsCount() int
- func (o *League) GetLeagueSpecialsCountOk() (*int, bool)
- func (o *League) GetName() string
- func (o *League) GetNameOk() (*string, bool)
- func (o *League) HasAllowRoundRobins() bool
- func (o *League) HasContainer() bool
- func (o *League) HasEventCount() bool
- func (o *League) HasEventSpecialsCount() bool
- func (o *League) HasHasOfferings() bool
- func (o *League) HasHomeTeamType() bool
- func (o *League) HasId() bool
- func (o *League) HasLeagueSpecialsCount() bool
- func (o *League) HasName() bool
- func (o League) MarshalJSON() ([]byte, error)
- func (o *League) SetAllowRoundRobins(v bool)
- func (o *League) SetContainer(v string)
- func (o *League) SetEventCount(v int)
- func (o *League) SetEventSpecialsCount(v int)
- func (o *League) SetHasOfferings(v bool)
- func (o *League) SetHomeTeamType(v string)
- func (o *League) SetId(v int)
- func (o *League) SetLeagueSpecialsCount(v int)
- func (o *League) SetName(v string)
- type Leagues
- type LineApiService
- type LineResponse
- func (o *LineResponse) GetAltLineId() int64
- func (o *LineResponse) GetAltLineIdOk() (*int64, bool)
- func (o *LineResponse) GetEffectiveAsOf() string
- func (o *LineResponse) GetEffectiveAsOfOk() (*string, bool)
- func (o *LineResponse) GetLineId() int64
- func (o *LineResponse) GetLineIdOk() (*int64, bool)
- func (o *LineResponse) GetMaxRiskStake() float64
- func (o *LineResponse) GetMaxRiskStakeOk() (*float64, bool)
- func (o *LineResponse) GetMaxWinStake() float64
- func (o *LineResponse) GetMaxWinStakeOk() (*float64, bool)
- func (o *LineResponse) GetMinRiskStake() float64
- func (o *LineResponse) GetMinRiskStakeOk() (*float64, bool)
- func (o *LineResponse) GetMinWinStake() float64
- func (o *LineResponse) GetMinWinStakeOk() (*float64, bool)
- func (o *LineResponse) GetPrice() float64
- func (o *LineResponse) GetPriceOk() (*float64, bool)
- func (o *LineResponse) GetStatus() string
- func (o *LineResponse) GetStatusOk() (*string, bool)
- func (o *LineResponse) GetTeam1RedCards() int
- func (o *LineResponse) GetTeam1RedCardsOk() (*int, bool)
- func (o *LineResponse) GetTeam1Score() int
- func (o *LineResponse) GetTeam1ScoreOk() (*int, bool)
- func (o *LineResponse) GetTeam2RedCards() int
- func (o *LineResponse) GetTeam2RedCardsOk() (*int, bool)
- func (o *LineResponse) GetTeam2Score() int
- func (o *LineResponse) GetTeam2ScoreOk() (*int, bool)
- func (o *LineResponse) HasAltLineId() bool
- func (o *LineResponse) HasEffectiveAsOf() bool
- func (o *LineResponse) HasLineId() bool
- func (o *LineResponse) HasMaxRiskStake() bool
- func (o *LineResponse) HasMaxWinStake() bool
- func (o *LineResponse) HasMinRiskStake() bool
- func (o *LineResponse) HasMinWinStake() bool
- func (o *LineResponse) HasPrice() bool
- func (o *LineResponse) HasStatus() bool
- func (o *LineResponse) HasTeam1RedCards() bool
- func (o *LineResponse) HasTeam1Score() bool
- func (o *LineResponse) HasTeam2RedCards() bool
- func (o *LineResponse) HasTeam2Score() bool
- func (o LineResponse) MarshalJSON() ([]byte, error)
- func (o *LineResponse) SetAltLineId(v int64)
- func (o *LineResponse) SetEffectiveAsOf(v string)
- func (o *LineResponse) SetLineId(v int64)
- func (o *LineResponse) SetMaxRiskStake(v float64)
- func (o *LineResponse) SetMaxWinStake(v float64)
- func (o *LineResponse) SetMinRiskStake(v float64)
- func (o *LineResponse) SetMinWinStake(v float64)
- func (o *LineResponse) SetPrice(v float64)
- func (o *LineResponse) SetStatus(v string)
- func (o *LineResponse) SetTeam1RedCards(v int)
- func (o *LineResponse) SetTeam1Score(v int)
- func (o *LineResponse) SetTeam2RedCards(v int)
- func (o *LineResponse) SetTeam2Score(v int)
- type LinesErrorResponse
- func (o *LinesErrorResponse) GetCode() int
- func (o *LinesErrorResponse) GetCodeOk() (*int, bool)
- func (o *LinesErrorResponse) GetError() ErrorResponse
- func (o *LinesErrorResponse) GetErrorOk() (*ErrorResponse, bool)
- func (o *LinesErrorResponse) GetStatus() string
- func (o *LinesErrorResponse) GetStatusOk() (*string, bool)
- func (o *LinesErrorResponse) HasCode() bool
- func (o *LinesErrorResponse) HasError() bool
- func (o *LinesErrorResponse) HasStatus() bool
- func (o LinesErrorResponse) MarshalJSON() ([]byte, error)
- func (o *LinesErrorResponse) SetCode(v int)
- func (o *LinesErrorResponse) SetError(v ErrorResponse)
- func (o *LinesErrorResponse) SetStatus(v string)
- type ManualBet
- func (o *ManualBet) GetBetId() int64
- func (o *ManualBet) GetBetIdOk() (*int64, bool)
- func (o *ManualBet) GetBetStatus() string
- func (o *ManualBet) GetBetStatusOk() (*string, bool)
- func (o *ManualBet) GetBetType() string
- func (o *ManualBet) GetBetTypeOk() (*string, bool)
- func (o *ManualBet) GetDescription() string
- func (o *ManualBet) GetDescriptionOk() (*string, bool)
- func (o *ManualBet) GetPlacedAt() time.Time
- func (o *ManualBet) GetPlacedAtOk() (*time.Time, bool)
- func (o *ManualBet) GetReferenceBetId() int64
- func (o *ManualBet) GetReferenceBetIdOk() (*int64, bool)
- func (o *ManualBet) GetRisk() float64
- func (o *ManualBet) GetRiskOk() (*float64, bool)
- func (o *ManualBet) GetUpdateSequence() int64
- func (o *ManualBet) GetUpdateSequenceOk() (*int64, bool)
- func (o *ManualBet) GetWagerNumber() int
- func (o *ManualBet) GetWagerNumberOk() (*int, bool)
- func (o *ManualBet) GetWin() float64
- func (o *ManualBet) GetWinLoss() float64
- func (o *ManualBet) GetWinLossOk() (*float64, bool)
- func (o *ManualBet) GetWinOk() (*float64, bool)
- func (o *ManualBet) HasReferenceBetId() bool
- func (o *ManualBet) HasWinLoss() bool
- func (o ManualBet) MarshalJSON() ([]byte, error)
- func (o *ManualBet) SetBetId(v int64)
- func (o *ManualBet) SetBetStatus(v string)
- func (o *ManualBet) SetBetType(v string)
- func (o *ManualBet) SetDescription(v string)
- func (o *ManualBet) SetPlacedAt(v time.Time)
- func (o *ManualBet) SetReferenceBetId(v int64)
- func (o *ManualBet) SetReferenceBetIdNil()
- func (o *ManualBet) SetRisk(v float64)
- func (o *ManualBet) SetUpdateSequence(v int64)
- func (o *ManualBet) SetWagerNumber(v int)
- func (o *ManualBet) SetWin(v float64)
- func (o *ManualBet) SetWinLoss(v float64)
- func (o *ManualBet) UnsetReferenceBetId()
- type MultiBetRequestSpecialBetRequest
- func (o *MultiBetRequestSpecialBetRequest) GetBets() []SpecialBetRequest
- func (o *MultiBetRequestSpecialBetRequest) GetBetsOk() (*[]SpecialBetRequest, bool)
- func (o *MultiBetRequestSpecialBetRequest) HasBets() bool
- func (o MultiBetRequestSpecialBetRequest) MarshalJSON() ([]byte, error)
- func (o *MultiBetRequestSpecialBetRequest) SetBets(v []SpecialBetRequest)
- type MultiBetResponseSpecialBetResponse
- func (o *MultiBetResponseSpecialBetResponse) GetBets() []SpecialBetResponse
- func (o *MultiBetResponseSpecialBetResponse) GetBetsOk() (*[]SpecialBetResponse, bool)
- func (o *MultiBetResponseSpecialBetResponse) HasBets() bool
- func (o MultiBetResponseSpecialBetResponse) MarshalJSON() ([]byte, error)
- func (o *MultiBetResponseSpecialBetResponse) SetBets(v []SpecialBetResponse)
- type NullableBettingStatusResponse
- func (v NullableBettingStatusResponse) Get() *BettingStatusResponse
- func (v NullableBettingStatusResponse) IsSet() bool
- func (v NullableBettingStatusResponse) MarshalJSON() ([]byte, error)
- func (v *NullableBettingStatusResponse) Set(val *BettingStatusResponse)
- func (v *NullableBettingStatusResponse) UnmarshalJSON(src []byte) error
- func (v *NullableBettingStatusResponse) Unset()
- type NullableBool
- type NullableCancellationDetailsItem
- func (v NullableCancellationDetailsItem) Get() *CancellationDetailsItem
- func (v NullableCancellationDetailsItem) IsSet() bool
- func (v NullableCancellationDetailsItem) MarshalJSON() ([]byte, error)
- func (v *NullableCancellationDetailsItem) Set(val *CancellationDetailsItem)
- func (v *NullableCancellationDetailsItem) UnmarshalJSON(src []byte) error
- func (v *NullableCancellationDetailsItem) Unset()
- type NullableCancellationReason
- func (v NullableCancellationReason) Get() *CancellationReason
- func (v NullableCancellationReason) IsSet() bool
- func (v NullableCancellationReason) MarshalJSON() ([]byte, error)
- func (v *NullableCancellationReason) Set(val *CancellationReason)
- func (v *NullableCancellationReason) UnmarshalJSON(src []byte) error
- func (v *NullableCancellationReason) Unset()
- type NullableCancellationReasonDetailsType
- func (v NullableCancellationReasonDetailsType) Get() *CancellationReasonDetailsType
- func (v NullableCancellationReasonDetailsType) IsSet() bool
- func (v NullableCancellationReasonDetailsType) MarshalJSON() ([]byte, error)
- func (v *NullableCancellationReasonDetailsType) Set(val *CancellationReasonDetailsType)
- func (v *NullableCancellationReasonDetailsType) UnmarshalJSON(src []byte) error
- func (v *NullableCancellationReasonDetailsType) Unset()
- type NullableCancellationReasonResponse
- func (v NullableCancellationReasonResponse) Get() *CancellationReasonResponse
- func (v NullableCancellationReasonResponse) IsSet() bool
- func (v NullableCancellationReasonResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCancellationReasonResponse) Set(val *CancellationReasonResponse)
- func (v *NullableCancellationReasonResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCancellationReasonResponse) Unset()
- type NullableCancellationReasonType
- func (v NullableCancellationReasonType) Get() *CancellationReasonType
- func (v NullableCancellationReasonType) IsSet() bool
- func (v NullableCancellationReasonType) MarshalJSON() ([]byte, error)
- func (v *NullableCancellationReasonType) Set(val *CancellationReasonType)
- func (v *NullableCancellationReasonType) UnmarshalJSON(src []byte) error
- func (v *NullableCancellationReasonType) Unset()
- type NullableClientBalanceResponse
- func (v NullableClientBalanceResponse) Get() *ClientBalanceResponse
- func (v NullableClientBalanceResponse) IsSet() bool
- func (v NullableClientBalanceResponse) MarshalJSON() ([]byte, error)
- func (v *NullableClientBalanceResponse) Set(val *ClientBalanceResponse)
- func (v *NullableClientBalanceResponse) UnmarshalJSON(src []byte) error
- func (v *NullableClientBalanceResponse) Unset()
- type NullableCurrency
- type NullableErrorCode
- type NullableErrorResponse
- func (v NullableErrorResponse) Get() *ErrorResponse
- func (v NullableErrorResponse) IsSet() bool
- func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableErrorResponse) Set(val *ErrorResponse)
- func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableErrorResponse) Unset()
- type NullableErrorResponseWithErrorRef
- func (v NullableErrorResponseWithErrorRef) Get() *ErrorResponseWithErrorRef
- func (v NullableErrorResponseWithErrorRef) IsSet() bool
- func (v NullableErrorResponseWithErrorRef) MarshalJSON() ([]byte, error)
- func (v *NullableErrorResponseWithErrorRef) Set(val *ErrorResponseWithErrorRef)
- func (v *NullableErrorResponseWithErrorRef) UnmarshalJSON(src []byte) error
- func (v *NullableErrorResponseWithErrorRef) Unset()
- type NullableExtendedErrorResponse
- func (v NullableExtendedErrorResponse) Get() *ExtendedErrorResponse
- func (v NullableExtendedErrorResponse) IsSet() bool
- func (v NullableExtendedErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableExtendedErrorResponse) Set(val *ExtendedErrorResponse)
- func (v *NullableExtendedErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableExtendedErrorResponse) Unset()
- type NullableExtendedLinesErrorResponse
- func (v NullableExtendedLinesErrorResponse) Get() *ExtendedLinesErrorResponse
- func (v NullableExtendedLinesErrorResponse) IsSet() bool
- func (v NullableExtendedLinesErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableExtendedLinesErrorResponse) Set(val *ExtendedLinesErrorResponse)
- func (v *NullableExtendedLinesErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableExtendedLinesErrorResponse) Unset()
- type NullableFillType
- type NullableFixture
- type NullableFixturesLeague
- func (v NullableFixturesLeague) Get() *FixturesLeague
- func (v NullableFixturesLeague) IsSet() bool
- func (v NullableFixturesLeague) MarshalJSON() ([]byte, error)
- func (v *NullableFixturesLeague) Set(val *FixturesLeague)
- func (v *NullableFixturesLeague) UnmarshalJSON(src []byte) error
- func (v *NullableFixturesLeague) Unset()
- type NullableFixturesResponse
- func (v NullableFixturesResponse) Get() *FixturesResponse
- func (v NullableFixturesResponse) IsSet() bool
- func (v NullableFixturesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableFixturesResponse) Set(val *FixturesResponse)
- func (v *NullableFixturesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableFixturesResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGetBetsByTypeResponseV3
- func (v NullableGetBetsByTypeResponseV3) Get() *GetBetsByTypeResponseV3
- func (v NullableGetBetsByTypeResponseV3) IsSet() bool
- func (v NullableGetBetsByTypeResponseV3) MarshalJSON() ([]byte, error)
- func (v *NullableGetBetsByTypeResponseV3) Set(val *GetBetsByTypeResponseV3)
- func (v *NullableGetBetsByTypeResponseV3) UnmarshalJSON(src []byte) error
- func (v *NullableGetBetsByTypeResponseV3) Unset()
- type NullableInRunningEvent
- func (v NullableInRunningEvent) Get() *InRunningEvent
- func (v NullableInRunningEvent) IsSet() bool
- func (v NullableInRunningEvent) MarshalJSON() ([]byte, error)
- func (v *NullableInRunningEvent) Set(val *InRunningEvent)
- func (v *NullableInRunningEvent) UnmarshalJSON(src []byte) error
- func (v *NullableInRunningEvent) Unset()
- type NullableInRunningLeague
- func (v NullableInRunningLeague) Get() *InRunningLeague
- func (v NullableInRunningLeague) IsSet() bool
- func (v NullableInRunningLeague) MarshalJSON() ([]byte, error)
- func (v *NullableInRunningLeague) Set(val *InRunningLeague)
- func (v *NullableInRunningLeague) UnmarshalJSON(src []byte) error
- func (v *NullableInRunningLeague) Unset()
- type NullableInRunningResponse
- func (v NullableInRunningResponse) Get() *InRunningResponse
- func (v NullableInRunningResponse) IsSet() bool
- func (v NullableInRunningResponse) MarshalJSON() ([]byte, error)
- func (v *NullableInRunningResponse) Set(val *InRunningResponse)
- func (v *NullableInRunningResponse) UnmarshalJSON(src []byte) error
- func (v *NullableInRunningResponse) Unset()
- type NullableInRunningSport
- func (v NullableInRunningSport) Get() *InRunningSport
- func (v NullableInRunningSport) IsSet() bool
- func (v NullableInRunningSport) MarshalJSON() ([]byte, error)
- func (v *NullableInRunningSport) Set(val *InRunningSport)
- func (v *NullableInRunningSport) UnmarshalJSON(src []byte) error
- func (v *NullableInRunningSport) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLeague
- type NullableLeagues
- type NullableLineResponse
- func (v NullableLineResponse) Get() *LineResponse
- func (v NullableLineResponse) IsSet() bool
- func (v NullableLineResponse) MarshalJSON() ([]byte, error)
- func (v *NullableLineResponse) Set(val *LineResponse)
- func (v *NullableLineResponse) UnmarshalJSON(src []byte) error
- func (v *NullableLineResponse) Unset()
- type NullableLinesErrorResponse
- func (v NullableLinesErrorResponse) Get() *LinesErrorResponse
- func (v NullableLinesErrorResponse) IsSet() bool
- func (v NullableLinesErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableLinesErrorResponse) Set(val *LinesErrorResponse)
- func (v *NullableLinesErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableLinesErrorResponse) Unset()
- type NullableManualBet
- type NullableMultiBetRequestSpecialBetRequest
- func (v NullableMultiBetRequestSpecialBetRequest) Get() *MultiBetRequestSpecialBetRequest
- func (v NullableMultiBetRequestSpecialBetRequest) IsSet() bool
- func (v NullableMultiBetRequestSpecialBetRequest) MarshalJSON() ([]byte, error)
- func (v *NullableMultiBetRequestSpecialBetRequest) Set(val *MultiBetRequestSpecialBetRequest)
- func (v *NullableMultiBetRequestSpecialBetRequest) UnmarshalJSON(src []byte) error
- func (v *NullableMultiBetRequestSpecialBetRequest) Unset()
- type NullableMultiBetResponseSpecialBetResponse
- func (v NullableMultiBetResponseSpecialBetResponse) Get() *MultiBetResponseSpecialBetResponse
- func (v NullableMultiBetResponseSpecialBetResponse) IsSet() bool
- func (v NullableMultiBetResponseSpecialBetResponse) MarshalJSON() ([]byte, error)
- func (v *NullableMultiBetResponseSpecialBetResponse) Set(val *MultiBetResponseSpecialBetResponse)
- func (v *NullableMultiBetResponseSpecialBetResponse) UnmarshalJSON(src []byte) error
- func (v *NullableMultiBetResponseSpecialBetResponse) Unset()
- type NullableOddsEvent
- type NullableOddsFormat
- type NullableOddsLeague
- type NullableOddsMoneyline
- func (v NullableOddsMoneyline) Get() *OddsMoneyline
- func (v NullableOddsMoneyline) IsSet() bool
- func (v NullableOddsMoneyline) MarshalJSON() ([]byte, error)
- func (v *NullableOddsMoneyline) Set(val *OddsMoneyline)
- func (v *NullableOddsMoneyline) UnmarshalJSON(src []byte) error
- func (v *NullableOddsMoneyline) Unset()
- type NullableOddsPeriod
- type NullableOddsResponse
- func (v NullableOddsResponse) Get() *OddsResponse
- func (v NullableOddsResponse) IsSet() bool
- func (v NullableOddsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableOddsResponse) Set(val *OddsResponse)
- func (v *NullableOddsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableOddsResponse) Unset()
- type NullableOddsSpread
- type NullableOddsTeamTotal
- func (v NullableOddsTeamTotal) Get() *OddsTeamTotal
- func (v NullableOddsTeamTotal) IsSet() bool
- func (v NullableOddsTeamTotal) MarshalJSON() ([]byte, error)
- func (v *NullableOddsTeamTotal) Set(val *OddsTeamTotal)
- func (v *NullableOddsTeamTotal) UnmarshalJSON(src []byte) error
- func (v *NullableOddsTeamTotal) Unset()
- type NullableOddsTeamTotals
- func (v NullableOddsTeamTotals) Get() *OddsTeamTotals
- func (v NullableOddsTeamTotals) IsSet() bool
- func (v NullableOddsTeamTotals) MarshalJSON() ([]byte, error)
- func (v *NullableOddsTeamTotals) Set(val *OddsTeamTotals)
- func (v *NullableOddsTeamTotals) UnmarshalJSON(src []byte) error
- func (v *NullableOddsTeamTotals) Unset()
- type NullableOddsTotal
- type NullableParlayBet
- type NullableParlayLeg
- type NullablePeriod
- 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 NullablePlaceBetResponseV2
- func (v NullablePlaceBetResponseV2) Get() *PlaceBetResponseV2
- func (v NullablePlaceBetResponseV2) IsSet() bool
- func (v NullablePlaceBetResponseV2) MarshalJSON() ([]byte, error)
- func (v *NullablePlaceBetResponseV2) Set(val *PlaceBetResponseV2)
- func (v *NullablePlaceBetResponseV2) UnmarshalJSON(src []byte) error
- func (v *NullablePlaceBetResponseV2) Unset()
- type NullableSettledFixturesEvent
- func (v NullableSettledFixturesEvent) Get() *SettledFixturesEvent
- func (v NullableSettledFixturesEvent) IsSet() bool
- func (v NullableSettledFixturesEvent) MarshalJSON() ([]byte, error)
- func (v *NullableSettledFixturesEvent) Set(val *SettledFixturesEvent)
- func (v *NullableSettledFixturesEvent) UnmarshalJSON(src []byte) error
- func (v *NullableSettledFixturesEvent) Unset()
- type NullableSettledFixturesLeague
- func (v NullableSettledFixturesLeague) Get() *SettledFixturesLeague
- func (v NullableSettledFixturesLeague) IsSet() bool
- func (v NullableSettledFixturesLeague) MarshalJSON() ([]byte, error)
- func (v *NullableSettledFixturesLeague) Set(val *SettledFixturesLeague)
- func (v *NullableSettledFixturesLeague) UnmarshalJSON(src []byte) error
- func (v *NullableSettledFixturesLeague) Unset()
- type NullableSettledFixturesPeriod
- func (v NullableSettledFixturesPeriod) Get() *SettledFixturesPeriod
- func (v NullableSettledFixturesPeriod) IsSet() bool
- func (v NullableSettledFixturesPeriod) MarshalJSON() ([]byte, error)
- func (v *NullableSettledFixturesPeriod) Set(val *SettledFixturesPeriod)
- func (v *NullableSettledFixturesPeriod) UnmarshalJSON(src []byte) error
- func (v *NullableSettledFixturesPeriod) Unset()
- type NullableSettledFixturesSport
- func (v NullableSettledFixturesSport) Get() *SettledFixturesSport
- func (v NullableSettledFixturesSport) IsSet() bool
- func (v NullableSettledFixturesSport) MarshalJSON() ([]byte, error)
- func (v *NullableSettledFixturesSport) Set(val *SettledFixturesSport)
- func (v *NullableSettledFixturesSport) UnmarshalJSON(src []byte) error
- func (v *NullableSettledFixturesSport) Unset()
- type NullableSettledSpecial
- func (v NullableSettledSpecial) Get() *SettledSpecial
- func (v NullableSettledSpecial) IsSet() bool
- func (v NullableSettledSpecial) MarshalJSON() ([]byte, error)
- func (v *NullableSettledSpecial) Set(val *SettledSpecial)
- func (v *NullableSettledSpecial) UnmarshalJSON(src []byte) error
- func (v *NullableSettledSpecial) Unset()
- type NullableSettledSpecialsLeague
- func (v NullableSettledSpecialsLeague) Get() *SettledSpecialsLeague
- func (v NullableSettledSpecialsLeague) IsSet() bool
- func (v NullableSettledSpecialsLeague) MarshalJSON() ([]byte, error)
- func (v *NullableSettledSpecialsLeague) Set(val *SettledSpecialsLeague)
- func (v *NullableSettledSpecialsLeague) UnmarshalJSON(src []byte) error
- func (v *NullableSettledSpecialsLeague) Unset()
- type NullableSettledSpecialsResponse
- func (v NullableSettledSpecialsResponse) Get() *SettledSpecialsResponse
- func (v NullableSettledSpecialsResponse) IsSet() bool
- func (v NullableSettledSpecialsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSettledSpecialsResponse) Set(val *SettledSpecialsResponse)
- func (v *NullableSettledSpecialsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSettledSpecialsResponse) Unset()
- type NullableSpecialBet
- type NullableSpecialBetRequest
- func (v NullableSpecialBetRequest) Get() *SpecialBetRequest
- func (v NullableSpecialBetRequest) IsSet() bool
- func (v NullableSpecialBetRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSpecialBetRequest) Set(val *SpecialBetRequest)
- func (v *NullableSpecialBetRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSpecialBetRequest) Unset()
- type NullableSpecialBetResponse
- func (v NullableSpecialBetResponse) Get() *SpecialBetResponse
- func (v NullableSpecialBetResponse) IsSet() bool
- func (v NullableSpecialBetResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSpecialBetResponse) Set(val *SpecialBetResponse)
- func (v *NullableSpecialBetResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSpecialBetResponse) Unset()
- type NullableSpecialFixture
- func (v NullableSpecialFixture) Get() *SpecialFixture
- func (v NullableSpecialFixture) IsSet() bool
- func (v NullableSpecialFixture) MarshalJSON() ([]byte, error)
- func (v *NullableSpecialFixture) Set(val *SpecialFixture)
- func (v *NullableSpecialFixture) UnmarshalJSON(src []byte) error
- func (v *NullableSpecialFixture) Unset()
- type NullableSpecialLineResponse
- func (v NullableSpecialLineResponse) Get() *SpecialLineResponse
- func (v NullableSpecialLineResponse) IsSet() bool
- func (v NullableSpecialLineResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSpecialLineResponse) Set(val *SpecialLineResponse)
- func (v *NullableSpecialLineResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSpecialLineResponse) Unset()
- type NullableSpecialOddsContestantLine
- func (v NullableSpecialOddsContestantLine) Get() *SpecialOddsContestantLine
- func (v NullableSpecialOddsContestantLine) IsSet() bool
- func (v NullableSpecialOddsContestantLine) MarshalJSON() ([]byte, error)
- func (v *NullableSpecialOddsContestantLine) Set(val *SpecialOddsContestantLine)
- func (v *NullableSpecialOddsContestantLine) UnmarshalJSON(src []byte) error
- func (v *NullableSpecialOddsContestantLine) Unset()
- type NullableSpecialOddsLeague
- func (v NullableSpecialOddsLeague) Get() *SpecialOddsLeague
- func (v NullableSpecialOddsLeague) IsSet() bool
- func (v NullableSpecialOddsLeague) MarshalJSON() ([]byte, error)
- func (v *NullableSpecialOddsLeague) Set(val *SpecialOddsLeague)
- func (v *NullableSpecialOddsLeague) UnmarshalJSON(src []byte) error
- func (v *NullableSpecialOddsLeague) Unset()
- type NullableSpecialOddsResponse
- func (v NullableSpecialOddsResponse) Get() *SpecialOddsResponse
- func (v NullableSpecialOddsResponse) IsSet() bool
- func (v NullableSpecialOddsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSpecialOddsResponse) Set(val *SpecialOddsResponse)
- func (v *NullableSpecialOddsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSpecialOddsResponse) Unset()
- type NullableSpecialOddsSpecial
- func (v NullableSpecialOddsSpecial) Get() *SpecialOddsSpecial
- func (v NullableSpecialOddsSpecial) IsSet() bool
- func (v NullableSpecialOddsSpecial) MarshalJSON() ([]byte, error)
- func (v *NullableSpecialOddsSpecial) Set(val *SpecialOddsSpecial)
- func (v *NullableSpecialOddsSpecial) UnmarshalJSON(src []byte) error
- func (v *NullableSpecialOddsSpecial) Unset()
- type NullableSpecialsFixturesContestant
- func (v NullableSpecialsFixturesContestant) Get() *SpecialsFixturesContestant
- func (v NullableSpecialsFixturesContestant) IsSet() bool
- func (v NullableSpecialsFixturesContestant) MarshalJSON() ([]byte, error)
- func (v *NullableSpecialsFixturesContestant) Set(val *SpecialsFixturesContestant)
- func (v *NullableSpecialsFixturesContestant) UnmarshalJSON(src []byte) error
- func (v *NullableSpecialsFixturesContestant) Unset()
- type NullableSpecialsFixturesEvent
- func (v NullableSpecialsFixturesEvent) Get() *SpecialsFixturesEvent
- func (v NullableSpecialsFixturesEvent) IsSet() bool
- func (v NullableSpecialsFixturesEvent) MarshalJSON() ([]byte, error)
- func (v *NullableSpecialsFixturesEvent) Set(val *SpecialsFixturesEvent)
- func (v *NullableSpecialsFixturesEvent) UnmarshalJSON(src []byte) error
- func (v *NullableSpecialsFixturesEvent) Unset()
- type NullableSpecialsFixturesLeague
- func (v NullableSpecialsFixturesLeague) Get() *SpecialsFixturesLeague
- func (v NullableSpecialsFixturesLeague) IsSet() bool
- func (v NullableSpecialsFixturesLeague) MarshalJSON() ([]byte, error)
- func (v *NullableSpecialsFixturesLeague) Set(val *SpecialsFixturesLeague)
- func (v *NullableSpecialsFixturesLeague) UnmarshalJSON(src []byte) error
- func (v *NullableSpecialsFixturesLeague) Unset()
- type NullableSpecialsFixturesResponse
- func (v NullableSpecialsFixturesResponse) Get() *SpecialsFixturesResponse
- func (v NullableSpecialsFixturesResponse) IsSet() bool
- func (v NullableSpecialsFixturesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSpecialsFixturesResponse) Set(val *SpecialsFixturesResponse)
- func (v *NullableSpecialsFixturesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSpecialsFixturesResponse) Unset()
- type NullableSport
- type NullableSportPeriod
- func (v NullableSportPeriod) Get() *SportPeriod
- func (v NullableSportPeriod) IsSet() bool
- func (v NullableSportPeriod) MarshalJSON() ([]byte, error)
- func (v *NullableSportPeriod) Set(val *SportPeriod)
- func (v *NullableSportPeriod) UnmarshalJSON(src []byte) error
- func (v *NullableSportPeriod) Unset()
- type NullableSportsResponse
- func (v NullableSportsResponse) Get() *SportsResponse
- func (v NullableSportsResponse) IsSet() bool
- func (v NullableSportsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSportsResponse) Set(val *SportsResponse)
- func (v *NullableSportsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSportsResponse) Unset()
- type NullableStatus
- type NullableStraightBetV3
- func (v NullableStraightBetV3) Get() *StraightBetV3
- func (v NullableStraightBetV3) IsSet() bool
- func (v NullableStraightBetV3) MarshalJSON() ([]byte, error)
- func (v *NullableStraightBetV3) Set(val *StraightBetV3)
- func (v *NullableStraightBetV3) UnmarshalJSON(src []byte) error
- func (v *NullableStraightBetV3) Unset()
- type NullableString
- type NullableSuccessfulCurrenciesResponse
- func (v NullableSuccessfulCurrenciesResponse) Get() *SuccessfulCurrenciesResponse
- func (v NullableSuccessfulCurrenciesResponse) IsSet() bool
- func (v NullableSuccessfulCurrenciesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSuccessfulCurrenciesResponse) Set(val *SuccessfulCurrenciesResponse)
- func (v *NullableSuccessfulCurrenciesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSuccessfulCurrenciesResponse) Unset()
- type NullableTeaserBet
- type NullableTeaserGroups
- func (v NullableTeaserGroups) Get() *TeaserGroups
- func (v NullableTeaserGroups) IsSet() bool
- func (v NullableTeaserGroups) MarshalJSON() ([]byte, error)
- func (v *NullableTeaserGroups) Set(val *TeaserGroups)
- func (v *NullableTeaserGroups) UnmarshalJSON(src []byte) error
- func (v *NullableTeaserGroups) Unset()
- type NullableTeaserGroupsBetType
- func (v NullableTeaserGroupsBetType) Get() *TeaserGroupsBetType
- func (v NullableTeaserGroupsBetType) IsSet() bool
- func (v NullableTeaserGroupsBetType) MarshalJSON() ([]byte, error)
- func (v *NullableTeaserGroupsBetType) Set(val *TeaserGroupsBetType)
- func (v *NullableTeaserGroupsBetType) UnmarshalJSON(src []byte) error
- func (v *NullableTeaserGroupsBetType) Unset()
- type NullableTeaserGroupsLeague
- func (v NullableTeaserGroupsLeague) Get() *TeaserGroupsLeague
- func (v NullableTeaserGroupsLeague) IsSet() bool
- func (v NullableTeaserGroupsLeague) MarshalJSON() ([]byte, error)
- func (v *NullableTeaserGroupsLeague) Set(val *TeaserGroupsLeague)
- func (v *NullableTeaserGroupsLeague) UnmarshalJSON(src []byte) error
- func (v *NullableTeaserGroupsLeague) Unset()
- type NullableTeaserGroupsPayout
- func (v NullableTeaserGroupsPayout) Get() *TeaserGroupsPayout
- func (v NullableTeaserGroupsPayout) IsSet() bool
- func (v NullableTeaserGroupsPayout) MarshalJSON() ([]byte, error)
- func (v *NullableTeaserGroupsPayout) Set(val *TeaserGroupsPayout)
- func (v *NullableTeaserGroupsPayout) UnmarshalJSON(src []byte) error
- func (v *NullableTeaserGroupsPayout) Unset()
- type NullableTeaserGroupsResponse
- func (v NullableTeaserGroupsResponse) Get() *TeaserGroupsResponse
- func (v NullableTeaserGroupsResponse) IsSet() bool
- func (v NullableTeaserGroupsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTeaserGroupsResponse) Set(val *TeaserGroupsResponse)
- func (v *NullableTeaserGroupsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTeaserGroupsResponse) Unset()
- type NullableTeaserGroupsTeaser
- func (v NullableTeaserGroupsTeaser) Get() *TeaserGroupsTeaser
- func (v NullableTeaserGroupsTeaser) IsSet() bool
- func (v NullableTeaserGroupsTeaser) MarshalJSON() ([]byte, error)
- func (v *NullableTeaserGroupsTeaser) Set(val *TeaserGroupsTeaser)
- func (v *NullableTeaserGroupsTeaser) UnmarshalJSON(src []byte) error
- func (v *NullableTeaserGroupsTeaser) Unset()
- type NullableTeaserLeg
- type NullableTime
- type NullableTranslation
- func (v NullableTranslation) Get() *Translation
- func (v NullableTranslation) IsSet() bool
- func (v NullableTranslation) MarshalJSON() ([]byte, error)
- func (v *NullableTranslation) Set(val *Translation)
- func (v *NullableTranslation) UnmarshalJSON(src []byte) error
- func (v *NullableTranslation) Unset()
- type NullableTranslationByCulture
- func (v NullableTranslationByCulture) Get() *TranslationByCulture
- func (v NullableTranslationByCulture) IsSet() bool
- func (v NullableTranslationByCulture) MarshalJSON() ([]byte, error)
- func (v *NullableTranslationByCulture) Set(val *TranslationByCulture)
- func (v *NullableTranslationByCulture) UnmarshalJSON(src []byte) error
- func (v *NullableTranslationByCulture) Unset()
- type NullableTranslationResponse
- func (v NullableTranslationResponse) Get() *TranslationResponse
- func (v NullableTranslationResponse) IsSet() bool
- func (v NullableTranslationResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTranslationResponse) Set(val *TranslationResponse)
- func (v *NullableTranslationResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTranslationResponse) Unset()
- type NullableWinRiskStake
- func (v NullableWinRiskStake) Get() *WinRiskStake
- func (v NullableWinRiskStake) IsSet() bool
- func (v NullableWinRiskStake) MarshalJSON() ([]byte, error)
- func (v *NullableWinRiskStake) Set(val *WinRiskStake)
- func (v *NullableWinRiskStake) UnmarshalJSON(src []byte) error
- func (v *NullableWinRiskStake) Unset()
- type OddsApiService
- type OddsEvent
- func (o *OddsEvent) GetAwayRedCards() int
- func (o *OddsEvent) GetAwayRedCardsOk() (*int, bool)
- func (o *OddsEvent) GetAwayScore() float64
- func (o *OddsEvent) GetAwayScoreOk() (*float64, bool)
- func (o *OddsEvent) GetHomeRedCards() int
- func (o *OddsEvent) GetHomeRedCardsOk() (*int, bool)
- func (o *OddsEvent) GetHomeScore() float64
- func (o *OddsEvent) GetHomeScoreOk() (*float64, bool)
- func (o *OddsEvent) GetId() int64
- func (o *OddsEvent) GetIdOk() (*int64, bool)
- func (o *OddsEvent) GetPeriods() []OddsPeriod
- func (o *OddsEvent) GetPeriodsOk() (*[]OddsPeriod, bool)
- func (o *OddsEvent) HasAwayRedCards() bool
- func (o *OddsEvent) HasAwayScore() bool
- func (o *OddsEvent) HasHomeRedCards() bool
- func (o *OddsEvent) HasHomeScore() bool
- func (o *OddsEvent) HasId() bool
- func (o *OddsEvent) HasPeriods() bool
- func (o OddsEvent) MarshalJSON() ([]byte, error)
- func (o *OddsEvent) SetAwayRedCards(v int)
- func (o *OddsEvent) SetAwayScore(v float64)
- func (o *OddsEvent) SetHomeRedCards(v int)
- func (o *OddsEvent) SetHomeScore(v float64)
- func (o *OddsEvent) SetId(v int64)
- func (o *OddsEvent) SetPeriods(v []OddsPeriod)
- type OddsFormat
- type OddsLeague
- func (o *OddsLeague) GetEvents() []OddsEvent
- func (o *OddsLeague) GetEventsOk() (*[]OddsEvent, bool)
- func (o *OddsLeague) GetId() int
- func (o *OddsLeague) GetIdOk() (*int, bool)
- func (o *OddsLeague) HasEvents() bool
- func (o *OddsLeague) HasId() bool
- func (o OddsLeague) MarshalJSON() ([]byte, error)
- func (o *OddsLeague) SetEvents(v []OddsEvent)
- func (o *OddsLeague) SetId(v int)
- type OddsMoneyline
- func (o *OddsMoneyline) GetAway() float64
- func (o *OddsMoneyline) GetAwayOk() (*float64, bool)
- func (o *OddsMoneyline) GetDraw() float64
- func (o *OddsMoneyline) GetDrawOk() (*float64, bool)
- func (o *OddsMoneyline) GetHome() float64
- func (o *OddsMoneyline) GetHomeOk() (*float64, bool)
- func (o *OddsMoneyline) HasAway() bool
- func (o *OddsMoneyline) HasDraw() bool
- func (o *OddsMoneyline) HasHome() bool
- func (o OddsMoneyline) MarshalJSON() ([]byte, error)
- func (o *OddsMoneyline) SetAway(v float64)
- func (o *OddsMoneyline) SetDraw(v float64)
- func (o *OddsMoneyline) SetHome(v float64)
- type OddsPeriod
- func (o *OddsPeriod) GetCutoff() time.Time
- func (o *OddsPeriod) GetCutoffOk() (*time.Time, bool)
- func (o *OddsPeriod) GetLineId() int64
- func (o *OddsPeriod) GetLineIdOk() (*int64, bool)
- func (o *OddsPeriod) GetMaxMoneyline() float64
- func (o *OddsPeriod) GetMaxMoneylineOk() (*float64, bool)
- func (o *OddsPeriod) GetMaxSpread() float64
- func (o *OddsPeriod) GetMaxSpreadOk() (*float64, bool)
- func (o *OddsPeriod) GetMaxTeamTotal() float64
- func (o *OddsPeriod) GetMaxTeamTotalOk() (*float64, bool)
- func (o *OddsPeriod) GetMaxTotal() float64
- func (o *OddsPeriod) GetMaxTotalOk() (*float64, bool)
- func (o *OddsPeriod) GetMoneyline() OddsMoneyline
- func (o *OddsPeriod) GetMoneylineOk() (*OddsMoneyline, bool)
- func (o *OddsPeriod) GetNumber() int
- func (o *OddsPeriod) GetNumberOk() (*int, bool)
- func (o *OddsPeriod) GetSpreads() []OddsSpread
- func (o *OddsPeriod) GetSpreadsOk() (*[]OddsSpread, bool)
- func (o *OddsPeriod) GetStatus() int
- func (o *OddsPeriod) GetStatusOk() (*int, bool)
- func (o *OddsPeriod) GetTeamTotal() OddsTeamTotals
- func (o *OddsPeriod) GetTeamTotalOk() (*OddsTeamTotals, bool)
- func (o *OddsPeriod) GetTotals() []OddsTotal
- func (o *OddsPeriod) GetTotalsOk() (*[]OddsTotal, bool)
- func (o *OddsPeriod) HasCutoff() bool
- func (o *OddsPeriod) HasLineId() bool
- func (o *OddsPeriod) HasMaxMoneyline() bool
- func (o *OddsPeriod) HasMaxSpread() bool
- func (o *OddsPeriod) HasMaxTeamTotal() bool
- func (o *OddsPeriod) HasMaxTotal() bool
- func (o *OddsPeriod) HasMoneyline() bool
- func (o *OddsPeriod) HasNumber() bool
- func (o *OddsPeriod) HasSpreads() bool
- func (o *OddsPeriod) HasStatus() bool
- func (o *OddsPeriod) HasTeamTotal() bool
- func (o *OddsPeriod) HasTotals() bool
- func (o OddsPeriod) MarshalJSON() ([]byte, error)
- func (o *OddsPeriod) SetCutoff(v time.Time)
- func (o *OddsPeriod) SetLineId(v int64)
- func (o *OddsPeriod) SetMaxMoneyline(v float64)
- func (o *OddsPeriod) SetMaxSpread(v float64)
- func (o *OddsPeriod) SetMaxTeamTotal(v float64)
- func (o *OddsPeriod) SetMaxTotal(v float64)
- func (o *OddsPeriod) SetMoneyline(v OddsMoneyline)
- func (o *OddsPeriod) SetNumber(v int)
- func (o *OddsPeriod) SetSpreads(v []OddsSpread)
- func (o *OddsPeriod) SetStatus(v int)
- func (o *OddsPeriod) SetTeamTotal(v OddsTeamTotals)
- func (o *OddsPeriod) SetTotals(v []OddsTotal)
- type OddsResponse
- func (o *OddsResponse) GetLast() int64
- func (o *OddsResponse) GetLastOk() (*int64, bool)
- func (o *OddsResponse) GetLeagues() []OddsLeague
- func (o *OddsResponse) GetLeaguesOk() (*[]OddsLeague, bool)
- func (o *OddsResponse) GetSportId() int
- func (o *OddsResponse) GetSportIdOk() (*int, bool)
- func (o *OddsResponse) HasLast() bool
- func (o *OddsResponse) HasLeagues() bool
- func (o *OddsResponse) HasSportId() bool
- func (o OddsResponse) MarshalJSON() ([]byte, error)
- func (o *OddsResponse) SetLast(v int64)
- func (o *OddsResponse) SetLeagues(v []OddsLeague)
- func (o *OddsResponse) SetSportId(v int)
- type OddsSpread
- func (o *OddsSpread) GetAltLineId() int64
- func (o *OddsSpread) GetAltLineIdOk() (*int64, bool)
- func (o *OddsSpread) GetAway() float64
- func (o *OddsSpread) GetAwayOk() (*float64, bool)
- func (o *OddsSpread) GetHdp() float64
- func (o *OddsSpread) GetHdpOk() (*float64, bool)
- func (o *OddsSpread) GetHome() float64
- func (o *OddsSpread) GetHomeOk() (*float64, bool)
- func (o *OddsSpread) HasAltLineId() bool
- func (o *OddsSpread) HasAway() bool
- func (o *OddsSpread) HasHdp() bool
- func (o *OddsSpread) HasHome() bool
- func (o OddsSpread) MarshalJSON() ([]byte, error)
- func (o *OddsSpread) SetAltLineId(v int64)
- func (o *OddsSpread) SetAway(v float64)
- func (o *OddsSpread) SetHdp(v float64)
- func (o *OddsSpread) SetHome(v float64)
- type OddsTeamTotal
- func (o *OddsTeamTotal) GetOver() float64
- func (o *OddsTeamTotal) GetOverOk() (*float64, bool)
- func (o *OddsTeamTotal) GetPoints() float64
- func (o *OddsTeamTotal) GetPointsOk() (*float64, bool)
- func (o *OddsTeamTotal) GetUnder() float64
- func (o *OddsTeamTotal) GetUnderOk() (*float64, bool)
- func (o *OddsTeamTotal) HasOver() bool
- func (o *OddsTeamTotal) HasPoints() bool
- func (o *OddsTeamTotal) HasUnder() bool
- func (o OddsTeamTotal) MarshalJSON() ([]byte, error)
- func (o *OddsTeamTotal) SetOver(v float64)
- func (o *OddsTeamTotal) SetPoints(v float64)
- func (o *OddsTeamTotal) SetUnder(v float64)
- type OddsTeamTotals
- func (o *OddsTeamTotals) GetAway() OddsTeamTotal
- func (o *OddsTeamTotals) GetAwayOk() (*OddsTeamTotal, bool)
- func (o *OddsTeamTotals) GetHome() OddsTeamTotal
- func (o *OddsTeamTotals) GetHomeOk() (*OddsTeamTotal, bool)
- func (o *OddsTeamTotals) HasAway() bool
- func (o *OddsTeamTotals) HasHome() bool
- func (o OddsTeamTotals) MarshalJSON() ([]byte, error)
- func (o *OddsTeamTotals) SetAway(v OddsTeamTotal)
- func (o *OddsTeamTotals) SetHome(v OddsTeamTotal)
- type OddsTotal
- func (o *OddsTotal) GetAltLineId() int64
- func (o *OddsTotal) GetAltLineIdOk() (*int64, bool)
- func (o *OddsTotal) GetOver() float64
- func (o *OddsTotal) GetOverOk() (*float64, bool)
- func (o *OddsTotal) GetPoints() float64
- func (o *OddsTotal) GetPointsOk() (*float64, bool)
- func (o *OddsTotal) GetUnder() float64
- func (o *OddsTotal) GetUnderOk() (*float64, bool)
- func (o *OddsTotal) HasAltLineId() bool
- func (o *OddsTotal) HasOver() bool
- func (o *OddsTotal) HasPoints() bool
- func (o *OddsTotal) HasUnder() bool
- func (o OddsTotal) MarshalJSON() ([]byte, error)
- func (o *OddsTotal) SetAltLineId(v int64)
- func (o *OddsTotal) SetOver(v float64)
- func (o *OddsTotal) SetPoints(v float64)
- func (o *OddsTotal) SetUnder(v float64)
- type OthersApiService
- func (a *OthersApiService) CancellationReasonsV1Get(ctx _context.Context) apiCancellationReasonsV1GetRequest
- func (a *OthersApiService) CurrenciesV2Get(ctx _context.Context) apiCurrenciesV2GetRequest
- func (a *OthersApiService) InRunningV1Get(ctx _context.Context) apiInRunningV1GetRequest
- func (a *OthersApiService) LeaguesV2Get(ctx _context.Context) apiLeaguesV2GetRequest
- func (a *OthersApiService) PeriodsV1Get(ctx _context.Context) apiPeriodsV1GetRequest
- func (a *OthersApiService) SportsV2Get(ctx _context.Context) apiSportsV2GetRequest
- func (a *OthersApiService) TeaserGroupsV1Get(ctx _context.Context) apiTeaserGroupsV1GetRequest
- type ParlayBet
- func (o *ParlayBet) GetBetId() int64
- func (o *ParlayBet) GetBetIdOk() (*int64, bool)
- func (o *ParlayBet) GetBetStatus() string
- func (o *ParlayBet) GetBetStatusOk() (*string, bool)
- func (o *ParlayBet) GetBetType() string
- func (o *ParlayBet) GetBetTypeOk() (*string, bool)
- func (o *ParlayBet) GetCancellationReason() CancellationReason
- func (o *ParlayBet) GetCancellationReasonOk() (*CancellationReason, bool)
- func (o *ParlayBet) GetCustomerCommission() float64
- func (o *ParlayBet) GetCustomerCommissionOk() (*float64, bool)
- func (o *ParlayBet) GetFinalPrice() float64
- func (o *ParlayBet) GetFinalPriceOk() (*float64, bool)
- func (o *ParlayBet) GetLegs() []ParlayLeg
- func (o *ParlayBet) GetLegsOk() (*[]ParlayLeg, bool)
- func (o *ParlayBet) GetOddsFormat() OddsFormat
- func (o *ParlayBet) GetOddsFormatOk() (*OddsFormat, bool)
- func (o *ParlayBet) GetPlacedAt() time.Time
- func (o *ParlayBet) GetPlacedAtOk() (*time.Time, bool)
- func (o *ParlayBet) GetPrice() float64
- func (o *ParlayBet) GetPriceOk() (*float64, bool)
- func (o *ParlayBet) GetRisk() float64
- func (o *ParlayBet) GetRiskOk() (*float64, bool)
- func (o *ParlayBet) GetUniqueRequestId() string
- func (o *ParlayBet) GetUniqueRequestIdOk() (*string, bool)
- func (o *ParlayBet) GetUpdateSequence() int64
- func (o *ParlayBet) GetUpdateSequenceOk() (*int64, bool)
- func (o *ParlayBet) GetWagerNumber() int
- func (o *ParlayBet) GetWagerNumberOk() (*int, bool)
- func (o *ParlayBet) GetWin() float64
- func (o *ParlayBet) GetWinLoss() float64
- func (o *ParlayBet) GetWinLossOk() (*float64, bool)
- func (o *ParlayBet) GetWinOk() (*float64, bool)
- func (o *ParlayBet) HasCancellationReason() bool
- func (o *ParlayBet) HasCustomerCommission() bool
- func (o *ParlayBet) HasFinalPrice() bool
- func (o *ParlayBet) HasPrice() bool
- func (o *ParlayBet) HasUniqueRequestId() bool
- func (o *ParlayBet) HasWinLoss() bool
- func (o ParlayBet) MarshalJSON() ([]byte, error)
- func (o *ParlayBet) SetBetId(v int64)
- func (o *ParlayBet) SetBetStatus(v string)
- func (o *ParlayBet) SetBetType(v string)
- func (o *ParlayBet) SetCancellationReason(v CancellationReason)
- func (o *ParlayBet) SetCustomerCommission(v float64)
- func (o *ParlayBet) SetCustomerCommissionNil()
- func (o *ParlayBet) SetFinalPrice(v float64)
- func (o *ParlayBet) SetLegs(v []ParlayLeg)
- func (o *ParlayBet) SetOddsFormat(v OddsFormat)
- func (o *ParlayBet) SetPlacedAt(v time.Time)
- func (o *ParlayBet) SetPrice(v float64)
- func (o *ParlayBet) SetRisk(v float64)
- func (o *ParlayBet) SetUniqueRequestId(v string)
- func (o *ParlayBet) SetUpdateSequence(v int64)
- func (o *ParlayBet) SetWagerNumber(v int)
- func (o *ParlayBet) SetWin(v float64)
- func (o *ParlayBet) SetWinLoss(v float64)
- func (o *ParlayBet) SetWinLossNil()
- func (o *ParlayBet) UnsetCustomerCommission()
- func (o *ParlayBet) UnsetWinLoss()
- type ParlayLeg
- func (o *ParlayLeg) GetCancellationReason() CancellationReason
- func (o *ParlayLeg) GetCancellationReasonOk() (*CancellationReason, bool)
- func (o *ParlayLeg) GetEventId() int64
- func (o *ParlayLeg) GetEventIdOk() (*int64, bool)
- func (o *ParlayLeg) GetEventStartTime() time.Time
- func (o *ParlayLeg) GetEventStartTimeOk() (*time.Time, bool)
- func (o *ParlayLeg) GetFtTeam1Score() float64
- func (o *ParlayLeg) GetFtTeam1ScoreOk() (*float64, bool)
- func (o *ParlayLeg) GetFtTeam2Score() float64
- func (o *ParlayLeg) GetFtTeam2ScoreOk() (*float64, bool)
- func (o *ParlayLeg) GetHandicap() float64
- func (o *ParlayLeg) GetHandicapOk() (*float64, bool)
- func (o *ParlayLeg) GetLeagueId() int
- func (o *ParlayLeg) GetLeagueIdOk() (*int, bool)
- func (o *ParlayLeg) GetLegBetStatus() string
- func (o *ParlayLeg) GetLegBetStatusOk() (*string, bool)
- func (o *ParlayLeg) GetLegBetType() string
- func (o *ParlayLeg) GetLegBetTypeOk() (*string, bool)
- func (o *ParlayLeg) GetPTeam1Score() float64
- func (o *ParlayLeg) GetPTeam1ScoreOk() (*float64, bool)
- func (o *ParlayLeg) GetPTeam2Score() float64
- func (o *ParlayLeg) GetPTeam2ScoreOk() (*float64, bool)
- func (o *ParlayLeg) GetPeriodNumber() int
- func (o *ParlayLeg) GetPeriodNumberOk() (*int, bool)
- func (o *ParlayLeg) GetPitcher1() string
- func (o *ParlayLeg) GetPitcher1MustStart() bool
- func (o *ParlayLeg) GetPitcher1MustStartOk() (*bool, bool)
- func (o *ParlayLeg) GetPitcher1Ok() (*string, bool)
- func (o *ParlayLeg) GetPitcher2() string
- func (o *ParlayLeg) GetPitcher2MustStart() bool
- func (o *ParlayLeg) GetPitcher2MustStartOk() (*bool, bool)
- func (o *ParlayLeg) GetPitcher2Ok() (*string, bool)
- func (o *ParlayLeg) GetPrice() float64
- func (o *ParlayLeg) GetPriceOk() (*float64, bool)
- func (o *ParlayLeg) GetSide() string
- func (o *ParlayLeg) GetSideOk() (*string, bool)
- func (o *ParlayLeg) GetSportId() int
- func (o *ParlayLeg) GetSportIdOk() (*int, bool)
- func (o *ParlayLeg) GetTeam1() string
- func (o *ParlayLeg) GetTeam1Ok() (*string, bool)
- func (o *ParlayLeg) GetTeam2() string
- func (o *ParlayLeg) GetTeam2Ok() (*string, bool)
- func (o *ParlayLeg) GetTeamName() string
- func (o *ParlayLeg) GetTeamNameOk() (*string, bool)
- func (o *ParlayLeg) HasCancellationReason() bool
- func (o *ParlayLeg) HasEventId() bool
- func (o *ParlayLeg) HasEventStartTime() bool
- func (o *ParlayLeg) HasFtTeam1Score() bool
- func (o *ParlayLeg) HasFtTeam2Score() bool
- func (o *ParlayLeg) HasHandicap() bool
- func (o *ParlayLeg) HasLeagueId() bool
- func (o *ParlayLeg) HasLegBetStatus() bool
- func (o *ParlayLeg) HasLegBetType() bool
- func (o *ParlayLeg) HasPTeam1Score() bool
- func (o *ParlayLeg) HasPTeam2Score() bool
- func (o *ParlayLeg) HasPeriodNumber() bool
- func (o *ParlayLeg) HasPitcher1() bool
- func (o *ParlayLeg) HasPitcher1MustStart() bool
- func (o *ParlayLeg) HasPitcher2() bool
- func (o *ParlayLeg) HasPitcher2MustStart() bool
- func (o *ParlayLeg) HasPrice() bool
- func (o *ParlayLeg) HasSide() bool
- func (o *ParlayLeg) HasSportId() bool
- func (o *ParlayLeg) HasTeam1() bool
- func (o *ParlayLeg) HasTeam2() bool
- func (o *ParlayLeg) HasTeamName() bool
- func (o ParlayLeg) MarshalJSON() ([]byte, error)
- func (o *ParlayLeg) SetCancellationReason(v CancellationReason)
- func (o *ParlayLeg) SetEventId(v int64)
- func (o *ParlayLeg) SetEventStartTime(v time.Time)
- func (o *ParlayLeg) SetFtTeam1Score(v float64)
- func (o *ParlayLeg) SetFtTeam1ScoreNil()
- func (o *ParlayLeg) SetFtTeam2Score(v float64)
- func (o *ParlayLeg) SetFtTeam2ScoreNil()
- func (o *ParlayLeg) SetHandicap(v float64)
- func (o *ParlayLeg) SetHandicapNil()
- func (o *ParlayLeg) SetLeagueId(v int)
- func (o *ParlayLeg) SetLegBetStatus(v string)
- func (o *ParlayLeg) SetLegBetType(v string)
- func (o *ParlayLeg) SetPTeam1Score(v float64)
- func (o *ParlayLeg) SetPTeam1ScoreNil()
- func (o *ParlayLeg) SetPTeam2Score(v float64)
- func (o *ParlayLeg) SetPTeam2ScoreNil()
- func (o *ParlayLeg) SetPeriodNumber(v int)
- func (o *ParlayLeg) SetPitcher1(v string)
- func (o *ParlayLeg) SetPitcher1MustStart(v bool)
- func (o *ParlayLeg) SetPitcher1Nil()
- func (o *ParlayLeg) SetPitcher2(v string)
- func (o *ParlayLeg) SetPitcher2MustStart(v bool)
- func (o *ParlayLeg) SetPitcher2Nil()
- func (o *ParlayLeg) SetPrice(v float64)
- func (o *ParlayLeg) SetSide(v string)
- func (o *ParlayLeg) SetSideNil()
- func (o *ParlayLeg) SetSportId(v int)
- func (o *ParlayLeg) SetTeam1(v string)
- func (o *ParlayLeg) SetTeam2(v string)
- func (o *ParlayLeg) SetTeamName(v string)
- func (o *ParlayLeg) UnsetFtTeam1Score()
- func (o *ParlayLeg) UnsetFtTeam2Score()
- func (o *ParlayLeg) UnsetHandicap()
- func (o *ParlayLeg) UnsetPTeam1Score()
- func (o *ParlayLeg) UnsetPTeam2Score()
- func (o *ParlayLeg) UnsetPitcher1()
- func (o *ParlayLeg) UnsetPitcher2()
- func (o *ParlayLeg) UnsetSide()
- type Period
- func (o *Period) GetDescription() string
- func (o *Period) GetDescriptionOk() (*string, bool)
- func (o *Period) GetMoneylineDescription() string
- func (o *Period) GetMoneylineDescriptionOk() (*string, bool)
- func (o *Period) GetMoneylineShortDescription() string
- func (o *Period) GetMoneylineShortDescriptionOk() (*string, bool)
- func (o *Period) GetNumber() int
- func (o *Period) GetNumberOk() (*int, bool)
- func (o *Period) GetShortDescription() string
- func (o *Period) GetShortDescriptionOk() (*string, bool)
- func (o *Period) GetSpreadDescription() string
- func (o *Period) GetSpreadDescriptionOk() (*string, bool)
- func (o *Period) GetSpreadShortDescription() string
- func (o *Period) GetSpreadShortDescriptionOk() (*string, bool)
- func (o *Period) GetTeam1TotalDescription() string
- func (o *Period) GetTeam1TotalDescriptionOk() (*string, bool)
- func (o *Period) GetTeam1TotalShortDescription() string
- func (o *Period) GetTeam1TotalShortDescriptionOk() (*string, bool)
- func (o *Period) GetTeam2TotalDescription() string
- func (o *Period) GetTeam2TotalDescriptionOk() (*string, bool)
- func (o *Period) GetTeam2TotalShortDescription() string
- func (o *Period) GetTeam2TotalShortDescriptionOk() (*string, bool)
- func (o *Period) GetTotalDescription() string
- func (o *Period) GetTotalDescriptionOk() (*string, bool)
- func (o *Period) GetTotalShortDescription() string
- func (o *Period) GetTotalShortDescriptionOk() (*string, bool)
- func (o *Period) HasDescription() bool
- func (o *Period) HasMoneylineDescription() bool
- func (o *Period) HasMoneylineShortDescription() bool
- func (o *Period) HasNumber() bool
- func (o *Period) HasShortDescription() bool
- func (o *Period) HasSpreadDescription() bool
- func (o *Period) HasSpreadShortDescription() bool
- func (o *Period) HasTeam1TotalDescription() bool
- func (o *Period) HasTeam1TotalShortDescription() bool
- func (o *Period) HasTeam2TotalDescription() bool
- func (o *Period) HasTeam2TotalShortDescription() bool
- func (o *Period) HasTotalDescription() bool
- func (o *Period) HasTotalShortDescription() bool
- func (o Period) MarshalJSON() ([]byte, error)
- func (o *Period) SetDescription(v string)
- func (o *Period) SetMoneylineDescription(v string)
- func (o *Period) SetMoneylineShortDescription(v string)
- func (o *Period) SetNumber(v int)
- func (o *Period) SetShortDescription(v string)
- func (o *Period) SetSpreadDescription(v string)
- func (o *Period) SetSpreadShortDescription(v string)
- func (o *Period) SetTeam1TotalDescription(v string)
- func (o *Period) SetTeam1TotalShortDescription(v string)
- func (o *Period) SetTeam2TotalDescription(v string)
- func (o *Period) SetTeam2TotalShortDescription(v string)
- func (o *Period) SetTotalDescription(v string)
- func (o *Period) SetTotalShortDescription(v string)
- type PlaceBetRequest
- func (o *PlaceBetRequest) GetAcceptBetterLine() bool
- func (o *PlaceBetRequest) GetAcceptBetterLineOk() (*bool, bool)
- func (o *PlaceBetRequest) GetAltLineId() int64
- func (o *PlaceBetRequest) GetAltLineIdOk() (*int64, bool)
- func (o *PlaceBetRequest) GetBetType() string
- func (o *PlaceBetRequest) GetBetTypeOk() (*string, bool)
- func (o *PlaceBetRequest) GetEventId() int64
- func (o *PlaceBetRequest) GetEventIdOk() (*int64, bool)
- func (o *PlaceBetRequest) GetFillType() FillType
- func (o *PlaceBetRequest) GetFillTypeOk() (*FillType, bool)
- func (o *PlaceBetRequest) GetLineId() int64
- func (o *PlaceBetRequest) GetLineIdOk() (*int64, bool)
- func (o *PlaceBetRequest) GetOddsFormat() OddsFormat
- func (o *PlaceBetRequest) GetOddsFormatOk() (*OddsFormat, bool)
- func (o *PlaceBetRequest) GetPeriodNumber() int
- func (o *PlaceBetRequest) GetPeriodNumberOk() (*int, bool)
- func (o *PlaceBetRequest) GetPitcher1MustStart() bool
- func (o *PlaceBetRequest) GetPitcher1MustStartOk() (*bool, bool)
- func (o *PlaceBetRequest) GetPitcher2MustStart() bool
- func (o *PlaceBetRequest) GetPitcher2MustStartOk() (*bool, bool)
- func (o *PlaceBetRequest) GetSide() string
- func (o *PlaceBetRequest) GetSideOk() (*string, bool)
- func (o *PlaceBetRequest) GetSportId() int64
- func (o *PlaceBetRequest) GetSportIdOk() (*int64, bool)
- func (o *PlaceBetRequest) GetStake() float64
- func (o *PlaceBetRequest) GetStakeOk() (*float64, bool)
- func (o *PlaceBetRequest) GetTeam() string
- func (o *PlaceBetRequest) GetTeamOk() (*string, bool)
- func (o *PlaceBetRequest) GetUniqueRequestId() string
- func (o *PlaceBetRequest) GetUniqueRequestIdOk() (*string, bool)
- func (o *PlaceBetRequest) GetWinRiskStake() WinRiskStake
- func (o *PlaceBetRequest) GetWinRiskStakeOk() (*WinRiskStake, bool)
- func (o *PlaceBetRequest) HasAltLineId() bool
- func (o *PlaceBetRequest) HasPitcher1MustStart() bool
- func (o *PlaceBetRequest) HasPitcher2MustStart() bool
- func (o *PlaceBetRequest) HasSide() bool
- func (o *PlaceBetRequest) HasTeam() bool
- func (o PlaceBetRequest) MarshalJSON() ([]byte, error)
- func (o *PlaceBetRequest) SetAcceptBetterLine(v bool)
- func (o *PlaceBetRequest) SetAltLineId(v int64)
- func (o *PlaceBetRequest) SetAltLineIdNil()
- func (o *PlaceBetRequest) SetBetType(v string)
- func (o *PlaceBetRequest) SetEventId(v int64)
- func (o *PlaceBetRequest) SetFillType(v FillType)
- func (o *PlaceBetRequest) SetLineId(v int64)
- func (o *PlaceBetRequest) SetOddsFormat(v OddsFormat)
- func (o *PlaceBetRequest) SetPeriodNumber(v int)
- func (o *PlaceBetRequest) SetPitcher1MustStart(v bool)
- func (o *PlaceBetRequest) SetPitcher2MustStart(v bool)
- func (o *PlaceBetRequest) SetSide(v string)
- func (o *PlaceBetRequest) SetSideNil()
- func (o *PlaceBetRequest) SetSportId(v int64)
- func (o *PlaceBetRequest) SetStake(v float64)
- func (o *PlaceBetRequest) SetTeam(v string)
- func (o *PlaceBetRequest) SetUniqueRequestId(v string)
- func (o *PlaceBetRequest) SetWinRiskStake(v WinRiskStake)
- func (o *PlaceBetRequest) UnsetAltLineId()
- func (o *PlaceBetRequest) UnsetSide()
- type PlaceBetResponseV2
- func (o *PlaceBetResponseV2) GetErrorCode() ErrorCode
- func (o *PlaceBetResponseV2) GetErrorCodeOk() (*ErrorCode, bool)
- func (o *PlaceBetResponseV2) GetStatus() Status
- func (o *PlaceBetResponseV2) GetStatusOk() (*Status, bool)
- func (o *PlaceBetResponseV2) GetStraightBet() StraightBetV3
- func (o *PlaceBetResponseV2) GetStraightBetOk() (*StraightBetV3, bool)
- func (o *PlaceBetResponseV2) GetUniqueRequestId() string
- func (o *PlaceBetResponseV2) GetUniqueRequestIdOk() (*string, bool)
- func (o *PlaceBetResponseV2) HasErrorCode() bool
- func (o *PlaceBetResponseV2) HasStraightBet() bool
- func (o *PlaceBetResponseV2) HasUniqueRequestId() bool
- func (o PlaceBetResponseV2) MarshalJSON() ([]byte, error)
- func (o *PlaceBetResponseV2) SetErrorCode(v ErrorCode)
- func (o *PlaceBetResponseV2) SetErrorCodeNil()
- func (o *PlaceBetResponseV2) SetStatus(v Status)
- func (o *PlaceBetResponseV2) SetStraightBet(v StraightBetV3)
- func (o *PlaceBetResponseV2) SetUniqueRequestId(v string)
- func (o *PlaceBetResponseV2) UnsetErrorCode()
- type PlaceBetsApiService
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SettledFixturesEvent
- func (o *SettledFixturesEvent) GetId() int64
- func (o *SettledFixturesEvent) GetIdOk() (*int64, bool)
- func (o *SettledFixturesEvent) GetPeriods() []SettledFixturesPeriod
- func (o *SettledFixturesEvent) GetPeriodsOk() (*[]SettledFixturesPeriod, bool)
- func (o *SettledFixturesEvent) HasId() bool
- func (o *SettledFixturesEvent) HasPeriods() bool
- func (o SettledFixturesEvent) MarshalJSON() ([]byte, error)
- func (o *SettledFixturesEvent) SetId(v int64)
- func (o *SettledFixturesEvent) SetPeriods(v []SettledFixturesPeriod)
- type SettledFixturesLeague
- func (o *SettledFixturesLeague) GetEvents() []SettledFixturesEvent
- func (o *SettledFixturesLeague) GetEventsOk() (*[]SettledFixturesEvent, bool)
- func (o *SettledFixturesLeague) GetId() int
- func (o *SettledFixturesLeague) GetIdOk() (*int, bool)
- func (o *SettledFixturesLeague) HasEvents() bool
- func (o *SettledFixturesLeague) HasId() bool
- func (o SettledFixturesLeague) MarshalJSON() ([]byte, error)
- func (o *SettledFixturesLeague) SetEvents(v []SettledFixturesEvent)
- func (o *SettledFixturesLeague) SetId(v int)
- type SettledFixturesPeriod
- func (o *SettledFixturesPeriod) GetCancellationReason() CancellationReasonType
- func (o *SettledFixturesPeriod) GetCancellationReasonOk() (*CancellationReasonType, bool)
- func (o *SettledFixturesPeriod) GetNumber() int
- func (o *SettledFixturesPeriod) GetNumberOk() (*int, bool)
- func (o *SettledFixturesPeriod) GetSettledAt() time.Time
- func (o *SettledFixturesPeriod) GetSettledAtOk() (*time.Time, bool)
- func (o *SettledFixturesPeriod) GetSettlementId() int64
- func (o *SettledFixturesPeriod) GetSettlementIdOk() (*int64, bool)
- func (o *SettledFixturesPeriod) GetStatus() int
- func (o *SettledFixturesPeriod) GetStatusOk() (*int, bool)
- func (o *SettledFixturesPeriod) GetTeam1Score() int
- func (o *SettledFixturesPeriod) GetTeam1ScoreOk() (*int, bool)
- func (o *SettledFixturesPeriod) GetTeam1ScoreSets() int
- func (o *SettledFixturesPeriod) GetTeam1ScoreSetsOk() (*int, bool)
- func (o *SettledFixturesPeriod) GetTeam2Score() int
- func (o *SettledFixturesPeriod) GetTeam2ScoreOk() (*int, bool)
- func (o *SettledFixturesPeriod) GetTeam2ScoreSets() int
- func (o *SettledFixturesPeriod) GetTeam2ScoreSetsOk() (*int, bool)
- func (o *SettledFixturesPeriod) HasCancellationReason() bool
- func (o *SettledFixturesPeriod) HasNumber() bool
- func (o *SettledFixturesPeriod) HasSettledAt() bool
- func (o *SettledFixturesPeriod) HasSettlementId() bool
- func (o *SettledFixturesPeriod) HasStatus() bool
- func (o *SettledFixturesPeriod) HasTeam1Score() bool
- func (o *SettledFixturesPeriod) HasTeam1ScoreSets() bool
- func (o *SettledFixturesPeriod) HasTeam2Score() bool
- func (o *SettledFixturesPeriod) HasTeam2ScoreSets() bool
- func (o SettledFixturesPeriod) MarshalJSON() ([]byte, error)
- func (o *SettledFixturesPeriod) SetCancellationReason(v CancellationReasonType)
- func (o *SettledFixturesPeriod) SetNumber(v int)
- func (o *SettledFixturesPeriod) SetSettledAt(v time.Time)
- func (o *SettledFixturesPeriod) SetSettlementId(v int64)
- func (o *SettledFixturesPeriod) SetStatus(v int)
- func (o *SettledFixturesPeriod) SetTeam1Score(v int)
- func (o *SettledFixturesPeriod) SetTeam1ScoreSets(v int)
- func (o *SettledFixturesPeriod) SetTeam2Score(v int)
- func (o *SettledFixturesPeriod) SetTeam2ScoreSets(v int)
- type SettledFixturesSport
- func (o *SettledFixturesSport) GetLast() int64
- func (o *SettledFixturesSport) GetLastOk() (*int64, bool)
- func (o *SettledFixturesSport) GetLeagues() []SettledFixturesLeague
- func (o *SettledFixturesSport) GetLeaguesOk() (*[]SettledFixturesLeague, bool)
- func (o *SettledFixturesSport) GetSportId() int
- func (o *SettledFixturesSport) GetSportIdOk() (*int, bool)
- func (o *SettledFixturesSport) HasLast() bool
- func (o *SettledFixturesSport) HasLeagues() bool
- func (o *SettledFixturesSport) HasSportId() bool
- func (o SettledFixturesSport) MarshalJSON() ([]byte, error)
- func (o *SettledFixturesSport) SetLast(v int64)
- func (o *SettledFixturesSport) SetLeagues(v []SettledFixturesLeague)
- func (o *SettledFixturesSport) SetSportId(v int)
- type SettledSpecial
- func (o *SettledSpecial) GetCancellationReason() CancellationReason
- func (o *SettledSpecial) GetCancellationReasonOk() (*CancellationReason, bool)
- func (o *SettledSpecial) GetId() int64
- func (o *SettledSpecial) GetIdOk() (*int64, bool)
- func (o *SettledSpecial) GetSettledAt() time.Time
- func (o *SettledSpecial) GetSettledAtOk() (*time.Time, bool)
- func (o *SettledSpecial) GetSettlementId() int64
- func (o *SettledSpecial) GetSettlementIdOk() (*int64, bool)
- func (o *SettledSpecial) GetStatus() int
- func (o *SettledSpecial) GetStatusOk() (*int, bool)
- func (o *SettledSpecial) HasCancellationReason() bool
- func (o *SettledSpecial) HasId() bool
- func (o *SettledSpecial) HasSettledAt() bool
- func (o *SettledSpecial) HasSettlementId() bool
- func (o *SettledSpecial) HasStatus() bool
- func (o SettledSpecial) MarshalJSON() ([]byte, error)
- func (o *SettledSpecial) SetCancellationReason(v CancellationReason)
- func (o *SettledSpecial) SetId(v int64)
- func (o *SettledSpecial) SetSettledAt(v time.Time)
- func (o *SettledSpecial) SetSettlementId(v int64)
- func (o *SettledSpecial) SetStatus(v int)
- type SettledSpecialsLeague
- func (o *SettledSpecialsLeague) GetId() int
- func (o *SettledSpecialsLeague) GetIdOk() (*int, bool)
- func (o *SettledSpecialsLeague) GetSpecials() []SettledSpecial
- func (o *SettledSpecialsLeague) GetSpecialsOk() (*[]SettledSpecial, bool)
- func (o *SettledSpecialsLeague) HasId() bool
- func (o *SettledSpecialsLeague) HasSpecials() bool
- func (o SettledSpecialsLeague) MarshalJSON() ([]byte, error)
- func (o *SettledSpecialsLeague) SetId(v int)
- func (o *SettledSpecialsLeague) SetSpecials(v []SettledSpecial)
- type SettledSpecialsResponse
- func (o *SettledSpecialsResponse) GetLast() int64
- func (o *SettledSpecialsResponse) GetLastOk() (*int64, bool)
- func (o *SettledSpecialsResponse) GetLeagues() []SettledSpecialsLeague
- func (o *SettledSpecialsResponse) GetLeaguesOk() (*[]SettledSpecialsLeague, bool)
- func (o *SettledSpecialsResponse) GetSportId() int
- func (o *SettledSpecialsResponse) GetSportIdOk() (*int, bool)
- func (o *SettledSpecialsResponse) HasLast() bool
- func (o *SettledSpecialsResponse) HasLeagues() bool
- func (o *SettledSpecialsResponse) HasSportId() bool
- func (o SettledSpecialsResponse) MarshalJSON() ([]byte, error)
- func (o *SettledSpecialsResponse) SetLast(v int64)
- func (o *SettledSpecialsResponse) SetLeagues(v []SettledSpecialsLeague)
- func (o *SettledSpecialsResponse) SetSportId(v int)
- type SpecialBet
- func (o *SpecialBet) GetBetId() int64
- func (o *SpecialBet) GetBetIdOk() (*int64, bool)
- func (o *SpecialBet) GetBetStatus() string
- func (o *SpecialBet) GetBetStatusOk() (*string, bool)
- func (o *SpecialBet) GetBetType() string
- func (o *SpecialBet) GetBetTypeOk() (*string, bool)
- func (o *SpecialBet) GetCancellationReason() CancellationReason
- func (o *SpecialBet) GetCancellationReasonOk() (*CancellationReason, bool)
- func (o *SpecialBet) GetContestantId() int64
- func (o *SpecialBet) GetContestantIdOk() (*int64, bool)
- func (o *SpecialBet) GetContestantName() string
- func (o *SpecialBet) GetContestantNameOk() (*string, bool)
- func (o *SpecialBet) GetCustomerCommission() float64
- func (o *SpecialBet) GetCustomerCommissionOk() (*float64, bool)
- func (o *SpecialBet) GetEventId() int64
- func (o *SpecialBet) GetEventIdOk() (*int64, bool)
- func (o *SpecialBet) GetEventStartTime() time.Time
- func (o *SpecialBet) GetEventStartTimeOk() (*time.Time, bool)
- func (o *SpecialBet) GetHandicap() float64
- func (o *SpecialBet) GetHandicapOk() (*float64, bool)
- func (o *SpecialBet) GetLeagueId() int
- func (o *SpecialBet) GetLeagueIdOk() (*int, bool)
- func (o *SpecialBet) GetOddsFormat() OddsFormat
- func (o *SpecialBet) GetOddsFormatOk() (*OddsFormat, bool)
- func (o *SpecialBet) GetPeriodNumber() int
- func (o *SpecialBet) GetPeriodNumberOk() (*int, bool)
- func (o *SpecialBet) GetPlacedAt() time.Time
- func (o *SpecialBet) GetPlacedAtOk() (*time.Time, bool)
- func (o *SpecialBet) GetPrice() float64
- func (o *SpecialBet) GetPriceOk() (*float64, bool)
- func (o *SpecialBet) GetRisk() float64
- func (o *SpecialBet) GetRiskOk() (*float64, bool)
- func (o *SpecialBet) GetSpecialId() int64
- func (o *SpecialBet) GetSpecialIdOk() (*int64, bool)
- func (o *SpecialBet) GetSpecialName() string
- func (o *SpecialBet) GetSpecialNameOk() (*string, bool)
- func (o *SpecialBet) GetSportId() int
- func (o *SpecialBet) GetSportIdOk() (*int, bool)
- func (o *SpecialBet) GetTeam1() string
- func (o *SpecialBet) GetTeam1Ok() (*string, bool)
- func (o *SpecialBet) GetTeam2() string
- func (o *SpecialBet) GetTeam2Ok() (*string, bool)
- func (o *SpecialBet) GetUniqueRequestId() string
- func (o *SpecialBet) GetUniqueRequestIdOk() (*string, bool)
- func (o *SpecialBet) GetUnits() string
- func (o *SpecialBet) GetUnitsOk() (*string, bool)
- func (o *SpecialBet) GetUpdateSequence() int64
- func (o *SpecialBet) GetUpdateSequenceOk() (*int64, bool)
- func (o *SpecialBet) GetWagerNumber() int
- func (o *SpecialBet) GetWagerNumberOk() (*int, bool)
- func (o *SpecialBet) GetWin() float64
- func (o *SpecialBet) GetWinLoss() float64
- func (o *SpecialBet) GetWinLossOk() (*float64, bool)
- func (o *SpecialBet) GetWinOk() (*float64, bool)
- func (o *SpecialBet) HasCancellationReason() bool
- func (o *SpecialBet) HasCustomerCommission() bool
- func (o *SpecialBet) HasEventId() bool
- func (o *SpecialBet) HasEventStartTime() bool
- func (o *SpecialBet) HasHandicap() bool
- func (o *SpecialBet) HasPeriodNumber() bool
- func (o *SpecialBet) HasTeam1() bool
- func (o *SpecialBet) HasTeam2() bool
- func (o *SpecialBet) HasUniqueRequestId() bool
- func (o *SpecialBet) HasUnits() bool
- func (o *SpecialBet) HasWinLoss() bool
- func (o SpecialBet) MarshalJSON() ([]byte, error)
- func (o *SpecialBet) SetBetId(v int64)
- func (o *SpecialBet) SetBetStatus(v string)
- func (o *SpecialBet) SetBetType(v string)
- func (o *SpecialBet) SetCancellationReason(v CancellationReason)
- func (o *SpecialBet) SetContestantId(v int64)
- func (o *SpecialBet) SetContestantName(v string)
- func (o *SpecialBet) SetCustomerCommission(v float64)
- func (o *SpecialBet) SetCustomerCommissionNil()
- func (o *SpecialBet) SetEventId(v int64)
- func (o *SpecialBet) SetEventIdNil()
- func (o *SpecialBet) SetEventStartTime(v time.Time)
- func (o *SpecialBet) SetHandicap(v float64)
- func (o *SpecialBet) SetLeagueId(v int)
- func (o *SpecialBet) SetOddsFormat(v OddsFormat)
- func (o *SpecialBet) SetPeriodNumber(v int)
- func (o *SpecialBet) SetPeriodNumberNil()
- func (o *SpecialBet) SetPlacedAt(v time.Time)
- func (o *SpecialBet) SetPrice(v float64)
- func (o *SpecialBet) SetRisk(v float64)
- func (o *SpecialBet) SetSpecialId(v int64)
- func (o *SpecialBet) SetSpecialName(v string)
- func (o *SpecialBet) SetSportId(v int)
- func (o *SpecialBet) SetTeam1(v string)
- func (o *SpecialBet) SetTeam1Nil()
- func (o *SpecialBet) SetTeam2(v string)
- func (o *SpecialBet) SetTeam2Nil()
- func (o *SpecialBet) SetUniqueRequestId(v string)
- func (o *SpecialBet) SetUnits(v string)
- func (o *SpecialBet) SetUpdateSequence(v int64)
- func (o *SpecialBet) SetWagerNumber(v int)
- func (o *SpecialBet) SetWin(v float64)
- func (o *SpecialBet) SetWinLoss(v float64)
- func (o *SpecialBet) SetWinLossNil()
- func (o *SpecialBet) UnsetCustomerCommission()
- func (o *SpecialBet) UnsetEventId()
- func (o *SpecialBet) UnsetPeriodNumber()
- func (o *SpecialBet) UnsetTeam1()
- func (o *SpecialBet) UnsetTeam2()
- func (o *SpecialBet) UnsetWinLoss()
- type SpecialBetRequest
- func (o *SpecialBetRequest) GetAcceptBetterLine() bool
- func (o *SpecialBetRequest) GetAcceptBetterLineOk() (*bool, bool)
- func (o *SpecialBetRequest) GetContestantId() int64
- func (o *SpecialBetRequest) GetContestantIdOk() (*int64, bool)
- func (o *SpecialBetRequest) GetLineId() int64
- func (o *SpecialBetRequest) GetLineIdOk() (*int64, bool)
- func (o *SpecialBetRequest) GetOddsFormat() OddsFormat
- func (o *SpecialBetRequest) GetOddsFormatOk() (*OddsFormat, bool)
- func (o *SpecialBetRequest) GetSpecialId() int64
- func (o *SpecialBetRequest) GetSpecialIdOk() (*int64, bool)
- func (o *SpecialBetRequest) GetStake() float64
- func (o *SpecialBetRequest) GetStakeOk() (*float64, bool)
- func (o *SpecialBetRequest) GetUniqueRequestId() string
- func (o *SpecialBetRequest) GetUniqueRequestIdOk() (*string, bool)
- func (o *SpecialBetRequest) GetWinRiskStake() string
- func (o *SpecialBetRequest) GetWinRiskStakeOk() (*string, bool)
- func (o *SpecialBetRequest) HasAcceptBetterLine() bool
- func (o *SpecialBetRequest) HasContestantId() bool
- func (o *SpecialBetRequest) HasLineId() bool
- func (o *SpecialBetRequest) HasOddsFormat() bool
- func (o *SpecialBetRequest) HasSpecialId() bool
- func (o *SpecialBetRequest) HasStake() bool
- func (o *SpecialBetRequest) HasUniqueRequestId() bool
- func (o *SpecialBetRequest) HasWinRiskStake() bool
- func (o SpecialBetRequest) MarshalJSON() ([]byte, error)
- func (o *SpecialBetRequest) SetAcceptBetterLine(v bool)
- func (o *SpecialBetRequest) SetContestantId(v int64)
- func (o *SpecialBetRequest) SetLineId(v int64)
- func (o *SpecialBetRequest) SetOddsFormat(v OddsFormat)
- func (o *SpecialBetRequest) SetSpecialId(v int64)
- func (o *SpecialBetRequest) SetStake(v float64)
- func (o *SpecialBetRequest) SetUniqueRequestId(v string)
- func (o *SpecialBetRequest) SetWinRiskStake(v string)
- type SpecialBetResponse
- func (o *SpecialBetResponse) GetBetId() int64
- func (o *SpecialBetResponse) GetBetIdOk() (*int64, bool)
- func (o *SpecialBetResponse) GetBetterLineWasAccepted() bool
- func (o *SpecialBetResponse) GetBetterLineWasAcceptedOk() (*bool, bool)
- func (o *SpecialBetResponse) GetErrorCode() string
- func (o *SpecialBetResponse) GetErrorCodeOk() (*string, bool)
- func (o *SpecialBetResponse) GetSpecialBet() SpecialBet
- func (o *SpecialBetResponse) GetSpecialBetOk() (*SpecialBet, bool)
- func (o *SpecialBetResponse) GetStatus() string
- func (o *SpecialBetResponse) GetStatusOk() (*string, bool)
- func (o *SpecialBetResponse) GetUniqueRequestId() string
- func (o *SpecialBetResponse) GetUniqueRequestIdOk() (*string, bool)
- func (o *SpecialBetResponse) HasBetId() bool
- func (o *SpecialBetResponse) HasBetterLineWasAccepted() bool
- func (o *SpecialBetResponse) HasErrorCode() bool
- func (o *SpecialBetResponse) HasSpecialBet() bool
- func (o *SpecialBetResponse) HasStatus() bool
- func (o *SpecialBetResponse) HasUniqueRequestId() bool
- func (o SpecialBetResponse) MarshalJSON() ([]byte, error)
- func (o *SpecialBetResponse) SetBetId(v int64)
- func (o *SpecialBetResponse) SetBetterLineWasAccepted(v bool)
- func (o *SpecialBetResponse) SetErrorCode(v string)
- func (o *SpecialBetResponse) SetErrorCodeNil()
- func (o *SpecialBetResponse) SetSpecialBet(v SpecialBet)
- func (o *SpecialBetResponse) SetStatus(v string)
- func (o *SpecialBetResponse) SetUniqueRequestId(v string)
- func (o *SpecialBetResponse) UnsetErrorCode()
- type SpecialFixture
- func (o *SpecialFixture) GetBetType() string
- func (o *SpecialFixture) GetBetTypeOk() (*string, bool)
- func (o *SpecialFixture) GetCategory() string
- func (o *SpecialFixture) GetCategoryOk() (*string, bool)
- func (o *SpecialFixture) GetContestants() []SpecialsFixturesContestant
- func (o *SpecialFixture) GetContestantsOk() (*[]SpecialsFixturesContestant, bool)
- func (o *SpecialFixture) GetCutoff() time.Time
- func (o *SpecialFixture) GetCutoffOk() (*time.Time, bool)
- func (o *SpecialFixture) GetDate() time.Time
- func (o *SpecialFixture) GetDateOk() (*time.Time, bool)
- func (o *SpecialFixture) GetEvent() SpecialsFixturesEvent
- func (o *SpecialFixture) GetEventOk() (*SpecialsFixturesEvent, bool)
- func (o *SpecialFixture) GetId() int64
- func (o *SpecialFixture) GetIdOk() (*int64, bool)
- func (o *SpecialFixture) GetLiveStatus() int
- func (o *SpecialFixture) GetLiveStatusOk() (*int, bool)
- func (o *SpecialFixture) GetName() string
- func (o *SpecialFixture) GetNameOk() (*string, bool)
- func (o *SpecialFixture) GetStatus() string
- func (o *SpecialFixture) GetStatusOk() (*string, bool)
- func (o *SpecialFixture) GetUnits() string
- func (o *SpecialFixture) GetUnitsOk() (*string, bool)
- func (o *SpecialFixture) HasBetType() bool
- func (o *SpecialFixture) HasCategory() bool
- func (o *SpecialFixture) HasContestants() bool
- func (o *SpecialFixture) HasCutoff() bool
- func (o *SpecialFixture) HasDate() bool
- func (o *SpecialFixture) HasEvent() bool
- func (o *SpecialFixture) HasId() bool
- func (o *SpecialFixture) HasLiveStatus() bool
- func (o *SpecialFixture) HasName() bool
- func (o *SpecialFixture) HasStatus() bool
- func (o *SpecialFixture) HasUnits() bool
- func (o SpecialFixture) MarshalJSON() ([]byte, error)
- func (o *SpecialFixture) SetBetType(v string)
- func (o *SpecialFixture) SetCategory(v string)
- func (o *SpecialFixture) SetContestants(v []SpecialsFixturesContestant)
- func (o *SpecialFixture) SetCutoff(v time.Time)
- func (o *SpecialFixture) SetDate(v time.Time)
- func (o *SpecialFixture) SetEvent(v SpecialsFixturesEvent)
- func (o *SpecialFixture) SetId(v int64)
- func (o *SpecialFixture) SetLiveStatus(v int)
- func (o *SpecialFixture) SetName(v string)
- func (o *SpecialFixture) SetStatus(v string)
- func (o *SpecialFixture) SetUnits(v string)
- type SpecialLineResponse
- func (o *SpecialLineResponse) GetContestantId() int64
- func (o *SpecialLineResponse) GetContestantIdOk() (*int64, bool)
- func (o *SpecialLineResponse) GetHandicap() float64
- func (o *SpecialLineResponse) GetHandicapOk() (*float64, bool)
- func (o *SpecialLineResponse) GetLineId() int64
- func (o *SpecialLineResponse) GetLineIdOk() (*int64, bool)
- func (o *SpecialLineResponse) GetMaxRiskStake() float64
- func (o *SpecialLineResponse) GetMaxRiskStakeOk() (*float64, bool)
- func (o *SpecialLineResponse) GetMaxWinStake() float64
- func (o *SpecialLineResponse) GetMaxWinStakeOk() (*float64, bool)
- func (o *SpecialLineResponse) GetMinRiskStake() float64
- func (o *SpecialLineResponse) GetMinRiskStakeOk() (*float64, bool)
- func (o *SpecialLineResponse) GetMinWinStake() float64
- func (o *SpecialLineResponse) GetMinWinStakeOk() (*float64, bool)
- func (o *SpecialLineResponse) GetPrice() float64
- func (o *SpecialLineResponse) GetPriceOk() (*float64, bool)
- func (o *SpecialLineResponse) GetSpecialId() int64
- func (o *SpecialLineResponse) GetSpecialIdOk() (*int64, bool)
- func (o *SpecialLineResponse) GetStatus() string
- func (o *SpecialLineResponse) GetStatusOk() (*string, bool)
- func (o *SpecialLineResponse) HasContestantId() bool
- func (o *SpecialLineResponse) HasHandicap() bool
- func (o *SpecialLineResponse) HasLineId() bool
- func (o *SpecialLineResponse) HasMaxRiskStake() bool
- func (o *SpecialLineResponse) HasMaxWinStake() bool
- func (o *SpecialLineResponse) HasMinRiskStake() bool
- func (o *SpecialLineResponse) HasMinWinStake() bool
- func (o *SpecialLineResponse) HasPrice() bool
- func (o *SpecialLineResponse) HasSpecialId() bool
- func (o *SpecialLineResponse) HasStatus() bool
- func (o SpecialLineResponse) MarshalJSON() ([]byte, error)
- func (o *SpecialLineResponse) SetContestantId(v int64)
- func (o *SpecialLineResponse) SetHandicap(v float64)
- func (o *SpecialLineResponse) SetLineId(v int64)
- func (o *SpecialLineResponse) SetMaxRiskStake(v float64)
- func (o *SpecialLineResponse) SetMaxWinStake(v float64)
- func (o *SpecialLineResponse) SetMinRiskStake(v float64)
- func (o *SpecialLineResponse) SetMinWinStake(v float64)
- func (o *SpecialLineResponse) SetPrice(v float64)
- func (o *SpecialLineResponse) SetSpecialId(v int64)
- func (o *SpecialLineResponse) SetStatus(v string)
- type SpecialOddsContestantLine
- func (o *SpecialOddsContestantLine) GetHandicap() float64
- func (o *SpecialOddsContestantLine) GetHandicapOk() (*float64, bool)
- func (o *SpecialOddsContestantLine) GetId() int64
- func (o *SpecialOddsContestantLine) GetIdOk() (*int64, bool)
- func (o *SpecialOddsContestantLine) GetLineId() int64
- func (o *SpecialOddsContestantLine) GetLineIdOk() (*int64, bool)
- func (o *SpecialOddsContestantLine) GetPrice() float64
- func (o *SpecialOddsContestantLine) GetPriceOk() (*float64, bool)
- func (o *SpecialOddsContestantLine) HasHandicap() bool
- func (o *SpecialOddsContestantLine) HasId() bool
- func (o *SpecialOddsContestantLine) HasLineId() bool
- func (o *SpecialOddsContestantLine) HasPrice() bool
- func (o SpecialOddsContestantLine) MarshalJSON() ([]byte, error)
- func (o *SpecialOddsContestantLine) SetHandicap(v float64)
- func (o *SpecialOddsContestantLine) SetId(v int64)
- func (o *SpecialOddsContestantLine) SetLineId(v int64)
- func (o *SpecialOddsContestantLine) SetPrice(v float64)
- type SpecialOddsLeague
- func (o *SpecialOddsLeague) GetId() int
- func (o *SpecialOddsLeague) GetIdOk() (*int, bool)
- func (o *SpecialOddsLeague) GetSpecials() []SpecialOddsSpecial
- func (o *SpecialOddsLeague) GetSpecialsOk() (*[]SpecialOddsSpecial, bool)
- func (o *SpecialOddsLeague) HasId() bool
- func (o *SpecialOddsLeague) HasSpecials() bool
- func (o SpecialOddsLeague) MarshalJSON() ([]byte, error)
- func (o *SpecialOddsLeague) SetId(v int)
- func (o *SpecialOddsLeague) SetSpecials(v []SpecialOddsSpecial)
- type SpecialOddsResponse
- func (o *SpecialOddsResponse) GetLast() int64
- func (o *SpecialOddsResponse) GetLastOk() (*int64, bool)
- func (o *SpecialOddsResponse) GetLeagues() []SpecialOddsLeague
- func (o *SpecialOddsResponse) GetLeaguesOk() (*[]SpecialOddsLeague, bool)
- func (o *SpecialOddsResponse) GetSportId() int
- func (o *SpecialOddsResponse) GetSportIdOk() (*int, bool)
- func (o *SpecialOddsResponse) HasLast() bool
- func (o *SpecialOddsResponse) HasLeagues() bool
- func (o *SpecialOddsResponse) HasSportId() bool
- func (o SpecialOddsResponse) MarshalJSON() ([]byte, error)
- func (o *SpecialOddsResponse) SetLast(v int64)
- func (o *SpecialOddsResponse) SetLeagues(v []SpecialOddsLeague)
- func (o *SpecialOddsResponse) SetSportId(v int)
- type SpecialOddsSpecial
- func (o *SpecialOddsSpecial) GetContestantLines() []SpecialOddsContestantLine
- func (o *SpecialOddsSpecial) GetContestantLinesOk() (*[]SpecialOddsContestantLine, bool)
- func (o *SpecialOddsSpecial) GetId() int64
- func (o *SpecialOddsSpecial) GetIdOk() (*int64, bool)
- func (o *SpecialOddsSpecial) GetMaxBet() float64
- func (o *SpecialOddsSpecial) GetMaxBetOk() (*float64, bool)
- func (o *SpecialOddsSpecial) HasContestantLines() bool
- func (o *SpecialOddsSpecial) HasId() bool
- func (o *SpecialOddsSpecial) HasMaxBet() bool
- func (o SpecialOddsSpecial) MarshalJSON() ([]byte, error)
- func (o *SpecialOddsSpecial) SetContestantLines(v []SpecialOddsContestantLine)
- func (o *SpecialOddsSpecial) SetId(v int64)
- func (o *SpecialOddsSpecial) SetMaxBet(v float64)
- type SpecialsFixturesContestant
- func (o *SpecialsFixturesContestant) GetId() int64
- func (o *SpecialsFixturesContestant) GetIdOk() (*int64, bool)
- func (o *SpecialsFixturesContestant) GetName() string
- func (o *SpecialsFixturesContestant) GetNameOk() (*string, bool)
- func (o *SpecialsFixturesContestant) GetRotNum() int
- func (o *SpecialsFixturesContestant) GetRotNumOk() (*int, bool)
- func (o *SpecialsFixturesContestant) HasId() bool
- func (o *SpecialsFixturesContestant) HasName() bool
- func (o *SpecialsFixturesContestant) HasRotNum() bool
- func (o SpecialsFixturesContestant) MarshalJSON() ([]byte, error)
- func (o *SpecialsFixturesContestant) SetId(v int64)
- func (o *SpecialsFixturesContestant) SetName(v string)
- func (o *SpecialsFixturesContestant) SetRotNum(v int)
- type SpecialsFixturesEvent
- func (o *SpecialsFixturesEvent) GetAway() string
- func (o *SpecialsFixturesEvent) GetAwayOk() (*string, bool)
- func (o *SpecialsFixturesEvent) GetHome() string
- func (o *SpecialsFixturesEvent) GetHomeOk() (*string, bool)
- func (o *SpecialsFixturesEvent) GetId() int
- func (o *SpecialsFixturesEvent) GetIdOk() (*int, bool)
- func (o *SpecialsFixturesEvent) GetPeriodNumber() int
- func (o *SpecialsFixturesEvent) GetPeriodNumberOk() (*int, bool)
- func (o *SpecialsFixturesEvent) HasAway() bool
- func (o *SpecialsFixturesEvent) HasHome() bool
- func (o *SpecialsFixturesEvent) HasId() bool
- func (o *SpecialsFixturesEvent) HasPeriodNumber() bool
- func (o SpecialsFixturesEvent) MarshalJSON() ([]byte, error)
- func (o *SpecialsFixturesEvent) SetAway(v string)
- func (o *SpecialsFixturesEvent) SetHome(v string)
- func (o *SpecialsFixturesEvent) SetId(v int)
- func (o *SpecialsFixturesEvent) SetPeriodNumber(v int)
- type SpecialsFixturesLeague
- func (o *SpecialsFixturesLeague) GetId() int
- func (o *SpecialsFixturesLeague) GetIdOk() (*int, bool)
- func (o *SpecialsFixturesLeague) GetSpecials() []SpecialFixture
- func (o *SpecialsFixturesLeague) GetSpecialsOk() (*[]SpecialFixture, bool)
- func (o *SpecialsFixturesLeague) HasId() bool
- func (o *SpecialsFixturesLeague) HasSpecials() bool
- func (o SpecialsFixturesLeague) MarshalJSON() ([]byte, error)
- func (o *SpecialsFixturesLeague) SetId(v int)
- func (o *SpecialsFixturesLeague) SetSpecials(v []SpecialFixture)
- type SpecialsFixturesResponse
- func (o *SpecialsFixturesResponse) GetLast() int64
- func (o *SpecialsFixturesResponse) GetLastOk() (*int64, bool)
- func (o *SpecialsFixturesResponse) GetLeagues() []SpecialsFixturesLeague
- func (o *SpecialsFixturesResponse) GetLeaguesOk() (*[]SpecialsFixturesLeague, bool)
- func (o *SpecialsFixturesResponse) GetSportId() int
- func (o *SpecialsFixturesResponse) GetSportIdOk() (*int, bool)
- func (o *SpecialsFixturesResponse) HasLast() bool
- func (o *SpecialsFixturesResponse) HasLeagues() bool
- func (o *SpecialsFixturesResponse) HasSportId() bool
- func (o SpecialsFixturesResponse) MarshalJSON() ([]byte, error)
- func (o *SpecialsFixturesResponse) SetLast(v int64)
- func (o *SpecialsFixturesResponse) SetLeagues(v []SpecialsFixturesLeague)
- func (o *SpecialsFixturesResponse) SetSportId(v int)
- type Sport
- func (o *Sport) GetEventCount() int
- func (o *Sport) GetEventCountOk() (*int, bool)
- func (o *Sport) GetEventSpecialsCount() int
- func (o *Sport) GetEventSpecialsCountOk() (*int, bool)
- func (o *Sport) GetHasOfferings() bool
- func (o *Sport) GetHasOfferingsOk() (*bool, bool)
- func (o *Sport) GetId() int
- func (o *Sport) GetIdOk() (*int, bool)
- func (o *Sport) GetLeagueSpecialsCount() int
- func (o *Sport) GetLeagueSpecialsCountOk() (*int, bool)
- func (o *Sport) GetName() string
- func (o *Sport) GetNameOk() (*string, bool)
- func (o *Sport) HasEventCount() bool
- func (o *Sport) HasEventSpecialsCount() bool
- func (o *Sport) HasHasOfferings() bool
- func (o *Sport) HasId() bool
- func (o *Sport) HasLeagueSpecialsCount() bool
- func (o *Sport) HasName() bool
- func (o Sport) MarshalJSON() ([]byte, error)
- func (o *Sport) SetEventCount(v int)
- func (o *Sport) SetEventSpecialsCount(v int)
- func (o *Sport) SetHasOfferings(v bool)
- func (o *Sport) SetId(v int)
- func (o *Sport) SetLeagueSpecialsCount(v int)
- func (o *Sport) SetName(v string)
- type SportPeriod
- type SportsResponse
- type Status
- type StraightBetV3
- func (o *StraightBetV3) GetBetId() int64
- func (o *StraightBetV3) GetBetIdOk() (*int64, bool)
- func (o *StraightBetV3) GetBetStatus() string
- func (o *StraightBetV3) GetBetStatusOk() (*string, bool)
- func (o *StraightBetV3) GetBetType() string
- func (o *StraightBetV3) GetBetTypeOk() (*string, bool)
- func (o *StraightBetV3) GetCustomerCommission() float64
- func (o *StraightBetV3) GetCustomerCommissionOk() (*float64, bool)
- func (o *StraightBetV3) GetEventId() int64
- func (o *StraightBetV3) GetEventIdOk() (*int64, bool)
- func (o *StraightBetV3) GetEventStartTime() time.Time
- func (o *StraightBetV3) GetEventStartTimeOk() (*time.Time, bool)
- func (o *StraightBetV3) GetFtTeam1Score() float64
- func (o *StraightBetV3) GetFtTeam1ScoreOk() (*float64, bool)
- func (o *StraightBetV3) GetFtTeam2Score() float64
- func (o *StraightBetV3) GetFtTeam2ScoreOk() (*float64, bool)
- func (o *StraightBetV3) GetHandicap() float64
- func (o *StraightBetV3) GetHandicapOk() (*float64, bool)
- func (o *StraightBetV3) GetLeagueId() int
- func (o *StraightBetV3) GetLeagueIdOk() (*int, bool)
- func (o *StraightBetV3) GetOddsFormat() OddsFormat
- func (o *StraightBetV3) GetOddsFormatOk() (*OddsFormat, bool)
- func (o *StraightBetV3) GetPTeam1Score() float64
- func (o *StraightBetV3) GetPTeam1ScoreOk() (*float64, bool)
- func (o *StraightBetV3) GetPTeam2Score() float64
- func (o *StraightBetV3) GetPTeam2ScoreOk() (*float64, bool)
- func (o *StraightBetV3) GetPeriodNumber() int
- func (o *StraightBetV3) GetPeriodNumberOk() (*int, bool)
- func (o *StraightBetV3) GetPitcher1() string
- func (o *StraightBetV3) GetPitcher1MustStart() bool
- func (o *StraightBetV3) GetPitcher1MustStartOk() (*bool, bool)
- func (o *StraightBetV3) GetPitcher1Ok() (*string, bool)
- func (o *StraightBetV3) GetPitcher2() string
- func (o *StraightBetV3) GetPitcher2MustStart() bool
- func (o *StraightBetV3) GetPitcher2MustStartOk() (*bool, bool)
- func (o *StraightBetV3) GetPitcher2Ok() (*string, bool)
- func (o *StraightBetV3) GetPlacedAt() time.Time
- func (o *StraightBetV3) GetPlacedAtOk() (*time.Time, bool)
- func (o *StraightBetV3) GetPrice() float64
- func (o *StraightBetV3) GetPriceOk() (*float64, bool)
- func (o *StraightBetV3) GetRisk() float64
- func (o *StraightBetV3) GetRiskOk() (*float64, bool)
- func (o *StraightBetV3) GetSide() string
- func (o *StraightBetV3) GetSideOk() (*string, bool)
- func (o *StraightBetV3) GetSportId() int
- func (o *StraightBetV3) GetSportIdOk() (*int, bool)
- func (o *StraightBetV3) GetTeam1() string
- func (o *StraightBetV3) GetTeam1Ok() (*string, bool)
- func (o *StraightBetV3) GetTeam1Score() float64
- func (o *StraightBetV3) GetTeam1ScoreOk() (*float64, bool)
- func (o *StraightBetV3) GetTeam2() string
- func (o *StraightBetV3) GetTeam2Ok() (*string, bool)
- func (o *StraightBetV3) GetTeam2Score() float64
- func (o *StraightBetV3) GetTeam2ScoreOk() (*float64, bool)
- func (o *StraightBetV3) GetTeamName() string
- func (o *StraightBetV3) GetTeamNameOk() (*string, bool)
- func (o *StraightBetV3) GetUpdateSequence() int64
- func (o *StraightBetV3) GetUpdateSequenceOk() (*int64, bool)
- func (o *StraightBetV3) GetWagerNumber() int
- func (o *StraightBetV3) GetWagerNumberOk() (*int, bool)
- func (o *StraightBetV3) GetWin() float64
- func (o *StraightBetV3) GetWinLoss() float64
- func (o *StraightBetV3) GetWinLossOk() (*float64, bool)
- func (o *StraightBetV3) GetWinOk() (*float64, bool)
- func (o *StraightBetV3) HasCustomerCommission() bool
- func (o *StraightBetV3) HasEventId() bool
- func (o *StraightBetV3) HasEventStartTime() bool
- func (o *StraightBetV3) HasFtTeam1Score() bool
- func (o *StraightBetV3) HasFtTeam2Score() bool
- func (o *StraightBetV3) HasHandicap() bool
- func (o *StraightBetV3) HasLeagueId() bool
- func (o *StraightBetV3) HasPTeam1Score() bool
- func (o *StraightBetV3) HasPTeam2Score() bool
- func (o *StraightBetV3) HasPeriodNumber() bool
- func (o *StraightBetV3) HasPitcher1() bool
- func (o *StraightBetV3) HasPitcher1MustStart() bool
- func (o *StraightBetV3) HasPitcher2() bool
- func (o *StraightBetV3) HasPitcher2MustStart() bool
- func (o *StraightBetV3) HasPrice() bool
- func (o *StraightBetV3) HasSide() bool
- func (o *StraightBetV3) HasSportId() bool
- func (o *StraightBetV3) HasTeam1() bool
- func (o *StraightBetV3) HasTeam1Score() bool
- func (o *StraightBetV3) HasTeam2() bool
- func (o *StraightBetV3) HasTeam2Score() bool
- func (o *StraightBetV3) HasTeamName() bool
- func (o *StraightBetV3) HasWinLoss() bool
- func (o StraightBetV3) MarshalJSON() ([]byte, error)
- func (o *StraightBetV3) SetBetId(v int64)
- func (o *StraightBetV3) SetBetStatus(v string)
- func (o *StraightBetV3) SetBetType(v string)
- func (o *StraightBetV3) SetCustomerCommission(v float64)
- func (o *StraightBetV3) SetEventId(v int64)
- func (o *StraightBetV3) SetEventStartTime(v time.Time)
- func (o *StraightBetV3) SetFtTeam1Score(v float64)
- func (o *StraightBetV3) SetFtTeam2Score(v float64)
- func (o *StraightBetV3) SetHandicap(v float64)
- func (o *StraightBetV3) SetLeagueId(v int)
- func (o *StraightBetV3) SetOddsFormat(v OddsFormat)
- func (o *StraightBetV3) SetPTeam1Score(v float64)
- func (o *StraightBetV3) SetPTeam2Score(v float64)
- func (o *StraightBetV3) SetPeriodNumber(v int)
- func (o *StraightBetV3) SetPitcher1(v string)
- func (o *StraightBetV3) SetPitcher1MustStart(v bool)
- func (o *StraightBetV3) SetPitcher2(v string)
- func (o *StraightBetV3) SetPitcher2MustStart(v bool)
- func (o *StraightBetV3) SetPlacedAt(v time.Time)
- func (o *StraightBetV3) SetPrice(v float64)
- func (o *StraightBetV3) SetRisk(v float64)
- func (o *StraightBetV3) SetSide(v string)
- func (o *StraightBetV3) SetSportId(v int)
- func (o *StraightBetV3) SetTeam1(v string)
- func (o *StraightBetV3) SetTeam1Score(v float64)
- func (o *StraightBetV3) SetTeam2(v string)
- func (o *StraightBetV3) SetTeam2Score(v float64)
- func (o *StraightBetV3) SetTeamName(v string)
- func (o *StraightBetV3) SetUpdateSequence(v int64)
- func (o *StraightBetV3) SetWagerNumber(v int)
- func (o *StraightBetV3) SetWin(v float64)
- func (o *StraightBetV3) SetWinLoss(v float64)
- type SuccessfulCurrenciesResponse
- func (o *SuccessfulCurrenciesResponse) GetCurrencies() []Currency
- func (o *SuccessfulCurrenciesResponse) GetCurrenciesOk() (*[]Currency, bool)
- func (o *SuccessfulCurrenciesResponse) HasCurrencies() bool
- func (o SuccessfulCurrenciesResponse) MarshalJSON() ([]byte, error)
- func (o *SuccessfulCurrenciesResponse) SetCurrencies(v []Currency)
- type TeaserBet
- func (o *TeaserBet) GetBetId() int64
- func (o *TeaserBet) GetBetIdOk() (*int64, bool)
- func (o *TeaserBet) GetBetStatus() string
- func (o *TeaserBet) GetBetStatusOk() (*string, bool)
- func (o *TeaserBet) GetBetType() string
- func (o *TeaserBet) GetBetTypeOk() (*string, bool)
- func (o *TeaserBet) GetCancellationReason() CancellationReason
- func (o *TeaserBet) GetCancellationReasonOk() (*CancellationReason, bool)
- func (o *TeaserBet) GetCustomerCommission() float64
- func (o *TeaserBet) GetCustomerCommissionOk() (*float64, bool)
- func (o *TeaserBet) GetFinalPrice() float64
- func (o *TeaserBet) GetFinalPriceOk() (*float64, bool)
- func (o *TeaserBet) GetIsSameEventOnly() bool
- func (o *TeaserBet) GetIsSameEventOnlyOk() (*bool, bool)
- func (o *TeaserBet) GetLegs() []TeaserLeg
- func (o *TeaserBet) GetLegsOk() (*[]TeaserLeg, bool)
- func (o *TeaserBet) GetMaxPicks() float64
- func (o *TeaserBet) GetMaxPicksOk() (*float64, bool)
- func (o *TeaserBet) GetMinPicks() float64
- func (o *TeaserBet) GetMinPicksOk() (*float64, bool)
- func (o *TeaserBet) GetOddsFormat() OddsFormat
- func (o *TeaserBet) GetOddsFormatOk() (*OddsFormat, bool)
- func (o *TeaserBet) GetPlacedAt() time.Time
- func (o *TeaserBet) GetPlacedAtOk() (*time.Time, bool)
- func (o *TeaserBet) GetPrice() float64
- func (o *TeaserBet) GetPriceOk() (*float64, bool)
- func (o *TeaserBet) GetRisk() float64
- func (o *TeaserBet) GetRiskOk() (*float64, bool)
- func (o *TeaserBet) GetTeaserGroupId() float32
- func (o *TeaserBet) GetTeaserGroupIdOk() (*float32, bool)
- func (o *TeaserBet) GetTeaserId() float32
- func (o *TeaserBet) GetTeaserIdOk() (*float32, bool)
- func (o *TeaserBet) GetTeaserName() string
- func (o *TeaserBet) GetTeaserNameOk() (*string, bool)
- func (o *TeaserBet) GetUniqueRequestId() string
- func (o *TeaserBet) GetUniqueRequestIdOk() (*string, bool)
- func (o *TeaserBet) GetUpdateSequence() int64
- func (o *TeaserBet) GetUpdateSequenceOk() (*int64, bool)
- func (o *TeaserBet) GetWagerNumber() int
- func (o *TeaserBet) GetWagerNumberOk() (*int, bool)
- func (o *TeaserBet) GetWin() float64
- func (o *TeaserBet) GetWinLoss() float64
- func (o *TeaserBet) GetWinLossOk() (*float64, bool)
- func (o *TeaserBet) GetWinOk() (*float64, bool)
- func (o *TeaserBet) HasCancellationReason() bool
- func (o *TeaserBet) HasCustomerCommission() bool
- func (o *TeaserBet) HasFinalPrice() bool
- func (o *TeaserBet) HasPrice() bool
- func (o *TeaserBet) HasTeaserGroupId() bool
- func (o *TeaserBet) HasTeaserId() bool
- func (o *TeaserBet) HasUniqueRequestId() bool
- func (o *TeaserBet) HasWinLoss() bool
- func (o TeaserBet) MarshalJSON() ([]byte, error)
- func (o *TeaserBet) SetBetId(v int64)
- func (o *TeaserBet) SetBetStatus(v string)
- func (o *TeaserBet) SetBetType(v string)
- func (o *TeaserBet) SetCancellationReason(v CancellationReason)
- func (o *TeaserBet) SetCustomerCommission(v float64)
- func (o *TeaserBet) SetFinalPrice(v float64)
- func (o *TeaserBet) SetIsSameEventOnly(v bool)
- func (o *TeaserBet) SetLegs(v []TeaserLeg)
- func (o *TeaserBet) SetMaxPicks(v float64)
- func (o *TeaserBet) SetMinPicks(v float64)
- func (o *TeaserBet) SetOddsFormat(v OddsFormat)
- func (o *TeaserBet) SetPlacedAt(v time.Time)
- func (o *TeaserBet) SetPrice(v float64)
- func (o *TeaserBet) SetRisk(v float64)
- func (o *TeaserBet) SetTeaserGroupId(v float32)
- func (o *TeaserBet) SetTeaserId(v float32)
- func (o *TeaserBet) SetTeaserName(v string)
- func (o *TeaserBet) SetUniqueRequestId(v string)
- func (o *TeaserBet) SetUpdateSequence(v int64)
- func (o *TeaserBet) SetWagerNumber(v int)
- func (o *TeaserBet) SetWin(v float64)
- func (o *TeaserBet) SetWinLoss(v float64)
- type TeaserGroups
- func (o *TeaserGroups) GetId() int64
- func (o *TeaserGroups) GetIdOk() (*int64, bool)
- func (o *TeaserGroups) GetName() string
- func (o *TeaserGroups) GetNameOk() (*string, bool)
- func (o *TeaserGroups) GetTeasers() []TeaserGroupsTeaser
- func (o *TeaserGroups) GetTeasersOk() (*[]TeaserGroupsTeaser, bool)
- func (o *TeaserGroups) HasId() bool
- func (o *TeaserGroups) HasName() bool
- func (o *TeaserGroups) HasTeasers() bool
- func (o TeaserGroups) MarshalJSON() ([]byte, error)
- func (o *TeaserGroups) SetId(v int64)
- func (o *TeaserGroups) SetName(v string)
- func (o *TeaserGroups) SetTeasers(v []TeaserGroupsTeaser)
- type TeaserGroupsBetType
- type TeaserGroupsLeague
- func (o *TeaserGroupsLeague) GetId() int
- func (o *TeaserGroupsLeague) GetIdOk() (*int, bool)
- func (o *TeaserGroupsLeague) GetSpread() TeaserGroupsBetType
- func (o *TeaserGroupsLeague) GetSpreadOk() (*TeaserGroupsBetType, bool)
- func (o *TeaserGroupsLeague) GetTotal() TeaserGroupsBetType
- func (o *TeaserGroupsLeague) GetTotalOk() (*TeaserGroupsBetType, bool)
- func (o *TeaserGroupsLeague) HasId() bool
- func (o *TeaserGroupsLeague) HasSpread() bool
- func (o *TeaserGroupsLeague) HasTotal() bool
- func (o TeaserGroupsLeague) MarshalJSON() ([]byte, error)
- func (o *TeaserGroupsLeague) SetId(v int)
- func (o *TeaserGroupsLeague) SetSpread(v TeaserGroupsBetType)
- func (o *TeaserGroupsLeague) SetTotal(v TeaserGroupsBetType)
- type TeaserGroupsPayout
- func (o *TeaserGroupsPayout) GetNumberOfLegs() int
- func (o *TeaserGroupsPayout) GetNumberOfLegsOk() (*int, bool)
- func (o *TeaserGroupsPayout) GetPrice() float64
- func (o *TeaserGroupsPayout) GetPriceOk() (*float64, bool)
- func (o *TeaserGroupsPayout) HasNumberOfLegs() bool
- func (o *TeaserGroupsPayout) HasPrice() bool
- func (o TeaserGroupsPayout) MarshalJSON() ([]byte, error)
- func (o *TeaserGroupsPayout) SetNumberOfLegs(v int)
- func (o *TeaserGroupsPayout) SetPrice(v float64)
- type TeaserGroupsResponse
- func (o *TeaserGroupsResponse) GetTeaserGroups() []TeaserGroups
- func (o *TeaserGroupsResponse) GetTeaserGroupsOk() (*[]TeaserGroups, bool)
- func (o *TeaserGroupsResponse) HasTeaserGroups() bool
- func (o TeaserGroupsResponse) MarshalJSON() ([]byte, error)
- func (o *TeaserGroupsResponse) SetTeaserGroups(v []TeaserGroups)
- type TeaserGroupsTeaser
- func (o *TeaserGroupsTeaser) GetDescription() string
- func (o *TeaserGroupsTeaser) GetDescriptionOk() (*string, bool)
- func (o *TeaserGroupsTeaser) GetId() int64
- func (o *TeaserGroupsTeaser) GetIdOk() (*int64, bool)
- func (o *TeaserGroupsTeaser) GetLeagues() []TeaserGroupsLeague
- func (o *TeaserGroupsTeaser) GetLeaguesOk() (*[]TeaserGroupsLeague, bool)
- func (o *TeaserGroupsTeaser) GetMaxLegs() int
- func (o *TeaserGroupsTeaser) GetMaxLegsOk() (*int, bool)
- func (o *TeaserGroupsTeaser) GetMinLegs() int
- func (o *TeaserGroupsTeaser) GetMinLegsOk() (*int, bool)
- func (o *TeaserGroupsTeaser) GetPayouts() []TeaserGroupsPayout
- func (o *TeaserGroupsTeaser) GetPayoutsOk() (*[]TeaserGroupsPayout, bool)
- func (o *TeaserGroupsTeaser) GetSameEventOnly() bool
- func (o *TeaserGroupsTeaser) GetSameEventOnlyOk() (*bool, bool)
- func (o *TeaserGroupsTeaser) GetSportId() int
- func (o *TeaserGroupsTeaser) GetSportIdOk() (*int, bool)
- func (o *TeaserGroupsTeaser) HasDescription() bool
- func (o *TeaserGroupsTeaser) HasId() bool
- func (o *TeaserGroupsTeaser) HasLeagues() bool
- func (o *TeaserGroupsTeaser) HasMaxLegs() bool
- func (o *TeaserGroupsTeaser) HasMinLegs() bool
- func (o *TeaserGroupsTeaser) HasPayouts() bool
- func (o *TeaserGroupsTeaser) HasSameEventOnly() bool
- func (o *TeaserGroupsTeaser) HasSportId() bool
- func (o TeaserGroupsTeaser) MarshalJSON() ([]byte, error)
- func (o *TeaserGroupsTeaser) SetDescription(v string)
- func (o *TeaserGroupsTeaser) SetId(v int64)
- func (o *TeaserGroupsTeaser) SetLeagues(v []TeaserGroupsLeague)
- func (o *TeaserGroupsTeaser) SetMaxLegs(v int)
- func (o *TeaserGroupsTeaser) SetMinLegs(v int)
- func (o *TeaserGroupsTeaser) SetPayouts(v []TeaserGroupsPayout)
- func (o *TeaserGroupsTeaser) SetSameEventOnly(v bool)
- func (o *TeaserGroupsTeaser) SetSportId(v int)
- type TeaserLeg
- func (o *TeaserLeg) GetEventId() int64
- func (o *TeaserLeg) GetEventIdOk() (*int64, bool)
- func (o *TeaserLeg) GetEventStartTime() time.Time
- func (o *TeaserLeg) GetEventStartTimeOk() (*time.Time, bool)
- func (o *TeaserLeg) GetHandicap() float64
- func (o *TeaserLeg) GetHandicapOk() (*float64, bool)
- func (o *TeaserLeg) GetLeagueId() int
- func (o *TeaserLeg) GetLeagueIdOk() (*int, bool)
- func (o *TeaserLeg) GetLegBetStatus() string
- func (o *TeaserLeg) GetLegBetStatusOk() (*string, bool)
- func (o *TeaserLeg) GetLegBetType() string
- func (o *TeaserLeg) GetLegBetTypeOk() (*string, bool)
- func (o *TeaserLeg) GetPeriodNumber() int
- func (o *TeaserLeg) GetPeriodNumberOk() (*int, bool)
- func (o *TeaserLeg) GetSide() string
- func (o *TeaserLeg) GetSideOk() (*string, bool)
- func (o *TeaserLeg) GetSportId() int
- func (o *TeaserLeg) GetSportIdOk() (*int, bool)
- func (o *TeaserLeg) GetTeam1() string
- func (o *TeaserLeg) GetTeam1Ok() (*string, bool)
- func (o *TeaserLeg) GetTeam2() string
- func (o *TeaserLeg) GetTeam2Ok() (*string, bool)
- func (o *TeaserLeg) GetTeamName() string
- func (o *TeaserLeg) GetTeamNameOk() (*string, bool)
- func (o *TeaserLeg) HasEventId() bool
- func (o *TeaserLeg) HasEventStartTime() bool
- func (o *TeaserLeg) HasHandicap() bool
- func (o *TeaserLeg) HasLeagueId() bool
- func (o *TeaserLeg) HasLegBetStatus() bool
- func (o *TeaserLeg) HasLegBetType() bool
- func (o *TeaserLeg) HasPeriodNumber() bool
- func (o *TeaserLeg) HasSide() bool
- func (o *TeaserLeg) HasSportId() bool
- func (o *TeaserLeg) HasTeam1() bool
- func (o *TeaserLeg) HasTeam2() bool
- func (o *TeaserLeg) HasTeamName() bool
- func (o TeaserLeg) MarshalJSON() ([]byte, error)
- func (o *TeaserLeg) SetEventId(v int64)
- func (o *TeaserLeg) SetEventStartTime(v time.Time)
- func (o *TeaserLeg) SetHandicap(v float64)
- func (o *TeaserLeg) SetLeagueId(v int)
- func (o *TeaserLeg) SetLegBetStatus(v string)
- func (o *TeaserLeg) SetLegBetType(v string)
- func (o *TeaserLeg) SetPeriodNumber(v int)
- func (o *TeaserLeg) SetSide(v string)
- func (o *TeaserLeg) SetSportId(v int)
- func (o *TeaserLeg) SetTeam1(v string)
- func (o *TeaserLeg) SetTeam2(v string)
- func (o *TeaserLeg) SetTeamName(v string)
- type Translation
- func (o *Translation) GetCultures() []TranslationByCulture
- func (o *Translation) GetCulturesOk() (*[]TranslationByCulture, bool)
- func (o *Translation) GetText() string
- func (o *Translation) GetTextOk() (*string, bool)
- func (o *Translation) HasCultures() bool
- func (o *Translation) HasText() bool
- func (o Translation) MarshalJSON() ([]byte, error)
- func (o *Translation) SetCultures(v []TranslationByCulture)
- func (o *Translation) SetText(v string)
- type TranslationByCulture
- func (o *TranslationByCulture) GetId() string
- func (o *TranslationByCulture) GetIdOk() (*string, bool)
- func (o *TranslationByCulture) GetText() string
- func (o *TranslationByCulture) GetTextOk() (*string, bool)
- func (o *TranslationByCulture) HasId() bool
- func (o *TranslationByCulture) HasText() bool
- func (o TranslationByCulture) MarshalJSON() ([]byte, error)
- func (o *TranslationByCulture) SetId(v string)
- func (o *TranslationByCulture) SetText(v string)
- type TranslationResponse
- func (o *TranslationResponse) GetTranslations() []Translation
- func (o *TranslationResponse) GetTranslationsOk() (*[]Translation, bool)
- func (o *TranslationResponse) HasTranslations() bool
- func (o TranslationResponse) MarshalJSON() ([]byte, error)
- func (o *TranslationResponse) SetTranslations(v []Translation)
- type WinRiskStake
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 { BettingStatusApi *BettingStatusApiService ClientBalanceApi *ClientBalanceApiService FixturesApi *FixturesApiService GetBetsApi *GetBetsApiService GetTranslationsApi *GetTranslationsApiService LineApi *LineApiService OddsApi *OddsApiService OthersApi *OthersApiService PlaceBetsApi *PlaceBetsApiService // contains filtered or unexported fields }
APIClient manages communication with the Pinnacle - Customer API Reference 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 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 BettingStatusApiService ¶
type BettingStatusApiService service
BettingStatusApiService BettingStatusApi service
func (*BettingStatusApiService) BetsGetBettingStatus ¶
func (a *BettingStatusApiService) BetsGetBettingStatus(ctx _context.Context) apiBetsGetBettingStatusRequest
BetsGetBettingStatus Get Betting Status Returns current betting status. During maintenance windows betting could be disabled, you can call this operation to check the current betting status.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiBetsGetBettingStatusRequest
type BettingStatusResponse ¶
type BettingStatusResponse struct { // Betting status. Status string `json:"status"` }
BettingStatusResponse struct for BettingStatusResponse
func NewBettingStatusResponse ¶
func NewBettingStatusResponse(status string) *BettingStatusResponse
NewBettingStatusResponse instantiates a new BettingStatusResponse 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 NewBettingStatusResponseWithDefaults ¶
func NewBettingStatusResponseWithDefaults() *BettingStatusResponse
NewBettingStatusResponseWithDefaults instantiates a new BettingStatusResponse 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 (*BettingStatusResponse) GetStatus ¶
func (o *BettingStatusResponse) GetStatus() string
GetStatus returns the Status field value
func (*BettingStatusResponse) GetStatusOk ¶
func (o *BettingStatusResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (BettingStatusResponse) MarshalJSON ¶
func (o BettingStatusResponse) MarshalJSON() ([]byte, error)
func (*BettingStatusResponse) SetStatus ¶
func (o *BettingStatusResponse) SetStatus(v string)
SetStatus sets field value
type CancellationDetailsItem ¶
type CancellationDetailsItem struct { Key *string `json:"key,omitempty"` Value *string `json:"value,omitempty"` }
CancellationDetailsItem struct for CancellationDetailsItem
func NewCancellationDetailsItem ¶
func NewCancellationDetailsItem() *CancellationDetailsItem
NewCancellationDetailsItem instantiates a new CancellationDetailsItem 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 NewCancellationDetailsItemWithDefaults ¶
func NewCancellationDetailsItemWithDefaults() *CancellationDetailsItem
NewCancellationDetailsItemWithDefaults instantiates a new CancellationDetailsItem 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 (*CancellationDetailsItem) GetKey ¶
func (o *CancellationDetailsItem) GetKey() string
GetKey returns the Key field value if set, zero value otherwise.
func (*CancellationDetailsItem) GetKeyOk ¶
func (o *CancellationDetailsItem) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CancellationDetailsItem) GetValue ¶
func (o *CancellationDetailsItem) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*CancellationDetailsItem) GetValueOk ¶
func (o *CancellationDetailsItem) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CancellationDetailsItem) HasKey ¶
func (o *CancellationDetailsItem) HasKey() bool
HasKey returns a boolean if a field has been set.
func (*CancellationDetailsItem) HasValue ¶
func (o *CancellationDetailsItem) HasValue() bool
HasValue returns a boolean if a field has been set.
func (CancellationDetailsItem) MarshalJSON ¶
func (o CancellationDetailsItem) MarshalJSON() ([]byte, error)
func (*CancellationDetailsItem) SetKey ¶
func (o *CancellationDetailsItem) SetKey(v string)
SetKey gets a reference to the given string and assigns it to the Key field.
func (*CancellationDetailsItem) SetValue ¶
func (o *CancellationDetailsItem) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
type CancellationReason ¶
type CancellationReason struct { Code string `json:"code"` Details *[]CancellationDetailsItem `json:"details,omitempty"` }
CancellationReason Possible keys \\: * correctTeam1Id * correctTeam2Id * correctListedPitcher1 * correctListedPitcher2 * correctSpread * correctTotalPoints * correctTeam1TotalPoints * correctTeam2TotalPoints * correctTeam1Score * correctTeam2Score * correctTeam1TennisSetsScore * correctTeam2TennisSetsScore
func NewCancellationReason ¶
func NewCancellationReason(code string) *CancellationReason
NewCancellationReason instantiates a new CancellationReason 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 NewCancellationReasonWithDefaults ¶
func NewCancellationReasonWithDefaults() *CancellationReason
NewCancellationReasonWithDefaults instantiates a new CancellationReason 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 (*CancellationReason) GetCode ¶
func (o *CancellationReason) GetCode() string
GetCode returns the Code field value
func (*CancellationReason) GetCodeOk ¶
func (o *CancellationReason) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*CancellationReason) GetDetails ¶
func (o *CancellationReason) GetDetails() []CancellationDetailsItem
GetDetails returns the Details field value if set, zero value otherwise.
func (*CancellationReason) GetDetailsOk ¶
func (o *CancellationReason) GetDetailsOk() (*[]CancellationDetailsItem, bool)
GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CancellationReason) HasDetails ¶
func (o *CancellationReason) HasDetails() bool
HasDetails returns a boolean if a field has been set.
func (CancellationReason) MarshalJSON ¶
func (o CancellationReason) MarshalJSON() ([]byte, error)
func (*CancellationReason) SetCode ¶
func (o *CancellationReason) SetCode(v string)
SetCode sets field value
func (*CancellationReason) SetDetails ¶
func (o *CancellationReason) SetDetails(v []CancellationDetailsItem)
SetDetails gets a reference to the given []CancellationDetailsItem and assigns it to the Details field.
type CancellationReasonDetailsType ¶
type CancellationReasonDetailsType struct { Key *string `json:"key,omitempty"` Value *string `json:"value,omitempty"` }
CancellationReasonDetailsType struct for CancellationReasonDetailsType
func NewCancellationReasonDetailsType ¶
func NewCancellationReasonDetailsType() *CancellationReasonDetailsType
NewCancellationReasonDetailsType instantiates a new CancellationReasonDetailsType 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 NewCancellationReasonDetailsTypeWithDefaults ¶
func NewCancellationReasonDetailsTypeWithDefaults() *CancellationReasonDetailsType
NewCancellationReasonDetailsTypeWithDefaults instantiates a new CancellationReasonDetailsType 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 (*CancellationReasonDetailsType) GetKey ¶
func (o *CancellationReasonDetailsType) GetKey() string
GetKey returns the Key field value if set, zero value otherwise.
func (*CancellationReasonDetailsType) GetKeyOk ¶
func (o *CancellationReasonDetailsType) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CancellationReasonDetailsType) GetValue ¶
func (o *CancellationReasonDetailsType) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*CancellationReasonDetailsType) GetValueOk ¶
func (o *CancellationReasonDetailsType) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CancellationReasonDetailsType) HasKey ¶
func (o *CancellationReasonDetailsType) HasKey() bool
HasKey returns a boolean if a field has been set.
func (*CancellationReasonDetailsType) HasValue ¶
func (o *CancellationReasonDetailsType) HasValue() bool
HasValue returns a boolean if a field has been set.
func (CancellationReasonDetailsType) MarshalJSON ¶
func (o CancellationReasonDetailsType) MarshalJSON() ([]byte, error)
func (*CancellationReasonDetailsType) SetKey ¶
func (o *CancellationReasonDetailsType) SetKey(v string)
SetKey gets a reference to the given string and assigns it to the Key field.
func (*CancellationReasonDetailsType) SetValue ¶
func (o *CancellationReasonDetailsType) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
type CancellationReasonResponse ¶
type CancellationReasonResponse struct { // Contains a list of Cancellation Reasons. CancellationReasons *[]CancellationReason `json:"cancellationReasons,omitempty"` }
CancellationReasonResponse Cancellation Response Data
func NewCancellationReasonResponse ¶
func NewCancellationReasonResponse() *CancellationReasonResponse
NewCancellationReasonResponse instantiates a new CancellationReasonResponse 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 NewCancellationReasonResponseWithDefaults ¶
func NewCancellationReasonResponseWithDefaults() *CancellationReasonResponse
NewCancellationReasonResponseWithDefaults instantiates a new CancellationReasonResponse 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 (*CancellationReasonResponse) GetCancellationReasons ¶
func (o *CancellationReasonResponse) GetCancellationReasons() []CancellationReason
GetCancellationReasons returns the CancellationReasons field value if set, zero value otherwise.
func (*CancellationReasonResponse) GetCancellationReasonsOk ¶
func (o *CancellationReasonResponse) GetCancellationReasonsOk() (*[]CancellationReason, bool)
GetCancellationReasonsOk returns a tuple with the CancellationReasons field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CancellationReasonResponse) HasCancellationReasons ¶
func (o *CancellationReasonResponse) HasCancellationReasons() bool
HasCancellationReasons returns a boolean if a field has been set.
func (CancellationReasonResponse) MarshalJSON ¶
func (o CancellationReasonResponse) MarshalJSON() ([]byte, error)
func (*CancellationReasonResponse) SetCancellationReasons ¶
func (o *CancellationReasonResponse) SetCancellationReasons(v []CancellationReason)
SetCancellationReasons gets a reference to the given []CancellationReason and assigns it to the CancellationReasons field.
type CancellationReasonType ¶
type CancellationReasonType struct { // Cancellation Reason Code Code *string `json:"code,omitempty"` Details *CancellationReasonDetailsType `json:"details,omitempty"` }
CancellationReasonType struct for CancellationReasonType
func NewCancellationReasonType ¶
func NewCancellationReasonType() *CancellationReasonType
NewCancellationReasonType instantiates a new CancellationReasonType 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 NewCancellationReasonTypeWithDefaults ¶
func NewCancellationReasonTypeWithDefaults() *CancellationReasonType
NewCancellationReasonTypeWithDefaults instantiates a new CancellationReasonType 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 (*CancellationReasonType) GetCode ¶
func (o *CancellationReasonType) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*CancellationReasonType) GetCodeOk ¶
func (o *CancellationReasonType) 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 (*CancellationReasonType) GetDetails ¶
func (o *CancellationReasonType) GetDetails() CancellationReasonDetailsType
GetDetails returns the Details field value if set, zero value otherwise.
func (*CancellationReasonType) GetDetailsOk ¶
func (o *CancellationReasonType) GetDetailsOk() (*CancellationReasonDetailsType, bool)
GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CancellationReasonType) HasCode ¶
func (o *CancellationReasonType) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*CancellationReasonType) HasDetails ¶
func (o *CancellationReasonType) HasDetails() bool
HasDetails returns a boolean if a field has been set.
func (CancellationReasonType) MarshalJSON ¶
func (o CancellationReasonType) MarshalJSON() ([]byte, error)
func (*CancellationReasonType) SetCode ¶
func (o *CancellationReasonType) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*CancellationReasonType) SetDetails ¶
func (o *CancellationReasonType) SetDetails(v CancellationReasonDetailsType)
SetDetails gets a reference to the given CancellationReasonDetailsType and assigns it to the Details field.
type ClientBalanceApiService ¶
type ClientBalanceApiService service
ClientBalanceApiService ClientBalanceApi service
func (*ClientBalanceApiService) ClientBalanceV1Get ¶
func (a *ClientBalanceApiService) ClientBalanceV1Get(ctx _context.Context) apiClientBalanceV1GetRequest
ClientBalanceV1Get Get Client Balance - v1 Returns current client balance.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiClientBalanceV1GetRequest
type ClientBalanceResponse ¶
type ClientBalanceResponse struct { // Amount available for betting. AvailableBalance float64 `json:"availableBalance"` // Sum of not yet settled bet amounts. OutstandingTransactions float64 `json:"outstandingTransactions"` // Client’s credit. GivenCredit float64 `json:"givenCredit"` // Client’s currency code. Currency string `json:"currency"` }
ClientBalanceResponse Client Balance Details
func NewClientBalanceResponse ¶
func NewClientBalanceResponse(availableBalance float64, outstandingTransactions float64, givenCredit float64, currency string) *ClientBalanceResponse
NewClientBalanceResponse instantiates a new ClientBalanceResponse 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 NewClientBalanceResponseWithDefaults ¶
func NewClientBalanceResponseWithDefaults() *ClientBalanceResponse
NewClientBalanceResponseWithDefaults instantiates a new ClientBalanceResponse 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 (*ClientBalanceResponse) GetAvailableBalance ¶
func (o *ClientBalanceResponse) GetAvailableBalance() float64
GetAvailableBalance returns the AvailableBalance field value
func (*ClientBalanceResponse) GetAvailableBalanceOk ¶
func (o *ClientBalanceResponse) GetAvailableBalanceOk() (*float64, bool)
GetAvailableBalanceOk returns a tuple with the AvailableBalance field value and a boolean to check if the value has been set.
func (*ClientBalanceResponse) GetCurrency ¶
func (o *ClientBalanceResponse) GetCurrency() string
GetCurrency returns the Currency field value
func (*ClientBalanceResponse) GetCurrencyOk ¶
func (o *ClientBalanceResponse) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.
func (*ClientBalanceResponse) GetGivenCredit ¶
func (o *ClientBalanceResponse) GetGivenCredit() float64
GetGivenCredit returns the GivenCredit field value
func (*ClientBalanceResponse) GetGivenCreditOk ¶
func (o *ClientBalanceResponse) GetGivenCreditOk() (*float64, bool)
GetGivenCreditOk returns a tuple with the GivenCredit field value and a boolean to check if the value has been set.
func (*ClientBalanceResponse) GetOutstandingTransactions ¶
func (o *ClientBalanceResponse) GetOutstandingTransactions() float64
GetOutstandingTransactions returns the OutstandingTransactions field value
func (*ClientBalanceResponse) GetOutstandingTransactionsOk ¶
func (o *ClientBalanceResponse) GetOutstandingTransactionsOk() (*float64, bool)
GetOutstandingTransactionsOk returns a tuple with the OutstandingTransactions field value and a boolean to check if the value has been set.
func (ClientBalanceResponse) MarshalJSON ¶
func (o ClientBalanceResponse) MarshalJSON() ([]byte, error)
func (*ClientBalanceResponse) SetAvailableBalance ¶
func (o *ClientBalanceResponse) SetAvailableBalance(v float64)
SetAvailableBalance sets field value
func (*ClientBalanceResponse) SetCurrency ¶
func (o *ClientBalanceResponse) SetCurrency(v string)
SetCurrency sets field value
func (*ClientBalanceResponse) SetGivenCredit ¶
func (o *ClientBalanceResponse) SetGivenCredit(v float64)
SetGivenCredit sets field value
func (*ClientBalanceResponse) SetOutstandingTransactions ¶
func (o *ClientBalanceResponse) SetOutstandingTransactions(v float64)
SetOutstandingTransactions 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 Currency ¶
type Currency struct { // Currency code. Code *string `json:"code,omitempty"` // Currency name. Name *string `json:"name,omitempty"` // Exchange rate to USD. Rate *float64 `json:"rate,omitempty"` }
Currency struct for Currency
func NewCurrency ¶
func NewCurrency() *Currency
NewCurrency instantiates a new Currency 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 NewCurrencyWithDefaults ¶
func NewCurrencyWithDefaults() *Currency
NewCurrencyWithDefaults instantiates a new Currency 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 (*Currency) GetCodeOk ¶
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 (*Currency) 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 (*Currency) GetRateOk ¶
GetRateOk returns a tuple with the Rate field value if set, nil otherwise and a boolean to check if the value has been set.
func (Currency) MarshalJSON ¶
func (*Currency) SetCode ¶
SetCode gets a reference to the given string and assigns it to the Code field.
type ErrorCode ¶
type ErrorCode string
ErrorCode If Status is PROCESSED_WITH_ERROR, errorCode will be in the response. ALL_BETTING_CLOSED = Betting is not allowed at this moment. This may happen during system maintenance, ALL_LIVE_BETTING_CLOSED = Live betting is not allowed at this moment. This may happen during system maintenance, ABOVE_EVENT_MAX = Bet cannot be placed because client exceeded allowed maximum of risk on a line, ABOVE_MAX_BET_AMOUNT = Stake is above allowed maximum amount, BELOW_MIN_BET_AMOUNT = Stake is below allowed minimum amount, BLOCKED_BETTING = Betting is suspended for the client, BLOCKED_CLIENT = Client is no longer active, INSUFFICIENT_FUNDS = Bet is submitted by a client with insufficient funds, INVALID_COUNTRY = Client country is not allowed for betting, INVALID_EVENT = Invalid eventid, INVALID_ODDS_FORMAT = If a bet was submitted with the odds format that is not allowed for the client, LINE_CHANGED = Bet is submitted on a line that has changed, LISTED_PITCHERS_SELECTION_ERROR = If bet was submitted with pitcher1MustStart and/or pitcher2MustStart parameters in Place Bet request with values that are not allowed, OFFLINE_EVENT = Bet is submitted on an event that is offline or the submitted line is not offered at the moment due to points/handicap change or the submitted bet type is just not offered at the moment, PAST_CUTOFFTIME = Bet is submitted on a game after the betting cutoff time, RED_CARDS_CHANGED = Bet is submitted on a live soccer event with changed red card count, SCORE_CHANGED = Bet is submitted on a live soccer event with changed score, TIME_RESTRICTION = Bet is submitted within too short of a period from the same bet previously placed by a client, DUPLICATE_UNIQUE_REQUEST_ID = Request with the same uniqueRequestId was already processed. Please set the new value if you still want the request to be processed, INCOMPLETE_CUSTOMER_BETTING_PROFILE = System configuration issue, INVALID_CUSTOMER_PROFILE = System configuration issue, LIMITS_CONFIGURATION_ISSUE = System configuration issue, RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDED = Client has reached his total loss limit, RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDED = Client has reached his total risk limit, SYSTEM_ERROR_3 = Unexpected error, LICENCE_RESTRICTION_LIVE_BETTING_BLOCKED - Live betting blocked due to licence restrictions
const ( ALL_BETTING_CLOSED ErrorCode = "ALL_BETTING_CLOSED" ALL_LIVE_BETTING_CLOSED ErrorCode = "ALL_LIVE_BETTING_CLOSED" ABOVE_EVENT_MAX ErrorCode = "ABOVE_EVENT_MAX" ABOVE_MAX_BET_AMOUNT ErrorCode = "ABOVE_MAX_BET_AMOUNT" BELOW_MIN_BET_AMOUNT ErrorCode = "BELOW_MIN_BET_AMOUNT" BLOCKED_BETTING ErrorCode = "BLOCKED_BETTING" BLOCKED_CLIENT ErrorCode = "BLOCKED_CLIENT" INSUFFICIENT_FUNDS ErrorCode = "INSUFFICIENT_FUNDS" INVALID_COUNTRY ErrorCode = "INVALID_COUNTRY" INVALID_EVENT ErrorCode = "INVALID_EVENT" INVALID_ODDS_FORMAT ErrorCode = "INVALID_ODDS_FORMAT" LINE_CHANGED ErrorCode = "LINE_CHANGED" LISTED_PITCHERS_SELECTION_ERROR ErrorCode = "LISTED_PITCHERS_SELECTION_ERROR" OFFLINE_EVENT ErrorCode = "OFFLINE_EVENT" PAST_CUTOFFTIME ErrorCode = "PAST_CUTOFFTIME" RED_CARDS_CHANGED ErrorCode = "RED_CARDS_CHANGED" SCORE_CHANGED ErrorCode = "SCORE_CHANGED" TIME_RESTRICTION ErrorCode = "TIME_RESTRICTION" DUPLICATE_UNIQUE_REQUEST_ID ErrorCode = "DUPLICATE_UNIQUE_REQUEST_ID" INCOMPLETE_CUSTOMER_BETTING_PROFILE ErrorCode = "INCOMPLETE_CUSTOMER_BETTING_PROFILE" INVALID_CUSTOMER_PROFILE ErrorCode = "INVALID_CUSTOMER_PROFILE" LIMITS_CONFIGURATION_ISSUE ErrorCode = "LIMITS_CONFIGURATION_ISSUE" RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDED ErrorCode = "RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDED" RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDED ErrorCode = "RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDED" SYSTEM_ERROR_3 ErrorCode = "SYSTEM_ERROR_3" LICENCE_RESTRICTION_LIVE_BETTING_BLOCKED ErrorCode = "LICENCE_RESTRICTION_LIVE_BETTING_BLOCKED" )
List of ErrorCode
type ErrorResponse ¶
type ErrorResponse struct { // INVALID_REQUEST_DATA = Invalid request parameters (http status 400) INVALID_CREDENTIALS = Authorization failed, invalid credentials (http status 401) INVALID_AUTHORIZATION_HEADER = HTTP Authorization header is missing (http status 401) ACCOUNT_INACTIVE = Client's account is not active (http status 403) NO_API_ACCESS = Account not permitted to access the API (http status 403) RESUBMIT_REQUEST = It can happen only when placing a bet (http status 400). Unable to process the request but the request itself is valid. This happens more often on the live betting in situations when there is more than one place bet request at the same on the same line. When this happens, we don't keep the place bet request on the server until we know if we can accept or reject the bet, but instead we return the error. It's also very likely that the line will change after that. To reduce a chance of getting RESUBMIT_REQUEST client should try to place a bet as fast as possible. Code *string `json:"code,omitempty"` Message *string `json:"message,omitempty"` }
ErrorResponse struct for ErrorResponse
func NewErrorResponse ¶
func NewErrorResponse() *ErrorResponse
NewErrorResponse instantiates a new ErrorResponse 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 NewErrorResponseWithDefaults ¶
func NewErrorResponseWithDefaults() *ErrorResponse
NewErrorResponseWithDefaults instantiates a new ErrorResponse 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 (*ErrorResponse) GetCode ¶
func (o *ErrorResponse) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*ErrorResponse) GetCodeOk ¶
func (o *ErrorResponse) 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 (*ErrorResponse) GetMessage ¶
func (o *ErrorResponse) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ErrorResponse) GetMessageOk ¶
func (o *ErrorResponse) GetMessageOk() (*string, bool)
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 (*ErrorResponse) HasCode ¶
func (o *ErrorResponse) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*ErrorResponse) HasMessage ¶
func (o *ErrorResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (ErrorResponse) MarshalJSON ¶
func (o ErrorResponse) MarshalJSON() ([]byte, error)
func (*ErrorResponse) SetCode ¶
func (o *ErrorResponse) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*ErrorResponse) SetMessage ¶
func (o *ErrorResponse) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
type ErrorResponseWithErrorRef ¶
type ErrorResponseWithErrorRef struct { Ref *string `json:"ref,omitempty"` Code *string `json:"code,omitempty"` Message *string `json:"message,omitempty"` }
ErrorResponseWithErrorRef struct for ErrorResponseWithErrorRef
func NewErrorResponseWithErrorRef ¶
func NewErrorResponseWithErrorRef() *ErrorResponseWithErrorRef
NewErrorResponseWithErrorRef instantiates a new ErrorResponseWithErrorRef 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 NewErrorResponseWithErrorRefWithDefaults ¶
func NewErrorResponseWithErrorRefWithDefaults() *ErrorResponseWithErrorRef
NewErrorResponseWithErrorRefWithDefaults instantiates a new ErrorResponseWithErrorRef 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 (*ErrorResponseWithErrorRef) GetCode ¶
func (o *ErrorResponseWithErrorRef) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*ErrorResponseWithErrorRef) GetCodeOk ¶
func (o *ErrorResponseWithErrorRef) 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 (*ErrorResponseWithErrorRef) GetMessage ¶
func (o *ErrorResponseWithErrorRef) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ErrorResponseWithErrorRef) GetMessageOk ¶
func (o *ErrorResponseWithErrorRef) GetMessageOk() (*string, bool)
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 (*ErrorResponseWithErrorRef) GetRef ¶
func (o *ErrorResponseWithErrorRef) GetRef() string
GetRef returns the Ref field value if set, zero value otherwise.
func (*ErrorResponseWithErrorRef) GetRefOk ¶
func (o *ErrorResponseWithErrorRef) GetRefOk() (*string, bool)
GetRefOk returns a tuple with the Ref field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorResponseWithErrorRef) HasCode ¶
func (o *ErrorResponseWithErrorRef) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*ErrorResponseWithErrorRef) HasMessage ¶
func (o *ErrorResponseWithErrorRef) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ErrorResponseWithErrorRef) HasRef ¶
func (o *ErrorResponseWithErrorRef) HasRef() bool
HasRef returns a boolean if a field has been set.
func (ErrorResponseWithErrorRef) MarshalJSON ¶
func (o ErrorResponseWithErrorRef) MarshalJSON() ([]byte, error)
func (*ErrorResponseWithErrorRef) SetCode ¶
func (o *ErrorResponseWithErrorRef) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*ErrorResponseWithErrorRef) SetMessage ¶
func (o *ErrorResponseWithErrorRef) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*ErrorResponseWithErrorRef) SetRef ¶
func (o *ErrorResponseWithErrorRef) SetRef(v string)
SetRef gets a reference to the given string and assigns it to the Ref field.
type ExtendedErrorResponse ¶
type ExtendedErrorResponse struct { Ref *string `json:"ref,omitempty"` Code *string `json:"code,omitempty"` Message *string `json:"message,omitempty"` }
ExtendedErrorResponse struct for ExtendedErrorResponse
func NewExtendedErrorResponse ¶
func NewExtendedErrorResponse() *ExtendedErrorResponse
NewExtendedErrorResponse instantiates a new ExtendedErrorResponse 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 NewExtendedErrorResponseWithDefaults ¶
func NewExtendedErrorResponseWithDefaults() *ExtendedErrorResponse
NewExtendedErrorResponseWithDefaults instantiates a new ExtendedErrorResponse 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 (*ExtendedErrorResponse) GetCode ¶
func (o *ExtendedErrorResponse) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*ExtendedErrorResponse) GetCodeOk ¶
func (o *ExtendedErrorResponse) 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 (*ExtendedErrorResponse) GetMessage ¶
func (o *ExtendedErrorResponse) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ExtendedErrorResponse) GetMessageOk ¶
func (o *ExtendedErrorResponse) GetMessageOk() (*string, bool)
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 (*ExtendedErrorResponse) GetRef ¶
func (o *ExtendedErrorResponse) GetRef() string
GetRef returns the Ref field value if set, zero value otherwise.
func (*ExtendedErrorResponse) GetRefOk ¶
func (o *ExtendedErrorResponse) GetRefOk() (*string, bool)
GetRefOk returns a tuple with the Ref field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExtendedErrorResponse) HasCode ¶
func (o *ExtendedErrorResponse) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*ExtendedErrorResponse) HasMessage ¶
func (o *ExtendedErrorResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ExtendedErrorResponse) HasRef ¶
func (o *ExtendedErrorResponse) HasRef() bool
HasRef returns a boolean if a field has been set.
func (ExtendedErrorResponse) MarshalJSON ¶
func (o ExtendedErrorResponse) MarshalJSON() ([]byte, error)
func (*ExtendedErrorResponse) SetCode ¶
func (o *ExtendedErrorResponse) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*ExtendedErrorResponse) SetMessage ¶
func (o *ExtendedErrorResponse) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*ExtendedErrorResponse) SetRef ¶
func (o *ExtendedErrorResponse) SetRef(v string)
SetRef gets a reference to the given string and assigns it to the Ref field.
type ExtendedLinesErrorResponse ¶
type ExtendedLinesErrorResponse struct { Ref *string `json:"ref,omitempty"` Status *string `json:"status,omitempty"` Error *ErrorResponse `json:"error,omitempty"` // Code identifying an error that occurred. Code *int `json:"code,omitempty"` }
ExtendedLinesErrorResponse struct for ExtendedLinesErrorResponse
func NewExtendedLinesErrorResponse ¶
func NewExtendedLinesErrorResponse() *ExtendedLinesErrorResponse
NewExtendedLinesErrorResponse instantiates a new ExtendedLinesErrorResponse 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 NewExtendedLinesErrorResponseWithDefaults ¶
func NewExtendedLinesErrorResponseWithDefaults() *ExtendedLinesErrorResponse
NewExtendedLinesErrorResponseWithDefaults instantiates a new ExtendedLinesErrorResponse 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 (*ExtendedLinesErrorResponse) GetCode ¶
func (o *ExtendedLinesErrorResponse) GetCode() int
GetCode returns the Code field value if set, zero value otherwise.
func (*ExtendedLinesErrorResponse) GetCodeOk ¶
func (o *ExtendedLinesErrorResponse) GetCodeOk() (*int, 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 (*ExtendedLinesErrorResponse) GetError ¶
func (o *ExtendedLinesErrorResponse) GetError() ErrorResponse
GetError returns the Error field value if set, zero value otherwise.
func (*ExtendedLinesErrorResponse) GetErrorOk ¶
func (o *ExtendedLinesErrorResponse) GetErrorOk() (*ErrorResponse, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExtendedLinesErrorResponse) GetRef ¶
func (o *ExtendedLinesErrorResponse) GetRef() string
GetRef returns the Ref field value if set, zero value otherwise.
func (*ExtendedLinesErrorResponse) GetRefOk ¶
func (o *ExtendedLinesErrorResponse) GetRefOk() (*string, bool)
GetRefOk returns a tuple with the Ref field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExtendedLinesErrorResponse) GetStatus ¶
func (o *ExtendedLinesErrorResponse) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*ExtendedLinesErrorResponse) GetStatusOk ¶
func (o *ExtendedLinesErrorResponse) 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 (*ExtendedLinesErrorResponse) HasCode ¶
func (o *ExtendedLinesErrorResponse) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*ExtendedLinesErrorResponse) HasError ¶
func (o *ExtendedLinesErrorResponse) HasError() bool
HasError returns a boolean if a field has been set.
func (*ExtendedLinesErrorResponse) HasRef ¶
func (o *ExtendedLinesErrorResponse) HasRef() bool
HasRef returns a boolean if a field has been set.
func (*ExtendedLinesErrorResponse) HasStatus ¶
func (o *ExtendedLinesErrorResponse) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (ExtendedLinesErrorResponse) MarshalJSON ¶
func (o ExtendedLinesErrorResponse) MarshalJSON() ([]byte, error)
func (*ExtendedLinesErrorResponse) SetCode ¶
func (o *ExtendedLinesErrorResponse) SetCode(v int)
SetCode gets a reference to the given int and assigns it to the Code field.
func (*ExtendedLinesErrorResponse) SetError ¶
func (o *ExtendedLinesErrorResponse) SetError(v ErrorResponse)
SetError gets a reference to the given ErrorResponse and assigns it to the Error field.
func (*ExtendedLinesErrorResponse) SetRef ¶
func (o *ExtendedLinesErrorResponse) SetRef(v string)
SetRef gets a reference to the given string and assigns it to the Ref field.
func (*ExtendedLinesErrorResponse) SetStatus ¶
func (o *ExtendedLinesErrorResponse) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
type FillType ¶
type FillType string
FillType NORMAL - bet will be placed on specified stake. FILLANDKILL - If the stake is over the max limit, bet will be placed on max limit, otherwise it will be placed on specified stake. FILLMAXLIMIT - bet will be places on max limit, stake amount will be ignored. Please note that maximum limits can change at any moment, which may result in risking more than anticipated. This option is replacement of isMaxStakeBet from v1/bets/place'
type Fixture ¶
type Fixture struct { // Event id. Id *int64 `json:"id,omitempty"` // If event is linked to another event, parentId will be populated. Live event would have pre game event as parent id. ParentId *int64 `json:"parentId,omitempty"` // Start time of the event in UTC. Starts *time.Time `json:"starts,omitempty"` // Home team name. Home *string `json:"home,omitempty"` // Away team name. Away *string `json:"away,omitempty"` // Team1 rotation number. Please note that in the next version of /fixtures, rotNum property will be decommissioned. ParentId can be used instead to group the related events. RotNum *string `json:"rotNum,omitempty"` // Indicates live status of the event. 0 = No live betting will be offered on this event, 1 = Live betting event, 2 = Live betting will be offered on this match, but on a different event. Please note that [pre-game and live events are different](https://github.com/pinnacleapi/pinnacleapi-documentation/blob/master/FAQ.md#how-to-find-associated-events) . LiveStatus *int `json:"liveStatus,omitempty"` // Home team pitcher. Only for Baseball. HomePitcher *string `json:"homePitcher,omitempty"` // Away team pitcher. Only for Baseball. AwayPitcher *string `json:"awayPitcher,omitempty"` // This is deprecated parameter, please check period's `status` in the `/odds` endpoint to see if it's open for betting. O = This is the starting status of a game. H = This status indicates that the lines are temporarily unavailable for betting, I = This status indicates that one or more lines have a red circle (lower maximum bet amount). Status *string `json:"status,omitempty"` // Parlay status of the event. 0 = Allowed to parlay, without restrictions, 1 = Not allowed to parlay this event, 2 = Allowed to parlay with the restrictions. You cannot have more than one leg from the same event in the parlay. All events with the same rotation number are treated as same event. ParlayRestriction *int `json:"parlayRestriction,omitempty"` AltTeaser *bool `json:"altTeaser,omitempty"` // Specifies based on what the event will be resulted, e.g. Corners, Bookings ResultingUnit *string `json:"resultingUnit,omitempty"` }
Fixture struct for Fixture
func NewFixture ¶
func NewFixture() *Fixture
NewFixture instantiates a new Fixture 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 NewFixtureWithDefaults ¶
func NewFixtureWithDefaults() *Fixture
NewFixtureWithDefaults instantiates a new Fixture 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 (*Fixture) GetAltTeaser ¶
GetAltTeaser returns the AltTeaser field value if set, zero value otherwise.
func (*Fixture) GetAltTeaserOk ¶
GetAltTeaserOk returns a tuple with the AltTeaser field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Fixture) 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 (*Fixture) GetAwayPitcher ¶
GetAwayPitcher returns the AwayPitcher field value if set, zero value otherwise.
func (*Fixture) GetAwayPitcherOk ¶
GetAwayPitcherOk returns a tuple with the AwayPitcher field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Fixture) 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 (*Fixture) GetHomePitcher ¶
GetHomePitcher returns the HomePitcher field value if set, zero value otherwise.
func (*Fixture) GetHomePitcherOk ¶
GetHomePitcherOk returns a tuple with the HomePitcher field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Fixture) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Fixture) GetLiveStatus ¶
GetLiveStatus returns the LiveStatus field value if set, zero value otherwise.
func (*Fixture) GetLiveStatusOk ¶
GetLiveStatusOk returns a tuple with the LiveStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Fixture) GetParentId ¶
GetParentId returns the ParentId field value if set, zero value otherwise.
func (*Fixture) GetParentIdOk ¶
GetParentIdOk returns a tuple with the ParentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Fixture) GetParlayRestriction ¶
GetParlayRestriction returns the ParlayRestriction field value if set, zero value otherwise.
func (*Fixture) GetParlayRestrictionOk ¶
GetParlayRestrictionOk returns a tuple with the ParlayRestriction field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Fixture) GetResultingUnit ¶
GetResultingUnit returns the ResultingUnit field value if set, zero value otherwise.
func (*Fixture) GetResultingUnitOk ¶
GetResultingUnitOk returns a tuple with the ResultingUnit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Fixture) GetRotNumOk ¶
GetRotNumOk returns a tuple with the RotNum field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Fixture) GetStartsOk ¶
GetStartsOk returns a tuple with the Starts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Fixture) 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 (*Fixture) HasAltTeaser ¶
HasAltTeaser returns a boolean if a field has been set.
func (*Fixture) HasAwayPitcher ¶
HasAwayPitcher returns a boolean if a field has been set.
func (*Fixture) HasHomePitcher ¶
HasHomePitcher returns a boolean if a field has been set.
func (*Fixture) HasLiveStatus ¶
HasLiveStatus returns a boolean if a field has been set.
func (*Fixture) HasParentId ¶
HasParentId returns a boolean if a field has been set.
func (*Fixture) HasParlayRestriction ¶
HasParlayRestriction returns a boolean if a field has been set.
func (*Fixture) HasResultingUnit ¶
HasResultingUnit returns a boolean if a field has been set.
func (Fixture) MarshalJSON ¶
func (*Fixture) SetAltTeaser ¶
SetAltTeaser gets a reference to the given bool and assigns it to the AltTeaser field.
func (*Fixture) SetAway ¶
SetAway gets a reference to the given string and assigns it to the Away field.
func (*Fixture) SetAwayPitcher ¶
SetAwayPitcher gets a reference to the given string and assigns it to the AwayPitcher field.
func (*Fixture) SetHome ¶
SetHome gets a reference to the given string and assigns it to the Home field.
func (*Fixture) SetHomePitcher ¶
SetHomePitcher gets a reference to the given string and assigns it to the HomePitcher field.
func (*Fixture) SetLiveStatus ¶
SetLiveStatus gets a reference to the given int and assigns it to the LiveStatus field.
func (*Fixture) SetParentId ¶
SetParentId gets a reference to the given int64 and assigns it to the ParentId field.
func (*Fixture) SetParlayRestriction ¶
SetParlayRestriction gets a reference to the given int and assigns it to the ParlayRestriction field.
func (*Fixture) SetResultingUnit ¶
SetResultingUnit gets a reference to the given string and assigns it to the ResultingUnit field.
func (*Fixture) SetRotNum ¶
SetRotNum gets a reference to the given string and assigns it to the RotNum field.
type FixturesApiService ¶
type FixturesApiService service
FixturesApiService FixturesApi service
func (*FixturesApiService) FixturesSettledV1Get ¶
func (a *FixturesApiService) FixturesSettledV1Get(ctx _context.Context) apiFixturesSettledV1GetRequest
FixturesSettledV1Get Get Settled Fixtures - v1 Returns fixtures settled in the last 24 hours for the given sport.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiFixturesSettledV1GetRequest
func (*FixturesApiService) FixturesSpecialV1Get ¶
func (a *FixturesApiService) FixturesSpecialV1Get(ctx _context.Context) apiFixturesSpecialV1GetRequest
FixturesSpecialV1Get Get Special Fixtures - v1 Returns all **non-settled** specials for the given sport.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiFixturesSpecialV1GetRequest
func (*FixturesApiService) FixturesSpecialsSettledV1Get ¶
func (a *FixturesApiService) FixturesSpecialsSettledV1Get(ctx _context.Context) apiFixturesSpecialsSettledV1GetRequest
FixturesSpecialsSettledV1Get Get Settled Special Fixtures - v1 Returns all specials which are settled in the last 24 hours for the given Sport.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiFixturesSpecialsSettledV1GetRequest
func (*FixturesApiService) FixturesV1Get ¶
func (a *FixturesApiService) FixturesV1Get(ctx _context.Context) apiFixturesV1GetRequest
FixturesV1Get Get Fixtures - v1 Returns all **non-settled** events for the given sport. Please note that it is possible that the event is in Get Fixtures response but not in Get Odds. This happens when the odds are not currently available for wagering. Please note that it is possible to receive the same exact response when using **since** parameter. This is rare and can be caused by internal updates of event properties.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiFixturesV1GetRequest
type FixturesLeague ¶
type FixturesLeague struct { // League ID. Id *int `json:"id,omitempty"` // League Name. Name *string `json:"name,omitempty"` // Contains a list of events. Events *[]Fixture `json:"events,omitempty"` }
FixturesLeague struct for FixturesLeague
func NewFixturesLeague ¶
func NewFixturesLeague() *FixturesLeague
NewFixturesLeague instantiates a new FixturesLeague 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 NewFixturesLeagueWithDefaults ¶
func NewFixturesLeagueWithDefaults() *FixturesLeague
NewFixturesLeagueWithDefaults instantiates a new FixturesLeague 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 (*FixturesLeague) GetEvents ¶
func (o *FixturesLeague) GetEvents() []Fixture
GetEvents returns the Events field value if set, zero value otherwise.
func (*FixturesLeague) GetEventsOk ¶
func (o *FixturesLeague) GetEventsOk() (*[]Fixture, bool)
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 (*FixturesLeague) GetId ¶
func (o *FixturesLeague) GetId() int
GetId returns the Id field value if set, zero value otherwise.
func (*FixturesLeague) GetIdOk ¶
func (o *FixturesLeague) GetIdOk() (*int, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FixturesLeague) GetName ¶
func (o *FixturesLeague) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*FixturesLeague) GetNameOk ¶
func (o *FixturesLeague) GetNameOk() (*string, bool)
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 (*FixturesLeague) HasEvents ¶
func (o *FixturesLeague) HasEvents() bool
HasEvents returns a boolean if a field has been set.
func (*FixturesLeague) HasId ¶
func (o *FixturesLeague) HasId() bool
HasId returns a boolean if a field has been set.
func (*FixturesLeague) HasName ¶
func (o *FixturesLeague) HasName() bool
HasName returns a boolean if a field has been set.
func (FixturesLeague) MarshalJSON ¶
func (o FixturesLeague) MarshalJSON() ([]byte, error)
func (*FixturesLeague) SetEvents ¶
func (o *FixturesLeague) SetEvents(v []Fixture)
SetEvents gets a reference to the given []Fixture and assigns it to the Events field.
func (*FixturesLeague) SetId ¶
func (o *FixturesLeague) SetId(v int)
SetId gets a reference to the given int and assigns it to the Id field.
func (*FixturesLeague) SetName ¶
func (o *FixturesLeague) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
type FixturesResponse ¶
type FixturesResponse struct { // Same as requested sport Id. SportId *int `json:"sportId,omitempty"` // Use this value for the subsequent requests for since query parameter to get just the changes since previous response. Last *int64 `json:"last,omitempty"` // Contains a list of Leagues. League *[]FixturesLeague `json:"league,omitempty"` }
FixturesResponse struct for FixturesResponse
func NewFixturesResponse ¶
func NewFixturesResponse() *FixturesResponse
NewFixturesResponse instantiates a new FixturesResponse 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 NewFixturesResponseWithDefaults ¶
func NewFixturesResponseWithDefaults() *FixturesResponse
NewFixturesResponseWithDefaults instantiates a new FixturesResponse 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 (*FixturesResponse) GetLast ¶
func (o *FixturesResponse) GetLast() int64
GetLast returns the Last field value if set, zero value otherwise.
func (*FixturesResponse) GetLastOk ¶
func (o *FixturesResponse) GetLastOk() (*int64, bool)
GetLastOk returns a tuple with the Last field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FixturesResponse) GetLeague ¶
func (o *FixturesResponse) GetLeague() []FixturesLeague
GetLeague returns the League field value if set, zero value otherwise.
func (*FixturesResponse) GetLeagueOk ¶
func (o *FixturesResponse) GetLeagueOk() (*[]FixturesLeague, bool)
GetLeagueOk returns a tuple with the League field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FixturesResponse) GetSportId ¶
func (o *FixturesResponse) GetSportId() int
GetSportId returns the SportId field value if set, zero value otherwise.
func (*FixturesResponse) GetSportIdOk ¶
func (o *FixturesResponse) GetSportIdOk() (*int, bool)
GetSportIdOk returns a tuple with the SportId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FixturesResponse) HasLast ¶
func (o *FixturesResponse) HasLast() bool
HasLast returns a boolean if a field has been set.
func (*FixturesResponse) HasLeague ¶
func (o *FixturesResponse) HasLeague() bool
HasLeague returns a boolean if a field has been set.
func (*FixturesResponse) HasSportId ¶
func (o *FixturesResponse) HasSportId() bool
HasSportId returns a boolean if a field has been set.
func (FixturesResponse) MarshalJSON ¶
func (o FixturesResponse) MarshalJSON() ([]byte, error)
func (*FixturesResponse) SetLast ¶
func (o *FixturesResponse) SetLast(v int64)
SetLast gets a reference to the given int64 and assigns it to the Last field.
func (*FixturesResponse) SetLeague ¶
func (o *FixturesResponse) SetLeague(v []FixturesLeague)
SetLeague gets a reference to the given []FixturesLeague and assigns it to the League field.
func (*FixturesResponse) SetSportId ¶
func (o *FixturesResponse) SetSportId(v int)
SetSportId gets a reference to the given int and assigns it to the SportId field.
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 GetBetsApiService ¶
type GetBetsApiService service
GetBetsApiService GetBetsApi service
func (*GetBetsApiService) BetsGetBetsByTypeV3 ¶
func (a *GetBetsApiService) BetsGetBetsByTypeV3(ctx _context.Context) apiBetsGetBetsByTypeV3Request
BetsGetBetsByTypeV3 Get Bets - v3 Returns bets. ### Get running bets by time range: ``` https://api.pinnacle.com/v3/bets?betlist=RUNNING&fromDate=2017-11-21T00:00:00Z&toDate=2017-11-29T00:00:00Z ``` Running bets are queried by *placedAt* date time ### Get settled bets by time range: ``` https://api.pinnacle.com/v3/bets?betlist=SETTLED&fromDate=2015-12-28T00:00:00Z&toDate=2015-12-29T00:00:00Z ``` Settled bets are queried by *settledAt* date time https://api.pinnacle.com/v3/bets?betlist=SETTLED&fromDate=2017-11-20T00:00:00Z&toDate=2017-11-23T00:00:00Z ### Get settled cancelled bets by time range: ``` https://api.pinnacle.com/v3/bets?betList=SETTLED&fromDate=2018-03-01&toDate=2018-03-28&betStatuses=CANCELLED ``` ### Get bets by bet ids: ``` https://api.pinnacle.com/v3/bets?betIds=775856112,775856113,775856114 ``` ### Get bets by uniqueRequestIds: ``` https://api.pinnacle.com/v3/bets?uniqueRequestIds=62335222-dae4-479a-8c05-46440ccdd3bb,42335222-dae4-479a-8c05-46440ccdd3bb ```
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiBetsGetBetsByTypeV3Request
type GetBetsByTypeResponseV3 ¶
type GetBetsByTypeResponseV3 struct { // Whether there are more pages available. MoreAvailable *bool `json:"moreAvailable,omitempty"` // Page size. Default is 1000. PageSize *int `json:"pageSize,omitempty"` // Starting record number of the result set. Records start at zero FromRecord *int `json:"fromRecord,omitempty"` // Ending record number of the result set. ToRecord *int `json:"toRecord,omitempty"` // A collection of placed straight bets. StraightBets *[]StraightBetV3 `json:"straightBets,omitempty"` // A collection of placed parlay bets. ParlayBets *[]ParlayBet `json:"parlayBets,omitempty"` TeaserBets *[]TeaserBet `json:"teaserBets,omitempty"` // A collection of placed special bets. SpecialBets *[]SpecialBet `json:"specialBets,omitempty"` // A collection of placed manual bets. ManualBets *[]ManualBet `json:"manualBets,omitempty"` }
GetBetsByTypeResponseV3 struct for GetBetsByTypeResponseV3
func NewGetBetsByTypeResponseV3 ¶
func NewGetBetsByTypeResponseV3() *GetBetsByTypeResponseV3
NewGetBetsByTypeResponseV3 instantiates a new GetBetsByTypeResponseV3 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 NewGetBetsByTypeResponseV3WithDefaults ¶
func NewGetBetsByTypeResponseV3WithDefaults() *GetBetsByTypeResponseV3
NewGetBetsByTypeResponseV3WithDefaults instantiates a new GetBetsByTypeResponseV3 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 (*GetBetsByTypeResponseV3) GetFromRecord ¶
func (o *GetBetsByTypeResponseV3) GetFromRecord() int
GetFromRecord returns the FromRecord field value if set, zero value otherwise.
func (*GetBetsByTypeResponseV3) GetFromRecordOk ¶
func (o *GetBetsByTypeResponseV3) GetFromRecordOk() (*int, bool)
GetFromRecordOk returns a tuple with the FromRecord field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBetsByTypeResponseV3) GetManualBets ¶
func (o *GetBetsByTypeResponseV3) GetManualBets() []ManualBet
GetManualBets returns the ManualBets field value if set, zero value otherwise.
func (*GetBetsByTypeResponseV3) GetManualBetsOk ¶
func (o *GetBetsByTypeResponseV3) GetManualBetsOk() (*[]ManualBet, bool)
GetManualBetsOk returns a tuple with the ManualBets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBetsByTypeResponseV3) GetMoreAvailable ¶
func (o *GetBetsByTypeResponseV3) GetMoreAvailable() bool
GetMoreAvailable returns the MoreAvailable field value if set, zero value otherwise.
func (*GetBetsByTypeResponseV3) GetMoreAvailableOk ¶
func (o *GetBetsByTypeResponseV3) GetMoreAvailableOk() (*bool, bool)
GetMoreAvailableOk returns a tuple with the MoreAvailable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBetsByTypeResponseV3) GetPageSize ¶
func (o *GetBetsByTypeResponseV3) GetPageSize() int
GetPageSize returns the PageSize field value if set, zero value otherwise.
func (*GetBetsByTypeResponseV3) GetPageSizeOk ¶
func (o *GetBetsByTypeResponseV3) GetPageSizeOk() (*int, bool)
GetPageSizeOk returns a tuple with the PageSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBetsByTypeResponseV3) GetParlayBets ¶
func (o *GetBetsByTypeResponseV3) GetParlayBets() []ParlayBet
GetParlayBets returns the ParlayBets field value if set, zero value otherwise.
func (*GetBetsByTypeResponseV3) GetParlayBetsOk ¶
func (o *GetBetsByTypeResponseV3) GetParlayBetsOk() (*[]ParlayBet, bool)
GetParlayBetsOk returns a tuple with the ParlayBets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBetsByTypeResponseV3) GetSpecialBets ¶
func (o *GetBetsByTypeResponseV3) GetSpecialBets() []SpecialBet
GetSpecialBets returns the SpecialBets field value if set, zero value otherwise.
func (*GetBetsByTypeResponseV3) GetSpecialBetsOk ¶
func (o *GetBetsByTypeResponseV3) GetSpecialBetsOk() (*[]SpecialBet, bool)
GetSpecialBetsOk returns a tuple with the SpecialBets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBetsByTypeResponseV3) GetStraightBets ¶
func (o *GetBetsByTypeResponseV3) GetStraightBets() []StraightBetV3
GetStraightBets returns the StraightBets field value if set, zero value otherwise.
func (*GetBetsByTypeResponseV3) GetStraightBetsOk ¶
func (o *GetBetsByTypeResponseV3) GetStraightBetsOk() (*[]StraightBetV3, bool)
GetStraightBetsOk returns a tuple with the StraightBets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBetsByTypeResponseV3) GetTeaserBets ¶
func (o *GetBetsByTypeResponseV3) GetTeaserBets() []TeaserBet
GetTeaserBets returns the TeaserBets field value if set, zero value otherwise.
func (*GetBetsByTypeResponseV3) GetTeaserBetsOk ¶
func (o *GetBetsByTypeResponseV3) GetTeaserBetsOk() (*[]TeaserBet, bool)
GetTeaserBetsOk returns a tuple with the TeaserBets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBetsByTypeResponseV3) GetToRecord ¶
func (o *GetBetsByTypeResponseV3) GetToRecord() int
GetToRecord returns the ToRecord field value if set, zero value otherwise.
func (*GetBetsByTypeResponseV3) GetToRecordOk ¶
func (o *GetBetsByTypeResponseV3) GetToRecordOk() (*int, bool)
GetToRecordOk returns a tuple with the ToRecord field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBetsByTypeResponseV3) HasFromRecord ¶
func (o *GetBetsByTypeResponseV3) HasFromRecord() bool
HasFromRecord returns a boolean if a field has been set.
func (*GetBetsByTypeResponseV3) HasManualBets ¶
func (o *GetBetsByTypeResponseV3) HasManualBets() bool
HasManualBets returns a boolean if a field has been set.
func (*GetBetsByTypeResponseV3) HasMoreAvailable ¶
func (o *GetBetsByTypeResponseV3) HasMoreAvailable() bool
HasMoreAvailable returns a boolean if a field has been set.
func (*GetBetsByTypeResponseV3) HasPageSize ¶
func (o *GetBetsByTypeResponseV3) HasPageSize() bool
HasPageSize returns a boolean if a field has been set.
func (*GetBetsByTypeResponseV3) HasParlayBets ¶
func (o *GetBetsByTypeResponseV3) HasParlayBets() bool
HasParlayBets returns a boolean if a field has been set.
func (*GetBetsByTypeResponseV3) HasSpecialBets ¶
func (o *GetBetsByTypeResponseV3) HasSpecialBets() bool
HasSpecialBets returns a boolean if a field has been set.
func (*GetBetsByTypeResponseV3) HasStraightBets ¶
func (o *GetBetsByTypeResponseV3) HasStraightBets() bool
HasStraightBets returns a boolean if a field has been set.
func (*GetBetsByTypeResponseV3) HasTeaserBets ¶
func (o *GetBetsByTypeResponseV3) HasTeaserBets() bool
HasTeaserBets returns a boolean if a field has been set.
func (*GetBetsByTypeResponseV3) HasToRecord ¶
func (o *GetBetsByTypeResponseV3) HasToRecord() bool
HasToRecord returns a boolean if a field has been set.
func (GetBetsByTypeResponseV3) MarshalJSON ¶
func (o GetBetsByTypeResponseV3) MarshalJSON() ([]byte, error)
func (*GetBetsByTypeResponseV3) SetFromRecord ¶
func (o *GetBetsByTypeResponseV3) SetFromRecord(v int)
SetFromRecord gets a reference to the given int and assigns it to the FromRecord field.
func (*GetBetsByTypeResponseV3) SetManualBets ¶
func (o *GetBetsByTypeResponseV3) SetManualBets(v []ManualBet)
SetManualBets gets a reference to the given []ManualBet and assigns it to the ManualBets field.
func (*GetBetsByTypeResponseV3) SetMoreAvailable ¶
func (o *GetBetsByTypeResponseV3) SetMoreAvailable(v bool)
SetMoreAvailable gets a reference to the given bool and assigns it to the MoreAvailable field.
func (*GetBetsByTypeResponseV3) SetPageSize ¶
func (o *GetBetsByTypeResponseV3) SetPageSize(v int)
SetPageSize gets a reference to the given int and assigns it to the PageSize field.
func (*GetBetsByTypeResponseV3) SetParlayBets ¶
func (o *GetBetsByTypeResponseV3) SetParlayBets(v []ParlayBet)
SetParlayBets gets a reference to the given []ParlayBet and assigns it to the ParlayBets field.
func (*GetBetsByTypeResponseV3) SetSpecialBets ¶
func (o *GetBetsByTypeResponseV3) SetSpecialBets(v []SpecialBet)
SetSpecialBets gets a reference to the given []SpecialBet and assigns it to the SpecialBets field.
func (*GetBetsByTypeResponseV3) SetStraightBets ¶
func (o *GetBetsByTypeResponseV3) SetStraightBets(v []StraightBetV3)
SetStraightBets gets a reference to the given []StraightBetV3 and assigns it to the StraightBets field.
func (*GetBetsByTypeResponseV3) SetTeaserBets ¶
func (o *GetBetsByTypeResponseV3) SetTeaserBets(v []TeaserBet)
SetTeaserBets gets a reference to the given []TeaserBet and assigns it to the TeaserBets field.
func (*GetBetsByTypeResponseV3) SetToRecord ¶
func (o *GetBetsByTypeResponseV3) SetToRecord(v int)
SetToRecord gets a reference to the given int and assigns it to the ToRecord field.
type GetTranslationsApiService ¶
type GetTranslationsApiService service
GetTranslationsApiService GetTranslationsApi service
func (*GetTranslationsApiService) TranslationsV1Get ¶
func (a *GetTranslationsApiService) TranslationsV1Get(ctx _context.Context) apiTranslationsV1GetRequest
TranslationsV1Get Get Translations - v1 Returns language translations. Example to translate `football` and `soccer` to German and French language:
``` https://api.pinnacle.com/v1/translations?cultureCodes=de-DE|fr-FR&baseTexts=Football|Soccer ``` ## Supported languages | Language | Culture | |------------|---------| | English | en-US | | British | en-GB | | ChineseSI | zh-CN | | ChineseTR | zh-TW | | Finnish | fi-FI | | German | de-DE | | Hebrew | he-IL | | Italian | it-IT | | Norwegian | nb-NO | | Portuguese | pt-BR | | Russian | ru-RU | | Spanish | es-ES | | Swedish | sv-SE | | Thai | th-TH | | Polish | pl-PL | | French | fr-FR | | Japanese | ja-JP | | Korean | ko-KR | | Vietnamese | vi-VN | | Indonesian | id-ID | | Czech | cs-CZ | * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiTranslationsV1GetRequest
type InRunningEvent ¶
type InRunningEvent struct { // Game Id Id *int64 `json:"id,omitempty"` // State of the game. 1 = First half in progress, 2 = Half time in progress, 3 = Second half in progress, 4 = End of regular time, 5 = First half extra time in progress, 6 = Extra time half time in progress, 7 = Second half extra time in progress, 8 = End of extra time, 9 = End of Game, 10 = Game is temporary suspended, 11 = Penalties in progress State *int `json:"state,omitempty"` // Elapsed minutes Elapsed *int `json:"elapsed,omitempty"` }
InRunningEvent struct for InRunningEvent
func NewInRunningEvent ¶
func NewInRunningEvent() *InRunningEvent
NewInRunningEvent instantiates a new InRunningEvent 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 NewInRunningEventWithDefaults ¶
func NewInRunningEventWithDefaults() *InRunningEvent
NewInRunningEventWithDefaults instantiates a new InRunningEvent 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 (*InRunningEvent) GetElapsed ¶
func (o *InRunningEvent) GetElapsed() int
GetElapsed returns the Elapsed field value if set, zero value otherwise.
func (*InRunningEvent) GetElapsedOk ¶
func (o *InRunningEvent) GetElapsedOk() (*int, bool)
GetElapsedOk returns a tuple with the Elapsed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InRunningEvent) GetId ¶
func (o *InRunningEvent) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*InRunningEvent) GetIdOk ¶
func (o *InRunningEvent) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InRunningEvent) GetState ¶
func (o *InRunningEvent) GetState() int
GetState returns the State field value if set, zero value otherwise.
func (*InRunningEvent) GetStateOk ¶
func (o *InRunningEvent) GetStateOk() (*int, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InRunningEvent) HasElapsed ¶
func (o *InRunningEvent) HasElapsed() bool
HasElapsed returns a boolean if a field has been set.
func (*InRunningEvent) HasId ¶
func (o *InRunningEvent) HasId() bool
HasId returns a boolean if a field has been set.
func (*InRunningEvent) HasState ¶
func (o *InRunningEvent) HasState() bool
HasState returns a boolean if a field has been set.
func (InRunningEvent) MarshalJSON ¶
func (o InRunningEvent) MarshalJSON() ([]byte, error)
func (*InRunningEvent) SetElapsed ¶
func (o *InRunningEvent) SetElapsed(v int)
SetElapsed gets a reference to the given int and assigns it to the Elapsed field.
func (*InRunningEvent) SetId ¶
func (o *InRunningEvent) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*InRunningEvent) SetState ¶
func (o *InRunningEvent) SetState(v int)
SetState gets a reference to the given int and assigns it to the State field.
type InRunningLeague ¶
type InRunningLeague struct { // League Id Id *int `json:"id,omitempty"` // Events container Events *[]InRunningEvent `json:"events,omitempty"` }
InRunningLeague struct for InRunningLeague
func NewInRunningLeague ¶
func NewInRunningLeague() *InRunningLeague
NewInRunningLeague instantiates a new InRunningLeague 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 NewInRunningLeagueWithDefaults ¶
func NewInRunningLeagueWithDefaults() *InRunningLeague
NewInRunningLeagueWithDefaults instantiates a new InRunningLeague 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 (*InRunningLeague) GetEvents ¶
func (o *InRunningLeague) GetEvents() []InRunningEvent
GetEvents returns the Events field value if set, zero value otherwise.
func (*InRunningLeague) GetEventsOk ¶
func (o *InRunningLeague) GetEventsOk() (*[]InRunningEvent, bool)
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 (*InRunningLeague) GetId ¶
func (o *InRunningLeague) GetId() int
GetId returns the Id field value if set, zero value otherwise.
func (*InRunningLeague) GetIdOk ¶
func (o *InRunningLeague) GetIdOk() (*int, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InRunningLeague) HasEvents ¶
func (o *InRunningLeague) HasEvents() bool
HasEvents returns a boolean if a field has been set.
func (*InRunningLeague) HasId ¶
func (o *InRunningLeague) HasId() bool
HasId returns a boolean if a field has been set.
func (InRunningLeague) MarshalJSON ¶
func (o InRunningLeague) MarshalJSON() ([]byte, error)
func (*InRunningLeague) SetEvents ¶
func (o *InRunningLeague) SetEvents(v []InRunningEvent)
SetEvents gets a reference to the given []InRunningEvent and assigns it to the Events field.
func (*InRunningLeague) SetId ¶
func (o *InRunningLeague) SetId(v int)
SetId gets a reference to the given int and assigns it to the Id field.
type InRunningResponse ¶
type InRunningResponse struct { // Sports container Sports *[]InRunningSport `json:"sports,omitempty"` }
InRunningResponse struct for InRunningResponse
func NewInRunningResponse ¶
func NewInRunningResponse() *InRunningResponse
NewInRunningResponse instantiates a new InRunningResponse 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 NewInRunningResponseWithDefaults ¶
func NewInRunningResponseWithDefaults() *InRunningResponse
NewInRunningResponseWithDefaults instantiates a new InRunningResponse 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 (*InRunningResponse) GetSports ¶
func (o *InRunningResponse) GetSports() []InRunningSport
GetSports returns the Sports field value if set, zero value otherwise.
func (*InRunningResponse) GetSportsOk ¶
func (o *InRunningResponse) GetSportsOk() (*[]InRunningSport, bool)
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 (*InRunningResponse) HasSports ¶
func (o *InRunningResponse) HasSports() bool
HasSports returns a boolean if a field has been set.
func (InRunningResponse) MarshalJSON ¶
func (o InRunningResponse) MarshalJSON() ([]byte, error)
func (*InRunningResponse) SetSports ¶
func (o *InRunningResponse) SetSports(v []InRunningSport)
SetSports gets a reference to the given []InRunningSport and assigns it to the Sports field.
type InRunningSport ¶
type InRunningSport struct { // Sport Id Id *int `json:"id,omitempty"` // Leagues container Leagues *[]InRunningLeague `json:"leagues,omitempty"` }
InRunningSport struct for InRunningSport
func NewInRunningSport ¶
func NewInRunningSport() *InRunningSport
NewInRunningSport instantiates a new InRunningSport 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 NewInRunningSportWithDefaults ¶
func NewInRunningSportWithDefaults() *InRunningSport
NewInRunningSportWithDefaults instantiates a new InRunningSport 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 (*InRunningSport) GetId ¶
func (o *InRunningSport) GetId() int
GetId returns the Id field value if set, zero value otherwise.
func (*InRunningSport) GetIdOk ¶
func (o *InRunningSport) GetIdOk() (*int, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InRunningSport) GetLeagues ¶
func (o *InRunningSport) GetLeagues() []InRunningLeague
GetLeagues returns the Leagues field value if set, zero value otherwise.
func (*InRunningSport) GetLeaguesOk ¶
func (o *InRunningSport) GetLeaguesOk() (*[]InRunningLeague, bool)
GetLeaguesOk returns a tuple with the Leagues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InRunningSport) HasId ¶
func (o *InRunningSport) HasId() bool
HasId returns a boolean if a field has been set.
func (*InRunningSport) HasLeagues ¶
func (o *InRunningSport) HasLeagues() bool
HasLeagues returns a boolean if a field has been set.
func (InRunningSport) MarshalJSON ¶
func (o InRunningSport) MarshalJSON() ([]byte, error)
func (*InRunningSport) SetId ¶
func (o *InRunningSport) SetId(v int)
SetId gets a reference to the given int and assigns it to the Id field.
func (*InRunningSport) SetLeagues ¶
func (o *InRunningSport) SetLeagues(v []InRunningLeague)
SetLeagues gets a reference to the given []InRunningLeague and assigns it to the Leagues field.
type League ¶
type League struct { // League Id. Id *int `json:"id,omitempty"` // Name of the league. Name *string `json:"name,omitempty"` // Specifies whether the home team is team1 or team2. You need this information to place a bet. HomeTeamType *string `json:"homeTeamType,omitempty"` // Whether the league currently has events or specials. HasOfferings *bool `json:"hasOfferings,omitempty"` // Represents grouping for the league, usually a region/country Container *string `json:"container,omitempty"` // Specifies whether you can place parlay round robins on events in this league. AllowRoundRobins *bool `json:"allowRoundRobins,omitempty"` // Indicates how many specials are in the given league. LeagueSpecialsCount *int `json:"leagueSpecialsCount,omitempty"` // Indicates how many game specials are in the given league. EventSpecialsCount *int `json:"eventSpecialsCount,omitempty"` // Indicates how many events are in the given league. EventCount *int `json:"eventCount,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) GetAllowRoundRobins ¶
GetAllowRoundRobins returns the AllowRoundRobins field value if set, zero value otherwise.
func (*League) GetAllowRoundRobinsOk ¶
GetAllowRoundRobinsOk returns a tuple with the AllowRoundRobins field value if set, nil otherwise and a boolean to check if the value has been set.
func (*League) GetContainer ¶
GetContainer returns the Container field value if set, zero value otherwise.
func (*League) GetContainerOk ¶
GetContainerOk returns a tuple with the Container field value if set, nil otherwise and a boolean to check if the value has been set.
func (*League) GetEventCount ¶
GetEventCount returns the EventCount field value if set, zero value otherwise.
func (*League) GetEventCountOk ¶
GetEventCountOk returns a tuple with the EventCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*League) GetEventSpecialsCount ¶
GetEventSpecialsCount returns the EventSpecialsCount field value if set, zero value otherwise.
func (*League) GetEventSpecialsCountOk ¶
GetEventSpecialsCountOk returns a tuple with the EventSpecialsCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*League) GetHasOfferings ¶
GetHasOfferings returns the HasOfferings field value if set, zero value otherwise.
func (*League) GetHasOfferingsOk ¶
GetHasOfferingsOk returns a tuple with the HasOfferings field value if set, nil otherwise and a boolean to check if the value has been set.
func (*League) GetHomeTeamType ¶
GetHomeTeamType returns the HomeTeamType field value if set, zero value otherwise.
func (*League) GetHomeTeamTypeOk ¶
GetHomeTeamTypeOk returns a tuple with the HomeTeamType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*League) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*League) GetLeagueSpecialsCount ¶
GetLeagueSpecialsCount returns the LeagueSpecialsCount field value if set, zero value otherwise.
func (*League) GetLeagueSpecialsCountOk ¶
GetLeagueSpecialsCountOk returns a tuple with the LeagueSpecialsCount 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) HasAllowRoundRobins ¶
HasAllowRoundRobins returns a boolean if a field has been set.
func (*League) HasContainer ¶
HasContainer returns a boolean if a field has been set.
func (*League) HasEventCount ¶
HasEventCount returns a boolean if a field has been set.
func (*League) HasEventSpecialsCount ¶
HasEventSpecialsCount returns a boolean if a field has been set.
func (*League) HasHasOfferings ¶
HasHasOfferings returns a boolean if a field has been set.
func (*League) HasHomeTeamType ¶
HasHomeTeamType returns a boolean if a field has been set.
func (*League) HasLeagueSpecialsCount ¶
HasLeagueSpecialsCount returns a boolean if a field has been set.
func (League) MarshalJSON ¶
func (*League) SetAllowRoundRobins ¶
SetAllowRoundRobins gets a reference to the given bool and assigns it to the AllowRoundRobins field.
func (*League) SetContainer ¶
SetContainer gets a reference to the given string and assigns it to the Container field.
func (*League) SetEventCount ¶
SetEventCount gets a reference to the given int and assigns it to the EventCount field.
func (*League) SetEventSpecialsCount ¶
SetEventSpecialsCount gets a reference to the given int and assigns it to the EventSpecialsCount field.
func (*League) SetHasOfferings ¶
SetHasOfferings gets a reference to the given bool and assigns it to the HasOfferings field.
func (*League) SetHomeTeamType ¶
SetHomeTeamType gets a reference to the given string and assigns it to the HomeTeamType field.
func (*League) SetLeagueSpecialsCount ¶
SetLeagueSpecialsCount gets a reference to the given int and assigns it to the LeagueSpecialsCount field.
type Leagues ¶
type Leagues struct { // Leagues container Leagues *[]League `json:"leagues,omitempty"` }
Leagues struct for Leagues
func NewLeagues ¶
func NewLeagues() *Leagues
NewLeagues instantiates a new Leagues 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 NewLeaguesWithDefaults ¶
func NewLeaguesWithDefaults() *Leagues
NewLeaguesWithDefaults instantiates a new Leagues 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 (*Leagues) GetLeagues ¶
GetLeagues returns the Leagues field value if set, zero value otherwise.
func (*Leagues) GetLeaguesOk ¶
GetLeaguesOk returns a tuple with the Leagues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Leagues) HasLeagues ¶
HasLeagues returns a boolean if a field has been set.
func (Leagues) MarshalJSON ¶
func (*Leagues) SetLeagues ¶
SetLeagues gets a reference to the given []League and assigns it to the Leagues field.
type LineApiService ¶
type LineApiService service
LineApiService LineApi service
func (*LineApiService) LineSpecialV1Get ¶
func (a *LineApiService) LineSpecialV1Get(ctx _context.Context) apiLineSpecialV1GetRequest
LineSpecialV1Get Get Special Line - v1 Returns special lines and calculate odds.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiLineSpecialV1GetRequest
func (*LineApiService) LineStraightV1Get ¶
func (a *LineApiService) LineStraightV1Get(ctx _context.Context) apiLineStraightV1GetRequest
LineStraightV1Get Get Straight Line - v1 Returns latest line.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiLineStraightV1GetRequest
type LineResponse ¶
type LineResponse struct { // If the value is NOT_EXISTS, than this will be the only parameter in the response. All other params would be empty. [SUCCESS = OK, NOT_EXISTS = Line not offered anymore] Status *string `json:"status,omitempty"` // Latest price. Price *float64 `json:"price,omitempty"` // Line identification needed to place a bet. LineId *int64 `json:"lineId,omitempty"` // This would be needed to place the bet if the handicap is on alternate line, otherwise it will not be populated in the response. AltLineId *int64 `json:"altLineId,omitempty"` // Away team score. Applicable to soccer only. Team1Score *int `json:"team1Score,omitempty"` // Home team score. Applicable to soccer only. Team2Score *int `json:"team2Score,omitempty"` // Team 1 red cards. Applicable to soccer only. Team1RedCards *int `json:"team1RedCards,omitempty"` // Team 2 red cards. Applicable to soccer only. Team2RedCards *int `json:"team2RedCards,omitempty"` // Maximum bettable risk amount. MaxRiskStake *float64 `json:"maxRiskStake,omitempty"` // Minimum bettable risk amount. MinRiskStake *float64 `json:"minRiskStake,omitempty"` // Maximum bettable win amount. MaxWinStake *float64 `json:"maxWinStake,omitempty"` // Minimum bettable win amount. MinWinStake *float64 `json:"minWinStake,omitempty"` // Line is effective as of this date and time in UTC. EffectiveAsOf *string `json:"effectiveAsOf,omitempty"` }
LineResponse struct for LineResponse
func NewLineResponse ¶
func NewLineResponse() *LineResponse
NewLineResponse instantiates a new LineResponse 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 NewLineResponseWithDefaults ¶
func NewLineResponseWithDefaults() *LineResponse
NewLineResponseWithDefaults instantiates a new LineResponse 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 (*LineResponse) GetAltLineId ¶
func (o *LineResponse) GetAltLineId() int64
GetAltLineId returns the AltLineId field value if set, zero value otherwise.
func (*LineResponse) GetAltLineIdOk ¶
func (o *LineResponse) GetAltLineIdOk() (*int64, bool)
GetAltLineIdOk returns a tuple with the AltLineId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LineResponse) GetEffectiveAsOf ¶
func (o *LineResponse) GetEffectiveAsOf() string
GetEffectiveAsOf returns the EffectiveAsOf field value if set, zero value otherwise.
func (*LineResponse) GetEffectiveAsOfOk ¶
func (o *LineResponse) GetEffectiveAsOfOk() (*string, bool)
GetEffectiveAsOfOk returns a tuple with the EffectiveAsOf field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LineResponse) GetLineId ¶
func (o *LineResponse) GetLineId() int64
GetLineId returns the LineId field value if set, zero value otherwise.
func (*LineResponse) GetLineIdOk ¶
func (o *LineResponse) GetLineIdOk() (*int64, bool)
GetLineIdOk returns a tuple with the LineId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LineResponse) GetMaxRiskStake ¶
func (o *LineResponse) GetMaxRiskStake() float64
GetMaxRiskStake returns the MaxRiskStake field value if set, zero value otherwise.
func (*LineResponse) GetMaxRiskStakeOk ¶
func (o *LineResponse) GetMaxRiskStakeOk() (*float64, bool)
GetMaxRiskStakeOk returns a tuple with the MaxRiskStake field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LineResponse) GetMaxWinStake ¶
func (o *LineResponse) GetMaxWinStake() float64
GetMaxWinStake returns the MaxWinStake field value if set, zero value otherwise.
func (*LineResponse) GetMaxWinStakeOk ¶
func (o *LineResponse) GetMaxWinStakeOk() (*float64, bool)
GetMaxWinStakeOk returns a tuple with the MaxWinStake field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LineResponse) GetMinRiskStake ¶
func (o *LineResponse) GetMinRiskStake() float64
GetMinRiskStake returns the MinRiskStake field value if set, zero value otherwise.
func (*LineResponse) GetMinRiskStakeOk ¶
func (o *LineResponse) GetMinRiskStakeOk() (*float64, bool)
GetMinRiskStakeOk returns a tuple with the MinRiskStake field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LineResponse) GetMinWinStake ¶
func (o *LineResponse) GetMinWinStake() float64
GetMinWinStake returns the MinWinStake field value if set, zero value otherwise.
func (*LineResponse) GetMinWinStakeOk ¶
func (o *LineResponse) GetMinWinStakeOk() (*float64, bool)
GetMinWinStakeOk returns a tuple with the MinWinStake field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LineResponse) GetPrice ¶
func (o *LineResponse) GetPrice() float64
GetPrice returns the Price field value if set, zero value otherwise.
func (*LineResponse) GetPriceOk ¶
func (o *LineResponse) GetPriceOk() (*float64, bool)
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 (*LineResponse) GetStatus ¶
func (o *LineResponse) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*LineResponse) GetStatusOk ¶
func (o *LineResponse) 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 (*LineResponse) GetTeam1RedCards ¶
func (o *LineResponse) GetTeam1RedCards() int
GetTeam1RedCards returns the Team1RedCards field value if set, zero value otherwise.
func (*LineResponse) GetTeam1RedCardsOk ¶
func (o *LineResponse) GetTeam1RedCardsOk() (*int, bool)
GetTeam1RedCardsOk returns a tuple with the Team1RedCards field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LineResponse) GetTeam1Score ¶
func (o *LineResponse) GetTeam1Score() int
GetTeam1Score returns the Team1Score field value if set, zero value otherwise.
func (*LineResponse) GetTeam1ScoreOk ¶
func (o *LineResponse) GetTeam1ScoreOk() (*int, bool)
GetTeam1ScoreOk returns a tuple with the Team1Score field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LineResponse) GetTeam2RedCards ¶
func (o *LineResponse) GetTeam2RedCards() int
GetTeam2RedCards returns the Team2RedCards field value if set, zero value otherwise.
func (*LineResponse) GetTeam2RedCardsOk ¶
func (o *LineResponse) GetTeam2RedCardsOk() (*int, bool)
GetTeam2RedCardsOk returns a tuple with the Team2RedCards field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LineResponse) GetTeam2Score ¶
func (o *LineResponse) GetTeam2Score() int
GetTeam2Score returns the Team2Score field value if set, zero value otherwise.
func (*LineResponse) GetTeam2ScoreOk ¶
func (o *LineResponse) GetTeam2ScoreOk() (*int, bool)
GetTeam2ScoreOk returns a tuple with the Team2Score field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LineResponse) HasAltLineId ¶
func (o *LineResponse) HasAltLineId() bool
HasAltLineId returns a boolean if a field has been set.
func (*LineResponse) HasEffectiveAsOf ¶
func (o *LineResponse) HasEffectiveAsOf() bool
HasEffectiveAsOf returns a boolean if a field has been set.
func (*LineResponse) HasLineId ¶
func (o *LineResponse) HasLineId() bool
HasLineId returns a boolean if a field has been set.
func (*LineResponse) HasMaxRiskStake ¶
func (o *LineResponse) HasMaxRiskStake() bool
HasMaxRiskStake returns a boolean if a field has been set.
func (*LineResponse) HasMaxWinStake ¶
func (o *LineResponse) HasMaxWinStake() bool
HasMaxWinStake returns a boolean if a field has been set.
func (*LineResponse) HasMinRiskStake ¶
func (o *LineResponse) HasMinRiskStake() bool
HasMinRiskStake returns a boolean if a field has been set.
func (*LineResponse) HasMinWinStake ¶
func (o *LineResponse) HasMinWinStake() bool
HasMinWinStake returns a boolean if a field has been set.
func (*LineResponse) HasPrice ¶
func (o *LineResponse) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*LineResponse) HasStatus ¶
func (o *LineResponse) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*LineResponse) HasTeam1RedCards ¶
func (o *LineResponse) HasTeam1RedCards() bool
HasTeam1RedCards returns a boolean if a field has been set.
func (*LineResponse) HasTeam1Score ¶
func (o *LineResponse) HasTeam1Score() bool
HasTeam1Score returns a boolean if a field has been set.
func (*LineResponse) HasTeam2RedCards ¶
func (o *LineResponse) HasTeam2RedCards() bool
HasTeam2RedCards returns a boolean if a field has been set.
func (*LineResponse) HasTeam2Score ¶
func (o *LineResponse) HasTeam2Score() bool
HasTeam2Score returns a boolean if a field has been set.
func (LineResponse) MarshalJSON ¶
func (o LineResponse) MarshalJSON() ([]byte, error)
func (*LineResponse) SetAltLineId ¶
func (o *LineResponse) SetAltLineId(v int64)
SetAltLineId gets a reference to the given int64 and assigns it to the AltLineId field.
func (*LineResponse) SetEffectiveAsOf ¶
func (o *LineResponse) SetEffectiveAsOf(v string)
SetEffectiveAsOf gets a reference to the given string and assigns it to the EffectiveAsOf field.
func (*LineResponse) SetLineId ¶
func (o *LineResponse) SetLineId(v int64)
SetLineId gets a reference to the given int64 and assigns it to the LineId field.
func (*LineResponse) SetMaxRiskStake ¶
func (o *LineResponse) SetMaxRiskStake(v float64)
SetMaxRiskStake gets a reference to the given float64 and assigns it to the MaxRiskStake field.
func (*LineResponse) SetMaxWinStake ¶
func (o *LineResponse) SetMaxWinStake(v float64)
SetMaxWinStake gets a reference to the given float64 and assigns it to the MaxWinStake field.
func (*LineResponse) SetMinRiskStake ¶
func (o *LineResponse) SetMinRiskStake(v float64)
SetMinRiskStake gets a reference to the given float64 and assigns it to the MinRiskStake field.
func (*LineResponse) SetMinWinStake ¶
func (o *LineResponse) SetMinWinStake(v float64)
SetMinWinStake gets a reference to the given float64 and assigns it to the MinWinStake field.
func (*LineResponse) SetPrice ¶
func (o *LineResponse) SetPrice(v float64)
SetPrice gets a reference to the given float64 and assigns it to the Price field.
func (*LineResponse) SetStatus ¶
func (o *LineResponse) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*LineResponse) SetTeam1RedCards ¶
func (o *LineResponse) SetTeam1RedCards(v int)
SetTeam1RedCards gets a reference to the given int and assigns it to the Team1RedCards field.
func (*LineResponse) SetTeam1Score ¶
func (o *LineResponse) SetTeam1Score(v int)
SetTeam1Score gets a reference to the given int and assigns it to the Team1Score field.
func (*LineResponse) SetTeam2RedCards ¶
func (o *LineResponse) SetTeam2RedCards(v int)
SetTeam2RedCards gets a reference to the given int and assigns it to the Team2RedCards field.
func (*LineResponse) SetTeam2Score ¶
func (o *LineResponse) SetTeam2Score(v int)
SetTeam2Score gets a reference to the given int and assigns it to the Team2Score field.
type LinesErrorResponse ¶
type LinesErrorResponse struct { Status *string `json:"status,omitempty"` Error *ErrorResponse `json:"error,omitempty"` // Code identifying an error that occurred. Code *int `json:"code,omitempty"` }
LinesErrorResponse struct for LinesErrorResponse
func NewLinesErrorResponse ¶
func NewLinesErrorResponse() *LinesErrorResponse
NewLinesErrorResponse instantiates a new LinesErrorResponse 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 NewLinesErrorResponseWithDefaults ¶
func NewLinesErrorResponseWithDefaults() *LinesErrorResponse
NewLinesErrorResponseWithDefaults instantiates a new LinesErrorResponse 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 (*LinesErrorResponse) GetCode ¶
func (o *LinesErrorResponse) GetCode() int
GetCode returns the Code field value if set, zero value otherwise.
func (*LinesErrorResponse) GetCodeOk ¶
func (o *LinesErrorResponse) GetCodeOk() (*int, 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 (*LinesErrorResponse) GetError ¶
func (o *LinesErrorResponse) GetError() ErrorResponse
GetError returns the Error field value if set, zero value otherwise.
func (*LinesErrorResponse) GetErrorOk ¶
func (o *LinesErrorResponse) GetErrorOk() (*ErrorResponse, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LinesErrorResponse) GetStatus ¶
func (o *LinesErrorResponse) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*LinesErrorResponse) GetStatusOk ¶
func (o *LinesErrorResponse) 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 (*LinesErrorResponse) HasCode ¶
func (o *LinesErrorResponse) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*LinesErrorResponse) HasError ¶
func (o *LinesErrorResponse) HasError() bool
HasError returns a boolean if a field has been set.
func (*LinesErrorResponse) HasStatus ¶
func (o *LinesErrorResponse) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (LinesErrorResponse) MarshalJSON ¶
func (o LinesErrorResponse) MarshalJSON() ([]byte, error)
func (*LinesErrorResponse) SetCode ¶
func (o *LinesErrorResponse) SetCode(v int)
SetCode gets a reference to the given int and assigns it to the Code field.
func (*LinesErrorResponse) SetError ¶
func (o *LinesErrorResponse) SetError(v ErrorResponse)
SetError gets a reference to the given ErrorResponse and assigns it to the Error field.
func (*LinesErrorResponse) SetStatus ¶
func (o *LinesErrorResponse) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
type ManualBet ¶
type ManualBet struct { // Bet identification BetId int64 `json:"betId"` // Wager identification. All bets placed thru the API will have value 1. Website Classic view supports multiple contest(special) bets placement in the same bet slip in that case the bet would have appropriate wager number, as well as all round robin parlay bets. WagerNumber int `json:"wagerNumber"` // Date time when the bet was placed. PlacedAt time.Time `json:"placedAt"` // Bet Status. ACCEPTED = Bet was accepted, CANCELLED = Bet is cancelled as per Pinnacle betting rules, LOSE = The bet is settled as lose, REFUNDED = When an event is cancelled or when the bet is settled as push, the bet will have REFUNDED status, WON = The bet is settled as won BetStatus string `json:"betStatus"` BetType string `json:"betType"` // Win amount. Win float64 `json:"win"` // Risk amount. Risk float64 `json:"risk"` // Win-Loss for settled bets. WinLoss *float64 `json:"winLoss,omitempty"` // Update Sequence UpdateSequence int64 `json:"updateSequence"` // Manual bet description. Description string `json:"description"` // Referenced original bet id. ReferenceBetId NullableInt64 `json:"referenceBetId,omitempty"` }
ManualBet struct for ManualBet
func NewManualBet ¶
func NewManualBet(betId int64, wagerNumber int, placedAt time.Time, betStatus string, betType string, win float64, risk float64, updateSequence int64, description string) *ManualBet
NewManualBet instantiates a new ManualBet 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 NewManualBetWithDefaults ¶
func NewManualBetWithDefaults() *ManualBet
NewManualBetWithDefaults instantiates a new ManualBet 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 (*ManualBet) GetBetIdOk ¶
GetBetIdOk returns a tuple with the BetId field value and a boolean to check if the value has been set.
func (*ManualBet) GetBetStatus ¶
GetBetStatus returns the BetStatus field value
func (*ManualBet) GetBetStatusOk ¶
GetBetStatusOk returns a tuple with the BetStatus field value and a boolean to check if the value has been set.
func (*ManualBet) GetBetType ¶
GetBetType returns the BetType field value
func (*ManualBet) GetBetTypeOk ¶
GetBetTypeOk returns a tuple with the BetType field value and a boolean to check if the value has been set.
func (*ManualBet) GetDescription ¶
GetDescription returns the Description field value
func (*ManualBet) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*ManualBet) GetPlacedAt ¶
GetPlacedAt returns the PlacedAt field value
func (*ManualBet) GetPlacedAtOk ¶
GetPlacedAtOk returns a tuple with the PlacedAt field value and a boolean to check if the value has been set.
func (*ManualBet) GetReferenceBetId ¶
GetReferenceBetId returns the ReferenceBetId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ManualBet) GetReferenceBetIdOk ¶
GetReferenceBetIdOk returns a tuple with the ReferenceBetId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ManualBet) GetRiskOk ¶
GetRiskOk returns a tuple with the Risk field value and a boolean to check if the value has been set.
func (*ManualBet) GetUpdateSequence ¶
GetUpdateSequence returns the UpdateSequence field value
func (*ManualBet) GetUpdateSequenceOk ¶
GetUpdateSequenceOk returns a tuple with the UpdateSequence field value and a boolean to check if the value has been set.
func (*ManualBet) GetWagerNumber ¶
GetWagerNumber returns the WagerNumber field value
func (*ManualBet) GetWagerNumberOk ¶
GetWagerNumberOk returns a tuple with the WagerNumber field value and a boolean to check if the value has been set.
func (*ManualBet) GetWinLoss ¶
GetWinLoss returns the WinLoss field value if set, zero value otherwise.
func (*ManualBet) GetWinLossOk ¶
GetWinLossOk returns a tuple with the WinLoss field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ManualBet) GetWinOk ¶
GetWinOk returns a tuple with the Win field value and a boolean to check if the value has been set.
func (*ManualBet) HasReferenceBetId ¶
HasReferenceBetId returns a boolean if a field has been set.
func (*ManualBet) HasWinLoss ¶
HasWinLoss returns a boolean if a field has been set.
func (ManualBet) MarshalJSON ¶
func (*ManualBet) SetBetStatus ¶
SetBetStatus sets field value
func (*ManualBet) SetDescription ¶
SetDescription sets field value
func (*ManualBet) SetPlacedAt ¶
SetPlacedAt sets field value
func (*ManualBet) SetReferenceBetId ¶
SetReferenceBetId gets a reference to the given NullableInt64 and assigns it to the ReferenceBetId field.
func (*ManualBet) SetReferenceBetIdNil ¶
func (o *ManualBet) SetReferenceBetIdNil()
SetReferenceBetIdNil sets the value for ReferenceBetId to be an explicit nil
func (*ManualBet) SetUpdateSequence ¶
SetUpdateSequence sets field value
func (*ManualBet) SetWagerNumber ¶
SetWagerNumber sets field value
func (*ManualBet) SetWinLoss ¶
SetWinLoss gets a reference to the given float64 and assigns it to the WinLoss field.
func (*ManualBet) UnsetReferenceBetId ¶
func (o *ManualBet) UnsetReferenceBetId()
UnsetReferenceBetId ensures that no value is present for ReferenceBetId, not even an explicit nil
type MultiBetRequestSpecialBetRequest ¶
type MultiBetRequestSpecialBetRequest struct { // The individual bets. Bets *[]SpecialBetRequest `json:"bets,omitempty"` }
MultiBetRequestSpecialBetRequest struct for MultiBetRequestSpecialBetRequest
func NewMultiBetRequestSpecialBetRequest ¶
func NewMultiBetRequestSpecialBetRequest() *MultiBetRequestSpecialBetRequest
NewMultiBetRequestSpecialBetRequest instantiates a new MultiBetRequestSpecialBetRequest 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 NewMultiBetRequestSpecialBetRequestWithDefaults ¶
func NewMultiBetRequestSpecialBetRequestWithDefaults() *MultiBetRequestSpecialBetRequest
NewMultiBetRequestSpecialBetRequestWithDefaults instantiates a new MultiBetRequestSpecialBetRequest 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 (*MultiBetRequestSpecialBetRequest) GetBets ¶
func (o *MultiBetRequestSpecialBetRequest) GetBets() []SpecialBetRequest
GetBets returns the Bets field value if set, zero value otherwise.
func (*MultiBetRequestSpecialBetRequest) GetBetsOk ¶
func (o *MultiBetRequestSpecialBetRequest) GetBetsOk() (*[]SpecialBetRequest, bool)
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 (*MultiBetRequestSpecialBetRequest) HasBets ¶
func (o *MultiBetRequestSpecialBetRequest) HasBets() bool
HasBets returns a boolean if a field has been set.
func (MultiBetRequestSpecialBetRequest) MarshalJSON ¶
func (o MultiBetRequestSpecialBetRequest) MarshalJSON() ([]byte, error)
func (*MultiBetRequestSpecialBetRequest) SetBets ¶
func (o *MultiBetRequestSpecialBetRequest) SetBets(v []SpecialBetRequest)
SetBets gets a reference to the given []SpecialBetRequest and assigns it to the Bets field.
type MultiBetResponseSpecialBetResponse ¶
type MultiBetResponseSpecialBetResponse struct { // The individual bets. Bets *[]SpecialBetResponse `json:"bets,omitempty"` }
MultiBetResponseSpecialBetResponse struct for MultiBetResponseSpecialBetResponse
func NewMultiBetResponseSpecialBetResponse ¶
func NewMultiBetResponseSpecialBetResponse() *MultiBetResponseSpecialBetResponse
NewMultiBetResponseSpecialBetResponse instantiates a new MultiBetResponseSpecialBetResponse 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 NewMultiBetResponseSpecialBetResponseWithDefaults ¶
func NewMultiBetResponseSpecialBetResponseWithDefaults() *MultiBetResponseSpecialBetResponse
NewMultiBetResponseSpecialBetResponseWithDefaults instantiates a new MultiBetResponseSpecialBetResponse 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 (*MultiBetResponseSpecialBetResponse) GetBets ¶
func (o *MultiBetResponseSpecialBetResponse) GetBets() []SpecialBetResponse
GetBets returns the Bets field value if set, zero value otherwise.
func (*MultiBetResponseSpecialBetResponse) GetBetsOk ¶
func (o *MultiBetResponseSpecialBetResponse) GetBetsOk() (*[]SpecialBetResponse, bool)
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 (*MultiBetResponseSpecialBetResponse) HasBets ¶
func (o *MultiBetResponseSpecialBetResponse) HasBets() bool
HasBets returns a boolean if a field has been set.
func (MultiBetResponseSpecialBetResponse) MarshalJSON ¶
func (o MultiBetResponseSpecialBetResponse) MarshalJSON() ([]byte, error)
func (*MultiBetResponseSpecialBetResponse) SetBets ¶
func (o *MultiBetResponseSpecialBetResponse) SetBets(v []SpecialBetResponse)
SetBets gets a reference to the given []SpecialBetResponse and assigns it to the Bets field.
type NullableBettingStatusResponse ¶
type NullableBettingStatusResponse struct {
// contains filtered or unexported fields
}
func NewNullableBettingStatusResponse ¶
func NewNullableBettingStatusResponse(val *BettingStatusResponse) *NullableBettingStatusResponse
func (NullableBettingStatusResponse) Get ¶
func (v NullableBettingStatusResponse) Get() *BettingStatusResponse
func (NullableBettingStatusResponse) IsSet ¶
func (v NullableBettingStatusResponse) IsSet() bool
func (NullableBettingStatusResponse) MarshalJSON ¶
func (v NullableBettingStatusResponse) MarshalJSON() ([]byte, error)
func (*NullableBettingStatusResponse) Set ¶
func (v *NullableBettingStatusResponse) Set(val *BettingStatusResponse)
func (*NullableBettingStatusResponse) UnmarshalJSON ¶
func (v *NullableBettingStatusResponse) UnmarshalJSON(src []byte) error
func (*NullableBettingStatusResponse) Unset ¶
func (v *NullableBettingStatusResponse) 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 NullableCancellationDetailsItem ¶
type NullableCancellationDetailsItem struct {
// contains filtered or unexported fields
}
func NewNullableCancellationDetailsItem ¶
func NewNullableCancellationDetailsItem(val *CancellationDetailsItem) *NullableCancellationDetailsItem
func (NullableCancellationDetailsItem) Get ¶
func (v NullableCancellationDetailsItem) Get() *CancellationDetailsItem
func (NullableCancellationDetailsItem) IsSet ¶
func (v NullableCancellationDetailsItem) IsSet() bool
func (NullableCancellationDetailsItem) MarshalJSON ¶
func (v NullableCancellationDetailsItem) MarshalJSON() ([]byte, error)
func (*NullableCancellationDetailsItem) Set ¶
func (v *NullableCancellationDetailsItem) Set(val *CancellationDetailsItem)
func (*NullableCancellationDetailsItem) UnmarshalJSON ¶
func (v *NullableCancellationDetailsItem) UnmarshalJSON(src []byte) error
func (*NullableCancellationDetailsItem) Unset ¶
func (v *NullableCancellationDetailsItem) Unset()
type NullableCancellationReason ¶
type NullableCancellationReason struct {
// contains filtered or unexported fields
}
func NewNullableCancellationReason ¶
func NewNullableCancellationReason(val *CancellationReason) *NullableCancellationReason
func (NullableCancellationReason) Get ¶
func (v NullableCancellationReason) Get() *CancellationReason
func (NullableCancellationReason) IsSet ¶
func (v NullableCancellationReason) IsSet() bool
func (NullableCancellationReason) MarshalJSON ¶
func (v NullableCancellationReason) MarshalJSON() ([]byte, error)
func (*NullableCancellationReason) Set ¶
func (v *NullableCancellationReason) Set(val *CancellationReason)
func (*NullableCancellationReason) UnmarshalJSON ¶
func (v *NullableCancellationReason) UnmarshalJSON(src []byte) error
func (*NullableCancellationReason) Unset ¶
func (v *NullableCancellationReason) Unset()
type NullableCancellationReasonDetailsType ¶
type NullableCancellationReasonDetailsType struct {
// contains filtered or unexported fields
}
func NewNullableCancellationReasonDetailsType ¶
func NewNullableCancellationReasonDetailsType(val *CancellationReasonDetailsType) *NullableCancellationReasonDetailsType
func (NullableCancellationReasonDetailsType) Get ¶
func (v NullableCancellationReasonDetailsType) Get() *CancellationReasonDetailsType
func (NullableCancellationReasonDetailsType) IsSet ¶
func (v NullableCancellationReasonDetailsType) IsSet() bool
func (NullableCancellationReasonDetailsType) MarshalJSON ¶
func (v NullableCancellationReasonDetailsType) MarshalJSON() ([]byte, error)
func (*NullableCancellationReasonDetailsType) Set ¶
func (v *NullableCancellationReasonDetailsType) Set(val *CancellationReasonDetailsType)
func (*NullableCancellationReasonDetailsType) UnmarshalJSON ¶
func (v *NullableCancellationReasonDetailsType) UnmarshalJSON(src []byte) error
func (*NullableCancellationReasonDetailsType) Unset ¶
func (v *NullableCancellationReasonDetailsType) Unset()
type NullableCancellationReasonResponse ¶
type NullableCancellationReasonResponse struct {
// contains filtered or unexported fields
}
func NewNullableCancellationReasonResponse ¶
func NewNullableCancellationReasonResponse(val *CancellationReasonResponse) *NullableCancellationReasonResponse
func (NullableCancellationReasonResponse) Get ¶
func (v NullableCancellationReasonResponse) Get() *CancellationReasonResponse
func (NullableCancellationReasonResponse) IsSet ¶
func (v NullableCancellationReasonResponse) IsSet() bool
func (NullableCancellationReasonResponse) MarshalJSON ¶
func (v NullableCancellationReasonResponse) MarshalJSON() ([]byte, error)
func (*NullableCancellationReasonResponse) Set ¶
func (v *NullableCancellationReasonResponse) Set(val *CancellationReasonResponse)
func (*NullableCancellationReasonResponse) UnmarshalJSON ¶
func (v *NullableCancellationReasonResponse) UnmarshalJSON(src []byte) error
func (*NullableCancellationReasonResponse) Unset ¶
func (v *NullableCancellationReasonResponse) Unset()
type NullableCancellationReasonType ¶
type NullableCancellationReasonType struct {
// contains filtered or unexported fields
}
func NewNullableCancellationReasonType ¶
func NewNullableCancellationReasonType(val *CancellationReasonType) *NullableCancellationReasonType
func (NullableCancellationReasonType) Get ¶
func (v NullableCancellationReasonType) Get() *CancellationReasonType
func (NullableCancellationReasonType) IsSet ¶
func (v NullableCancellationReasonType) IsSet() bool
func (NullableCancellationReasonType) MarshalJSON ¶
func (v NullableCancellationReasonType) MarshalJSON() ([]byte, error)
func (*NullableCancellationReasonType) Set ¶
func (v *NullableCancellationReasonType) Set(val *CancellationReasonType)
func (*NullableCancellationReasonType) UnmarshalJSON ¶
func (v *NullableCancellationReasonType) UnmarshalJSON(src []byte) error
func (*NullableCancellationReasonType) Unset ¶
func (v *NullableCancellationReasonType) Unset()
type NullableClientBalanceResponse ¶
type NullableClientBalanceResponse struct {
// contains filtered or unexported fields
}
func NewNullableClientBalanceResponse ¶
func NewNullableClientBalanceResponse(val *ClientBalanceResponse) *NullableClientBalanceResponse
func (NullableClientBalanceResponse) Get ¶
func (v NullableClientBalanceResponse) Get() *ClientBalanceResponse
func (NullableClientBalanceResponse) IsSet ¶
func (v NullableClientBalanceResponse) IsSet() bool
func (NullableClientBalanceResponse) MarshalJSON ¶
func (v NullableClientBalanceResponse) MarshalJSON() ([]byte, error)
func (*NullableClientBalanceResponse) Set ¶
func (v *NullableClientBalanceResponse) Set(val *ClientBalanceResponse)
func (*NullableClientBalanceResponse) UnmarshalJSON ¶
func (v *NullableClientBalanceResponse) UnmarshalJSON(src []byte) error
func (*NullableClientBalanceResponse) Unset ¶
func (v *NullableClientBalanceResponse) Unset()
type NullableCurrency ¶
type NullableCurrency struct {
// contains filtered or unexported fields
}
func NewNullableCurrency ¶
func NewNullableCurrency(val *Currency) *NullableCurrency
func (NullableCurrency) Get ¶
func (v NullableCurrency) Get() *Currency
func (NullableCurrency) IsSet ¶
func (v NullableCurrency) IsSet() bool
func (NullableCurrency) MarshalJSON ¶
func (v NullableCurrency) MarshalJSON() ([]byte, error)
func (*NullableCurrency) Set ¶
func (v *NullableCurrency) Set(val *Currency)
func (*NullableCurrency) UnmarshalJSON ¶
func (v *NullableCurrency) UnmarshalJSON(src []byte) error
func (*NullableCurrency) Unset ¶
func (v *NullableCurrency) Unset()
type NullableErrorCode ¶
type NullableErrorCode struct {
// contains filtered or unexported fields
}
func NewNullableErrorCode ¶
func NewNullableErrorCode(val *ErrorCode) *NullableErrorCode
func (NullableErrorCode) Get ¶
func (v NullableErrorCode) Get() *ErrorCode
func (NullableErrorCode) IsSet ¶
func (v NullableErrorCode) IsSet() bool
func (NullableErrorCode) MarshalJSON ¶
func (v NullableErrorCode) MarshalJSON() ([]byte, error)
func (*NullableErrorCode) Set ¶
func (v *NullableErrorCode) Set(val *ErrorCode)
func (*NullableErrorCode) UnmarshalJSON ¶
func (v *NullableErrorCode) UnmarshalJSON(src []byte) error
func (*NullableErrorCode) Unset ¶
func (v *NullableErrorCode) Unset()
type NullableErrorResponse ¶
type NullableErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableErrorResponse ¶
func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse
func (NullableErrorResponse) Get ¶
func (v NullableErrorResponse) Get() *ErrorResponse
func (NullableErrorResponse) IsSet ¶
func (v NullableErrorResponse) IsSet() bool
func (NullableErrorResponse) MarshalJSON ¶
func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableErrorResponse) Set ¶
func (v *NullableErrorResponse) Set(val *ErrorResponse)
func (*NullableErrorResponse) UnmarshalJSON ¶
func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableErrorResponse) Unset ¶
func (v *NullableErrorResponse) Unset()
type NullableErrorResponseWithErrorRef ¶
type NullableErrorResponseWithErrorRef struct {
// contains filtered or unexported fields
}
func NewNullableErrorResponseWithErrorRef ¶
func NewNullableErrorResponseWithErrorRef(val *ErrorResponseWithErrorRef) *NullableErrorResponseWithErrorRef
func (NullableErrorResponseWithErrorRef) Get ¶
func (v NullableErrorResponseWithErrorRef) Get() *ErrorResponseWithErrorRef
func (NullableErrorResponseWithErrorRef) IsSet ¶
func (v NullableErrorResponseWithErrorRef) IsSet() bool
func (NullableErrorResponseWithErrorRef) MarshalJSON ¶
func (v NullableErrorResponseWithErrorRef) MarshalJSON() ([]byte, error)
func (*NullableErrorResponseWithErrorRef) Set ¶
func (v *NullableErrorResponseWithErrorRef) Set(val *ErrorResponseWithErrorRef)
func (*NullableErrorResponseWithErrorRef) UnmarshalJSON ¶
func (v *NullableErrorResponseWithErrorRef) UnmarshalJSON(src []byte) error
func (*NullableErrorResponseWithErrorRef) Unset ¶
func (v *NullableErrorResponseWithErrorRef) Unset()
type NullableExtendedErrorResponse ¶
type NullableExtendedErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableExtendedErrorResponse ¶
func NewNullableExtendedErrorResponse(val *ExtendedErrorResponse) *NullableExtendedErrorResponse
func (NullableExtendedErrorResponse) Get ¶
func (v NullableExtendedErrorResponse) Get() *ExtendedErrorResponse
func (NullableExtendedErrorResponse) IsSet ¶
func (v NullableExtendedErrorResponse) IsSet() bool
func (NullableExtendedErrorResponse) MarshalJSON ¶
func (v NullableExtendedErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableExtendedErrorResponse) Set ¶
func (v *NullableExtendedErrorResponse) Set(val *ExtendedErrorResponse)
func (*NullableExtendedErrorResponse) UnmarshalJSON ¶
func (v *NullableExtendedErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableExtendedErrorResponse) Unset ¶
func (v *NullableExtendedErrorResponse) Unset()
type NullableExtendedLinesErrorResponse ¶
type NullableExtendedLinesErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableExtendedLinesErrorResponse ¶
func NewNullableExtendedLinesErrorResponse(val *ExtendedLinesErrorResponse) *NullableExtendedLinesErrorResponse
func (NullableExtendedLinesErrorResponse) Get ¶
func (v NullableExtendedLinesErrorResponse) Get() *ExtendedLinesErrorResponse
func (NullableExtendedLinesErrorResponse) IsSet ¶
func (v NullableExtendedLinesErrorResponse) IsSet() bool
func (NullableExtendedLinesErrorResponse) MarshalJSON ¶
func (v NullableExtendedLinesErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableExtendedLinesErrorResponse) Set ¶
func (v *NullableExtendedLinesErrorResponse) Set(val *ExtendedLinesErrorResponse)
func (*NullableExtendedLinesErrorResponse) UnmarshalJSON ¶
func (v *NullableExtendedLinesErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableExtendedLinesErrorResponse) Unset ¶
func (v *NullableExtendedLinesErrorResponse) Unset()
type NullableFillType ¶
type NullableFillType struct {
// contains filtered or unexported fields
}
func NewNullableFillType ¶
func NewNullableFillType(val *FillType) *NullableFillType
func (NullableFillType) Get ¶
func (v NullableFillType) Get() *FillType
func (NullableFillType) IsSet ¶
func (v NullableFillType) IsSet() bool
func (NullableFillType) MarshalJSON ¶
func (v NullableFillType) MarshalJSON() ([]byte, error)
func (*NullableFillType) Set ¶
func (v *NullableFillType) Set(val *FillType)
func (*NullableFillType) UnmarshalJSON ¶
func (v *NullableFillType) UnmarshalJSON(src []byte) error
func (*NullableFillType) Unset ¶
func (v *NullableFillType) Unset()
type NullableFixture ¶
type NullableFixture struct {
// contains filtered or unexported fields
}
func NewNullableFixture ¶
func NewNullableFixture(val *Fixture) *NullableFixture
func (NullableFixture) Get ¶
func (v NullableFixture) Get() *Fixture
func (NullableFixture) IsSet ¶
func (v NullableFixture) IsSet() bool
func (NullableFixture) MarshalJSON ¶
func (v NullableFixture) MarshalJSON() ([]byte, error)
func (*NullableFixture) Set ¶
func (v *NullableFixture) Set(val *Fixture)
func (*NullableFixture) UnmarshalJSON ¶
func (v *NullableFixture) UnmarshalJSON(src []byte) error
func (*NullableFixture) Unset ¶
func (v *NullableFixture) Unset()
type NullableFixturesLeague ¶
type NullableFixturesLeague struct {
// contains filtered or unexported fields
}
func NewNullableFixturesLeague ¶
func NewNullableFixturesLeague(val *FixturesLeague) *NullableFixturesLeague
func (NullableFixturesLeague) Get ¶
func (v NullableFixturesLeague) Get() *FixturesLeague
func (NullableFixturesLeague) IsSet ¶
func (v NullableFixturesLeague) IsSet() bool
func (NullableFixturesLeague) MarshalJSON ¶
func (v NullableFixturesLeague) MarshalJSON() ([]byte, error)
func (*NullableFixturesLeague) Set ¶
func (v *NullableFixturesLeague) Set(val *FixturesLeague)
func (*NullableFixturesLeague) UnmarshalJSON ¶
func (v *NullableFixturesLeague) UnmarshalJSON(src []byte) error
func (*NullableFixturesLeague) Unset ¶
func (v *NullableFixturesLeague) Unset()
type NullableFixturesResponse ¶
type NullableFixturesResponse struct {
// contains filtered or unexported fields
}
func NewNullableFixturesResponse ¶
func NewNullableFixturesResponse(val *FixturesResponse) *NullableFixturesResponse
func (NullableFixturesResponse) Get ¶
func (v NullableFixturesResponse) Get() *FixturesResponse
func (NullableFixturesResponse) IsSet ¶
func (v NullableFixturesResponse) IsSet() bool
func (NullableFixturesResponse) MarshalJSON ¶
func (v NullableFixturesResponse) MarshalJSON() ([]byte, error)
func (*NullableFixturesResponse) Set ¶
func (v *NullableFixturesResponse) Set(val *FixturesResponse)
func (*NullableFixturesResponse) UnmarshalJSON ¶
func (v *NullableFixturesResponse) UnmarshalJSON(src []byte) error
func (*NullableFixturesResponse) Unset ¶
func (v *NullableFixturesResponse) 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 NullableGetBetsByTypeResponseV3 ¶
type NullableGetBetsByTypeResponseV3 struct {
// contains filtered or unexported fields
}
func NewNullableGetBetsByTypeResponseV3 ¶
func NewNullableGetBetsByTypeResponseV3(val *GetBetsByTypeResponseV3) *NullableGetBetsByTypeResponseV3
func (NullableGetBetsByTypeResponseV3) Get ¶
func (v NullableGetBetsByTypeResponseV3) Get() *GetBetsByTypeResponseV3
func (NullableGetBetsByTypeResponseV3) IsSet ¶
func (v NullableGetBetsByTypeResponseV3) IsSet() bool
func (NullableGetBetsByTypeResponseV3) MarshalJSON ¶
func (v NullableGetBetsByTypeResponseV3) MarshalJSON() ([]byte, error)
func (*NullableGetBetsByTypeResponseV3) Set ¶
func (v *NullableGetBetsByTypeResponseV3) Set(val *GetBetsByTypeResponseV3)
func (*NullableGetBetsByTypeResponseV3) UnmarshalJSON ¶
func (v *NullableGetBetsByTypeResponseV3) UnmarshalJSON(src []byte) error
func (*NullableGetBetsByTypeResponseV3) Unset ¶
func (v *NullableGetBetsByTypeResponseV3) Unset()
type NullableInRunningEvent ¶
type NullableInRunningEvent struct {
// contains filtered or unexported fields
}
func NewNullableInRunningEvent ¶
func NewNullableInRunningEvent(val *InRunningEvent) *NullableInRunningEvent
func (NullableInRunningEvent) Get ¶
func (v NullableInRunningEvent) Get() *InRunningEvent
func (NullableInRunningEvent) IsSet ¶
func (v NullableInRunningEvent) IsSet() bool
func (NullableInRunningEvent) MarshalJSON ¶
func (v NullableInRunningEvent) MarshalJSON() ([]byte, error)
func (*NullableInRunningEvent) Set ¶
func (v *NullableInRunningEvent) Set(val *InRunningEvent)
func (*NullableInRunningEvent) UnmarshalJSON ¶
func (v *NullableInRunningEvent) UnmarshalJSON(src []byte) error
func (*NullableInRunningEvent) Unset ¶
func (v *NullableInRunningEvent) Unset()
type NullableInRunningLeague ¶
type NullableInRunningLeague struct {
// contains filtered or unexported fields
}
func NewNullableInRunningLeague ¶
func NewNullableInRunningLeague(val *InRunningLeague) *NullableInRunningLeague
func (NullableInRunningLeague) Get ¶
func (v NullableInRunningLeague) Get() *InRunningLeague
func (NullableInRunningLeague) IsSet ¶
func (v NullableInRunningLeague) IsSet() bool
func (NullableInRunningLeague) MarshalJSON ¶
func (v NullableInRunningLeague) MarshalJSON() ([]byte, error)
func (*NullableInRunningLeague) Set ¶
func (v *NullableInRunningLeague) Set(val *InRunningLeague)
func (*NullableInRunningLeague) UnmarshalJSON ¶
func (v *NullableInRunningLeague) UnmarshalJSON(src []byte) error
func (*NullableInRunningLeague) Unset ¶
func (v *NullableInRunningLeague) Unset()
type NullableInRunningResponse ¶
type NullableInRunningResponse struct {
// contains filtered or unexported fields
}
func NewNullableInRunningResponse ¶
func NewNullableInRunningResponse(val *InRunningResponse) *NullableInRunningResponse
func (NullableInRunningResponse) Get ¶
func (v NullableInRunningResponse) Get() *InRunningResponse
func (NullableInRunningResponse) IsSet ¶
func (v NullableInRunningResponse) IsSet() bool
func (NullableInRunningResponse) MarshalJSON ¶
func (v NullableInRunningResponse) MarshalJSON() ([]byte, error)
func (*NullableInRunningResponse) Set ¶
func (v *NullableInRunningResponse) Set(val *InRunningResponse)
func (*NullableInRunningResponse) UnmarshalJSON ¶
func (v *NullableInRunningResponse) UnmarshalJSON(src []byte) error
func (*NullableInRunningResponse) Unset ¶
func (v *NullableInRunningResponse) Unset()
type NullableInRunningSport ¶
type NullableInRunningSport struct {
// contains filtered or unexported fields
}
func NewNullableInRunningSport ¶
func NewNullableInRunningSport(val *InRunningSport) *NullableInRunningSport
func (NullableInRunningSport) Get ¶
func (v NullableInRunningSport) Get() *InRunningSport
func (NullableInRunningSport) IsSet ¶
func (v NullableInRunningSport) IsSet() bool
func (NullableInRunningSport) MarshalJSON ¶
func (v NullableInRunningSport) MarshalJSON() ([]byte, error)
func (*NullableInRunningSport) Set ¶
func (v *NullableInRunningSport) Set(val *InRunningSport)
func (*NullableInRunningSport) UnmarshalJSON ¶
func (v *NullableInRunningSport) UnmarshalJSON(src []byte) error
func (*NullableInRunningSport) Unset ¶
func (v *NullableInRunningSport) 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 NullableLeagues ¶
type NullableLeagues struct {
// contains filtered or unexported fields
}
func NewNullableLeagues ¶
func NewNullableLeagues(val *Leagues) *NullableLeagues
func (NullableLeagues) Get ¶
func (v NullableLeagues) Get() *Leagues
func (NullableLeagues) IsSet ¶
func (v NullableLeagues) IsSet() bool
func (NullableLeagues) MarshalJSON ¶
func (v NullableLeagues) MarshalJSON() ([]byte, error)
func (*NullableLeagues) Set ¶
func (v *NullableLeagues) Set(val *Leagues)
func (*NullableLeagues) UnmarshalJSON ¶
func (v *NullableLeagues) UnmarshalJSON(src []byte) error
func (*NullableLeagues) Unset ¶
func (v *NullableLeagues) Unset()
type NullableLineResponse ¶
type NullableLineResponse struct {
// contains filtered or unexported fields
}
func NewNullableLineResponse ¶
func NewNullableLineResponse(val *LineResponse) *NullableLineResponse
func (NullableLineResponse) Get ¶
func (v NullableLineResponse) Get() *LineResponse
func (NullableLineResponse) IsSet ¶
func (v NullableLineResponse) IsSet() bool
func (NullableLineResponse) MarshalJSON ¶
func (v NullableLineResponse) MarshalJSON() ([]byte, error)
func (*NullableLineResponse) Set ¶
func (v *NullableLineResponse) Set(val *LineResponse)
func (*NullableLineResponse) UnmarshalJSON ¶
func (v *NullableLineResponse) UnmarshalJSON(src []byte) error
func (*NullableLineResponse) Unset ¶
func (v *NullableLineResponse) Unset()
type NullableLinesErrorResponse ¶
type NullableLinesErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableLinesErrorResponse ¶
func NewNullableLinesErrorResponse(val *LinesErrorResponse) *NullableLinesErrorResponse
func (NullableLinesErrorResponse) Get ¶
func (v NullableLinesErrorResponse) Get() *LinesErrorResponse
func (NullableLinesErrorResponse) IsSet ¶
func (v NullableLinesErrorResponse) IsSet() bool
func (NullableLinesErrorResponse) MarshalJSON ¶
func (v NullableLinesErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableLinesErrorResponse) Set ¶
func (v *NullableLinesErrorResponse) Set(val *LinesErrorResponse)
func (*NullableLinesErrorResponse) UnmarshalJSON ¶
func (v *NullableLinesErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableLinesErrorResponse) Unset ¶
func (v *NullableLinesErrorResponse) Unset()
type NullableManualBet ¶
type NullableManualBet struct {
// contains filtered or unexported fields
}
func NewNullableManualBet ¶
func NewNullableManualBet(val *ManualBet) *NullableManualBet
func (NullableManualBet) Get ¶
func (v NullableManualBet) Get() *ManualBet
func (NullableManualBet) IsSet ¶
func (v NullableManualBet) IsSet() bool
func (NullableManualBet) MarshalJSON ¶
func (v NullableManualBet) MarshalJSON() ([]byte, error)
func (*NullableManualBet) Set ¶
func (v *NullableManualBet) Set(val *ManualBet)
func (*NullableManualBet) UnmarshalJSON ¶
func (v *NullableManualBet) UnmarshalJSON(src []byte) error
func (*NullableManualBet) Unset ¶
func (v *NullableManualBet) Unset()
type NullableMultiBetRequestSpecialBetRequest ¶
type NullableMultiBetRequestSpecialBetRequest struct {
// contains filtered or unexported fields
}
func NewNullableMultiBetRequestSpecialBetRequest ¶
func NewNullableMultiBetRequestSpecialBetRequest(val *MultiBetRequestSpecialBetRequest) *NullableMultiBetRequestSpecialBetRequest
func (NullableMultiBetRequestSpecialBetRequest) IsSet ¶
func (v NullableMultiBetRequestSpecialBetRequest) IsSet() bool
func (NullableMultiBetRequestSpecialBetRequest) MarshalJSON ¶
func (v NullableMultiBetRequestSpecialBetRequest) MarshalJSON() ([]byte, error)
func (*NullableMultiBetRequestSpecialBetRequest) Set ¶
func (v *NullableMultiBetRequestSpecialBetRequest) Set(val *MultiBetRequestSpecialBetRequest)
func (*NullableMultiBetRequestSpecialBetRequest) UnmarshalJSON ¶
func (v *NullableMultiBetRequestSpecialBetRequest) UnmarshalJSON(src []byte) error
func (*NullableMultiBetRequestSpecialBetRequest) Unset ¶
func (v *NullableMultiBetRequestSpecialBetRequest) Unset()
type NullableMultiBetResponseSpecialBetResponse ¶
type NullableMultiBetResponseSpecialBetResponse struct {
// contains filtered or unexported fields
}
func NewNullableMultiBetResponseSpecialBetResponse ¶
func NewNullableMultiBetResponseSpecialBetResponse(val *MultiBetResponseSpecialBetResponse) *NullableMultiBetResponseSpecialBetResponse
func (NullableMultiBetResponseSpecialBetResponse) IsSet ¶
func (v NullableMultiBetResponseSpecialBetResponse) IsSet() bool
func (NullableMultiBetResponseSpecialBetResponse) MarshalJSON ¶
func (v NullableMultiBetResponseSpecialBetResponse) MarshalJSON() ([]byte, error)
func (*NullableMultiBetResponseSpecialBetResponse) Set ¶
func (v *NullableMultiBetResponseSpecialBetResponse) Set(val *MultiBetResponseSpecialBetResponse)
func (*NullableMultiBetResponseSpecialBetResponse) UnmarshalJSON ¶
func (v *NullableMultiBetResponseSpecialBetResponse) UnmarshalJSON(src []byte) error
func (*NullableMultiBetResponseSpecialBetResponse) Unset ¶
func (v *NullableMultiBetResponseSpecialBetResponse) Unset()
type NullableOddsEvent ¶
type NullableOddsEvent struct {
// contains filtered or unexported fields
}
func NewNullableOddsEvent ¶
func NewNullableOddsEvent(val *OddsEvent) *NullableOddsEvent
func (NullableOddsEvent) Get ¶
func (v NullableOddsEvent) Get() *OddsEvent
func (NullableOddsEvent) IsSet ¶
func (v NullableOddsEvent) IsSet() bool
func (NullableOddsEvent) MarshalJSON ¶
func (v NullableOddsEvent) MarshalJSON() ([]byte, error)
func (*NullableOddsEvent) Set ¶
func (v *NullableOddsEvent) Set(val *OddsEvent)
func (*NullableOddsEvent) UnmarshalJSON ¶
func (v *NullableOddsEvent) UnmarshalJSON(src []byte) error
func (*NullableOddsEvent) Unset ¶
func (v *NullableOddsEvent) Unset()
type NullableOddsFormat ¶
type NullableOddsFormat struct {
// contains filtered or unexported fields
}
func NewNullableOddsFormat ¶
func NewNullableOddsFormat(val *OddsFormat) *NullableOddsFormat
func (NullableOddsFormat) Get ¶
func (v NullableOddsFormat) Get() *OddsFormat
func (NullableOddsFormat) IsSet ¶
func (v NullableOddsFormat) IsSet() bool
func (NullableOddsFormat) MarshalJSON ¶
func (v NullableOddsFormat) MarshalJSON() ([]byte, error)
func (*NullableOddsFormat) Set ¶
func (v *NullableOddsFormat) Set(val *OddsFormat)
func (*NullableOddsFormat) UnmarshalJSON ¶
func (v *NullableOddsFormat) UnmarshalJSON(src []byte) error
func (*NullableOddsFormat) Unset ¶
func (v *NullableOddsFormat) Unset()
type NullableOddsLeague ¶
type NullableOddsLeague struct {
// contains filtered or unexported fields
}
func NewNullableOddsLeague ¶
func NewNullableOddsLeague(val *OddsLeague) *NullableOddsLeague
func (NullableOddsLeague) Get ¶
func (v NullableOddsLeague) Get() *OddsLeague
func (NullableOddsLeague) IsSet ¶
func (v NullableOddsLeague) IsSet() bool
func (NullableOddsLeague) MarshalJSON ¶
func (v NullableOddsLeague) MarshalJSON() ([]byte, error)
func (*NullableOddsLeague) Set ¶
func (v *NullableOddsLeague) Set(val *OddsLeague)
func (*NullableOddsLeague) UnmarshalJSON ¶
func (v *NullableOddsLeague) UnmarshalJSON(src []byte) error
func (*NullableOddsLeague) Unset ¶
func (v *NullableOddsLeague) Unset()
type NullableOddsMoneyline ¶
type NullableOddsMoneyline struct {
// contains filtered or unexported fields
}
func NewNullableOddsMoneyline ¶
func NewNullableOddsMoneyline(val *OddsMoneyline) *NullableOddsMoneyline
func (NullableOddsMoneyline) Get ¶
func (v NullableOddsMoneyline) Get() *OddsMoneyline
func (NullableOddsMoneyline) IsSet ¶
func (v NullableOddsMoneyline) IsSet() bool
func (NullableOddsMoneyline) MarshalJSON ¶
func (v NullableOddsMoneyline) MarshalJSON() ([]byte, error)
func (*NullableOddsMoneyline) Set ¶
func (v *NullableOddsMoneyline) Set(val *OddsMoneyline)
func (*NullableOddsMoneyline) UnmarshalJSON ¶
func (v *NullableOddsMoneyline) UnmarshalJSON(src []byte) error
func (*NullableOddsMoneyline) Unset ¶
func (v *NullableOddsMoneyline) Unset()
type NullableOddsPeriod ¶
type NullableOddsPeriod struct {
// contains filtered or unexported fields
}
func NewNullableOddsPeriod ¶
func NewNullableOddsPeriod(val *OddsPeriod) *NullableOddsPeriod
func (NullableOddsPeriod) Get ¶
func (v NullableOddsPeriod) Get() *OddsPeriod
func (NullableOddsPeriod) IsSet ¶
func (v NullableOddsPeriod) IsSet() bool
func (NullableOddsPeriod) MarshalJSON ¶
func (v NullableOddsPeriod) MarshalJSON() ([]byte, error)
func (*NullableOddsPeriod) Set ¶
func (v *NullableOddsPeriod) Set(val *OddsPeriod)
func (*NullableOddsPeriod) UnmarshalJSON ¶
func (v *NullableOddsPeriod) UnmarshalJSON(src []byte) error
func (*NullableOddsPeriod) Unset ¶
func (v *NullableOddsPeriod) Unset()
type NullableOddsResponse ¶
type NullableOddsResponse struct {
// contains filtered or unexported fields
}
func NewNullableOddsResponse ¶
func NewNullableOddsResponse(val *OddsResponse) *NullableOddsResponse
func (NullableOddsResponse) Get ¶
func (v NullableOddsResponse) Get() *OddsResponse
func (NullableOddsResponse) IsSet ¶
func (v NullableOddsResponse) IsSet() bool
func (NullableOddsResponse) MarshalJSON ¶
func (v NullableOddsResponse) MarshalJSON() ([]byte, error)
func (*NullableOddsResponse) Set ¶
func (v *NullableOddsResponse) Set(val *OddsResponse)
func (*NullableOddsResponse) UnmarshalJSON ¶
func (v *NullableOddsResponse) UnmarshalJSON(src []byte) error
func (*NullableOddsResponse) Unset ¶
func (v *NullableOddsResponse) Unset()
type NullableOddsSpread ¶
type NullableOddsSpread struct {
// contains filtered or unexported fields
}
func NewNullableOddsSpread ¶
func NewNullableOddsSpread(val *OddsSpread) *NullableOddsSpread
func (NullableOddsSpread) Get ¶
func (v NullableOddsSpread) Get() *OddsSpread
func (NullableOddsSpread) IsSet ¶
func (v NullableOddsSpread) IsSet() bool
func (NullableOddsSpread) MarshalJSON ¶
func (v NullableOddsSpread) MarshalJSON() ([]byte, error)
func (*NullableOddsSpread) Set ¶
func (v *NullableOddsSpread) Set(val *OddsSpread)
func (*NullableOddsSpread) UnmarshalJSON ¶
func (v *NullableOddsSpread) UnmarshalJSON(src []byte) error
func (*NullableOddsSpread) Unset ¶
func (v *NullableOddsSpread) Unset()
type NullableOddsTeamTotal ¶
type NullableOddsTeamTotal struct {
// contains filtered or unexported fields
}
func NewNullableOddsTeamTotal ¶
func NewNullableOddsTeamTotal(val *OddsTeamTotal) *NullableOddsTeamTotal
func (NullableOddsTeamTotal) Get ¶
func (v NullableOddsTeamTotal) Get() *OddsTeamTotal
func (NullableOddsTeamTotal) IsSet ¶
func (v NullableOddsTeamTotal) IsSet() bool
func (NullableOddsTeamTotal) MarshalJSON ¶
func (v NullableOddsTeamTotal) MarshalJSON() ([]byte, error)
func (*NullableOddsTeamTotal) Set ¶
func (v *NullableOddsTeamTotal) Set(val *OddsTeamTotal)
func (*NullableOddsTeamTotal) UnmarshalJSON ¶
func (v *NullableOddsTeamTotal) UnmarshalJSON(src []byte) error
func (*NullableOddsTeamTotal) Unset ¶
func (v *NullableOddsTeamTotal) Unset()
type NullableOddsTeamTotals ¶
type NullableOddsTeamTotals struct {
// contains filtered or unexported fields
}
func NewNullableOddsTeamTotals ¶
func NewNullableOddsTeamTotals(val *OddsTeamTotals) *NullableOddsTeamTotals
func (NullableOddsTeamTotals) Get ¶
func (v NullableOddsTeamTotals) Get() *OddsTeamTotals
func (NullableOddsTeamTotals) IsSet ¶
func (v NullableOddsTeamTotals) IsSet() bool
func (NullableOddsTeamTotals) MarshalJSON ¶
func (v NullableOddsTeamTotals) MarshalJSON() ([]byte, error)
func (*NullableOddsTeamTotals) Set ¶
func (v *NullableOddsTeamTotals) Set(val *OddsTeamTotals)
func (*NullableOddsTeamTotals) UnmarshalJSON ¶
func (v *NullableOddsTeamTotals) UnmarshalJSON(src []byte) error
func (*NullableOddsTeamTotals) Unset ¶
func (v *NullableOddsTeamTotals) Unset()
type NullableOddsTotal ¶
type NullableOddsTotal struct {
// contains filtered or unexported fields
}
func NewNullableOddsTotal ¶
func NewNullableOddsTotal(val *OddsTotal) *NullableOddsTotal
func (NullableOddsTotal) Get ¶
func (v NullableOddsTotal) Get() *OddsTotal
func (NullableOddsTotal) IsSet ¶
func (v NullableOddsTotal) IsSet() bool
func (NullableOddsTotal) MarshalJSON ¶
func (v NullableOddsTotal) MarshalJSON() ([]byte, error)
func (*NullableOddsTotal) Set ¶
func (v *NullableOddsTotal) Set(val *OddsTotal)
func (*NullableOddsTotal) UnmarshalJSON ¶
func (v *NullableOddsTotal) UnmarshalJSON(src []byte) error
func (*NullableOddsTotal) Unset ¶
func (v *NullableOddsTotal) Unset()
type NullableParlayBet ¶
type NullableParlayBet struct {
// contains filtered or unexported fields
}
func NewNullableParlayBet ¶
func NewNullableParlayBet(val *ParlayBet) *NullableParlayBet
func (NullableParlayBet) Get ¶
func (v NullableParlayBet) Get() *ParlayBet
func (NullableParlayBet) IsSet ¶
func (v NullableParlayBet) IsSet() bool
func (NullableParlayBet) MarshalJSON ¶
func (v NullableParlayBet) MarshalJSON() ([]byte, error)
func (*NullableParlayBet) Set ¶
func (v *NullableParlayBet) Set(val *ParlayBet)
func (*NullableParlayBet) UnmarshalJSON ¶
func (v *NullableParlayBet) UnmarshalJSON(src []byte) error
func (*NullableParlayBet) Unset ¶
func (v *NullableParlayBet) Unset()
type NullableParlayLeg ¶
type NullableParlayLeg struct {
// contains filtered or unexported fields
}
func NewNullableParlayLeg ¶
func NewNullableParlayLeg(val *ParlayLeg) *NullableParlayLeg
func (NullableParlayLeg) Get ¶
func (v NullableParlayLeg) Get() *ParlayLeg
func (NullableParlayLeg) IsSet ¶
func (v NullableParlayLeg) IsSet() bool
func (NullableParlayLeg) MarshalJSON ¶
func (v NullableParlayLeg) MarshalJSON() ([]byte, error)
func (*NullableParlayLeg) Set ¶
func (v *NullableParlayLeg) Set(val *ParlayLeg)
func (*NullableParlayLeg) UnmarshalJSON ¶
func (v *NullableParlayLeg) UnmarshalJSON(src []byte) error
func (*NullableParlayLeg) Unset ¶
func (v *NullableParlayLeg) Unset()
type NullablePeriod ¶
type NullablePeriod struct {
// contains filtered or unexported fields
}
func NewNullablePeriod ¶
func NewNullablePeriod(val *Period) *NullablePeriod
func (NullablePeriod) Get ¶
func (v NullablePeriod) Get() *Period
func (NullablePeriod) IsSet ¶
func (v NullablePeriod) IsSet() bool
func (NullablePeriod) MarshalJSON ¶
func (v NullablePeriod) MarshalJSON() ([]byte, error)
func (*NullablePeriod) Set ¶
func (v *NullablePeriod) Set(val *Period)
func (*NullablePeriod) UnmarshalJSON ¶
func (v *NullablePeriod) UnmarshalJSON(src []byte) error
func (*NullablePeriod) Unset ¶
func (v *NullablePeriod) 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 NullablePlaceBetResponseV2 ¶
type NullablePlaceBetResponseV2 struct {
// contains filtered or unexported fields
}
func NewNullablePlaceBetResponseV2 ¶
func NewNullablePlaceBetResponseV2(val *PlaceBetResponseV2) *NullablePlaceBetResponseV2
func (NullablePlaceBetResponseV2) Get ¶
func (v NullablePlaceBetResponseV2) Get() *PlaceBetResponseV2
func (NullablePlaceBetResponseV2) IsSet ¶
func (v NullablePlaceBetResponseV2) IsSet() bool
func (NullablePlaceBetResponseV2) MarshalJSON ¶
func (v NullablePlaceBetResponseV2) MarshalJSON() ([]byte, error)
func (*NullablePlaceBetResponseV2) Set ¶
func (v *NullablePlaceBetResponseV2) Set(val *PlaceBetResponseV2)
func (*NullablePlaceBetResponseV2) UnmarshalJSON ¶
func (v *NullablePlaceBetResponseV2) UnmarshalJSON(src []byte) error
func (*NullablePlaceBetResponseV2) Unset ¶
func (v *NullablePlaceBetResponseV2) Unset()
type NullableSettledFixturesEvent ¶
type NullableSettledFixturesEvent struct {
// contains filtered or unexported fields
}
func NewNullableSettledFixturesEvent ¶
func NewNullableSettledFixturesEvent(val *SettledFixturesEvent) *NullableSettledFixturesEvent
func (NullableSettledFixturesEvent) Get ¶
func (v NullableSettledFixturesEvent) Get() *SettledFixturesEvent
func (NullableSettledFixturesEvent) IsSet ¶
func (v NullableSettledFixturesEvent) IsSet() bool
func (NullableSettledFixturesEvent) MarshalJSON ¶
func (v NullableSettledFixturesEvent) MarshalJSON() ([]byte, error)
func (*NullableSettledFixturesEvent) Set ¶
func (v *NullableSettledFixturesEvent) Set(val *SettledFixturesEvent)
func (*NullableSettledFixturesEvent) UnmarshalJSON ¶
func (v *NullableSettledFixturesEvent) UnmarshalJSON(src []byte) error
func (*NullableSettledFixturesEvent) Unset ¶
func (v *NullableSettledFixturesEvent) Unset()
type NullableSettledFixturesLeague ¶
type NullableSettledFixturesLeague struct {
// contains filtered or unexported fields
}
func NewNullableSettledFixturesLeague ¶
func NewNullableSettledFixturesLeague(val *SettledFixturesLeague) *NullableSettledFixturesLeague
func (NullableSettledFixturesLeague) Get ¶
func (v NullableSettledFixturesLeague) Get() *SettledFixturesLeague
func (NullableSettledFixturesLeague) IsSet ¶
func (v NullableSettledFixturesLeague) IsSet() bool
func (NullableSettledFixturesLeague) MarshalJSON ¶
func (v NullableSettledFixturesLeague) MarshalJSON() ([]byte, error)
func (*NullableSettledFixturesLeague) Set ¶
func (v *NullableSettledFixturesLeague) Set(val *SettledFixturesLeague)
func (*NullableSettledFixturesLeague) UnmarshalJSON ¶
func (v *NullableSettledFixturesLeague) UnmarshalJSON(src []byte) error
func (*NullableSettledFixturesLeague) Unset ¶
func (v *NullableSettledFixturesLeague) Unset()
type NullableSettledFixturesPeriod ¶
type NullableSettledFixturesPeriod struct {
// contains filtered or unexported fields
}
func NewNullableSettledFixturesPeriod ¶
func NewNullableSettledFixturesPeriod(val *SettledFixturesPeriod) *NullableSettledFixturesPeriod
func (NullableSettledFixturesPeriod) Get ¶
func (v NullableSettledFixturesPeriod) Get() *SettledFixturesPeriod
func (NullableSettledFixturesPeriod) IsSet ¶
func (v NullableSettledFixturesPeriod) IsSet() bool
func (NullableSettledFixturesPeriod) MarshalJSON ¶
func (v NullableSettledFixturesPeriod) MarshalJSON() ([]byte, error)
func (*NullableSettledFixturesPeriod) Set ¶
func (v *NullableSettledFixturesPeriod) Set(val *SettledFixturesPeriod)
func (*NullableSettledFixturesPeriod) UnmarshalJSON ¶
func (v *NullableSettledFixturesPeriod) UnmarshalJSON(src []byte) error
func (*NullableSettledFixturesPeriod) Unset ¶
func (v *NullableSettledFixturesPeriod) Unset()
type NullableSettledFixturesSport ¶
type NullableSettledFixturesSport struct {
// contains filtered or unexported fields
}
func NewNullableSettledFixturesSport ¶
func NewNullableSettledFixturesSport(val *SettledFixturesSport) *NullableSettledFixturesSport
func (NullableSettledFixturesSport) Get ¶
func (v NullableSettledFixturesSport) Get() *SettledFixturesSport
func (NullableSettledFixturesSport) IsSet ¶
func (v NullableSettledFixturesSport) IsSet() bool
func (NullableSettledFixturesSport) MarshalJSON ¶
func (v NullableSettledFixturesSport) MarshalJSON() ([]byte, error)
func (*NullableSettledFixturesSport) Set ¶
func (v *NullableSettledFixturesSport) Set(val *SettledFixturesSport)
func (*NullableSettledFixturesSport) UnmarshalJSON ¶
func (v *NullableSettledFixturesSport) UnmarshalJSON(src []byte) error
func (*NullableSettledFixturesSport) Unset ¶
func (v *NullableSettledFixturesSport) Unset()
type NullableSettledSpecial ¶
type NullableSettledSpecial struct {
// contains filtered or unexported fields
}
func NewNullableSettledSpecial ¶
func NewNullableSettledSpecial(val *SettledSpecial) *NullableSettledSpecial
func (NullableSettledSpecial) Get ¶
func (v NullableSettledSpecial) Get() *SettledSpecial
func (NullableSettledSpecial) IsSet ¶
func (v NullableSettledSpecial) IsSet() bool
func (NullableSettledSpecial) MarshalJSON ¶
func (v NullableSettledSpecial) MarshalJSON() ([]byte, error)
func (*NullableSettledSpecial) Set ¶
func (v *NullableSettledSpecial) Set(val *SettledSpecial)
func (*NullableSettledSpecial) UnmarshalJSON ¶
func (v *NullableSettledSpecial) UnmarshalJSON(src []byte) error
func (*NullableSettledSpecial) Unset ¶
func (v *NullableSettledSpecial) Unset()
type NullableSettledSpecialsLeague ¶
type NullableSettledSpecialsLeague struct {
// contains filtered or unexported fields
}
func NewNullableSettledSpecialsLeague ¶
func NewNullableSettledSpecialsLeague(val *SettledSpecialsLeague) *NullableSettledSpecialsLeague
func (NullableSettledSpecialsLeague) Get ¶
func (v NullableSettledSpecialsLeague) Get() *SettledSpecialsLeague
func (NullableSettledSpecialsLeague) IsSet ¶
func (v NullableSettledSpecialsLeague) IsSet() bool
func (NullableSettledSpecialsLeague) MarshalJSON ¶
func (v NullableSettledSpecialsLeague) MarshalJSON() ([]byte, error)
func (*NullableSettledSpecialsLeague) Set ¶
func (v *NullableSettledSpecialsLeague) Set(val *SettledSpecialsLeague)
func (*NullableSettledSpecialsLeague) UnmarshalJSON ¶
func (v *NullableSettledSpecialsLeague) UnmarshalJSON(src []byte) error
func (*NullableSettledSpecialsLeague) Unset ¶
func (v *NullableSettledSpecialsLeague) Unset()
type NullableSettledSpecialsResponse ¶
type NullableSettledSpecialsResponse struct {
// contains filtered or unexported fields
}
func NewNullableSettledSpecialsResponse ¶
func NewNullableSettledSpecialsResponse(val *SettledSpecialsResponse) *NullableSettledSpecialsResponse
func (NullableSettledSpecialsResponse) Get ¶
func (v NullableSettledSpecialsResponse) Get() *SettledSpecialsResponse
func (NullableSettledSpecialsResponse) IsSet ¶
func (v NullableSettledSpecialsResponse) IsSet() bool
func (NullableSettledSpecialsResponse) MarshalJSON ¶
func (v NullableSettledSpecialsResponse) MarshalJSON() ([]byte, error)
func (*NullableSettledSpecialsResponse) Set ¶
func (v *NullableSettledSpecialsResponse) Set(val *SettledSpecialsResponse)
func (*NullableSettledSpecialsResponse) UnmarshalJSON ¶
func (v *NullableSettledSpecialsResponse) UnmarshalJSON(src []byte) error
func (*NullableSettledSpecialsResponse) Unset ¶
func (v *NullableSettledSpecialsResponse) Unset()
type NullableSpecialBet ¶
type NullableSpecialBet struct {
// contains filtered or unexported fields
}
func NewNullableSpecialBet ¶
func NewNullableSpecialBet(val *SpecialBet) *NullableSpecialBet
func (NullableSpecialBet) Get ¶
func (v NullableSpecialBet) Get() *SpecialBet
func (NullableSpecialBet) IsSet ¶
func (v NullableSpecialBet) IsSet() bool
func (NullableSpecialBet) MarshalJSON ¶
func (v NullableSpecialBet) MarshalJSON() ([]byte, error)
func (*NullableSpecialBet) Set ¶
func (v *NullableSpecialBet) Set(val *SpecialBet)
func (*NullableSpecialBet) UnmarshalJSON ¶
func (v *NullableSpecialBet) UnmarshalJSON(src []byte) error
func (*NullableSpecialBet) Unset ¶
func (v *NullableSpecialBet) Unset()
type NullableSpecialBetRequest ¶
type NullableSpecialBetRequest struct {
// contains filtered or unexported fields
}
func NewNullableSpecialBetRequest ¶
func NewNullableSpecialBetRequest(val *SpecialBetRequest) *NullableSpecialBetRequest
func (NullableSpecialBetRequest) Get ¶
func (v NullableSpecialBetRequest) Get() *SpecialBetRequest
func (NullableSpecialBetRequest) IsSet ¶
func (v NullableSpecialBetRequest) IsSet() bool
func (NullableSpecialBetRequest) MarshalJSON ¶
func (v NullableSpecialBetRequest) MarshalJSON() ([]byte, error)
func (*NullableSpecialBetRequest) Set ¶
func (v *NullableSpecialBetRequest) Set(val *SpecialBetRequest)
func (*NullableSpecialBetRequest) UnmarshalJSON ¶
func (v *NullableSpecialBetRequest) UnmarshalJSON(src []byte) error
func (*NullableSpecialBetRequest) Unset ¶
func (v *NullableSpecialBetRequest) Unset()
type NullableSpecialBetResponse ¶
type NullableSpecialBetResponse struct {
// contains filtered or unexported fields
}
func NewNullableSpecialBetResponse ¶
func NewNullableSpecialBetResponse(val *SpecialBetResponse) *NullableSpecialBetResponse
func (NullableSpecialBetResponse) Get ¶
func (v NullableSpecialBetResponse) Get() *SpecialBetResponse
func (NullableSpecialBetResponse) IsSet ¶
func (v NullableSpecialBetResponse) IsSet() bool
func (NullableSpecialBetResponse) MarshalJSON ¶
func (v NullableSpecialBetResponse) MarshalJSON() ([]byte, error)
func (*NullableSpecialBetResponse) Set ¶
func (v *NullableSpecialBetResponse) Set(val *SpecialBetResponse)
func (*NullableSpecialBetResponse) UnmarshalJSON ¶
func (v *NullableSpecialBetResponse) UnmarshalJSON(src []byte) error
func (*NullableSpecialBetResponse) Unset ¶
func (v *NullableSpecialBetResponse) Unset()
type NullableSpecialFixture ¶
type NullableSpecialFixture struct {
// contains filtered or unexported fields
}
func NewNullableSpecialFixture ¶
func NewNullableSpecialFixture(val *SpecialFixture) *NullableSpecialFixture
func (NullableSpecialFixture) Get ¶
func (v NullableSpecialFixture) Get() *SpecialFixture
func (NullableSpecialFixture) IsSet ¶
func (v NullableSpecialFixture) IsSet() bool
func (NullableSpecialFixture) MarshalJSON ¶
func (v NullableSpecialFixture) MarshalJSON() ([]byte, error)
func (*NullableSpecialFixture) Set ¶
func (v *NullableSpecialFixture) Set(val *SpecialFixture)
func (*NullableSpecialFixture) UnmarshalJSON ¶
func (v *NullableSpecialFixture) UnmarshalJSON(src []byte) error
func (*NullableSpecialFixture) Unset ¶
func (v *NullableSpecialFixture) Unset()
type NullableSpecialLineResponse ¶
type NullableSpecialLineResponse struct {
// contains filtered or unexported fields
}
func NewNullableSpecialLineResponse ¶
func NewNullableSpecialLineResponse(val *SpecialLineResponse) *NullableSpecialLineResponse
func (NullableSpecialLineResponse) Get ¶
func (v NullableSpecialLineResponse) Get() *SpecialLineResponse
func (NullableSpecialLineResponse) IsSet ¶
func (v NullableSpecialLineResponse) IsSet() bool
func (NullableSpecialLineResponse) MarshalJSON ¶
func (v NullableSpecialLineResponse) MarshalJSON() ([]byte, error)
func (*NullableSpecialLineResponse) Set ¶
func (v *NullableSpecialLineResponse) Set(val *SpecialLineResponse)
func (*NullableSpecialLineResponse) UnmarshalJSON ¶
func (v *NullableSpecialLineResponse) UnmarshalJSON(src []byte) error
func (*NullableSpecialLineResponse) Unset ¶
func (v *NullableSpecialLineResponse) Unset()
type NullableSpecialOddsContestantLine ¶
type NullableSpecialOddsContestantLine struct {
// contains filtered or unexported fields
}
func NewNullableSpecialOddsContestantLine ¶
func NewNullableSpecialOddsContestantLine(val *SpecialOddsContestantLine) *NullableSpecialOddsContestantLine
func (NullableSpecialOddsContestantLine) Get ¶
func (v NullableSpecialOddsContestantLine) Get() *SpecialOddsContestantLine
func (NullableSpecialOddsContestantLine) IsSet ¶
func (v NullableSpecialOddsContestantLine) IsSet() bool
func (NullableSpecialOddsContestantLine) MarshalJSON ¶
func (v NullableSpecialOddsContestantLine) MarshalJSON() ([]byte, error)
func (*NullableSpecialOddsContestantLine) Set ¶
func (v *NullableSpecialOddsContestantLine) Set(val *SpecialOddsContestantLine)
func (*NullableSpecialOddsContestantLine) UnmarshalJSON ¶
func (v *NullableSpecialOddsContestantLine) UnmarshalJSON(src []byte) error
func (*NullableSpecialOddsContestantLine) Unset ¶
func (v *NullableSpecialOddsContestantLine) Unset()
type NullableSpecialOddsLeague ¶
type NullableSpecialOddsLeague struct {
// contains filtered or unexported fields
}
func NewNullableSpecialOddsLeague ¶
func NewNullableSpecialOddsLeague(val *SpecialOddsLeague) *NullableSpecialOddsLeague
func (NullableSpecialOddsLeague) Get ¶
func (v NullableSpecialOddsLeague) Get() *SpecialOddsLeague
func (NullableSpecialOddsLeague) IsSet ¶
func (v NullableSpecialOddsLeague) IsSet() bool
func (NullableSpecialOddsLeague) MarshalJSON ¶
func (v NullableSpecialOddsLeague) MarshalJSON() ([]byte, error)
func (*NullableSpecialOddsLeague) Set ¶
func (v *NullableSpecialOddsLeague) Set(val *SpecialOddsLeague)
func (*NullableSpecialOddsLeague) UnmarshalJSON ¶
func (v *NullableSpecialOddsLeague) UnmarshalJSON(src []byte) error
func (*NullableSpecialOddsLeague) Unset ¶
func (v *NullableSpecialOddsLeague) Unset()
type NullableSpecialOddsResponse ¶
type NullableSpecialOddsResponse struct {
// contains filtered or unexported fields
}
func NewNullableSpecialOddsResponse ¶
func NewNullableSpecialOddsResponse(val *SpecialOddsResponse) *NullableSpecialOddsResponse
func (NullableSpecialOddsResponse) Get ¶
func (v NullableSpecialOddsResponse) Get() *SpecialOddsResponse
func (NullableSpecialOddsResponse) IsSet ¶
func (v NullableSpecialOddsResponse) IsSet() bool
func (NullableSpecialOddsResponse) MarshalJSON ¶
func (v NullableSpecialOddsResponse) MarshalJSON() ([]byte, error)
func (*NullableSpecialOddsResponse) Set ¶
func (v *NullableSpecialOddsResponse) Set(val *SpecialOddsResponse)
func (*NullableSpecialOddsResponse) UnmarshalJSON ¶
func (v *NullableSpecialOddsResponse) UnmarshalJSON(src []byte) error
func (*NullableSpecialOddsResponse) Unset ¶
func (v *NullableSpecialOddsResponse) Unset()
type NullableSpecialOddsSpecial ¶
type NullableSpecialOddsSpecial struct {
// contains filtered or unexported fields
}
func NewNullableSpecialOddsSpecial ¶
func NewNullableSpecialOddsSpecial(val *SpecialOddsSpecial) *NullableSpecialOddsSpecial
func (NullableSpecialOddsSpecial) Get ¶
func (v NullableSpecialOddsSpecial) Get() *SpecialOddsSpecial
func (NullableSpecialOddsSpecial) IsSet ¶
func (v NullableSpecialOddsSpecial) IsSet() bool
func (NullableSpecialOddsSpecial) MarshalJSON ¶
func (v NullableSpecialOddsSpecial) MarshalJSON() ([]byte, error)
func (*NullableSpecialOddsSpecial) Set ¶
func (v *NullableSpecialOddsSpecial) Set(val *SpecialOddsSpecial)
func (*NullableSpecialOddsSpecial) UnmarshalJSON ¶
func (v *NullableSpecialOddsSpecial) UnmarshalJSON(src []byte) error
func (*NullableSpecialOddsSpecial) Unset ¶
func (v *NullableSpecialOddsSpecial) Unset()
type NullableSpecialsFixturesContestant ¶
type NullableSpecialsFixturesContestant struct {
// contains filtered or unexported fields
}
func NewNullableSpecialsFixturesContestant ¶
func NewNullableSpecialsFixturesContestant(val *SpecialsFixturesContestant) *NullableSpecialsFixturesContestant
func (NullableSpecialsFixturesContestant) Get ¶
func (v NullableSpecialsFixturesContestant) Get() *SpecialsFixturesContestant
func (NullableSpecialsFixturesContestant) IsSet ¶
func (v NullableSpecialsFixturesContestant) IsSet() bool
func (NullableSpecialsFixturesContestant) MarshalJSON ¶
func (v NullableSpecialsFixturesContestant) MarshalJSON() ([]byte, error)
func (*NullableSpecialsFixturesContestant) Set ¶
func (v *NullableSpecialsFixturesContestant) Set(val *SpecialsFixturesContestant)
func (*NullableSpecialsFixturesContestant) UnmarshalJSON ¶
func (v *NullableSpecialsFixturesContestant) UnmarshalJSON(src []byte) error
func (*NullableSpecialsFixturesContestant) Unset ¶
func (v *NullableSpecialsFixturesContestant) Unset()
type NullableSpecialsFixturesEvent ¶
type NullableSpecialsFixturesEvent struct {
// contains filtered or unexported fields
}
func NewNullableSpecialsFixturesEvent ¶
func NewNullableSpecialsFixturesEvent(val *SpecialsFixturesEvent) *NullableSpecialsFixturesEvent
func (NullableSpecialsFixturesEvent) Get ¶
func (v NullableSpecialsFixturesEvent) Get() *SpecialsFixturesEvent
func (NullableSpecialsFixturesEvent) IsSet ¶
func (v NullableSpecialsFixturesEvent) IsSet() bool
func (NullableSpecialsFixturesEvent) MarshalJSON ¶
func (v NullableSpecialsFixturesEvent) MarshalJSON() ([]byte, error)
func (*NullableSpecialsFixturesEvent) Set ¶
func (v *NullableSpecialsFixturesEvent) Set(val *SpecialsFixturesEvent)
func (*NullableSpecialsFixturesEvent) UnmarshalJSON ¶
func (v *NullableSpecialsFixturesEvent) UnmarshalJSON(src []byte) error
func (*NullableSpecialsFixturesEvent) Unset ¶
func (v *NullableSpecialsFixturesEvent) Unset()
type NullableSpecialsFixturesLeague ¶
type NullableSpecialsFixturesLeague struct {
// contains filtered or unexported fields
}
func NewNullableSpecialsFixturesLeague ¶
func NewNullableSpecialsFixturesLeague(val *SpecialsFixturesLeague) *NullableSpecialsFixturesLeague
func (NullableSpecialsFixturesLeague) Get ¶
func (v NullableSpecialsFixturesLeague) Get() *SpecialsFixturesLeague
func (NullableSpecialsFixturesLeague) IsSet ¶
func (v NullableSpecialsFixturesLeague) IsSet() bool
func (NullableSpecialsFixturesLeague) MarshalJSON ¶
func (v NullableSpecialsFixturesLeague) MarshalJSON() ([]byte, error)
func (*NullableSpecialsFixturesLeague) Set ¶
func (v *NullableSpecialsFixturesLeague) Set(val *SpecialsFixturesLeague)
func (*NullableSpecialsFixturesLeague) UnmarshalJSON ¶
func (v *NullableSpecialsFixturesLeague) UnmarshalJSON(src []byte) error
func (*NullableSpecialsFixturesLeague) Unset ¶
func (v *NullableSpecialsFixturesLeague) Unset()
type NullableSpecialsFixturesResponse ¶
type NullableSpecialsFixturesResponse struct {
// contains filtered or unexported fields
}
func NewNullableSpecialsFixturesResponse ¶
func NewNullableSpecialsFixturesResponse(val *SpecialsFixturesResponse) *NullableSpecialsFixturesResponse
func (NullableSpecialsFixturesResponse) Get ¶
func (v NullableSpecialsFixturesResponse) Get() *SpecialsFixturesResponse
func (NullableSpecialsFixturesResponse) IsSet ¶
func (v NullableSpecialsFixturesResponse) IsSet() bool
func (NullableSpecialsFixturesResponse) MarshalJSON ¶
func (v NullableSpecialsFixturesResponse) MarshalJSON() ([]byte, error)
func (*NullableSpecialsFixturesResponse) Set ¶
func (v *NullableSpecialsFixturesResponse) Set(val *SpecialsFixturesResponse)
func (*NullableSpecialsFixturesResponse) UnmarshalJSON ¶
func (v *NullableSpecialsFixturesResponse) UnmarshalJSON(src []byte) error
func (*NullableSpecialsFixturesResponse) Unset ¶
func (v *NullableSpecialsFixturesResponse) Unset()
type NullableSport ¶
type NullableSport struct {
// contains filtered or unexported fields
}
func NewNullableSport ¶
func NewNullableSport(val *Sport) *NullableSport
func (NullableSport) Get ¶
func (v NullableSport) Get() *Sport
func (NullableSport) IsSet ¶
func (v NullableSport) IsSet() bool
func (NullableSport) MarshalJSON ¶
func (v NullableSport) MarshalJSON() ([]byte, error)
func (*NullableSport) Set ¶
func (v *NullableSport) Set(val *Sport)
func (*NullableSport) UnmarshalJSON ¶
func (v *NullableSport) UnmarshalJSON(src []byte) error
func (*NullableSport) Unset ¶
func (v *NullableSport) Unset()
type NullableSportPeriod ¶
type NullableSportPeriod struct {
// contains filtered or unexported fields
}
func NewNullableSportPeriod ¶
func NewNullableSportPeriod(val *SportPeriod) *NullableSportPeriod
func (NullableSportPeriod) Get ¶
func (v NullableSportPeriod) Get() *SportPeriod
func (NullableSportPeriod) IsSet ¶
func (v NullableSportPeriod) IsSet() bool
func (NullableSportPeriod) MarshalJSON ¶
func (v NullableSportPeriod) MarshalJSON() ([]byte, error)
func (*NullableSportPeriod) Set ¶
func (v *NullableSportPeriod) Set(val *SportPeriod)
func (*NullableSportPeriod) UnmarshalJSON ¶
func (v *NullableSportPeriod) UnmarshalJSON(src []byte) error
func (*NullableSportPeriod) Unset ¶
func (v *NullableSportPeriod) Unset()
type NullableSportsResponse ¶
type NullableSportsResponse struct {
// contains filtered or unexported fields
}
func NewNullableSportsResponse ¶
func NewNullableSportsResponse(val *SportsResponse) *NullableSportsResponse
func (NullableSportsResponse) Get ¶
func (v NullableSportsResponse) Get() *SportsResponse
func (NullableSportsResponse) IsSet ¶
func (v NullableSportsResponse) IsSet() bool
func (NullableSportsResponse) MarshalJSON ¶
func (v NullableSportsResponse) MarshalJSON() ([]byte, error)
func (*NullableSportsResponse) Set ¶
func (v *NullableSportsResponse) Set(val *SportsResponse)
func (*NullableSportsResponse) UnmarshalJSON ¶
func (v *NullableSportsResponse) UnmarshalJSON(src []byte) error
func (*NullableSportsResponse) Unset ¶
func (v *NullableSportsResponse) Unset()
type NullableStatus ¶
type NullableStatus struct {
// contains filtered or unexported fields
}
func NewNullableStatus ¶
func NewNullableStatus(val *Status) *NullableStatus
func (NullableStatus) Get ¶
func (v NullableStatus) Get() *Status
func (NullableStatus) IsSet ¶
func (v NullableStatus) IsSet() bool
func (NullableStatus) MarshalJSON ¶
func (v NullableStatus) MarshalJSON() ([]byte, error)
func (*NullableStatus) Set ¶
func (v *NullableStatus) Set(val *Status)
func (*NullableStatus) UnmarshalJSON ¶
func (v *NullableStatus) UnmarshalJSON(src []byte) error
func (*NullableStatus) Unset ¶
func (v *NullableStatus) Unset()
type NullableStraightBetV3 ¶
type NullableStraightBetV3 struct {
// contains filtered or unexported fields
}
func NewNullableStraightBetV3 ¶
func NewNullableStraightBetV3(val *StraightBetV3) *NullableStraightBetV3
func (NullableStraightBetV3) Get ¶
func (v NullableStraightBetV3) Get() *StraightBetV3
func (NullableStraightBetV3) IsSet ¶
func (v NullableStraightBetV3) IsSet() bool
func (NullableStraightBetV3) MarshalJSON ¶
func (v NullableStraightBetV3) MarshalJSON() ([]byte, error)
func (*NullableStraightBetV3) Set ¶
func (v *NullableStraightBetV3) Set(val *StraightBetV3)
func (*NullableStraightBetV3) UnmarshalJSON ¶
func (v *NullableStraightBetV3) UnmarshalJSON(src []byte) error
func (*NullableStraightBetV3) Unset ¶
func (v *NullableStraightBetV3) 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 NullableSuccessfulCurrenciesResponse ¶
type NullableSuccessfulCurrenciesResponse struct {
// contains filtered or unexported fields
}
func NewNullableSuccessfulCurrenciesResponse ¶
func NewNullableSuccessfulCurrenciesResponse(val *SuccessfulCurrenciesResponse) *NullableSuccessfulCurrenciesResponse
func (NullableSuccessfulCurrenciesResponse) Get ¶
func (v NullableSuccessfulCurrenciesResponse) Get() *SuccessfulCurrenciesResponse
func (NullableSuccessfulCurrenciesResponse) IsSet ¶
func (v NullableSuccessfulCurrenciesResponse) IsSet() bool
func (NullableSuccessfulCurrenciesResponse) MarshalJSON ¶
func (v NullableSuccessfulCurrenciesResponse) MarshalJSON() ([]byte, error)
func (*NullableSuccessfulCurrenciesResponse) Set ¶
func (v *NullableSuccessfulCurrenciesResponse) Set(val *SuccessfulCurrenciesResponse)
func (*NullableSuccessfulCurrenciesResponse) UnmarshalJSON ¶
func (v *NullableSuccessfulCurrenciesResponse) UnmarshalJSON(src []byte) error
func (*NullableSuccessfulCurrenciesResponse) Unset ¶
func (v *NullableSuccessfulCurrenciesResponse) Unset()
type NullableTeaserBet ¶
type NullableTeaserBet struct {
// contains filtered or unexported fields
}
func NewNullableTeaserBet ¶
func NewNullableTeaserBet(val *TeaserBet) *NullableTeaserBet
func (NullableTeaserBet) Get ¶
func (v NullableTeaserBet) Get() *TeaserBet
func (NullableTeaserBet) IsSet ¶
func (v NullableTeaserBet) IsSet() bool
func (NullableTeaserBet) MarshalJSON ¶
func (v NullableTeaserBet) MarshalJSON() ([]byte, error)
func (*NullableTeaserBet) Set ¶
func (v *NullableTeaserBet) Set(val *TeaserBet)
func (*NullableTeaserBet) UnmarshalJSON ¶
func (v *NullableTeaserBet) UnmarshalJSON(src []byte) error
func (*NullableTeaserBet) Unset ¶
func (v *NullableTeaserBet) Unset()
type NullableTeaserGroups ¶
type NullableTeaserGroups struct {
// contains filtered or unexported fields
}
func NewNullableTeaserGroups ¶
func NewNullableTeaserGroups(val *TeaserGroups) *NullableTeaserGroups
func (NullableTeaserGroups) Get ¶
func (v NullableTeaserGroups) Get() *TeaserGroups
func (NullableTeaserGroups) IsSet ¶
func (v NullableTeaserGroups) IsSet() bool
func (NullableTeaserGroups) MarshalJSON ¶
func (v NullableTeaserGroups) MarshalJSON() ([]byte, error)
func (*NullableTeaserGroups) Set ¶
func (v *NullableTeaserGroups) Set(val *TeaserGroups)
func (*NullableTeaserGroups) UnmarshalJSON ¶
func (v *NullableTeaserGroups) UnmarshalJSON(src []byte) error
func (*NullableTeaserGroups) Unset ¶
func (v *NullableTeaserGroups) Unset()
type NullableTeaserGroupsBetType ¶
type NullableTeaserGroupsBetType struct {
// contains filtered or unexported fields
}
func NewNullableTeaserGroupsBetType ¶
func NewNullableTeaserGroupsBetType(val *TeaserGroupsBetType) *NullableTeaserGroupsBetType
func (NullableTeaserGroupsBetType) Get ¶
func (v NullableTeaserGroupsBetType) Get() *TeaserGroupsBetType
func (NullableTeaserGroupsBetType) IsSet ¶
func (v NullableTeaserGroupsBetType) IsSet() bool
func (NullableTeaserGroupsBetType) MarshalJSON ¶
func (v NullableTeaserGroupsBetType) MarshalJSON() ([]byte, error)
func (*NullableTeaserGroupsBetType) Set ¶
func (v *NullableTeaserGroupsBetType) Set(val *TeaserGroupsBetType)
func (*NullableTeaserGroupsBetType) UnmarshalJSON ¶
func (v *NullableTeaserGroupsBetType) UnmarshalJSON(src []byte) error
func (*NullableTeaserGroupsBetType) Unset ¶
func (v *NullableTeaserGroupsBetType) Unset()
type NullableTeaserGroupsLeague ¶
type NullableTeaserGroupsLeague struct {
// contains filtered or unexported fields
}
func NewNullableTeaserGroupsLeague ¶
func NewNullableTeaserGroupsLeague(val *TeaserGroupsLeague) *NullableTeaserGroupsLeague
func (NullableTeaserGroupsLeague) Get ¶
func (v NullableTeaserGroupsLeague) Get() *TeaserGroupsLeague
func (NullableTeaserGroupsLeague) IsSet ¶
func (v NullableTeaserGroupsLeague) IsSet() bool
func (NullableTeaserGroupsLeague) MarshalJSON ¶
func (v NullableTeaserGroupsLeague) MarshalJSON() ([]byte, error)
func (*NullableTeaserGroupsLeague) Set ¶
func (v *NullableTeaserGroupsLeague) Set(val *TeaserGroupsLeague)
func (*NullableTeaserGroupsLeague) UnmarshalJSON ¶
func (v *NullableTeaserGroupsLeague) UnmarshalJSON(src []byte) error
func (*NullableTeaserGroupsLeague) Unset ¶
func (v *NullableTeaserGroupsLeague) Unset()
type NullableTeaserGroupsPayout ¶
type NullableTeaserGroupsPayout struct {
// contains filtered or unexported fields
}
func NewNullableTeaserGroupsPayout ¶
func NewNullableTeaserGroupsPayout(val *TeaserGroupsPayout) *NullableTeaserGroupsPayout
func (NullableTeaserGroupsPayout) Get ¶
func (v NullableTeaserGroupsPayout) Get() *TeaserGroupsPayout
func (NullableTeaserGroupsPayout) IsSet ¶
func (v NullableTeaserGroupsPayout) IsSet() bool
func (NullableTeaserGroupsPayout) MarshalJSON ¶
func (v NullableTeaserGroupsPayout) MarshalJSON() ([]byte, error)
func (*NullableTeaserGroupsPayout) Set ¶
func (v *NullableTeaserGroupsPayout) Set(val *TeaserGroupsPayout)
func (*NullableTeaserGroupsPayout) UnmarshalJSON ¶
func (v *NullableTeaserGroupsPayout) UnmarshalJSON(src []byte) error
func (*NullableTeaserGroupsPayout) Unset ¶
func (v *NullableTeaserGroupsPayout) Unset()
type NullableTeaserGroupsResponse ¶
type NullableTeaserGroupsResponse struct {
// contains filtered or unexported fields
}
func NewNullableTeaserGroupsResponse ¶
func NewNullableTeaserGroupsResponse(val *TeaserGroupsResponse) *NullableTeaserGroupsResponse
func (NullableTeaserGroupsResponse) Get ¶
func (v NullableTeaserGroupsResponse) Get() *TeaserGroupsResponse
func (NullableTeaserGroupsResponse) IsSet ¶
func (v NullableTeaserGroupsResponse) IsSet() bool
func (NullableTeaserGroupsResponse) MarshalJSON ¶
func (v NullableTeaserGroupsResponse) MarshalJSON() ([]byte, error)
func (*NullableTeaserGroupsResponse) Set ¶
func (v *NullableTeaserGroupsResponse) Set(val *TeaserGroupsResponse)
func (*NullableTeaserGroupsResponse) UnmarshalJSON ¶
func (v *NullableTeaserGroupsResponse) UnmarshalJSON(src []byte) error
func (*NullableTeaserGroupsResponse) Unset ¶
func (v *NullableTeaserGroupsResponse) Unset()
type NullableTeaserGroupsTeaser ¶
type NullableTeaserGroupsTeaser struct {
// contains filtered or unexported fields
}
func NewNullableTeaserGroupsTeaser ¶
func NewNullableTeaserGroupsTeaser(val *TeaserGroupsTeaser) *NullableTeaserGroupsTeaser
func (NullableTeaserGroupsTeaser) Get ¶
func (v NullableTeaserGroupsTeaser) Get() *TeaserGroupsTeaser
func (NullableTeaserGroupsTeaser) IsSet ¶
func (v NullableTeaserGroupsTeaser) IsSet() bool
func (NullableTeaserGroupsTeaser) MarshalJSON ¶
func (v NullableTeaserGroupsTeaser) MarshalJSON() ([]byte, error)
func (*NullableTeaserGroupsTeaser) Set ¶
func (v *NullableTeaserGroupsTeaser) Set(val *TeaserGroupsTeaser)
func (*NullableTeaserGroupsTeaser) UnmarshalJSON ¶
func (v *NullableTeaserGroupsTeaser) UnmarshalJSON(src []byte) error
func (*NullableTeaserGroupsTeaser) Unset ¶
func (v *NullableTeaserGroupsTeaser) Unset()
type NullableTeaserLeg ¶
type NullableTeaserLeg struct {
// contains filtered or unexported fields
}
func NewNullableTeaserLeg ¶
func NewNullableTeaserLeg(val *TeaserLeg) *NullableTeaserLeg
func (NullableTeaserLeg) Get ¶
func (v NullableTeaserLeg) Get() *TeaserLeg
func (NullableTeaserLeg) IsSet ¶
func (v NullableTeaserLeg) IsSet() bool
func (NullableTeaserLeg) MarshalJSON ¶
func (v NullableTeaserLeg) MarshalJSON() ([]byte, error)
func (*NullableTeaserLeg) Set ¶
func (v *NullableTeaserLeg) Set(val *TeaserLeg)
func (*NullableTeaserLeg) UnmarshalJSON ¶
func (v *NullableTeaserLeg) UnmarshalJSON(src []byte) error
func (*NullableTeaserLeg) Unset ¶
func (v *NullableTeaserLeg) 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 NullableTranslation ¶
type NullableTranslation struct {
// contains filtered or unexported fields
}
func NewNullableTranslation ¶
func NewNullableTranslation(val *Translation) *NullableTranslation
func (NullableTranslation) Get ¶
func (v NullableTranslation) Get() *Translation
func (NullableTranslation) IsSet ¶
func (v NullableTranslation) IsSet() bool
func (NullableTranslation) MarshalJSON ¶
func (v NullableTranslation) MarshalJSON() ([]byte, error)
func (*NullableTranslation) Set ¶
func (v *NullableTranslation) Set(val *Translation)
func (*NullableTranslation) UnmarshalJSON ¶
func (v *NullableTranslation) UnmarshalJSON(src []byte) error
func (*NullableTranslation) Unset ¶
func (v *NullableTranslation) Unset()
type NullableTranslationByCulture ¶
type NullableTranslationByCulture struct {
// contains filtered or unexported fields
}
func NewNullableTranslationByCulture ¶
func NewNullableTranslationByCulture(val *TranslationByCulture) *NullableTranslationByCulture
func (NullableTranslationByCulture) Get ¶
func (v NullableTranslationByCulture) Get() *TranslationByCulture
func (NullableTranslationByCulture) IsSet ¶
func (v NullableTranslationByCulture) IsSet() bool
func (NullableTranslationByCulture) MarshalJSON ¶
func (v NullableTranslationByCulture) MarshalJSON() ([]byte, error)
func (*NullableTranslationByCulture) Set ¶
func (v *NullableTranslationByCulture) Set(val *TranslationByCulture)
func (*NullableTranslationByCulture) UnmarshalJSON ¶
func (v *NullableTranslationByCulture) UnmarshalJSON(src []byte) error
func (*NullableTranslationByCulture) Unset ¶
func (v *NullableTranslationByCulture) Unset()
type NullableTranslationResponse ¶
type NullableTranslationResponse struct {
// contains filtered or unexported fields
}
func NewNullableTranslationResponse ¶
func NewNullableTranslationResponse(val *TranslationResponse) *NullableTranslationResponse
func (NullableTranslationResponse) Get ¶
func (v NullableTranslationResponse) Get() *TranslationResponse
func (NullableTranslationResponse) IsSet ¶
func (v NullableTranslationResponse) IsSet() bool
func (NullableTranslationResponse) MarshalJSON ¶
func (v NullableTranslationResponse) MarshalJSON() ([]byte, error)
func (*NullableTranslationResponse) Set ¶
func (v *NullableTranslationResponse) Set(val *TranslationResponse)
func (*NullableTranslationResponse) UnmarshalJSON ¶
func (v *NullableTranslationResponse) UnmarshalJSON(src []byte) error
func (*NullableTranslationResponse) Unset ¶
func (v *NullableTranslationResponse) Unset()
type NullableWinRiskStake ¶
type NullableWinRiskStake struct {
// contains filtered or unexported fields
}
func NewNullableWinRiskStake ¶
func NewNullableWinRiskStake(val *WinRiskStake) *NullableWinRiskStake
func (NullableWinRiskStake) Get ¶
func (v NullableWinRiskStake) Get() *WinRiskStake
func (NullableWinRiskStake) IsSet ¶
func (v NullableWinRiskStake) IsSet() bool
func (NullableWinRiskStake) MarshalJSON ¶
func (v NullableWinRiskStake) MarshalJSON() ([]byte, error)
func (*NullableWinRiskStake) Set ¶
func (v *NullableWinRiskStake) Set(val *WinRiskStake)
func (*NullableWinRiskStake) UnmarshalJSON ¶
func (v *NullableWinRiskStake) UnmarshalJSON(src []byte) error
func (*NullableWinRiskStake) Unset ¶
func (v *NullableWinRiskStake) Unset()
type OddsApiService ¶
type OddsApiService service
OddsApiService OddsApi service
func (*OddsApiService) OddsSpecialV1Get ¶
func (a *OddsApiService) OddsSpecialV1Get(ctx _context.Context) apiOddsSpecialV1GetRequest
OddsSpecialV1Get Get Special Odds - v1 Returns odds for specials for all non-settled events.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiOddsSpecialV1GetRequest
func (*OddsApiService) OddsStraightV1Get ¶
func (a *OddsApiService) OddsStraightV1Get(ctx _context.Context) apiOddsStraightV1GetRequest
OddsStraightV1Get Get Straight Odds - v1 Returns straight odds for all non-settled events. Please note that it is possible that the event is in Get Fixtures response but not in Get Odds. This happens when the odds are not currently available for wagering.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiOddsStraightV1GetRequest
type OddsEvent ¶
type OddsEvent struct { // Event Id. Id *int64 `json:"id,omitempty"` // Away team score. Only for live soccer events.Supported only for full match period (number=0). AwayScore *float64 `json:"awayScore,omitempty"` // Home team score. Only for live soccer events.Supported only for full match period (number=0). HomeScore *float64 `json:"homeScore,omitempty"` // Away team red cards. Only for live soccer events. Supported only for full match period (number=0). AwayRedCards *int `json:"awayRedCards,omitempty"` // Home team red cards. Only for live soccer events.Supported only for full match period (number=0). HomeRedCards *int `json:"homeRedCards,omitempty"` // Contains a list of periods. Periods *[]OddsPeriod `json:"periods,omitempty"` }
OddsEvent struct for OddsEvent
func NewOddsEvent ¶
func NewOddsEvent() *OddsEvent
NewOddsEvent instantiates a new OddsEvent 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 NewOddsEventWithDefaults ¶
func NewOddsEventWithDefaults() *OddsEvent
NewOddsEventWithDefaults instantiates a new OddsEvent 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 (*OddsEvent) GetAwayRedCards ¶
GetAwayRedCards returns the AwayRedCards field value if set, zero value otherwise.
func (*OddsEvent) GetAwayRedCardsOk ¶
GetAwayRedCardsOk returns a tuple with the AwayRedCards field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsEvent) GetAwayScore ¶
GetAwayScore returns the AwayScore field value if set, zero value otherwise.
func (*OddsEvent) GetAwayScoreOk ¶
GetAwayScoreOk returns a tuple with the AwayScore field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsEvent) GetHomeRedCards ¶
GetHomeRedCards returns the HomeRedCards field value if set, zero value otherwise.
func (*OddsEvent) GetHomeRedCardsOk ¶
GetHomeRedCardsOk returns a tuple with the HomeRedCards field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsEvent) GetHomeScore ¶
GetHomeScore returns the HomeScore field value if set, zero value otherwise.
func (*OddsEvent) GetHomeScoreOk ¶
GetHomeScoreOk returns a tuple with the HomeScore field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsEvent) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsEvent) GetPeriods ¶
func (o *OddsEvent) GetPeriods() []OddsPeriod
GetPeriods returns the Periods field value if set, zero value otherwise.
func (*OddsEvent) GetPeriodsOk ¶
func (o *OddsEvent) GetPeriodsOk() (*[]OddsPeriod, bool)
GetPeriodsOk returns a tuple with the Periods field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsEvent) HasAwayRedCards ¶
HasAwayRedCards returns a boolean if a field has been set.
func (*OddsEvent) HasAwayScore ¶
HasAwayScore returns a boolean if a field has been set.
func (*OddsEvent) HasHomeRedCards ¶
HasHomeRedCards returns a boolean if a field has been set.
func (*OddsEvent) HasHomeScore ¶
HasHomeScore returns a boolean if a field has been set.
func (*OddsEvent) HasPeriods ¶
HasPeriods returns a boolean if a field has been set.
func (OddsEvent) MarshalJSON ¶
func (*OddsEvent) SetAwayRedCards ¶
SetAwayRedCards gets a reference to the given int and assigns it to the AwayRedCards field.
func (*OddsEvent) SetAwayScore ¶
SetAwayScore gets a reference to the given float64 and assigns it to the AwayScore field.
func (*OddsEvent) SetHomeRedCards ¶
SetHomeRedCards gets a reference to the given int and assigns it to the HomeRedCards field.
func (*OddsEvent) SetHomeScore ¶
SetHomeScore gets a reference to the given float64 and assigns it to the HomeScore field.
func (*OddsEvent) SetPeriods ¶
func (o *OddsEvent) SetPeriods(v []OddsPeriod)
SetPeriods gets a reference to the given []OddsPeriod and assigns it to the Periods field.
type OddsFormat ¶
type OddsFormat string
OddsFormat Bet odds format. AMERICAN = American odds format, DECIMAL = Decimal (European) odds format, HONGKONG = Hong Kong odds format, INDONESIAN = Indonesian odds format, MALAY = Malaysian odds format
const ( AMERICAN OddsFormat = "AMERICAN" DECIMAL OddsFormat = "DECIMAL" HONGKONG OddsFormat = "HONGKONG" INDONESIAN OddsFormat = "INDONESIAN" MALAY OddsFormat = "MALAY" )
List of OddsFormat
func (OddsFormat) Ptr ¶
func (v OddsFormat) Ptr() *OddsFormat
Ptr returns reference to OddsFormat value
type OddsLeague ¶
type OddsLeague struct { // League Id. Id *int `json:"id,omitempty"` // Contains a list of events. Events *[]OddsEvent `json:"events,omitempty"` }
OddsLeague struct for OddsLeague
func NewOddsLeague ¶
func NewOddsLeague() *OddsLeague
NewOddsLeague instantiates a new OddsLeague 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 NewOddsLeagueWithDefaults ¶
func NewOddsLeagueWithDefaults() *OddsLeague
NewOddsLeagueWithDefaults instantiates a new OddsLeague 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 (*OddsLeague) GetEvents ¶
func (o *OddsLeague) GetEvents() []OddsEvent
GetEvents returns the Events field value if set, zero value otherwise.
func (*OddsLeague) GetEventsOk ¶
func (o *OddsLeague) GetEventsOk() (*[]OddsEvent, bool)
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 (*OddsLeague) GetId ¶
func (o *OddsLeague) GetId() int
GetId returns the Id field value if set, zero value otherwise.
func (*OddsLeague) GetIdOk ¶
func (o *OddsLeague) GetIdOk() (*int, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsLeague) HasEvents ¶
func (o *OddsLeague) HasEvents() bool
HasEvents returns a boolean if a field has been set.
func (*OddsLeague) HasId ¶
func (o *OddsLeague) HasId() bool
HasId returns a boolean if a field has been set.
func (OddsLeague) MarshalJSON ¶
func (o OddsLeague) MarshalJSON() ([]byte, error)
func (*OddsLeague) SetEvents ¶
func (o *OddsLeague) SetEvents(v []OddsEvent)
SetEvents gets a reference to the given []OddsEvent and assigns it to the Events field.
func (*OddsLeague) SetId ¶
func (o *OddsLeague) SetId(v int)
SetId gets a reference to the given int and assigns it to the Id field.
type OddsMoneyline ¶
type OddsMoneyline struct { // Away team price Home *float64 `json:"home,omitempty"` // Away team price. Away *float64 `json:"away,omitempty"` // Draw price. This is present only for events we offer price for draw. Draw *float64 `json:"draw,omitempty"` }
OddsMoneyline struct for OddsMoneyline
func NewOddsMoneyline ¶
func NewOddsMoneyline() *OddsMoneyline
NewOddsMoneyline instantiates a new OddsMoneyline 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 NewOddsMoneylineWithDefaults ¶
func NewOddsMoneylineWithDefaults() *OddsMoneyline
NewOddsMoneylineWithDefaults instantiates a new OddsMoneyline 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 (*OddsMoneyline) GetAway ¶
func (o *OddsMoneyline) GetAway() float64
GetAway returns the Away field value if set, zero value otherwise.
func (*OddsMoneyline) GetAwayOk ¶
func (o *OddsMoneyline) GetAwayOk() (*float64, bool)
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 (*OddsMoneyline) GetDraw ¶
func (o *OddsMoneyline) GetDraw() float64
GetDraw returns the Draw field value if set, zero value otherwise.
func (*OddsMoneyline) GetDrawOk ¶
func (o *OddsMoneyline) GetDrawOk() (*float64, bool)
GetDrawOk returns a tuple with the Draw field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsMoneyline) GetHome ¶
func (o *OddsMoneyline) GetHome() float64
GetHome returns the Home field value if set, zero value otherwise.
func (*OddsMoneyline) GetHomeOk ¶
func (o *OddsMoneyline) GetHomeOk() (*float64, bool)
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 (*OddsMoneyline) HasAway ¶
func (o *OddsMoneyline) HasAway() bool
HasAway returns a boolean if a field has been set.
func (*OddsMoneyline) HasDraw ¶
func (o *OddsMoneyline) HasDraw() bool
HasDraw returns a boolean if a field has been set.
func (*OddsMoneyline) HasHome ¶
func (o *OddsMoneyline) HasHome() bool
HasHome returns a boolean if a field has been set.
func (OddsMoneyline) MarshalJSON ¶
func (o OddsMoneyline) MarshalJSON() ([]byte, error)
func (*OddsMoneyline) SetAway ¶
func (o *OddsMoneyline) SetAway(v float64)
SetAway gets a reference to the given float64 and assigns it to the Away field.
func (*OddsMoneyline) SetDraw ¶
func (o *OddsMoneyline) SetDraw(v float64)
SetDraw gets a reference to the given float64 and assigns it to the Draw field.
func (*OddsMoneyline) SetHome ¶
func (o *OddsMoneyline) SetHome(v float64)
SetHome gets a reference to the given float64 and assigns it to the Home field.
type OddsPeriod ¶
type OddsPeriod struct { // Line Id. LineId *int64 `json:"lineId,omitempty"` // This represents the period of the match. For example, for soccer we have 0 (Game), 1 (1st Half) & 2 (2nd Half) Number *int `json:"number,omitempty"` // Period’s wagering cut-off date in UTC. Cutoff *time.Time `json:"cutoff,omitempty"` // 1 - online, period is open for betting 2 - offline, period is not open for betting Status *int `json:"status,omitempty"` // Maximum spread bet volume. See [How to calculate max risk from the max volume](https://github.com/pinnacleapi/pinnacleapi-documentation/blob/master/FAQ.md#how-to-calculate-max-risk-from-the-max-volume-limits-in-odds) MaxSpread *float64 `json:"maxSpread,omitempty"` // Maximum moneyline bet volume. See [How to calculate max risk from the max volume](https://github.com/pinnacleapi/pinnacleapi-documentation/blob/master/FAQ.md#how-to-calculate-max-risk-from-the-max-volume-limits-in-odds) MaxMoneyline *float64 `json:"maxMoneyline,omitempty"` // Maximum total points bet volume. See [How to calculate max risk from the max volume](https://github.com/pinnacleapi/pinnacleapi-documentation/blob/master/FAQ.md#how-to-calculate-max-risk-from-the-max-volume-limits-in-odds) MaxTotal *float64 `json:"maxTotal,omitempty"` // Maximum team total points bet volume. See [How to calculate max risk from the max volume](https://github.com/pinnacleapi/pinnacleapi-documentation/blob/master/FAQ.md#how-to-calculate-max-risk-from-the-max-volume-limits-in-odds) MaxTeamTotal *float64 `json:"maxTeamTotal,omitempty"` // Container for spread odds. Spreads *[]OddsSpread `json:"spreads,omitempty"` Moneyline *OddsMoneyline `json:"moneyline,omitempty"` // Container for team total points. Totals *[]OddsTotal `json:"totals,omitempty"` TeamTotal *OddsTeamTotals `json:"teamTotal,omitempty"` }
OddsPeriod struct for OddsPeriod
func NewOddsPeriod ¶
func NewOddsPeriod() *OddsPeriod
NewOddsPeriod instantiates a new OddsPeriod 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 NewOddsPeriodWithDefaults ¶
func NewOddsPeriodWithDefaults() *OddsPeriod
NewOddsPeriodWithDefaults instantiates a new OddsPeriod 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 (*OddsPeriod) GetCutoff ¶
func (o *OddsPeriod) GetCutoff() time.Time
GetCutoff returns the Cutoff field value if set, zero value otherwise.
func (*OddsPeriod) GetCutoffOk ¶
func (o *OddsPeriod) GetCutoffOk() (*time.Time, bool)
GetCutoffOk returns a tuple with the Cutoff field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsPeriod) GetLineId ¶
func (o *OddsPeriod) GetLineId() int64
GetLineId returns the LineId field value if set, zero value otherwise.
func (*OddsPeriod) GetLineIdOk ¶
func (o *OddsPeriod) GetLineIdOk() (*int64, bool)
GetLineIdOk returns a tuple with the LineId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsPeriod) GetMaxMoneyline ¶
func (o *OddsPeriod) GetMaxMoneyline() float64
GetMaxMoneyline returns the MaxMoneyline field value if set, zero value otherwise.
func (*OddsPeriod) GetMaxMoneylineOk ¶
func (o *OddsPeriod) GetMaxMoneylineOk() (*float64, bool)
GetMaxMoneylineOk returns a tuple with the MaxMoneyline field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsPeriod) GetMaxSpread ¶
func (o *OddsPeriod) GetMaxSpread() float64
GetMaxSpread returns the MaxSpread field value if set, zero value otherwise.
func (*OddsPeriod) GetMaxSpreadOk ¶
func (o *OddsPeriod) GetMaxSpreadOk() (*float64, bool)
GetMaxSpreadOk returns a tuple with the MaxSpread field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsPeriod) GetMaxTeamTotal ¶
func (o *OddsPeriod) GetMaxTeamTotal() float64
GetMaxTeamTotal returns the MaxTeamTotal field value if set, zero value otherwise.
func (*OddsPeriod) GetMaxTeamTotalOk ¶
func (o *OddsPeriod) GetMaxTeamTotalOk() (*float64, bool)
GetMaxTeamTotalOk returns a tuple with the MaxTeamTotal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsPeriod) GetMaxTotal ¶
func (o *OddsPeriod) GetMaxTotal() float64
GetMaxTotal returns the MaxTotal field value if set, zero value otherwise.
func (*OddsPeriod) GetMaxTotalOk ¶
func (o *OddsPeriod) GetMaxTotalOk() (*float64, bool)
GetMaxTotalOk returns a tuple with the MaxTotal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsPeriod) GetMoneyline ¶
func (o *OddsPeriod) GetMoneyline() OddsMoneyline
GetMoneyline returns the Moneyline field value if set, zero value otherwise.
func (*OddsPeriod) GetMoneylineOk ¶
func (o *OddsPeriod) GetMoneylineOk() (*OddsMoneyline, bool)
GetMoneylineOk returns a tuple with the Moneyline field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsPeriod) GetNumber ¶
func (o *OddsPeriod) GetNumber() int
GetNumber returns the Number field value if set, zero value otherwise.
func (*OddsPeriod) GetNumberOk ¶
func (o *OddsPeriod) GetNumberOk() (*int, bool)
GetNumberOk returns a tuple with the Number field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsPeriod) GetSpreads ¶
func (o *OddsPeriod) GetSpreads() []OddsSpread
GetSpreads returns the Spreads field value if set, zero value otherwise.
func (*OddsPeriod) GetSpreadsOk ¶
func (o *OddsPeriod) GetSpreadsOk() (*[]OddsSpread, bool)
GetSpreadsOk returns a tuple with the Spreads field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsPeriod) GetStatus ¶
func (o *OddsPeriod) GetStatus() int
GetStatus returns the Status field value if set, zero value otherwise.
func (*OddsPeriod) GetStatusOk ¶
func (o *OddsPeriod) GetStatusOk() (*int, 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 (*OddsPeriod) GetTeamTotal ¶
func (o *OddsPeriod) GetTeamTotal() OddsTeamTotals
GetTeamTotal returns the TeamTotal field value if set, zero value otherwise.
func (*OddsPeriod) GetTeamTotalOk ¶
func (o *OddsPeriod) GetTeamTotalOk() (*OddsTeamTotals, bool)
GetTeamTotalOk returns a tuple with the TeamTotal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsPeriod) GetTotals ¶
func (o *OddsPeriod) GetTotals() []OddsTotal
GetTotals returns the Totals field value if set, zero value otherwise.
func (*OddsPeriod) GetTotalsOk ¶
func (o *OddsPeriod) GetTotalsOk() (*[]OddsTotal, bool)
GetTotalsOk returns a tuple with the Totals field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsPeriod) HasCutoff ¶
func (o *OddsPeriod) HasCutoff() bool
HasCutoff returns a boolean if a field has been set.
func (*OddsPeriod) HasLineId ¶
func (o *OddsPeriod) HasLineId() bool
HasLineId returns a boolean if a field has been set.
func (*OddsPeriod) HasMaxMoneyline ¶
func (o *OddsPeriod) HasMaxMoneyline() bool
HasMaxMoneyline returns a boolean if a field has been set.
func (*OddsPeriod) HasMaxSpread ¶
func (o *OddsPeriod) HasMaxSpread() bool
HasMaxSpread returns a boolean if a field has been set.
func (*OddsPeriod) HasMaxTeamTotal ¶
func (o *OddsPeriod) HasMaxTeamTotal() bool
HasMaxTeamTotal returns a boolean if a field has been set.
func (*OddsPeriod) HasMaxTotal ¶
func (o *OddsPeriod) HasMaxTotal() bool
HasMaxTotal returns a boolean if a field has been set.
func (*OddsPeriod) HasMoneyline ¶
func (o *OddsPeriod) HasMoneyline() bool
HasMoneyline returns a boolean if a field has been set.
func (*OddsPeriod) HasNumber ¶
func (o *OddsPeriod) HasNumber() bool
HasNumber returns a boolean if a field has been set.
func (*OddsPeriod) HasSpreads ¶
func (o *OddsPeriod) HasSpreads() bool
HasSpreads returns a boolean if a field has been set.
func (*OddsPeriod) HasStatus ¶
func (o *OddsPeriod) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*OddsPeriod) HasTeamTotal ¶
func (o *OddsPeriod) HasTeamTotal() bool
HasTeamTotal returns a boolean if a field has been set.
func (*OddsPeriod) HasTotals ¶
func (o *OddsPeriod) HasTotals() bool
HasTotals returns a boolean if a field has been set.
func (OddsPeriod) MarshalJSON ¶
func (o OddsPeriod) MarshalJSON() ([]byte, error)
func (*OddsPeriod) SetCutoff ¶
func (o *OddsPeriod) SetCutoff(v time.Time)
SetCutoff gets a reference to the given time.Time and assigns it to the Cutoff field.
func (*OddsPeriod) SetLineId ¶
func (o *OddsPeriod) SetLineId(v int64)
SetLineId gets a reference to the given int64 and assigns it to the LineId field.
func (*OddsPeriod) SetMaxMoneyline ¶
func (o *OddsPeriod) SetMaxMoneyline(v float64)
SetMaxMoneyline gets a reference to the given float64 and assigns it to the MaxMoneyline field.
func (*OddsPeriod) SetMaxSpread ¶
func (o *OddsPeriod) SetMaxSpread(v float64)
SetMaxSpread gets a reference to the given float64 and assigns it to the MaxSpread field.
func (*OddsPeriod) SetMaxTeamTotal ¶
func (o *OddsPeriod) SetMaxTeamTotal(v float64)
SetMaxTeamTotal gets a reference to the given float64 and assigns it to the MaxTeamTotal field.
func (*OddsPeriod) SetMaxTotal ¶
func (o *OddsPeriod) SetMaxTotal(v float64)
SetMaxTotal gets a reference to the given float64 and assigns it to the MaxTotal field.
func (*OddsPeriod) SetMoneyline ¶
func (o *OddsPeriod) SetMoneyline(v OddsMoneyline)
SetMoneyline gets a reference to the given OddsMoneyline and assigns it to the Moneyline field.
func (*OddsPeriod) SetNumber ¶
func (o *OddsPeriod) SetNumber(v int)
SetNumber gets a reference to the given int and assigns it to the Number field.
func (*OddsPeriod) SetSpreads ¶
func (o *OddsPeriod) SetSpreads(v []OddsSpread)
SetSpreads gets a reference to the given []OddsSpread and assigns it to the Spreads field.
func (*OddsPeriod) SetStatus ¶
func (o *OddsPeriod) SetStatus(v int)
SetStatus gets a reference to the given int and assigns it to the Status field.
func (*OddsPeriod) SetTeamTotal ¶
func (o *OddsPeriod) SetTeamTotal(v OddsTeamTotals)
SetTeamTotal gets a reference to the given OddsTeamTotals and assigns it to the TeamTotal field.
func (*OddsPeriod) SetTotals ¶
func (o *OddsPeriod) SetTotals(v []OddsTotal)
SetTotals gets a reference to the given []OddsTotal and assigns it to the Totals field.
type OddsResponse ¶
type OddsResponse struct { // Same as requested sport Id. SportId *int `json:"sportId,omitempty"` // Use this value for the subsequent requests for since query parameter to get just the changes since previous response. Last *int64 `json:"last,omitempty"` // Contains a list of Leagues. Leagues *[]OddsLeague `json:"leagues,omitempty"` }
OddsResponse struct for OddsResponse
func NewOddsResponse ¶
func NewOddsResponse() *OddsResponse
NewOddsResponse instantiates a new OddsResponse 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 NewOddsResponseWithDefaults ¶
func NewOddsResponseWithDefaults() *OddsResponse
NewOddsResponseWithDefaults instantiates a new OddsResponse 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 (*OddsResponse) GetLast ¶
func (o *OddsResponse) GetLast() int64
GetLast returns the Last field value if set, zero value otherwise.
func (*OddsResponse) GetLastOk ¶
func (o *OddsResponse) GetLastOk() (*int64, bool)
GetLastOk returns a tuple with the Last field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsResponse) GetLeagues ¶
func (o *OddsResponse) GetLeagues() []OddsLeague
GetLeagues returns the Leagues field value if set, zero value otherwise.
func (*OddsResponse) GetLeaguesOk ¶
func (o *OddsResponse) GetLeaguesOk() (*[]OddsLeague, bool)
GetLeaguesOk returns a tuple with the Leagues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsResponse) GetSportId ¶
func (o *OddsResponse) GetSportId() int
GetSportId returns the SportId field value if set, zero value otherwise.
func (*OddsResponse) GetSportIdOk ¶
func (o *OddsResponse) GetSportIdOk() (*int, bool)
GetSportIdOk returns a tuple with the SportId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsResponse) HasLast ¶
func (o *OddsResponse) HasLast() bool
HasLast returns a boolean if a field has been set.
func (*OddsResponse) HasLeagues ¶
func (o *OddsResponse) HasLeagues() bool
HasLeagues returns a boolean if a field has been set.
func (*OddsResponse) HasSportId ¶
func (o *OddsResponse) HasSportId() bool
HasSportId returns a boolean if a field has been set.
func (OddsResponse) MarshalJSON ¶
func (o OddsResponse) MarshalJSON() ([]byte, error)
func (*OddsResponse) SetLast ¶
func (o *OddsResponse) SetLast(v int64)
SetLast gets a reference to the given int64 and assigns it to the Last field.
func (*OddsResponse) SetLeagues ¶
func (o *OddsResponse) SetLeagues(v []OddsLeague)
SetLeagues gets a reference to the given []OddsLeague and assigns it to the Leagues field.
func (*OddsResponse) SetSportId ¶
func (o *OddsResponse) SetSportId(v int)
SetSportId gets a reference to the given int and assigns it to the SportId field.
type OddsSpread ¶
type OddsSpread struct { // This is present only if it’s alternative line. AltLineId *int64 `json:"altLineId,omitempty"` // Home team handicap. Hdp *float64 `json:"hdp,omitempty"` // Home team price. Home *float64 `json:"home,omitempty"` // Away team price. Away *float64 `json:"away,omitempty"` }
OddsSpread struct for OddsSpread
func NewOddsSpread ¶
func NewOddsSpread() *OddsSpread
NewOddsSpread instantiates a new OddsSpread 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 NewOddsSpreadWithDefaults ¶
func NewOddsSpreadWithDefaults() *OddsSpread
NewOddsSpreadWithDefaults instantiates a new OddsSpread 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 (*OddsSpread) GetAltLineId ¶
func (o *OddsSpread) GetAltLineId() int64
GetAltLineId returns the AltLineId field value if set, zero value otherwise.
func (*OddsSpread) GetAltLineIdOk ¶
func (o *OddsSpread) GetAltLineIdOk() (*int64, bool)
GetAltLineIdOk returns a tuple with the AltLineId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsSpread) GetAway ¶
func (o *OddsSpread) GetAway() float64
GetAway returns the Away field value if set, zero value otherwise.
func (*OddsSpread) GetAwayOk ¶
func (o *OddsSpread) GetAwayOk() (*float64, bool)
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 (*OddsSpread) GetHdp ¶
func (o *OddsSpread) GetHdp() float64
GetHdp returns the Hdp field value if set, zero value otherwise.
func (*OddsSpread) GetHdpOk ¶
func (o *OddsSpread) GetHdpOk() (*float64, bool)
GetHdpOk returns a tuple with the Hdp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsSpread) GetHome ¶
func (o *OddsSpread) GetHome() float64
GetHome returns the Home field value if set, zero value otherwise.
func (*OddsSpread) GetHomeOk ¶
func (o *OddsSpread) GetHomeOk() (*float64, bool)
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 (*OddsSpread) HasAltLineId ¶
func (o *OddsSpread) HasAltLineId() bool
HasAltLineId returns a boolean if a field has been set.
func (*OddsSpread) HasAway ¶
func (o *OddsSpread) HasAway() bool
HasAway returns a boolean if a field has been set.
func (*OddsSpread) HasHdp ¶
func (o *OddsSpread) HasHdp() bool
HasHdp returns a boolean if a field has been set.
func (*OddsSpread) HasHome ¶
func (o *OddsSpread) HasHome() bool
HasHome returns a boolean if a field has been set.
func (OddsSpread) MarshalJSON ¶
func (o OddsSpread) MarshalJSON() ([]byte, error)
func (*OddsSpread) SetAltLineId ¶
func (o *OddsSpread) SetAltLineId(v int64)
SetAltLineId gets a reference to the given int64 and assigns it to the AltLineId field.
func (*OddsSpread) SetAway ¶
func (o *OddsSpread) SetAway(v float64)
SetAway gets a reference to the given float64 and assigns it to the Away field.
func (*OddsSpread) SetHdp ¶
func (o *OddsSpread) SetHdp(v float64)
SetHdp gets a reference to the given float64 and assigns it to the Hdp field.
func (*OddsSpread) SetHome ¶
func (o *OddsSpread) SetHome(v float64)
SetHome gets a reference to the given float64 and assigns it to the Home field.
type OddsTeamTotal ¶
type OddsTeamTotal struct { // Total points. Points *float64 `json:"points,omitempty"` // Over price. Over *float64 `json:"over,omitempty"` // Under price. Under *float64 `json:"under,omitempty"` }
OddsTeamTotal struct for OddsTeamTotal
func NewOddsTeamTotal ¶
func NewOddsTeamTotal() *OddsTeamTotal
NewOddsTeamTotal instantiates a new OddsTeamTotal 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 NewOddsTeamTotalWithDefaults ¶
func NewOddsTeamTotalWithDefaults() *OddsTeamTotal
NewOddsTeamTotalWithDefaults instantiates a new OddsTeamTotal 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 (*OddsTeamTotal) GetOver ¶
func (o *OddsTeamTotal) GetOver() float64
GetOver returns the Over field value if set, zero value otherwise.
func (*OddsTeamTotal) GetOverOk ¶
func (o *OddsTeamTotal) GetOverOk() (*float64, bool)
GetOverOk returns a tuple with the Over field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsTeamTotal) GetPoints ¶
func (o *OddsTeamTotal) GetPoints() float64
GetPoints returns the Points field value if set, zero value otherwise.
func (*OddsTeamTotal) GetPointsOk ¶
func (o *OddsTeamTotal) GetPointsOk() (*float64, bool)
GetPointsOk returns a tuple with the Points field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsTeamTotal) GetUnder ¶
func (o *OddsTeamTotal) GetUnder() float64
GetUnder returns the Under field value if set, zero value otherwise.
func (*OddsTeamTotal) GetUnderOk ¶
func (o *OddsTeamTotal) GetUnderOk() (*float64, bool)
GetUnderOk returns a tuple with the Under field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsTeamTotal) HasOver ¶
func (o *OddsTeamTotal) HasOver() bool
HasOver returns a boolean if a field has been set.
func (*OddsTeamTotal) HasPoints ¶
func (o *OddsTeamTotal) HasPoints() bool
HasPoints returns a boolean if a field has been set.
func (*OddsTeamTotal) HasUnder ¶
func (o *OddsTeamTotal) HasUnder() bool
HasUnder returns a boolean if a field has been set.
func (OddsTeamTotal) MarshalJSON ¶
func (o OddsTeamTotal) MarshalJSON() ([]byte, error)
func (*OddsTeamTotal) SetOver ¶
func (o *OddsTeamTotal) SetOver(v float64)
SetOver gets a reference to the given float64 and assigns it to the Over field.
func (*OddsTeamTotal) SetPoints ¶
func (o *OddsTeamTotal) SetPoints(v float64)
SetPoints gets a reference to the given float64 and assigns it to the Points field.
func (*OddsTeamTotal) SetUnder ¶
func (o *OddsTeamTotal) SetUnder(v float64)
SetUnder gets a reference to the given float64 and assigns it to the Under field.
type OddsTeamTotals ¶
type OddsTeamTotals struct { Home *OddsTeamTotal `json:"home,omitempty"` Away *OddsTeamTotal `json:"away,omitempty"` }
OddsTeamTotals struct for OddsTeamTotals
func NewOddsTeamTotals ¶
func NewOddsTeamTotals() *OddsTeamTotals
NewOddsTeamTotals instantiates a new OddsTeamTotals 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 NewOddsTeamTotalsWithDefaults ¶
func NewOddsTeamTotalsWithDefaults() *OddsTeamTotals
NewOddsTeamTotalsWithDefaults instantiates a new OddsTeamTotals 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 (*OddsTeamTotals) GetAway ¶
func (o *OddsTeamTotals) GetAway() OddsTeamTotal
GetAway returns the Away field value if set, zero value otherwise.
func (*OddsTeamTotals) GetAwayOk ¶
func (o *OddsTeamTotals) GetAwayOk() (*OddsTeamTotal, bool)
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 (*OddsTeamTotals) GetHome ¶
func (o *OddsTeamTotals) GetHome() OddsTeamTotal
GetHome returns the Home field value if set, zero value otherwise.
func (*OddsTeamTotals) GetHomeOk ¶
func (o *OddsTeamTotals) GetHomeOk() (*OddsTeamTotal, bool)
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 (*OddsTeamTotals) HasAway ¶
func (o *OddsTeamTotals) HasAway() bool
HasAway returns a boolean if a field has been set.
func (*OddsTeamTotals) HasHome ¶
func (o *OddsTeamTotals) HasHome() bool
HasHome returns a boolean if a field has been set.
func (OddsTeamTotals) MarshalJSON ¶
func (o OddsTeamTotals) MarshalJSON() ([]byte, error)
func (*OddsTeamTotals) SetAway ¶
func (o *OddsTeamTotals) SetAway(v OddsTeamTotal)
SetAway gets a reference to the given OddsTeamTotal and assigns it to the Away field.
func (*OddsTeamTotals) SetHome ¶
func (o *OddsTeamTotals) SetHome(v OddsTeamTotal)
SetHome gets a reference to the given OddsTeamTotal and assigns it to the Home field.
type OddsTotal ¶
type OddsTotal struct { // This is present only if it’s alternative line. AltLineId *int64 `json:"altLineId,omitempty"` // Total points. Points *float64 `json:"points,omitempty"` // Over price. Over *float64 `json:"over,omitempty"` // Under price. Under *float64 `json:"under,omitempty"` }
OddsTotal struct for OddsTotal
func NewOddsTotal ¶
func NewOddsTotal() *OddsTotal
NewOddsTotal instantiates a new OddsTotal 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 NewOddsTotalWithDefaults ¶
func NewOddsTotalWithDefaults() *OddsTotal
NewOddsTotalWithDefaults instantiates a new OddsTotal 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 (*OddsTotal) GetAltLineId ¶
GetAltLineId returns the AltLineId field value if set, zero value otherwise.
func (*OddsTotal) GetAltLineIdOk ¶
GetAltLineIdOk returns a tuple with the AltLineId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsTotal) GetOverOk ¶
GetOverOk returns a tuple with the Over field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsTotal) GetPoints ¶
GetPoints returns the Points field value if set, zero value otherwise.
func (*OddsTotal) GetPointsOk ¶
GetPointsOk returns a tuple with the Points field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsTotal) GetUnderOk ¶
GetUnderOk returns a tuple with the Under field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OddsTotal) HasAltLineId ¶
HasAltLineId returns a boolean if a field has been set.
func (OddsTotal) MarshalJSON ¶
func (*OddsTotal) SetAltLineId ¶
SetAltLineId gets a reference to the given int64 and assigns it to the AltLineId field.
func (*OddsTotal) SetOver ¶
SetOver gets a reference to the given float64 and assigns it to the Over field.
type OthersApiService ¶
type OthersApiService service
OthersApiService OthersApi service
func (*OthersApiService) CancellationReasonsV1Get ¶
func (a *OthersApiService) CancellationReasonsV1Get(ctx _context.Context) apiCancellationReasonsV1GetRequest
CancellationReasonsV1Get Get Cancellation Reasons - v1 Lookup for all the cancellation reasons
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiCancellationReasonsV1GetRequest
func (*OthersApiService) CurrenciesV2Get ¶
func (a *OthersApiService) CurrenciesV2Get(ctx _context.Context) apiCurrenciesV2GetRequest
CurrenciesV2Get Get Currencies - v2 Returns the list of supported currencies
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiCurrenciesV2GetRequest
func (*OthersApiService) InRunningV1Get ¶
func (a *OthersApiService) InRunningV1Get(ctx _context.Context) apiInRunningV1GetRequest
InRunningV1Get Get In-Running - v1 Returns all live soccer events that have a status that indicates the event is in progress.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiInRunningV1GetRequest
func (*OthersApiService) LeaguesV2Get ¶
func (a *OthersApiService) LeaguesV2Get(ctx _context.Context) apiLeaguesV2GetRequest
LeaguesV2Get Get Leagues - v2 Returns all sports leagues with the status whether they currently have lines or not.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiLeaguesV2GetRequest
func (*OthersApiService) PeriodsV1Get ¶
func (a *OthersApiService) PeriodsV1Get(ctx _context.Context) apiPeriodsV1GetRequest
PeriodsV1Get Get Periods - v1 Returns all periods for a given sport.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiPeriodsV1GetRequest
func (*OthersApiService) SportsV2Get ¶
func (a *OthersApiService) SportsV2Get(ctx _context.Context) apiSportsV2GetRequest
SportsV2Get Get Sports - v2 Returns all sports with the status whether they currently have lines or not.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiSportsV2GetRequest
func (*OthersApiService) TeaserGroupsV1Get ¶
func (a *OthersApiService) TeaserGroupsV1Get(ctx _context.Context) apiTeaserGroupsV1GetRequest
TeaserGroupsV1Get Get Teaser Groups - v1 Returns all teaser groups.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiTeaserGroupsV1GetRequest
type ParlayBet ¶
type ParlayBet struct { // Bet identification BetId int64 `json:"betId"` // Unique Request Id UniqueRequestId *string `json:"uniqueRequestId,omitempty"` // Wager identification. All bets placed thru the API will have value 1. Website Classic view supports multiple contest(special) bets placement in the same bet slip in that case the bet would have appropriate wager number, as well as all round robin parlay bets. WagerNumber int `json:"wagerNumber"` // Date time when the bet was placed. PlacedAt time.Time `json:"placedAt"` // Bet Status. ACCEPTED = Bet was accepted, CANCELLED = Bet is cancelled as per Pinnacle betting rules, LOSE = The bet is settled as lose, PENDING_ACCEPTANCE = This status is reserved only for live bets. If a live bet is placed during danger zone or live delay is applied, it will be in PENDING_ACCEPTANCE , otherwise in ACCEPTED status. From this status bet can go to ACCEPTED or REJECTED status, REFUNDED = When an event is cancelled or when the bet is settled as push, the bet will have REFUNDED status, NOT_ACCEPTED = Bet was not accepted. Bet can be in this status only if it was previously in PENDING_ACCEPTANCE status, WON = The bet is settled as won BetStatus string `json:"betStatus"` BetType string `json:"betType"` // Win amount. Win float64 `json:"win"` // Risk amount. Risk float64 `json:"risk"` // Win-Loss for settled bets. WinLoss NullableFloat64 `json:"winLoss,omitempty"` OddsFormat OddsFormat `json:"oddsFormat"` // Client’s commission on the bet. CustomerCommission NullableFloat64 `json:"customerCommission,omitempty"` CancellationReason *CancellationReason `json:"cancellationReason,omitempty"` // Update Sequence UpdateSequence int64 `json:"updateSequence"` Legs []ParlayLeg `json:"legs"` Price *float64 `json:"price,omitempty"` // Only for settled parlay. Final price may differ in case leg was cancelled or half won FinalPrice *float64 `json:"finalPrice,omitempty"` }
ParlayBet struct for ParlayBet
func NewParlayBet ¶
func NewParlayBet(betId int64, wagerNumber int, placedAt time.Time, betStatus string, betType string, win float64, risk float64, oddsFormat OddsFormat, updateSequence int64, legs []ParlayLeg) *ParlayBet
NewParlayBet instantiates a new ParlayBet 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 NewParlayBetWithDefaults ¶
func NewParlayBetWithDefaults() *ParlayBet
NewParlayBetWithDefaults instantiates a new ParlayBet 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 (*ParlayBet) GetBetIdOk ¶
GetBetIdOk returns a tuple with the BetId field value and a boolean to check if the value has been set.
func (*ParlayBet) GetBetStatus ¶
GetBetStatus returns the BetStatus field value
func (*ParlayBet) GetBetStatusOk ¶
GetBetStatusOk returns a tuple with the BetStatus field value and a boolean to check if the value has been set.
func (*ParlayBet) GetBetType ¶
GetBetType returns the BetType field value
func (*ParlayBet) GetBetTypeOk ¶
GetBetTypeOk returns a tuple with the BetType field value and a boolean to check if the value has been set.
func (*ParlayBet) GetCancellationReason ¶
func (o *ParlayBet) GetCancellationReason() CancellationReason
GetCancellationReason returns the CancellationReason field value if set, zero value otherwise.
func (*ParlayBet) GetCancellationReasonOk ¶
func (o *ParlayBet) GetCancellationReasonOk() (*CancellationReason, bool)
GetCancellationReasonOk returns a tuple with the CancellationReason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParlayBet) GetCustomerCommission ¶
GetCustomerCommission returns the CustomerCommission field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ParlayBet) GetCustomerCommissionOk ¶
GetCustomerCommissionOk returns a tuple with the CustomerCommission field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ParlayBet) GetFinalPrice ¶
GetFinalPrice returns the FinalPrice field value if set, zero value otherwise.
func (*ParlayBet) GetFinalPriceOk ¶
GetFinalPriceOk returns a tuple with the FinalPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParlayBet) GetLegsOk ¶
GetLegsOk returns a tuple with the Legs field value and a boolean to check if the value has been set.
func (*ParlayBet) GetOddsFormat ¶
func (o *ParlayBet) GetOddsFormat() OddsFormat
GetOddsFormat returns the OddsFormat field value
func (*ParlayBet) GetOddsFormatOk ¶
func (o *ParlayBet) GetOddsFormatOk() (*OddsFormat, bool)
GetOddsFormatOk returns a tuple with the OddsFormat field value and a boolean to check if the value has been set.
func (*ParlayBet) GetPlacedAt ¶
GetPlacedAt returns the PlacedAt field value
func (*ParlayBet) GetPlacedAtOk ¶
GetPlacedAtOk returns a tuple with the PlacedAt field value and a boolean to check if the value has been set.
func (*ParlayBet) 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 (*ParlayBet) GetRiskOk ¶
GetRiskOk returns a tuple with the Risk field value and a boolean to check if the value has been set.
func (*ParlayBet) GetUniqueRequestId ¶
GetUniqueRequestId returns the UniqueRequestId field value if set, zero value otherwise.
func (*ParlayBet) GetUniqueRequestIdOk ¶
GetUniqueRequestIdOk returns a tuple with the UniqueRequestId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParlayBet) GetUpdateSequence ¶
GetUpdateSequence returns the UpdateSequence field value
func (*ParlayBet) GetUpdateSequenceOk ¶
GetUpdateSequenceOk returns a tuple with the UpdateSequence field value and a boolean to check if the value has been set.
func (*ParlayBet) GetWagerNumber ¶
GetWagerNumber returns the WagerNumber field value
func (*ParlayBet) GetWagerNumberOk ¶
GetWagerNumberOk returns a tuple with the WagerNumber field value and a boolean to check if the value has been set.
func (*ParlayBet) GetWinLoss ¶
GetWinLoss returns the WinLoss field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ParlayBet) GetWinLossOk ¶
GetWinLossOk returns a tuple with the WinLoss field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ParlayBet) GetWinOk ¶
GetWinOk returns a tuple with the Win field value and a boolean to check if the value has been set.
func (*ParlayBet) HasCancellationReason ¶
HasCancellationReason returns a boolean if a field has been set.
func (*ParlayBet) HasCustomerCommission ¶
HasCustomerCommission returns a boolean if a field has been set.
func (*ParlayBet) HasFinalPrice ¶
HasFinalPrice returns a boolean if a field has been set.
func (*ParlayBet) HasUniqueRequestId ¶
HasUniqueRequestId returns a boolean if a field has been set.
func (*ParlayBet) HasWinLoss ¶
HasWinLoss returns a boolean if a field has been set.
func (ParlayBet) MarshalJSON ¶
func (*ParlayBet) SetBetStatus ¶
SetBetStatus sets field value
func (*ParlayBet) SetCancellationReason ¶
func (o *ParlayBet) SetCancellationReason(v CancellationReason)
SetCancellationReason gets a reference to the given CancellationReason and assigns it to the CancellationReason field.
func (*ParlayBet) SetCustomerCommission ¶
SetCustomerCommission gets a reference to the given NullableFloat64 and assigns it to the CustomerCommission field.
func (*ParlayBet) SetCustomerCommissionNil ¶
func (o *ParlayBet) SetCustomerCommissionNil()
SetCustomerCommissionNil sets the value for CustomerCommission to be an explicit nil
func (*ParlayBet) SetFinalPrice ¶
SetFinalPrice gets a reference to the given float64 and assigns it to the FinalPrice field.
func (*ParlayBet) SetOddsFormat ¶
func (o *ParlayBet) SetOddsFormat(v OddsFormat)
SetOddsFormat sets field value
func (*ParlayBet) SetPlacedAt ¶
SetPlacedAt sets field value
func (*ParlayBet) SetPrice ¶
SetPrice gets a reference to the given float64 and assigns it to the Price field.
func (*ParlayBet) SetUniqueRequestId ¶
SetUniqueRequestId gets a reference to the given string and assigns it to the UniqueRequestId field.
func (*ParlayBet) SetUpdateSequence ¶
SetUpdateSequence sets field value
func (*ParlayBet) SetWagerNumber ¶
SetWagerNumber sets field value
func (*ParlayBet) SetWinLoss ¶
SetWinLoss gets a reference to the given NullableFloat64 and assigns it to the WinLoss field.
func (*ParlayBet) SetWinLossNil ¶
func (o *ParlayBet) SetWinLossNil()
SetWinLossNil sets the value for WinLoss to be an explicit nil
func (*ParlayBet) UnsetCustomerCommission ¶
func (o *ParlayBet) UnsetCustomerCommission()
UnsetCustomerCommission ensures that no value is present for CustomerCommission, not even an explicit nil
func (*ParlayBet) UnsetWinLoss ¶
func (o *ParlayBet) UnsetWinLoss()
UnsetWinLoss ensures that no value is present for WinLoss, not even an explicit nil
type ParlayLeg ¶
type ParlayLeg struct { SportId *int `json:"sportId,omitempty"` // Parlay leg type. LegBetType *string `json:"legBetType,omitempty"` // Parlay Leg status. CANCELLED = The leg is canceled- the stake on this leg will be transferred to the next one. In this case the leg will be ignored when calculating the winLoss, LOSE = The leg is a loss or a push-lose. When Push-lose happens, the half of the stake on the leg will be pushed to the next leg, and the other half will be a lose. This can happen only when the leg is placed on a quarter points handicap, PUSH = The leg is a push - the stake on this leg will be transferred to the next one. In this case the leg will be ignored when calculating the winLoss, REFUNDED = The leg is refunded - the stake on this leg will be transferred to the next one. In this case the leg will be ignored when calculating the winLoss, WON = The leg is a won or a push-won. When Push-won happens, the half of the stake on the leg will be pushed to the next leg, and the other half is won. This can happen only when the leg is placed on a quarter points handicap LegBetStatus *string `json:"legBetStatus,omitempty"` LeagueId *int `json:"leagueId,omitempty"` EventId *int64 `json:"eventId,omitempty"` // Date time when the event starts. EventStartTime *time.Time `json:"eventStartTime,omitempty"` Handicap NullableFloat64 `json:"handicap,omitempty"` Price *float64 `json:"price,omitempty"` TeamName *string `json:"teamName,omitempty"` // Side type. Side NullableString `json:"side,omitempty"` Pitcher1 NullableString `json:"pitcher1,omitempty"` Pitcher2 NullableString `json:"pitcher2,omitempty"` Pitcher1MustStart *bool `json:"pitcher1MustStart,omitempty"` Pitcher2MustStart *bool `json:"pitcher2MustStart,omitempty"` // Wellington Phoenix Team1 *string `json:"team1,omitempty"` // Adelaide United Team2 *string `json:"team2,omitempty"` PeriodNumber *int `json:"periodNumber,omitempty"` // Full time team 1 score FtTeam1Score NullableFloat64 `json:"ftTeam1Score,omitempty"` // Full time team 2 score FtTeam2Score NullableFloat64 `json:"ftTeam2Score,omitempty"` // End of period team 1 score. If the bet was placed on Game period (periodNumber =0) , this will be null PTeam1Score NullableFloat64 `json:"pTeam1Score,omitempty"` // End of period team 2 score. If the bet was placed on Game period (periodNumber =0) , this will be null PTeam2Score NullableFloat64 `json:"pTeam2Score,omitempty"` CancellationReason *CancellationReason `json:"cancellationReason,omitempty"` }
ParlayLeg struct for ParlayLeg
func NewParlayLeg ¶
func NewParlayLeg() *ParlayLeg
NewParlayLeg instantiates a new ParlayLeg 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 NewParlayLegWithDefaults ¶
func NewParlayLegWithDefaults() *ParlayLeg
NewParlayLegWithDefaults instantiates a new ParlayLeg 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 (*ParlayLeg) GetCancellationReason ¶
func (o *ParlayLeg) GetCancellationReason() CancellationReason
GetCancellationReason returns the CancellationReason field value if set, zero value otherwise.
func (*ParlayLeg) GetCancellationReasonOk ¶
func (o *ParlayLeg) GetCancellationReasonOk() (*CancellationReason, bool)
GetCancellationReasonOk returns a tuple with the CancellationReason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParlayLeg) GetEventId ¶
GetEventId returns the EventId field value if set, zero value otherwise.
func (*ParlayLeg) 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 (*ParlayLeg) GetEventStartTime ¶
GetEventStartTime returns the EventStartTime field value if set, zero value otherwise.
func (*ParlayLeg) GetEventStartTimeOk ¶
GetEventStartTimeOk returns a tuple with the EventStartTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParlayLeg) GetFtTeam1Score ¶
GetFtTeam1Score returns the FtTeam1Score field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ParlayLeg) GetFtTeam1ScoreOk ¶
GetFtTeam1ScoreOk returns a tuple with the FtTeam1Score field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ParlayLeg) GetFtTeam2Score ¶
GetFtTeam2Score returns the FtTeam2Score field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ParlayLeg) GetFtTeam2ScoreOk ¶
GetFtTeam2ScoreOk returns a tuple with the FtTeam2Score field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ParlayLeg) GetHandicap ¶
GetHandicap returns the Handicap field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ParlayLeg) GetHandicapOk ¶
GetHandicapOk returns a tuple with the Handicap field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ParlayLeg) GetLeagueId ¶
GetLeagueId returns the LeagueId field value if set, zero value otherwise.
func (*ParlayLeg) GetLeagueIdOk ¶
GetLeagueIdOk returns a tuple with the LeagueId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParlayLeg) GetLegBetStatus ¶
GetLegBetStatus returns the LegBetStatus field value if set, zero value otherwise.
func (*ParlayLeg) GetLegBetStatusOk ¶
GetLegBetStatusOk returns a tuple with the LegBetStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParlayLeg) GetLegBetType ¶
GetLegBetType returns the LegBetType field value if set, zero value otherwise.
func (*ParlayLeg) GetLegBetTypeOk ¶
GetLegBetTypeOk returns a tuple with the LegBetType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParlayLeg) GetPTeam1Score ¶
GetPTeam1Score returns the PTeam1Score field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ParlayLeg) GetPTeam1ScoreOk ¶
GetPTeam1ScoreOk returns a tuple with the PTeam1Score field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ParlayLeg) GetPTeam2Score ¶
GetPTeam2Score returns the PTeam2Score field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ParlayLeg) GetPTeam2ScoreOk ¶
GetPTeam2ScoreOk returns a tuple with the PTeam2Score field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ParlayLeg) GetPeriodNumber ¶
GetPeriodNumber returns the PeriodNumber field value if set, zero value otherwise.
func (*ParlayLeg) GetPeriodNumberOk ¶
GetPeriodNumberOk returns a tuple with the PeriodNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParlayLeg) GetPitcher1 ¶
GetPitcher1 returns the Pitcher1 field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ParlayLeg) GetPitcher1MustStart ¶
GetPitcher1MustStart returns the Pitcher1MustStart field value if set, zero value otherwise.
func (*ParlayLeg) GetPitcher1MustStartOk ¶
GetPitcher1MustStartOk returns a tuple with the Pitcher1MustStart field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParlayLeg) GetPitcher1Ok ¶
GetPitcher1Ok returns a tuple with the Pitcher1 field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ParlayLeg) GetPitcher2 ¶
GetPitcher2 returns the Pitcher2 field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ParlayLeg) GetPitcher2MustStart ¶
GetPitcher2MustStart returns the Pitcher2MustStart field value if set, zero value otherwise.
func (*ParlayLeg) GetPitcher2MustStartOk ¶
GetPitcher2MustStartOk returns a tuple with the Pitcher2MustStart field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParlayLeg) GetPitcher2Ok ¶
GetPitcher2Ok returns a tuple with the Pitcher2 field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ParlayLeg) 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 (*ParlayLeg) GetSide ¶
GetSide returns the Side field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ParlayLeg) GetSideOk ¶
GetSideOk returns a tuple with the Side field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ParlayLeg) GetSportId ¶
GetSportId returns the SportId field value if set, zero value otherwise.
func (*ParlayLeg) GetSportIdOk ¶
GetSportIdOk returns a tuple with the SportId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParlayLeg) GetTeam1Ok ¶
GetTeam1Ok returns a tuple with the Team1 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParlayLeg) GetTeam2Ok ¶
GetTeam2Ok returns a tuple with the Team2 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParlayLeg) GetTeamName ¶
GetTeamName returns the TeamName field value if set, zero value otherwise.
func (*ParlayLeg) GetTeamNameOk ¶
GetTeamNameOk returns a tuple with the TeamName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParlayLeg) HasCancellationReason ¶
HasCancellationReason returns a boolean if a field has been set.
func (*ParlayLeg) HasEventId ¶
HasEventId returns a boolean if a field has been set.
func (*ParlayLeg) HasEventStartTime ¶
HasEventStartTime returns a boolean if a field has been set.
func (*ParlayLeg) HasFtTeam1Score ¶
HasFtTeam1Score returns a boolean if a field has been set.
func (*ParlayLeg) HasFtTeam2Score ¶
HasFtTeam2Score returns a boolean if a field has been set.
func (*ParlayLeg) HasHandicap ¶
HasHandicap returns a boolean if a field has been set.
func (*ParlayLeg) HasLeagueId ¶
HasLeagueId returns a boolean if a field has been set.
func (*ParlayLeg) HasLegBetStatus ¶
HasLegBetStatus returns a boolean if a field has been set.
func (*ParlayLeg) HasLegBetType ¶
HasLegBetType returns a boolean if a field has been set.
func (*ParlayLeg) HasPTeam1Score ¶
HasPTeam1Score returns a boolean if a field has been set.
func (*ParlayLeg) HasPTeam2Score ¶
HasPTeam2Score returns a boolean if a field has been set.
func (*ParlayLeg) HasPeriodNumber ¶
HasPeriodNumber returns a boolean if a field has been set.
func (*ParlayLeg) HasPitcher1 ¶
HasPitcher1 returns a boolean if a field has been set.
func (*ParlayLeg) HasPitcher1MustStart ¶
HasPitcher1MustStart returns a boolean if a field has been set.
func (*ParlayLeg) HasPitcher2 ¶
HasPitcher2 returns a boolean if a field has been set.
func (*ParlayLeg) HasPitcher2MustStart ¶
HasPitcher2MustStart returns a boolean if a field has been set.
func (*ParlayLeg) HasSportId ¶
HasSportId returns a boolean if a field has been set.
func (*ParlayLeg) HasTeamName ¶
HasTeamName returns a boolean if a field has been set.
func (ParlayLeg) MarshalJSON ¶
func (*ParlayLeg) SetCancellationReason ¶
func (o *ParlayLeg) SetCancellationReason(v CancellationReason)
SetCancellationReason gets a reference to the given CancellationReason and assigns it to the CancellationReason field.
func (*ParlayLeg) SetEventId ¶
SetEventId gets a reference to the given int64 and assigns it to the EventId field.
func (*ParlayLeg) SetEventStartTime ¶
SetEventStartTime gets a reference to the given time.Time and assigns it to the EventStartTime field.
func (*ParlayLeg) SetFtTeam1Score ¶
SetFtTeam1Score gets a reference to the given NullableFloat64 and assigns it to the FtTeam1Score field.
func (*ParlayLeg) SetFtTeam1ScoreNil ¶
func (o *ParlayLeg) SetFtTeam1ScoreNil()
SetFtTeam1ScoreNil sets the value for FtTeam1Score to be an explicit nil
func (*ParlayLeg) SetFtTeam2Score ¶
SetFtTeam2Score gets a reference to the given NullableFloat64 and assigns it to the FtTeam2Score field.
func (*ParlayLeg) SetFtTeam2ScoreNil ¶
func (o *ParlayLeg) SetFtTeam2ScoreNil()
SetFtTeam2ScoreNil sets the value for FtTeam2Score to be an explicit nil
func (*ParlayLeg) SetHandicap ¶
SetHandicap gets a reference to the given NullableFloat64 and assigns it to the Handicap field.
func (*ParlayLeg) SetHandicapNil ¶
func (o *ParlayLeg) SetHandicapNil()
SetHandicapNil sets the value for Handicap to be an explicit nil
func (*ParlayLeg) SetLeagueId ¶
SetLeagueId gets a reference to the given int and assigns it to the LeagueId field.
func (*ParlayLeg) SetLegBetStatus ¶
SetLegBetStatus gets a reference to the given string and assigns it to the LegBetStatus field.
func (*ParlayLeg) SetLegBetType ¶
SetLegBetType gets a reference to the given string and assigns it to the LegBetType field.
func (*ParlayLeg) SetPTeam1Score ¶
SetPTeam1Score gets a reference to the given NullableFloat64 and assigns it to the PTeam1Score field.
func (*ParlayLeg) SetPTeam1ScoreNil ¶
func (o *ParlayLeg) SetPTeam1ScoreNil()
SetPTeam1ScoreNil sets the value for PTeam1Score to be an explicit nil
func (*ParlayLeg) SetPTeam2Score ¶
SetPTeam2Score gets a reference to the given NullableFloat64 and assigns it to the PTeam2Score field.
func (*ParlayLeg) SetPTeam2ScoreNil ¶
func (o *ParlayLeg) SetPTeam2ScoreNil()
SetPTeam2ScoreNil sets the value for PTeam2Score to be an explicit nil
func (*ParlayLeg) SetPeriodNumber ¶
SetPeriodNumber gets a reference to the given int and assigns it to the PeriodNumber field.
func (*ParlayLeg) SetPitcher1 ¶
SetPitcher1 gets a reference to the given NullableString and assigns it to the Pitcher1 field.
func (*ParlayLeg) SetPitcher1MustStart ¶
SetPitcher1MustStart gets a reference to the given bool and assigns it to the Pitcher1MustStart field.
func (*ParlayLeg) SetPitcher1Nil ¶
func (o *ParlayLeg) SetPitcher1Nil()
SetPitcher1Nil sets the value for Pitcher1 to be an explicit nil
func (*ParlayLeg) SetPitcher2 ¶
SetPitcher2 gets a reference to the given NullableString and assigns it to the Pitcher2 field.
func (*ParlayLeg) SetPitcher2MustStart ¶
SetPitcher2MustStart gets a reference to the given bool and assigns it to the Pitcher2MustStart field.
func (*ParlayLeg) SetPitcher2Nil ¶
func (o *ParlayLeg) SetPitcher2Nil()
SetPitcher2Nil sets the value for Pitcher2 to be an explicit nil
func (*ParlayLeg) SetPrice ¶
SetPrice gets a reference to the given float64 and assigns it to the Price field.
func (*ParlayLeg) SetSide ¶
SetSide gets a reference to the given NullableString and assigns it to the Side field.
func (*ParlayLeg) SetSideNil ¶
func (o *ParlayLeg) SetSideNil()
SetSideNil sets the value for Side to be an explicit nil
func (*ParlayLeg) SetSportId ¶
SetSportId gets a reference to the given int and assigns it to the SportId field.
func (*ParlayLeg) SetTeam1 ¶
SetTeam1 gets a reference to the given string and assigns it to the Team1 field.
func (*ParlayLeg) SetTeam2 ¶
SetTeam2 gets a reference to the given string and assigns it to the Team2 field.
func (*ParlayLeg) SetTeamName ¶
SetTeamName gets a reference to the given string and assigns it to the TeamName field.
func (*ParlayLeg) UnsetFtTeam1Score ¶
func (o *ParlayLeg) UnsetFtTeam1Score()
UnsetFtTeam1Score ensures that no value is present for FtTeam1Score, not even an explicit nil
func (*ParlayLeg) UnsetFtTeam2Score ¶
func (o *ParlayLeg) UnsetFtTeam2Score()
UnsetFtTeam2Score ensures that no value is present for FtTeam2Score, not even an explicit nil
func (*ParlayLeg) UnsetHandicap ¶
func (o *ParlayLeg) UnsetHandicap()
UnsetHandicap ensures that no value is present for Handicap, not even an explicit nil
func (*ParlayLeg) UnsetPTeam1Score ¶
func (o *ParlayLeg) UnsetPTeam1Score()
UnsetPTeam1Score ensures that no value is present for PTeam1Score, not even an explicit nil
func (*ParlayLeg) UnsetPTeam2Score ¶
func (o *ParlayLeg) UnsetPTeam2Score()
UnsetPTeam2Score ensures that no value is present for PTeam2Score, not even an explicit nil
func (*ParlayLeg) UnsetPitcher1 ¶
func (o *ParlayLeg) UnsetPitcher1()
UnsetPitcher1 ensures that no value is present for Pitcher1, not even an explicit nil
func (*ParlayLeg) UnsetPitcher2 ¶
func (o *ParlayLeg) UnsetPitcher2()
UnsetPitcher2 ensures that no value is present for Pitcher2, not even an explicit nil
type Period ¶
type Period struct { // Period Number Number *int `json:"number,omitempty"` // Description for the period Description *string `json:"description,omitempty"` // Short description for the period ShortDescription *string `json:"shortDescription,omitempty"` // Description for the Spread SpreadDescription *string `json:"spreadDescription,omitempty"` // Description for the Moneyline MoneylineDescription *string `json:"moneylineDescription,omitempty"` // Description for the Totals TotalDescription *string `json:"totalDescription,omitempty"` // Description for Team1 Totals Team1TotalDescription *string `json:"team1TotalDescription,omitempty"` // Description for Team2 Totals Team2TotalDescription *string `json:"team2TotalDescription,omitempty"` // Short description for the Spread SpreadShortDescription *string `json:"spreadShortDescription,omitempty"` // Short description for the Moneyline MoneylineShortDescription *string `json:"moneylineShortDescription,omitempty"` // Short description for the Totals TotalShortDescription *string `json:"totalShortDescription,omitempty"` // Short description for Team1 Totals Team1TotalShortDescription *string `json:"team1TotalShortDescription,omitempty"` // Short description for Team2 Totals Team2TotalShortDescription *string `json:"team2TotalShortDescription,omitempty"` }
Period struct for Period
func NewPeriod ¶
func NewPeriod() *Period
NewPeriod instantiates a new Period 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 NewPeriodWithDefaults ¶
func NewPeriodWithDefaults() *Period
NewPeriodWithDefaults instantiates a new Period 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 (*Period) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Period) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Period) GetMoneylineDescription ¶
GetMoneylineDescription returns the MoneylineDescription field value if set, zero value otherwise.
func (*Period) GetMoneylineDescriptionOk ¶
GetMoneylineDescriptionOk returns a tuple with the MoneylineDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Period) GetMoneylineShortDescription ¶
GetMoneylineShortDescription returns the MoneylineShortDescription field value if set, zero value otherwise.
func (*Period) GetMoneylineShortDescriptionOk ¶
GetMoneylineShortDescriptionOk returns a tuple with the MoneylineShortDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Period) GetNumberOk ¶
GetNumberOk returns a tuple with the Number field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Period) GetShortDescription ¶
GetShortDescription returns the ShortDescription field value if set, zero value otherwise.
func (*Period) GetShortDescriptionOk ¶
GetShortDescriptionOk returns a tuple with the ShortDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Period) GetSpreadDescription ¶
GetSpreadDescription returns the SpreadDescription field value if set, zero value otherwise.
func (*Period) GetSpreadDescriptionOk ¶
GetSpreadDescriptionOk returns a tuple with the SpreadDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Period) GetSpreadShortDescription ¶
GetSpreadShortDescription returns the SpreadShortDescription field value if set, zero value otherwise.
func (*Period) GetSpreadShortDescriptionOk ¶
GetSpreadShortDescriptionOk returns a tuple with the SpreadShortDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Period) GetTeam1TotalDescription ¶
GetTeam1TotalDescription returns the Team1TotalDescription field value if set, zero value otherwise.
func (*Period) GetTeam1TotalDescriptionOk ¶
GetTeam1TotalDescriptionOk returns a tuple with the Team1TotalDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Period) GetTeam1TotalShortDescription ¶
GetTeam1TotalShortDescription returns the Team1TotalShortDescription field value if set, zero value otherwise.
func (*Period) GetTeam1TotalShortDescriptionOk ¶
GetTeam1TotalShortDescriptionOk returns a tuple with the Team1TotalShortDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Period) GetTeam2TotalDescription ¶
GetTeam2TotalDescription returns the Team2TotalDescription field value if set, zero value otherwise.
func (*Period) GetTeam2TotalDescriptionOk ¶
GetTeam2TotalDescriptionOk returns a tuple with the Team2TotalDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Period) GetTeam2TotalShortDescription ¶
GetTeam2TotalShortDescription returns the Team2TotalShortDescription field value if set, zero value otherwise.
func (*Period) GetTeam2TotalShortDescriptionOk ¶
GetTeam2TotalShortDescriptionOk returns a tuple with the Team2TotalShortDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Period) GetTotalDescription ¶
GetTotalDescription returns the TotalDescription field value if set, zero value otherwise.
func (*Period) GetTotalDescriptionOk ¶
GetTotalDescriptionOk returns a tuple with the TotalDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Period) GetTotalShortDescription ¶
GetTotalShortDescription returns the TotalShortDescription field value if set, zero value otherwise.
func (*Period) GetTotalShortDescriptionOk ¶
GetTotalShortDescriptionOk returns a tuple with the TotalShortDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Period) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Period) HasMoneylineDescription ¶
HasMoneylineDescription returns a boolean if a field has been set.
func (*Period) HasMoneylineShortDescription ¶
HasMoneylineShortDescription returns a boolean if a field has been set.
func (*Period) HasShortDescription ¶
HasShortDescription returns a boolean if a field has been set.
func (*Period) HasSpreadDescription ¶
HasSpreadDescription returns a boolean if a field has been set.
func (*Period) HasSpreadShortDescription ¶
HasSpreadShortDescription returns a boolean if a field has been set.
func (*Period) HasTeam1TotalDescription ¶
HasTeam1TotalDescription returns a boolean if a field has been set.
func (*Period) HasTeam1TotalShortDescription ¶
HasTeam1TotalShortDescription returns a boolean if a field has been set.
func (*Period) HasTeam2TotalDescription ¶
HasTeam2TotalDescription returns a boolean if a field has been set.
func (*Period) HasTeam2TotalShortDescription ¶
HasTeam2TotalShortDescription returns a boolean if a field has been set.
func (*Period) HasTotalDescription ¶
HasTotalDescription returns a boolean if a field has been set.
func (*Period) HasTotalShortDescription ¶
HasTotalShortDescription returns a boolean if a field has been set.
func (Period) MarshalJSON ¶
func (*Period) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Period) SetMoneylineDescription ¶
SetMoneylineDescription gets a reference to the given string and assigns it to the MoneylineDescription field.
func (*Period) SetMoneylineShortDescription ¶
SetMoneylineShortDescription gets a reference to the given string and assigns it to the MoneylineShortDescription field.
func (*Period) SetNumber ¶
SetNumber gets a reference to the given int and assigns it to the Number field.
func (*Period) SetShortDescription ¶
SetShortDescription gets a reference to the given string and assigns it to the ShortDescription field.
func (*Period) SetSpreadDescription ¶
SetSpreadDescription gets a reference to the given string and assigns it to the SpreadDescription field.
func (*Period) SetSpreadShortDescription ¶
SetSpreadShortDescription gets a reference to the given string and assigns it to the SpreadShortDescription field.
func (*Period) SetTeam1TotalDescription ¶
SetTeam1TotalDescription gets a reference to the given string and assigns it to the Team1TotalDescription field.
func (*Period) SetTeam1TotalShortDescription ¶
SetTeam1TotalShortDescription gets a reference to the given string and assigns it to the Team1TotalShortDescription field.
func (*Period) SetTeam2TotalDescription ¶
SetTeam2TotalDescription gets a reference to the given string and assigns it to the Team2TotalDescription field.
func (*Period) SetTeam2TotalShortDescription ¶
SetTeam2TotalShortDescription gets a reference to the given string and assigns it to the Team2TotalShortDescription field.
func (*Period) SetTotalDescription ¶
SetTotalDescription gets a reference to the given string and assigns it to the TotalDescription field.
func (*Period) SetTotalShortDescription ¶
SetTotalShortDescription gets a reference to the given string and assigns it to the TotalShortDescription field.
type PlaceBetRequest ¶
type PlaceBetRequest struct { OddsFormat OddsFormat `json:"oddsFormat"` // This is a Unique ID for PlaceBet requests. This is to support idempotent requests. UniqueRequestId string `json:"uniqueRequestId"` // Whether or not to accept a bet when there is a line change in favor of the client. AcceptBetterLine bool `json:"acceptBetterLine"` // amount in client’s currency. Stake float64 `json:"stake"` WinRiskStake WinRiskStake `json:"winRiskStake"` // Line identification. LineId int64 `json:"lineId"` // Alternate line identification. AltLineId NullableInt64 `json:"altLineId,omitempty"` // Baseball only. Refers to the pitcher for Team1. This applicable only for MONEYLINE bet type, for all other bet types this has to be TRUE. Pitcher1MustStart *bool `json:"pitcher1MustStart,omitempty"` // Baseball only. Refers to the pitcher for Team2. This applicable only for MONEYLINE bet type, for all other bet types this has to be TRUE. Pitcher2MustStart *bool `json:"pitcher2MustStart,omitempty"` FillType FillType `json:"fillType"` SportId int64 `json:"sportId"` EventId int64 `json:"eventId"` PeriodNumber int `json:"periodNumber"` // Bet type. BetType string `json:"betType"` // Team type. Team *string `json:"team,omitempty"` // Side type. Side NullableString `json:"side,omitempty"` }
PlaceBetRequest Request to place a bet.
func NewPlaceBetRequest ¶
func NewPlaceBetRequest(oddsFormat OddsFormat, uniqueRequestId string, acceptBetterLine bool, stake float64, winRiskStake WinRiskStake, lineId int64, fillType FillType, sportId int64, eventId int64, periodNumber int, betType string) *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) GetAcceptBetterLine ¶
func (o *PlaceBetRequest) GetAcceptBetterLine() bool
GetAcceptBetterLine returns the AcceptBetterLine field value
func (*PlaceBetRequest) GetAcceptBetterLineOk ¶
func (o *PlaceBetRequest) GetAcceptBetterLineOk() (*bool, bool)
GetAcceptBetterLineOk returns a tuple with the AcceptBetterLine field value and a boolean to check if the value has been set.
func (*PlaceBetRequest) GetAltLineId ¶
func (o *PlaceBetRequest) GetAltLineId() int64
GetAltLineId returns the AltLineId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PlaceBetRequest) GetAltLineIdOk ¶
func (o *PlaceBetRequest) GetAltLineIdOk() (*int64, bool)
GetAltLineIdOk returns a tuple with the AltLineId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PlaceBetRequest) GetBetType ¶
func (o *PlaceBetRequest) GetBetType() string
GetBetType returns the BetType field value
func (*PlaceBetRequest) GetBetTypeOk ¶
func (o *PlaceBetRequest) GetBetTypeOk() (*string, bool)
GetBetTypeOk returns a tuple with the BetType field value and a boolean to check if the value has been set.
func (*PlaceBetRequest) GetEventId ¶
func (o *PlaceBetRequest) GetEventId() int64
GetEventId returns the EventId field value
func (*PlaceBetRequest) GetEventIdOk ¶
func (o *PlaceBetRequest) GetEventIdOk() (*int64, bool)
GetEventIdOk returns a tuple with the EventId field value and a boolean to check if the value has been set.
func (*PlaceBetRequest) GetFillType ¶
func (o *PlaceBetRequest) GetFillType() FillType
GetFillType returns the FillType field value
func (*PlaceBetRequest) GetFillTypeOk ¶
func (o *PlaceBetRequest) GetFillTypeOk() (*FillType, bool)
GetFillTypeOk returns a tuple with the FillType field value and a boolean to check if the value has been set.
func (*PlaceBetRequest) GetLineId ¶
func (o *PlaceBetRequest) GetLineId() int64
GetLineId returns the LineId field value
func (*PlaceBetRequest) GetLineIdOk ¶
func (o *PlaceBetRequest) GetLineIdOk() (*int64, bool)
GetLineIdOk returns a tuple with the LineId field value and a boolean to check if the value has been set.
func (*PlaceBetRequest) GetOddsFormat ¶
func (o *PlaceBetRequest) GetOddsFormat() OddsFormat
GetOddsFormat returns the OddsFormat field value
func (*PlaceBetRequest) GetOddsFormatOk ¶
func (o *PlaceBetRequest) GetOddsFormatOk() (*OddsFormat, bool)
GetOddsFormatOk returns a tuple with the OddsFormat field value and a boolean to check if the value has been set.
func (*PlaceBetRequest) GetPeriodNumber ¶
func (o *PlaceBetRequest) GetPeriodNumber() int
GetPeriodNumber returns the PeriodNumber field value
func (*PlaceBetRequest) GetPeriodNumberOk ¶
func (o *PlaceBetRequest) GetPeriodNumberOk() (*int, bool)
GetPeriodNumberOk returns a tuple with the PeriodNumber field value and a boolean to check if the value has been set.
func (*PlaceBetRequest) GetPitcher1MustStart ¶
func (o *PlaceBetRequest) GetPitcher1MustStart() bool
GetPitcher1MustStart returns the Pitcher1MustStart field value if set, zero value otherwise.
func (*PlaceBetRequest) GetPitcher1MustStartOk ¶
func (o *PlaceBetRequest) GetPitcher1MustStartOk() (*bool, bool)
GetPitcher1MustStartOk returns a tuple with the Pitcher1MustStart field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlaceBetRequest) GetPitcher2MustStart ¶
func (o *PlaceBetRequest) GetPitcher2MustStart() bool
GetPitcher2MustStart returns the Pitcher2MustStart field value if set, zero value otherwise.
func (*PlaceBetRequest) GetPitcher2MustStartOk ¶
func (o *PlaceBetRequest) GetPitcher2MustStartOk() (*bool, bool)
GetPitcher2MustStartOk returns a tuple with the Pitcher2MustStart field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlaceBetRequest) GetSide ¶
func (o *PlaceBetRequest) GetSide() string
GetSide returns the Side field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PlaceBetRequest) GetSideOk ¶
func (o *PlaceBetRequest) GetSideOk() (*string, bool)
GetSideOk returns a tuple with the Side field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PlaceBetRequest) GetSportId ¶
func (o *PlaceBetRequest) GetSportId() int64
GetSportId returns the SportId field value
func (*PlaceBetRequest) GetSportIdOk ¶
func (o *PlaceBetRequest) GetSportIdOk() (*int64, bool)
GetSportIdOk returns a tuple with the SportId field value and a boolean to check if the value has been set.
func (*PlaceBetRequest) GetStake ¶
func (o *PlaceBetRequest) GetStake() float64
GetStake returns the Stake field value
func (*PlaceBetRequest) GetStakeOk ¶
func (o *PlaceBetRequest) GetStakeOk() (*float64, bool)
GetStakeOk returns a tuple with the Stake field value and a boolean to check if the value has been set.
func (*PlaceBetRequest) GetTeam ¶
func (o *PlaceBetRequest) GetTeam() string
GetTeam returns the Team field value if set, zero value otherwise.
func (*PlaceBetRequest) GetTeamOk ¶
func (o *PlaceBetRequest) GetTeamOk() (*string, bool)
GetTeamOk returns a tuple with the Team field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlaceBetRequest) GetUniqueRequestId ¶
func (o *PlaceBetRequest) GetUniqueRequestId() string
GetUniqueRequestId returns the UniqueRequestId field value
func (*PlaceBetRequest) GetUniqueRequestIdOk ¶
func (o *PlaceBetRequest) GetUniqueRequestIdOk() (*string, bool)
GetUniqueRequestIdOk returns a tuple with the UniqueRequestId field value and a boolean to check if the value has been set.
func (*PlaceBetRequest) GetWinRiskStake ¶
func (o *PlaceBetRequest) GetWinRiskStake() WinRiskStake
GetWinRiskStake returns the WinRiskStake field value
func (*PlaceBetRequest) GetWinRiskStakeOk ¶
func (o *PlaceBetRequest) GetWinRiskStakeOk() (*WinRiskStake, bool)
GetWinRiskStakeOk returns a tuple with the WinRiskStake field value and a boolean to check if the value has been set.
func (*PlaceBetRequest) HasAltLineId ¶
func (o *PlaceBetRequest) HasAltLineId() bool
HasAltLineId returns a boolean if a field has been set.
func (*PlaceBetRequest) HasPitcher1MustStart ¶
func (o *PlaceBetRequest) HasPitcher1MustStart() bool
HasPitcher1MustStart returns a boolean if a field has been set.
func (*PlaceBetRequest) HasPitcher2MustStart ¶
func (o *PlaceBetRequest) HasPitcher2MustStart() bool
HasPitcher2MustStart returns a boolean if a field has been set.
func (*PlaceBetRequest) HasSide ¶
func (o *PlaceBetRequest) HasSide() bool
HasSide returns a boolean if a field has been set.
func (*PlaceBetRequest) HasTeam ¶
func (o *PlaceBetRequest) HasTeam() bool
HasTeam returns a boolean if a field has been set.
func (PlaceBetRequest) MarshalJSON ¶
func (o PlaceBetRequest) MarshalJSON() ([]byte, error)
func (*PlaceBetRequest) SetAcceptBetterLine ¶
func (o *PlaceBetRequest) SetAcceptBetterLine(v bool)
SetAcceptBetterLine sets field value
func (*PlaceBetRequest) SetAltLineId ¶
func (o *PlaceBetRequest) SetAltLineId(v int64)
SetAltLineId gets a reference to the given NullableInt64 and assigns it to the AltLineId field.
func (*PlaceBetRequest) SetAltLineIdNil ¶
func (o *PlaceBetRequest) SetAltLineIdNil()
SetAltLineIdNil sets the value for AltLineId to be an explicit nil
func (*PlaceBetRequest) SetBetType ¶
func (o *PlaceBetRequest) SetBetType(v string)
SetBetType sets field value
func (*PlaceBetRequest) SetEventId ¶
func (o *PlaceBetRequest) SetEventId(v int64)
SetEventId sets field value
func (*PlaceBetRequest) SetFillType ¶
func (o *PlaceBetRequest) SetFillType(v FillType)
SetFillType sets field value
func (*PlaceBetRequest) SetLineId ¶
func (o *PlaceBetRequest) SetLineId(v int64)
SetLineId sets field value
func (*PlaceBetRequest) SetOddsFormat ¶
func (o *PlaceBetRequest) SetOddsFormat(v OddsFormat)
SetOddsFormat sets field value
func (*PlaceBetRequest) SetPeriodNumber ¶
func (o *PlaceBetRequest) SetPeriodNumber(v int)
SetPeriodNumber sets field value
func (*PlaceBetRequest) SetPitcher1MustStart ¶
func (o *PlaceBetRequest) SetPitcher1MustStart(v bool)
SetPitcher1MustStart gets a reference to the given bool and assigns it to the Pitcher1MustStart field.
func (*PlaceBetRequest) SetPitcher2MustStart ¶
func (o *PlaceBetRequest) SetPitcher2MustStart(v bool)
SetPitcher2MustStart gets a reference to the given bool and assigns it to the Pitcher2MustStart field.
func (*PlaceBetRequest) SetSide ¶
func (o *PlaceBetRequest) SetSide(v string)
SetSide gets a reference to the given NullableString and assigns it to the Side field.
func (*PlaceBetRequest) SetSideNil ¶
func (o *PlaceBetRequest) SetSideNil()
SetSideNil sets the value for Side to be an explicit nil
func (*PlaceBetRequest) SetSportId ¶
func (o *PlaceBetRequest) SetSportId(v int64)
SetSportId sets field value
func (*PlaceBetRequest) SetStake ¶
func (o *PlaceBetRequest) SetStake(v float64)
SetStake sets field value
func (*PlaceBetRequest) SetTeam ¶
func (o *PlaceBetRequest) SetTeam(v string)
SetTeam gets a reference to the given string and assigns it to the Team field.
func (*PlaceBetRequest) SetUniqueRequestId ¶
func (o *PlaceBetRequest) SetUniqueRequestId(v string)
SetUniqueRequestId sets field value
func (*PlaceBetRequest) SetWinRiskStake ¶
func (o *PlaceBetRequest) SetWinRiskStake(v WinRiskStake)
SetWinRiskStake sets field value
func (*PlaceBetRequest) UnsetAltLineId ¶
func (o *PlaceBetRequest) UnsetAltLineId()
UnsetAltLineId ensures that no value is present for AltLineId, not even an explicit nil
func (*PlaceBetRequest) UnsetSide ¶
func (o *PlaceBetRequest) UnsetSide()
UnsetSide ensures that no value is present for Side, not even an explicit nil
type PlaceBetResponseV2 ¶
type PlaceBetResponseV2 struct { Status Status `json:"status"` ErrorCode NullableErrorCode `json:"errorCode,omitempty"` // Echo of the uniqueRequestId from the request. UniqueRequestId *string `json:"uniqueRequestId,omitempty"` StraightBet *StraightBetV3 `json:"straightBet,omitempty"` }
PlaceBetResponseV2 struct for PlaceBetResponseV2
func NewPlaceBetResponseV2 ¶
func NewPlaceBetResponseV2(status Status) *PlaceBetResponseV2
NewPlaceBetResponseV2 instantiates a new PlaceBetResponseV2 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 NewPlaceBetResponseV2WithDefaults ¶
func NewPlaceBetResponseV2WithDefaults() *PlaceBetResponseV2
NewPlaceBetResponseV2WithDefaults instantiates a new PlaceBetResponseV2 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 (*PlaceBetResponseV2) GetErrorCode ¶
func (o *PlaceBetResponseV2) GetErrorCode() ErrorCode
GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PlaceBetResponseV2) GetErrorCodeOk ¶
func (o *PlaceBetResponseV2) GetErrorCodeOk() (*ErrorCode, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PlaceBetResponseV2) GetStatus ¶
func (o *PlaceBetResponseV2) GetStatus() Status
GetStatus returns the Status field value
func (*PlaceBetResponseV2) GetStatusOk ¶
func (o *PlaceBetResponseV2) GetStatusOk() (*Status, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*PlaceBetResponseV2) GetStraightBet ¶
func (o *PlaceBetResponseV2) GetStraightBet() StraightBetV3
GetStraightBet returns the StraightBet field value if set, zero value otherwise.
func (*PlaceBetResponseV2) GetStraightBetOk ¶
func (o *PlaceBetResponseV2) GetStraightBetOk() (*StraightBetV3, bool)
GetStraightBetOk returns a tuple with the StraightBet field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlaceBetResponseV2) GetUniqueRequestId ¶
func (o *PlaceBetResponseV2) GetUniqueRequestId() string
GetUniqueRequestId returns the UniqueRequestId field value if set, zero value otherwise.
func (*PlaceBetResponseV2) GetUniqueRequestIdOk ¶
func (o *PlaceBetResponseV2) GetUniqueRequestIdOk() (*string, bool)
GetUniqueRequestIdOk returns a tuple with the UniqueRequestId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlaceBetResponseV2) HasErrorCode ¶
func (o *PlaceBetResponseV2) HasErrorCode() bool
HasErrorCode returns a boolean if a field has been set.
func (*PlaceBetResponseV2) HasStraightBet ¶
func (o *PlaceBetResponseV2) HasStraightBet() bool
HasStraightBet returns a boolean if a field has been set.
func (*PlaceBetResponseV2) HasUniqueRequestId ¶
func (o *PlaceBetResponseV2) HasUniqueRequestId() bool
HasUniqueRequestId returns a boolean if a field has been set.
func (PlaceBetResponseV2) MarshalJSON ¶
func (o PlaceBetResponseV2) MarshalJSON() ([]byte, error)
func (*PlaceBetResponseV2) SetErrorCode ¶
func (o *PlaceBetResponseV2) SetErrorCode(v ErrorCode)
SetErrorCode gets a reference to the given NullableErrorCode and assigns it to the ErrorCode field.
func (*PlaceBetResponseV2) SetErrorCodeNil ¶
func (o *PlaceBetResponseV2) SetErrorCodeNil()
SetErrorCodeNil sets the value for ErrorCode to be an explicit nil
func (*PlaceBetResponseV2) SetStatus ¶
func (o *PlaceBetResponseV2) SetStatus(v Status)
SetStatus sets field value
func (*PlaceBetResponseV2) SetStraightBet ¶
func (o *PlaceBetResponseV2) SetStraightBet(v StraightBetV3)
SetStraightBet gets a reference to the given StraightBetV3 and assigns it to the StraightBet field.
func (*PlaceBetResponseV2) SetUniqueRequestId ¶
func (o *PlaceBetResponseV2) SetUniqueRequestId(v string)
SetUniqueRequestId gets a reference to the given string and assigns it to the UniqueRequestId field.
func (*PlaceBetResponseV2) UnsetErrorCode ¶
func (o *PlaceBetResponseV2) UnsetErrorCode()
UnsetErrorCode ensures that no value is present for ErrorCode, not even an explicit nil
type PlaceBetsApiService ¶
type PlaceBetsApiService service
PlaceBetsApiService PlaceBetsApi service
func (*PlaceBetsApiService) BetsSpecial ¶
func (a *PlaceBetsApiService) BetsSpecial(ctx _context.Context) apiBetsSpecialRequest
BetsSpecial Place specials bet.
Make sure you handle properly the case of an unexpected error as per
[How to handle error on placing a bet?](https://github.com/pinnacleapi/pinnacleapi-documentation/blob/master/FAQ.md#how-to-handle-unexpected-error-on-placing-a-bet) * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiBetsSpecialRequest
func (*PlaceBetsApiService) BetsStraightV2 ¶
func (a *PlaceBetsApiService) BetsStraightV2(ctx _context.Context) apiBetsStraightV2Request
BetsStraightV2 Place straight bet - v2 Place straight bet (SPREAD, MONEYLINE, TOTAL_POINTS, TEAM_TOTAL_POINTS).
Please note when the status is PENDING_ACCEPTANCE and if the live delay was applied, the response will not have betId. Client would have to call /bets by uniqueRequestId to check the status if the bet was ACCEPTED. For more details please see [How to place a bet on live events?](https://github.com/pinnacleapi/pinnacleapi-documentation/blob/master/FAQ.md#how-to-place-a-bet-on-live-events)
Make sure you handle properly the case of an unexpected error as per
[How to handle error on placing a bet?](https://github.com/pinnacleapi/pinnacleapi-documentation/blob/master/FAQ.md#how-to-handle-unexpected-error-on-placing-a-bet) * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiBetsStraightV2Request
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 SettledFixturesEvent ¶
type SettledFixturesEvent struct { // Event Id. Id *int64 `json:"id,omitempty"` // Contains a list of periods. Periods *[]SettledFixturesPeriod `json:"periods,omitempty"` }
SettledFixturesEvent struct for SettledFixturesEvent
func NewSettledFixturesEvent ¶
func NewSettledFixturesEvent() *SettledFixturesEvent
NewSettledFixturesEvent instantiates a new SettledFixturesEvent 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 NewSettledFixturesEventWithDefaults ¶
func NewSettledFixturesEventWithDefaults() *SettledFixturesEvent
NewSettledFixturesEventWithDefaults instantiates a new SettledFixturesEvent 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 (*SettledFixturesEvent) GetId ¶
func (o *SettledFixturesEvent) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*SettledFixturesEvent) GetIdOk ¶
func (o *SettledFixturesEvent) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SettledFixturesEvent) GetPeriods ¶
func (o *SettledFixturesEvent) GetPeriods() []SettledFixturesPeriod
GetPeriods returns the Periods field value if set, zero value otherwise.
func (*SettledFixturesEvent) GetPeriodsOk ¶
func (o *SettledFixturesEvent) GetPeriodsOk() (*[]SettledFixturesPeriod, bool)
GetPeriodsOk returns a tuple with the Periods field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SettledFixturesEvent) HasId ¶
func (o *SettledFixturesEvent) HasId() bool
HasId returns a boolean if a field has been set.
func (*SettledFixturesEvent) HasPeriods ¶
func (o *SettledFixturesEvent) HasPeriods() bool
HasPeriods returns a boolean if a field has been set.
func (SettledFixturesEvent) MarshalJSON ¶
func (o SettledFixturesEvent) MarshalJSON() ([]byte, error)
func (*SettledFixturesEvent) SetId ¶
func (o *SettledFixturesEvent) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*SettledFixturesEvent) SetPeriods ¶
func (o *SettledFixturesEvent) SetPeriods(v []SettledFixturesPeriod)
SetPeriods gets a reference to the given []SettledFixturesPeriod and assigns it to the Periods field.
type SettledFixturesLeague ¶
type SettledFixturesLeague struct { // League Id. Id *int `json:"id,omitempty"` // Contains a list of events. Events *[]SettledFixturesEvent `json:"events,omitempty"` }
SettledFixturesLeague struct for SettledFixturesLeague
func NewSettledFixturesLeague ¶
func NewSettledFixturesLeague() *SettledFixturesLeague
NewSettledFixturesLeague instantiates a new SettledFixturesLeague 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 NewSettledFixturesLeagueWithDefaults ¶
func NewSettledFixturesLeagueWithDefaults() *SettledFixturesLeague
NewSettledFixturesLeagueWithDefaults instantiates a new SettledFixturesLeague 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 (*SettledFixturesLeague) GetEvents ¶
func (o *SettledFixturesLeague) GetEvents() []SettledFixturesEvent
GetEvents returns the Events field value if set, zero value otherwise.
func (*SettledFixturesLeague) GetEventsOk ¶
func (o *SettledFixturesLeague) GetEventsOk() (*[]SettledFixturesEvent, bool)
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 (*SettledFixturesLeague) GetId ¶
func (o *SettledFixturesLeague) GetId() int
GetId returns the Id field value if set, zero value otherwise.
func (*SettledFixturesLeague) GetIdOk ¶
func (o *SettledFixturesLeague) GetIdOk() (*int, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SettledFixturesLeague) HasEvents ¶
func (o *SettledFixturesLeague) HasEvents() bool
HasEvents returns a boolean if a field has been set.
func (*SettledFixturesLeague) HasId ¶
func (o *SettledFixturesLeague) HasId() bool
HasId returns a boolean if a field has been set.
func (SettledFixturesLeague) MarshalJSON ¶
func (o SettledFixturesLeague) MarshalJSON() ([]byte, error)
func (*SettledFixturesLeague) SetEvents ¶
func (o *SettledFixturesLeague) SetEvents(v []SettledFixturesEvent)
SetEvents gets a reference to the given []SettledFixturesEvent and assigns it to the Events field.
func (*SettledFixturesLeague) SetId ¶
func (o *SettledFixturesLeague) SetId(v int)
SetId gets a reference to the given int and assigns it to the Id field.
type SettledFixturesPeriod ¶
type SettledFixturesPeriod struct { // This represents the period of the match. For example, for soccer we have 0 (Game), 1 (1st Half) & 2 (2nd Half) Number *int `json:"number,omitempty"` // Period settlement status. 1 = Event period is settled, 2 = Event period is re-settled, 3 = Event period is cancelled, 4 = Event period is re-settled as cancelled, 5 = Event is deleted Status *int `json:"status,omitempty"` // Unique id of the settlement. In case of a re-settlement, a new settlementId and settledAt will be generated. SettlementId *int64 `json:"settlementId,omitempty"` // Date and time in UTC when the period was settled. SettledAt *time.Time `json:"settledAt,omitempty"` // Team1 score. Team1Score *int `json:"team1Score,omitempty"` // Team2 score. Team2Score *int `json:"team2Score,omitempty"` // Team1 sets score. Supported for tennis only. Team1ScoreSets *int `json:"team1ScoreSets,omitempty"` // Team2 sets score. Supported for tennis only. Team2ScoreSets *int `json:"team2ScoreSets,omitempty"` CancellationReason *CancellationReasonType `json:"cancellationReason,omitempty"` }
SettledFixturesPeriod struct for SettledFixturesPeriod
func NewSettledFixturesPeriod ¶
func NewSettledFixturesPeriod() *SettledFixturesPeriod
NewSettledFixturesPeriod instantiates a new SettledFixturesPeriod 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 NewSettledFixturesPeriodWithDefaults ¶
func NewSettledFixturesPeriodWithDefaults() *SettledFixturesPeriod
NewSettledFixturesPeriodWithDefaults instantiates a new SettledFixturesPeriod 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 (*SettledFixturesPeriod) GetCancellationReason ¶
func (o *SettledFixturesPeriod) GetCancellationReason() CancellationReasonType
GetCancellationReason returns the CancellationReason field value if set, zero value otherwise.
func (*SettledFixturesPeriod) GetCancellationReasonOk ¶
func (o *SettledFixturesPeriod) GetCancellationReasonOk() (*CancellationReasonType, bool)
GetCancellationReasonOk returns a tuple with the CancellationReason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SettledFixturesPeriod) GetNumber ¶
func (o *SettledFixturesPeriod) GetNumber() int
GetNumber returns the Number field value if set, zero value otherwise.
func (*SettledFixturesPeriod) GetNumberOk ¶
func (o *SettledFixturesPeriod) GetNumberOk() (*int, bool)
GetNumberOk returns a tuple with the Number field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SettledFixturesPeriod) GetSettledAt ¶
func (o *SettledFixturesPeriod) GetSettledAt() time.Time
GetSettledAt returns the SettledAt field value if set, zero value otherwise.
func (*SettledFixturesPeriod) GetSettledAtOk ¶
func (o *SettledFixturesPeriod) GetSettledAtOk() (*time.Time, bool)
GetSettledAtOk returns a tuple with the SettledAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SettledFixturesPeriod) GetSettlementId ¶
func (o *SettledFixturesPeriod) GetSettlementId() int64
GetSettlementId returns the SettlementId field value if set, zero value otherwise.
func (*SettledFixturesPeriod) GetSettlementIdOk ¶
func (o *SettledFixturesPeriod) GetSettlementIdOk() (*int64, bool)
GetSettlementIdOk returns a tuple with the SettlementId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SettledFixturesPeriod) GetStatus ¶
func (o *SettledFixturesPeriod) GetStatus() int
GetStatus returns the Status field value if set, zero value otherwise.
func (*SettledFixturesPeriod) GetStatusOk ¶
func (o *SettledFixturesPeriod) GetStatusOk() (*int, 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 (*SettledFixturesPeriod) GetTeam1Score ¶
func (o *SettledFixturesPeriod) GetTeam1Score() int
GetTeam1Score returns the Team1Score field value if set, zero value otherwise.
func (*SettledFixturesPeriod) GetTeam1ScoreOk ¶
func (o *SettledFixturesPeriod) GetTeam1ScoreOk() (*int, bool)
GetTeam1ScoreOk returns a tuple with the Team1Score field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SettledFixturesPeriod) GetTeam1ScoreSets ¶
func (o *SettledFixturesPeriod) GetTeam1ScoreSets() int
GetTeam1ScoreSets returns the Team1ScoreSets field value if set, zero value otherwise.
func (*SettledFixturesPeriod) GetTeam1ScoreSetsOk ¶
func (o *SettledFixturesPeriod) GetTeam1ScoreSetsOk() (*int, bool)
GetTeam1ScoreSetsOk returns a tuple with the Team1ScoreSets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SettledFixturesPeriod) GetTeam2Score ¶
func (o *SettledFixturesPeriod) GetTeam2Score() int
GetTeam2Score returns the Team2Score field value if set, zero value otherwise.
func (*SettledFixturesPeriod) GetTeam2ScoreOk ¶
func (o *SettledFixturesPeriod) GetTeam2ScoreOk() (*int, bool)
GetTeam2ScoreOk returns a tuple with the Team2Score field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SettledFixturesPeriod) GetTeam2ScoreSets ¶
func (o *SettledFixturesPeriod) GetTeam2ScoreSets() int
GetTeam2ScoreSets returns the Team2ScoreSets field value if set, zero value otherwise.
func (*SettledFixturesPeriod) GetTeam2ScoreSetsOk ¶
func (o *SettledFixturesPeriod) GetTeam2ScoreSetsOk() (*int, bool)
GetTeam2ScoreSetsOk returns a tuple with the Team2ScoreSets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SettledFixturesPeriod) HasCancellationReason ¶
func (o *SettledFixturesPeriod) HasCancellationReason() bool
HasCancellationReason returns a boolean if a field has been set.
func (*SettledFixturesPeriod) HasNumber ¶
func (o *SettledFixturesPeriod) HasNumber() bool
HasNumber returns a boolean if a field has been set.
func (*SettledFixturesPeriod) HasSettledAt ¶
func (o *SettledFixturesPeriod) HasSettledAt() bool
HasSettledAt returns a boolean if a field has been set.
func (*SettledFixturesPeriod) HasSettlementId ¶
func (o *SettledFixturesPeriod) HasSettlementId() bool
HasSettlementId returns a boolean if a field has been set.
func (*SettledFixturesPeriod) HasStatus ¶
func (o *SettledFixturesPeriod) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*SettledFixturesPeriod) HasTeam1Score ¶
func (o *SettledFixturesPeriod) HasTeam1Score() bool
HasTeam1Score returns a boolean if a field has been set.
func (*SettledFixturesPeriod) HasTeam1ScoreSets ¶
func (o *SettledFixturesPeriod) HasTeam1ScoreSets() bool
HasTeam1ScoreSets returns a boolean if a field has been set.
func (*SettledFixturesPeriod) HasTeam2Score ¶
func (o *SettledFixturesPeriod) HasTeam2Score() bool
HasTeam2Score returns a boolean if a field has been set.
func (*SettledFixturesPeriod) HasTeam2ScoreSets ¶
func (o *SettledFixturesPeriod) HasTeam2ScoreSets() bool
HasTeam2ScoreSets returns a boolean if a field has been set.
func (SettledFixturesPeriod) MarshalJSON ¶
func (o SettledFixturesPeriod) MarshalJSON() ([]byte, error)
func (*SettledFixturesPeriod) SetCancellationReason ¶
func (o *SettledFixturesPeriod) SetCancellationReason(v CancellationReasonType)
SetCancellationReason gets a reference to the given CancellationReasonType and assigns it to the CancellationReason field.
func (*SettledFixturesPeriod) SetNumber ¶
func (o *SettledFixturesPeriod) SetNumber(v int)
SetNumber gets a reference to the given int and assigns it to the Number field.
func (*SettledFixturesPeriod) SetSettledAt ¶
func (o *SettledFixturesPeriod) SetSettledAt(v time.Time)
SetSettledAt gets a reference to the given time.Time and assigns it to the SettledAt field.
func (*SettledFixturesPeriod) SetSettlementId ¶
func (o *SettledFixturesPeriod) SetSettlementId(v int64)
SetSettlementId gets a reference to the given int64 and assigns it to the SettlementId field.
func (*SettledFixturesPeriod) SetStatus ¶
func (o *SettledFixturesPeriod) SetStatus(v int)
SetStatus gets a reference to the given int and assigns it to the Status field.
func (*SettledFixturesPeriod) SetTeam1Score ¶
func (o *SettledFixturesPeriod) SetTeam1Score(v int)
SetTeam1Score gets a reference to the given int and assigns it to the Team1Score field.
func (*SettledFixturesPeriod) SetTeam1ScoreSets ¶
func (o *SettledFixturesPeriod) SetTeam1ScoreSets(v int)
SetTeam1ScoreSets gets a reference to the given int and assigns it to the Team1ScoreSets field.
func (*SettledFixturesPeriod) SetTeam2Score ¶
func (o *SettledFixturesPeriod) SetTeam2Score(v int)
SetTeam2Score gets a reference to the given int and assigns it to the Team2Score field.
func (*SettledFixturesPeriod) SetTeam2ScoreSets ¶
func (o *SettledFixturesPeriod) SetTeam2ScoreSets(v int)
SetTeam2ScoreSets gets a reference to the given int and assigns it to the Team2ScoreSets field.
type SettledFixturesSport ¶
type SettledFixturesSport struct { // Same as requested sport Id. SportId *int `json:"sportId,omitempty"` // Use this value for the subsequent requests for since query parameter to get just the changes since previous response. Last *int64 `json:"last,omitempty"` // Contains a list of Leagues. Leagues *[]SettledFixturesLeague `json:"leagues,omitempty"` }
SettledFixturesSport struct for SettledFixturesSport
func NewSettledFixturesSport ¶
func NewSettledFixturesSport() *SettledFixturesSport
NewSettledFixturesSport instantiates a new SettledFixturesSport 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 NewSettledFixturesSportWithDefaults ¶
func NewSettledFixturesSportWithDefaults() *SettledFixturesSport
NewSettledFixturesSportWithDefaults instantiates a new SettledFixturesSport 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 (*SettledFixturesSport) GetLast ¶
func (o *SettledFixturesSport) GetLast() int64
GetLast returns the Last field value if set, zero value otherwise.
func (*SettledFixturesSport) GetLastOk ¶
func (o *SettledFixturesSport) GetLastOk() (*int64, bool)
GetLastOk returns a tuple with the Last field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SettledFixturesSport) GetLeagues ¶
func (o *SettledFixturesSport) GetLeagues() []SettledFixturesLeague
GetLeagues returns the Leagues field value if set, zero value otherwise.
func (*SettledFixturesSport) GetLeaguesOk ¶
func (o *SettledFixturesSport) GetLeaguesOk() (*[]SettledFixturesLeague, bool)
GetLeaguesOk returns a tuple with the Leagues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SettledFixturesSport) GetSportId ¶
func (o *SettledFixturesSport) GetSportId() int
GetSportId returns the SportId field value if set, zero value otherwise.
func (*SettledFixturesSport) GetSportIdOk ¶
func (o *SettledFixturesSport) GetSportIdOk() (*int, bool)
GetSportIdOk returns a tuple with the SportId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SettledFixturesSport) HasLast ¶
func (o *SettledFixturesSport) HasLast() bool
HasLast returns a boolean if a field has been set.
func (*SettledFixturesSport) HasLeagues ¶
func (o *SettledFixturesSport) HasLeagues() bool
HasLeagues returns a boolean if a field has been set.
func (*SettledFixturesSport) HasSportId ¶
func (o *SettledFixturesSport) HasSportId() bool
HasSportId returns a boolean if a field has been set.
func (SettledFixturesSport) MarshalJSON ¶
func (o SettledFixturesSport) MarshalJSON() ([]byte, error)
func (*SettledFixturesSport) SetLast ¶
func (o *SettledFixturesSport) SetLast(v int64)
SetLast gets a reference to the given int64 and assigns it to the Last field.
func (*SettledFixturesSport) SetLeagues ¶
func (o *SettledFixturesSport) SetLeagues(v []SettledFixturesLeague)
SetLeagues gets a reference to the given []SettledFixturesLeague and assigns it to the Leagues field.
func (*SettledFixturesSport) SetSportId ¶
func (o *SettledFixturesSport) SetSportId(v int)
SetSportId gets a reference to the given int and assigns it to the SportId field.
type SettledSpecial ¶
type SettledSpecial struct { // Id for the Settled Special Id *int64 `json:"id,omitempty"` // Status of the settled special. Status *int `json:"status,omitempty"` // Id for the Settled Special SettlementId *int64 `json:"settlementId,omitempty"` // Settled DateTime SettledAt *time.Time `json:"settledAt,omitempty"` CancellationReason *CancellationReason `json:"cancellationReason,omitempty"` }
SettledSpecial Settled Special
func NewSettledSpecial ¶
func NewSettledSpecial() *SettledSpecial
NewSettledSpecial instantiates a new SettledSpecial 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 NewSettledSpecialWithDefaults ¶
func NewSettledSpecialWithDefaults() *SettledSpecial
NewSettledSpecialWithDefaults instantiates a new SettledSpecial 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 (*SettledSpecial) GetCancellationReason ¶
func (o *SettledSpecial) GetCancellationReason() CancellationReason
GetCancellationReason returns the CancellationReason field value if set, zero value otherwise.
func (*SettledSpecial) GetCancellationReasonOk ¶
func (o *SettledSpecial) GetCancellationReasonOk() (*CancellationReason, bool)
GetCancellationReasonOk returns a tuple with the CancellationReason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SettledSpecial) GetId ¶
func (o *SettledSpecial) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*SettledSpecial) GetIdOk ¶
func (o *SettledSpecial) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SettledSpecial) GetSettledAt ¶
func (o *SettledSpecial) GetSettledAt() time.Time
GetSettledAt returns the SettledAt field value if set, zero value otherwise.
func (*SettledSpecial) GetSettledAtOk ¶
func (o *SettledSpecial) GetSettledAtOk() (*time.Time, bool)
GetSettledAtOk returns a tuple with the SettledAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SettledSpecial) GetSettlementId ¶
func (o *SettledSpecial) GetSettlementId() int64
GetSettlementId returns the SettlementId field value if set, zero value otherwise.
func (*SettledSpecial) GetSettlementIdOk ¶
func (o *SettledSpecial) GetSettlementIdOk() (*int64, bool)
GetSettlementIdOk returns a tuple with the SettlementId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SettledSpecial) GetStatus ¶
func (o *SettledSpecial) GetStatus() int
GetStatus returns the Status field value if set, zero value otherwise.
func (*SettledSpecial) GetStatusOk ¶
func (o *SettledSpecial) GetStatusOk() (*int, 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 (*SettledSpecial) HasCancellationReason ¶
func (o *SettledSpecial) HasCancellationReason() bool
HasCancellationReason returns a boolean if a field has been set.
func (*SettledSpecial) HasId ¶
func (o *SettledSpecial) HasId() bool
HasId returns a boolean if a field has been set.
func (*SettledSpecial) HasSettledAt ¶
func (o *SettledSpecial) HasSettledAt() bool
HasSettledAt returns a boolean if a field has been set.
func (*SettledSpecial) HasSettlementId ¶
func (o *SettledSpecial) HasSettlementId() bool
HasSettlementId returns a boolean if a field has been set.
func (*SettledSpecial) HasStatus ¶
func (o *SettledSpecial) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (SettledSpecial) MarshalJSON ¶
func (o SettledSpecial) MarshalJSON() ([]byte, error)
func (*SettledSpecial) SetCancellationReason ¶
func (o *SettledSpecial) SetCancellationReason(v CancellationReason)
SetCancellationReason gets a reference to the given CancellationReason and assigns it to the CancellationReason field.
func (*SettledSpecial) SetId ¶
func (o *SettledSpecial) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*SettledSpecial) SetSettledAt ¶
func (o *SettledSpecial) SetSettledAt(v time.Time)
SetSettledAt gets a reference to the given time.Time and assigns it to the SettledAt field.
func (*SettledSpecial) SetSettlementId ¶
func (o *SettledSpecial) SetSettlementId(v int64)
SetSettlementId gets a reference to the given int64 and assigns it to the SettlementId field.
func (*SettledSpecial) SetStatus ¶
func (o *SettledSpecial) SetStatus(v int)
SetStatus gets a reference to the given int and assigns it to the Status field.
type SettledSpecialsLeague ¶
type SettledSpecialsLeague struct { // League Id. Id *int `json:"id,omitempty"` // A collection of Settled Specials Specials *[]SettledSpecial `json:"specials,omitempty"` }
SettledSpecialsLeague League Dto to hold all settled specials for the league
func NewSettledSpecialsLeague ¶
func NewSettledSpecialsLeague() *SettledSpecialsLeague
NewSettledSpecialsLeague instantiates a new SettledSpecialsLeague 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 NewSettledSpecialsLeagueWithDefaults ¶
func NewSettledSpecialsLeagueWithDefaults() *SettledSpecialsLeague
NewSettledSpecialsLeagueWithDefaults instantiates a new SettledSpecialsLeague 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 (*SettledSpecialsLeague) GetId ¶
func (o *SettledSpecialsLeague) GetId() int
GetId returns the Id field value if set, zero value otherwise.
func (*SettledSpecialsLeague) GetIdOk ¶
func (o *SettledSpecialsLeague) GetIdOk() (*int, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SettledSpecialsLeague) GetSpecials ¶
func (o *SettledSpecialsLeague) GetSpecials() []SettledSpecial
GetSpecials returns the Specials field value if set, zero value otherwise.
func (*SettledSpecialsLeague) GetSpecialsOk ¶
func (o *SettledSpecialsLeague) GetSpecialsOk() (*[]SettledSpecial, bool)
GetSpecialsOk returns a tuple with the Specials field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SettledSpecialsLeague) HasId ¶
func (o *SettledSpecialsLeague) HasId() bool
HasId returns a boolean if a field has been set.
func (*SettledSpecialsLeague) HasSpecials ¶
func (o *SettledSpecialsLeague) HasSpecials() bool
HasSpecials returns a boolean if a field has been set.
func (SettledSpecialsLeague) MarshalJSON ¶
func (o SettledSpecialsLeague) MarshalJSON() ([]byte, error)
func (*SettledSpecialsLeague) SetId ¶
func (o *SettledSpecialsLeague) SetId(v int)
SetId gets a reference to the given int and assigns it to the Id field.
func (*SettledSpecialsLeague) SetSpecials ¶
func (o *SettledSpecialsLeague) SetSpecials(v []SettledSpecial)
SetSpecials gets a reference to the given []SettledSpecial and assigns it to the Specials field.
type SettledSpecialsResponse ¶
type SettledSpecialsResponse struct { // Id of a sport for which to retrieve the odds. SportId *int `json:"sportId,omitempty"` // Last index for the settled fixture Last *int64 `json:"last,omitempty"` // List of Leagues. Leagues *[]SettledSpecialsLeague `json:"leagues,omitempty"` }
SettledSpecialsResponse Response dto for SettledSpecials request
func NewSettledSpecialsResponse ¶
func NewSettledSpecialsResponse() *SettledSpecialsResponse
NewSettledSpecialsResponse instantiates a new SettledSpecialsResponse 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 NewSettledSpecialsResponseWithDefaults ¶
func NewSettledSpecialsResponseWithDefaults() *SettledSpecialsResponse
NewSettledSpecialsResponseWithDefaults instantiates a new SettledSpecialsResponse 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 (*SettledSpecialsResponse) GetLast ¶
func (o *SettledSpecialsResponse) GetLast() int64
GetLast returns the Last field value if set, zero value otherwise.
func (*SettledSpecialsResponse) GetLastOk ¶
func (o *SettledSpecialsResponse) GetLastOk() (*int64, bool)
GetLastOk returns a tuple with the Last field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SettledSpecialsResponse) GetLeagues ¶
func (o *SettledSpecialsResponse) GetLeagues() []SettledSpecialsLeague
GetLeagues returns the Leagues field value if set, zero value otherwise.
func (*SettledSpecialsResponse) GetLeaguesOk ¶
func (o *SettledSpecialsResponse) GetLeaguesOk() (*[]SettledSpecialsLeague, bool)
GetLeaguesOk returns a tuple with the Leagues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SettledSpecialsResponse) GetSportId ¶
func (o *SettledSpecialsResponse) GetSportId() int
GetSportId returns the SportId field value if set, zero value otherwise.
func (*SettledSpecialsResponse) GetSportIdOk ¶
func (o *SettledSpecialsResponse) GetSportIdOk() (*int, bool)
GetSportIdOk returns a tuple with the SportId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SettledSpecialsResponse) HasLast ¶
func (o *SettledSpecialsResponse) HasLast() bool
HasLast returns a boolean if a field has been set.
func (*SettledSpecialsResponse) HasLeagues ¶
func (o *SettledSpecialsResponse) HasLeagues() bool
HasLeagues returns a boolean if a field has been set.
func (*SettledSpecialsResponse) HasSportId ¶
func (o *SettledSpecialsResponse) HasSportId() bool
HasSportId returns a boolean if a field has been set.
func (SettledSpecialsResponse) MarshalJSON ¶
func (o SettledSpecialsResponse) MarshalJSON() ([]byte, error)
func (*SettledSpecialsResponse) SetLast ¶
func (o *SettledSpecialsResponse) SetLast(v int64)
SetLast gets a reference to the given int64 and assigns it to the Last field.
func (*SettledSpecialsResponse) SetLeagues ¶
func (o *SettledSpecialsResponse) SetLeagues(v []SettledSpecialsLeague)
SetLeagues gets a reference to the given []SettledSpecialsLeague and assigns it to the Leagues field.
func (*SettledSpecialsResponse) SetSportId ¶
func (o *SettledSpecialsResponse) SetSportId(v int)
SetSportId gets a reference to the given int and assigns it to the SportId field.
type SpecialBet ¶
type SpecialBet struct { // Bet identification BetId int64 `json:"betId"` // Unique Request Id UniqueRequestId *string `json:"uniqueRequestId,omitempty"` // Wager identification. All bets placed thru the API will have value 1. Website Classic view supports multiple contest(special) bets placement in the same bet slip in that case the bet would have appropriate wager number, as well as all round robin parlay bets. WagerNumber int `json:"wagerNumber"` // Date time when the bet was placed. PlacedAt time.Time `json:"placedAt"` // Bet Status. ACCEPTED = Bet was accepted, CANCELLED = Bet is cancelled as per Pinnacle betting rules, LOSE = The bet is settled as lose, REFUNDED = When an event is cancelled or when the bet is settled as push, the bet will have REFUNDED status, WON = The bet is settled as won BetStatus string `json:"betStatus"` BetType string `json:"betType"` // Win amount. Win float64 `json:"win"` // Risk amount. Risk float64 `json:"risk"` // Win-Loss for settled bets. WinLoss NullableFloat64 `json:"winLoss,omitempty"` OddsFormat OddsFormat `json:"oddsFormat"` // Client’s commission on the bet. CustomerCommission NullableFloat64 `json:"customerCommission,omitempty"` CancellationReason *CancellationReason `json:"cancellationReason,omitempty"` // Update Sequence. It gets updated when the bet status change. UpdateSequence int64 `json:"updateSequence"` SpecialId int64 `json:"specialId"` SpecialName string `json:"specialName"` ContestantId int64 `json:"contestantId"` ContestantName string `json:"contestantName"` Price float64 `json:"price"` Handicap *float64 `json:"handicap,omitempty"` Units *string `json:"units,omitempty"` SportId int `json:"sportId"` LeagueId int `json:"leagueId"` // Populated if bet was placed on a special linked to the event. EventId NullableInt64 `json:"eventId,omitempty"` // Populated if bet was placed on a special linked to the event. PeriodNumber NullableInt `json:"periodNumber,omitempty"` // Populated if bet was placed on a special linked to the event. Team1 NullableString `json:"team1,omitempty"` // Populated if bet was placed on a special linked to the event. Team2 NullableString `json:"team2,omitempty"` // Date time when the event starts EventStartTime *time.Time `json:"eventStartTime,omitempty"` }
SpecialBet struct for SpecialBet
func NewSpecialBet ¶
func NewSpecialBet(betId int64, wagerNumber int, placedAt time.Time, betStatus string, betType string, win float64, risk float64, oddsFormat OddsFormat, updateSequence int64, specialId int64, specialName string, contestantId int64, contestantName string, price float64, sportId int, leagueId int) *SpecialBet
NewSpecialBet instantiates a new SpecialBet 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 NewSpecialBetWithDefaults ¶
func NewSpecialBetWithDefaults() *SpecialBet
NewSpecialBetWithDefaults instantiates a new SpecialBet 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 (*SpecialBet) GetBetId ¶
func (o *SpecialBet) GetBetId() int64
GetBetId returns the BetId field value
func (*SpecialBet) GetBetIdOk ¶
func (o *SpecialBet) GetBetIdOk() (*int64, bool)
GetBetIdOk returns a tuple with the BetId field value and a boolean to check if the value has been set.
func (*SpecialBet) GetBetStatus ¶
func (o *SpecialBet) GetBetStatus() string
GetBetStatus returns the BetStatus field value
func (*SpecialBet) GetBetStatusOk ¶
func (o *SpecialBet) GetBetStatusOk() (*string, bool)
GetBetStatusOk returns a tuple with the BetStatus field value and a boolean to check if the value has been set.
func (*SpecialBet) GetBetType ¶
func (o *SpecialBet) GetBetType() string
GetBetType returns the BetType field value
func (*SpecialBet) GetBetTypeOk ¶
func (o *SpecialBet) GetBetTypeOk() (*string, bool)
GetBetTypeOk returns a tuple with the BetType field value and a boolean to check if the value has been set.
func (*SpecialBet) GetCancellationReason ¶
func (o *SpecialBet) GetCancellationReason() CancellationReason
GetCancellationReason returns the CancellationReason field value if set, zero value otherwise.
func (*SpecialBet) GetCancellationReasonOk ¶
func (o *SpecialBet) GetCancellationReasonOk() (*CancellationReason, bool)
GetCancellationReasonOk returns a tuple with the CancellationReason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialBet) GetContestantId ¶
func (o *SpecialBet) GetContestantId() int64
GetContestantId returns the ContestantId field value
func (*SpecialBet) GetContestantIdOk ¶
func (o *SpecialBet) GetContestantIdOk() (*int64, bool)
GetContestantIdOk returns a tuple with the ContestantId field value and a boolean to check if the value has been set.
func (*SpecialBet) GetContestantName ¶
func (o *SpecialBet) GetContestantName() string
GetContestantName returns the ContestantName field value
func (*SpecialBet) GetContestantNameOk ¶
func (o *SpecialBet) GetContestantNameOk() (*string, bool)
GetContestantNameOk returns a tuple with the ContestantName field value and a boolean to check if the value has been set.
func (*SpecialBet) GetCustomerCommission ¶
func (o *SpecialBet) GetCustomerCommission() float64
GetCustomerCommission returns the CustomerCommission field value if set, zero value otherwise (both if not set or set to explicit null).
func (*SpecialBet) GetCustomerCommissionOk ¶
func (o *SpecialBet) GetCustomerCommissionOk() (*float64, bool)
GetCustomerCommissionOk returns a tuple with the CustomerCommission field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SpecialBet) GetEventId ¶
func (o *SpecialBet) GetEventId() int64
GetEventId returns the EventId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*SpecialBet) GetEventIdOk ¶
func (o *SpecialBet) GetEventIdOk() (*int64, bool)
GetEventIdOk returns a tuple with the EventId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SpecialBet) GetEventStartTime ¶
func (o *SpecialBet) GetEventStartTime() time.Time
GetEventStartTime returns the EventStartTime field value if set, zero value otherwise.
func (*SpecialBet) GetEventStartTimeOk ¶
func (o *SpecialBet) GetEventStartTimeOk() (*time.Time, bool)
GetEventStartTimeOk returns a tuple with the EventStartTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialBet) GetHandicap ¶
func (o *SpecialBet) GetHandicap() float64
GetHandicap returns the Handicap field value if set, zero value otherwise.
func (*SpecialBet) GetHandicapOk ¶
func (o *SpecialBet) GetHandicapOk() (*float64, bool)
GetHandicapOk returns a tuple with the Handicap field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialBet) GetLeagueId ¶
func (o *SpecialBet) GetLeagueId() int
GetLeagueId returns the LeagueId field value
func (*SpecialBet) GetLeagueIdOk ¶
func (o *SpecialBet) GetLeagueIdOk() (*int, bool)
GetLeagueIdOk returns a tuple with the LeagueId field value and a boolean to check if the value has been set.
func (*SpecialBet) GetOddsFormat ¶
func (o *SpecialBet) GetOddsFormat() OddsFormat
GetOddsFormat returns the OddsFormat field value
func (*SpecialBet) GetOddsFormatOk ¶
func (o *SpecialBet) GetOddsFormatOk() (*OddsFormat, bool)
GetOddsFormatOk returns a tuple with the OddsFormat field value and a boolean to check if the value has been set.
func (*SpecialBet) GetPeriodNumber ¶
func (o *SpecialBet) GetPeriodNumber() int
GetPeriodNumber returns the PeriodNumber field value if set, zero value otherwise (both if not set or set to explicit null).
func (*SpecialBet) GetPeriodNumberOk ¶
func (o *SpecialBet) GetPeriodNumberOk() (*int, bool)
GetPeriodNumberOk returns a tuple with the PeriodNumber field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SpecialBet) GetPlacedAt ¶
func (o *SpecialBet) GetPlacedAt() time.Time
GetPlacedAt returns the PlacedAt field value
func (*SpecialBet) GetPlacedAtOk ¶
func (o *SpecialBet) GetPlacedAtOk() (*time.Time, bool)
GetPlacedAtOk returns a tuple with the PlacedAt field value and a boolean to check if the value has been set.
func (*SpecialBet) GetPrice ¶
func (o *SpecialBet) GetPrice() float64
GetPrice returns the Price field value
func (*SpecialBet) GetPriceOk ¶
func (o *SpecialBet) GetPriceOk() (*float64, bool)
GetPriceOk returns a tuple with the Price field value and a boolean to check if the value has been set.
func (*SpecialBet) GetRisk ¶
func (o *SpecialBet) GetRisk() float64
GetRisk returns the Risk field value
func (*SpecialBet) GetRiskOk ¶
func (o *SpecialBet) GetRiskOk() (*float64, bool)
GetRiskOk returns a tuple with the Risk field value and a boolean to check if the value has been set.
func (*SpecialBet) GetSpecialId ¶
func (o *SpecialBet) GetSpecialId() int64
GetSpecialId returns the SpecialId field value
func (*SpecialBet) GetSpecialIdOk ¶
func (o *SpecialBet) GetSpecialIdOk() (*int64, bool)
GetSpecialIdOk returns a tuple with the SpecialId field value and a boolean to check if the value has been set.
func (*SpecialBet) GetSpecialName ¶
func (o *SpecialBet) GetSpecialName() string
GetSpecialName returns the SpecialName field value
func (*SpecialBet) GetSpecialNameOk ¶
func (o *SpecialBet) GetSpecialNameOk() (*string, bool)
GetSpecialNameOk returns a tuple with the SpecialName field value and a boolean to check if the value has been set.
func (*SpecialBet) GetSportId ¶
func (o *SpecialBet) GetSportId() int
GetSportId returns the SportId field value
func (*SpecialBet) GetSportIdOk ¶
func (o *SpecialBet) GetSportIdOk() (*int, bool)
GetSportIdOk returns a tuple with the SportId field value and a boolean to check if the value has been set.
func (*SpecialBet) GetTeam1 ¶
func (o *SpecialBet) GetTeam1() string
GetTeam1 returns the Team1 field value if set, zero value otherwise (both if not set or set to explicit null).
func (*SpecialBet) GetTeam1Ok ¶
func (o *SpecialBet) GetTeam1Ok() (*string, bool)
GetTeam1Ok returns a tuple with the Team1 field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SpecialBet) GetTeam2 ¶
func (o *SpecialBet) GetTeam2() string
GetTeam2 returns the Team2 field value if set, zero value otherwise (both if not set or set to explicit null).
func (*SpecialBet) GetTeam2Ok ¶
func (o *SpecialBet) GetTeam2Ok() (*string, bool)
GetTeam2Ok returns a tuple with the Team2 field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SpecialBet) GetUniqueRequestId ¶
func (o *SpecialBet) GetUniqueRequestId() string
GetUniqueRequestId returns the UniqueRequestId field value if set, zero value otherwise.
func (*SpecialBet) GetUniqueRequestIdOk ¶
func (o *SpecialBet) GetUniqueRequestIdOk() (*string, bool)
GetUniqueRequestIdOk returns a tuple with the UniqueRequestId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialBet) GetUnits ¶
func (o *SpecialBet) GetUnits() string
GetUnits returns the Units field value if set, zero value otherwise.
func (*SpecialBet) GetUnitsOk ¶
func (o *SpecialBet) GetUnitsOk() (*string, bool)
GetUnitsOk returns a tuple with the Units field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialBet) GetUpdateSequence ¶
func (o *SpecialBet) GetUpdateSequence() int64
GetUpdateSequence returns the UpdateSequence field value
func (*SpecialBet) GetUpdateSequenceOk ¶
func (o *SpecialBet) GetUpdateSequenceOk() (*int64, bool)
GetUpdateSequenceOk returns a tuple with the UpdateSequence field value and a boolean to check if the value has been set.
func (*SpecialBet) GetWagerNumber ¶
func (o *SpecialBet) GetWagerNumber() int
GetWagerNumber returns the WagerNumber field value
func (*SpecialBet) GetWagerNumberOk ¶
func (o *SpecialBet) GetWagerNumberOk() (*int, bool)
GetWagerNumberOk returns a tuple with the WagerNumber field value and a boolean to check if the value has been set.
func (*SpecialBet) GetWin ¶
func (o *SpecialBet) GetWin() float64
GetWin returns the Win field value
func (*SpecialBet) GetWinLoss ¶
func (o *SpecialBet) GetWinLoss() float64
GetWinLoss returns the WinLoss field value if set, zero value otherwise (both if not set or set to explicit null).
func (*SpecialBet) GetWinLossOk ¶
func (o *SpecialBet) GetWinLossOk() (*float64, bool)
GetWinLossOk returns a tuple with the WinLoss field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SpecialBet) GetWinOk ¶
func (o *SpecialBet) GetWinOk() (*float64, bool)
GetWinOk returns a tuple with the Win field value and a boolean to check if the value has been set.
func (*SpecialBet) HasCancellationReason ¶
func (o *SpecialBet) HasCancellationReason() bool
HasCancellationReason returns a boolean if a field has been set.
func (*SpecialBet) HasCustomerCommission ¶
func (o *SpecialBet) HasCustomerCommission() bool
HasCustomerCommission returns a boolean if a field has been set.
func (*SpecialBet) HasEventId ¶
func (o *SpecialBet) HasEventId() bool
HasEventId returns a boolean if a field has been set.
func (*SpecialBet) HasEventStartTime ¶
func (o *SpecialBet) HasEventStartTime() bool
HasEventStartTime returns a boolean if a field has been set.
func (*SpecialBet) HasHandicap ¶
func (o *SpecialBet) HasHandicap() bool
HasHandicap returns a boolean if a field has been set.
func (*SpecialBet) HasPeriodNumber ¶
func (o *SpecialBet) HasPeriodNumber() bool
HasPeriodNumber returns a boolean if a field has been set.
func (*SpecialBet) HasTeam1 ¶
func (o *SpecialBet) HasTeam1() bool
HasTeam1 returns a boolean if a field has been set.
func (*SpecialBet) HasTeam2 ¶
func (o *SpecialBet) HasTeam2() bool
HasTeam2 returns a boolean if a field has been set.
func (*SpecialBet) HasUniqueRequestId ¶
func (o *SpecialBet) HasUniqueRequestId() bool
HasUniqueRequestId returns a boolean if a field has been set.
func (*SpecialBet) HasUnits ¶
func (o *SpecialBet) HasUnits() bool
HasUnits returns a boolean if a field has been set.
func (*SpecialBet) HasWinLoss ¶
func (o *SpecialBet) HasWinLoss() bool
HasWinLoss returns a boolean if a field has been set.
func (SpecialBet) MarshalJSON ¶
func (o SpecialBet) MarshalJSON() ([]byte, error)
func (*SpecialBet) SetBetStatus ¶
func (o *SpecialBet) SetBetStatus(v string)
SetBetStatus sets field value
func (*SpecialBet) SetBetType ¶
func (o *SpecialBet) SetBetType(v string)
SetBetType sets field value
func (*SpecialBet) SetCancellationReason ¶
func (o *SpecialBet) SetCancellationReason(v CancellationReason)
SetCancellationReason gets a reference to the given CancellationReason and assigns it to the CancellationReason field.
func (*SpecialBet) SetContestantId ¶
func (o *SpecialBet) SetContestantId(v int64)
SetContestantId sets field value
func (*SpecialBet) SetContestantName ¶
func (o *SpecialBet) SetContestantName(v string)
SetContestantName sets field value
func (*SpecialBet) SetCustomerCommission ¶
func (o *SpecialBet) SetCustomerCommission(v float64)
SetCustomerCommission gets a reference to the given NullableFloat64 and assigns it to the CustomerCommission field.
func (*SpecialBet) SetCustomerCommissionNil ¶
func (o *SpecialBet) SetCustomerCommissionNil()
SetCustomerCommissionNil sets the value for CustomerCommission to be an explicit nil
func (*SpecialBet) SetEventId ¶
func (o *SpecialBet) SetEventId(v int64)
SetEventId gets a reference to the given NullableInt64 and assigns it to the EventId field.
func (*SpecialBet) SetEventIdNil ¶
func (o *SpecialBet) SetEventIdNil()
SetEventIdNil sets the value for EventId to be an explicit nil
func (*SpecialBet) SetEventStartTime ¶
func (o *SpecialBet) SetEventStartTime(v time.Time)
SetEventStartTime gets a reference to the given time.Time and assigns it to the EventStartTime field.
func (*SpecialBet) SetHandicap ¶
func (o *SpecialBet) SetHandicap(v float64)
SetHandicap gets a reference to the given float64 and assigns it to the Handicap field.
func (*SpecialBet) SetLeagueId ¶
func (o *SpecialBet) SetLeagueId(v int)
SetLeagueId sets field value
func (*SpecialBet) SetOddsFormat ¶
func (o *SpecialBet) SetOddsFormat(v OddsFormat)
SetOddsFormat sets field value
func (*SpecialBet) SetPeriodNumber ¶
func (o *SpecialBet) SetPeriodNumber(v int)
SetPeriodNumber gets a reference to the given NullableInt and assigns it to the PeriodNumber field.
func (*SpecialBet) SetPeriodNumberNil ¶
func (o *SpecialBet) SetPeriodNumberNil()
SetPeriodNumberNil sets the value for PeriodNumber to be an explicit nil
func (*SpecialBet) SetPlacedAt ¶
func (o *SpecialBet) SetPlacedAt(v time.Time)
SetPlacedAt sets field value
func (*SpecialBet) SetSpecialId ¶
func (o *SpecialBet) SetSpecialId(v int64)
SetSpecialId sets field value
func (*SpecialBet) SetSpecialName ¶
func (o *SpecialBet) SetSpecialName(v string)
SetSpecialName sets field value
func (*SpecialBet) SetTeam1 ¶
func (o *SpecialBet) SetTeam1(v string)
SetTeam1 gets a reference to the given NullableString and assigns it to the Team1 field.
func (*SpecialBet) SetTeam1Nil ¶
func (o *SpecialBet) SetTeam1Nil()
SetTeam1Nil sets the value for Team1 to be an explicit nil
func (*SpecialBet) SetTeam2 ¶
func (o *SpecialBet) SetTeam2(v string)
SetTeam2 gets a reference to the given NullableString and assigns it to the Team2 field.
func (*SpecialBet) SetTeam2Nil ¶
func (o *SpecialBet) SetTeam2Nil()
SetTeam2Nil sets the value for Team2 to be an explicit nil
func (*SpecialBet) SetUniqueRequestId ¶
func (o *SpecialBet) SetUniqueRequestId(v string)
SetUniqueRequestId gets a reference to the given string and assigns it to the UniqueRequestId field.
func (*SpecialBet) SetUnits ¶
func (o *SpecialBet) SetUnits(v string)
SetUnits gets a reference to the given string and assigns it to the Units field.
func (*SpecialBet) SetUpdateSequence ¶
func (o *SpecialBet) SetUpdateSequence(v int64)
SetUpdateSequence sets field value
func (*SpecialBet) SetWagerNumber ¶
func (o *SpecialBet) SetWagerNumber(v int)
SetWagerNumber sets field value
func (*SpecialBet) SetWinLoss ¶
func (o *SpecialBet) SetWinLoss(v float64)
SetWinLoss gets a reference to the given NullableFloat64 and assigns it to the WinLoss field.
func (*SpecialBet) SetWinLossNil ¶
func (o *SpecialBet) SetWinLossNil()
SetWinLossNil sets the value for WinLoss to be an explicit nil
func (*SpecialBet) UnsetCustomerCommission ¶
func (o *SpecialBet) UnsetCustomerCommission()
UnsetCustomerCommission ensures that no value is present for CustomerCommission, not even an explicit nil
func (*SpecialBet) UnsetEventId ¶
func (o *SpecialBet) UnsetEventId()
UnsetEventId ensures that no value is present for EventId, not even an explicit nil
func (*SpecialBet) UnsetPeriodNumber ¶
func (o *SpecialBet) UnsetPeriodNumber()
UnsetPeriodNumber ensures that no value is present for PeriodNumber, not even an explicit nil
func (*SpecialBet) UnsetTeam1 ¶
func (o *SpecialBet) UnsetTeam1()
UnsetTeam1 ensures that no value is present for Team1, not even an explicit nil
func (*SpecialBet) UnsetTeam2 ¶
func (o *SpecialBet) UnsetTeam2()
UnsetTeam2 ensures that no value is present for Team2, not even an explicit nil
func (*SpecialBet) UnsetWinLoss ¶
func (o *SpecialBet) UnsetWinLoss()
UnsetWinLoss ensures that no value is present for WinLoss, not even an explicit nil
type SpecialBetRequest ¶
type SpecialBetRequest struct { // This unique id of the place bet requests. This is to support idempotent requests. UniqueRequestId *string `json:"uniqueRequestId,omitempty"` // Whether or not to accept a bet when there is a line change in favor of the client. AcceptBetterLine *bool `json:"acceptBetterLine,omitempty"` OddsFormat *OddsFormat `json:"oddsFormat,omitempty"` // amount in client’s currency. Stake *float64 `json:"stake,omitempty"` // Whether the stake amount is risk or win amount. WinRiskStake *string `json:"winRiskStake,omitempty"` // Line identification. LineId *int64 `json:"lineId,omitempty"` // Special identification. SpecialId *int64 `json:"specialId,omitempty"` // Contestant identification. ContestantId *int64 `json:"contestantId,omitempty"` }
SpecialBetRequest struct for SpecialBetRequest
func NewSpecialBetRequest ¶
func NewSpecialBetRequest() *SpecialBetRequest
NewSpecialBetRequest instantiates a new SpecialBetRequest 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 NewSpecialBetRequestWithDefaults ¶
func NewSpecialBetRequestWithDefaults() *SpecialBetRequest
NewSpecialBetRequestWithDefaults instantiates a new SpecialBetRequest 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 (*SpecialBetRequest) GetAcceptBetterLine ¶
func (o *SpecialBetRequest) GetAcceptBetterLine() bool
GetAcceptBetterLine returns the AcceptBetterLine field value if set, zero value otherwise.
func (*SpecialBetRequest) GetAcceptBetterLineOk ¶
func (o *SpecialBetRequest) GetAcceptBetterLineOk() (*bool, bool)
GetAcceptBetterLineOk returns a tuple with the AcceptBetterLine field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialBetRequest) GetContestantId ¶
func (o *SpecialBetRequest) GetContestantId() int64
GetContestantId returns the ContestantId field value if set, zero value otherwise.
func (*SpecialBetRequest) GetContestantIdOk ¶
func (o *SpecialBetRequest) GetContestantIdOk() (*int64, bool)
GetContestantIdOk returns a tuple with the ContestantId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialBetRequest) GetLineId ¶
func (o *SpecialBetRequest) GetLineId() int64
GetLineId returns the LineId field value if set, zero value otherwise.
func (*SpecialBetRequest) GetLineIdOk ¶
func (o *SpecialBetRequest) GetLineIdOk() (*int64, bool)
GetLineIdOk returns a tuple with the LineId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialBetRequest) GetOddsFormat ¶
func (o *SpecialBetRequest) GetOddsFormat() OddsFormat
GetOddsFormat returns the OddsFormat field value if set, zero value otherwise.
func (*SpecialBetRequest) GetOddsFormatOk ¶
func (o *SpecialBetRequest) GetOddsFormatOk() (*OddsFormat, bool)
GetOddsFormatOk returns a tuple with the OddsFormat field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialBetRequest) GetSpecialId ¶
func (o *SpecialBetRequest) GetSpecialId() int64
GetSpecialId returns the SpecialId field value if set, zero value otherwise.
func (*SpecialBetRequest) GetSpecialIdOk ¶
func (o *SpecialBetRequest) GetSpecialIdOk() (*int64, bool)
GetSpecialIdOk returns a tuple with the SpecialId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialBetRequest) GetStake ¶
func (o *SpecialBetRequest) GetStake() float64
GetStake returns the Stake field value if set, zero value otherwise.
func (*SpecialBetRequest) GetStakeOk ¶
func (o *SpecialBetRequest) GetStakeOk() (*float64, bool)
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 (*SpecialBetRequest) GetUniqueRequestId ¶
func (o *SpecialBetRequest) GetUniqueRequestId() string
GetUniqueRequestId returns the UniqueRequestId field value if set, zero value otherwise.
func (*SpecialBetRequest) GetUniqueRequestIdOk ¶
func (o *SpecialBetRequest) GetUniqueRequestIdOk() (*string, bool)
GetUniqueRequestIdOk returns a tuple with the UniqueRequestId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialBetRequest) GetWinRiskStake ¶
func (o *SpecialBetRequest) GetWinRiskStake() string
GetWinRiskStake returns the WinRiskStake field value if set, zero value otherwise.
func (*SpecialBetRequest) GetWinRiskStakeOk ¶
func (o *SpecialBetRequest) GetWinRiskStakeOk() (*string, bool)
GetWinRiskStakeOk returns a tuple with the WinRiskStake field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialBetRequest) HasAcceptBetterLine ¶
func (o *SpecialBetRequest) HasAcceptBetterLine() bool
HasAcceptBetterLine returns a boolean if a field has been set.
func (*SpecialBetRequest) HasContestantId ¶
func (o *SpecialBetRequest) HasContestantId() bool
HasContestantId returns a boolean if a field has been set.
func (*SpecialBetRequest) HasLineId ¶
func (o *SpecialBetRequest) HasLineId() bool
HasLineId returns a boolean if a field has been set.
func (*SpecialBetRequest) HasOddsFormat ¶
func (o *SpecialBetRequest) HasOddsFormat() bool
HasOddsFormat returns a boolean if a field has been set.
func (*SpecialBetRequest) HasSpecialId ¶
func (o *SpecialBetRequest) HasSpecialId() bool
HasSpecialId returns a boolean if a field has been set.
func (*SpecialBetRequest) HasStake ¶
func (o *SpecialBetRequest) HasStake() bool
HasStake returns a boolean if a field has been set.
func (*SpecialBetRequest) HasUniqueRequestId ¶
func (o *SpecialBetRequest) HasUniqueRequestId() bool
HasUniqueRequestId returns a boolean if a field has been set.
func (*SpecialBetRequest) HasWinRiskStake ¶
func (o *SpecialBetRequest) HasWinRiskStake() bool
HasWinRiskStake returns a boolean if a field has been set.
func (SpecialBetRequest) MarshalJSON ¶
func (o SpecialBetRequest) MarshalJSON() ([]byte, error)
func (*SpecialBetRequest) SetAcceptBetterLine ¶
func (o *SpecialBetRequest) SetAcceptBetterLine(v bool)
SetAcceptBetterLine gets a reference to the given bool and assigns it to the AcceptBetterLine field.
func (*SpecialBetRequest) SetContestantId ¶
func (o *SpecialBetRequest) SetContestantId(v int64)
SetContestantId gets a reference to the given int64 and assigns it to the ContestantId field.
func (*SpecialBetRequest) SetLineId ¶
func (o *SpecialBetRequest) SetLineId(v int64)
SetLineId gets a reference to the given int64 and assigns it to the LineId field.
func (*SpecialBetRequest) SetOddsFormat ¶
func (o *SpecialBetRequest) SetOddsFormat(v OddsFormat)
SetOddsFormat gets a reference to the given OddsFormat and assigns it to the OddsFormat field.
func (*SpecialBetRequest) SetSpecialId ¶
func (o *SpecialBetRequest) SetSpecialId(v int64)
SetSpecialId gets a reference to the given int64 and assigns it to the SpecialId field.
func (*SpecialBetRequest) SetStake ¶
func (o *SpecialBetRequest) SetStake(v float64)
SetStake gets a reference to the given float64 and assigns it to the Stake field.
func (*SpecialBetRequest) SetUniqueRequestId ¶
func (o *SpecialBetRequest) SetUniqueRequestId(v string)
SetUniqueRequestId gets a reference to the given string and assigns it to the UniqueRequestId field.
func (*SpecialBetRequest) SetWinRiskStake ¶
func (o *SpecialBetRequest) SetWinRiskStake(v string)
SetWinRiskStake gets a reference to the given string and assigns it to the WinRiskStake field.
type SpecialBetResponse ¶
type SpecialBetResponse struct { // Status of the request. Status *string `json:"status,omitempty"` // When Status is PROCESSED_WITH_ERROR, provides a code indicating the specific problem. ALL_BETTING_CLOSED = Betting is not allowed at this moment. This may happen during system maintenance. ABOVE_MAX_BET_AMOUNT = Stake is above allowed maximum amount, BELOW_MIN_BET_AMOUNT = Stake is below allowed minimum amount, BLOCKED_BETTING = Betting is suspended for the client, BLOCKED_CLIENT = Client is no longer active, CONTEST_NOT_FOUND = Incorrect contest id provided or contest is no longer available, DUPLICATE_UNIQUE_REQUEST_ID = UniqueRequestId must be unique for each bet, INCOMPLETE_CUSTOMER_BETTING_PROFILE = Customer profile could not be loaded, INSUFFICIENT_FUNDS = Bet is submitted by a client with insufficient funds, INVALID_COUNTRY = Client country is not allowed for betting, INVALID_REQUEST = Special bet request is not valid, LINE_CHANGED = Bet is submitted on a line that has changed, PAST_CUTOFFTIME = Bet is submitted on a game after the betting cutoff time, RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDED = Self-imposed loss limit exceeded, RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDED = Self-imposed risk limit exceeded, SYSTEM_ERROR_1 = Unexpected error, SYSTEM_ERROR_2 = Unexpected error, UNIQUE_REQUEST_ID_REQUIRED = UniqueRequestId is missing, INVALID_CUSTOMER_PROFILE ErrorCode NullableString `json:"errorCode,omitempty"` // Id of a newly created bet. BetId *int64 `json:"betId,omitempty"` // Unique identifier provided in the request. UniqueRequestId *string `json:"uniqueRequestId,omitempty"` // Whether or not the bet was accepted on the line that changed in favour of client. This can be true only if acceptBetterLine in the Place Bet request is set to TRUE. BetterLineWasAccepted *bool `json:"betterLineWasAccepted,omitempty"` SpecialBet *SpecialBet `json:"specialBet,omitempty"` }
SpecialBetResponse struct for SpecialBetResponse
func NewSpecialBetResponse ¶
func NewSpecialBetResponse() *SpecialBetResponse
NewSpecialBetResponse instantiates a new SpecialBetResponse 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 NewSpecialBetResponseWithDefaults ¶
func NewSpecialBetResponseWithDefaults() *SpecialBetResponse
NewSpecialBetResponseWithDefaults instantiates a new SpecialBetResponse 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 (*SpecialBetResponse) GetBetId ¶
func (o *SpecialBetResponse) GetBetId() int64
GetBetId returns the BetId field value if set, zero value otherwise.
func (*SpecialBetResponse) GetBetIdOk ¶
func (o *SpecialBetResponse) GetBetIdOk() (*int64, bool)
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 (*SpecialBetResponse) GetBetterLineWasAccepted ¶
func (o *SpecialBetResponse) GetBetterLineWasAccepted() bool
GetBetterLineWasAccepted returns the BetterLineWasAccepted field value if set, zero value otherwise.
func (*SpecialBetResponse) GetBetterLineWasAcceptedOk ¶
func (o *SpecialBetResponse) GetBetterLineWasAcceptedOk() (*bool, bool)
GetBetterLineWasAcceptedOk returns a tuple with the BetterLineWasAccepted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialBetResponse) GetErrorCode ¶
func (o *SpecialBetResponse) GetErrorCode() string
GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).
func (*SpecialBetResponse) GetErrorCodeOk ¶
func (o *SpecialBetResponse) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SpecialBetResponse) GetSpecialBet ¶
func (o *SpecialBetResponse) GetSpecialBet() SpecialBet
GetSpecialBet returns the SpecialBet field value if set, zero value otherwise.
func (*SpecialBetResponse) GetSpecialBetOk ¶
func (o *SpecialBetResponse) GetSpecialBetOk() (*SpecialBet, bool)
GetSpecialBetOk returns a tuple with the SpecialBet field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialBetResponse) GetStatus ¶
func (o *SpecialBetResponse) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*SpecialBetResponse) GetStatusOk ¶
func (o *SpecialBetResponse) 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 (*SpecialBetResponse) GetUniqueRequestId ¶
func (o *SpecialBetResponse) GetUniqueRequestId() string
GetUniqueRequestId returns the UniqueRequestId field value if set, zero value otherwise.
func (*SpecialBetResponse) GetUniqueRequestIdOk ¶
func (o *SpecialBetResponse) GetUniqueRequestIdOk() (*string, bool)
GetUniqueRequestIdOk returns a tuple with the UniqueRequestId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialBetResponse) HasBetId ¶
func (o *SpecialBetResponse) HasBetId() bool
HasBetId returns a boolean if a field has been set.
func (*SpecialBetResponse) HasBetterLineWasAccepted ¶
func (o *SpecialBetResponse) HasBetterLineWasAccepted() bool
HasBetterLineWasAccepted returns a boolean if a field has been set.
func (*SpecialBetResponse) HasErrorCode ¶
func (o *SpecialBetResponse) HasErrorCode() bool
HasErrorCode returns a boolean if a field has been set.
func (*SpecialBetResponse) HasSpecialBet ¶
func (o *SpecialBetResponse) HasSpecialBet() bool
HasSpecialBet returns a boolean if a field has been set.
func (*SpecialBetResponse) HasStatus ¶
func (o *SpecialBetResponse) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*SpecialBetResponse) HasUniqueRequestId ¶
func (o *SpecialBetResponse) HasUniqueRequestId() bool
HasUniqueRequestId returns a boolean if a field has been set.
func (SpecialBetResponse) MarshalJSON ¶
func (o SpecialBetResponse) MarshalJSON() ([]byte, error)
func (*SpecialBetResponse) SetBetId ¶
func (o *SpecialBetResponse) SetBetId(v int64)
SetBetId gets a reference to the given int64 and assigns it to the BetId field.
func (*SpecialBetResponse) SetBetterLineWasAccepted ¶
func (o *SpecialBetResponse) SetBetterLineWasAccepted(v bool)
SetBetterLineWasAccepted gets a reference to the given bool and assigns it to the BetterLineWasAccepted field.
func (*SpecialBetResponse) SetErrorCode ¶
func (o *SpecialBetResponse) SetErrorCode(v string)
SetErrorCode gets a reference to the given NullableString and assigns it to the ErrorCode field.
func (*SpecialBetResponse) SetErrorCodeNil ¶
func (o *SpecialBetResponse) SetErrorCodeNil()
SetErrorCodeNil sets the value for ErrorCode to be an explicit nil
func (*SpecialBetResponse) SetSpecialBet ¶
func (o *SpecialBetResponse) SetSpecialBet(v SpecialBet)
SetSpecialBet gets a reference to the given SpecialBet and assigns it to the SpecialBet field.
func (*SpecialBetResponse) SetStatus ¶
func (o *SpecialBetResponse) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*SpecialBetResponse) SetUniqueRequestId ¶
func (o *SpecialBetResponse) SetUniqueRequestId(v string)
SetUniqueRequestId gets a reference to the given string and assigns it to the UniqueRequestId field.
func (*SpecialBetResponse) UnsetErrorCode ¶
func (o *SpecialBetResponse) UnsetErrorCode()
UnsetErrorCode ensures that no value is present for ErrorCode, not even an explicit nil
type SpecialFixture ¶
type SpecialFixture struct { // Unique Id Id *int64 `json:"id,omitempty"` // The type [MULTI_WAY_HEAD_TO_HEAD, SPREAD, OVER_UNDER] BetType *string `json:"betType,omitempty"` // Name of the special. Name *string `json:"name,omitempty"` // Date of the special in UTC. Date *time.Time `json:"date,omitempty"` // Wagering cutoff date in UTC. Cutoff *time.Time `json:"cutoff,omitempty"` // The category that the special falls under. Category *string `json:"category,omitempty"` // Measurment in the context of the special. This is applicable to specials bet type spead and over/under. In a hockey special this could be goals. Units *string `json:"units,omitempty"` // Status of the Special O = This is the starting status. It means that the lines are open for betting, H = This status indicates that the lines are temporarily unavailable for betting, I = This status indicates that one or more lines have a red circle (a lower maximum bet amount) Status *string `json:"status,omitempty"` Event *SpecialsFixturesEvent `json:"event,omitempty"` // ContestantLines available for wagering. Contestants *[]SpecialsFixturesContestant `json:"contestants,omitempty"` // When a special is linked to an event, we will return live status of the event, otherwise it will be 0. 0 = No live betting will be offered on this event, 1 = Live betting event, 2 = Live betting will be offered on this match, but on a different event. Please note that live delay is applied when placing bets on special with LiveStatus=1 LiveStatus *int `json:"liveStatus,omitempty"` }
SpecialFixture struct for SpecialFixture
func NewSpecialFixture ¶
func NewSpecialFixture() *SpecialFixture
NewSpecialFixture instantiates a new SpecialFixture 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 NewSpecialFixtureWithDefaults ¶
func NewSpecialFixtureWithDefaults() *SpecialFixture
NewSpecialFixtureWithDefaults instantiates a new SpecialFixture 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 (*SpecialFixture) GetBetType ¶
func (o *SpecialFixture) GetBetType() string
GetBetType returns the BetType field value if set, zero value otherwise.
func (*SpecialFixture) GetBetTypeOk ¶
func (o *SpecialFixture) GetBetTypeOk() (*string, bool)
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 (*SpecialFixture) GetCategory ¶
func (o *SpecialFixture) GetCategory() string
GetCategory returns the Category field value if set, zero value otherwise.
func (*SpecialFixture) GetCategoryOk ¶
func (o *SpecialFixture) GetCategoryOk() (*string, bool)
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 (*SpecialFixture) GetContestants ¶
func (o *SpecialFixture) GetContestants() []SpecialsFixturesContestant
GetContestants returns the Contestants field value if set, zero value otherwise.
func (*SpecialFixture) GetContestantsOk ¶
func (o *SpecialFixture) GetContestantsOk() (*[]SpecialsFixturesContestant, bool)
GetContestantsOk returns a tuple with the Contestants field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialFixture) GetCutoff ¶
func (o *SpecialFixture) GetCutoff() time.Time
GetCutoff returns the Cutoff field value if set, zero value otherwise.
func (*SpecialFixture) GetCutoffOk ¶
func (o *SpecialFixture) GetCutoffOk() (*time.Time, bool)
GetCutoffOk returns a tuple with the Cutoff field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialFixture) GetDate ¶
func (o *SpecialFixture) GetDate() time.Time
GetDate returns the Date field value if set, zero value otherwise.
func (*SpecialFixture) GetDateOk ¶
func (o *SpecialFixture) GetDateOk() (*time.Time, bool)
GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialFixture) GetEvent ¶
func (o *SpecialFixture) GetEvent() SpecialsFixturesEvent
GetEvent returns the Event field value if set, zero value otherwise.
func (*SpecialFixture) GetEventOk ¶
func (o *SpecialFixture) GetEventOk() (*SpecialsFixturesEvent, bool)
GetEventOk returns a tuple with the Event field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialFixture) GetId ¶
func (o *SpecialFixture) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*SpecialFixture) GetIdOk ¶
func (o *SpecialFixture) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialFixture) GetLiveStatus ¶
func (o *SpecialFixture) GetLiveStatus() int
GetLiveStatus returns the LiveStatus field value if set, zero value otherwise.
func (*SpecialFixture) GetLiveStatusOk ¶
func (o *SpecialFixture) GetLiveStatusOk() (*int, bool)
GetLiveStatusOk returns a tuple with the LiveStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialFixture) GetName ¶
func (o *SpecialFixture) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SpecialFixture) GetNameOk ¶
func (o *SpecialFixture) GetNameOk() (*string, bool)
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 (*SpecialFixture) GetStatus ¶
func (o *SpecialFixture) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*SpecialFixture) GetStatusOk ¶
func (o *SpecialFixture) 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 (*SpecialFixture) GetUnits ¶
func (o *SpecialFixture) GetUnits() string
GetUnits returns the Units field value if set, zero value otherwise.
func (*SpecialFixture) GetUnitsOk ¶
func (o *SpecialFixture) GetUnitsOk() (*string, bool)
GetUnitsOk returns a tuple with the Units field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialFixture) HasBetType ¶
func (o *SpecialFixture) HasBetType() bool
HasBetType returns a boolean if a field has been set.
func (*SpecialFixture) HasCategory ¶
func (o *SpecialFixture) HasCategory() bool
HasCategory returns a boolean if a field has been set.
func (*SpecialFixture) HasContestants ¶
func (o *SpecialFixture) HasContestants() bool
HasContestants returns a boolean if a field has been set.
func (*SpecialFixture) HasCutoff ¶
func (o *SpecialFixture) HasCutoff() bool
HasCutoff returns a boolean if a field has been set.
func (*SpecialFixture) HasDate ¶
func (o *SpecialFixture) HasDate() bool
HasDate returns a boolean if a field has been set.
func (*SpecialFixture) HasEvent ¶
func (o *SpecialFixture) HasEvent() bool
HasEvent returns a boolean if a field has been set.
func (*SpecialFixture) HasId ¶
func (o *SpecialFixture) HasId() bool
HasId returns a boolean if a field has been set.
func (*SpecialFixture) HasLiveStatus ¶
func (o *SpecialFixture) HasLiveStatus() bool
HasLiveStatus returns a boolean if a field has been set.
func (*SpecialFixture) HasName ¶
func (o *SpecialFixture) HasName() bool
HasName returns a boolean if a field has been set.
func (*SpecialFixture) HasStatus ¶
func (o *SpecialFixture) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*SpecialFixture) HasUnits ¶
func (o *SpecialFixture) HasUnits() bool
HasUnits returns a boolean if a field has been set.
func (SpecialFixture) MarshalJSON ¶
func (o SpecialFixture) MarshalJSON() ([]byte, error)
func (*SpecialFixture) SetBetType ¶
func (o *SpecialFixture) SetBetType(v string)
SetBetType gets a reference to the given string and assigns it to the BetType field.
func (*SpecialFixture) SetCategory ¶
func (o *SpecialFixture) SetCategory(v string)
SetCategory gets a reference to the given string and assigns it to the Category field.
func (*SpecialFixture) SetContestants ¶
func (o *SpecialFixture) SetContestants(v []SpecialsFixturesContestant)
SetContestants gets a reference to the given []SpecialsFixturesContestant and assigns it to the Contestants field.
func (*SpecialFixture) SetCutoff ¶
func (o *SpecialFixture) SetCutoff(v time.Time)
SetCutoff gets a reference to the given time.Time and assigns it to the Cutoff field.
func (*SpecialFixture) SetDate ¶
func (o *SpecialFixture) SetDate(v time.Time)
SetDate gets a reference to the given time.Time and assigns it to the Date field.
func (*SpecialFixture) SetEvent ¶
func (o *SpecialFixture) SetEvent(v SpecialsFixturesEvent)
SetEvent gets a reference to the given SpecialsFixturesEvent and assigns it to the Event field.
func (*SpecialFixture) SetId ¶
func (o *SpecialFixture) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*SpecialFixture) SetLiveStatus ¶
func (o *SpecialFixture) SetLiveStatus(v int)
SetLiveStatus gets a reference to the given int and assigns it to the LiveStatus field.
func (*SpecialFixture) SetName ¶
func (o *SpecialFixture) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SpecialFixture) SetStatus ¶
func (o *SpecialFixture) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*SpecialFixture) SetUnits ¶
func (o *SpecialFixture) SetUnits(v string)
SetUnits gets a reference to the given string and assigns it to the Units field.
type SpecialLineResponse ¶
type SpecialLineResponse struct { // Status [SUCCESS = OK, NOT_EXISTS = Line not offered anymore] Status *string `json:"status,omitempty"` // Special Id. SpecialId *int64 `json:"specialId,omitempty"` // Contestant Id. ContestantId *int64 `json:"contestantId,omitempty"` // Minimum bettable risk amount. MinRiskStake *float64 `json:"minRiskStake,omitempty"` // Maximum bettable risk amount. MaxRiskStake *float64 `json:"maxRiskStake,omitempty"` // Minimum bettable win amount. MinWinStake *float64 `json:"minWinStake,omitempty"` // Maximum bettable win amount. MaxWinStake *float64 `json:"maxWinStake,omitempty"` // Line identification needed to place a bet. LineId *int64 `json:"lineId,omitempty"` // Latest price. Price *float64 `json:"price,omitempty"` // Handicap. Handicap *float64 `json:"handicap,omitempty"` }
SpecialLineResponse struct for SpecialLineResponse
func NewSpecialLineResponse ¶
func NewSpecialLineResponse() *SpecialLineResponse
NewSpecialLineResponse instantiates a new SpecialLineResponse 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 NewSpecialLineResponseWithDefaults ¶
func NewSpecialLineResponseWithDefaults() *SpecialLineResponse
NewSpecialLineResponseWithDefaults instantiates a new SpecialLineResponse 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 (*SpecialLineResponse) GetContestantId ¶
func (o *SpecialLineResponse) GetContestantId() int64
GetContestantId returns the ContestantId field value if set, zero value otherwise.
func (*SpecialLineResponse) GetContestantIdOk ¶
func (o *SpecialLineResponse) GetContestantIdOk() (*int64, bool)
GetContestantIdOk returns a tuple with the ContestantId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialLineResponse) GetHandicap ¶
func (o *SpecialLineResponse) GetHandicap() float64
GetHandicap returns the Handicap field value if set, zero value otherwise.
func (*SpecialLineResponse) GetHandicapOk ¶
func (o *SpecialLineResponse) GetHandicapOk() (*float64, bool)
GetHandicapOk returns a tuple with the Handicap field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialLineResponse) GetLineId ¶
func (o *SpecialLineResponse) GetLineId() int64
GetLineId returns the LineId field value if set, zero value otherwise.
func (*SpecialLineResponse) GetLineIdOk ¶
func (o *SpecialLineResponse) GetLineIdOk() (*int64, bool)
GetLineIdOk returns a tuple with the LineId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialLineResponse) GetMaxRiskStake ¶
func (o *SpecialLineResponse) GetMaxRiskStake() float64
GetMaxRiskStake returns the MaxRiskStake field value if set, zero value otherwise.
func (*SpecialLineResponse) GetMaxRiskStakeOk ¶
func (o *SpecialLineResponse) GetMaxRiskStakeOk() (*float64, bool)
GetMaxRiskStakeOk returns a tuple with the MaxRiskStake field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialLineResponse) GetMaxWinStake ¶
func (o *SpecialLineResponse) GetMaxWinStake() float64
GetMaxWinStake returns the MaxWinStake field value if set, zero value otherwise.
func (*SpecialLineResponse) GetMaxWinStakeOk ¶
func (o *SpecialLineResponse) GetMaxWinStakeOk() (*float64, bool)
GetMaxWinStakeOk returns a tuple with the MaxWinStake field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialLineResponse) GetMinRiskStake ¶
func (o *SpecialLineResponse) GetMinRiskStake() float64
GetMinRiskStake returns the MinRiskStake field value if set, zero value otherwise.
func (*SpecialLineResponse) GetMinRiskStakeOk ¶
func (o *SpecialLineResponse) GetMinRiskStakeOk() (*float64, bool)
GetMinRiskStakeOk returns a tuple with the MinRiskStake field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialLineResponse) GetMinWinStake ¶
func (o *SpecialLineResponse) GetMinWinStake() float64
GetMinWinStake returns the MinWinStake field value if set, zero value otherwise.
func (*SpecialLineResponse) GetMinWinStakeOk ¶
func (o *SpecialLineResponse) GetMinWinStakeOk() (*float64, bool)
GetMinWinStakeOk returns a tuple with the MinWinStake field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialLineResponse) GetPrice ¶
func (o *SpecialLineResponse) GetPrice() float64
GetPrice returns the Price field value if set, zero value otherwise.
func (*SpecialLineResponse) GetPriceOk ¶
func (o *SpecialLineResponse) GetPriceOk() (*float64, bool)
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 (*SpecialLineResponse) GetSpecialId ¶
func (o *SpecialLineResponse) GetSpecialId() int64
GetSpecialId returns the SpecialId field value if set, zero value otherwise.
func (*SpecialLineResponse) GetSpecialIdOk ¶
func (o *SpecialLineResponse) GetSpecialIdOk() (*int64, bool)
GetSpecialIdOk returns a tuple with the SpecialId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialLineResponse) GetStatus ¶
func (o *SpecialLineResponse) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*SpecialLineResponse) GetStatusOk ¶
func (o *SpecialLineResponse) 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 (*SpecialLineResponse) HasContestantId ¶
func (o *SpecialLineResponse) HasContestantId() bool
HasContestantId returns a boolean if a field has been set.
func (*SpecialLineResponse) HasHandicap ¶
func (o *SpecialLineResponse) HasHandicap() bool
HasHandicap returns a boolean if a field has been set.
func (*SpecialLineResponse) HasLineId ¶
func (o *SpecialLineResponse) HasLineId() bool
HasLineId returns a boolean if a field has been set.
func (*SpecialLineResponse) HasMaxRiskStake ¶
func (o *SpecialLineResponse) HasMaxRiskStake() bool
HasMaxRiskStake returns a boolean if a field has been set.
func (*SpecialLineResponse) HasMaxWinStake ¶
func (o *SpecialLineResponse) HasMaxWinStake() bool
HasMaxWinStake returns a boolean if a field has been set.
func (*SpecialLineResponse) HasMinRiskStake ¶
func (o *SpecialLineResponse) HasMinRiskStake() bool
HasMinRiskStake returns a boolean if a field has been set.
func (*SpecialLineResponse) HasMinWinStake ¶
func (o *SpecialLineResponse) HasMinWinStake() bool
HasMinWinStake returns a boolean if a field has been set.
func (*SpecialLineResponse) HasPrice ¶
func (o *SpecialLineResponse) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*SpecialLineResponse) HasSpecialId ¶
func (o *SpecialLineResponse) HasSpecialId() bool
HasSpecialId returns a boolean if a field has been set.
func (*SpecialLineResponse) HasStatus ¶
func (o *SpecialLineResponse) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (SpecialLineResponse) MarshalJSON ¶
func (o SpecialLineResponse) MarshalJSON() ([]byte, error)
func (*SpecialLineResponse) SetContestantId ¶
func (o *SpecialLineResponse) SetContestantId(v int64)
SetContestantId gets a reference to the given int64 and assigns it to the ContestantId field.
func (*SpecialLineResponse) SetHandicap ¶
func (o *SpecialLineResponse) SetHandicap(v float64)
SetHandicap gets a reference to the given float64 and assigns it to the Handicap field.
func (*SpecialLineResponse) SetLineId ¶
func (o *SpecialLineResponse) SetLineId(v int64)
SetLineId gets a reference to the given int64 and assigns it to the LineId field.
func (*SpecialLineResponse) SetMaxRiskStake ¶
func (o *SpecialLineResponse) SetMaxRiskStake(v float64)
SetMaxRiskStake gets a reference to the given float64 and assigns it to the MaxRiskStake field.
func (*SpecialLineResponse) SetMaxWinStake ¶
func (o *SpecialLineResponse) SetMaxWinStake(v float64)
SetMaxWinStake gets a reference to the given float64 and assigns it to the MaxWinStake field.
func (*SpecialLineResponse) SetMinRiskStake ¶
func (o *SpecialLineResponse) SetMinRiskStake(v float64)
SetMinRiskStake gets a reference to the given float64 and assigns it to the MinRiskStake field.
func (*SpecialLineResponse) SetMinWinStake ¶
func (o *SpecialLineResponse) SetMinWinStake(v float64)
SetMinWinStake gets a reference to the given float64 and assigns it to the MinWinStake field.
func (*SpecialLineResponse) SetPrice ¶
func (o *SpecialLineResponse) SetPrice(v float64)
SetPrice gets a reference to the given float64 and assigns it to the Price field.
func (*SpecialLineResponse) SetSpecialId ¶
func (o *SpecialLineResponse) SetSpecialId(v int64)
SetSpecialId gets a reference to the given int64 and assigns it to the SpecialId field.
func (*SpecialLineResponse) SetStatus ¶
func (o *SpecialLineResponse) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
type SpecialOddsContestantLine ¶
type SpecialOddsContestantLine struct { // ContestantLine Id. Id *int64 `json:"id,omitempty"` // Line identifier required for placing a bet. LineId *int64 `json:"lineId,omitempty"` // Price of the line. Price *float64 `json:"price,omitempty"` // A number indicating the spread, over/under etc. Handicap *float64 `json:"handicap,omitempty"` }
SpecialOddsContestantLine struct for SpecialOddsContestantLine
func NewSpecialOddsContestantLine ¶
func NewSpecialOddsContestantLine() *SpecialOddsContestantLine
NewSpecialOddsContestantLine instantiates a new SpecialOddsContestantLine 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 NewSpecialOddsContestantLineWithDefaults ¶
func NewSpecialOddsContestantLineWithDefaults() *SpecialOddsContestantLine
NewSpecialOddsContestantLineWithDefaults instantiates a new SpecialOddsContestantLine 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 (*SpecialOddsContestantLine) GetHandicap ¶
func (o *SpecialOddsContestantLine) GetHandicap() float64
GetHandicap returns the Handicap field value if set, zero value otherwise.
func (*SpecialOddsContestantLine) GetHandicapOk ¶
func (o *SpecialOddsContestantLine) GetHandicapOk() (*float64, bool)
GetHandicapOk returns a tuple with the Handicap field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialOddsContestantLine) GetId ¶
func (o *SpecialOddsContestantLine) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*SpecialOddsContestantLine) GetIdOk ¶
func (o *SpecialOddsContestantLine) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialOddsContestantLine) GetLineId ¶
func (o *SpecialOddsContestantLine) GetLineId() int64
GetLineId returns the LineId field value if set, zero value otherwise.
func (*SpecialOddsContestantLine) GetLineIdOk ¶
func (o *SpecialOddsContestantLine) GetLineIdOk() (*int64, bool)
GetLineIdOk returns a tuple with the LineId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialOddsContestantLine) GetPrice ¶
func (o *SpecialOddsContestantLine) GetPrice() float64
GetPrice returns the Price field value if set, zero value otherwise.
func (*SpecialOddsContestantLine) GetPriceOk ¶
func (o *SpecialOddsContestantLine) GetPriceOk() (*float64, bool)
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 (*SpecialOddsContestantLine) HasHandicap ¶
func (o *SpecialOddsContestantLine) HasHandicap() bool
HasHandicap returns a boolean if a field has been set.
func (*SpecialOddsContestantLine) HasId ¶
func (o *SpecialOddsContestantLine) HasId() bool
HasId returns a boolean if a field has been set.
func (*SpecialOddsContestantLine) HasLineId ¶
func (o *SpecialOddsContestantLine) HasLineId() bool
HasLineId returns a boolean if a field has been set.
func (*SpecialOddsContestantLine) HasPrice ¶
func (o *SpecialOddsContestantLine) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (SpecialOddsContestantLine) MarshalJSON ¶
func (o SpecialOddsContestantLine) MarshalJSON() ([]byte, error)
func (*SpecialOddsContestantLine) SetHandicap ¶
func (o *SpecialOddsContestantLine) SetHandicap(v float64)
SetHandicap gets a reference to the given float64 and assigns it to the Handicap field.
func (*SpecialOddsContestantLine) SetId ¶
func (o *SpecialOddsContestantLine) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*SpecialOddsContestantLine) SetLineId ¶
func (o *SpecialOddsContestantLine) SetLineId(v int64)
SetLineId gets a reference to the given int64 and assigns it to the LineId field.
func (*SpecialOddsContestantLine) SetPrice ¶
func (o *SpecialOddsContestantLine) SetPrice(v float64)
SetPrice gets a reference to the given float64 and assigns it to the Price field.
type SpecialOddsLeague ¶
type SpecialOddsLeague struct { // League id. Id *int `json:"id,omitempty"` // A collection of FixturesSpecial. Specials *[]SpecialOddsSpecial `json:"specials,omitempty"` }
SpecialOddsLeague struct for SpecialOddsLeague
func NewSpecialOddsLeague ¶
func NewSpecialOddsLeague() *SpecialOddsLeague
NewSpecialOddsLeague instantiates a new SpecialOddsLeague 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 NewSpecialOddsLeagueWithDefaults ¶
func NewSpecialOddsLeagueWithDefaults() *SpecialOddsLeague
NewSpecialOddsLeagueWithDefaults instantiates a new SpecialOddsLeague 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 (*SpecialOddsLeague) GetId ¶
func (o *SpecialOddsLeague) GetId() int
GetId returns the Id field value if set, zero value otherwise.
func (*SpecialOddsLeague) GetIdOk ¶
func (o *SpecialOddsLeague) GetIdOk() (*int, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialOddsLeague) GetSpecials ¶
func (o *SpecialOddsLeague) GetSpecials() []SpecialOddsSpecial
GetSpecials returns the Specials field value if set, zero value otherwise.
func (*SpecialOddsLeague) GetSpecialsOk ¶
func (o *SpecialOddsLeague) GetSpecialsOk() (*[]SpecialOddsSpecial, bool)
GetSpecialsOk returns a tuple with the Specials field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialOddsLeague) HasId ¶
func (o *SpecialOddsLeague) HasId() bool
HasId returns a boolean if a field has been set.
func (*SpecialOddsLeague) HasSpecials ¶
func (o *SpecialOddsLeague) HasSpecials() bool
HasSpecials returns a boolean if a field has been set.
func (SpecialOddsLeague) MarshalJSON ¶
func (o SpecialOddsLeague) MarshalJSON() ([]byte, error)
func (*SpecialOddsLeague) SetId ¶
func (o *SpecialOddsLeague) SetId(v int)
SetId gets a reference to the given int and assigns it to the Id field.
func (*SpecialOddsLeague) SetSpecials ¶
func (o *SpecialOddsLeague) SetSpecials(v []SpecialOddsSpecial)
SetSpecials gets a reference to the given []SpecialOddsSpecial and assigns it to the Specials field.
type SpecialOddsResponse ¶
type SpecialOddsResponse struct { // Id of a sport for which to retrieve the odds. SportId *int `json:"sportId,omitempty"` // Used for retrieving changes only on subsequent requests. Provide this value as the Since paramter in subsequent calls to only retrieve changes. Last *int64 `json:"last,omitempty"` // Contains a list of Leagues. Leagues *[]SpecialOddsLeague `json:"leagues,omitempty"` }
SpecialOddsResponse struct for SpecialOddsResponse
func NewSpecialOddsResponse ¶
func NewSpecialOddsResponse() *SpecialOddsResponse
NewSpecialOddsResponse instantiates a new SpecialOddsResponse 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 NewSpecialOddsResponseWithDefaults ¶
func NewSpecialOddsResponseWithDefaults() *SpecialOddsResponse
NewSpecialOddsResponseWithDefaults instantiates a new SpecialOddsResponse 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 (*SpecialOddsResponse) GetLast ¶
func (o *SpecialOddsResponse) GetLast() int64
GetLast returns the Last field value if set, zero value otherwise.
func (*SpecialOddsResponse) GetLastOk ¶
func (o *SpecialOddsResponse) GetLastOk() (*int64, bool)
GetLastOk returns a tuple with the Last field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialOddsResponse) GetLeagues ¶
func (o *SpecialOddsResponse) GetLeagues() []SpecialOddsLeague
GetLeagues returns the Leagues field value if set, zero value otherwise.
func (*SpecialOddsResponse) GetLeaguesOk ¶
func (o *SpecialOddsResponse) GetLeaguesOk() (*[]SpecialOddsLeague, bool)
GetLeaguesOk returns a tuple with the Leagues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialOddsResponse) GetSportId ¶
func (o *SpecialOddsResponse) GetSportId() int
GetSportId returns the SportId field value if set, zero value otherwise.
func (*SpecialOddsResponse) GetSportIdOk ¶
func (o *SpecialOddsResponse) GetSportIdOk() (*int, bool)
GetSportIdOk returns a tuple with the SportId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialOddsResponse) HasLast ¶
func (o *SpecialOddsResponse) HasLast() bool
HasLast returns a boolean if a field has been set.
func (*SpecialOddsResponse) HasLeagues ¶
func (o *SpecialOddsResponse) HasLeagues() bool
HasLeagues returns a boolean if a field has been set.
func (*SpecialOddsResponse) HasSportId ¶
func (o *SpecialOddsResponse) HasSportId() bool
HasSportId returns a boolean if a field has been set.
func (SpecialOddsResponse) MarshalJSON ¶
func (o SpecialOddsResponse) MarshalJSON() ([]byte, error)
func (*SpecialOddsResponse) SetLast ¶
func (o *SpecialOddsResponse) SetLast(v int64)
SetLast gets a reference to the given int64 and assigns it to the Last field.
func (*SpecialOddsResponse) SetLeagues ¶
func (o *SpecialOddsResponse) SetLeagues(v []SpecialOddsLeague)
SetLeagues gets a reference to the given []SpecialOddsLeague and assigns it to the Leagues field.
func (*SpecialOddsResponse) SetSportId ¶
func (o *SpecialOddsResponse) SetSportId(v int)
SetSportId gets a reference to the given int and assigns it to the SportId field.
type SpecialOddsSpecial ¶
type SpecialOddsSpecial struct { // Special Id. Id *int64 `json:"id,omitempty"` // Maximum bet volume amount. See [How to calculate max risk from the max volume](https://github.com/pinnacleapi/pinnacleapi-documentation/blob/master/FAQ.md#how-to-calculate-max-risk-from-the-max-volume-limits-in-odds) MaxBet *float64 `json:"maxBet,omitempty"` // ContestantLines available for wagering on. ContestantLines *[]SpecialOddsContestantLine `json:"contestantLines,omitempty"` }
SpecialOddsSpecial struct for SpecialOddsSpecial
func NewSpecialOddsSpecial ¶
func NewSpecialOddsSpecial() *SpecialOddsSpecial
NewSpecialOddsSpecial instantiates a new SpecialOddsSpecial 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 NewSpecialOddsSpecialWithDefaults ¶
func NewSpecialOddsSpecialWithDefaults() *SpecialOddsSpecial
NewSpecialOddsSpecialWithDefaults instantiates a new SpecialOddsSpecial 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 (*SpecialOddsSpecial) GetContestantLines ¶
func (o *SpecialOddsSpecial) GetContestantLines() []SpecialOddsContestantLine
GetContestantLines returns the ContestantLines field value if set, zero value otherwise.
func (*SpecialOddsSpecial) GetContestantLinesOk ¶
func (o *SpecialOddsSpecial) GetContestantLinesOk() (*[]SpecialOddsContestantLine, bool)
GetContestantLinesOk returns a tuple with the ContestantLines field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialOddsSpecial) GetId ¶
func (o *SpecialOddsSpecial) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*SpecialOddsSpecial) GetIdOk ¶
func (o *SpecialOddsSpecial) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialOddsSpecial) GetMaxBet ¶
func (o *SpecialOddsSpecial) GetMaxBet() float64
GetMaxBet returns the MaxBet field value if set, zero value otherwise.
func (*SpecialOddsSpecial) GetMaxBetOk ¶
func (o *SpecialOddsSpecial) GetMaxBetOk() (*float64, bool)
GetMaxBetOk returns a tuple with the MaxBet field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialOddsSpecial) HasContestantLines ¶
func (o *SpecialOddsSpecial) HasContestantLines() bool
HasContestantLines returns a boolean if a field has been set.
func (*SpecialOddsSpecial) HasId ¶
func (o *SpecialOddsSpecial) HasId() bool
HasId returns a boolean if a field has been set.
func (*SpecialOddsSpecial) HasMaxBet ¶
func (o *SpecialOddsSpecial) HasMaxBet() bool
HasMaxBet returns a boolean if a field has been set.
func (SpecialOddsSpecial) MarshalJSON ¶
func (o SpecialOddsSpecial) MarshalJSON() ([]byte, error)
func (*SpecialOddsSpecial) SetContestantLines ¶
func (o *SpecialOddsSpecial) SetContestantLines(v []SpecialOddsContestantLine)
SetContestantLines gets a reference to the given []SpecialOddsContestantLine and assigns it to the ContestantLines field.
func (*SpecialOddsSpecial) SetId ¶
func (o *SpecialOddsSpecial) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*SpecialOddsSpecial) SetMaxBet ¶
func (o *SpecialOddsSpecial) SetMaxBet(v float64)
SetMaxBet gets a reference to the given float64 and assigns it to the MaxBet field.
type SpecialsFixturesContestant ¶
type SpecialsFixturesContestant struct { // Contestant Id. Id *int64 `json:"id,omitempty"` // Name of the contestant. Name *string `json:"name,omitempty"` // Rotation Number. RotNum *int `json:"rotNum,omitempty"` }
SpecialsFixturesContestant struct for SpecialsFixturesContestant
func NewSpecialsFixturesContestant ¶
func NewSpecialsFixturesContestant() *SpecialsFixturesContestant
NewSpecialsFixturesContestant instantiates a new SpecialsFixturesContestant 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 NewSpecialsFixturesContestantWithDefaults ¶
func NewSpecialsFixturesContestantWithDefaults() *SpecialsFixturesContestant
NewSpecialsFixturesContestantWithDefaults instantiates a new SpecialsFixturesContestant 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 (*SpecialsFixturesContestant) GetId ¶
func (o *SpecialsFixturesContestant) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*SpecialsFixturesContestant) GetIdOk ¶
func (o *SpecialsFixturesContestant) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialsFixturesContestant) GetName ¶
func (o *SpecialsFixturesContestant) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SpecialsFixturesContestant) GetNameOk ¶
func (o *SpecialsFixturesContestant) GetNameOk() (*string, bool)
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 (*SpecialsFixturesContestant) GetRotNum ¶
func (o *SpecialsFixturesContestant) GetRotNum() int
GetRotNum returns the RotNum field value if set, zero value otherwise.
func (*SpecialsFixturesContestant) GetRotNumOk ¶
func (o *SpecialsFixturesContestant) GetRotNumOk() (*int, bool)
GetRotNumOk returns a tuple with the RotNum field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialsFixturesContestant) HasId ¶
func (o *SpecialsFixturesContestant) HasId() bool
HasId returns a boolean if a field has been set.
func (*SpecialsFixturesContestant) HasName ¶
func (o *SpecialsFixturesContestant) HasName() bool
HasName returns a boolean if a field has been set.
func (*SpecialsFixturesContestant) HasRotNum ¶
func (o *SpecialsFixturesContestant) HasRotNum() bool
HasRotNum returns a boolean if a field has been set.
func (SpecialsFixturesContestant) MarshalJSON ¶
func (o SpecialsFixturesContestant) MarshalJSON() ([]byte, error)
func (*SpecialsFixturesContestant) SetId ¶
func (o *SpecialsFixturesContestant) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*SpecialsFixturesContestant) SetName ¶
func (o *SpecialsFixturesContestant) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SpecialsFixturesContestant) SetRotNum ¶
func (o *SpecialsFixturesContestant) SetRotNum(v int)
SetRotNum gets a reference to the given int and assigns it to the RotNum field.
type SpecialsFixturesEvent ¶
type SpecialsFixturesEvent struct { // Event Id Id *int `json:"id,omitempty"` // The period of the match. For example in soccer 0 (Game), 1 (1st Half) & 2 (2nd Half) PeriodNumber *int `json:"periodNumber,omitempty"` // Home team name. Home *string `json:"home,omitempty"` // Away team name. Away *string `json:"away,omitempty"` }
SpecialsFixturesEvent Optional event asscoaited with the special.
func NewSpecialsFixturesEvent ¶
func NewSpecialsFixturesEvent() *SpecialsFixturesEvent
NewSpecialsFixturesEvent instantiates a new SpecialsFixturesEvent 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 NewSpecialsFixturesEventWithDefaults ¶
func NewSpecialsFixturesEventWithDefaults() *SpecialsFixturesEvent
NewSpecialsFixturesEventWithDefaults instantiates a new SpecialsFixturesEvent 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 (*SpecialsFixturesEvent) GetAway ¶
func (o *SpecialsFixturesEvent) GetAway() string
GetAway returns the Away field value if set, zero value otherwise.
func (*SpecialsFixturesEvent) GetAwayOk ¶
func (o *SpecialsFixturesEvent) GetAwayOk() (*string, bool)
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 (*SpecialsFixturesEvent) GetHome ¶
func (o *SpecialsFixturesEvent) GetHome() string
GetHome returns the Home field value if set, zero value otherwise.
func (*SpecialsFixturesEvent) GetHomeOk ¶
func (o *SpecialsFixturesEvent) GetHomeOk() (*string, bool)
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 (*SpecialsFixturesEvent) GetId ¶
func (o *SpecialsFixturesEvent) GetId() int
GetId returns the Id field value if set, zero value otherwise.
func (*SpecialsFixturesEvent) GetIdOk ¶
func (o *SpecialsFixturesEvent) GetIdOk() (*int, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialsFixturesEvent) GetPeriodNumber ¶
func (o *SpecialsFixturesEvent) GetPeriodNumber() int
GetPeriodNumber returns the PeriodNumber field value if set, zero value otherwise.
func (*SpecialsFixturesEvent) GetPeriodNumberOk ¶
func (o *SpecialsFixturesEvent) GetPeriodNumberOk() (*int, bool)
GetPeriodNumberOk returns a tuple with the PeriodNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialsFixturesEvent) HasAway ¶
func (o *SpecialsFixturesEvent) HasAway() bool
HasAway returns a boolean if a field has been set.
func (*SpecialsFixturesEvent) HasHome ¶
func (o *SpecialsFixturesEvent) HasHome() bool
HasHome returns a boolean if a field has been set.
func (*SpecialsFixturesEvent) HasId ¶
func (o *SpecialsFixturesEvent) HasId() bool
HasId returns a boolean if a field has been set.
func (*SpecialsFixturesEvent) HasPeriodNumber ¶
func (o *SpecialsFixturesEvent) HasPeriodNumber() bool
HasPeriodNumber returns a boolean if a field has been set.
func (SpecialsFixturesEvent) MarshalJSON ¶
func (o SpecialsFixturesEvent) MarshalJSON() ([]byte, error)
func (*SpecialsFixturesEvent) SetAway ¶
func (o *SpecialsFixturesEvent) SetAway(v string)
SetAway gets a reference to the given string and assigns it to the Away field.
func (*SpecialsFixturesEvent) SetHome ¶
func (o *SpecialsFixturesEvent) SetHome(v string)
SetHome gets a reference to the given string and assigns it to the Home field.
func (*SpecialsFixturesEvent) SetId ¶
func (o *SpecialsFixturesEvent) SetId(v int)
SetId gets a reference to the given int and assigns it to the Id field.
func (*SpecialsFixturesEvent) SetPeriodNumber ¶
func (o *SpecialsFixturesEvent) SetPeriodNumber(v int)
SetPeriodNumber gets a reference to the given int and assigns it to the PeriodNumber field.
type SpecialsFixturesLeague ¶
type SpecialsFixturesLeague struct { // FixturesLeague Id. Id *int `json:"id,omitempty"` // A collection of Specials Specials *[]SpecialFixture `json:"specials,omitempty"` }
SpecialsFixturesLeague struct for SpecialsFixturesLeague
func NewSpecialsFixturesLeague ¶
func NewSpecialsFixturesLeague() *SpecialsFixturesLeague
NewSpecialsFixturesLeague instantiates a new SpecialsFixturesLeague 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 NewSpecialsFixturesLeagueWithDefaults ¶
func NewSpecialsFixturesLeagueWithDefaults() *SpecialsFixturesLeague
NewSpecialsFixturesLeagueWithDefaults instantiates a new SpecialsFixturesLeague 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 (*SpecialsFixturesLeague) GetId ¶
func (o *SpecialsFixturesLeague) GetId() int
GetId returns the Id field value if set, zero value otherwise.
func (*SpecialsFixturesLeague) GetIdOk ¶
func (o *SpecialsFixturesLeague) GetIdOk() (*int, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialsFixturesLeague) GetSpecials ¶
func (o *SpecialsFixturesLeague) GetSpecials() []SpecialFixture
GetSpecials returns the Specials field value if set, zero value otherwise.
func (*SpecialsFixturesLeague) GetSpecialsOk ¶
func (o *SpecialsFixturesLeague) GetSpecialsOk() (*[]SpecialFixture, bool)
GetSpecialsOk returns a tuple with the Specials field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialsFixturesLeague) HasId ¶
func (o *SpecialsFixturesLeague) HasId() bool
HasId returns a boolean if a field has been set.
func (*SpecialsFixturesLeague) HasSpecials ¶
func (o *SpecialsFixturesLeague) HasSpecials() bool
HasSpecials returns a boolean if a field has been set.
func (SpecialsFixturesLeague) MarshalJSON ¶
func (o SpecialsFixturesLeague) MarshalJSON() ([]byte, error)
func (*SpecialsFixturesLeague) SetId ¶
func (o *SpecialsFixturesLeague) SetId(v int)
SetId gets a reference to the given int and assigns it to the Id field.
func (*SpecialsFixturesLeague) SetSpecials ¶
func (o *SpecialsFixturesLeague) SetSpecials(v []SpecialFixture)
SetSpecials gets a reference to the given []SpecialFixture and assigns it to the Specials field.
type SpecialsFixturesResponse ¶
type SpecialsFixturesResponse struct { // Id of a sport for which to retrieve the odds. SportId *int `json:"sportId,omitempty"` // Used for retrieving changes only on subsequent requests. Provide this value as the Since paramter in subsequent calls to only retrieve changes. Last *int64 `json:"last,omitempty"` // Contains a list of Leagues. Leagues *[]SpecialsFixturesLeague `json:"leagues,omitempty"` }
SpecialsFixturesResponse struct for SpecialsFixturesResponse
func NewSpecialsFixturesResponse ¶
func NewSpecialsFixturesResponse() *SpecialsFixturesResponse
NewSpecialsFixturesResponse instantiates a new SpecialsFixturesResponse 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 NewSpecialsFixturesResponseWithDefaults ¶
func NewSpecialsFixturesResponseWithDefaults() *SpecialsFixturesResponse
NewSpecialsFixturesResponseWithDefaults instantiates a new SpecialsFixturesResponse 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 (*SpecialsFixturesResponse) GetLast ¶
func (o *SpecialsFixturesResponse) GetLast() int64
GetLast returns the Last field value if set, zero value otherwise.
func (*SpecialsFixturesResponse) GetLastOk ¶
func (o *SpecialsFixturesResponse) GetLastOk() (*int64, bool)
GetLastOk returns a tuple with the Last field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialsFixturesResponse) GetLeagues ¶
func (o *SpecialsFixturesResponse) GetLeagues() []SpecialsFixturesLeague
GetLeagues returns the Leagues field value if set, zero value otherwise.
func (*SpecialsFixturesResponse) GetLeaguesOk ¶
func (o *SpecialsFixturesResponse) GetLeaguesOk() (*[]SpecialsFixturesLeague, bool)
GetLeaguesOk returns a tuple with the Leagues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialsFixturesResponse) GetSportId ¶
func (o *SpecialsFixturesResponse) GetSportId() int
GetSportId returns the SportId field value if set, zero value otherwise.
func (*SpecialsFixturesResponse) GetSportIdOk ¶
func (o *SpecialsFixturesResponse) GetSportIdOk() (*int, bool)
GetSportIdOk returns a tuple with the SportId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialsFixturesResponse) HasLast ¶
func (o *SpecialsFixturesResponse) HasLast() bool
HasLast returns a boolean if a field has been set.
func (*SpecialsFixturesResponse) HasLeagues ¶
func (o *SpecialsFixturesResponse) HasLeagues() bool
HasLeagues returns a boolean if a field has been set.
func (*SpecialsFixturesResponse) HasSportId ¶
func (o *SpecialsFixturesResponse) HasSportId() bool
HasSportId returns a boolean if a field has been set.
func (SpecialsFixturesResponse) MarshalJSON ¶
func (o SpecialsFixturesResponse) MarshalJSON() ([]byte, error)
func (*SpecialsFixturesResponse) SetLast ¶
func (o *SpecialsFixturesResponse) SetLast(v int64)
SetLast gets a reference to the given int64 and assigns it to the Last field.
func (*SpecialsFixturesResponse) SetLeagues ¶
func (o *SpecialsFixturesResponse) SetLeagues(v []SpecialsFixturesLeague)
SetLeagues gets a reference to the given []SpecialsFixturesLeague and assigns it to the Leagues field.
func (*SpecialsFixturesResponse) SetSportId ¶
func (o *SpecialsFixturesResponse) SetSportId(v int)
SetSportId gets a reference to the given int and assigns it to the SportId field.
type Sport ¶
type Sport struct { // Sport Id. Id *int `json:"id,omitempty"` // Sport name. Name *string `json:"name,omitempty"` // Whether the sport currently has events or specials. HasOfferings *bool `json:"hasOfferings,omitempty"` // Indicates how many specials are in the given sport. LeagueSpecialsCount *int `json:"leagueSpecialsCount,omitempty"` // Indicates how many event specials are in the given sport. EventSpecialsCount *int `json:"eventSpecialsCount,omitempty"` // Indicates how many events are in the given sport. EventCount *int `json:"eventCount,omitempty"` }
Sport struct for Sport
func NewSport ¶
func NewSport() *Sport
NewSport instantiates a new Sport 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 NewSportWithDefaults ¶
func NewSportWithDefaults() *Sport
NewSportWithDefaults instantiates a new Sport 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 (*Sport) GetEventCount ¶
GetEventCount returns the EventCount field value if set, zero value otherwise.
func (*Sport) GetEventCountOk ¶
GetEventCountOk returns a tuple with the EventCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Sport) GetEventSpecialsCount ¶
GetEventSpecialsCount returns the EventSpecialsCount field value if set, zero value otherwise.
func (*Sport) GetEventSpecialsCountOk ¶
GetEventSpecialsCountOk returns a tuple with the EventSpecialsCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Sport) GetHasOfferings ¶
GetHasOfferings returns the HasOfferings field value if set, zero value otherwise.
func (*Sport) GetHasOfferingsOk ¶
GetHasOfferingsOk returns a tuple with the HasOfferings field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Sport) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Sport) GetLeagueSpecialsCount ¶
GetLeagueSpecialsCount returns the LeagueSpecialsCount field value if set, zero value otherwise.
func (*Sport) GetLeagueSpecialsCountOk ¶
GetLeagueSpecialsCountOk returns a tuple with the LeagueSpecialsCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Sport) 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 (*Sport) HasEventCount ¶
HasEventCount returns a boolean if a field has been set.
func (*Sport) HasEventSpecialsCount ¶
HasEventSpecialsCount returns a boolean if a field has been set.
func (*Sport) HasHasOfferings ¶
HasHasOfferings returns a boolean if a field has been set.
func (*Sport) HasLeagueSpecialsCount ¶
HasLeagueSpecialsCount returns a boolean if a field has been set.
func (Sport) MarshalJSON ¶
func (*Sport) SetEventCount ¶
SetEventCount gets a reference to the given int and assigns it to the EventCount field.
func (*Sport) SetEventSpecialsCount ¶
SetEventSpecialsCount gets a reference to the given int and assigns it to the EventSpecialsCount field.
func (*Sport) SetHasOfferings ¶
SetHasOfferings gets a reference to the given bool and assigns it to the HasOfferings field.
func (*Sport) SetLeagueSpecialsCount ¶
SetLeagueSpecialsCount gets a reference to the given int and assigns it to the LeagueSpecialsCount field.
type SportPeriod ¶
type SportPeriod struct { // Periods container Periods *[]Period `json:"periods,omitempty"` }
SportPeriod struct for SportPeriod
func NewSportPeriod ¶
func NewSportPeriod() *SportPeriod
NewSportPeriod instantiates a new SportPeriod 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 NewSportPeriodWithDefaults ¶
func NewSportPeriodWithDefaults() *SportPeriod
NewSportPeriodWithDefaults instantiates a new SportPeriod 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 (*SportPeriod) GetPeriods ¶
func (o *SportPeriod) GetPeriods() []Period
GetPeriods returns the Periods field value if set, zero value otherwise.
func (*SportPeriod) GetPeriodsOk ¶
func (o *SportPeriod) GetPeriodsOk() (*[]Period, bool)
GetPeriodsOk returns a tuple with the Periods field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SportPeriod) HasPeriods ¶
func (o *SportPeriod) HasPeriods() bool
HasPeriods returns a boolean if a field has been set.
func (SportPeriod) MarshalJSON ¶
func (o SportPeriod) MarshalJSON() ([]byte, error)
func (*SportPeriod) SetPeriods ¶
func (o *SportPeriod) SetPeriods(v []Period)
SetPeriods gets a reference to the given []Period and assigns it to the Periods field.
type SportsResponse ¶
type SportsResponse struct { // Sports container. Sports *[]Sport `json:"sports,omitempty"` }
SportsResponse struct for SportsResponse
func NewSportsResponse ¶
func NewSportsResponse() *SportsResponse
NewSportsResponse instantiates a new SportsResponse 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 NewSportsResponseWithDefaults ¶
func NewSportsResponseWithDefaults() *SportsResponse
NewSportsResponseWithDefaults instantiates a new SportsResponse 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 (*SportsResponse) GetSports ¶
func (o *SportsResponse) GetSports() []Sport
GetSports returns the Sports field value if set, zero value otherwise.
func (*SportsResponse) GetSportsOk ¶
func (o *SportsResponse) GetSportsOk() (*[]Sport, bool)
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 (*SportsResponse) HasSports ¶
func (o *SportsResponse) HasSports() bool
HasSports returns a boolean if a field has been set.
func (SportsResponse) MarshalJSON ¶
func (o SportsResponse) MarshalJSON() ([]byte, error)
func (*SportsResponse) SetSports ¶
func (o *SportsResponse) SetSports(v []Sport)
SetSports gets a reference to the given []Sport and assigns it to the Sports field.
type Status ¶
type Status string
Status Status of the response.
type StraightBetV3 ¶
type StraightBetV3 struct { // Bet identification BetId int64 `json:"betId"` // Wager identification. All bets placed thru the API will have value 1. Website Classic view supports multiple contest(special) bets placement in the same bet slip in that case the bet would have appropriate wager number, as well as all round robin parlay bets. WagerNumber int `json:"wagerNumber"` // Date time when the bet was placed. PlacedAt time.Time `json:"placedAt"` // Bet Status. ACCEPTED = Bet was accepted, CANCELLED = Bet is cancelled as per Pinnacle betting rules, LOSE = The bet is settled as lose, PENDING_ACCEPTANCE = This status is reserved only for live bets. If a live bet is placed during danger zone or live delay is applied, it will be in PENDING_ACCEPTANCE , otherwise in ACCEPTED status. From this status bet can go to ACCEPTED or NOT_ACCEPTED status, REFUNDED = When an event is cancelled or when the bet is settled as push, the bet will have REFUNDED status, NOT_ACCEPTED = Bet was not accepted. Bet can be in this status only if it was previously in PENDING_ACCEPTANCE status, WON = The bet is settled as won BetStatus string `json:"betStatus"` // Bet type. BetType string `json:"betType"` // Win amount. Win float64 `json:"win"` // Risk amount. Risk float64 `json:"risk"` // Win-Loss for settled bets. WinLoss *float64 `json:"winLoss,omitempty"` OddsFormat OddsFormat `json:"oddsFormat"` // Client’s commission on the bet. CustomerCommission *float64 `json:"customerCommission,omitempty"` // Update Sequence UpdateSequence int64 `json:"updateSequence"` SportId *int `json:"sportId,omitempty"` LeagueId *int `json:"leagueId,omitempty"` EventId *int64 `json:"eventId,omitempty"` Handicap *float64 `json:"handicap,omitempty"` Price *float64 `json:"price,omitempty"` TeamName *string `json:"teamName,omitempty"` // Side type. Side *string `json:"side,omitempty"` // Pitcher name of team1. Only for bets on baseball. Pitcher1 *string `json:"pitcher1,omitempty"` // Pitcher name of team2. Only for bets on baseball. Pitcher2 *string `json:"pitcher2,omitempty"` // Baseball only. Refers to the pitcher for Team1. This applicable only for MONEYLINE bet type, for all other bet types this has to be TRUE. Pitcher1MustStart *bool `json:"pitcher1MustStart,omitempty"` // Baseball only. Refers to the pitcher for Team2. This applicable only for MONEYLINE bet type, for all other bet types this has to be TRUE. Pitcher2MustStart *bool `json:"pitcher2MustStart,omitempty"` Team1 *string `json:"team1,omitempty"` Team2 *string `json:"team2,omitempty"` PeriodNumber *int `json:"periodNumber,omitempty"` // Team 1 score that the bet was placed on, only for live bets. Team1Score *float64 `json:"team1Score,omitempty"` // Team 2 score that the bet was placed, only for live bets. Team2Score *float64 `json:"team2Score,omitempty"` // Full time team 1 score, only for settled bets. FtTeam1Score *float64 `json:"ftTeam1Score,omitempty"` // Full time team 2 score, only for settled bets. FtTeam2Score *float64 `json:"ftTeam2Score,omitempty"` // .End of period team 1 score, only for settled bets. If the bet was placed on Game period (periodNumber =0), this will be null . PTeam1Score *float64 `json:"pTeam1Score,omitempty"` // End of period team 2 score, only for settled bets. If the bet was placed on Game period (periodNumber =0), this will be null PTeam2Score *float64 `json:"pTeam2Score,omitempty"` // Date time when the event starts. EventStartTime *time.Time `json:"eventStartTime,omitempty"` }
StraightBetV3 struct for StraightBetV3
func NewStraightBetV3 ¶
func NewStraightBetV3(betId int64, wagerNumber int, placedAt time.Time, betStatus string, betType string, win float64, risk float64, oddsFormat OddsFormat, updateSequence int64) *StraightBetV3
NewStraightBetV3 instantiates a new StraightBetV3 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 NewStraightBetV3WithDefaults ¶
func NewStraightBetV3WithDefaults() *StraightBetV3
NewStraightBetV3WithDefaults instantiates a new StraightBetV3 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 (*StraightBetV3) GetBetId ¶
func (o *StraightBetV3) GetBetId() int64
GetBetId returns the BetId field value
func (*StraightBetV3) GetBetIdOk ¶
func (o *StraightBetV3) GetBetIdOk() (*int64, bool)
GetBetIdOk returns a tuple with the BetId field value and a boolean to check if the value has been set.
func (*StraightBetV3) GetBetStatus ¶
func (o *StraightBetV3) GetBetStatus() string
GetBetStatus returns the BetStatus field value
func (*StraightBetV3) GetBetStatusOk ¶
func (o *StraightBetV3) GetBetStatusOk() (*string, bool)
GetBetStatusOk returns a tuple with the BetStatus field value and a boolean to check if the value has been set.
func (*StraightBetV3) GetBetType ¶
func (o *StraightBetV3) GetBetType() string
GetBetType returns the BetType field value
func (*StraightBetV3) GetBetTypeOk ¶
func (o *StraightBetV3) GetBetTypeOk() (*string, bool)
GetBetTypeOk returns a tuple with the BetType field value and a boolean to check if the value has been set.
func (*StraightBetV3) GetCustomerCommission ¶
func (o *StraightBetV3) GetCustomerCommission() float64
GetCustomerCommission returns the CustomerCommission field value if set, zero value otherwise.
func (*StraightBetV3) GetCustomerCommissionOk ¶
func (o *StraightBetV3) GetCustomerCommissionOk() (*float64, bool)
GetCustomerCommissionOk returns a tuple with the CustomerCommission field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StraightBetV3) GetEventId ¶
func (o *StraightBetV3) GetEventId() int64
GetEventId returns the EventId field value if set, zero value otherwise.
func (*StraightBetV3) GetEventIdOk ¶
func (o *StraightBetV3) GetEventIdOk() (*int64, bool)
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 (*StraightBetV3) GetEventStartTime ¶
func (o *StraightBetV3) GetEventStartTime() time.Time
GetEventStartTime returns the EventStartTime field value if set, zero value otherwise.
func (*StraightBetV3) GetEventStartTimeOk ¶
func (o *StraightBetV3) GetEventStartTimeOk() (*time.Time, bool)
GetEventStartTimeOk returns a tuple with the EventStartTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StraightBetV3) GetFtTeam1Score ¶
func (o *StraightBetV3) GetFtTeam1Score() float64
GetFtTeam1Score returns the FtTeam1Score field value if set, zero value otherwise.
func (*StraightBetV3) GetFtTeam1ScoreOk ¶
func (o *StraightBetV3) GetFtTeam1ScoreOk() (*float64, bool)
GetFtTeam1ScoreOk returns a tuple with the FtTeam1Score field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StraightBetV3) GetFtTeam2Score ¶
func (o *StraightBetV3) GetFtTeam2Score() float64
GetFtTeam2Score returns the FtTeam2Score field value if set, zero value otherwise.
func (*StraightBetV3) GetFtTeam2ScoreOk ¶
func (o *StraightBetV3) GetFtTeam2ScoreOk() (*float64, bool)
GetFtTeam2ScoreOk returns a tuple with the FtTeam2Score field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StraightBetV3) GetHandicap ¶
func (o *StraightBetV3) GetHandicap() float64
GetHandicap returns the Handicap field value if set, zero value otherwise.
func (*StraightBetV3) GetHandicapOk ¶
func (o *StraightBetV3) GetHandicapOk() (*float64, bool)
GetHandicapOk returns a tuple with the Handicap field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StraightBetV3) GetLeagueId ¶
func (o *StraightBetV3) GetLeagueId() int
GetLeagueId returns the LeagueId field value if set, zero value otherwise.
func (*StraightBetV3) GetLeagueIdOk ¶
func (o *StraightBetV3) GetLeagueIdOk() (*int, bool)
GetLeagueIdOk returns a tuple with the LeagueId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StraightBetV3) GetOddsFormat ¶
func (o *StraightBetV3) GetOddsFormat() OddsFormat
GetOddsFormat returns the OddsFormat field value
func (*StraightBetV3) GetOddsFormatOk ¶
func (o *StraightBetV3) GetOddsFormatOk() (*OddsFormat, bool)
GetOddsFormatOk returns a tuple with the OddsFormat field value and a boolean to check if the value has been set.
func (*StraightBetV3) GetPTeam1Score ¶
func (o *StraightBetV3) GetPTeam1Score() float64
GetPTeam1Score returns the PTeam1Score field value if set, zero value otherwise.
func (*StraightBetV3) GetPTeam1ScoreOk ¶
func (o *StraightBetV3) GetPTeam1ScoreOk() (*float64, bool)
GetPTeam1ScoreOk returns a tuple with the PTeam1Score field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StraightBetV3) GetPTeam2Score ¶
func (o *StraightBetV3) GetPTeam2Score() float64
GetPTeam2Score returns the PTeam2Score field value if set, zero value otherwise.
func (*StraightBetV3) GetPTeam2ScoreOk ¶
func (o *StraightBetV3) GetPTeam2ScoreOk() (*float64, bool)
GetPTeam2ScoreOk returns a tuple with the PTeam2Score field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StraightBetV3) GetPeriodNumber ¶
func (o *StraightBetV3) GetPeriodNumber() int
GetPeriodNumber returns the PeriodNumber field value if set, zero value otherwise.
func (*StraightBetV3) GetPeriodNumberOk ¶
func (o *StraightBetV3) GetPeriodNumberOk() (*int, bool)
GetPeriodNumberOk returns a tuple with the PeriodNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StraightBetV3) GetPitcher1 ¶
func (o *StraightBetV3) GetPitcher1() string
GetPitcher1 returns the Pitcher1 field value if set, zero value otherwise.
func (*StraightBetV3) GetPitcher1MustStart ¶
func (o *StraightBetV3) GetPitcher1MustStart() bool
GetPitcher1MustStart returns the Pitcher1MustStart field value if set, zero value otherwise.
func (*StraightBetV3) GetPitcher1MustStartOk ¶
func (o *StraightBetV3) GetPitcher1MustStartOk() (*bool, bool)
GetPitcher1MustStartOk returns a tuple with the Pitcher1MustStart field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StraightBetV3) GetPitcher1Ok ¶
func (o *StraightBetV3) GetPitcher1Ok() (*string, bool)
GetPitcher1Ok returns a tuple with the Pitcher1 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StraightBetV3) GetPitcher2 ¶
func (o *StraightBetV3) GetPitcher2() string
GetPitcher2 returns the Pitcher2 field value if set, zero value otherwise.
func (*StraightBetV3) GetPitcher2MustStart ¶
func (o *StraightBetV3) GetPitcher2MustStart() bool
GetPitcher2MustStart returns the Pitcher2MustStart field value if set, zero value otherwise.
func (*StraightBetV3) GetPitcher2MustStartOk ¶
func (o *StraightBetV3) GetPitcher2MustStartOk() (*bool, bool)
GetPitcher2MustStartOk returns a tuple with the Pitcher2MustStart field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StraightBetV3) GetPitcher2Ok ¶
func (o *StraightBetV3) GetPitcher2Ok() (*string, bool)
GetPitcher2Ok returns a tuple with the Pitcher2 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StraightBetV3) GetPlacedAt ¶
func (o *StraightBetV3) GetPlacedAt() time.Time
GetPlacedAt returns the PlacedAt field value
func (*StraightBetV3) GetPlacedAtOk ¶
func (o *StraightBetV3) GetPlacedAtOk() (*time.Time, bool)
GetPlacedAtOk returns a tuple with the PlacedAt field value and a boolean to check if the value has been set.
func (*StraightBetV3) GetPrice ¶
func (o *StraightBetV3) GetPrice() float64
GetPrice returns the Price field value if set, zero value otherwise.
func (*StraightBetV3) GetPriceOk ¶
func (o *StraightBetV3) GetPriceOk() (*float64, bool)
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 (*StraightBetV3) GetRisk ¶
func (o *StraightBetV3) GetRisk() float64
GetRisk returns the Risk field value
func (*StraightBetV3) GetRiskOk ¶
func (o *StraightBetV3) GetRiskOk() (*float64, bool)
GetRiskOk returns a tuple with the Risk field value and a boolean to check if the value has been set.
func (*StraightBetV3) GetSide ¶
func (o *StraightBetV3) GetSide() string
GetSide returns the Side field value if set, zero value otherwise.
func (*StraightBetV3) GetSideOk ¶
func (o *StraightBetV3) GetSideOk() (*string, bool)
GetSideOk returns a tuple with the Side field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StraightBetV3) GetSportId ¶
func (o *StraightBetV3) GetSportId() int
GetSportId returns the SportId field value if set, zero value otherwise.
func (*StraightBetV3) GetSportIdOk ¶
func (o *StraightBetV3) GetSportIdOk() (*int, bool)
GetSportIdOk returns a tuple with the SportId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StraightBetV3) GetTeam1 ¶
func (o *StraightBetV3) GetTeam1() string
GetTeam1 returns the Team1 field value if set, zero value otherwise.
func (*StraightBetV3) GetTeam1Ok ¶
func (o *StraightBetV3) GetTeam1Ok() (*string, bool)
GetTeam1Ok returns a tuple with the Team1 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StraightBetV3) GetTeam1Score ¶
func (o *StraightBetV3) GetTeam1Score() float64
GetTeam1Score returns the Team1Score field value if set, zero value otherwise.
func (*StraightBetV3) GetTeam1ScoreOk ¶
func (o *StraightBetV3) GetTeam1ScoreOk() (*float64, bool)
GetTeam1ScoreOk returns a tuple with the Team1Score field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StraightBetV3) GetTeam2 ¶
func (o *StraightBetV3) GetTeam2() string
GetTeam2 returns the Team2 field value if set, zero value otherwise.
func (*StraightBetV3) GetTeam2Ok ¶
func (o *StraightBetV3) GetTeam2Ok() (*string, bool)
GetTeam2Ok returns a tuple with the Team2 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StraightBetV3) GetTeam2Score ¶
func (o *StraightBetV3) GetTeam2Score() float64
GetTeam2Score returns the Team2Score field value if set, zero value otherwise.
func (*StraightBetV3) GetTeam2ScoreOk ¶
func (o *StraightBetV3) GetTeam2ScoreOk() (*float64, bool)
GetTeam2ScoreOk returns a tuple with the Team2Score field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StraightBetV3) GetTeamName ¶
func (o *StraightBetV3) GetTeamName() string
GetTeamName returns the TeamName field value if set, zero value otherwise.
func (*StraightBetV3) GetTeamNameOk ¶
func (o *StraightBetV3) GetTeamNameOk() (*string, bool)
GetTeamNameOk returns a tuple with the TeamName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StraightBetV3) GetUpdateSequence ¶
func (o *StraightBetV3) GetUpdateSequence() int64
GetUpdateSequence returns the UpdateSequence field value
func (*StraightBetV3) GetUpdateSequenceOk ¶
func (o *StraightBetV3) GetUpdateSequenceOk() (*int64, bool)
GetUpdateSequenceOk returns a tuple with the UpdateSequence field value and a boolean to check if the value has been set.
func (*StraightBetV3) GetWagerNumber ¶
func (o *StraightBetV3) GetWagerNumber() int
GetWagerNumber returns the WagerNumber field value
func (*StraightBetV3) GetWagerNumberOk ¶
func (o *StraightBetV3) GetWagerNumberOk() (*int, bool)
GetWagerNumberOk returns a tuple with the WagerNumber field value and a boolean to check if the value has been set.
func (*StraightBetV3) GetWin ¶
func (o *StraightBetV3) GetWin() float64
GetWin returns the Win field value
func (*StraightBetV3) GetWinLoss ¶
func (o *StraightBetV3) GetWinLoss() float64
GetWinLoss returns the WinLoss field value if set, zero value otherwise.
func (*StraightBetV3) GetWinLossOk ¶
func (o *StraightBetV3) GetWinLossOk() (*float64, bool)
GetWinLossOk returns a tuple with the WinLoss field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StraightBetV3) GetWinOk ¶
func (o *StraightBetV3) GetWinOk() (*float64, bool)
GetWinOk returns a tuple with the Win field value and a boolean to check if the value has been set.
func (*StraightBetV3) HasCustomerCommission ¶
func (o *StraightBetV3) HasCustomerCommission() bool
HasCustomerCommission returns a boolean if a field has been set.
func (*StraightBetV3) HasEventId ¶
func (o *StraightBetV3) HasEventId() bool
HasEventId returns a boolean if a field has been set.
func (*StraightBetV3) HasEventStartTime ¶
func (o *StraightBetV3) HasEventStartTime() bool
HasEventStartTime returns a boolean if a field has been set.
func (*StraightBetV3) HasFtTeam1Score ¶
func (o *StraightBetV3) HasFtTeam1Score() bool
HasFtTeam1Score returns a boolean if a field has been set.
func (*StraightBetV3) HasFtTeam2Score ¶
func (o *StraightBetV3) HasFtTeam2Score() bool
HasFtTeam2Score returns a boolean if a field has been set.
func (*StraightBetV3) HasHandicap ¶
func (o *StraightBetV3) HasHandicap() bool
HasHandicap returns a boolean if a field has been set.
func (*StraightBetV3) HasLeagueId ¶
func (o *StraightBetV3) HasLeagueId() bool
HasLeagueId returns a boolean if a field has been set.
func (*StraightBetV3) HasPTeam1Score ¶
func (o *StraightBetV3) HasPTeam1Score() bool
HasPTeam1Score returns a boolean if a field has been set.
func (*StraightBetV3) HasPTeam2Score ¶
func (o *StraightBetV3) HasPTeam2Score() bool
HasPTeam2Score returns a boolean if a field has been set.
func (*StraightBetV3) HasPeriodNumber ¶
func (o *StraightBetV3) HasPeriodNumber() bool
HasPeriodNumber returns a boolean if a field has been set.
func (*StraightBetV3) HasPitcher1 ¶
func (o *StraightBetV3) HasPitcher1() bool
HasPitcher1 returns a boolean if a field has been set.
func (*StraightBetV3) HasPitcher1MustStart ¶
func (o *StraightBetV3) HasPitcher1MustStart() bool
HasPitcher1MustStart returns a boolean if a field has been set.
func (*StraightBetV3) HasPitcher2 ¶
func (o *StraightBetV3) HasPitcher2() bool
HasPitcher2 returns a boolean if a field has been set.
func (*StraightBetV3) HasPitcher2MustStart ¶
func (o *StraightBetV3) HasPitcher2MustStart() bool
HasPitcher2MustStart returns a boolean if a field has been set.
func (*StraightBetV3) HasPrice ¶
func (o *StraightBetV3) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*StraightBetV3) HasSide ¶
func (o *StraightBetV3) HasSide() bool
HasSide returns a boolean if a field has been set.
func (*StraightBetV3) HasSportId ¶
func (o *StraightBetV3) HasSportId() bool
HasSportId returns a boolean if a field has been set.
func (*StraightBetV3) HasTeam1 ¶
func (o *StraightBetV3) HasTeam1() bool
HasTeam1 returns a boolean if a field has been set.
func (*StraightBetV3) HasTeam1Score ¶
func (o *StraightBetV3) HasTeam1Score() bool
HasTeam1Score returns a boolean if a field has been set.
func (*StraightBetV3) HasTeam2 ¶
func (o *StraightBetV3) HasTeam2() bool
HasTeam2 returns a boolean if a field has been set.
func (*StraightBetV3) HasTeam2Score ¶
func (o *StraightBetV3) HasTeam2Score() bool
HasTeam2Score returns a boolean if a field has been set.
func (*StraightBetV3) HasTeamName ¶
func (o *StraightBetV3) HasTeamName() bool
HasTeamName returns a boolean if a field has been set.
func (*StraightBetV3) HasWinLoss ¶
func (o *StraightBetV3) HasWinLoss() bool
HasWinLoss returns a boolean if a field has been set.
func (StraightBetV3) MarshalJSON ¶
func (o StraightBetV3) MarshalJSON() ([]byte, error)
func (*StraightBetV3) SetBetId ¶
func (o *StraightBetV3) SetBetId(v int64)
SetBetId sets field value
func (*StraightBetV3) SetBetStatus ¶
func (o *StraightBetV3) SetBetStatus(v string)
SetBetStatus sets field value
func (*StraightBetV3) SetBetType ¶
func (o *StraightBetV3) SetBetType(v string)
SetBetType sets field value
func (*StraightBetV3) SetCustomerCommission ¶
func (o *StraightBetV3) SetCustomerCommission(v float64)
SetCustomerCommission gets a reference to the given float64 and assigns it to the CustomerCommission field.
func (*StraightBetV3) SetEventId ¶
func (o *StraightBetV3) SetEventId(v int64)
SetEventId gets a reference to the given int64 and assigns it to the EventId field.
func (*StraightBetV3) SetEventStartTime ¶
func (o *StraightBetV3) SetEventStartTime(v time.Time)
SetEventStartTime gets a reference to the given time.Time and assigns it to the EventStartTime field.
func (*StraightBetV3) SetFtTeam1Score ¶
func (o *StraightBetV3) SetFtTeam1Score(v float64)
SetFtTeam1Score gets a reference to the given float64 and assigns it to the FtTeam1Score field.
func (*StraightBetV3) SetFtTeam2Score ¶
func (o *StraightBetV3) SetFtTeam2Score(v float64)
SetFtTeam2Score gets a reference to the given float64 and assigns it to the FtTeam2Score field.
func (*StraightBetV3) SetHandicap ¶
func (o *StraightBetV3) SetHandicap(v float64)
SetHandicap gets a reference to the given float64 and assigns it to the Handicap field.
func (*StraightBetV3) SetLeagueId ¶
func (o *StraightBetV3) SetLeagueId(v int)
SetLeagueId gets a reference to the given int and assigns it to the LeagueId field.
func (*StraightBetV3) SetOddsFormat ¶
func (o *StraightBetV3) SetOddsFormat(v OddsFormat)
SetOddsFormat sets field value
func (*StraightBetV3) SetPTeam1Score ¶
func (o *StraightBetV3) SetPTeam1Score(v float64)
SetPTeam1Score gets a reference to the given float64 and assigns it to the PTeam1Score field.
func (*StraightBetV3) SetPTeam2Score ¶
func (o *StraightBetV3) SetPTeam2Score(v float64)
SetPTeam2Score gets a reference to the given float64 and assigns it to the PTeam2Score field.
func (*StraightBetV3) SetPeriodNumber ¶
func (o *StraightBetV3) SetPeriodNumber(v int)
SetPeriodNumber gets a reference to the given int and assigns it to the PeriodNumber field.
func (*StraightBetV3) SetPitcher1 ¶
func (o *StraightBetV3) SetPitcher1(v string)
SetPitcher1 gets a reference to the given string and assigns it to the Pitcher1 field.
func (*StraightBetV3) SetPitcher1MustStart ¶
func (o *StraightBetV3) SetPitcher1MustStart(v bool)
SetPitcher1MustStart gets a reference to the given bool and assigns it to the Pitcher1MustStart field.
func (*StraightBetV3) SetPitcher2 ¶
func (o *StraightBetV3) SetPitcher2(v string)
SetPitcher2 gets a reference to the given string and assigns it to the Pitcher2 field.
func (*StraightBetV3) SetPitcher2MustStart ¶
func (o *StraightBetV3) SetPitcher2MustStart(v bool)
SetPitcher2MustStart gets a reference to the given bool and assigns it to the Pitcher2MustStart field.
func (*StraightBetV3) SetPlacedAt ¶
func (o *StraightBetV3) SetPlacedAt(v time.Time)
SetPlacedAt sets field value
func (*StraightBetV3) SetPrice ¶
func (o *StraightBetV3) SetPrice(v float64)
SetPrice gets a reference to the given float64 and assigns it to the Price field.
func (*StraightBetV3) SetSide ¶
func (o *StraightBetV3) SetSide(v string)
SetSide gets a reference to the given string and assigns it to the Side field.
func (*StraightBetV3) SetSportId ¶
func (o *StraightBetV3) SetSportId(v int)
SetSportId gets a reference to the given int and assigns it to the SportId field.
func (*StraightBetV3) SetTeam1 ¶
func (o *StraightBetV3) SetTeam1(v string)
SetTeam1 gets a reference to the given string and assigns it to the Team1 field.
func (*StraightBetV3) SetTeam1Score ¶
func (o *StraightBetV3) SetTeam1Score(v float64)
SetTeam1Score gets a reference to the given float64 and assigns it to the Team1Score field.
func (*StraightBetV3) SetTeam2 ¶
func (o *StraightBetV3) SetTeam2(v string)
SetTeam2 gets a reference to the given string and assigns it to the Team2 field.
func (*StraightBetV3) SetTeam2Score ¶
func (o *StraightBetV3) SetTeam2Score(v float64)
SetTeam2Score gets a reference to the given float64 and assigns it to the Team2Score field.
func (*StraightBetV3) SetTeamName ¶
func (o *StraightBetV3) SetTeamName(v string)
SetTeamName gets a reference to the given string and assigns it to the TeamName field.
func (*StraightBetV3) SetUpdateSequence ¶
func (o *StraightBetV3) SetUpdateSequence(v int64)
SetUpdateSequence sets field value
func (*StraightBetV3) SetWagerNumber ¶
func (o *StraightBetV3) SetWagerNumber(v int)
SetWagerNumber sets field value
func (*StraightBetV3) SetWinLoss ¶
func (o *StraightBetV3) SetWinLoss(v float64)
SetWinLoss gets a reference to the given float64 and assigns it to the WinLoss field.
type SuccessfulCurrenciesResponse ¶
type SuccessfulCurrenciesResponse struct { // Currencies container. Currencies *[]Currency `json:"currencies,omitempty"` }
SuccessfulCurrenciesResponse struct for SuccessfulCurrenciesResponse
func NewSuccessfulCurrenciesResponse ¶
func NewSuccessfulCurrenciesResponse() *SuccessfulCurrenciesResponse
NewSuccessfulCurrenciesResponse instantiates a new SuccessfulCurrenciesResponse 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 NewSuccessfulCurrenciesResponseWithDefaults ¶
func NewSuccessfulCurrenciesResponseWithDefaults() *SuccessfulCurrenciesResponse
NewSuccessfulCurrenciesResponseWithDefaults instantiates a new SuccessfulCurrenciesResponse 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 (*SuccessfulCurrenciesResponse) GetCurrencies ¶
func (o *SuccessfulCurrenciesResponse) GetCurrencies() []Currency
GetCurrencies returns the Currencies field value if set, zero value otherwise.
func (*SuccessfulCurrenciesResponse) GetCurrenciesOk ¶
func (o *SuccessfulCurrenciesResponse) GetCurrenciesOk() (*[]Currency, bool)
GetCurrenciesOk returns a tuple with the Currencies field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SuccessfulCurrenciesResponse) HasCurrencies ¶
func (o *SuccessfulCurrenciesResponse) HasCurrencies() bool
HasCurrencies returns a boolean if a field has been set.
func (SuccessfulCurrenciesResponse) MarshalJSON ¶
func (o SuccessfulCurrenciesResponse) MarshalJSON() ([]byte, error)
func (*SuccessfulCurrenciesResponse) SetCurrencies ¶
func (o *SuccessfulCurrenciesResponse) SetCurrencies(v []Currency)
SetCurrencies gets a reference to the given []Currency and assigns it to the Currencies field.
type TeaserBet ¶
type TeaserBet struct { int64 `json:"betId"` UniqueRequestId *string `json:"uniqueRequestId,omitempty"` WagerNumber int `json:"wagerNumber"` PlacedAt time.Time `json:"placedAt"` // Bet Status. ACCEPTED = Bet was accepted, CANCELLED = Bet is cancelled as per Pinnacle betting rules, LOSE = The bet is settled as lose, REFUNDED = When an event is cancelled or when the bet is settled as push, the bet will have REFUNDED status, WON = The bet is settled as won Win float64 `json:"win"` Risk float64 `json:"risk"` // Win-Loss for settled bets. // Client’s commission on the bet. // Update Sequence Price *float64 `json:"price,omitempty"` FinalPrice *float64 `json:"finalPrice,omitempty"` TeaserId *float32 `json:"teaserId,omitempty"` // Reference to the teaser group id }BetId
TeaserBet struct for TeaserBet
func NewTeaserBet ¶
func NewTeaserBet(betId int64, wagerNumber int, placedAt time.Time, betStatus string, betType string, win float64, risk float64, oddsFormat OddsFormat, updateSequence int64, teaserName string, isSameEventOnly bool, minPicks float64, maxPicks float64, legs []TeaserLeg) *TeaserBet
NewTeaserBet instantiates a new TeaserBet 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 NewTeaserBetWithDefaults ¶
func NewTeaserBetWithDefaults() *TeaserBet
NewTeaserBetWithDefaults instantiates a new TeaserBet 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 (*TeaserBet) GetBetIdOk ¶
GetBetIdOk returns a tuple with the BetId field value and a boolean to check if the value has been set.
func (*TeaserBet) GetBetStatus ¶
GetBetStatus returns the BetStatus field value
func (*TeaserBet) GetBetStatusOk ¶
GetBetStatusOk returns a tuple with the BetStatus field value and a boolean to check if the value has been set.
func (*TeaserBet) GetBetType ¶
GetBetType returns the BetType field value
func (*TeaserBet) GetBetTypeOk ¶
GetBetTypeOk returns a tuple with the BetType field value and a boolean to check if the value has been set.
func (*TeaserBet) GetCancellationReason ¶
func (o *TeaserBet) GetCancellationReason() CancellationReason
GetCancellationReason returns the CancellationReason field value if set, zero value otherwise.
func (*TeaserBet) GetCancellationReasonOk ¶
func (o *TeaserBet) GetCancellationReasonOk() (*CancellationReason, bool)
GetCancellationReasonOk returns a tuple with the CancellationReason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserBet) GetCustomerCommission ¶
GetCustomerCommission returns the CustomerCommission field value if set, zero value otherwise.
func (*TeaserBet) GetCustomerCommissionOk ¶
GetCustomerCommissionOk returns a tuple with the CustomerCommission field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserBet) GetFinalPrice ¶
GetFinalPrice returns the FinalPrice field value if set, zero value otherwise.
func (*TeaserBet) GetFinalPriceOk ¶
GetFinalPriceOk returns a tuple with the FinalPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserBet) GetIsSameEventOnly ¶
GetIsSameEventOnly returns the IsSameEventOnly field value
func (*TeaserBet) GetIsSameEventOnlyOk ¶
GetIsSameEventOnlyOk returns a tuple with the IsSameEventOnly field value and a boolean to check if the value has been set.
func (*TeaserBet) GetLegsOk ¶
GetLegsOk returns a tuple with the Legs field value and a boolean to check if the value has been set.
func (*TeaserBet) GetMaxPicks ¶
GetMaxPicks returns the MaxPicks field value
func (*TeaserBet) GetMaxPicksOk ¶
GetMaxPicksOk returns a tuple with the MaxPicks field value and a boolean to check if the value has been set.
func (*TeaserBet) GetMinPicks ¶
GetMinPicks returns the MinPicks field value
func (*TeaserBet) GetMinPicksOk ¶
GetMinPicksOk returns a tuple with the MinPicks field value and a boolean to check if the value has been set.
func (*TeaserBet) GetOddsFormat ¶
func (o *TeaserBet) GetOddsFormat() OddsFormat
GetOddsFormat returns the OddsFormat field value
func (*TeaserBet) GetOddsFormatOk ¶
func (o *TeaserBet) GetOddsFormatOk() (*OddsFormat, bool)
GetOddsFormatOk returns a tuple with the OddsFormat field value and a boolean to check if the value has been set.
func (*TeaserBet) GetPlacedAt ¶
GetPlacedAt returns the PlacedAt field value
func (*TeaserBet) GetPlacedAtOk ¶
GetPlacedAtOk returns a tuple with the PlacedAt field value and a boolean to check if the value has been set.
func (*TeaserBet) 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 (*TeaserBet) GetRiskOk ¶
GetRiskOk returns a tuple with the Risk field value and a boolean to check if the value has been set.
func (*TeaserBet) GetTeaserGroupId ¶
GetTeaserGroupId returns the TeaserGroupId field value if set, zero value otherwise.
func (*TeaserBet) GetTeaserGroupIdOk ¶
GetTeaserGroupIdOk returns a tuple with the TeaserGroupId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserBet) GetTeaserId ¶
GetTeaserId returns the TeaserId field value if set, zero value otherwise.
func (*TeaserBet) GetTeaserIdOk ¶
GetTeaserIdOk returns a tuple with the TeaserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserBet) GetTeaserName ¶
GetTeaserName returns the TeaserName field value
func (*TeaserBet) GetTeaserNameOk ¶
GetTeaserNameOk returns a tuple with the TeaserName field value and a boolean to check if the value has been set.
func (*TeaserBet) GetUniqueRequestId ¶
GetUniqueRequestId returns the UniqueRequestId field value if set, zero value otherwise.
func (*TeaserBet) GetUniqueRequestIdOk ¶
GetUniqueRequestIdOk returns a tuple with the UniqueRequestId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserBet) GetUpdateSequence ¶
GetUpdateSequence returns the UpdateSequence field value
func (*TeaserBet) GetUpdateSequenceOk ¶
GetUpdateSequenceOk returns a tuple with the UpdateSequence field value and a boolean to check if the value has been set.
func (*TeaserBet) GetWagerNumber ¶
GetWagerNumber returns the WagerNumber field value
func (*TeaserBet) GetWagerNumberOk ¶
GetWagerNumberOk returns a tuple with the WagerNumber field value and a boolean to check if the value has been set.
func (*TeaserBet) GetWinLoss ¶
GetWinLoss returns the WinLoss field value if set, zero value otherwise.
func (*TeaserBet) GetWinLossOk ¶
GetWinLossOk returns a tuple with the WinLoss field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserBet) GetWinOk ¶
GetWinOk returns a tuple with the Win field value and a boolean to check if the value has been set.
func (*TeaserBet) HasCancellationReason ¶
HasCancellationReason returns a boolean if a field has been set.
func (*TeaserBet) HasCustomerCommission ¶
HasCustomerCommission returns a boolean if a field has been set.
func (*TeaserBet) HasFinalPrice ¶
HasFinalPrice returns a boolean if a field has been set.
func (*TeaserBet) HasTeaserGroupId ¶
HasTeaserGroupId returns a boolean if a field has been set.
func (*TeaserBet) HasTeaserId ¶
HasTeaserId returns a boolean if a field has been set.
func (*TeaserBet) HasUniqueRequestId ¶
HasUniqueRequestId returns a boolean if a field has been set.
func (*TeaserBet) HasWinLoss ¶
HasWinLoss returns a boolean if a field has been set.
func (TeaserBet) MarshalJSON ¶
func (*TeaserBet) SetBetStatus ¶
SetBetStatus sets field value
func (*TeaserBet) SetCancellationReason ¶
func (o *TeaserBet) SetCancellationReason(v CancellationReason)
SetCancellationReason gets a reference to the given CancellationReason and assigns it to the CancellationReason field.
func (*TeaserBet) SetCustomerCommission ¶
SetCustomerCommission gets a reference to the given float64 and assigns it to the CustomerCommission field.
func (*TeaserBet) SetFinalPrice ¶
SetFinalPrice gets a reference to the given float64 and assigns it to the FinalPrice field.
func (*TeaserBet) SetIsSameEventOnly ¶
SetIsSameEventOnly sets field value
func (*TeaserBet) SetMaxPicks ¶
SetMaxPicks sets field value
func (*TeaserBet) SetMinPicks ¶
SetMinPicks sets field value
func (*TeaserBet) SetOddsFormat ¶
func (o *TeaserBet) SetOddsFormat(v OddsFormat)
SetOddsFormat sets field value
func (*TeaserBet) SetPlacedAt ¶
SetPlacedAt sets field value
func (*TeaserBet) SetPrice ¶
SetPrice gets a reference to the given float64 and assigns it to the Price field.
func (*TeaserBet) SetTeaserGroupId ¶
SetTeaserGroupId gets a reference to the given float32 and assigns it to the TeaserGroupId field.
func (*TeaserBet) SetTeaserId ¶
SetTeaserId gets a reference to the given float32 and assigns it to the TeaserId field.
func (*TeaserBet) SetTeaserName ¶
SetTeaserName sets field value
func (*TeaserBet) SetUniqueRequestId ¶
SetUniqueRequestId gets a reference to the given string and assigns it to the UniqueRequestId field.
func (*TeaserBet) SetUpdateSequence ¶
SetUpdateSequence sets field value
func (*TeaserBet) SetWagerNumber ¶
SetWagerNumber sets field value
func (*TeaserBet) SetWinLoss ¶
SetWinLoss gets a reference to the given float64 and assigns it to the WinLoss field.
type TeaserGroups ¶
type TeaserGroups struct { int64 `json:"id,omitempty"` Name *string `json:"name,omitempty"` Teasers *[]TeaserGroupsTeaser `json:"teasers,omitempty"` }Id *
TeaserGroups struct for TeaserGroups
func NewTeaserGroups ¶
func NewTeaserGroups() *TeaserGroups
NewTeaserGroups instantiates a new TeaserGroups 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 NewTeaserGroupsWithDefaults ¶
func NewTeaserGroupsWithDefaults() *TeaserGroups
NewTeaserGroupsWithDefaults instantiates a new TeaserGroups 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 (*TeaserGroups) GetId ¶
func (o *TeaserGroups) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*TeaserGroups) GetIdOk ¶
func (o *TeaserGroups) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserGroups) GetName ¶
func (o *TeaserGroups) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*TeaserGroups) GetNameOk ¶
func (o *TeaserGroups) GetNameOk() (*string, bool)
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 (*TeaserGroups) GetTeasers ¶
func (o *TeaserGroups) GetTeasers() []TeaserGroupsTeaser
GetTeasers returns the Teasers field value if set, zero value otherwise.
func (*TeaserGroups) GetTeasersOk ¶
func (o *TeaserGroups) GetTeasersOk() (*[]TeaserGroupsTeaser, bool)
GetTeasersOk returns a tuple with the Teasers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserGroups) HasId ¶
func (o *TeaserGroups) HasId() bool
HasId returns a boolean if a field has been set.
func (*TeaserGroups) HasName ¶
func (o *TeaserGroups) HasName() bool
HasName returns a boolean if a field has been set.
func (*TeaserGroups) HasTeasers ¶
func (o *TeaserGroups) HasTeasers() bool
HasTeasers returns a boolean if a field has been set.
func (TeaserGroups) MarshalJSON ¶
func (o TeaserGroups) MarshalJSON() ([]byte, error)
func (*TeaserGroups) SetId ¶
func (o *TeaserGroups) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*TeaserGroups) SetName ¶
func (o *TeaserGroups) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*TeaserGroups) SetTeasers ¶
func (o *TeaserGroups) SetTeasers(v []TeaserGroupsTeaser)
SetTeasers gets a reference to the given []TeaserGroupsTeaser and assigns it to the Teasers field.
type TeaserGroupsBetType ¶
type TeaserGroupsBetType struct { float64 `json:"points,omitempty"` }Points *
TeaserGroupsBetType struct for TeaserGroupsBetType
func NewTeaserGroupsBetType ¶
func NewTeaserGroupsBetType() *TeaserGroupsBetType
NewTeaserGroupsBetType instantiates a new TeaserGroupsBetType 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 NewTeaserGroupsBetTypeWithDefaults ¶
func NewTeaserGroupsBetTypeWithDefaults() *TeaserGroupsBetType
NewTeaserGroupsBetTypeWithDefaults instantiates a new TeaserGroupsBetType 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 (*TeaserGroupsBetType) GetPoints ¶
func (o *TeaserGroupsBetType) GetPoints() float64
GetPoints returns the Points field value if set, zero value otherwise.
func (*TeaserGroupsBetType) GetPointsOk ¶
func (o *TeaserGroupsBetType) GetPointsOk() (*float64, bool)
GetPointsOk returns a tuple with the Points field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserGroupsBetType) HasPoints ¶
func (o *TeaserGroupsBetType) HasPoints() bool
HasPoints returns a boolean if a field has been set.
func (TeaserGroupsBetType) MarshalJSON ¶
func (o TeaserGroupsBetType) MarshalJSON() ([]byte, error)
func (*TeaserGroupsBetType) SetPoints ¶
func (o *TeaserGroupsBetType) SetPoints(v float64)
SetPoints gets a reference to the given float64 and assigns it to the Points field.
type TeaserGroupsLeague ¶
type TeaserGroupsLeague struct { // Unique identifier. League details can be retrieved from a call to v2/leagues endpoint. }
TeaserGroupsLeague struct for TeaserGroupsLeague
func NewTeaserGroupsLeague ¶
func NewTeaserGroupsLeague() *TeaserGroupsLeague
NewTeaserGroupsLeague instantiates a new TeaserGroupsLeague 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 NewTeaserGroupsLeagueWithDefaults ¶
func NewTeaserGroupsLeagueWithDefaults() *TeaserGroupsLeague
NewTeaserGroupsLeagueWithDefaults instantiates a new TeaserGroupsLeague 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 (*TeaserGroupsLeague) GetId ¶
func (o *TeaserGroupsLeague) GetId() int
GetId returns the Id field value if set, zero value otherwise.
func (*TeaserGroupsLeague) GetIdOk ¶
func (o *TeaserGroupsLeague) GetIdOk() (*int, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserGroupsLeague) GetSpread ¶
func (o *TeaserGroupsLeague) GetSpread() TeaserGroupsBetType
GetSpread returns the Spread field value if set, zero value otherwise.
func (*TeaserGroupsLeague) GetSpreadOk ¶
func (o *TeaserGroupsLeague) GetSpreadOk() (*TeaserGroupsBetType, bool)
GetSpreadOk returns a tuple with the Spread field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserGroupsLeague) GetTotal ¶
func (o *TeaserGroupsLeague) GetTotal() TeaserGroupsBetType
GetTotal returns the Total field value if set, zero value otherwise.
func (*TeaserGroupsLeague) GetTotalOk ¶
func (o *TeaserGroupsLeague) GetTotalOk() (*TeaserGroupsBetType, bool)
GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserGroupsLeague) HasId ¶
func (o *TeaserGroupsLeague) HasId() bool
HasId returns a boolean if a field has been set.
func (*TeaserGroupsLeague) HasSpread ¶
func (o *TeaserGroupsLeague) HasSpread() bool
HasSpread returns a boolean if a field has been set.
func (*TeaserGroupsLeague) HasTotal ¶
func (o *TeaserGroupsLeague) HasTotal() bool
HasTotal returns a boolean if a field has been set.
func (TeaserGroupsLeague) MarshalJSON ¶
func (o TeaserGroupsLeague) MarshalJSON() ([]byte, error)
func (*TeaserGroupsLeague) SetId ¶
func (o *TeaserGroupsLeague) SetId(v int)
SetId gets a reference to the given int and assigns it to the Id field.
func (*TeaserGroupsLeague) SetSpread ¶
func (o *TeaserGroupsLeague) SetSpread(v TeaserGroupsBetType)
SetSpread gets a reference to the given TeaserGroupsBetType and assigns it to the Spread field.
func (*TeaserGroupsLeague) SetTotal ¶
func (o *TeaserGroupsLeague) SetTotal(v TeaserGroupsBetType)
SetTotal gets a reference to the given TeaserGroupsBetType and assigns it to the Total field.
type TeaserGroupsPayout ¶
type TeaserGroupsPayout struct { int `json:"numberOfLegs,omitempty"` Price *float64 `json:"price,omitempty"` }NumberOfLegs *
TeaserGroupsPayout struct for TeaserGroupsPayout
func NewTeaserGroupsPayout ¶
func NewTeaserGroupsPayout() *TeaserGroupsPayout
NewTeaserGroupsPayout instantiates a new TeaserGroupsPayout 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 NewTeaserGroupsPayoutWithDefaults ¶
func NewTeaserGroupsPayoutWithDefaults() *TeaserGroupsPayout
NewTeaserGroupsPayoutWithDefaults instantiates a new TeaserGroupsPayout 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 (*TeaserGroupsPayout) GetNumberOfLegs ¶
func (o *TeaserGroupsPayout) GetNumberOfLegs() int
GetNumberOfLegs returns the NumberOfLegs field value if set, zero value otherwise.
func (*TeaserGroupsPayout) GetNumberOfLegsOk ¶
func (o *TeaserGroupsPayout) GetNumberOfLegsOk() (*int, bool)
GetNumberOfLegsOk returns a tuple with the NumberOfLegs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserGroupsPayout) GetPrice ¶
func (o *TeaserGroupsPayout) GetPrice() float64
GetPrice returns the Price field value if set, zero value otherwise.
func (*TeaserGroupsPayout) GetPriceOk ¶
func (o *TeaserGroupsPayout) GetPriceOk() (*float64, bool)
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 (*TeaserGroupsPayout) HasNumberOfLegs ¶
func (o *TeaserGroupsPayout) HasNumberOfLegs() bool
HasNumberOfLegs returns a boolean if a field has been set.
func (*TeaserGroupsPayout) HasPrice ¶
func (o *TeaserGroupsPayout) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (TeaserGroupsPayout) MarshalJSON ¶
func (o TeaserGroupsPayout) MarshalJSON() ([]byte, error)
func (*TeaserGroupsPayout) SetNumberOfLegs ¶
func (o *TeaserGroupsPayout) SetNumberOfLegs(v int)
SetNumberOfLegs gets a reference to the given int and assigns it to the NumberOfLegs field.
func (*TeaserGroupsPayout) SetPrice ¶
func (o *TeaserGroupsPayout) SetPrice(v float64)
SetPrice gets a reference to the given float64 and assigns it to the Price field.
type TeaserGroupsResponse ¶
type TeaserGroupsResponse struct { TeaserGroups `json:"teaserGroups,omitempty"` }TeaserGroups *[]
TeaserGroupsResponse struct for TeaserGroupsResponse
func NewTeaserGroupsResponse ¶
func NewTeaserGroupsResponse() *TeaserGroupsResponse
NewTeaserGroupsResponse instantiates a new TeaserGroupsResponse 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 NewTeaserGroupsResponseWithDefaults ¶
func NewTeaserGroupsResponseWithDefaults() *TeaserGroupsResponse
NewTeaserGroupsResponseWithDefaults instantiates a new TeaserGroupsResponse 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 (*TeaserGroupsResponse) GetTeaserGroups ¶
func (o *TeaserGroupsResponse) GetTeaserGroups() []TeaserGroups
GetTeaserGroups returns the TeaserGroups field value if set, zero value otherwise.
func (*TeaserGroupsResponse) GetTeaserGroupsOk ¶
func (o *TeaserGroupsResponse) GetTeaserGroupsOk() (*[]TeaserGroups, bool)
GetTeaserGroupsOk returns a tuple with the TeaserGroups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserGroupsResponse) HasTeaserGroups ¶
func (o *TeaserGroupsResponse) HasTeaserGroups() bool
HasTeaserGroups returns a boolean if a field has been set.
func (TeaserGroupsResponse) MarshalJSON ¶
func (o TeaserGroupsResponse) MarshalJSON() ([]byte, error)
func (*TeaserGroupsResponse) SetTeaserGroups ¶
func (o *TeaserGroupsResponse) SetTeaserGroups(v []TeaserGroups)
SetTeaserGroups gets a reference to the given []TeaserGroups and assigns it to the TeaserGroups field.
type TeaserGroupsTeaser ¶
type TeaserGroupsTeaser struct { int64 `json:"id,omitempty"` Description *string `json:"description,omitempty"` SportId *int `json:"sportId,omitempty"` MinLegs *int `json:"minLegs,omitempty"` MaxLegs *int `json:"maxLegs,omitempty"` SameEventOnly *bool `json:"sameEventOnly,omitempty"` Payouts *[]TeaserGroupsPayout `json:"payouts,omitempty"` Leagues *[]TeaserGroupsLeague `json:"leagues,omitempty"` }Id *
TeaserGroupsTeaser struct for TeaserGroupsTeaser
func NewTeaserGroupsTeaser ¶
func NewTeaserGroupsTeaser() *TeaserGroupsTeaser
NewTeaserGroupsTeaser instantiates a new TeaserGroupsTeaser 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 NewTeaserGroupsTeaserWithDefaults ¶
func NewTeaserGroupsTeaserWithDefaults() *TeaserGroupsTeaser
NewTeaserGroupsTeaserWithDefaults instantiates a new TeaserGroupsTeaser 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 (*TeaserGroupsTeaser) GetDescription ¶
func (o *TeaserGroupsTeaser) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*TeaserGroupsTeaser) GetDescriptionOk ¶
func (o *TeaserGroupsTeaser) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserGroupsTeaser) GetId ¶
func (o *TeaserGroupsTeaser) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*TeaserGroupsTeaser) GetIdOk ¶
func (o *TeaserGroupsTeaser) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserGroupsTeaser) GetLeagues ¶
func (o *TeaserGroupsTeaser) GetLeagues() []TeaserGroupsLeague
GetLeagues returns the Leagues field value if set, zero value otherwise.
func (*TeaserGroupsTeaser) GetLeaguesOk ¶
func (o *TeaserGroupsTeaser) GetLeaguesOk() (*[]TeaserGroupsLeague, bool)
GetLeaguesOk returns a tuple with the Leagues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserGroupsTeaser) GetMaxLegs ¶
func (o *TeaserGroupsTeaser) GetMaxLegs() int
GetMaxLegs returns the MaxLegs field value if set, zero value otherwise.
func (*TeaserGroupsTeaser) GetMaxLegsOk ¶
func (o *TeaserGroupsTeaser) GetMaxLegsOk() (*int, bool)
GetMaxLegsOk returns a tuple with the MaxLegs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserGroupsTeaser) GetMinLegs ¶
func (o *TeaserGroupsTeaser) GetMinLegs() int
GetMinLegs returns the MinLegs field value if set, zero value otherwise.
func (*TeaserGroupsTeaser) GetMinLegsOk ¶
func (o *TeaserGroupsTeaser) GetMinLegsOk() (*int, bool)
GetMinLegsOk returns a tuple with the MinLegs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserGroupsTeaser) GetPayouts ¶
func (o *TeaserGroupsTeaser) GetPayouts() []TeaserGroupsPayout
GetPayouts returns the Payouts field value if set, zero value otherwise.
func (*TeaserGroupsTeaser) GetPayoutsOk ¶
func (o *TeaserGroupsTeaser) GetPayoutsOk() (*[]TeaserGroupsPayout, bool)
GetPayoutsOk returns a tuple with the Payouts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserGroupsTeaser) GetSameEventOnly ¶
func (o *TeaserGroupsTeaser) GetSameEventOnly() bool
GetSameEventOnly returns the SameEventOnly field value if set, zero value otherwise.
func (*TeaserGroupsTeaser) GetSameEventOnlyOk ¶
func (o *TeaserGroupsTeaser) GetSameEventOnlyOk() (*bool, bool)
GetSameEventOnlyOk returns a tuple with the SameEventOnly field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserGroupsTeaser) GetSportId ¶
func (o *TeaserGroupsTeaser) GetSportId() int
GetSportId returns the SportId field value if set, zero value otherwise.
func (*TeaserGroupsTeaser) GetSportIdOk ¶
func (o *TeaserGroupsTeaser) GetSportIdOk() (*int, bool)
GetSportIdOk returns a tuple with the SportId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserGroupsTeaser) HasDescription ¶
func (o *TeaserGroupsTeaser) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*TeaserGroupsTeaser) HasId ¶
func (o *TeaserGroupsTeaser) HasId() bool
HasId returns a boolean if a field has been set.
func (*TeaserGroupsTeaser) HasLeagues ¶
func (o *TeaserGroupsTeaser) HasLeagues() bool
HasLeagues returns a boolean if a field has been set.
func (*TeaserGroupsTeaser) HasMaxLegs ¶
func (o *TeaserGroupsTeaser) HasMaxLegs() bool
HasMaxLegs returns a boolean if a field has been set.
func (*TeaserGroupsTeaser) HasMinLegs ¶
func (o *TeaserGroupsTeaser) HasMinLegs() bool
HasMinLegs returns a boolean if a field has been set.
func (*TeaserGroupsTeaser) HasPayouts ¶
func (o *TeaserGroupsTeaser) HasPayouts() bool
HasPayouts returns a boolean if a field has been set.
func (*TeaserGroupsTeaser) HasSameEventOnly ¶
func (o *TeaserGroupsTeaser) HasSameEventOnly() bool
HasSameEventOnly returns a boolean if a field has been set.
func (*TeaserGroupsTeaser) HasSportId ¶
func (o *TeaserGroupsTeaser) HasSportId() bool
HasSportId returns a boolean if a field has been set.
func (TeaserGroupsTeaser) MarshalJSON ¶
func (o TeaserGroupsTeaser) MarshalJSON() ([]byte, error)
func (*TeaserGroupsTeaser) SetDescription ¶
func (o *TeaserGroupsTeaser) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*TeaserGroupsTeaser) SetId ¶
func (o *TeaserGroupsTeaser) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*TeaserGroupsTeaser) SetLeagues ¶
func (o *TeaserGroupsTeaser) SetLeagues(v []TeaserGroupsLeague)
SetLeagues gets a reference to the given []TeaserGroupsLeague and assigns it to the Leagues field.
func (*TeaserGroupsTeaser) SetMaxLegs ¶
func (o *TeaserGroupsTeaser) SetMaxLegs(v int)
SetMaxLegs gets a reference to the given int and assigns it to the MaxLegs field.
func (*TeaserGroupsTeaser) SetMinLegs ¶
func (o *TeaserGroupsTeaser) SetMinLegs(v int)
SetMinLegs gets a reference to the given int and assigns it to the MinLegs field.
func (*TeaserGroupsTeaser) SetPayouts ¶
func (o *TeaserGroupsTeaser) SetPayouts(v []TeaserGroupsPayout)
SetPayouts gets a reference to the given []TeaserGroupsPayout and assigns it to the Payouts field.
func (*TeaserGroupsTeaser) SetSameEventOnly ¶
func (o *TeaserGroupsTeaser) SetSameEventOnly(v bool)
SetSameEventOnly gets a reference to the given bool and assigns it to the SameEventOnly field.
func (*TeaserGroupsTeaser) SetSportId ¶
func (o *TeaserGroupsTeaser) SetSportId(v int)
SetSportId gets a reference to the given int and assigns it to the SportId field.
type TeaserLeg ¶
type TeaserLeg struct { string `json:"legBetType,omitempty"` // CANCELLED = The leg is canceled- the stake on this leg will be transferred to the next one. In this case the leg will be ignored when calculating the winLoss, LOSE = The leg is a loss or a push-lose. When Push-lose happens, the half of the stake on the leg will be pushed to the next leg, and the other half will be a lose. This can happen only when the leg is placed on a quarter points handicap, PUSH = The leg is a push - the stake on this leg will be transferred to the next one. In this case the leg will be ignored when calculating the winLoss, REFUNDED = The leg is refunded - the stake on this leg will be transferred to the next one. In this case the leg will be ignored when calculating the winLoss, WON = The leg is a won or a push-won. When Push-won happens, the half of the stake on the leg will be pushed to the next leg, and the other half is won. This can happen only when the leg is placed on a quarter points handicap // Date time when the event starts. // Side type. }LegBetType *
TeaserLeg struct for TeaserLeg
func NewTeaserLeg ¶
func NewTeaserLeg() *TeaserLeg
NewTeaserLeg instantiates a new TeaserLeg 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 NewTeaserLegWithDefaults ¶
func NewTeaserLegWithDefaults() *TeaserLeg
NewTeaserLegWithDefaults instantiates a new TeaserLeg 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 (*TeaserLeg) GetEventId ¶
GetEventId returns the EventId field value if set, zero value otherwise.
func (*TeaserLeg) 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 (*TeaserLeg) GetEventStartTime ¶
GetEventStartTime returns the EventStartTime field value if set, zero value otherwise.
func (*TeaserLeg) GetEventStartTimeOk ¶
GetEventStartTimeOk returns a tuple with the EventStartTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserLeg) GetHandicap ¶
GetHandicap returns the Handicap field value if set, zero value otherwise.
func (*TeaserLeg) GetHandicapOk ¶
GetHandicapOk returns a tuple with the Handicap field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserLeg) GetLeagueId ¶
GetLeagueId returns the LeagueId field value if set, zero value otherwise.
func (*TeaserLeg) GetLeagueIdOk ¶
GetLeagueIdOk returns a tuple with the LeagueId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserLeg) GetLegBetStatus ¶
GetLegBetStatus returns the LegBetStatus field value if set, zero value otherwise.
func (*TeaserLeg) GetLegBetStatusOk ¶
GetLegBetStatusOk returns a tuple with the LegBetStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserLeg) GetLegBetType ¶
GetLegBetType returns the LegBetType field value if set, zero value otherwise.
func (*TeaserLeg) GetLegBetTypeOk ¶
GetLegBetTypeOk returns a tuple with the LegBetType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserLeg) GetPeriodNumber ¶
GetPeriodNumber returns the PeriodNumber field value if set, zero value otherwise.
func (*TeaserLeg) GetPeriodNumberOk ¶
GetPeriodNumberOk returns a tuple with the PeriodNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserLeg) GetSideOk ¶
GetSideOk returns a tuple with the Side field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserLeg) GetSportId ¶
GetSportId returns the SportId field value if set, zero value otherwise.
func (*TeaserLeg) GetSportIdOk ¶
GetSportIdOk returns a tuple with the SportId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserLeg) GetTeam1Ok ¶
GetTeam1Ok returns a tuple with the Team1 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserLeg) GetTeam2Ok ¶
GetTeam2Ok returns a tuple with the Team2 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserLeg) GetTeamName ¶
GetTeamName returns the TeamName field value if set, zero value otherwise.
func (*TeaserLeg) GetTeamNameOk ¶
GetTeamNameOk returns a tuple with the TeamName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeaserLeg) HasEventId ¶
HasEventId returns a boolean if a field has been set.
func (*TeaserLeg) HasEventStartTime ¶
HasEventStartTime returns a boolean if a field has been set.
func (*TeaserLeg) HasHandicap ¶
HasHandicap returns a boolean if a field has been set.
func (*TeaserLeg) HasLeagueId ¶
HasLeagueId returns a boolean if a field has been set.
func (*TeaserLeg) HasLegBetStatus ¶
HasLegBetStatus returns a boolean if a field has been set.
func (*TeaserLeg) HasLegBetType ¶
HasLegBetType returns a boolean if a field has been set.
func (*TeaserLeg) HasPeriodNumber ¶
HasPeriodNumber returns a boolean if a field has been set.
func (*TeaserLeg) HasSportId ¶
HasSportId returns a boolean if a field has been set.
func (*TeaserLeg) HasTeamName ¶
HasTeamName returns a boolean if a field has been set.
func (TeaserLeg) MarshalJSON ¶
func (*TeaserLeg) SetEventId ¶
SetEventId gets a reference to the given int64 and assigns it to the EventId field.
func (*TeaserLeg) SetEventStartTime ¶
SetEventStartTime gets a reference to the given time.Time and assigns it to the EventStartTime field.
func (*TeaserLeg) SetHandicap ¶
SetHandicap gets a reference to the given float64 and assigns it to the Handicap field.
func (*TeaserLeg) SetLeagueId ¶
SetLeagueId gets a reference to the given int and assigns it to the LeagueId field.
func (*TeaserLeg) SetLegBetStatus ¶
SetLegBetStatus gets a reference to the given string and assigns it to the LegBetStatus field.
func (*TeaserLeg) SetLegBetType ¶
SetLegBetType gets a reference to the given string and assigns it to the LegBetType field.
func (*TeaserLeg) SetPeriodNumber ¶
SetPeriodNumber gets a reference to the given int and assigns it to the PeriodNumber field.
func (*TeaserLeg) SetSide ¶
SetSide gets a reference to the given string and assigns it to the Side field.
func (*TeaserLeg) SetSportId ¶
SetSportId gets a reference to the given int and assigns it to the SportId field.
func (*TeaserLeg) SetTeam1 ¶
SetTeam1 gets a reference to the given string and assigns it to the Team1 field.
func (*TeaserLeg) SetTeam2 ¶
SetTeam2 gets a reference to the given string and assigns it to the Team2 field.
func (*TeaserLeg) SetTeamName ¶
SetTeamName gets a reference to the given string and assigns it to the TeamName field.
type Translation ¶
type Translation struct { // Original requested text to be translated. Text *string `json:"text,omitempty"` // Collection of translations by culture. Cultures *[]TranslationByCulture `json:"cultures,omitempty"` }
Translation struct for Translation
func NewTranslation ¶
func NewTranslation() *Translation
NewTranslation instantiates a new Translation 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 NewTranslationWithDefaults ¶
func NewTranslationWithDefaults() *Translation
NewTranslationWithDefaults instantiates a new Translation 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 (*Translation) GetCultures ¶
func (o *Translation) GetCultures() []TranslationByCulture
GetCultures returns the Cultures field value if set, zero value otherwise.
func (*Translation) GetCulturesOk ¶
func (o *Translation) GetCulturesOk() (*[]TranslationByCulture, bool)
GetCulturesOk returns a tuple with the Cultures field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Translation) GetText ¶
func (o *Translation) GetText() string
GetText returns the Text field value if set, zero value otherwise.
func (*Translation) GetTextOk ¶
func (o *Translation) GetTextOk() (*string, bool)
GetTextOk returns a tuple with the Text field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Translation) HasCultures ¶
func (o *Translation) HasCultures() bool
HasCultures returns a boolean if a field has been set.
func (*Translation) HasText ¶
func (o *Translation) HasText() bool
HasText returns a boolean if a field has been set.
func (Translation) MarshalJSON ¶
func (o Translation) MarshalJSON() ([]byte, error)
func (*Translation) SetCultures ¶
func (o *Translation) SetCultures(v []TranslationByCulture)
SetCultures gets a reference to the given []TranslationByCulture and assigns it to the Cultures field.
func (*Translation) SetText ¶
func (o *Translation) SetText(v string)
SetText gets a reference to the given string and assigns it to the Text field.
type TranslationByCulture ¶
type TranslationByCulture struct { // Culture based on which the text is translated. Id *string `json:"id,omitempty"` // Translation text. Text *string `json:"text,omitempty"` }
TranslationByCulture struct for TranslationByCulture
func NewTranslationByCulture ¶
func NewTranslationByCulture() *TranslationByCulture
NewTranslationByCulture instantiates a new TranslationByCulture 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 NewTranslationByCultureWithDefaults ¶
func NewTranslationByCultureWithDefaults() *TranslationByCulture
NewTranslationByCultureWithDefaults instantiates a new TranslationByCulture 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 (*TranslationByCulture) GetId ¶
func (o *TranslationByCulture) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*TranslationByCulture) GetIdOk ¶
func (o *TranslationByCulture) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TranslationByCulture) GetText ¶
func (o *TranslationByCulture) GetText() string
GetText returns the Text field value if set, zero value otherwise.
func (*TranslationByCulture) GetTextOk ¶
func (o *TranslationByCulture) GetTextOk() (*string, bool)
GetTextOk returns a tuple with the Text field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TranslationByCulture) HasId ¶
func (o *TranslationByCulture) HasId() bool
HasId returns a boolean if a field has been set.
func (*TranslationByCulture) HasText ¶
func (o *TranslationByCulture) HasText() bool
HasText returns a boolean if a field has been set.
func (TranslationByCulture) MarshalJSON ¶
func (o TranslationByCulture) MarshalJSON() ([]byte, error)
func (*TranslationByCulture) SetId ¶
func (o *TranslationByCulture) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*TranslationByCulture) SetText ¶
func (o *TranslationByCulture) SetText(v string)
SetText gets a reference to the given string and assigns it to the Text field.
type TranslationResponse ¶
type TranslationResponse struct { // Collection of translations. Translations *[]Translation `json:"translations,omitempty"` }
TranslationResponse struct for TranslationResponse
func NewTranslationResponse ¶
func NewTranslationResponse() *TranslationResponse
NewTranslationResponse instantiates a new TranslationResponse 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 NewTranslationResponseWithDefaults ¶
func NewTranslationResponseWithDefaults() *TranslationResponse
NewTranslationResponseWithDefaults instantiates a new TranslationResponse 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 (*TranslationResponse) GetTranslations ¶
func (o *TranslationResponse) GetTranslations() []Translation
GetTranslations returns the Translations field value if set, zero value otherwise.
func (*TranslationResponse) GetTranslationsOk ¶
func (o *TranslationResponse) GetTranslationsOk() (*[]Translation, bool)
GetTranslationsOk returns a tuple with the Translations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TranslationResponse) HasTranslations ¶
func (o *TranslationResponse) HasTranslations() bool
HasTranslations returns a boolean if a field has been set.
func (TranslationResponse) MarshalJSON ¶
func (o TranslationResponse) MarshalJSON() ([]byte, error)
func (*TranslationResponse) SetTranslations ¶
func (o *TranslationResponse) SetTranslations(v []Translation)
SetTranslations gets a reference to the given []Translation and assigns it to the Translations field.
type WinRiskStake ¶
type WinRiskStake string
WinRiskStake Whether the stake amount is risk or win amount.
const ( WIN WinRiskStake = "WIN" RISK WinRiskStake = "RISK" )
List of WinRiskStake
func (WinRiskStake) Ptr ¶
func (v WinRiskStake) Ptr() *WinRiskStake
Ptr returns reference to WinRiskStake value
Source Files
¶
- api_betting_status.go
- api_client_balance.go
- api_fixtures.go
- api_get_bets.go
- api_get_translations.go
- api_line.go
- api_odds.go
- api_others.go
- api_place_bets.go
- client.go
- configuration.go
- model_betting_status_response.go
- model_cancellation_details_item.go
- model_cancellation_reason.go
- model_cancellation_reason_details_type.go
- model_cancellation_reason_response.go
- model_cancellation_reason_type.go
- model_client_balance_response.go
- model_currency.go
- model_error_code.go
- model_error_response.go
- model_error_response_with_error_ref.go
- model_extended_error_response.go
- model_extended_lines_error_response.go
- model_fill_type.go
- model_fixture.go
- model_fixtures_league.go
- model_fixtures_response.go
- model_get_bets_by_type_response_v3.go
- model_in_running_event.go
- model_in_running_league.go
- model_in_running_response.go
- model_in_running_sport.go
- model_league.go
- model_leagues.go
- model_line_response.go
- model_lines_error_response.go
- model_manual_bet.go
- model_multi_bet_request_special_bet_request.go
- model_multi_bet_response_special_bet_response.go
- model_odds_event.go
- model_odds_format.go
- model_odds_league.go
- model_odds_moneyline.go
- model_odds_period.go
- model_odds_response.go
- model_odds_spread.go
- model_odds_team_total.go
- model_odds_team_totals.go
- model_odds_total.go
- model_parlay_bet.go
- model_parlay_leg.go
- model_period.go
- model_place_bet_request.go
- model_place_bet_response_v2.go
- model_settled_fixtures_event.go
- model_settled_fixtures_league.go
- model_settled_fixtures_period.go
- model_settled_fixtures_sport.go
- model_settled_special.go
- model_settled_specials_league.go
- model_settled_specials_response.go
- model_special_bet.go
- model_special_bet_request.go
- model_special_bet_response.go
- model_special_fixture.go
- model_special_line_response.go
- model_special_odds_contestant_line.go
- model_special_odds_league.go
- model_special_odds_response.go
- model_special_odds_special.go
- model_specials_fixtures_contestant.go
- model_specials_fixtures_event.go
- model_specials_fixtures_league.go
- model_specials_fixtures_response.go
- model_sport.go
- model_sport_period.go
- model_sports_response.go
- model_status.go
- model_straight_bet_v3.go
- model_successful_currencies_response.go
- model_teaser_bet.go
- model_teaser_groups.go
- model_teaser_groups_bet_type.go
- model_teaser_groups_league.go
- model_teaser_groups_payout.go
- model_teaser_groups_response.go
- model_teaser_groups_teaser.go
- model_teaser_leg.go
- model_translation.go
- model_translation_by_culture.go
- model_translation_response.go
- model_win_risk_stake.go
- response.go
- utils.go