sportmarketapi

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: 0

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 {
	BetApi *BetApiService

	MarketApi *MarketApiService

	UserApi *UserApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Sportmarket API API v1.0.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

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 AccountItem

type AccountItem struct {
	Bookie   string `json:"bookie"`
	Username string `json:"username"`
	BetType  string `json:"bet_type"`
}

AccountItem struct for AccountItem

func NewAccountItem

func NewAccountItem(bookie string, username string, betType string) *AccountItem

NewAccountItem instantiates a new AccountItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAccountItemWithDefaults

func NewAccountItemWithDefaults() *AccountItem

NewAccountItemWithDefaults instantiates a new AccountItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AccountItem) GetBetType

func (o *AccountItem) GetBetType() string

GetBetType returns the BetType field value

func (*AccountItem) GetBetTypeOk

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

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

func (*AccountItem) GetBookie

func (o *AccountItem) GetBookie() string

GetBookie returns the Bookie field value

func (*AccountItem) GetBookieOk

func (o *AccountItem) GetBookieOk() (*string, bool)

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

func (*AccountItem) GetUsername

func (o *AccountItem) GetUsername() string

GetUsername returns the Username field value

func (*AccountItem) GetUsernameOk

func (o *AccountItem) GetUsernameOk() (*string, bool)

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

func (AccountItem) MarshalJSON

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

func (*AccountItem) SetBetType

func (o *AccountItem) SetBetType(v string)

SetBetType sets field value

func (*AccountItem) SetBookie

func (o *AccountItem) SetBookie(v string)

SetBookie sets field value

func (*AccountItem) SetUsername

func (o *AccountItem) SetUsername(v string)

SetUsername sets field value

type AnyType

type AnyType struct {
	// arbitraryTypeValue object
	Value interface{} `json:"value"`
}

AnyType struct for AnyType

func NewAnyType

func NewAnyType(value interface{}) *AnyType

NewAnyType instantiates a new AnyType 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 NewAnyTypeWithDefaults

func NewAnyTypeWithDefaults() *AnyType

NewAnyTypeWithDefaults instantiates a new AnyType 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 (*AnyType) GetValue

func (o *AnyType) GetValue() interface{}

GetValue returns the Value field value

func (*AnyType) GetValueOk

func (o *AnyType) GetValueOk() (*interface{}, bool)

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

func (AnyType) MarshalJSON

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

func (*AnyType) SetValue

func (o *AnyType) SetValue(v interface{})

SetValue sets field value

type BadRequestError

type BadRequestError struct {
	Status string    `json:"status"`
	Code   string    `json:"code"`
	Data   ErrorData `json:"data"`
}

BadRequestError struct for BadRequestError

func NewBadRequestError

func NewBadRequestError(status string, code string, data ErrorData) *BadRequestError

NewBadRequestError instantiates a new BadRequestError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBadRequestErrorWithDefaults

func NewBadRequestErrorWithDefaults() *BadRequestError

NewBadRequestErrorWithDefaults instantiates a new BadRequestError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BadRequestError) GetCode

func (o *BadRequestError) GetCode() string

GetCode returns the Code field value

func (*BadRequestError) GetCodeOk

func (o *BadRequestError) GetCodeOk() (*string, bool)

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

func (*BadRequestError) GetData

func (o *BadRequestError) GetData() ErrorData

GetData returns the Data field value

func (*BadRequestError) GetDataOk

func (o *BadRequestError) GetDataOk() (*ErrorData, bool)

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

func (*BadRequestError) GetStatus

func (o *BadRequestError) GetStatus() string

GetStatus returns the Status field value

func (*BadRequestError) GetStatusOk

func (o *BadRequestError) GetStatusOk() (*string, bool)

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

func (BadRequestError) MarshalJSON

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

func (*BadRequestError) SetCode

func (o *BadRequestError) SetCode(v string)

SetCode sets field value

func (*BadRequestError) SetData

func (o *BadRequestError) SetData(v ErrorData)

SetData sets field value

func (*BadRequestError) SetStatus

func (o *BadRequestError) SetStatus(v string)

SetStatus sets field value

type BalanceItem

type BalanceItem struct {
	Key   string  `json:"key"`
	Label string  `json:"label"`
	Value float64 `json:"value"`
	Unit  string  `json:"unit"`
}

BalanceItem struct for BalanceItem

func NewBalanceItem

func NewBalanceItem(key string, label string, value float64, unit string) *BalanceItem

NewBalanceItem instantiates a new BalanceItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBalanceItemWithDefaults

func NewBalanceItemWithDefaults() *BalanceItem

NewBalanceItemWithDefaults instantiates a new BalanceItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BalanceItem) GetKey

func (o *BalanceItem) GetKey() string

GetKey returns the Key field value

func (*BalanceItem) GetKeyOk

func (o *BalanceItem) GetKeyOk() (*string, bool)

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

func (*BalanceItem) GetLabel

func (o *BalanceItem) GetLabel() string

GetLabel returns the Label field value

func (*BalanceItem) GetLabelOk

func (o *BalanceItem) GetLabelOk() (*string, bool)

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

func (*BalanceItem) GetUnit

func (o *BalanceItem) GetUnit() string

GetUnit returns the Unit field value

func (*BalanceItem) GetUnitOk

func (o *BalanceItem) GetUnitOk() (*string, bool)

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

func (*BalanceItem) GetValue

func (o *BalanceItem) GetValue() float64

GetValue returns the Value field value

func (*BalanceItem) GetValueOk

func (o *BalanceItem) GetValueOk() (*float64, bool)

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

func (BalanceItem) MarshalJSON

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

func (*BalanceItem) SetKey

func (o *BalanceItem) SetKey(v string)

SetKey sets field value

func (*BalanceItem) SetLabel

func (o *BalanceItem) SetLabel(v string)

SetLabel sets field value

func (*BalanceItem) SetUnit

func (o *BalanceItem) SetUnit(v string)

SetUnit sets field value

func (*BalanceItem) SetValue

func (o *BalanceItem) SetValue(v float64)

SetValue sets field value

type BalanceResponse

type BalanceResponse struct {
	Status string        `json:"status"`
	Data   []BalanceItem `json:"data"`
}

BalanceResponse struct for BalanceResponse

func NewBalanceResponse

func NewBalanceResponse(status string, data []BalanceItem) *BalanceResponse

NewBalanceResponse instantiates a new BalanceResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBalanceResponseWithDefaults

func NewBalanceResponseWithDefaults() *BalanceResponse

NewBalanceResponseWithDefaults instantiates a new BalanceResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BalanceResponse) GetData

func (o *BalanceResponse) GetData() []BalanceItem

GetData returns the Data field value

func (*BalanceResponse) GetDataOk

func (o *BalanceResponse) GetDataOk() (*[]BalanceItem, bool)

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

func (*BalanceResponse) GetStatus

func (o *BalanceResponse) GetStatus() string

GetStatus returns the Status field value

func (*BalanceResponse) GetStatusOk

func (o *BalanceResponse) GetStatusOk() (*string, bool)

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

func (BalanceResponse) MarshalJSON

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

func (*BalanceResponse) SetData

func (o *BalanceResponse) SetData(v []BalanceItem)

SetData sets field value

func (*BalanceResponse) SetStatus

func (o *BalanceResponse) SetStatus(v string)

SetStatus sets field value

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type BetApiService

type BetApiService service

BetApiService BetApi service

func (*BetApiService) BetById

func (a *BetApiService) BetById(ctx _context.Context, orderId int64) apiBetByIdRequest

BetById Method for BetById

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param orderId

@return apiBetByIdRequest

func (*BetApiService) BetList

func (a *BetApiService) BetList(ctx _context.Context) apiBetListRequest

BetList Method for BetList

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return apiBetListRequest

func (*BetApiService) BetLog

func (a *BetApiService) BetLog(ctx _context.Context, orderId int64) apiBetLogRequest

BetLog Method for BetLog

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param orderId

@return apiBetLogRequest

func (*BetApiService) BetSlip

func (a *BetApiService) BetSlip(ctx _context.Context) apiBetSlipRequest

BetSlip Method for BetSlip

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return apiBetSlipRequest

func (*BetApiService) PlaceBet

func (a *BetApiService) PlaceBet(ctx _context.Context) apiPlaceBetRequest

PlaceBet Method for PlaceBet

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return apiPlaceBetRequest

func (*BetApiService) RefreshBetSlip

func (a *BetApiService) RefreshBetSlip(ctx _context.Context, betslipId string) apiRefreshBetSlipRequest

RefreshBetSlip Method for RefreshBetSlip

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param betslipId

@return apiRefreshBetSlipRequest

type BetBar

type BetBar struct {
	Success    []interface{} `json:"success"`
	Inprogress []interface{} `json:"inprogress"`
	Danger     []interface{} `json:"danger"`
	Unplaced   []interface{} `json:"unplaced"`
}

BetBar struct for BetBar

func NewBetBar

func NewBetBar(success []interface{}, inprogress []interface{}, danger []interface{}, unplaced []interface{}) *BetBar

NewBetBar instantiates a new BetBar object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBetBarWithDefaults

func NewBetBarWithDefaults() *BetBar

NewBetBarWithDefaults instantiates a new BetBar object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BetBar) GetDanger

func (o *BetBar) GetDanger() []interface{}

GetDanger returns the Danger field value

func (*BetBar) GetDangerOk

func (o *BetBar) GetDangerOk() (*[]interface{}, bool)

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

func (*BetBar) GetInprogress

func (o *BetBar) GetInprogress() []interface{}

GetInprogress returns the Inprogress field value

func (*BetBar) GetInprogressOk

func (o *BetBar) GetInprogressOk() (*[]interface{}, bool)

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

func (*BetBar) GetSuccess

func (o *BetBar) GetSuccess() []interface{}

GetSuccess returns the Success field value

func (*BetBar) GetSuccessOk

func (o *BetBar) GetSuccessOk() (*[]interface{}, bool)

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

func (*BetBar) GetUnplaced

func (o *BetBar) GetUnplaced() []interface{}

GetUnplaced returns the Unplaced field value

func (*BetBar) GetUnplacedOk

func (o *BetBar) GetUnplacedOk() (*[]interface{}, bool)

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

func (BetBar) MarshalJSON

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

func (*BetBar) SetDanger

func (o *BetBar) SetDanger(v []interface{})

SetDanger sets field value

func (*BetBar) SetInprogress

func (o *BetBar) SetInprogress(v []interface{})

SetInprogress sets field value

func (*BetBar) SetSuccess

func (o *BetBar) SetSuccess(v []interface{})

SetSuccess sets field value

func (*BetBar) SetUnplaced

func (o *BetBar) SetUnplaced(v []interface{})

SetUnplaced sets field value

type BetItem

type BetItem struct {
	BetId       *int64         `json:"bet_id,omitempty"`
	OrderId     *int64         `json:"order_id,omitempty"`
	Sport       *string        `json:"sport,omitempty"`
	EventId     *string        `json:"event_id,omitempty"`
	Bookie      *string        `json:"bookie,omitempty"`
	Username    *string        `json:"username,omitempty"`
	BetType     *string        `json:"bet_type,omitempty"`
	CcyRate     *float64       `json:"ccy_rate,omitempty"`
	Reconciled  *bool          `json:"reconciled,omitempty"`
	BookieBetId *string        `json:"bookie_bet_id,omitempty"`
	Status      *BetItemStatus `json:"status,omitempty"`
	WantPrice   *float64       `json:"want_price,omitempty"`
	GotPrice    *float64       `json:"got_price,omitempty"`
	WantStake   *[]interface{} `json:"want_stake,omitempty"`
	GotStake    *[]interface{} `json:"got_stake,omitempty"`
	ProfitLoss  *[]interface{} `json:"profit_loss,omitempty"`
}

BetItem struct for BetItem

func NewBetItem

func NewBetItem() *BetItem

NewBetItem instantiates a new BetItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBetItemWithDefaults

func NewBetItemWithDefaults() *BetItem

NewBetItemWithDefaults instantiates a new BetItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BetItem) GetBetId

func (o *BetItem) GetBetId() int64

GetBetId returns the BetId field value if set, zero value otherwise.

func (*BetItem) GetBetIdOk

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

func (o *BetItem) GetBetType() string

GetBetType returns the BetType field value if set, zero value otherwise.

func (*BetItem) GetBetTypeOk

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

func (o *BetItem) GetBookie() string

GetBookie returns the Bookie field value if set, zero value otherwise.

func (*BetItem) GetBookieBetId

func (o *BetItem) GetBookieBetId() string

GetBookieBetId returns the BookieBetId field value if set, zero value otherwise.

func (*BetItem) GetBookieBetIdOk

func (o *BetItem) GetBookieBetIdOk() (*string, bool)

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

func (*BetItem) GetBookieOk

func (o *BetItem) GetBookieOk() (*string, bool)

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

func (*BetItem) GetCcyRate

func (o *BetItem) GetCcyRate() float64

GetCcyRate returns the CcyRate field value if set, zero value otherwise.

func (*BetItem) GetCcyRateOk

func (o *BetItem) GetCcyRateOk() (*float64, bool)

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

func (*BetItem) GetEventId

func (o *BetItem) GetEventId() string

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

func (*BetItem) GetEventIdOk

func (o *BetItem) GetEventIdOk() (*string, 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 (*BetItem) GetGotPrice

func (o *BetItem) GetGotPrice() float64

GetGotPrice returns the GotPrice field value if set, zero value otherwise.

func (*BetItem) GetGotPriceOk

func (o *BetItem) GetGotPriceOk() (*float64, bool)

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

func (*BetItem) GetGotStake

func (o *BetItem) GetGotStake() []interface{}

GetGotStake returns the GotStake field value if set, zero value otherwise.

func (*BetItem) GetGotStakeOk

func (o *BetItem) GetGotStakeOk() (*[]interface{}, bool)

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

func (*BetItem) GetOrderId

func (o *BetItem) GetOrderId() int64

GetOrderId returns the OrderId field value if set, zero value otherwise.

func (*BetItem) GetOrderIdOk

func (o *BetItem) GetOrderIdOk() (*int64, bool)

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

func (*BetItem) GetProfitLoss

func (o *BetItem) GetProfitLoss() []interface{}

GetProfitLoss returns the ProfitLoss field value if set, zero value otherwise.

func (*BetItem) GetProfitLossOk

func (o *BetItem) GetProfitLossOk() (*[]interface{}, bool)

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

func (*BetItem) GetReconciled

func (o *BetItem) GetReconciled() bool

GetReconciled returns the Reconciled field value if set, zero value otherwise.

func (*BetItem) GetReconciledOk

func (o *BetItem) GetReconciledOk() (*bool, bool)

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

func (*BetItem) GetSport

func (o *BetItem) GetSport() string

GetSport returns the Sport field value if set, zero value otherwise.

func (*BetItem) GetSportOk

func (o *BetItem) GetSportOk() (*string, bool)

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

func (*BetItem) GetStatus

func (o *BetItem) GetStatus() BetItemStatus

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

func (*BetItem) GetStatusOk

func (o *BetItem) GetStatusOk() (*BetItemStatus, bool)

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

func (*BetItem) GetUsername

func (o *BetItem) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*BetItem) GetUsernameOk

func (o *BetItem) GetUsernameOk() (*string, bool)

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

func (*BetItem) GetWantPrice

func (o *BetItem) GetWantPrice() float64

GetWantPrice returns the WantPrice field value if set, zero value otherwise.

func (*BetItem) GetWantPriceOk

func (o *BetItem) GetWantPriceOk() (*float64, bool)

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

func (*BetItem) GetWantStake

func (o *BetItem) GetWantStake() []interface{}

GetWantStake returns the WantStake field value if set, zero value otherwise.

func (*BetItem) GetWantStakeOk

func (o *BetItem) GetWantStakeOk() (*[]interface{}, bool)

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

func (*BetItem) HasBetId

func (o *BetItem) HasBetId() bool

HasBetId returns a boolean if a field has been set.

func (*BetItem) HasBetType

func (o *BetItem) HasBetType() bool

HasBetType returns a boolean if a field has been set.

func (*BetItem) HasBookie

func (o *BetItem) HasBookie() bool

HasBookie returns a boolean if a field has been set.

func (*BetItem) HasBookieBetId

func (o *BetItem) HasBookieBetId() bool

HasBookieBetId returns a boolean if a field has been set.

func (*BetItem) HasCcyRate

func (o *BetItem) HasCcyRate() bool

HasCcyRate returns a boolean if a field has been set.

func (*BetItem) HasEventId

func (o *BetItem) HasEventId() bool

HasEventId returns a boolean if a field has been set.

func (*BetItem) HasGotPrice

func (o *BetItem) HasGotPrice() bool

HasGotPrice returns a boolean if a field has been set.

func (*BetItem) HasGotStake

func (o *BetItem) HasGotStake() bool

HasGotStake returns a boolean if a field has been set.

func (*BetItem) HasOrderId

func (o *BetItem) HasOrderId() bool

HasOrderId returns a boolean if a field has been set.

func (*BetItem) HasProfitLoss

func (o *BetItem) HasProfitLoss() bool

HasProfitLoss returns a boolean if a field has been set.

func (*BetItem) HasReconciled

func (o *BetItem) HasReconciled() bool

HasReconciled returns a boolean if a field has been set.

func (*BetItem) HasSport

func (o *BetItem) HasSport() bool

HasSport returns a boolean if a field has been set.

func (*BetItem) HasStatus

func (o *BetItem) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*BetItem) HasUsername

func (o *BetItem) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (*BetItem) HasWantPrice

func (o *BetItem) HasWantPrice() bool

HasWantPrice returns a boolean if a field has been set.

func (*BetItem) HasWantStake

func (o *BetItem) HasWantStake() bool

HasWantStake returns a boolean if a field has been set.

func (BetItem) MarshalJSON

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

func (*BetItem) SetBetId

func (o *BetItem) SetBetId(v int64)

SetBetId gets a reference to the given int64 and assigns it to the BetId field.

func (*BetItem) SetBetType

func (o *BetItem) SetBetType(v string)

SetBetType gets a reference to the given string and assigns it to the BetType field.

func (*BetItem) SetBookie

func (o *BetItem) SetBookie(v string)

SetBookie gets a reference to the given string and assigns it to the Bookie field.

func (*BetItem) SetBookieBetId

func (o *BetItem) SetBookieBetId(v string)

SetBookieBetId gets a reference to the given string and assigns it to the BookieBetId field.

func (*BetItem) SetCcyRate

func (o *BetItem) SetCcyRate(v float64)

SetCcyRate gets a reference to the given float64 and assigns it to the CcyRate field.

func (*BetItem) SetEventId

func (o *BetItem) SetEventId(v string)

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

func (*BetItem) SetGotPrice

func (o *BetItem) SetGotPrice(v float64)

SetGotPrice gets a reference to the given float64 and assigns it to the GotPrice field.

func (*BetItem) SetGotStake

func (o *BetItem) SetGotStake(v []interface{})

SetGotStake gets a reference to the given []interface{} and assigns it to the GotStake field.

func (*BetItem) SetOrderId

func (o *BetItem) SetOrderId(v int64)

SetOrderId gets a reference to the given int64 and assigns it to the OrderId field.

func (*BetItem) SetProfitLoss

func (o *BetItem) SetProfitLoss(v []interface{})

SetProfitLoss gets a reference to the given []interface{} and assigns it to the ProfitLoss field.

func (*BetItem) SetReconciled

func (o *BetItem) SetReconciled(v bool)

SetReconciled gets a reference to the given bool and assigns it to the Reconciled field.

func (*BetItem) SetSport

func (o *BetItem) SetSport(v string)

SetSport gets a reference to the given string and assigns it to the Sport field.

func (*BetItem) SetStatus

func (o *BetItem) SetStatus(v BetItemStatus)

SetStatus gets a reference to the given BetItemStatus and assigns it to the Status field.

func (*BetItem) SetUsername

func (o *BetItem) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (*BetItem) SetWantPrice

func (o *BetItem) SetWantPrice(v float64)

SetWantPrice gets a reference to the given float64 and assigns it to the WantPrice field.

func (*BetItem) SetWantStake

func (o *BetItem) SetWantStake(v []interface{})

SetWantStake gets a reference to the given []interface{} and assigns it to the WantStake field.

type BetItemStatus

type BetItemStatus struct {
	Code *string `json:"code,omitempty"`
}

BetItemStatus struct for BetItemStatus

func NewBetItemStatus

func NewBetItemStatus() *BetItemStatus

NewBetItemStatus instantiates a new BetItemStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBetItemStatusWithDefaults

func NewBetItemStatusWithDefaults() *BetItemStatus

NewBetItemStatusWithDefaults instantiates a new BetItemStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BetItemStatus) GetCode

func (o *BetItemStatus) GetCode() string

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

func (*BetItemStatus) GetCodeOk

func (o *BetItemStatus) GetCodeOk() (*string, bool)

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

func (*BetItemStatus) HasCode

func (o *BetItemStatus) HasCode() bool

HasCode returns a boolean if a field has been set.

func (BetItemStatus) MarshalJSON

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

func (*BetItemStatus) SetCode

func (o *BetItemStatus) SetCode(v string)

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

type BetListResponse

type BetListResponse struct {
	Status string      `json:"status"`
	Data   []OrderItem `json:"data"`
}

BetListResponse struct for BetListResponse

func NewBetListResponse

func NewBetListResponse(status string, data []OrderItem) *BetListResponse

NewBetListResponse instantiates a new BetListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBetListResponseWithDefaults

func NewBetListResponseWithDefaults() *BetListResponse

NewBetListResponseWithDefaults instantiates a new BetListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BetListResponse) GetData

func (o *BetListResponse) GetData() []OrderItem

GetData returns the Data field value

func (*BetListResponse) GetDataOk

func (o *BetListResponse) GetDataOk() (*[]OrderItem, bool)

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

func (*BetListResponse) GetStatus

func (o *BetListResponse) GetStatus() string

GetStatus returns the Status field value

func (*BetListResponse) GetStatusOk

func (o *BetListResponse) GetStatusOk() (*string, bool)

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

func (BetListResponse) MarshalJSON

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

func (*BetListResponse) SetData

func (o *BetListResponse) SetData(v []OrderItem)

SetData sets field value

func (*BetListResponse) SetStatus

func (o *BetListResponse) SetStatus(v string)

SetStatus sets field value

type BetLogResponse

type BetLogResponse struct {
	Status string    `json:"status"`
	Data   []LogItem `json:"data"`
}

BetLogResponse struct for BetLogResponse

func NewBetLogResponse

func NewBetLogResponse(status string, data []LogItem) *BetLogResponse

NewBetLogResponse instantiates a new BetLogResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBetLogResponseWithDefaults

func NewBetLogResponseWithDefaults() *BetLogResponse

NewBetLogResponseWithDefaults instantiates a new BetLogResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BetLogResponse) GetData

func (o *BetLogResponse) GetData() []LogItem

GetData returns the Data field value

func (*BetLogResponse) GetDataOk

func (o *BetLogResponse) GetDataOk() (*[]LogItem, bool)

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

func (*BetLogResponse) GetStatus

func (o *BetLogResponse) GetStatus() string

GetStatus returns the Status field value

func (*BetLogResponse) GetStatusOk

func (o *BetLogResponse) GetStatusOk() (*string, bool)

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

func (BetLogResponse) MarshalJSON

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

func (*BetLogResponse) SetData

func (o *BetLogResponse) SetData(v []LogItem)

SetData sets field value

func (*BetLogResponse) SetStatus

func (o *BetLogResponse) SetStatus(v string)

SetStatus sets field value

type BetSlipData

type BetSlipData struct {
	BetslipId             string                             `json:"betslip_id"`
	Sport                 string                             `json:"sport"`
	EventId               string                             `json:"event_id"`
	BetType               string                             `json:"bet_type"`
	BetTypeDescription    *string                            `json:"bet_type_description,omitempty"`
	BetTypeTemplate       *string                            `json:"bet_type_template,omitempty"`
	EquivalentBets        *bool                              `json:"equivalent_bets,omitempty"`
	MultipleAccounts      *bool                              `json:"multiple_accounts,omitempty"`
	IsOpen                *bool                              `json:"is_open,omitempty"`
	ExpiryTs              float64                            `json:"expiry_ts"`
	BookiesWithOffers     *[]string                          `json:"bookies_with_offers,omitempty"`
	EquivalentBetsBookies *[]string                          `json:"equivalent_bets_bookies,omitempty"`
	CloseReason           *string                            `json:"close_reason,omitempty"`
	CustomerUsername      *string                            `json:"customer_username,omitempty"`
	CustomerCcy           *string                            `json:"customer_ccy,omitempty"`
	InvalidAccounts       *map[string]map[string]interface{} `json:"invalid_accounts,omitempty"`
	WantBookies           *string                            `json:"want_bookies,omitempty"`
	Accounts              *[]AccountItem                     `json:"accounts,omitempty"`
}

BetSlipData struct for BetSlipData

func NewBetSlipData

func NewBetSlipData(betslipId string, sport string, eventId string, betType string, expiryTs float64) *BetSlipData

NewBetSlipData instantiates a new BetSlipData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBetSlipDataWithDefaults

func NewBetSlipDataWithDefaults() *BetSlipData

NewBetSlipDataWithDefaults instantiates a new BetSlipData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BetSlipData) GetAccounts

func (o *BetSlipData) GetAccounts() []AccountItem

GetAccounts returns the Accounts field value if set, zero value otherwise.

func (*BetSlipData) GetAccountsOk

func (o *BetSlipData) GetAccountsOk() (*[]AccountItem, bool)

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

func (*BetSlipData) GetBetType

func (o *BetSlipData) GetBetType() string

GetBetType returns the BetType field value

func (*BetSlipData) GetBetTypeDescription

func (o *BetSlipData) GetBetTypeDescription() string

GetBetTypeDescription returns the BetTypeDescription field value if set, zero value otherwise.

func (*BetSlipData) GetBetTypeDescriptionOk

func (o *BetSlipData) GetBetTypeDescriptionOk() (*string, bool)

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

func (*BetSlipData) GetBetTypeOk

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

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

func (*BetSlipData) GetBetTypeTemplate

func (o *BetSlipData) GetBetTypeTemplate() string

GetBetTypeTemplate returns the BetTypeTemplate field value if set, zero value otherwise.

func (*BetSlipData) GetBetTypeTemplateOk

func (o *BetSlipData) GetBetTypeTemplateOk() (*string, bool)

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

func (*BetSlipData) GetBetslipId

func (o *BetSlipData) GetBetslipId() string

GetBetslipId returns the BetslipId field value

func (*BetSlipData) GetBetslipIdOk

func (o *BetSlipData) GetBetslipIdOk() (*string, bool)

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

func (*BetSlipData) GetBookiesWithOffers

func (o *BetSlipData) GetBookiesWithOffers() []string

GetBookiesWithOffers returns the BookiesWithOffers field value if set, zero value otherwise.

func (*BetSlipData) GetBookiesWithOffersOk

func (o *BetSlipData) GetBookiesWithOffersOk() (*[]string, bool)

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

func (*BetSlipData) GetCloseReason

func (o *BetSlipData) GetCloseReason() string

GetCloseReason returns the CloseReason field value if set, zero value otherwise.

func (*BetSlipData) GetCloseReasonOk

func (o *BetSlipData) GetCloseReasonOk() (*string, bool)

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

func (*BetSlipData) GetCustomerCcy

func (o *BetSlipData) GetCustomerCcy() string

GetCustomerCcy returns the CustomerCcy field value if set, zero value otherwise.

func (*BetSlipData) GetCustomerCcyOk

func (o *BetSlipData) GetCustomerCcyOk() (*string, bool)

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

func (*BetSlipData) GetCustomerUsername

func (o *BetSlipData) GetCustomerUsername() string

GetCustomerUsername returns the CustomerUsername field value if set, zero value otherwise.

func (*BetSlipData) GetCustomerUsernameOk

func (o *BetSlipData) GetCustomerUsernameOk() (*string, bool)

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

func (*BetSlipData) GetEquivalentBets

func (o *BetSlipData) GetEquivalentBets() bool

GetEquivalentBets returns the EquivalentBets field value if set, zero value otherwise.

func (*BetSlipData) GetEquivalentBetsBookies

func (o *BetSlipData) GetEquivalentBetsBookies() []string

GetEquivalentBetsBookies returns the EquivalentBetsBookies field value if set, zero value otherwise.

func (*BetSlipData) GetEquivalentBetsBookiesOk

func (o *BetSlipData) GetEquivalentBetsBookiesOk() (*[]string, bool)

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

func (*BetSlipData) GetEquivalentBetsOk

func (o *BetSlipData) GetEquivalentBetsOk() (*bool, bool)

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

func (*BetSlipData) GetEventId

func (o *BetSlipData) GetEventId() string

GetEventId returns the EventId field value

func (*BetSlipData) GetEventIdOk

func (o *BetSlipData) GetEventIdOk() (*string, bool)

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

func (*BetSlipData) GetExpiryTs

func (o *BetSlipData) GetExpiryTs() float64

GetExpiryTs returns the ExpiryTs field value

func (*BetSlipData) GetExpiryTsOk

func (o *BetSlipData) GetExpiryTsOk() (*float64, bool)

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

