trader

package
v0.0.0-...-2a8940c Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// 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")
)
View Source
var AllowedAPIRuleActionEnumValues = []APIRuleAction{
	"ACCEPT",
	"ALERT",
	"REJECT",
	"REVIEW",
	"UNKNOWN",
}

All allowed values of APIRuleAction enum

View Source
var AllowedAmountIndicatorEnumValues = []AmountIndicator{
	"DOLLARS",
	"SHARES",
	"ALL_SHARES",
	"PERCENTAGE",
	"UNKNOWN",
}

All allowed values of AmountIndicator enum

View Source
var AllowedApiOrderStatusEnumValues = []ApiOrderStatus{
	"AWAITING_PARENT_ORDER",
	"AWAITING_CONDITION",
	"AWAITING_STOP_CONDITION",
	"AWAITING_MANUAL_REVIEW",
	"ACCEPTED",
	"AWAITING_UR_OUT",
	"PENDING_ACTIVATION",
	"QUEUED",
	"WORKING",
	"REJECTED",
	"PENDING_CANCEL",
	"CANCELED",
	"PENDING_REPLACE",
	"REPLACED",
	"FILLED",
	"EXPIRED",
	"NEW",
	"AWAITING_RELEASE_TIME",
	"PENDING_ACKNOWLEDGEMENT",
	"PENDING_RECALL",
	"UNKNOWN",
}

All allowed values of ApiOrderStatus enum

View Source
var AllowedAssetTypeEnumValues = []AssetType{
	"EQUITY",
	"MUTUAL_FUND",
	"OPTION",
	"FUTURE",
	"FOREX",
	"INDEX",
	"CASH_EQUIVALENT",
	"FIXED_INCOME",
	"PRODUCT",
	"CURRENCY",
	"COLLECTIVE_INVESTMENT",
}

All allowed values of AssetType enum

View Source
var AllowedComplexOrderStrategyTypeEnumValues = []ComplexOrderStrategyType{
	"NONE",
	"COVERED",
	"VERTICAL",
	"BACK_RATIO",
	"CALENDAR",
	"DIAGONAL",
	"STRADDLE",
	"STRANGLE",
	"COLLAR_SYNTHETIC",
	"BUTTERFLY",
	"CONDOR",
	"IRON_CONDOR",
	"VERTICAL_ROLL",
	"COLLAR_WITH_STOCK",
	"DOUBLE_DIAGONAL",
	"UNBALANCED_BUTTERFLY",
	"UNBALANCED_CONDOR",
	"UNBALANCED_IRON_CONDOR",
	"UNBALANCED_VERTICAL_ROLL",
	"MUTUAL_FUND_SWAP",
	"CUSTOM",
}

All allowed values of ComplexOrderStrategyType enum

View Source
var AllowedDurationEnumValues = []Duration{
	"DAY",
	"GOOD_TILL_CANCEL",
	"FILL_OR_KILL",
	"IMMEDIATE_OR_CANCEL",
	"END_OF_WEEK",
	"END_OF_MONTH",
	"NEXT_END_OF_MONTH",
	"UNKNOWN",
}

All allowed values of Duration enum

View Source
var AllowedFeeTypeEnumValues = []FeeType{
	"COMMISSION",
	"SEC_FEE",
	"STR_FEE",
	"R_FEE",
	"CDSC_FEE",
	"OPT_REG_FEE",
	"ADDITIONAL_FEE",
	"MISCELLANEOUS_FEE",
	"FTT",
	"FUTURES_CLEARING_FEE",
	"FUTURES_DESK_OFFICE_FEE",
	"FUTURES_EXCHANGE_FEE",
	"FUTURES_GLOBEX_FEE",
	"FUTURES_NFA_FEE",
	"FUTURES_PIT_BROKERAGE_FEE",
	"FUTURES_TRANSACTION_FEE",
	"LOW_PROCEEDS_COMMISSION",
	"BASE_CHARGE",
	"GENERAL_CHARGE",
	"GST_FEE",
	"TAF_FEE",
	"INDEX_OPTION_FEE",
	"TEFRA_TAX",
	"STATE_TAX",
	"UNKNOWN",
}

All allowed values of FeeType enum

View Source
var AllowedInstructionEnumValues = []Instruction{
	"BUY",
	"SELL",
	"BUY_TO_COVER",
	"SELL_SHORT",
	"BUY_TO_OPEN",
	"BUY_TO_CLOSE",
	"SELL_TO_OPEN",
	"SELL_TO_CLOSE",
	"EXCHANGE",
	"SELL_SHORT_EXEMPT",
}

All allowed values of Instruction enum

View Source
var AllowedOrderStrategyTypeEnumValues = []OrderStrategyType{
	"SINGLE",
	"CANCEL",
	"RECALL",
	"PAIR",
	"FLATTEN",
	"TWO_DAY_SWAP",
	"BLAST_ALL",
	"OCO",
	"TRIGGER",
}

All allowed values of OrderStrategyType enum

View Source
var AllowedOrderTypeEnumValues = []OrderType{
	"MARKET",
	"LIMIT",
	"STOP",
	"STOP_LIMIT",
	"TRAILING_STOP",
	"CABINET",
	"NON_MARKETABLE",
	"MARKET_ON_CLOSE",
	"EXERCISE",
	"TRAILING_STOP_LIMIT",
	"NET_DEBIT",
	"NET_CREDIT",
	"NET_ZERO",
	"LIMIT_ON_CLOSE",
	"UNKNOWN",
}

All allowed values of OrderType enum

View Source
var AllowedOrderTypeRequestEnumValues = []OrderTypeRequest{
	"MARKET",
	"LIMIT",
	"STOP",
	"STOP_LIMIT",
	"TRAILING_STOP",
	"CABINET",
	"NON_MARKETABLE",
	"MARKET_ON_CLOSE",
	"EXERCISE",
	"TRAILING_STOP_LIMIT",
	"NET_DEBIT",
	"NET_CREDIT",
	"NET_ZERO",
	"LIMIT_ON_CLOSE",
}

All allowed values of OrderTypeRequest enum

View Source
var AllowedPriceLinkBasisEnumValues = []PriceLinkBasis{
	"MANUAL",
	"BASE",
	"TRIGGER",
	"LAST",
	"BID",
	"ASK",
	"ASK_BID",
	"MARK",
	"AVERAGE",
}

All allowed values of PriceLinkBasis enum

View Source
var AllowedPriceLinkTypeEnumValues = []PriceLinkType{
	"VALUE",
	"PERCENT",
	"TICK",
}

All allowed values of PriceLinkType enum

View Source
var AllowedRequestedDestinationEnumValues = []RequestedDestination{
	"INET",
	"ECN_ARCA",
	"CBOE",
	"AMEX",
	"PHLX",
	"ISE",
	"BOX",
	"NYSE",
	"NASDAQ",
	"BATS",
	"C2",
	"AUTO",
}

All allowed values of RequestedDestination enum

View Source
var AllowedSessionEnumValues = []Session{
	"NORMAL",
	"AM",
	"PM",
	"SEAMLESS",
}

All allowed values of Session enum

View Source
var AllowedSettlementInstructionEnumValues = []SettlementInstruction{
	"REGULAR",
	"CASH",
	"NEXT_DAY",
	"UNKNOWN",
}

All allowed values of SettlementInstruction enum

View Source
var AllowedSpecialInstructionEnumValues = []SpecialInstruction{
	"ALL_OR_NONE",
	"DO_NOT_REDUCE",
	"ALL_OR_NONE_DO_NOT_REDUCE",
}

All allowed values of SpecialInstruction enum

View Source
var AllowedStatusEnumValues = []Status{
	"AWAITING_PARENT_ORDER",
	"AWAITING_CONDITION",
	"AWAITING_STOP_CONDITION",
	"AWAITING_MANUAL_REVIEW",
	"ACCEPTED",
	"AWAITING_UR_OUT",
	"PENDING_ACTIVATION",
	"QUEUED",
	"WORKING",
	"REJECTED",
	"PENDING_CANCEL",
	"CANCELED",
	"PENDING_REPLACE",
	"REPLACED",
	"FILLED",
	"EXPIRED",
	"NEW",
	"AWAITING_RELEASE_TIME",
	"PENDING_ACKNOWLEDGEMENT",
	"PENDING_RECALL",
	"UNKNOWN",
}

All allowed values of Status enum

View Source
var AllowedStopPriceLinkBasisEnumValues = []StopPriceLinkBasis{
	"MANUAL",
	"BASE",
	"TRIGGER",
	"LAST",
	"BID",
	"ASK",
	"ASK_BID",
	"MARK",
	"AVERAGE",
}

All allowed values of StopPriceLinkBasis enum

View Source
var AllowedStopPriceLinkTypeEnumValues = []StopPriceLinkType{
	"VALUE",
	"PERCENT",
	"TICK",
}

All allowed values of StopPriceLinkType enum

View Source
var AllowedStopTypeEnumValues = []StopType{
	"STANDARD",
	"BID",
	"ASK",
	"LAST",
	"MARK",
}

All allowed values of StopType enum

View Source
var AllowedTaxLotMethodEnumValues = []TaxLotMethod{
	"FIFO",
	"LIFO",
	"HIGH_COST",
	"LOW_COST",
	"AVERAGE_COST",
	"SPECIFIC_LOT",
	"LOSS_HARVESTER",
}

All allowed values of TaxLotMethod enum

View Source
var AllowedTransactionTypeEnumValues = []TransactionType{
	"TRADE",
	"RECEIVE_AND_DELIVER",
	"DIVIDEND_OR_INTEREST",
	"ACH_RECEIPT",
	"ACH_DISBURSEMENT",
	"CASH_RECEIPT",
	"CASH_DISBURSEMENT",
	"ELECTRONIC_FUND",
	"WIRE_OUT",
	"WIRE_IN",
	"JOURNAL",
	"MEMORANDUM",
	"MARGIN_CALL",
	"MONEY_MARKET",
	"SMA_ADJUSTMENT",
}

All allowed values of TransactionType enum

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean 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 {
	AccountsAPI *AccountsAPIService

	OrdersAPI *OrdersAPIService

	TransactionsAPI *TransactionsAPIService

	UserPreferenceAPI *UserPreferenceAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Trader API - Account Access and User Preferences 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 APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type APIRuleAction

type APIRuleAction string

APIRuleAction the model 'APIRuleAction'

const (
	APIRULEACTION_ACCEPT  APIRuleAction = "ACCEPT"
	APIRULEACTION_ALERT   APIRuleAction = "ALERT"
	APIRULEACTION_REJECT  APIRuleAction = "REJECT"
	APIRULEACTION_REVIEW  APIRuleAction = "REVIEW"
	APIRULEACTION_UNKNOWN APIRuleAction = "UNKNOWN"
)

List of APIRuleAction

func NewAPIRuleActionFromValue

func NewAPIRuleActionFromValue(v string) (*APIRuleAction, error)

NewAPIRuleActionFromValue returns a pointer to a valid APIRuleAction for the value passed as argument, or an error if the value passed is not allowed by the enum

func (APIRuleAction) IsValid

func (v APIRuleAction) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (APIRuleAction) Ptr

func (v APIRuleAction) Ptr() *APIRuleAction

Ptr returns reference to APIRuleAction value

func (*APIRuleAction) UnmarshalJSON

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

type Account

type Account struct {
	SecuritiesAccount *SecuritiesAccount `json:"securitiesAccount,omitempty"`
}

Account struct for Account

func NewAccount

func NewAccount() *Account

NewAccount instantiates a new Account 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 NewAccountWithDefaults

func NewAccountWithDefaults() *Account

NewAccountWithDefaults instantiates a new Account 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 (*Account) GetSecuritiesAccount

func (o *Account) GetSecuritiesAccount() SecuritiesAccount

GetSecuritiesAccount returns the SecuritiesAccount field value if set, zero value otherwise.

func (*Account) GetSecuritiesAccountOk

func (o *Account) GetSecuritiesAccountOk() (*SecuritiesAccount, bool)

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

func (*Account) HasSecuritiesAccount

func (o *Account) HasSecuritiesAccount() bool

HasSecuritiesAccount returns a boolean if a field has been set.

func (Account) MarshalJSON

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

func (*Account) SetSecuritiesAccount

func (o *Account) SetSecuritiesAccount(v SecuritiesAccount)

SetSecuritiesAccount gets a reference to the given SecuritiesAccount and assigns it to the SecuritiesAccount field.

func (Account) ToMap

func (o Account) ToMap() (map[string]interface{}, error)

type AccountAPIOptionDeliverable

type AccountAPIOptionDeliverable struct {
	Symbol           *string    `json:"symbol,omitempty"`
	DeliverableUnits *float64   `json:"deliverableUnits,omitempty"`
	ApiCurrencyType  *string    `json:"apiCurrencyType,omitempty"`
	AssetType        *AssetType `json:"assetType,omitempty"`
}

AccountAPIOptionDeliverable struct for AccountAPIOptionDeliverable

func NewAccountAPIOptionDeliverable

func NewAccountAPIOptionDeliverable() *AccountAPIOptionDeliverable

NewAccountAPIOptionDeliverable instantiates a new AccountAPIOptionDeliverable 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 NewAccountAPIOptionDeliverableWithDefaults

func NewAccountAPIOptionDeliverableWithDefaults() *AccountAPIOptionDeliverable

NewAccountAPIOptionDeliverableWithDefaults instantiates a new AccountAPIOptionDeliverable 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 (*AccountAPIOptionDeliverable) GetApiCurrencyType

func (o *AccountAPIOptionDeliverable) GetApiCurrencyType() string

GetApiCurrencyType returns the ApiCurrencyType field value if set, zero value otherwise.

func (*AccountAPIOptionDeliverable) GetApiCurrencyTypeOk

func (o *AccountAPIOptionDeliverable) GetApiCurrencyTypeOk() (*string, bool)

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

func (*AccountAPIOptionDeliverable) GetAssetType

func (o *AccountAPIOptionDeliverable) GetAssetType() AssetType

GetAssetType returns the AssetType field value if set, zero value otherwise.

func (*AccountAPIOptionDeliverable) GetAssetTypeOk

func (o *AccountAPIOptionDeliverable) GetAssetTypeOk() (*AssetType, bool)

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

func (*AccountAPIOptionDeliverable) GetDeliverableUnits

func (o *AccountAPIOptionDeliverable) GetDeliverableUnits() float64

GetDeliverableUnits returns the DeliverableUnits field value if set, zero value otherwise.

func (*AccountAPIOptionDeliverable) GetDeliverableUnitsOk

func (o *AccountAPIOptionDeliverable) GetDeliverableUnitsOk() (*float64, bool)

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

func (*AccountAPIOptionDeliverable) GetSymbol

func (o *AccountAPIOptionDeliverable) GetSymbol() string

GetSymbol returns the Symbol field value if set, zero value otherwise.

func (*AccountAPIOptionDeliverable) GetSymbolOk

func (o *AccountAPIOptionDeliverable) GetSymbolOk() (*string, bool)

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

func (*AccountAPIOptionDeliverable) HasApiCurrencyType

func (o *AccountAPIOptionDeliverable) HasApiCurrencyType() bool

HasApiCurrencyType returns a boolean if a field has been set.

func (*AccountAPIOptionDeliverable) HasAssetType

func (o *AccountAPIOptionDeliverable) HasAssetType() bool

HasAssetType returns a boolean if a field has been set.

func (*AccountAPIOptionDeliverable) HasDeliverableUnits

func (o *AccountAPIOptionDeliverable) HasDeliverableUnits() bool

HasDeliverableUnits returns a boolean if a field has been set.

func (*AccountAPIOptionDeliverable) HasSymbol

func (o *AccountAPIOptionDeliverable) HasSymbol() bool

HasSymbol returns a boolean if a field has been set.

func (AccountAPIOptionDeliverable) MarshalJSON

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

func (*AccountAPIOptionDeliverable) SetApiCurrencyType

func (o *AccountAPIOptionDeliverable) SetApiCurrencyType(v string)

SetApiCurrencyType gets a reference to the given string and assigns it to the ApiCurrencyType field.

func (*AccountAPIOptionDeliverable) SetAssetType

func (o *AccountAPIOptionDeliverable) SetAssetType(v AssetType)

SetAssetType gets a reference to the given AssetType and assigns it to the AssetType field.

func (*AccountAPIOptionDeliverable) SetDeliverableUnits

func (o *AccountAPIOptionDeliverable) SetDeliverableUnits(v float64)

SetDeliverableUnits gets a reference to the given float64 and assigns it to the DeliverableUnits field.

func (*AccountAPIOptionDeliverable) SetSymbol

func (o *AccountAPIOptionDeliverable) SetSymbol(v string)

SetSymbol gets a reference to the given string and assigns it to the Symbol field.

func (AccountAPIOptionDeliverable) ToMap

func (o AccountAPIOptionDeliverable) ToMap() (map[string]interface{}, error)

type AccountCashEquivalent

type AccountCashEquivalent struct {
	Type         *string  `json:"type,omitempty"`
	AssetType    string   `json:"assetType"`
	Cusip        *string  `json:"cusip,omitempty"`
	Symbol       *string  `json:"symbol,omitempty"`
	Description  *string  `json:"description,omitempty"`
	InstrumentId *int64   `json:"instrumentId,omitempty"`
	NetChange    *float64 `json:"netChange,omitempty"`
}

AccountCashEquivalent struct for AccountCashEquivalent

func NewAccountCashEquivalent

func NewAccountCashEquivalent(assetType string) *AccountCashEquivalent

NewAccountCashEquivalent instantiates a new AccountCashEquivalent 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 NewAccountCashEquivalentWithDefaults

func NewAccountCashEquivalentWithDefaults() *AccountCashEquivalent

NewAccountCashEquivalentWithDefaults instantiates a new AccountCashEquivalent 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 (*AccountCashEquivalent) GetAssetType

func (o *AccountCashEquivalent) GetAssetType() string

GetAssetType returns the AssetType field value

func (*AccountCashEquivalent) GetAssetTypeOk

func (o *AccountCashEquivalent) GetAssetTypeOk() (*string, bool)

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

func (*AccountCashEquivalent) GetCusip

func (o *AccountCashEquivalent) GetCusip() string

GetCusip returns the Cusip field value if set, zero value otherwise.

func (*AccountCashEquivalent) GetCusipOk

func (o *AccountCashEquivalent) GetCusipOk() (*string, bool)

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

func (*AccountCashEquivalent) GetDescription

func (o *AccountCashEquivalent) GetDescription() string

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

func (*AccountCashEquivalent) GetDescriptionOk

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

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

func (*AccountCashEquivalent) GetInstrumentId

func (o *AccountCashEquivalent) GetInstrumentId() int64

GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.

func (*AccountCashEquivalent) GetInstrumentIdOk

func (o *AccountCashEquivalent) GetInstrumentIdOk() (*int64, bool)

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

func (*AccountCashEquivalent) GetNetChange

func (o *AccountCashEquivalent) GetNetChange() float64

GetNetChange returns the NetChange field value if set, zero value otherwise.

func (*AccountCashEquivalent) GetNetChangeOk

func (o *AccountCashEquivalent) GetNetChangeOk() (*float64, bool)

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

func (*AccountCashEquivalent) GetSymbol

func (o *AccountCashEquivalent) GetSymbol() string

GetSymbol returns the Symbol field value if set, zero value otherwise.

func (*AccountCashEquivalent) GetSymbolOk

func (o *AccountCashEquivalent) GetSymbolOk() (*string, bool)

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

func (*AccountCashEquivalent) GetType

func (o *AccountCashEquivalent) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*AccountCashEquivalent) GetTypeOk

func (o *AccountCashEquivalent) GetTypeOk() (*string, bool)

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

func (*AccountCashEquivalent) HasCusip

func (o *AccountCashEquivalent) HasCusip() bool

HasCusip returns a boolean if a field has been set.

func (*AccountCashEquivalent) HasDescription

func (o *AccountCashEquivalent) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*AccountCashEquivalent) HasInstrumentId

func (o *AccountCashEquivalent) HasInstrumentId() bool

HasInstrumentId returns a boolean if a field has been set.

func (*AccountCashEquivalent) HasNetChange

func (o *AccountCashEquivalent) HasNetChange() bool

HasNetChange returns a boolean if a field has been set.

func (*AccountCashEquivalent) HasSymbol

func (o *AccountCashEquivalent) HasSymbol() bool

HasSymbol returns a boolean if a field has been set.

func (*AccountCashEquivalent) HasType

func (o *AccountCashEquivalent) HasType() bool

HasType returns a boolean if a field has been set.

func (AccountCashEquivalent) MarshalJSON

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

func (*AccountCashEquivalent) SetAssetType

func (o *AccountCashEquivalent) SetAssetType(v string)

SetAssetType sets field value

func (*AccountCashEquivalent) SetCusip

func (o *AccountCashEquivalent) SetCusip(v string)

SetCusip gets a reference to the given string and assigns it to the Cusip field.

func (*AccountCashEquivalent) SetDescription

func (o *AccountCashEquivalent) SetDescription(v string)

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

func (*AccountCashEquivalent) SetInstrumentId

func (o *AccountCashEquivalent) SetInstrumentId(v int64)

SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.

func (*AccountCashEquivalent) SetNetChange

func (o *AccountCashEquivalent) SetNetChange(v float64)

SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.

func (*AccountCashEquivalent) SetSymbol

func (o *AccountCashEquivalent) SetSymbol(v string)

SetSymbol gets a reference to the given string and assigns it to the Symbol field.

func (*AccountCashEquivalent) SetType

func (o *AccountCashEquivalent) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (AccountCashEquivalent) ToMap

func (o AccountCashEquivalent) ToMap() (map[string]interface{}, error)

func (*AccountCashEquivalent) UnmarshalJSON

func (o *AccountCashEquivalent) UnmarshalJSON(data []byte) (err error)

type AccountEquity

type AccountEquity struct {
	AssetType    string   `json:"assetType"`
	Cusip        *string  `json:"cusip,omitempty"`
	Symbol       *string  `json:"symbol,omitempty"`
	Description  *string  `json:"description,omitempty"`
	InstrumentId *int64   `json:"instrumentId,omitempty"`
	NetChange    *float64 `json:"netChange,omitempty"`
}

AccountEquity struct for AccountEquity

func NewAccountEquity

func NewAccountEquity(assetType string) *AccountEquity

NewAccountEquity instantiates a new AccountEquity 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 NewAccountEquityWithDefaults

func NewAccountEquityWithDefaults() *AccountEquity

NewAccountEquityWithDefaults instantiates a new AccountEquity 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 (*AccountEquity) GetAssetType

func (o *AccountEquity) GetAssetType() string

GetAssetType returns the AssetType field value

func (*AccountEquity) GetAssetTypeOk

func (o *AccountEquity) GetAssetTypeOk() (*string, bool)

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

func (*AccountEquity) GetCusip

func (o *AccountEquity) GetCusip() string

GetCusip returns the Cusip field value if set, zero value otherwise.

func (*AccountEquity) GetCusipOk

func (o *AccountEquity) GetCusipOk() (*string, bool)

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

func (*AccountEquity) GetDescription

func (o *AccountEquity) GetDescription() string

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

func (*AccountEquity) GetDescriptionOk

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

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

func (*AccountEquity) GetInstrumentId

func (o *AccountEquity) GetInstrumentId() int64

GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.

func (*AccountEquity) GetInstrumentIdOk

func (o *AccountEquity) GetInstrumentIdOk() (*int64, bool)

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

func (*AccountEquity) GetNetChange

func (o *AccountEquity) GetNetChange() float64

GetNetChange returns the NetChange field value if set, zero value otherwise.

func (*AccountEquity) GetNetChangeOk

func (o *AccountEquity) GetNetChangeOk() (*float64, bool)

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

func (*AccountEquity) GetSymbol

func (o *AccountEquity) GetSymbol() string

GetSymbol returns the Symbol field value if set, zero value otherwise.

func (*AccountEquity) GetSymbolOk

func (o *AccountEquity) GetSymbolOk() (*string, bool)

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

func (*AccountEquity) HasCusip

func (o *AccountEquity) HasCusip() bool

HasCusip returns a boolean if a field has been set.

func (*AccountEquity) HasDescription

func (o *AccountEquity) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*AccountEquity) HasInstrumentId

func (o *AccountEquity) HasInstrumentId() bool

HasInstrumentId returns a boolean if a field has been set.

func (*AccountEquity) HasNetChange

func (o *AccountEquity) HasNetChange() bool

HasNetChange returns a boolean if a field has been set.

func (*AccountEquity) HasSymbol

func (o *AccountEquity) HasSymbol() bool

HasSymbol returns a boolean if a field has been set.

func (AccountEquity) MarshalJSON

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

func (*AccountEquity) SetAssetType

func (o *AccountEquity) SetAssetType(v string)

SetAssetType sets field value

func (*AccountEquity) SetCusip

func (o *AccountEquity) SetCusip(v string)

SetCusip gets a reference to the given string and assigns it to the Cusip field.

func (*AccountEquity) SetDescription

func (o *AccountEquity) SetDescription(v string)

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

func (*AccountEquity) SetInstrumentId

func (o *AccountEquity) SetInstrumentId(v int64)

SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.

func (*AccountEquity) SetNetChange

func (o *AccountEquity) SetNetChange(v float64)

SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.

func (*AccountEquity) SetSymbol

func (o *AccountEquity) SetSymbol(v string)

SetSymbol gets a reference to the given string and assigns it to the Symbol field.

func (AccountEquity) ToMap

func (o AccountEquity) ToMap() (map[string]interface{}, error)

func (*AccountEquity) UnmarshalJSON

func (o *AccountEquity) UnmarshalJSON(data []byte) (err error)

type AccountFixedIncome

type AccountFixedIncome struct {
	MaturityDate *time.Time `json:"maturityDate,omitempty"`
	Factor       *float64   `json:"factor,omitempty"`
	VariableRate *float64   `json:"variableRate,omitempty"`
	AssetType    string     `json:"assetType"`
	Cusip        *string    `json:"cusip,omitempty"`
	Symbol       *string    `json:"symbol,omitempty"`
	Description  *string    `json:"description,omitempty"`
	InstrumentId *int64     `json:"instrumentId,omitempty"`
	NetChange    *float64   `json:"netChange,omitempty"`
}

AccountFixedIncome struct for AccountFixedIncome

func NewAccountFixedIncome

func NewAccountFixedIncome(assetType string) *AccountFixedIncome

NewAccountFixedIncome instantiates a new AccountFixedIncome 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 NewAccountFixedIncomeWithDefaults

func NewAccountFixedIncomeWithDefaults() *AccountFixedIncome

NewAccountFixedIncomeWithDefaults instantiates a new AccountFixedIncome 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 (*AccountFixedIncome) GetAssetType

func (o *AccountFixedIncome) GetAssetType() string

GetAssetType returns the AssetType field value

func (*AccountFixedIncome) GetAssetTypeOk

func (o *AccountFixedIncome) GetAssetTypeOk() (*string, bool)

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

func (*AccountFixedIncome) GetCusip

func (o *AccountFixedIncome) GetCusip() string

GetCusip returns the Cusip field value if set, zero value otherwise.

func (*AccountFixedIncome) GetCusipOk

func (o *AccountFixedIncome) GetCusipOk() (*string, bool)

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

func (*AccountFixedIncome) GetDescription

func (o *AccountFixedIncome) GetDescription() string

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

func (*AccountFixedIncome) GetDescriptionOk

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

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

func (*AccountFixedIncome) GetFactor

func (o *AccountFixedIncome) GetFactor() float64

GetFactor returns the Factor field value if set, zero value otherwise.

func (*AccountFixedIncome) GetFactorOk

func (o *AccountFixedIncome) GetFactorOk() (*float64, bool)

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

func (*AccountFixedIncome) GetInstrumentId

func (o *AccountFixedIncome) GetInstrumentId() int64

GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.

func (*AccountFixedIncome) GetInstrumentIdOk

func (o *AccountFixedIncome) GetInstrumentIdOk() (*int64, bool)

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

func (*AccountFixedIncome) GetMaturityDate

func (o *AccountFixedIncome) GetMaturityDate() time.Time

GetMaturityDate returns the MaturityDate field value if set, zero value otherwise.

func (*AccountFixedIncome) GetMaturityDateOk

func (o *AccountFixedIncome) GetMaturityDateOk() (*time.Time, bool)

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

func (*AccountFixedIncome) GetNetChange

func (o *AccountFixedIncome) GetNetChange() float64

GetNetChange returns the NetChange field value if set, zero value otherwise.

func (*AccountFixedIncome) GetNetChangeOk

func (o *AccountFixedIncome) GetNetChangeOk() (*float64, bool)

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

func (*AccountFixedIncome) GetSymbol

func (o *AccountFixedIncome) GetSymbol() string

GetSymbol returns the Symbol field value if set, zero value otherwise.

func (*AccountFixedIncome) GetSymbolOk

func (o *AccountFixedIncome) GetSymbolOk() (*string, bool)

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

func (*AccountFixedIncome) GetVariableRate

func (o *AccountFixedIncome) GetVariableRate() float64

GetVariableRate returns the VariableRate field value if set, zero value otherwise.

func (*AccountFixedIncome) GetVariableRateOk

func (o *AccountFixedIncome) GetVariableRateOk() (*float64, bool)

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

func (*AccountFixedIncome) HasCusip

func (o *AccountFixedIncome) HasCusip() bool

HasCusip returns a boolean if a field has been set.

func (*AccountFixedIncome) HasDescription

func (o *AccountFixedIncome) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*AccountFixedIncome) HasFactor

func (o *AccountFixedIncome) HasFactor() bool

HasFactor returns a boolean if a field has been set.

func (*AccountFixedIncome) HasInstrumentId

func (o *AccountFixedIncome) HasInstrumentId() bool

HasInstrumentId returns a boolean if a field has been set.

func (*AccountFixedIncome) HasMaturityDate

func (o *AccountFixedIncome) HasMaturityDate() bool

HasMaturityDate returns a boolean if a field has been set.

func (*AccountFixedIncome) HasNetChange

func (o *AccountFixedIncome) HasNetChange() bool

HasNetChange returns a boolean if a field has been set.

func (*AccountFixedIncome) HasSymbol

func (o *AccountFixedIncome) HasSymbol() bool

HasSymbol returns a boolean if a field has been set.

func (*AccountFixedIncome) HasVariableRate

func (o *AccountFixedIncome) HasVariableRate() bool

HasVariableRate returns a boolean if a field has been set.

func (AccountFixedIncome) MarshalJSON

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

func (*AccountFixedIncome) SetAssetType

func (o *AccountFixedIncome) SetAssetType(v string)

SetAssetType sets field value

func (*AccountFixedIncome) SetCusip

func (o *AccountFixedIncome) SetCusip(v string)

SetCusip gets a reference to the given string and assigns it to the Cusip field.

func (*AccountFixedIncome) SetDescription

func (o *AccountFixedIncome) SetDescription(v string)

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

func (*AccountFixedIncome) SetFactor

func (o *AccountFixedIncome) SetFactor(v float64)

SetFactor gets a reference to the given float64 and assigns it to the Factor field.

func (*AccountFixedIncome) SetInstrumentId

func (o *AccountFixedIncome) SetInstrumentId(v int64)

SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.

func (*AccountFixedIncome) SetMaturityDate

func (o *AccountFixedIncome) SetMaturityDate(v time.Time)

SetMaturityDate gets a reference to the given time.Time and assigns it to the MaturityDate field.

func (*AccountFixedIncome) SetNetChange

func (o *AccountFixedIncome) SetNetChange(v float64)

SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.

func (*AccountFixedIncome) SetSymbol

func (o *AccountFixedIncome) SetSymbol(v string)

SetSymbol gets a reference to the given string and assigns it to the Symbol field.

func (*AccountFixedIncome) SetVariableRate

func (o *AccountFixedIncome) SetVariableRate(v float64)

SetVariableRate gets a reference to the given float64 and assigns it to the VariableRate field.

func (AccountFixedIncome) ToMap

func (o AccountFixedIncome) ToMap() (map[string]interface{}, error)

func (*AccountFixedIncome) UnmarshalJSON

func (o *AccountFixedIncome) UnmarshalJSON(data []byte) (err error)

type AccountMutualFund

type AccountMutualFund struct {
	AssetType    string   `json:"assetType"`
	Cusip        *string  `json:"cusip,omitempty"`
	Symbol       *string  `json:"symbol,omitempty"`
	Description  *string  `json:"description,omitempty"`
	InstrumentId *int64   `json:"instrumentId,omitempty"`
	NetChange    *float64 `json:"netChange,omitempty"`
}

AccountMutualFund struct for AccountMutualFund

func NewAccountMutualFund

func NewAccountMutualFund(assetType string) *AccountMutualFund

NewAccountMutualFund instantiates a new AccountMutualFund 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 NewAccountMutualFundWithDefaults

func NewAccountMutualFundWithDefaults() *AccountMutualFund

NewAccountMutualFundWithDefaults instantiates a new AccountMutualFund 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 (*AccountMutualFund) GetAssetType

func (o *AccountMutualFund) GetAssetType() string

GetAssetType returns the AssetType field value

func (*AccountMutualFund) GetAssetTypeOk

func (o *AccountMutualFund) GetAssetTypeOk() (*string, bool)

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

func (*AccountMutualFund) GetCusip

func (o *AccountMutualFund) GetCusip() string

GetCusip returns the Cusip field value if set, zero value otherwise.

func (*AccountMutualFund) GetCusipOk

func (o *AccountMutualFund) GetCusipOk() (*string, bool)

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

func (*AccountMutualFund) GetDescription

func (o *AccountMutualFund) GetDescription() string

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

func (*AccountMutualFund) GetDescriptionOk

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

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

func (*AccountMutualFund) GetInstrumentId

func (o *AccountMutualFund) GetInstrumentId() int64

GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.

func (*AccountMutualFund) GetInstrumentIdOk

func (o *AccountMutualFund) GetInstrumentIdOk() (*int64, bool)

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

func (*AccountMutualFund) GetNetChange

func (o *AccountMutualFund) GetNetChange() float64

GetNetChange returns the NetChange field value if set, zero value otherwise.

func (*AccountMutualFund) GetNetChangeOk

func (o *AccountMutualFund) GetNetChangeOk() (*float64, bool)

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

func (*AccountMutualFund) GetSymbol

func (o *AccountMutualFund) GetSymbol() string

GetSymbol returns the Symbol field value if set, zero value otherwise.

func (*AccountMutualFund) GetSymbolOk

func (o *AccountMutualFund) GetSymbolOk() (*string, bool)

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

func (*AccountMutualFund) HasCusip

func (o *AccountMutualFund) HasCusip() bool

HasCusip returns a boolean if a field has been set.

func (*AccountMutualFund) HasDescription

func (o *AccountMutualFund) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*AccountMutualFund) HasInstrumentId

func (o *AccountMutualFund) HasInstrumentId() bool

HasInstrumentId returns a boolean if a field has been set.

func (*AccountMutualFund) HasNetChange

func (o *AccountMutualFund) HasNetChange() bool

HasNetChange returns a boolean if a field has been set.

func (*AccountMutualFund) HasSymbol

func (o *AccountMutualFund) HasSymbol() bool

HasSymbol returns a boolean if a field has been set.

func (AccountMutualFund) MarshalJSON

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

func (*AccountMutualFund) SetAssetType

func (o *AccountMutualFund) SetAssetType(v string)

SetAssetType sets field value

func (*AccountMutualFund) SetCusip

func (o *AccountMutualFund) SetCusip(v string)

SetCusip gets a reference to the given string and assigns it to the Cusip field.

func (*AccountMutualFund) SetDescription

func (o *AccountMutualFund) SetDescription(v string)

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

func (*AccountMutualFund) SetInstrumentId

func (o *AccountMutualFund) SetInstrumentId(v int64)

SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.

func (*AccountMutualFund) SetNetChange

func (o *AccountMutualFund) SetNetChange(v float64)

SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.

func (*AccountMutualFund) SetSymbol

func (o *AccountMutualFund) SetSymbol(v string)

SetSymbol gets a reference to the given string and assigns it to the Symbol field.

func (AccountMutualFund) ToMap

func (o AccountMutualFund) ToMap() (map[string]interface{}, error)

func (*AccountMutualFund) UnmarshalJSON

func (o *AccountMutualFund) UnmarshalJSON(data []byte) (err error)

type AccountNumberHash

type AccountNumberHash struct {
	AccountNumber *string `json:"accountNumber,omitempty"`
	HashValue     *string `json:"hashValue,omitempty"`
}

AccountNumberHash struct for AccountNumberHash

func NewAccountNumberHash

func NewAccountNumberHash() *AccountNumberHash

NewAccountNumberHash instantiates a new AccountNumberHash 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 NewAccountNumberHashWithDefaults

func NewAccountNumberHashWithDefaults() *AccountNumberHash

NewAccountNumberHashWithDefaults instantiates a new AccountNumberHash 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 (*AccountNumberHash) GetAccountNumber

func (o *AccountNumberHash) GetAccountNumber() string

GetAccountNumber returns the AccountNumber field value if set, zero value otherwise.

func (*AccountNumberHash) GetAccountNumberOk

func (o *AccountNumberHash) GetAccountNumberOk() (*string, bool)

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

func (*AccountNumberHash) GetHashValue

func (o *AccountNumberHash) GetHashValue() string

GetHashValue returns the HashValue field value if set, zero value otherwise.

func (*AccountNumberHash) GetHashValueOk

func (o *AccountNumberHash) GetHashValueOk() (*string, bool)

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

func (*AccountNumberHash) HasAccountNumber

func (o *AccountNumberHash) HasAccountNumber() bool

HasAccountNumber returns a boolean if a field has been set.

func (*AccountNumberHash) HasHashValue

func (o *AccountNumberHash) HasHashValue() bool

HasHashValue returns a boolean if a field has been set.

func (AccountNumberHash) MarshalJSON

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

func (*AccountNumberHash) SetAccountNumber

func (o *AccountNumberHash) SetAccountNumber(v string)

SetAccountNumber gets a reference to the given string and assigns it to the AccountNumber field.

func (*AccountNumberHash) SetHashValue

func (o *AccountNumberHash) SetHashValue(v string)

SetHashValue gets a reference to the given string and assigns it to the HashValue field.

func (AccountNumberHash) ToMap

func (o AccountNumberHash) ToMap() (map[string]interface{}, error)

type AccountOption

type AccountOption struct {
	OptionDeliverables []AccountAPIOptionDeliverable `json:"optionDeliverables,omitempty"`
	PutCall            *string                       `json:"putCall,omitempty"`
	OptionMultiplier   *int32                        `json:"optionMultiplier,omitempty"`
	Type               *string                       `json:"type,omitempty"`
	UnderlyingSymbol   *string                       `json:"underlyingSymbol,omitempty"`
	AssetType          string                        `json:"assetType"`
	Cusip              *string                       `json:"cusip,omitempty"`
	Symbol             *string                       `json:"symbol,omitempty"`
	Description        *string                       `json:"description,omitempty"`
	InstrumentId       *int64                        `json:"instrumentId,omitempty"`
	NetChange          *float64                      `json:"netChange,omitempty"`
}

AccountOption struct for AccountOption

func NewAccountOption

func NewAccountOption(assetType string) *AccountOption

NewAccountOption instantiates a new AccountOption 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 NewAccountOptionWithDefaults

func NewAccountOptionWithDefaults() *AccountOption

NewAccountOptionWithDefaults instantiates a new AccountOption 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 (*AccountOption) GetAssetType

func (o *AccountOption) GetAssetType() string

GetAssetType returns the AssetType field value

func (*AccountOption) GetAssetTypeOk

func (o *AccountOption) GetAssetTypeOk() (*string, bool)

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

func (*AccountOption) GetCusip

func (o *AccountOption) GetCusip() string

GetCusip returns the Cusip field value if set, zero value otherwise.

func (*AccountOption) GetCusipOk

func (o *AccountOption) GetCusipOk() (*string, bool)

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

func (*AccountOption) GetDescription

func (o *AccountOption) GetDescription() string

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

func (*AccountOption) GetDescriptionOk

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

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

func (*AccountOption) GetInstrumentId

func (o *AccountOption) GetInstrumentId() int64

GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.

func (*AccountOption) GetInstrumentIdOk

func (o *AccountOption) GetInstrumentIdOk() (*int64, bool)

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

func (*AccountOption) GetNetChange

func (o *AccountOption) GetNetChange() float64

GetNetChange returns the NetChange field value if set, zero value otherwise.

func (*AccountOption) GetNetChangeOk

func (o *AccountOption) GetNetChangeOk() (*float64, bool)

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

func (*AccountOption) GetOptionDeliverables

func (o *AccountOption) GetOptionDeliverables() []AccountAPIOptionDeliverable

GetOptionDeliverables returns the OptionDeliverables field value if set, zero value otherwise.

func (*AccountOption) GetOptionDeliverablesOk

func (o *AccountOption) GetOptionDeliverablesOk() ([]AccountAPIOptionDeliverable, bool)

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

func (*AccountOption) GetOptionMultiplier

func (o *AccountOption) GetOptionMultiplier() int32

GetOptionMultiplier returns the OptionMultiplier field value if set, zero value otherwise.

func (*AccountOption) GetOptionMultiplierOk

func (o *AccountOption) GetOptionMultiplierOk() (*int32, bool)

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

func (*AccountOption) GetPutCall

func (o *AccountOption) GetPutCall() string

GetPutCall returns the PutCall field value if set, zero value otherwise.

func (*AccountOption) GetPutCallOk

func (o *AccountOption) GetPutCallOk() (*string, bool)

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

func (*AccountOption) GetSymbol

func (o *AccountOption) GetSymbol() string

GetSymbol returns the Symbol field value if set, zero value otherwise.

func (*AccountOption) GetSymbolOk

func (o *AccountOption) GetSymbolOk() (*string, bool)

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

func (*AccountOption) GetType

func (o *AccountOption) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*AccountOption) GetTypeOk

func (o *AccountOption) GetTypeOk() (*string, bool)

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

func (*AccountOption) GetUnderlyingSymbol

func (o *AccountOption) GetUnderlyingSymbol() string

GetUnderlyingSymbol returns the UnderlyingSymbol field value if set, zero value otherwise.

func (*AccountOption) GetUnderlyingSymbolOk

func (o *AccountOption) GetUnderlyingSymbolOk() (*string, bool)

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

func (*AccountOption) HasCusip

func (o *AccountOption) HasCusip() bool

HasCusip returns a boolean if a field has been set.

func (*AccountOption) HasDescription

func (o *AccountOption) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*AccountOption) HasInstrumentId

func (o *AccountOption) HasInstrumentId() bool

HasInstrumentId returns a boolean if a field has been set.

func (*AccountOption) HasNetChange

func (o *AccountOption) HasNetChange() bool

HasNetChange returns a boolean if a field has been set.

func (*AccountOption) HasOptionDeliverables

func (o *AccountOption) HasOptionDeliverables() bool

HasOptionDeliverables returns a boolean if a field has been set.

func (*AccountOption) HasOptionMultiplier

func (o *AccountOption) HasOptionMultiplier() bool

HasOptionMultiplier returns a boolean if a field has been set.

func (*AccountOption) HasPutCall

func (o *AccountOption) HasPutCall() bool

HasPutCall returns a boolean if a field has been set.

func (*AccountOption) HasSymbol

func (o *AccountOption) HasSymbol() bool

HasSymbol returns a boolean if a field has been set.

func (*AccountOption) HasType

func (o *AccountOption) HasType() bool

HasType returns a boolean if a field has been set.

func (*AccountOption) HasUnderlyingSymbol

func (o *AccountOption) HasUnderlyingSymbol() bool

HasUnderlyingSymbol returns a boolean if a field has been set.

func (AccountOption) MarshalJSON

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

func (*AccountOption) SetAssetType

func (o *AccountOption) SetAssetType(v string)

SetAssetType sets field value

func (*AccountOption) SetCusip

func (o *AccountOption) SetCusip(v string)

SetCusip gets a reference to the given string and assigns it to the Cusip field.

func (*AccountOption) SetDescription

func (o *AccountOption) SetDescription(v string)

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

func (*AccountOption) SetInstrumentId

func (o *AccountOption) SetInstrumentId(v int64)

SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.

func (*AccountOption) SetNetChange

func (o *AccountOption) SetNetChange(v float64)

SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.

func (*AccountOption) SetOptionDeliverables

func (o *AccountOption) SetOptionDeliverables(v []AccountAPIOptionDeliverable)

SetOptionDeliverables gets a reference to the given []AccountAPIOptionDeliverable and assigns it to the OptionDeliverables field.

func (*AccountOption) SetOptionMultiplier

func (o *AccountOption) SetOptionMultiplier(v int32)

SetOptionMultiplier gets a reference to the given int32 and assigns it to the OptionMultiplier field.

func (*AccountOption) SetPutCall

func (o *AccountOption) SetPutCall(v string)

SetPutCall gets a reference to the given string and assigns it to the PutCall field.

func (*AccountOption) SetSymbol

func (o *AccountOption) SetSymbol(v string)

SetSymbol gets a reference to the given string and assigns it to the Symbol field.

func (*AccountOption) SetType

func (o *AccountOption) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*AccountOption) SetUnderlyingSymbol

func (o *AccountOption) SetUnderlyingSymbol(v string)

SetUnderlyingSymbol gets a reference to the given string and assigns it to the UnderlyingSymbol field.

func (AccountOption) ToMap

func (o AccountOption) ToMap() (map[string]interface{}, error)

func (*AccountOption) UnmarshalJSON

func (o *AccountOption) UnmarshalJSON(data []byte) (err error)

type AccountsAPIService

type AccountsAPIService service

AccountsAPIService AccountsAPI service

func (*AccountsAPIService) GetAccount

func (a *AccountsAPIService) GetAccount(ctx context.Context, accountNumber string) ApiGetAccountRequest

GetAccount Get a specific account balance and positions for the logged in user.

Specific account information with balances and positions. The balance information on these accounts is displayed by default but Positions will be returned based on the "positions" flag.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountNumber The encrypted ID of the account
@return ApiGetAccountRequest

func (*AccountsAPIService) GetAccountExecute

func (a *AccountsAPIService) GetAccountExecute(r ApiGetAccountRequest) (*Account, *http.Response, error)

Execute executes the request

@return Account

func (*AccountsAPIService) GetAccountNumbers

GetAccountNumbers Get list of account numbers and their encrypted values

Account numbers in plain text cannot be used outside of headers or request/response bodies. As the first step consumers must invoke this service to retrieve the list of plain text/encrypted value pairs, and use encrypted account values for all subsequent calls for any accountNumber request.

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

func (*AccountsAPIService) GetAccountNumbersExecute

Execute executes the request

@return []AccountNumberHash

func (*AccountsAPIService) GetAccounts

GetAccounts Get linked account(s) balances and positions for the logged in user.

All the linked account information for the user logged in. The balances on these accounts are displayed by default however the positions on these accounts will be displayed based on the "positions" flag.

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

func (*AccountsAPIService) GetAccountsExecute

func (a *AccountsAPIService) GetAccountsExecute(r ApiGetAccountsRequest) ([]Account, *http.Response, error)

Execute executes the request

@return []Account

type AccountsBaseInstrument

type AccountsBaseInstrument struct {
	AssetType    string   `json:"assetType"`
	Cusip        *string  `json:"cusip,omitempty"`
	Symbol       *string  `json:"symbol,omitempty"`
	Description  *string  `json:"description,omitempty"`
	InstrumentId *int64   `json:"instrumentId,omitempty"`
	NetChange    *float64 `json:"netChange,omitempty"`
}

AccountsBaseInstrument struct for AccountsBaseInstrument

func NewAccountsBaseInstrument

func NewAccountsBaseInstrument(assetType string) *AccountsBaseInstrument

NewAccountsBaseInstrument instantiates a new AccountsBaseInstrument 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 NewAccountsBaseInstrumentWithDefaults

func NewAccountsBaseInstrumentWithDefaults() *AccountsBaseInstrument

NewAccountsBaseInstrumentWithDefaults instantiates a new AccountsBaseInstrument 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 (*AccountsBaseInstrument) GetAssetType

func (o *AccountsBaseInstrument) GetAssetType() string

GetAssetType returns the AssetType field value

func (*AccountsBaseInstrument) GetAssetTypeOk

func (o *AccountsBaseInstrument) GetAssetTypeOk() (*string, bool)

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

func (*AccountsBaseInstrument) GetCusip

func (o *AccountsBaseInstrument) GetCusip() string

GetCusip returns the Cusip field value if set, zero value otherwise.

func (*AccountsBaseInstrument) GetCusipOk

func (o *AccountsBaseInstrument) GetCusipOk() (*string, bool)

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

func (*AccountsBaseInstrument) GetDescription

func (o *AccountsBaseInstrument) GetDescription() string

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

func (*AccountsBaseInstrument) GetDescriptionOk

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

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

func (*AccountsBaseInstrument) GetInstrumentId

func (o *AccountsBaseInstrument) GetInstrumentId() int64

GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.

func (*AccountsBaseInstrument) GetInstrumentIdOk

func (o *AccountsBaseInstrument) GetInstrumentIdOk() (*int64, bool)

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

func (*AccountsBaseInstrument) GetNetChange

func (o *AccountsBaseInstrument) GetNetChange() float64

GetNetChange returns the NetChange field value if set, zero value otherwise.

func (*AccountsBaseInstrument) GetNetChangeOk

func (o *AccountsBaseInstrument) GetNetChangeOk() (*float64, bool)

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

func (*AccountsBaseInstrument) GetSymbol

func (o *AccountsBaseInstrument) GetSymbol() string

GetSymbol returns the Symbol field value if set, zero value otherwise.

func (*AccountsBaseInstrument) GetSymbolOk

func (o *AccountsBaseInstrument) GetSymbolOk() (*string, bool)

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

func (*AccountsBaseInstrument) HasCusip

func (o *AccountsBaseInstrument) HasCusip() bool

HasCusip returns a boolean if a field has been set.

func (*AccountsBaseInstrument) HasDescription

func (o *AccountsBaseInstrument) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*AccountsBaseInstrument) HasInstrumentId

func (o *AccountsBaseInstrument) HasInstrumentId() bool

HasInstrumentId returns a boolean if a field has been set.

func (*AccountsBaseInstrument) HasNetChange

func (o *AccountsBaseInstrument) HasNetChange() bool

HasNetChange returns a boolean if a field has been set.

func (*AccountsBaseInstrument) HasSymbol

func (o *AccountsBaseInstrument) HasSymbol() bool

HasSymbol returns a boolean if a field has been set.

func (AccountsBaseInstrument) MarshalJSON

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

func (*AccountsBaseInstrument) SetAssetType

func (o *AccountsBaseInstrument) SetAssetType(v string)

SetAssetType sets field value

func (*AccountsBaseInstrument) SetCusip

func (o *AccountsBaseInstrument) SetCusip(v string)

SetCusip gets a reference to the given string and assigns it to the Cusip field.

func (*AccountsBaseInstrument) SetDescription

func (o *AccountsBaseInstrument) SetDescription(v string)

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

func (*AccountsBaseInstrument) SetInstrumentId

func (o *AccountsBaseInstrument) SetInstrumentId(v int64)

SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.

func (*AccountsBaseInstrument) SetNetChange

func (o *AccountsBaseInstrument) SetNetChange(v float64)

SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.

func (*AccountsBaseInstrument) SetSymbol

func (o *AccountsBaseInstrument) SetSymbol(v string)

SetSymbol gets a reference to the given string and assigns it to the Symbol field.

func (AccountsBaseInstrument) ToMap

func (o AccountsBaseInstrument) ToMap() (map[string]interface{}, error)

func (*AccountsBaseInstrument) UnmarshalJSON

func (o *AccountsBaseInstrument) UnmarshalJSON(data []byte) (err error)

type AccountsInstrument

type AccountsInstrument struct {
	AccountCashEquivalent *AccountCashEquivalent
	AccountEquity         *AccountEquity
	AccountFixedIncome    *AccountFixedIncome
	AccountMutualFund     *AccountMutualFund
	AccountOption         *AccountOption
}

AccountsInstrument - struct for AccountsInstrument

func AccountCashEquivalentAsAccountsInstrument

func AccountCashEquivalentAsAccountsInstrument(v *AccountCashEquivalent) AccountsInstrument

AccountCashEquivalentAsAccountsInstrument is a convenience function that returns AccountCashEquivalent wrapped in AccountsInstrument

func AccountEquityAsAccountsInstrument

func AccountEquityAsAccountsInstrument(v *AccountEquity) AccountsInstrument

AccountEquityAsAccountsInstrument is a convenience function that returns AccountEquity wrapped in AccountsInstrument

func AccountFixedIncomeAsAccountsInstrument

func AccountFixedIncomeAsAccountsInstrument(v *AccountFixedIncome) AccountsInstrument

AccountFixedIncomeAsAccountsInstrument is a convenience function that returns AccountFixedIncome wrapped in AccountsInstrument

func AccountMutualFundAsAccountsInstrument

func AccountMutualFundAsAccountsInstrument(v *AccountMutualFund) AccountsInstrument

AccountMutualFundAsAccountsInstrument is a convenience function that returns AccountMutualFund wrapped in AccountsInstrument

func AccountOptionAsAccountsInstrument

func AccountOptionAsAccountsInstrument(v *AccountOption) AccountsInstrument

AccountOptionAsAccountsInstrument is a convenience function that returns AccountOption wrapped in AccountsInstrument

func (*AccountsInstrument) GetActualInstance

func (obj *AccountsInstrument) GetActualInstance() interface{}

Get the actual instance

func (AccountsInstrument) MarshalJSON

func (src AccountsInstrument) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*AccountsInstrument) UnmarshalJSON

func (dst *AccountsInstrument) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type AmountIndicator

type AmountIndicator string

AmountIndicator the model 'AmountIndicator'

const (
	AMOUNTINDICATOR_DOLLARS    AmountIndicator = "DOLLARS"
	AMOUNTINDICATOR_SHARES     AmountIndicator = "SHARES"
	AMOUNTINDICATOR_ALL_SHARES AmountIndicator = "ALL_SHARES"
	AMOUNTINDICATOR_PERCENTAGE AmountIndicator = "PERCENTAGE"
	AMOUNTINDICATOR_UNKNOWN    AmountIndicator = "UNKNOWN"
)

List of amountIndicator

func NewAmountIndicatorFromValue

func NewAmountIndicatorFromValue(v string) (*AmountIndicator, error)

NewAmountIndicatorFromValue returns a pointer to a valid AmountIndicator for the value passed as argument, or an error if the value passed is not allowed by the enum

func (AmountIndicator) IsValid

func (v AmountIndicator) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (AmountIndicator) Ptr

Ptr returns reference to amountIndicator value

func (*AmountIndicator) UnmarshalJSON

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

type ApiCancelOrderRequest

type ApiCancelOrderRequest struct {
	ApiService *OrdersAPIService
	// contains filtered or unexported fields
}

func (ApiCancelOrderRequest) Execute

func (r ApiCancelOrderRequest) Execute() (*http.Response, error)

type ApiGetAccountNumbersRequest

type ApiGetAccountNumbersRequest struct {
	ApiService *AccountsAPIService
	// contains filtered or unexported fields
}

func (ApiGetAccountNumbersRequest) Execute

type ApiGetAccountRequest

type ApiGetAccountRequest struct {
	ApiService *AccountsAPIService
	// contains filtered or unexported fields
}

func (ApiGetAccountRequest) Execute

func (r ApiGetAccountRequest) Execute() (*Account, *http.Response, error)

func (ApiGetAccountRequest) Fields

This allows one to determine which fields they want returned. Possible values in this String can be: <br><code>positions</code><br> Example:<br><code>fields=positions</code>

type ApiGetAccountsRequest

type ApiGetAccountsRequest struct {
	ApiService *AccountsAPIService
	// contains filtered or unexported fields
}

func (ApiGetAccountsRequest) Execute

func (r ApiGetAccountsRequest) Execute() ([]Account, *http.Response, error)

func (ApiGetAccountsRequest) Fields

This allows one to determine which fields they want returned. Possible value in this String can be: <br><code>positions</code><br> Example:<br><code>fields=positions</code>

type ApiGetOrderRequest

type ApiGetOrderRequest struct {
	ApiService *OrdersAPIService
	// contains filtered or unexported fields
}

func (ApiGetOrderRequest) Execute

func (r ApiGetOrderRequest) Execute() (*Order, *http.Response, error)

type ApiGetOrdersByPathParamRequest

type ApiGetOrdersByPathParamRequest struct {
	ApiService *OrdersAPIService
	// contains filtered or unexported fields
}

func (ApiGetOrdersByPathParamRequest) Execute

func (ApiGetOrdersByPathParamRequest) FromEnteredTime

func (r ApiGetOrdersByPathParamRequest) FromEnteredTime(fromEnteredTime string) ApiGetOrdersByPathParamRequest

Specifies that no orders entered before this time should be returned. Valid ISO-8601 formats are :<br> <code>yyyy-MM-dd'T'HH:mm:ss.SSSZ</code> Date must be within 60 days from today's date. 'toEnteredTime' must also be set.

func (ApiGetOrdersByPathParamRequest) MaxResults

The max number of orders to retrieve. Default is 3000.

func (ApiGetOrdersByPathParamRequest) Status

Specifies that only orders of this status should be returned.

func (ApiGetOrdersByPathParamRequest) ToEnteredTime

Specifies that no orders entered after this time should be returned.Valid ISO-8601 formats are :<br> <code>yyyy-MM-dd'T'HH:mm:ss.SSSZ</code>. 'fromEnteredTime' must also be set.

type ApiGetOrdersByQueryParamRequest

type ApiGetOrdersByQueryParamRequest struct {
	ApiService *OrdersAPIService
	// contains filtered or unexported fields
}

func (ApiGetOrdersByQueryParamRequest) Execute

func (ApiGetOrdersByQueryParamRequest) FromEnteredTime

func (r ApiGetOrdersByQueryParamRequest) FromEnteredTime(fromEnteredTime string) ApiGetOrdersByQueryParamRequest

Specifies that no orders entered before this time should be returned. Valid ISO-8601 formats are- yyyy-MM-dd'T'HH:mm:ss.SSSZ Date must be within 60 days from today's date. 'toEnteredTime' must also be set.

func (ApiGetOrdersByQueryParamRequest) MaxResults

The max number of orders to retrieve. Default is 3000.

func (ApiGetOrdersByQueryParamRequest) Status

Specifies that only orders of this status should be returned.

func (ApiGetOrdersByQueryParamRequest) ToEnteredTime

Specifies that no orders entered after this time should be returned.Valid ISO-8601 formats are - yyyy-MM-dd'T'HH:mm:ss.SSSZ. 'fromEnteredTime' must also be set.

type ApiGetTransactionsByIdRequest

type ApiGetTransactionsByIdRequest struct {
	ApiService *TransactionsAPIService
	// contains filtered or unexported fields
}

func (ApiGetTransactionsByIdRequest) Execute

type ApiGetTransactionsByPathParamRequest

type ApiGetTransactionsByPathParamRequest struct {
	ApiService *TransactionsAPIService
	// contains filtered or unexported fields
}

func (ApiGetTransactionsByPathParamRequest) EndDate

Specifies that no transactions entered after this time should be returned.Valid ISO-8601 formats are :<br> <code>yyyy-MM-dd'T'HH:mm:ss.SSSZ</code>. 'fromEnteredTime' must also be set.

func (ApiGetTransactionsByPathParamRequest) Execute

func (ApiGetTransactionsByPathParamRequest) StartDate

Specifies that no transactions entered before this time should be returned. Valid ISO-8601 formats are :<br> <code>yyyy-MM-dd'T'HH:mm:ss.SSSZ</code> Date must be within 60 days from today's date. 'toEnteredTime' must also be set.

func (ApiGetTransactionsByPathParamRequest) Symbol

It filters all the transaction activities based on the symbol specified. <u>NOTE:</u> If there is any special character in the symbol, please send th encoded value.

func (ApiGetTransactionsByPathParamRequest) Types

Specifies that only transactions of this status should be returned.

type ApiGetUserPreferenceRequest

type ApiGetUserPreferenceRequest struct {
	ApiService *UserPreferenceAPIService
	// contains filtered or unexported fields
}

func (ApiGetUserPreferenceRequest) Execute

type ApiOrderStatus

type ApiOrderStatus string

ApiOrderStatus the model 'ApiOrderStatus'

const (
	APIORDERSTATUS_AWAITING_PARENT_ORDER   ApiOrderStatus = "AWAITING_PARENT_ORDER"
	APIORDERSTATUS_AWAITING_CONDITION      ApiOrderStatus = "AWAITING_CONDITION"
	APIORDERSTATUS_AWAITING_STOP_CONDITION ApiOrderStatus = "AWAITING_STOP_CONDITION"
	APIORDERSTATUS_AWAITING_MANUAL_REVIEW  ApiOrderStatus = "AWAITING_MANUAL_REVIEW"
	APIORDERSTATUS_ACCEPTED                ApiOrderStatus = "ACCEPTED"
	APIORDERSTATUS_AWAITING_UR_OUT         ApiOrderStatus = "AWAITING_UR_OUT"
	APIORDERSTATUS_PENDING_ACTIVATION      ApiOrderStatus = "PENDING_ACTIVATION"
	APIORDERSTATUS_QUEUED                  ApiOrderStatus = "QUEUED"
	APIORDERSTATUS_WORKING                 ApiOrderStatus = "WORKING"
	APIORDERSTATUS_REJECTED                ApiOrderStatus = "REJECTED"
	APIORDERSTATUS_PENDING_CANCEL          ApiOrderStatus = "PENDING_CANCEL"
	APIORDERSTATUS_CANCELED                ApiOrderStatus = "CANCELED"
	APIORDERSTATUS_PENDING_REPLACE         ApiOrderStatus = "PENDING_REPLACE"
	APIORDERSTATUS_REPLACED                ApiOrderStatus = "REPLACED"
	APIORDERSTATUS_FILLED                  ApiOrderStatus = "FILLED"
	APIORDERSTATUS_EXPIRED                 ApiOrderStatus = "EXPIRED"
	APIORDERSTATUS_NEW                     ApiOrderStatus = "NEW"
	APIORDERSTATUS_AWAITING_RELEASE_TIME   ApiOrderStatus = "AWAITING_RELEASE_TIME"
	APIORDERSTATUS_PENDING_ACKNOWLEDGEMENT ApiOrderStatus = "PENDING_ACKNOWLEDGEMENT"
	APIORDERSTATUS_PENDING_RECALL          ApiOrderStatus = "PENDING_RECALL"
	APIORDERSTATUS_UNKNOWN                 ApiOrderStatus = "UNKNOWN"
)

List of apiOrderStatus

func NewApiOrderStatusFromValue

func NewApiOrderStatusFromValue(v string) (*ApiOrderStatus, error)

NewApiOrderStatusFromValue returns a pointer to a valid ApiOrderStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ApiOrderStatus) IsValid

func (v ApiOrderStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ApiOrderStatus) Ptr

func (v ApiOrderStatus) Ptr() *ApiOrderStatus

Ptr returns reference to apiOrderStatus value

func (*ApiOrderStatus) UnmarshalJSON

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

type ApiPlaceOrderRequest

type ApiPlaceOrderRequest struct {
	ApiService *OrdersAPIService
	// contains filtered or unexported fields
}

func (ApiPlaceOrderRequest) Body

The new Order Object.

func (ApiPlaceOrderRequest) Execute

func (r ApiPlaceOrderRequest) Execute() (*http.Response, error)

type ApiPreviewOrderRequest

type ApiPreviewOrderRequest struct {
	ApiService *OrdersAPIService
	// contains filtered or unexported fields
}

func (ApiPreviewOrderRequest) Execute

func (ApiPreviewOrderRequest) PreviewOrder

func (r ApiPreviewOrderRequest) PreviewOrder(previewOrder PreviewOrder) ApiPreviewOrderRequest

The Order Object.

type ApiReplaceOrderRequest

type ApiReplaceOrderRequest struct {
	ApiService *OrdersAPIService
	// contains filtered or unexported fields
}

func (ApiReplaceOrderRequest) Body

The Order Object.

func (ApiReplaceOrderRequest) Execute

func (r ApiReplaceOrderRequest) Execute() (*http.Response, error)

type AssetType

type AssetType string

AssetType the model 'AssetType'

const (
	ASSETTYPE_EQUITY                AssetType = "EQUITY"
	ASSETTYPE_MUTUAL_FUND           AssetType = "MUTUAL_FUND"
	ASSETTYPE_OPTION                AssetType = "OPTION"
	ASSETTYPE_FUTURE                AssetType = "FUTURE"
	ASSETTYPE_FOREX                 AssetType = "FOREX"
	ASSETTYPE_INDEX                 AssetType = "INDEX"
	ASSETTYPE_CASH_EQUIVALENT       AssetType = "CASH_EQUIVALENT"
	ASSETTYPE_FIXED_INCOME          AssetType = "FIXED_INCOME"
	ASSETTYPE_PRODUCT               AssetType = "PRODUCT"
	ASSETTYPE_CURRENCY              AssetType = "CURRENCY"
	ASSETTYPE_COLLECTIVE_INVESTMENT AssetType = "COLLECTIVE_INVESTMENT"
)

List of assetType

func NewAssetTypeFromValue

func NewAssetTypeFromValue(v string) (*AssetType, error)

NewAssetTypeFromValue returns a pointer to a valid AssetType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (AssetType) IsValid

func (v AssetType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (AssetType) Ptr

func (v AssetType) Ptr() *AssetType

Ptr returns reference to assetType value

func (*AssetType) UnmarshalJSON

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

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 CollectiveInvestment

type CollectiveInvestment struct {
	Type         *string  `json:"type,omitempty"`
	AssetType    string   `json:"assetType"`
	Cusip        *string  `json:"cusip,omitempty"`
	Symbol       *string  `json:"symbol,omitempty"`
	Description  *string  `json:"description,omitempty"`
	InstrumentId *int64   `json:"instrumentId,omitempty"`
	NetChange    *float64 `json:"netChange,omitempty"`
}

CollectiveInvestment struct for CollectiveInvestment

func NewCollectiveInvestment

func NewCollectiveInvestment(assetType string) *CollectiveInvestment

NewCollectiveInvestment instantiates a new CollectiveInvestment 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 NewCollectiveInvestmentWithDefaults

func NewCollectiveInvestmentWithDefaults() *CollectiveInvestment

NewCollectiveInvestmentWithDefaults instantiates a new CollectiveInvestment 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 (*CollectiveInvestment) GetAssetType

func (o *CollectiveInvestment) GetAssetType() string

GetAssetType returns the AssetType field value

func (*CollectiveInvestment) GetAssetTypeOk

func (o *CollectiveInvestment) GetAssetTypeOk() (*string, bool)

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

func (*CollectiveInvestment) GetCusip

func (o *CollectiveInvestment) GetCusip() string

GetCusip returns the Cusip field value if set, zero value otherwise.

func (*CollectiveInvestment) GetCusipOk

func (o *CollectiveInvestment) GetCusipOk() (*string, bool)

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

func (*CollectiveInvestment) GetDescription

func (o *CollectiveInvestment) GetDescription() string

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

func (*CollectiveInvestment) GetDescriptionOk

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

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

func (*CollectiveInvestment) GetInstrumentId

func (o *CollectiveInvestment) GetInstrumentId() int64

GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.

func (*CollectiveInvestment) GetInstrumentIdOk

func (o *CollectiveInvestment) GetInstrumentIdOk() (*int64, bool)

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

func (*CollectiveInvestment) GetNetChange

func (o *CollectiveInvestment) GetNetChange() float64

GetNetChange returns the NetChange field value if set, zero value otherwise.

func (*CollectiveInvestment) GetNetChangeOk

func (o *CollectiveInvestment) GetNetChangeOk() (*float64, bool)

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

func (*CollectiveInvestment) GetSymbol

func (o *CollectiveInvestment) GetSymbol() string

GetSymbol returns the Symbol field value if set, zero value otherwise.

func (*CollectiveInvestment) GetSymbolOk

func (o *CollectiveInvestment) GetSymbolOk() (*string, bool)

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

func (*CollectiveInvestment) GetType

func (o *CollectiveInvestment) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*CollectiveInvestment) GetTypeOk

func (o *CollectiveInvestment) GetTypeOk() (*string, bool)

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

func (*CollectiveInvestment) HasCusip

func (o *CollectiveInvestment) HasCusip() bool

HasCusip returns a boolean if a field has been set.

func (*CollectiveInvestment) HasDescription

func (o *CollectiveInvestment) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CollectiveInvestment) HasInstrumentId

func (o *CollectiveInvestment) HasInstrumentId() bool

HasInstrumentId returns a boolean if a field has been set.

func (*CollectiveInvestment) HasNetChange

func (o *CollectiveInvestment) HasNetChange() bool

HasNetChange returns a boolean if a field has been set.

func (*CollectiveInvestment) HasSymbol

func (o *CollectiveInvestment) HasSymbol() bool

HasSymbol returns a boolean if a field has been set.

func (*CollectiveInvestment) HasType

func (o *CollectiveInvestment) HasType() bool

HasType returns a boolean if a field has been set.

func (CollectiveInvestment) MarshalJSON

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

func (*CollectiveInvestment) SetAssetType

func (o *CollectiveInvestment) SetAssetType(v string)

SetAssetType sets field value

func (*CollectiveInvestment) SetCusip

func (o *CollectiveInvestment) SetCusip(v string)

SetCusip gets a reference to the given string and assigns it to the Cusip field.

func (*CollectiveInvestment) SetDescription

func (o *CollectiveInvestment) SetDescription(v string)

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

func (*CollectiveInvestment) SetInstrumentId

func (o *CollectiveInvestment) SetInstrumentId(v int64)

SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.

func (*CollectiveInvestment) SetNetChange

func (o *CollectiveInvestment) SetNetChange(v float64)

SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.

func (*CollectiveInvestment) SetSymbol

func (o *CollectiveInvestment) SetSymbol(v string)

SetSymbol gets a reference to the given string and assigns it to the Symbol field.

func (*CollectiveInvestment) SetType

func (o *CollectiveInvestment) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (CollectiveInvestment) ToMap

func (o CollectiveInvestment) ToMap() (map[string]interface{}, error)

func (*CollectiveInvestment) UnmarshalJSON

func (o *CollectiveInvestment) UnmarshalJSON(data []byte) (err error)

type Commission

type Commission struct {
	CommissionLegs []CommissionLeg `json:"commissionLegs,omitempty"`
}

Commission struct for Commission

func NewCommission

func NewCommission() *Commission

NewCommission instantiates a new Commission 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 NewCommissionWithDefaults

func NewCommissionWithDefaults() *Commission

NewCommissionWithDefaults instantiates a new Commission 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 (*Commission) GetCommissionLegs

func (o *Commission) GetCommissionLegs() []CommissionLeg

GetCommissionLegs returns the CommissionLegs field value if set, zero value otherwise.

func (*Commission) GetCommissionLegsOk

func (o *Commission) GetCommissionLegsOk() ([]CommissionLeg, bool)

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

func (*Commission) HasCommissionLegs

func (o *Commission) HasCommissionLegs() bool

HasCommissionLegs returns a boolean if a field has been set.

func (Commission) MarshalJSON

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

func (*Commission) SetCommissionLegs

func (o *Commission) SetCommissionLegs(v []CommissionLeg)

SetCommissionLegs gets a reference to the given []CommissionLeg and assigns it to the CommissionLegs field.

func (Commission) ToMap

func (o Commission) ToMap() (map[string]interface{}, error)

type CommissionAndFee

type CommissionAndFee struct {
	Commission     *Commission `json:"commission,omitempty"`
	Fee            *Fees       `json:"fee,omitempty"`
	TrueCommission *Commission `json:"trueCommission,omitempty"`
}

CommissionAndFee struct for CommissionAndFee

func NewCommissionAndFee

func NewCommissionAndFee() *CommissionAndFee

NewCommissionAndFee instantiates a new CommissionAndFee 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 NewCommissionAndFeeWithDefaults

func NewCommissionAndFeeWithDefaults() *CommissionAndFee

NewCommissionAndFeeWithDefaults instantiates a new CommissionAndFee 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 (*CommissionAndFee) GetCommission

func (o *CommissionAndFee) GetCommission() Commission

GetCommission returns the Commission field value if set, zero value otherwise.

func (*CommissionAndFee) GetCommissionOk

func (o *CommissionAndFee) GetCommissionOk() (*Commission, bool)

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

func (*CommissionAndFee) GetFee

func (o *CommissionAndFee) GetFee() Fees

GetFee returns the Fee field value if set, zero value otherwise.

func (*CommissionAndFee) GetFeeOk

func (o *CommissionAndFee) GetFeeOk() (*Fees, bool)

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

func (*CommissionAndFee) GetTrueCommission

func (o *CommissionAndFee) GetTrueCommission() Commission

GetTrueCommission returns the TrueCommission field value if set, zero value otherwise.

func (*CommissionAndFee) GetTrueCommissionOk

func (o *CommissionAndFee) GetTrueCommissionOk() (*Commission, bool)

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

func (*CommissionAndFee) HasCommission

func (o *CommissionAndFee) HasCommission() bool

HasCommission returns a boolean if a field has been set.

func (*CommissionAndFee) HasFee

func (o *CommissionAndFee) HasFee() bool

HasFee returns a boolean if a field has been set.

func (*CommissionAndFee) HasTrueCommission

func (o *CommissionAndFee) HasTrueCommission() bool

HasTrueCommission returns a boolean if a field has been set.

func (CommissionAndFee) MarshalJSON

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

func (*CommissionAndFee) SetCommission

func (o *CommissionAndFee) SetCommission(v Commission)

SetCommission gets a reference to the given Commission and assigns it to the Commission field.

func (*CommissionAndFee) SetFee

func (o *CommissionAndFee) SetFee(v Fees)

SetFee gets a reference to the given Fees and assigns it to the Fee field.

func (*CommissionAndFee) SetTrueCommission

func (o *CommissionAndFee) SetTrueCommission(v Commission)

SetTrueCommission gets a reference to the given Commission and assigns it to the TrueCommission field.

func (CommissionAndFee) ToMap

func (o CommissionAndFee) ToMap() (map[string]interface{}, error)

type CommissionLeg

type CommissionLeg struct {
	CommissionValues []CommissionValue `json:"commissionValues,omitempty"`
}

CommissionLeg struct for CommissionLeg

func NewCommissionLeg

func NewCommissionLeg() *CommissionLeg

NewCommissionLeg instantiates a new CommissionLeg 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 NewCommissionLegWithDefaults

func NewCommissionLegWithDefaults() *CommissionLeg

NewCommissionLegWithDefaults instantiates a new CommissionLeg 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 (*CommissionLeg) GetCommissionValues

func (o *CommissionLeg) GetCommissionValues() []CommissionValue

GetCommissionValues returns the CommissionValues field value if set, zero value otherwise.

func (*CommissionLeg) GetCommissionValuesOk

func (o *CommissionLeg) GetCommissionValuesOk() ([]CommissionValue, bool)

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

func (*CommissionLeg) HasCommissionValues

func (o *CommissionLeg) HasCommissionValues() bool

HasCommissionValues returns a boolean if a field has been set.

func (CommissionLeg) MarshalJSON

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

func (*CommissionLeg) SetCommissionValues

func (o *CommissionLeg) SetCommissionValues(v []CommissionValue)

SetCommissionValues gets a reference to the given []CommissionValue and assigns it to the CommissionValues field.

func (CommissionLeg) ToMap

func (o CommissionLeg) ToMap() (map[string]interface{}, error)

type CommissionValue

type CommissionValue struct {
	Value *float64 `json:"value,omitempty"`
	Type  *FeeType `json:"type,omitempty"`
}

CommissionValue struct for CommissionValue

func NewCommissionValue

func NewCommissionValue() *CommissionValue

NewCommissionValue instantiates a new CommissionValue 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 NewCommissionValueWithDefaults

func NewCommissionValueWithDefaults() *CommissionValue

NewCommissionValueWithDefaults instantiates a new CommissionValue 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 (*CommissionValue) GetType

func (o *CommissionValue) GetType() FeeType

GetType returns the Type field value if set, zero value otherwise.

func (*CommissionValue) GetTypeOk

func (o *CommissionValue) GetTypeOk() (*FeeType, bool)

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

func (*CommissionValue) GetValue

func (o *CommissionValue) GetValue() float64

GetValue returns the Value field value if set, zero value otherwise.

func (*CommissionValue) GetValueOk

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

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

func (*CommissionValue) HasType

func (o *CommissionValue) HasType() bool

HasType returns a boolean if a field has been set.

func (*CommissionValue) HasValue

func (o *CommissionValue) HasValue() bool

HasValue returns a boolean if a field has been set.

func (CommissionValue) MarshalJSON

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

func (*CommissionValue) SetType

func (o *CommissionValue) SetType(v FeeType)

SetType gets a reference to the given FeeType and assigns it to the Type field.

func (*CommissionValue) SetValue

func (o *CommissionValue) SetValue(v float64)

SetValue gets a reference to the given float64 and assigns it to the Value field.

func (CommissionValue) ToMap

func (o CommissionValue) ToMap() (map[string]interface{}, error)

type ComplexOrderStrategyType

type ComplexOrderStrategyType string

ComplexOrderStrategyType the model 'ComplexOrderStrategyType'

const (
	COMPLEXORDERSTRATEGYTYPE_NONE                     ComplexOrderStrategyType = "NONE"
	COMPLEXORDERSTRATEGYTYPE_COVERED                  ComplexOrderStrategyType = "COVERED"
	COMPLEXORDERSTRATEGYTYPE_VERTICAL                 ComplexOrderStrategyType = "VERTICAL"
	COMPLEXORDERSTRATEGYTYPE_BACK_RATIO               ComplexOrderStrategyType = "BACK_RATIO"
	COMPLEXORDERSTRATEGYTYPE_CALENDAR                 ComplexOrderStrategyType = "CALENDAR"
	COMPLEXORDERSTRATEGYTYPE_DIAGONAL                 ComplexOrderStrategyType = "DIAGONAL"
	COMPLEXORDERSTRATEGYTYPE_STRADDLE                 ComplexOrderStrategyType = "STRADDLE"
	COMPLEXORDERSTRATEGYTYPE_STRANGLE                 ComplexOrderStrategyType = "STRANGLE"
	COMPLEXORDERSTRATEGYTYPE_COLLAR_SYNTHETIC         ComplexOrderStrategyType = "COLLAR_SYNTHETIC"
	COMPLEXORDERSTRATEGYTYPE_BUTTERFLY                ComplexOrderStrategyType = "BUTTERFLY"
	COMPLEXORDERSTRATEGYTYPE_CONDOR                   ComplexOrderStrategyType = "CONDOR"
	COMPLEXORDERSTRATEGYTYPE_IRON_CONDOR              ComplexOrderStrategyType = "IRON_CONDOR"
	COMPLEXORDERSTRATEGYTYPE_VERTICAL_ROLL            ComplexOrderStrategyType = "VERTICAL_ROLL"
	COMPLEXORDERSTRATEGYTYPE_COLLAR_WITH_STOCK        ComplexOrderStrategyType = "COLLAR_WITH_STOCK"
	COMPLEXORDERSTRATEGYTYPE_DOUBLE_DIAGONAL          ComplexOrderStrategyType = "DOUBLE_DIAGONAL"
	COMPLEXORDERSTRATEGYTYPE_UNBALANCED_BUTTERFLY     ComplexOrderStrategyType = "UNBALANCED_BUTTERFLY"
	COMPLEXORDERSTRATEGYTYPE_UNBALANCED_CONDOR        ComplexOrderStrategyType = "UNBALANCED_CONDOR"
	COMPLEXORDERSTRATEGYTYPE_UNBALANCED_IRON_CONDOR   ComplexOrderStrategyType = "UNBALANCED_IRON_CONDOR"
	COMPLEXORDERSTRATEGYTYPE_UNBALANCED_VERTICAL_ROLL ComplexOrderStrategyType = "UNBALANCED_VERTICAL_ROLL"
	COMPLEXORDERSTRATEGYTYPE_MUTUAL_FUND_SWAP         ComplexOrderStrategyType = "MUTUAL_FUND_SWAP"
	COMPLEXORDERSTRATEGYTYPE_CUSTOM                   ComplexOrderStrategyType = "CUSTOM"
)

List of complexOrderStrategyType

func NewComplexOrderStrategyTypeFromValue

func NewComplexOrderStrategyTypeFromValue(v string) (*ComplexOrderStrategyType, error)

NewComplexOrderStrategyTypeFromValue returns a pointer to a valid ComplexOrderStrategyType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ComplexOrderStrategyType) IsValid

func (v ComplexOrderStrategyType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ComplexOrderStrategyType) Ptr

Ptr returns reference to complexOrderStrategyType value

func (*ComplexOrderStrategyType) UnmarshalJSON

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

type Configuration

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

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

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

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

func (*Configuration) ServerURL

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

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

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

ServerURLWithContext returns a new server URL given an endpoint

type Currency

type Currency struct {
	AssetType    string   `json:"assetType"`
	Cusip        *string  `json:"cusip,omitempty"`
	Symbol       *string  `json:"symbol,omitempty"`
	Description  *string  `json:"description,omitempty"`
	InstrumentId *int64   `json:"instrumentId,omitempty"`
	NetChange    *float64 `json:"netChange,omitempty"`
}

Currency struct for Currency

func NewCurrency

func NewCurrency(assetType string) *Currency

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

func NewCurrencyWithDefaults

func NewCurrencyWithDefaults() *Currency

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

func (*Currency) GetAssetType

func (o *Currency) GetAssetType() string

GetAssetType returns the AssetType field value

func (*Currency) GetAssetTypeOk

func (o *Currency) GetAssetTypeOk() (*string, bool)

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

func (*Currency) GetCusip

func (o *Currency) GetCusip() string

GetCusip returns the Cusip field value if set, zero value otherwise.

func (*Currency) GetCusipOk

func (o *Currency) GetCusipOk() (*string, bool)

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

func (*Currency) GetDescription

func (o *Currency) GetDescription() string

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

func (*Currency) GetDescriptionOk

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

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

func (*Currency) GetInstrumentId

func (o *Currency) GetInstrumentId() int64

GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.

func (*Currency) GetInstrumentIdOk

func (o *Currency) GetInstrumentIdOk() (*int64, bool)

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

func (*Currency) GetNetChange

func (o *Currency) GetNetChange() float64

GetNetChange returns the NetChange field value if set, zero value otherwise.

func (*Currency) GetNetChangeOk

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

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

func (*Currency) GetSymbol

func (o *Currency) GetSymbol() string

GetSymbol returns the Symbol field value if set, zero value otherwise.

func (*Currency) GetSymbolOk

func (o *Currency) GetSymbolOk() (*string, bool)

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

func (*Currency) HasCusip

func (o *Currency) HasCusip() bool

HasCusip returns a boolean if a field has been set.

func (*Currency) HasDescription

func (o *Currency) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Currency) HasInstrumentId

func (o *Currency) HasInstrumentId() bool

HasInstrumentId returns a boolean if a field has been set.

func (*Currency) HasNetChange

func (o *Currency) HasNetChange() bool

HasNetChange returns a boolean if a field has been set.

func (*Currency) HasSymbol

func (o *Currency) HasSymbol() bool

HasSymbol returns a boolean if a field has been set.

func (Currency) MarshalJSON

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

func (*Currency) SetAssetType

func (o *Currency) SetAssetType(v string)

SetAssetType sets field value

func (*Currency) SetCusip

func (o *Currency) SetCusip(v string)

SetCusip gets a reference to the given string and assigns it to the Cusip field.

func (*Currency) SetDescription

func (o *Currency) SetDescription(v string)

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

func (*Currency) SetInstrumentId

func (o *Currency) SetInstrumentId(v int64)

SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.

func (*Currency) SetNetChange

func (o *Currency) SetNetChange(v float64)

SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.

func (*Currency) SetSymbol

func (o *Currency) SetSymbol(v string)

SetSymbol gets a reference to the given string and assigns it to the Symbol field.

func (Currency) ToMap

func (o Currency) ToMap() (map[string]interface{}, error)

func (*Currency) UnmarshalJSON

func (o *Currency) UnmarshalJSON(data []byte) (err error)

type DateParam

type DateParam struct {
	// Valid ISO-8601 format is :<br> <code>yyyy-MM-dd'T'HH:mm:ss.SSSZ</code>
	Date *string `json:"date,omitempty"`
}

DateParam struct for DateParam

func NewDateParam

func NewDateParam() *DateParam

NewDateParam instantiates a new DateParam 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 NewDateParamWithDefaults

func NewDateParamWithDefaults() *DateParam

NewDateParamWithDefaults instantiates a new DateParam 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 (*DateParam) GetDate

func (o *DateParam) GetDate() string

GetDate returns the Date field value if set, zero value otherwise.

func (*DateParam) GetDateOk

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

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

func (*DateParam) HasDate

func (o *DateParam) HasDate() bool

HasDate returns a boolean if a field has been set.

func (DateParam) MarshalJSON

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

func (*DateParam) SetDate

func (o *DateParam) SetDate(v string)

SetDate gets a reference to the given string and assigns it to the Date field.

func (DateParam) ToMap

func (o DateParam) ToMap() (map[string]interface{}, error)

type Duration

type Duration string

Duration the model 'Duration'

const (
	DURATION_DAY                 Duration = "DAY"
	DURATION_GOOD_TILL_CANCEL    Duration = "GOOD_TILL_CANCEL"
	DURATION_FILL_OR_KILL        Duration = "FILL_OR_KILL"
	DURATION_IMMEDIATE_OR_CANCEL Duration = "IMMEDIATE_OR_CANCEL"
	DURATION_END_OF_WEEK         Duration = "END_OF_WEEK"
	DURATION_END_OF_MONTH        Duration = "END_OF_MONTH"
	DURATION_NEXT_END_OF_MONTH   Duration = "NEXT_END_OF_MONTH"
	DURATION_UNKNOWN             Duration = "UNKNOWN"
)

List of duration

func NewDurationFromValue

func NewDurationFromValue(v string) (*Duration, error)

NewDurationFromValue returns a pointer to a valid Duration for the value passed as argument, or an error if the value passed is not allowed by the enum

func (Duration) IsValid

func (v Duration) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (Duration) Ptr

func (v Duration) Ptr() *Duration

Ptr returns reference to duration value

func (*Duration) UnmarshalJSON

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

type ExecutionLeg

type ExecutionLeg struct {
	LegId             *int64     `json:"legId,omitempty"`
	Price             *float64   `json:"price,omitempty"`
	Quantity          *float64   `json:"quantity,omitempty"`
	MismarkedQuantity *float64   `json:"mismarkedQuantity,omitempty"`
	InstrumentId      *int64     `json:"instrumentId,omitempty"`
	Time              *time.Time `json:"time,omitempty"`
}

ExecutionLeg struct for ExecutionLeg

func NewExecutionLeg

func NewExecutionLeg() *ExecutionLeg

NewExecutionLeg instantiates a new ExecutionLeg 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 NewExecutionLegWithDefaults

func NewExecutionLegWithDefaults() *ExecutionLeg

NewExecutionLegWithDefaults instantiates a new ExecutionLeg 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 (*ExecutionLeg) GetInstrumentId

func (o *ExecutionLeg) GetInstrumentId() int64

GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.

func (*ExecutionLeg) GetInstrumentIdOk

func (o *ExecutionLeg) GetInstrumentIdOk() (*int64, bool)

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

func (*ExecutionLeg) GetLegId

func (o *ExecutionLeg) GetLegId() int64

GetLegId returns the LegId field value if set, zero value otherwise.

func (*ExecutionLeg) GetLegIdOk

func (o *ExecutionLeg) GetLegIdOk() (*int64, bool)

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

func (*ExecutionLeg) GetMismarkedQuantity

func (o *ExecutionLeg) GetMismarkedQuantity() float64

GetMismarkedQuantity returns the MismarkedQuantity field value if set, zero value otherwise.

func (*ExecutionLeg) GetMismarkedQuantityOk

func (o *ExecutionLeg) GetMismarkedQuantityOk() (*float64, bool)

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

func (*ExecutionLeg) GetPrice

func (o *ExecutionLeg) GetPrice() float64

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

func (*ExecutionLeg) GetPriceOk

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

func (o *ExecutionLeg) GetQuantity() float64

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*ExecutionLeg) GetQuantityOk

func (o *ExecutionLeg) GetQuantityOk() (*float64, bool)

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

func (*ExecutionLeg) GetTime

func (o *ExecutionLeg) GetTime() time.Time

GetTime returns the Time field value if set, zero value otherwise.

func (*ExecutionLeg) GetTimeOk

func (o *ExecutionLeg) GetTimeOk() (*time.Time, bool)

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

func (*ExecutionLeg) HasInstrumentId

func (o *ExecutionLeg) HasInstrumentId() bool

HasInstrumentId returns a boolean if a field has been set.

func (*ExecutionLeg) HasLegId

func (o *ExecutionLeg) HasLegId() bool

HasLegId returns a boolean if a field has been set.

func (*ExecutionLeg) HasMismarkedQuantity

func (o *ExecutionLeg) HasMismarkedQuantity() bool

HasMismarkedQuantity returns a boolean if a field has been set.

func (*ExecutionLeg) HasPrice

func (o *ExecutionLeg) HasPrice() bool

HasPrice returns a boolean if a field has been set.

func (*ExecutionLeg) HasQuantity

func (o *ExecutionLeg) HasQuantity() bool

HasQuantity returns a boolean if a field has been set.

func (*ExecutionLeg) HasTime

func (o *ExecutionLeg) HasTime() bool

HasTime returns a boolean if a field has been set.

func (ExecutionLeg) MarshalJSON

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

func (*ExecutionLeg) SetInstrumentId

func (o *ExecutionLeg) SetInstrumentId(v int64)

SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.

func (*ExecutionLeg) SetLegId

func (o *ExecutionLeg) SetLegId(v int64)

SetLegId gets a reference to the given int64 and assigns it to the LegId field.

func (*ExecutionLeg) SetMismarkedQuantity

func (o *ExecutionLeg) SetMismarkedQuantity(v float64)

SetMismarkedQuantity gets a reference to the given float64 and assigns it to the MismarkedQuantity field.

func (*ExecutionLeg) SetPrice

func (o *ExecutionLeg) SetPrice(v float64)

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

func (*ExecutionLeg) SetQuantity

func (o *ExecutionLeg) SetQuantity(v float64)

SetQuantity gets a reference to the given float64 and assigns it to the Quantity field.

func (*ExecutionLeg) SetTime

func (o *ExecutionLeg) SetTime(v time.Time)

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

func (ExecutionLeg) ToMap

func (o ExecutionLeg) ToMap() (map[string]interface{}, error)

type FeeLeg

type FeeLeg struct {
	FeeValues []FeeValue `json:"feeValues,omitempty"`
}

FeeLeg struct for FeeLeg

func NewFeeLeg

func NewFeeLeg() *FeeLeg

NewFeeLeg instantiates a new FeeLeg 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 NewFeeLegWithDefaults

func NewFeeLegWithDefaults() *FeeLeg

NewFeeLegWithDefaults instantiates a new FeeLeg 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 (*FeeLeg) GetFeeValues

func (o *FeeLeg) GetFeeValues() []FeeValue

GetFeeValues returns the FeeValues field value if set, zero value otherwise.

func (*FeeLeg) GetFeeValuesOk

func (o *FeeLeg) GetFeeValuesOk() ([]FeeValue, bool)

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

func (*FeeLeg) HasFeeValues

func (o *FeeLeg) HasFeeValues() bool

HasFeeValues returns a boolean if a field has been set.

func (FeeLeg) MarshalJSON

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

func (*FeeLeg) SetFeeValues

func (o *FeeLeg) SetFeeValues(v []FeeValue)

SetFeeValues gets a reference to the given []FeeValue and assigns it to the FeeValues field.

func (FeeLeg) ToMap

func (o FeeLeg) ToMap() (map[string]interface{}, error)

type FeeType

type FeeType string

FeeType the model 'FeeType'

const (
	FEETYPE_COMMISSION                FeeType = "COMMISSION"
	FEETYPE_SEC_FEE                   FeeType = "SEC_FEE"
	FEETYPE_STR_FEE                   FeeType = "STR_FEE"
	FEETYPE_R_FEE                     FeeType = "R_FEE"
	FEETYPE_CDSC_FEE                  FeeType = "CDSC_FEE"
	FEETYPE_OPT_REG_FEE               FeeType = "OPT_REG_FEE"
	FEETYPE_ADDITIONAL_FEE            FeeType = "ADDITIONAL_FEE"
	FEETYPE_MISCELLANEOUS_FEE         FeeType = "MISCELLANEOUS_FEE"
	FEETYPE_FTT                       FeeType = "FTT"
	FEETYPE_FUTURES_CLEARING_FEE      FeeType = "FUTURES_CLEARING_FEE"
	FEETYPE_FUTURES_DESK_OFFICE_FEE   FeeType = "FUTURES_DESK_OFFICE_FEE"
	FEETYPE_FUTURES_EXCHANGE_FEE      FeeType = "FUTURES_EXCHANGE_FEE"
	FEETYPE_FUTURES_GLOBEX_FEE        FeeType = "FUTURES_GLOBEX_FEE"
	FEETYPE_FUTURES_NFA_FEE           FeeType = "FUTURES_NFA_FEE"
	FEETYPE_FUTURES_PIT_BROKERAGE_FEE FeeType = "FUTURES_PIT_BROKERAGE_FEE"
	FEETYPE_FUTURES_TRANSACTION_FEE   FeeType = "FUTURES_TRANSACTION_FEE"
	FEETYPE_LOW_PROCEEDS_COMMISSION   FeeType = "LOW_PROCEEDS_COMMISSION"
	FEETYPE_BASE_CHARGE               FeeType = "BASE_CHARGE"
	FEETYPE_GENERAL_CHARGE            FeeType = "GENERAL_CHARGE"
	FEETYPE_GST_FEE                   FeeType = "GST_FEE"
	FEETYPE_TAF_FEE                   FeeType = "TAF_FEE"
	FEETYPE_INDEX_OPTION_FEE          FeeType = "INDEX_OPTION_FEE"
	FEETYPE_TEFRA_TAX                 FeeType = "TEFRA_TAX"
	FEETYPE_STATE_TAX                 FeeType = "STATE_TAX"
	FEETYPE_UNKNOWN                   FeeType = "UNKNOWN"
)

List of FeeType

func NewFeeTypeFromValue

func NewFeeTypeFromValue(v string) (*FeeType, error)

NewFeeTypeFromValue returns a pointer to a valid FeeType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (FeeType) IsValid

func (v FeeType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (FeeType) Ptr

func (v FeeType) Ptr() *FeeType

Ptr returns reference to FeeType value

func (*FeeType) UnmarshalJSON

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

type FeeValue

type FeeValue struct {
	Value *float64 `json:"value,omitempty"`
	Type  *FeeType `json:"type,omitempty"`
}

FeeValue struct for FeeValue

func NewFeeValue

func NewFeeValue() *FeeValue

NewFeeValue instantiates a new FeeValue 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 NewFeeValueWithDefaults

func NewFeeValueWithDefaults() *FeeValue

NewFeeValueWithDefaults instantiates a new FeeValue 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 (*FeeValue) GetType

func (o *FeeValue) GetType() FeeType

GetType returns the Type field value if set, zero value otherwise.

func (*FeeValue) GetTypeOk

func (o *FeeValue) GetTypeOk() (*FeeType, bool)

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

func (*FeeValue) GetValue

func (o *FeeValue) GetValue() float64

GetValue returns the Value field value if set, zero value otherwise.

func (*FeeValue) GetValueOk

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

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

func (*FeeValue) HasType

func (o *FeeValue) HasType() bool

HasType returns a boolean if a field has been set.

func (*FeeValue) HasValue

func (o *FeeValue) HasValue() bool

HasValue returns a boolean if a field has been set.

func (FeeValue) MarshalJSON

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

func (*FeeValue) SetType

func (o *FeeValue) SetType(v FeeType)

SetType gets a reference to the given FeeType and assigns it to the Type field.

func (*FeeValue) SetValue

func (o *FeeValue) SetValue(v float64)

SetValue gets a reference to the given float64 and assigns it to the Value field.

func (FeeValue) ToMap

func (o FeeValue) ToMap() (map[string]interface{}, error)

type Fees

type Fees struct {
	FeeLegs []FeeLeg `json:"feeLegs,omitempty"`
}

Fees struct for Fees

func NewFees

func NewFees() *Fees

NewFees instantiates a new Fees 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 NewFeesWithDefaults

func NewFeesWithDefaults() *Fees

NewFeesWithDefaults instantiates a new Fees 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 (*Fees) GetFeeLegs

func (o *Fees) GetFeeLegs() []FeeLeg

GetFeeLegs returns the FeeLegs field value if set, zero value otherwise.

func (*Fees) GetFeeLegsOk

func (o *Fees) GetFeeLegsOk() ([]FeeLeg, bool)

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

func (*Fees) HasFeeLegs

func (o *Fees) HasFeeLegs() bool

HasFeeLegs returns a boolean if a field has been set.

func (Fees) MarshalJSON

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

func (*Fees) SetFeeLegs

func (o *Fees) SetFeeLegs(v []FeeLeg)

SetFeeLegs gets a reference to the given []FeeLeg and assigns it to the FeeLegs field.

func (Fees) ToMap

func (o Fees) ToMap() (map[string]interface{}, error)

type Forex

type Forex struct {
	Type            *string   `json:"type,omitempty"`
	BaseCurrency    *Currency `json:"baseCurrency,omitempty"`
	CounterCurrency *Currency `json:"counterCurrency,omitempty"`
	AssetType       string    `json:"assetType"`
	Cusip           *string   `json:"cusip,omitempty"`
	Symbol          *string   `json:"symbol,omitempty"`
	Description     *string   `json:"description,omitempty"`
	InstrumentId    *int64    `json:"instrumentId,omitempty"`
	NetChange       *float64  `json:"netChange,omitempty"`
}

Forex struct for Forex

func NewForex

func NewForex(assetType string) *Forex

NewForex instantiates a new Forex 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 NewForexWithDefaults

func NewForexWithDefaults() *Forex

NewForexWithDefaults instantiates a new Forex 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 (*Forex) GetAssetType

func (o *Forex) GetAssetType() string

GetAssetType returns the AssetType field value

func (*Forex) GetAssetTypeOk

func (o *Forex) GetAssetTypeOk() (*string, bool)

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

func (*Forex) GetBaseCurrency

func (o *Forex) GetBaseCurrency() Currency

GetBaseCurrency returns the BaseCurrency field value if set, zero value otherwise.

func (*Forex) GetBaseCurrencyOk

func (o *Forex) GetBaseCurrencyOk() (*Currency, bool)

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

func (*Forex) GetCounterCurrency

func (o *Forex) GetCounterCurrency() Currency

GetCounterCurrency returns the CounterCurrency field value if set, zero value otherwise.

func (*Forex) GetCounterCurrencyOk

func (o *Forex) GetCounterCurrencyOk() (*Currency, bool)

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

func (*Forex) GetCusip

func (o *Forex) GetCusip() string

GetCusip returns the Cusip field value if set, zero value otherwise.

func (*Forex) GetCusipOk

func (o *Forex) GetCusipOk() (*string, bool)

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

func (*Forex) GetDescription

func (o *Forex) GetDescription() string

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

func (*Forex) GetDescriptionOk

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

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

func (*Forex) GetInstrumentId

func (o *Forex) GetInstrumentId() int64

GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.

func (*Forex) GetInstrumentIdOk

func (o *Forex) GetInstrumentIdOk() (*int64, bool)

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

func (*Forex) GetNetChange

func (o *Forex) GetNetChange() float64

GetNetChange returns the NetChange field value if set, zero value otherwise.

func (*Forex) GetNetChangeOk

func (o *Forex) GetNetChangeOk() (*float64, bool)

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

func (*Forex) GetSymbol

func (o *Forex) GetSymbol() string

GetSymbol returns the Symbol field value if set, zero value otherwise.

func (*Forex) GetSymbolOk

func (o *Forex) GetSymbolOk() (*string, bool)

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

func (*Forex) GetType

func (o *Forex) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Forex) GetTypeOk

func (o *Forex) GetTypeOk() (*string, bool)

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

func (*Forex) HasBaseCurrency

func (o *Forex) HasBaseCurrency() bool

HasBaseCurrency returns a boolean if a field has been set.

func (*Forex) HasCounterCurrency

func (o *Forex) HasCounterCurrency() bool

HasCounterCurrency returns a boolean if a field has been set.

func (*Forex) HasCusip

func (o *Forex) HasCusip() bool

HasCusip returns a boolean if a field has been set.

func (*Forex) HasDescription

func (o *Forex) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Forex) HasInstrumentId

func (o *Forex) HasInstrumentId() bool

HasInstrumentId returns a boolean if a field has been set.

func (*Forex) HasNetChange

func (o *Forex) HasNetChange() bool

HasNetChange returns a boolean if a field has been set.

func (*Forex) HasSymbol

func (o *Forex) HasSymbol() bool

HasSymbol returns a boolean if a field has been set.

func (*Forex) HasType

func (o *Forex) HasType() bool

HasType returns a boolean if a field has been set.

func (Forex) MarshalJSON

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

func (*Forex) SetAssetType

func (o *Forex) SetAssetType(v string)

SetAssetType sets field value

func (*Forex) SetBaseCurrency

func (o *Forex) SetBaseCurrency(v Currency)

SetBaseCurrency gets a reference to the given Currency and assigns it to the BaseCurrency field.

func (*Forex) SetCounterCurrency

func (o *Forex) SetCounterCurrency(v Currency)

SetCounterCurrency gets a reference to the given Currency and assigns it to the CounterCurrency field.

func (*Forex) SetCusip

func (o *Forex) SetCusip(v string)

SetCusip gets a reference to the given string and assigns it to the Cusip field.

func (*Forex) SetDescription

func (o *Forex) SetDescription(v string)

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

func (*Forex) SetInstrumentId

func (o *Forex) SetInstrumentId(v int64)

SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.

func (*Forex) SetNetChange

func (o *Forex) SetNetChange(v float64)

SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.

func (*Forex) SetSymbol

func (o *Forex) SetSymbol(v string)

SetSymbol gets a reference to the given string and assigns it to the Symbol field.

func (*Forex) SetType

func (o *Forex) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (Forex) ToMap

func (o Forex) ToMap() (map[string]interface{}, error)

func (*Forex) UnmarshalJSON

func (o *Forex) UnmarshalJSON(data []byte) (err error)

type Future

type Future struct {
	TransactionInstrument
	ActiveContract  *bool      `json:"activeContract,omitempty"`
	Type            *string    `json:"type,omitempty"`
	ExpirationDate  *time.Time `json:"expirationDate,omitempty"`
	LastTradingDate *time.Time `json:"lastTradingDate,omitempty"`
	FirstNoticeDate *time.Time `json:"firstNoticeDate,omitempty"`
	Multiplier      *float64   `json:"multiplier,omitempty"`
	AssetType       string     `json:"assetType"`
	Cusip           *string    `json:"cusip,omitempty"`
	Symbol          *string    `json:"symbol,omitempty"`
	Description     *string    `json:"description,omitempty"`
	InstrumentId    *int64     `json:"instrumentId,omitempty"`
	NetChange       *float64   `json:"netChange,omitempty"`
}

Future struct for Future

func NewFuture

func NewFuture(assetType string) *Future

NewFuture instantiates a new Future 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 NewFutureWithDefaults

func NewFutureWithDefaults() *Future

NewFutureWithDefaults instantiates a new Future 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 (*Future) GetActiveContract

func (o *Future) GetActiveContract() bool

GetActiveContract returns the ActiveContract field value if set, zero value otherwise.

func (*Future) GetActiveContractOk

func (o *Future) GetActiveContractOk() (*bool, bool)

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

func (*Future) GetAssetType

func (o *Future) GetAssetType() string

GetAssetType returns the AssetType field value

func (*Future) GetAssetTypeOk

func (o *Future) GetAssetTypeOk() (*string, bool)

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

func (*Future) GetCusip

func (o *Future) GetCusip() string

GetCusip returns the Cusip field value if set, zero value otherwise.

func (*Future) GetCusipOk

func (o *Future) GetCusipOk() (*string, bool)

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

func (*Future) GetDescription

func (o *Future) GetDescription() string

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

func (*Future) GetDescriptionOk

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

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

func (*Future) GetExpirationDate

func (o *Future) GetExpirationDate() time.Time

GetExpirationDate returns the ExpirationDate field value if set, zero value otherwise.

func (*Future) GetExpirationDateOk

func (o *Future) GetExpirationDateOk() (*time.Time, bool)

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

func (*Future) GetFirstNoticeDate

func (o *Future) GetFirstNoticeDate() time.Time

GetFirstNoticeDate returns the FirstNoticeDate field value if set, zero value otherwise.

func (*Future) GetFirstNoticeDateOk

func (o *Future) GetFirstNoticeDateOk() (*time.Time, bool)

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

func (*Future) GetInstrumentId

func (o *Future) GetInstrumentId() int64

GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.

func (*Future) GetInstrumentIdOk

func (o *Future) GetInstrumentIdOk() (*int64, bool)

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

func (*Future) GetLastTradingDate

func (o *Future) GetLastTradingDate() time.Time

GetLastTradingDate returns the LastTradingDate field value if set, zero value otherwise.

func (*Future) GetLastTradingDateOk

func (o *Future) GetLastTradingDateOk() (*time.Time, bool)

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

func (*Future) GetMultiplier

func (o *Future) GetMultiplier() float64

GetMultiplier returns the Multiplier field value if set, zero value otherwise.

func (*Future) GetMultiplierOk

func (o *Future) GetMultiplierOk() (*float64, bool)

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

func (*Future) GetNetChange

func (o *Future) GetNetChange() float64

GetNetChange returns the NetChange field value if set, zero value otherwise.

func (*Future) GetNetChangeOk

func (o *Future) GetNetChangeOk() (*float64, bool)

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

func (*Future) GetSymbol

func (o *Future) GetSymbol() string

GetSymbol returns the Symbol field value if set, zero value otherwise.

func (*Future) GetSymbolOk

func (o *Future) GetSymbolOk() (*string, bool)

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

func (*Future) GetType

func (o *Future) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Future) GetTypeOk

func (o *Future) GetTypeOk() (*string, bool)

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

func (*Future) HasActiveContract

func (o *Future) HasActiveContract() bool

HasActiveContract returns a boolean if a field has been set.

func (*Future) HasCusip

func (o *Future) HasCusip() bool

HasCusip returns a boolean if a field has been set.

func (*Future) HasDescription

func (o *Future) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Future) HasExpirationDate

func (o *Future) HasExpirationDate() bool

HasExpirationDate returns a boolean if a field has been set.

func (*Future) HasFirstNoticeDate

func (o *Future) HasFirstNoticeDate() bool

HasFirstNoticeDate returns a boolean if a field has been set.

func (*Future) HasInstrumentId

func (o *Future) HasInstrumentId() bool

HasInstrumentId returns a boolean if a field has been set.

func (*Future) HasLastTradingDate

func (o *Future) HasLastTradingDate() bool

HasLastTradingDate returns a boolean if a field has been set.

func (*Future) HasMultiplier

func (o *Future) HasMultiplier() bool

HasMultiplier returns a boolean if a field has been set.

func (*Future) HasNetChange

func (o *Future) HasNetChange() bool

HasNetChange returns a boolean if a field has been set.

func (*Future) HasSymbol

func (o *Future) HasSymbol() bool

HasSymbol returns a boolean if a field has been set.

func (*Future) HasType

func (o *Future) HasType() bool

HasType returns a boolean if a field has been set.

func (Future) MarshalJSON

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

func (*Future) SetActiveContract

func (o *Future) SetActiveContract(v bool)

SetActiveContract gets a reference to the given bool and assigns it to the ActiveContract field.

func (*Future) SetAssetType

func (o *Future) SetAssetType(v string)

SetAssetType sets field value

func (*Future) SetCusip

func (o *Future) SetCusip(v string)

SetCusip gets a reference to the given string and assigns it to the Cusip field.

func (*Future) SetDescription

func (o *Future) SetDescription(v string)

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

func (*Future) SetExpirationDate

func (o *Future) SetExpirationDate(v time.Time)

SetExpirationDate gets a reference to the given time.Time and assigns it to the ExpirationDate field.

func (*Future) SetFirstNoticeDate

func (o *Future) SetFirstNoticeDate(v time.Time)

SetFirstNoticeDate gets a reference to the given time.Time and assigns it to the FirstNoticeDate field.

func (*Future) SetInstrumentId

func (o *Future) SetInstrumentId(v int64)

SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.

func (*Future) SetLastTradingDate

func (o *Future) SetLastTradingDate(v time.Time)

SetLastTradingDate gets a reference to the given time.Time and assigns it to the LastTradingDate field.

func (*Future) SetMultiplier

func (o *Future) SetMultiplier(v float64)

SetMultiplier gets a reference to the given float64 and assigns it to the Multiplier field.

func (*Future) SetNetChange

func (o *Future) SetNetChange(v float64)

SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.

func (*Future) SetSymbol

func (o *Future) SetSymbol(v string)

SetSymbol gets a reference to the given string and assigns it to the Symbol field.

func (*Future) SetType

func (o *Future) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (Future) ToMap

func (o Future) ToMap() (map[string]interface{}, error)

func (*Future) UnmarshalJSON

func (o *Future) UnmarshalJSON(data []byte) (err error)

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 Index

type Index struct {
	TransactionInstrument
	ActiveContract *bool    `json:"activeContract,omitempty"`
	Type           *string  `json:"type,omitempty"`
	AssetType      string   `json:"assetType"`
	Cusip          *string  `json:"cusip,omitempty"`
	Symbol         *string  `json:"symbol,omitempty"`
	Description    *string  `json:"description,omitempty"`
	InstrumentId   *int64   `json:"instrumentId,omitempty"`
	NetChange      *float64 `json:"netChange,omitempty"`
}

Index struct for Index

func NewIndex

func NewIndex(assetType string) *Index

NewIndex instantiates a new Index 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 NewIndexWithDefaults

func NewIndexWithDefaults() *Index

NewIndexWithDefaults instantiates a new Index 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 (*Index) GetActiveContract

func (o *Index) GetActiveContract() bool

GetActiveContract returns the ActiveContract field value if set, zero value otherwise.

func (*Index) GetActiveContractOk

func (o *Index) GetActiveContractOk() (*bool, bool)

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

func (*Index) GetAssetType

func (o *Index) GetAssetType() string

GetAssetType returns the AssetType field value

func (*Index) GetAssetTypeOk

func (o *Index) GetAssetTypeOk() (*string, bool)

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

func (*Index) GetCusip

func (o *Index) GetCusip() string

GetCusip returns the Cusip field value if set, zero value otherwise.

func (*Index) GetCusipOk

func (o *Index) GetCusipOk() (*string, bool)

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

func (*Index) GetDescription

func (o *Index) GetDescription() string

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

func (*Index) GetDescriptionOk

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

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

func (*Index) GetInstrumentId

func (o *Index) GetInstrumentId() int64

GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.

func (*Index) GetInstrumentIdOk

func (o *Index) GetInstrumentIdOk() (*int64, bool)

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

func (*Index) GetNetChange

func (o *Index) GetNetChange() float64

GetNetChange returns the NetChange field value if set, zero value otherwise.

func (*Index) GetNetChangeOk

func (o *Index) GetNetChangeOk() (*float64, bool)

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

func (*Index) GetSymbol

func (o *Index) GetSymbol() string

GetSymbol returns the Symbol field value if set, zero value otherwise.

func (*Index) GetSymbolOk

func (o *Index) GetSymbolOk() (*string, bool)

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

func (*Index) GetType

func (o *Index) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Index) GetTypeOk

func (o *Index) GetTypeOk() (*string, bool)

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

func (*Index) HasActiveContract

func (o *Index) HasActiveContract() bool

HasActiveContract returns a boolean if a field has been set.

func (*Index) HasCusip

func (o *Index) HasCusip() bool

HasCusip returns a boolean if a field has been set.

func (*Index) HasDescription

func (o *Index) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Index) HasInstrumentId

func (o *Index) HasInstrumentId() bool

HasInstrumentId returns a boolean if a field has been set.

func (*Index) HasNetChange

func (o *Index) HasNetChange() bool

HasNetChange returns a boolean if a field has been set.

func (*Index) HasSymbol

func (o *Index) HasSymbol() bool

HasSymbol returns a boolean if a field has been set.

func (*Index) HasType

func (o *Index) HasType() bool

HasType returns a boolean if a field has been set.

func (Index) MarshalJSON

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

func (*Index) SetActiveContract

func (o *Index) SetActiveContract(v bool)

SetActiveContract gets a reference to the given bool and assigns it to the ActiveContract field.

func (*Index) SetAssetType

func (o *Index) SetAssetType(v string)

SetAssetType sets field value

func (*Index) SetCusip

func (o *Index) SetCusip(v string)

SetCusip gets a reference to the given string and assigns it to the Cusip field.

func (*Index) SetDescription

func (o *Index) SetDescription(v string)

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

func (*Index) SetInstrumentId

func (o *Index) SetInstrumentId(v int64)

SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.

func (*Index) SetNetChange

func (o *Index) SetNetChange(v float64)

SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.

func (*Index) SetSymbol

func (o *Index) SetSymbol(v string)

SetSymbol gets a reference to the given string and assigns it to the Symbol field.

func (*Index) SetType

func (o *Index) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (Index) ToMap

func (o Index) ToMap() (map[string]interface{}, error)

func (*Index) UnmarshalJSON

func (o *Index) UnmarshalJSON(data []byte) (err error)

type Instruction

type Instruction string

Instruction the model 'Instruction'

const (
	INSTRUCTION_BUY               Instruction = "BUY"
	INSTRUCTION_SELL              Instruction = "SELL"
	INSTRUCTION_BUY_TO_COVER      Instruction = "BUY_TO_COVER"
	INSTRUCTION_SELL_SHORT        Instruction = "SELL_SHORT"
	INSTRUCTION_BUY_TO_OPEN       Instruction = "BUY_TO_OPEN"
	INSTRUCTION_BUY_TO_CLOSE      Instruction = "BUY_TO_CLOSE"
	INSTRUCTION_SELL_TO_OPEN      Instruction = "SELL_TO_OPEN"
	INSTRUCTION_SELL_TO_CLOSE     Instruction = "SELL_TO_CLOSE"
	INSTRUCTION_EXCHANGE          Instruction = "EXCHANGE"
	INSTRUCTION_SELL_SHORT_EXEMPT Instruction = "SELL_SHORT_EXEMPT"
)

List of instruction

func NewInstructionFromValue

func NewInstructionFromValue(v string) (*Instruction, error)

NewInstructionFromValue returns a pointer to a valid Instruction for the value passed as argument, or an error if the value passed is not allowed by the enum

func (Instruction) IsValid

func (v Instruction) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (Instruction) Ptr

func (v Instruction) Ptr() *Instruction

Ptr returns reference to instruction value

func (*Instruction) UnmarshalJSON

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

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NullableAPIRuleAction

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

func NewNullableAPIRuleAction

func NewNullableAPIRuleAction(val *APIRuleAction) *NullableAPIRuleAction

func (NullableAPIRuleAction) Get

func (NullableAPIRuleAction) IsSet

func (v NullableAPIRuleAction) IsSet() bool

func (NullableAPIRuleAction) MarshalJSON

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

func (*NullableAPIRuleAction) Set

func (v *NullableAPIRuleAction) Set(val *APIRuleAction)

func (*NullableAPIRuleAction) UnmarshalJSON

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

func (*NullableAPIRuleAction) Unset

func (v *NullableAPIRuleAction) Unset()

type NullableAccount

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

func NewNullableAccount

func NewNullableAccount(val *Account) *NullableAccount

func (NullableAccount) Get

func (v NullableAccount) Get() *Account

func (NullableAccount) IsSet

func (v NullableAccount) IsSet() bool

func (NullableAccount) MarshalJSON

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

func (*NullableAccount) Set

func (v *NullableAccount) Set(val *Account)

func (*NullableAccount) UnmarshalJSON

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

func (*NullableAccount) Unset

func (v *NullableAccount) Unset()

type NullableAccountAPIOptionDeliverable

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

func (NullableAccountAPIOptionDeliverable) Get

func (NullableAccountAPIOptionDeliverable) IsSet

func (NullableAccountAPIOptionDeliverable) MarshalJSON

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

func (*NullableAccountAPIOptionDeliverable) Set

func (*NullableAccountAPIOptionDeliverable) UnmarshalJSON

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

func (*NullableAccountAPIOptionDeliverable) Unset

type NullableAccountCashEquivalent

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

func (NullableAccountCashEquivalent) Get

func (NullableAccountCashEquivalent) IsSet

func (NullableAccountCashEquivalent) MarshalJSON

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

func (*NullableAccountCashEquivalent) Set

func (*NullableAccountCashEquivalent) UnmarshalJSON

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

func (*NullableAccountCashEquivalent) Unset

func (v *NullableAccountCashEquivalent) Unset()

type NullableAccountEquity

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

func NewNullableAccountEquity

func NewNullableAccountEquity(val *AccountEquity) *NullableAccountEquity

func (NullableAccountEquity) Get

func (NullableAccountEquity) IsSet

func (v NullableAccountEquity) IsSet() bool

func (NullableAccountEquity) MarshalJSON

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

func (*NullableAccountEquity) Set

func (v *NullableAccountEquity) Set(val *AccountEquity)

func (*NullableAccountEquity) UnmarshalJSON

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

func (*NullableAccountEquity) Unset

func (v *NullableAccountEquity) Unset()

type NullableAccountFixedIncome

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

func NewNullableAccountFixedIncome

func NewNullableAccountFixedIncome(val *AccountFixedIncome) *NullableAccountFixedIncome

func (NullableAccountFixedIncome) Get

func (NullableAccountFixedIncome) IsSet

func (v NullableAccountFixedIncome) IsSet() bool

func (NullableAccountFixedIncome) MarshalJSON

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

func (*NullableAccountFixedIncome) Set

func (*NullableAccountFixedIncome) UnmarshalJSON

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

func (*NullableAccountFixedIncome) Unset

func (v *NullableAccountFixedIncome) Unset()

type NullableAccountMutualFund

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

func NewNullableAccountMutualFund

func NewNullableAccountMutualFund(val *AccountMutualFund) *NullableAccountMutualFund

func (NullableAccountMutualFund) Get

func (NullableAccountMutualFund) IsSet

func (v NullableAccountMutualFund) IsSet() bool

func (NullableAccountMutualFund) MarshalJSON

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

func (*NullableAccountMutualFund) Set

func (*NullableAccountMutualFund) UnmarshalJSON

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

func (*NullableAccountMutualFund) Unset

func (v *NullableAccountMutualFund) Unset()

type NullableAccountNumberHash

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

func NewNullableAccountNumberHash

func NewNullableAccountNumberHash(val *AccountNumberHash) *NullableAccountNumberHash

func (NullableAccountNumberHash) Get

func (NullableAccountNumberHash) IsSet

func (v NullableAccountNumberHash) IsSet() bool

func (NullableAccountNumberHash) MarshalJSON

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

func (*NullableAccountNumberHash) Set

func (*NullableAccountNumberHash) UnmarshalJSON

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

func (*NullableAccountNumberHash) Unset

func (v *NullableAccountNumberHash) Unset()

type NullableAccountOption

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

func NewNullableAccountOption

func NewNullableAccountOption(val *AccountOption) *NullableAccountOption

func (NullableAccountOption) Get

func (NullableAccountOption) IsSet

func (v NullableAccountOption) IsSet() bool

func (NullableAccountOption) MarshalJSON

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

func (*NullableAccountOption) Set

func (v *NullableAccountOption) Set(val *AccountOption)

func (*NullableAccountOption) UnmarshalJSON

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

func (*NullableAccountOption) Unset

func (v *NullableAccountOption) Unset()

type NullableAccountsBaseInstrument

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

func (NullableAccountsBaseInstrument) Get

func (NullableAccountsBaseInstrument) IsSet

func (NullableAccountsBaseInstrument) MarshalJSON

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

func (*NullableAccountsBaseInstrument) Set

func (*NullableAccountsBaseInstrument) UnmarshalJSON

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

func (*NullableAccountsBaseInstrument) Unset

func (v *NullableAccountsBaseInstrument) Unset()

type NullableAccountsInstrument

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

func NewNullableAccountsInstrument

func NewNullableAccountsInstrument(val *AccountsInstrument) *NullableAccountsInstrument

func (NullableAccountsInstrument) Get

func (NullableAccountsInstrument) IsSet

func (v NullableAccountsInstrument) IsSet() bool

func (NullableAccountsInstrument) MarshalJSON

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

func (*NullableAccountsInstrument) Set

func (*NullableAccountsInstrument) UnmarshalJSON

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

func (*NullableAccountsInstrument) Unset

func (v *NullableAccountsInstrument) Unset()

type NullableAmountIndicator

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

func NewNullableAmountIndicator

func NewNullableAmountIndicator(val *AmountIndicator) *NullableAmountIndicator

func (NullableAmountIndicator) Get

func (NullableAmountIndicator) IsSet

func (v NullableAmountIndicator) IsSet() bool

func (NullableAmountIndicator) MarshalJSON

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

func (*NullableAmountIndicator) Set

func (*NullableAmountIndicator) UnmarshalJSON

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

func (*NullableAmountIndicator) Unset

func (v *NullableAmountIndicator) Unset()

type NullableApiOrderStatus

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

func NewNullableApiOrderStatus

func NewNullableApiOrderStatus(val *ApiOrderStatus) *NullableApiOrderStatus

func (NullableApiOrderStatus) Get

func (NullableApiOrderStatus) IsSet

func (v NullableApiOrderStatus) IsSet() bool

func (NullableApiOrderStatus) MarshalJSON

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

func (*NullableApiOrderStatus) Set

func (*NullableApiOrderStatus) UnmarshalJSON

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

func (*NullableApiOrderStatus) Unset

func (v *NullableApiOrderStatus) Unset()

type NullableAssetType

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

func NewNullableAssetType

func NewNullableAssetType(val *AssetType) *NullableAssetType

func (NullableAssetType) Get

func (v NullableAssetType) Get() *AssetType

func (NullableAssetType) IsSet

func (v NullableAssetType) IsSet() bool

func (NullableAssetType) MarshalJSON

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

func (*NullableAssetType) Set

func (v *NullableAssetType) Set(val *AssetType)

func (*NullableAssetType) UnmarshalJSON

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

func (*NullableAssetType) Unset

func (v *NullableAssetType) 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 NullableCollectiveInvestment

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

func NewNullableCollectiveInvestment

func NewNullableCollectiveInvestment(val *CollectiveInvestment) *NullableCollectiveInvestment

func (NullableCollectiveInvestment) Get

func (NullableCollectiveInvestment) IsSet

func (NullableCollectiveInvestment) MarshalJSON

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

func (*NullableCollectiveInvestment) Set

func (*NullableCollectiveInvestment) UnmarshalJSON

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

func (*NullableCollectiveInvestment) Unset

func (v *NullableCollectiveInvestment) Unset()

type NullableCommission

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

func NewNullableCommission

func NewNullableCommission(val *Commission) *NullableCommission

func (NullableCommission) Get

func (v NullableCommission) Get() *Commission

func (NullableCommission) IsSet

func (v NullableCommission) IsSet() bool

func (NullableCommission) MarshalJSON

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

func (*NullableCommission) Set

func (v *NullableCommission) Set(val *Commission)

func (*NullableCommission) UnmarshalJSON

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

func (*NullableCommission) Unset

func (v *NullableCommission) Unset()

type NullableCommissionAndFee

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

func NewNullableCommissionAndFee

func NewNullableCommissionAndFee(val *CommissionAndFee) *NullableCommissionAndFee

func (NullableCommissionAndFee) Get

func (NullableCommissionAndFee) IsSet

func (v NullableCommissionAndFee) IsSet() bool

func (NullableCommissionAndFee) MarshalJSON

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

func (*NullableCommissionAndFee) Set

func (*NullableCommissionAndFee) UnmarshalJSON

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

func (*NullableCommissionAndFee) Unset

func (v *NullableCommissionAndFee) Unset()

type NullableCommissionLeg

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

func NewNullableCommissionLeg

func NewNullableCommissionLeg(val *CommissionLeg) *NullableCommissionLeg

func (NullableCommissionLeg) Get

func (NullableCommissionLeg) IsSet

func (v NullableCommissionLeg) IsSet() bool

func (NullableCommissionLeg) MarshalJSON

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

func (*NullableCommissionLeg) Set

func (v *NullableCommissionLeg) Set(val *CommissionLeg)

func (*NullableCommissionLeg) UnmarshalJSON

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

func (*NullableCommissionLeg) Unset

func (v *NullableCommissionLeg) Unset()

type NullableCommissionValue

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

func NewNullableCommissionValue

func NewNullableCommissionValue(val *CommissionValue) *NullableCommissionValue

func (NullableCommissionValue) Get

func (NullableCommissionValue) IsSet

func (v NullableCommissionValue) IsSet() bool

func (NullableCommissionValue) MarshalJSON

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

func (*NullableCommissionValue) Set

func (*NullableCommissionValue) UnmarshalJSON

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

func (*NullableCommissionValue) Unset

func (v *NullableCommissionValue) Unset()

type NullableComplexOrderStrategyType

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

func (NullableComplexOrderStrategyType) Get

func (NullableComplexOrderStrategyType) IsSet

func (NullableComplexOrderStrategyType) MarshalJSON

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

func (*NullableComplexOrderStrategyType) Set

func (*NullableComplexOrderStrategyType) UnmarshalJSON

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

func (*NullableComplexOrderStrategyType) Unset

type NullableCurrency

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

func NewNullableCurrency

func NewNullableCurrency(val *Currency) *NullableCurrency

func (NullableCurrency) Get

func (v NullableCurrency) Get() *Currency

func (NullableCurrency) IsSet

func (v NullableCurrency) IsSet() bool

func (NullableCurrency) MarshalJSON

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

func (*NullableCurrency) Set

func (v *NullableCurrency) Set(val *Currency)

func (*NullableCurrency) UnmarshalJSON

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

func (*NullableCurrency) Unset

func (v *NullableCurrency) Unset()

type NullableDateParam

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

func NewNullableDateParam

func NewNullableDateParam(val *DateParam) *NullableDateParam

func (NullableDateParam) Get

func (v NullableDateParam) Get() *DateParam

func (NullableDateParam) IsSet

func (v NullableDateParam) IsSet() bool

func (NullableDateParam) MarshalJSON

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

func (*NullableDateParam) Set

func (v *NullableDateParam) Set(val *DateParam)

func (*NullableDateParam) UnmarshalJSON

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

func (*NullableDateParam) Unset

func (v *NullableDateParam) Unset()

type NullableDuration

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

func NewNullableDuration

func NewNullableDuration(val *Duration) *NullableDuration

func (NullableDuration) Get

func (v NullableDuration) Get() *Duration

func (NullableDuration) IsSet

func (v NullableDuration) IsSet() bool

func (NullableDuration) MarshalJSON

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

func (*NullableDuration) Set

func (v *NullableDuration) Set(val *Duration)

func (*NullableDuration) UnmarshalJSON

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

func (*NullableDuration) Unset

func (v *NullableDuration) Unset()

type NullableExecutionLeg

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

func NewNullableExecutionLeg

func NewNullableExecutionLeg(val *ExecutionLeg) *NullableExecutionLeg

func (NullableExecutionLeg) Get

func (NullableExecutionLeg) IsSet

func (v NullableExecutionLeg) IsSet() bool

func (NullableExecutionLeg) MarshalJSON

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

func (*NullableExecutionLeg) Set

func (v *NullableExecutionLeg) Set(val *ExecutionLeg)

func (*NullableExecutionLeg) UnmarshalJSON

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

func (*NullableExecutionLeg) Unset

func (v *NullableExecutionLeg) Unset()

type NullableFeeLeg

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

func NewNullableFeeLeg

func NewNullableFeeLeg(val *FeeLeg) *NullableFeeLeg

func (NullableFeeLeg) Get

func (v NullableFeeLeg) Get() *FeeLeg

func (NullableFeeLeg) IsSet

func (v NullableFeeLeg) IsSet() bool

func (NullableFeeLeg) MarshalJSON

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

func (*NullableFeeLeg) Set

func (v *NullableFeeLeg) Set(val *FeeLeg)

func (*NullableFeeLeg) UnmarshalJSON

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

func (*NullableFeeLeg) Unset

func (v *NullableFeeLeg) Unset()

type NullableFeeType

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

func NewNullableFeeType

func NewNullableFeeType(val *FeeType) *NullableFeeType

func (NullableFeeType) Get

func (v NullableFeeType) Get() *FeeType

func (NullableFeeType) IsSet

func (v NullableFeeType) IsSet() bool

func (NullableFeeType) MarshalJSON

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

func (*NullableFeeType) Set

func (v *NullableFeeType) Set(val *FeeType)

func (*NullableFeeType) UnmarshalJSON

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

func (*NullableFeeType) Unset

func (v *NullableFeeType) Unset()

type NullableFeeValue

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

func NewNullableFeeValue

func NewNullableFeeValue(val *FeeValue) *NullableFeeValue

func (NullableFeeValue) Get

func (v NullableFeeValue) Get() *FeeValue

func (NullableFeeValue) IsSet

func (v NullableFeeValue) IsSet() bool

func (NullableFeeValue) MarshalJSON

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

func (*NullableFeeValue) Set

func (v *NullableFeeValue) Set(val *FeeValue)

func (*NullableFeeValue) UnmarshalJSON

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

func (*NullableFeeValue) Unset

func (v *NullableFeeValue) Unset()

type NullableFees

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

func NewNullableFees

func NewNullableFees(val *Fees) *NullableFees

func (NullableFees) Get

func (v NullableFees) Get() *Fees

func (NullableFees) IsSet

func (v NullableFees) IsSet() bool

func (NullableFees) MarshalJSON

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

func (*NullableFees) Set

func (v *NullableFees) Set(val *Fees)

func (*NullableFees) UnmarshalJSON

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

func (*NullableFees) Unset

func (v *NullableFees) 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 NullableForex

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

func NewNullableForex

func NewNullableForex(val *Forex) *NullableForex

func (NullableForex) Get

func (v NullableForex) Get() *Forex

func (NullableForex) IsSet

func (v NullableForex) IsSet() bool

func (NullableForex) MarshalJSON

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

func (*NullableForex) Set

func (v *NullableForex) Set(val *Forex)

func (*NullableForex) UnmarshalJSON

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

func (*NullableForex) Unset

func (v *NullableForex) Unset()

type NullableFuture

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

func NewNullableFuture

func NewNullableFuture(val *Future) *NullableFuture

func (NullableFuture) Get

func (v NullableFuture) Get() *Future

func (NullableFuture) IsSet

func (v NullableFuture) IsSet() bool

func (NullableFuture) MarshalJSON

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

func (*NullableFuture) Set

func (v *NullableFuture) Set(val *Future)

func (*NullableFuture) UnmarshalJSON

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

func (*NullableFuture) Unset

func (v *NullableFuture) Unset()

type NullableIndex

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

func NewNullableIndex

func NewNullableIndex(val *Index) *NullableIndex

func (NullableIndex) Get

func (v NullableIndex) Get() *Index

func (NullableIndex) IsSet

func (v NullableIndex) IsSet() bool

func (NullableIndex) MarshalJSON

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

func (*NullableIndex) Set

func (v *NullableIndex) Set(val *Index)

func (*NullableIndex) UnmarshalJSON

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

func (*NullableIndex) Unset

func (v *NullableIndex) Unset()

type NullableInstruction

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

func NewNullableInstruction

func NewNullableInstruction(val *Instruction) *NullableInstruction

func (NullableInstruction) Get

func (NullableInstruction) IsSet

func (v NullableInstruction) IsSet() bool

func (NullableInstruction) MarshalJSON

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

func (*NullableInstruction) Set

func (v *NullableInstruction) Set(val *Instruction)

func (*NullableInstruction) UnmarshalJSON

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

func (*NullableInstruction) Unset

func (v *NullableInstruction) 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 NullableOffer

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

func NewNullableOffer

func NewNullableOffer(val *Offer) *NullableOffer

func (NullableOffer) Get

func (v NullableOffer) Get() *Offer

func (NullableOffer) IsSet

func (v NullableOffer) IsSet() bool

func (NullableOffer) MarshalJSON

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

func (*NullableOffer) Set

func (v *NullableOffer) Set(val *Offer)

func (*NullableOffer) UnmarshalJSON

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

func (*NullableOffer) Unset

func (v *NullableOffer) Unset()

type NullableOrder

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

func NewNullableOrder

func NewNullableOrder(val *Order) *NullableOrder

func (NullableOrder) Get

func (v NullableOrder) Get() *Order

func (NullableOrder) IsSet

func (v NullableOrder) IsSet() bool

func (NullableOrder) MarshalJSON

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

func (*NullableOrder) Set

func (v *NullableOrder) Set(val *Order)

func (*NullableOrder) UnmarshalJSON

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

func (*NullableOrder) Unset

func (v *NullableOrder) Unset()

type NullableOrderActivity

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

func NewNullableOrderActivity

func NewNullableOrderActivity(val *OrderActivity) *NullableOrderActivity

func (NullableOrderActivity) Get

func (NullableOrderActivity) IsSet

func (v NullableOrderActivity) IsSet() bool

func (NullableOrderActivity) MarshalJSON

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

func (*NullableOrderActivity) Set

func (v *NullableOrderActivity) Set(val *OrderActivity)

func (*NullableOrderActivity) UnmarshalJSON

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

func (*NullableOrderActivity) Unset

func (v *NullableOrderActivity) Unset()

type NullableOrderBalance

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

func NewNullableOrderBalance

func NewNullableOrderBalance(val *OrderBalance) *NullableOrderBalance

func (NullableOrderBalance) Get

func (NullableOrderBalance) IsSet

func (v NullableOrderBalance) IsSet() bool

func (NullableOrderBalance) MarshalJSON

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

func (*NullableOrderBalance) Set

func (v *NullableOrderBalance) Set(val *OrderBalance)

func (*NullableOrderBalance) UnmarshalJSON

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

func (*NullableOrderBalance) Unset

func (v *NullableOrderBalance) Unset()

type NullableOrderLeg

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

func NewNullableOrderLeg

func NewNullableOrderLeg(val *OrderLeg) *NullableOrderLeg

func (NullableOrderLeg) Get

func (v NullableOrderLeg) Get() *OrderLeg

func (NullableOrderLeg) IsSet

func (v NullableOrderLeg) IsSet() bool

func (NullableOrderLeg) MarshalJSON

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

func (*NullableOrderLeg) Set

func (v *NullableOrderLeg) Set(val *OrderLeg)

func (*NullableOrderLeg) UnmarshalJSON

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

func (*NullableOrderLeg) Unset

func (v *NullableOrderLeg) Unset()

type NullableOrderLegCollection

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

func NewNullableOrderLegCollection

func NewNullableOrderLegCollection(val *OrderLegCollection) *NullableOrderLegCollection

func (NullableOrderLegCollection) Get

func (NullableOrderLegCollection) IsSet

func (v NullableOrderLegCollection) IsSet() bool

func (NullableOrderLegCollection) MarshalJSON

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

func (*NullableOrderLegCollection) Set

func (*NullableOrderLegCollection) UnmarshalJSON

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

func (*NullableOrderLegCollection) Unset

func (v *NullableOrderLegCollection) Unset()

type NullableOrderRequest

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

func NewNullableOrderRequest

func NewNullableOrderRequest(val *OrderRequest) *NullableOrderRequest

func (NullableOrderRequest) Get

func (NullableOrderRequest) IsSet

func (v NullableOrderRequest) IsSet() bool

func (NullableOrderRequest) MarshalJSON

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

func (*NullableOrderRequest) Set

func (v *NullableOrderRequest) Set(val *OrderRequest)

func (*NullableOrderRequest) UnmarshalJSON

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

func (*NullableOrderRequest) Unset

func (v *NullableOrderRequest) Unset()

type NullableOrderStrategy

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

func NewNullableOrderStrategy

func NewNullableOrderStrategy(val *OrderStrategy) *NullableOrderStrategy

func (NullableOrderStrategy) Get

func (NullableOrderStrategy) IsSet

func (v NullableOrderStrategy) IsSet() bool

func (NullableOrderStrategy) MarshalJSON

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

func (*NullableOrderStrategy) Set

func (v *NullableOrderStrategy) Set(val *OrderStrategy)

func (*NullableOrderStrategy) UnmarshalJSON

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

func (*NullableOrderStrategy) Unset

func (v *NullableOrderStrategy) Unset()

type NullableOrderStrategyType

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

func NewNullableOrderStrategyType

func NewNullableOrderStrategyType(val *OrderStrategyType) *NullableOrderStrategyType

func (NullableOrderStrategyType) Get

func (NullableOrderStrategyType) IsSet

func (v NullableOrderStrategyType) IsSet() bool

func (NullableOrderStrategyType) MarshalJSON

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

func (*NullableOrderStrategyType) Set

func (*NullableOrderStrategyType) UnmarshalJSON

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

func (*NullableOrderStrategyType) Unset

func (v *NullableOrderStrategyType) Unset()

type NullableOrderType

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

func NewNullableOrderType

func NewNullableOrderType(val *OrderType) *NullableOrderType

func (NullableOrderType) Get

func (v NullableOrderType) Get() *OrderType

func (NullableOrderType) IsSet

func (v NullableOrderType) IsSet() bool

func (NullableOrderType) MarshalJSON

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

func (*NullableOrderType) Set

func (v *NullableOrderType) Set(val *OrderType)

func (*NullableOrderType) UnmarshalJSON

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

func (*NullableOrderType) Unset

func (v *NullableOrderType) Unset()

type NullableOrderTypeRequest

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

func NewNullableOrderTypeRequest

func NewNullableOrderTypeRequest(val *OrderTypeRequest) *NullableOrderTypeRequest

func (NullableOrderTypeRequest) Get

func (NullableOrderTypeRequest) IsSet

func (v NullableOrderTypeRequest) IsSet() bool

func (NullableOrderTypeRequest) MarshalJSON

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

func (*NullableOrderTypeRequest) Set

func (*NullableOrderTypeRequest) UnmarshalJSON

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

func (*NullableOrderTypeRequest) Unset

func (v *NullableOrderTypeRequest) Unset()

type NullableOrderValidationDetail

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

func (NullableOrderValidationDetail) Get

func (NullableOrderValidationDetail) IsSet

func (NullableOrderValidationDetail) MarshalJSON

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

func (*NullableOrderValidationDetail) Set

func (*NullableOrderValidationDetail) UnmarshalJSON

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

func (*NullableOrderValidationDetail) Unset

func (v *NullableOrderValidationDetail) Unset()

type NullableOrderValidationResult

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

func (NullableOrderValidationResult) Get

func (NullableOrderValidationResult) IsSet

func (NullableOrderValidationResult) MarshalJSON

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

func (*NullableOrderValidationResult) Set

func (*NullableOrderValidationResult) UnmarshalJSON

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

func (*NullableOrderValidationResult) Unset

func (v *NullableOrderValidationResult) Unset()

type NullablePosition

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

func NewNullablePosition

func NewNullablePosition(val *Position) *NullablePosition

func (NullablePosition) Get

func (v NullablePosition) Get() *Position

func (NullablePosition) IsSet

func (v NullablePosition) IsSet() bool

func (NullablePosition) MarshalJSON

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

func (*NullablePosition) Set

func (v *NullablePosition) Set(val *Position)

func (*NullablePosition) UnmarshalJSON

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

func (*NullablePosition) Unset

func (v *NullablePosition) Unset()

type NullablePreviewOrder

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

func NewNullablePreviewOrder

func NewNullablePreviewOrder(val *PreviewOrder) *NullablePreviewOrder

func (NullablePreviewOrder) Get

func (NullablePreviewOrder) IsSet

func (v NullablePreviewOrder) IsSet() bool

func (NullablePreviewOrder) MarshalJSON

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

func (*NullablePreviewOrder) Set

func (v *NullablePreviewOrder) Set(val *PreviewOrder)

func (*NullablePreviewOrder) UnmarshalJSON

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

func (*NullablePreviewOrder) Unset

func (v *NullablePreviewOrder) Unset()

type NullablePriceLinkBasis

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

func NewNullablePriceLinkBasis

func NewNullablePriceLinkBasis(val *PriceLinkBasis) *NullablePriceLinkBasis

func (NullablePriceLinkBasis) Get

func (NullablePriceLinkBasis) IsSet

func (v NullablePriceLinkBasis) IsSet() bool

func (NullablePriceLinkBasis) MarshalJSON

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

func (*NullablePriceLinkBasis) Set

func (*NullablePriceLinkBasis) UnmarshalJSON

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

func (*NullablePriceLinkBasis) Unset

func (v *NullablePriceLinkBasis) Unset()

type NullablePriceLinkType

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

func NewNullablePriceLinkType

func NewNullablePriceLinkType(val *PriceLinkType) *NullablePriceLinkType

func (NullablePriceLinkType) Get

func (NullablePriceLinkType) IsSet

func (v NullablePriceLinkType) IsSet() bool

func (NullablePriceLinkType) MarshalJSON

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

func (*NullablePriceLinkType) Set

func (v *NullablePriceLinkType) Set(val *PriceLinkType)

func (*NullablePriceLinkType) UnmarshalJSON

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

func (*NullablePriceLinkType) Unset

func (v *NullablePriceLinkType) Unset()

type NullableProduct

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

func NewNullableProduct

func NewNullableProduct(val *Product) *NullableProduct

func (NullableProduct) Get

func (v NullableProduct) Get() *Product

func (NullableProduct) IsSet

func (v NullableProduct) IsSet() bool

func (NullableProduct) MarshalJSON

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

func (*NullableProduct) Set

func (v *NullableProduct) Set(val *Product)

func (*NullableProduct) UnmarshalJSON

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

func (*NullableProduct) Unset

func (v *NullableProduct) Unset()

type NullableRequestedDestination

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

func NewNullableRequestedDestination

func NewNullableRequestedDestination(val *RequestedDestination) *NullableRequestedDestination

func (NullableRequestedDestination) Get

func (NullableRequestedDestination) IsSet

func (NullableRequestedDestination) MarshalJSON

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

func (*NullableRequestedDestination) Set

func (*NullableRequestedDestination) UnmarshalJSON

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

func (*NullableRequestedDestination) Unset

func (v *NullableRequestedDestination) Unset()

type NullableSecuritiesAccount

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

func NewNullableSecuritiesAccount

func NewNullableSecuritiesAccount(val *SecuritiesAccount) *NullableSecuritiesAccount

func (NullableSecuritiesAccount) Get

func (NullableSecuritiesAccount) IsSet

func (v NullableSecuritiesAccount) IsSet() bool

func (NullableSecuritiesAccount) MarshalJSON

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

func (*NullableSecuritiesAccount) Set

func (*NullableSecuritiesAccount) UnmarshalJSON

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

func (*NullableSecuritiesAccount) Unset

func (v *NullableSecuritiesAccount) Unset()

type NullableServiceError

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

func NewNullableServiceError

func NewNullableServiceError(val *ServiceError) *NullableServiceError

func (NullableServiceError) Get

func (NullableServiceError) IsSet

func (v NullableServiceError) IsSet() bool

func (NullableServiceError) MarshalJSON

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

func (*NullableServiceError) Set

func (v *NullableServiceError) Set(val *ServiceError)

func (*NullableServiceError) UnmarshalJSON

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

func (*NullableServiceError) Unset

func (v *NullableServiceError) Unset()

type NullableSession

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

func NewNullableSession

func NewNullableSession(val *Session) *NullableSession

func (NullableSession) Get

func (v NullableSession) Get() *Session

func (NullableSession) IsSet

func (v NullableSession) IsSet() bool

func (NullableSession) MarshalJSON

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

func (*NullableSession) Set

func (v *NullableSession) Set(val *Session)

func (*NullableSession) UnmarshalJSON

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

func (*NullableSession) Unset

func (v *NullableSession) Unset()

type NullableSettlementInstruction

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

func (NullableSettlementInstruction) Get

func (NullableSettlementInstruction) IsSet

func (NullableSettlementInstruction) MarshalJSON

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

func (*NullableSettlementInstruction) Set

func (*NullableSettlementInstruction) UnmarshalJSON

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

func (*NullableSettlementInstruction) Unset

func (v *NullableSettlementInstruction) Unset()

type NullableSpecialInstruction

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

func NewNullableSpecialInstruction

func NewNullableSpecialInstruction(val *SpecialInstruction) *NullableSpecialInstruction

func (NullableSpecialInstruction) Get

func (NullableSpecialInstruction) IsSet

func (v NullableSpecialInstruction) IsSet() bool

func (NullableSpecialInstruction) MarshalJSON

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

func (*NullableSpecialInstruction) Set

func (*NullableSpecialInstruction) UnmarshalJSON

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

func (*NullableSpecialInstruction) Unset

func (v *NullableSpecialInstruction) Unset()

type NullableStatus

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

func NewNullableStatus

func NewNullableStatus(val *Status) *NullableStatus

func (NullableStatus) Get

func (v NullableStatus) Get() *Status

func (NullableStatus) IsSet

func (v NullableStatus) IsSet() bool

func (NullableStatus) MarshalJSON

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

func (*NullableStatus) Set

func (v *NullableStatus) Set(val *Status)

func (*NullableStatus) UnmarshalJSON

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

func (*NullableStatus) Unset

func (v *NullableStatus) Unset()

type NullableStopPriceLinkBasis

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

func NewNullableStopPriceLinkBasis

func NewNullableStopPriceLinkBasis(val *StopPriceLinkBasis) *NullableStopPriceLinkBasis

func (NullableStopPriceLinkBasis) Get

func (NullableStopPriceLinkBasis) IsSet

func (v NullableStopPriceLinkBasis) IsSet() bool

func (NullableStopPriceLinkBasis) MarshalJSON

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

func (*NullableStopPriceLinkBasis) Set

func (*NullableStopPriceLinkBasis) UnmarshalJSON

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

func (*NullableStopPriceLinkBasis) Unset

func (v *NullableStopPriceLinkBasis) Unset()

type NullableStopPriceLinkType

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

func NewNullableStopPriceLinkType

func NewNullableStopPriceLinkType(val *StopPriceLinkType) *NullableStopPriceLinkType

func (NullableStopPriceLinkType) Get

func (NullableStopPriceLinkType) IsSet

func (v NullableStopPriceLinkType) IsSet() bool

func (NullableStopPriceLinkType) MarshalJSON

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

func (*NullableStopPriceLinkType) Set

func (*NullableStopPriceLinkType) UnmarshalJSON

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

func (*NullableStopPriceLinkType) Unset

func (v *NullableStopPriceLinkType) Unset()

type NullableStopType

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

func NewNullableStopType

func NewNullableStopType(val *StopType) *NullableStopType

func (NullableStopType) Get

func (v NullableStopType) Get() *StopType

func (NullableStopType) IsSet

func (v NullableStopType) IsSet() bool

func (NullableStopType) MarshalJSON

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

func (*NullableStopType) Set

func (v *NullableStopType) Set(val *StopType)

func (*NullableStopType) UnmarshalJSON

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

func (*NullableStopType) Unset

func (v *NullableStopType) Unset()

type NullableStreamerInfo

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

func NewNullableStreamerInfo

func NewNullableStreamerInfo(val *StreamerInfo) *NullableStreamerInfo

func (NullableStreamerInfo) Get

func (NullableStreamerInfo) IsSet

func (v NullableStreamerInfo) IsSet() bool

func (NullableStreamerInfo) MarshalJSON

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

func (*NullableStreamerInfo) Set

func (v *NullableStreamerInfo) Set(val *StreamerInfo)

func (*NullableStreamerInfo) UnmarshalJSON

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

func (*NullableStreamerInfo) Unset

func (v *NullableStreamerInfo) 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 NullableTaxLotMethod

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

func NewNullableTaxLotMethod

func NewNullableTaxLotMethod(val *TaxLotMethod) *NullableTaxLotMethod

func (NullableTaxLotMethod) Get

func (NullableTaxLotMethod) IsSet

func (v NullableTaxLotMethod) IsSet() bool

func (NullableTaxLotMethod) MarshalJSON

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

func (*NullableTaxLotMethod) Set

func (v *NullableTaxLotMethod) Set(val *TaxLotMethod)

func (*NullableTaxLotMethod) UnmarshalJSON

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

func (*NullableTaxLotMethod) Unset

func (v *NullableTaxLotMethod) 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 NullableTransaction

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

func NewNullableTransaction

func NewNullableTransaction(val *Transaction) *NullableTransaction

func (NullableTransaction) Get

func (NullableTransaction) IsSet

func (v NullableTransaction) IsSet() bool

func (NullableTransaction) MarshalJSON

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

func (*NullableTransaction) Set

func (v *NullableTransaction) Set(val *Transaction)

func (*NullableTransaction) UnmarshalJSON

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

func (*NullableTransaction) Unset

func (v *NullableTransaction) Unset()

type NullableTransactionAPIOptionDeliverable

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

func (NullableTransactionAPIOptionDeliverable) Get

func (NullableTransactionAPIOptionDeliverable) IsSet

func (NullableTransactionAPIOptionDeliverable) MarshalJSON

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

func (*NullableTransactionAPIOptionDeliverable) Set

func (*NullableTransactionAPIOptionDeliverable) UnmarshalJSON

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

func (*NullableTransactionAPIOptionDeliverable) Unset

type NullableTransactionBaseInstrument

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

func (NullableTransactionBaseInstrument) Get

func (NullableTransactionBaseInstrument) IsSet

func (NullableTransactionBaseInstrument) MarshalJSON

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

func (*NullableTransactionBaseInstrument) Set

func (*NullableTransactionBaseInstrument) UnmarshalJSON

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

func (*NullableTransactionBaseInstrument) Unset

type NullableTransactionCashEquivalent

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

func (NullableTransactionCashEquivalent) Get

func (NullableTransactionCashEquivalent) IsSet

func (NullableTransactionCashEquivalent) MarshalJSON

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

func (*NullableTransactionCashEquivalent) Set

func (*NullableTransactionCashEquivalent) UnmarshalJSON

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

func (*NullableTransactionCashEquivalent) Unset

type NullableTransactionEquity

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

func NewNullableTransactionEquity

func NewNullableTransactionEquity(val *TransactionEquity) *NullableTransactionEquity

func (NullableTransactionEquity) Get

func (NullableTransactionEquity) IsSet

func (v NullableTransactionEquity) IsSet() bool

func (NullableTransactionEquity) MarshalJSON

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

func (*NullableTransactionEquity) Set

func (*NullableTransactionEquity) UnmarshalJSON

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

func (*NullableTransactionEquity) Unset

func (v *NullableTransactionEquity) Unset()

type NullableTransactionFixedIncome

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

func (NullableTransactionFixedIncome) Get

func (NullableTransactionFixedIncome) IsSet

func (NullableTransactionFixedIncome) MarshalJSON

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

func (*NullableTransactionFixedIncome) Set

func (*NullableTransactionFixedIncome) UnmarshalJSON

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

func (*NullableTransactionFixedIncome) Unset

func (v *NullableTransactionFixedIncome) Unset()

type NullableTransactionInstrument

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

func (NullableTransactionInstrument) Get

func (NullableTransactionInstrument) IsSet

func (NullableTransactionInstrument) MarshalJSON

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

func (*NullableTransactionInstrument) Set

func (*NullableTransactionInstrument) UnmarshalJSON

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

func (*NullableTransactionInstrument) Unset

func (v *NullableTransactionInstrument) Unset()

type NullableTransactionMutualFund

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

func (NullableTransactionMutualFund) Get

func (NullableTransactionMutualFund) IsSet

func (NullableTransactionMutualFund) MarshalJSON

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

func (*NullableTransactionMutualFund) Set

func (*NullableTransactionMutualFund) UnmarshalJSON

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

func (*NullableTransactionMutualFund) Unset

func (v *NullableTransactionMutualFund) Unset()

type NullableTransactionOption

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

func NewNullableTransactionOption

func NewNullableTransactionOption(val *TransactionOption) *NullableTransactionOption

func (NullableTransactionOption) Get

func (NullableTransactionOption) IsSet

func (v NullableTransactionOption) IsSet() bool

func (NullableTransactionOption) MarshalJSON

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

func (*NullableTransactionOption) Set

func (*NullableTransactionOption) UnmarshalJSON

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

func (*NullableTransactionOption) Unset

func (v *NullableTransactionOption) Unset()

type NullableTransactionType

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

func NewNullableTransactionType

func NewNullableTransactionType(val *TransactionType) *NullableTransactionType

func (NullableTransactionType) Get

func (NullableTransactionType) IsSet

func (v NullableTransactionType) IsSet() bool

func (NullableTransactionType) MarshalJSON

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

func (*NullableTransactionType) Set

func (*NullableTransactionType) UnmarshalJSON

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

func (*NullableTransactionType) Unset

func (v *NullableTransactionType) Unset()

type NullableTransferItem

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

func NewNullableTransferItem

func NewNullableTransferItem(val *TransferItem) *NullableTransferItem

func (NullableTransferItem) Get

func (NullableTransferItem) IsSet

func (v NullableTransferItem) IsSet() bool

func (NullableTransferItem) MarshalJSON

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

func (*NullableTransferItem) Set

func (v *NullableTransferItem) Set(val *TransferItem)

func (*NullableTransferItem) UnmarshalJSON

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

func (*NullableTransferItem) Unset

func (v *NullableTransferItem) Unset()

type NullableUserDetails

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

func NewNullableUserDetails

func NewNullableUserDetails(val *UserDetails) *NullableUserDetails

func (NullableUserDetails) Get

func (NullableUserDetails) IsSet

func (v NullableUserDetails) IsSet() bool

func (NullableUserDetails) MarshalJSON

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

func (*NullableUserDetails) Set

func (v *NullableUserDetails) Set(val *UserDetails)

func (*NullableUserDetails) UnmarshalJSON

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

func (*NullableUserDetails) Unset

func (v *NullableUserDetails) Unset()

type NullableUserPreference

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

func NewNullableUserPreference

func NewNullableUserPreference(val *UserPreference) *NullableUserPreference

func (NullableUserPreference) Get

func (NullableUserPreference) IsSet

func (v NullableUserPreference) IsSet() bool

func (NullableUserPreference) MarshalJSON

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

func (*NullableUserPreference) Set

func (*NullableUserPreference) UnmarshalJSON

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

func (*NullableUserPreference) Unset

func (v *NullableUserPreference) Unset()

type NullableUserProferenceAccount

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

func (NullableUserProferenceAccount) Get

func (NullableUserProferenceAccount) IsSet

func (NullableUserProferenceAccount) MarshalJSON

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

func (*NullableUserProferenceAccount) Set

func (*NullableUserProferenceAccount) UnmarshalJSON

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

func (*NullableUserProferenceAccount) Unset

func (v *NullableUserProferenceAccount) Unset()

type Offer

type Offer struct {
	Level2Permissions *bool `json:"level2Permissions,omitempty"`
}

Offer struct for Offer

func NewOffer

func NewOffer() *Offer

NewOffer instantiates a new Offer 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 NewOfferWithDefaults

func NewOfferWithDefaults() *Offer

NewOfferWithDefaults instantiates a new Offer 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 (*Offer) GetLevel2Permissions

func (o *Offer) GetLevel2Permissions() bool

GetLevel2Permissions returns the Level2Permissions field value if set, zero value otherwise.

func (*Offer) GetLevel2PermissionsOk

func (o *Offer) GetLevel2PermissionsOk() (*bool, bool)

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

func (*Offer) HasLevel2Permissions

func (o *Offer) HasLevel2Permissions() bool

HasLevel2Permissions returns a boolean if a field has been set.

func (Offer) MarshalJSON

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

func (*Offer) SetLevel2Permissions

func (o *Offer) SetLevel2Permissions(v bool)

SetLevel2Permissions gets a reference to the given bool and assigns it to the Level2Permissions field.

func (Offer) ToMap

func (o Offer) ToMap() (map[string]interface{}, error)

type Order

type Order struct {
	Session                  *Session                  `json:"session,omitempty"`
	Duration                 *Duration                 `json:"duration,omitempty"`
	OrderType                *OrderType                `json:"orderType,omitempty"`
	CancelTime               *time.Time                `json:"cancelTime,omitempty"`
	ComplexOrderStrategyType *ComplexOrderStrategyType `json:"complexOrderStrategyType,omitempty"`
	Quantity                 *float64                  `json:"quantity,omitempty"`
	FilledQuantity           *float64                  `json:"filledQuantity,omitempty"`
	RemainingQuantity        *float64                  `json:"remainingQuantity,omitempty"`
	RequestedDestination     *RequestedDestination     `json:"requestedDestination,omitempty"`
	DestinationLinkName      *string                   `json:"destinationLinkName,omitempty"`
	ReleaseTime              *time.Time                `json:"releaseTime,omitempty"`
	StopPrice                *float64                  `json:"stopPrice,omitempty"`
	StopPriceLinkBasis       *StopPriceLinkBasis       `json:"stopPriceLinkBasis,omitempty"`
	StopPriceLinkType        *StopPriceLinkType        `json:"stopPriceLinkType,omitempty"`
	StopPriceOffset          *float64                  `json:"stopPriceOffset,omitempty"`
	StopType                 *StopType                 `json:"stopType,omitempty"`
	PriceLinkBasis           *PriceLinkBasis           `json:"priceLinkBasis,omitempty"`
	PriceLinkType            *PriceLinkType            `json:"priceLinkType,omitempty"`
	Price                    *float64                  `json:"price,omitempty"`
	TaxLotMethod             *TaxLotMethod             `json:"taxLotMethod,omitempty"`
	OrderLegCollection       []OrderLegCollection      `json:"orderLegCollection,omitempty"`
	ActivationPrice          *float64                  `json:"activationPrice,omitempty"`
	SpecialInstruction       *SpecialInstruction       `json:"specialInstruction,omitempty"`
	OrderStrategyType        *OrderStrategyType        `json:"orderStrategyType,omitempty"`
	OrderId                  *int64                    `json:"orderId,omitempty"`
	Cancelable               *bool                     `json:"cancelable,omitempty"`
	Editable                 *bool                     `json:"editable,omitempty"`
	Status                   *Status                   `json:"status,omitempty"`
	EnteredTime              *time.Time                `json:"enteredTime,omitempty"`
	CloseTime                *time.Time                `json:"closeTime,omitempty"`
	Tag                      *string                   `json:"tag,omitempty"`
	AccountNumber            *int64                    `json:"accountNumber,omitempty"`
	OrderActivityCollection  []OrderActivity           `json:"orderActivityCollection,omitempty"`
	ReplacingOrderCollection []Order                   `json:"replacingOrderCollection,omitempty"`
	ChildOrderStrategies     []Order                   `json:"childOrderStrategies,omitempty"`
	StatusDescription        *string                   `json:"statusDescription,omitempty"`
}

Order struct for Order

func NewOrder

func NewOrder() *Order

NewOrder instantiates a new Order 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 NewOrderWithDefaults

func NewOrderWithDefaults() *Order

NewOrderWithDefaults instantiates a new Order 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 (*Order) GetAccountNumber

func (o *Order) GetAccountNumber() int64

GetAccountNumber returns the AccountNumber field value if set, zero value otherwise.

func (*Order) GetAccountNumberOk

func (o *Order) GetAccountNumberOk() (*int64, bool)

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

func (*Order) GetActivationPrice

func (o *Order) GetActivationPrice() float64

GetActivationPrice returns the ActivationPrice field value if set, zero value otherwise.

func (*Order) GetActivationPriceOk

func (o *Order) GetActivationPriceOk() (*float64, bool)

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

func (*Order) GetCancelTime

func (o *Order) GetCancelTime() time.Time

GetCancelTime returns the CancelTime field value if set, zero value otherwise.

func (*Order) GetCancelTimeOk

func (o *Order) GetCancelTimeOk() (*time.Time, bool)

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

func (*Order) GetCancelable

func (o *Order) GetCancelable() bool

GetCancelable returns the Cancelable field value if set, zero value otherwise.

func (*Order) GetCancelableOk

func (o *Order) GetCancelableOk() (*bool, bool)

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

func (*Order) GetChildOrderStrategies

func (o *Order) GetChildOrderStrategies() []Order

GetChildOrderStrategies returns the ChildOrderStrategies field value if set, zero value otherwise.

func (*Order) GetChildOrderStrategiesOk

func (o *Order) GetChildOrderStrategiesOk() ([]Order, bool)

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

func (*Order) GetCloseTime

func (o *Order) GetCloseTime() time.Time

GetCloseTime returns the CloseTime field value if set, zero value otherwise.

func (*Order) GetCloseTimeOk

func (o *Order) GetCloseTimeOk() (*time.Time, bool)

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

func (*Order) GetComplexOrderStrategyType

func (o *Order) GetComplexOrderStrategyType() ComplexOrderStrategyType

GetComplexOrderStrategyType returns the ComplexOrderStrategyType field value if set, zero value otherwise.

func (*Order) GetComplexOrderStrategyTypeOk

func (o *Order) GetComplexOrderStrategyTypeOk() (*ComplexOrderStrategyType, bool)

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

func (*Order) GetDestinationLinkName

func (o *Order) GetDestinationLinkName() string

GetDestinationLinkName returns the DestinationLinkName field value if set, zero value otherwise.

func (*Order) GetDestinationLinkNameOk

func (o *Order) GetDestinationLinkNameOk() (*string, bool)

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

func (*Order) GetDuration

func (o *Order) GetDuration() Duration

GetDuration returns the Duration field value if set, zero value otherwise.

func (*Order) GetDurationOk

func (o *Order) GetDurationOk() (*Duration, bool)

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

func (*Order) GetEditable

func (o *Order) GetEditable() bool

GetEditable returns the Editable field value if set, zero value otherwise.

func (*Order) GetEditableOk

func (o *Order) GetEditableOk() (*bool, bool)

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

func (*Order) GetEnteredTime

func (o *Order) GetEnteredTime() time.Time

GetEnteredTime returns the EnteredTime field value if set, zero value otherwise.

func (*Order) GetEnteredTimeOk

func (o *Order) GetEnteredTimeOk() (*time.Time, bool)

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

func (*Order) GetFilledQuantity

func (o *Order) GetFilledQuantity() float64

GetFilledQuantity returns the FilledQuantity field value if set, zero value otherwise.

func (*Order) GetFilledQuantityOk

func (o *Order) GetFilledQuantityOk() (*float64, bool)

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

func (*Order) GetOrderActivityCollection

func (o *Order) GetOrderActivityCollection() []OrderActivity

GetOrderActivityCollection returns the OrderActivityCollection field value if set, zero value otherwise.

func (*Order) GetOrderActivityCollectionOk

func (o *Order) GetOrderActivityCollectionOk() ([]OrderActivity, bool)

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

func (*Order) GetOrderId

func (o *Order) GetOrderId() int64

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

func (*Order) GetOrderIdOk

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

func (o *Order) GetOrderLegCollection() []OrderLegCollection

GetOrderLegCollection returns the OrderLegCollection field value if set, zero value otherwise.

func (*Order) GetOrderLegCollectionOk

func (o *Order) GetOrderLegCollectionOk() ([]OrderLegCollection, bool)

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

func (*Order) GetOrderStrategyType

func (o *Order) GetOrderStrategyType() OrderStrategyType

GetOrderStrategyType returns the OrderStrategyType field value if set, zero value otherwise.

func (*Order) GetOrderStrategyTypeOk

func (o *Order) GetOrderStrategyTypeOk() (*OrderStrategyType, bool)

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

func (*Order) GetOrderType

func (o *Order) GetOrderType() OrderType

GetOrderType returns the OrderType field value if set, zero value otherwise.

func (*Order) GetOrderTypeOk

func (o *Order) GetOrderTypeOk() (*OrderType, bool)

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

func (*Order) GetPrice

func (o *Order) GetPrice() float64

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

func (*Order) GetPriceLinkBasis

func (o *Order) GetPriceLinkBasis() PriceLinkBasis

GetPriceLinkBasis returns the PriceLinkBasis field value if set, zero value otherwise.

func (*Order) GetPriceLinkBasisOk

func (o *Order) GetPriceLinkBasisOk() (*PriceLinkBasis, bool)

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

func (*Order) GetPriceLinkType

func (o *Order) GetPriceLinkType() PriceLinkType

GetPriceLinkType returns the PriceLinkType field value if set, zero value otherwise.

func (*Order) GetPriceLinkTypeOk

func (o *Order) GetPriceLinkTypeOk() (*PriceLinkType, bool)

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

func (*Order) GetPriceOk

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

func (o *Order) GetQuantity() float64

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*Order) GetQuantityOk

func (o *Order) GetQuantityOk() (*float64, bool)

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

func (*Order) GetReleaseTime

func (o *Order) GetReleaseTime() time.Time

GetReleaseTime returns the ReleaseTime field value if set, zero value otherwise.

func (*Order) GetReleaseTimeOk

func (o *Order) GetReleaseTimeOk() (*time.Time, bool)

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

func (*Order) GetRemainingQuantity

func (o *Order) GetRemainingQuantity() float64

GetRemainingQuantity returns the RemainingQuantity field value if set, zero value otherwise.

func (*Order) GetRemainingQuantityOk

func (o *Order) GetRemainingQuantityOk() (*float64, bool)

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

func (*Order) GetReplacingOrderCollection

func (o *Order) GetReplacingOrderCollection() []Order

GetReplacingOrderCollection returns the ReplacingOrderCollection field value if set, zero value otherwise.

func (*Order) GetReplacingOrderCollectionOk

func (o *Order) GetReplacingOrderCollectionOk() ([]Order, bool)

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

func (*Order) GetRequestedDestination

func (o *Order) GetRequestedDestination() RequestedDestination

GetRequestedDestination returns the RequestedDestination field value if set, zero value otherwise.

func (*Order) GetRequestedDestinationOk

func (o *Order) GetRequestedDestinationOk() (*RequestedDestination, bool)

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

func (*Order) GetSession

func (o *Order) GetSession() Session

GetSession returns the Session field value if set, zero value otherwise.

func (*Order) GetSessionOk

func (o *Order) GetSessionOk() (*Session, bool)

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

func (*Order) GetSpecialInstruction

func (o *Order) GetSpecialInstruction() SpecialInstruction

GetSpecialInstruction returns the SpecialInstruction field value if set, zero value otherwise.

func (*Order) GetSpecialInstructionOk

func (o *Order) GetSpecialInstructionOk() (*SpecialInstruction, bool)

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

func (*Order) GetStatus

func (o *Order) GetStatus() Status

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

func (*Order) GetStatusDescription

func (o *Order) GetStatusDescription() string

GetStatusDescription returns the StatusDescription field value if set, zero value otherwise.

func (*Order) GetStatusDescriptionOk

func (o *Order) GetStatusDescriptionOk() (*string, bool)

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

func (*Order) GetStatusOk

func (o *Order) GetStatusOk() (*Status, 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 (*Order) GetStopPrice

func (o *Order) GetStopPrice() float64

GetStopPrice returns the StopPrice field value if set, zero value otherwise.

func (*Order) GetStopPriceLinkBasis

func (o *Order) GetStopPriceLinkBasis() StopPriceLinkBasis

GetStopPriceLinkBasis returns the StopPriceLinkBasis field value if set, zero value otherwise.

func (*Order) GetStopPriceLinkBasisOk

func (o *Order) GetStopPriceLinkBasisOk() (*StopPriceLinkBasis, bool)

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

func (*Order) GetStopPriceLinkType

func (o *Order) GetStopPriceLinkType() StopPriceLinkType

GetStopPriceLinkType returns the StopPriceLinkType field value if set, zero value otherwise.

func (*Order) GetStopPriceLinkTypeOk

func (o *Order) GetStopPriceLinkTypeOk() (*StopPriceLinkType, bool)

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

func (*Order) GetStopPriceOffset

func (o *Order) GetStopPriceOffset() float64

GetStopPriceOffset returns the StopPriceOffset field value if set, zero value otherwise.

func (*Order) GetStopPriceOffsetOk

func (o *Order) GetStopPriceOffsetOk() (*float64, bool)

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

func (*Order) GetStopPriceOk

func (o *Order) GetStopPriceOk() (*float64, bool)

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

func (*Order) GetStopType

func (o *Order) GetStopType() StopType

GetStopType returns the StopType field value if set, zero value otherwise.

func (*Order) GetStopTypeOk

func (o *Order) GetStopTypeOk() (*StopType, bool)

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

func (*Order) GetTag

func (o *Order) GetTag() string

GetTag returns the Tag field value if set, zero value otherwise.

func (*Order) GetTagOk

func (o *Order) GetTagOk() (*string, bool)

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

func (*Order) GetTaxLotMethod

func (o *Order) GetTaxLotMethod() TaxLotMethod

GetTaxLotMethod returns the TaxLotMethod field value if set, zero value otherwise.

func (*Order) GetTaxLotMethodOk

func (o *Order) GetTaxLotMethodOk() (*TaxLotMethod, bool)

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

func (*Order) HasAccountNumber

func (o *Order) HasAccountNumber() bool

HasAccountNumber returns a boolean if a field has been set.

func (*Order) HasActivationPrice

func (o *Order) HasActivationPrice() bool

HasActivationPrice returns a boolean if a field has been set.

func (*Order) HasCancelTime

func (o *Order) HasCancelTime() bool

HasCancelTime returns a boolean if a field has been set.

func (*Order) HasCancelable

func (o *Order) HasCancelable() bool

HasCancelable returns a boolean if a field has been set.

func (*Order) HasChildOrderStrategies

func (o *Order) HasChildOrderStrategies() bool

HasChildOrderStrategies returns a boolean if a field has been set.

func (*Order) HasCloseTime

func (o *Order) HasCloseTime() bool

HasCloseTime returns a boolean if a field has been set.

func (*Order) HasComplexOrderStrategyType

func (o *Order) HasComplexOrderStrategyType() bool

HasComplexOrderStrategyType returns a boolean if a field has been set.

func (*Order) HasDestinationLinkName

func (o *Order) HasDestinationLinkName() bool

HasDestinationLinkName returns a boolean if a field has been set.

func (*Order) HasDuration

func (o *Order) HasDuration() bool

HasDuration returns a boolean if a field has been set.

func (*Order) HasEditable

func (o *Order) HasEditable() bool

HasEditable returns a boolean if a field has been set.

func (*Order) HasEnteredTime

func (o *Order) HasEnteredTime() bool

HasEnteredTime returns a boolean if a field has been set.

func (*Order) HasFilledQuantity

func (o *Order) HasFilledQuantity() bool

HasFilledQuantity returns a boolean if a field has been set.

func (*Order) HasOrderActivityCollection

func (o *Order) HasOrderActivityCollection() bool

HasOrderActivityCollection returns a boolean if a field has been set.

func (*Order) HasOrderId

func (o *Order) HasOrderId() bool

HasOrderId returns a boolean if a field has been set.

func (*Order) HasOrderLegCollection

func (o *Order) HasOrderLegCollection() bool

HasOrderLegCollection returns a boolean if a field has been set.

func (*Order) HasOrderStrategyType

func (o *Order) HasOrderStrategyType() bool

HasOrderStrategyType returns a boolean if a field has been set.

func (*Order) HasOrderType

func (o *Order) HasOrderType() bool

HasOrderType returns a boolean if a field has been set.

func (*Order) HasPrice

func (o *Order) HasPrice() bool

HasPrice returns a boolean if a field has been set.

func (*Order) HasPriceLinkBasis

func (o *Order) HasPriceLinkBasis() bool

HasPriceLinkBasis returns a boolean if a field has been set.

func (*Order) HasPriceLinkType

func (o *Order) HasPriceLinkType() bool

HasPriceLinkType returns a boolean if a field has been set.

func (*Order) HasQuantity

func (o *Order) HasQuantity() bool

HasQuantity returns a boolean if a field has been set.

func (*Order) HasReleaseTime

func (o *Order) HasReleaseTime() bool

HasReleaseTime returns a boolean if a field has been set.

func (*Order) HasRemainingQuantity

func (o *Order) HasRemainingQuantity() bool

HasRemainingQuantity returns a boolean if a field has been set.

func (*Order) HasReplacingOrderCollection

func (o *Order) HasReplacingOrderCollection() bool

HasReplacingOrderCollection returns a boolean if a field has been set.

func (*Order) HasRequestedDestination

func (o *Order) HasRequestedDestination() bool

HasRequestedDestination returns a boolean if a field has been set.

func (*Order) HasSession

func (o *Order) HasSession() bool

HasSession returns a boolean if a field has been set.

func (*Order) HasSpecialInstruction

func (o *Order) HasSpecialInstruction() bool

HasSpecialInstruction returns a boolean if a field has been set.

func (*Order) HasStatus

func (o *Order) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Order) HasStatusDescription

func (o *Order) HasStatusDescription() bool

HasStatusDescription returns a boolean if a field has been set.

func (*Order) HasStopPrice

func (o *Order) HasStopPrice() bool

HasStopPrice returns a boolean if a field has been set.

func (*Order) HasStopPriceLinkBasis

func (o *Order) HasStopPriceLinkBasis() bool

HasStopPriceLinkBasis returns a boolean if a field has been set.

func (*Order) HasStopPriceLinkType

func (o *Order) HasStopPriceLinkType() bool

HasStopPriceLinkType returns a boolean if a field has been set.

func (*Order) HasStopPriceOffset

func (o *Order) HasStopPriceOffset() bool

HasStopPriceOffset returns a boolean if a field has been set.

func (*Order) HasStopType

func (o *Order) HasStopType() bool

HasStopType returns a boolean if a field has been set.

func (*Order) HasTag

func (o *Order) HasTag() bool

HasTag returns a boolean if a field has been set.

func (*Order) HasTaxLotMethod

func (o *Order) HasTaxLotMethod() bool

HasTaxLotMethod returns a boolean if a field has been set.

func (Order) MarshalJSON

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

func (*Order) SetAccountNumber

func (o *Order) SetAccountNumber(v int64)

SetAccountNumber gets a reference to the given int64 and assigns it to the AccountNumber field.

func (*Order) SetActivationPrice

func (o *Order) SetActivationPrice(v float64)

SetActivationPrice gets a reference to the given float64 and assigns it to the ActivationPrice field.

func (*Order) SetCancelTime

func (o *Order) SetCancelTime(v time.Time)

SetCancelTime gets a reference to the given time.Time and assigns it to the CancelTime field.

func (*Order) SetCancelable

func (o *Order) SetCancelable(v bool)

SetCancelable gets a reference to the given bool and assigns it to the Cancelable field.

func (*Order) SetChildOrderStrategies

func (o *Order) SetChildOrderStrategies(v []Order)

SetChildOrderStrategies gets a reference to the given []Order and assigns it to the ChildOrderStrategies field.

func (*Order) SetCloseTime

func (o *Order) SetCloseTime(v time.Time)

SetCloseTime gets a reference to the given time.Time and assigns it to the CloseTime field.

func (*Order) SetComplexOrderStrategyType

func (o *Order) SetComplexOrderStrategyType(v ComplexOrderStrategyType)

SetComplexOrderStrategyType gets a reference to the given ComplexOrderStrategyType and assigns it to the ComplexOrderStrategyType field.

func (*Order) SetDestinationLinkName

func (o *Order) SetDestinationLinkName(v string)

SetDestinationLinkName gets a reference to the given string and assigns it to the DestinationLinkName field.

func (*Order) SetDuration

func (o *Order) SetDuration(v Duration)

SetDuration gets a reference to the given Duration and assigns it to the Duration field.

func (*Order) SetEditable

func (o *Order) SetEditable(v bool)

SetEditable gets a reference to the given bool and assigns it to the Editable field.

func (*Order) SetEnteredTime

func (o *Order) SetEnteredTime(v time.Time)

SetEnteredTime gets a reference to the given time.Time and assigns it to the EnteredTime field.

func (*Order) SetFilledQuantity

func (o *Order) SetFilledQuantity(v float64)

SetFilledQuantity gets a reference to the given float64 and assigns it to the FilledQuantity field.

func (*Order) SetOrderActivityCollection

func (o *Order) SetOrderActivityCollection(v []OrderActivity)

SetOrderActivityCollection gets a reference to the given []OrderActivity and assigns it to the OrderActivityCollection field.

func (*Order) SetOrderId

func (o *Order) SetOrderId(v int64)

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

func (*Order) SetOrderLegCollection

func (o *Order) SetOrderLegCollection(v []OrderLegCollection)

SetOrderLegCollection gets a reference to the given []OrderLegCollection and assigns it to the OrderLegCollection field.

func (*Order) SetOrderStrategyType

func (o *Order) SetOrderStrategyType(v OrderStrategyType)

SetOrderStrategyType gets a reference to the given OrderStrategyType and assigns it to the OrderStrategyType field.

func (*Order) SetOrderType

func (o *Order) SetOrderType(v OrderType)

SetOrderType gets a reference to the given OrderType and assigns it to the OrderType field.

func (*Order) SetPrice

func (o *Order) SetPrice(v float64)

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

func (*Order) SetPriceLinkBasis

func (o *Order) SetPriceLinkBasis(v PriceLinkBasis)

SetPriceLinkBasis gets a reference to the given PriceLinkBasis and assigns it to the PriceLinkBasis field.

func (*Order) SetPriceLinkType

func (o *Order) SetPriceLinkType(v PriceLinkType)

SetPriceLinkType gets a reference to the given PriceLinkType and assigns it to the PriceLinkType field.

func (*Order) SetQuantity

func (o *Order) SetQuantity(v float64)

SetQuantity gets a reference to the given float64 and assigns it to the Quantity field.

func (*Order) SetReleaseTime

func (o *Order) SetReleaseTime(v time.Time)

SetReleaseTime gets a reference to the given time.Time and assigns it to the ReleaseTime field.

func (*Order) SetRemainingQuantity

func (o *Order) SetRemainingQuantity(v float64)

SetRemainingQuantity gets a reference to the given float64 and assigns it to the RemainingQuantity field.

func (*Order) SetReplacingOrderCollection

func (o *Order) SetReplacingOrderCollection(v []Order)

SetReplacingOrderCollection gets a reference to the given []Order and assigns it to the ReplacingOrderCollection field.

func (*Order) SetRequestedDestination

func (o *Order) SetRequestedDestination(v RequestedDestination)

SetRequestedDestination gets a reference to the given RequestedDestination and assigns it to the RequestedDestination field.

func (*Order) SetSession

func (o *Order) SetSession(v Session)

SetSession gets a reference to the given Session and assigns it to the Session field.

func (*Order) SetSpecialInstruction

func (o *Order) SetSpecialInstruction(v SpecialInstruction)

SetSpecialInstruction gets a reference to the given SpecialInstruction and assigns it to the SpecialInstruction field.

func (*Order) SetStatus

func (o *Order) SetStatus(v Status)

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

func (*Order) SetStatusDescription

func (o *Order) SetStatusDescription(v string)

SetStatusDescription gets a reference to the given string and assigns it to the StatusDescription field.

func (*Order) SetStopPrice

func (o *Order) SetStopPrice(v float64)

SetStopPrice gets a reference to the given float64 and assigns it to the StopPrice field.

func (*Order) SetStopPriceLinkBasis

func (o *Order) SetStopPriceLinkBasis(v StopPriceLinkBasis)

SetStopPriceLinkBasis gets a reference to the given StopPriceLinkBasis and assigns it to the StopPriceLinkBasis field.

func (*Order) SetStopPriceLinkType

func (o *Order) SetStopPriceLinkType(v StopPriceLinkType)

SetStopPriceLinkType gets a reference to the given StopPriceLinkType and assigns it to the StopPriceLinkType field.

func (*Order) SetStopPriceOffset

func (o *Order) SetStopPriceOffset(v float64)

SetStopPriceOffset gets a reference to the given float64 and assigns it to the StopPriceOffset field.

func (*Order) SetStopType

func (o *Order) SetStopType(v StopType)

SetStopType gets a reference to the given StopType and assigns it to the StopType field.

func (*Order) SetTag

func (o *Order) SetTag(v string)

SetTag gets a reference to the given string and assigns it to the Tag field.

func (*Order) SetTaxLotMethod

func (o *Order) SetTaxLotMethod(v TaxLotMethod)

SetTaxLotMethod gets a reference to the given TaxLotMethod and assigns it to the TaxLotMethod field.

func (Order) ToMap

func (o Order) ToMap() (map[string]interface{}, error)

type OrderActivity

type OrderActivity struct {
	ActivityType           *string        `json:"activityType,omitempty"`
	ExecutionType          *string        `json:"executionType,omitempty"`
	Quantity               *float64       `json:"quantity,omitempty"`
	OrderRemainingQuantity *float64       `json:"orderRemainingQuantity,omitempty"`
	ExecutionLegs          []ExecutionLeg `json:"executionLegs,omitempty"`
}

OrderActivity struct for OrderActivity

func NewOrderActivity

func NewOrderActivity() *OrderActivity

NewOrderActivity instantiates a new OrderActivity 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 NewOrderActivityWithDefaults

func NewOrderActivityWithDefaults() *OrderActivity

NewOrderActivityWithDefaults instantiates a new OrderActivity 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 (*OrderActivity) GetActivityType

func (o *OrderActivity) GetActivityType() string

GetActivityType returns the ActivityType field value if set, zero value otherwise.

func (*OrderActivity) GetActivityTypeOk

func (o *OrderActivity) GetActivityTypeOk() (*string, bool)

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

func (*OrderActivity) GetExecutionLegs

func (o *OrderActivity) GetExecutionLegs() []ExecutionLeg

GetExecutionLegs returns the ExecutionLegs field value if set, zero value otherwise.

func (*OrderActivity) GetExecutionLegsOk

func (o *OrderActivity) GetExecutionLegsOk() ([]ExecutionLeg, bool)

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

func (*OrderActivity) GetExecutionType

func (o *OrderActivity) GetExecutionType() string

GetExecutionType returns the ExecutionType field value if set, zero value otherwise.

func (*OrderActivity) GetExecutionTypeOk

func (o *OrderActivity) GetExecutionTypeOk() (*string, bool)

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

func (*OrderActivity) GetOrderRemainingQuantity

func (o *OrderActivity) GetOrderRemainingQuantity() float64

GetOrderRemainingQuantity returns the OrderRemainingQuantity field value if set, zero value otherwise.

func (*OrderActivity) GetOrderRemainingQuantityOk

func (o *OrderActivity) GetOrderRemainingQuantityOk() (*float64, bool)

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

func (*OrderActivity) GetQuantity

func (o *OrderActivity) GetQuantity() float64

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*OrderActivity) GetQuantityOk

func (o *OrderActivity) GetQuantityOk() (*float64, bool)

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

func (*OrderActivity) HasActivityType

func (o *OrderActivity) HasActivityType() bool

HasActivityType returns a boolean if a field has been set.

func (*OrderActivity) HasExecutionLegs

func (o *OrderActivity) HasExecutionLegs() bool

HasExecutionLegs returns a boolean if a field has been set.

func (*OrderActivity) HasExecutionType

func (o *OrderActivity) HasExecutionType() bool

HasExecutionType returns a boolean if a field has been set.

func (*OrderActivity) HasOrderRemainingQuantity

func (o *OrderActivity) HasOrderRemainingQuantity() bool

HasOrderRemainingQuantity returns a boolean if a field has been set.

func (*OrderActivity) HasQuantity

func (o *OrderActivity) HasQuantity() bool

HasQuantity returns a boolean if a field has been set.

func (OrderActivity) MarshalJSON

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

func (*OrderActivity) SetActivityType

func (o *OrderActivity) SetActivityType(v string)

SetActivityType gets a reference to the given string and assigns it to the ActivityType field.

func (*OrderActivity) SetExecutionLegs

func (o *OrderActivity) SetExecutionLegs(v []ExecutionLeg)

SetExecutionLegs gets a reference to the given []ExecutionLeg and assigns it to the ExecutionLegs field.

func (*OrderActivity) SetExecutionType

func (o *OrderActivity) SetExecutionType(v string)

SetExecutionType gets a reference to the given string and assigns it to the ExecutionType field.

func (*OrderActivity) SetOrderRemainingQuantity

func (o *OrderActivity) SetOrderRemainingQuantity(v float64)

SetOrderRemainingQuantity gets a reference to the given float64 and assigns it to the OrderRemainingQuantity field.

func (*OrderActivity) SetQuantity

func (o *OrderActivity) SetQuantity(v float64)

SetQuantity gets a reference to the given float64 and assigns it to the Quantity field.

func (OrderActivity) ToMap

func (o OrderActivity) ToMap() (map[string]interface{}, error)

type OrderBalance

type OrderBalance struct {
	OrderValue             *float64 `json:"orderValue,omitempty"`
	ProjectedAvailableFund *float64 `json:"projectedAvailableFund,omitempty"`
	ProjectedBuyingPower   *float64 `json:"projectedBuyingPower,omitempty"`
	ProjectedCommission    *float64 `json:"projectedCommission,omitempty"`
}

OrderBalance struct for OrderBalance

func NewOrderBalance

func NewOrderBalance() *OrderBalance

NewOrderBalance instantiates a new OrderBalance 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 NewOrderBalanceWithDefaults

func NewOrderBalanceWithDefaults() *OrderBalance

NewOrderBalanceWithDefaults instantiates a new OrderBalance 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 (*OrderBalance) GetOrderValue

func (o *OrderBalance) GetOrderValue() float64

GetOrderValue returns the OrderValue field value if set, zero value otherwise.

func (*OrderBalance) GetOrderValueOk

func (o *OrderBalance) GetOrderValueOk() (*float64, bool)

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

func (*OrderBalance) GetProjectedAvailableFund

func (o *OrderBalance) GetProjectedAvailableFund() float64

GetProjectedAvailableFund returns the ProjectedAvailableFund field value if set, zero value otherwise.

func (*OrderBalance) GetProjectedAvailableFundOk

func (o *OrderBalance) GetProjectedAvailableFundOk() (*float64, bool)

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

func (*OrderBalance) GetProjectedBuyingPower

func (o *OrderBalance) GetProjectedBuyingPower() float64

GetProjectedBuyingPower returns the ProjectedBuyingPower field value if set, zero value otherwise.

func (*OrderBalance) GetProjectedBuyingPowerOk

func (o *OrderBalance) GetProjectedBuyingPowerOk() (*float64, bool)

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

func (*OrderBalance) GetProjectedCommission

func (o *OrderBalance) GetProjectedCommission() float64

GetProjectedCommission returns the ProjectedCommission field value if set, zero value otherwise.

func (*OrderBalance) GetProjectedCommissionOk

func (o *OrderBalance) GetProjectedCommissionOk() (*float64, bool)

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

func (*OrderBalance) HasOrderValue

func (o *OrderBalance) HasOrderValue() bool

HasOrderValue returns a boolean if a field has been set.

func (*OrderBalance) HasProjectedAvailableFund

func (o *OrderBalance) HasProjectedAvailableFund() bool

HasProjectedAvailableFund returns a boolean if a field has been set.

func (*OrderBalance) HasProjectedBuyingPower

func (o *OrderBalance) HasProjectedBuyingPower() bool

HasProjectedBuyingPower returns a boolean if a field has been set.

func (*OrderBalance) HasProjectedCommission

func (o *OrderBalance) HasProjectedCommission() bool

HasProjectedCommission returns a boolean if a field has been set.

func (OrderBalance) MarshalJSON

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

func (*OrderBalance) SetOrderValue

func (o *OrderBalance) SetOrderValue(v float64)

SetOrderValue gets a reference to the given float64 and assigns it to the OrderValue field.

func (*OrderBalance) SetProjectedAvailableFund

func (o *OrderBalance) SetProjectedAvailableFund(v float64)

SetProjectedAvailableFund gets a reference to the given float64 and assigns it to the ProjectedAvailableFund field.

func (*OrderBalance) SetProjectedBuyingPower

func (o *OrderBalance) SetProjectedBuyingPower(v float64)

SetProjectedBuyingPower gets a reference to the given float64 and assigns it to the ProjectedBuyingPower field.

func (*OrderBalance) SetProjectedCommission

func (o *OrderBalance) SetProjectedCommission(v float64)

SetProjectedCommission gets a reference to the given float64 and assigns it to the ProjectedCommission field.

func (OrderBalance) ToMap

func (o OrderBalance) ToMap() (map[string]interface{}, error)

type OrderLeg

type OrderLeg struct {
	AskPrice            *float64     `json:"askPrice,omitempty"`
	BidPrice            *float64     `json:"bidPrice,omitempty"`
	LastPrice           *float64     `json:"lastPrice,omitempty"`
	MarkPrice           *float64     `json:"markPrice,omitempty"`
	ProjectedCommission *float64     `json:"projectedCommission,omitempty"`
	Quantity            *float64     `json:"quantity,omitempty"`
	FinalSymbol         *string      `json:"finalSymbol,omitempty"`
	LegId               *float32     `json:"legId,omitempty"`
	AssetType           *AssetType   `json:"assetType,omitempty"`
	Instruction         *Instruction `json:"instruction,omitempty"`
}

OrderLeg struct for OrderLeg

func NewOrderLeg

func NewOrderLeg() *OrderLeg

NewOrderLeg instantiates a new OrderLeg 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 NewOrderLegWithDefaults

func NewOrderLegWithDefaults() *OrderLeg

NewOrderLegWithDefaults instantiates a new OrderLeg 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 (*OrderLeg) GetAskPrice

func (o *OrderLeg) GetAskPrice() float64

GetAskPrice returns the AskPrice field value if set, zero value otherwise.

func (*OrderLeg) GetAskPriceOk

func (o *OrderLeg) GetAskPriceOk() (*float64, bool)

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

func (*OrderLeg) GetAssetType

func (o *OrderLeg) GetAssetType() AssetType

GetAssetType returns the AssetType field value if set, zero value otherwise.

func (*OrderLeg) GetAssetTypeOk

func (o *OrderLeg) GetAssetTypeOk() (*AssetType, bool)

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

func (*OrderLeg) GetBidPrice

func (o *OrderLeg) GetBidPrice() float64

GetBidPrice returns the BidPrice field value if set, zero value otherwise.

func (*OrderLeg) GetBidPriceOk

func (o *OrderLeg) GetBidPriceOk() (*float64, bool)

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

func (*OrderLeg) GetFinalSymbol

func (o *OrderLeg) GetFinalSymbol() string

GetFinalSymbol returns the FinalSymbol field value if set, zero value otherwise.

func (*OrderLeg) GetFinalSymbolOk

func (o *OrderLeg) GetFinalSymbolOk() (*string, bool)

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

func (*OrderLeg) GetInstruction

func (o *OrderLeg) GetInstruction() Instruction

GetInstruction returns the Instruction field value if set, zero value otherwise.

func (*OrderLeg) GetInstructionOk

func (o *OrderLeg) GetInstructionOk() (*Instruction, bool)

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

func (*OrderLeg) GetLastPrice

func (o *OrderLeg) GetLastPrice() float64

GetLastPrice returns the LastPrice field value if set, zero value otherwise.

func (*OrderLeg) GetLastPriceOk

func (o *OrderLeg) GetLastPriceOk() (*float64, bool)

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

func (*OrderLeg) GetLegId

func (o *OrderLeg) GetLegId() float32

GetLegId returns the LegId field value if set, zero value otherwise.

func (*OrderLeg) GetLegIdOk

func (o *OrderLeg) GetLegIdOk() (*float32, bool)

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

func (*OrderLeg) GetMarkPrice

func (o *OrderLeg) GetMarkPrice() float64

GetMarkPrice returns the MarkPrice field value if set, zero value otherwise.

func (*OrderLeg) GetMarkPriceOk

func (o *OrderLeg) GetMarkPriceOk() (*float64, bool)

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

func (*OrderLeg) GetProjectedCommission

func (o *OrderLeg) GetProjectedCommission() float64

GetProjectedCommission returns the ProjectedCommission field value if set, zero value otherwise.

func (*OrderLeg) GetProjectedCommissionOk

func (o *OrderLeg) GetProjectedCommissionOk() (*float64, bool)

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

func (*OrderLeg) GetQuantity

func (o *OrderLeg) GetQuantity() float64

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*OrderLeg) GetQuantityOk

func (o *OrderLeg) GetQuantityOk() (*float64, bool)

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

func (*OrderLeg) HasAskPrice

func (o *OrderLeg) HasAskPrice() bool

HasAskPrice returns a boolean if a field has been set.

func (*OrderLeg) HasAssetType

func (o *OrderLeg) HasAssetType() bool

HasAssetType returns a boolean if a field has been set.

func (*OrderLeg) HasBidPrice

func (o *OrderLeg) HasBidPrice() bool

HasBidPrice returns a boolean if a field has been set.

func (*OrderLeg) HasFinalSymbol

func (o *OrderLeg) HasFinalSymbol() bool

HasFinalSymbol returns a boolean if a field has been set.

func (*OrderLeg) HasInstruction

func (o *OrderLeg) HasInstruction() bool

HasInstruction returns a boolean if a field has been set.

func (*OrderLeg) HasLastPrice

func (o *OrderLeg) HasLastPrice() bool

HasLastPrice returns a boolean if a field has been set.

func (*OrderLeg) HasLegId

func (o *OrderLeg) HasLegId() bool

HasLegId returns a boolean if a field has been set.

func (*OrderLeg) HasMarkPrice

func (o *OrderLeg) HasMarkPrice() bool

HasMarkPrice returns a boolean if a field has been set.

func (*OrderLeg) HasProjectedCommission

func (o *OrderLeg) HasProjectedCommission() bool

HasProjectedCommission returns a boolean if a field has been set.

func (*OrderLeg) HasQuantity

func (o *OrderLeg) HasQuantity() bool

HasQuantity returns a boolean if a field has been set.

func (OrderLeg) MarshalJSON

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

func (*OrderLeg) SetAskPrice

func (o *OrderLeg) SetAskPrice(v float64)

SetAskPrice gets a reference to the given float64 and assigns it to the AskPrice field.

func (*OrderLeg) SetAssetType

func (o *OrderLeg) SetAssetType(v AssetType)

SetAssetType gets a reference to the given AssetType and assigns it to the AssetType field.

func (*OrderLeg) SetBidPrice

func (o *OrderLeg) SetBidPrice(v float64)

SetBidPrice gets a reference to the given float64 and assigns it to the BidPrice field.

func (*OrderLeg) SetFinalSymbol

func (o *OrderLeg) SetFinalSymbol(v string)

SetFinalSymbol gets a reference to the given string and assigns it to the FinalSymbol field.

func (*OrderLeg) SetInstruction

func (o *OrderLeg) SetInstruction(v Instruction)

SetInstruction gets a reference to the given Instruction and assigns it to the Instruction field.

func (*OrderLeg) SetLastPrice

func (o *OrderLeg) SetLastPrice(v float64)

SetLastPrice gets a reference to the given float64 and assigns it to the LastPrice field.

func (*OrderLeg) SetLegId

func (o *OrderLeg) SetLegId(v float32)

SetLegId gets a reference to the given float32 and assigns it to the LegId field.

func (*OrderLeg) SetMarkPrice

func (o *OrderLeg) SetMarkPrice(v float64)

SetMarkPrice gets a reference to the given float64 and assigns it to the MarkPrice field.

func (*OrderLeg) SetProjectedCommission

func (o *OrderLeg) SetProjectedCommission(v float64)

SetProjectedCommission gets a reference to the given float64 and assigns it to the ProjectedCommission field.

func (*OrderLeg) SetQuantity

func (o *OrderLeg) SetQuantity(v float64)

SetQuantity gets a reference to the given float64 and assigns it to the Quantity field.

func (OrderLeg) ToMap

func (o OrderLeg) ToMap() (map[string]interface{}, error)

type OrderLegCollection

type OrderLegCollection struct {
	OrderLegType   *string             `json:"orderLegType,omitempty"`
	LegId          *int64              `json:"legId,omitempty"`
	Instrument     *AccountsInstrument `json:"instrument,omitempty"`
	Instruction    *Instruction        `json:"instruction,omitempty"`
	PositionEffect *string             `json:"positionEffect,omitempty"`
	Quantity       *float64            `json:"quantity,omitempty"`
	QuantityType   *string             `json:"quantityType,omitempty"`
	DivCapGains    *string             `json:"divCapGains,omitempty"`
	ToSymbol       *string             `json:"toSymbol,omitempty"`
}

OrderLegCollection struct for OrderLegCollection

func NewOrderLegCollection

func NewOrderLegCollection() *OrderLegCollection

NewOrderLegCollection instantiates a new OrderLegCollection 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 NewOrderLegCollectionWithDefaults

func NewOrderLegCollectionWithDefaults() *OrderLegCollection

NewOrderLegCollectionWithDefaults instantiates a new OrderLegCollection 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 (*OrderLegCollection) GetDivCapGains

func (o *OrderLegCollection) GetDivCapGains() string

GetDivCapGains returns the DivCapGains field value if set, zero value otherwise.

func (*OrderLegCollection) GetDivCapGainsOk

func (o *OrderLegCollection) GetDivCapGainsOk() (*string, bool)

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

func (*OrderLegCollection) GetInstruction

func (o *OrderLegCollection) GetInstruction() Instruction

GetInstruction returns the Instruction field value if set, zero value otherwise.

func (*OrderLegCollection) GetInstructionOk

func (o *OrderLegCollection) GetInstructionOk() (*Instruction, bool)

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

func (*OrderLegCollection) GetInstrument

func (o *OrderLegCollection) GetInstrument() AccountsInstrument

GetInstrument returns the Instrument field value if set, zero value otherwise.

func (*OrderLegCollection) GetInstrumentOk

func (o *OrderLegCollection) GetInstrumentOk() (*AccountsInstrument, bool)

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

func (*OrderLegCollection) GetLegId

func (o *OrderLegCollection) GetLegId() int64

GetLegId returns the LegId field value if set, zero value otherwise.

func (*OrderLegCollection) GetLegIdOk

func (o *OrderLegCollection) GetLegIdOk() (*int64, bool)

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

func (*OrderLegCollection) GetOrderLegType

func (o *OrderLegCollection) GetOrderLegType() string

GetOrderLegType returns the OrderLegType field value if set, zero value otherwise.

func (*OrderLegCollection) GetOrderLegTypeOk

func (o *OrderLegCollection) GetOrderLegTypeOk() (*string, bool)

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

func (*OrderLegCollection) GetPositionEffect

func (o *OrderLegCollection) GetPositionEffect() string

GetPositionEffect returns the PositionEffect field value if set, zero value otherwise.

func (*OrderLegCollection) GetPositionEffectOk

func (o *OrderLegCollection) GetPositionEffectOk() (*string, bool)

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

func (*OrderLegCollection) GetQuantity

func (o *OrderLegCollection) GetQuantity() float64

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*OrderLegCollection) GetQuantityOk

func (o *OrderLegCollection) GetQuantityOk() (*float64, bool)

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

func (*OrderLegCollection) GetQuantityType

func (o *OrderLegCollection) GetQuantityType() string

GetQuantityType returns the QuantityType field value if set, zero value otherwise.

func (*OrderLegCollection) GetQuantityTypeOk

func (o *OrderLegCollection) GetQuantityTypeOk() (*string, bool)

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

func (*OrderLegCollection) GetToSymbol

func (o *OrderLegCollection) GetToSymbol() string

GetToSymbol returns the ToSymbol field value if set, zero value otherwise.

func (*OrderLegCollection) GetToSymbolOk

func (o *OrderLegCollection) GetToSymbolOk() (*string, bool)

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

func (*OrderLegCollection) HasDivCapGains

func (o *OrderLegCollection) HasDivCapGains() bool

HasDivCapGains returns a boolean if a field has been set.

func (*OrderLegCollection) HasInstruction

func (o *OrderLegCollection) HasInstruction() bool

HasInstruction returns a boolean if a field has been set.

func (*OrderLegCollection) HasInstrument

func (o *OrderLegCollection) HasInstrument() bool

HasInstrument returns a boolean if a field has been set.

func (*OrderLegCollection) HasLegId

func (o *OrderLegCollection) HasLegId() bool

HasLegId returns a boolean if a field has been set.

func (*OrderLegCollection) HasOrderLegType

func (o *OrderLegCollection) HasOrderLegType() bool

HasOrderLegType returns a boolean if a field has been set.

func (*OrderLegCollection) HasPositionEffect

func (o *OrderLegCollection) HasPositionEffect() bool

HasPositionEffect returns a boolean if a field has been set.

func (*OrderLegCollection) HasQuantity

func (o *OrderLegCollection) HasQuantity() bool

HasQuantity returns a boolean if a field has been set.

func (*OrderLegCollection) HasQuantityType

func (o *OrderLegCollection) HasQuantityType() bool

HasQuantityType returns a boolean if a field has been set.

func (*OrderLegCollection) HasToSymbol

func (o *OrderLegCollection) HasToSymbol() bool

HasToSymbol returns a boolean if a field has been set.

func (OrderLegCollection) MarshalJSON

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

func (*OrderLegCollection) SetDivCapGains

func (o *OrderLegCollection) SetDivCapGains(v string)

SetDivCapGains gets a reference to the given string and assigns it to the DivCapGains field.

func (*OrderLegCollection) SetInstruction

func (o *OrderLegCollection) SetInstruction(v Instruction)

SetInstruction gets a reference to the given Instruction and assigns it to the Instruction field.

func (*OrderLegCollection) SetInstrument

func (o *OrderLegCollection) SetInstrument(v AccountsInstrument)

SetInstrument gets a reference to the given AccountsInstrument and assigns it to the Instrument field.

func (*OrderLegCollection) SetLegId

func (o *OrderLegCollection) SetLegId(v int64)

SetLegId gets a reference to the given int64 and assigns it to the LegId field.

func (*OrderLegCollection) SetOrderLegType

func (o *OrderLegCollection) SetOrderLegType(v string)

SetOrderLegType gets a reference to the given string and assigns it to the OrderLegType field.

func (*OrderLegCollection) SetPositionEffect

func (o *OrderLegCollection) SetPositionEffect(v string)

SetPositionEffect gets a reference to the given string and assigns it to the PositionEffect field.

func (*OrderLegCollection) SetQuantity

func (o *OrderLegCollection) SetQuantity(v float64)

SetQuantity gets a reference to the given float64 and assigns it to the Quantity field.

func (*OrderLegCollection) SetQuantityType

func (o *OrderLegCollection) SetQuantityType(v string)

SetQuantityType gets a reference to the given string and assigns it to the QuantityType field.

func (*OrderLegCollection) SetToSymbol

func (o *OrderLegCollection) SetToSymbol(v string)

SetToSymbol gets a reference to the given string and assigns it to the ToSymbol field.

func (OrderLegCollection) ToMap

func (o OrderLegCollection) ToMap() (map[string]interface{}, error)

type OrderRequest

type OrderRequest struct {
	Session                  *Session                  `json:"session,omitempty"`
	Duration                 *Duration                 `json:"duration,omitempty"`
	OrderType                *OrderTypeRequest         `json:"orderType,omitempty"`
	CancelTime               *time.Time                `json:"cancelTime,omitempty"`
	ComplexOrderStrategyType *ComplexOrderStrategyType `json:"complexOrderStrategyType,omitempty"`
	Quantity                 *float64                  `json:"quantity,omitempty"`
	FilledQuantity           *float64                  `json:"filledQuantity,omitempty"`
	RemainingQuantity        *float64                  `json:"remainingQuantity,omitempty"`
	DestinationLinkName      *string                   `json:"destinationLinkName,omitempty"`
	ReleaseTime              *time.Time                `json:"releaseTime,omitempty"`
	StopPrice                *float64                  `json:"stopPrice,omitempty"`
	StopPriceLinkBasis       *StopPriceLinkBasis       `json:"stopPriceLinkBasis,omitempty"`
	StopPriceLinkType        *StopPriceLinkType        `json:"stopPriceLinkType,omitempty"`
	StopPriceOffset          *float64                  `json:"stopPriceOffset,omitempty"`
	StopType                 *StopType                 `json:"stopType,omitempty"`
	PriceLinkBasis           *PriceLinkBasis           `json:"priceLinkBasis,omitempty"`
	PriceLinkType            *PriceLinkType            `json:"priceLinkType,omitempty"`
	Price                    *float64                  `json:"price,omitempty"`
	TaxLotMethod             *TaxLotMethod             `json:"taxLotMethod,omitempty"`
	OrderLegCollection       []OrderLegCollection      `json:"orderLegCollection,omitempty"`
	ActivationPrice          *float64                  `json:"activationPrice,omitempty"`
	SpecialInstruction       *SpecialInstruction       `json:"specialInstruction,omitempty"`
	OrderStrategyType        *OrderStrategyType        `json:"orderStrategyType,omitempty"`
	OrderId                  *int64                    `json:"orderId,omitempty"`
	Cancelable               *bool                     `json:"cancelable,omitempty"`
	Editable                 *bool                     `json:"editable,omitempty"`
	Status                   *Status                   `json:"status,omitempty"`
	EnteredTime              *time.Time                `json:"enteredTime,omitempty"`
	CloseTime                *time.Time                `json:"closeTime,omitempty"`
	AccountNumber            *int64                    `json:"accountNumber,omitempty"`
	OrderActivityCollection  []OrderActivity           `json:"orderActivityCollection,omitempty"`
	ReplacingOrderCollection []OrderRequest            `json:"replacingOrderCollection,omitempty"`
	ChildOrderStrategies     []OrderRequest            `json:"childOrderStrategies,omitempty"`
	StatusDescription        *string                   `json:"statusDescription,omitempty"`
}

OrderRequest struct for OrderRequest

func NewOrderRequest

func NewOrderRequest() *OrderRequest

NewOrderRequest instantiates a new OrderRequest 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 NewOrderRequestWithDefaults

func NewOrderRequestWithDefaults() *OrderRequest

NewOrderRequestWithDefaults instantiates a new OrderRequest 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 (*OrderRequest) GetAccountNumber

func (o *OrderRequest) GetAccountNumber() int64

GetAccountNumber returns the AccountNumber field value if set, zero value otherwise.

func (*OrderRequest) GetAccountNumberOk

func (o *OrderRequest) GetAccountNumberOk() (*int64, bool)

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

func (*OrderRequest) GetActivationPrice

func (o *OrderRequest) GetActivationPrice() float64

GetActivationPrice returns the ActivationPrice field value if set, zero value otherwise.

func (*OrderRequest) GetActivationPriceOk

func (o *OrderRequest) GetActivationPriceOk() (*float64, bool)

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

func (*OrderRequest) GetCancelTime

func (o *OrderRequest) GetCancelTime() time.Time

GetCancelTime returns the CancelTime field value if set, zero value otherwise.

func (*OrderRequest) GetCancelTimeOk

func (o *OrderRequest) GetCancelTimeOk() (*time.Time, bool)

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

func (*OrderRequest) GetCancelable

func (o *OrderRequest) GetCancelable() bool

GetCancelable returns the Cancelable field value if set, zero value otherwise.

func (*OrderRequest) GetCancelableOk

func (o *OrderRequest) GetCancelableOk() (*bool, bool)

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

func (*OrderRequest) GetChildOrderStrategies

func (o *OrderRequest) GetChildOrderStrategies() []OrderRequest

GetChildOrderStrategies returns the ChildOrderStrategies field value if set, zero value otherwise.

func (*OrderRequest) GetChildOrderStrategiesOk

func (o *OrderRequest) GetChildOrderStrategiesOk() ([]OrderRequest, bool)

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

func (*OrderRequest) GetCloseTime

func (o *OrderRequest) GetCloseTime() time.Time

GetCloseTime returns the CloseTime field value if set, zero value otherwise.

func (*OrderRequest) GetCloseTimeOk

func (o *OrderRequest) GetCloseTimeOk() (*time.Time, bool)

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

func (*OrderRequest) GetComplexOrderStrategyType

func (o *OrderRequest) GetComplexOrderStrategyType() ComplexOrderStrategyType

GetComplexOrderStrategyType returns the ComplexOrderStrategyType field value if set, zero value otherwise.

func (*OrderRequest) GetComplexOrderStrategyTypeOk

func (o *OrderRequest) GetComplexOrderStrategyTypeOk() (*ComplexOrderStrategyType, bool)

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

func (*OrderRequest) GetDestinationLinkName

func (o *OrderRequest) GetDestinationLinkName() string

GetDestinationLinkName returns the DestinationLinkName field value if set, zero value otherwise.

func (*OrderRequest) GetDestinationLinkNameOk

func (o *OrderRequest) GetDestinationLinkNameOk() (*string, bool)

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

func (*OrderRequest) GetDuration

func (o *OrderRequest) GetDuration() Duration

GetDuration returns the Duration field value if set, zero value otherwise.

func (*OrderRequest) GetDurationOk

func (o *OrderRequest) GetDurationOk() (*Duration, bool)

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

func (*OrderRequest) GetEditable

func (o *OrderRequest) GetEditable() bool

GetEditable returns the Editable field value if set, zero value otherwise.

func (*OrderRequest) GetEditableOk

func (o *OrderRequest) GetEditableOk() (*bool, bool)

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

func (*OrderRequest) GetEnteredTime

func (o *OrderRequest) GetEnteredTime() time.Time

GetEnteredTime returns the EnteredTime field value if set, zero value otherwise.

func (*OrderRequest) GetEnteredTimeOk

func (o *OrderRequest) GetEnteredTimeOk() (*time.Time, bool)

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

func (*OrderRequest) GetFilledQuantity

func (o *OrderRequest) GetFilledQuantity() float64

GetFilledQuantity returns the FilledQuantity field value if set, zero value otherwise.

func (*OrderRequest) GetFilledQuantityOk

func (o *OrderRequest) GetFilledQuantityOk() (*float64, bool)

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

func (*OrderRequest) GetOrderActivityCollection

func (o *OrderRequest) GetOrderActivityCollection() []OrderActivity

GetOrderActivityCollection returns the OrderActivityCollection field value if set, zero value otherwise.

func (*OrderRequest) GetOrderActivityCollectionOk

func (o *OrderRequest) GetOrderActivityCollectionOk() ([]OrderActivity, bool)

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

func (*OrderRequest) GetOrderId

func (o *OrderRequest) GetOrderId() int64

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

func (*OrderRequest) GetOrderIdOk

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

func (o *OrderRequest) GetOrderLegCollection() []OrderLegCollection

GetOrderLegCollection returns the OrderLegCollection field value if set, zero value otherwise.

func (*OrderRequest) GetOrderLegCollectionOk

func (o *OrderRequest) GetOrderLegCollectionOk() ([]OrderLegCollection, bool)

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

func (*OrderRequest) GetOrderStrategyType

func (o *OrderRequest) GetOrderStrategyType() OrderStrategyType

GetOrderStrategyType returns the OrderStrategyType field value if set, zero value otherwise.

func (*OrderRequest) GetOrderStrategyTypeOk

func (o *OrderRequest) GetOrderStrategyTypeOk() (*OrderStrategyType, bool)

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

func (*OrderRequest) GetOrderType

func (o *OrderRequest) GetOrderType() OrderTypeRequest

GetOrderType returns the OrderType field value if set, zero value otherwise.

func (*OrderRequest) GetOrderTypeOk

func (o *OrderRequest) GetOrderTypeOk() (*OrderTypeRequest, bool)

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

func (*OrderRequest) GetPrice

func (o *OrderRequest) GetPrice() float64

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

func (*OrderRequest) GetPriceLinkBasis

func (o *OrderRequest) GetPriceLinkBasis() PriceLinkBasis

GetPriceLinkBasis returns the PriceLinkBasis field value if set, zero value otherwise.

func (*OrderRequest) GetPriceLinkBasisOk

func (o *OrderRequest) GetPriceLinkBasisOk() (*PriceLinkBasis, bool)

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

func (*OrderRequest) GetPriceLinkType

func (o *OrderRequest) GetPriceLinkType() PriceLinkType

GetPriceLinkType returns the PriceLinkType field value if set, zero value otherwise.

func (*OrderRequest) GetPriceLinkTypeOk

func (o *OrderRequest) GetPriceLinkTypeOk() (*PriceLinkType, bool)

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

func (*OrderRequest) GetPriceOk

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

func (o *OrderRequest) GetQuantity() float64

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*OrderRequest) GetQuantityOk

func (o *OrderRequest) GetQuantityOk() (*float64, bool)

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

func (*OrderRequest) GetReleaseTime

func (o *OrderRequest) GetReleaseTime() time.Time

GetReleaseTime returns the ReleaseTime field value if set, zero value otherwise.

func (*OrderRequest) GetReleaseTimeOk

func (o *OrderRequest) GetReleaseTimeOk() (*time.Time, bool)

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

func (*OrderRequest) GetRemainingQuantity

func (o *OrderRequest) GetRemainingQuantity() float64

GetRemainingQuantity returns the RemainingQuantity field value if set, zero value otherwise.

func (*OrderRequest) GetRemainingQuantityOk

func (o *OrderRequest) GetRemainingQuantityOk() (*float64, bool)

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

func (*OrderRequest) GetReplacingOrderCollection

func (o *OrderRequest) GetReplacingOrderCollection() []OrderRequest

GetReplacingOrderCollection returns the ReplacingOrderCollection field value if set, zero value otherwise.

func (*OrderRequest) GetReplacingOrderCollectionOk

func (o *OrderRequest) GetReplacingOrderCollectionOk() ([]OrderRequest, bool)

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

func (*OrderRequest) GetSession

func (o *OrderRequest) GetSession() Session

GetSession returns the Session field value if set, zero value otherwise.

func (*OrderRequest) GetSessionOk

func (o *OrderRequest) GetSessionOk() (*Session, bool)

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

func (*OrderRequest) GetSpecialInstruction

func (o *OrderRequest) GetSpecialInstruction() SpecialInstruction

GetSpecialInstruction returns the SpecialInstruction field value if set, zero value otherwise.

func (*OrderRequest) GetSpecialInstructionOk

func (o *OrderRequest) GetSpecialInstructionOk() (*SpecialInstruction, bool)

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

func (*OrderRequest) GetStatus

func (o *OrderRequest) GetStatus() Status

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

func (*OrderRequest) GetStatusDescription

func (o *OrderRequest) GetStatusDescription() string

GetStatusDescription returns the StatusDescription field value if set, zero value otherwise.

func (*OrderRequest) GetStatusDescriptionOk

func (o *OrderRequest) GetStatusDescriptionOk() (*string, bool)

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

func (*OrderRequest) GetStatusOk

func (o *OrderRequest) GetStatusOk() (*Status, 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 (*OrderRequest) GetStopPrice

func (o *OrderRequest) GetStopPrice() float64

GetStopPrice returns the StopPrice field value if set, zero value otherwise.

func (*OrderRequest) GetStopPriceLinkBasis

func (o *OrderRequest) GetStopPriceLinkBasis() StopPriceLinkBasis

GetStopPriceLinkBasis returns the StopPriceLinkBasis field value if set, zero value otherwise.

func (*OrderRequest) GetStopPriceLinkBasisOk

func (o *OrderRequest) GetStopPriceLinkBasisOk() (*StopPriceLinkBasis, bool)

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

func (*OrderRequest) GetStopPriceLinkType

func (o *OrderRequest) GetStopPriceLinkType() StopPriceLinkType

GetStopPriceLinkType returns the StopPriceLinkType field value if set, zero value otherwise.

func (*OrderRequest) GetStopPriceLinkTypeOk

func (o *OrderRequest) GetStopPriceLinkTypeOk() (*StopPriceLinkType, bool)

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

func (*OrderRequest) GetStopPriceOffset

func (o *OrderRequest) GetStopPriceOffset() float64

GetStopPriceOffset returns the StopPriceOffset field value if set, zero value otherwise.

func (*OrderRequest) GetStopPriceOffsetOk

func (o *OrderRequest) GetStopPriceOffsetOk() (*float64, bool)

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

func (*OrderRequest) GetStopPriceOk

func (o *OrderRequest) GetStopPriceOk() (*float64, bool)

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

func (*OrderRequest) GetStopType

func (o *OrderRequest) GetStopType() StopType

GetStopType returns the StopType field value if set, zero value otherwise.

func (*OrderRequest) GetStopTypeOk

func (o *OrderRequest) GetStopTypeOk() (*StopType, bool)

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

func (*OrderRequest) GetTaxLotMethod

func (o *OrderRequest) GetTaxLotMethod() TaxLotMethod

GetTaxLotMethod returns the TaxLotMethod field value if set, zero value otherwise.

func (*OrderRequest) GetTaxLotMethodOk

func (o *OrderRequest) GetTaxLotMethodOk() (*TaxLotMethod, bool)

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

func (*OrderRequest) HasAccountNumber

func (o *OrderRequest) HasAccountNumber() bool

HasAccountNumber returns a boolean if a field has been set.

func (*OrderRequest) HasActivationPrice

func (o *OrderRequest) HasActivationPrice() bool

HasActivationPrice returns a boolean if a field has been set.

func (*OrderRequest) HasCancelTime

func (o *OrderRequest) HasCancelTime() bool

HasCancelTime returns a boolean if a field has been set.

func (*OrderRequest) HasCancelable

func (o *OrderRequest) HasCancelable() bool

HasCancelable returns a boolean if a field has been set.

func (*OrderRequest) HasChildOrderStrategies

func (o *OrderRequest) HasChildOrderStrategies() bool

HasChildOrderStrategies returns a boolean if a field has been set.

func (*OrderRequest) HasCloseTime

func (o *OrderRequest) HasCloseTime() bool

HasCloseTime returns a boolean if a field has been set.

func (*OrderRequest) HasComplexOrderStrategyType

func (o *OrderRequest) HasComplexOrderStrategyType() bool

HasComplexOrderStrategyType returns a boolean if a field has been set.

func (*OrderRequest) HasDestinationLinkName

func (o *OrderRequest) HasDestinationLinkName() bool

HasDestinationLinkName returns a boolean if a field has been set.

func (*OrderRequest) HasDuration

func (o *OrderRequest) HasDuration() bool

HasDuration returns a boolean if a field has been set.

func (*OrderRequest) HasEditable

func (o *OrderRequest) HasEditable() bool

HasEditable returns a boolean if a field has been set.

func (*OrderRequest) HasEnteredTime

func (o *OrderRequest) HasEnteredTime() bool

HasEnteredTime returns a boolean if a field has been set.

func (*OrderRequest) HasFilledQuantity

func (o *OrderRequest) HasFilledQuantity() bool

HasFilledQuantity returns a boolean if a field has been set.

func (*OrderRequest) HasOrderActivityCollection

func (o *OrderRequest) HasOrderActivityCollection() bool

HasOrderActivityCollection returns a boolean if a field has been set.

func (*OrderRequest) HasOrderId

func (o *OrderRequest) HasOrderId() bool

HasOrderId returns a boolean if a field has been set.

func (*OrderRequest) HasOrderLegCollection

func (o *OrderRequest) HasOrderLegCollection() bool

HasOrderLegCollection returns a boolean if a field has been set.

func (*OrderRequest) HasOrderStrategyType

func (o *OrderRequest) HasOrderStrategyType() bool

HasOrderStrategyType returns a boolean if a field has been set.

func (*OrderRequest) HasOrderType

func (o *OrderRequest) HasOrderType() bool

HasOrderType returns a boolean if a field has been set.

func (*OrderRequest) HasPrice

func (o *OrderRequest) HasPrice() bool

HasPrice returns a boolean if a field has been set.

func (*OrderRequest) HasPriceLinkBasis

func (o *OrderRequest) HasPriceLinkBasis() bool

HasPriceLinkBasis returns a boolean if a field has been set.

func (*OrderRequest) HasPriceLinkType

func (o *OrderRequest) HasPriceLinkType() bool

HasPriceLinkType returns a boolean if a field has been set.

func (*OrderRequest) HasQuantity

func (o *OrderRequest) HasQuantity() bool

HasQuantity returns a boolean if a field has been set.

func (*OrderRequest) HasReleaseTime

func (o *OrderRequest) HasReleaseTime() bool

HasReleaseTime returns a boolean if a field has been set.

func (*OrderRequest) HasRemainingQuantity

func (o *OrderRequest) HasRemainingQuantity() bool

HasRemainingQuantity returns a boolean if a field has been set.

func (*OrderRequest) HasReplacingOrderCollection

func (o *OrderRequest) HasReplacingOrderCollection() bool

HasReplacingOrderCollection returns a boolean if a field has been set.

func (*OrderRequest) HasSession

func (o *OrderRequest) HasSession() bool

HasSession returns a boolean if a field has been set.

func (*OrderRequest) HasSpecialInstruction

func (o *OrderRequest) HasSpecialInstruction() bool

HasSpecialInstruction returns a boolean if a field has been set.

func (*OrderRequest) HasStatus

func (o *OrderRequest) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*OrderRequest) HasStatusDescription

func (o *OrderRequest) HasStatusDescription() bool

HasStatusDescription returns a boolean if a field has been set.

func (*OrderRequest) HasStopPrice

func (o *OrderRequest) HasStopPrice() bool

HasStopPrice returns a boolean if a field has been set.

func (*OrderRequest) HasStopPriceLinkBasis

func (o *OrderRequest) HasStopPriceLinkBasis() bool

HasStopPriceLinkBasis returns a boolean if a field has been set.

func (*OrderRequest) HasStopPriceLinkType

func (o *OrderRequest) HasStopPriceLinkType() bool

HasStopPriceLinkType returns a boolean if a field has been set.

func (*OrderRequest) HasStopPriceOffset

func (o *OrderRequest) HasStopPriceOffset() bool

HasStopPriceOffset returns a boolean if a field has been set.

func (*OrderRequest) HasStopType

func (o *OrderRequest) HasStopType() bool

HasStopType returns a boolean if a field has been set.

func (*OrderRequest) HasTaxLotMethod

func (o *OrderRequest) HasTaxLotMethod() bool

HasTaxLotMethod returns a boolean if a field has been set.

func (OrderRequest) MarshalJSON

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

func (*OrderRequest) SetAccountNumber

func (o *OrderRequest) SetAccountNumber(v int64)

SetAccountNumber gets a reference to the given int64 and assigns it to the AccountNumber field.

func (*OrderRequest) SetActivationPrice

func (o *OrderRequest) SetActivationPrice(v float64)

SetActivationPrice gets a reference to the given float64 and assigns it to the ActivationPrice field.

func (*OrderRequest) SetCancelTime

func (o *OrderRequest) SetCancelTime(v time.Time)

SetCancelTime gets a reference to the given time.Time and assigns it to the CancelTime field.

func (*OrderRequest) SetCancelable

func (o *OrderRequest) SetCancelable(v bool)

SetCancelable gets a reference to the given bool and assigns it to the Cancelable field.

func (*OrderRequest) SetChildOrderStrategies

func (o *OrderRequest) SetChildOrderStrategies(v []OrderRequest)

SetChildOrderStrategies gets a reference to the given []OrderRequest and assigns it to the ChildOrderStrategies field.

func (*OrderRequest) SetCloseTime

func (o *OrderRequest) SetCloseTime(v time.Time)

SetCloseTime gets a reference to the given time.Time and assigns it to the CloseTime field.

func (*OrderRequest) SetComplexOrderStrategyType

func (o *OrderRequest) SetComplexOrderStrategyType(v ComplexOrderStrategyType)

SetComplexOrderStrategyType gets a reference to the given ComplexOrderStrategyType and assigns it to the ComplexOrderStrategyType field.

func (*OrderRequest) SetDestinationLinkName

func (o *OrderRequest) SetDestinationLinkName(v string)

SetDestinationLinkName gets a reference to the given string and assigns it to the DestinationLinkName field.

func (*OrderRequest) SetDuration

func (o *OrderRequest) SetDuration(v Duration)

SetDuration gets a reference to the given Duration and assigns it to the Duration field.

func (*OrderRequest) SetEditable

func (o *OrderRequest) SetEditable(v bool)

SetEditable gets a reference to the given bool and assigns it to the Editable field.

func (*OrderRequest) SetEnteredTime

func (o *OrderRequest) SetEnteredTime(v time.Time)

SetEnteredTime gets a reference to the given time.Time and assigns it to the EnteredTime field.

func (*OrderRequest) SetFilledQuantity

func (o *OrderRequest) SetFilledQuantity(v float64)

SetFilledQuantity gets a reference to the given float64 and assigns it to the FilledQuantity field.

func (*OrderRequest) SetOrderActivityCollection

func (o *OrderRequest) SetOrderActivityCollection(v []OrderActivity)

SetOrderActivityCollection gets a reference to the given []OrderActivity and assigns it to the OrderActivityCollection field.

func (*OrderRequest) SetOrderId

func (o *OrderRequest) SetOrderId(v int64)

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

func (*OrderRequest) SetOrderLegCollection

func (o *OrderRequest) SetOrderLegCollection(v []OrderLegCollection)

SetOrderLegCollection gets a reference to the given []OrderLegCollection and assigns it to the OrderLegCollection field.

func (*OrderRequest) SetOrderStrategyType

func (o *OrderRequest) SetOrderStrategyType(v OrderStrategyType)

SetOrderStrategyType gets a reference to the given OrderStrategyType and assigns it to the OrderStrategyType field.

func (*OrderRequest) SetOrderType

func (o *OrderRequest) SetOrderType(v OrderTypeRequest)

SetOrderType gets a reference to the given OrderTypeRequest and assigns it to the OrderType field.

func (*OrderRequest) SetPrice

func (o *OrderRequest) SetPrice(v float64)

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

func (*OrderRequest) SetPriceLinkBasis

func (o *OrderRequest) SetPriceLinkBasis(v PriceLinkBasis)

SetPriceLinkBasis gets a reference to the given PriceLinkBasis and assigns it to the PriceLinkBasis field.

func (*OrderRequest) SetPriceLinkType

func (o *OrderRequest) SetPriceLinkType(v PriceLinkType)

SetPriceLinkType gets a reference to the given PriceLinkType and assigns it to the PriceLinkType field.

func (*OrderRequest) SetQuantity

func (o *OrderRequest) SetQuantity(v float64)

SetQuantity gets a reference to the given float64 and assigns it to the Quantity field.

func (*OrderRequest) SetReleaseTime

func (o *OrderRequest) SetReleaseTime(v time.Time)

SetReleaseTime gets a reference to the given time.Time and assigns it to the ReleaseTime field.

func (*OrderRequest) SetRemainingQuantity

func (o *OrderRequest) SetRemainingQuantity(v float64)

SetRemainingQuantity gets a reference to the given float64 and assigns it to the RemainingQuantity field.

func (*OrderRequest) SetReplacingOrderCollection

func (o *OrderRequest) SetReplacingOrderCollection(v []OrderRequest)

SetReplacingOrderCollection gets a reference to the given []OrderRequest and assigns it to the ReplacingOrderCollection field.

func (*OrderRequest) SetSession

func (o *OrderRequest) SetSession(v Session)

SetSession gets a reference to the given Session and assigns it to the Session field.

func (*OrderRequest) SetSpecialInstruction

func (o *OrderRequest) SetSpecialInstruction(v SpecialInstruction)

SetSpecialInstruction gets a reference to the given SpecialInstruction and assigns it to the SpecialInstruction field.

func (*OrderRequest) SetStatus

func (o *OrderRequest) SetStatus(v Status)

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

func (*OrderRequest) SetStatusDescription

func (o *OrderRequest) SetStatusDescription(v string)

SetStatusDescription gets a reference to the given string and assigns it to the StatusDescription field.

func (*OrderRequest) SetStopPrice

func (o *OrderRequest) SetStopPrice(v float64)

SetStopPrice gets a reference to the given float64 and assigns it to the StopPrice field.

func (*OrderRequest) SetStopPriceLinkBasis

func (o *OrderRequest) SetStopPriceLinkBasis(v StopPriceLinkBasis)

SetStopPriceLinkBasis gets a reference to the given StopPriceLinkBasis and assigns it to the StopPriceLinkBasis field.

func (*OrderRequest) SetStopPriceLinkType

func (o *OrderRequest) SetStopPriceLinkType(v StopPriceLinkType)

SetStopPriceLinkType gets a reference to the given StopPriceLinkType and assigns it to the StopPriceLinkType field.

func (*OrderRequest) SetStopPriceOffset

func (o *OrderRequest) SetStopPriceOffset(v float64)

SetStopPriceOffset gets a reference to the given float64 and assigns it to the StopPriceOffset field.

func (*OrderRequest) SetStopType

func (o *OrderRequest) SetStopType(v StopType)

SetStopType gets a reference to the given StopType and assigns it to the StopType field.

func (*OrderRequest) SetTaxLotMethod

func (o *OrderRequest) SetTaxLotMethod(v TaxLotMethod)

SetTaxLotMethod gets a reference to the given TaxLotMethod and assigns it to the TaxLotMethod field.

func (OrderRequest) ToMap

func (o OrderRequest) ToMap() (map[string]interface{}, error)

type OrderStrategy

type OrderStrategy struct {
	AccountNumber          *string                   `json:"accountNumber,omitempty"`
	AdvancedOrderType      *string                   `json:"advancedOrderType,omitempty"`
	CloseTime              *time.Time                `json:"closeTime,omitempty"`
	EnteredTime            *time.Time                `json:"enteredTime,omitempty"`
	OrderBalance           *OrderBalance             `json:"orderBalance,omitempty"`
	OrderStrategyType      *OrderStrategyType        `json:"orderStrategyType,omitempty"`
	OrderVersion           *float32                  `json:"orderVersion,omitempty"`
	Session                *Session                  `json:"session,omitempty"`
	Status                 *ApiOrderStatus           `json:"status,omitempty"`
	AllOrNone              *bool                     `json:"allOrNone,omitempty"`
	Discretionary          *bool                     `json:"discretionary,omitempty"`
	Duration               *Duration                 `json:"duration,omitempty"`
	FilledQuantity         *float64                  `json:"filledQuantity,omitempty"`
	OrderType              *OrderType                `json:"orderType,omitempty"`
	OrderValue             *float64                  `json:"orderValue,omitempty"`
	Price                  *float64                  `json:"price,omitempty"`
	Quantity               *float64                  `json:"quantity,omitempty"`
	RemainingQuantity      *float64                  `json:"remainingQuantity,omitempty"`
	SellNonMarginableFirst *bool                     `json:"sellNonMarginableFirst,omitempty"`
	SettlementInstruction  *SettlementInstruction    `json:"settlementInstruction,omitempty"`
	Strategy               *ComplexOrderStrategyType `json:"strategy,omitempty"`
	AmountIndicator        *AmountIndicator          `json:"amountIndicator,omitempty"`
	OrderLegs              []OrderLeg                `json:"orderLegs,omitempty"`
}

OrderStrategy struct for OrderStrategy

func NewOrderStrategy

func NewOrderStrategy() *OrderStrategy

NewOrderStrategy instantiates a new OrderStrategy 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 NewOrderStrategyWithDefaults

func NewOrderStrategyWithDefaults() *OrderStrategy

NewOrderStrategyWithDefaults instantiates a new OrderStrategy 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 (*OrderStrategy) GetAccountNumber

func (o *OrderStrategy) GetAccountNumber() string

GetAccountNumber returns the AccountNumber field value if set, zero value otherwise.

func (*OrderStrategy) GetAccountNumberOk

func (o *OrderStrategy) GetAccountNumberOk() (*string, bool)

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

func (*OrderStrategy) GetAdvancedOrderType

func (o *OrderStrategy) GetAdvancedOrderType() string

GetAdvancedOrderType returns the AdvancedOrderType field value if set, zero value otherwise.

func (*OrderStrategy) GetAdvancedOrderTypeOk

func (o *OrderStrategy) GetAdvancedOrderTypeOk() (*string, bool)

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

func (*OrderStrategy) GetAllOrNone

func (o *OrderStrategy) GetAllOrNone() bool

GetAllOrNone returns the AllOrNone field value if set, zero value otherwise.

func (*OrderStrategy) GetAllOrNoneOk

func (o *OrderStrategy) GetAllOrNoneOk() (*bool, bool)

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

func (*OrderStrategy) GetAmountIndicator

func (o *OrderStrategy) GetAmountIndicator() AmountIndicator

GetAmountIndicator returns the AmountIndicator field value if set, zero value otherwise.

func (*OrderStrategy) GetAmountIndicatorOk

func (o *OrderStrategy) GetAmountIndicatorOk() (*AmountIndicator, bool)

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

func (*OrderStrategy) GetCloseTime

func (o *OrderStrategy) GetCloseTime() time.Time

GetCloseTime returns the CloseTime field value if set, zero value otherwise.

func (*OrderStrategy) GetCloseTimeOk

func (o *OrderStrategy) GetCloseTimeOk() (*time.Time, bool)

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

func (*OrderStrategy) GetDiscretionary

func (o *OrderStrategy) GetDiscretionary() bool

GetDiscretionary returns the Discretionary field value if set, zero value otherwise.

func (*OrderStrategy) GetDiscretionaryOk

func (o *OrderStrategy) GetDiscretionaryOk() (*bool, bool)

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

func (*OrderStrategy) GetDuration

func (o *OrderStrategy) GetDuration() Duration

GetDuration returns the Duration field value if set, zero value otherwise.

func (*OrderStrategy) GetDurationOk

func (o *OrderStrategy) GetDurationOk() (*Duration, bool)

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

func (*OrderStrategy) GetEnteredTime

func (o *OrderStrategy) GetEnteredTime() time.Time

GetEnteredTime returns the EnteredTime field value if set, zero value otherwise.

func (*OrderStrategy) GetEnteredTimeOk

func (o *OrderStrategy) GetEnteredTimeOk() (*time.Time, bool)

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

func (*OrderStrategy) GetFilledQuantity

func (o *OrderStrategy) GetFilledQuantity() float64

GetFilledQuantity returns the FilledQuantity field value if set, zero value otherwise.

func (*OrderStrategy) GetFilledQuantityOk

func (o *OrderStrategy) GetFilledQuantityOk() (*float64, bool)

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

func (*OrderStrategy) GetOrderBalance

func (o *OrderStrategy) GetOrderBalance() OrderBalance

GetOrderBalance returns the OrderBalance field value if set, zero value otherwise.

func (*OrderStrategy) GetOrderBalanceOk

func (o *OrderStrategy) GetOrderBalanceOk() (*OrderBalance, bool)

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

func (*OrderStrategy) GetOrderLegs

func (o *OrderStrategy) GetOrderLegs() []OrderLeg

GetOrderLegs returns the OrderLegs field value if set, zero value otherwise.

func (*OrderStrategy) GetOrderLegsOk

func (o *OrderStrategy) GetOrderLegsOk() ([]OrderLeg, bool)

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

func (*OrderStrategy) GetOrderStrategyType

func (o *OrderStrategy) GetOrderStrategyType() OrderStrategyType

GetOrderStrategyType returns the OrderStrategyType field value if set, zero value otherwise.

func (*OrderStrategy) GetOrderStrategyTypeOk

func (o *OrderStrategy) GetOrderStrategyTypeOk() (*OrderStrategyType, bool)

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

func (*OrderStrategy) GetOrderType

func (o *OrderStrategy) GetOrderType() OrderType

GetOrderType returns the OrderType field value if set, zero value otherwise.

func (*OrderStrategy) GetOrderTypeOk

func (o *OrderStrategy) GetOrderTypeOk() (*OrderType, bool)

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

func (*OrderStrategy) GetOrderValue

func (o *OrderStrategy) GetOrderValue() float64

GetOrderValue returns the OrderValue field value if set, zero value otherwise.

func (*OrderStrategy) GetOrderValueOk

func (o *OrderStrategy) GetOrderValueOk() (*float64, bool)

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

func (*OrderStrategy) GetOrderVersion

func (o *OrderStrategy) GetOrderVersion() float32

GetOrderVersion returns the OrderVersion field value if set, zero value otherwise.

func (*OrderStrategy) GetOrderVersionOk

func (o *OrderStrategy) GetOrderVersionOk() (*float32, bool)

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

func (*OrderStrategy) GetPrice

func (o *OrderStrategy) GetPrice() float64

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

func (*OrderStrategy) GetPriceOk

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

func (o *OrderStrategy) GetQuantity() float64

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*OrderStrategy) GetQuantityOk

func (o *OrderStrategy) GetQuantityOk() (*float64, bool)

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

func (*OrderStrategy) GetRemainingQuantity

func (o *OrderStrategy) GetRemainingQuantity() float64

GetRemainingQuantity returns the RemainingQuantity field value if set, zero value otherwise.

func (*OrderStrategy) GetRemainingQuantityOk

func (o *OrderStrategy) GetRemainingQuantityOk() (*float64, bool)

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

func (*OrderStrategy) GetSellNonMarginableFirst

func (o *OrderStrategy) GetSellNonMarginableFirst() bool

GetSellNonMarginableFirst returns the SellNonMarginableFirst field value if set, zero value otherwise.

func (*OrderStrategy) GetSellNonMarginableFirstOk

func (o *OrderStrategy) GetSellNonMarginableFirstOk() (*bool, bool)

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

func (*OrderStrategy) GetSession

func (o *OrderStrategy) GetSession() Session

GetSession returns the Session field value if set, zero value otherwise.

func (*OrderStrategy) GetSessionOk

func (o *OrderStrategy) GetSessionOk() (*Session, bool)

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

func (*OrderStrategy) GetSettlementInstruction

func (o *OrderStrategy) GetSettlementInstruction() SettlementInstruction

GetSettlementInstruction returns the SettlementInstruction field value if set, zero value otherwise.

func (*OrderStrategy) GetSettlementInstructionOk

func (o *OrderStrategy) GetSettlementInstructionOk() (*SettlementInstruction, bool)

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

func (*OrderStrategy) GetStatus

func (o *OrderStrategy) GetStatus() ApiOrderStatus

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

func (*OrderStrategy) GetStatusOk

func (o *OrderStrategy) GetStatusOk() (*ApiOrderStatus, 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 (*OrderStrategy) GetStrategy

func (o *OrderStrategy) GetStrategy() ComplexOrderStrategyType

GetStrategy returns the Strategy field value if set, zero value otherwise.

func (*OrderStrategy) GetStrategyOk

func (o *OrderStrategy) GetStrategyOk() (*ComplexOrderStrategyType, bool)

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

func (*OrderStrategy) HasAccountNumber

func (o *OrderStrategy) HasAccountNumber() bool

HasAccountNumber returns a boolean if a field has been set.

func (*OrderStrategy) HasAdvancedOrderType

func (o *OrderStrategy) HasAdvancedOrderType() bool

HasAdvancedOrderType returns a boolean if a field has been set.

func (*OrderStrategy) HasAllOrNone

func (o *OrderStrategy) HasAllOrNone() bool

HasAllOrNone returns a boolean if a field has been set.

func (*OrderStrategy) HasAmountIndicator

func (o *OrderStrategy) HasAmountIndicator() bool

HasAmountIndicator returns a boolean if a field has been set.

func (*OrderStrategy) HasCloseTime

func (o *OrderStrategy) HasCloseTime() bool

HasCloseTime returns a boolean if a field has been set.

func (*OrderStrategy) HasDiscretionary

func (o *OrderStrategy) HasDiscretionary() bool

HasDiscretionary returns a boolean if a field has been set.

func (*OrderStrategy) HasDuration

func (o *OrderStrategy) HasDuration() bool

HasDuration returns a boolean if a field has been set.

func (*OrderStrategy) HasEnteredTime

func (o *OrderStrategy) HasEnteredTime() bool

HasEnteredTime returns a boolean if a field has been set.

func (*OrderStrategy) HasFilledQuantity

func (o *OrderStrategy) HasFilledQuantity() bool

HasFilledQuantity returns a boolean if a field has been set.

func (*OrderStrategy) HasOrderBalance

func (o *OrderStrategy) HasOrderBalance() bool

HasOrderBalance returns a boolean if a field has been set.

func (*OrderStrategy) HasOrderLegs

func (o *OrderStrategy) HasOrderLegs() bool

HasOrderLegs returns a boolean if a field has been set.

func (*OrderStrategy) HasOrderStrategyType

func (o *OrderStrategy) HasOrderStrategyType() bool

HasOrderStrategyType returns a boolean if a field has been set.

func (*OrderStrategy) HasOrderType

func (o *OrderStrategy) HasOrderType() bool

HasOrderType returns a boolean if a field has been set.

func (*OrderStrategy) HasOrderValue

func (o *OrderStrategy) HasOrderValue() bool

HasOrderValue returns a boolean if a field has been set.

func (*OrderStrategy) HasOrderVersion

func (o *OrderStrategy) HasOrderVersion() bool

HasOrderVersion returns a boolean if a field has been set.

func (*OrderStrategy) HasPrice

func (o *OrderStrategy) HasPrice() bool

HasPrice returns a boolean if a field has been set.

func (*OrderStrategy) HasQuantity

func (o *OrderStrategy) HasQuantity() bool

HasQuantity returns a boolean if a field has been set.

func (*OrderStrategy) HasRemainingQuantity

func (o *OrderStrategy) HasRemainingQuantity() bool

HasRemainingQuantity returns a boolean if a field has been set.

func (*OrderStrategy) HasSellNonMarginableFirst

func (o *OrderStrategy) HasSellNonMarginableFirst() bool

HasSellNonMarginableFirst returns a boolean if a field has been set.

func (*OrderStrategy) HasSession

func (o *OrderStrategy) HasSession() bool

HasSession returns a boolean if a field has been set.

func (*OrderStrategy) HasSettlementInstruction

func (o *OrderStrategy) HasSettlementInstruction() bool

HasSettlementInstruction returns a boolean if a field has been set.

func (*OrderStrategy) HasStatus

func (o *OrderStrategy) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*OrderStrategy) HasStrategy

func (o *OrderStrategy) HasStrategy() bool

HasStrategy returns a boolean if a field has been set.

func (OrderStrategy) MarshalJSON

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

func (*OrderStrategy) SetAccountNumber

func (o *OrderStrategy) SetAccountNumber(v string)

SetAccountNumber gets a reference to the given string and assigns it to the AccountNumber field.

func (*OrderStrategy) SetAdvancedOrderType

func (o *OrderStrategy) SetAdvancedOrderType(v string)

SetAdvancedOrderType gets a reference to the given string and assigns it to the AdvancedOrderType field.

func (*OrderStrategy) SetAllOrNone

func (o *OrderStrategy) SetAllOrNone(v bool)

SetAllOrNone gets a reference to the given bool and assigns it to the AllOrNone field.

func (*OrderStrategy) SetAmountIndicator

func (o *OrderStrategy) SetAmountIndicator(v AmountIndicator)

SetAmountIndicator gets a reference to the given AmountIndicator and assigns it to the AmountIndicator field.

func (*OrderStrategy) SetCloseTime

func (o *OrderStrategy) SetCloseTime(v time.Time)

SetCloseTime gets a reference to the given time.Time and assigns it to the CloseTime field.

func (*OrderStrategy) SetDiscretionary

func (o *OrderStrategy) SetDiscretionary(v bool)

SetDiscretionary gets a reference to the given bool and assigns it to the Discretionary field.

func (*OrderStrategy) SetDuration

func (o *OrderStrategy) SetDuration(v Duration)

SetDuration gets a reference to the given Duration and assigns it to the Duration field.

func (*OrderStrategy) SetEnteredTime

func (o *OrderStrategy) SetEnteredTime(v time.Time)

SetEnteredTime gets a reference to the given time.Time and assigns it to the EnteredTime field.

func (*OrderStrategy) SetFilledQuantity

func (o *OrderStrategy) SetFilledQuantity(v float64)

SetFilledQuantity gets a reference to the given float64 and assigns it to the FilledQuantity field.

func (*OrderStrategy) SetOrderBalance

func (o *OrderStrategy) SetOrderBalance(v OrderBalance)

SetOrderBalance gets a reference to the given OrderBalance and assigns it to the OrderBalance field.

func (*OrderStrategy) SetOrderLegs

func (o *OrderStrategy) SetOrderLegs(v []OrderLeg)

SetOrderLegs gets a reference to the given []OrderLeg and assigns it to the OrderLegs field.

func (*OrderStrategy) SetOrderStrategyType

func (o *OrderStrategy) SetOrderStrategyType(v OrderStrategyType)

SetOrderStrategyType gets a reference to the given OrderStrategyType and assigns it to the OrderStrategyType field.

func (*OrderStrategy) SetOrderType

func (o *OrderStrategy) SetOrderType(v OrderType)

SetOrderType gets a reference to the given OrderType and assigns it to the OrderType field.

func (*OrderStrategy) SetOrderValue

func (o *OrderStrategy) SetOrderValue(v float64)

SetOrderValue gets a reference to the given float64 and assigns it to the OrderValue field.

func (*OrderStrategy) SetOrderVersion

func (o *OrderStrategy) SetOrderVersion(v float32)

SetOrderVersion gets a reference to the given float32 and assigns it to the OrderVersion field.

func (*OrderStrategy) SetPrice

func (o *OrderStrategy) SetPrice(v float64)

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

func (*OrderStrategy) SetQuantity

func (o *OrderStrategy) SetQuantity(v float64)

SetQuantity gets a reference to the given float64 and assigns it to the Quantity field.

func (*OrderStrategy) SetRemainingQuantity

func (o *OrderStrategy) SetRemainingQuantity(v float64)

SetRemainingQuantity gets a reference to the given float64 and assigns it to the RemainingQuantity field.

func (*OrderStrategy) SetSellNonMarginableFirst

func (o *OrderStrategy) SetSellNonMarginableFirst(v bool)

SetSellNonMarginableFirst gets a reference to the given bool and assigns it to the SellNonMarginableFirst field.

func (*OrderStrategy) SetSession

func (o *OrderStrategy) SetSession(v Session)

SetSession gets a reference to the given Session and assigns it to the Session field.

func (*OrderStrategy) SetSettlementInstruction

func (o *OrderStrategy) SetSettlementInstruction(v SettlementInstruction)

SetSettlementInstruction gets a reference to the given SettlementInstruction and assigns it to the SettlementInstruction field.

func (*OrderStrategy) SetStatus

func (o *OrderStrategy) SetStatus(v ApiOrderStatus)

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

func (*OrderStrategy) SetStrategy

func (o *OrderStrategy) SetStrategy(v ComplexOrderStrategyType)

SetStrategy gets a reference to the given ComplexOrderStrategyType and assigns it to the Strategy field.

func (OrderStrategy) ToMap

func (o OrderStrategy) ToMap() (map[string]interface{}, error)

type OrderStrategyType

type OrderStrategyType string

OrderStrategyType the model 'OrderStrategyType'

const (
	ORDERSTRATEGYTYPE_SINGLE       OrderStrategyType = "SINGLE"
	ORDERSTRATEGYTYPE_CANCEL       OrderStrategyType = "CANCEL"
	ORDERSTRATEGYTYPE_RECALL       OrderStrategyType = "RECALL"
	ORDERSTRATEGYTYPE_PAIR         OrderStrategyType = "PAIR"
	ORDERSTRATEGYTYPE_FLATTEN      OrderStrategyType = "FLATTEN"
	ORDERSTRATEGYTYPE_TWO_DAY_SWAP OrderStrategyType = "TWO_DAY_SWAP"
	ORDERSTRATEGYTYPE_BLAST_ALL    OrderStrategyType = "BLAST_ALL"
	ORDERSTRATEGYTYPE_OCO          OrderStrategyType = "OCO"
	ORDERSTRATEGYTYPE_TRIGGER      OrderStrategyType = "TRIGGER"
)

List of orderStrategyType

func NewOrderStrategyTypeFromValue

func NewOrderStrategyTypeFromValue(v string) (*OrderStrategyType, error)

NewOrderStrategyTypeFromValue returns a pointer to a valid OrderStrategyType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (OrderStrategyType) IsValid

func (v OrderStrategyType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (OrderStrategyType) Ptr

Ptr returns reference to orderStrategyType value

func (*OrderStrategyType) UnmarshalJSON

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

type OrderType

type OrderType string

OrderType the model 'OrderType'

const (
	ORDERTYPE_MARKET              OrderType = "MARKET"
	ORDERTYPE_LIMIT               OrderType = "LIMIT"
	ORDERTYPE_STOP                OrderType = "STOP"
	ORDERTYPE_STOP_LIMIT          OrderType = "STOP_LIMIT"
	ORDERTYPE_TRAILING_STOP       OrderType = "TRAILING_STOP"
	ORDERTYPE_CABINET             OrderType = "CABINET"
	ORDERTYPE_NON_MARKETABLE      OrderType = "NON_MARKETABLE"
	ORDERTYPE_MARKET_ON_CLOSE     OrderType = "MARKET_ON_CLOSE"
	ORDERTYPE_EXERCISE            OrderType = "EXERCISE"
	ORDERTYPE_TRAILING_STOP_LIMIT OrderType = "TRAILING_STOP_LIMIT"
	ORDERTYPE_NET_DEBIT           OrderType = "NET_DEBIT"
	ORDERTYPE_NET_CREDIT          OrderType = "NET_CREDIT"
	ORDERTYPE_NET_ZERO            OrderType = "NET_ZERO"
	ORDERTYPE_LIMIT_ON_CLOSE      OrderType = "LIMIT_ON_CLOSE"
	ORDERTYPE_UNKNOWN             OrderType = "UNKNOWN"
)

List of orderType

func NewOrderTypeFromValue

func NewOrderTypeFromValue(v string) (*OrderType, error)

NewOrderTypeFromValue returns a pointer to a valid OrderType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (OrderType) IsValid

func (v OrderType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (OrderType) Ptr

func (v OrderType) Ptr() *OrderType

Ptr returns reference to orderType value

func (*OrderType) UnmarshalJSON

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

type OrderTypeRequest

type OrderTypeRequest string

OrderTypeRequest Same as orderType, but does not have UNKNOWN since this type is not allowed as an input

const (
	ORDERTYPEREQUEST_MARKET              OrderTypeRequest = "MARKET"
	ORDERTYPEREQUEST_LIMIT               OrderTypeRequest = "LIMIT"
	ORDERTYPEREQUEST_STOP                OrderTypeRequest = "STOP"
	ORDERTYPEREQUEST_STOP_LIMIT          OrderTypeRequest = "STOP_LIMIT"
	ORDERTYPEREQUEST_TRAILING_STOP       OrderTypeRequest = "TRAILING_STOP"
	ORDERTYPEREQUEST_CABINET             OrderTypeRequest = "CABINET"
	ORDERTYPEREQUEST_NON_MARKETABLE      OrderTypeRequest = "NON_MARKETABLE"
	ORDERTYPEREQUEST_MARKET_ON_CLOSE     OrderTypeRequest = "MARKET_ON_CLOSE"
	ORDERTYPEREQUEST_EXERCISE            OrderTypeRequest = "EXERCISE"
	ORDERTYPEREQUEST_TRAILING_STOP_LIMIT OrderTypeRequest = "TRAILING_STOP_LIMIT"
	ORDERTYPEREQUEST_NET_DEBIT           OrderTypeRequest = "NET_DEBIT"
	ORDERTYPEREQUEST_NET_CREDIT          OrderTypeRequest = "NET_CREDIT"
	ORDERTYPEREQUEST_NET_ZERO            OrderTypeRequest = "NET_ZERO"
	ORDERTYPEREQUEST_LIMIT_ON_CLOSE      OrderTypeRequest = "LIMIT_ON_CLOSE"
)

List of orderTypeRequest

func NewOrderTypeRequestFromValue

func NewOrderTypeRequestFromValue(v string) (*OrderTypeRequest, error)

NewOrderTypeRequestFromValue returns a pointer to a valid OrderTypeRequest for the value passed as argument, or an error if the value passed is not allowed by the enum

func (OrderTypeRequest) IsValid

func (v OrderTypeRequest) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (OrderTypeRequest) Ptr

Ptr returns reference to orderTypeRequest value

func (*OrderTypeRequest) UnmarshalJSON

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

type OrderValidationDetail

type OrderValidationDetail struct {
	ValidationRuleName *string        `json:"validationRuleName,omitempty"`
	Message            *string        `json:"message,omitempty"`
	ActivityMessage    *string        `json:"activityMessage,omitempty"`
	OriginalSeverity   *APIRuleAction `json:"originalSeverity,omitempty"`
	OverrideName       *string        `json:"overrideName,omitempty"`
	OverrideSeverity   *APIRuleAction `json:"overrideSeverity,omitempty"`
}

OrderValidationDetail struct for OrderValidationDetail

func NewOrderValidationDetail

func NewOrderValidationDetail() *OrderValidationDetail

NewOrderValidationDetail instantiates a new OrderValidationDetail 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 NewOrderValidationDetailWithDefaults

func NewOrderValidationDetailWithDefaults() *OrderValidationDetail

NewOrderValidationDetailWithDefaults instantiates a new OrderValidationDetail 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 (*OrderValidationDetail) GetActivityMessage

func (o *OrderValidationDetail) GetActivityMessage() string

GetActivityMessage returns the ActivityMessage field value if set, zero value otherwise.

func (*OrderValidationDetail) GetActivityMessageOk

func (o *OrderValidationDetail) GetActivityMessageOk() (*string, bool)

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

func (*OrderValidationDetail) GetMessage

func (o *OrderValidationDetail) GetMessage() string

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

func (*OrderValidationDetail) GetMessageOk

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

func (o *OrderValidationDetail) GetOriginalSeverity() APIRuleAction

GetOriginalSeverity returns the OriginalSeverity field value if set, zero value otherwise.

func (*OrderValidationDetail) GetOriginalSeverityOk

func (o *OrderValidationDetail) GetOriginalSeverityOk() (*APIRuleAction, bool)

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

func (*OrderValidationDetail) GetOverrideName

func (o *OrderValidationDetail) GetOverrideName() string

GetOverrideName returns the OverrideName field value if set, zero value otherwise.

func (*OrderValidationDetail) GetOverrideNameOk

func (o *OrderValidationDetail) GetOverrideNameOk() (*string, bool)

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

func (*OrderValidationDetail) GetOverrideSeverity

func (o *OrderValidationDetail) GetOverrideSeverity() APIRuleAction

GetOverrideSeverity returns the OverrideSeverity field value if set, zero value otherwise.

func (*OrderValidationDetail) GetOverrideSeverityOk

func (o *OrderValidationDetail) GetOverrideSeverityOk() (*APIRuleAction, bool)

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

func (*OrderValidationDetail) GetValidationRuleName

func (o *OrderValidationDetail) GetValidationRuleName() string

GetValidationRuleName returns the ValidationRuleName field value if set, zero value otherwise.

func (*OrderValidationDetail) GetValidationRuleNameOk

func (o *OrderValidationDetail) GetValidationRuleNameOk() (*string, bool)

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

func (*OrderValidationDetail) HasActivityMessage

func (o *OrderValidationDetail) HasActivityMessage() bool

HasActivityMessage returns a boolean if a field has been set.

func (*OrderValidationDetail) HasMessage

func (o *OrderValidationDetail) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*OrderValidationDetail) HasOriginalSeverity

func (o *OrderValidationDetail) HasOriginalSeverity() bool

HasOriginalSeverity returns a boolean if a field has been set.

func (*OrderValidationDetail) HasOverrideName

func (o *OrderValidationDetail) HasOverrideName() bool

HasOverrideName returns a boolean if a field has been set.

func (*OrderValidationDetail) HasOverrideSeverity

func (o *OrderValidationDetail) HasOverrideSeverity() bool

HasOverrideSeverity returns a boolean if a field has been set.

func (*OrderValidationDetail) HasValidationRuleName

func (o *OrderValidationDetail) HasValidationRuleName() bool

HasValidationRuleName returns a boolean if a field has been set.

func (OrderValidationDetail) MarshalJSON

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

func (*OrderValidationDetail) SetActivityMessage

func (o *OrderValidationDetail) SetActivityMessage(v string)

SetActivityMessage gets a reference to the given string and assigns it to the ActivityMessage field.

func (*OrderValidationDetail) SetMessage

func (o *OrderValidationDetail) SetMessage(v string)

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

func (*OrderValidationDetail) SetOriginalSeverity

func (o *OrderValidationDetail) SetOriginalSeverity(v APIRuleAction)

SetOriginalSeverity gets a reference to the given APIRuleAction and assigns it to the OriginalSeverity field.

func (*OrderValidationDetail) SetOverrideName

func (o *OrderValidationDetail) SetOverrideName(v string)

SetOverrideName gets a reference to the given string and assigns it to the OverrideName field.

func (*OrderValidationDetail) SetOverrideSeverity

func (o *OrderValidationDetail) SetOverrideSeverity(v APIRuleAction)

SetOverrideSeverity gets a reference to the given APIRuleAction and assigns it to the OverrideSeverity field.

func (*OrderValidationDetail) SetValidationRuleName

func (o *OrderValidationDetail) SetValidationRuleName(v string)

SetValidationRuleName gets a reference to the given string and assigns it to the ValidationRuleName field.

func (OrderValidationDetail) ToMap

func (o OrderValidationDetail) ToMap() (map[string]interface{}, error)

type OrderValidationResult

type OrderValidationResult struct {
	Alerts  []OrderValidationDetail `json:"alerts,omitempty"`
	Accepts []OrderValidationDetail `json:"accepts,omitempty"`
	Rejects []OrderValidationDetail `json:"rejects,omitempty"`
	Reviews []OrderValidationDetail `json:"reviews,omitempty"`
	Warns   []OrderValidationDetail `json:"warns,omitempty"`
}

OrderValidationResult struct for OrderValidationResult

func NewOrderValidationResult

func NewOrderValidationResult() *OrderValidationResult

NewOrderValidationResult instantiates a new OrderValidationResult 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 NewOrderValidationResultWithDefaults

func NewOrderValidationResultWithDefaults() *OrderValidationResult

NewOrderValidationResultWithDefaults instantiates a new OrderValidationResult 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 (*OrderValidationResult) GetAccepts

func (o *OrderValidationResult) GetAccepts() []OrderValidationDetail

GetAccepts returns the Accepts field value if set, zero value otherwise.

func (*OrderValidationResult) GetAcceptsOk

func (o *OrderValidationResult) GetAcceptsOk() ([]OrderValidationDetail, bool)

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

func (*OrderValidationResult) GetAlerts

GetAlerts returns the Alerts field value if set, zero value otherwise.

func (*OrderValidationResult) GetAlertsOk

func (o *OrderValidationResult) GetAlertsOk() ([]OrderValidationDetail, bool)

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

func (*OrderValidationResult) GetRejects

func (o *OrderValidationResult) GetRejects() []OrderValidationDetail

GetRejects returns the Rejects field value if set, zero value otherwise.

func (*OrderValidationResult) GetRejectsOk

func (o *OrderValidationResult) GetRejectsOk() ([]OrderValidationDetail, bool)

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

func (*OrderValidationResult) GetReviews

func (o *OrderValidationResult) GetReviews() []OrderValidationDetail

GetReviews returns the Reviews field value if set, zero value otherwise.

func (*OrderValidationResult) GetReviewsOk

func (o *OrderValidationResult) GetReviewsOk() ([]OrderValidationDetail, bool)

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

func (*OrderValidationResult) GetWarns

GetWarns returns the Warns field value if set, zero value otherwise.

func (*OrderValidationResult) GetWarnsOk

func (o *OrderValidationResult) GetWarnsOk() ([]OrderValidationDetail, bool)

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

func (*OrderValidationResult) HasAccepts

func (o *OrderValidationResult) HasAccepts() bool

HasAccepts returns a boolean if a field has been set.

func (*OrderValidationResult) HasAlerts

func (o *OrderValidationResult) HasAlerts() bool

HasAlerts returns a boolean if a field has been set.

func (*OrderValidationResult) HasRejects

func (o *OrderValidationResult) HasRejects() bool

HasRejects returns a boolean if a field has been set.

func (*OrderValidationResult) HasReviews

func (o *OrderValidationResult) HasReviews() bool

HasReviews returns a boolean if a field has been set.

func (*OrderValidationResult) HasWarns

func (o *OrderValidationResult) HasWarns() bool

HasWarns returns a boolean if a field has been set.

func (OrderValidationResult) MarshalJSON

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

func (*OrderValidationResult) SetAccepts

func (o *OrderValidationResult) SetAccepts(v []OrderValidationDetail)

SetAccepts gets a reference to the given []OrderValidationDetail and assigns it to the Accepts field.

func (*OrderValidationResult) SetAlerts

func (o *OrderValidationResult) SetAlerts(v []OrderValidationDetail)

SetAlerts gets a reference to the given []OrderValidationDetail and assigns it to the Alerts field.

func (*OrderValidationResult) SetRejects

func (o *OrderValidationResult) SetRejects(v []OrderValidationDetail)

SetRejects gets a reference to the given []OrderValidationDetail and assigns it to the Rejects field.

func (*OrderValidationResult) SetReviews

func (o *OrderValidationResult) SetReviews(v []OrderValidationDetail)

SetReviews gets a reference to the given []OrderValidationDetail and assigns it to the Reviews field.

func (*OrderValidationResult) SetWarns

SetWarns gets a reference to the given []OrderValidationDetail and assigns it to the Warns field.

func (OrderValidationResult) ToMap

func (o OrderValidationResult) ToMap() (map[string]interface{}, error)

type OrdersAPIService

type OrdersAPIService service

OrdersAPIService OrdersAPI service

func (*OrdersAPIService) CancelOrder

func (a *OrdersAPIService) CancelOrder(ctx context.Context, accountNumber string, orderId int64) ApiCancelOrderRequest

CancelOrder Cancel an order for a specific account

Cancel a specific order for a specific account<br>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountNumber The encrypted ID of the account
@param orderId The ID of the order being cancelled
@return ApiCancelOrderRequest

func (*OrdersAPIService) CancelOrderExecute

func (a *OrdersAPIService) CancelOrderExecute(r ApiCancelOrderRequest) (*http.Response, error)

Execute executes the request

func (*OrdersAPIService) GetOrder

func (a *OrdersAPIService) GetOrder(ctx context.Context, accountNumber string, orderId int64) ApiGetOrderRequest

GetOrder Get a specific order by its ID, for a specific account

Get a specific order by its ID, for a specific account

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountNumber The encrypted ID of the account
@param orderId The ID of the order being retrieved.
@return ApiGetOrderRequest

func (*OrdersAPIService) GetOrderExecute

func (a *OrdersAPIService) GetOrderExecute(r ApiGetOrderRequest) (*Order, *http.Response, error)

Execute executes the request

@return Order

func (*OrdersAPIService) GetOrdersByPathParam

func (a *OrdersAPIService) GetOrdersByPathParam(ctx context.Context, accountNumber string) ApiGetOrdersByPathParamRequest

GetOrdersByPathParam Get all orders for a specific account.

All orders for a specific account. Orders retrieved can be filtered based on input parameters below.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountNumber The encrypted ID of the account
@return ApiGetOrdersByPathParamRequest

func (*OrdersAPIService) GetOrdersByPathParamExecute

func (a *OrdersAPIService) GetOrdersByPathParamExecute(r ApiGetOrdersByPathParamRequest) ([]Order, *http.Response, error)

Execute executes the request

@return []Order

func (*OrdersAPIService) GetOrdersByQueryParam

func (a *OrdersAPIService) GetOrdersByQueryParam(ctx context.Context) ApiGetOrdersByQueryParamRequest

GetOrdersByQueryParam Get all orders for all accounts

Get all orders for all accounts<br>

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

func (*OrdersAPIService) GetOrdersByQueryParamExecute

func (a *OrdersAPIService) GetOrdersByQueryParamExecute(r ApiGetOrdersByQueryParamRequest) ([]Order, *http.Response, error)

Execute executes the request

@return []Order

func (*OrdersAPIService) PlaceOrder

func (a *OrdersAPIService) PlaceOrder(ctx context.Context, accountNumber string) ApiPlaceOrderRequest

PlaceOrder Place order for a specific account.

Place an order for a specific account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountNumber The encrypted ID of the account
@return ApiPlaceOrderRequest

func (*OrdersAPIService) PlaceOrderExecute

func (a *OrdersAPIService) PlaceOrderExecute(r ApiPlaceOrderRequest) (*http.Response, error)

Execute executes the request

func (*OrdersAPIService) PreviewOrder

func (a *OrdersAPIService) PreviewOrder(ctx context.Context, accountNumber string) ApiPreviewOrderRequest

PreviewOrder Preview order for a specific account. **Coming Soon**.

Preview an order for a specific account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountNumber The encrypted ID of the account
@return ApiPreviewOrderRequest

func (*OrdersAPIService) PreviewOrderExecute

func (a *OrdersAPIService) PreviewOrderExecute(r ApiPreviewOrderRequest) (*PreviewOrder, *http.Response, error)

Execute executes the request

@return PreviewOrder

func (*OrdersAPIService) ReplaceOrder

func (a *OrdersAPIService) ReplaceOrder(ctx context.Context, accountNumber string, orderId int64) ApiReplaceOrderRequest

ReplaceOrder Replace order for a specific account

Replace an existing order for an account. The existing order will be replaced by the new order. Once replaced, the old order will be canceled and a new order will be created.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountNumber The encrypted ID of the account
@param orderId The ID of the order being retrieved.
@return ApiReplaceOrderRequest

func (*OrdersAPIService) ReplaceOrderExecute

func (a *OrdersAPIService) ReplaceOrderExecute(r ApiReplaceOrderRequest) (*http.Response, error)

Execute executes the request

type Position

type Position struct {
	ShortQuantity                  *float64            `json:"shortQuantity,omitempty"`
	AveragePrice                   *float64            `json:"averagePrice,omitempty"`
	CurrentDayProfitLoss           *float64            `json:"currentDayProfitLoss,omitempty"`
	CurrentDayProfitLossPercentage *float64            `json:"currentDayProfitLossPercentage,omitempty"`
	LongQuantity                   *float64            `json:"longQuantity,omitempty"`
	SettledLongQuantity            *float64            `json:"settledLongQuantity,omitempty"`
	SettledShortQuantity           *float64            `json:"settledShortQuantity,omitempty"`
	AgedQuantity                   *float64            `json:"agedQuantity,omitempty"`
	Instrument                     *AccountsInstrument `json:"instrument,omitempty"`
	MarketValue                    *float64            `json:"marketValue,omitempty"`
	MaintenanceRequirement         *float64            `json:"maintenanceRequirement,omitempty"`
	AverageLongPrice               *float64            `json:"averageLongPrice,omitempty"`
	AverageShortPrice              *float64            `json:"averageShortPrice,omitempty"`
	TaxLotAverageLongPrice         *float64            `json:"taxLotAverageLongPrice,omitempty"`
	TaxLotAverageShortPrice        *float64            `json:"taxLotAverageShortPrice,omitempty"`
	LongOpenProfitLoss             *float64            `json:"longOpenProfitLoss,omitempty"`
	ShortOpenProfitLoss            *float64            `json:"shortOpenProfitLoss,omitempty"`
	PreviousSessionLongQuantity    *float64            `json:"previousSessionLongQuantity,omitempty"`
	PreviousSessionShortQuantity   *float64            `json:"previousSessionShortQuantity,omitempty"`
	CurrentDayCost                 *float64            `json:"currentDayCost,omitempty"`
}

Position struct for Position

func NewPosition

func NewPosition() *Position

NewPosition instantiates a new Position 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 NewPositionWithDefaults

func NewPositionWithDefaults() *Position

NewPositionWithDefaults instantiates a new Position 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 (*Position) GetAgedQuantity

func (o *Position) GetAgedQuantity() float64

GetAgedQuantity returns the AgedQuantity field value if set, zero value otherwise.

func (*Position) GetAgedQuantityOk

func (o *Position) GetAgedQuantityOk() (*float64, bool)

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

func (*Position) GetAverageLongPrice

func (o *Position) GetAverageLongPrice() float64

GetAverageLongPrice returns the AverageLongPrice field value if set, zero value otherwise.

func (*Position) GetAverageLongPriceOk

func (o *Position) GetAverageLongPriceOk() (*float64, bool)

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

func (*Position) GetAveragePrice

func (o *Position) GetAveragePrice() float64

GetAveragePrice returns the AveragePrice field value if set, zero value otherwise.

func (*Position) GetAveragePriceOk

func (o *Position) GetAveragePriceOk() (*float64, bool)

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

func (*Position) GetAverageShortPrice

func (o *Position) GetAverageShortPrice() float64

GetAverageShortPrice returns the AverageShortPrice field value if set, zero value otherwise.

func (*Position) GetAverageShortPriceOk

func (o *Position) GetAverageShortPriceOk() (*float64, bool)

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

func (*Position) GetCurrentDayCost

func (o *Position) GetCurrentDayCost() float64

GetCurrentDayCost returns the CurrentDayCost field value if set, zero value otherwise.

func (*Position) GetCurrentDayCostOk

func (o *Position) GetCurrentDayCostOk() (*float64, bool)

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

func (*Position) GetCurrentDayProfitLoss

func (o *Position) GetCurrentDayProfitLoss() float64

GetCurrentDayProfitLoss returns the CurrentDayProfitLoss field value if set, zero value otherwise.

func (*Position) GetCurrentDayProfitLossOk

func (o *Position) GetCurrentDayProfitLossOk() (*float64, bool)

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

func (*Position) GetCurrentDayProfitLossPercentage

func (o *Position) GetCurrentDayProfitLossPercentage() float64

GetCurrentDayProfitLossPercentage returns the CurrentDayProfitLossPercentage field value if set, zero value otherwise.

func (*Position) GetCurrentDayProfitLossPercentageOk

func (o *Position) GetCurrentDayProfitLossPercentageOk() (*float64, bool)

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

func (*Position) GetInstrument

func (o *Position) GetInstrument() AccountsInstrument

GetInstrument returns the Instrument field value if set, zero value otherwise.

func (*Position) GetInstrumentOk

func (o *Position) GetInstrumentOk() (*AccountsInstrument, bool)

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

func (*Position) GetLongOpenProfitLoss

func (o *Position) GetLongOpenProfitLoss() float64

GetLongOpenProfitLoss returns the LongOpenProfitLoss field value if set, zero value otherwise.

func (*Position) GetLongOpenProfitLossOk

func (o *Position) GetLongOpenProfitLossOk() (*float64, bool)

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

func (*Position) GetLongQuantity

func (o *Position) GetLongQuantity() float64

GetLongQuantity returns the LongQuantity field value if set, zero value otherwise.

func (*Position) GetLongQuantityOk

func (o *Position) GetLongQuantityOk() (*float64, bool)

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

func (*Position) GetMaintenanceRequirement

func (o *Position) GetMaintenanceRequirement() float64

GetMaintenanceRequirement returns the MaintenanceRequirement field value if set, zero value otherwise.

func (*Position) GetMaintenanceRequirementOk

func (o *Position) GetMaintenanceRequirementOk() (*float64, bool)

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

func (*Position) GetMarketValue

func (o *Position) GetMarketValue() float64

GetMarketValue returns the MarketValue field value if set, zero value otherwise.

func (*Position) GetMarketValueOk

func (o *Position) GetMarketValueOk() (*float64, bool)

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

func (*Position) GetPreviousSessionLongQuantity

func (o *Position) GetPreviousSessionLongQuantity() float64

GetPreviousSessionLongQuantity returns the PreviousSessionLongQuantity field value if set, zero value otherwise.

func (*Position) GetPreviousSessionLongQuantityOk

func (o *Position) GetPreviousSessionLongQuantityOk() (*float64, bool)

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

func (*Position) GetPreviousSessionShortQuantity

func (o *Position) GetPreviousSessionShortQuantity() float64

GetPreviousSessionShortQuantity returns the PreviousSessionShortQuantity field value if set, zero value otherwise.

func (*Position) GetPreviousSessionShortQuantityOk

func (o *Position) GetPreviousSessionShortQuantityOk() (*float64, bool)

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

func (*Position) GetSettledLongQuantity

func (o *Position) GetSettledLongQuantity() float64

GetSettledLongQuantity returns the SettledLongQuantity field value if set, zero value otherwise.

func (*Position) GetSettledLongQuantityOk

func (o *Position) GetSettledLongQuantityOk() (*float64, bool)

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

func (*Position) GetSettledShortQuantity

func (o *Position) GetSettledShortQuantity() float64

GetSettledShortQuantity returns the SettledShortQuantity field value if set, zero value otherwise.

func (*Position) GetSettledShortQuantityOk

func (o *Position) GetSettledShortQuantityOk() (*float64, bool)

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

func (*Position) GetShortOpenProfitLoss

func (o *Position) GetShortOpenProfitLoss() float64

GetShortOpenProfitLoss returns the ShortOpenProfitLoss field value if set, zero value otherwise.

func (*Position) GetShortOpenProfitLossOk

func (o *Position) GetShortOpenProfitLossOk() (*float64, bool)

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

func (*Position) GetShortQuantity

func (o *Position) GetShortQuantity() float64

GetShortQuantity returns the ShortQuantity field value if set, zero value otherwise.

func (*Position) GetShortQuantityOk

func (o *Position) GetShortQuantityOk() (*float64, bool)

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

func (*Position) GetTaxLotAverageLongPrice

func (o *Position) GetTaxLotAverageLongPrice() float64

GetTaxLotAverageLongPrice returns the TaxLotAverageLongPrice field value if set, zero value otherwise.

func (*Position) GetTaxLotAverageLongPriceOk

func (o *Position) GetTaxLotAverageLongPriceOk() (*float64, bool)

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

func (*Position) GetTaxLotAverageShortPrice

func (o *Position) GetTaxLotAverageShortPrice() float64

GetTaxLotAverageShortPrice returns the TaxLotAverageShortPrice field value if set, zero value otherwise.

func (*Position) GetTaxLotAverageShortPriceOk

func (o *Position) GetTaxLotAverageShortPriceOk() (*float64, bool)

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

func (*Position) HasAgedQuantity

func (o *Position) HasAgedQuantity() bool

HasAgedQuantity returns a boolean if a field has been set.

func (*Position) HasAverageLongPrice

func (o *Position) HasAverageLongPrice() bool

HasAverageLongPrice returns a boolean if a field has been set.

func (*Position) HasAveragePrice

func (o *Position) HasAveragePrice() bool

HasAveragePrice returns a boolean if a field has been set.

func (*Position) HasAverageShortPrice

func (o *Position) HasAverageShortPrice() bool

HasAverageShortPrice returns a boolean if a field has been set.

func (*Position) HasCurrentDayCost

func (o *Position) HasCurrentDayCost() bool

HasCurrentDayCost returns a boolean if a field has been set.

func (*Position) HasCurrentDayProfitLoss

func (o *Position) HasCurrentDayProfitLoss() bool

HasCurrentDayProfitLoss returns a boolean if a field has been set.

func (*Position) HasCurrentDayProfitLossPercentage

func (o *Position) HasCurrentDayProfitLossPercentage() bool

HasCurrentDayProfitLossPercentage returns a boolean if a field has been set.

func (*Position) HasInstrument

func (o *Position) HasInstrument() bool

HasInstrument returns a boolean if a field has been set.

func (*Position) HasLongOpenProfitLoss

func (o *Position) HasLongOpenProfitLoss() bool

HasLongOpenProfitLoss returns a boolean if a field has been set.

func (*Position) HasLongQuantity

func (o *Position) HasLongQuantity() bool

HasLongQuantity returns a boolean if a field has been set.

func (*Position) HasMaintenanceRequirement

func (o *Position) HasMaintenanceRequirement() bool

HasMaintenanceRequirement returns a boolean if a field has been set.

func (*Position) HasMarketValue

func (o *Position) HasMarketValue() bool

HasMarketValue returns a boolean if a field has been set.

func (*Position) HasPreviousSessionLongQuantity

func (o *Position) HasPreviousSessionLongQuantity() bool

HasPreviousSessionLongQuantity returns a boolean if a field has been set.

func (*Position) HasPreviousSessionShortQuantity

func (o *Position) HasPreviousSessionShortQuantity() bool

HasPreviousSessionShortQuantity returns a boolean if a field has been set.

func (*Position) HasSettledLongQuantity

func (o *Position) HasSettledLongQuantity() bool

HasSettledLongQuantity returns a boolean if a field has been set.

func (*Position) HasSettledShortQuantity

func (o *Position) HasSettledShortQuantity() bool

HasSettledShortQuantity returns a boolean if a field has been set.

func (*Position) HasShortOpenProfitLoss

func (o *Position) HasShortOpenProfitLoss() bool

HasShortOpenProfitLoss returns a boolean if a field has been set.

func (*Position) HasShortQuantity

func (o *Position) HasShortQuantity() bool

HasShortQuantity returns a boolean if a field has been set.

func (*Position) HasTaxLotAverageLongPrice

func (o *Position) HasTaxLotAverageLongPrice() bool

HasTaxLotAverageLongPrice returns a boolean if a field has been set.

func (*Position) HasTaxLotAverageShortPrice

func (o *Position) HasTaxLotAverageShortPrice() bool

HasTaxLotAverageShortPrice returns a boolean if a field has been set.

func (Position) MarshalJSON

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

func (*Position) SetAgedQuantity

func (o *Position) SetAgedQuantity(v float64)

SetAgedQuantity gets a reference to the given float64 and assigns it to the AgedQuantity field.

func (*Position) SetAverageLongPrice

func (o *Position) SetAverageLongPrice(v float64)

SetAverageLongPrice gets a reference to the given float64 and assigns it to the AverageLongPrice field.

func (*Position) SetAveragePrice

func (o *Position) SetAveragePrice(v float64)

SetAveragePrice gets a reference to the given float64 and assigns it to the AveragePrice field.

func (*Position) SetAverageShortPrice

func (o *Position) SetAverageShortPrice(v float64)

SetAverageShortPrice gets a reference to the given float64 and assigns it to the AverageShortPrice field.

func (*Position) SetCurrentDayCost

func (o *Position) SetCurrentDayCost(v float64)

SetCurrentDayCost gets a reference to the given float64 and assigns it to the CurrentDayCost field.

func (*Position) SetCurrentDayProfitLoss

func (o *Position) SetCurrentDayProfitLoss(v float64)

SetCurrentDayProfitLoss gets a reference to the given float64 and assigns it to the CurrentDayProfitLoss field.

func (*Position) SetCurrentDayProfitLossPercentage

func (o *Position) SetCurrentDayProfitLossPercentage(v float64)

SetCurrentDayProfitLossPercentage gets a reference to the given float64 and assigns it to the CurrentDayProfitLossPercentage field.

func (*Position) SetInstrument

func (o *Position) SetInstrument(v AccountsInstrument)

SetInstrument gets a reference to the given AccountsInstrument and assigns it to the Instrument field.

func (*Position) SetLongOpenProfitLoss

func (o *Position) SetLongOpenProfitLoss(v float64)

SetLongOpenProfitLoss gets a reference to the given float64 and assigns it to the LongOpenProfitLoss field.

func (*Position) SetLongQuantity

func (o *Position) SetLongQuantity(v float64)

SetLongQuantity gets a reference to the given float64 and assigns it to the LongQuantity field.

func (*Position) SetMaintenanceRequirement

func (o *Position) SetMaintenanceRequirement(v float64)

SetMaintenanceRequirement gets a reference to the given float64 and assigns it to the MaintenanceRequirement field.

func (*Position) SetMarketValue

func (o *Position) SetMarketValue(v float64)

SetMarketValue gets a reference to the given float64 and assigns it to the MarketValue field.

func (*Position) SetPreviousSessionLongQuantity

func (o *Position) SetPreviousSessionLongQuantity(v float64)

SetPreviousSessionLongQuantity gets a reference to the given float64 and assigns it to the PreviousSessionLongQuantity field.

func (*Position) SetPreviousSessionShortQuantity

func (o *Position) SetPreviousSessionShortQuantity(v float64)

SetPreviousSessionShortQuantity gets a reference to the given float64 and assigns it to the PreviousSessionShortQuantity field.

func (*Position) SetSettledLongQuantity

func (o *Position) SetSettledLongQuantity(v float64)

SetSettledLongQuantity gets a reference to the given float64 and assigns it to the SettledLongQuantity field.

func (*Position) SetSettledShortQuantity

func (o *Position) SetSettledShortQuantity(v float64)

SetSettledShortQuantity gets a reference to the given float64 and assigns it to the SettledShortQuantity field.

func (*Position) SetShortOpenProfitLoss

func (o *Position) SetShortOpenProfitLoss(v float64)

SetShortOpenProfitLoss gets a reference to the given float64 and assigns it to the ShortOpenProfitLoss field.

func (*Position) SetShortQuantity

func (o *Position) SetShortQuantity(v float64)

SetShortQuantity gets a reference to the given float64 and assigns it to the ShortQuantity field.

func (*Position) SetTaxLotAverageLongPrice

func (o *Position) SetTaxLotAverageLongPrice(v float64)

SetTaxLotAverageLongPrice gets a reference to the given float64 and assigns it to the TaxLotAverageLongPrice field.

func (*Position) SetTaxLotAverageShortPrice

func (o *Position) SetTaxLotAverageShortPrice(v float64)

SetTaxLotAverageShortPrice gets a reference to the given float64 and assigns it to the TaxLotAverageShortPrice field.

func (Position) ToMap

func (o Position) ToMap() (map[string]interface{}, error)

type PreviewOrder

type PreviewOrder struct {
	OrderId               *int64                 `json:"orderId,omitempty"`
	OrderStrategy         *OrderStrategy         `json:"orderStrategy,omitempty"`
	OrderValidationResult *OrderValidationResult `json:"orderValidationResult,omitempty"`
	CommissionAndFee      *CommissionAndFee      `json:"commissionAndFee,omitempty"`
}

PreviewOrder struct for PreviewOrder

func NewPreviewOrder

func NewPreviewOrder() *PreviewOrder

NewPreviewOrder instantiates a new PreviewOrder 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 NewPreviewOrderWithDefaults

func NewPreviewOrderWithDefaults() *PreviewOrder

NewPreviewOrderWithDefaults instantiates a new PreviewOrder 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 (*PreviewOrder) GetCommissionAndFee

func (o *PreviewOrder) GetCommissionAndFee() CommissionAndFee

GetCommissionAndFee returns the CommissionAndFee field value if set, zero value otherwise.

func (*PreviewOrder) GetCommissionAndFeeOk

func (o *PreviewOrder) GetCommissionAndFeeOk() (*CommissionAndFee, bool)

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

func (*PreviewOrder) GetOrderId

func (o *PreviewOrder) GetOrderId() int64

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

func (*PreviewOrder) GetOrderIdOk

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

func (o *PreviewOrder) GetOrderStrategy() OrderStrategy

GetOrderStrategy returns the OrderStrategy field value if set, zero value otherwise.

func (*PreviewOrder) GetOrderStrategyOk

func (o *PreviewOrder) GetOrderStrategyOk() (*OrderStrategy, bool)

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

func (*PreviewOrder) GetOrderValidationResult

func (o *PreviewOrder) GetOrderValidationResult() OrderValidationResult

GetOrderValidationResult returns the OrderValidationResult field value if set, zero value otherwise.

func (*PreviewOrder) GetOrderValidationResultOk

func (o *PreviewOrder) GetOrderValidationResultOk() (*OrderValidationResult, bool)

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

func (*PreviewOrder) HasCommissionAndFee

func (o *PreviewOrder) HasCommissionAndFee() bool

HasCommissionAndFee returns a boolean if a field has been set.

func (*PreviewOrder) HasOrderId

func (o *PreviewOrder) HasOrderId() bool

HasOrderId returns a boolean if a field has been set.

func (*PreviewOrder) HasOrderStrategy

func (o *PreviewOrder) HasOrderStrategy() bool

HasOrderStrategy returns a boolean if a field has been set.

func (*PreviewOrder) HasOrderValidationResult

func (o *PreviewOrder) HasOrderValidationResult() bool

HasOrderValidationResult returns a boolean if a field has been set.

func (PreviewOrder) MarshalJSON

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

func (*PreviewOrder) SetCommissionAndFee

func (o *PreviewOrder) SetCommissionAndFee(v CommissionAndFee)

SetCommissionAndFee gets a reference to the given CommissionAndFee and assigns it to the CommissionAndFee field.

func (*PreviewOrder) SetOrderId

func (o *PreviewOrder) SetOrderId(v int64)

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

func (*PreviewOrder) SetOrderStrategy

func (o *PreviewOrder) SetOrderStrategy(v OrderStrategy)

SetOrderStrategy gets a reference to the given OrderStrategy and assigns it to the OrderStrategy field.

func (*PreviewOrder) SetOrderValidationResult

func (o *PreviewOrder) SetOrderValidationResult(v OrderValidationResult)

SetOrderValidationResult gets a reference to the given OrderValidationResult and assigns it to the OrderValidationResult field.

func (PreviewOrder) ToMap

func (o PreviewOrder) ToMap() (map[string]interface{}, error)

type PriceLinkBasis

type PriceLinkBasis string

PriceLinkBasis the model 'PriceLinkBasis'

const (
	PRICELINKBASIS_MANUAL  PriceLinkBasis = "MANUAL"
	PRICELINKBASIS_BASE    PriceLinkBasis = "BASE"
	PRICELINKBASIS_TRIGGER PriceLinkBasis = "TRIGGER"
	PRICELINKBASIS_LAST    PriceLinkBasis = "LAST"
	PRICELINKBASIS_BID     PriceLinkBasis = "BID"
	PRICELINKBASIS_ASK     PriceLinkBasis = "ASK"
	PRICELINKBASIS_ASK_BID PriceLinkBasis = "ASK_BID"
	PRICELINKBASIS_MARK    PriceLinkBasis = "MARK"
	PRICELINKBASIS_AVERAGE PriceLinkBasis = "AVERAGE"
)

List of priceLinkBasis

func NewPriceLinkBasisFromValue

func NewPriceLinkBasisFromValue(v string) (*PriceLinkBasis, error)

NewPriceLinkBasisFromValue returns a pointer to a valid PriceLinkBasis for the value passed as argument, or an error if the value passed is not allowed by the enum

func (PriceLinkBasis) IsValid

func (v PriceLinkBasis) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (PriceLinkBasis) Ptr

func (v PriceLinkBasis) Ptr() *PriceLinkBasis

Ptr returns reference to priceLinkBasis value

func (*PriceLinkBasis) UnmarshalJSON

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

type PriceLinkType

type PriceLinkType string

PriceLinkType the model 'PriceLinkType'

const (
	PRICELINKTYPE_VALUE   PriceLinkType = "VALUE"
	PRICELINKTYPE_PERCENT PriceLinkType = "PERCENT"
	PRICELINKTYPE_TICK    PriceLinkType = "TICK"
)

List of priceLinkType

func NewPriceLinkTypeFromValue

func NewPriceLinkTypeFromValue(v string) (*PriceLinkType, error)

NewPriceLinkTypeFromValue returns a pointer to a valid PriceLinkType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (PriceLinkType) IsValid

func (v PriceLinkType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (PriceLinkType) Ptr

func (v PriceLinkType) Ptr() *PriceLinkType

Ptr returns reference to priceLinkType value

func (*PriceLinkType) UnmarshalJSON

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

type Product

type Product struct {
	Type         *string  `json:"type,omitempty"`
	AssetType    string   `json:"assetType"`
	Cusip        *string  `json:"cusip,omitempty"`
	Symbol       *string  `json:"symbol,omitempty"`
	Description  *string  `json:"description,omitempty"`
	InstrumentId *int64   `json:"instrumentId,omitempty"`
	NetChange    *float64 `json:"netChange,omitempty"`
}

Product struct for Product

func NewProduct

func NewProduct(assetType string) *Product

NewProduct instantiates a new Product 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 NewProductWithDefaults

func NewProductWithDefaults() *Product

NewProductWithDefaults instantiates a new Product 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 (*Product) GetAssetType

func (o *Product) GetAssetType() string

GetAssetType returns the AssetType field value

func (*Product) GetAssetTypeOk

func (o *Product) GetAssetTypeOk() (*string, bool)

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

func (*Product) GetCusip

func (o *Product) GetCusip() string

GetCusip returns the Cusip field value if set, zero value otherwise.

func (*Product) GetCusipOk

func (o *Product) GetCusipOk() (*string, bool)

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

func (*Product) GetDescription

func (o *Product) GetDescription() string

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

func (*Product) GetDescriptionOk

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

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

func (*Product) GetInstrumentId

func (o *Product) GetInstrumentId() int64

GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.

func (*Product) GetInstrumentIdOk

func (o *Product) GetInstrumentIdOk() (*int64, bool)

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

func (*Product) GetNetChange

func (o *Product) GetNetChange() float64

GetNetChange returns the NetChange field value if set, zero value otherwise.

func (*Product) GetNetChangeOk

func (o *Product) GetNetChangeOk() (*float64, bool)

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

func (*Product) GetSymbol

func (o *Product) GetSymbol() string

GetSymbol returns the Symbol field value if set, zero value otherwise.

func (*Product) GetSymbolOk

func (o *Product) GetSymbolOk() (*string, bool)

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

func (*Product) GetType

func (o *Product) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Product) GetTypeOk

func (o *Product) GetTypeOk() (*string, bool)

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

func (*Product) HasCusip

func (o *Product) HasCusip() bool

HasCusip returns a boolean if a field has been set.

func (*Product) HasDescription

func (o *Product) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Product) HasInstrumentId

func (o *Product) HasInstrumentId() bool

HasInstrumentId returns a boolean if a field has been set.

func (*Product) HasNetChange

func (o *Product) HasNetChange() bool

HasNetChange returns a boolean if a field has been set.

func (*Product) HasSymbol

func (o *Product) HasSymbol() bool

HasSymbol returns a boolean if a field has been set.

func (*Product) HasType

func (o *Product) HasType() bool

HasType returns a boolean if a field has been set.

func (Product) MarshalJSON

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

func (*Product) SetAssetType

func (o *Product) SetAssetType(v string)

SetAssetType sets field value

func (*Product) SetCusip

func (o *Product) SetCusip(v string)

SetCusip gets a reference to the given string and assigns it to the Cusip field.

func (*Product) SetDescription

func (o *Product) SetDescription(v string)

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

func (*Product) SetInstrumentId

func (o *Product) SetInstrumentId(v int64)

SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.

func (*Product) SetNetChange

func (o *Product) SetNetChange(v float64)

SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.

func (*Product) SetSymbol

func (o *Product) SetSymbol(v string)

SetSymbol gets a reference to the given string and assigns it to the Symbol field.

func (*Product) SetType

func (o *Product) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (Product) ToMap

func (o Product) ToMap() (map[string]interface{}, error)

func (*Product) UnmarshalJSON

func (o *Product) UnmarshalJSON(data []byte) (err error)

type RequestedDestination

type RequestedDestination string

RequestedDestination the model 'RequestedDestination'

const (
	REQUESTEDDESTINATION_INET     RequestedDestination = "INET"
	REQUESTEDDESTINATION_ECN_ARCA RequestedDestination = "ECN_ARCA"
	REQUESTEDDESTINATION_CBOE     RequestedDestination = "CBOE"
	REQUESTEDDESTINATION_AMEX     RequestedDestination = "AMEX"
	REQUESTEDDESTINATION_PHLX     RequestedDestination = "PHLX"
	REQUESTEDDESTINATION_ISE      RequestedDestination = "ISE"
	REQUESTEDDESTINATION_BOX      RequestedDestination = "BOX"
	REQUESTEDDESTINATION_NYSE     RequestedDestination = "NYSE"
	REQUESTEDDESTINATION_NASDAQ   RequestedDestination = "NASDAQ"
	REQUESTEDDESTINATION_BATS     RequestedDestination = "BATS"
	REQUESTEDDESTINATION_C2       RequestedDestination = "C2"
	REQUESTEDDESTINATION_AUTO     RequestedDestination = "AUTO"
)

List of requestedDestination

func NewRequestedDestinationFromValue

func NewRequestedDestinationFromValue(v string) (*RequestedDestination, error)

NewRequestedDestinationFromValue returns a pointer to a valid RequestedDestination for the value passed as argument, or an error if the value passed is not allowed by the enum

func (RequestedDestination) IsValid

func (v RequestedDestination) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (RequestedDestination) Ptr

Ptr returns reference to requestedDestination value

func (*RequestedDestination) UnmarshalJSON

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

type SecuritiesAccount

type SecuritiesAccount struct {
	Type                    *string    `json:"type,omitempty"`
	AccountNumber           *string    `json:"accountNumber,omitempty"`
	RoundTrips              *int32     `json:"roundTrips,omitempty"`
	IsDayTrader             *bool      `json:"isDayTrader,omitempty"`
	IsClosingOnlyRestricted *bool      `json:"isClosingOnlyRestricted,omitempty"`
	PfcbFlag                *bool      `json:"pfcbFlag,omitempty"`
	Positions               []Position `json:"positions,omitempty"`
}

SecuritiesAccount struct for SecuritiesAccount

func NewSecuritiesAccount

func NewSecuritiesAccount() *SecuritiesAccount

NewSecuritiesAccount instantiates a new SecuritiesAccount 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 NewSecuritiesAccountWithDefaults

func NewSecuritiesAccountWithDefaults() *SecuritiesAccount

NewSecuritiesAccountWithDefaults instantiates a new SecuritiesAccount 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 (*SecuritiesAccount) GetAccountNumber

func (o *SecuritiesAccount) GetAccountNumber() string

GetAccountNumber returns the AccountNumber field value if set, zero value otherwise.

func (*SecuritiesAccount) GetAccountNumberOk

func (o *SecuritiesAccount) GetAccountNumberOk() (*string, bool)

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

func (*SecuritiesAccount) GetIsClosingOnlyRestricted

func (o *SecuritiesAccount) GetIsClosingOnlyRestricted() bool

GetIsClosingOnlyRestricted returns the IsClosingOnlyRestricted field value if set, zero value otherwise.

func (*SecuritiesAccount) GetIsClosingOnlyRestrictedOk

func (o *SecuritiesAccount) GetIsClosingOnlyRestrictedOk() (*bool, bool)

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

func (*SecuritiesAccount) GetIsDayTrader

func (o *SecuritiesAccount) GetIsDayTrader() bool

GetIsDayTrader returns the IsDayTrader field value if set, zero value otherwise.

func (*SecuritiesAccount) GetIsDayTraderOk

func (o *SecuritiesAccount) GetIsDayTraderOk() (*bool, bool)

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

func (*SecuritiesAccount) GetPfcbFlag

func (o *SecuritiesAccount) GetPfcbFlag() bool

GetPfcbFlag returns the PfcbFlag field value if set, zero value otherwise.

func (*SecuritiesAccount) GetPfcbFlagOk

func (o *SecuritiesAccount) GetPfcbFlagOk() (*bool, bool)

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

func (*SecuritiesAccount) GetPositions

func (o *SecuritiesAccount) GetPositions() []Position

GetPositions returns the Positions field value if set, zero value otherwise.

func (*SecuritiesAccount) GetPositionsOk

func (o *SecuritiesAccount) GetPositionsOk() ([]Position, bool)

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

func (*SecuritiesAccount) GetRoundTrips

func (o *SecuritiesAccount) GetRoundTrips() int32

GetRoundTrips returns the RoundTrips field value if set, zero value otherwise.

func (*SecuritiesAccount) GetRoundTripsOk

func (o *SecuritiesAccount) GetRoundTripsOk() (*int32, bool)

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

func (*SecuritiesAccount) GetType

func (o *SecuritiesAccount) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*SecuritiesAccount) GetTypeOk

func (o *SecuritiesAccount) GetTypeOk() (*string, bool)

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

func (*SecuritiesAccount) HasAccountNumber

func (o *SecuritiesAccount) HasAccountNumber() bool

HasAccountNumber returns a boolean if a field has been set.

func (*SecuritiesAccount) HasIsClosingOnlyRestricted

func (o *SecuritiesAccount) HasIsClosingOnlyRestricted() bool

HasIsClosingOnlyRestricted returns a boolean if a field has been set.

func (*SecuritiesAccount) HasIsDayTrader

func (o *SecuritiesAccount) HasIsDayTrader() bool

HasIsDayTrader returns a boolean if a field has been set.

func (*SecuritiesAccount) HasPfcbFlag

func (o *SecuritiesAccount) HasPfcbFlag() bool

HasPfcbFlag returns a boolean if a field has been set.

func (*SecuritiesAccount) HasPositions

func (o *SecuritiesAccount) HasPositions() bool

HasPositions returns a boolean if a field has been set.

func (*SecuritiesAccount) HasRoundTrips

func (o *SecuritiesAccount) HasRoundTrips() bool

HasRoundTrips returns a boolean if a field has been set.

func (*SecuritiesAccount) HasType

func (o *SecuritiesAccount) HasType() bool

HasType returns a boolean if a field has been set.

func (SecuritiesAccount) MarshalJSON

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

func (*SecuritiesAccount) SetAccountNumber

func (o *SecuritiesAccount) SetAccountNumber(v string)

SetAccountNumber gets a reference to the given string and assigns it to the AccountNumber field.

func (*SecuritiesAccount) SetIsClosingOnlyRestricted

func (o *SecuritiesAccount) SetIsClosingOnlyRestricted(v bool)

SetIsClosingOnlyRestricted gets a reference to the given bool and assigns it to the IsClosingOnlyRestricted field.

func (*SecuritiesAccount) SetIsDayTrader

func (o *SecuritiesAccount) SetIsDayTrader(v bool)

SetIsDayTrader gets a reference to the given bool and assigns it to the IsDayTrader field.

func (*SecuritiesAccount) SetPfcbFlag

func (o *SecuritiesAccount) SetPfcbFlag(v bool)

SetPfcbFlag gets a reference to the given bool and assigns it to the PfcbFlag field.

func (*SecuritiesAccount) SetPositions

func (o *SecuritiesAccount) SetPositions(v []Position)

SetPositions gets a reference to the given []Position and assigns it to the Positions field.

func (*SecuritiesAccount) SetRoundTrips

func (o *SecuritiesAccount) SetRoundTrips(v int32)

SetRoundTrips gets a reference to the given int32 and assigns it to the RoundTrips field.

func (*SecuritiesAccount) SetType

func (o *SecuritiesAccount) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (SecuritiesAccount) ToMap

func (o SecuritiesAccount) ToMap() (map[string]interface{}, error)

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 ServiceError

type ServiceError struct {
	Message *string  `json:"message,omitempty"`
	Errors  []string `json:"errors,omitempty"`
}

ServiceError struct for ServiceError

func NewServiceError

func NewServiceError() *ServiceError

NewServiceError instantiates a new ServiceError 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 NewServiceErrorWithDefaults

func NewServiceErrorWithDefaults() *ServiceError

NewServiceErrorWithDefaults instantiates a new ServiceError 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 (*ServiceError) GetErrors

func (o *ServiceError) GetErrors() []string

GetErrors returns the Errors field value if set, zero value otherwise.

func (*ServiceError) GetErrorsOk

func (o *ServiceError) GetErrorsOk() ([]string, bool)

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

func (*ServiceError) GetMessage

func (o *ServiceError) GetMessage() string

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

func (*ServiceError) GetMessageOk

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

func (o *ServiceError) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*ServiceError) HasMessage

func (o *ServiceError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ServiceError) MarshalJSON

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

func (*ServiceError) SetErrors

func (o *ServiceError) SetErrors(v []string)

SetErrors gets a reference to the given []string and assigns it to the Errors field.

func (*ServiceError) SetMessage

func (o *ServiceError) SetMessage(v string)

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

func (ServiceError) ToMap

func (o ServiceError) ToMap() (map[string]interface{}, error)

type Session

type Session string

Session the model 'Session'

const (
	SESSION_NORMAL   Session = "NORMAL"
	SESSION_AM       Session = "AM"
	SESSION_PM       Session = "PM"
	SESSION_SEAMLESS Session = "SEAMLESS"
)

List of session

func NewSessionFromValue

func NewSessionFromValue(v string) (*Session, error)

NewSessionFromValue returns a pointer to a valid Session for the value passed as argument, or an error if the value passed is not allowed by the enum

func (Session) IsValid

func (v Session) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (Session) Ptr

func (v Session) Ptr() *Session

Ptr returns reference to session value

func (*Session) UnmarshalJSON

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

type SettlementInstruction

type SettlementInstruction string

SettlementInstruction the model 'SettlementInstruction'

const (
	SETTLEMENTINSTRUCTION_REGULAR  SettlementInstruction = "REGULAR"
	SETTLEMENTINSTRUCTION_CASH     SettlementInstruction = "CASH"
	SETTLEMENTINSTRUCTION_NEXT_DAY SettlementInstruction = "NEXT_DAY"
	SETTLEMENTINSTRUCTION_UNKNOWN  SettlementInstruction = "UNKNOWN"
)

List of settlementInstruction

func NewSettlementInstructionFromValue

func NewSettlementInstructionFromValue(v string) (*SettlementInstruction, error)

NewSettlementInstructionFromValue returns a pointer to a valid SettlementInstruction for the value passed as argument, or an error if the value passed is not allowed by the enum

func (SettlementInstruction) IsValid

func (v SettlementInstruction) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (SettlementInstruction) Ptr

Ptr returns reference to settlementInstruction value

func (*SettlementInstruction) UnmarshalJSON

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

type SpecialInstruction

type SpecialInstruction string

SpecialInstruction the model 'SpecialInstruction'

const (
	SPECIALINSTRUCTION_ALL_OR_NONE               SpecialInstruction = "ALL_OR_NONE"
	SPECIALINSTRUCTION_DO_NOT_REDUCE             SpecialInstruction = "DO_NOT_REDUCE"
	SPECIALINSTRUCTION_ALL_OR_NONE_DO_NOT_REDUCE SpecialInstruction = "ALL_OR_NONE_DO_NOT_REDUCE"
)

List of specialInstruction

func NewSpecialInstructionFromValue

func NewSpecialInstructionFromValue(v string) (*SpecialInstruction, error)

NewSpecialInstructionFromValue returns a pointer to a valid SpecialInstruction for the value passed as argument, or an error if the value passed is not allowed by the enum

func (SpecialInstruction) IsValid

func (v SpecialInstruction) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (SpecialInstruction) Ptr

Ptr returns reference to specialInstruction value

func (*SpecialInstruction) UnmarshalJSON

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

type Status

type Status string

Status the model 'Status'

const (
	STATUS_AWAITING_PARENT_ORDER   Status = "AWAITING_PARENT_ORDER"
	STATUS_AWAITING_CONDITION      Status = "AWAITING_CONDITION"
	STATUS_AWAITING_STOP_CONDITION Status = "AWAITING_STOP_CONDITION"
	STATUS_AWAITING_MANUAL_REVIEW  Status = "AWAITING_MANUAL_REVIEW"
	STATUS_ACCEPTED                Status = "ACCEPTED"
	STATUS_AWAITING_UR_OUT         Status = "AWAITING_UR_OUT"
	STATUS_PENDING_ACTIVATION      Status = "PENDING_ACTIVATION"
	STATUS_QUEUED                  Status = "QUEUED"
	STATUS_WORKING                 Status = "WORKING"
	STATUS_REJECTED                Status = "REJECTED"
	STATUS_PENDING_CANCEL          Status = "PENDING_CANCEL"
	STATUS_CANCELED                Status = "CANCELED"
	STATUS_PENDING_REPLACE         Status = "PENDING_REPLACE"
	STATUS_REPLACED                Status = "REPLACED"
	STATUS_FILLED                  Status = "FILLED"
	STATUS_EXPIRED                 Status = "EXPIRED"
	STATUS_NEW                     Status = "NEW"
	STATUS_AWAITING_RELEASE_TIME   Status = "AWAITING_RELEASE_TIME"
	STATUS_PENDING_ACKNOWLEDGEMENT Status = "PENDING_ACKNOWLEDGEMENT"
	STATUS_PENDING_RECALL          Status = "PENDING_RECALL"
	STATUS_UNKNOWN                 Status = "UNKNOWN"
)

List of status

func NewStatusFromValue

func NewStatusFromValue(v string) (*Status, error)

NewStatusFromValue returns a pointer to a valid Status for the value passed as argument, or an error if the value passed is not allowed by the enum

func (Status) IsValid

func (v Status) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (Status) Ptr

func (v Status) Ptr() *Status

Ptr returns reference to status value

func (*Status) UnmarshalJSON

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

type StopPriceLinkBasis

type StopPriceLinkBasis string

StopPriceLinkBasis the model 'StopPriceLinkBasis'

const (
	STOPPRICELINKBASIS_MANUAL  StopPriceLinkBasis = "MANUAL"
	STOPPRICELINKBASIS_BASE    StopPriceLinkBasis = "BASE"
	STOPPRICELINKBASIS_TRIGGER StopPriceLinkBasis = "TRIGGER"
	STOPPRICELINKBASIS_LAST    StopPriceLinkBasis = "LAST"
	STOPPRICELINKBASIS_BID     StopPriceLinkBasis = "BID"
	STOPPRICELINKBASIS_ASK     StopPriceLinkBasis = "ASK"
	STOPPRICELINKBASIS_ASK_BID StopPriceLinkBasis = "ASK_BID"
	STOPPRICELINKBASIS_MARK    StopPriceLinkBasis = "MARK"
	STOPPRICELINKBASIS_AVERAGE StopPriceLinkBasis = "AVERAGE"
)

List of stopPriceLinkBasis

func NewStopPriceLinkBasisFromValue

func NewStopPriceLinkBasisFromValue(v string) (*StopPriceLinkBasis, error)

NewStopPriceLinkBasisFromValue returns a pointer to a valid StopPriceLinkBasis for the value passed as argument, or an error if the value passed is not allowed by the enum

func (StopPriceLinkBasis) IsValid

func (v StopPriceLinkBasis) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (StopPriceLinkBasis) Ptr

Ptr returns reference to stopPriceLinkBasis value

func (*StopPriceLinkBasis) UnmarshalJSON

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

type StopPriceLinkType

type StopPriceLinkType string

StopPriceLinkType the model 'StopPriceLinkType'

const (
	STOPPRICELINKTYPE_VALUE   StopPriceLinkType = "VALUE"
	STOPPRICELINKTYPE_PERCENT StopPriceLinkType = "PERCENT"
	STOPPRICELINKTYPE_TICK    StopPriceLinkType = "TICK"
)

List of stopPriceLinkType

func NewStopPriceLinkTypeFromValue

func NewStopPriceLinkTypeFromValue(v string) (*StopPriceLinkType, error)

NewStopPriceLinkTypeFromValue returns a pointer to a valid StopPriceLinkType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (StopPriceLinkType) IsValid

func (v StopPriceLinkType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (StopPriceLinkType) Ptr

Ptr returns reference to stopPriceLinkType value

func (*StopPriceLinkType) UnmarshalJSON

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

type StopType

type StopType string

StopType the model 'StopType'

const (
	STOPTYPE_STANDARD StopType = "STANDARD"
	STOPTYPE_BID      StopType = "BID"
	STOPTYPE_ASK      StopType = "ASK"
	STOPTYPE_LAST     StopType = "LAST"
	STOPTYPE_MARK     StopType = "MARK"
)

List of stopType

func NewStopTypeFromValue

func NewStopTypeFromValue(v string) (*StopType, error)

NewStopTypeFromValue returns a pointer to a valid StopType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (StopType) IsValid

func (v StopType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (StopType) Ptr

func (v StopType) Ptr() *StopType

Ptr returns reference to stopType value

func (*StopType) UnmarshalJSON

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

type StreamerInfo

type StreamerInfo struct {
	StreamerSocketUrl      *string `json:"streamerSocketUrl,omitempty"`
	SchwabClientCustomerId *string `json:"schwabClientCustomerId,omitempty"`
	SchwabClientCorrelId   *string `json:"schwabClientCorrelId,omitempty"`
	SchwabClientChannel    *string `json:"schwabClientChannel,omitempty"`
	SchwabClientFunctionId *string `json:"schwabClientFunctionId,omitempty"`
}

StreamerInfo struct for StreamerInfo

func NewStreamerInfo

func NewStreamerInfo() *StreamerInfo

NewStreamerInfo instantiates a new StreamerInfo 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 NewStreamerInfoWithDefaults

func NewStreamerInfoWithDefaults() *StreamerInfo

NewStreamerInfoWithDefaults instantiates a new StreamerInfo 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 (*StreamerInfo) GetSchwabClientChannel

func (o *StreamerInfo) GetSchwabClientChannel() string

GetSchwabClientChannel returns the SchwabClientChannel field value if set, zero value otherwise.

func (*StreamerInfo) GetSchwabClientChannelOk

func (o *StreamerInfo) GetSchwabClientChannelOk() (*string, bool)

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

func (*StreamerInfo) GetSchwabClientCorrelId

func (o *StreamerInfo) GetSchwabClientCorrelId() string

GetSchwabClientCorrelId returns the SchwabClientCorrelId field value if set, zero value otherwise.

func (*StreamerInfo) GetSchwabClientCorrelIdOk

func (o *StreamerInfo) GetSchwabClientCorrelIdOk() (*string, bool)

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

func (*StreamerInfo) GetSchwabClientCustomerId

func (o *StreamerInfo) GetSchwabClientCustomerId() string

GetSchwabClientCustomerId returns the SchwabClientCustomerId field value if set, zero value otherwise.

func (*StreamerInfo) GetSchwabClientCustomerIdOk

func (o *StreamerInfo) GetSchwabClientCustomerIdOk() (*string, bool)

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

func (*StreamerInfo) GetSchwabClientFunctionId

func (o *StreamerInfo) GetSchwabClientFunctionId() string

GetSchwabClientFunctionId returns the SchwabClientFunctionId field value if set, zero value otherwise.

func (*StreamerInfo) GetSchwabClientFunctionIdOk

func (o *StreamerInfo) GetSchwabClientFunctionIdOk() (*string, bool)

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

func (*StreamerInfo) GetStreamerSocketUrl

func (o *StreamerInfo) GetStreamerSocketUrl() string

GetStreamerSocketUrl returns the StreamerSocketUrl field value if set, zero value otherwise.

func (*StreamerInfo) GetStreamerSocketUrlOk

func (o *StreamerInfo) GetStreamerSocketUrlOk() (*string, bool)

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

func (*StreamerInfo) HasSchwabClientChannel

func (o *StreamerInfo) HasSchwabClientChannel() bool

HasSchwabClientChannel returns a boolean if a field has been set.

func (*StreamerInfo) HasSchwabClientCorrelId

func (o *StreamerInfo) HasSchwabClientCorrelId() bool

HasSchwabClientCorrelId returns a boolean if a field has been set.

func (*StreamerInfo) HasSchwabClientCustomerId

func (o *StreamerInfo) HasSchwabClientCustomerId() bool

HasSchwabClientCustomerId returns a boolean if a field has been set.

func (*StreamerInfo) HasSchwabClientFunctionId

func (o *StreamerInfo) HasSchwabClientFunctionId() bool

HasSchwabClientFunctionId returns a boolean if a field has been set.

func (*StreamerInfo) HasStreamerSocketUrl

func (o *StreamerInfo) HasStreamerSocketUrl() bool

HasStreamerSocketUrl returns a boolean if a field has been set.

func (StreamerInfo) MarshalJSON

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

func (*StreamerInfo) SetSchwabClientChannel

func (o *StreamerInfo) SetSchwabClientChannel(v string)

SetSchwabClientChannel gets a reference to the given string and assigns it to the SchwabClientChannel field.

func (*StreamerInfo) SetSchwabClientCorrelId

func (o *StreamerInfo) SetSchwabClientCorrelId(v string)

SetSchwabClientCorrelId gets a reference to the given string and assigns it to the SchwabClientCorrelId field.

func (*StreamerInfo) SetSchwabClientCustomerId

func (o *StreamerInfo) SetSchwabClientCustomerId(v string)

SetSchwabClientCustomerId gets a reference to the given string and assigns it to the SchwabClientCustomerId field.

func (*StreamerInfo) SetSchwabClientFunctionId

func (o *StreamerInfo) SetSchwabClientFunctionId(v string)

SetSchwabClientFunctionId gets a reference to the given string and assigns it to the SchwabClientFunctionId field.

func (*StreamerInfo) SetStreamerSocketUrl

func (o *StreamerInfo) SetStreamerSocketUrl(v string)

SetStreamerSocketUrl gets a reference to the given string and assigns it to the StreamerSocketUrl field.

func (StreamerInfo) ToMap

func (o StreamerInfo) ToMap() (map[string]interface{}, error)

type TaxLotMethod

type TaxLotMethod string

TaxLotMethod the model 'TaxLotMethod'

const (
	TAXLOTMETHOD_FIFO           TaxLotMethod = "FIFO"
	TAXLOTMETHOD_LIFO           TaxLotMethod = "LIFO"
	TAXLOTMETHOD_HIGH_COST      TaxLotMethod = "HIGH_COST"
	TAXLOTMETHOD_LOW_COST       TaxLotMethod = "LOW_COST"
	TAXLOTMETHOD_AVERAGE_COST   TaxLotMethod = "AVERAGE_COST"
	TAXLOTMETHOD_SPECIFIC_LOT   TaxLotMethod = "SPECIFIC_LOT"
	TAXLOTMETHOD_LOSS_HARVESTER TaxLotMethod = "LOSS_HARVESTER"
)

List of taxLotMethod

func NewTaxLotMethodFromValue

func NewTaxLotMethodFromValue(v string) (*TaxLotMethod, error)

NewTaxLotMethodFromValue returns a pointer to a valid TaxLotMethod for the value passed as argument, or an error if the value passed is not allowed by the enum

func (TaxLotMethod) IsValid

func (v TaxLotMethod) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (TaxLotMethod) Ptr

func (v TaxLotMethod) Ptr() *TaxLotMethod

Ptr returns reference to taxLotMethod value

func (*TaxLotMethod) UnmarshalJSON

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

type Transaction

type Transaction struct {
	ActivityId     *int64           `json:"activityId,omitempty"`
	Time           *time.Time       `json:"time,omitempty"`
	User           *UserDetails     `json:"user,omitempty"`
	Description    *string          `json:"description,omitempty"`
	AccountNumber  *string          `json:"accountNumber,omitempty"`
	Type           *TransactionType `json:"type,omitempty"`
	Status         *string          `json:"status,omitempty"`
	SubAccount     *string          `json:"subAccount,omitempty"`
	TradeDate      *time.Time       `json:"tradeDate,omitempty"`
	SettlementDate *time.Time       `json:"settlementDate,omitempty"`
	PositionId     *int64           `json:"positionId,omitempty"`
	OrderId        *int64           `json:"orderId,omitempty"`
	NetAmount      *float64         `json:"netAmount,omitempty"`
	ActivityType   *string          `json:"activityType,omitempty"`
	TransferItems  []TransferItem   `json:"transferItems,omitempty"`
}

Transaction struct for Transaction

func NewTransaction

func NewTransaction() *Transaction

NewTransaction instantiates a new Transaction 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 NewTransactionWithDefaults

func NewTransactionWithDefaults() *Transaction

NewTransactionWithDefaults instantiates a new Transaction 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 (*Transaction) GetAccountNumber

func (o *Transaction) GetAccountNumber() string

GetAccountNumber returns the AccountNumber field value if set, zero value otherwise.

func (*Transaction) GetAccountNumberOk

func (o *Transaction) GetAccountNumberOk() (*string, bool)

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

func (*Transaction) GetActivityId

func (o *Transaction) GetActivityId() int64

GetActivityId returns the ActivityId field value if set, zero value otherwise.

func (*Transaction) GetActivityIdOk

func (o *Transaction) GetActivityIdOk() (*int64, bool)

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

func (*Transaction) GetActivityType

func (o *Transaction) GetActivityType() string

GetActivityType returns the ActivityType field value if set, zero value otherwise.

func (*Transaction) GetActivityTypeOk

func (o *Transaction) GetActivityTypeOk() (*string, bool)

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

func (*Transaction) GetDescription

func (o *Transaction) GetDescription() string

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

func (*Transaction) GetDescriptionOk

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

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

func (*Transaction) GetNetAmount

func (o *Transaction) GetNetAmount() float64

GetNetAmount returns the NetAmount field value if set, zero value otherwise.

func (*Transaction) GetNetAmountOk

func (o *Transaction) GetNetAmountOk() (*float64, bool)

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

func (*Transaction) GetOrderId

func (o *Transaction) GetOrderId() int64

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

func (*Transaction) GetOrderIdOk

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

func (o *Transaction) GetPositionId() int64

GetPositionId returns the PositionId field value if set, zero value otherwise.

func (*Transaction) GetPositionIdOk

func (o *Transaction) GetPositionIdOk() (*int64, bool)

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

func (*Transaction) GetSettlementDate

func (o *Transaction) GetSettlementDate() time.Time

GetSettlementDate returns the SettlementDate field value if set, zero value otherwise.

func (*Transaction) GetSettlementDateOk

func (o *Transaction) GetSettlementDateOk() (*time.Time, bool)

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

func (*Transaction) GetStatus

func (o *Transaction) GetStatus() string

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

func (*Transaction) GetStatusOk

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

func (o *Transaction) GetSubAccount() string

GetSubAccount returns the SubAccount field value if set, zero value otherwise.

func (*Transaction) GetSubAccountOk

func (o *Transaction) GetSubAccountOk() (*string, bool)

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

func (*Transaction) GetTime

func (o *Transaction) GetTime() time.Time

GetTime returns the Time field value if set, zero value otherwise.

func (*Transaction) GetTimeOk

func (o *Transaction) GetTimeOk() (*time.Time, bool)

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

func (*Transaction) GetTradeDate

func (o *Transaction) GetTradeDate() time.Time

GetTradeDate returns the TradeDate field value if set, zero value otherwise.

func (*Transaction) GetTradeDateOk

func (o *Transaction) GetTradeDateOk() (*time.Time, bool)

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

func (*Transaction) GetTransferItems

func (o *Transaction) GetTransferItems() []TransferItem

GetTransferItems returns the TransferItems field value if set, zero value otherwise.

func (*Transaction) GetTransferItemsOk

func (o *Transaction) GetTransferItemsOk() ([]TransferItem, bool)

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

func (*Transaction) GetType

func (o *Transaction) GetType() TransactionType

GetType returns the Type field value if set, zero value otherwise.

func (*Transaction) GetTypeOk

func (o *Transaction) GetTypeOk() (*TransactionType, bool)

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

func (*Transaction) GetUser

func (o *Transaction) GetUser() UserDetails

GetUser returns the User field value if set, zero value otherwise.

func (*Transaction) GetUserOk

func (o *Transaction) GetUserOk() (*UserDetails, bool)

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

func (*Transaction) HasAccountNumber

func (o *Transaction) HasAccountNumber() bool

HasAccountNumber returns a boolean if a field has been set.

func (*Transaction) HasActivityId

func (o *Transaction) HasActivityId() bool

HasActivityId returns a boolean if a field has been set.

func (*Transaction) HasActivityType

func (o *Transaction) HasActivityType() bool

HasActivityType returns a boolean if a field has been set.

func (*Transaction) HasDescription

func (o *Transaction) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Transaction) HasNetAmount

func (o *Transaction) HasNetAmount() bool

HasNetAmount returns a boolean if a field has been set.

func (*Transaction) HasOrderId

func (o *Transaction) HasOrderId() bool

HasOrderId returns a boolean if a field has been set.

func (*Transaction) HasPositionId

func (o *Transaction) HasPositionId() bool

HasPositionId returns a boolean if a field has been set.

func (*Transaction) HasSettlementDate

func (o *Transaction) HasSettlementDate() bool

HasSettlementDate returns a boolean if a field has been set.

func (*Transaction) HasStatus

func (o *Transaction) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Transaction) HasSubAccount

func (o *Transaction) HasSubAccount() bool

HasSubAccount returns a boolean if a field has been set.

func (*Transaction) HasTime

func (o *Transaction) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*Transaction) HasTradeDate

func (o *Transaction) HasTradeDate() bool

HasTradeDate returns a boolean if a field has been set.

func (*Transaction) HasTransferItems

func (o *Transaction) HasTransferItems() bool

HasTransferItems returns a boolean if a field has been set.

func (*Transaction) HasType

func (o *Transaction) HasType() bool

HasType returns a boolean if a field has been set.

func (*Transaction) HasUser

func (o *Transaction) HasUser() bool

HasUser returns a boolean if a field has been set.

func (Transaction) MarshalJSON

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

func (*Transaction) SetAccountNumber

func (o *Transaction) SetAccountNumber(v string)

SetAccountNumber gets a reference to the given string and assigns it to the AccountNumber field.

func (*Transaction) SetActivityId

func (o *Transaction) SetActivityId(v int64)

SetActivityId gets a reference to the given int64 and assigns it to the ActivityId field.

func (*Transaction) SetActivityType

func (o *Transaction) SetActivityType(v string)

SetActivityType gets a reference to the given string and assigns it to the ActivityType field.

func (*Transaction) SetDescription

func (o *Transaction) SetDescription(v string)

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

func (*Transaction) SetNetAmount

func (o *Transaction) SetNetAmount(v float64)

SetNetAmount gets a reference to the given float64 and assigns it to the NetAmount field.

func (*Transaction) SetOrderId

func (o *Transaction) SetOrderId(v int64)

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

func (*Transaction) SetPositionId

func (o *Transaction) SetPositionId(v int64)

SetPositionId gets a reference to the given int64 and assigns it to the PositionId field.

func (*Transaction) SetSettlementDate

func (o *Transaction) SetSettlementDate(v time.Time)

SetSettlementDate gets a reference to the given time.Time and assigns it to the SettlementDate field.

func (*Transaction) SetStatus

func (o *Transaction) SetStatus(v string)

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

func (*Transaction) SetSubAccount

func (o *Transaction) SetSubAccount(v string)

SetSubAccount gets a reference to the given string and assigns it to the SubAccount field.

func (*Transaction) SetTime

func (o *Transaction) SetTime(v time.Time)

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

func (*Transaction) SetTradeDate

func (o *Transaction) SetTradeDate(v time.Time)

SetTradeDate gets a reference to the given time.Time and assigns it to the TradeDate field.

func (*Transaction) SetTransferItems

func (o *Transaction) SetTransferItems(v []TransferItem)

SetTransferItems gets a reference to the given []TransferItem and assigns it to the TransferItems field.

func (*Transaction) SetType

func (o *Transaction) SetType(v TransactionType)

SetType gets a reference to the given TransactionType and assigns it to the Type field.

func (*Transaction) SetUser

func (o *Transaction) SetUser(v UserDetails)

SetUser gets a reference to the given UserDetails and assigns it to the User field.

func (Transaction) ToMap

func (o Transaction) ToMap() (map[string]interface{}, error)

type TransactionAPIOptionDeliverable

type TransactionAPIOptionDeliverable struct {
	RootSymbol        *string                `json:"rootSymbol,omitempty"`
	StrikePercent     *int64                 `json:"strikePercent,omitempty"`
	DeliverableNumber *int64                 `json:"deliverableNumber,omitempty"`
	DeliverableUnits  *float64               `json:"deliverableUnits,omitempty"`
	Deliverable       *TransactionInstrument `json:"deliverable,omitempty"`
	AssetType         *AssetType             `json:"assetType,omitempty"`
}

TransactionAPIOptionDeliverable struct for TransactionAPIOptionDeliverable

func NewTransactionAPIOptionDeliverable

func NewTransactionAPIOptionDeliverable() *TransactionAPIOptionDeliverable

NewTransactionAPIOptionDeliverable instantiates a new TransactionAPIOptionDeliverable 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 NewTransactionAPIOptionDeliverableWithDefaults

func NewTransactionAPIOptionDeliverableWithDefaults() *TransactionAPIOptionDeliverable

NewTransactionAPIOptionDeliverableWithDefaults instantiates a new TransactionAPIOptionDeliverable 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 (*TransactionAPIOptionDeliverable) GetAssetType

func (o *TransactionAPIOptionDeliverable) GetAssetType() AssetType

GetAssetType returns the AssetType field value if set, zero value otherwise.

func (*TransactionAPIOptionDeliverable) GetAssetTypeOk

func (o *TransactionAPIOptionDeliverable) GetAssetTypeOk() (*AssetType, bool)

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

func (*TransactionAPIOptionDeliverable) GetDeliverable

GetDeliverable returns the Deliverable field value if set, zero value otherwise.

func (*TransactionAPIOptionDeliverable) GetDeliverableNumber

func (o *TransactionAPIOptionDeliverable) GetDeliverableNumber() int64

GetDeliverableNumber returns the DeliverableNumber field value if set, zero value otherwise.

func (*TransactionAPIOptionDeliverable) GetDeliverableNumberOk

func (o *TransactionAPIOptionDeliverable) GetDeliverableNumberOk() (*int64, bool)

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

func (*TransactionAPIOptionDeliverable) GetDeliverableOk

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

func (*TransactionAPIOptionDeliverable) GetDeliverableUnits

func (o *TransactionAPIOptionDeliverable) GetDeliverableUnits() float64

GetDeliverableUnits returns the DeliverableUnits field value if set, zero value otherwise.

func (*TransactionAPIOptionDeliverable) GetDeliverableUnitsOk

func (o *TransactionAPIOptionDeliverable) GetDeliverableUnitsOk() (*float64, bool)

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

func (*TransactionAPIOptionDeliverable) GetRootSymbol

func (o *TransactionAPIOptionDeliverable) GetRootSymbol() string

GetRootSymbol returns the RootSymbol field value if set, zero value otherwise.

func (*TransactionAPIOptionDeliverable) GetRootSymbolOk

func (o *TransactionAPIOptionDeliverable) GetRootSymbolOk() (*string, bool)

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

func (*TransactionAPIOptionDeliverable) GetStrikePercent

func (o *TransactionAPIOptionDeliverable) GetStrikePercent() int64

GetStrikePercent returns the StrikePercent field value if set, zero value otherwise.

func (*TransactionAPIOptionDeliverable) GetStrikePercentOk

func (o *TransactionAPIOptionDeliverable) GetStrikePercentOk() (*int64, bool)

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

func (*TransactionAPIOptionDeliverable) HasAssetType

func (o *TransactionAPIOptionDeliverable) HasAssetType() bool

HasAssetType returns a boolean if a field has been set.

func (*TransactionAPIOptionDeliverable) HasDeliverable

func (o *TransactionAPIOptionDeliverable) HasDeliverable() bool

HasDeliverable returns a boolean if a field has been set.

func (*TransactionAPIOptionDeliverable) HasDeliverableNumber

func (o *TransactionAPIOptionDeliverable) HasDeliverableNumber() bool

HasDeliverableNumber returns a boolean if a field has been set.

func (*TransactionAPIOptionDeliverable) HasDeliverableUnits

func (o *TransactionAPIOptionDeliverable) HasDeliverableUnits() bool

HasDeliverableUnits returns a boolean if a field has been set.

func (*TransactionAPIOptionDeliverable) HasRootSymbol

func (o *TransactionAPIOptionDeliverable) HasRootSymbol() bool

HasRootSymbol returns a boolean if a field has been set.

func (*TransactionAPIOptionDeliverable) HasStrikePercent

func (o *TransactionAPIOptionDeliverable) HasStrikePercent() bool

HasStrikePercent returns a boolean if a field has been set.

func (TransactionAPIOptionDeliverable) MarshalJSON

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

func (*TransactionAPIOptionDeliverable) SetAssetType

func (o *TransactionAPIOptionDeliverable) SetAssetType(v AssetType)

SetAssetType gets a reference to the given AssetType and assigns it to the AssetType field.

func (*TransactionAPIOptionDeliverable) SetDeliverable

SetDeliverable gets a reference to the given TransactionInstrument and assigns it to the Deliverable field.

func (*TransactionAPIOptionDeliverable) SetDeliverableNumber

func (o *TransactionAPIOptionDeliverable) SetDeliverableNumber(v int64)

SetDeliverableNumber gets a reference to the given int64 and assigns it to the DeliverableNumber field.

func (*TransactionAPIOptionDeliverable) SetDeliverableUnits

func (o *TransactionAPIOptionDeliverable) SetDeliverableUnits(v float64)

SetDeliverableUnits gets a reference to the given float64 and assigns it to the DeliverableUnits field.

func (*TransactionAPIOptionDeliverable) SetRootSymbol

func (o *TransactionAPIOptionDeliverable) SetRootSymbol(v string)

SetRootSymbol gets a reference to the given string and assigns it to the RootSymbol field.

func (*TransactionAPIOptionDeliverable) SetStrikePercent

func (o *TransactionAPIOptionDeliverable) SetStrikePercent(v int64)

SetStrikePercent gets a reference to the given int64 and assigns it to the StrikePercent field.

func (TransactionAPIOptionDeliverable) ToMap

func (o TransactionAPIOptionDeliverable) ToMap() (map[string]interface{}, error)

type TransactionBaseInstrument

type TransactionBaseInstrument struct {
	AssetType    string   `json:"assetType"`
	Cusip        *string  `json:"cusip,omitempty"`
	Symbol       *string  `json:"symbol,omitempty"`
	Description  *string  `json:"description,omitempty"`
	InstrumentId *int64   `json:"instrumentId,omitempty"`
	NetChange    *float64 `json:"netChange,omitempty"`
}

TransactionBaseInstrument struct for TransactionBaseInstrument

func NewTransactionBaseInstrument

func NewTransactionBaseInstrument(assetType string) *TransactionBaseInstrument

NewTransactionBaseInstrument instantiates a new TransactionBaseInstrument 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 NewTransactionBaseInstrumentWithDefaults

func NewTransactionBaseInstrumentWithDefaults() *TransactionBaseInstrument

NewTransactionBaseInstrumentWithDefaults instantiates a new TransactionBaseInstrument 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 (*TransactionBaseInstrument) GetAssetType

func (o *TransactionBaseInstrument) GetAssetType() string

GetAssetType returns the AssetType field value

func (*TransactionBaseInstrument) GetAssetTypeOk

func (o *TransactionBaseInstrument) GetAssetTypeOk() (*string, bool)

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

func (*TransactionBaseInstrument) GetCusip

func (o *TransactionBaseInstrument) GetCusip() string

GetCusip returns the Cusip field value if set, zero value otherwise.

func (*TransactionBaseInstrument) GetCusipOk

func (o *TransactionBaseInstrument) GetCusipOk() (*string, bool)

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

func (*TransactionBaseInstrument) GetDescription

func (o *TransactionBaseInstrument) GetDescription() string

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

func (*TransactionBaseInstrument) GetDescriptionOk

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

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

func (*TransactionBaseInstrument) GetInstrumentId

func (o *TransactionBaseInstrument) GetInstrumentId() int64

GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.

func (*TransactionBaseInstrument) GetInstrumentIdOk

func (o *TransactionBaseInstrument) GetInstrumentIdOk() (*int64, bool)

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

func (*TransactionBaseInstrument) GetNetChange

func (o *TransactionBaseInstrument) GetNetChange() float64

GetNetChange returns the NetChange field value if set, zero value otherwise.

func (*TransactionBaseInstrument) GetNetChangeOk

func (o *TransactionBaseInstrument) GetNetChangeOk() (*float64, bool)

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

func (*TransactionBaseInstrument) GetSymbol

func (o *TransactionBaseInstrument) GetSymbol() string

GetSymbol returns the Symbol field value if set, zero value otherwise.

func (*TransactionBaseInstrument) GetSymbolOk

func (o *TransactionBaseInstrument) GetSymbolOk() (*string, bool)

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

func (*TransactionBaseInstrument) HasCusip

func (o *TransactionBaseInstrument) HasCusip() bool

HasCusip returns a boolean if a field has been set.

func (*TransactionBaseInstrument) HasDescription

func (o *TransactionBaseInstrument) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*TransactionBaseInstrument) HasInstrumentId

func (o *TransactionBaseInstrument) HasInstrumentId() bool

HasInstrumentId returns a boolean if a field has been set.

func (*TransactionBaseInstrument) HasNetChange

func (o *TransactionBaseInstrument) HasNetChange() bool

HasNetChange returns a boolean if a field has been set.

func (*TransactionBaseInstrument) HasSymbol

func (o *TransactionBaseInstrument) HasSymbol() bool

HasSymbol returns a boolean if a field has been set.

func (TransactionBaseInstrument) MarshalJSON

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

func (*TransactionBaseInstrument) SetAssetType

func (o *TransactionBaseInstrument) SetAssetType(v string)

SetAssetType sets field value

func (*TransactionBaseInstrument) SetCusip

func (o *TransactionBaseInstrument) SetCusip(v string)

SetCusip gets a reference to the given string and assigns it to the Cusip field.

func (*TransactionBaseInstrument) SetDescription

func (o *TransactionBaseInstrument) SetDescription(v string)

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

func (*TransactionBaseInstrument) SetInstrumentId

func (o *TransactionBaseInstrument) SetInstrumentId(v int64)

SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.

func (*TransactionBaseInstrument) SetNetChange

func (o *TransactionBaseInstrument) SetNetChange(v float64)

SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.

func (*TransactionBaseInstrument) SetSymbol

func (o *TransactionBaseInstrument) SetSymbol(v string)

SetSymbol gets a reference to the given string and assigns it to the Symbol field.

func (TransactionBaseInstrument) ToMap

func (o TransactionBaseInstrument) ToMap() (map[string]interface{}, error)

func (*TransactionBaseInstrument) UnmarshalJSON

func (o *TransactionBaseInstrument) UnmarshalJSON(data []byte) (err error)

type TransactionCashEquivalent

type TransactionCashEquivalent struct {
	Type         *string  `json:"type,omitempty"`
	AssetType    string   `json:"assetType"`
	Cusip        *string  `json:"cusip,omitempty"`
	Symbol       *string  `json:"symbol,omitempty"`
	Description  *string  `json:"description,omitempty"`
	InstrumentId *int64   `json:"instrumentId,omitempty"`
	NetChange    *float64 `json:"netChange,omitempty"`
}

TransactionCashEquivalent struct for TransactionCashEquivalent

func NewTransactionCashEquivalent

func NewTransactionCashEquivalent(assetType string) *TransactionCashEquivalent

NewTransactionCashEquivalent instantiates a new TransactionCashEquivalent 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 NewTransactionCashEquivalentWithDefaults

func NewTransactionCashEquivalentWithDefaults() *TransactionCashEquivalent

NewTransactionCashEquivalentWithDefaults instantiates a new TransactionCashEquivalent 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 (*TransactionCashEquivalent) GetAssetType

func (o *TransactionCashEquivalent) GetAssetType() string

GetAssetType returns the AssetType field value

func (*TransactionCashEquivalent) GetAssetTypeOk

func (o *TransactionCashEquivalent) GetAssetTypeOk() (*string, bool)

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

func (*TransactionCashEquivalent) GetCusip

func (o *TransactionCashEquivalent) GetCusip() string

GetCusip returns the Cusip field value if set, zero value otherwise.

func (*TransactionCashEquivalent) GetCusipOk

func (o *TransactionCashEquivalent) GetCusipOk() (*string, bool)

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

func (*TransactionCashEquivalent) GetDescription

func (o *TransactionCashEquivalent) GetDescription() string

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

func (*TransactionCashEquivalent) GetDescriptionOk

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

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

func (*TransactionCashEquivalent) GetInstrumentId

func (o *TransactionCashEquivalent) GetInstrumentId() int64

GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.

func (*TransactionCashEquivalent) GetInstrumentIdOk

func (o *TransactionCashEquivalent) GetInstrumentIdOk() (*int64, bool)

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

func (*TransactionCashEquivalent) GetNetChange

func (o *TransactionCashEquivalent) GetNetChange() float64

GetNetChange returns the NetChange field value if set, zero value otherwise.

func (*TransactionCashEquivalent) GetNetChangeOk

func (o *TransactionCashEquivalent) GetNetChangeOk() (*float64, bool)

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

func (*TransactionCashEquivalent) GetSymbol

func (o *TransactionCashEquivalent) GetSymbol() string

GetSymbol returns the Symbol field value if set, zero value otherwise.

func (*TransactionCashEquivalent) GetSymbolOk

func (o *TransactionCashEquivalent) GetSymbolOk() (*string, bool)

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

func (*TransactionCashEquivalent) GetType

func (o *TransactionCashEquivalent) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*TransactionCashEquivalent) GetTypeOk

func (o *TransactionCashEquivalent) GetTypeOk() (*string, bool)

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

func (*TransactionCashEquivalent) HasCusip

func (o *TransactionCashEquivalent) HasCusip() bool

HasCusip returns a boolean if a field has been set.

func (*TransactionCashEquivalent) HasDescription

func (o *TransactionCashEquivalent) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*TransactionCashEquivalent) HasInstrumentId

func (o *TransactionCashEquivalent) HasInstrumentId() bool

HasInstrumentId returns a boolean if a field has been set.

func (*TransactionCashEquivalent) HasNetChange

func (o *TransactionCashEquivalent) HasNetChange() bool

HasNetChange returns a boolean if a field has been set.

func (*TransactionCashEquivalent) HasSymbol

func (o *TransactionCashEquivalent) HasSymbol() bool

HasSymbol returns a boolean if a field has been set.

func (*TransactionCashEquivalent) HasType

func (o *TransactionCashEquivalent) HasType() bool

HasType returns a boolean if a field has been set.

func (TransactionCashEquivalent) MarshalJSON

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

func (*TransactionCashEquivalent) SetAssetType

func (o *TransactionCashEquivalent) SetAssetType(v string)

SetAssetType sets field value

func (*TransactionCashEquivalent) SetCusip

func (o *TransactionCashEquivalent) SetCusip(v string)

SetCusip gets a reference to the given string and assigns it to the Cusip field.

func (*TransactionCashEquivalent) SetDescription

func (o *TransactionCashEquivalent) SetDescription(v string)

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

func (*TransactionCashEquivalent) SetInstrumentId

func (o *TransactionCashEquivalent) SetInstrumentId(v int64)

SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.

func (*TransactionCashEquivalent) SetNetChange

func (o *TransactionCashEquivalent) SetNetChange(v float64)

SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.

func (*TransactionCashEquivalent) SetSymbol

func (o *TransactionCashEquivalent) SetSymbol(v string)

SetSymbol gets a reference to the given string and assigns it to the Symbol field.

func (*TransactionCashEquivalent) SetType

func (o *TransactionCashEquivalent) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (TransactionCashEquivalent) ToMap

func (o TransactionCashEquivalent) ToMap() (map[string]interface{}, error)

func (*TransactionCashEquivalent) UnmarshalJSON

func (o *TransactionCashEquivalent) UnmarshalJSON(data []byte) (err error)

type TransactionEquity

type TransactionEquity struct {
	Type         *string  `json:"type,omitempty"`
	AssetType    string   `json:"assetType"`
	Cusip        *string  `json:"cusip,omitempty"`
	Symbol       *string  `json:"symbol,omitempty"`
	Description  *string  `json:"description,omitempty"`
	InstrumentId *int64   `json:"instrumentId,omitempty"`
	NetChange    *float64 `json:"netChange,omitempty"`
}

TransactionEquity struct for TransactionEquity

func NewTransactionEquity

func NewTransactionEquity(assetType string) *TransactionEquity

NewTransactionEquity instantiates a new TransactionEquity 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 NewTransactionEquityWithDefaults

func NewTransactionEquityWithDefaults() *TransactionEquity

NewTransactionEquityWithDefaults instantiates a new TransactionEquity 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 (*TransactionEquity) GetAssetType

func (o *TransactionEquity) GetAssetType() string

GetAssetType returns the AssetType field value

func (*TransactionEquity) GetAssetTypeOk

func (o *TransactionEquity) GetAssetTypeOk() (*string, bool)

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

func (*TransactionEquity) GetCusip

func (o *TransactionEquity) GetCusip() string

GetCusip returns the Cusip field value if set, zero value otherwise.

func (*TransactionEquity) GetCusipOk

func (o *TransactionEquity) GetCusipOk() (*string, bool)

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

func (*TransactionEquity) GetDescription

func (o *TransactionEquity) GetDescription() string

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

func (*TransactionEquity) GetDescriptionOk

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

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

func (*TransactionEquity) GetInstrumentId

func (o *TransactionEquity) GetInstrumentId() int64

GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.

func (*TransactionEquity) GetInstrumentIdOk

func (o *TransactionEquity) GetInstrumentIdOk() (*int64, bool)

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

func (*TransactionEquity) GetNetChange

func (o *TransactionEquity) GetNetChange() float64

GetNetChange returns the NetChange field value if set, zero value otherwise.

func (*TransactionEquity) GetNetChangeOk

func (o *TransactionEquity) GetNetChangeOk() (*float64, bool)

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

func (*TransactionEquity) GetSymbol

func (o *TransactionEquity) GetSymbol() string

GetSymbol returns the Symbol field value if set, zero value otherwise.

func (*TransactionEquity) GetSymbolOk

func (o *TransactionEquity) GetSymbolOk() (*string, bool)

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

func (*TransactionEquity) GetType

func (o *TransactionEquity) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*TransactionEquity) GetTypeOk

func (o *TransactionEquity) GetTypeOk() (*string, bool)

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

func (*TransactionEquity) HasCusip

func (o *TransactionEquity) HasCusip() bool

HasCusip returns a boolean if a field has been set.

func (*TransactionEquity) HasDescription

func (o *TransactionEquity) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*TransactionEquity) HasInstrumentId

func (o *TransactionEquity) HasInstrumentId() bool

HasInstrumentId returns a boolean if a field has been set.

func (*TransactionEquity) HasNetChange

func (o *TransactionEquity) HasNetChange() bool

HasNetChange returns a boolean if a field has been set.

func (*TransactionEquity) HasSymbol

func (o *TransactionEquity) HasSymbol() bool

HasSymbol returns a boolean if a field has been set.

func (*TransactionEquity) HasType

func (o *TransactionEquity) HasType() bool

HasType returns a boolean if a field has been set.

func (TransactionEquity) MarshalJSON

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

func (*TransactionEquity) SetAssetType

func (o *TransactionEquity) SetAssetType(v string)

SetAssetType sets field value

func (*TransactionEquity) SetCusip

func (o *TransactionEquity) SetCusip(v string)

SetCusip gets a reference to the given string and assigns it to the Cusip field.

func (*TransactionEquity) SetDescription

func (o *TransactionEquity) SetDescription(v string)

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

func (*TransactionEquity) SetInstrumentId

func (o *TransactionEquity) SetInstrumentId(v int64)

SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.

func (*TransactionEquity) SetNetChange

func (o *TransactionEquity) SetNetChange(v float64)

SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.

func (*TransactionEquity) SetSymbol

func (o *TransactionEquity) SetSymbol(v string)

SetSymbol gets a reference to the given string and assigns it to the Symbol field.

func (*TransactionEquity) SetType

func (o *TransactionEquity) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (TransactionEquity) ToMap

func (o TransactionEquity) ToMap() (map[string]interface{}, error)

func (*TransactionEquity) UnmarshalJSON

func (o *TransactionEquity) UnmarshalJSON(data []byte) (err error)

type TransactionFixedIncome

type TransactionFixedIncome struct {
	Type         *string    `json:"type,omitempty"`
	MaturityDate *time.Time `json:"maturityDate,omitempty"`
	Factor       *float64   `json:"factor,omitempty"`
	Multiplier   *float64   `json:"multiplier,omitempty"`
	VariableRate *float64   `json:"variableRate,omitempty"`
	AssetType    string     `json:"assetType"`
	Cusip        *string    `json:"cusip,omitempty"`
	Symbol       *string    `json:"symbol,omitempty"`
	Description  *string    `json:"description,omitempty"`
	InstrumentId *int64     `json:"instrumentId,omitempty"`
	NetChange    *float64   `json:"netChange,omitempty"`
}

TransactionFixedIncome struct for TransactionFixedIncome

func NewTransactionFixedIncome

func NewTransactionFixedIncome(assetType string) *TransactionFixedIncome

NewTransactionFixedIncome instantiates a new TransactionFixedIncome 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 NewTransactionFixedIncomeWithDefaults

func NewTransactionFixedIncomeWithDefaults() *TransactionFixedIncome

NewTransactionFixedIncomeWithDefaults instantiates a new TransactionFixedIncome 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 (*TransactionFixedIncome) GetAssetType

func (o *TransactionFixedIncome) GetAssetType() string

GetAssetType returns the AssetType field value

func (*TransactionFixedIncome) GetAssetTypeOk

func (o *TransactionFixedIncome) GetAssetTypeOk() (*string, bool)

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

func (*TransactionFixedIncome) GetCusip

func (o *TransactionFixedIncome) GetCusip() string

GetCusip returns the Cusip field value if set, zero value otherwise.

func (*TransactionFixedIncome) GetCusipOk

func (o *TransactionFixedIncome) GetCusipOk() (*string, bool)

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

func (*TransactionFixedIncome) GetDescription

func (o *TransactionFixedIncome) GetDescription() string

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

func (*TransactionFixedIncome) GetDescriptionOk

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

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

func (*TransactionFixedIncome) GetFactor

func (o *TransactionFixedIncome) GetFactor() float64

GetFactor returns the Factor field value if set, zero value otherwise.

func (*TransactionFixedIncome) GetFactorOk

func (o *TransactionFixedIncome) GetFactorOk() (*float64, bool)

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

func (*TransactionFixedIncome) GetInstrumentId

func (o *TransactionFixedIncome) GetInstrumentId() int64

GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.

func (*TransactionFixedIncome) GetInstrumentIdOk

func (o *TransactionFixedIncome) GetInstrumentIdOk() (*int64, bool)

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

func (*TransactionFixedIncome) GetMaturityDate

func (o *TransactionFixedIncome) GetMaturityDate() time.Time

GetMaturityDate returns the MaturityDate field value if set, zero value otherwise.

func (*TransactionFixedIncome) GetMaturityDateOk

func (o *TransactionFixedIncome) GetMaturityDateOk() (*time.Time, bool)

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

func (*TransactionFixedIncome) GetMultiplier

func (o *TransactionFixedIncome) GetMultiplier() float64

GetMultiplier returns the Multiplier field value if set, zero value otherwise.

func (*TransactionFixedIncome) GetMultiplierOk

func (o *TransactionFixedIncome) GetMultiplierOk() (*float64, bool)

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

func (*TransactionFixedIncome) GetNetChange

func (o *TransactionFixedIncome) GetNetChange() float64

GetNetChange returns the NetChange field value if set, zero value otherwise.

func (*TransactionFixedIncome) GetNetChangeOk

func (o *TransactionFixedIncome) GetNetChangeOk() (*float64, bool)

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

func (*TransactionFixedIncome) GetSymbol

func (o *TransactionFixedIncome) GetSymbol() string

GetSymbol returns the Symbol field value if set, zero value otherwise.

func (*TransactionFixedIncome) GetSymbolOk

func (o *TransactionFixedIncome) GetSymbolOk() (*string, bool)

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

func (*TransactionFixedIncome) GetType

func (o *TransactionFixedIncome) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*TransactionFixedIncome) GetTypeOk

func (o *TransactionFixedIncome) GetTypeOk() (*string, bool)

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

func (*TransactionFixedIncome) GetVariableRate

func (o *TransactionFixedIncome) GetVariableRate() float64

GetVariableRate returns the VariableRate field value if set, zero value otherwise.

func (*TransactionFixedIncome) GetVariableRateOk

func (o *TransactionFixedIncome) GetVariableRateOk() (*float64, bool)

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

func (*TransactionFixedIncome) HasCusip

func (o *TransactionFixedIncome) HasCusip() bool

HasCusip returns a boolean if a field has been set.

func (*TransactionFixedIncome) HasDescription

func (o *TransactionFixedIncome) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*TransactionFixedIncome) HasFactor

func (o *TransactionFixedIncome) HasFactor() bool

HasFactor returns a boolean if a field has been set.

func (*TransactionFixedIncome) HasInstrumentId

func (o *TransactionFixedIncome) HasInstrumentId() bool

HasInstrumentId returns a boolean if a field has been set.

func (*TransactionFixedIncome) HasMaturityDate

func (o *TransactionFixedIncome) HasMaturityDate() bool

HasMaturityDate returns a boolean if a field has been set.

func (*TransactionFixedIncome) HasMultiplier

func (o *TransactionFixedIncome) HasMultiplier() bool

HasMultiplier returns a boolean if a field has been set.

func (*TransactionFixedIncome) HasNetChange

func (o *TransactionFixedIncome) HasNetChange() bool

HasNetChange returns a boolean if a field has been set.

func (*TransactionFixedIncome) HasSymbol

func (o *TransactionFixedIncome) HasSymbol() bool

HasSymbol returns a boolean if a field has been set.

func (*TransactionFixedIncome) HasType

func (o *TransactionFixedIncome) HasType() bool

HasType returns a boolean if a field has been set.

func (*TransactionFixedIncome) HasVariableRate

func (o *TransactionFixedIncome) HasVariableRate() bool

HasVariableRate returns a boolean if a field has been set.

func (TransactionFixedIncome) MarshalJSON

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

func (*TransactionFixedIncome) SetAssetType

func (o *TransactionFixedIncome) SetAssetType(v string)

SetAssetType sets field value

func (*TransactionFixedIncome) SetCusip

func (o *TransactionFixedIncome) SetCusip(v string)

SetCusip gets a reference to the given string and assigns it to the Cusip field.

func (*TransactionFixedIncome) SetDescription

func (o *TransactionFixedIncome) SetDescription(v string)

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

func (*TransactionFixedIncome) SetFactor

func (o *TransactionFixedIncome) SetFactor(v float64)

SetFactor gets a reference to the given float64 and assigns it to the Factor field.

func (*TransactionFixedIncome) SetInstrumentId

func (o *TransactionFixedIncome) SetInstrumentId(v int64)

SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.

func (*TransactionFixedIncome) SetMaturityDate

func (o *TransactionFixedIncome) SetMaturityDate(v time.Time)

SetMaturityDate gets a reference to the given time.Time and assigns it to the MaturityDate field.

func (*TransactionFixedIncome) SetMultiplier

func (o *TransactionFixedIncome) SetMultiplier(v float64)

SetMultiplier gets a reference to the given float64 and assigns it to the Multiplier field.

func (*TransactionFixedIncome) SetNetChange

func (o *TransactionFixedIncome) SetNetChange(v float64)

SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.

func (*TransactionFixedIncome) SetSymbol

func (o *TransactionFixedIncome) SetSymbol(v string)

SetSymbol gets a reference to the given string and assigns it to the Symbol field.

func (*TransactionFixedIncome) SetType

func (o *TransactionFixedIncome) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*TransactionFixedIncome) SetVariableRate

func (o *TransactionFixedIncome) SetVariableRate(v float64)

SetVariableRate gets a reference to the given float64 and assigns it to the VariableRate field.

func (TransactionFixedIncome) ToMap

func (o TransactionFixedIncome) ToMap() (map[string]interface{}, error)

func (*TransactionFixedIncome) UnmarshalJSON

func (o *TransactionFixedIncome) UnmarshalJSON(data []byte) (err error)

type TransactionInstrument

type TransactionInstrument struct {
	CollectiveInvestment      *CollectiveInvestment
	Currency                  *Currency
	Forex                     *Forex
	Future                    *Future
	Index                     *Index
	Product                   *Product
	TransactionCashEquivalent *TransactionCashEquivalent
	TransactionEquity         *TransactionEquity
	TransactionFixedIncome    *TransactionFixedIncome
	TransactionMutualFund     *TransactionMutualFund
	TransactionOption         *TransactionOption
}

TransactionInstrument - struct for TransactionInstrument

func CollectiveInvestmentAsTransactionInstrument

func CollectiveInvestmentAsTransactionInstrument(v *CollectiveInvestment) TransactionInstrument

CollectiveInvestmentAsTransactionInstrument is a convenience function that returns CollectiveInvestment wrapped in TransactionInstrument

func CurrencyAsTransactionInstrument

func CurrencyAsTransactionInstrument(v *Currency) TransactionInstrument

CurrencyAsTransactionInstrument is a convenience function that returns Currency wrapped in TransactionInstrument

func ForexAsTransactionInstrument

func ForexAsTransactionInstrument(v *Forex) TransactionInstrument

ForexAsTransactionInstrument is a convenience function that returns Forex wrapped in TransactionInstrument

func FutureAsTransactionInstrument

func FutureAsTransactionInstrument(v *Future) TransactionInstrument

FutureAsTransactionInstrument is a convenience function that returns Future wrapped in TransactionInstrument

func IndexAsTransactionInstrument

func IndexAsTransactionInstrument(v *Index) TransactionInstrument

IndexAsTransactionInstrument is a convenience function that returns Index wrapped in TransactionInstrument

func ProductAsTransactionInstrument

func ProductAsTransactionInstrument(v *Product) TransactionInstrument

ProductAsTransactionInstrument is a convenience function that returns Product wrapped in TransactionInstrument

func TransactionCashEquivalentAsTransactionInstrument

func TransactionCashEquivalentAsTransactionInstrument(v *TransactionCashEquivalent) TransactionInstrument

TransactionCashEquivalentAsTransactionInstrument is a convenience function that returns TransactionCashEquivalent wrapped in TransactionInstrument

func TransactionEquityAsTransactionInstrument

func TransactionEquityAsTransactionInstrument(v *TransactionEquity) TransactionInstrument

TransactionEquityAsTransactionInstrument is a convenience function that returns TransactionEquity wrapped in TransactionInstrument

func TransactionFixedIncomeAsTransactionInstrument

func TransactionFixedIncomeAsTransactionInstrument(v *TransactionFixedIncome) TransactionInstrument

TransactionFixedIncomeAsTransactionInstrument is a convenience function that returns TransactionFixedIncome wrapped in TransactionInstrument

func TransactionMutualFundAsTransactionInstrument

func TransactionMutualFundAsTransactionInstrument(v *TransactionMutualFund) TransactionInstrument

TransactionMutualFundAsTransactionInstrument is a convenience function that returns TransactionMutualFund wrapped in TransactionInstrument

func TransactionOptionAsTransactionInstrument

func TransactionOptionAsTransactionInstrument(v *TransactionOption) TransactionInstrument

TransactionOptionAsTransactionInstrument is a convenience function that returns TransactionOption wrapped in TransactionInstrument

func (*TransactionInstrument) GetActualInstance

func (obj *TransactionInstrument) GetActualInstance() interface{}

Get the actual instance

func (TransactionInstrument) MarshalJSON

func (src TransactionInstrument) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*TransactionInstrument) UnmarshalJSON

func (dst *TransactionInstrument) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type TransactionMutualFund

type TransactionMutualFund struct {
	FundFamilyName       *string    `json:"fundFamilyName,omitempty"`
	FundFamilySymbol     *string    `json:"fundFamilySymbol,omitempty"`
	FundGroup            *string    `json:"fundGroup,omitempty"`
	Type                 *string    `json:"type,omitempty"`
	ExchangeCutoffTime   *time.Time `json:"exchangeCutoffTime,omitempty"`
	PurchaseCutoffTime   *time.Time `json:"purchaseCutoffTime,omitempty"`
	RedemptionCutoffTime *time.Time `json:"redemptionCutoffTime,omitempty"`
	AssetType            string     `json:"assetType"`
	Cusip                *string    `json:"cusip,omitempty"`
	Symbol               *string    `json:"symbol,omitempty"`
	Description          *string    `json:"description,omitempty"`
	InstrumentId         *int64     `json:"instrumentId,omitempty"`
	NetChange            *float64   `json:"netChange,omitempty"`
}

TransactionMutualFund struct for TransactionMutualFund

func NewTransactionMutualFund

func NewTransactionMutualFund(assetType string) *TransactionMutualFund

NewTransactionMutualFund instantiates a new TransactionMutualFund 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 NewTransactionMutualFundWithDefaults

func NewTransactionMutualFundWithDefaults() *TransactionMutualFund

NewTransactionMutualFundWithDefaults instantiates a new TransactionMutualFund 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 (*TransactionMutualFund) GetAssetType

func (o *TransactionMutualFund) GetAssetType() string

GetAssetType returns the AssetType field value

func (*TransactionMutualFund) GetAssetTypeOk

func (o *TransactionMutualFund) GetAssetTypeOk() (*string, bool)

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

func (*TransactionMutualFund) GetCusip

func (o *TransactionMutualFund) GetCusip() string

GetCusip returns the Cusip field value if set, zero value otherwise.

func (*TransactionMutualFund) GetCusipOk

func (o *TransactionMutualFund) GetCusipOk() (*string, bool)

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

func (*TransactionMutualFund) GetDescription

func (o *TransactionMutualFund) GetDescription() string

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

func (*TransactionMutualFund) GetDescriptionOk

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

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

func (*TransactionMutualFund) GetExchangeCutoffTime

func (o *TransactionMutualFund) GetExchangeCutoffTime() time.Time

GetExchangeCutoffTime returns the ExchangeCutoffTime field value if set, zero value otherwise.

func (*TransactionMutualFund) GetExchangeCutoffTimeOk

func (o *TransactionMutualFund) GetExchangeCutoffTimeOk() (*time.Time, bool)

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

func (*TransactionMutualFund) GetFundFamilyName

func (o *TransactionMutualFund) GetFundFamilyName() string

GetFundFamilyName returns the FundFamilyName field value if set, zero value otherwise.

func (*TransactionMutualFund) GetFundFamilyNameOk

func (o *TransactionMutualFund) GetFundFamilyNameOk() (*string, bool)

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

func (*TransactionMutualFund) GetFundFamilySymbol

func (o *TransactionMutualFund) GetFundFamilySymbol() string

GetFundFamilySymbol returns the FundFamilySymbol field value if set, zero value otherwise.

func (*TransactionMutualFund) GetFundFamilySymbolOk

func (o *TransactionMutualFund) GetFundFamilySymbolOk() (*string, bool)

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

func (*TransactionMutualFund) GetFundGroup

func (o *TransactionMutualFund) GetFundGroup() string

GetFundGroup returns the FundGroup field value if set, zero value otherwise.

func (*TransactionMutualFund) GetFundGroupOk

func (o *TransactionMutualFund) GetFundGroupOk() (*string, bool)

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

func (*TransactionMutualFund) GetInstrumentId

func (o *TransactionMutualFund) GetInstrumentId() int64

GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.

func (*TransactionMutualFund) GetInstrumentIdOk

func (o *TransactionMutualFund) GetInstrumentIdOk() (*int64, bool)

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

func (*TransactionMutualFund) GetNetChange

func (o *TransactionMutualFund) GetNetChange() float64

GetNetChange returns the NetChange field value if set, zero value otherwise.

func (*TransactionMutualFund) GetNetChangeOk

func (o *TransactionMutualFund) GetNetChangeOk() (*float64, bool)

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

func (*TransactionMutualFund) GetPurchaseCutoffTime

func (o *TransactionMutualFund) GetPurchaseCutoffTime() time.Time

GetPurchaseCutoffTime returns the PurchaseCutoffTime field value if set, zero value otherwise.

func (*TransactionMutualFund) GetPurchaseCutoffTimeOk

func (o *TransactionMutualFund) GetPurchaseCutoffTimeOk() (*time.Time, bool)

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

func (*TransactionMutualFund) GetRedemptionCutoffTime

func (o *TransactionMutualFund) GetRedemptionCutoffTime() time.Time

GetRedemptionCutoffTime returns the RedemptionCutoffTime field value if set, zero value otherwise.

func (*TransactionMutualFund) GetRedemptionCutoffTimeOk

func (o *TransactionMutualFund) GetRedemptionCutoffTimeOk() (*time.Time, bool)

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

func (*TransactionMutualFund) GetSymbol

func (o *TransactionMutualFund) GetSymbol() string

GetSymbol returns the Symbol field value if set, zero value otherwise.

func (*TransactionMutualFund) GetSymbolOk

func (o *TransactionMutualFund) GetSymbolOk() (*string, bool)

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

func (*TransactionMutualFund) GetType

func (o *TransactionMutualFund) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*TransactionMutualFund) GetTypeOk

func (o *TransactionMutualFund) GetTypeOk() (*string, bool)

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

func (*TransactionMutualFund) HasCusip

func (o *TransactionMutualFund) HasCusip() bool

HasCusip returns a boolean if a field has been set.

func (*TransactionMutualFund) HasDescription

func (o *TransactionMutualFund) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*TransactionMutualFund) HasExchangeCutoffTime

func (o *TransactionMutualFund) HasExchangeCutoffTime() bool

HasExchangeCutoffTime returns a boolean if a field has been set.

func (*TransactionMutualFund) HasFundFamilyName

func (o *TransactionMutualFund) HasFundFamilyName() bool

HasFundFamilyName returns a boolean if a field has been set.

func (*TransactionMutualFund) HasFundFamilySymbol

func (o *TransactionMutualFund) HasFundFamilySymbol() bool

HasFundFamilySymbol returns a boolean if a field has been set.

func (*TransactionMutualFund) HasFundGroup

func (o *TransactionMutualFund) HasFundGroup() bool

HasFundGroup returns a boolean if a field has been set.

func (*TransactionMutualFund) HasInstrumentId

func (o *TransactionMutualFund) HasInstrumentId() bool

HasInstrumentId returns a boolean if a field has been set.

func (*TransactionMutualFund) HasNetChange

func (o *TransactionMutualFund) HasNetChange() bool

HasNetChange returns a boolean if a field has been set.

func (*TransactionMutualFund) HasPurchaseCutoffTime

func (o *TransactionMutualFund) HasPurchaseCutoffTime() bool

HasPurchaseCutoffTime returns a boolean if a field has been set.

func (*TransactionMutualFund) HasRedemptionCutoffTime

func (o *TransactionMutualFund) HasRedemptionCutoffTime() bool

HasRedemptionCutoffTime returns a boolean if a field has been set.

func (*TransactionMutualFund) HasSymbol

func (o *TransactionMutualFund) HasSymbol() bool

HasSymbol returns a boolean if a field has been set.

func (*TransactionMutualFund) HasType

func (o *TransactionMutualFund) HasType() bool

HasType returns a boolean if a field has been set.

func (TransactionMutualFund) MarshalJSON

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

func (*TransactionMutualFund) SetAssetType

func (o *TransactionMutualFund) SetAssetType(v string)

SetAssetType sets field value

func (*TransactionMutualFund) SetCusip

func (o *TransactionMutualFund) SetCusip(v string)

SetCusip gets a reference to the given string and assigns it to the Cusip field.

func (*TransactionMutualFund) SetDescription

func (o *TransactionMutualFund) SetDescription(v string)

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

func (*TransactionMutualFund) SetExchangeCutoffTime

func (o *TransactionMutualFund) SetExchangeCutoffTime(v time.Time)

SetExchangeCutoffTime gets a reference to the given time.Time and assigns it to the ExchangeCutoffTime field.

func (*TransactionMutualFund) SetFundFamilyName

func (o *TransactionMutualFund) SetFundFamilyName(v string)

SetFundFamilyName gets a reference to the given string and assigns it to the FundFamilyName field.

func (*TransactionMutualFund) SetFundFamilySymbol

func (o *TransactionMutualFund) SetFundFamilySymbol(v string)

SetFundFamilySymbol gets a reference to the given string and assigns it to the FundFamilySymbol field.

func (*TransactionMutualFund) SetFundGroup

func (o *TransactionMutualFund) SetFundGroup(v string)

SetFundGroup gets a reference to the given string and assigns it to the FundGroup field.

func (*TransactionMutualFund) SetInstrumentId

func (o *TransactionMutualFund) SetInstrumentId(v int64)

SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.

func (*TransactionMutualFund) SetNetChange

func (o *TransactionMutualFund) SetNetChange(v float64)

SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.

func (*TransactionMutualFund) SetPurchaseCutoffTime

func (o *TransactionMutualFund) SetPurchaseCutoffTime(v time.Time)

SetPurchaseCutoffTime gets a reference to the given time.Time and assigns it to the PurchaseCutoffTime field.

func (*TransactionMutualFund) SetRedemptionCutoffTime

func (o *TransactionMutualFund) SetRedemptionCutoffTime(v time.Time)

SetRedemptionCutoffTime gets a reference to the given time.Time and assigns it to the RedemptionCutoffTime field.

func (*TransactionMutualFund) SetSymbol

func (o *TransactionMutualFund) SetSymbol(v string)

SetSymbol gets a reference to the given string and assigns it to the Symbol field.

func (*TransactionMutualFund) SetType

func (o *TransactionMutualFund) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (TransactionMutualFund) ToMap

func (o TransactionMutualFund) ToMap() (map[string]interface{}, error)

func (*TransactionMutualFund) UnmarshalJSON

func (o *TransactionMutualFund) UnmarshalJSON(data []byte) (err error)

type TransactionOption

type TransactionOption struct {
	ExpirationDate          *time.Time                        `json:"expirationDate,omitempty"`
	OptionDeliverables      []TransactionAPIOptionDeliverable `json:"optionDeliverables,omitempty"`
	OptionPremiumMultiplier *int64                            `json:"optionPremiumMultiplier,omitempty"`
	PutCall                 *string                           `json:"putCall,omitempty"`
	StrikePrice             *float64                          `json:"strikePrice,omitempty"`
	Type                    *string                           `json:"type,omitempty"`
	UnderlyingSymbol        *string                           `json:"underlyingSymbol,omitempty"`
	UnderlyingCusip         *string                           `json:"underlyingCusip,omitempty"`
	Deliverable             *TransactionInstrument            `json:"deliverable,omitempty"`
	AssetType               string                            `json:"assetType"`
	Cusip                   *string                           `json:"cusip,omitempty"`
	Symbol                  *string                           `json:"symbol,omitempty"`
	Description             *string                           `json:"description,omitempty"`
	InstrumentId            *int64                            `json:"instrumentId,omitempty"`
	NetChange               *float64                          `json:"netChange,omitempty"`
}

TransactionOption struct for TransactionOption

func NewTransactionOption

func NewTransactionOption(assetType string) *TransactionOption

NewTransactionOption instantiates a new TransactionOption 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 NewTransactionOptionWithDefaults

func NewTransactionOptionWithDefaults() *TransactionOption

NewTransactionOptionWithDefaults instantiates a new TransactionOption 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 (*TransactionOption) GetAssetType

func (o *TransactionOption) GetAssetType() string

GetAssetType returns the AssetType field value

func (*TransactionOption) GetAssetTypeOk

func (o *TransactionOption) GetAssetTypeOk() (*string, bool)

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

func (*TransactionOption) GetCusip

func (o *TransactionOption) GetCusip() string

GetCusip returns the Cusip field value if set, zero value otherwise.

func (*TransactionOption) GetCusipOk

func (o *TransactionOption) GetCusipOk() (*string, bool)

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

func (*TransactionOption) GetDeliverable

func (o *TransactionOption) GetDeliverable() TransactionInstrument

GetDeliverable returns the Deliverable field value if set, zero value otherwise.

func (*TransactionOption) GetDeliverableOk

func (o *TransactionOption) GetDeliverableOk() (*TransactionInstrument, bool)

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

func (*TransactionOption) GetDescription

func (o *TransactionOption) GetDescription() string

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

func (*TransactionOption) GetDescriptionOk

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

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

func (*TransactionOption) GetExpirationDate

func (o *TransactionOption) GetExpirationDate() time.Time

GetExpirationDate returns the ExpirationDate field value if set, zero value otherwise.

func (*TransactionOption) GetExpirationDateOk

func (o *TransactionOption) GetExpirationDateOk() (*time.Time, bool)

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

func (*TransactionOption) GetInstrumentId

func (o *TransactionOption) GetInstrumentId() int64

GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.

func (*TransactionOption) GetInstrumentIdOk

func (o *TransactionOption) GetInstrumentIdOk() (*int64, bool)

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

func (*TransactionOption) GetNetChange

func (o *TransactionOption) GetNetChange() float64

GetNetChange returns the NetChange field value if set, zero value otherwise.

func (*TransactionOption) GetNetChangeOk

func (o *TransactionOption) GetNetChangeOk() (*float64, bool)

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

func (*TransactionOption) GetOptionDeliverables

func (o *TransactionOption) GetOptionDeliverables() []TransactionAPIOptionDeliverable

GetOptionDeliverables returns the OptionDeliverables field value if set, zero value otherwise.

func (*TransactionOption) GetOptionDeliverablesOk

func (o *TransactionOption) GetOptionDeliverablesOk() ([]TransactionAPIOptionDeliverable, bool)

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

func (*TransactionOption) GetOptionPremiumMultiplier

func (o *TransactionOption) GetOptionPremiumMultiplier() int64

GetOptionPremiumMultiplier returns the OptionPremiumMultiplier field value if set, zero value otherwise.

func (*TransactionOption) GetOptionPremiumMultiplierOk

func (o *TransactionOption) GetOptionPremiumMultiplierOk() (*int64, bool)

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

func (*TransactionOption) GetPutCall

func (o *TransactionOption) GetPutCall() string

GetPutCall returns the PutCall field value if set, zero value otherwise.

func (*TransactionOption) GetPutCallOk

func (o *TransactionOption) GetPutCallOk() (*string, bool)

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

func (*TransactionOption) GetStrikePrice

func (o *TransactionOption) GetStrikePrice() float64

GetStrikePrice returns the StrikePrice field value if set, zero value otherwise.

func (*TransactionOption) GetStrikePriceOk

func (o *TransactionOption) GetStrikePriceOk() (*float64, bool)

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

func (*TransactionOption) GetSymbol

func (o *TransactionOption) GetSymbol() string

GetSymbol returns the Symbol field value if set, zero value otherwise.

func (*TransactionOption) GetSymbolOk

func (o *TransactionOption) GetSymbolOk() (*string, bool)

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

func (*TransactionOption) GetType

func (o *TransactionOption) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*TransactionOption) GetTypeOk

func (o *TransactionOption) GetTypeOk() (*string, bool)

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

func (*TransactionOption) GetUnderlyingCusip

func (o *TransactionOption) GetUnderlyingCusip() string

GetUnderlyingCusip returns the UnderlyingCusip field value if set, zero value otherwise.

func (*TransactionOption) GetUnderlyingCusipOk

func (o *TransactionOption) GetUnderlyingCusipOk() (*string, bool)

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

func (*TransactionOption) GetUnderlyingSymbol

func (o *TransactionOption) GetUnderlyingSymbol() string

GetUnderlyingSymbol returns the UnderlyingSymbol field value if set, zero value otherwise.

func (*TransactionOption) GetUnderlyingSymbolOk

func (o *TransactionOption) GetUnderlyingSymbolOk() (*string, bool)

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

func (*TransactionOption) HasCusip

func (o *TransactionOption) HasCusip() bool

HasCusip returns a boolean if a field has been set.

func (*TransactionOption) HasDeliverable

func (o *TransactionOption) HasDeliverable() bool

HasDeliverable returns a boolean if a field has been set.

func (*TransactionOption) HasDescription

func (o *TransactionOption) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*TransactionOption) HasExpirationDate

func (o *TransactionOption) HasExpirationDate() bool

HasExpirationDate returns a boolean if a field has been set.

func (*TransactionOption) HasInstrumentId

func (o *TransactionOption) HasInstrumentId() bool

HasInstrumentId returns a boolean if a field has been set.

func (*TransactionOption) HasNetChange

func (o *TransactionOption) HasNetChange() bool

HasNetChange returns a boolean if a field has been set.

func (*TransactionOption) HasOptionDeliverables

func (o *TransactionOption) HasOptionDeliverables() bool

HasOptionDeliverables returns a boolean if a field has been set.

func (*TransactionOption) HasOptionPremiumMultiplier

func (o *TransactionOption) HasOptionPremiumMultiplier() bool

HasOptionPremiumMultiplier returns a boolean if a field has been set.

func (*TransactionOption) HasPutCall

func (o *TransactionOption) HasPutCall() bool

HasPutCall returns a boolean if a field has been set.

func (*TransactionOption) HasStrikePrice

func (o *TransactionOption) HasStrikePrice() bool

HasStrikePrice returns a boolean if a field has been set.

func (*TransactionOption) HasSymbol

func (o *TransactionOption) HasSymbol() bool

HasSymbol returns a boolean if a field has been set.

func (*TransactionOption) HasType

func (o *TransactionOption) HasType() bool

HasType returns a boolean if a field has been set.

func (*TransactionOption) HasUnderlyingCusip

func (o *TransactionOption) HasUnderlyingCusip() bool

HasUnderlyingCusip returns a boolean if a field has been set.

func (*TransactionOption) HasUnderlyingSymbol

func (o *TransactionOption) HasUnderlyingSymbol() bool

HasUnderlyingSymbol returns a boolean if a field has been set.

func (TransactionOption) MarshalJSON

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

func (*TransactionOption) SetAssetType

func (o *TransactionOption) SetAssetType(v string)

SetAssetType sets field value

func (*TransactionOption) SetCusip

func (o *TransactionOption) SetCusip(v string)

SetCusip gets a reference to the given string and assigns it to the Cusip field.

func (*TransactionOption) SetDeliverable

func (o *TransactionOption) SetDeliverable(v TransactionInstrument)

SetDeliverable gets a reference to the given TransactionInstrument and assigns it to the Deliverable field.

func (*TransactionOption) SetDescription

func (o *TransactionOption) SetDescription(v string)

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

func (*TransactionOption) SetExpirationDate

func (o *TransactionOption) SetExpirationDate(v time.Time)

SetExpirationDate gets a reference to the given time.Time and assigns it to the ExpirationDate field.

func (*TransactionOption) SetInstrumentId

func (o *TransactionOption) SetInstrumentId(v int64)

SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.

func (*TransactionOption) SetNetChange

func (o *TransactionOption) SetNetChange(v float64)

SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.

func (*TransactionOption) SetOptionDeliverables

func (o *TransactionOption) SetOptionDeliverables(v []TransactionAPIOptionDeliverable)

SetOptionDeliverables gets a reference to the given []TransactionAPIOptionDeliverable and assigns it to the OptionDeliverables field.

func (*TransactionOption) SetOptionPremiumMultiplier

func (o *TransactionOption) SetOptionPremiumMultiplier(v int64)

SetOptionPremiumMultiplier gets a reference to the given int64 and assigns it to the OptionPremiumMultiplier field.

func (*TransactionOption) SetPutCall

func (o *TransactionOption) SetPutCall(v string)

SetPutCall gets a reference to the given string and assigns it to the PutCall field.

func (*TransactionOption) SetStrikePrice

func (o *TransactionOption) SetStrikePrice(v float64)

SetStrikePrice gets a reference to the given float64 and assigns it to the StrikePrice field.

func (*TransactionOption) SetSymbol

func (o *TransactionOption) SetSymbol(v string)

SetSymbol gets a reference to the given string and assigns it to the Symbol field.

func (*TransactionOption) SetType

func (o *TransactionOption) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*TransactionOption) SetUnderlyingCusip

func (o *TransactionOption) SetUnderlyingCusip(v string)

SetUnderlyingCusip gets a reference to the given string and assigns it to the UnderlyingCusip field.

func (*TransactionOption) SetUnderlyingSymbol

func (o *TransactionOption) SetUnderlyingSymbol(v string)

SetUnderlyingSymbol gets a reference to the given string and assigns it to the UnderlyingSymbol field.

func (TransactionOption) ToMap

func (o TransactionOption) ToMap() (map[string]interface{}, error)

func (*TransactionOption) UnmarshalJSON

func (o *TransactionOption) UnmarshalJSON(data []byte) (err error)

type TransactionType

type TransactionType string

TransactionType the model 'TransactionType'

const (
	TRANSACTIONTYPE_TRADE                TransactionType = "TRADE"
	TRANSACTIONTYPE_RECEIVE_AND_DELIVER  TransactionType = "RECEIVE_AND_DELIVER"
	TRANSACTIONTYPE_DIVIDEND_OR_INTEREST TransactionType = "DIVIDEND_OR_INTEREST"
	TRANSACTIONTYPE_ACH_RECEIPT          TransactionType = "ACH_RECEIPT"
	TRANSACTIONTYPE_ACH_DISBURSEMENT     TransactionType = "ACH_DISBURSEMENT"
	TRANSACTIONTYPE_CASH_RECEIPT         TransactionType = "CASH_RECEIPT"
	TRANSACTIONTYPE_CASH_DISBURSEMENT    TransactionType = "CASH_DISBURSEMENT"
	TRANSACTIONTYPE_ELECTRONIC_FUND      TransactionType = "ELECTRONIC_FUND"
	TRANSACTIONTYPE_WIRE_OUT             TransactionType = "WIRE_OUT"
	TRANSACTIONTYPE_WIRE_IN              TransactionType = "WIRE_IN"
	TRANSACTIONTYPE_JOURNAL              TransactionType = "JOURNAL"
	TRANSACTIONTYPE_MEMORANDUM           TransactionType = "MEMORANDUM"
	TRANSACTIONTYPE_MARGIN_CALL          TransactionType = "MARGIN_CALL"
	TRANSACTIONTYPE_MONEY_MARKET         TransactionType = "MONEY_MARKET"
	TRANSACTIONTYPE_SMA_ADJUSTMENT       TransactionType = "SMA_ADJUSTMENT"
)

List of TransactionType

func NewTransactionTypeFromValue

func NewTransactionTypeFromValue(v string) (*TransactionType, error)

NewTransactionTypeFromValue returns a pointer to a valid TransactionType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (TransactionType) IsValid

func (v TransactionType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (TransactionType) Ptr

Ptr returns reference to TransactionType value

func (*TransactionType) UnmarshalJSON

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

type TransactionsAPIService

type TransactionsAPIService service

TransactionsAPIService TransactionsAPI service

func (*TransactionsAPIService) GetTransactionsById

func (a *TransactionsAPIService) GetTransactionsById(ctx context.Context, accountNumber string, transactionId int64) ApiGetTransactionsByIdRequest

GetTransactionsById Get specific transaction information for a specific account

Get specific transaction information for a specific account

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountNumber The encrypted ID of the account
@param transactionId The ID of the transaction being retrieved.
@return ApiGetTransactionsByIdRequest

func (*TransactionsAPIService) GetTransactionsByIdExecute

func (a *TransactionsAPIService) GetTransactionsByIdExecute(r ApiGetTransactionsByIdRequest) ([]Transaction, *http.Response, error)

Execute executes the request

@return []Transaction

func (*TransactionsAPIService) GetTransactionsByPathParam

func (a *TransactionsAPIService) GetTransactionsByPathParam(ctx context.Context, accountNumber string) ApiGetTransactionsByPathParamRequest

GetTransactionsByPathParam Get all transactions information for a specific account.

All transactions for a specific account. Maximum transactions in response is 3000.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountNumber The encrypted ID of the account
@return ApiGetTransactionsByPathParamRequest

func (*TransactionsAPIService) GetTransactionsByPathParamExecute

func (a *TransactionsAPIService) GetTransactionsByPathParamExecute(r ApiGetTransactionsByPathParamRequest) ([]Transaction, *http.Response, error)

Execute executes the request

@return []Transaction

type TransferItem

type TransferItem struct {
	Instrument     *TransactionInstrument `json:"instrument,omitempty"`
	Amount         *float64               `json:"amount,omitempty"`
	Cost           *float64               `json:"cost,omitempty"`
	Price          *float64               `json:"price,omitempty"`
	FeeType        *string                `json:"feeType,omitempty"`
	PositionEffect *string                `json:"positionEffect,omitempty"`
}

TransferItem struct for TransferItem

func NewTransferItem

func NewTransferItem() *TransferItem

NewTransferItem instantiates a new TransferItem 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 NewTransferItemWithDefaults

func NewTransferItemWithDefaults() *TransferItem

NewTransferItemWithDefaults instantiates a new TransferItem 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 (*TransferItem) GetAmount

func (o *TransferItem) GetAmount() float64

GetAmount returns the Amount field value if set, zero value otherwise.

func (*TransferItem) GetAmountOk

func (o *TransferItem) GetAmountOk() (*float64, bool)

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

func (*TransferItem) GetCost

func (o *TransferItem) GetCost() float64

GetCost returns the Cost field value if set, zero value otherwise.

func (*TransferItem) GetCostOk

func (o *TransferItem) GetCostOk() (*float64, bool)

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

func (*TransferItem) GetFeeType

func (o *TransferItem) GetFeeType() string

GetFeeType returns the FeeType field value if set, zero value otherwise.

func (*TransferItem) GetFeeTypeOk

func (o *TransferItem) GetFeeTypeOk() (*string, bool)

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

func (*TransferItem) GetInstrument

func (o *TransferItem) GetInstrument() TransactionInstrument

GetInstrument returns the Instrument field value if set, zero value otherwise.

func (*TransferItem) GetInstrumentOk

func (o *TransferItem) GetInstrumentOk() (*TransactionInstrument, bool)

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

func (*TransferItem) GetPositionEffect

func (o *TransferItem) GetPositionEffect() string

GetPositionEffect returns the PositionEffect field value if set, zero value otherwise.

func (*TransferItem) GetPositionEffectOk

func (o *TransferItem) GetPositionEffectOk() (*string, bool)

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

func (*TransferItem) GetPrice

func (o *TransferItem) GetPrice() float64

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

func (*TransferItem) GetPriceOk

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

func (o *TransferItem) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*TransferItem) HasCost

func (o *TransferItem) HasCost() bool

HasCost returns a boolean if a field has been set.

func (*TransferItem) HasFeeType

func (o *TransferItem) HasFeeType() bool

HasFeeType returns a boolean if a field has been set.

func (*TransferItem) HasInstrument

func (o *TransferItem) HasInstrument() bool

HasInstrument returns a boolean if a field has been set.

func (*TransferItem) HasPositionEffect

func (o *TransferItem) HasPositionEffect() bool

HasPositionEffect returns a boolean if a field has been set.

func (*TransferItem) HasPrice

func (o *TransferItem) HasPrice() bool

HasPrice returns a boolean if a field has been set.

func (TransferItem) MarshalJSON

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

func (*TransferItem) SetAmount

func (o *TransferItem) SetAmount(v float64)

SetAmount gets a reference to the given float64 and assigns it to the Amount field.

func (*TransferItem) SetCost

func (o *TransferItem) SetCost(v float64)

SetCost gets a reference to the given float64 and assigns it to the Cost field.

func (*TransferItem) SetFeeType

func (o *TransferItem) SetFeeType(v string)

SetFeeType gets a reference to the given string and assigns it to the FeeType field.

func (*TransferItem) SetInstrument

func (o *TransferItem) SetInstrument(v TransactionInstrument)

SetInstrument gets a reference to the given TransactionInstrument and assigns it to the Instrument field.

func (*TransferItem) SetPositionEffect

func (o *TransferItem) SetPositionEffect(v string)

SetPositionEffect gets a reference to the given string and assigns it to the PositionEffect field.

func (*TransferItem) SetPrice

func (o *TransferItem) SetPrice(v float64)

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

func (TransferItem) ToMap

func (o TransferItem) ToMap() (map[string]interface{}, error)

type UserDetails

type UserDetails struct {
	CdDomainId     *string `json:"cdDomainId,omitempty"`
	Login          *string `json:"login,omitempty"`
	Type           *string `json:"type,omitempty"`
	UserId         *int64  `json:"userId,omitempty"`
	SystemUserName *string `json:"systemUserName,omitempty"`
	FirstName      *string `json:"firstName,omitempty"`
	LastName       *string `json:"lastName,omitempty"`
	BrokerRepCode  *string `json:"brokerRepCode,omitempty"`
}

UserDetails struct for UserDetails

func NewUserDetails

func NewUserDetails() *UserDetails

NewUserDetails instantiates a new UserDetails 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 NewUserDetailsWithDefaults

func NewUserDetailsWithDefaults() *UserDetails

NewUserDetailsWithDefaults instantiates a new UserDetails 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 (*UserDetails) GetBrokerRepCode

func (o *UserDetails) GetBrokerRepCode() string

GetBrokerRepCode returns the BrokerRepCode field value if set, zero value otherwise.

func (*UserDetails) GetBrokerRepCodeOk

func (o *UserDetails) GetBrokerRepCodeOk() (*string, bool)

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

func (*UserDetails) GetCdDomainId

func (o *UserDetails) GetCdDomainId() string

GetCdDomainId returns the CdDomainId field value if set, zero value otherwise.

func (*UserDetails) GetCdDomainIdOk

func (o *UserDetails) GetCdDomainIdOk() (*string, bool)

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

func (*UserDetails) GetFirstName

func (o *UserDetails) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise.

func (*UserDetails) GetFirstNameOk

func (o *UserDetails) GetFirstNameOk() (*string, bool)

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

func (*UserDetails) GetLastName

func (o *UserDetails) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise.

func (*UserDetails) GetLastNameOk

func (o *UserDetails) GetLastNameOk() (*string, bool)

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

func (*UserDetails) GetLogin

func (o *UserDetails) GetLogin() string

GetLogin returns the Login field value if set, zero value otherwise.

func (*UserDetails) GetLoginOk

func (o *UserDetails) GetLoginOk() (*string, bool)

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

func (*UserDetails) GetSystemUserName

func (o *UserDetails) GetSystemUserName() string

GetSystemUserName returns the SystemUserName field value if set, zero value otherwise.

func (*UserDetails) GetSystemUserNameOk

func (o *UserDetails) GetSystemUserNameOk() (*string, bool)

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

func (*UserDetails) GetType

func (o *UserDetails) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*UserDetails) GetTypeOk

func (o *UserDetails) GetTypeOk() (*string, bool)

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

func (*UserDetails) GetUserId

func (o *UserDetails) GetUserId() int64

GetUserId returns the UserId field value if set, zero value otherwise.

func (*UserDetails) GetUserIdOk

func (o *UserDetails) GetUserIdOk() (*int64, bool)

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

func (*UserDetails) HasBrokerRepCode

func (o *UserDetails) HasBrokerRepCode() bool

HasBrokerRepCode returns a boolean if a field has been set.

func (*UserDetails) HasCdDomainId

func (o *UserDetails) HasCdDomainId() bool

HasCdDomainId returns a boolean if a field has been set.

func (*UserDetails) HasFirstName

func (o *UserDetails) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*UserDetails) HasLastName

func (o *UserDetails) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (*UserDetails) HasLogin

func (o *UserDetails) HasLogin() bool

HasLogin returns a boolean if a field has been set.

func (*UserDetails) HasSystemUserName

func (o *UserDetails) HasSystemUserName() bool

HasSystemUserName returns a boolean if a field has been set.

func (*UserDetails) HasType

func (o *UserDetails) HasType() bool

HasType returns a boolean if a field has been set.

func (*UserDetails) HasUserId

func (o *UserDetails) HasUserId() bool

HasUserId returns a boolean if a field has been set.

func (UserDetails) MarshalJSON

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

func (*UserDetails) SetBrokerRepCode

func (o *UserDetails) SetBrokerRepCode(v string)

SetBrokerRepCode gets a reference to the given string and assigns it to the BrokerRepCode field.

func (*UserDetails) SetCdDomainId

func (o *UserDetails) SetCdDomainId(v string)

SetCdDomainId gets a reference to the given string and assigns it to the CdDomainId field.

func (*UserDetails) SetFirstName

func (o *UserDetails) SetFirstName(v string)

SetFirstName gets a reference to the given string and assigns it to the FirstName field.

func (*UserDetails) SetLastName

func (o *UserDetails) SetLastName(v string)

SetLastName gets a reference to the given string and assigns it to the LastName field.

func (*UserDetails) SetLogin

func (o *UserDetails) SetLogin(v string)

SetLogin gets a reference to the given string and assigns it to the Login field.

func (*UserDetails) SetSystemUserName

func (o *UserDetails) SetSystemUserName(v string)

SetSystemUserName gets a reference to the given string and assigns it to the SystemUserName field.

func (*UserDetails) SetType

func (o *UserDetails) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*UserDetails) SetUserId

func (o *UserDetails) SetUserId(v int64)

SetUserId gets a reference to the given int64 and assigns it to the UserId field.

func (UserDetails) ToMap

func (o UserDetails) ToMap() (map[string]interface{}, error)

type UserPreference

type UserPreference struct {
	Accounts     []UserProferenceAccount `json:"accounts,omitempty"`
	StreamerInfo []StreamerInfo          `json:"streamerInfo,omitempty"`
	Offers       []Offer                 `json:"offers,omitempty"`
}

UserPreference struct for UserPreference

func NewUserPreference

func NewUserPreference() *UserPreference

NewUserPreference instantiates a new UserPreference 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 NewUserPreferenceWithDefaults

func NewUserPreferenceWithDefaults() *UserPreference

NewUserPreferenceWithDefaults instantiates a new UserPreference 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 (*UserPreference) GetAccounts

func (o *UserPreference) GetAccounts() []UserProferenceAccount

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

func (*UserPreference) GetAccountsOk

func (o *UserPreference) GetAccountsOk() ([]UserProferenceAccount, 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 (*UserPreference) GetOffers

func (o *UserPreference) GetOffers() []Offer

GetOffers returns the Offers field value if set, zero value otherwise.

func (*UserPreference) GetOffersOk

func (o *UserPreference) GetOffersOk() ([]Offer, bool)

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

func (*UserPreference) GetStreamerInfo

func (o *UserPreference) GetStreamerInfo() []StreamerInfo

GetStreamerInfo returns the StreamerInfo field value if set, zero value otherwise.

func (*UserPreference) GetStreamerInfoOk

func (o *UserPreference) GetStreamerInfoOk() ([]StreamerInfo, bool)

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

func (*UserPreference) HasAccounts

func (o *UserPreference) HasAccounts() bool

HasAccounts returns a boolean if a field has been set.

func (*UserPreference) HasOffers

func (o *UserPreference) HasOffers() bool

HasOffers returns a boolean if a field has been set.

func (*UserPreference) HasStreamerInfo

func (o *UserPreference) HasStreamerInfo() bool

HasStreamerInfo returns a boolean if a field has been set.

func (UserPreference) MarshalJSON

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

func (*UserPreference) SetAccounts

func (o *UserPreference) SetAccounts(v []UserProferenceAccount)

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

func (*UserPreference) SetOffers

func (o *UserPreference) SetOffers(v []Offer)

SetOffers gets a reference to the given []Offer and assigns it to the Offers field.

func (*UserPreference) SetStreamerInfo

func (o *UserPreference) SetStreamerInfo(v []StreamerInfo)

SetStreamerInfo gets a reference to the given []StreamerInfo and assigns it to the StreamerInfo field.

func (UserPreference) ToMap

func (o UserPreference) ToMap() (map[string]interface{}, error)

type UserPreferenceAPIService

type UserPreferenceAPIService service

UserPreferenceAPIService UserPreferenceAPI service

func (*UserPreferenceAPIService) GetUserPreference

GetUserPreference Get user preference information for the logged in user.

Get user preference information for the logged in user.

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

func (*UserPreferenceAPIService) GetUserPreferenceExecute

Execute executes the request

@return []UserPreference

type UserProferenceAccount

type UserProferenceAccount struct {
	AccountNumber  *string `json:"accountNumber,omitempty"`
	PrimaryAccount *bool   `json:"primaryAccount,omitempty"`
	Type           *string `json:"type,omitempty"`
	NickName       *string `json:"nickName,omitempty"`
	// Green | Blue
	AccountColor       *string `json:"accountColor,omitempty"`
	DisplayAcctId      *string `json:"displayAcctId,omitempty"`
	AutoPositionEffect *bool   `json:"autoPositionEffect,omitempty"`
}

UserProferenceAccount struct for UserProferenceAccount

func NewUserProferenceAccount

func NewUserProferenceAccount() *UserProferenceAccount

NewUserProferenceAccount instantiates a new UserProferenceAccount 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 NewUserProferenceAccountWithDefaults

func NewUserProferenceAccountWithDefaults() *UserProferenceAccount

NewUserProferenceAccountWithDefaults instantiates a new UserProferenceAccount 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 (*UserProferenceAccount) GetAccountColor

func (o *UserProferenceAccount) GetAccountColor() string

GetAccountColor returns the AccountColor field value if set, zero value otherwise.

func (*UserProferenceAccount) GetAccountColorOk

func (o *UserProferenceAccount) GetAccountColorOk() (*string, bool)

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

func (*UserProferenceAccount) GetAccountNumber

func (o *UserProferenceAccount) GetAccountNumber() string

GetAccountNumber returns the AccountNumber field value if set, zero value otherwise.

func (*UserProferenceAccount) GetAccountNumberOk

func (o *UserProferenceAccount) GetAccountNumberOk() (*string, bool)

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

func (*UserProferenceAccount) GetAutoPositionEffect

func (o *UserProferenceAccount) GetAutoPositionEffect() bool

GetAutoPositionEffect returns the AutoPositionEffect field value if set, zero value otherwise.

func (*UserProferenceAccount) GetAutoPositionEffectOk

func (o *UserProferenceAccount) GetAutoPositionEffectOk() (*bool, bool)

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

func (*UserProferenceAccount) GetDisplayAcctId

func (o *UserProferenceAccount) GetDisplayAcctId() string

GetDisplayAcctId returns the DisplayAcctId field value if set, zero value otherwise.

func (*UserProferenceAccount) GetDisplayAcctIdOk

func (o *UserProferenceAccount) GetDisplayAcctIdOk() (*string, bool)

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

func (*UserProferenceAccount) GetNickName

func (o *UserProferenceAccount) GetNickName() string

GetNickName returns the NickName field value if set, zero value otherwise.

func (*UserProferenceAccount) GetNickNameOk

func (o *UserProferenceAccount) GetNickNameOk() (*string, bool)

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

func (*UserProferenceAccount) GetPrimaryAccount

func (o *UserProferenceAccount) GetPrimaryAccount() bool

GetPrimaryAccount returns the PrimaryAccount field value if set, zero value otherwise.

func (*UserProferenceAccount) GetPrimaryAccountOk

func (o *UserProferenceAccount) GetPrimaryAccountOk() (*bool, bool)

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

func (*UserProferenceAccount) GetType

func (o *UserProferenceAccount) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*UserProferenceAccount) GetTypeOk

func (o *UserProferenceAccount) GetTypeOk() (*string, bool)

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

func (*UserProferenceAccount) HasAccountColor

func (o *UserProferenceAccount) HasAccountColor() bool

HasAccountColor returns a boolean if a field has been set.

func (*UserProferenceAccount) HasAccountNumber

func (o *UserProferenceAccount) HasAccountNumber() bool

HasAccountNumber returns a boolean if a field has been set.

func (*UserProferenceAccount) HasAutoPositionEffect

func (o *UserProferenceAccount) HasAutoPositionEffect() bool

HasAutoPositionEffect returns a boolean if a field has been set.

func (*UserProferenceAccount) HasDisplayAcctId

func (o *UserProferenceAccount) HasDisplayAcctId() bool

HasDisplayAcctId returns a boolean if a field has been set.

func (*UserProferenceAccount) HasNickName

func (o *UserProferenceAccount) HasNickName() bool

HasNickName returns a boolean if a field has been set.

func (*UserProferenceAccount) HasPrimaryAccount

func (o *UserProferenceAccount) HasPrimaryAccount() bool

HasPrimaryAccount returns a boolean if a field has been set.

func (*UserProferenceAccount) HasType

func (o *UserProferenceAccount) HasType() bool

HasType returns a boolean if a field has been set.

func (UserProferenceAccount) MarshalJSON

func (o UserProferenceAccount) MarshalJSON() ([]byte, error)

func (*UserProferenceAccount) SetAccountColor

func (o *UserProferenceAccount) SetAccountColor(v string)

SetAccountColor gets a reference to the given string and assigns it to the AccountColor field.

func (*UserProferenceAccount) SetAccountNumber

func (o *UserProferenceAccount) SetAccountNumber(v string)

SetAccountNumber gets a reference to the given string and assigns it to the AccountNumber field.

func (*UserProferenceAccount) SetAutoPositionEffect

func (o *UserProferenceAccount) SetAutoPositionEffect(v bool)

SetAutoPositionEffect gets a reference to the given bool and assigns it to the AutoPositionEffect field.

func (*UserProferenceAccount) SetDisplayAcctId

func (o *UserProferenceAccount) SetDisplayAcctId(v string)

SetDisplayAcctId gets a reference to the given string and assigns it to the DisplayAcctId field.

func (*UserProferenceAccount) SetNickName

func (o *UserProferenceAccount) SetNickName(v string)

SetNickName gets a reference to the given string and assigns it to the NickName field.

func (*UserProferenceAccount) SetPrimaryAccount

func (o *UserProferenceAccount) SetPrimaryAccount(v bool)

SetPrimaryAccount gets a reference to the given bool and assigns it to the PrimaryAccount field.

func (*UserProferenceAccount) SetType

func (o *UserProferenceAccount) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (UserProferenceAccount) ToMap

func (o UserProferenceAccount) ToMap() (map[string]interface{}, error)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL