pinapi

package
v0.0.0-...-7d0a2b6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2021 License: Apache-2.0 Imports: 22 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given integer value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time 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

type APIKey struct {
	Key    string
	Prefix string
}

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

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

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

GetDetails returns the Details field value if set, zero value otherwise.

func (*CancellationReasonType) GetDetailsOk

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

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) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

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) GetCode

func (o *Currency) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*Currency) GetCodeOk

func (o *Currency) 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 (*Currency) GetName

func (o *Currency) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Currency) GetNameOk

func (o *Currency) 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 (*Currency) GetRate

func (o *Currency) GetRate() float64

GetRate returns the Rate field value if set, zero value otherwise.

func (*Currency) GetRateOk

func (o *Currency) GetRateOk() (*float64, bool)

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) HasCode

func (o *Currency) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Currency) HasName

func (o *Currency) HasName() bool

HasName returns a boolean if a field has been set.

func (*Currency) HasRate

func (o *Currency) HasRate() bool

HasRate returns a boolean if a field has been set.

func (Currency) MarshalJSON

func (o Currency) MarshalJSON() ([]byte, error)

func (*Currency) SetCode

func (o *Currency) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*Currency) SetName

func (o *Currency) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Currency) SetRate

func (o *Currency) SetRate(v float64)

SetRate gets a reference to the given float64 and assigns it to the Rate 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

func (ErrorCode) Ptr

func (v ErrorCode) Ptr() *ErrorCode

Ptr returns reference to ErrorCode value

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

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

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'

const (
	NORMAL       FillType = "NORMAL"
	FILLANDKILL  FillType = "FILLANDKILL"
	FILLMAXLIMIT FillType = "FILLMAXLIMIT"
)

List of FillType

func (FillType) Ptr

func (v FillType) Ptr() *FillType

Ptr returns reference to FillType value

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"`
	// Whether an event is offer with alternative teaser points. Events with alternative teaser points may vary from teaser definition.
	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

func (o *Fixture) GetAltTeaser() bool

GetAltTeaser returns the AltTeaser field value if set, zero value otherwise.

func (*Fixture) GetAltTeaserOk

func (o *Fixture) GetAltTeaserOk() (*bool, bool)

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) GetAway

func (o *Fixture) GetAway() string

GetAway returns the Away field value if set, zero value otherwise.

func (*Fixture) GetAwayOk

func (o *Fixture) 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 (*Fixture) GetAwayPitcher

func (o *Fixture) GetAwayPitcher() string

GetAwayPitcher returns the AwayPitcher field value if set, zero value otherwise.

func (*Fixture) GetAwayPitcherOk

func (o *Fixture) GetAwayPitcherOk() (*string, bool)

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) GetHome

func (o *Fixture) GetHome() string

GetHome returns the Home field value if set, zero value otherwise.

func (*Fixture) GetHomeOk

func (o *Fixture) 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 (*Fixture) GetHomePitcher

func (o *Fixture) GetHomePitcher() string

GetHomePitcher returns the HomePitcher field value if set, zero value otherwise.

func (*Fixture) GetHomePitcherOk

func (o *Fixture) GetHomePitcherOk() (*string, bool)

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) GetId

func (o *Fixture) GetId() int64

GetId returns the Id field value if set, zero value otherwise.

func (*Fixture) GetIdOk

func (o *Fixture) 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 (*Fixture) GetLiveStatus

func (o *Fixture) GetLiveStatus() int

GetLiveStatus returns the LiveStatus field value if set, zero value otherwise.

func (*Fixture) GetLiveStatusOk

func (o *Fixture) 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 (*Fixture) GetParentId

func (o *Fixture) GetParentId() int64

GetParentId returns the ParentId field value if set, zero value otherwise.

func (*Fixture) GetParentIdOk

func (o *Fixture) GetParentIdOk() (*int64, bool)

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

func (o *Fixture) GetParlayRestriction() int

GetParlayRestriction returns the ParlayRestriction field value if set, zero value otherwise.

func (*Fixture) GetParlayRestrictionOk

func (o *Fixture) GetParlayRestrictionOk() (*int, bool)

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

func (o *Fixture) GetResultingUnit() string

GetResultingUnit returns the ResultingUnit field value if set, zero value otherwise.

func (*Fixture) GetResultingUnitOk

func (o *Fixture) GetResultingUnitOk() (*string, bool)

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) GetRotNum

func (o *Fixture) GetRotNum() string

GetRotNum returns the RotNum field value if set, zero value otherwise.

func (*Fixture) GetRotNumOk

func (o *Fixture) GetRotNumOk() (*string, 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 (*Fixture) GetStarts

func (o *Fixture) GetStarts() time.Time

GetStarts returns the Starts field value if set, zero value otherwise.

func (*Fixture) GetStartsOk

func (o *Fixture) GetStartsOk() (*time.Time, bool)

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) GetStatus

func (o *Fixture) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*Fixture) GetStatusOk

func (o *Fixture) 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 (*Fixture) HasAltTeaser

func (o *Fixture) HasAltTeaser() bool

HasAltTeaser returns a boolean if a field has been set.

func (*Fixture) HasAway

func (o *Fixture) HasAway() bool

HasAway returns a boolean if a field has been set.

func (*Fixture) HasAwayPitcher

func (o *Fixture) HasAwayPitcher() bool

HasAwayPitcher returns a boolean if a field has been set.

func (*Fixture) HasHome

func (o *Fixture) HasHome() bool

HasHome returns a boolean if a field has been set.

func (*Fixture) HasHomePitcher

func (o *Fixture) HasHomePitcher() bool

HasHomePitcher returns a boolean if a field has been set.

func (*Fixture) HasId

func (o *Fixture) HasId() bool

HasId returns a boolean if a field has been set.

func (*Fixture) HasLiveStatus

func (o *Fixture) HasLiveStatus() bool

HasLiveStatus returns a boolean if a field has been set.

func (*Fixture) HasParentId

func (o *Fixture) HasParentId() bool

HasParentId returns a boolean if a field has been set.

func (*Fixture) HasParlayRestriction

func (o *Fixture) HasParlayRestriction() bool

HasParlayRestriction returns a boolean if a field has been set.

func (*Fixture) HasResultingUnit

func (o *Fixture) HasResultingUnit() bool

HasResultingUnit returns a boolean if a field has been set.

func (*Fixture) HasRotNum

func (o *Fixture) HasRotNum() bool

HasRotNum returns a boolean if a field has been set.

func (*Fixture) HasStarts

func (o *Fixture) HasStarts() bool

HasStarts returns a boolean if a field has been set.

func (*Fixture) HasStatus

func (o *Fixture) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (Fixture) MarshalJSON

func (o Fixture) MarshalJSON() ([]byte, error)

func (*Fixture) SetAltTeaser

func (o *Fixture) SetAltTeaser(v bool)

SetAltTeaser gets a reference to the given bool and assigns it to the AltTeaser field.

func (*Fixture) SetAway

func (o *Fixture) SetAway(v string)

SetAway gets a reference to the given string and assigns it to the Away field.

func (*Fixture) SetAwayPitcher

func (o *Fixture) SetAwayPitcher(v string)

SetAwayPitcher gets a reference to the given string and assigns it to the AwayPitcher field.

func (*Fixture) SetHome

func (o *Fixture) SetHome(v string)

SetHome gets a reference to the given string and assigns it to the Home field.

func (*Fixture) SetHomePitcher

func (o *Fixture) SetHomePitcher(v string)

SetHomePitcher gets a reference to the given string and assigns it to the HomePitcher field.

func (*Fixture) SetId

func (o *Fixture) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*Fixture) SetLiveStatus

func (o *Fixture) SetLiveStatus(v int)

SetLiveStatus gets a reference to the given int and assigns it to the LiveStatus field.

func (*Fixture) SetParentId

func (o *Fixture) SetParentId(v int64)

SetParentId gets a reference to the given int64 and assigns it to the ParentId field.

func (*Fixture) SetParlayRestriction

func (o *Fixture) SetParlayRestriction(v int)

SetParlayRestriction gets a reference to the given int and assigns it to the ParlayRestriction field.

func (*Fixture) SetResultingUnit

func (o *Fixture) SetResultingUnit(v string)

SetResultingUnit gets a reference to the given string and assigns it to the ResultingUnit field.

func (*Fixture) SetRotNum

func (o *Fixture) SetRotNum(v string)

SetRotNum gets a reference to the given string and assigns it to the RotNum field.

func (*Fixture) SetStarts

func (o *Fixture) SetStarts(v time.Time)

SetStarts gets a reference to the given time.Time and assigns it to the Starts field.

func (*Fixture) SetStatus

func (o *Fixture) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status 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"`
	// A collection of placed teaser bets.
	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

func (o *League) GetAllowRoundRobins() bool

GetAllowRoundRobins returns the AllowRoundRobins field value if set, zero value otherwise.

func (*League) GetAllowRoundRobinsOk

func (o *League) GetAllowRoundRobinsOk() (*bool, bool)

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

func (o *League) GetContainer() string

GetContainer returns the Container field value if set, zero value otherwise.

func (*League) GetContainerOk

func (o *League) GetContainerOk() (*string, bool)

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

func (o *League) GetEventCount() int

GetEventCount returns the EventCount field value if set, zero value otherwise.

func (*League) GetEventCountOk

func (o *League) GetEventCountOk() (*int, bool)

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

func (o *League) GetEventSpecialsCount() int

GetEventSpecialsCount returns the EventSpecialsCount field value if set, zero value otherwise.

func (*League) GetEventSpecialsCountOk

func (o *League) GetEventSpecialsCountOk() (*int, bool)

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

func (o *League) GetHasOfferings() bool

GetHasOfferings returns the HasOfferings field value if set, zero value otherwise.

func (*League) GetHasOfferingsOk

func (o *League) GetHasOfferingsOk() (*bool, bool)

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

func (o *League) GetHomeTeamType() string

GetHomeTeamType returns the HomeTeamType field value if set, zero value otherwise.

func (*League) GetHomeTeamTypeOk

func (o *League) GetHomeTeamTypeOk() (*string, bool)

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) GetId

func (o *League) GetId() int

GetId returns the Id field value if set, zero value otherwise.

func (*League) GetIdOk

func (o *League) 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 (*League) GetLeagueSpecialsCount

func (o *League) GetLeagueSpecialsCount() int

GetLeagueSpecialsCount returns the LeagueSpecialsCount field value if set, zero value otherwise.

func (*League) GetLeagueSpecialsCountOk

func (o *League) GetLeagueSpecialsCountOk() (*int, bool)

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) GetName

func (o *League) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*League) GetNameOk

func (o *League) 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 (*League) HasAllowRoundRobins

func (o *League) HasAllowRoundRobins() bool

HasAllowRoundRobins returns a boolean if a field has been set.

func (*League) HasContainer

func (o *League) HasContainer() bool

HasContainer returns a boolean if a field has been set.

func (*League) HasEventCount

func (o *League) HasEventCount() bool

HasEventCount returns a boolean if a field has been set.

func (*League) HasEventSpecialsCount

func (o *League) HasEventSpecialsCount() bool

HasEventSpecialsCount returns a boolean if a field has been set.

func (*League) HasHasOfferings

func (o *League) HasHasOfferings() bool

HasHasOfferings returns a boolean if a field has been set.

func (*League) HasHomeTeamType

func (o *League) HasHomeTeamType() bool

HasHomeTeamType returns a boolean if a field has been set.

func (*League) HasId

func (o *League) HasId() bool

HasId returns a boolean if a field has been set.

func (*League) HasLeagueSpecialsCount

func (o *League) HasLeagueSpecialsCount() bool

HasLeagueSpecialsCount returns a boolean if a field has been set.

func (*League) HasName

func (o *League) HasName() bool

HasName returns a boolean if a field has been set.

func (League) MarshalJSON

func (o League) MarshalJSON() ([]byte, error)

func (*League) SetAllowRoundRobins

func (o *League) SetAllowRoundRobins(v bool)

SetAllowRoundRobins gets a reference to the given bool and assigns it to the AllowRoundRobins field.

func (*League) SetContainer

func (o *League) SetContainer(v string)

SetContainer gets a reference to the given string and assigns it to the Container field.

func (*League) SetEventCount

func (o *League) SetEventCount(v int)

SetEventCount gets a reference to the given int and assigns it to the EventCount field.

func (*League) SetEventSpecialsCount

func (o *League) SetEventSpecialsCount(v int)

SetEventSpecialsCount gets a reference to the given int and assigns it to the EventSpecialsCount field.

func (*League) SetHasOfferings

func (o *League) SetHasOfferings(v bool)

SetHasOfferings gets a reference to the given bool and assigns it to the HasOfferings field.

func (*League) SetHomeTeamType

func (o *League) SetHomeTeamType(v string)

SetHomeTeamType gets a reference to the given string and assigns it to the HomeTeamType field.

func (*League) SetId

func (o *League) SetId(v int)

SetId gets a reference to the given int and assigns it to the Id field.

func (*League) SetLeagueSpecialsCount

func (o *League) SetLeagueSpecialsCount(v int)

SetLeagueSpecialsCount gets a reference to the given int and assigns it to the LeagueSpecialsCount field.

func (*League) SetName

func (o *League) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name 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

func (o *Leagues) GetLeagues() []League

GetLeagues returns the Leagues field value if set, zero value otherwise.

func (*Leagues) GetLeaguesOk

func (o *Leagues) GetLeaguesOk() (*[]League, 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 (*Leagues) HasLeagues

func (o *Leagues) HasLeagues() bool

HasLeagues returns a boolean if a field has been set.

func (Leagues) MarshalJSON

func (o Leagues) MarshalJSON() ([]byte, error)

func (*Leagues) SetLeagues

func (o *Leagues) SetLeagues(v []League)

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) GetBetId

func (o *ManualBet) GetBetId() int64

GetBetId returns the BetId field value

func (*ManualBet) GetBetIdOk

func (o *ManualBet) GetBetIdOk() (*int64, bool)

GetBetIdOk returns a tuple with the BetId field value and a boolean to check if the value has been set.

func (*ManualBet) GetBetStatus

func (o *ManualBet) GetBetStatus() string

GetBetStatus returns the BetStatus field value

func (*ManualBet) GetBetStatusOk

func (o *ManualBet) GetBetStatusOk() (*string, bool)

GetBetStatusOk returns a tuple with the BetStatus field value and a boolean to check if the value has been set.

func (*ManualBet) GetBetType

func (o *ManualBet) GetBetType() string

GetBetType returns the BetType field value

func (*ManualBet) GetBetTypeOk

func (o *ManualBet) GetBetTypeOk() (*string, bool)

GetBetTypeOk returns a tuple with the BetType field value and a boolean to check if the value has been set.

func (*ManualBet) GetDescription

func (o *ManualBet) GetDescription() string

GetDescription returns the Description field value

func (*ManualBet) GetDescriptionOk

func (o *ManualBet) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*ManualBet) GetPlacedAt

func (o *ManualBet) GetPlacedAt() time.Time

GetPlacedAt returns the PlacedAt field value

func (*ManualBet) GetPlacedAtOk

func (o *ManualBet) 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 (*ManualBet) GetReferenceBetId

func (o *ManualBet) GetReferenceBetId() int64

GetReferenceBetId returns the ReferenceBetId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ManualBet) GetReferenceBetIdOk

func (o *ManualBet) GetReferenceBetIdOk() (*int64, bool)

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) GetRisk

func (o *ManualBet) GetRisk() float64

GetRisk returns the Risk field value

func (*ManualBet) GetRiskOk

func (o *ManualBet) GetRiskOk() (*float64, bool)

GetRiskOk returns a tuple with the Risk field value and a boolean to check if the value has been set.

func (*ManualBet) GetUpdateSequence

func (o *ManualBet) GetUpdateSequence() int64

GetUpdateSequence returns the UpdateSequence field value

func (*ManualBet) GetUpdateSequenceOk

func (o *ManualBet) GetUpdateSequenceOk() (*int64, bool)

GetUpdateSequenceOk returns a tuple with the UpdateSequence field value and a boolean to check if the value has been set.

func (*ManualBet) GetWagerNumber

func (o *ManualBet) GetWagerNumber() int

GetWagerNumber returns the WagerNumber field value

func (*ManualBet) GetWagerNumberOk

func (o *ManualBet) GetWagerNumberOk() (*int, bool)

GetWagerNumberOk returns a tuple with the WagerNumber field value and a boolean to check if the value has been set.

func (*ManualBet) GetWin

func (o *ManualBet) GetWin() float64

GetWin returns the Win field value

func (*ManualBet) GetWinLoss

func (o *ManualBet) GetWinLoss() float64

GetWinLoss returns the WinLoss field value if set, zero value otherwise.

func (*ManualBet) GetWinLossOk

func (o *ManualBet) 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 (*ManualBet) GetWinOk

func (o *ManualBet) GetWinOk() (*float64, bool)

GetWinOk returns a tuple with the Win field value and a boolean to check if the value has been set.

func (*ManualBet) HasReferenceBetId

func (o *ManualBet) HasReferenceBetId() bool

HasReferenceBetId returns a boolean if a field has been set.

func (*ManualBet) HasWinLoss

func (o *ManualBet) HasWinLoss() bool

HasWinLoss returns a boolean if a field has been set.

func (ManualBet) MarshalJSON

func (o ManualBet) MarshalJSON() ([]byte, error)

func (*ManualBet) SetBetId

func (o *ManualBet) SetBetId(v int64)

SetBetId sets field value

func (*ManualBet) SetBetStatus

func (o *ManualBet) SetBetStatus(v string)

SetBetStatus sets field value

func (*ManualBet) SetBetType

func (o *ManualBet) SetBetType(v string)

SetBetType sets field value

func (*ManualBet) SetDescription

func (o *ManualBet) SetDescription(v string)

SetDescription sets field value

func (*ManualBet) SetPlacedAt

func (o *ManualBet) SetPlacedAt(v time.Time)

SetPlacedAt sets field value

func (*ManualBet) SetReferenceBetId

func (o *ManualBet) SetReferenceBetId(v int64)

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) SetRisk

func (o *ManualBet) SetRisk(v float64)

SetRisk sets field value

func (*ManualBet) SetUpdateSequence

func (o *ManualBet) SetUpdateSequence(v int64)

SetUpdateSequence sets field value

func (*ManualBet) SetWagerNumber

func (o *ManualBet) SetWagerNumber(v int)

SetWagerNumber sets field value

func (*ManualBet) SetWin

func (o *ManualBet) SetWin(v float64)

SetWin sets field value

func (*ManualBet) SetWinLoss

func (o *ManualBet) SetWinLoss(v float64)

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

GetBets returns the Bets field value if set, zero value otherwise.

func (*MultiBetRequestSpecialBetRequest) GetBetsOk

GetBetsOk returns a tuple with the Bets field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MultiBetRequestSpecialBetRequest) HasBets

HasBets returns a boolean if a field has been set.

func (MultiBetRequestSpecialBetRequest) MarshalJSON

func (o MultiBetRequestSpecialBetRequest) MarshalJSON() ([]byte, error)

func (*MultiBetRequestSpecialBetRequest) SetBets

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

GetBets returns the Bets field value if set, zero value otherwise.

func (*MultiBetResponseSpecialBetResponse) GetBetsOk

GetBetsOk returns a tuple with the Bets field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MultiBetResponseSpecialBetResponse) HasBets

HasBets returns a boolean if a field has been set.

func (MultiBetResponseSpecialBetResponse) MarshalJSON

func (o MultiBetResponseSpecialBetResponse) MarshalJSON() ([]byte, error)

func (*MultiBetResponseSpecialBetResponse) SetBets

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 (NullableBettingStatusResponse) Get

func (NullableBettingStatusResponse) IsSet

func (NullableBettingStatusResponse) MarshalJSON

func (v NullableBettingStatusResponse) MarshalJSON() ([]byte, error)

func (*NullableBettingStatusResponse) Set

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 (NullableCancellationDetailsItem) Get

func (NullableCancellationDetailsItem) IsSet

func (NullableCancellationDetailsItem) MarshalJSON

func (v NullableCancellationDetailsItem) MarshalJSON() ([]byte, error)

func (*NullableCancellationDetailsItem) Set

func (*NullableCancellationDetailsItem) UnmarshalJSON

func (v *NullableCancellationDetailsItem) UnmarshalJSON(src []byte) error

func (*NullableCancellationDetailsItem) Unset

type NullableCancellationReason

type NullableCancellationReason struct {
	// contains filtered or unexported fields
}

func NewNullableCancellationReason

func NewNullableCancellationReason(val *CancellationReason) *NullableCancellationReason

func (NullableCancellationReason) Get

func (NullableCancellationReason) IsSet

func (v NullableCancellationReason) IsSet() bool

func (NullableCancellationReason) MarshalJSON

func (v NullableCancellationReason) MarshalJSON() ([]byte, error)

func (*NullableCancellationReason) Set

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 (NullableCancellationReasonDetailsType) Get

func (NullableCancellationReasonDetailsType) IsSet

func (NullableCancellationReasonDetailsType) MarshalJSON

func (v NullableCancellationReasonDetailsType) MarshalJSON() ([]byte, error)

func (*NullableCancellationReasonDetailsType) Set

func (*NullableCancellationReasonDetailsType) UnmarshalJSON

func (v *NullableCancellationReasonDetailsType) UnmarshalJSON(src []byte) error

func (*NullableCancellationReasonDetailsType) Unset

type NullableCancellationReasonResponse

type NullableCancellationReasonResponse struct {
	// contains filtered or unexported fields
}

func (NullableCancellationReasonResponse) Get

func (NullableCancellationReasonResponse) IsSet

func (NullableCancellationReasonResponse) MarshalJSON

func (v NullableCancellationReasonResponse) MarshalJSON() ([]byte, error)

func (*NullableCancellationReasonResponse) Set

func (*NullableCancellationReasonResponse) UnmarshalJSON

func (v *NullableCancellationReasonResponse) UnmarshalJSON(src []byte) error

func (*NullableCancellationReasonResponse) Unset

type NullableCancellationReasonType

type NullableCancellationReasonType struct {
	// contains filtered or unexported fields
}

func (NullableCancellationReasonType) Get

func (NullableCancellationReasonType) IsSet

func (NullableCancellationReasonType) MarshalJSON

func (v NullableCancellationReasonType) MarshalJSON() ([]byte, error)

func (*NullableCancellationReasonType) Set

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 (NullableClientBalanceResponse) Get

func (NullableClientBalanceResponse) IsSet

func (NullableClientBalanceResponse) MarshalJSON

func (v NullableClientBalanceResponse) MarshalJSON() ([]byte, error)

func (*NullableClientBalanceResponse) Set

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 (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 (NullableErrorResponseWithErrorRef) Get

func (NullableErrorResponseWithErrorRef) IsSet

func (NullableErrorResponseWithErrorRef) MarshalJSON

func (v NullableErrorResponseWithErrorRef) MarshalJSON() ([]byte, error)

func (*NullableErrorResponseWithErrorRef) Set

func (*NullableErrorResponseWithErrorRef) UnmarshalJSON

func (v *NullableErrorResponseWithErrorRef) UnmarshalJSON(src []byte) error

func (*NullableErrorResponseWithErrorRef) Unset

type NullableExtendedErrorResponse

type NullableExtendedErrorResponse struct {
	// contains filtered or unexported fields
}

func (NullableExtendedErrorResponse) Get

func (NullableExtendedErrorResponse) IsSet

func (NullableExtendedErrorResponse) MarshalJSON

func (v NullableExtendedErrorResponse) MarshalJSON() ([]byte, error)

func (*NullableExtendedErrorResponse) Set

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 (NullableExtendedLinesErrorResponse) Get

func (NullableExtendedLinesErrorResponse) IsSet

func (NullableExtendedLinesErrorResponse) MarshalJSON

func (v NullableExtendedLinesErrorResponse) MarshalJSON() ([]byte, error)

func (*NullableExtendedLinesErrorResponse) Set

func (*NullableExtendedLinesErrorResponse) UnmarshalJSON

func (v *NullableExtendedLinesErrorResponse) UnmarshalJSON(src []byte) error

func (*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 (NullableFixturesLeague) IsSet

func (v NullableFixturesLeague) IsSet() bool

func (NullableFixturesLeague) MarshalJSON

func (v NullableFixturesLeague) MarshalJSON() ([]byte, error)

func (*NullableFixturesLeague) Set

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 (NullableFixturesResponse) IsSet

func (v NullableFixturesResponse) IsSet() bool

func (NullableFixturesResponse) MarshalJSON

func (v NullableFixturesResponse) MarshalJSON() ([]byte, error)

func (*NullableFixturesResponse) Set

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 (NullableGetBetsByTypeResponseV3) Get

func (NullableGetBetsByTypeResponseV3) IsSet

func (NullableGetBetsByTypeResponseV3) MarshalJSON

func (v NullableGetBetsByTypeResponseV3) MarshalJSON() ([]byte, error)

func (*NullableGetBetsByTypeResponseV3) Set

func (*NullableGetBetsByTypeResponseV3) UnmarshalJSON

func (v *NullableGetBetsByTypeResponseV3) UnmarshalJSON(src []byte) error

func (*NullableGetBetsByTypeResponseV3) Unset

type NullableInRunningEvent

type NullableInRunningEvent struct {
	// contains filtered or unexported fields
}

func NewNullableInRunningEvent

func NewNullableInRunningEvent(val *InRunningEvent) *NullableInRunningEvent

func (NullableInRunningEvent) Get

func (NullableInRunningEvent) IsSet

func (v NullableInRunningEvent) IsSet() bool

func (NullableInRunningEvent) MarshalJSON

func (v NullableInRunningEvent) MarshalJSON() ([]byte, error)

func (*NullableInRunningEvent) Set

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 (NullableInRunningLeague) IsSet

func (v NullableInRunningLeague) IsSet() bool

func (NullableInRunningLeague) MarshalJSON

func (v NullableInRunningLeague) MarshalJSON() ([]byte, error)

func (*NullableInRunningLeague) Set

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 (NullableInRunningResponse) IsSet

func (v NullableInRunningResponse) IsSet() bool

func (NullableInRunningResponse) MarshalJSON

func (v NullableInRunningResponse) MarshalJSON() ([]byte, error)

func (*NullableInRunningResponse) Set

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 (NullableInRunningSport) IsSet

func (v NullableInRunningSport) IsSet() bool

func (NullableInRunningSport) MarshalJSON

func (v NullableInRunningSport) MarshalJSON() ([]byte, error)

func (*NullableInRunningSport) Set

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 (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 (NullableLinesErrorResponse) IsSet

func (v NullableLinesErrorResponse) IsSet() bool

func (NullableLinesErrorResponse) MarshalJSON

func (v NullableLinesErrorResponse) MarshalJSON() ([]byte, error)

func (*NullableLinesErrorResponse) Set

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 (NullableMultiBetRequestSpecialBetRequest) Get

func (NullableMultiBetRequestSpecialBetRequest) IsSet

func (NullableMultiBetRequestSpecialBetRequest) MarshalJSON

func (*NullableMultiBetRequestSpecialBetRequest) Set

func (*NullableMultiBetRequestSpecialBetRequest) UnmarshalJSON

func (v *NullableMultiBetRequestSpecialBetRequest) UnmarshalJSON(src []byte) error

func (*NullableMultiBetRequestSpecialBetRequest) Unset

type NullableMultiBetResponseSpecialBetResponse

type NullableMultiBetResponseSpecialBetResponse struct {
	// contains filtered or unexported fields
}

func (NullableMultiBetResponseSpecialBetResponse) Get

func (NullableMultiBetResponseSpecialBetResponse) IsSet

func (NullableMultiBetResponseSpecialBetResponse) MarshalJSON

func (*NullableMultiBetResponseSpecialBetResponse) Set

func (*NullableMultiBetResponseSpecialBetResponse) UnmarshalJSON

func (v *NullableMultiBetResponseSpecialBetResponse) UnmarshalJSON(src []byte) error

func (*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 (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 (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 (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 (NullableOddsTeamTotals) IsSet

func (v NullableOddsTeamTotals) IsSet() bool

func (NullableOddsTeamTotals) MarshalJSON

func (v NullableOddsTeamTotals) MarshalJSON() ([]byte, error)

func (*NullableOddsTeamTotals) Set

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 (NullablePlaceBetRequest) IsSet

func (v NullablePlaceBetRequest) IsSet() bool

func (NullablePlaceBetRequest) MarshalJSON

func (v NullablePlaceBetRequest) MarshalJSON() ([]byte, error)

func (*NullablePlaceBetRequest) Set

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 (NullablePlaceBetResponseV2) IsSet

func (v NullablePlaceBetResponseV2) IsSet() bool

func (NullablePlaceBetResponseV2) MarshalJSON

func (v NullablePlaceBetResponseV2) MarshalJSON() ([]byte, error)

func (*NullablePlaceBetResponseV2) Set

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 (NullableSettledFixturesEvent) IsSet

func (NullableSettledFixturesEvent) MarshalJSON

func (v NullableSettledFixturesEvent) MarshalJSON() ([]byte, error)

func (*NullableSettledFixturesEvent) Set

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 (NullableSettledFixturesLeague) Get

func (NullableSettledFixturesLeague) IsSet

func (NullableSettledFixturesLeague) MarshalJSON

func (v NullableSettledFixturesLeague) MarshalJSON() ([]byte, error)

func (*NullableSettledFixturesLeague) Set

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 (NullableSettledFixturesPeriod) Get

func (NullableSettledFixturesPeriod) IsSet

func (NullableSettledFixturesPeriod) MarshalJSON

func (v NullableSettledFixturesPeriod) MarshalJSON() ([]byte, error)

func (*NullableSettledFixturesPeriod) Set

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 (NullableSettledFixturesSport) IsSet

func (NullableSettledFixturesSport) MarshalJSON

func (v NullableSettledFixturesSport) MarshalJSON() ([]byte, error)

func (*NullableSettledFixturesSport) Set

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 (NullableSettledSpecial) IsSet

func (v NullableSettledSpecial) IsSet() bool

func (NullableSettledSpecial) MarshalJSON

func (v NullableSettledSpecial) MarshalJSON() ([]byte, error)

func (*NullableSettledSpecial) Set

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 (NullableSettledSpecialsLeague) Get

func (NullableSettledSpecialsLeague) IsSet

func (NullableSettledSpecialsLeague) MarshalJSON

func (v NullableSettledSpecialsLeague) MarshalJSON() ([]byte, error)

func (*NullableSettledSpecialsLeague) Set

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 (NullableSettledSpecialsResponse) Get

func (NullableSettledSpecialsResponse) IsSet

func (NullableSettledSpecialsResponse) MarshalJSON

func (v NullableSettledSpecialsResponse) MarshalJSON() ([]byte, error)

func (*NullableSettledSpecialsResponse) Set

func (*NullableSettledSpecialsResponse) UnmarshalJSON

func (v *NullableSettledSpecialsResponse) UnmarshalJSON(src []byte) error

func (*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 (NullableSpecialBetRequest) IsSet

func (v NullableSpecialBetRequest) IsSet() bool

func (NullableSpecialBetRequest) MarshalJSON

func (v NullableSpecialBetRequest) MarshalJSON() ([]byte, error)

func (*NullableSpecialBetRequest) Set

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 (NullableSpecialBetResponse) IsSet

func (v NullableSpecialBetResponse) IsSet() bool

func (NullableSpecialBetResponse) MarshalJSON

func (v NullableSpecialBetResponse) MarshalJSON() ([]byte, error)

func (*NullableSpecialBetResponse) Set

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 (NullableSpecialFixture) IsSet

func (v NullableSpecialFixture) IsSet() bool

func (NullableSpecialFixture) MarshalJSON

func (v NullableSpecialFixture) MarshalJSON() ([]byte, error)

func (*NullableSpecialFixture) Set

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 (NullableSpecialLineResponse) IsSet

func (NullableSpecialLineResponse) MarshalJSON

func (v NullableSpecialLineResponse) MarshalJSON() ([]byte, error)

func (*NullableSpecialLineResponse) Set

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 (NullableSpecialOddsContestantLine) Get

func (NullableSpecialOddsContestantLine) IsSet

func (NullableSpecialOddsContestantLine) MarshalJSON

func (v NullableSpecialOddsContestantLine) MarshalJSON() ([]byte, error)

func (*NullableSpecialOddsContestantLine) Set

func (*NullableSpecialOddsContestantLine) UnmarshalJSON

func (v *NullableSpecialOddsContestantLine) UnmarshalJSON(src []byte) error

func (*NullableSpecialOddsContestantLine) Unset

type NullableSpecialOddsLeague

type NullableSpecialOddsLeague struct {
	// contains filtered or unexported fields
}

func NewNullableSpecialOddsLeague

func NewNullableSpecialOddsLeague(val *SpecialOddsLeague) *NullableSpecialOddsLeague

func (NullableSpecialOddsLeague) Get

func (NullableSpecialOddsLeague) IsSet

func (v NullableSpecialOddsLeague) IsSet() bool

func (NullableSpecialOddsLeague) MarshalJSON

func (v NullableSpecialOddsLeague) MarshalJSON() ([]byte, error)

func (*NullableSpecialOddsLeague) Set

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 (NullableSpecialOddsResponse) IsSet

func (NullableSpecialOddsResponse) MarshalJSON

func (v NullableSpecialOddsResponse) MarshalJSON() ([]byte, error)

func (*NullableSpecialOddsResponse) Set

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 (NullableSpecialOddsSpecial) IsSet

func (v NullableSpecialOddsSpecial) IsSet() bool

func (NullableSpecialOddsSpecial) MarshalJSON

func (v NullableSpecialOddsSpecial) MarshalJSON() ([]byte, error)

func (*NullableSpecialOddsSpecial) Set

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 (NullableSpecialsFixturesContestant) Get

func (NullableSpecialsFixturesContestant) IsSet

func (NullableSpecialsFixturesContestant) MarshalJSON

func (v NullableSpecialsFixturesContestant) MarshalJSON() ([]byte, error)

func (*NullableSpecialsFixturesContestant) Set

func (*NullableSpecialsFixturesContestant) UnmarshalJSON

func (v *NullableSpecialsFixturesContestant) UnmarshalJSON(src []byte) error

func (*NullableSpecialsFixturesContestant) Unset

type NullableSpecialsFixturesEvent

type NullableSpecialsFixturesEvent struct {
	// contains filtered or unexported fields
}

func (NullableSpecialsFixturesEvent) Get

func (NullableSpecialsFixturesEvent) IsSet

func (NullableSpecialsFixturesEvent) MarshalJSON

func (v NullableSpecialsFixturesEvent) MarshalJSON() ([]byte, error)

func (*NullableSpecialsFixturesEvent) Set

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 (NullableSpecialsFixturesLeague) Get

func (NullableSpecialsFixturesLeague) IsSet

func (NullableSpecialsFixturesLeague) MarshalJSON

func (v NullableSpecialsFixturesLeague) MarshalJSON() ([]byte, error)

func (*NullableSpecialsFixturesLeague) Set

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 (NullableSpecialsFixturesResponse) Get

func (NullableSpecialsFixturesResponse) IsSet

func (NullableSpecialsFixturesResponse) MarshalJSON

func (v NullableSpecialsFixturesResponse) MarshalJSON() ([]byte, error)

func (*NullableSpecialsFixturesResponse) Set

func (*NullableSpecialsFixturesResponse) UnmarshalJSON

func (v *NullableSpecialsFixturesResponse) UnmarshalJSON(src []byte) error

func (*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 (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 (NullableSportsResponse) IsSet

func (v NullableSportsResponse) IsSet() bool

func (NullableSportsResponse) MarshalJSON

func (v NullableSportsResponse) MarshalJSON() ([]byte, error)

func (*NullableSportsResponse) Set

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 (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 (NullableSuccessfulCurrenciesResponse) Get

func (NullableSuccessfulCurrenciesResponse) IsSet

func (NullableSuccessfulCurrenciesResponse) MarshalJSON

func (v NullableSuccessfulCurrenciesResponse) MarshalJSON() ([]byte, error)

func (*NullableSuccessfulCurrenciesResponse) Set

func (*NullableSuccessfulCurrenciesResponse) UnmarshalJSON

func (v *NullableSuccessfulCurrenciesResponse) UnmarshalJSON(src []byte) error

func (*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 (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 (NullableTeaserGroupsBetType) IsSet

func (NullableTeaserGroupsBetType) MarshalJSON

func (v NullableTeaserGroupsBetType) MarshalJSON() ([]byte, error)

func (*NullableTeaserGroupsBetType) Set

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 (NullableTeaserGroupsLeague) IsSet

func (v NullableTeaserGroupsLeague) IsSet() bool

func (NullableTeaserGroupsLeague) MarshalJSON

func (v NullableTeaserGroupsLeague) MarshalJSON() ([]byte, error)

func (*NullableTeaserGroupsLeague) Set

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 (NullableTeaserGroupsPayout) IsSet

func (v NullableTeaserGroupsPayout) IsSet() bool

func (NullableTeaserGroupsPayout) MarshalJSON

func (v NullableTeaserGroupsPayout) MarshalJSON() ([]byte, error)

func (*NullableTeaserGroupsPayout) Set

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 (NullableTeaserGroupsResponse) IsSet

func (NullableTeaserGroupsResponse) MarshalJSON

func (v NullableTeaserGroupsResponse) MarshalJSON() ([]byte, error)

func (*NullableTeaserGroupsResponse) Set

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 (NullableTeaserGroupsTeaser) IsSet

func (v NullableTeaserGroupsTeaser) IsSet() bool

func (NullableTeaserGroupsTeaser) MarshalJSON

func (v NullableTeaserGroupsTeaser) MarshalJSON() ([]byte, error)

func (*NullableTeaserGroupsTeaser) Set

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 (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 (NullableTranslationByCulture) IsSet

func (NullableTranslationByCulture) MarshalJSON

func (v NullableTranslationByCulture) MarshalJSON() ([]byte, error)

func (*NullableTranslationByCulture) Set

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 (NullableTranslationResponse) IsSet

func (NullableTranslationResponse) MarshalJSON

func (v NullableTranslationResponse) MarshalJSON() ([]byte, error)

func (*NullableTranslationResponse) Set

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 (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

func (o *OddsEvent) GetAwayRedCards() int

GetAwayRedCards returns the AwayRedCards field value if set, zero value otherwise.

func (*OddsEvent) GetAwayRedCardsOk

func (o *OddsEvent) GetAwayRedCardsOk() (*int, bool)

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

func (o *OddsEvent) GetAwayScore() float64

GetAwayScore returns the AwayScore field value if set, zero value otherwise.

func (*OddsEvent) GetAwayScoreOk

func (o *OddsEvent) GetAwayScoreOk() (*float64, bool)

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

func (o *OddsEvent) GetHomeRedCards() int

GetHomeRedCards returns the HomeRedCards field value if set, zero value otherwise.

func (*OddsEvent) GetHomeRedCardsOk

func (o *OddsEvent) GetHomeRedCardsOk() (*int, bool)

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

func (o *OddsEvent) GetHomeScore() float64

GetHomeScore returns the HomeScore field value if set, zero value otherwise.

func (*OddsEvent) GetHomeScoreOk

func (o *OddsEvent) GetHomeScoreOk() (*float64, bool)

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) GetId

func (o *OddsEvent) GetId() int64

GetId returns the Id field value if set, zero value otherwise.

func (*OddsEvent) GetIdOk

func (o *OddsEvent) 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 (*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

func (o *OddsEvent) HasAwayRedCards() bool

HasAwayRedCards returns a boolean if a field has been set.

func (*OddsEvent) HasAwayScore

func (o *OddsEvent) HasAwayScore() bool

HasAwayScore returns a boolean if a field has been set.

func (*OddsEvent) HasHomeRedCards

func (o *OddsEvent) HasHomeRedCards() bool

HasHomeRedCards returns a boolean if a field has been set.

func (*OddsEvent) HasHomeScore

func (o *OddsEvent) HasHomeScore() bool

HasHomeScore returns a boolean if a field has been set.

func (*OddsEvent) HasId

func (o *OddsEvent) HasId() bool

HasId returns a boolean if a field has been set.

func (*OddsEvent) HasPeriods

func (o *OddsEvent) HasPeriods() bool

HasPeriods returns a boolean if a field has been set.

func (OddsEvent) MarshalJSON

func (o OddsEvent) MarshalJSON() ([]byte, error)

func (*OddsEvent) SetAwayRedCards

func (o *OddsEvent) SetAwayRedCards(v int)

SetAwayRedCards gets a reference to the given int and assigns it to the AwayRedCards field.

func (*OddsEvent) SetAwayScore

func (o *OddsEvent) SetAwayScore(v float64)

SetAwayScore gets a reference to the given float64 and assigns it to the AwayScore field.

func (*OddsEvent) SetHomeRedCards

func (o *OddsEvent) SetHomeRedCards(v int)

SetHomeRedCards gets a reference to the given int and assigns it to the HomeRedCards field.

func (*OddsEvent) SetHomeScore

func (o *OddsEvent) SetHomeScore(v float64)

SetHomeScore gets a reference to the given float64 and assigns it to the HomeScore field.

func (*OddsEvent) SetId

func (o *OddsEvent) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id 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

func (o *OddsTotal) GetAltLineId() int64

GetAltLineId returns the AltLineId field value if set, zero value otherwise.

func (*OddsTotal) GetAltLineIdOk

func (o *OddsTotal) 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 (*OddsTotal) GetOver

func (o *OddsTotal) GetOver() float64

GetOver returns the Over field value if set, zero value otherwise.

func (*OddsTotal) GetOverOk

func (o *OddsTotal) 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 (*OddsTotal) GetPoints

func (o *OddsTotal) GetPoints() float64

GetPoints returns the Points field value if set, zero value otherwise.

func (*OddsTotal) GetPointsOk

func (o *OddsTotal) 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 (*OddsTotal) GetUnder

func (o *OddsTotal) GetUnder() float64

GetUnder returns the Under field value if set, zero value otherwise.

func (*OddsTotal) GetUnderOk

func (o *OddsTotal) 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 (*OddsTotal) HasAltLineId

func (o *OddsTotal) HasAltLineId() bool

HasAltLineId returns a boolean if a field has been set.

func (*OddsTotal) HasOver

func (o *OddsTotal) HasOver() bool

HasOver returns a boolean if a field has been set.

func (*OddsTotal) HasPoints

func (o *OddsTotal) HasPoints() bool

HasPoints returns a boolean if a field has been set.

func (*OddsTotal) HasUnder

func (o *OddsTotal) HasUnder() bool

HasUnder returns a boolean if a field has been set.

func (OddsTotal) MarshalJSON

func (o OddsTotal) MarshalJSON() ([]byte, error)

func (*OddsTotal) SetAltLineId

func (o *OddsTotal) SetAltLineId(v int64)

SetAltLineId gets a reference to the given int64 and assigns it to the AltLineId field.

func (*OddsTotal) SetOver

func (o *OddsTotal) SetOver(v float64)

SetOver gets a reference to the given float64 and assigns it to the Over field.

func (*OddsTotal) SetPoints

func (o *OddsTotal) SetPoints(v float64)

SetPoints gets a reference to the given float64 and assigns it to the Points field.

func (*OddsTotal) SetUnder

func (o *OddsTotal) SetUnder(v float64)

SetUnder gets a reference to the given float64 and assigns it to the Under 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) GetBetId

func (o *ParlayBet) GetBetId() int64

GetBetId returns the BetId field value

func (*ParlayBet) GetBetIdOk

func (o *ParlayBet) GetBetIdOk() (*int64, bool)

GetBetIdOk returns a tuple with the BetId field value and a boolean to check if the value has been set.

func (*ParlayBet) GetBetStatus

func (o *ParlayBet) GetBetStatus() string

GetBetStatus returns the BetStatus field value

func (*ParlayBet) GetBetStatusOk

func (o *ParlayBet) GetBetStatusOk() (*string, bool)

GetBetStatusOk returns a tuple with the BetStatus field value and a boolean to check if the value has been set.

func (*ParlayBet) GetBetType

func (o *ParlayBet) GetBetType() string

GetBetType returns the BetType field value

func (*ParlayBet) GetBetTypeOk

func (o *ParlayBet) GetBetTypeOk() (*string, bool)

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

func (o *ParlayBet) GetCustomerCommission() float64

GetCustomerCommission returns the CustomerCommission field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ParlayBet) GetCustomerCommissionOk

func (o *ParlayBet) 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 (*ParlayBet) GetFinalPrice

func (o *ParlayBet) GetFinalPrice() float64

GetFinalPrice returns the FinalPrice field value if set, zero value otherwise.

func (*ParlayBet) GetFinalPriceOk

func (o *ParlayBet) GetFinalPriceOk() (*float64, bool)

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) GetLegs

func (o *ParlayBet) GetLegs() []ParlayLeg

GetLegs returns the Legs field value

func (*ParlayBet) GetLegsOk

func (o *ParlayBet) GetLegsOk() (*[]ParlayLeg, bool)

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

func (o *ParlayBet) GetPlacedAt() time.Time

GetPlacedAt returns the PlacedAt field value

func (*ParlayBet) GetPlacedAtOk

func (o *ParlayBet) 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 (*ParlayBet) GetPrice

func (o *ParlayBet) GetPrice() float64

GetPrice returns the Price field value if set, zero value otherwise.

func (*ParlayBet) GetPriceOk

func (o *ParlayBet) 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 (*ParlayBet) GetRisk

func (o *ParlayBet) GetRisk() float64

GetRisk returns the Risk field value

func (*ParlayBet) GetRiskOk

func (o *ParlayBet) GetRiskOk() (*float64, bool)

GetRiskOk returns a tuple with the Risk field value and a boolean to check if the value has been set.

func (*ParlayBet) GetUniqueRequestId

func (o *ParlayBet) GetUniqueRequestId() string

GetUniqueRequestId returns the UniqueRequestId field value if set, zero value otherwise.

func (*ParlayBet) GetUniqueRequestIdOk

func (o *ParlayBet) 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 (*ParlayBet) GetUpdateSequence

func (o *ParlayBet) GetUpdateSequence() int64

GetUpdateSequence returns the UpdateSequence field value

func (*ParlayBet) GetUpdateSequenceOk

func (o *ParlayBet) GetUpdateSequenceOk() (*int64, bool)

GetUpdateSequenceOk returns a tuple with the UpdateSequence field value and a boolean to check if the value has been set.

func (*ParlayBet) GetWagerNumber

func (o *ParlayBet) GetWagerNumber() int

GetWagerNumber returns the WagerNumber field value

func (*ParlayBet) GetWagerNumberOk

func (o *ParlayBet) GetWagerNumberOk() (*int, bool)

GetWagerNumberOk returns a tuple with the WagerNumber field value and a boolean to check if the value has been set.

func (*ParlayBet) GetWin

func (o *ParlayBet) GetWin() float64

GetWin returns the Win field value

func (*ParlayBet) GetWinLoss

func (o *ParlayBet) GetWinLoss() float64

GetWinLoss returns the WinLoss field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ParlayBet) GetWinLossOk

func (o *ParlayBet) 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 (*ParlayBet) GetWinOk

func (o *ParlayBet) GetWinOk() (*float64, bool)

GetWinOk returns a tuple with the Win field value and a boolean to check if the value has been set.

func (*ParlayBet) HasCancellationReason

func (o *ParlayBet) HasCancellationReason() bool

HasCancellationReason returns a boolean if a field has been set.

func (*ParlayBet) HasCustomerCommission

func (o *ParlayBet) HasCustomerCommission() bool

HasCustomerCommission returns a boolean if a field has been set.

func (*ParlayBet) HasFinalPrice

func (o *ParlayBet) HasFinalPrice() bool

HasFinalPrice returns a boolean if a field has been set.

func (*ParlayBet) HasPrice

func (o *ParlayBet) HasPrice() bool

HasPrice returns a boolean if a field has been set.

func (*ParlayBet) HasUniqueRequestId

func (o *ParlayBet) HasUniqueRequestId() bool

HasUniqueRequestId returns a boolean if a field has been set.

func (*ParlayBet) HasWinLoss

func (o *ParlayBet) HasWinLoss() bool

HasWinLoss returns a boolean if a field has been set.

func (ParlayBet) MarshalJSON

func (o ParlayBet) MarshalJSON() ([]byte, error)

func (*ParlayBet) SetBetId

func (o *ParlayBet) SetBetId(v int64)

SetBetId sets field value

func (*ParlayBet) SetBetStatus

func (o *ParlayBet) SetBetStatus(v string)

SetBetStatus sets field value

func (*ParlayBet) SetBetType

func (o *ParlayBet) SetBetType(v string)

SetBetType 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

func (o *ParlayBet) SetCustomerCommission(v float64)

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

func (o *ParlayBet) SetFinalPrice(v float64)

SetFinalPrice gets a reference to the given float64 and assigns it to the FinalPrice field.

func (*ParlayBet) SetLegs

func (o *ParlayBet) SetLegs(v []ParlayLeg)

SetLegs sets field value

func (*ParlayBet) SetOddsFormat

func (o *ParlayBet) SetOddsFormat(v OddsFormat)

SetOddsFormat sets field value

func (*ParlayBet) SetPlacedAt

func (o *ParlayBet) SetPlacedAt(v time.Time)

SetPlacedAt sets field value

func (*ParlayBet) SetPrice

func (o *ParlayBet) SetPrice(v float64)

SetPrice gets a reference to the given float64 and assigns it to the Price field.

func (*ParlayBet) SetRisk

func (o *ParlayBet) SetRisk(v float64)

SetRisk sets field value

func (*ParlayBet) SetUniqueRequestId

func (o *ParlayBet) SetUniqueRequestId(v string)

SetUniqueRequestId gets a reference to the given string and assigns it to the UniqueRequestId field.

func (*ParlayBet) SetUpdateSequence

func (o *ParlayBet) SetUpdateSequence(v int64)

SetUpdateSequence sets field value

func (*ParlayBet) SetWagerNumber

func (o *ParlayBet) SetWagerNumber(v int)

SetWagerNumber sets field value

func (*ParlayBet) SetWin

func (o *ParlayBet) SetWin(v float64)

SetWin sets field value

func (*ParlayBet) SetWinLoss

func (o *ParlayBet) SetWinLoss(v float64)

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

func (o *ParlayLeg) GetEventId() int64

GetEventId returns the EventId field value if set, zero value otherwise.

func (*ParlayLeg) GetEventIdOk

func (o *ParlayLeg) 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 (*ParlayLeg) GetEventStartTime

func (o *ParlayLeg) GetEventStartTime() time.Time

GetEventStartTime returns the EventStartTime field value if set, zero value otherwise.

func (*ParlayLeg) GetEventStartTimeOk

func (o *ParlayLeg) 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 (*ParlayLeg) GetFtTeam1Score

func (o *ParlayLeg) GetFtTeam1Score() float64

GetFtTeam1Score returns the FtTeam1Score field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ParlayLeg) GetFtTeam1ScoreOk

func (o *ParlayLeg) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ParlayLeg) GetFtTeam2Score

func (o *ParlayLeg) GetFtTeam2Score() float64

GetFtTeam2Score returns the FtTeam2Score field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ParlayLeg) GetFtTeam2ScoreOk

func (o *ParlayLeg) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ParlayLeg) GetHandicap

func (o *ParlayLeg) GetHandicap() float64

GetHandicap returns the Handicap field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ParlayLeg) GetHandicapOk

func (o *ParlayLeg) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ParlayLeg) GetLeagueId

func (o *ParlayLeg) GetLeagueId() int

GetLeagueId returns the LeagueId field value if set, zero value otherwise.

func (*ParlayLeg) GetLeagueIdOk

func (o *ParlayLeg) 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 (*ParlayLeg) GetLegBetStatus

func (o *ParlayLeg) GetLegBetStatus() string

GetLegBetStatus returns the LegBetStatus field value if set, zero value otherwise.

func (*ParlayLeg) GetLegBetStatusOk

func (o *ParlayLeg) GetLegBetStatusOk() (*string, bool)

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

func (o *ParlayLeg) GetLegBetType() string

GetLegBetType returns the LegBetType field value if set, zero value otherwise.

func (*ParlayLeg) GetLegBetTypeOk

func (o *ParlayLeg) GetLegBetTypeOk() (*string, bool)

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

func (o *ParlayLeg) GetPTeam1Score() float64

GetPTeam1Score returns the PTeam1Score field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ParlayLeg) GetPTeam1ScoreOk

func (o *ParlayLeg) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ParlayLeg) GetPTeam2Score

func (o *ParlayLeg) GetPTeam2Score() float64

GetPTeam2Score returns the PTeam2Score field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ParlayLeg) GetPTeam2ScoreOk

func (o *ParlayLeg) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ParlayLeg) GetPeriodNumber

func (o *ParlayLeg) GetPeriodNumber() int

GetPeriodNumber returns the PeriodNumber field value if set, zero value otherwise.

func (*ParlayLeg) GetPeriodNumberOk

func (o *ParlayLeg) 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 (*ParlayLeg) GetPitcher1

func (o *ParlayLeg) GetPitcher1() string

GetPitcher1 returns the Pitcher1 field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ParlayLeg) GetPitcher1MustStart

func (o *ParlayLeg) GetPitcher1MustStart() bool

GetPitcher1MustStart returns the Pitcher1MustStart field value if set, zero value otherwise.

func (*ParlayLeg) GetPitcher1MustStartOk

func (o *ParlayLeg) 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 (*ParlayLeg) GetPitcher1Ok

func (o *ParlayLeg) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ParlayLeg) GetPitcher2

func (o *ParlayLeg) GetPitcher2() string

GetPitcher2 returns the Pitcher2 field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ParlayLeg) GetPitcher2MustStart

func (o *ParlayLeg) GetPitcher2MustStart() bool

GetPitcher2MustStart returns the Pitcher2MustStart field value if set, zero value otherwise.

func (*ParlayLeg) GetPitcher2MustStartOk

func (o *ParlayLeg) 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 (*ParlayLeg) GetPitcher2Ok

func (o *ParlayLeg) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ParlayLeg) GetPrice

func (o *ParlayLeg) GetPrice() float64

GetPrice returns the Price field value if set, zero value otherwise.

func (*ParlayLeg) GetPriceOk

func (o *ParlayLeg) 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 (*ParlayLeg) GetSide

func (o *ParlayLeg) GetSide() string

GetSide returns the Side field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ParlayLeg) GetSideOk

func (o *ParlayLeg) 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 (*ParlayLeg) GetSportId

func (o *ParlayLeg) GetSportId() int

GetSportId returns the SportId field value if set, zero value otherwise.

func (*ParlayLeg) GetSportIdOk

func (o *ParlayLeg) 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 (*ParlayLeg) GetTeam1

func (o *ParlayLeg) GetTeam1() string

GetTeam1 returns the Team1 field value if set, zero value otherwise.

func (*ParlayLeg) GetTeam1Ok

func (o *ParlayLeg) 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 (*ParlayLeg) GetTeam2

func (o *ParlayLeg) GetTeam2() string

GetTeam2 returns the Team2 field value if set, zero value otherwise.

func (*ParlayLeg) GetTeam2Ok

func (o *ParlayLeg) 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 (*ParlayLeg) GetTeamName

func (o *ParlayLeg) GetTeamName() string

GetTeamName returns the TeamName field value if set, zero value otherwise.

func (*ParlayLeg) GetTeamNameOk

func (o *ParlayLeg) 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 (*ParlayLeg) HasCancellationReason

func (o *ParlayLeg) HasCancellationReason() bool

HasCancellationReason returns a boolean if a field has been set.

func (*ParlayLeg) HasEventId

func (o *ParlayLeg) HasEventId() bool

HasEventId returns a boolean if a field has been set.

func (*ParlayLeg) HasEventStartTime

func (o *ParlayLeg) HasEventStartTime() bool

HasEventStartTime returns a boolean if a field has been set.

func (*ParlayLeg) HasFtTeam1Score

func (o *ParlayLeg) HasFtTeam1Score() bool

HasFtTeam1Score returns a boolean if a field has been set.

func (*ParlayLeg) HasFtTeam2Score

func (o *ParlayLeg) HasFtTeam2Score() bool

HasFtTeam2Score returns a boolean if a field has been set.

func (*ParlayLeg) HasHandicap

func (o *ParlayLeg) HasHandicap() bool

HasHandicap returns a boolean if a field has been set.

func (*ParlayLeg) HasLeagueId

func (o *ParlayLeg) HasLeagueId() bool

HasLeagueId returns a boolean if a field has been set.

func (*ParlayLeg) HasLegBetStatus

func (o *ParlayLeg) HasLegBetStatus() bool

HasLegBetStatus returns a boolean if a field has been set.

func (*ParlayLeg) HasLegBetType

func (o *ParlayLeg) HasLegBetType() bool

HasLegBetType returns a boolean if a field has been set.

func (*ParlayLeg) HasPTeam1Score

func (o *ParlayLeg) HasPTeam1Score() bool

HasPTeam1Score returns a boolean if a field has been set.

func (*ParlayLeg) HasPTeam2Score

func (o *ParlayLeg) HasPTeam2Score() bool

HasPTeam2Score returns a boolean if a field has been set.

func (*ParlayLeg) HasPeriodNumber

func (o *ParlayLeg) HasPeriodNumber() bool

HasPeriodNumber returns a boolean if a field has been set.

func (*ParlayLeg) HasPitcher1

func (o *ParlayLeg) HasPitcher1() bool

HasPitcher1 returns a boolean if a field has been set.

func (*ParlayLeg) HasPitcher1MustStart

func (o *ParlayLeg) HasPitcher1MustStart() bool

HasPitcher1MustStart returns a boolean if a field has been set.

func (*ParlayLeg) HasPitcher2

func (o *ParlayLeg) HasPitcher2() bool

HasPitcher2 returns a boolean if a field has been set.

func (*ParlayLeg) HasPitcher2MustStart

func (o *ParlayLeg) HasPitcher2MustStart() bool

HasPitcher2MustStart returns a boolean if a field has been set.

func (*ParlayLeg) HasPrice

func (o *ParlayLeg) HasPrice() bool

HasPrice returns a boolean if a field has been set.

func (*ParlayLeg) HasSide

func (o *ParlayLeg) HasSide() bool

HasSide returns a boolean if a field has been set.

func (*ParlayLeg) HasSportId

func (o *ParlayLeg) HasSportId() bool

HasSportId returns a boolean if a field has been set.

func (*ParlayLeg) HasTeam1

func (o *ParlayLeg) HasTeam1() bool

HasTeam1 returns a boolean if a field has been set.

func (*ParlayLeg) HasTeam2

func (o *ParlayLeg) HasTeam2() bool

HasTeam2 returns a boolean if a field has been set.

func (*ParlayLeg) HasTeamName

func (o *ParlayLeg) HasTeamName() bool

HasTeamName returns a boolean if a field has been set.

func (ParlayLeg) MarshalJSON

func (o ParlayLeg) MarshalJSON() ([]byte, error)

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