func (*BetSlipData) GetInvalidAccounts

func (o *BetSlipData) GetInvalidAccounts() map[string]map[string]interface{}

GetInvalidAccounts returns the InvalidAccounts field value if set, zero value otherwise.

func (*BetSlipData) GetInvalidAccountsOk

func (o *BetSlipData) GetInvalidAccountsOk() (*map[string]map[string]interface{}, bool)

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

func (*BetSlipData) GetIsOpen

func (o *BetSlipData) GetIsOpen() bool

GetIsOpen returns the IsOpen field value if set, zero value otherwise.

func (*BetSlipData) GetIsOpenOk

func (o *BetSlipData) GetIsOpenOk() (*bool, bool)

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

func (*BetSlipData) GetMultipleAccounts

func (o *BetSlipData) GetMultipleAccounts() bool

GetMultipleAccounts returns the MultipleAccounts field value if set, zero value otherwise.

func (*BetSlipData) GetMultipleAccountsOk

func (o *BetSlipData) GetMultipleAccountsOk() (*bool, bool)

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

func (*BetSlipData) GetSport

func (o *BetSlipData) GetSport() string

GetSport returns the Sport field value

func (*BetSlipData) GetSportOk

func (o *BetSlipData) GetSportOk() (*string, bool)

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

func (*BetSlipData) GetWantBookies

func (o *BetSlipData) GetWantBookies() string

GetWantBookies returns the WantBookies field value if set, zero value otherwise.

func (*BetSlipData) GetWantBookiesOk

func (o *BetSlipData) GetWantBookiesOk() (*string, bool)

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

func (*BetSlipData) HasAccounts

func (o *BetSlipData) HasAccounts() bool

HasAccounts returns a boolean if a field has been set.

func (*BetSlipData) HasBetTypeDescription

func (o *BetSlipData) HasBetTypeDescription() bool

HasBetTypeDescription returns a boolean if a field has been set.

func (*BetSlipData) HasBetTypeTemplate

func (o *BetSlipData) HasBetTypeTemplate() bool

HasBetTypeTemplate returns a boolean if a field has been set.

func (*BetSlipData) HasBookiesWithOffers

func (o *BetSlipData) HasBookiesWithOffers() bool

HasBookiesWithOffers returns a boolean if a field has been set.

func (*BetSlipData) HasCloseReason

func (o *BetSlipData) HasCloseReason() bool

HasCloseReason returns a boolean if a field has been set.

func (*BetSlipData) HasCustomerCcy

func (o *BetSlipData) HasCustomerCcy() bool

HasCustomerCcy returns a boolean if a field has been set.

func (*BetSlipData) HasCustomerUsername

func (o *BetSlipData) HasCustomerUsername() bool

HasCustomerUsername returns a boolean if a field has been set.

func (*BetSlipData) HasEquivalentBets

func (o *BetSlipData) HasEquivalentBets() bool

HasEquivalentBets returns a boolean if a field has been set.

func (*BetSlipData) HasEquivalentBetsBookies

func (o *BetSlipData) HasEquivalentBetsBookies() bool

HasEquivalentBetsBookies returns a boolean if a field has been set.

func (*BetSlipData) HasInvalidAccounts

func (o *BetSlipData) HasInvalidAccounts() bool

HasInvalidAccounts returns a boolean if a field has been set.

func (*BetSlipData) HasIsOpen

func (o *BetSlipData) HasIsOpen() bool

HasIsOpen returns a boolean if a field has been set.

func (*BetSlipData) HasMultipleAccounts

func (o *BetSlipData) HasMultipleAccounts() bool

HasMultipleAccounts returns a boolean if a field has been set.

func (*BetSlipData) HasWantBookies

func (o *BetSlipData) HasWantBookies() bool

HasWantBookies returns a boolean if a field has been set.

func (BetSlipData) MarshalJSON

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

func (*BetSlipData) SetAccounts

func (o *BetSlipData) SetAccounts(v []AccountItem)

SetAccounts gets a reference to the given []AccountItem and assigns it to the Accounts field.

func (*BetSlipData) SetBetType

func (o *BetSlipData) SetBetType(v string)

SetBetType sets field value

func (*BetSlipData) SetBetTypeDescription

func (o *BetSlipData) SetBetTypeDescription(v string)

SetBetTypeDescription gets a reference to the given string and assigns it to the BetTypeDescription field.

func (*BetSlipData) SetBetTypeTemplate

func (o *BetSlipData) SetBetTypeTemplate(v string)

SetBetTypeTemplate gets a reference to the given string and assigns it to the BetTypeTemplate field.

func (*BetSlipData) SetBetslipId

func (o *BetSlipData) SetBetslipId(v string)

SetBetslipId sets field value

func (*BetSlipData) SetBookiesWithOffers

func (o *BetSlipData) SetBookiesWithOffers(v []string)

SetBookiesWithOffers gets a reference to the given []string and assigns it to the BookiesWithOffers field.

func (*BetSlipData) SetCloseReason

func (o *BetSlipData) SetCloseReason(v string)

SetCloseReason gets a reference to the given string and assigns it to the CloseReason field.

func (*BetSlipData) SetCustomerCcy

func (o *BetSlipData) SetCustomerCcy(v string)

SetCustomerCcy gets a reference to the given string and assigns it to the CustomerCcy field.

func (*BetSlipData) SetCustomerUsername

func (o *BetSlipData) SetCustomerUsername(v string)

SetCustomerUsername gets a reference to the given string and assigns it to the CustomerUsername field.

func (*BetSlipData) SetEquivalentBets

func (o *BetSlipData) SetEquivalentBets(v bool)

SetEquivalentBets gets a reference to the given bool and assigns it to the EquivalentBets field.

func (*BetSlipData) SetEquivalentBetsBookies

func (o *BetSlipData) SetEquivalentBetsBookies(v []string)

SetEquivalentBetsBookies gets a reference to the given []string and assigns it to the EquivalentBetsBookies field.

func (*BetSlipData) SetEventId

func (o *BetSlipData) SetEventId(v string)

SetEventId sets field value

func (*BetSlipData) SetExpiryTs

func (o *BetSlipData) SetExpiryTs(v float64)

SetExpiryTs sets field value

func (*BetSlipData) SetInvalidAccounts

func (o *BetSlipData) SetInvalidAccounts(v map[string]map[string]interface{})

SetInvalidAccounts gets a reference to the given map[string]map[string]interface{} and assigns it to the InvalidAccounts field.

func (*BetSlipData) SetIsOpen

func (o *BetSlipData) SetIsOpen(v bool)

SetIsOpen gets a reference to the given bool and assigns it to the IsOpen field.

func (*BetSlipData) SetMultipleAccounts

func (o *BetSlipData) SetMultipleAccounts(v bool)

SetMultipleAccounts gets a reference to the given bool and assigns it to the MultipleAccounts field.

func (*BetSlipData) SetSport

func (o *BetSlipData) SetSport(v string)

SetSport sets field value

func (*BetSlipData) SetWantBookies

func (o *BetSlipData) SetWantBookies(v string)

SetWantBookies gets a reference to the given string and assigns it to the WantBookies field.

type BetSlipRequest

type BetSlipRequest struct {
	Sport            string `json:"sport"`
	EventId          string `json:"event_id"`
	BetType          string `json:"bet_type"`
	EquivalentBets   bool   `json:"equivalent_bets"`
	MultipleAccounts bool   `json:"multiple_accounts"`
}

BetSlipRequest struct for BetSlipRequest

func NewBetSlipRequest

func NewBetSlipRequest(sport string, eventId string, betType string, equivalentBets bool, multipleAccounts bool) *BetSlipRequest

NewBetSlipRequest instantiates a new BetSlipRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBetSlipRequestWithDefaults

func NewBetSlipRequestWithDefaults() *BetSlipRequest

NewBetSlipRequestWithDefaults instantiates a new BetSlipRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BetSlipRequest) GetBetType

func (o *BetSlipRequest) GetBetType() string

GetBetType returns the BetType field value

func (*BetSlipRequest) GetBetTypeOk

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

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

func (*BetSlipRequest) GetEquivalentBets

func (o *BetSlipRequest) GetEquivalentBets() bool

GetEquivalentBets returns the EquivalentBets field value

func (*BetSlipRequest) GetEquivalentBetsOk

func (o *BetSlipRequest) GetEquivalentBetsOk() (*bool, bool)

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

func (*BetSlipRequest) GetEventId

func (o *BetSlipRequest) GetEventId() string

GetEventId returns the EventId field value

func (*BetSlipRequest) GetEventIdOk

func (o *BetSlipRequest) GetEventIdOk() (*string, bool)

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

func (*BetSlipRequest) GetMultipleAccounts

func (o *BetSlipRequest) GetMultipleAccounts() bool

GetMultipleAccounts returns the MultipleAccounts field value

func (*BetSlipRequest) GetMultipleAccountsOk

func (o *BetSlipRequest) GetMultipleAccountsOk() (*bool, bool)

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

func (*BetSlipRequest) GetSport

func (o *BetSlipRequest) GetSport() string

GetSport returns the Sport field value

func (*BetSlipRequest) GetSportOk

func (o *BetSlipRequest) GetSportOk() (*string, bool)

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

func (BetSlipRequest) MarshalJSON

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

func (*BetSlipRequest) SetBetType

func (o *BetSlipRequest) SetBetType(v string)

SetBetType sets field value

func (*BetSlipRequest) SetEquivalentBets

func (o *BetSlipRequest) SetEquivalentBets(v bool)

SetEquivalentBets sets field value

func (*BetSlipRequest) SetEventId

func (o *BetSlipRequest) SetEventId(v string)

SetEventId sets field value

func (*BetSlipRequest) SetMultipleAccounts

func (o *BetSlipRequest) SetMultipleAccounts(v bool)

SetMultipleAccounts sets field value

func (*BetSlipRequest) SetSport

func (o *BetSlipRequest) SetSport(v string)

SetSport sets field value

type BetSlipResponse

type BetSlipResponse struct {
	Data   BetSlipData `json:"data"`
	Status string      `json:"status"`
}

BetSlipResponse struct for BetSlipResponse

func NewBetSlipResponse

func NewBetSlipResponse(data BetSlipData, status string) *BetSlipResponse

NewBetSlipResponse instantiates a new BetSlipResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBetSlipResponseWithDefaults

func NewBetSlipResponseWithDefaults() *BetSlipResponse

NewBetSlipResponseWithDefaults instantiates a new BetSlipResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BetSlipResponse) GetData

func (o *BetSlipResponse) GetData() BetSlipData

GetData returns the Data field value

func (*BetSlipResponse) GetDataOk

func (o *BetSlipResponse) GetDataOk() (*BetSlipData, bool)

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

func (*BetSlipResponse) GetStatus

func (o *BetSlipResponse) GetStatus() string

GetStatus returns the Status field value

func (*BetSlipResponse) GetStatusOk

func (o *BetSlipResponse) GetStatusOk() (*string, bool)

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

func (BetSlipResponse) MarshalJSON

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

func (*BetSlipResponse) SetData

func (o *BetSlipResponse) SetData(v BetSlipData)

SetData sets field value

func (*BetSlipResponse) SetStatus

func (o *BetSlipResponse) SetStatus(v string)

SetStatus sets field value

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) 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 ErrorData

type ErrorData struct {
	ValidationErrors *map[string][]string `json:"validation_errors,omitempty"`
}

ErrorData struct for ErrorData

func NewErrorData

func NewErrorData() *ErrorData

NewErrorData instantiates a new ErrorData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewErrorDataWithDefaults

func NewErrorDataWithDefaults() *ErrorData

NewErrorDataWithDefaults instantiates a new ErrorData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ErrorData) GetValidationErrors

func (o *ErrorData) GetValidationErrors() map[string][]string

GetValidationErrors returns the ValidationErrors field value if set, zero value otherwise.

func (*ErrorData) GetValidationErrorsOk

func (o *ErrorData) GetValidationErrorsOk() (*map[string][]string, bool)

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

func (*ErrorData) HasValidationErrors

func (o *ErrorData) HasValidationErrors() bool

HasValidationErrors returns a boolean if a field has been set.

func (ErrorData) MarshalJSON

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

func (*ErrorData) SetValidationErrors

func (o *ErrorData) SetValidationErrors(v map[string][]string)

SetValidationErrors gets a reference to the given map[string][]string and assigns it to the ValidationErrors field.

type Event

type Event struct {
	Away      *string    `json:"away,omitempty"`
	Home      *string    `json:"home,omitempty"`
	IrStatus  *string    `json:"ir_status,omitempty"`
	Sports    *[]string  `json:"sports,omitempty"`
	StartTime *time.Time `json:"start_time,omitempty"`
}

Event struct for Event

func NewEvent

func NewEvent() *Event

NewEvent instantiates a new Event object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEventWithDefaults

func NewEventWithDefaults() *Event

NewEventWithDefaults instantiates a new Event object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Event) GetAway

func (o *Event) GetAway() string

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

func (*Event) GetAwayOk

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

func (o *Event) GetHome() string

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

func (*Event) GetHomeOk

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

func (o *Event) GetIrStatus() string

GetIrStatus returns the IrStatus field value if set, zero value otherwise.

func (*Event) GetIrStatusOk

func (o *Event) GetIrStatusOk() (*string, bool)

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

func (*Event) GetSports

func (o *Event) GetSports() []string

GetSports returns the Sports field value if set, zero value otherwise.

func (*Event) GetSportsOk

func (o *Event) GetSportsOk() (*[]string, 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 (*Event) GetStartTime

func (o *Event) GetStartTime() time.Time

GetStartTime returns the StartTime field value if set, zero value otherwise.

func (*Event) GetStartTimeOk

func (o *Event) GetStartTimeOk() (*time.Time, bool)

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

func (*Event) HasAway

func (o *Event) HasAway() bool

HasAway returns a boolean if a field has been set.

func (*Event) HasHome

func (o *Event) HasHome() bool

HasHome returns a boolean if a field has been set.

func (*Event) HasIrStatus

func (o *Event) HasIrStatus() bool

HasIrStatus returns a boolean if a field has been set.

func (*Event) HasSports

func (o *Event) HasSports() bool

HasSports returns a boolean if a field has been set.

func (*Event) HasStartTime

func (o *Event) HasStartTime() bool

HasStartTime returns a boolean if a field has been set.

func (Event) MarshalJSON

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

func (*Event) SetAway

func (o *Event) SetAway(v string)

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

func (*Event) SetHome

func (o *Event) SetHome(v string)

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

func (*Event) SetIrStatus

func (o *Event) SetIrStatus(v string)

SetIrStatus gets a reference to the given string and assigns it to the IrStatus field.

func (*Event) SetSports

func (o *Event) SetSports(v []string)

SetSports gets a reference to the given []string and assigns it to the Sports field.

func (*Event) SetStartTime

func (o *Event) SetStartTime(v time.Time)

SetStartTime gets a reference to the given time.Time and assigns it to the StartTime field.

type EventInfo

type EventInfo struct {
	EventId            string    `json:"event_id"`
	HomeId             int64     `json:"home_id"`
	HomeTeam           string    `json:"home_team"`
	AwayId             int64     `json:"away_id"`
	AwayTeam           string    `json:"away_team"`
	CompetitionId      int64     `json:"competition_id"`
	CompetitionName    string    `json:"competition_name"`
	CompetitionCountry string    `json:"competition_country"`
	StartTime          time.Time `json:"start_time"`
	Date               string    `json:"date"`
}

EventInfo struct for EventInfo

func NewEventInfo

func NewEventInfo(eventId string, homeId int64, homeTeam string, awayId int64, awayTeam string, competitionId int64, competitionName string, competitionCountry string, startTime time.Time, date string) *EventInfo

NewEventInfo instantiates a new EventInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEventInfoWithDefaults

func NewEventInfoWithDefaults() *EventInfo

NewEventInfoWithDefaults instantiates a new EventInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EventInfo) GetAwayId

func (o *EventInfo) GetAwayId() int64

GetAwayId returns the AwayId field value

func (*EventInfo) GetAwayIdOk

func (o *EventInfo) GetAwayIdOk() (*int64, bool)

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

func (*EventInfo) GetAwayTeam

func (o *EventInfo) GetAwayTeam() string

GetAwayTeam returns the AwayTeam field value

func (*EventInfo) GetAwayTeamOk

func (o *EventInfo) GetAwayTeamOk() (*string, bool)

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

func (*EventInfo) GetCompetitionCountry

func (o *EventInfo) GetCompetitionCountry() string

GetCompetitionCountry returns the CompetitionCountry field value

func (*EventInfo) GetCompetitionCountryOk

func (o *EventInfo) GetCompetitionCountryOk() (*string, bool)

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

func (*EventInfo) GetCompetitionId

func (o *EventInfo) GetCompetitionId() int64

GetCompetitionId returns the CompetitionId field value

func (*EventInfo) GetCompetitionIdOk

func (o *EventInfo) GetCompetitionIdOk() (*int64, bool)

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

func (*EventInfo) GetCompetitionName

func (o *EventInfo) GetCompetitionName() string

GetCompetitionName returns the CompetitionName field value

func (*EventInfo) GetCompetitionNameOk

func (o *EventInfo) GetCompetitionNameOk() (*string, bool)

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

func (*EventInfo) GetDate

func (o *EventInfo) GetDate() string

GetDate returns the Date field value

func (*EventInfo) GetDateOk

func (o *EventInfo) GetDateOk() (*string, bool)

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

func (*EventInfo) GetEventId

func (o *EventInfo) GetEventId() string

GetEventId returns the EventId field value

func (*EventInfo) GetEventIdOk

func (o *EventInfo) GetEventIdOk() (*string, bool)

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

func (*EventInfo) GetHomeId

func (o *EventInfo) GetHomeId() int64

GetHomeId returns the HomeId field value

func (*EventInfo) GetHomeIdOk

func (o *EventInfo) GetHomeIdOk() (*int64, bool)

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

func (*EventInfo) GetHomeTeam

func (o *EventInfo) GetHomeTeam() string

GetHomeTeam returns the HomeTeam field value

func (*EventInfo) GetHomeTeamOk

func (o *EventInfo) GetHomeTeamOk() (*string, bool)

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

func (*EventInfo) GetStartTime

func (o *EventInfo) GetStartTime() time.Time

GetStartTime returns the StartTime field value

func (*EventInfo) GetStartTimeOk

func (o *EventInfo) GetStartTimeOk() (*time.Time, bool)

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

func (EventInfo) MarshalJSON

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

func (*EventInfo) SetAwayId

func (o *EventInfo) SetAwayId(v int64)

SetAwayId sets field value

func (*EventInfo) SetAwayTeam

func (o *EventInfo) SetAwayTeam(v string)

SetAwayTeam sets field value

func (*EventInfo) SetCompetitionCountry

func (o *EventInfo) SetCompetitionCountry(v string)

SetCompetitionCountry sets field value

func (*EventInfo) SetCompetitionId

func (o *EventInfo) SetCompetitionId(v int64)

SetCompetitionId sets field value

func (*EventInfo) SetCompetitionName

func (o *EventInfo) SetCompetitionName(v string)

SetCompetitionName sets field value

func (*EventInfo) SetDate

func (o *EventInfo) SetDate(v string)

SetDate sets field value

func (*EventInfo) SetEventId

func (o *EventInfo) SetEventId(v string)

SetEventId sets field value

func (*EventInfo) SetHomeId

func (o *EventInfo) SetHomeId(v int64)

SetHomeId sets field value

func (*EventInfo) SetHomeTeam

func (o *EventInfo) SetHomeTeam(v string)

SetHomeTeam sets field value

func (*EventInfo) SetStartTime

func (o *EventInfo) SetStartTime(v time.Time)

SetStartTime sets field value

type FuckOff

type FuckOff struct {
	// arbitraryTypeValue object
	ArbitraryTypeValue *interface{} `json:"arbitraryTypeValue,omitempty"`
}

FuckOff struct for FuckOff

func NewFuckOff

func NewFuckOff() *FuckOff

NewFuckOff instantiates a new FuckOff 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 NewFuckOffWithDefaults

func NewFuckOffWithDefaults() *FuckOff

NewFuckOffWithDefaults instantiates a new FuckOff 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 (*FuckOff) GetArbitraryTypeValue

func (o *FuckOff) GetArbitraryTypeValue() interface{}

GetArbitraryTypeValue returns the ArbitraryTypeValue field value if set, zero value otherwise.

func (*FuckOff) GetArbitraryTypeValueOk

func (o *FuckOff) GetArbitraryTypeValueOk() (*interface{}, bool)

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

func (*FuckOff) HasArbitraryTypeValue

func (o *FuckOff) HasArbitraryTypeValue() bool

HasArbitraryTypeValue returns a boolean if a field has been set.

func (FuckOff) MarshalJSON

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

func (*FuckOff) SetArbitraryTypeValue

func (o *FuckOff) SetArbitraryTypeValue(v interface{})

SetArbitraryTypeValue gets a reference to the given interface{} and assigns it to the ArbitraryTypeValue 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 GetEventsRequest

type GetEventsRequest struct {
	IncludePrices bool        `json:"include_prices"`
	AllEvents     bool        `json:"all_events"`
	AllHcaps      *bool       `json:"all_hcaps,omitempty"`
	EventIds      *[][]string `json:"event_ids,omitempty"`
}

GetEventsRequest struct for GetEventsRequest

func NewGetEventsRequest

func NewGetEventsRequest(includePrices bool, allEvents bool) *GetEventsRequest

NewGetEventsRequest instantiates a new GetEventsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetEventsRequestWithDefaults

func NewGetEventsRequestWithDefaults() *GetEventsRequest

NewGetEventsRequestWithDefaults instantiates a new GetEventsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetEventsRequest) GetAllEvents

func (o *GetEventsRequest) GetAllEvents() bool

GetAllEvents returns the AllEvents field value

func (*GetEventsRequest) GetAllEventsOk

func (o *GetEventsRequest) GetAllEventsOk() (*bool, bool)

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

func (*GetEventsRequest) GetAllHcaps

func (o *GetEventsRequest) GetAllHcaps() bool

GetAllHcaps returns the AllHcaps field value if set, zero value otherwise.

func (*GetEventsRequest) GetAllHcapsOk

func (o *GetEventsRequest) GetAllHcapsOk() (*bool, bool)

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

func (*GetEventsRequest) GetEventIds

func (o *GetEventsRequest) GetEventIds() [][]string

GetEventIds returns the EventIds field value if set, zero value otherwise.

func (*GetEventsRequest) GetEventIdsOk

func (o *GetEventsRequest) GetEventIdsOk() (*[][]string, bool)

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

func (*GetEventsRequest) GetIncludePrices

func (o *GetEventsRequest) GetIncludePrices() bool

GetIncludePrices returns the IncludePrices field value

func (*GetEventsRequest) GetIncludePricesOk

func (o *GetEventsRequest) GetIncludePricesOk() (*bool, bool)

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

func (*GetEventsRequest) HasAllHcaps

func (o *GetEventsRequest) HasAllHcaps() bool

HasAllHcaps returns a boolean if a field has been set.

func (*GetEventsRequest) HasEventIds

func (o *GetEventsRequest) HasEventIds() bool

HasEventIds returns a boolean if a field has been set.

func (GetEventsRequest) MarshalJSON

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

func (*GetEventsRequest) SetAllEvents

func (o *GetEventsRequest) SetAllEvents(v bool)

SetAllEvents sets field value

func (*GetEventsRequest) SetAllHcaps

func (o *GetEventsRequest) SetAllHcaps(v bool)

SetAllHcaps gets a reference to the given bool and assigns it to the AllHcaps field.

func (*GetEventsRequest) SetEventIds

func (o *GetEventsRequest) SetEventIds(v [][]string)

SetEventIds gets a reference to the given [][]string and assigns it to the EventIds field.

func (*GetEventsRequest) SetIncludePrices

func (o *GetEventsRequest) SetIncludePrices(v bool)

SetIncludePrices sets field value

type GetEventsResponse

type GetEventsResponse struct {
	Status *string            `json:"status,omitempty"`
	Data   *map[string]League `json:"data,omitempty"`
}

GetEventsResponse struct for GetEventsResponse

func NewGetEventsResponse

func NewGetEventsResponse() *GetEventsResponse

NewGetEventsResponse instantiates a new GetEventsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetEventsResponseWithDefaults

func NewGetEventsResponseWithDefaults() *GetEventsResponse

NewGetEventsResponseWithDefaults instantiates a new GetEventsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetEventsResponse) GetData

func (o *GetEventsResponse) GetData() map[string]League

GetData returns the Data field value if set, zero value otherwise.

func (*GetEventsResponse) GetDataOk

func (o *GetEventsResponse) GetDataOk() (*map[string]League, bool)

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

func (*GetEventsResponse) GetStatus

func (o *GetEventsResponse) GetStatus() string

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

func (*GetEventsResponse) GetStatusOk

func (o *GetEventsResponse) GetStatusOk() (*string, bool)

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

func (*GetEventsResponse) HasData

func (o *GetEventsResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*GetEventsResponse) HasStatus

func (o *GetEventsResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (GetEventsResponse) MarshalJSON

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

func (*GetEventsResponse) SetData

func (o *GetEventsResponse) SetData(v map[string]League)

SetData gets a reference to the given map[string]League and assigns it to the Data field.

func (*GetEventsResponse) SetStatus

func (o *GetEventsResponse) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

type League

type League struct {
	CompBookie *bool             `json:"comp_bookie,omitempty"`
	Country    *string           `json:"country,omitempty"`
	Name       *string           `json:"name,omitempty"`
	Rank       *int64            `json:"rank,omitempty"`
	Events     *map[string]Event `json:"events,omitempty"`
}

League struct for League

func NewLeague

func NewLeague() *League

NewLeague instantiates a new League object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLeagueWithDefaults

func NewLeagueWithDefaults() *League

NewLeagueWithDefaults instantiates a new League object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*League) GetCompBookie

func (o *League) GetCompBookie() bool

GetCompBookie returns the CompBookie field value if set, zero value otherwise.

func (*League) GetCompBookieOk

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

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

func (*League) GetCountry

func (o *League) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*League) GetCountryOk

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

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

func (*League) GetEvents

func (o *League) GetEvents() map[string]Event

GetEvents returns the Events field value if set, zero value otherwise.

func (*League) GetEventsOk

func (o *League) GetEventsOk() (*map[string]Event, 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 (*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) GetRank

func (o *League) GetRank() int64

GetRank returns the Rank field value if set, zero value otherwise.

func (*League) GetRankOk

func (o *League) GetRankOk() (*int64, bool)

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

func (*League) HasCompBookie

func (o *League) HasCompBookie() bool

HasCompBookie returns a boolean if a field has been set.

func (*League) HasCountry

func (o *League) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*League) HasEvents

func (o *League) HasEvents() bool

HasEvents 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) HasRank

func (o *League) HasRank() bool

HasRank returns a boolean if a field has been set.

func (League) MarshalJSON

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

func (*League) SetCompBookie

func (o *League) SetCompBookie(v bool)

SetCompBookie gets a reference to the given bool and assigns it to the CompBookie field.

func (*League) SetCountry

func (o *League) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*League) SetEvents

func (o *League) SetEvents(v map[string]Event)

SetEvents gets a reference to the given map[string]Event and assigns it to the Events 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.

func (*League) SetRank

func (o *League) SetRank(v int64)

SetRank gets a reference to the given int64 and assigns it to the Rank field.

type LogItem

type LogItem struct {
	Timestamp *time.Time `json:"timestamp,omitempty"`
	Message   *string    `json:"message,omitempty"`
	Category  *string    `json:"category,omitempty"`
}

LogItem struct for LogItem

func NewLogItem

func NewLogItem() *LogItem

NewLogItem instantiates a new LogItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLogItemWithDefaults

func NewLogItemWithDefaults() *LogItem

NewLogItemWithDefaults instantiates a new LogItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LogItem) GetCategory

func (o *LogItem) GetCategory() string

GetCategory returns the Category field value if set, zero value otherwise.

func (*LogItem) GetCategoryOk

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

func (o *LogItem) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*LogItem) GetMessageOk

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

func (o *LogItem) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*LogItem) GetTimestampOk

func (o *LogItem) GetTimestampOk() (*time.Time, bool)

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

func (*LogItem) HasCategory

func (o *LogItem) HasCategory() bool

HasCategory returns a boolean if a field has been set.

func (*LogItem) HasMessage

func (o *LogItem) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*LogItem) HasTimestamp

func (o *LogItem) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (LogItem) MarshalJSON

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

func (*LogItem) SetCategory

func (o *LogItem) SetCategory(v string)

SetCategory gets a reference to the given string and assigns it to the Category field.

func (*LogItem) SetMessage

func (o *LogItem) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*LogItem) SetTimestamp

func (o *LogItem) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

type LoginData

type LoginData struct {
	Whitelabel *string `json:"whitelabel,omitempty"`
	Username   *string `json:"username,omitempty"`
	CustomerId *int64  `json:"customer_id,omitempty"`
	Lang       *string `json:"lang,omitempty"`
	SessionId  *string `json:"session_id,omitempty"`
}

LoginData struct for LoginData

func NewLoginData

func NewLoginData() *LoginData

NewLoginData instantiates a new LoginData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLoginDataWithDefaults

func NewLoginDataWithDefaults() *LoginData

NewLoginDataWithDefaults instantiates a new LoginData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LoginData) GetCustomerId

func (o *LoginData) GetCustomerId() int64

GetCustomerId returns the CustomerId field value if set, zero value otherwise.

func (*LoginData) GetCustomerIdOk

func (o *LoginData) GetCustomerIdOk() (*int64, bool)

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

func (*LoginData) GetLang

func (o *LoginData) GetLang() string

GetLang returns the Lang field value if set, zero value otherwise.

func (*LoginData) GetLangOk

func (o *LoginData) GetLangOk() (*string, bool)

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

func (*LoginData) GetSessionId

func (o *LoginData) GetSessionId() string

GetSessionId returns the SessionId field value if set, zero value otherwise.

func (*LoginData) GetSessionIdOk

func (o *LoginData) GetSessionIdOk() (*string, bool)

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

func (*LoginData) GetUsername

func (o *LoginData) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*LoginData) GetUsernameOk

func (o *LoginData) GetUsernameOk() (*string, bool)

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

func (*LoginData) GetWhitelabel

func (o *LoginData) GetWhitelabel() string

GetWhitelabel returns the Whitelabel field value if set, zero value otherwise.

func (*LoginData) GetWhitelabelOk

func (o *LoginData) GetWhitelabelOk() (*string, bool)

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

func (*LoginData) HasCustomerId

func (o *LoginData) HasCustomerId() bool

HasCustomerId returns a boolean if a field has been set.

func (*LoginData) HasLang

func (o *LoginData) HasLang() bool

HasLang returns a boolean if a field has been set.

func (*LoginData) HasSessionId

func (o *LoginData) HasSessionId() bool

HasSessionId returns a boolean if a field has been set.

func (*LoginData) HasUsername

func (o *LoginData) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (*LoginData) HasWhitelabel

func (o *LoginData) HasWhitelabel() bool

HasWhitelabel returns a boolean if a field has been set.

func (LoginData) MarshalJSON

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

func (*LoginData) SetCustomerId

func (o *LoginData) SetCustomerId(v int64)

SetCustomerId gets a reference to the given int64 and assigns it to the CustomerId field.

func (*LoginData) SetLang

func (o *LoginData) SetLang(v string)

SetLang gets a reference to the given string and assigns it to the Lang field.

func (*LoginData) SetSessionId

func (o *LoginData) SetSessionId(v string)

SetSessionId gets a reference to the given string and assigns it to the SessionId field.

func (*LoginData) SetUsername

func (o *LoginData) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (*LoginData) SetWhitelabel

func (o *LoginData) SetWhitelabel(v string)

SetWhitelabel gets a reference to the given string and assigns it to the Whitelabel field.

type LoginRequest

type LoginRequest struct {
	Username string `json:"username"`
	Password string `json:"password"`
	Full     bool   `json:"full"`
	Lang     string `json:"lang"`
}

LoginRequest struct for LoginRequest

func NewLoginRequest

func NewLoginRequest(username string, password string, full bool, lang string) *LoginRequest

NewLoginRequest instantiates a new LoginRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLoginRequestWithDefaults

func NewLoginRequestWithDefaults() *LoginRequest

NewLoginRequestWithDefaults instantiates a new LoginRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LoginRequest) GetFull

func (o *LoginRequest) GetFull() bool

GetFull returns the Full field value

func (*LoginRequest) GetFullOk

func (o *LoginRequest) GetFullOk() (*bool, bool)

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

func (*LoginRequest) GetLang

func (o *LoginRequest) GetLang() string

GetLang returns the Lang field value

func (*LoginRequest) GetLangOk

func (o *LoginRequest) GetLangOk() (*string, bool)

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

func (*LoginRequest) GetPassword

func (o *LoginRequest) GetPassword() string

GetPassword returns the Password field value

func (*LoginRequest) GetPasswordOk

func (o *LoginRequest) GetPasswordOk() (*string, bool)

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

func (*LoginRequest) GetUsername

func (o *LoginRequest) GetUsername() string

GetUsername returns the Username field value

func (*LoginRequest) GetUsernameOk

func (o *LoginRequest) GetUsernameOk() (*string, bool)

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

func (LoginRequest) MarshalJSON

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

func (*LoginRequest) SetFull

func (o *LoginRequest) SetFull(v bool)

SetFull sets field value

func (*LoginRequest) SetLang

func (o *LoginRequest) SetLang(v string)

SetLang sets field value

func (*LoginRequest) SetPassword

func (o *LoginRequest) SetPassword(v string)

SetPassword sets field value

func (*LoginRequest) SetUsername

func (o *LoginRequest) SetUsername(v string)

SetUsername sets field value

type LoginResponse

type LoginResponse struct {
	Status *string    `json:"status,omitempty"`
	Data   *LoginData `json:"data,omitempty"`
}

LoginResponse struct for LoginResponse

func NewLoginResponse

func NewLoginResponse() *LoginResponse

NewLoginResponse instantiates a new LoginResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLoginResponseWithDefaults

func NewLoginResponseWithDefaults() *LoginResponse

NewLoginResponseWithDefaults instantiates a new LoginResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LoginResponse) GetData

func (o *LoginResponse) GetData() LoginData

GetData returns the Data field value if set, zero value otherwise.

func (*LoginResponse) GetDataOk

func (o *LoginResponse) GetDataOk() (*LoginData, bool)

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

func (*LoginResponse) GetStatus

func (o *LoginResponse) GetStatus() string

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

func (*LoginResponse) GetStatusOk

func (o *LoginResponse) GetStatusOk() (*string, bool)

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

func (*LoginResponse) HasData

func (o *LoginResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*LoginResponse) HasStatus

func (o *LoginResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (LoginResponse) MarshalJSON

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

func (*LoginResponse) SetData

func (o *LoginResponse) SetData(v LoginData)

SetData gets a reference to the given LoginData and assigns it to the Data field.

func (*LoginResponse) SetStatus

func (o *LoginResponse) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

type MarketApiService

type MarketApiService service

MarketApiService MarketApi service

func (*MarketApiService) GetEvents

func (a *MarketApiService) GetEvents(ctx _context.Context) apiGetEventsRequest

GetEvents Method for GetEvents

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return apiGetEventsRequest

type NullableAccountItem

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

func NewNullableAccountItem

func NewNullableAccountItem(val *AccountItem) *NullableAccountItem

func (NullableAccountItem) Get

func (NullableAccountItem) IsSet

func (v NullableAccountItem) IsSet() bool

func (NullableAccountItem) MarshalJSON

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

func (*NullableAccountItem) Set

func (v *NullableAccountItem) Set(val *AccountItem)

func (*NullableAccountItem) UnmarshalJSON

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

func (*NullableAccountItem) Unset

func (v *NullableAccountItem) Unset()

type NullableAnyType

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

func NewNullableAnyType

func NewNullableAnyType(val *AnyType) *NullableAnyType

func (NullableAnyType) Get

func (v NullableAnyType) Get() *AnyType

func (NullableAnyType) IsSet

func (v NullableAnyType) IsSet() bool

func (NullableAnyType) MarshalJSON

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

func (*NullableAnyType) Set

func (v *NullableAnyType) Set(val *AnyType)

func (*NullableAnyType) UnmarshalJSON

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

func (*NullableAnyType) Unset

func (v *NullableAnyType) Unset()

type NullableBadRequestError

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

func NewNullableBadRequestError

func NewNullableBadRequestError(val *BadRequestError) *NullableBadRequestError

func (NullableBadRequestError) Get

func (NullableBadRequestError) IsSet

func (v NullableBadRequestError) IsSet() bool

func (NullableBadRequestError) MarshalJSON

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

func (*NullableBadRequestError) Set

func (*NullableBadRequestError) UnmarshalJSON

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

func (*NullableBadRequestError) Unset

func (v *NullableBadRequestError) Unset()

type NullableBalanceItem

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

func NewNullableBalanceItem

func NewNullableBalanceItem(val *BalanceItem) *NullableBalanceItem

func (NullableBalanceItem) Get

func (NullableBalanceItem) IsSet

func (v NullableBalanceItem) IsSet() bool

func (NullableBalanceItem) MarshalJSON

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

func (*NullableBalanceItem) Set

func (v *NullableBalanceItem) Set(val *BalanceItem)

func (*NullableBalanceItem) UnmarshalJSON

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

func (*NullableBalanceItem) Unset

func (v *NullableBalanceItem) Unset()

type NullableBalanceResponse

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

func NewNullableBalanceResponse

func NewNullableBalanceResponse(val *BalanceResponse) *NullableBalanceResponse

func (NullableBalanceResponse) Get

func (NullableBalanceResponse) IsSet

func (v NullableBalanceResponse) IsSet() bool

func (NullableBalanceResponse) MarshalJSON

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

func (*NullableBalanceResponse) Set

func (*NullableBalanceResponse) UnmarshalJSON

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

func (*NullableBalanceResponse) Unset

func (v *NullableBalanceResponse) Unset()

type NullableBetBar

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

func NewNullableBetBar

func NewNullableBetBar(val *BetBar) *NullableBetBar

func (NullableBetBar) Get

func (v NullableBetBar) Get() *BetBar

func (NullableBetBar) IsSet

func (v NullableBetBar) IsSet() bool

func (NullableBetBar) MarshalJSON

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

func (*NullableBetBar) Set

func (v *NullableBetBar) Set(val *BetBar)

func (*NullableBetBar) UnmarshalJSON

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

func (*NullableBetBar) Unset

func (v *NullableBetBar) Unset()

type NullableBetItem

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

func NewNullableBetItem

func NewNullableBetItem(val *BetItem) *NullableBetItem

func (NullableBetItem) Get

func (v NullableBetItem) Get() *BetItem

func (NullableBetItem) IsSet

func (v NullableBetItem) IsSet() bool

func (NullableBetItem) MarshalJSON

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

func (*NullableBetItem) Set

func (v *NullableBetItem) Set(val *BetItem)

func (*NullableBetItem) UnmarshalJSON

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

func (*NullableBetItem) Unset

func (v *NullableBetItem) Unset()

type NullableBetItemStatus

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

func NewNullableBetItemStatus

func NewNullableBetItemStatus(val *BetItemStatus) *NullableBetItemStatus

func (NullableBetItemStatus) Get

func (NullableBetItemStatus) IsSet

func (v NullableBetItemStatus) IsSet() bool

func (NullableBetItemStatus) MarshalJSON

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

func (*NullableBetItemStatus) Set

func (v *NullableBetItemStatus) Set(val *BetItemStatus)

func (*NullableBetItemStatus) UnmarshalJSON

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

func (*NullableBetItemStatus) Unset

func (v *NullableBetItemStatus) Unset()

type NullableBetListResponse

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

func NewNullableBetListResponse

func NewNullableBetListResponse(val *BetListResponse) *NullableBetListResponse

func (NullableBetListResponse) Get

func (NullableBetListResponse) IsSet

func (v NullableBetListResponse) IsSet() bool

func (NullableBetListResponse) MarshalJSON

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

func (*NullableBetListResponse) Set

func (*NullableBetListResponse) UnmarshalJSON

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

func (*NullableBetListResponse) Unset

func (v *NullableBetListResponse) Unset()

type NullableBetLogResponse

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

func NewNullableBetLogResponse

func NewNullableBetLogResponse(val *BetLogResponse) *NullableBetLogResponse

func (NullableBetLogResponse) Get

func (NullableBetLogResponse) IsSet

func (v NullableBetLogResponse) IsSet() bool

func (NullableBetLogResponse) MarshalJSON

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

func (*NullableBetLogResponse) Set

func (*NullableBetLogResponse) UnmarshalJSON

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

func (*NullableBetLogResponse) Unset

func (v *NullableBetLogResponse) Unset()

type NullableBetSlipData

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

func NewNullableBetSlipData

func NewNullableBetSlipData(val *BetSlipData) *NullableBetSlipData

func (NullableBetSlipData) Get

func (NullableBetSlipData) IsSet

func (v NullableBetSlipData) IsSet() bool

func (NullableBetSlipData) MarshalJSON

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

func (*NullableBetSlipData) Set

func (v *NullableBetSlipData) Set(val *BetSlipData)

func (*NullableBetSlipData) UnmarshalJSON

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

func (*NullableBetSlipData) Unset

func (v *NullableBetSlipData) Unset()

type NullableBetSlipRequest

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

func NewNullableBetSlipRequest

func NewNullableBetSlipRequest(val *BetSlipRequest) *NullableBetSlipRequest

func (NullableBetSlipRequest) Get

func (NullableBetSlipRequest) IsSet

func (v NullableBetSlipRequest) IsSet() bool

func (NullableBetSlipRequest) MarshalJSON

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

func (*NullableBetSlipRequest) Set

func (*NullableBetSlipRequest) UnmarshalJSON

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

func (*NullableBetSlipRequest) Unset

func (v *NullableBetSlipRequest) Unset()

type NullableBetSlipResponse

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

func NewNullableBetSlipResponse

func NewNullableBetSlipResponse(val *BetSlipResponse) *NullableBetSlipResponse

func (NullableBetSlipResponse) Get

func (NullableBetSlipResponse) IsSet

func (v NullableBetSlipResponse) IsSet() bool

func (NullableBetSlipResponse) MarshalJSON

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

func (*NullableBetSlipResponse) Set

func (*NullableBetSlipResponse) UnmarshalJSON

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

func (*NullableBetSlipResponse) Unset

func (v *NullableBetSlipResponse) Unset()

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableErrorData

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

func NewNullableErrorData

func NewNullableErrorData(val *ErrorData) *NullableErrorData

func (NullableErrorData) Get

func (v NullableErrorData) Get() *ErrorData

func (NullableErrorData) IsSet

func (v NullableErrorData) IsSet() bool

func (NullableErrorData) MarshalJSON

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

func (*NullableErrorData) Set

func (v *NullableErrorData) Set(val *ErrorData)

func (*NullableErrorData) UnmarshalJSON

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

func (*NullableErrorData) Unset

func (v *NullableErrorData) Unset()

type NullableEvent

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

func NewNullableEvent

func NewNullableEvent(val *Event) *NullableEvent

func (NullableEvent) Get

func (v NullableEvent) Get() *Event

func (NullableEvent) IsSet

func (v NullableEvent) IsSet() bool

func (NullableEvent) MarshalJSON

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

func (*NullableEvent) Set

func (v *NullableEvent) Set(val *Event)

func (*NullableEvent) UnmarshalJSON

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

func (*NullableEvent) Unset

func (v *NullableEvent) Unset()

type NullableEventInfo

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

func NewNullableEventInfo

func NewNullableEventInfo(val *EventInfo) *NullableEventInfo

func (NullableEventInfo) Get

func (v NullableEventInfo) Get() *EventInfo

func (NullableEventInfo) IsSet

func (v NullableEventInfo) IsSet() bool

func (NullableEventInfo) MarshalJSON

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

func (*NullableEventInfo) Set

func (v *NullableEventInfo) Set(val *EventInfo)

func (*NullableEventInfo) UnmarshalJSON

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

func (*NullableEventInfo) Unset

func (v *NullableEventInfo) Unset()

type NullableFloat32

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

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

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

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

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

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

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

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

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

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

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

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableFuckOff

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

func NewNullableFuckOff

func NewNullableFuckOff(val *FuckOff) *NullableFuckOff

func (NullableFuckOff) Get

func (v NullableFuckOff) Get() *FuckOff

func (NullableFuckOff) IsSet

func (v NullableFuckOff) IsSet() bool

func (NullableFuckOff) MarshalJSON

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

func (*NullableFuckOff) Set

func (v *NullableFuckOff) Set(val *FuckOff)

func (*NullableFuckOff) UnmarshalJSON

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

func (*NullableFuckOff) Unset

func (v *NullableFuckOff) Unset()

type NullableGetEventsRequest

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

func NewNullableGetEventsRequest

func NewNullableGetEventsRequest(val *GetEventsRequest) *NullableGetEventsRequest

func (NullableGetEventsRequest) Get

func (NullableGetEventsRequest) IsSet

func (v NullableGetEventsRequest) IsSet() bool

func (NullableGetEventsRequest) MarshalJSON

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

func (*NullableGetEventsRequest) Set

func (*NullableGetEventsRequest) UnmarshalJSON

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

func (*NullableGetEventsRequest) Unset

func (v *NullableGetEventsRequest) Unset()

type NullableGetEventsResponse

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

func NewNullableGetEventsResponse

func NewNullableGetEventsResponse(val *GetEventsResponse) *NullableGetEventsResponse

func (NullableGetEventsResponse) Get

func (NullableGetEventsResponse) IsSet

func (v NullableGetEventsResponse) IsSet() bool

func (NullableGetEventsResponse) MarshalJSON

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

func (*NullableGetEventsResponse) Set

func (*NullableGetEventsResponse) UnmarshalJSON

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

func (*NullableGetEventsResponse) Unset

func (v *NullableGetEventsResponse) Unset()

type NullableInt

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

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

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

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

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

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

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

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

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

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

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

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

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

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

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

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

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

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableLeague

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

func NewNullableLeague

func NewNullableLeague(val *League) *NullableLeague

func (NullableLeague) Get

func (v NullableLeague) Get() *League

func (NullableLeague) IsSet

func (v NullableLeague) IsSet() bool

func (NullableLeague) MarshalJSON

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

func (*NullableLeague) Set

func (v *NullableLeague) Set(val *League)

func (*NullableLeague) UnmarshalJSON

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

func (*NullableLeague) Unset

func (v *NullableLeague) Unset()

type NullableLogItem

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

func NewNullableLogItem

func NewNullableLogItem(val *LogItem) *NullableLogItem

func (NullableLogItem) Get

func (v NullableLogItem) Get() *LogItem

func (NullableLogItem) IsSet

func (v NullableLogItem) IsSet() bool

func (NullableLogItem) MarshalJSON

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

func (*NullableLogItem) Set

func (v *NullableLogItem) Set(val *LogItem)

func (*NullableLogItem) UnmarshalJSON

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

func (*NullableLogItem) Unset

func (v *NullableLogItem) Unset()

type NullableLoginData

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

func NewNullableLoginData

func NewNullableLoginData(val *LoginData) *NullableLoginData

func (NullableLoginData) Get

func (v NullableLoginData) Get() *LoginData

func (NullableLoginData) IsSet

func (v NullableLoginData) IsSet() bool

func (NullableLoginData) MarshalJSON

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

func (*NullableLoginData) Set

func (v *NullableLoginData) Set(val *LoginData)

func (*NullableLoginData) UnmarshalJSON

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

func (*NullableLoginData) Unset

func (v *NullableLoginData) Unset()

type NullableLoginRequest

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

func NewNullableLoginRequest

func NewNullableLoginRequest(val *LoginRequest) *NullableLoginRequest

func (NullableLoginRequest) Get

func (NullableLoginRequest) IsSet

func (v NullableLoginRequest) IsSet() bool

func (NullableLoginRequest) MarshalJSON

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

func (*NullableLoginRequest) Set

func (v *NullableLoginRequest) Set(val *LoginRequest)

func (*NullableLoginRequest) UnmarshalJSON

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

func (*NullableLoginRequest) Unset

func (v *NullableLoginRequest) Unset()

type NullableLoginResponse

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

func NewNullableLoginResponse

func NewNullableLoginResponse(val *LoginResponse) *NullableLoginResponse

func (NullableLoginResponse) Get

func (NullableLoginResponse) IsSet

func (v NullableLoginResponse) IsSet() bool

func (NullableLoginResponse) MarshalJSON

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

func (*NullableLoginResponse) Set

func (v *NullableLoginResponse) Set(val *LoginResponse)

func (*NullableLoginResponse) UnmarshalJSON

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

func (*NullableLoginResponse) Unset

func (v *NullableLoginResponse) Unset()

type NullableOrderItem

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

func NewNullableOrderItem

func NewNullableOrderItem(val *OrderItem) *NullableOrderItem

func (NullableOrderItem) Get

func (v NullableOrderItem) Get() *OrderItem

func (NullableOrderItem) IsSet

func (v NullableOrderItem) IsSet() bool

func (NullableOrderItem) MarshalJSON

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

func (*NullableOrderItem) Set

func (v *NullableOrderItem) Set(val *OrderItem)

func (*NullableOrderItem) UnmarshalJSON

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

func (*NullableOrderItem) Unset

func (v *NullableOrderItem) Unset()

type NullablePlaceBetRequest

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

func NewNullablePlaceBetRequest

func NewNullablePlaceBetRequest(val *PlaceBetRequest) *NullablePlaceBetRequest

func (NullablePlaceBetRequest) Get

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

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

func NewNullablePlaceBetResponse

func NewNullablePlaceBetResponse(val *PlaceBetResponse) *NullablePlaceBetResponse

func (NullablePlaceBetResponse) Get

func (NullablePlaceBetResponse) IsSet

func (v NullablePlaceBetResponse) IsSet() bool

func (NullablePlaceBetResponse) MarshalJSON

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

func (*NullablePlaceBetResponse) Set

func (*NullablePlaceBetResponse) UnmarshalJSON

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

func (*NullablePlaceBetResponse) Unset

func (v *NullablePlaceBetResponse) Unset()

type NullablePriceItem

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

func NewNullablePriceItem

func NewNullablePriceItem(val *PriceItem) *NullablePriceItem

func (NullablePriceItem) Get

func (v NullablePriceItem) Get() *PriceItem

func (NullablePriceItem) IsSet

func (v NullablePriceItem) IsSet() bool

func (NullablePriceItem) MarshalJSON

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

func (*NullablePriceItem) Set

func (v *NullablePriceItem) Set(val *PriceItem)

func (*NullablePriceItem) UnmarshalJSON

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

func (*NullablePriceItem) Unset

func (v *NullablePriceItem) Unset()

type NullablePriceList

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

func NewNullablePriceList

func NewNullablePriceList(val *PriceList) *NullablePriceList

func (NullablePriceList) Get

func (v NullablePriceList) Get() *PriceList

func (NullablePriceList) IsSet

func (v NullablePriceList) IsSet() bool

func (NullablePriceList) MarshalJSON

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

func (*NullablePriceList) Set

func (v *NullablePriceList) Set(val *PriceList)

func (*NullablePriceList) UnmarshalJSON

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

func (*NullablePriceList) Unset

func (v *NullablePriceList) Unset()

type NullableRefreshBetSlipResponse

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

func (NullableRefreshBetSlipResponse) Get

func (NullableRefreshBetSlipResponse) IsSet

func (NullableRefreshBetSlipResponse) MarshalJSON

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

func (*NullableRefreshBetSlipResponse) Set

func (*NullableRefreshBetSlipResponse) UnmarshalJSON

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

func (*NullableRefreshBetSlipResponse) Unset

func (v *NullableRefreshBetSlipResponse) Unset()

type NullableString

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

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

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

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

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

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

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

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

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

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

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

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableValidationErrors

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

func NewNullableValidationErrors

func NewNullableValidationErrors(val *ValidationErrors) *NullableValidationErrors

func (NullableValidationErrors) Get

func (NullableValidationErrors) IsSet

func (v NullableValidationErrors) IsSet() bool

func (NullableValidationErrors) MarshalJSON

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

func (*NullableValidationErrors) Set

func (*NullableValidationErrors) UnmarshalJSON

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

func (*NullableValidationErrors) Unset

func (v *NullableValidationErrors) Unset()

type NullableWebsocketResponse

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

func NewNullableWebsocketResponse

func NewNullableWebsocketResponse(val *WebsocketResponse) *NullableWebsocketResponse

func (NullableWebsocketResponse) Get

func (NullableWebsocketResponse) IsSet

func (v NullableWebsocketResponse) IsSet() bool

func (NullableWebsocketResponse) MarshalJSON

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

func (*NullableWebsocketResponse) Set

func (*NullableWebsocketResponse) UnmarshalJSON

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

func (*NullableWebsocketResponse) Unset

func (v *NullableWebsocketResponse) Unset()

type NullableWebsocketResponseStatus

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

func (NullableWebsocketResponseStatus) Get

func (NullableWebsocketResponseStatus) IsSet

func (NullableWebsocketResponseStatus) MarshalJSON

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

func (*NullableWebsocketResponseStatus) Set

func (*NullableWebsocketResponseStatus) UnmarshalJSON

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

func (*NullableWebsocketResponseStatus) Unset

type OrderItem

type OrderItem struct {
	OrderId            int64          `json:"order_id"`
	OrderType          string         `json:"order_type"`
	BetType            string         `json:"bet_type"`
	BetTypeDescription *string        `json:"bet_type_description,omitempty"`
	BetTypeTemplate    *string        `json:"bet_type_template,omitempty"`
	Sport              *string        `json:"sport,omitempty"`
	Placer             *string        `json:"placer,omitempty"`
	WantPrice          *float64       `json:"want_price,omitempty"`
	WantStake          *[]interface{} `json:"want_stake,omitempty"`
	CcyRate            *float64       `json:"ccy_rate,omitempty"`
	PlacementTime      *time.Time     `json:"placement_time,omitempty"`
	ExpiryTime         *time.Time     `json:"expiry_time,omitempty"`
	Closed             *bool          `json:"closed,omitempty"`
	CloseReason        *string        `json:"close_reason,omitempty"`
	Status             *string        `json:"status,omitempty"`
	UserData           *string        `json:"user_data,omitempty"`
	TakeStartingPrice  *bool          `json:"take_starting_price,omitempty"`
	KeepOpenIr         *bool          `json:"keep_open_ir,omitempty"`
	EventInfo          *EventInfo     `json:"event_info,omitempty"`
	Price              *float64       `json:"price,omitempty"`
	Stake              *[]interface{} `json:"stake,omitempty"`
	ProfitLoss         *[]interface{} `json:"profit_loss,omitempty"`
	BetBarValues       *BetBar        `json:"bet_bar_values,omitempty"`
	Bets               *[]BetItem     `json:"bets,omitempty"`
}

OrderItem struct for OrderItem

func NewOrderItem

func NewOrderItem(orderId int64, orderType string, betType string) *OrderItem

NewOrderItem instantiates a new OrderItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOrderItemWithDefaults

func NewOrderItemWithDefaults() *OrderItem

NewOrderItemWithDefaults instantiates a new OrderItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OrderItem) GetBetBarValues

func (o *OrderItem) GetBetBarValues() BetBar

GetBetBarValues returns the BetBarValues field value if set, zero value otherwise.

func (*OrderItem) GetBetBarValuesOk

func (o *OrderItem) GetBetBarValuesOk() (*BetBar, bool)

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

func (*OrderItem) GetBetType

func (o *OrderItem) GetBetType() string

GetBetType returns the BetType field value

func (*OrderItem) GetBetTypeDescription

func (o *OrderItem) GetBetTypeDescription() string

GetBetTypeDescription returns the BetTypeDescription field value if set, zero value otherwise.

func (*OrderItem) GetBetTypeDescriptionOk

func (o *OrderItem) GetBetTypeDescriptionOk() (*string, bool)

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

func (*OrderItem) GetBetTypeOk

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

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

func (*OrderItem) GetBetTypeTemplate

func (o *OrderItem) GetBetTypeTemplate() string

GetBetTypeTemplate returns the BetTypeTemplate field value if set, zero value otherwise.

func (*OrderItem) GetBetTypeTemplateOk

func (o *OrderItem) GetBetTypeTemplateOk() (*string, bool)

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

func (*OrderItem) GetBets

func (o *OrderItem) GetBets() []BetItem

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

func (*OrderItem) GetBetsOk

func (o *OrderItem) GetBetsOk() (*[]BetItem, bool)

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

func (*OrderItem) GetCcyRate

func (o *OrderItem) GetCcyRate() float64

GetCcyRate returns the CcyRate field value if set, zero value otherwise.

func (*OrderItem) GetCcyRateOk

func (o *OrderItem) GetCcyRateOk() (*float64, bool)

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

func (*OrderItem) GetCloseReason

func (o *OrderItem) GetCloseReason() string

GetCloseReason returns the CloseReason field value if set, zero value otherwise.

func (*OrderItem) GetCloseReasonOk

func (o *OrderItem) GetCloseReasonOk() (*string, bool)

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

func (*OrderItem) GetClosed

func (o *OrderItem) GetClosed() bool

GetClosed returns the Closed field value if set, zero value otherwise.

func (*OrderItem) GetClosedOk

func (o *OrderItem) GetClosedOk() (*bool, bool)

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

func (*OrderItem) GetEventInfo

func (o *OrderItem) GetEventInfo() EventInfo

GetEventInfo returns the EventInfo field value if set, zero value otherwise.

func (*OrderItem) GetEventInfoOk

func (o *OrderItem) GetEventInfoOk() (*EventInfo, bool)

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

func (*OrderItem) GetExpiryTime

func (o *OrderItem) GetExpiryTime() time.Time

GetExpiryTime returns the ExpiryTime field value if set, zero value otherwise.

func (*OrderItem) GetExpiryTimeOk

func (o *OrderItem) GetExpiryTimeOk() (*time.Time, bool)

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

func (*OrderItem) GetKeepOpenIr

func (o *OrderItem) GetKeepOpenIr() bool

GetKeepOpenIr returns the KeepOpenIr field value if set, zero value otherwise.

func (*OrderItem) GetKeepOpenIrOk

func (o *OrderItem) GetKeepOpenIrOk() (*bool, bool)

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

func (*OrderItem) GetOrderId

func (o *OrderItem) GetOrderId() int64

GetOrderId returns the OrderId field value

func (*OrderItem) GetOrderIdOk

func (o *OrderItem) GetOrderIdOk() (*int64, bool)

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

func (*OrderItem) GetOrderType

func (o *OrderItem) GetOrderType() string

GetOrderType returns the OrderType field value

func (*OrderItem) GetOrderTypeOk

func (o *OrderItem) GetOrderTypeOk() (*string, bool)

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

func (*OrderItem) GetPlacementTime

func (o *OrderItem) GetPlacementTime() time.Time

GetPlacementTime returns the PlacementTime field value if set, zero value otherwise.

func (*OrderItem) GetPlacementTimeOk

func (o *OrderItem) GetPlacementTimeOk() (*time.Time, bool)

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

func (*OrderItem) GetPlacer

func (o *OrderItem) GetPlacer() string

GetPlacer returns the Placer field value if set, zero value otherwise.

func (*OrderItem) GetPlacerOk

func (o *OrderItem) GetPlacerOk() (*string, bool)

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

func (*OrderItem) GetPrice

func (o *OrderItem) GetPrice() float64

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

func (*OrderItem) GetPriceOk

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

func (o *OrderItem) GetProfitLoss() []interface{}

GetProfitLoss returns the ProfitLoss field value if set, zero value otherwise.

func (*OrderItem) GetProfitLossOk

func (o *OrderItem) GetProfitLossOk() (*[]interface{}, bool)

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

func (*OrderItem) GetSport

func (o *OrderItem) GetSport() string

GetSport returns the Sport field value if set, zero value otherwise.

func (*OrderItem) GetSportOk

func (o *OrderItem) GetSportOk() (*string, bool)

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

func (*OrderItem) GetStake

func (o *OrderItem) GetStake() []interface{}

GetStake returns the Stake field value if set, zero value otherwise.

func (*OrderItem) GetStakeOk

func (o *OrderItem) GetStakeOk() (*[]interface{}, 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 (*OrderItem) GetStatus

func (o *OrderItem) GetStatus() string

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

func (*OrderItem) GetStatusOk

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

func (o *OrderItem) GetTakeStartingPrice() bool

GetTakeStartingPrice returns the TakeStartingPrice field value if set, zero value otherwise.

func (*OrderItem) GetTakeStartingPriceOk

func (o *OrderItem) GetTakeStartingPriceOk() (*bool, bool)

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

func (*OrderItem) GetUserData

func (o *OrderItem) GetUserData() string

GetUserData returns the UserData field value if set, zero value otherwise.

func (*OrderItem) GetUserDataOk

func (o *OrderItem) GetUserDataOk() (*string, bool)

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

func (*OrderItem) GetWantPrice

func (o *OrderItem) GetWantPrice() float64

GetWantPrice returns the WantPrice field value if set, zero value otherwise.

func (*OrderItem) GetWantPriceOk

func (o *OrderItem) GetWantPriceOk() (*float64, bool)

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

func (*OrderItem) GetWantStake

func (o *OrderItem) GetWantStake() []interface{}

GetWantStake returns the WantStake field value if set, zero value otherwise.

func (*OrderItem) GetWantStakeOk

func (o *OrderItem) GetWantStakeOk() (*[]interface{}, bool)

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

func (*OrderItem) HasBetBarValues

func (o *OrderItem) HasBetBarValues() bool

HasBetBarValues returns a boolean if a field has been set.

func (*OrderItem) HasBetTypeDescription

func (o *OrderItem) HasBetTypeDescription() bool

HasBetTypeDescription returns a boolean if a field has been set.

func (*OrderItem) HasBetTypeTemplate

func (o *OrderItem) HasBetTypeTemplate() bool

HasBetTypeTemplate returns a boolean if a field has been set.

func (*OrderItem) HasBets

func (o *OrderItem) HasBets() bool

HasBets returns a boolean if a field has been set.

func (*OrderItem) HasCcyRate

func (o *OrderItem) HasCcyRate() bool

HasCcyRate returns a boolean if a field has been set.

func (*OrderItem) HasCloseReason

func (o *OrderItem) HasCloseReason() bool

HasCloseReason returns a boolean if a field has been set.

func (*OrderItem) HasClosed

func (o *OrderItem) HasClosed() bool

HasClosed returns a boolean if a field has been set.

func (*OrderItem) HasEventInfo

func (o *OrderItem) HasEventInfo() bool

HasEventInfo returns a boolean if a field has been set.

func (*OrderItem) HasExpiryTime

func (o *OrderItem) HasExpiryTime() bool

HasExpiryTime returns a boolean if a field has been set.

func (*OrderItem) HasKeepOpenIr

func (o *OrderItem) HasKeepOpenIr() bool

HasKeepOpenIr returns a boolean if a field has been set.

func (*OrderItem) HasPlacementTime

func (o *OrderItem) HasPlacementTime() bool

HasPlacementTime returns a boolean if a field has been set.

func (*OrderItem) HasPlacer

func (o *OrderItem) HasPlacer() bool

HasPlacer returns a boolean if a field has been set.

func (*OrderItem) HasPrice

func (o *OrderItem) HasPrice() bool

HasPrice returns a boolean if a field has been set.

func (*OrderItem) HasProfitLoss

func (o *OrderItem) HasProfitLoss() bool

HasProfitLoss returns a boolean if a field has been set.

func (*OrderItem) HasSport

func (o *OrderItem) HasSport() bool

HasSport returns a boolean if a field has been set.

func (*OrderItem) HasStake

func (o *OrderItem) HasStake() bool

HasStake returns a boolean if a field has been set.

func (*OrderItem) HasStatus

func (o *OrderItem) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*OrderItem) HasTakeStartingPrice

func (o *OrderItem) HasTakeStartingPrice() bool

HasTakeStartingPrice returns a boolean if a field has been set.

func (*OrderItem) HasUserData

func (o *OrderItem) HasUserData() bool

HasUserData returns a boolean if a field has been set.

func (*OrderItem) HasWantPrice

func (o *OrderItem) HasWantPrice() bool

HasWantPrice returns a boolean if a field has been set.

func (*OrderItem) HasWantStake

func (o *OrderItem) HasWantStake() bool

HasWantStake returns a boolean if a field has been set.

func (OrderItem) MarshalJSON

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

func (*OrderItem) SetBetBarValues

func (o *OrderItem) SetBetBarValues(v BetBar)

SetBetBarValues gets a reference to the given BetBar and assigns it to the BetBarValues field.

func (*OrderItem) SetBetType

func (o *OrderItem) SetBetType(v string)

SetBetType sets field value

func (*OrderItem) SetBetTypeDescription

func (o *OrderItem) SetBetTypeDescription(v string)

SetBetTypeDescription gets a reference to the given string and assigns it to the BetTypeDescription field.

func (*OrderItem) SetBetTypeTemplate

func (o *OrderItem) SetBetTypeTemplate(v string)

SetBetTypeTemplate gets a reference to the given string and assigns it to the BetTypeTemplate field.

func (*OrderItem) SetBets

func (o *OrderItem) SetBets(v []BetItem)

SetBets gets a reference to the given []BetItem and assigns it to the Bets field.

func (*OrderItem) SetCcyRate

func (o *OrderItem) SetCcyRate(v float64)

SetCcyRate gets a reference to the given float64 and assigns it to the CcyRate field.

func (*OrderItem) SetCloseReason

func (o *OrderItem) SetCloseReason(v string)

SetCloseReason gets a reference to the given string and assigns it to the CloseReason field.

func (*OrderItem) SetClosed

func (o *OrderItem) SetClosed(v bool)

SetClosed gets a reference to the given bool and assigns it to the Closed field.

func (*OrderItem) SetEventInfo

func (o *OrderItem) SetEventInfo(v EventInfo)

SetEventInfo gets a reference to the given EventInfo and assigns it to the EventInfo field.

func (*OrderItem) SetExpiryTime

func (o *OrderItem) SetExpiryTime(v time.Time)

SetExpiryTime gets a reference to the given time.Time and assigns it to the ExpiryTime field.

func (*OrderItem) SetKeepOpenIr

func (o *OrderItem) SetKeepOpenIr(v bool)

SetKeepOpenIr gets a reference to the given bool and assigns it to the KeepOpenIr field.

func (*OrderItem) SetOrderId

func (o *OrderItem) SetOrderId(v int64)

SetOrderId sets field value

func (*OrderItem) SetOrderType

func (o *OrderItem) SetOrderType(v string)

SetOrderType sets field value

func (*OrderItem) SetPlacementTime

func (o *OrderItem) SetPlacementTime(v time.Time)

SetPlacementTime gets a reference to the given time.Time and assigns it to the PlacementTime field.

func (*OrderItem) SetPlacer

func (o *OrderItem) SetPlacer(v string)

SetPlacer gets a reference to the given string and assigns it to the Placer field.

func (*OrderItem) SetPrice

func (o *OrderItem) SetPrice(v float64)

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

func (*OrderItem) SetProfitLoss

func (o *OrderItem) SetProfitLoss(v []interface{})

SetProfitLoss gets a reference to the given []interface{} and assigns it to the ProfitLoss field.

func (*OrderItem) SetSport

func (o *OrderItem) SetSport(v string)

SetSport gets a reference to the given string and assigns it to the Sport field.

func (*OrderItem) SetStake

func (o *OrderItem) SetStake(v []interface{})

SetStake gets a reference to the given []interface{} and assigns it to the Stake field.

func (*OrderItem) SetStatus

func (o *OrderItem) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*OrderItem) SetTakeStartingPrice

func (o *OrderItem) SetTakeStartingPrice(v bool)

SetTakeStartingPrice gets a reference to the given bool and assigns it to the TakeStartingPrice field.

func (*OrderItem) SetUserData

func (o *OrderItem) SetUserData(v string)

SetUserData gets a reference to the given string and assigns it to the UserData field.

func (*OrderItem) SetWantPrice

func (o *OrderItem) SetWantPrice(v float64)

SetWantPrice gets a reference to the given float64 and assigns it to the WantPrice field.

func (*OrderItem) SetWantStake

func (o *OrderItem) SetWantStake(v []interface{})

SetWantStake gets a reference to the given []interface{} and assigns it to the WantStake field.

type PlaceBetRequest

type PlaceBetRequest struct {
	BetslipId               string        `json:"betslip_id"`
	Price                   float64       `json:"price"`
	Stake                   []interface{} `json:"stake"`
	IgnoreSystemMaintenance bool          `json:"ignore_system_maintenance"`
	NoPutOfferExchange      bool          `json:"no_put_offer_exchange"`
	AdaptiveBookies         *[]string     `json:"adaptive_bookies,omitempty"`
	RequestUuid             string        `json:"request_uuid"`
	Duration                int64         `json:"duration"`
	Accounts                *[][]string   `json:"accounts,omitempty"`
}

PlaceBetRequest struct for PlaceBetRequest

func NewPlaceBetRequest

func NewPlaceBetRequest(betslipId string, price float64, stake []interface{}, ignoreSystemMaintenance bool, noPutOfferExchange bool, requestUuid string, duration int64) *PlaceBetRequest

NewPlaceBetRequest instantiates a new PlaceBetRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPlaceBetRequestWithDefaults

func NewPlaceBetRequestWithDefaults() *PlaceBetRequest

NewPlaceBetRequestWithDefaults instantiates a new PlaceBetRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PlaceBetRequest) GetAccounts

func (o *PlaceBetRequest) GetAccounts() [][]string

GetAccounts returns the Accounts field value if set, zero value otherwise.

func (*PlaceBetRequest) GetAccountsOk

func (o *PlaceBetRequest) GetAccountsOk() (*[][]string, bool)

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

func (*PlaceBetRequest) GetAdaptiveBookies

func (o *PlaceBetRequest) GetAdaptiveBookies() []string

GetAdaptiveBookies returns the AdaptiveBookies field value if set, zero value otherwise.

func (*PlaceBetRequest) GetAdaptiveBookiesOk

func (o *PlaceBetRequest) GetAdaptiveBookiesOk() (*[]string, bool)

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

func (*PlaceBetRequest) GetBetslipId

func (o *PlaceBetRequest) GetBetslipId() string

GetBetslipId returns the BetslipId field value

func (*PlaceBetRequest) GetBetslipIdOk

func (o *PlaceBetRequest) GetBetslipIdOk() (*string, bool)

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

func (*PlaceBetRequest) GetDuration

func (o *PlaceBetRequest) GetDuration() int64

GetDuration returns the Duration field value

func (*PlaceBetRequest) GetDurationOk

func (o *PlaceBetRequest) GetDurationOk() (*int64, bool)

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

func (*PlaceBetRequest) GetIgnoreSystemMaintenance

func (o *PlaceBetRequest) GetIgnoreSystemMaintenance() bool

GetIgnoreSystemMaintenance returns the IgnoreSystemMaintenance field value

func (*PlaceBetRequest) GetIgnoreSystemMaintenanceOk

func (o *PlaceBetRequest) GetIgnoreSystemMaintenanceOk() (*bool, bool)

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

func (*PlaceBetRequest) GetNoPutOfferExchange

func (o *PlaceBetRequest) GetNoPutOfferExchange() bool

GetNoPutOfferExchange returns the NoPutOfferExchange field value

func (*PlaceBetRequest) GetNoPutOfferExchangeOk

func (o *PlaceBetRequest) GetNoPutOfferExchangeOk() (*bool, bool)

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

func (*PlaceBetRequest) GetPrice

func (o *PlaceBetRequest) GetPrice() float64

GetPrice returns the Price field value

func (*PlaceBetRequest) GetPriceOk

func (o *PlaceBetRequest) GetPriceOk() (*float64, bool)

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

func (*PlaceBetRequest) GetRequestUuid

func (o *PlaceBetRequest) GetRequestUuid() string

GetRequestUuid returns the RequestUuid field value

func (*PlaceBetRequest) GetRequestUuidOk

func (o *PlaceBetRequest) GetRequestUuidOk() (*string, bool)

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

func (*PlaceBetRequest) GetStake

func (o *PlaceBetRequest) GetStake() []interface{}

GetStake returns the Stake field value

func (*PlaceBetRequest) GetStakeOk

func (o *PlaceBetRequest) GetStakeOk() (*[]interface{}, bool)

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

func (*PlaceBetRequest) HasAccounts

func (o *PlaceBetRequest) HasAccounts() bool

HasAccounts returns a boolean if a field has been set.

func (*PlaceBetRequest) HasAdaptiveBookies

func (o *PlaceBetRequest) HasAdaptiveBookies() bool

HasAdaptiveBookies returns a boolean if a field has been set.

func (PlaceBetRequest) MarshalJSON

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

func (*PlaceBetRequest) SetAccounts

func (o *PlaceBetRequest) SetAccounts(v [][]string)

SetAccounts gets a reference to the given [][]string and assigns it to the Accounts field.

func (*PlaceBetRequest) SetAdaptiveBookies

func (o *PlaceBetRequest) SetAdaptiveBookies(v []string)

SetAdaptiveBookies gets a reference to the given []string and assigns it to the AdaptiveBookies field.

func (*PlaceBetRequest) SetBetslipId

func (o *PlaceBetRequest) SetBetslipId(v string)

SetBetslipId sets field value

func (*PlaceBetRequest) SetDuration

func (o *PlaceBetRequest) SetDuration(v int64)

SetDuration sets field value

func (*PlaceBetRequest) SetIgnoreSystemMaintenance

func (o *PlaceBetRequest) SetIgnoreSystemMaintenance(v bool)

SetIgnoreSystemMaintenance sets field value

func (*PlaceBetRequest) SetNoPutOfferExchange

func (o *PlaceBetRequest) SetNoPutOfferExchange(v bool)

SetNoPutOfferExchange sets field value

func (*PlaceBetRequest) SetPrice

func (o *PlaceBetRequest) SetPrice(v float64)

SetPrice sets field value

func (*PlaceBetRequest) SetRequestUuid

func (o *PlaceBetRequest) SetRequestUuid(v string)

SetRequestUuid sets field value

func (*PlaceBetRequest) SetStake

func (o *PlaceBetRequest) SetStake(v []interface{})

SetStake sets field value

type PlaceBetResponse

type PlaceBetResponse struct {
	Status string    `json:"status"`
	Data   OrderItem `json:"data"`
}

PlaceBetResponse struct for PlaceBetResponse

func NewPlaceBetResponse

func NewPlaceBetResponse(status string, data OrderItem) *PlaceBetResponse

NewPlaceBetResponse instantiates a new PlaceBetResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPlaceBetResponseWithDefaults

func NewPlaceBetResponseWithDefaults() *PlaceBetResponse

NewPlaceBetResponseWithDefaults instantiates a new PlaceBetResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PlaceBetResponse) GetData

func (o *PlaceBetResponse) GetData() OrderItem

GetData returns the Data field value

func (*PlaceBetResponse) GetDataOk

func (o *PlaceBetResponse) GetDataOk() (*OrderItem, bool)

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

func (*PlaceBetResponse) GetStatus

func (o *PlaceBetResponse) GetStatus() string

GetStatus returns the Status field value

func (*PlaceBetResponse) GetStatusOk

func (o *PlaceBetResponse) GetStatusOk() (*string, bool)

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

func (PlaceBetResponse) MarshalJSON

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

func (*PlaceBetResponse) SetData

func (o *PlaceBetResponse) SetData(v OrderItem)

SetData sets field value

func (*PlaceBetResponse) SetStatus

func (o *PlaceBetResponse) SetStatus(v string)

SetStatus sets field value

type PriceItem

type PriceItem struct {
	Price *float64  `json:"price,omitempty"`
	Min   *[]string `json:"min,omitempty"`
}

PriceItem struct for PriceItem

func NewPriceItem

func NewPriceItem() *PriceItem

NewPriceItem instantiates a new PriceItem 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 NewPriceItemWithDefaults

func NewPriceItemWithDefaults() *PriceItem

NewPriceItemWithDefaults instantiates a new PriceItem 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 (*PriceItem) GetMin

func (o *PriceItem) GetMin() []string

GetMin returns the Min field value if set, zero value otherwise.

func (*PriceItem) GetMinOk

func (o *PriceItem) GetMinOk() (*[]string, bool)

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

func (*PriceItem) GetPrice

func (o *PriceItem) GetPrice() float64

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

func (*PriceItem) GetPriceOk

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

func (o *PriceItem) HasMin() bool

HasMin returns a boolean if a field has been set.

func (*PriceItem) HasPrice

func (o *PriceItem) HasPrice() bool

HasPrice returns a boolean if a field has been set.

func (PriceItem) MarshalJSON

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

func (*PriceItem) SetMin

func (o *PriceItem) SetMin(v []string)

SetMin gets a reference to the given []string and assigns it to the Min field.

func (*PriceItem) SetPrice

func (o *PriceItem) SetPrice(v float64)

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

type PriceList

type PriceList struct {
	Effective *PriceItem `json:"effective,omitempty"`
	Bookie    *PriceItem `json:"bookie,omitempty"`
}

PriceList struct for PriceList

func NewPriceList

func NewPriceList() *PriceList

NewPriceList instantiates a new PriceList 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 NewPriceListWithDefaults

func NewPriceListWithDefaults() *PriceList

NewPriceListWithDefaults instantiates a new PriceList 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 (*PriceList) GetBookie

func (o *PriceList) GetBookie() PriceItem

GetBookie returns the Bookie field value if set, zero value otherwise.

func (*PriceList) GetBookieOk

func (o *PriceList) GetBookieOk() (*PriceItem, bool)

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

func (*PriceList) GetEffective

func (o *PriceList) GetEffective() PriceItem

GetEffective returns the Effective field value if set, zero value otherwise.

func (*PriceList) GetEffectiveOk

func (o *PriceList) GetEffectiveOk() (*PriceItem, bool)

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

func (*PriceList) HasBookie

func (o *PriceList) HasBookie() bool

HasBookie returns a boolean if a field has been set.

func (*PriceList) HasEffective

func (o *PriceList) HasEffective() bool

HasEffective returns a boolean if a field has been set.

func (PriceList) MarshalJSON

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

func (*PriceList) SetBookie

func (o *PriceList) SetBookie(v PriceItem)

SetBookie gets a reference to the given PriceItem and assigns it to the Bookie field.

func (*PriceList) SetEffective

func (o *PriceList) SetEffective(v PriceItem)

SetEffective gets a reference to the given PriceItem and assigns it to the Effective field.

type RefreshBetSlipResponse

type RefreshBetSlipResponse struct {
	Status string `json:"status"`
}

RefreshBetSlipResponse struct for RefreshBetSlipResponse

func NewRefreshBetSlipResponse

func NewRefreshBetSlipResponse(status string) *RefreshBetSlipResponse

NewRefreshBetSlipResponse instantiates a new RefreshBetSlipResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRefreshBetSlipResponseWithDefaults

func NewRefreshBetSlipResponseWithDefaults() *RefreshBetSlipResponse

NewRefreshBetSlipResponseWithDefaults instantiates a new RefreshBetSlipResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RefreshBetSlipResponse) GetStatus

func (o *RefreshBetSlipResponse) GetStatus() string

GetStatus returns the Status field value

func (*RefreshBetSlipResponse) GetStatusOk

func (o *RefreshBetSlipResponse) GetStatusOk() (*string, bool)

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

func (RefreshBetSlipResponse) MarshalJSON

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

func (*RefreshBetSlipResponse) SetStatus

func (o *RefreshBetSlipResponse) SetStatus(v string)

SetStatus sets field value

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

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 UserApiService

type UserApiService service

UserApiService UserApi service

func (*UserApiService) Balance

func (a *UserApiService) Balance(ctx _context.Context, username string) apiBalanceRequest

Balance Method for Balance

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param username

@return apiBalanceRequest

func (*UserApiService) CheckLogin

func (a *UserApiService) CheckLogin(ctx _context.Context, session string) apiCheckLoginRequest

CheckLogin Method for CheckLogin

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param session

@return apiCheckLoginRequest

func (*UserApiService) Login

func (a *UserApiService) Login(ctx _context.Context) apiLoginRequest

Login Method for Login

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return apiLoginRequest

type ValidationErrors

type ValidationErrors struct {
	BetslipId *[]string `json:"betslip_id,omitempty"`
}

ValidationErrors struct for ValidationErrors

func NewValidationErrors

func NewValidationErrors() *ValidationErrors

NewValidationErrors instantiates a new ValidationErrors 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 NewValidationErrorsWithDefaults

func NewValidationErrorsWithDefaults() *ValidationErrors

NewValidationErrorsWithDefaults instantiates a new ValidationErrors 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 (*ValidationErrors) GetBetslipId

func (o *ValidationErrors) GetBetslipId() []string

GetBetslipId returns the BetslipId field value if set, zero value otherwise.

func (*ValidationErrors) GetBetslipIdOk

func (o *ValidationErrors) GetBetslipIdOk() (*[]string, bool)

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

func (*ValidationErrors) HasBetslipId

func (o *ValidationErrors) HasBetslipId() bool

HasBetslipId returns a boolean if a field has been set.

func (ValidationErrors) MarshalJSON

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

func (*ValidationErrors) SetBetslipId

func (o *ValidationErrors) SetBetslipId(v []string)

SetBetslipId gets a reference to the given []string and assigns it to the BetslipId field.

type WebsocketResponse

type WebsocketResponse struct {
	BetslipId string  `json:"betslip_id"`
	Sport     string  `json:"sport"`
	EventId   string  `json:"event_id"`
	Bookie    string  `json:"bookie"`
	Username  string  `json:"username"`
	BetType   string  `json:"bet_type"`
	Price     float64 `json:"price"`
	Min       float64 `json:"min"`
	Max       float64 `json:"max"`
	Status    string  `json:"status"`
}

WebsocketResponse struct for WebsocketResponse

func NewWebsocketResponse

func NewWebsocketResponse(betslipId string, sport string, eventId string, bookie string, username string, betType string, price float64, min float64, max float64, status string) *WebsocketResponse

NewWebsocketResponse instantiates a new WebsocketResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWebsocketResponseWithDefaults

func NewWebsocketResponseWithDefaults() *WebsocketResponse

NewWebsocketResponseWithDefaults instantiates a new WebsocketResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WebsocketResponse) GetBetType

func (o *WebsocketResponse) GetBetType() string

GetBetType returns the BetType field value

func (*WebsocketResponse) GetBetTypeOk

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

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

func (*WebsocketResponse) GetBetslipId

func (o *WebsocketResponse) GetBetslipId() string

GetBetslipId returns the BetslipId field value

func (*WebsocketResponse) GetBetslipIdOk

func (o *WebsocketResponse) GetBetslipIdOk() (*string, bool)

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

func (*WebsocketResponse) GetBookie

func (o *WebsocketResponse) GetBookie() string

GetBookie returns the Bookie field value

func (*WebsocketResponse) GetBookieOk

func (o *WebsocketResponse) GetBookieOk() (*string, bool)

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

func (*WebsocketResponse) GetEventId

func (o *WebsocketResponse) GetEventId() string

GetEventId returns the EventId field value

func (*WebsocketResponse) GetEventIdOk

func (o *WebsocketResponse) GetEventIdOk() (*string, bool)

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

func (*WebsocketResponse) GetMax

func (o *WebsocketResponse) GetMax() float64

GetMax returns the Max field value

func (*WebsocketResponse) GetMaxOk

func (o *WebsocketResponse) GetMaxOk() (*float64, bool)

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

func (*WebsocketResponse) GetMin

func (o *WebsocketResponse) GetMin() float64

GetMin returns the Min field value

func (*WebsocketResponse) GetMinOk

func (o *WebsocketResponse) GetMinOk() (*float64, bool)

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

func (*WebsocketResponse) GetPrice

func (o *WebsocketResponse) GetPrice() float64

GetPrice returns the Price field value

func (*WebsocketResponse) GetPriceOk

func (o *WebsocketResponse) GetPriceOk() (*float64, bool)

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

func (*WebsocketResponse) GetSport

func (o *WebsocketResponse) GetSport() string

GetSport returns the Sport field value

func (*WebsocketResponse) GetSportOk

func (o *WebsocketResponse) GetSportOk() (*string, bool)

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

func (*WebsocketResponse) GetStatus

func (o *WebsocketResponse) GetStatus() string

GetStatus returns the Status field value

func (*WebsocketResponse) GetStatusOk

func (o *WebsocketResponse) GetStatusOk() (*string, bool)

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

func (*WebsocketResponse) GetUsername

func (o *WebsocketResponse) GetUsername() string

GetUsername returns the Username field value

func (*WebsocketResponse) GetUsernameOk

func (o *WebsocketResponse) GetUsernameOk() (*string, bool)

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

func (WebsocketResponse) MarshalJSON

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

func (*WebsocketResponse) SetBetType

func (o *WebsocketResponse) SetBetType(v string)

SetBetType sets field value

func (*WebsocketResponse) SetBetslipId

func (o *WebsocketResponse) SetBetslipId(v string)

SetBetslipId sets field value

func (*WebsocketResponse) SetBookie

func (o *WebsocketResponse) SetBookie(v string)

SetBookie sets field value

func (*WebsocketResponse) SetEventId

func (o *WebsocketResponse) SetEventId(v string)

SetEventId sets field value

func (*WebsocketResponse) SetMax

func (o *WebsocketResponse) SetMax(v float64)

SetMax sets field value

func (*WebsocketResponse) SetMin

func (o *WebsocketResponse) SetMin(v float64)

SetMin sets field value

func (*WebsocketResponse) SetPrice

func (o *WebsocketResponse) SetPrice(v float64)

SetPrice sets field value

func (*WebsocketResponse) SetSport

func (o *WebsocketResponse) SetSport(v string)

SetSport sets field value

func (*WebsocketResponse) SetStatus

func (o *WebsocketResponse) SetStatus(v string)

SetStatus sets field value

func (*WebsocketResponse) SetUsername

func (o *WebsocketResponse) SetUsername(v string)

SetUsername sets field value

type WebsocketResponseStatus

type WebsocketResponseStatus struct {
	Code string `json:"code"`
}

WebsocketResponseStatus struct for WebsocketResponseStatus

func NewWebsocketResponseStatus

func NewWebsocketResponseStatus(code string) *WebsocketResponseStatus

NewWebsocketResponseStatus instantiates a new WebsocketResponseStatus 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 NewWebsocketResponseStatusWithDefaults

func NewWebsocketResponseStatusWithDefaults() *WebsocketResponseStatus

NewWebsocketResponseStatusWithDefaults instantiates a new WebsocketResponseStatus 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 (*WebsocketResponseStatus) GetCode

func (o *WebsocketResponseStatus) GetCode() string

GetCode returns the Code field value

func (*WebsocketResponseStatus) GetCodeOk

func (o *WebsocketResponseStatus) GetCodeOk() (*string, bool)

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

func (WebsocketResponseStatus) MarshalJSON

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

func (*WebsocketResponseStatus) SetCode

func (o *WebsocketResponseStatus) SetCode(v string)

SetCode sets field value

Jump to

Keyboard shortcuts

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