func (o *ParlayLeg) SetEventId(v int64)

SetEventId gets a reference to the given int64 and assigns it to the EventId field.

func (*ParlayLeg) SetEventStartTime

func (o *ParlayLeg) SetEventStartTime(v time.Time)

SetEventStartTime gets a reference to the given time.Time and assigns it to the EventStartTime field.

func (*ParlayLeg) SetFtTeam1Score

func (o *ParlayLeg) SetFtTeam1Score(v float64)

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

func (o *ParlayLeg) SetFtTeam2Score(v float64)

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

func (o *ParlayLeg) SetHandicap(v float64)

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

func (o *ParlayLeg) SetLeagueId(v int)

SetLeagueId gets a reference to the given int and assigns it to the LeagueId field.

func (*ParlayLeg) SetLegBetStatus

func (o *ParlayLeg) SetLegBetStatus(v string)

SetLegBetStatus gets a reference to the given string and assigns it to the LegBetStatus field.

func (*ParlayLeg) SetLegBetType

func (o *ParlayLeg) SetLegBetType(v string)

SetLegBetType gets a reference to the given string and assigns it to the LegBetType field.

func (*ParlayLeg) SetPTeam1Score

func (o *ParlayLeg) SetPTeam1Score(v float64)

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

func (o *ParlayLeg) SetPTeam2Score(v float64)

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

func (o *ParlayLeg) SetPeriodNumber(v int)

SetPeriodNumber gets a reference to the given int and assigns it to the PeriodNumber field.

func (*ParlayLeg) SetPitcher1

func (o *ParlayLeg) SetPitcher1(v string)

SetPitcher1 gets a reference to the given NullableString and assigns it to the Pitcher1 field.

func (*ParlayLeg) SetPitcher1MustStart

func (o *ParlayLeg) SetPitcher1MustStart(v bool)

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

func (o *ParlayLeg) SetPitcher2(v string)

SetPitcher2 gets a reference to the given NullableString and assigns it to the Pitcher2 field.

func (*ParlayLeg) SetPitcher2MustStart

func (o *ParlayLeg) SetPitcher2MustStart(v bool)

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

func (o *ParlayLeg) SetPrice(v float64)

SetPrice gets a reference to the given float64 and assigns it to the Price field.

func (*ParlayLeg) SetSide

func (o *ParlayLeg) SetSide(v string)

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

func (o *ParlayLeg) SetSportId(v int)

SetSportId gets a reference to the given int and assigns it to the SportId field.

func (*ParlayLeg) SetTeam1

func (o *ParlayLeg) SetTeam1(v string)

SetTeam1 gets a reference to the given string and assigns it to the Team1 field.

func (*ParlayLeg) SetTeam2

func (o *ParlayLeg) SetTeam2(v string)

SetTeam2 gets a reference to the given string and assigns it to the Team2 field.

func (*ParlayLeg) SetTeamName

func (o *ParlayLeg) SetTeamName(v string)

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

func (*ParlayLeg) UnsetSide

func (o *ParlayLeg) UnsetSide()

UnsetSide ensures that no value is present for Side, 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

func (o *Period) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Period) GetDescriptionOk

func (o *Period) 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 (*Period) GetMoneylineDescription

func (o *Period) GetMoneylineDescription() string

GetMoneylineDescription returns the MoneylineDescription field value if set, zero value otherwise.

func (*Period) GetMoneylineDescriptionOk

func (o *Period) GetMoneylineDescriptionOk() (*string, bool)

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

func (o *Period) GetMoneylineShortDescription() string

GetMoneylineShortDescription returns the MoneylineShortDescription field value if set, zero value otherwise.

func (*Period) GetMoneylineShortDescriptionOk

func (o *Period) GetMoneylineShortDescriptionOk() (*string, bool)

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) GetNumber

func (o *Period) GetNumber() int

GetNumber returns the Number field value if set, zero value otherwise.

func (*Period) GetNumberOk

func (o *Period) 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 (*Period) GetShortDescription

func (o *Period) GetShortDescription() string

GetShortDescription returns the ShortDescription field value if set, zero value otherwise.

func (*Period) GetShortDescriptionOk

func (o *Period) GetShortDescriptionOk() (*string, bool)

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

func (o *Period) GetSpreadDescription() string

GetSpreadDescription returns the SpreadDescription field value if set, zero value otherwise.

func (*Period) GetSpreadDescriptionOk

func (o *Period) GetSpreadDescriptionOk() (*string, bool)

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

func (o *Period) GetSpreadShortDescription() string

GetSpreadShortDescription returns the SpreadShortDescription field value if set, zero value otherwise.

func (*Period) GetSpreadShortDescriptionOk

func (o *Period) GetSpreadShortDescriptionOk() (*string, bool)

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

func (o *Period) GetTeam1TotalDescription() string

GetTeam1TotalDescription returns the Team1TotalDescription field value if set, zero value otherwise.

func (*Period) GetTeam1TotalDescriptionOk

func (o *Period) GetTeam1TotalDescriptionOk() (*string, bool)

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

func (o *Period) GetTeam1TotalShortDescription() string

GetTeam1TotalShortDescription returns the Team1TotalShortDescription field value if set, zero value otherwise.

func (*Period) GetTeam1TotalShortDescriptionOk

func (o *Period) GetTeam1TotalShortDescriptionOk() (*string, bool)

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

func (o *Period) GetTeam2TotalDescription() string

GetTeam2TotalDescription returns the Team2TotalDescription field value if set, zero value otherwise.

func (*Period) GetTeam2TotalDescriptionOk

func (o *Period) GetTeam2TotalDescriptionOk() (*string, bool)

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

func (o *Period) GetTeam2TotalShortDescription() string

GetTeam2TotalShortDescription returns the Team2TotalShortDescription field value if set, zero value otherwise.

func (*Period) GetTeam2TotalShortDescriptionOk

func (o *Period) GetTeam2TotalShortDescriptionOk() (*string, bool)

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

func (o *Period) GetTotalDescription() string

GetTotalDescription returns the TotalDescription field value if set, zero value otherwise.

func (*Period) GetTotalDescriptionOk

func (o *Period) GetTotalDescriptionOk() (*string, bool)

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

func (o *Period) GetTotalShortDescription() string

GetTotalShortDescription returns the TotalShortDescription field value if set, zero value otherwise.

func (*Period) GetTotalShortDescriptionOk

func (o *Period) GetTotalShortDescriptionOk() (*string, bool)

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

func (o *Period) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Period) HasMoneylineDescription

func (o *Period) HasMoneylineDescription() bool

HasMoneylineDescription returns a boolean if a field has been set.

func (*Period) HasMoneylineShortDescription

func (o *Period) HasMoneylineShortDescription() bool

HasMoneylineShortDescription returns a boolean if a field has been set.

func (*Period) HasNumber

func (o *Period) HasNumber() bool

HasNumber returns a boolean if a field has been set.

func (*Period) HasShortDescription

func (o *Period) HasShortDescription() bool

HasShortDescription returns a boolean if a field has been set.

func (*Period) HasSpreadDescription

func (o *Period) HasSpreadDescription() bool

HasSpreadDescription returns a boolean if a field has been set.

func (*Period) HasSpreadShortDescription

func (o *Period) HasSpreadShortDescription() bool

HasSpreadShortDescription returns a boolean if a field has been set.

func (*Period) HasTeam1TotalDescription

func (o *Period) HasTeam1TotalDescription() bool

HasTeam1TotalDescription returns a boolean if a field has been set.

func (*Period) HasTeam1TotalShortDescription

func (o *Period) HasTeam1TotalShortDescription() bool

HasTeam1TotalShortDescription returns a boolean if a field has been set.

func (*Period) HasTeam2TotalDescription

func (o *Period) HasTeam2TotalDescription() bool

HasTeam2TotalDescription returns a boolean if a field has been set.

func (*Period) HasTeam2TotalShortDescription

func (o *Period) HasTeam2TotalShortDescription() bool

HasTeam2TotalShortDescription returns a boolean if a field has been set.

func (*Period) HasTotalDescription

func (o *Period) HasTotalDescription() bool

HasTotalDescription returns a boolean if a field has been set.

func (*Period) HasTotalShortDescription

func (o *Period) HasTotalShortDescription() bool

HasTotalShortDescription returns a boolean if a field has been set.

func (Period) MarshalJSON

func (o Period) MarshalJSON() ([]byte, error)

func (*Period) SetDescription

func (o *Period) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Period) SetMoneylineDescription

func (o *Period) SetMoneylineDescription(v string)

SetMoneylineDescription gets a reference to the given string and assigns it to the MoneylineDescription field.

func (*Period) SetMoneylineShortDescription

func (o *Period) SetMoneylineShortDescription(v string)

SetMoneylineShortDescription gets a reference to the given string and assigns it to the MoneylineShortDescription field.

func (*Period) SetNumber

func (o *Period) SetNumber(v int)

SetNumber gets a reference to the given int and assigns it to the Number field.

func (*Period) SetShortDescription

func (o *Period) SetShortDescription(v string)

SetShortDescription gets a reference to the given string and assigns it to the ShortDescription field.

func (*Period) SetSpreadDescription

func (o *Period) SetSpreadDescription(v string)

SetSpreadDescription gets a reference to the given string and assigns it to the SpreadDescription field.

func (*Period) SetSpreadShortDescription

func (o *Period) SetSpreadShortDescription(v string)

SetSpreadShortDescription gets a reference to the given string and assigns it to the SpreadShortDescription field.

func (*Period) SetTeam1TotalDescription

func (o *Period) SetTeam1TotalDescription(v string)

SetTeam1TotalDescription gets a reference to the given string and assigns it to the Team1TotalDescription field.

func (*Period) SetTeam1TotalShortDescription

func (o *Period) SetTeam1TotalShortDescription(v string)

SetTeam1TotalShortDescription gets a reference to the given string and assigns it to the Team1TotalShortDescription field.

func (*Period) SetTeam2TotalDescription

func (o *Period) SetTeam2TotalDescription(v string)

SetTeam2TotalDescription gets a reference to the given string and assigns it to the Team2TotalDescription field.

func (*Period) SetTeam2TotalShortDescription

func (o *Period) SetTeam2TotalShortDescription(v string)

SetTeam2TotalShortDescription gets a reference to the given string and assigns it to the Team2TotalShortDescription field.

func (*Period) SetTotalDescription

func (o *Period) SetTotalDescription(v string)

SetTotalDescription gets a reference to the given string and assigns it to the TotalDescription field.

func (*Period) SetTotalShortDescription

func (o *Period) SetTotalShortDescription(v string)

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

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

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

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

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

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) SetBetId

func (o *SpecialBet) SetBetId(v int64)

SetBetId sets field value

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) SetPrice

func (o *SpecialBet) SetPrice(v float64)

SetPrice sets field value

func (*SpecialBet) SetRisk

func (o *SpecialBet) SetRisk(v float64)

SetRisk 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) SetSportId

func (o *SpecialBet) SetSportId(v int)

SetSportId 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) SetWin

func (o *SpecialBet) SetWin(v float64)

SetWin 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

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

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

func (o *Sport) GetEventCount() int

GetEventCount returns the EventCount field value if set, zero value otherwise.

func (*Sport) GetEventCountOk

func (o *Sport) GetEventCountOk() (*int, bool)

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

func (o *Sport) GetEventSpecialsCount() int

GetEventSpecialsCount returns the EventSpecialsCount field value if set, zero value otherwise.

func (*Sport) GetEventSpecialsCountOk

func (o *Sport) GetEventSpecialsCountOk() (*int, bool)

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

func (o *Sport) GetHasOfferings() bool

GetHasOfferings returns the HasOfferings field value if set, zero value otherwise.

func (*Sport) GetHasOfferingsOk

func (o *Sport) GetHasOfferingsOk() (*bool, bool)

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) GetId

func (o *Sport) GetId() int

GetId returns the Id field value if set, zero value otherwise.

func (*Sport) GetIdOk

func (o *Sport) 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 (*Sport) GetLeagueSpecialsCount

func (o *Sport) GetLeagueSpecialsCount() int

GetLeagueSpecialsCount returns the LeagueSpecialsCount field value if set, zero value otherwise.

func (*Sport) GetLeagueSpecialsCountOk

func (o *Sport) GetLeagueSpecialsCountOk() (*int, bool)

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) GetName

func (o *Sport) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Sport) GetNameOk

func (o *Sport) 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 (*Sport) HasEventCount

func (o *Sport) HasEventCount() bool

HasEventCount returns a boolean if a field has been set.

func (*Sport) HasEventSpecialsCount

func (o *Sport) HasEventSpecialsCount() bool

HasEventSpecialsCount returns a boolean if a field has been set.

func (*Sport) HasHasOfferings

func (o *Sport) HasHasOfferings() bool

HasHasOfferings returns a boolean if a field has been set.

func (*Sport) HasId

func (o *Sport) HasId() bool

HasId returns a boolean if a field has been set.

func (*Sport) HasLeagueSpecialsCount

func (o *Sport) HasLeagueSpecialsCount() bool

HasLeagueSpecialsCount returns a boolean if a field has been set.

func (*Sport) HasName

func (o *Sport) HasName() bool

HasName returns a boolean if a field has been set.

func (Sport) MarshalJSON

func (o Sport) MarshalJSON() ([]byte, error)

func (*Sport) SetEventCount

func (o *Sport) SetEventCount(v int)

SetEventCount gets a reference to the given int and assigns it to the EventCount field.

func (*Sport) SetEventSpecialsCount

func (o *Sport) SetEventSpecialsCount(v int)

SetEventSpecialsCount gets a reference to the given int and assigns it to the EventSpecialsCount field.

func (*Sport) SetHasOfferings

func (o *Sport) SetHasOfferings(v bool)

SetHasOfferings gets a reference to the given bool and assigns it to the HasOfferings field.

func (*Sport) SetId

func (o *Sport) SetId(v int)

SetId gets a reference to the given int and assigns it to the Id field.

func (*Sport) SetLeagueSpecialsCount

func (o *Sport) SetLeagueSpecialsCount(v int)

SetLeagueSpecialsCount gets a reference to the given int and assigns it to the LeagueSpecialsCount field.

func (*Sport) SetName

func (o *Sport) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name 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.

const (
	ACCEPTED             Status = "ACCEPTED"
	PENDING_ACCEPTANCE   Status = "PENDING_ACCEPTANCE"
	PROCESSED_WITH_ERROR Status = "PROCESSED_WITH_ERROR"
)

List of Status

func (Status) Ptr

func (v Status) Ptr() *Status

Ptr returns reference to Status value

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) SetRisk

func (o *StraightBetV3) SetRisk(v float64)

SetRisk sets field value

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) SetWin

func (o *StraightBetV3) SetWin(v float64)

SetWin 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 {
	// 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    *float64   `json:"winLoss,omitempty"`
	OddsFormat OddsFormat `json:"oddsFormat"`
	// Client’s commission on the bet.
	CustomerCommission *float64            `json:"customerCommission,omitempty"`
	CancellationReason *CancellationReason `json:"cancellationReason,omitempty"`
	// Update Sequence
	UpdateSequence  int64   `json:"updateSequence"`
	TeaserName      string  `json:"teaserName"`
	IsSameEventOnly bool    `json:"isSameEventOnly"`
	MinPicks        float64 `json:"minPicks"`
	MaxPicks        float64 `json:"maxPicks"`
	// Populated for all teaser bets and will be the original price at the time of the placement.
	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"`
	// Reference to the teaser id
	TeaserId *float32 `json:"teaserId,omitempty"`
	// Reference to the teaser group id
	TeaserGroupId *float32    `json:"teaserGroupId,omitempty"`
	Legs          []TeaserLeg `json:"legs"`
}

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) GetBetId

func (o *TeaserBet) GetBetId() int64

GetBetId returns the BetId field value

func (*TeaserBet) GetBetIdOk

func (o *TeaserBet) GetBetIdOk() (*int64, bool)

GetBetIdOk returns a tuple with the BetId field value and a boolean to check if the value has been set.

func (*TeaserBet) GetBetStatus

func (o *TeaserBet) GetBetStatus() string

GetBetStatus returns the BetStatus field value

func (*TeaserBet) GetBetStatusOk

func (o *TeaserBet) GetBetStatusOk() (*string, bool)

GetBetStatusOk returns a tuple with the BetStatus field value and a boolean to check if the value has been set.

func (*TeaserBet) GetBetType

func (o *TeaserBet) GetBetType() string

GetBetType returns the BetType field value

func (*TeaserBet) GetBetTypeOk

func (o *TeaserBet) GetBetTypeOk() (*string, bool)

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

func (o *TeaserBet) GetCustomerCommission() float64

GetCustomerCommission returns the CustomerCommission field value if set, zero value otherwise.

func (*TeaserBet) GetCustomerCommissionOk

func (o *TeaserBet) 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 (*TeaserBet) GetFinalPrice

func (o *TeaserBet) GetFinalPrice() float64

GetFinalPrice returns the FinalPrice field value if set, zero value otherwise.

func (*TeaserBet) GetFinalPriceOk

func (o *TeaserBet) GetFinalPriceOk() (*float64, bool)

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

func (o *TeaserBet) GetIsSameEventOnly() bool

GetIsSameEventOnly returns the IsSameEventOnly field value

func (*TeaserBet) GetIsSameEventOnlyOk

func (o *TeaserBet) GetIsSameEventOnlyOk() (*bool, bool)

GetIsSameEventOnlyOk returns a tuple with the IsSameEventOnly field value and a boolean to check if the value has been set.

func (*TeaserBet) GetLegs

func (o *TeaserBet) GetLegs() []TeaserLeg

GetLegs returns the Legs field value

func (*TeaserBet) GetLegsOk

func (o *TeaserBet) GetLegsOk() (*[]TeaserLeg, bool)

GetLegsOk returns a tuple with the Legs field value and a boolean to check if the value has been set.

func (*TeaserBet) GetMaxPicks

func (o *TeaserBet) GetMaxPicks() float64

GetMaxPicks returns the MaxPicks field value

func (*TeaserBet) GetMaxPicksOk

func (o *TeaserBet) GetMaxPicksOk() (*float64, bool)

GetMaxPicksOk returns a tuple with the MaxPicks field value and a boolean to check if the value has been set.

func (*TeaserBet) GetMinPicks

func (o *TeaserBet) GetMinPicks() float64

GetMinPicks returns the MinPicks field value

func (*TeaserBet) GetMinPicksOk

func (o *TeaserBet) GetMinPicksOk() (*float64, bool)

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

func (o *TeaserBet) GetPlacedAt() time.Time

GetPlacedAt returns the PlacedAt field value

func (*TeaserBet) GetPlacedAtOk

func (o *TeaserBet) 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 (*TeaserBet) GetPrice

func (o *TeaserBet) GetPrice() float64

GetPrice returns the Price field value if set, zero value otherwise.

func (*TeaserBet) GetPriceOk

func (o *TeaserBet) 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 (*TeaserBet) GetRisk

func (o *TeaserBet) GetRisk() float64

GetRisk returns the Risk field value

func (*TeaserBet) GetRiskOk

func (o *TeaserBet) GetRiskOk() (*float64, bool)

GetRiskOk returns a tuple with the Risk field value and a boolean to check if the value has been set.

func (*TeaserBet) GetTeaserGroupId

func (o *TeaserBet) GetTeaserGroupId() float32

GetTeaserGroupId returns the TeaserGroupId field value if set, zero value otherwise.

func (*TeaserBet) GetTeaserGroupIdOk

func (o *TeaserBet) GetTeaserGroupIdOk() (*float32, bool)

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

func (o *TeaserBet) GetTeaserId() float32

GetTeaserId returns the TeaserId field value if set, zero value otherwise.

func (*TeaserBet) GetTeaserIdOk

func (o *TeaserBet) GetTeaserIdOk() (*float32, bool)

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

func (o *TeaserBet) GetTeaserName() string

GetTeaserName returns the TeaserName field value

func (*TeaserBet) GetTeaserNameOk

func (o *TeaserBet) GetTeaserNameOk() (*string, bool)

GetTeaserNameOk returns a tuple with the TeaserName field value and a boolean to check if the value has been set.

func (*TeaserBet) GetUniqueRequestId

func (o *TeaserBet) GetUniqueRequestId() string

GetUniqueRequestId returns the UniqueRequestId field value if set, zero value otherwise.

func (*TeaserBet) GetUniqueRequestIdOk

func (o *TeaserBet) 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 (*TeaserBet) GetUpdateSequence

func (o *TeaserBet) GetUpdateSequence() int64

GetUpdateSequence returns the UpdateSequence field value

func (*TeaserBet) GetUpdateSequenceOk

func (o *TeaserBet) GetUpdateSequenceOk() (*int64, bool)

GetUpdateSequenceOk returns a tuple with the UpdateSequence field value and a boolean to check if the value has been set.

func (*TeaserBet) GetWagerNumber

func (o *TeaserBet) GetWagerNumber() int

GetWagerNumber returns the WagerNumber field value

func (*TeaserBet) GetWagerNumberOk

func (o *TeaserBet) GetWagerNumberOk() (*int, bool)

GetWagerNumberOk returns a tuple with the WagerNumber field value and a boolean to check if the value has been set.

func (*TeaserBet) GetWin

func (o *TeaserBet) GetWin() float64

GetWin returns the Win field value

func (*TeaserBet) GetWinLoss

func (o *TeaserBet) GetWinLoss() float64

GetWinLoss returns the WinLoss field value if set, zero value otherwise.

func (*TeaserBet) GetWinLossOk

func (o *TeaserBet) 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 (*TeaserBet) GetWinOk

func (o *TeaserBet) GetWinOk() (*float64, bool)

GetWinOk returns a tuple with the Win field value and a boolean to check if the value has been set.

func (*TeaserBet) HasCancellationReason

func (o *TeaserBet) HasCancellationReason() bool

HasCancellationReason returns a boolean if a field has been set.

func (*TeaserBet) HasCustomerCommission

func (o *TeaserBet) HasCustomerCommission() bool

HasCustomerCommission returns a boolean if a field has been set.

func (*TeaserBet) HasFinalPrice

func (o *TeaserBet) HasFinalPrice() bool

HasFinalPrice returns a boolean if a field has been set.

func (*TeaserBet) HasPrice

func (o *TeaserBet) HasPrice() bool

HasPrice returns a boolean if a field has been set.

func (*TeaserBet) HasTeaserGroupId

func (o *TeaserBet) HasTeaserGroupId() bool

HasTeaserGroupId returns a boolean if a field has been set.

func (*TeaserBet) HasTeaserId

func (o *TeaserBet) HasTeaserId() bool

HasTeaserId returns a boolean if a field has been set.

func (*TeaserBet) HasUniqueRequestId

func (o *TeaserBet) HasUniqueRequestId() bool

HasUniqueRequestId returns a boolean if a field has been set.

func (*TeaserBet) HasWinLoss

func (o *TeaserBet) HasWinLoss() bool

HasWinLoss returns a boolean if a field has been set.

func (TeaserBet) MarshalJSON

func (o TeaserBet) MarshalJSON() ([]byte, error)

func (*TeaserBet) SetBetId

func (o *TeaserBet) SetBetId(v int64)

SetBetId sets field value

func (*TeaserBet) SetBetStatus

func (o *TeaserBet) SetBetStatus(v string)

SetBetStatus sets field value

func (*TeaserBet) SetBetType

func (o *TeaserBet) SetBetType(v string)

SetBetType 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

func (o *TeaserBet) SetCustomerCommission(v float64)

SetCustomerCommission gets a reference to the given float64 and assigns it to the CustomerCommission field.

func (*TeaserBet) SetFinalPrice

func (o *TeaserBet) SetFinalPrice(v float64)

SetFinalPrice gets a reference to the given float64 and assigns it to the FinalPrice field.

func (*TeaserBet) SetIsSameEventOnly

func (o *TeaserBet) SetIsSameEventOnly(v bool)

SetIsSameEventOnly sets field value

func (*TeaserBet) SetLegs

func (o *TeaserBet) SetLegs(v []TeaserLeg)

SetLegs sets field value

func (*TeaserBet) SetMaxPicks

func (o *TeaserBet) SetMaxPicks(v float64)

SetMaxPicks sets field value

func (*TeaserBet) SetMinPicks

func (o *TeaserBet) SetMinPicks(v float64)

SetMinPicks sets field value

func (*TeaserBet) SetOddsFormat

func (o *TeaserBet) SetOddsFormat(v OddsFormat)

SetOddsFormat sets field value

func (*TeaserBet) SetPlacedAt

func (o *TeaserBet) SetPlacedAt(v time.Time)

SetPlacedAt sets field value

func (*TeaserBet) SetPrice

func (o *TeaserBet) SetPrice(v float64)

SetPrice gets a reference to the given float64 and assigns it to the Price field.

func (*TeaserBet) SetRisk

func (o *TeaserBet) SetRisk(v float64)

SetRisk sets field value

func (*TeaserBet) SetTeaserGroupId

func (o *TeaserBet) SetTeaserGroupId(v float32)

SetTeaserGroupId gets a reference to the given float32 and assigns it to the TeaserGroupId field.

func (*TeaserBet) SetTeaserId

func (o *TeaserBet) SetTeaserId(v float32)

SetTeaserId gets a reference to the given float32 and assigns it to the TeaserId field.

func (*TeaserBet) SetTeaserName

func (o *TeaserBet) SetTeaserName(v string)

SetTeaserName sets field value

func (*TeaserBet) SetUniqueRequestId

func (o *TeaserBet) SetUniqueRequestId(v string)

SetUniqueRequestId gets a reference to the given string and assigns it to the UniqueRequestId field.

func (*TeaserBet) SetUpdateSequence

func (o *TeaserBet) SetUpdateSequence(v int64)

SetUpdateSequence sets field value

func (*TeaserBet) SetWagerNumber

func (o *TeaserBet) SetWagerNumber(v int)

SetWagerNumber sets field value

func (*TeaserBet) SetWin

func (o *TeaserBet) SetWin(v float64)

SetWin sets field value

func (*TeaserBet) SetWinLoss

func (o *TeaserBet) SetWinLoss(v float64)

SetWinLoss gets a reference to the given float64 and assigns it to the WinLoss field.

type TeaserGroups

type TeaserGroups struct {
	// Unique identifier.
	Id *int64 `json:"id,omitempty"`
	// Friendly name for the Teaser Group
	Name *string `json:"name,omitempty"`
	// A collection of Teaser.
	Teasers *[]TeaserGroupsTeaser `json:"teasers,omitempty"`
}

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 {
	// Number of points the line will be teased for the given league.
	Points *float64 `json:"points,omitempty"`
}

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.
	Id     *int                 `json:"id,omitempty"`
	Spread *TeaserGroupsBetType `json:"spread,omitempty"`
	Total  *TeaserGroupsBetType `json:"total,omitempty"`
}

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

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 {
	// Number of legs that must be bet and won to get the associated price.
	NumberOfLegs *int `json:"numberOfLegs,omitempty"`
	// Price of the bet given the specified number of legs.
	Price *float64 `json:"price,omitempty"`
}

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 {
	// A collection of TeaserGroups containing available teasers.
	TeaserGroups *[]TeaserGroups `json:"teaserGroups,omitempty"`
}

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 {
	// Unique identifier.
	Id *int64 `json:"id,omitempty"`
	// Description for the Teaser.
	Description *string `json:"description,omitempty"`
	// Unique Sport identifier. Sport details can be retrieved from a call to v2/sports endpoint.
	SportId *int `json:"sportId,omitempty"`
	// Minimum number of legs that must be selected.
	MinLegs *int `json:"minLegs,omitempty"`
	// Maximum number of legs that can be selected.
	MaxLegs *int `json:"maxLegs,omitempty"`
	// If 'true' then all legs must be from the same event, otherwise legs can be from different events.
	SameEventOnly *bool `json:"sameEventOnly,omitempty"`
	// A collection of Payout indicating all possible payout combinations.
	Payouts *[]TeaserGroupsPayout `json:"payouts,omitempty"`
	// A collection of Leagues available to the teaser.
	Leagues *[]TeaserGroupsLeague `json:"leagues,omitempty"`
}

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 {
	SportId *int `json:"sportId,omitempty"`
	// Teaser leg type.
	LegBetType *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
	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       *float64   `json:"handicap,omitempty"`
	TeamName       *string    `json:"teamName,omitempty"`
	// Side type.
	Side         *string `json:"side,omitempty"`
	Team1        *string `json:"team1,omitempty"`
	Team2        *string `json:"team2,omitempty"`
	PeriodNumber *int    `json:"periodNumber,omitempty"`
}

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

func (o *TeaserLeg) GetEventId() int64

GetEventId returns the EventId field value if set, zero value otherwise.

func (*TeaserLeg) GetEventIdOk

func (o *TeaserLeg) 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 (*TeaserLeg) GetEventStartTime

func (o *TeaserLeg) GetEventStartTime() time.Time

GetEventStartTime returns the EventStartTime field value if set, zero value otherwise.

func (*TeaserLeg) GetEventStartTimeOk

func (o *TeaserLeg) 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 (*TeaserLeg) GetHandicap

func (o *TeaserLeg) GetHandicap() float64

GetHandicap returns the Handicap field value if set, zero value otherwise.

func (*TeaserLeg) GetHandicapOk

func (o *TeaserLeg) 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 (*TeaserLeg) GetLeagueId

func (o *TeaserLeg) GetLeagueId() int

GetLeagueId returns the LeagueId field value if set, zero value otherwise.

func (*TeaserLeg) GetLeagueIdOk

func (o *TeaserLeg) 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 (*TeaserLeg) GetLegBetStatus

func (o *TeaserLeg) GetLegBetStatus() string

GetLegBetStatus returns the LegBetStatus field value if set, zero value otherwise.

func (*TeaserLeg) GetLegBetStatusOk

func (o *TeaserLeg) GetLegBetStatusOk() (*string, bool)

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

func (o *TeaserLeg) GetLegBetType() string

GetLegBetType returns the LegBetType field value if set, zero value otherwise.

func (*TeaserLeg) GetLegBetTypeOk

func (o *TeaserLeg) GetLegBetTypeOk() (*string, bool)

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

func (o *TeaserLeg) GetPeriodNumber() int

GetPeriodNumber returns the PeriodNumber field value if set, zero value otherwise.

func (*TeaserLeg) GetPeriodNumberOk

func (o *TeaserLeg) 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 (*TeaserLeg) GetSide

func (o *TeaserLeg) GetSide() string

GetSide returns the Side field value if set, zero value otherwise.

func (*TeaserLeg) GetSideOk

func (o *TeaserLeg) 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 (*TeaserLeg) GetSportId

func (o *TeaserLeg) GetSportId() int

GetSportId returns the SportId field value if set, zero value otherwise.

func (*TeaserLeg) GetSportIdOk

func (o *TeaserLeg) 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 (*TeaserLeg) GetTeam1

func (o *TeaserLeg) GetTeam1() string

GetTeam1 returns the Team1 field value if set, zero value otherwise.

func (*TeaserLeg) GetTeam1Ok

func (o *TeaserLeg) 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 (*TeaserLeg) GetTeam2

func (o *TeaserLeg) GetTeam2() string

GetTeam2 returns the Team2 field value if set, zero value otherwise.

func (*TeaserLeg) GetTeam2Ok

func (o *TeaserLeg) 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 (*TeaserLeg) GetTeamName

func (o *TeaserLeg) GetTeamName() string

GetTeamName returns the TeamName field value if set, zero value otherwise.

func (*TeaserLeg) GetTeamNameOk

func (o *TeaserLeg) 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 (*TeaserLeg) HasEventId

func (o *TeaserLeg) HasEventId() bool

HasEventId returns a boolean if a field has been set.

func (*TeaserLeg) HasEventStartTime

func (o *TeaserLeg) HasEventStartTime() bool

HasEventStartTime returns a boolean if a field has been set.

func (*TeaserLeg) HasHandicap

func (o *TeaserLeg) HasHandicap() bool

HasHandicap returns a boolean if a field has been set.

func (*TeaserLeg) HasLeagueId

func (o *TeaserLeg) HasLeagueId() bool

HasLeagueId returns a boolean if a field has been set.

func (*TeaserLeg) HasLegBetStatus

func (o *TeaserLeg) HasLegBetStatus() bool

HasLegBetStatus returns a boolean if a field has been set.

func (*TeaserLeg) HasLegBetType

func (o *TeaserLeg) HasLegBetType() bool

HasLegBetType returns a boolean if a field has been set.

func (*TeaserLeg) HasPeriodNumber

func (o *TeaserLeg) HasPeriodNumber() bool

HasPeriodNumber returns a boolean if a field has been set.

func (*TeaserLeg) HasSide

func (o *TeaserLeg) HasSide() bool

HasSide returns a boolean if a field has been set.

func (*TeaserLeg) HasSportId

func (o *TeaserLeg) HasSportId() bool

HasSportId returns a boolean if a field has been set.

func (*TeaserLeg) HasTeam1

func (o *TeaserLeg) HasTeam1() bool

HasTeam1 returns a boolean if a field has been set.

func (*TeaserLeg) HasTeam2

func (o *TeaserLeg) HasTeam2() bool

HasTeam2 returns a boolean if a field has been set.

func (*TeaserLeg) HasTeamName

func (o *TeaserLeg) HasTeamName() bool

HasTeamName returns a boolean if a field has been set.

func (TeaserLeg) MarshalJSON

func (o TeaserLeg) MarshalJSON() ([]byte, error)

func (*TeaserLeg) SetEventId

func (o *TeaserLeg) SetEventId(v int64)

SetEventId gets a reference to the given int64 and assigns it to the EventId field.

func (*TeaserLeg) SetEventStartTime

func (o *TeaserLeg) SetEventStartTime(v time.Time)

SetEventStartTime gets a reference to the given time.Time and assigns it to the EventStartTime field.

func (*TeaserLeg) SetHandicap

func (o *TeaserLeg) SetHandicap(v float64)

SetHandicap gets a reference to the given float64 and assigns it to the Handicap field.

func (*TeaserLeg) SetLeagueId

func (o *TeaserLeg) SetLeagueId(v int)

SetLeagueId gets a reference to the given int and assigns it to the LeagueId field.

func (*TeaserLeg) SetLegBetStatus

func (o *TeaserLeg) SetLegBetStatus(v string)

SetLegBetStatus gets a reference to the given string and assigns it to the LegBetStatus field.

func (*TeaserLeg) SetLegBetType

func (o *TeaserLeg) SetLegBetType(v string)

SetLegBetType gets a reference to the given string and assigns it to the LegBetType field.

func (*TeaserLeg) SetPeriodNumber

func (o *TeaserLeg) SetPeriodNumber(v int)

SetPeriodNumber gets a reference to the given int and assigns it to the PeriodNumber field.

func (*TeaserLeg) SetSide

func (o *TeaserLeg) SetSide(v string)

SetSide gets a reference to the given string and assigns it to the Side field.

func (*TeaserLeg) SetSportId

func (o *TeaserLeg) SetSportId(v int)

SetSportId gets a reference to the given int and assigns it to the SportId field.

func (*TeaserLeg) SetTeam1

func (o *TeaserLeg) SetTeam1(v string)

SetTeam1 gets a reference to the given string and assigns it to the Team1 field.

func (*TeaserLeg) SetTeam2

func (o *TeaserLeg) SetTeam2(v string)

SetTeam2 gets a reference to the given string and assigns it to the Team2 field.

func (*TeaserLeg) SetTeamName

func (o *TeaserLeg) SetTeamName(v string)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL