Documentation ¶
Index ¶
- Constants
- type CancelOrderMethodNotAllowed
- type CancelOrderMethodNotAllowedBody
- type CancelOrderNotFound
- type CancelOrderNotFoundBody
- type CancelOrderOK
- type CancelOrderOKBody
- type CancelOrderParams
- func (o *CancelOrderParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *CancelOrderParams) SetAccountID(accountID string)
- func (o *CancelOrderParams) SetAuthorization(authorization string)
- func (o *CancelOrderParams) SetClientRequestID(clientRequestID *string)
- func (o *CancelOrderParams) SetContext(ctx context.Context)
- func (o *CancelOrderParams) SetHTTPClient(client *http.Client)
- func (o *CancelOrderParams) SetOrderSpecifier(orderSpecifier string)
- func (o *CancelOrderParams) SetTimeout(timeout time.Duration)
- func (o *CancelOrderParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *CancelOrderParams
- func (o *CancelOrderParams) WithAccountID(accountID string) *CancelOrderParams
- func (o *CancelOrderParams) WithAuthorization(authorization string) *CancelOrderParams
- func (o *CancelOrderParams) WithClientRequestID(clientRequestID *string) *CancelOrderParams
- func (o *CancelOrderParams) WithContext(ctx context.Context) *CancelOrderParams
- func (o *CancelOrderParams) WithHTTPClient(client *http.Client) *CancelOrderParams
- func (o *CancelOrderParams) WithOrderSpecifier(orderSpecifier string) *CancelOrderParams
- func (o *CancelOrderParams) WithTimeout(timeout time.Duration) *CancelOrderParams
- func (o *CancelOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CancelOrderReader
- type CancelOrderUnauthorized
- type CancelOrderUnauthorizedBody
- type Client
- func (a *Client) CancelOrder(params *CancelOrderParams) (*CancelOrderOK, error)
- func (a *Client) ClosePosition(params *ClosePositionParams) (*ClosePositionOK, error)
- func (a *Client) CloseTrade(params *CloseTradeParams) (*CloseTradeOK, error)
- func (a *Client) ConfigureAccount(params *ConfigureAccountParams) (*ConfigureAccountOK, error)
- func (a *Client) CreateOrder(params *CreateOrderParams) (*CreateOrderCreated, error)
- func (a *Client) GetAccount(params *GetAccountParams) (*GetAccountOK, error)
- func (a *Client) GetAccountChanges(params *GetAccountChangesParams) (*GetAccountChangesOK, error)
- func (a *Client) GetAccountInstruments(params *GetAccountInstrumentsParams) (*GetAccountInstrumentsOK, error)
- func (a *Client) GetAccountSummary(params *GetAccountSummaryParams) (*GetAccountSummaryOK, error)
- func (a *Client) GetBasePrices(params *GetBasePricesParams) (*GetBasePricesOK, error)
- func (a *Client) GetExternalUserInfo(params *GetExternalUserInfoParams) (*GetExternalUserInfoOK, error)
- func (a *Client) GetInstrumentCandles(params *GetInstrumentCandlesParams) (*GetInstrumentCandlesOK, error)
- func (a *Client) GetInstrumentPrice(params *GetInstrumentPriceParams) (*GetInstrumentPriceOK, error)
- func (a *Client) GetInstrumentPriceRange(params *GetInstrumentPriceRangeParams) (*GetInstrumentPriceRangeOK, error)
- func (a *Client) GetInstrumentsInstrumentOrderBook(params *GetInstrumentsInstrumentOrderBookParams) (*GetInstrumentsInstrumentOrderBookOK, error)
- func (a *Client) GetInstrumentsInstrumentPositionBook(params *GetInstrumentsInstrumentPositionBookParams) (*GetInstrumentsInstrumentPositionBookOK, error)
- func (a *Client) GetOrder(params *GetOrderParams) (*GetOrderOK, error)
- func (a *Client) GetPosition(params *GetPositionParams) (*GetPositionOK, error)
- func (a *Client) GetPrices(params *GetPricesParams) (*GetPricesOK, error)
- func (a *Client) GetTrade(params *GetTradeParams) (*GetTradeOK, error)
- func (a *Client) GetTransaction(params *GetTransactionParams) (*GetTransactionOK, error)
- func (a *Client) GetTransactionRange(params *GetTransactionRangeParams) (*GetTransactionRangeOK, error)
- func (a *Client) GetTransactionsSinceID(params *GetTransactionsSinceIDParams) (*GetTransactionsSinceIDOK, error)
- func (a *Client) GetUserInfo(params *GetUserInfoParams) (*GetUserInfoOK, error)
- func (a *Client) ListAccounts(params *ListAccountsParams) (*ListAccountsOK, error)
- func (a *Client) ListOpenPositions(params *ListOpenPositionsParams) (*ListOpenPositionsOK, error)
- func (a *Client) ListOpenTrades(params *ListOpenTradesParams) (*ListOpenTradesOK, error)
- func (a *Client) ListOrders(params *ListOrdersParams) (*ListOrdersOK, error)
- func (a *Client) ListPendingOrders(params *ListPendingOrdersParams) (*ListPendingOrdersOK, error)
- func (a *Client) ListPositions(params *ListPositionsParams) (*ListPositionsOK, error)
- func (a *Client) ListTrades(params *ListTradesParams) (*ListTradesOK, error)
- func (a *Client) ListTransactions(params *ListTransactionsParams) (*ListTransactionsOK, error)
- func (a *Client) ReplaceOrder(params *ReplaceOrderParams) (*ReplaceOrderCreated, error)
- func (a *Client) SetOrderClientExtensions(params *SetOrderClientExtensionsParams) (*SetOrderClientExtensionsOK, error)
- func (a *Client) SetTradeClientExtensions(params *SetTradeClientExtensionsParams) (*SetTradeClientExtensionsOK, error)
- func (a *Client) SetTradeDependentOrders(params *SetTradeDependentOrdersParams) (*SetTradeDependentOrdersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StreamPricing(params *StreamPricingParams) (*StreamPricingOK, error)
- func (a *Client) StreamTransactions(params *StreamTransactionsParams) (*StreamTransactionsOK, error)
- type ClosePositionBadRequest
- type ClosePositionBadRequestBody
- type ClosePositionBody
- type ClosePositionMethodNotAllowed
- type ClosePositionMethodNotAllowedBody
- type ClosePositionNotFound
- type ClosePositionNotFoundBody
- type ClosePositionOK
- type ClosePositionOKBody
- type ClosePositionParams
- func (o *ClosePositionParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *ClosePositionParams) SetAccountID(accountID string)
- func (o *ClosePositionParams) SetAuthorization(authorization string)
- func (o *ClosePositionParams) SetClosePositionBody(closePositionBody ClosePositionBody)
- func (o *ClosePositionParams) SetContext(ctx context.Context)
- func (o *ClosePositionParams) SetHTTPClient(client *http.Client)
- func (o *ClosePositionParams) SetInstrument(instrument string)
- func (o *ClosePositionParams) SetTimeout(timeout time.Duration)
- func (o *ClosePositionParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *ClosePositionParams
- func (o *ClosePositionParams) WithAccountID(accountID string) *ClosePositionParams
- func (o *ClosePositionParams) WithAuthorization(authorization string) *ClosePositionParams
- func (o *ClosePositionParams) WithClosePositionBody(closePositionBody ClosePositionBody) *ClosePositionParams
- func (o *ClosePositionParams) WithContext(ctx context.Context) *ClosePositionParams
- func (o *ClosePositionParams) WithHTTPClient(client *http.Client) *ClosePositionParams
- func (o *ClosePositionParams) WithInstrument(instrument string) *ClosePositionParams
- func (o *ClosePositionParams) WithTimeout(timeout time.Duration) *ClosePositionParams
- func (o *ClosePositionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ClosePositionReader
- type ClosePositionUnauthorized
- type ClosePositionUnauthorizedBody
- type CloseTradeBadRequest
- type CloseTradeBadRequestBody
- type CloseTradeBody
- type CloseTradeMethodNotAllowed
- type CloseTradeMethodNotAllowedBody
- type CloseTradeNotFound
- type CloseTradeNotFoundBody
- type CloseTradeOK
- type CloseTradeOKBody
- type CloseTradeParams
- func (o *CloseTradeParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *CloseTradeParams) SetAccountID(accountID string)
- func (o *CloseTradeParams) SetAuthorization(authorization string)
- func (o *CloseTradeParams) SetCloseTradeBody(closeTradeBody CloseTradeBody)
- func (o *CloseTradeParams) SetContext(ctx context.Context)
- func (o *CloseTradeParams) SetHTTPClient(client *http.Client)
- func (o *CloseTradeParams) SetTimeout(timeout time.Duration)
- func (o *CloseTradeParams) SetTradeSpecifier(tradeSpecifier string)
- func (o *CloseTradeParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *CloseTradeParams
- func (o *CloseTradeParams) WithAccountID(accountID string) *CloseTradeParams
- func (o *CloseTradeParams) WithAuthorization(authorization string) *CloseTradeParams
- func (o *CloseTradeParams) WithCloseTradeBody(closeTradeBody CloseTradeBody) *CloseTradeParams
- func (o *CloseTradeParams) WithContext(ctx context.Context) *CloseTradeParams
- func (o *CloseTradeParams) WithHTTPClient(client *http.Client) *CloseTradeParams
- func (o *CloseTradeParams) WithTimeout(timeout time.Duration) *CloseTradeParams
- func (o *CloseTradeParams) WithTradeSpecifier(tradeSpecifier string) *CloseTradeParams
- func (o *CloseTradeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CloseTradeReader
- type CloseTradeUnauthorized
- type CloseTradeUnauthorizedBody
- type ConfigureAccountBadRequest
- type ConfigureAccountBadRequestBody
- type ConfigureAccountBody
- type ConfigureAccountForbidden
- type ConfigureAccountForbiddenBody
- type ConfigureAccountMethodNotAllowed
- type ConfigureAccountMethodNotAllowedBody
- type ConfigureAccountNotFound
- type ConfigureAccountNotFoundBody
- type ConfigureAccountOK
- type ConfigureAccountOKBody
- type ConfigureAccountParams
- func NewConfigureAccountParams() *ConfigureAccountParams
- func NewConfigureAccountParamsWithContext(ctx context.Context) *ConfigureAccountParams
- func NewConfigureAccountParamsWithHTTPClient(client *http.Client) *ConfigureAccountParams
- func NewConfigureAccountParamsWithTimeout(timeout time.Duration) *ConfigureAccountParams
- func (o *ConfigureAccountParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *ConfigureAccountParams) SetAccountID(accountID string)
- func (o *ConfigureAccountParams) SetAuthorization(authorization string)
- func (o *ConfigureAccountParams) SetConfigureAccountBody(configureAccountBody ConfigureAccountBody)
- func (o *ConfigureAccountParams) SetContext(ctx context.Context)
- func (o *ConfigureAccountParams) SetHTTPClient(client *http.Client)
- func (o *ConfigureAccountParams) SetTimeout(timeout time.Duration)
- func (o *ConfigureAccountParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *ConfigureAccountParams
- func (o *ConfigureAccountParams) WithAccountID(accountID string) *ConfigureAccountParams
- func (o *ConfigureAccountParams) WithAuthorization(authorization string) *ConfigureAccountParams
- func (o *ConfigureAccountParams) WithConfigureAccountBody(configureAccountBody ConfigureAccountBody) *ConfigureAccountParams
- func (o *ConfigureAccountParams) WithContext(ctx context.Context) *ConfigureAccountParams
- func (o *ConfigureAccountParams) WithHTTPClient(client *http.Client) *ConfigureAccountParams
- func (o *ConfigureAccountParams) WithTimeout(timeout time.Duration) *ConfigureAccountParams
- func (o *ConfigureAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ConfigureAccountReader
- type ConfigureAccountUnauthorized
- type ConfigureAccountUnauthorizedBody
- type CreateOrderBadRequest
- type CreateOrderBadRequestBody
- type CreateOrderBody
- type CreateOrderCreated
- type CreateOrderCreatedBody
- type CreateOrderForbidden
- type CreateOrderForbiddenBody
- type CreateOrderMethodNotAllowed
- type CreateOrderMethodNotAllowedBody
- type CreateOrderNotFound
- type CreateOrderNotFoundBody
- type CreateOrderParams
- func (o *CreateOrderParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *CreateOrderParams) SetAccountID(accountID string)
- func (o *CreateOrderParams) SetAuthorization(authorization string)
- func (o *CreateOrderParams) SetContext(ctx context.Context)
- func (o *CreateOrderParams) SetCreateOrderBody(createOrderBody CreateOrderBody)
- func (o *CreateOrderParams) SetHTTPClient(client *http.Client)
- func (o *CreateOrderParams) SetTimeout(timeout time.Duration)
- func (o *CreateOrderParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *CreateOrderParams
- func (o *CreateOrderParams) WithAccountID(accountID string) *CreateOrderParams
- func (o *CreateOrderParams) WithAuthorization(authorization string) *CreateOrderParams
- func (o *CreateOrderParams) WithContext(ctx context.Context) *CreateOrderParams
- func (o *CreateOrderParams) WithCreateOrderBody(createOrderBody CreateOrderBody) *CreateOrderParams
- func (o *CreateOrderParams) WithHTTPClient(client *http.Client) *CreateOrderParams
- func (o *CreateOrderParams) WithTimeout(timeout time.Duration) *CreateOrderParams
- func (o *CreateOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateOrderReader
- type CreateOrderUnauthorized
- type CreateOrderUnauthorizedBody
- type GetAccountBadRequest
- type GetAccountBadRequestBody
- type GetAccountChangesMethodNotAllowed
- type GetAccountChangesMethodNotAllowedBody
- type GetAccountChangesNotFound
- type GetAccountChangesNotFoundBody
- type GetAccountChangesOK
- type GetAccountChangesOKBody
- type GetAccountChangesParams
- func NewGetAccountChangesParams() *GetAccountChangesParams
- func NewGetAccountChangesParamsWithContext(ctx context.Context) *GetAccountChangesParams
- func NewGetAccountChangesParamsWithHTTPClient(client *http.Client) *GetAccountChangesParams
- func NewGetAccountChangesParamsWithTimeout(timeout time.Duration) *GetAccountChangesParams
- func (o *GetAccountChangesParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *GetAccountChangesParams) SetAccountID(accountID string)
- func (o *GetAccountChangesParams) SetAuthorization(authorization string)
- func (o *GetAccountChangesParams) SetContext(ctx context.Context)
- func (o *GetAccountChangesParams) SetHTTPClient(client *http.Client)
- func (o *GetAccountChangesParams) SetSinceTransactionID(sinceTransactionID *string)
- func (o *GetAccountChangesParams) SetTimeout(timeout time.Duration)
- func (o *GetAccountChangesParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetAccountChangesParams
- func (o *GetAccountChangesParams) WithAccountID(accountID string) *GetAccountChangesParams
- func (o *GetAccountChangesParams) WithAuthorization(authorization string) *GetAccountChangesParams
- func (o *GetAccountChangesParams) WithContext(ctx context.Context) *GetAccountChangesParams
- func (o *GetAccountChangesParams) WithHTTPClient(client *http.Client) *GetAccountChangesParams
- func (o *GetAccountChangesParams) WithSinceTransactionID(sinceTransactionID *string) *GetAccountChangesParams
- func (o *GetAccountChangesParams) WithTimeout(timeout time.Duration) *GetAccountChangesParams
- func (o *GetAccountChangesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccountChangesReader
- type GetAccountChangesRequestRangeNotSatisfiable
- type GetAccountChangesRequestRangeNotSatisfiableBody
- type GetAccountChangesUnauthorized
- type GetAccountChangesUnauthorizedBody
- type GetAccountInstrumentsBadRequest
- type GetAccountInstrumentsBadRequestBody
- type GetAccountInstrumentsMethodNotAllowed
- type GetAccountInstrumentsMethodNotAllowedBody
- type GetAccountInstrumentsOK
- type GetAccountInstrumentsOKBody
- type GetAccountInstrumentsParams
- func NewGetAccountInstrumentsParams() *GetAccountInstrumentsParams
- func NewGetAccountInstrumentsParamsWithContext(ctx context.Context) *GetAccountInstrumentsParams
- func NewGetAccountInstrumentsParamsWithHTTPClient(client *http.Client) *GetAccountInstrumentsParams
- func NewGetAccountInstrumentsParamsWithTimeout(timeout time.Duration) *GetAccountInstrumentsParams
- func (o *GetAccountInstrumentsParams) SetAccountID(accountID string)
- func (o *GetAccountInstrumentsParams) SetAuthorization(authorization string)
- func (o *GetAccountInstrumentsParams) SetContext(ctx context.Context)
- func (o *GetAccountInstrumentsParams) SetHTTPClient(client *http.Client)
- func (o *GetAccountInstrumentsParams) SetInstruments(instruments []string)
- func (o *GetAccountInstrumentsParams) SetTimeout(timeout time.Duration)
- func (o *GetAccountInstrumentsParams) WithAccountID(accountID string) *GetAccountInstrumentsParams
- func (o *GetAccountInstrumentsParams) WithAuthorization(authorization string) *GetAccountInstrumentsParams
- func (o *GetAccountInstrumentsParams) WithContext(ctx context.Context) *GetAccountInstrumentsParams
- func (o *GetAccountInstrumentsParams) WithHTTPClient(client *http.Client) *GetAccountInstrumentsParams
- func (o *GetAccountInstrumentsParams) WithInstruments(instruments []string) *GetAccountInstrumentsParams
- func (o *GetAccountInstrumentsParams) WithTimeout(timeout time.Duration) *GetAccountInstrumentsParams
- func (o *GetAccountInstrumentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccountInstrumentsReader
- type GetAccountInstrumentsUnauthorized
- type GetAccountInstrumentsUnauthorizedBody
- type GetAccountMethodNotAllowed
- type GetAccountMethodNotAllowedBody
- type GetAccountOK
- type GetAccountOKBody
- type GetAccountParams
- func (o *GetAccountParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *GetAccountParams) SetAccountID(accountID string)
- func (o *GetAccountParams) SetAuthorization(authorization string)
- func (o *GetAccountParams) SetContext(ctx context.Context)
- func (o *GetAccountParams) SetHTTPClient(client *http.Client)
- func (o *GetAccountParams) SetTimeout(timeout time.Duration)
- func (o *GetAccountParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetAccountParams
- func (o *GetAccountParams) WithAccountID(accountID string) *GetAccountParams
- func (o *GetAccountParams) WithAuthorization(authorization string) *GetAccountParams
- func (o *GetAccountParams) WithContext(ctx context.Context) *GetAccountParams
- func (o *GetAccountParams) WithHTTPClient(client *http.Client) *GetAccountParams
- func (o *GetAccountParams) WithTimeout(timeout time.Duration) *GetAccountParams
- func (o *GetAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccountReader
- type GetAccountSummaryBadRequest
- type GetAccountSummaryBadRequestBody
- type GetAccountSummaryMethodNotAllowed
- type GetAccountSummaryMethodNotAllowedBody
- type GetAccountSummaryOK
- type GetAccountSummaryOKBody
- type GetAccountSummaryParams
- func NewGetAccountSummaryParams() *GetAccountSummaryParams
- func NewGetAccountSummaryParamsWithContext(ctx context.Context) *GetAccountSummaryParams
- func NewGetAccountSummaryParamsWithHTTPClient(client *http.Client) *GetAccountSummaryParams
- func NewGetAccountSummaryParamsWithTimeout(timeout time.Duration) *GetAccountSummaryParams
- func (o *GetAccountSummaryParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *GetAccountSummaryParams) SetAccountID(accountID string)
- func (o *GetAccountSummaryParams) SetAuthorization(authorization string)
- func (o *GetAccountSummaryParams) SetContext(ctx context.Context)
- func (o *GetAccountSummaryParams) SetHTTPClient(client *http.Client)
- func (o *GetAccountSummaryParams) SetTimeout(timeout time.Duration)
- func (o *GetAccountSummaryParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetAccountSummaryParams
- func (o *GetAccountSummaryParams) WithAccountID(accountID string) *GetAccountSummaryParams
- func (o *GetAccountSummaryParams) WithAuthorization(authorization string) *GetAccountSummaryParams
- func (o *GetAccountSummaryParams) WithContext(ctx context.Context) *GetAccountSummaryParams
- func (o *GetAccountSummaryParams) WithHTTPClient(client *http.Client) *GetAccountSummaryParams
- func (o *GetAccountSummaryParams) WithTimeout(timeout time.Duration) *GetAccountSummaryParams
- func (o *GetAccountSummaryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccountSummaryReader
- type GetAccountSummaryUnauthorized
- type GetAccountSummaryUnauthorizedBody
- type GetAccountUnauthorized
- type GetAccountUnauthorizedBody
- type GetBasePricesBadRequest
- type GetBasePricesBadRequestBody
- type GetBasePricesMethodNotAllowed
- type GetBasePricesMethodNotAllowedBody
- type GetBasePricesNotFound
- type GetBasePricesNotFoundBody
- type GetBasePricesOK
- type GetBasePricesOKBody
- type GetBasePricesParams
- func (o *GetBasePricesParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *GetBasePricesParams) SetAuthorization(authorization string)
- func (o *GetBasePricesParams) SetContext(ctx context.Context)
- func (o *GetBasePricesParams) SetHTTPClient(client *http.Client)
- func (o *GetBasePricesParams) SetTime(time *string)
- func (o *GetBasePricesParams) SetTimeout(timeout time.Duration)
- func (o *GetBasePricesParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetBasePricesParams
- func (o *GetBasePricesParams) WithAuthorization(authorization string) *GetBasePricesParams
- func (o *GetBasePricesParams) WithContext(ctx context.Context) *GetBasePricesParams
- func (o *GetBasePricesParams) WithHTTPClient(client *http.Client) *GetBasePricesParams
- func (o *GetBasePricesParams) WithTime(time *string) *GetBasePricesParams
- func (o *GetBasePricesParams) WithTimeout(timeout time.Duration) *GetBasePricesParams
- func (o *GetBasePricesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBasePricesReader
- type GetBasePricesUnauthorized
- type GetBasePricesUnauthorizedBody
- type GetExternalUserInfoForbidden
- type GetExternalUserInfoForbiddenBody
- type GetExternalUserInfoMethodNotAllowed
- type GetExternalUserInfoMethodNotAllowedBody
- type GetExternalUserInfoOK
- type GetExternalUserInfoOKBody
- type GetExternalUserInfoParams
- func NewGetExternalUserInfoParams() *GetExternalUserInfoParams
- func NewGetExternalUserInfoParamsWithContext(ctx context.Context) *GetExternalUserInfoParams
- func NewGetExternalUserInfoParamsWithHTTPClient(client *http.Client) *GetExternalUserInfoParams
- func NewGetExternalUserInfoParamsWithTimeout(timeout time.Duration) *GetExternalUserInfoParams
- func (o *GetExternalUserInfoParams) SetAuthorization(authorization string)
- func (o *GetExternalUserInfoParams) SetContext(ctx context.Context)
- func (o *GetExternalUserInfoParams) SetHTTPClient(client *http.Client)
- func (o *GetExternalUserInfoParams) SetTimeout(timeout time.Duration)
- func (o *GetExternalUserInfoParams) SetUserSpecifier(userSpecifier string)
- func (o *GetExternalUserInfoParams) WithAuthorization(authorization string) *GetExternalUserInfoParams
- func (o *GetExternalUserInfoParams) WithContext(ctx context.Context) *GetExternalUserInfoParams
- func (o *GetExternalUserInfoParams) WithHTTPClient(client *http.Client) *GetExternalUserInfoParams
- func (o *GetExternalUserInfoParams) WithTimeout(timeout time.Duration) *GetExternalUserInfoParams
- func (o *GetExternalUserInfoParams) WithUserSpecifier(userSpecifier string) *GetExternalUserInfoParams
- func (o *GetExternalUserInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetExternalUserInfoReader
- type GetExternalUserInfoUnauthorized
- type GetExternalUserInfoUnauthorizedBody
- type GetInstrumentCandlesBadRequest
- type GetInstrumentCandlesBadRequestBody
- type GetInstrumentCandlesMethodNotAllowed
- type GetInstrumentCandlesMethodNotAllowedBody
- type GetInstrumentCandlesNotFound
- type GetInstrumentCandlesNotFoundBody
- type GetInstrumentCandlesOK
- type GetInstrumentCandlesOKBody
- type GetInstrumentCandlesParams
- func NewGetInstrumentCandlesParams() *GetInstrumentCandlesParams
- func NewGetInstrumentCandlesParamsWithContext(ctx context.Context) *GetInstrumentCandlesParams
- func NewGetInstrumentCandlesParamsWithHTTPClient(client *http.Client) *GetInstrumentCandlesParams
- func NewGetInstrumentCandlesParamsWithTimeout(timeout time.Duration) *GetInstrumentCandlesParams
- func (o *GetInstrumentCandlesParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *GetInstrumentCandlesParams) SetAlignmentTimezone(alignmentTimezone *string)
- func (o *GetInstrumentCandlesParams) SetAuthorization(authorization string)
- func (o *GetInstrumentCandlesParams) SetContext(ctx context.Context)
- func (o *GetInstrumentCandlesParams) SetCount(count *int64)
- func (o *GetInstrumentCandlesParams) SetDailyAlignment(dailyAlignment *int64)
- func (o *GetInstrumentCandlesParams) SetFrom(from *string)
- func (o *GetInstrumentCandlesParams) SetGranularity(granularity *string)
- func (o *GetInstrumentCandlesParams) SetHTTPClient(client *http.Client)
- func (o *GetInstrumentCandlesParams) SetIncludeFirst(includeFirst *bool)
- func (o *GetInstrumentCandlesParams) SetInstrument(instrument string)
- func (o *GetInstrumentCandlesParams) SetPrice(price *string)
- func (o *GetInstrumentCandlesParams) SetSmooth(smooth *bool)
- func (o *GetInstrumentCandlesParams) SetTimeout(timeout time.Duration)
- func (o *GetInstrumentCandlesParams) SetTo(to *string)
- func (o *GetInstrumentCandlesParams) SetWeeklyAlignment(weeklyAlignment *string)
- func (o *GetInstrumentCandlesParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetInstrumentCandlesParams
- func (o *GetInstrumentCandlesParams) WithAlignmentTimezone(alignmentTimezone *string) *GetInstrumentCandlesParams
- func (o *GetInstrumentCandlesParams) WithAuthorization(authorization string) *GetInstrumentCandlesParams
- func (o *GetInstrumentCandlesParams) WithContext(ctx context.Context) *GetInstrumentCandlesParams
- func (o *GetInstrumentCandlesParams) WithCount(count *int64) *GetInstrumentCandlesParams
- func (o *GetInstrumentCandlesParams) WithDailyAlignment(dailyAlignment *int64) *GetInstrumentCandlesParams
- func (o *GetInstrumentCandlesParams) WithFrom(from *string) *GetInstrumentCandlesParams
- func (o *GetInstrumentCandlesParams) WithGranularity(granularity *string) *GetInstrumentCandlesParams
- func (o *GetInstrumentCandlesParams) WithHTTPClient(client *http.Client) *GetInstrumentCandlesParams
- func (o *GetInstrumentCandlesParams) WithIncludeFirst(includeFirst *bool) *GetInstrumentCandlesParams
- func (o *GetInstrumentCandlesParams) WithInstrument(instrument string) *GetInstrumentCandlesParams
- func (o *GetInstrumentCandlesParams) WithPrice(price *string) *GetInstrumentCandlesParams
- func (o *GetInstrumentCandlesParams) WithSmooth(smooth *bool) *GetInstrumentCandlesParams
- func (o *GetInstrumentCandlesParams) WithTimeout(timeout time.Duration) *GetInstrumentCandlesParams
- func (o *GetInstrumentCandlesParams) WithTo(to *string) *GetInstrumentCandlesParams
- func (o *GetInstrumentCandlesParams) WithWeeklyAlignment(weeklyAlignment *string) *GetInstrumentCandlesParams
- func (o *GetInstrumentCandlesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInstrumentCandlesReader
- type GetInstrumentCandlesUnauthorized
- type GetInstrumentCandlesUnauthorizedBody
- type GetInstrumentPriceBadRequest
- type GetInstrumentPriceBadRequestBody
- type GetInstrumentPriceMethodNotAllowed
- type GetInstrumentPriceMethodNotAllowedBody
- type GetInstrumentPriceNotFound
- type GetInstrumentPriceNotFoundBody
- type GetInstrumentPriceOK
- type GetInstrumentPriceOKBody
- type GetInstrumentPriceParams
- func NewGetInstrumentPriceParams() *GetInstrumentPriceParams
- func NewGetInstrumentPriceParamsWithContext(ctx context.Context) *GetInstrumentPriceParams
- func NewGetInstrumentPriceParamsWithHTTPClient(client *http.Client) *GetInstrumentPriceParams
- func NewGetInstrumentPriceParamsWithTimeout(timeout time.Duration) *GetInstrumentPriceParams
- func (o *GetInstrumentPriceParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *GetInstrumentPriceParams) SetAuthorization(authorization string)
- func (o *GetInstrumentPriceParams) SetContext(ctx context.Context)
- func (o *GetInstrumentPriceParams) SetHTTPClient(client *http.Client)
- func (o *GetInstrumentPriceParams) SetInstrument(instrument string)
- func (o *GetInstrumentPriceParams) SetTime(time *string)
- func (o *GetInstrumentPriceParams) SetTimeout(timeout time.Duration)
- func (o *GetInstrumentPriceParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetInstrumentPriceParams
- func (o *GetInstrumentPriceParams) WithAuthorization(authorization string) *GetInstrumentPriceParams
- func (o *GetInstrumentPriceParams) WithContext(ctx context.Context) *GetInstrumentPriceParams
- func (o *GetInstrumentPriceParams) WithHTTPClient(client *http.Client) *GetInstrumentPriceParams
- func (o *GetInstrumentPriceParams) WithInstrument(instrument string) *GetInstrumentPriceParams
- func (o *GetInstrumentPriceParams) WithTime(time *string) *GetInstrumentPriceParams
- func (o *GetInstrumentPriceParams) WithTimeout(timeout time.Duration) *GetInstrumentPriceParams
- func (o *GetInstrumentPriceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInstrumentPriceRangeBadRequest
- type GetInstrumentPriceRangeBadRequestBody
- type GetInstrumentPriceRangeMethodNotAllowed
- type GetInstrumentPriceRangeMethodNotAllowedBody
- type GetInstrumentPriceRangeNotFound
- type GetInstrumentPriceRangeNotFoundBody
- type GetInstrumentPriceRangeOK
- type GetInstrumentPriceRangeOKBody
- type GetInstrumentPriceRangeParams
- func NewGetInstrumentPriceRangeParams() *GetInstrumentPriceRangeParams
- func NewGetInstrumentPriceRangeParamsWithContext(ctx context.Context) *GetInstrumentPriceRangeParams
- func NewGetInstrumentPriceRangeParamsWithHTTPClient(client *http.Client) *GetInstrumentPriceRangeParams
- func NewGetInstrumentPriceRangeParamsWithTimeout(timeout time.Duration) *GetInstrumentPriceRangeParams
- func (o *GetInstrumentPriceRangeParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *GetInstrumentPriceRangeParams) SetAuthorization(authorization string)
- func (o *GetInstrumentPriceRangeParams) SetContext(ctx context.Context)
- func (o *GetInstrumentPriceRangeParams) SetFrom(from string)
- func (o *GetInstrumentPriceRangeParams) SetHTTPClient(client *http.Client)
- func (o *GetInstrumentPriceRangeParams) SetInstrument(instrument string)
- func (o *GetInstrumentPriceRangeParams) SetTimeout(timeout time.Duration)
- func (o *GetInstrumentPriceRangeParams) SetTo(to *string)
- func (o *GetInstrumentPriceRangeParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetInstrumentPriceRangeParams
- func (o *GetInstrumentPriceRangeParams) WithAuthorization(authorization string) *GetInstrumentPriceRangeParams
- func (o *GetInstrumentPriceRangeParams) WithContext(ctx context.Context) *GetInstrumentPriceRangeParams
- func (o *GetInstrumentPriceRangeParams) WithFrom(from string) *GetInstrumentPriceRangeParams
- func (o *GetInstrumentPriceRangeParams) WithHTTPClient(client *http.Client) *GetInstrumentPriceRangeParams
- func (o *GetInstrumentPriceRangeParams) WithInstrument(instrument string) *GetInstrumentPriceRangeParams
- func (o *GetInstrumentPriceRangeParams) WithTimeout(timeout time.Duration) *GetInstrumentPriceRangeParams
- func (o *GetInstrumentPriceRangeParams) WithTo(to *string) *GetInstrumentPriceRangeParams
- func (o *GetInstrumentPriceRangeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInstrumentPriceRangeReader
- type GetInstrumentPriceRangeUnauthorized
- type GetInstrumentPriceRangeUnauthorizedBody
- type GetInstrumentPriceReader
- type GetInstrumentPriceUnauthorized
- type GetInstrumentPriceUnauthorizedBody
- type GetInstrumentsInstrumentOrderBookBadRequest
- type GetInstrumentsInstrumentOrderBookBadRequestBody
- type GetInstrumentsInstrumentOrderBookMethodNotAllowed
- type GetInstrumentsInstrumentOrderBookMethodNotAllowedBody
- type GetInstrumentsInstrumentOrderBookNotFound
- type GetInstrumentsInstrumentOrderBookNotFoundBody
- type GetInstrumentsInstrumentOrderBookOK
- type GetInstrumentsInstrumentOrderBookOKBody
- type GetInstrumentsInstrumentOrderBookParams
- func NewGetInstrumentsInstrumentOrderBookParams() *GetInstrumentsInstrumentOrderBookParams
- func NewGetInstrumentsInstrumentOrderBookParamsWithContext(ctx context.Context) *GetInstrumentsInstrumentOrderBookParams
- func NewGetInstrumentsInstrumentOrderBookParamsWithHTTPClient(client *http.Client) *GetInstrumentsInstrumentOrderBookParams
- func NewGetInstrumentsInstrumentOrderBookParamsWithTimeout(timeout time.Duration) *GetInstrumentsInstrumentOrderBookParams
- func (o *GetInstrumentsInstrumentOrderBookParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *GetInstrumentsInstrumentOrderBookParams) SetAuthorization(authorization string)
- func (o *GetInstrumentsInstrumentOrderBookParams) SetContext(ctx context.Context)
- func (o *GetInstrumentsInstrumentOrderBookParams) SetHTTPClient(client *http.Client)
- func (o *GetInstrumentsInstrumentOrderBookParams) SetInstrument(instrument string)
- func (o *GetInstrumentsInstrumentOrderBookParams) SetTime(time *string)
- func (o *GetInstrumentsInstrumentOrderBookParams) SetTimeout(timeout time.Duration)
- func (o *GetInstrumentsInstrumentOrderBookParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetInstrumentsInstrumentOrderBookParams
- func (o *GetInstrumentsInstrumentOrderBookParams) WithAuthorization(authorization string) *GetInstrumentsInstrumentOrderBookParams
- func (o *GetInstrumentsInstrumentOrderBookParams) WithContext(ctx context.Context) *GetInstrumentsInstrumentOrderBookParams
- func (o *GetInstrumentsInstrumentOrderBookParams) WithHTTPClient(client *http.Client) *GetInstrumentsInstrumentOrderBookParams
- func (o *GetInstrumentsInstrumentOrderBookParams) WithInstrument(instrument string) *GetInstrumentsInstrumentOrderBookParams
- func (o *GetInstrumentsInstrumentOrderBookParams) WithTime(time *string) *GetInstrumentsInstrumentOrderBookParams
- func (o *GetInstrumentsInstrumentOrderBookParams) WithTimeout(timeout time.Duration) *GetInstrumentsInstrumentOrderBookParams
- func (o *GetInstrumentsInstrumentOrderBookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInstrumentsInstrumentOrderBookReader
- type GetInstrumentsInstrumentOrderBookUnauthorized
- type GetInstrumentsInstrumentOrderBookUnauthorizedBody
- type GetInstrumentsInstrumentPositionBookBadRequest
- type GetInstrumentsInstrumentPositionBookBadRequestBody
- type GetInstrumentsInstrumentPositionBookMethodNotAllowed
- type GetInstrumentsInstrumentPositionBookMethodNotAllowedBody
- func (o *GetInstrumentsInstrumentPositionBookMethodNotAllowedBody) MarshalBinary() ([]byte, error)
- func (o *GetInstrumentsInstrumentPositionBookMethodNotAllowedBody) UnmarshalBinary(b []byte) error
- func (o *GetInstrumentsInstrumentPositionBookMethodNotAllowedBody) Validate(formats strfmt.Registry) error
- type GetInstrumentsInstrumentPositionBookNotFound
- type GetInstrumentsInstrumentPositionBookNotFoundBody
- type GetInstrumentsInstrumentPositionBookOK
- type GetInstrumentsInstrumentPositionBookOKBody
- type GetInstrumentsInstrumentPositionBookParams
- func NewGetInstrumentsInstrumentPositionBookParams() *GetInstrumentsInstrumentPositionBookParams
- func NewGetInstrumentsInstrumentPositionBookParamsWithContext(ctx context.Context) *GetInstrumentsInstrumentPositionBookParams
- func NewGetInstrumentsInstrumentPositionBookParamsWithHTTPClient(client *http.Client) *GetInstrumentsInstrumentPositionBookParams
- func NewGetInstrumentsInstrumentPositionBookParamsWithTimeout(timeout time.Duration) *GetInstrumentsInstrumentPositionBookParams
- func (o *GetInstrumentsInstrumentPositionBookParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *GetInstrumentsInstrumentPositionBookParams) SetAuthorization(authorization string)
- func (o *GetInstrumentsInstrumentPositionBookParams) SetContext(ctx context.Context)
- func (o *GetInstrumentsInstrumentPositionBookParams) SetHTTPClient(client *http.Client)
- func (o *GetInstrumentsInstrumentPositionBookParams) SetInstrument(instrument string)
- func (o *GetInstrumentsInstrumentPositionBookParams) SetTime(time *string)
- func (o *GetInstrumentsInstrumentPositionBookParams) SetTimeout(timeout time.Duration)
- func (o *GetInstrumentsInstrumentPositionBookParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetInstrumentsInstrumentPositionBookParams
- func (o *GetInstrumentsInstrumentPositionBookParams) WithAuthorization(authorization string) *GetInstrumentsInstrumentPositionBookParams
- func (o *GetInstrumentsInstrumentPositionBookParams) WithContext(ctx context.Context) *GetInstrumentsInstrumentPositionBookParams
- func (o *GetInstrumentsInstrumentPositionBookParams) WithHTTPClient(client *http.Client) *GetInstrumentsInstrumentPositionBookParams
- func (o *GetInstrumentsInstrumentPositionBookParams) WithInstrument(instrument string) *GetInstrumentsInstrumentPositionBookParams
- func (o *GetInstrumentsInstrumentPositionBookParams) WithTime(time *string) *GetInstrumentsInstrumentPositionBookParams
- func (o *GetInstrumentsInstrumentPositionBookParams) WithTimeout(timeout time.Duration) *GetInstrumentsInstrumentPositionBookParams
- func (o *GetInstrumentsInstrumentPositionBookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInstrumentsInstrumentPositionBookReader
- type GetInstrumentsInstrumentPositionBookUnauthorized
- type GetInstrumentsInstrumentPositionBookUnauthorizedBody
- type GetOrderMethodNotAllowed
- type GetOrderMethodNotAllowedBody
- type GetOrderNotFound
- type GetOrderNotFoundBody
- type GetOrderOK
- type GetOrderOKBody
- type GetOrderParams
- func (o *GetOrderParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *GetOrderParams) SetAccountID(accountID string)
- func (o *GetOrderParams) SetAuthorization(authorization string)
- func (o *GetOrderParams) SetContext(ctx context.Context)
- func (o *GetOrderParams) SetHTTPClient(client *http.Client)
- func (o *GetOrderParams) SetOrderSpecifier(orderSpecifier string)
- func (o *GetOrderParams) SetTimeout(timeout time.Duration)
- func (o *GetOrderParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetOrderParams
- func (o *GetOrderParams) WithAccountID(accountID string) *GetOrderParams
- func (o *GetOrderParams) WithAuthorization(authorization string) *GetOrderParams
- func (o *GetOrderParams) WithContext(ctx context.Context) *GetOrderParams
- func (o *GetOrderParams) WithHTTPClient(client *http.Client) *GetOrderParams
- func (o *GetOrderParams) WithOrderSpecifier(orderSpecifier string) *GetOrderParams
- func (o *GetOrderParams) WithTimeout(timeout time.Duration) *GetOrderParams
- func (o *GetOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrderReader
- type GetOrderUnauthorized
- type GetOrderUnauthorizedBody
- type GetPositionMethodNotAllowed
- type GetPositionMethodNotAllowedBody
- type GetPositionNotFound
- type GetPositionNotFoundBody
- type GetPositionOK
- type GetPositionOKBody
- type GetPositionParams
- func (o *GetPositionParams) SetAccountID(accountID string)
- func (o *GetPositionParams) SetAuthorization(authorization string)
- func (o *GetPositionParams) SetContext(ctx context.Context)
- func (o *GetPositionParams) SetHTTPClient(client *http.Client)
- func (o *GetPositionParams) SetInstrument(instrument string)
- func (o *GetPositionParams) SetTimeout(timeout time.Duration)
- func (o *GetPositionParams) WithAccountID(accountID string) *GetPositionParams
- func (o *GetPositionParams) WithAuthorization(authorization string) *GetPositionParams
- func (o *GetPositionParams) WithContext(ctx context.Context) *GetPositionParams
- func (o *GetPositionParams) WithHTTPClient(client *http.Client) *GetPositionParams
- func (o *GetPositionParams) WithInstrument(instrument string) *GetPositionParams
- func (o *GetPositionParams) WithTimeout(timeout time.Duration) *GetPositionParams
- func (o *GetPositionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPositionReader
- type GetPositionUnauthorized
- type GetPositionUnauthorizedBody
- type GetPricesBadRequest
- type GetPricesBadRequestBody
- type GetPricesMethodNotAllowed
- type GetPricesMethodNotAllowedBody
- type GetPricesNotFound
- type GetPricesNotFoundBody
- type GetPricesOK
- type GetPricesOKBody
- type GetPricesParams
- func (o *GetPricesParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *GetPricesParams) SetAccountID(accountID string)
- func (o *GetPricesParams) SetAuthorization(authorization string)
- func (o *GetPricesParams) SetContext(ctx context.Context)
- func (o *GetPricesParams) SetHTTPClient(client *http.Client)
- func (o *GetPricesParams) SetIncludeHomeConversions(includeHomeConversions *bool)
- func (o *GetPricesParams) SetIncludeUnitsAvailable(includeUnitsAvailable *bool)
- func (o *GetPricesParams) SetInstruments(instruments []string)
- func (o *GetPricesParams) SetSince(since *string)
- func (o *GetPricesParams) SetTimeout(timeout time.Duration)
- func (o *GetPricesParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetPricesParams
- func (o *GetPricesParams) WithAccountID(accountID string) *GetPricesParams
- func (o *GetPricesParams) WithAuthorization(authorization string) *GetPricesParams
- func (o *GetPricesParams) WithContext(ctx context.Context) *GetPricesParams
- func (o *GetPricesParams) WithHTTPClient(client *http.Client) *GetPricesParams
- func (o *GetPricesParams) WithIncludeHomeConversions(includeHomeConversions *bool) *GetPricesParams
- func (o *GetPricesParams) WithIncludeUnitsAvailable(includeUnitsAvailable *bool) *GetPricesParams
- func (o *GetPricesParams) WithInstruments(instruments []string) *GetPricesParams
- func (o *GetPricesParams) WithSince(since *string) *GetPricesParams
- func (o *GetPricesParams) WithTimeout(timeout time.Duration) *GetPricesParams
- func (o *GetPricesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPricesReader
- type GetPricesUnauthorized
- type GetPricesUnauthorizedBody
- type GetTradeMethodNotAllowed
- type GetTradeMethodNotAllowedBody
- type GetTradeNotFound
- type GetTradeNotFoundBody
- type GetTradeOK
- type GetTradeOKBody
- type GetTradeParams
- func (o *GetTradeParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *GetTradeParams) SetAccountID(accountID string)
- func (o *GetTradeParams) SetAuthorization(authorization string)
- func (o *GetTradeParams) SetContext(ctx context.Context)
- func (o *GetTradeParams) SetHTTPClient(client *http.Client)
- func (o *GetTradeParams) SetTimeout(timeout time.Duration)
- func (o *GetTradeParams) SetTradeSpecifier(tradeSpecifier string)
- func (o *GetTradeParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetTradeParams
- func (o *GetTradeParams) WithAccountID(accountID string) *GetTradeParams
- func (o *GetTradeParams) WithAuthorization(authorization string) *GetTradeParams
- func (o *GetTradeParams) WithContext(ctx context.Context) *GetTradeParams
- func (o *GetTradeParams) WithHTTPClient(client *http.Client) *GetTradeParams
- func (o *GetTradeParams) WithTimeout(timeout time.Duration) *GetTradeParams
- func (o *GetTradeParams) WithTradeSpecifier(tradeSpecifier string) *GetTradeParams
- func (o *GetTradeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTradeReader
- type GetTradeUnauthorized
- type GetTradeUnauthorizedBody
- type GetTransactionMethodNotAllowed
- type GetTransactionMethodNotAllowedBody
- type GetTransactionNotFound
- type GetTransactionNotFoundBody
- type GetTransactionOK
- type GetTransactionOKBody
- type GetTransactionParams
- func NewGetTransactionParams() *GetTransactionParams
- func NewGetTransactionParamsWithContext(ctx context.Context) *GetTransactionParams
- func NewGetTransactionParamsWithHTTPClient(client *http.Client) *GetTransactionParams
- func NewGetTransactionParamsWithTimeout(timeout time.Duration) *GetTransactionParams
- func (o *GetTransactionParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *GetTransactionParams) SetAccountID(accountID string)
- func (o *GetTransactionParams) SetAuthorization(authorization string)
- func (o *GetTransactionParams) SetContext(ctx context.Context)
- func (o *GetTransactionParams) SetHTTPClient(client *http.Client)
- func (o *GetTransactionParams) SetTimeout(timeout time.Duration)
- func (o *GetTransactionParams) SetTransactionID(transactionID string)
- func (o *GetTransactionParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetTransactionParams
- func (o *GetTransactionParams) WithAccountID(accountID string) *GetTransactionParams
- func (o *GetTransactionParams) WithAuthorization(authorization string) *GetTransactionParams
- func (o *GetTransactionParams) WithContext(ctx context.Context) *GetTransactionParams
- func (o *GetTransactionParams) WithHTTPClient(client *http.Client) *GetTransactionParams
- func (o *GetTransactionParams) WithTimeout(timeout time.Duration) *GetTransactionParams
- func (o *GetTransactionParams) WithTransactionID(transactionID string) *GetTransactionParams
- func (o *GetTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTransactionRangeBadRequest
- type GetTransactionRangeBadRequestBody
- type GetTransactionRangeMethodNotAllowed
- type GetTransactionRangeMethodNotAllowedBody
- type GetTransactionRangeNotFound
- type GetTransactionRangeNotFoundBody
- type GetTransactionRangeOK
- type GetTransactionRangeOKBody
- type GetTransactionRangeParams
- func NewGetTransactionRangeParams() *GetTransactionRangeParams
- func NewGetTransactionRangeParamsWithContext(ctx context.Context) *GetTransactionRangeParams
- func NewGetTransactionRangeParamsWithHTTPClient(client *http.Client) *GetTransactionRangeParams
- func NewGetTransactionRangeParamsWithTimeout(timeout time.Duration) *GetTransactionRangeParams
- func (o *GetTransactionRangeParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *GetTransactionRangeParams) SetAccountID(accountID string)
- func (o *GetTransactionRangeParams) SetAuthorization(authorization string)
- func (o *GetTransactionRangeParams) SetContext(ctx context.Context)
- func (o *GetTransactionRangeParams) SetFrom(from string)
- func (o *GetTransactionRangeParams) SetHTTPClient(client *http.Client)
- func (o *GetTransactionRangeParams) SetTimeout(timeout time.Duration)
- func (o *GetTransactionRangeParams) SetTo(to string)
- func (o *GetTransactionRangeParams) SetType(typeVar []string)
- func (o *GetTransactionRangeParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetTransactionRangeParams
- func (o *GetTransactionRangeParams) WithAccountID(accountID string) *GetTransactionRangeParams
- func (o *GetTransactionRangeParams) WithAuthorization(authorization string) *GetTransactionRangeParams
- func (o *GetTransactionRangeParams) WithContext(ctx context.Context) *GetTransactionRangeParams
- func (o *GetTransactionRangeParams) WithFrom(from string) *GetTransactionRangeParams
- func (o *GetTransactionRangeParams) WithHTTPClient(client *http.Client) *GetTransactionRangeParams
- func (o *GetTransactionRangeParams) WithTimeout(timeout time.Duration) *GetTransactionRangeParams
- func (o *GetTransactionRangeParams) WithTo(to string) *GetTransactionRangeParams
- func (o *GetTransactionRangeParams) WithType(typeVar []string) *GetTransactionRangeParams
- func (o *GetTransactionRangeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTransactionRangeReader
- type GetTransactionRangeRequestRangeNotSatisfiable
- type GetTransactionRangeRequestRangeNotSatisfiableBody
- type GetTransactionRangeUnauthorized
- type GetTransactionRangeUnauthorizedBody
- type GetTransactionReader
- type GetTransactionUnauthorized
- type GetTransactionUnauthorizedBody
- type GetTransactionsSinceIDBadRequest
- type GetTransactionsSinceIDBadRequestBody
- type GetTransactionsSinceIDMethodNotAllowed
- type GetTransactionsSinceIDMethodNotAllowedBody
- type GetTransactionsSinceIDNotFound
- type GetTransactionsSinceIDNotFoundBody
- type GetTransactionsSinceIDOK
- type GetTransactionsSinceIDOKBody
- type GetTransactionsSinceIDParams
- func NewGetTransactionsSinceIDParams() *GetTransactionsSinceIDParams
- func NewGetTransactionsSinceIDParamsWithContext(ctx context.Context) *GetTransactionsSinceIDParams
- func NewGetTransactionsSinceIDParamsWithHTTPClient(client *http.Client) *GetTransactionsSinceIDParams
- func NewGetTransactionsSinceIDParamsWithTimeout(timeout time.Duration) *GetTransactionsSinceIDParams
- func (o *GetTransactionsSinceIDParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *GetTransactionsSinceIDParams) SetAccountID(accountID string)
- func (o *GetTransactionsSinceIDParams) SetAuthorization(authorization string)
- func (o *GetTransactionsSinceIDParams) SetContext(ctx context.Context)
- func (o *GetTransactionsSinceIDParams) SetHTTPClient(client *http.Client)
- func (o *GetTransactionsSinceIDParams) SetID(id string)
- func (o *GetTransactionsSinceIDParams) SetTimeout(timeout time.Duration)
- func (o *GetTransactionsSinceIDParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetTransactionsSinceIDParams
- func (o *GetTransactionsSinceIDParams) WithAccountID(accountID string) *GetTransactionsSinceIDParams
- func (o *GetTransactionsSinceIDParams) WithAuthorization(authorization string) *GetTransactionsSinceIDParams
- func (o *GetTransactionsSinceIDParams) WithContext(ctx context.Context) *GetTransactionsSinceIDParams
- func (o *GetTransactionsSinceIDParams) WithHTTPClient(client *http.Client) *GetTransactionsSinceIDParams
- func (o *GetTransactionsSinceIDParams) WithID(id string) *GetTransactionsSinceIDParams
- func (o *GetTransactionsSinceIDParams) WithTimeout(timeout time.Duration) *GetTransactionsSinceIDParams
- func (o *GetTransactionsSinceIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTransactionsSinceIDReader
- type GetTransactionsSinceIDRequestRangeNotSatisfiable
- type GetTransactionsSinceIDRequestRangeNotSatisfiableBody
- type GetTransactionsSinceIDUnauthorized
- type GetTransactionsSinceIDUnauthorizedBody
- type GetUserInfoForbidden
- type GetUserInfoForbiddenBody
- type GetUserInfoMethodNotAllowed
- type GetUserInfoMethodNotAllowedBody
- type GetUserInfoOK
- type GetUserInfoOKBody
- type GetUserInfoParams
- func (o *GetUserInfoParams) SetAuthorization(authorization string)
- func (o *GetUserInfoParams) SetContext(ctx context.Context)
- func (o *GetUserInfoParams) SetHTTPClient(client *http.Client)
- func (o *GetUserInfoParams) SetTimeout(timeout time.Duration)
- func (o *GetUserInfoParams) SetUserSpecifier(userSpecifier string)
- func (o *GetUserInfoParams) WithAuthorization(authorization string) *GetUserInfoParams
- func (o *GetUserInfoParams) WithContext(ctx context.Context) *GetUserInfoParams
- func (o *GetUserInfoParams) WithHTTPClient(client *http.Client) *GetUserInfoParams
- func (o *GetUserInfoParams) WithTimeout(timeout time.Duration) *GetUserInfoParams
- func (o *GetUserInfoParams) WithUserSpecifier(userSpecifier string) *GetUserInfoParams
- func (o *GetUserInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserInfoReader
- type GetUserInfoUnauthorized
- type GetUserInfoUnauthorizedBody
- type ListAccountsMethodNotAllowed
- type ListAccountsMethodNotAllowedBody
- type ListAccountsOK
- type ListAccountsOKBody
- type ListAccountsParams
- func (o *ListAccountsParams) SetAuthorization(authorization string)
- func (o *ListAccountsParams) SetContext(ctx context.Context)
- func (o *ListAccountsParams) SetHTTPClient(client *http.Client)
- func (o *ListAccountsParams) SetTimeout(timeout time.Duration)
- func (o *ListAccountsParams) WithAuthorization(authorization string) *ListAccountsParams
- func (o *ListAccountsParams) WithContext(ctx context.Context) *ListAccountsParams
- func (o *ListAccountsParams) WithHTTPClient(client *http.Client) *ListAccountsParams
- func (o *ListAccountsParams) WithTimeout(timeout time.Duration) *ListAccountsParams
- func (o *ListAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAccountsReader
- type ListAccountsUnauthorized
- type ListAccountsUnauthorizedBody
- type ListOpenPositionsMethodNotAllowed
- type ListOpenPositionsMethodNotAllowedBody
- type ListOpenPositionsNotFound
- type ListOpenPositionsNotFoundBody
- type ListOpenPositionsOK
- type ListOpenPositionsOKBody
- type ListOpenPositionsParams
- func NewListOpenPositionsParams() *ListOpenPositionsParams
- func NewListOpenPositionsParamsWithContext(ctx context.Context) *ListOpenPositionsParams
- func NewListOpenPositionsParamsWithHTTPClient(client *http.Client) *ListOpenPositionsParams
- func NewListOpenPositionsParamsWithTimeout(timeout time.Duration) *ListOpenPositionsParams
- func (o *ListOpenPositionsParams) SetAccountID(accountID string)
- func (o *ListOpenPositionsParams) SetAuthorization(authorization string)
- func (o *ListOpenPositionsParams) SetContext(ctx context.Context)
- func (o *ListOpenPositionsParams) SetHTTPClient(client *http.Client)
- func (o *ListOpenPositionsParams) SetTimeout(timeout time.Duration)
- func (o *ListOpenPositionsParams) WithAccountID(accountID string) *ListOpenPositionsParams
- func (o *ListOpenPositionsParams) WithAuthorization(authorization string) *ListOpenPositionsParams
- func (o *ListOpenPositionsParams) WithContext(ctx context.Context) *ListOpenPositionsParams
- func (o *ListOpenPositionsParams) WithHTTPClient(client *http.Client) *ListOpenPositionsParams
- func (o *ListOpenPositionsParams) WithTimeout(timeout time.Duration) *ListOpenPositionsParams
- func (o *ListOpenPositionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListOpenPositionsReader
- type ListOpenPositionsUnauthorized
- type ListOpenPositionsUnauthorizedBody
- type ListOpenTradesMethodNotAllowed
- type ListOpenTradesMethodNotAllowedBody
- type ListOpenTradesNotFound
- type ListOpenTradesNotFoundBody
- type ListOpenTradesOK
- type ListOpenTradesOKBody
- type ListOpenTradesParams
- func NewListOpenTradesParams() *ListOpenTradesParams
- func NewListOpenTradesParamsWithContext(ctx context.Context) *ListOpenTradesParams
- func NewListOpenTradesParamsWithHTTPClient(client *http.Client) *ListOpenTradesParams
- func NewListOpenTradesParamsWithTimeout(timeout time.Duration) *ListOpenTradesParams
- func (o *ListOpenTradesParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *ListOpenTradesParams) SetAccountID(accountID string)
- func (o *ListOpenTradesParams) SetAuthorization(authorization string)
- func (o *ListOpenTradesParams) SetContext(ctx context.Context)
- func (o *ListOpenTradesParams) SetHTTPClient(client *http.Client)
- func (o *ListOpenTradesParams) SetTimeout(timeout time.Duration)
- func (o *ListOpenTradesParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *ListOpenTradesParams
- func (o *ListOpenTradesParams) WithAccountID(accountID string) *ListOpenTradesParams
- func (o *ListOpenTradesParams) WithAuthorization(authorization string) *ListOpenTradesParams
- func (o *ListOpenTradesParams) WithContext(ctx context.Context) *ListOpenTradesParams
- func (o *ListOpenTradesParams) WithHTTPClient(client *http.Client) *ListOpenTradesParams
- func (o *ListOpenTradesParams) WithTimeout(timeout time.Duration) *ListOpenTradesParams
- func (o *ListOpenTradesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListOpenTradesReader
- type ListOpenTradesUnauthorized
- type ListOpenTradesUnauthorizedBody
- type ListOrdersBadRequest
- type ListOrdersBadRequestBody
- type ListOrdersMethodNotAllowed
- type ListOrdersMethodNotAllowedBody
- type ListOrdersNotFound
- type ListOrdersNotFoundBody
- type ListOrdersOK
- type ListOrdersOKBody
- type ListOrdersParams
- func (o *ListOrdersParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *ListOrdersParams) SetAccountID(accountID string)
- func (o *ListOrdersParams) SetAuthorization(authorization string)
- func (o *ListOrdersParams) SetBeforeID(beforeID *string)
- func (o *ListOrdersParams) SetContext(ctx context.Context)
- func (o *ListOrdersParams) SetCount(count *int64)
- func (o *ListOrdersParams) SetHTTPClient(client *http.Client)
- func (o *ListOrdersParams) SetIds(ids []string)
- func (o *ListOrdersParams) SetInstrument(instrument *string)
- func (o *ListOrdersParams) SetState(state *string)
- func (o *ListOrdersParams) SetTimeout(timeout time.Duration)
- func (o *ListOrdersParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *ListOrdersParams
- func (o *ListOrdersParams) WithAccountID(accountID string) *ListOrdersParams
- func (o *ListOrdersParams) WithAuthorization(authorization string) *ListOrdersParams
- func (o *ListOrdersParams) WithBeforeID(beforeID *string) *ListOrdersParams
- func (o *ListOrdersParams) WithContext(ctx context.Context) *ListOrdersParams
- func (o *ListOrdersParams) WithCount(count *int64) *ListOrdersParams
- func (o *ListOrdersParams) WithHTTPClient(client *http.Client) *ListOrdersParams
- func (o *ListOrdersParams) WithIds(ids []string) *ListOrdersParams
- func (o *ListOrdersParams) WithInstrument(instrument *string) *ListOrdersParams
- func (o *ListOrdersParams) WithState(state *string) *ListOrdersParams
- func (o *ListOrdersParams) WithTimeout(timeout time.Duration) *ListOrdersParams
- func (o *ListOrdersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListOrdersReader
- type ListPendingOrdersMethodNotAllowed
- type ListPendingOrdersMethodNotAllowedBody
- type ListPendingOrdersNotFound
- type ListPendingOrdersNotFoundBody
- type ListPendingOrdersOK
- type ListPendingOrdersOKBody
- type ListPendingOrdersParams
- func NewListPendingOrdersParams() *ListPendingOrdersParams
- func NewListPendingOrdersParamsWithContext(ctx context.Context) *ListPendingOrdersParams
- func NewListPendingOrdersParamsWithHTTPClient(client *http.Client) *ListPendingOrdersParams
- func NewListPendingOrdersParamsWithTimeout(timeout time.Duration) *ListPendingOrdersParams
- func (o *ListPendingOrdersParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *ListPendingOrdersParams) SetAccountID(accountID string)
- func (o *ListPendingOrdersParams) SetAuthorization(authorization string)
- func (o *ListPendingOrdersParams) SetContext(ctx context.Context)
- func (o *ListPendingOrdersParams) SetHTTPClient(client *http.Client)
- func (o *ListPendingOrdersParams) SetTimeout(timeout time.Duration)
- func (o *ListPendingOrdersParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *ListPendingOrdersParams
- func (o *ListPendingOrdersParams) WithAccountID(accountID string) *ListPendingOrdersParams
- func (o *ListPendingOrdersParams) WithAuthorization(authorization string) *ListPendingOrdersParams
- func (o *ListPendingOrdersParams) WithContext(ctx context.Context) *ListPendingOrdersParams
- func (o *ListPendingOrdersParams) WithHTTPClient(client *http.Client) *ListPendingOrdersParams
- func (o *ListPendingOrdersParams) WithTimeout(timeout time.Duration) *ListPendingOrdersParams
- func (o *ListPendingOrdersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPendingOrdersReader
- type ListPendingOrdersUnauthorized
- type ListPendingOrdersUnauthorizedBody
- type ListPositionsMethodNotAllowed
- type ListPositionsMethodNotAllowedBody
- type ListPositionsNotFound
- type ListPositionsNotFoundBody
- type ListPositionsOK
- type ListPositionsOKBody
- type ListPositionsParams
- func (o *ListPositionsParams) SetAccountID(accountID string)
- func (o *ListPositionsParams) SetAuthorization(authorization string)
- func (o *ListPositionsParams) SetContext(ctx context.Context)
- func (o *ListPositionsParams) SetHTTPClient(client *http.Client)
- func (o *ListPositionsParams) SetTimeout(timeout time.Duration)
- func (o *ListPositionsParams) WithAccountID(accountID string) *ListPositionsParams
- func (o *ListPositionsParams) WithAuthorization(authorization string) *ListPositionsParams
- func (o *ListPositionsParams) WithContext(ctx context.Context) *ListPositionsParams
- func (o *ListPositionsParams) WithHTTPClient(client *http.Client) *ListPositionsParams
- func (o *ListPositionsParams) WithTimeout(timeout time.Duration) *ListPositionsParams
- func (o *ListPositionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPositionsReader
- type ListPositionsUnauthorized
- type ListPositionsUnauthorizedBody
- type ListTradesMethodNotAllowed
- type ListTradesMethodNotAllowedBody
- type ListTradesNotFound
- type ListTradesNotFoundBody
- type ListTradesOK
- type ListTradesOKBody
- type ListTradesParams
- func (o *ListTradesParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *ListTradesParams) SetAccountID(accountID string)
- func (o *ListTradesParams) SetAuthorization(authorization string)
- func (o *ListTradesParams) SetBeforeID(beforeID *string)
- func (o *ListTradesParams) SetContext(ctx context.Context)
- func (o *ListTradesParams) SetCount(count *int64)
- func (o *ListTradesParams) SetHTTPClient(client *http.Client)
- func (o *ListTradesParams) SetIds(ids []string)
- func (o *ListTradesParams) SetInstrument(instrument *string)
- func (o *ListTradesParams) SetState(state *string)
- func (o *ListTradesParams) SetTimeout(timeout time.Duration)
- func (o *ListTradesParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *ListTradesParams
- func (o *ListTradesParams) WithAccountID(accountID string) *ListTradesParams
- func (o *ListTradesParams) WithAuthorization(authorization string) *ListTradesParams
- func (o *ListTradesParams) WithBeforeID(beforeID *string) *ListTradesParams
- func (o *ListTradesParams) WithContext(ctx context.Context) *ListTradesParams
- func (o *ListTradesParams) WithCount(count *int64) *ListTradesParams
- func (o *ListTradesParams) WithHTTPClient(client *http.Client) *ListTradesParams
- func (o *ListTradesParams) WithIds(ids []string) *ListTradesParams
- func (o *ListTradesParams) WithInstrument(instrument *string) *ListTradesParams
- func (o *ListTradesParams) WithState(state *string) *ListTradesParams
- func (o *ListTradesParams) WithTimeout(timeout time.Duration) *ListTradesParams
- func (o *ListTradesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListTradesReader
- type ListTradesUnauthorized
- type ListTradesUnauthorizedBody
- type ListTransactionsBadRequest
- type ListTransactionsBadRequestBody
- type ListTransactionsForbidden
- type ListTransactionsForbiddenBody
- type ListTransactionsMethodNotAllowed
- type ListTransactionsMethodNotAllowedBody
- type ListTransactionsNotFound
- type ListTransactionsNotFoundBody
- type ListTransactionsOK
- type ListTransactionsOKBody
- type ListTransactionsParams
- func NewListTransactionsParams() *ListTransactionsParams
- func NewListTransactionsParamsWithContext(ctx context.Context) *ListTransactionsParams
- func NewListTransactionsParamsWithHTTPClient(client *http.Client) *ListTransactionsParams
- func NewListTransactionsParamsWithTimeout(timeout time.Duration) *ListTransactionsParams
- func (o *ListTransactionsParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *ListTransactionsParams) SetAccountID(accountID string)
- func (o *ListTransactionsParams) SetAuthorization(authorization string)
- func (o *ListTransactionsParams) SetContext(ctx context.Context)
- func (o *ListTransactionsParams) SetFrom(from *string)
- func (o *ListTransactionsParams) SetHTTPClient(client *http.Client)
- func (o *ListTransactionsParams) SetPageSize(pageSize *int64)
- func (o *ListTransactionsParams) SetTimeout(timeout time.Duration)
- func (o *ListTransactionsParams) SetTo(to *string)
- func (o *ListTransactionsParams) SetType(typeVar []string)
- func (o *ListTransactionsParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *ListTransactionsParams
- func (o *ListTransactionsParams) WithAccountID(accountID string) *ListTransactionsParams
- func (o *ListTransactionsParams) WithAuthorization(authorization string) *ListTransactionsParams
- func (o *ListTransactionsParams) WithContext(ctx context.Context) *ListTransactionsParams
- func (o *ListTransactionsParams) WithFrom(from *string) *ListTransactionsParams
- func (o *ListTransactionsParams) WithHTTPClient(client *http.Client) *ListTransactionsParams
- func (o *ListTransactionsParams) WithPageSize(pageSize *int64) *ListTransactionsParams
- func (o *ListTransactionsParams) WithTimeout(timeout time.Duration) *ListTransactionsParams
- func (o *ListTransactionsParams) WithTo(to *string) *ListTransactionsParams
- func (o *ListTransactionsParams) WithType(typeVar []string) *ListTransactionsParams
- func (o *ListTransactionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListTransactionsReader
- type ListTransactionsRequestRangeNotSatisfiable
- type ListTransactionsRequestRangeNotSatisfiableBody
- type ListTransactionsUnauthorized
- type ListTransactionsUnauthorizedBody
- type ReplaceOrderBadRequest
- type ReplaceOrderBadRequestBody
- type ReplaceOrderBody
- type ReplaceOrderCreated
- type ReplaceOrderCreatedBody
- type ReplaceOrderMethodNotAllowed
- type ReplaceOrderMethodNotAllowedBody
- type ReplaceOrderNotFound
- type ReplaceOrderNotFoundBody
- type ReplaceOrderParams
- func (o *ReplaceOrderParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *ReplaceOrderParams) SetAccountID(accountID string)
- func (o *ReplaceOrderParams) SetAuthorization(authorization string)
- func (o *ReplaceOrderParams) SetClientRequestID(clientRequestID *string)
- func (o *ReplaceOrderParams) SetContext(ctx context.Context)
- func (o *ReplaceOrderParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceOrderParams) SetOrderSpecifier(orderSpecifier string)
- func (o *ReplaceOrderParams) SetReplaceOrderBody(replaceOrderBody ReplaceOrderBody)
- func (o *ReplaceOrderParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceOrderParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *ReplaceOrderParams
- func (o *ReplaceOrderParams) WithAccountID(accountID string) *ReplaceOrderParams
- func (o *ReplaceOrderParams) WithAuthorization(authorization string) *ReplaceOrderParams
- func (o *ReplaceOrderParams) WithClientRequestID(clientRequestID *string) *ReplaceOrderParams
- func (o *ReplaceOrderParams) WithContext(ctx context.Context) *ReplaceOrderParams
- func (o *ReplaceOrderParams) WithHTTPClient(client *http.Client) *ReplaceOrderParams
- func (o *ReplaceOrderParams) WithOrderSpecifier(orderSpecifier string) *ReplaceOrderParams
- func (o *ReplaceOrderParams) WithReplaceOrderBody(replaceOrderBody ReplaceOrderBody) *ReplaceOrderParams
- func (o *ReplaceOrderParams) WithTimeout(timeout time.Duration) *ReplaceOrderParams
- func (o *ReplaceOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceOrderReader
- type ReplaceOrderUnauthorized
- type ReplaceOrderUnauthorizedBody
- type SetOrderClientExtensionsBadRequest
- type SetOrderClientExtensionsBadRequestBody
- type SetOrderClientExtensionsBody
- type SetOrderClientExtensionsMethodNotAllowed
- type SetOrderClientExtensionsMethodNotAllowedBody
- type SetOrderClientExtensionsNotFound
- type SetOrderClientExtensionsNotFoundBody
- type SetOrderClientExtensionsOK
- type SetOrderClientExtensionsOKBody
- type SetOrderClientExtensionsParams
- func NewSetOrderClientExtensionsParams() *SetOrderClientExtensionsParams
- func NewSetOrderClientExtensionsParamsWithContext(ctx context.Context) *SetOrderClientExtensionsParams
- func NewSetOrderClientExtensionsParamsWithHTTPClient(client *http.Client) *SetOrderClientExtensionsParams
- func NewSetOrderClientExtensionsParamsWithTimeout(timeout time.Duration) *SetOrderClientExtensionsParams
- func (o *SetOrderClientExtensionsParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *SetOrderClientExtensionsParams) SetAccountID(accountID string)
- func (o *SetOrderClientExtensionsParams) SetAuthorization(authorization string)
- func (o *SetOrderClientExtensionsParams) SetContext(ctx context.Context)
- func (o *SetOrderClientExtensionsParams) SetHTTPClient(client *http.Client)
- func (o *SetOrderClientExtensionsParams) SetOrderSpecifier(orderSpecifier string)
- func (o *SetOrderClientExtensionsParams) SetSetOrderClientExtensionsBody(setOrderClientExtensionsBody SetOrderClientExtensionsBody)
- func (o *SetOrderClientExtensionsParams) SetTimeout(timeout time.Duration)
- func (o *SetOrderClientExtensionsParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *SetOrderClientExtensionsParams
- func (o *SetOrderClientExtensionsParams) WithAccountID(accountID string) *SetOrderClientExtensionsParams
- func (o *SetOrderClientExtensionsParams) WithAuthorization(authorization string) *SetOrderClientExtensionsParams
- func (o *SetOrderClientExtensionsParams) WithContext(ctx context.Context) *SetOrderClientExtensionsParams
- func (o *SetOrderClientExtensionsParams) WithHTTPClient(client *http.Client) *SetOrderClientExtensionsParams
- func (o *SetOrderClientExtensionsParams) WithOrderSpecifier(orderSpecifier string) *SetOrderClientExtensionsParams
- func (o *SetOrderClientExtensionsParams) WithSetOrderClientExtensionsBody(setOrderClientExtensionsBody SetOrderClientExtensionsBody) *SetOrderClientExtensionsParams
- func (o *SetOrderClientExtensionsParams) WithTimeout(timeout time.Duration) *SetOrderClientExtensionsParams
- func (o *SetOrderClientExtensionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetOrderClientExtensionsReader
- type SetOrderClientExtensionsUnauthorized
- type SetOrderClientExtensionsUnauthorizedBody
- type SetTradeClientExtensionsBadRequest
- type SetTradeClientExtensionsBadRequestBody
- type SetTradeClientExtensionsBody
- type SetTradeClientExtensionsMethodNotAllowed
- type SetTradeClientExtensionsMethodNotAllowedBody
- type SetTradeClientExtensionsNotFound
- type SetTradeClientExtensionsNotFoundBody
- type SetTradeClientExtensionsOK
- type SetTradeClientExtensionsOKBody
- type SetTradeClientExtensionsParams
- func NewSetTradeClientExtensionsParams() *SetTradeClientExtensionsParams
- func NewSetTradeClientExtensionsParamsWithContext(ctx context.Context) *SetTradeClientExtensionsParams
- func NewSetTradeClientExtensionsParamsWithHTTPClient(client *http.Client) *SetTradeClientExtensionsParams
- func NewSetTradeClientExtensionsParamsWithTimeout(timeout time.Duration) *SetTradeClientExtensionsParams
- func (o *SetTradeClientExtensionsParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *SetTradeClientExtensionsParams) SetAccountID(accountID string)
- func (o *SetTradeClientExtensionsParams) SetAuthorization(authorization string)
- func (o *SetTradeClientExtensionsParams) SetContext(ctx context.Context)
- func (o *SetTradeClientExtensionsParams) SetHTTPClient(client *http.Client)
- func (o *SetTradeClientExtensionsParams) SetSetTradeClientExtensionsBody(setTradeClientExtensionsBody SetTradeClientExtensionsBody)
- func (o *SetTradeClientExtensionsParams) SetTimeout(timeout time.Duration)
- func (o *SetTradeClientExtensionsParams) SetTradeSpecifier(tradeSpecifier string)
- func (o *SetTradeClientExtensionsParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *SetTradeClientExtensionsParams
- func (o *SetTradeClientExtensionsParams) WithAccountID(accountID string) *SetTradeClientExtensionsParams
- func (o *SetTradeClientExtensionsParams) WithAuthorization(authorization string) *SetTradeClientExtensionsParams
- func (o *SetTradeClientExtensionsParams) WithContext(ctx context.Context) *SetTradeClientExtensionsParams
- func (o *SetTradeClientExtensionsParams) WithHTTPClient(client *http.Client) *SetTradeClientExtensionsParams
- func (o *SetTradeClientExtensionsParams) WithSetTradeClientExtensionsBody(setTradeClientExtensionsBody SetTradeClientExtensionsBody) *SetTradeClientExtensionsParams
- func (o *SetTradeClientExtensionsParams) WithTimeout(timeout time.Duration) *SetTradeClientExtensionsParams
- func (o *SetTradeClientExtensionsParams) WithTradeSpecifier(tradeSpecifier string) *SetTradeClientExtensionsParams
- func (o *SetTradeClientExtensionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetTradeClientExtensionsReader
- type SetTradeClientExtensionsUnauthorized
- type SetTradeClientExtensionsUnauthorizedBody
- type SetTradeDependentOrdersBadRequest
- type SetTradeDependentOrdersBadRequestBody
- type SetTradeDependentOrdersBody
- type SetTradeDependentOrdersMethodNotAllowed
- type SetTradeDependentOrdersMethodNotAllowedBody
- type SetTradeDependentOrdersNotFound
- type SetTradeDependentOrdersNotFoundBody
- type SetTradeDependentOrdersOK
- type SetTradeDependentOrdersOKBody
- type SetTradeDependentOrdersParams
- func NewSetTradeDependentOrdersParams() *SetTradeDependentOrdersParams
- func NewSetTradeDependentOrdersParamsWithContext(ctx context.Context) *SetTradeDependentOrdersParams
- func NewSetTradeDependentOrdersParamsWithHTTPClient(client *http.Client) *SetTradeDependentOrdersParams
- func NewSetTradeDependentOrdersParamsWithTimeout(timeout time.Duration) *SetTradeDependentOrdersParams
- func (o *SetTradeDependentOrdersParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *SetTradeDependentOrdersParams) SetAccountID(accountID string)
- func (o *SetTradeDependentOrdersParams) SetAuthorization(authorization string)
- func (o *SetTradeDependentOrdersParams) SetContext(ctx context.Context)
- func (o *SetTradeDependentOrdersParams) SetHTTPClient(client *http.Client)
- func (o *SetTradeDependentOrdersParams) SetSetTradeDependentOrdersBody(setTradeDependentOrdersBody SetTradeDependentOrdersBody)
- func (o *SetTradeDependentOrdersParams) SetTimeout(timeout time.Duration)
- func (o *SetTradeDependentOrdersParams) SetTradeSpecifier(tradeSpecifier string)
- func (o *SetTradeDependentOrdersParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *SetTradeDependentOrdersParams
- func (o *SetTradeDependentOrdersParams) WithAccountID(accountID string) *SetTradeDependentOrdersParams
- func (o *SetTradeDependentOrdersParams) WithAuthorization(authorization string) *SetTradeDependentOrdersParams
- func (o *SetTradeDependentOrdersParams) WithContext(ctx context.Context) *SetTradeDependentOrdersParams
- func (o *SetTradeDependentOrdersParams) WithHTTPClient(client *http.Client) *SetTradeDependentOrdersParams
- func (o *SetTradeDependentOrdersParams) WithSetTradeDependentOrdersBody(setTradeDependentOrdersBody SetTradeDependentOrdersBody) *SetTradeDependentOrdersParams
- func (o *SetTradeDependentOrdersParams) WithTimeout(timeout time.Duration) *SetTradeDependentOrdersParams
- func (o *SetTradeDependentOrdersParams) WithTradeSpecifier(tradeSpecifier string) *SetTradeDependentOrdersParams
- func (o *SetTradeDependentOrdersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetTradeDependentOrdersReader
- type SetTradeDependentOrdersUnauthorized
- type SetTradeDependentOrdersUnauthorizedBody
- type StreamPricingBadRequest
- type StreamPricingBadRequestBody
- type StreamPricingMethodNotAllowed
- type StreamPricingMethodNotAllowedBody
- type StreamPricingNotFound
- type StreamPricingNotFoundBody
- type StreamPricingOK
- type StreamPricingOKBody
- type StreamPricingParams
- func (o *StreamPricingParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
- func (o *StreamPricingParams) SetAccountID(accountID string)
- func (o *StreamPricingParams) SetAuthorization(authorization string)
- func (o *StreamPricingParams) SetContext(ctx context.Context)
- func (o *StreamPricingParams) SetHTTPClient(client *http.Client)
- func (o *StreamPricingParams) SetInstruments(instruments []string)
- func (o *StreamPricingParams) SetSnapshot(snapshot *bool)
- func (o *StreamPricingParams) SetTimeout(timeout time.Duration)
- func (o *StreamPricingParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *StreamPricingParams
- func (o *StreamPricingParams) WithAccountID(accountID string) *StreamPricingParams
- func (o *StreamPricingParams) WithAuthorization(authorization string) *StreamPricingParams
- func (o *StreamPricingParams) WithContext(ctx context.Context) *StreamPricingParams
- func (o *StreamPricingParams) WithHTTPClient(client *http.Client) *StreamPricingParams
- func (o *StreamPricingParams) WithInstruments(instruments []string) *StreamPricingParams
- func (o *StreamPricingParams) WithSnapshot(snapshot *bool) *StreamPricingParams
- func (o *StreamPricingParams) WithTimeout(timeout time.Duration) *StreamPricingParams
- func (o *StreamPricingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StreamPricingReader
- type StreamPricingUnauthorized
- type StreamPricingUnauthorizedBody
- type StreamTransactionsBadRequest
- type StreamTransactionsBadRequestBody
- type StreamTransactionsMethodNotAllowed
- type StreamTransactionsMethodNotAllowedBody
- type StreamTransactionsNotFound
- type StreamTransactionsNotFoundBody
- type StreamTransactionsOK
- type StreamTransactionsOKBody
- type StreamTransactionsParams
- func NewStreamTransactionsParams() *StreamTransactionsParams
- func NewStreamTransactionsParamsWithContext(ctx context.Context) *StreamTransactionsParams
- func NewStreamTransactionsParamsWithHTTPClient(client *http.Client) *StreamTransactionsParams
- func NewStreamTransactionsParamsWithTimeout(timeout time.Duration) *StreamTransactionsParams
- func (o *StreamTransactionsParams) SetAccountID(accountID string)
- func (o *StreamTransactionsParams) SetAuthorization(authorization string)
- func (o *StreamTransactionsParams) SetContext(ctx context.Context)
- func (o *StreamTransactionsParams) SetHTTPClient(client *http.Client)
- func (o *StreamTransactionsParams) SetTimeout(timeout time.Duration)
- func (o *StreamTransactionsParams) WithAccountID(accountID string) *StreamTransactionsParams
- func (o *StreamTransactionsParams) WithAuthorization(authorization string) *StreamTransactionsParams
- func (o *StreamTransactionsParams) WithContext(ctx context.Context) *StreamTransactionsParams
- func (o *StreamTransactionsParams) WithHTTPClient(client *http.Client) *StreamTransactionsParams
- func (o *StreamTransactionsParams) WithTimeout(timeout time.Duration) *StreamTransactionsParams
- func (o *StreamTransactionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StreamTransactionsReader
- type StreamTransactionsUnauthorized
- type StreamTransactionsUnauthorizedBody
Constants ¶
const ( // GetInstrumentCandlesOKBodyGranularityS5 captures enum value "S5" GetInstrumentCandlesOKBodyGranularityS5 string = "S5" // GetInstrumentCandlesOKBodyGranularityS10 captures enum value "S10" GetInstrumentCandlesOKBodyGranularityS10 string = "S10" // GetInstrumentCandlesOKBodyGranularityS15 captures enum value "S15" GetInstrumentCandlesOKBodyGranularityS15 string = "S15" // GetInstrumentCandlesOKBodyGranularityS30 captures enum value "S30" GetInstrumentCandlesOKBodyGranularityS30 string = "S30" // GetInstrumentCandlesOKBodyGranularityM1 captures enum value "M1" GetInstrumentCandlesOKBodyGranularityM1 string = "M1" // GetInstrumentCandlesOKBodyGranularityM2 captures enum value "M2" GetInstrumentCandlesOKBodyGranularityM2 string = "M2" // GetInstrumentCandlesOKBodyGranularityM4 captures enum value "M4" GetInstrumentCandlesOKBodyGranularityM4 string = "M4" // GetInstrumentCandlesOKBodyGranularityM5 captures enum value "M5" GetInstrumentCandlesOKBodyGranularityM5 string = "M5" // GetInstrumentCandlesOKBodyGranularityM10 captures enum value "M10" GetInstrumentCandlesOKBodyGranularityM10 string = "M10" // GetInstrumentCandlesOKBodyGranularityM15 captures enum value "M15" GetInstrumentCandlesOKBodyGranularityM15 string = "M15" // GetInstrumentCandlesOKBodyGranularityM30 captures enum value "M30" GetInstrumentCandlesOKBodyGranularityM30 string = "M30" // GetInstrumentCandlesOKBodyGranularityH1 captures enum value "H1" GetInstrumentCandlesOKBodyGranularityH1 string = "H1" // GetInstrumentCandlesOKBodyGranularityH2 captures enum value "H2" GetInstrumentCandlesOKBodyGranularityH2 string = "H2" // GetInstrumentCandlesOKBodyGranularityH3 captures enum value "H3" GetInstrumentCandlesOKBodyGranularityH3 string = "H3" // GetInstrumentCandlesOKBodyGranularityH4 captures enum value "H4" GetInstrumentCandlesOKBodyGranularityH4 string = "H4" // GetInstrumentCandlesOKBodyGranularityH6 captures enum value "H6" GetInstrumentCandlesOKBodyGranularityH6 string = "H6" // GetInstrumentCandlesOKBodyGranularityH8 captures enum value "H8" GetInstrumentCandlesOKBodyGranularityH8 string = "H8" // GetInstrumentCandlesOKBodyGranularityH12 captures enum value "H12" GetInstrumentCandlesOKBodyGranularityH12 string = "H12" // GetInstrumentCandlesOKBodyGranularityD captures enum value "D" GetInstrumentCandlesOKBodyGranularityD string = "D" // GetInstrumentCandlesOKBodyGranularityW captures enum value "W" GetInstrumentCandlesOKBodyGranularityW string = "W" // GetInstrumentCandlesOKBodyGranularityM captures enum value "M" GetInstrumentCandlesOKBodyGranularityM string = "M" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelOrderMethodNotAllowed ¶
type CancelOrderMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *CancelOrderMethodNotAllowedBody }
CancelOrderMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewCancelOrderMethodNotAllowed ¶
func NewCancelOrderMethodNotAllowed() *CancelOrderMethodNotAllowed
NewCancelOrderMethodNotAllowed creates a CancelOrderMethodNotAllowed with default headers values
func (*CancelOrderMethodNotAllowed) Error ¶
func (o *CancelOrderMethodNotAllowed) Error() string
type CancelOrderMethodNotAllowedBody ¶
type CancelOrderMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
CancelOrderMethodNotAllowedBody cancel order method not allowed body swagger:model CancelOrderMethodNotAllowedBody
func (*CancelOrderMethodNotAllowedBody) MarshalBinary ¶
func (o *CancelOrderMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CancelOrderMethodNotAllowedBody) UnmarshalBinary ¶
func (o *CancelOrderMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CancelOrderNotFound ¶
type CancelOrderNotFound struct {
Payload *CancelOrderNotFoundBody
}
CancelOrderNotFound handles this case with default header values.
The Account or Order specified does not exist.
func NewCancelOrderNotFound ¶
func NewCancelOrderNotFound() *CancelOrderNotFound
NewCancelOrderNotFound creates a CancelOrderNotFound with default headers values
func (*CancelOrderNotFound) Error ¶
func (o *CancelOrderNotFound) Error() string
type CancelOrderNotFoundBody ¶
type CancelOrderNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` // The ID of the most recent Transaction created for the Account. Only present if the Account exists. LastTransactionID string `json:"lastTransactionID,omitempty"` // order cancel reject transaction OrderCancelRejectTransaction *models.OrderCancelRejectTransaction `json:"orderCancelRejectTransaction,omitempty"` // The IDs of all Transactions that were created while satisfying the request. Only present if the Account exists. RelatedTransactionIds []string `json:"relatedTransactionIDs"` }
CancelOrderNotFoundBody cancel order not found body swagger:model CancelOrderNotFoundBody
func (*CancelOrderNotFoundBody) MarshalBinary ¶
func (o *CancelOrderNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CancelOrderNotFoundBody) UnmarshalBinary ¶
func (o *CancelOrderNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CancelOrderOK ¶
type CancelOrderOK struct { /*The unique identifier generated for the request */ RequestID string Payload *CancelOrderOKBody }
CancelOrderOK handles this case with default header values.
The Order was cancelled as specified
func NewCancelOrderOK ¶
func NewCancelOrderOK() *CancelOrderOK
NewCancelOrderOK creates a CancelOrderOK with default headers values
func (*CancelOrderOK) Error ¶
func (o *CancelOrderOK) Error() string
type CancelOrderOKBody ¶
type CancelOrderOKBody struct { // The ID of the most recent Transaction created for the Account LastTransactionID string `json:"lastTransactionID,omitempty"` // order cancel transaction OrderCancelTransaction *models.OrderCancelTransaction `json:"orderCancelTransaction,omitempty"` // The IDs of all Transactions that were created while satisfying the request. RelatedTransactionIds []string `json:"relatedTransactionIDs"` }
CancelOrderOKBody cancel order o k body swagger:model CancelOrderOKBody
func (*CancelOrderOKBody) MarshalBinary ¶
func (o *CancelOrderOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CancelOrderOKBody) UnmarshalBinary ¶
func (o *CancelOrderOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CancelOrderParams ¶
type CancelOrderParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*ClientRequestID Client specified RequestID to be sent with request. */ ClientRequestID *string /*AccountID Account Identifier */ AccountID string /*OrderSpecifier The Order Specifier */ OrderSpecifier string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CancelOrderParams contains all the parameters to send to the API endpoint for the cancel order operation typically these are written to a http.Request
func NewCancelOrderParams ¶
func NewCancelOrderParams() *CancelOrderParams
NewCancelOrderParams creates a new CancelOrderParams object with the default values initialized.
func NewCancelOrderParamsWithContext ¶
func NewCancelOrderParamsWithContext(ctx context.Context) *CancelOrderParams
NewCancelOrderParamsWithContext creates a new CancelOrderParams object with the default values initialized, and the ability to set a context for a request
func NewCancelOrderParamsWithHTTPClient ¶
func NewCancelOrderParamsWithHTTPClient(client *http.Client) *CancelOrderParams
NewCancelOrderParamsWithHTTPClient creates a new CancelOrderParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCancelOrderParamsWithTimeout ¶
func NewCancelOrderParamsWithTimeout(timeout time.Duration) *CancelOrderParams
NewCancelOrderParamsWithTimeout creates a new CancelOrderParams object with the default values initialized, and the ability to set a timeout on a request
func (*CancelOrderParams) SetAcceptDatetimeFormat ¶
func (o *CancelOrderParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the cancel order params
func (*CancelOrderParams) SetAccountID ¶
func (o *CancelOrderParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the cancel order params
func (*CancelOrderParams) SetAuthorization ¶
func (o *CancelOrderParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the cancel order params
func (*CancelOrderParams) SetClientRequestID ¶
func (o *CancelOrderParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the cancel order params
func (*CancelOrderParams) SetContext ¶
func (o *CancelOrderParams) SetContext(ctx context.Context)
SetContext adds the context to the cancel order params
func (*CancelOrderParams) SetHTTPClient ¶
func (o *CancelOrderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cancel order params
func (*CancelOrderParams) SetOrderSpecifier ¶
func (o *CancelOrderParams) SetOrderSpecifier(orderSpecifier string)
SetOrderSpecifier adds the orderSpecifier to the cancel order params
func (*CancelOrderParams) SetTimeout ¶
func (o *CancelOrderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cancel order params
func (*CancelOrderParams) WithAcceptDatetimeFormat ¶
func (o *CancelOrderParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *CancelOrderParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the cancel order params
func (*CancelOrderParams) WithAccountID ¶
func (o *CancelOrderParams) WithAccountID(accountID string) *CancelOrderParams
WithAccountID adds the accountID to the cancel order params
func (*CancelOrderParams) WithAuthorization ¶
func (o *CancelOrderParams) WithAuthorization(authorization string) *CancelOrderParams
WithAuthorization adds the authorization to the cancel order params
func (*CancelOrderParams) WithClientRequestID ¶
func (o *CancelOrderParams) WithClientRequestID(clientRequestID *string) *CancelOrderParams
WithClientRequestID adds the clientRequestID to the cancel order params
func (*CancelOrderParams) WithContext ¶
func (o *CancelOrderParams) WithContext(ctx context.Context) *CancelOrderParams
WithContext adds the context to the cancel order params
func (*CancelOrderParams) WithHTTPClient ¶
func (o *CancelOrderParams) WithHTTPClient(client *http.Client) *CancelOrderParams
WithHTTPClient adds the HTTPClient to the cancel order params
func (*CancelOrderParams) WithOrderSpecifier ¶
func (o *CancelOrderParams) WithOrderSpecifier(orderSpecifier string) *CancelOrderParams
WithOrderSpecifier adds the orderSpecifier to the cancel order params
func (*CancelOrderParams) WithTimeout ¶
func (o *CancelOrderParams) WithTimeout(timeout time.Duration) *CancelOrderParams
WithTimeout adds the timeout to the cancel order params
func (*CancelOrderParams) WriteToRequest ¶
func (o *CancelOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CancelOrderReader ¶
type CancelOrderReader struct {
// contains filtered or unexported fields
}
CancelOrderReader is a Reader for the CancelOrder structure.
func (*CancelOrderReader) ReadResponse ¶
func (o *CancelOrderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CancelOrderUnauthorized ¶
type CancelOrderUnauthorized struct { string }RequestID
CancelOrderUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewCancelOrderUnauthorized ¶
func NewCancelOrderUnauthorized() *CancelOrderUnauthorized
NewCancelOrderUnauthorized creates a CancelOrderUnauthorized with default headers values
func (*CancelOrderUnauthorized) Error ¶
func (o *CancelOrderUnauthorized) Error() string
type CancelOrderUnauthorizedBody ¶
type CancelOrderUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
CancelOrderUnauthorizedBody cancel order unauthorized body swagger:model CancelOrderUnauthorizedBody
func (*CancelOrderUnauthorizedBody) MarshalBinary ¶
func (o *CancelOrderUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CancelOrderUnauthorizedBody) UnmarshalBinary ¶
func (o *CancelOrderUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for operations API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new operations API client.
func (*Client) CancelOrder ¶
func (a *Client) CancelOrder(params *CancelOrderParams) (*CancelOrderOK, error)
CancelOrder cancels order
Cancel a pending Order in an Account
func (*Client) ClosePosition ¶
func (a *Client) ClosePosition(params *ClosePositionParams) (*ClosePositionOK, error)
ClosePosition closes position
Closeout the open Position for a specific instrument in an Account.
func (*Client) CloseTrade ¶
func (a *Client) CloseTrade(params *CloseTradeParams) (*CloseTradeOK, error)
CloseTrade closes trade
Close (partially or fully) a specific open Trade in an Account
func (*Client) ConfigureAccount ¶
func (a *Client) ConfigureAccount(params *ConfigureAccountParams) (*ConfigureAccountOK, error)
ConfigureAccount configures account
Set the client-configurable portions of an Account.
func (*Client) CreateOrder ¶
func (a *Client) CreateOrder(params *CreateOrderParams) (*CreateOrderCreated, error)
CreateOrder creates order
Create an Order for an Account
func (*Client) GetAccount ¶
func (a *Client) GetAccount(params *GetAccountParams) (*GetAccountOK, error)
GetAccount accounts details
Get the full details for a single Account that a client has access to. Full pending Order, open Trade and open Position representations are provided.
func (*Client) GetAccountChanges ¶
func (a *Client) GetAccountChanges(params *GetAccountChangesParams) (*GetAccountChangesOK, error)
GetAccountChanges polls account updates
Endpoint used to poll an Account for its current state and changes since a specified TransactionID.
func (*Client) GetAccountInstruments ¶
func (a *Client) GetAccountInstruments(params *GetAccountInstrumentsParams) (*GetAccountInstrumentsOK, error)
GetAccountInstruments accounts instruments
Get the list of tradeable instruments for the given Account. The list of tradeable instruments is dependent on the regulatory division that the Account is located in, thus should be the same for all Accounts owned by a single user.
func (*Client) GetAccountSummary ¶
func (a *Client) GetAccountSummary(params *GetAccountSummaryParams) (*GetAccountSummaryOK, error)
GetAccountSummary accounts summary
Get a summary for a single Account that a client has access to.
func (*Client) GetBasePrices ¶
func (a *Client) GetBasePrices(params *GetBasePricesParams) (*GetBasePricesOK, error)
GetBasePrices gets base prices
Get pricing information for a specified instrument. Accounts are not associated in any way with this endpoint.
func (*Client) GetExternalUserInfo ¶
func (a *Client) GetExternalUserInfo(params *GetExternalUserInfoParams) (*GetExternalUserInfoOK, error)
GetExternalUserInfo externals user info
Fetch the externally-available user information for the specified user. This endpoint is intended to be used by 3rd parties that have been authorized by a user to view their personal information.
func (*Client) GetInstrumentCandles ¶
func (a *Client) GetInstrumentCandles(params *GetInstrumentCandlesParams) (*GetInstrumentCandlesOK, error)
GetInstrumentCandles gets candlesticks
Fetch candlestick data for an instrument.
func (*Client) GetInstrumentPrice ¶
func (a *Client) GetInstrumentPrice(params *GetInstrumentPriceParams) (*GetInstrumentPriceOK, error)
GetInstrumentPrice prices
Fetch a price for an instrument. Accounts are not associated in any way with this endpoint.
func (*Client) GetInstrumentPriceRange ¶
func (a *Client) GetInstrumentPriceRange(params *GetInstrumentPriceRangeParams) (*GetInstrumentPriceRangeOK, error)
GetInstrumentPriceRange gets prices
Fetch a range of prices for an instrument. Accounts are not associated in any way with this endpoint.
func (*Client) GetInstrumentsInstrumentOrderBook ¶
func (a *Client) GetInstrumentsInstrumentOrderBook(params *GetInstrumentsInstrumentOrderBookParams) (*GetInstrumentsInstrumentOrderBookOK, error)
GetInstrumentsInstrumentOrderBook gets order book
Fetch an order book for an instrument.
func (*Client) GetInstrumentsInstrumentPositionBook ¶
func (a *Client) GetInstrumentsInstrumentPositionBook(params *GetInstrumentsInstrumentPositionBookParams) (*GetInstrumentsInstrumentPositionBookOK, error)
GetInstrumentsInstrumentPositionBook gets position book
Fetch a position book for an instrument.
func (*Client) GetOrder ¶
func (a *Client) GetOrder(params *GetOrderParams) (*GetOrderOK, error)
GetOrder gets order
Get details for a single Order in an Account
func (*Client) GetPosition ¶
func (a *Client) GetPosition(params *GetPositionParams) (*GetPositionOK, error)
GetPosition instruments position
Get the details of a single Instrument's Position in an Account. The Position may by open or not.
func (*Client) GetPrices ¶
func (a *Client) GetPrices(params *GetPricesParams) (*GetPricesOK, error)
GetPrices currents account prices
Get pricing information for a specified list of Instruments within an Account.
func (*Client) GetTrade ¶
func (a *Client) GetTrade(params *GetTradeParams) (*GetTradeOK, error)
GetTrade trades details
Get the details of a specific Trade in an Account
func (*Client) GetTransaction ¶
func (a *Client) GetTransaction(params *GetTransactionParams) (*GetTransactionOK, error)
GetTransaction transactions details
Get the details of a single Account Transaction.
func (*Client) GetTransactionRange ¶
func (a *Client) GetTransactionRange(params *GetTransactionRangeParams) (*GetTransactionRangeOK, error)
GetTransactionRange transactions ID range
Get a range of Transactions for an Account based on the Transaction IDs.
func (*Client) GetTransactionsSinceID ¶
func (a *Client) GetTransactionsSinceID(params *GetTransactionsSinceIDParams) (*GetTransactionsSinceIDOK, error)
GetTransactionsSinceID transactions since ID
Get a range of Transactions for an Account starting at (but not including) a provided Transaction ID.
func (*Client) GetUserInfo ¶
func (a *Client) GetUserInfo(params *GetUserInfoParams) (*GetUserInfoOK, error)
GetUserInfo users info
Fetch the user information for the specified user. This endpoint is intended to be used by the user themself to obtain their own information.
func (*Client) ListAccounts ¶
func (a *Client) ListAccounts(params *ListAccountsParams) (*ListAccountsOK, error)
ListAccounts lists accounts
Get a list of all Accounts authorized for the provided token.
func (*Client) ListOpenPositions ¶
func (a *Client) ListOpenPositions(params *ListOpenPositionsParams) (*ListOpenPositionsOK, error)
ListOpenPositions opens positions
List all open Positions for an Account. An open Position is a Position in an Account that currently has a Trade opened for it.
func (*Client) ListOpenTrades ¶
func (a *Client) ListOpenTrades(params *ListOpenTradesParams) (*ListOpenTradesOK, error)
ListOpenTrades lists open trades
Get the list of open Trades for an Account
func (*Client) ListOrders ¶
func (a *Client) ListOrders(params *ListOrdersParams) (*ListOrdersOK, error)
ListOrders lists orders
Get a list of Orders for an Account
func (*Client) ListPendingOrders ¶
func (a *Client) ListPendingOrders(params *ListPendingOrdersParams) (*ListPendingOrdersOK, error)
ListPendingOrders pendings orders
List all pending Orders in an Account
func (*Client) ListPositions ¶
func (a *Client) ListPositions(params *ListPositionsParams) (*ListPositionsOK, error)
ListPositions lists positions
List all Positions for an Account. The Positions returned are for every instrument that has had a position during the lifetime of an the Account.
func (*Client) ListTrades ¶
func (a *Client) ListTrades(params *ListTradesParams) (*ListTradesOK, error)
ListTrades lists trades
Get a list of Trades for an Account
func (*Client) ListTransactions ¶
func (a *Client) ListTransactions(params *ListTransactionsParams) (*ListTransactionsOK, error)
ListTransactions lists transactions
Get a list of Transactions pages that satisfy a time-based Transaction query.
func (*Client) ReplaceOrder ¶
func (a *Client) ReplaceOrder(params *ReplaceOrderParams) (*ReplaceOrderCreated, error)
ReplaceOrder replaces order
Replace an Order in an Account by simultaneously cancelling it and creating a replacement Order
func (*Client) SetOrderClientExtensions ¶
func (a *Client) SetOrderClientExtensions(params *SetOrderClientExtensionsParams) (*SetOrderClientExtensionsOK, error)
SetOrderClientExtensions sets order extensions
Update the Client Extensions for an Order in an Account. Do not set, modify, or delete clientExtensions if your account is associated with MT4.
func (*Client) SetTradeClientExtensions ¶
func (a *Client) SetTradeClientExtensions(params *SetTradeClientExtensionsParams) (*SetTradeClientExtensionsOK, error)
SetTradeClientExtensions sets trade client extensions
Update the Client Extensions for a Trade. Do not add, update, or delete the Client Extensions if your account is associated with MT4.
func (*Client) SetTradeDependentOrders ¶
func (a *Client) SetTradeDependentOrders(params *SetTradeDependentOrdersParams) (*SetTradeDependentOrdersOK, error)
SetTradeDependentOrders sets dependent orders
Create, replace and cancel a Trade's dependent Orders (Take Profit, Stop Loss and Trailing Stop Loss) through the Trade itself
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) StreamPricing ¶
func (a *Client) StreamPricing(params *StreamPricingParams) (*StreamPricingOK, error)
StreamPricing prices stream
Get a stream of Account Prices starting from when the request is made. This pricing stream does not include every single price created for the Account, but instead will provide at most 4 prices per second (every 250 milliseconds) for each instrument being requested. If more than one price is created for an instrument during the 250 millisecond window, only the price in effect at the end of the window is sent. This means that during periods of rapid price movement, subscribers to this stream will not be sent every price. Pricing windows for different connections to the price stream are not all aligned in the same way (i.e. they are not all aligned to the top of the second). This means that during periods of rapid price movement, different subscribers may observe different prices depending on their alignment.
func (*Client) StreamTransactions ¶
func (a *Client) StreamTransactions(params *StreamTransactionsParams) (*StreamTransactionsOK, error)
StreamTransactions transactions stream
Get a stream of Transactions for an Account starting from when the request is made.
type ClosePositionBadRequest ¶
type ClosePositionBadRequest struct {
Payload *ClosePositionBadRequestBody
}
ClosePositionBadRequest handles this case with default header values.
The Parameters provided that describe the Position closeout are invalid.
func NewClosePositionBadRequest ¶
func NewClosePositionBadRequest() *ClosePositionBadRequest
NewClosePositionBadRequest creates a ClosePositionBadRequest with default headers values
func (*ClosePositionBadRequest) Error ¶
func (o *ClosePositionBadRequest) Error() string
type ClosePositionBadRequestBody ¶
type ClosePositionBadRequestBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` // The ID of the most recent Transaction created for the Account LastTransactionID string `json:"lastTransactionID,omitempty"` // long order reject transaction LongOrderRejectTransaction *models.MarketOrderRejectTransaction `json:"longOrderRejectTransaction,omitempty"` // The IDs of all Transactions that were created while satisfying the request. RelatedTransactionIds []string `json:"relatedTransactionIDs"` // short order reject transaction ShortOrderRejectTransaction *models.MarketOrderRejectTransaction `json:"shortOrderRejectTransaction,omitempty"` }
ClosePositionBadRequestBody close position bad request body swagger:model ClosePositionBadRequestBody
func (*ClosePositionBadRequestBody) MarshalBinary ¶
func (o *ClosePositionBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClosePositionBadRequestBody) UnmarshalBinary ¶
func (o *ClosePositionBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClosePositionBody ¶
type ClosePositionBody struct { // long client extensions LongClientExtensions *models.ClientExtensions `json:"longClientExtensions,omitempty"` // Indication of how much of the long Position to closeout. Either the string "ALL", the string "NONE", or a DecimalNumber representing how many units of the long position to close using a PositionCloseout MarketOrder. The units specified must always be positive. LongUnits string `json:"longUnits,omitempty"` // short client extensions ShortClientExtensions *models.ClientExtensions `json:"shortClientExtensions,omitempty"` // Indication of how much of the short Position to closeout. Either the string "ALL", the string "NONE", or a DecimalNumber representing how many units of the short position to close using a PositionCloseout MarketOrder. The units specified must always be positive. ShortUnits string `json:"shortUnits,omitempty"` }
ClosePositionBody close position body swagger:model ClosePositionBody
func (*ClosePositionBody) MarshalBinary ¶
func (o *ClosePositionBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClosePositionBody) UnmarshalBinary ¶
func (o *ClosePositionBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClosePositionMethodNotAllowed ¶
type ClosePositionMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *ClosePositionMethodNotAllowedBody }
ClosePositionMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewClosePositionMethodNotAllowed ¶
func NewClosePositionMethodNotAllowed() *ClosePositionMethodNotAllowed
NewClosePositionMethodNotAllowed creates a ClosePositionMethodNotAllowed with default headers values
func (*ClosePositionMethodNotAllowed) Error ¶
func (o *ClosePositionMethodNotAllowed) Error() string
type ClosePositionMethodNotAllowedBody ¶
type ClosePositionMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
ClosePositionMethodNotAllowedBody close position method not allowed body swagger:model ClosePositionMethodNotAllowedBody
func (*ClosePositionMethodNotAllowedBody) MarshalBinary ¶
func (o *ClosePositionMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClosePositionMethodNotAllowedBody) UnmarshalBinary ¶
func (o *ClosePositionMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClosePositionNotFound ¶
type ClosePositionNotFound struct {
Payload *ClosePositionNotFoundBody
}
ClosePositionNotFound handles this case with default header values.
The Account or one or more of the Positions specified does not exist.
func NewClosePositionNotFound ¶
func NewClosePositionNotFound() *ClosePositionNotFound
NewClosePositionNotFound creates a ClosePositionNotFound with default headers values
func (*ClosePositionNotFound) Error ¶
func (o *ClosePositionNotFound) Error() string
type ClosePositionNotFoundBody ¶
type ClosePositionNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` // The ID of the most recent Transaction created for the Account. Only present if the Account exists. LastTransactionID string `json:"lastTransactionID,omitempty"` // long order reject transaction LongOrderRejectTransaction *models.MarketOrderRejectTransaction `json:"longOrderRejectTransaction,omitempty"` // The IDs of all Transactions that were created while satisfying the request. Only present if the Account exists. RelatedTransactionIds []string `json:"relatedTransactionIDs"` // short order reject transaction ShortOrderRejectTransaction *models.MarketOrderRejectTransaction `json:"shortOrderRejectTransaction,omitempty"` }
ClosePositionNotFoundBody close position not found body swagger:model ClosePositionNotFoundBody
func (*ClosePositionNotFoundBody) MarshalBinary ¶
func (o *ClosePositionNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClosePositionNotFoundBody) UnmarshalBinary ¶
func (o *ClosePositionNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClosePositionOK ¶
type ClosePositionOK struct { /*A link to the Position that was just closed out */ Location string /*The unique identifier generated for the request */ RequestID string Payload *ClosePositionOKBody }
ClosePositionOK handles this case with default header values.
The Position closeout request has been successfully processed.
func NewClosePositionOK ¶
func NewClosePositionOK() *ClosePositionOK
NewClosePositionOK creates a ClosePositionOK with default headers values
func (*ClosePositionOK) Error ¶
func (o *ClosePositionOK) Error() string
type ClosePositionOKBody ¶
type ClosePositionOKBody struct { // The ID of the most recent Transaction created for the Account LastTransactionID string `json:"lastTransactionID,omitempty"` // long order cancel transaction LongOrderCancelTransaction *models.OrderCancelTransaction `json:"longOrderCancelTransaction,omitempty"` // long order create transaction LongOrderCreateTransaction *models.MarketOrderTransaction `json:"longOrderCreateTransaction,omitempty"` // long order fill transaction LongOrderFillTransaction *models.OrderFillTransaction `json:"longOrderFillTransaction,omitempty"` // The IDs of all Transactions that were created while satisfying the request. RelatedTransactionIds []string `json:"relatedTransactionIDs"` // short order cancel transaction ShortOrderCancelTransaction *models.OrderCancelTransaction `json:"shortOrderCancelTransaction,omitempty"` // short order create transaction ShortOrderCreateTransaction *models.MarketOrderTransaction `json:"shortOrderCreateTransaction,omitempty"` // short order fill transaction ShortOrderFillTransaction *models.OrderFillTransaction `json:"shortOrderFillTransaction,omitempty"` }
ClosePositionOKBody close position o k body swagger:model ClosePositionOKBody
func (*ClosePositionOKBody) MarshalBinary ¶
func (o *ClosePositionOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClosePositionOKBody) UnmarshalBinary ¶
func (o *ClosePositionOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClosePositionParams ¶
type ClosePositionParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*AccountID Account Identifier */ AccountID string /*ClosePositionBody Representation of how to close the position */ ClosePositionBody ClosePositionBody /*Instrument Name of the Instrument */ Instrument string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ClosePositionParams contains all the parameters to send to the API endpoint for the close position operation typically these are written to a http.Request
func NewClosePositionParams ¶
func NewClosePositionParams() *ClosePositionParams
NewClosePositionParams creates a new ClosePositionParams object with the default values initialized.
func NewClosePositionParamsWithContext ¶
func NewClosePositionParamsWithContext(ctx context.Context) *ClosePositionParams
NewClosePositionParamsWithContext creates a new ClosePositionParams object with the default values initialized, and the ability to set a context for a request
func NewClosePositionParamsWithHTTPClient ¶
func NewClosePositionParamsWithHTTPClient(client *http.Client) *ClosePositionParams
NewClosePositionParamsWithHTTPClient creates a new ClosePositionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewClosePositionParamsWithTimeout ¶
func NewClosePositionParamsWithTimeout(timeout time.Duration) *ClosePositionParams
NewClosePositionParamsWithTimeout creates a new ClosePositionParams object with the default values initialized, and the ability to set a timeout on a request
func (*ClosePositionParams) SetAcceptDatetimeFormat ¶
func (o *ClosePositionParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the close position params
func (*ClosePositionParams) SetAccountID ¶
func (o *ClosePositionParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the close position params
func (*ClosePositionParams) SetAuthorization ¶
func (o *ClosePositionParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the close position params
func (*ClosePositionParams) SetClosePositionBody ¶
func (o *ClosePositionParams) SetClosePositionBody(closePositionBody ClosePositionBody)
SetClosePositionBody adds the closePositionBody to the close position params
func (*ClosePositionParams) SetContext ¶
func (o *ClosePositionParams) SetContext(ctx context.Context)
SetContext adds the context to the close position params
func (*ClosePositionParams) SetHTTPClient ¶
func (o *ClosePositionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the close position params
func (*ClosePositionParams) SetInstrument ¶
func (o *ClosePositionParams) SetInstrument(instrument string)
SetInstrument adds the instrument to the close position params
func (*ClosePositionParams) SetTimeout ¶
func (o *ClosePositionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the close position params
func (*ClosePositionParams) WithAcceptDatetimeFormat ¶
func (o *ClosePositionParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *ClosePositionParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the close position params
func (*ClosePositionParams) WithAccountID ¶
func (o *ClosePositionParams) WithAccountID(accountID string) *ClosePositionParams
WithAccountID adds the accountID to the close position params
func (*ClosePositionParams) WithAuthorization ¶
func (o *ClosePositionParams) WithAuthorization(authorization string) *ClosePositionParams
WithAuthorization adds the authorization to the close position params
func (*ClosePositionParams) WithClosePositionBody ¶
func (o *ClosePositionParams) WithClosePositionBody(closePositionBody ClosePositionBody) *ClosePositionParams
WithClosePositionBody adds the closePositionBody to the close position params
func (*ClosePositionParams) WithContext ¶
func (o *ClosePositionParams) WithContext(ctx context.Context) *ClosePositionParams
WithContext adds the context to the close position params
func (*ClosePositionParams) WithHTTPClient ¶
func (o *ClosePositionParams) WithHTTPClient(client *http.Client) *ClosePositionParams
WithHTTPClient adds the HTTPClient to the close position params
func (*ClosePositionParams) WithInstrument ¶
func (o *ClosePositionParams) WithInstrument(instrument string) *ClosePositionParams
WithInstrument adds the instrument to the close position params
func (*ClosePositionParams) WithTimeout ¶
func (o *ClosePositionParams) WithTimeout(timeout time.Duration) *ClosePositionParams
WithTimeout adds the timeout to the close position params
func (*ClosePositionParams) WriteToRequest ¶
func (o *ClosePositionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ClosePositionReader ¶
type ClosePositionReader struct {
// contains filtered or unexported fields
}
ClosePositionReader is a Reader for the ClosePosition structure.
func (*ClosePositionReader) ReadResponse ¶
func (o *ClosePositionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ClosePositionUnauthorized ¶
type ClosePositionUnauthorized struct { string }RequestID
ClosePositionUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewClosePositionUnauthorized ¶
func NewClosePositionUnauthorized() *ClosePositionUnauthorized
NewClosePositionUnauthorized creates a ClosePositionUnauthorized with default headers values
func (*ClosePositionUnauthorized) Error ¶
func (o *ClosePositionUnauthorized) Error() string
type ClosePositionUnauthorizedBody ¶
type ClosePositionUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
ClosePositionUnauthorizedBody close position unauthorized body swagger:model ClosePositionUnauthorizedBody
func (*ClosePositionUnauthorizedBody) MarshalBinary ¶
func (o *ClosePositionUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClosePositionUnauthorizedBody) UnmarshalBinary ¶
func (o *ClosePositionUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloseTradeBadRequest ¶
type CloseTradeBadRequest struct {
Payload *CloseTradeBadRequestBody
}
CloseTradeBadRequest handles this case with default header values.
The Trade cannot be closed as requested.
func NewCloseTradeBadRequest ¶
func NewCloseTradeBadRequest() *CloseTradeBadRequest
NewCloseTradeBadRequest creates a CloseTradeBadRequest with default headers values
func (*CloseTradeBadRequest) Error ¶
func (o *CloseTradeBadRequest) Error() string
type CloseTradeBadRequestBody ¶
type CloseTradeBadRequestBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` // order reject transaction OrderRejectTransaction *models.MarketOrderRejectTransaction `json:"orderRejectTransaction,omitempty"` }
CloseTradeBadRequestBody close trade bad request body swagger:model CloseTradeBadRequestBody
func (*CloseTradeBadRequestBody) MarshalBinary ¶
func (o *CloseTradeBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloseTradeBadRequestBody) UnmarshalBinary ¶
func (o *CloseTradeBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloseTradeBody ¶
type CloseTradeBody struct { // Indication of how much of the Trade to close. Either the string "ALL" (indicating that all of the Trade should be closed), or a DecimalNumber representing the number of units of the open Trade to Close using a TradeClose MarketOrder. The units specified must always be positive, and the magnitude of the value cannot exceed the magnitude of the Trade's open units. Units string `json:"units,omitempty"` }
CloseTradeBody close trade body swagger:model CloseTradeBody
func (*CloseTradeBody) MarshalBinary ¶
func (o *CloseTradeBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloseTradeBody) UnmarshalBinary ¶
func (o *CloseTradeBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloseTradeMethodNotAllowed ¶
type CloseTradeMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *CloseTradeMethodNotAllowedBody }
CloseTradeMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewCloseTradeMethodNotAllowed ¶
func NewCloseTradeMethodNotAllowed() *CloseTradeMethodNotAllowed
NewCloseTradeMethodNotAllowed creates a CloseTradeMethodNotAllowed with default headers values
func (*CloseTradeMethodNotAllowed) Error ¶
func (o *CloseTradeMethodNotAllowed) Error() string
type CloseTradeMethodNotAllowedBody ¶
type CloseTradeMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
CloseTradeMethodNotAllowedBody close trade method not allowed body swagger:model CloseTradeMethodNotAllowedBody
func (*CloseTradeMethodNotAllowedBody) MarshalBinary ¶
func (o *CloseTradeMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloseTradeMethodNotAllowedBody) UnmarshalBinary ¶
func (o *CloseTradeMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloseTradeNotFound ¶
type CloseTradeNotFound struct {
Payload *CloseTradeNotFoundBody
}
CloseTradeNotFound handles this case with default header values.
The Account or Trade specified does not exist.
func NewCloseTradeNotFound ¶
func NewCloseTradeNotFound() *CloseTradeNotFound
NewCloseTradeNotFound creates a CloseTradeNotFound with default headers values
func (*CloseTradeNotFound) Error ¶
func (o *CloseTradeNotFound) Error() string
type CloseTradeNotFoundBody ¶
type CloseTradeNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` // The ID of the most recent Transaction created for the Account. Only present if the Account exists. LastTransactionID string `json:"lastTransactionID,omitempty"` // order reject transaction OrderRejectTransaction *models.MarketOrderRejectTransaction `json:"orderRejectTransaction,omitempty"` // The IDs of all Transactions that were created while satisfying the request. Only present if the Account exists. RelatedTransactionIds []string `json:"relatedTransactionIDs"` }
CloseTradeNotFoundBody close trade not found body swagger:model CloseTradeNotFoundBody
func (*CloseTradeNotFoundBody) MarshalBinary ¶
func (o *CloseTradeNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloseTradeNotFoundBody) UnmarshalBinary ¶
func (o *CloseTradeNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloseTradeOK ¶
type CloseTradeOK struct { /*The unique identifier generated for the request */ RequestID string Payload *CloseTradeOKBody }
CloseTradeOK handles this case with default header values.
The Trade has been closed as requested
func NewCloseTradeOK ¶
func NewCloseTradeOK() *CloseTradeOK
NewCloseTradeOK creates a CloseTradeOK with default headers values
func (*CloseTradeOK) Error ¶
func (o *CloseTradeOK) Error() string
type CloseTradeOKBody ¶
type CloseTradeOKBody struct { // The ID of the most recent Transaction created for the Account LastTransactionID string `json:"lastTransactionID,omitempty"` // order cancel transaction OrderCancelTransaction *models.OrderCancelTransaction `json:"orderCancelTransaction,omitempty"` // order create transaction OrderCreateTransaction *models.MarketOrderTransaction `json:"orderCreateTransaction,omitempty"` // order fill transaction OrderFillTransaction *models.OrderFillTransaction `json:"orderFillTransaction,omitempty"` // The IDs of all Transactions that were created while satisfying the request. RelatedTransactionIds []string `json:"relatedTransactionIDs"` }
CloseTradeOKBody close trade o k body swagger:model CloseTradeOKBody
func (*CloseTradeOKBody) MarshalBinary ¶
func (o *CloseTradeOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloseTradeOKBody) UnmarshalBinary ¶
func (o *CloseTradeOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloseTradeParams ¶
type CloseTradeParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*AccountID Account Identifier */ AccountID string /*CloseTradeBody Details of how much of the open Trade to close. */ CloseTradeBody CloseTradeBody /*TradeSpecifier Specifier for the Trade */ TradeSpecifier string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CloseTradeParams contains all the parameters to send to the API endpoint for the close trade operation typically these are written to a http.Request
func NewCloseTradeParams ¶
func NewCloseTradeParams() *CloseTradeParams
NewCloseTradeParams creates a new CloseTradeParams object with the default values initialized.
func NewCloseTradeParamsWithContext ¶
func NewCloseTradeParamsWithContext(ctx context.Context) *CloseTradeParams
NewCloseTradeParamsWithContext creates a new CloseTradeParams object with the default values initialized, and the ability to set a context for a request
func NewCloseTradeParamsWithHTTPClient ¶
func NewCloseTradeParamsWithHTTPClient(client *http.Client) *CloseTradeParams
NewCloseTradeParamsWithHTTPClient creates a new CloseTradeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCloseTradeParamsWithTimeout ¶
func NewCloseTradeParamsWithTimeout(timeout time.Duration) *CloseTradeParams
NewCloseTradeParamsWithTimeout creates a new CloseTradeParams object with the default values initialized, and the ability to set a timeout on a request
func (*CloseTradeParams) SetAcceptDatetimeFormat ¶
func (o *CloseTradeParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the close trade params
func (*CloseTradeParams) SetAccountID ¶
func (o *CloseTradeParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the close trade params
func (*CloseTradeParams) SetAuthorization ¶
func (o *CloseTradeParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the close trade params
func (*CloseTradeParams) SetCloseTradeBody ¶
func (o *CloseTradeParams) SetCloseTradeBody(closeTradeBody CloseTradeBody)
SetCloseTradeBody adds the closeTradeBody to the close trade params
func (*CloseTradeParams) SetContext ¶
func (o *CloseTradeParams) SetContext(ctx context.Context)
SetContext adds the context to the close trade params
func (*CloseTradeParams) SetHTTPClient ¶
func (o *CloseTradeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the close trade params
func (*CloseTradeParams) SetTimeout ¶
func (o *CloseTradeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the close trade params
func (*CloseTradeParams) SetTradeSpecifier ¶
func (o *CloseTradeParams) SetTradeSpecifier(tradeSpecifier string)
SetTradeSpecifier adds the tradeSpecifier to the close trade params
func (*CloseTradeParams) WithAcceptDatetimeFormat ¶
func (o *CloseTradeParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *CloseTradeParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the close trade params
func (*CloseTradeParams) WithAccountID ¶
func (o *CloseTradeParams) WithAccountID(accountID string) *CloseTradeParams
WithAccountID adds the accountID to the close trade params
func (*CloseTradeParams) WithAuthorization ¶
func (o *CloseTradeParams) WithAuthorization(authorization string) *CloseTradeParams
WithAuthorization adds the authorization to the close trade params
func (*CloseTradeParams) WithCloseTradeBody ¶
func (o *CloseTradeParams) WithCloseTradeBody(closeTradeBody CloseTradeBody) *CloseTradeParams
WithCloseTradeBody adds the closeTradeBody to the close trade params
func (*CloseTradeParams) WithContext ¶
func (o *CloseTradeParams) WithContext(ctx context.Context) *CloseTradeParams
WithContext adds the context to the close trade params
func (*CloseTradeParams) WithHTTPClient ¶
func (o *CloseTradeParams) WithHTTPClient(client *http.Client) *CloseTradeParams
WithHTTPClient adds the HTTPClient to the close trade params
func (*CloseTradeParams) WithTimeout ¶
func (o *CloseTradeParams) WithTimeout(timeout time.Duration) *CloseTradeParams
WithTimeout adds the timeout to the close trade params
func (*CloseTradeParams) WithTradeSpecifier ¶
func (o *CloseTradeParams) WithTradeSpecifier(tradeSpecifier string) *CloseTradeParams
WithTradeSpecifier adds the tradeSpecifier to the close trade params
func (*CloseTradeParams) WriteToRequest ¶
func (o *CloseTradeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CloseTradeReader ¶
type CloseTradeReader struct {
// contains filtered or unexported fields
}
CloseTradeReader is a Reader for the CloseTrade structure.
func (*CloseTradeReader) ReadResponse ¶
func (o *CloseTradeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CloseTradeUnauthorized ¶
type CloseTradeUnauthorized struct { string }RequestID
CloseTradeUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewCloseTradeUnauthorized ¶
func NewCloseTradeUnauthorized() *CloseTradeUnauthorized
NewCloseTradeUnauthorized creates a CloseTradeUnauthorized with default headers values
func (*CloseTradeUnauthorized) Error ¶
func (o *CloseTradeUnauthorized) Error() string
type CloseTradeUnauthorizedBody ¶
type CloseTradeUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
CloseTradeUnauthorizedBody close trade unauthorized body swagger:model CloseTradeUnauthorizedBody
func (*CloseTradeUnauthorizedBody) MarshalBinary ¶
func (o *CloseTradeUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloseTradeUnauthorizedBody) UnmarshalBinary ¶
func (o *CloseTradeUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigureAccountBadRequest ¶
type ConfigureAccountBadRequest struct {
Payload *ConfigureAccountBadRequestBody
}
ConfigureAccountBadRequest handles this case with default header values.
The configuration specification was invalid.
func NewConfigureAccountBadRequest ¶
func NewConfigureAccountBadRequest() *ConfigureAccountBadRequest
NewConfigureAccountBadRequest creates a ConfigureAccountBadRequest with default headers values
func (*ConfigureAccountBadRequest) Error ¶
func (o *ConfigureAccountBadRequest) Error() string
type ConfigureAccountBadRequestBody ¶
type ConfigureAccountBadRequestBody struct { // client configure reject transaction ClientConfigureRejectTransaction *models.ClientConfigureRejectTransaction `json:"clientConfigureRejectTransaction,omitempty"` // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` // The ID of the last Transaction created for the Account. LastTransactionID string `json:"lastTransactionID,omitempty"` }
ConfigureAccountBadRequestBody configure account bad request body swagger:model ConfigureAccountBadRequestBody
func (*ConfigureAccountBadRequestBody) MarshalBinary ¶
func (o *ConfigureAccountBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigureAccountBadRequestBody) UnmarshalBinary ¶
func (o *ConfigureAccountBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigureAccountBody ¶
type ConfigureAccountBody struct { // Client-defined alias (name) for the Account Alias string `json:"alias,omitempty"` // The string representation of a decimal number. MarginRate string `json:"marginRate,omitempty"` }
ConfigureAccountBody configure account body swagger:model ConfigureAccountBody
func (*ConfigureAccountBody) MarshalBinary ¶
func (o *ConfigureAccountBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigureAccountBody) UnmarshalBinary ¶
func (o *ConfigureAccountBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigureAccountForbidden ¶
type ConfigureAccountForbidden struct {
Payload *ConfigureAccountForbiddenBody
}
ConfigureAccountForbidden handles this case with default header values.
The configuration operation was forbidden on the Account.
func NewConfigureAccountForbidden ¶
func NewConfigureAccountForbidden() *ConfigureAccountForbidden
NewConfigureAccountForbidden creates a ConfigureAccountForbidden with default headers values
func (*ConfigureAccountForbidden) Error ¶
func (o *ConfigureAccountForbidden) Error() string
type ConfigureAccountForbiddenBody ¶
type ConfigureAccountForbiddenBody struct { // client configure reject transaction ClientConfigureRejectTransaction *models.ClientConfigureRejectTransaction `json:"clientConfigureRejectTransaction,omitempty"` // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` // The ID of the last Transaction created for the Account. LastTransactionID string `json:"lastTransactionID,omitempty"` }
ConfigureAccountForbiddenBody configure account forbidden body swagger:model ConfigureAccountForbiddenBody
func (*ConfigureAccountForbiddenBody) MarshalBinary ¶
func (o *ConfigureAccountForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigureAccountForbiddenBody) UnmarshalBinary ¶
func (o *ConfigureAccountForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigureAccountMethodNotAllowed ¶
type ConfigureAccountMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *ConfigureAccountMethodNotAllowedBody }
ConfigureAccountMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewConfigureAccountMethodNotAllowed ¶
func NewConfigureAccountMethodNotAllowed() *ConfigureAccountMethodNotAllowed
NewConfigureAccountMethodNotAllowed creates a ConfigureAccountMethodNotAllowed with default headers values
func (*ConfigureAccountMethodNotAllowed) Error ¶
func (o *ConfigureAccountMethodNotAllowed) Error() string
type ConfigureAccountMethodNotAllowedBody ¶
type ConfigureAccountMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
ConfigureAccountMethodNotAllowedBody configure account method not allowed body swagger:model ConfigureAccountMethodNotAllowedBody
func (*ConfigureAccountMethodNotAllowedBody) MarshalBinary ¶
func (o *ConfigureAccountMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigureAccountMethodNotAllowedBody) UnmarshalBinary ¶
func (o *ConfigureAccountMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigureAccountNotFound ¶
type ConfigureAccountNotFound struct { /*The unique identifier generated for the request */ RequestID string Payload *ConfigureAccountNotFoundBody }
ConfigureAccountNotFound handles this case with default header values.
Not Found. The client has attempted to access an entity that does not exist.
func NewConfigureAccountNotFound ¶
func NewConfigureAccountNotFound() *ConfigureAccountNotFound
NewConfigureAccountNotFound creates a ConfigureAccountNotFound with default headers values
func (*ConfigureAccountNotFound) Error ¶
func (o *ConfigureAccountNotFound) Error() string
type ConfigureAccountNotFoundBody ¶
type ConfigureAccountNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
ConfigureAccountNotFoundBody configure account not found body swagger:model ConfigureAccountNotFoundBody
func (*ConfigureAccountNotFoundBody) MarshalBinary ¶
func (o *ConfigureAccountNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigureAccountNotFoundBody) UnmarshalBinary ¶
func (o *ConfigureAccountNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigureAccountOK ¶
type ConfigureAccountOK struct { /*The unique identifier generated for the request */ RequestID string Payload *ConfigureAccountOKBody }
ConfigureAccountOK handles this case with default header values.
The Account was configured successfully.
func NewConfigureAccountOK ¶
func NewConfigureAccountOK() *ConfigureAccountOK
NewConfigureAccountOK creates a ConfigureAccountOK with default headers values
func (*ConfigureAccountOK) Error ¶
func (o *ConfigureAccountOK) Error() string
type ConfigureAccountOKBody ¶
type ConfigureAccountOKBody struct { // client configure transaction ClientConfigureTransaction *models.ClientConfigureTransaction `json:"clientConfigureTransaction,omitempty"` // The ID of the last Transaction created for the Account. LastTransactionID string `json:"lastTransactionID,omitempty"` }
ConfigureAccountOKBody configure account o k body swagger:model ConfigureAccountOKBody
func (*ConfigureAccountOKBody) MarshalBinary ¶
func (o *ConfigureAccountOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigureAccountOKBody) UnmarshalBinary ¶
func (o *ConfigureAccountOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigureAccountParams ¶
type ConfigureAccountParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*AccountID Account Identifier */ AccountID string /*ConfigureAccountBody Representation of the Account configuration to set */ ConfigureAccountBody ConfigureAccountBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ConfigureAccountParams contains all the parameters to send to the API endpoint for the configure account operation typically these are written to a http.Request
func NewConfigureAccountParams ¶
func NewConfigureAccountParams() *ConfigureAccountParams
NewConfigureAccountParams creates a new ConfigureAccountParams object with the default values initialized.
func NewConfigureAccountParamsWithContext ¶
func NewConfigureAccountParamsWithContext(ctx context.Context) *ConfigureAccountParams
NewConfigureAccountParamsWithContext creates a new ConfigureAccountParams object with the default values initialized, and the ability to set a context for a request
func NewConfigureAccountParamsWithHTTPClient ¶
func NewConfigureAccountParamsWithHTTPClient(client *http.Client) *ConfigureAccountParams
NewConfigureAccountParamsWithHTTPClient creates a new ConfigureAccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewConfigureAccountParamsWithTimeout ¶
func NewConfigureAccountParamsWithTimeout(timeout time.Duration) *ConfigureAccountParams
NewConfigureAccountParamsWithTimeout creates a new ConfigureAccountParams object with the default values initialized, and the ability to set a timeout on a request
func (*ConfigureAccountParams) SetAcceptDatetimeFormat ¶
func (o *ConfigureAccountParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the configure account params
func (*ConfigureAccountParams) SetAccountID ¶
func (o *ConfigureAccountParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the configure account params
func (*ConfigureAccountParams) SetAuthorization ¶
func (o *ConfigureAccountParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the configure account params
func (*ConfigureAccountParams) SetConfigureAccountBody ¶
func (o *ConfigureAccountParams) SetConfigureAccountBody(configureAccountBody ConfigureAccountBody)
SetConfigureAccountBody adds the configureAccountBody to the configure account params
func (*ConfigureAccountParams) SetContext ¶
func (o *ConfigureAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the configure account params
func (*ConfigureAccountParams) SetHTTPClient ¶
func (o *ConfigureAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the configure account params
func (*ConfigureAccountParams) SetTimeout ¶
func (o *ConfigureAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the configure account params
func (*ConfigureAccountParams) WithAcceptDatetimeFormat ¶
func (o *ConfigureAccountParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *ConfigureAccountParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the configure account params
func (*ConfigureAccountParams) WithAccountID ¶
func (o *ConfigureAccountParams) WithAccountID(accountID string) *ConfigureAccountParams
WithAccountID adds the accountID to the configure account params
func (*ConfigureAccountParams) WithAuthorization ¶
func (o *ConfigureAccountParams) WithAuthorization(authorization string) *ConfigureAccountParams
WithAuthorization adds the authorization to the configure account params
func (*ConfigureAccountParams) WithConfigureAccountBody ¶
func (o *ConfigureAccountParams) WithConfigureAccountBody(configureAccountBody ConfigureAccountBody) *ConfigureAccountParams
WithConfigureAccountBody adds the configureAccountBody to the configure account params
func (*ConfigureAccountParams) WithContext ¶
func (o *ConfigureAccountParams) WithContext(ctx context.Context) *ConfigureAccountParams
WithContext adds the context to the configure account params
func (*ConfigureAccountParams) WithHTTPClient ¶
func (o *ConfigureAccountParams) WithHTTPClient(client *http.Client) *ConfigureAccountParams
WithHTTPClient adds the HTTPClient to the configure account params
func (*ConfigureAccountParams) WithTimeout ¶
func (o *ConfigureAccountParams) WithTimeout(timeout time.Duration) *ConfigureAccountParams
WithTimeout adds the timeout to the configure account params
func (*ConfigureAccountParams) WriteToRequest ¶
func (o *ConfigureAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ConfigureAccountReader ¶
type ConfigureAccountReader struct {
// contains filtered or unexported fields
}
ConfigureAccountReader is a Reader for the ConfigureAccount structure.
func (*ConfigureAccountReader) ReadResponse ¶
func (o *ConfigureAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ConfigureAccountUnauthorized ¶
type ConfigureAccountUnauthorized struct { string }RequestID
ConfigureAccountUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewConfigureAccountUnauthorized ¶
func NewConfigureAccountUnauthorized() *ConfigureAccountUnauthorized
NewConfigureAccountUnauthorized creates a ConfigureAccountUnauthorized with default headers values
func (*ConfigureAccountUnauthorized) Error ¶
func (o *ConfigureAccountUnauthorized) Error() string
type ConfigureAccountUnauthorizedBody ¶
type ConfigureAccountUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
ConfigureAccountUnauthorizedBody configure account unauthorized body swagger:model ConfigureAccountUnauthorizedBody
func (*ConfigureAccountUnauthorizedBody) MarshalBinary ¶
func (o *ConfigureAccountUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigureAccountUnauthorizedBody) UnmarshalBinary ¶
func (o *ConfigureAccountUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateOrderBadRequest ¶
type CreateOrderBadRequest struct {
Payload *CreateOrderBadRequestBody
}
CreateOrderBadRequest handles this case with default header values.
The Order specification was invalid
func NewCreateOrderBadRequest ¶
func NewCreateOrderBadRequest() *CreateOrderBadRequest
NewCreateOrderBadRequest creates a CreateOrderBadRequest with default headers values
func (*CreateOrderBadRequest) Error ¶
func (o *CreateOrderBadRequest) Error() string
type CreateOrderBadRequestBody ¶
type CreateOrderBadRequestBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` // The ID of the most recent Transaction created for the Account LastTransactionID string `json:"lastTransactionID,omitempty"` // order reject transaction OrderRejectTransaction *models.Transaction `json:"orderRejectTransaction,omitempty"` // The IDs of all Transactions that were created while satisfying the request. RelatedTransactionIds []string `json:"relatedTransactionIDs"` }
CreateOrderBadRequestBody create order bad request body swagger:model CreateOrderBadRequestBody
func (*CreateOrderBadRequestBody) MarshalBinary ¶
func (o *CreateOrderBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateOrderBadRequestBody) UnmarshalBinary ¶
func (o *CreateOrderBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateOrderBody ¶
type CreateOrderBody struct { // order Order models.OrderRequest `json:"order,omitempty"` }
CreateOrderBody create order body swagger:model CreateOrderBody
func (*CreateOrderBody) MarshalBinary ¶
func (o *CreateOrderBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateOrderBody) UnmarshalBinary ¶
func (o *CreateOrderBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateOrderCreated ¶
type CreateOrderCreated struct { /*A link to the Order that was just created */ Location string /*The unique identifier generated for the request */ RequestID string Payload *CreateOrderCreatedBody }
CreateOrderCreated handles this case with default header values.
The Order was created as specified
func NewCreateOrderCreated ¶
func NewCreateOrderCreated() *CreateOrderCreated
NewCreateOrderCreated creates a CreateOrderCreated with default headers values
func (*CreateOrderCreated) Error ¶
func (o *CreateOrderCreated) Error() string
type CreateOrderCreatedBody ¶
type CreateOrderCreatedBody struct { // The ID of the most recent Transaction created for the Account LastTransactionID string `json:"lastTransactionID,omitempty"` // order cancel transaction OrderCancelTransaction *models.OrderCancelTransaction `json:"orderCancelTransaction,omitempty"` // order create transaction OrderCreateTransaction *models.Transaction `json:"orderCreateTransaction,omitempty"` // order fill transaction OrderFillTransaction *models.OrderFillTransaction `json:"orderFillTransaction,omitempty"` // order reissue reject transaction OrderReissueRejectTransaction *models.Transaction `json:"orderReissueRejectTransaction,omitempty"` // order reissue transaction OrderReissueTransaction *models.Transaction `json:"orderReissueTransaction,omitempty"` // The IDs of all Transactions that were created while satisfying the request. RelatedTransactionIds []string `json:"relatedTransactionIDs"` }
CreateOrderCreatedBody create order created body swagger:model CreateOrderCreatedBody
func (*CreateOrderCreatedBody) MarshalBinary ¶
func (o *CreateOrderCreatedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateOrderCreatedBody) UnmarshalBinary ¶
func (o *CreateOrderCreatedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateOrderForbidden ¶
type CreateOrderForbidden struct { /*The unique identifier generated for the request */ RequestID string Payload *CreateOrderForbiddenBody }
CreateOrderForbidden handles this case with default header values.
Forbidden. The client has provided a token that does not authorize them to perform the action implemented by the API endpoint.
func NewCreateOrderForbidden ¶
func NewCreateOrderForbidden() *CreateOrderForbidden
NewCreateOrderForbidden creates a CreateOrderForbidden with default headers values
func (*CreateOrderForbidden) Error ¶
func (o *CreateOrderForbidden) Error() string
type CreateOrderForbiddenBody ¶
type CreateOrderForbiddenBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
CreateOrderForbiddenBody create order forbidden body swagger:model CreateOrderForbiddenBody
func (*CreateOrderForbiddenBody) MarshalBinary ¶
func (o *CreateOrderForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateOrderForbiddenBody) UnmarshalBinary ¶
func (o *CreateOrderForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateOrderMethodNotAllowed ¶
type CreateOrderMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *CreateOrderMethodNotAllowedBody }
CreateOrderMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewCreateOrderMethodNotAllowed ¶
func NewCreateOrderMethodNotAllowed() *CreateOrderMethodNotAllowed
NewCreateOrderMethodNotAllowed creates a CreateOrderMethodNotAllowed with default headers values
func (*CreateOrderMethodNotAllowed) Error ¶
func (o *CreateOrderMethodNotAllowed) Error() string
type CreateOrderMethodNotAllowedBody ¶
type CreateOrderMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
CreateOrderMethodNotAllowedBody create order method not allowed body swagger:model CreateOrderMethodNotAllowedBody
func (*CreateOrderMethodNotAllowedBody) MarshalBinary ¶
func (o *CreateOrderMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateOrderMethodNotAllowedBody) UnmarshalBinary ¶
func (o *CreateOrderMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateOrderNotFound ¶
type CreateOrderNotFound struct {
Payload *CreateOrderNotFoundBody
}
CreateOrderNotFound handles this case with default header values.
The Order or Account specified does not exist.
func NewCreateOrderNotFound ¶
func NewCreateOrderNotFound() *CreateOrderNotFound
NewCreateOrderNotFound creates a CreateOrderNotFound with default headers values
func (*CreateOrderNotFound) Error ¶
func (o *CreateOrderNotFound) Error() string
type CreateOrderNotFoundBody ¶
type CreateOrderNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` // The ID of the most recent Transaction created for the Account. Only present if the Account exists. LastTransactionID string `json:"lastTransactionID,omitempty"` // order reject transaction OrderRejectTransaction *models.Transaction `json:"orderRejectTransaction,omitempty"` // The IDs of all Transactions that were created while satisfying the request. Only present if the Account exists. RelatedTransactionIds []string `json:"relatedTransactionIDs"` }
CreateOrderNotFoundBody create order not found body swagger:model CreateOrderNotFoundBody
func (*CreateOrderNotFoundBody) MarshalBinary ¶
func (o *CreateOrderNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateOrderNotFoundBody) UnmarshalBinary ¶
func (o *CreateOrderNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateOrderParams ¶
type CreateOrderParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*AccountID Account Identifier */ AccountID string /*CreateOrderBody*/ CreateOrderBody CreateOrderBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateOrderParams contains all the parameters to send to the API endpoint for the create order operation typically these are written to a http.Request
func NewCreateOrderParams ¶
func NewCreateOrderParams() *CreateOrderParams
NewCreateOrderParams creates a new CreateOrderParams object with the default values initialized.
func NewCreateOrderParamsWithContext ¶
func NewCreateOrderParamsWithContext(ctx context.Context) *CreateOrderParams
NewCreateOrderParamsWithContext creates a new CreateOrderParams object with the default values initialized, and the ability to set a context for a request
func NewCreateOrderParamsWithHTTPClient ¶
func NewCreateOrderParamsWithHTTPClient(client *http.Client) *CreateOrderParams
NewCreateOrderParamsWithHTTPClient creates a new CreateOrderParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateOrderParamsWithTimeout ¶
func NewCreateOrderParamsWithTimeout(timeout time.Duration) *CreateOrderParams
NewCreateOrderParamsWithTimeout creates a new CreateOrderParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateOrderParams) SetAcceptDatetimeFormat ¶
func (o *CreateOrderParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the create order params
func (*CreateOrderParams) SetAccountID ¶
func (o *CreateOrderParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the create order params
func (*CreateOrderParams) SetAuthorization ¶
func (o *CreateOrderParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the create order params
func (*CreateOrderParams) SetContext ¶
func (o *CreateOrderParams) SetContext(ctx context.Context)
SetContext adds the context to the create order params
func (*CreateOrderParams) SetCreateOrderBody ¶
func (o *CreateOrderParams) SetCreateOrderBody(createOrderBody CreateOrderBody)
SetCreateOrderBody adds the createOrderBody to the create order params
func (*CreateOrderParams) SetHTTPClient ¶
func (o *CreateOrderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create order params
func (*CreateOrderParams) SetTimeout ¶
func (o *CreateOrderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create order params
func (*CreateOrderParams) WithAcceptDatetimeFormat ¶
func (o *CreateOrderParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *CreateOrderParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the create order params
func (*CreateOrderParams) WithAccountID ¶
func (o *CreateOrderParams) WithAccountID(accountID string) *CreateOrderParams
WithAccountID adds the accountID to the create order params
func (*CreateOrderParams) WithAuthorization ¶
func (o *CreateOrderParams) WithAuthorization(authorization string) *CreateOrderParams
WithAuthorization adds the authorization to the create order params
func (*CreateOrderParams) WithContext ¶
func (o *CreateOrderParams) WithContext(ctx context.Context) *CreateOrderParams
WithContext adds the context to the create order params
func (*CreateOrderParams) WithCreateOrderBody ¶
func (o *CreateOrderParams) WithCreateOrderBody(createOrderBody CreateOrderBody) *CreateOrderParams
WithCreateOrderBody adds the createOrderBody to the create order params
func (*CreateOrderParams) WithHTTPClient ¶
func (o *CreateOrderParams) WithHTTPClient(client *http.Client) *CreateOrderParams
WithHTTPClient adds the HTTPClient to the create order params
func (*CreateOrderParams) WithTimeout ¶
func (o *CreateOrderParams) WithTimeout(timeout time.Duration) *CreateOrderParams
WithTimeout adds the timeout to the create order params
func (*CreateOrderParams) WriteToRequest ¶
func (o *CreateOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateOrderReader ¶
type CreateOrderReader struct {
// contains filtered or unexported fields
}
CreateOrderReader is a Reader for the CreateOrder structure.
func (*CreateOrderReader) ReadResponse ¶
func (o *CreateOrderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateOrderUnauthorized ¶
type CreateOrderUnauthorized struct { string }RequestID
CreateOrderUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewCreateOrderUnauthorized ¶
func NewCreateOrderUnauthorized() *CreateOrderUnauthorized
NewCreateOrderUnauthorized creates a CreateOrderUnauthorized with default headers values
func (*CreateOrderUnauthorized) Error ¶
func (o *CreateOrderUnauthorized) Error() string
type CreateOrderUnauthorizedBody ¶
type CreateOrderUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
CreateOrderUnauthorizedBody create order unauthorized body swagger:model CreateOrderUnauthorizedBody
func (*CreateOrderUnauthorizedBody) MarshalBinary ¶
func (o *CreateOrderUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateOrderUnauthorizedBody) UnmarshalBinary ¶
func (o *CreateOrderUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAccountBadRequest ¶
type GetAccountBadRequest struct { /*The unique identifier generated for the request */ RequestID string Payload *GetAccountBadRequestBody }
GetAccountBadRequest handles this case with default header values.
Bad Request. The client has provided invalid data to be processed by the server.
func NewGetAccountBadRequest ¶
func NewGetAccountBadRequest() *GetAccountBadRequest
NewGetAccountBadRequest creates a GetAccountBadRequest with default headers values
func (*GetAccountBadRequest) Error ¶
func (o *GetAccountBadRequest) Error() string
type GetAccountBadRequestBody ¶
type GetAccountBadRequestBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetAccountBadRequestBody get account bad request body swagger:model GetAccountBadRequestBody
func (*GetAccountBadRequestBody) MarshalBinary ¶
func (o *GetAccountBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAccountBadRequestBody) UnmarshalBinary ¶
func (o *GetAccountBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAccountChangesMethodNotAllowed ¶
type GetAccountChangesMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *GetAccountChangesMethodNotAllowedBody }
GetAccountChangesMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewGetAccountChangesMethodNotAllowed ¶
func NewGetAccountChangesMethodNotAllowed() *GetAccountChangesMethodNotAllowed
NewGetAccountChangesMethodNotAllowed creates a GetAccountChangesMethodNotAllowed with default headers values
func (*GetAccountChangesMethodNotAllowed) Error ¶
func (o *GetAccountChangesMethodNotAllowed) Error() string
type GetAccountChangesMethodNotAllowedBody ¶
type GetAccountChangesMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetAccountChangesMethodNotAllowedBody get account changes method not allowed body swagger:model GetAccountChangesMethodNotAllowedBody
func (*GetAccountChangesMethodNotAllowedBody) MarshalBinary ¶
func (o *GetAccountChangesMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAccountChangesMethodNotAllowedBody) UnmarshalBinary ¶
func (o *GetAccountChangesMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAccountChangesNotFound ¶
type GetAccountChangesNotFound struct { /*The unique identifier generated for the request */ RequestID string Payload *GetAccountChangesNotFoundBody }
GetAccountChangesNotFound handles this case with default header values.
Not Found. The client has attempted to access an entity that does not exist.
func NewGetAccountChangesNotFound ¶
func NewGetAccountChangesNotFound() *GetAccountChangesNotFound
NewGetAccountChangesNotFound creates a GetAccountChangesNotFound with default headers values
func (*GetAccountChangesNotFound) Error ¶
func (o *GetAccountChangesNotFound) Error() string
type GetAccountChangesNotFoundBody ¶
type GetAccountChangesNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetAccountChangesNotFoundBody get account changes not found body swagger:model GetAccountChangesNotFoundBody
func (*GetAccountChangesNotFoundBody) MarshalBinary ¶
func (o *GetAccountChangesNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAccountChangesNotFoundBody) UnmarshalBinary ¶
func (o *GetAccountChangesNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAccountChangesOK ¶
type GetAccountChangesOK struct { /*The unique identifier generated for the request */ RequestID string Payload *GetAccountChangesOKBody }
GetAccountChangesOK handles this case with default header values.
The Account state and changes are provided.
func NewGetAccountChangesOK ¶
func NewGetAccountChangesOK() *GetAccountChangesOK
NewGetAccountChangesOK creates a GetAccountChangesOK with default headers values
func (*GetAccountChangesOK) Error ¶
func (o *GetAccountChangesOK) Error() string
type GetAccountChangesOKBody ¶
type GetAccountChangesOKBody struct { // changes Changes *models.AccountChanges `json:"changes,omitempty"` // The ID of the last Transaction created for the Account. This Transaction ID should be used for future poll requests, as the client has already observed all changes up to and including it. LastTransactionID string `json:"lastTransactionID,omitempty"` // state State *models.AccountChangesState `json:"state,omitempty"` }
GetAccountChangesOKBody get account changes o k body swagger:model GetAccountChangesOKBody
func (*GetAccountChangesOKBody) MarshalBinary ¶
func (o *GetAccountChangesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAccountChangesOKBody) UnmarshalBinary ¶
func (o *GetAccountChangesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAccountChangesParams ¶
type GetAccountChangesParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*AccountID Account Identifier */ AccountID string /*SinceTransactionID ID of the Transaction to get Account changes since. */ SinceTransactionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAccountChangesParams contains all the parameters to send to the API endpoint for the get account changes operation typically these are written to a http.Request
func NewGetAccountChangesParams ¶
func NewGetAccountChangesParams() *GetAccountChangesParams
NewGetAccountChangesParams creates a new GetAccountChangesParams object with the default values initialized.
func NewGetAccountChangesParamsWithContext ¶
func NewGetAccountChangesParamsWithContext(ctx context.Context) *GetAccountChangesParams
NewGetAccountChangesParamsWithContext creates a new GetAccountChangesParams object with the default values initialized, and the ability to set a context for a request
func NewGetAccountChangesParamsWithHTTPClient ¶
func NewGetAccountChangesParamsWithHTTPClient(client *http.Client) *GetAccountChangesParams
NewGetAccountChangesParamsWithHTTPClient creates a new GetAccountChangesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAccountChangesParamsWithTimeout ¶
func NewGetAccountChangesParamsWithTimeout(timeout time.Duration) *GetAccountChangesParams
NewGetAccountChangesParamsWithTimeout creates a new GetAccountChangesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAccountChangesParams) SetAcceptDatetimeFormat ¶
func (o *GetAccountChangesParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the get account changes params
func (*GetAccountChangesParams) SetAccountID ¶
func (o *GetAccountChangesParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the get account changes params
func (*GetAccountChangesParams) SetAuthorization ¶
func (o *GetAccountChangesParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get account changes params
func (*GetAccountChangesParams) SetContext ¶
func (o *GetAccountChangesParams) SetContext(ctx context.Context)
SetContext adds the context to the get account changes params
func (*GetAccountChangesParams) SetHTTPClient ¶
func (o *GetAccountChangesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get account changes params
func (*GetAccountChangesParams) SetSinceTransactionID ¶
func (o *GetAccountChangesParams) SetSinceTransactionID(sinceTransactionID *string)
SetSinceTransactionID adds the sinceTransactionId to the get account changes params
func (*GetAccountChangesParams) SetTimeout ¶
func (o *GetAccountChangesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get account changes params
func (*GetAccountChangesParams) WithAcceptDatetimeFormat ¶
func (o *GetAccountChangesParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetAccountChangesParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the get account changes params
func (*GetAccountChangesParams) WithAccountID ¶
func (o *GetAccountChangesParams) WithAccountID(accountID string) *GetAccountChangesParams
WithAccountID adds the accountID to the get account changes params
func (*GetAccountChangesParams) WithAuthorization ¶
func (o *GetAccountChangesParams) WithAuthorization(authorization string) *GetAccountChangesParams
WithAuthorization adds the authorization to the get account changes params
func (*GetAccountChangesParams) WithContext ¶
func (o *GetAccountChangesParams) WithContext(ctx context.Context) *GetAccountChangesParams
WithContext adds the context to the get account changes params
func (*GetAccountChangesParams) WithHTTPClient ¶
func (o *GetAccountChangesParams) WithHTTPClient(client *http.Client) *GetAccountChangesParams
WithHTTPClient adds the HTTPClient to the get account changes params
func (*GetAccountChangesParams) WithSinceTransactionID ¶
func (o *GetAccountChangesParams) WithSinceTransactionID(sinceTransactionID *string) *GetAccountChangesParams
WithSinceTransactionID adds the sinceTransactionID to the get account changes params
func (*GetAccountChangesParams) WithTimeout ¶
func (o *GetAccountChangesParams) WithTimeout(timeout time.Duration) *GetAccountChangesParams
WithTimeout adds the timeout to the get account changes params
func (*GetAccountChangesParams) WriteToRequest ¶
func (o *GetAccountChangesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAccountChangesReader ¶
type GetAccountChangesReader struct {
// contains filtered or unexported fields
}
GetAccountChangesReader is a Reader for the GetAccountChanges structure.
func (*GetAccountChangesReader) ReadResponse ¶
func (o *GetAccountChangesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAccountChangesRequestRangeNotSatisfiable ¶
type GetAccountChangesRequestRangeNotSatisfiable struct { /*The unique identifier generated for the request */ RequestID string Payload *GetAccountChangesRequestRangeNotSatisfiableBody }
GetAccountChangesRequestRangeNotSatisfiable handles this case with default header values.
Range Not Satisfiable. The client has specified a range that is invalid or cannot be processed.
func NewGetAccountChangesRequestRangeNotSatisfiable ¶
func NewGetAccountChangesRequestRangeNotSatisfiable() *GetAccountChangesRequestRangeNotSatisfiable
NewGetAccountChangesRequestRangeNotSatisfiable creates a GetAccountChangesRequestRangeNotSatisfiable with default headers values
func (*GetAccountChangesRequestRangeNotSatisfiable) Error ¶
func (o *GetAccountChangesRequestRangeNotSatisfiable) Error() string
type GetAccountChangesRequestRangeNotSatisfiableBody ¶
type GetAccountChangesRequestRangeNotSatisfiableBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetAccountChangesRequestRangeNotSatisfiableBody get account changes request range not satisfiable body swagger:model GetAccountChangesRequestRangeNotSatisfiableBody
func (*GetAccountChangesRequestRangeNotSatisfiableBody) MarshalBinary ¶
func (o *GetAccountChangesRequestRangeNotSatisfiableBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAccountChangesRequestRangeNotSatisfiableBody) UnmarshalBinary ¶
func (o *GetAccountChangesRequestRangeNotSatisfiableBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAccountChangesUnauthorized ¶
type GetAccountChangesUnauthorized struct { string }RequestID
GetAccountChangesUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewGetAccountChangesUnauthorized ¶
func NewGetAccountChangesUnauthorized() *GetAccountChangesUnauthorized
NewGetAccountChangesUnauthorized creates a GetAccountChangesUnauthorized with default headers values
func (*GetAccountChangesUnauthorized) Error ¶
func (o *GetAccountChangesUnauthorized) Error() string
type GetAccountChangesUnauthorizedBody ¶
type GetAccountChangesUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
GetAccountChangesUnauthorizedBody get account changes unauthorized body swagger:model GetAccountChangesUnauthorizedBody
func (*GetAccountChangesUnauthorizedBody) MarshalBinary ¶
func (o *GetAccountChangesUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAccountChangesUnauthorizedBody) UnmarshalBinary ¶
func (o *GetAccountChangesUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAccountInstrumentsBadRequest ¶
type GetAccountInstrumentsBadRequest struct { /*The unique identifier generated for the request */ RequestID string Payload *GetAccountInstrumentsBadRequestBody }
GetAccountInstrumentsBadRequest handles this case with default header values.
Bad Request. The client has provided invalid data to be processed by the server.
func NewGetAccountInstrumentsBadRequest ¶
func NewGetAccountInstrumentsBadRequest() *GetAccountInstrumentsBadRequest
NewGetAccountInstrumentsBadRequest creates a GetAccountInstrumentsBadRequest with default headers values
func (*GetAccountInstrumentsBadRequest) Error ¶
func (o *GetAccountInstrumentsBadRequest) Error() string
type GetAccountInstrumentsBadRequestBody ¶
type GetAccountInstrumentsBadRequestBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetAccountInstrumentsBadRequestBody get account instruments bad request body swagger:model GetAccountInstrumentsBadRequestBody
func (*GetAccountInstrumentsBadRequestBody) MarshalBinary ¶
func (o *GetAccountInstrumentsBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAccountInstrumentsBadRequestBody) UnmarshalBinary ¶
func (o *GetAccountInstrumentsBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAccountInstrumentsMethodNotAllowed ¶
type GetAccountInstrumentsMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *GetAccountInstrumentsMethodNotAllowedBody }
GetAccountInstrumentsMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewGetAccountInstrumentsMethodNotAllowed ¶
func NewGetAccountInstrumentsMethodNotAllowed() *GetAccountInstrumentsMethodNotAllowed
NewGetAccountInstrumentsMethodNotAllowed creates a GetAccountInstrumentsMethodNotAllowed with default headers values
func (*GetAccountInstrumentsMethodNotAllowed) Error ¶
func (o *GetAccountInstrumentsMethodNotAllowed) Error() string
type GetAccountInstrumentsMethodNotAllowedBody ¶
type GetAccountInstrumentsMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetAccountInstrumentsMethodNotAllowedBody get account instruments method not allowed body swagger:model GetAccountInstrumentsMethodNotAllowedBody
func (*GetAccountInstrumentsMethodNotAllowedBody) MarshalBinary ¶
func (o *GetAccountInstrumentsMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAccountInstrumentsMethodNotAllowedBody) UnmarshalBinary ¶
func (o *GetAccountInstrumentsMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAccountInstrumentsOK ¶
type GetAccountInstrumentsOK struct { /*The unique identifier generated for the request */ RequestID string Payload *GetAccountInstrumentsOKBody }
GetAccountInstrumentsOK handles this case with default header values.
The list of tradeable instruments for the Account has been provided.
func NewGetAccountInstrumentsOK ¶
func NewGetAccountInstrumentsOK() *GetAccountInstrumentsOK
NewGetAccountInstrumentsOK creates a GetAccountInstrumentsOK with default headers values
func (*GetAccountInstrumentsOK) Error ¶
func (o *GetAccountInstrumentsOK) Error() string
type GetAccountInstrumentsOKBody ¶
type GetAccountInstrumentsOKBody struct { // The requested list of instruments. Instruments []*models.Instrument `json:"instruments"` // The ID of the most recent Transaction created for the Account. LastTransactionID string `json:"lastTransactionID,omitempty"` }
GetAccountInstrumentsOKBody get account instruments o k body swagger:model GetAccountInstrumentsOKBody
func (*GetAccountInstrumentsOKBody) MarshalBinary ¶
func (o *GetAccountInstrumentsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAccountInstrumentsOKBody) UnmarshalBinary ¶
func (o *GetAccountInstrumentsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAccountInstrumentsParams ¶
type GetAccountInstrumentsParams struct { /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*AccountID Account Identifier */ AccountID string /*Instruments List of instruments to query specifically. */ Instruments []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAccountInstrumentsParams contains all the parameters to send to the API endpoint for the get account instruments operation typically these are written to a http.Request
func NewGetAccountInstrumentsParams ¶
func NewGetAccountInstrumentsParams() *GetAccountInstrumentsParams
NewGetAccountInstrumentsParams creates a new GetAccountInstrumentsParams object with the default values initialized.
func NewGetAccountInstrumentsParamsWithContext ¶
func NewGetAccountInstrumentsParamsWithContext(ctx context.Context) *GetAccountInstrumentsParams
NewGetAccountInstrumentsParamsWithContext creates a new GetAccountInstrumentsParams object with the default values initialized, and the ability to set a context for a request
func NewGetAccountInstrumentsParamsWithHTTPClient ¶
func NewGetAccountInstrumentsParamsWithHTTPClient(client *http.Client) *GetAccountInstrumentsParams
NewGetAccountInstrumentsParamsWithHTTPClient creates a new GetAccountInstrumentsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAccountInstrumentsParamsWithTimeout ¶
func NewGetAccountInstrumentsParamsWithTimeout(timeout time.Duration) *GetAccountInstrumentsParams
NewGetAccountInstrumentsParamsWithTimeout creates a new GetAccountInstrumentsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAccountInstrumentsParams) SetAccountID ¶
func (o *GetAccountInstrumentsParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the get account instruments params
func (*GetAccountInstrumentsParams) SetAuthorization ¶
func (o *GetAccountInstrumentsParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get account instruments params
func (*GetAccountInstrumentsParams) SetContext ¶
func (o *GetAccountInstrumentsParams) SetContext(ctx context.Context)
SetContext adds the context to the get account instruments params
func (*GetAccountInstrumentsParams) SetHTTPClient ¶
func (o *GetAccountInstrumentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get account instruments params
func (*GetAccountInstrumentsParams) SetInstruments ¶
func (o *GetAccountInstrumentsParams) SetInstruments(instruments []string)
SetInstruments adds the instruments to the get account instruments params
func (*GetAccountInstrumentsParams) SetTimeout ¶
func (o *GetAccountInstrumentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get account instruments params
func (*GetAccountInstrumentsParams) WithAccountID ¶
func (o *GetAccountInstrumentsParams) WithAccountID(accountID string) *GetAccountInstrumentsParams
WithAccountID adds the accountID to the get account instruments params
func (*GetAccountInstrumentsParams) WithAuthorization ¶
func (o *GetAccountInstrumentsParams) WithAuthorization(authorization string) *GetAccountInstrumentsParams
WithAuthorization adds the authorization to the get account instruments params
func (*GetAccountInstrumentsParams) WithContext ¶
func (o *GetAccountInstrumentsParams) WithContext(ctx context.Context) *GetAccountInstrumentsParams
WithContext adds the context to the get account instruments params
func (*GetAccountInstrumentsParams) WithHTTPClient ¶
func (o *GetAccountInstrumentsParams) WithHTTPClient(client *http.Client) *GetAccountInstrumentsParams
WithHTTPClient adds the HTTPClient to the get account instruments params
func (*GetAccountInstrumentsParams) WithInstruments ¶
func (o *GetAccountInstrumentsParams) WithInstruments(instruments []string) *GetAccountInstrumentsParams
WithInstruments adds the instruments to the get account instruments params
func (*GetAccountInstrumentsParams) WithTimeout ¶
func (o *GetAccountInstrumentsParams) WithTimeout(timeout time.Duration) *GetAccountInstrumentsParams
WithTimeout adds the timeout to the get account instruments params
func (*GetAccountInstrumentsParams) WriteToRequest ¶
func (o *GetAccountInstrumentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAccountInstrumentsReader ¶
type GetAccountInstrumentsReader struct {
// contains filtered or unexported fields
}
GetAccountInstrumentsReader is a Reader for the GetAccountInstruments structure.
func (*GetAccountInstrumentsReader) ReadResponse ¶
func (o *GetAccountInstrumentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAccountInstrumentsUnauthorized ¶
type GetAccountInstrumentsUnauthorized struct { string }RequestID
GetAccountInstrumentsUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewGetAccountInstrumentsUnauthorized ¶
func NewGetAccountInstrumentsUnauthorized() *GetAccountInstrumentsUnauthorized
NewGetAccountInstrumentsUnauthorized creates a GetAccountInstrumentsUnauthorized with default headers values
func (*GetAccountInstrumentsUnauthorized) Error ¶
func (o *GetAccountInstrumentsUnauthorized) Error() string
type GetAccountInstrumentsUnauthorizedBody ¶
type GetAccountInstrumentsUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
GetAccountInstrumentsUnauthorizedBody get account instruments unauthorized body swagger:model GetAccountInstrumentsUnauthorizedBody
func (*GetAccountInstrumentsUnauthorizedBody) MarshalBinary ¶
func (o *GetAccountInstrumentsUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAccountInstrumentsUnauthorizedBody) UnmarshalBinary ¶
func (o *GetAccountInstrumentsUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAccountMethodNotAllowed ¶
type GetAccountMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *GetAccountMethodNotAllowedBody }
GetAccountMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewGetAccountMethodNotAllowed ¶
func NewGetAccountMethodNotAllowed() *GetAccountMethodNotAllowed
NewGetAccountMethodNotAllowed creates a GetAccountMethodNotAllowed with default headers values
func (*GetAccountMethodNotAllowed) Error ¶
func (o *GetAccountMethodNotAllowed) Error() string
type GetAccountMethodNotAllowedBody ¶
type GetAccountMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetAccountMethodNotAllowedBody get account method not allowed body swagger:model GetAccountMethodNotAllowedBody
func (*GetAccountMethodNotAllowedBody) MarshalBinary ¶
func (o *GetAccountMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAccountMethodNotAllowedBody) UnmarshalBinary ¶
func (o *GetAccountMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAccountOK ¶
type GetAccountOK struct { /*The unique identifier generated for the request */ RequestID string Payload *GetAccountOKBody }
GetAccountOK handles this case with default header values.
The full Account details are provided
func NewGetAccountOK ¶
func NewGetAccountOK() *GetAccountOK
NewGetAccountOK creates a GetAccountOK with default headers values
func (*GetAccountOK) Error ¶
func (o *GetAccountOK) Error() string
type GetAccountOKBody ¶
type GetAccountOKBody struct { // account Account *models.Account `json:"account,omitempty"` // The ID of the most recent Transaction created for the Account. LastTransactionID string `json:"lastTransactionID,omitempty"` }
GetAccountOKBody get account o k body swagger:model GetAccountOKBody
func (*GetAccountOKBody) MarshalBinary ¶
func (o *GetAccountOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAccountOKBody) UnmarshalBinary ¶
func (o *GetAccountOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAccountParams ¶
type GetAccountParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*AccountID Account Identifier */ AccountID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAccountParams contains all the parameters to send to the API endpoint for the get account operation typically these are written to a http.Request
func NewGetAccountParams ¶
func NewGetAccountParams() *GetAccountParams
NewGetAccountParams creates a new GetAccountParams object with the default values initialized.
func NewGetAccountParamsWithContext ¶
func NewGetAccountParamsWithContext(ctx context.Context) *GetAccountParams
NewGetAccountParamsWithContext creates a new GetAccountParams object with the default values initialized, and the ability to set a context for a request
func NewGetAccountParamsWithHTTPClient ¶
func NewGetAccountParamsWithHTTPClient(client *http.Client) *GetAccountParams
NewGetAccountParamsWithHTTPClient creates a new GetAccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAccountParamsWithTimeout ¶
func NewGetAccountParamsWithTimeout(timeout time.Duration) *GetAccountParams
NewGetAccountParamsWithTimeout creates a new GetAccountParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAccountParams) SetAcceptDatetimeFormat ¶
func (o *GetAccountParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the get account params
func (*GetAccountParams) SetAccountID ¶
func (o *GetAccountParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the get account params
func (*GetAccountParams) SetAuthorization ¶
func (o *GetAccountParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get account params
func (*GetAccountParams) SetContext ¶
func (o *GetAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the get account params
func (*GetAccountParams) SetHTTPClient ¶
func (o *GetAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get account params
func (*GetAccountParams) SetTimeout ¶
func (o *GetAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get account params
func (*GetAccountParams) WithAcceptDatetimeFormat ¶
func (o *GetAccountParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetAccountParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the get account params
func (*GetAccountParams) WithAccountID ¶
func (o *GetAccountParams) WithAccountID(accountID string) *GetAccountParams
WithAccountID adds the accountID to the get account params
func (*GetAccountParams) WithAuthorization ¶
func (o *GetAccountParams) WithAuthorization(authorization string) *GetAccountParams
WithAuthorization adds the authorization to the get account params
func (*GetAccountParams) WithContext ¶
func (o *GetAccountParams) WithContext(ctx context.Context) *GetAccountParams
WithContext adds the context to the get account params
func (*GetAccountParams) WithHTTPClient ¶
func (o *GetAccountParams) WithHTTPClient(client *http.Client) *GetAccountParams
WithHTTPClient adds the HTTPClient to the get account params
func (*GetAccountParams) WithTimeout ¶
func (o *GetAccountParams) WithTimeout(timeout time.Duration) *GetAccountParams
WithTimeout adds the timeout to the get account params
func (*GetAccountParams) WriteToRequest ¶
func (o *GetAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAccountReader ¶
type GetAccountReader struct {
// contains filtered or unexported fields
}
GetAccountReader is a Reader for the GetAccount structure.
func (*GetAccountReader) ReadResponse ¶
func (o *GetAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAccountSummaryBadRequest ¶
type GetAccountSummaryBadRequest struct { /*The unique identifier generated for the request */ RequestID string Payload *GetAccountSummaryBadRequestBody }
GetAccountSummaryBadRequest handles this case with default header values.
Bad Request. The client has provided invalid data to be processed by the server.
func NewGetAccountSummaryBadRequest ¶
func NewGetAccountSummaryBadRequest() *GetAccountSummaryBadRequest
NewGetAccountSummaryBadRequest creates a GetAccountSummaryBadRequest with default headers values
func (*GetAccountSummaryBadRequest) Error ¶
func (o *GetAccountSummaryBadRequest) Error() string
type GetAccountSummaryBadRequestBody ¶
type GetAccountSummaryBadRequestBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetAccountSummaryBadRequestBody get account summary bad request body swagger:model GetAccountSummaryBadRequestBody
func (*GetAccountSummaryBadRequestBody) MarshalBinary ¶
func (o *GetAccountSummaryBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAccountSummaryBadRequestBody) UnmarshalBinary ¶
func (o *GetAccountSummaryBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAccountSummaryMethodNotAllowed ¶
type GetAccountSummaryMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *GetAccountSummaryMethodNotAllowedBody }
GetAccountSummaryMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewGetAccountSummaryMethodNotAllowed ¶
func NewGetAccountSummaryMethodNotAllowed() *GetAccountSummaryMethodNotAllowed
NewGetAccountSummaryMethodNotAllowed creates a GetAccountSummaryMethodNotAllowed with default headers values
func (*GetAccountSummaryMethodNotAllowed) Error ¶
func (o *GetAccountSummaryMethodNotAllowed) Error() string
type GetAccountSummaryMethodNotAllowedBody ¶
type GetAccountSummaryMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetAccountSummaryMethodNotAllowedBody get account summary method not allowed body swagger:model GetAccountSummaryMethodNotAllowedBody
func (*GetAccountSummaryMethodNotAllowedBody) MarshalBinary ¶
func (o *GetAccountSummaryMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAccountSummaryMethodNotAllowedBody) UnmarshalBinary ¶
func (o *GetAccountSummaryMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAccountSummaryOK ¶
type GetAccountSummaryOK struct { /*The unique identifier generated for the request */ RequestID string Payload *GetAccountSummaryOKBody }
GetAccountSummaryOK handles this case with default header values.
The Account summary are provided
func NewGetAccountSummaryOK ¶
func NewGetAccountSummaryOK() *GetAccountSummaryOK
NewGetAccountSummaryOK creates a GetAccountSummaryOK with default headers values
func (*GetAccountSummaryOK) Error ¶
func (o *GetAccountSummaryOK) Error() string
type GetAccountSummaryOKBody ¶
type GetAccountSummaryOKBody struct { // account Account *models.AccountSummary `json:"account,omitempty"` // The ID of the most recent Transaction created for the Account. LastTransactionID string `json:"lastTransactionID,omitempty"` }
GetAccountSummaryOKBody get account summary o k body swagger:model GetAccountSummaryOKBody
func (*GetAccountSummaryOKBody) MarshalBinary ¶
func (o *GetAccountSummaryOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAccountSummaryOKBody) UnmarshalBinary ¶
func (o *GetAccountSummaryOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAccountSummaryParams ¶
type GetAccountSummaryParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*AccountID Account Identifier */ AccountID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAccountSummaryParams contains all the parameters to send to the API endpoint for the get account summary operation typically these are written to a http.Request
func NewGetAccountSummaryParams ¶
func NewGetAccountSummaryParams() *GetAccountSummaryParams
NewGetAccountSummaryParams creates a new GetAccountSummaryParams object with the default values initialized.
func NewGetAccountSummaryParamsWithContext ¶
func NewGetAccountSummaryParamsWithContext(ctx context.Context) *GetAccountSummaryParams
NewGetAccountSummaryParamsWithContext creates a new GetAccountSummaryParams object with the default values initialized, and the ability to set a context for a request
func NewGetAccountSummaryParamsWithHTTPClient ¶
func NewGetAccountSummaryParamsWithHTTPClient(client *http.Client) *GetAccountSummaryParams
NewGetAccountSummaryParamsWithHTTPClient creates a new GetAccountSummaryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAccountSummaryParamsWithTimeout ¶
func NewGetAccountSummaryParamsWithTimeout(timeout time.Duration) *GetAccountSummaryParams
NewGetAccountSummaryParamsWithTimeout creates a new GetAccountSummaryParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAccountSummaryParams) SetAcceptDatetimeFormat ¶
func (o *GetAccountSummaryParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the get account summary params
func (*GetAccountSummaryParams) SetAccountID ¶
func (o *GetAccountSummaryParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the get account summary params
func (*GetAccountSummaryParams) SetAuthorization ¶
func (o *GetAccountSummaryParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get account summary params
func (*GetAccountSummaryParams) SetContext ¶
func (o *GetAccountSummaryParams) SetContext(ctx context.Context)
SetContext adds the context to the get account summary params
func (*GetAccountSummaryParams) SetHTTPClient ¶
func (o *GetAccountSummaryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get account summary params
func (*GetAccountSummaryParams) SetTimeout ¶
func (o *GetAccountSummaryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get account summary params
func (*GetAccountSummaryParams) WithAcceptDatetimeFormat ¶
func (o *GetAccountSummaryParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetAccountSummaryParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the get account summary params
func (*GetAccountSummaryParams) WithAccountID ¶
func (o *GetAccountSummaryParams) WithAccountID(accountID string) *GetAccountSummaryParams
WithAccountID adds the accountID to the get account summary params
func (*GetAccountSummaryParams) WithAuthorization ¶
func (o *GetAccountSummaryParams) WithAuthorization(authorization string) *GetAccountSummaryParams
WithAuthorization adds the authorization to the get account summary params
func (*GetAccountSummaryParams) WithContext ¶
func (o *GetAccountSummaryParams) WithContext(ctx context.Context) *GetAccountSummaryParams
WithContext adds the context to the get account summary params
func (*GetAccountSummaryParams) WithHTTPClient ¶
func (o *GetAccountSummaryParams) WithHTTPClient(client *http.Client) *GetAccountSummaryParams
WithHTTPClient adds the HTTPClient to the get account summary params
func (*GetAccountSummaryParams) WithTimeout ¶
func (o *GetAccountSummaryParams) WithTimeout(timeout time.Duration) *GetAccountSummaryParams
WithTimeout adds the timeout to the get account summary params
func (*GetAccountSummaryParams) WriteToRequest ¶
func (o *GetAccountSummaryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAccountSummaryReader ¶
type GetAccountSummaryReader struct {
// contains filtered or unexported fields
}
GetAccountSummaryReader is a Reader for the GetAccountSummary structure.
func (*GetAccountSummaryReader) ReadResponse ¶
func (o *GetAccountSummaryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAccountSummaryUnauthorized ¶
type GetAccountSummaryUnauthorized struct { string }RequestID
GetAccountSummaryUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewGetAccountSummaryUnauthorized ¶
func NewGetAccountSummaryUnauthorized() *GetAccountSummaryUnauthorized
NewGetAccountSummaryUnauthorized creates a GetAccountSummaryUnauthorized with default headers values
func (*GetAccountSummaryUnauthorized) Error ¶
func (o *GetAccountSummaryUnauthorized) Error() string
type GetAccountSummaryUnauthorizedBody ¶
type GetAccountSummaryUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
GetAccountSummaryUnauthorizedBody get account summary unauthorized body swagger:model GetAccountSummaryUnauthorizedBody
func (*GetAccountSummaryUnauthorizedBody) MarshalBinary ¶
func (o *GetAccountSummaryUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAccountSummaryUnauthorizedBody) UnmarshalBinary ¶
func (o *GetAccountSummaryUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAccountUnauthorized ¶
type GetAccountUnauthorized struct { string }RequestID
GetAccountUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewGetAccountUnauthorized ¶
func NewGetAccountUnauthorized() *GetAccountUnauthorized
NewGetAccountUnauthorized creates a GetAccountUnauthorized with default headers values
func (*GetAccountUnauthorized) Error ¶
func (o *GetAccountUnauthorized) Error() string
type GetAccountUnauthorizedBody ¶
type GetAccountUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
GetAccountUnauthorizedBody get account unauthorized body swagger:model GetAccountUnauthorizedBody
func (*GetAccountUnauthorizedBody) MarshalBinary ¶
func (o *GetAccountUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAccountUnauthorizedBody) UnmarshalBinary ¶
func (o *GetAccountUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetBasePricesBadRequest ¶
type GetBasePricesBadRequest struct { /*The unique identifier generated for the request */ RequestID string Payload *GetBasePricesBadRequestBody }
GetBasePricesBadRequest handles this case with default header values.
Bad Request. The client has provided invalid data to be processed by the server.
func NewGetBasePricesBadRequest ¶
func NewGetBasePricesBadRequest() *GetBasePricesBadRequest
NewGetBasePricesBadRequest creates a GetBasePricesBadRequest with default headers values
func (*GetBasePricesBadRequest) Error ¶
func (o *GetBasePricesBadRequest) Error() string
type GetBasePricesBadRequestBody ¶
type GetBasePricesBadRequestBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetBasePricesBadRequestBody get base prices bad request body swagger:model GetBasePricesBadRequestBody
func (*GetBasePricesBadRequestBody) MarshalBinary ¶
func (o *GetBasePricesBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetBasePricesBadRequestBody) UnmarshalBinary ¶
func (o *GetBasePricesBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetBasePricesMethodNotAllowed ¶
type GetBasePricesMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *GetBasePricesMethodNotAllowedBody }
GetBasePricesMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewGetBasePricesMethodNotAllowed ¶
func NewGetBasePricesMethodNotAllowed() *GetBasePricesMethodNotAllowed
NewGetBasePricesMethodNotAllowed creates a GetBasePricesMethodNotAllowed with default headers values
func (*GetBasePricesMethodNotAllowed) Error ¶
func (o *GetBasePricesMethodNotAllowed) Error() string
type GetBasePricesMethodNotAllowedBody ¶
type GetBasePricesMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetBasePricesMethodNotAllowedBody get base prices method not allowed body swagger:model GetBasePricesMethodNotAllowedBody
func (*GetBasePricesMethodNotAllowedBody) MarshalBinary ¶
func (o *GetBasePricesMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetBasePricesMethodNotAllowedBody) UnmarshalBinary ¶
func (o *GetBasePricesMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetBasePricesNotFound ¶
type GetBasePricesNotFound struct { /*The unique identifier generated for the request */ RequestID string Payload *GetBasePricesNotFoundBody }
GetBasePricesNotFound handles this case with default header values.
Not Found. The client has attempted to access an entity that does not exist.
func NewGetBasePricesNotFound ¶
func NewGetBasePricesNotFound() *GetBasePricesNotFound
NewGetBasePricesNotFound creates a GetBasePricesNotFound with default headers values
func (*GetBasePricesNotFound) Error ¶
func (o *GetBasePricesNotFound) Error() string
type GetBasePricesNotFoundBody ¶
type GetBasePricesNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetBasePricesNotFoundBody get base prices not found body swagger:model GetBasePricesNotFoundBody
func (*GetBasePricesNotFoundBody) MarshalBinary ¶
func (o *GetBasePricesNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetBasePricesNotFoundBody) UnmarshalBinary ¶
func (o *GetBasePricesNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetBasePricesOK ¶
type GetBasePricesOK struct { /*The unique identifier generated for the request */ RequestID string Payload *GetBasePricesOKBody }
GetBasePricesOK handles this case with default header values.
Pricing information has been successfully provided.
func NewGetBasePricesOK ¶
func NewGetBasePricesOK() *GetBasePricesOK
NewGetBasePricesOK creates a GetBasePricesOK with default headers values
func (*GetBasePricesOK) Error ¶
func (o *GetBasePricesOK) Error() string
type GetBasePricesOKBody ¶
type GetBasePricesOKBody struct { // The list of prices that satisfy the request. Prices []*models.Price `json:"prices"` }
GetBasePricesOKBody get base prices o k body swagger:model GetBasePricesOKBody
func (*GetBasePricesOKBody) MarshalBinary ¶
func (o *GetBasePricesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetBasePricesOKBody) UnmarshalBinary ¶
func (o *GetBasePricesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetBasePricesParams ¶
type GetBasePricesParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*Time The time at which the desired price for each instrument is in effect. The current price for each instrument is returned if no time is provided. */ Time *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetBasePricesParams contains all the parameters to send to the API endpoint for the get base prices operation typically these are written to a http.Request
func NewGetBasePricesParams ¶
func NewGetBasePricesParams() *GetBasePricesParams
NewGetBasePricesParams creates a new GetBasePricesParams object with the default values initialized.
func NewGetBasePricesParamsWithContext ¶
func NewGetBasePricesParamsWithContext(ctx context.Context) *GetBasePricesParams
NewGetBasePricesParamsWithContext creates a new GetBasePricesParams object with the default values initialized, and the ability to set a context for a request
func NewGetBasePricesParamsWithHTTPClient ¶
func NewGetBasePricesParamsWithHTTPClient(client *http.Client) *GetBasePricesParams
NewGetBasePricesParamsWithHTTPClient creates a new GetBasePricesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetBasePricesParamsWithTimeout ¶
func NewGetBasePricesParamsWithTimeout(timeout time.Duration) *GetBasePricesParams
NewGetBasePricesParamsWithTimeout creates a new GetBasePricesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetBasePricesParams) SetAcceptDatetimeFormat ¶
func (o *GetBasePricesParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the get base prices params
func (*GetBasePricesParams) SetAuthorization ¶
func (o *GetBasePricesParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get base prices params
func (*GetBasePricesParams) SetContext ¶
func (o *GetBasePricesParams) SetContext(ctx context.Context)
SetContext adds the context to the get base prices params
func (*GetBasePricesParams) SetHTTPClient ¶
func (o *GetBasePricesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get base prices params
func (*GetBasePricesParams) SetTime ¶
func (o *GetBasePricesParams) SetTime(time *string)
SetTime adds the time to the get base prices params
func (*GetBasePricesParams) SetTimeout ¶
func (o *GetBasePricesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get base prices params
func (*GetBasePricesParams) WithAcceptDatetimeFormat ¶
func (o *GetBasePricesParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetBasePricesParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the get base prices params
func (*GetBasePricesParams) WithAuthorization ¶
func (o *GetBasePricesParams) WithAuthorization(authorization string) *GetBasePricesParams
WithAuthorization adds the authorization to the get base prices params
func (*GetBasePricesParams) WithContext ¶
func (o *GetBasePricesParams) WithContext(ctx context.Context) *GetBasePricesParams
WithContext adds the context to the get base prices params
func (*GetBasePricesParams) WithHTTPClient ¶
func (o *GetBasePricesParams) WithHTTPClient(client *http.Client) *GetBasePricesParams
WithHTTPClient adds the HTTPClient to the get base prices params
func (*GetBasePricesParams) WithTime ¶
func (o *GetBasePricesParams) WithTime(time *string) *GetBasePricesParams
WithTime adds the time to the get base prices params
func (*GetBasePricesParams) WithTimeout ¶
func (o *GetBasePricesParams) WithTimeout(timeout time.Duration) *GetBasePricesParams
WithTimeout adds the timeout to the get base prices params
func (*GetBasePricesParams) WriteToRequest ¶
func (o *GetBasePricesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBasePricesReader ¶
type GetBasePricesReader struct {
// contains filtered or unexported fields
}
GetBasePricesReader is a Reader for the GetBasePrices structure.
func (*GetBasePricesReader) ReadResponse ¶
func (o *GetBasePricesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBasePricesUnauthorized ¶
type GetBasePricesUnauthorized struct { string }RequestID
GetBasePricesUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewGetBasePricesUnauthorized ¶
func NewGetBasePricesUnauthorized() *GetBasePricesUnauthorized
NewGetBasePricesUnauthorized creates a GetBasePricesUnauthorized with default headers values
func (*GetBasePricesUnauthorized) Error ¶
func (o *GetBasePricesUnauthorized) Error() string
type GetBasePricesUnauthorizedBody ¶
type GetBasePricesUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
GetBasePricesUnauthorizedBody get base prices unauthorized body swagger:model GetBasePricesUnauthorizedBody
func (*GetBasePricesUnauthorizedBody) MarshalBinary ¶
func (o *GetBasePricesUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetBasePricesUnauthorizedBody) UnmarshalBinary ¶
func (o *GetBasePricesUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetExternalUserInfoForbidden ¶
type GetExternalUserInfoForbidden struct { /*The unique identifier generated for the request */ RequestID string Payload *GetExternalUserInfoForbiddenBody }
GetExternalUserInfoForbidden handles this case with default header values.
Forbidden. The client has provided a token that does not authorize them to perform the action implemented by the API endpoint.
func NewGetExternalUserInfoForbidden ¶
func NewGetExternalUserInfoForbidden() *GetExternalUserInfoForbidden
NewGetExternalUserInfoForbidden creates a GetExternalUserInfoForbidden with default headers values
func (*GetExternalUserInfoForbidden) Error ¶
func (o *GetExternalUserInfoForbidden) Error() string
type GetExternalUserInfoForbiddenBody ¶
type GetExternalUserInfoForbiddenBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetExternalUserInfoForbiddenBody get external user info forbidden body swagger:model GetExternalUserInfoForbiddenBody
func (*GetExternalUserInfoForbiddenBody) MarshalBinary ¶
func (o *GetExternalUserInfoForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetExternalUserInfoForbiddenBody) UnmarshalBinary ¶
func (o *GetExternalUserInfoForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetExternalUserInfoMethodNotAllowed ¶
type GetExternalUserInfoMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *GetExternalUserInfoMethodNotAllowedBody }
GetExternalUserInfoMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewGetExternalUserInfoMethodNotAllowed ¶
func NewGetExternalUserInfoMethodNotAllowed() *GetExternalUserInfoMethodNotAllowed
NewGetExternalUserInfoMethodNotAllowed creates a GetExternalUserInfoMethodNotAllowed with default headers values
func (*GetExternalUserInfoMethodNotAllowed) Error ¶
func (o *GetExternalUserInfoMethodNotAllowed) Error() string
type GetExternalUserInfoMethodNotAllowedBody ¶
type GetExternalUserInfoMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetExternalUserInfoMethodNotAllowedBody get external user info method not allowed body swagger:model GetExternalUserInfoMethodNotAllowedBody
func (*GetExternalUserInfoMethodNotAllowedBody) MarshalBinary ¶
func (o *GetExternalUserInfoMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetExternalUserInfoMethodNotAllowedBody) UnmarshalBinary ¶
func (o *GetExternalUserInfoMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetExternalUserInfoOK ¶
type GetExternalUserInfoOK struct { /*The unique identifier generated for the request */ RequestID string Payload *GetExternalUserInfoOKBody }
GetExternalUserInfoOK handles this case with default header values.
The external user information has been provided
func NewGetExternalUserInfoOK ¶
func NewGetExternalUserInfoOK() *GetExternalUserInfoOK
NewGetExternalUserInfoOK creates a GetExternalUserInfoOK with default headers values
func (*GetExternalUserInfoOK) Error ¶
func (o *GetExternalUserInfoOK) Error() string
type GetExternalUserInfoOKBody ¶
type GetExternalUserInfoOKBody struct { // user info UserInfo *models.UserInfoExternal `json:"userInfo,omitempty"` }
GetExternalUserInfoOKBody get external user info o k body swagger:model GetExternalUserInfoOKBody
func (*GetExternalUserInfoOKBody) MarshalBinary ¶
func (o *GetExternalUserInfoOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetExternalUserInfoOKBody) UnmarshalBinary ¶
func (o *GetExternalUserInfoOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetExternalUserInfoParams ¶
type GetExternalUserInfoParams struct { /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*UserSpecifier The User Specifier */ UserSpecifier string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetExternalUserInfoParams contains all the parameters to send to the API endpoint for the get external user info operation typically these are written to a http.Request
func NewGetExternalUserInfoParams ¶
func NewGetExternalUserInfoParams() *GetExternalUserInfoParams
NewGetExternalUserInfoParams creates a new GetExternalUserInfoParams object with the default values initialized.
func NewGetExternalUserInfoParamsWithContext ¶
func NewGetExternalUserInfoParamsWithContext(ctx context.Context) *GetExternalUserInfoParams
NewGetExternalUserInfoParamsWithContext creates a new GetExternalUserInfoParams object with the default values initialized, and the ability to set a context for a request
func NewGetExternalUserInfoParamsWithHTTPClient ¶
func NewGetExternalUserInfoParamsWithHTTPClient(client *http.Client) *GetExternalUserInfoParams
NewGetExternalUserInfoParamsWithHTTPClient creates a new GetExternalUserInfoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetExternalUserInfoParamsWithTimeout ¶
func NewGetExternalUserInfoParamsWithTimeout(timeout time.Duration) *GetExternalUserInfoParams
NewGetExternalUserInfoParamsWithTimeout creates a new GetExternalUserInfoParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetExternalUserInfoParams) SetAuthorization ¶
func (o *GetExternalUserInfoParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get external user info params
func (*GetExternalUserInfoParams) SetContext ¶
func (o *GetExternalUserInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the get external user info params
func (*GetExternalUserInfoParams) SetHTTPClient ¶
func (o *GetExternalUserInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get external user info params
func (*GetExternalUserInfoParams) SetTimeout ¶
func (o *GetExternalUserInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get external user info params
func (*GetExternalUserInfoParams) SetUserSpecifier ¶
func (o *GetExternalUserInfoParams) SetUserSpecifier(userSpecifier string)
SetUserSpecifier adds the userSpecifier to the get external user info params
func (*GetExternalUserInfoParams) WithAuthorization ¶
func (o *GetExternalUserInfoParams) WithAuthorization(authorization string) *GetExternalUserInfoParams
WithAuthorization adds the authorization to the get external user info params
func (*GetExternalUserInfoParams) WithContext ¶
func (o *GetExternalUserInfoParams) WithContext(ctx context.Context) *GetExternalUserInfoParams
WithContext adds the context to the get external user info params
func (*GetExternalUserInfoParams) WithHTTPClient ¶
func (o *GetExternalUserInfoParams) WithHTTPClient(client *http.Client) *GetExternalUserInfoParams
WithHTTPClient adds the HTTPClient to the get external user info params
func (*GetExternalUserInfoParams) WithTimeout ¶
func (o *GetExternalUserInfoParams) WithTimeout(timeout time.Duration) *GetExternalUserInfoParams
WithTimeout adds the timeout to the get external user info params
func (*GetExternalUserInfoParams) WithUserSpecifier ¶
func (o *GetExternalUserInfoParams) WithUserSpecifier(userSpecifier string) *GetExternalUserInfoParams
WithUserSpecifier adds the userSpecifier to the get external user info params
func (*GetExternalUserInfoParams) WriteToRequest ¶
func (o *GetExternalUserInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetExternalUserInfoReader ¶
type GetExternalUserInfoReader struct {
// contains filtered or unexported fields
}
GetExternalUserInfoReader is a Reader for the GetExternalUserInfo structure.
func (*GetExternalUserInfoReader) ReadResponse ¶
func (o *GetExternalUserInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetExternalUserInfoUnauthorized ¶
type GetExternalUserInfoUnauthorized struct { string }RequestID
GetExternalUserInfoUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewGetExternalUserInfoUnauthorized ¶
func NewGetExternalUserInfoUnauthorized() *GetExternalUserInfoUnauthorized
NewGetExternalUserInfoUnauthorized creates a GetExternalUserInfoUnauthorized with default headers values
func (*GetExternalUserInfoUnauthorized) Error ¶
func (o *GetExternalUserInfoUnauthorized) Error() string
type GetExternalUserInfoUnauthorizedBody ¶
type GetExternalUserInfoUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
GetExternalUserInfoUnauthorizedBody get external user info unauthorized body swagger:model GetExternalUserInfoUnauthorizedBody
func (*GetExternalUserInfoUnauthorizedBody) MarshalBinary ¶
func (o *GetExternalUserInfoUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetExternalUserInfoUnauthorizedBody) UnmarshalBinary ¶
func (o *GetExternalUserInfoUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetInstrumentCandlesBadRequest ¶
type GetInstrumentCandlesBadRequest struct { /*The unique identifier generated for the request */ RequestID string Payload *GetInstrumentCandlesBadRequestBody }
GetInstrumentCandlesBadRequest handles this case with default header values.
Bad Request. The client has provided invalid data to be processed by the server.
func NewGetInstrumentCandlesBadRequest ¶
func NewGetInstrumentCandlesBadRequest() *GetInstrumentCandlesBadRequest
NewGetInstrumentCandlesBadRequest creates a GetInstrumentCandlesBadRequest with default headers values
func (*GetInstrumentCandlesBadRequest) Error ¶
func (o *GetInstrumentCandlesBadRequest) Error() string
type GetInstrumentCandlesBadRequestBody ¶
type GetInstrumentCandlesBadRequestBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetInstrumentCandlesBadRequestBody get instrument candles bad request body swagger:model GetInstrumentCandlesBadRequestBody
func (*GetInstrumentCandlesBadRequestBody) MarshalBinary ¶
func (o *GetInstrumentCandlesBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetInstrumentCandlesBadRequestBody) UnmarshalBinary ¶
func (o *GetInstrumentCandlesBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetInstrumentCandlesMethodNotAllowed ¶
type GetInstrumentCandlesMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *GetInstrumentCandlesMethodNotAllowedBody }
GetInstrumentCandlesMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewGetInstrumentCandlesMethodNotAllowed ¶
func NewGetInstrumentCandlesMethodNotAllowed() *GetInstrumentCandlesMethodNotAllowed
NewGetInstrumentCandlesMethodNotAllowed creates a GetInstrumentCandlesMethodNotAllowed with default headers values
func (*GetInstrumentCandlesMethodNotAllowed) Error ¶
func (o *GetInstrumentCandlesMethodNotAllowed) Error() string
type GetInstrumentCandlesMethodNotAllowedBody ¶
type GetInstrumentCandlesMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetInstrumentCandlesMethodNotAllowedBody get instrument candles method not allowed body swagger:model GetInstrumentCandlesMethodNotAllowedBody
func (*GetInstrumentCandlesMethodNotAllowedBody) MarshalBinary ¶
func (o *GetInstrumentCandlesMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetInstrumentCandlesMethodNotAllowedBody) UnmarshalBinary ¶
func (o *GetInstrumentCandlesMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetInstrumentCandlesNotFound ¶
type GetInstrumentCandlesNotFound struct { /*The unique identifier generated for the request */ RequestID string Payload *GetInstrumentCandlesNotFoundBody }
GetInstrumentCandlesNotFound handles this case with default header values.
Not Found. The client has attempted to access an entity that does not exist.
func NewGetInstrumentCandlesNotFound ¶
func NewGetInstrumentCandlesNotFound() *GetInstrumentCandlesNotFound
NewGetInstrumentCandlesNotFound creates a GetInstrumentCandlesNotFound with default headers values
func (*GetInstrumentCandlesNotFound) Error ¶
func (o *GetInstrumentCandlesNotFound) Error() string
type GetInstrumentCandlesNotFoundBody ¶
type GetInstrumentCandlesNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetInstrumentCandlesNotFoundBody get instrument candles not found body swagger:model GetInstrumentCandlesNotFoundBody
func (*GetInstrumentCandlesNotFoundBody) MarshalBinary ¶
func (o *GetInstrumentCandlesNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetInstrumentCandlesNotFoundBody) UnmarshalBinary ¶
func (o *GetInstrumentCandlesNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetInstrumentCandlesOK ¶
type GetInstrumentCandlesOK struct { /*The unique identifier generated for the request */ RequestID string Payload *GetInstrumentCandlesOKBody }
GetInstrumentCandlesOK handles this case with default header values.
Pricing information has been successfully provided.
func NewGetInstrumentCandlesOK ¶
func NewGetInstrumentCandlesOK() *GetInstrumentCandlesOK
NewGetInstrumentCandlesOK creates a GetInstrumentCandlesOK with default headers values
func (*GetInstrumentCandlesOK) Error ¶
func (o *GetInstrumentCandlesOK) Error() string
type GetInstrumentCandlesOKBody ¶
type GetInstrumentCandlesOKBody struct { // The list of candlesticks that satisfy the request. Candles []*models.Candlestick `json:"candles"` // The granularity of the candlesticks provided. // Enum: [S5 S10 S15 S30 M1 M2 M4 M5 M10 M15 M30 H1 H2 H3 H4 H6 H8 H12 D W M] Granularity string `json:"granularity,omitempty"` // The instrument whose Prices are represented by the candlesticks. Instrument string `json:"instrument,omitempty"` }
GetInstrumentCandlesOKBody get instrument candles o k body swagger:model GetInstrumentCandlesOKBody
func (*GetInstrumentCandlesOKBody) MarshalBinary ¶
func (o *GetInstrumentCandlesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetInstrumentCandlesOKBody) UnmarshalBinary ¶
func (o *GetInstrumentCandlesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetInstrumentCandlesParams ¶
type GetInstrumentCandlesParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*AlignmentTimezone The timezone to use for the dailyAlignment parameter. Candlesticks with daily alignment will be aligned to the dailyAlignment hour within the alignmentTimezone. Note that the returned times will still be represented in UTC. */ AlignmentTimezone *string /*Count The number of candlesticks to return in the reponse. Count should not be specified if both the start and end parameters are provided, as the time range combined with the graularity will determine the number of candlesticks to return. */ Count *int64 /*DailyAlignment The hour of the day (in the specified timezone) to use for granularities that have daily alignments. */ DailyAlignment *int64 /*From The start of the time range to fetch candlesticks for. */ From *string /*Granularity The granularity of the candlesticks to fetch */ Granularity *string /*IncludeFirst A flag that controls whether the candlestick that is covered by the from time should be included in the results. This flag enables clients to use the timestamp of the last completed candlestick received to poll for future candlesticks but avoid receiving the previous candlestick repeatedly. */ IncludeFirst *bool /*Instrument Name of the Instrument */ Instrument string /*Price The Price component(s) to get candlestick data for. Can contain any combination of the characters "M" (midpoint candles) "B" (bid candles) and "A" (ask candles). */ Price *string /*Smooth A flag that controls whether the candlestick is "smoothed" or not. A smoothed candlestick uses the previous candle's close price as its open price, while an unsmoothed candlestick uses the first price from its time range as its open price. */ Smooth *bool /*To The end of the time range to fetch candlesticks for. */ To *string /*WeeklyAlignment The day of the week used for granularities that have weekly alignment. */ WeeklyAlignment *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInstrumentCandlesParams contains all the parameters to send to the API endpoint for the get instrument candles operation typically these are written to a http.Request
func NewGetInstrumentCandlesParams ¶
func NewGetInstrumentCandlesParams() *GetInstrumentCandlesParams
NewGetInstrumentCandlesParams creates a new GetInstrumentCandlesParams object with the default values initialized.
func NewGetInstrumentCandlesParamsWithContext ¶
func NewGetInstrumentCandlesParamsWithContext(ctx context.Context) *GetInstrumentCandlesParams
NewGetInstrumentCandlesParamsWithContext creates a new GetInstrumentCandlesParams object with the default values initialized, and the ability to set a context for a request
func NewGetInstrumentCandlesParamsWithHTTPClient ¶
func NewGetInstrumentCandlesParamsWithHTTPClient(client *http.Client) *GetInstrumentCandlesParams
NewGetInstrumentCandlesParamsWithHTTPClient creates a new GetInstrumentCandlesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetInstrumentCandlesParamsWithTimeout ¶
func NewGetInstrumentCandlesParamsWithTimeout(timeout time.Duration) *GetInstrumentCandlesParams
NewGetInstrumentCandlesParamsWithTimeout creates a new GetInstrumentCandlesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetInstrumentCandlesParams) SetAcceptDatetimeFormat ¶
func (o *GetInstrumentCandlesParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the get instrument candles params
func (*GetInstrumentCandlesParams) SetAlignmentTimezone ¶
func (o *GetInstrumentCandlesParams) SetAlignmentTimezone(alignmentTimezone *string)
SetAlignmentTimezone adds the alignmentTimezone to the get instrument candles params
func (*GetInstrumentCandlesParams) SetAuthorization ¶
func (o *GetInstrumentCandlesParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get instrument candles params
func (*GetInstrumentCandlesParams) SetContext ¶
func (o *GetInstrumentCandlesParams) SetContext(ctx context.Context)
SetContext adds the context to the get instrument candles params
func (*GetInstrumentCandlesParams) SetCount ¶
func (o *GetInstrumentCandlesParams) SetCount(count *int64)
SetCount adds the count to the get instrument candles params
func (*GetInstrumentCandlesParams) SetDailyAlignment ¶
func (o *GetInstrumentCandlesParams) SetDailyAlignment(dailyAlignment *int64)
SetDailyAlignment adds the dailyAlignment to the get instrument candles params
func (*GetInstrumentCandlesParams) SetFrom ¶
func (o *GetInstrumentCandlesParams) SetFrom(from *string)
SetFrom adds the from to the get instrument candles params
func (*GetInstrumentCandlesParams) SetGranularity ¶
func (o *GetInstrumentCandlesParams) SetGranularity(granularity *string)
SetGranularity adds the granularity to the get instrument candles params
func (*GetInstrumentCandlesParams) SetHTTPClient ¶
func (o *GetInstrumentCandlesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get instrument candles params
func (*GetInstrumentCandlesParams) SetIncludeFirst ¶
func (o *GetInstrumentCandlesParams) SetIncludeFirst(includeFirst *bool)
SetIncludeFirst adds the includeFirst to the get instrument candles params
func (*GetInstrumentCandlesParams) SetInstrument ¶
func (o *GetInstrumentCandlesParams) SetInstrument(instrument string)
SetInstrument adds the instrument to the get instrument candles params
func (*GetInstrumentCandlesParams) SetPrice ¶
func (o *GetInstrumentCandlesParams) SetPrice(price *string)
SetPrice adds the price to the get instrument candles params
func (*GetInstrumentCandlesParams) SetSmooth ¶
func (o *GetInstrumentCandlesParams) SetSmooth(smooth *bool)
SetSmooth adds the smooth to the get instrument candles params
func (*GetInstrumentCandlesParams) SetTimeout ¶
func (o *GetInstrumentCandlesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get instrument candles params
func (*GetInstrumentCandlesParams) SetTo ¶
func (o *GetInstrumentCandlesParams) SetTo(to *string)
SetTo adds the to to the get instrument candles params
func (*GetInstrumentCandlesParams) SetWeeklyAlignment ¶
func (o *GetInstrumentCandlesParams) SetWeeklyAlignment(weeklyAlignment *string)
SetWeeklyAlignment adds the weeklyAlignment to the get instrument candles params
func (*GetInstrumentCandlesParams) WithAcceptDatetimeFormat ¶
func (o *GetInstrumentCandlesParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetInstrumentCandlesParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the get instrument candles params
func (*GetInstrumentCandlesParams) WithAlignmentTimezone ¶
func (o *GetInstrumentCandlesParams) WithAlignmentTimezone(alignmentTimezone *string) *GetInstrumentCandlesParams
WithAlignmentTimezone adds the alignmentTimezone to the get instrument candles params
func (*GetInstrumentCandlesParams) WithAuthorization ¶
func (o *GetInstrumentCandlesParams) WithAuthorization(authorization string) *GetInstrumentCandlesParams
WithAuthorization adds the authorization to the get instrument candles params
func (*GetInstrumentCandlesParams) WithContext ¶
func (o *GetInstrumentCandlesParams) WithContext(ctx context.Context) *GetInstrumentCandlesParams
WithContext adds the context to the get instrument candles params
func (*GetInstrumentCandlesParams) WithCount ¶
func (o *GetInstrumentCandlesParams) WithCount(count *int64) *GetInstrumentCandlesParams
WithCount adds the count to the get instrument candles params
func (*GetInstrumentCandlesParams) WithDailyAlignment ¶
func (o *GetInstrumentCandlesParams) WithDailyAlignment(dailyAlignment *int64) *GetInstrumentCandlesParams
WithDailyAlignment adds the dailyAlignment to the get instrument candles params
func (*GetInstrumentCandlesParams) WithFrom ¶
func (o *GetInstrumentCandlesParams) WithFrom(from *string) *GetInstrumentCandlesParams
WithFrom adds the from to the get instrument candles params
func (*GetInstrumentCandlesParams) WithGranularity ¶
func (o *GetInstrumentCandlesParams) WithGranularity(granularity *string) *GetInstrumentCandlesParams
WithGranularity adds the granularity to the get instrument candles params
func (*GetInstrumentCandlesParams) WithHTTPClient ¶
func (o *GetInstrumentCandlesParams) WithHTTPClient(client *http.Client) *GetInstrumentCandlesParams
WithHTTPClient adds the HTTPClient to the get instrument candles params
func (*GetInstrumentCandlesParams) WithIncludeFirst ¶
func (o *GetInstrumentCandlesParams) WithIncludeFirst(includeFirst *bool) *GetInstrumentCandlesParams
WithIncludeFirst adds the includeFirst to the get instrument candles params
func (*GetInstrumentCandlesParams) WithInstrument ¶
func (o *GetInstrumentCandlesParams) WithInstrument(instrument string) *GetInstrumentCandlesParams
WithInstrument adds the instrument to the get instrument candles params
func (*GetInstrumentCandlesParams) WithPrice ¶
func (o *GetInstrumentCandlesParams) WithPrice(price *string) *GetInstrumentCandlesParams
WithPrice adds the price to the get instrument candles params
func (*GetInstrumentCandlesParams) WithSmooth ¶
func (o *GetInstrumentCandlesParams) WithSmooth(smooth *bool) *GetInstrumentCandlesParams
WithSmooth adds the smooth to the get instrument candles params
func (*GetInstrumentCandlesParams) WithTimeout ¶
func (o *GetInstrumentCandlesParams) WithTimeout(timeout time.Duration) *GetInstrumentCandlesParams
WithTimeout adds the timeout to the get instrument candles params
func (*GetInstrumentCandlesParams) WithTo ¶
func (o *GetInstrumentCandlesParams) WithTo(to *string) *GetInstrumentCandlesParams
WithTo adds the to to the get instrument candles params
func (*GetInstrumentCandlesParams) WithWeeklyAlignment ¶
func (o *GetInstrumentCandlesParams) WithWeeklyAlignment(weeklyAlignment *string) *GetInstrumentCandlesParams
WithWeeklyAlignment adds the weeklyAlignment to the get instrument candles params
func (*GetInstrumentCandlesParams) WriteToRequest ¶
func (o *GetInstrumentCandlesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInstrumentCandlesReader ¶
type GetInstrumentCandlesReader struct {
// contains filtered or unexported fields
}
GetInstrumentCandlesReader is a Reader for the GetInstrumentCandles structure.
func (*GetInstrumentCandlesReader) ReadResponse ¶
func (o *GetInstrumentCandlesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInstrumentCandlesUnauthorized ¶
type GetInstrumentCandlesUnauthorized struct { string }RequestID
GetInstrumentCandlesUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewGetInstrumentCandlesUnauthorized ¶
func NewGetInstrumentCandlesUnauthorized() *GetInstrumentCandlesUnauthorized
NewGetInstrumentCandlesUnauthorized creates a GetInstrumentCandlesUnauthorized with default headers values
func (*GetInstrumentCandlesUnauthorized) Error ¶
func (o *GetInstrumentCandlesUnauthorized) Error() string
type GetInstrumentCandlesUnauthorizedBody ¶
type GetInstrumentCandlesUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
GetInstrumentCandlesUnauthorizedBody get instrument candles unauthorized body swagger:model GetInstrumentCandlesUnauthorizedBody
func (*GetInstrumentCandlesUnauthorizedBody) MarshalBinary ¶
func (o *GetInstrumentCandlesUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetInstrumentCandlesUnauthorizedBody) UnmarshalBinary ¶
func (o *GetInstrumentCandlesUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetInstrumentPriceBadRequest ¶
type GetInstrumentPriceBadRequest struct { /*The unique identifier generated for the request */ RequestID string Payload *GetInstrumentPriceBadRequestBody }
GetInstrumentPriceBadRequest handles this case with default header values.
Bad Request. The client has provided invalid data to be processed by the server.
func NewGetInstrumentPriceBadRequest ¶
func NewGetInstrumentPriceBadRequest() *GetInstrumentPriceBadRequest
NewGetInstrumentPriceBadRequest creates a GetInstrumentPriceBadRequest with default headers values
func (*GetInstrumentPriceBadRequest) Error ¶
func (o *GetInstrumentPriceBadRequest) Error() string
type GetInstrumentPriceBadRequestBody ¶
type GetInstrumentPriceBadRequestBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetInstrumentPriceBadRequestBody get instrument price bad request body swagger:model GetInstrumentPriceBadRequestBody
func (*GetInstrumentPriceBadRequestBody) MarshalBinary ¶
func (o *GetInstrumentPriceBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetInstrumentPriceBadRequestBody) UnmarshalBinary ¶
func (o *GetInstrumentPriceBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetInstrumentPriceMethodNotAllowed ¶
type GetInstrumentPriceMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *GetInstrumentPriceMethodNotAllowedBody }
GetInstrumentPriceMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewGetInstrumentPriceMethodNotAllowed ¶
func NewGetInstrumentPriceMethodNotAllowed() *GetInstrumentPriceMethodNotAllowed
NewGetInstrumentPriceMethodNotAllowed creates a GetInstrumentPriceMethodNotAllowed with default headers values
func (*GetInstrumentPriceMethodNotAllowed) Error ¶
func (o *GetInstrumentPriceMethodNotAllowed) Error() string
type GetInstrumentPriceMethodNotAllowedBody ¶
type GetInstrumentPriceMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetInstrumentPriceMethodNotAllowedBody get instrument price method not allowed body swagger:model GetInstrumentPriceMethodNotAllowedBody
func (*GetInstrumentPriceMethodNotAllowedBody) MarshalBinary ¶
func (o *GetInstrumentPriceMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetInstrumentPriceMethodNotAllowedBody) UnmarshalBinary ¶
func (o *GetInstrumentPriceMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetInstrumentPriceNotFound ¶
type GetInstrumentPriceNotFound struct { /*The unique identifier generated for the request */ RequestID string Payload *GetInstrumentPriceNotFoundBody }
GetInstrumentPriceNotFound handles this case with default header values.
Not Found. The client has attempted to access an entity that does not exist.
func NewGetInstrumentPriceNotFound ¶
func NewGetInstrumentPriceNotFound() *GetInstrumentPriceNotFound
NewGetInstrumentPriceNotFound creates a GetInstrumentPriceNotFound with default headers values
func (*GetInstrumentPriceNotFound) Error ¶
func (o *GetInstrumentPriceNotFound) Error() string
type GetInstrumentPriceNotFoundBody ¶
type GetInstrumentPriceNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetInstrumentPriceNotFoundBody get instrument price not found body swagger:model GetInstrumentPriceNotFoundBody
func (*GetInstrumentPriceNotFoundBody) MarshalBinary ¶
func (o *GetInstrumentPriceNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetInstrumentPriceNotFoundBody) UnmarshalBinary ¶
func (o *GetInstrumentPriceNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetInstrumentPriceOK ¶
type GetInstrumentPriceOK struct { /*The unique identifier generated for the request */ RequestID string Payload *GetInstrumentPriceOKBody }
GetInstrumentPriceOK handles this case with default header values.
Pricing information has been successfully provided.
func NewGetInstrumentPriceOK ¶
func NewGetInstrumentPriceOK() *GetInstrumentPriceOK
NewGetInstrumentPriceOK creates a GetInstrumentPriceOK with default headers values
func (*GetInstrumentPriceOK) Error ¶
func (o *GetInstrumentPriceOK) Error() string
type GetInstrumentPriceOKBody ¶
GetInstrumentPriceOKBody get instrument price o k body swagger:model GetInstrumentPriceOKBody
func (*GetInstrumentPriceOKBody) MarshalBinary ¶
func (o *GetInstrumentPriceOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetInstrumentPriceOKBody) UnmarshalBinary ¶
func (o *GetInstrumentPriceOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetInstrumentPriceParams ¶
type GetInstrumentPriceParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*Instrument Name of the Instrument */ Instrument string /*Time The time at which the desired price is in effect. The current price is returned if no time is provided. */ Time *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInstrumentPriceParams contains all the parameters to send to the API endpoint for the get instrument price operation typically these are written to a http.Request
func NewGetInstrumentPriceParams ¶
func NewGetInstrumentPriceParams() *GetInstrumentPriceParams
NewGetInstrumentPriceParams creates a new GetInstrumentPriceParams object with the default values initialized.
func NewGetInstrumentPriceParamsWithContext ¶
func NewGetInstrumentPriceParamsWithContext(ctx context.Context) *GetInstrumentPriceParams
NewGetInstrumentPriceParamsWithContext creates a new GetInstrumentPriceParams object with the default values initialized, and the ability to set a context for a request
func NewGetInstrumentPriceParamsWithHTTPClient ¶
func NewGetInstrumentPriceParamsWithHTTPClient(client *http.Client) *GetInstrumentPriceParams
NewGetInstrumentPriceParamsWithHTTPClient creates a new GetInstrumentPriceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetInstrumentPriceParamsWithTimeout ¶
func NewGetInstrumentPriceParamsWithTimeout(timeout time.Duration) *GetInstrumentPriceParams
NewGetInstrumentPriceParamsWithTimeout creates a new GetInstrumentPriceParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetInstrumentPriceParams) SetAcceptDatetimeFormat ¶
func (o *GetInstrumentPriceParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the get instrument price params
func (*GetInstrumentPriceParams) SetAuthorization ¶
func (o *GetInstrumentPriceParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get instrument price params
func (*GetInstrumentPriceParams) SetContext ¶
func (o *GetInstrumentPriceParams) SetContext(ctx context.Context)
SetContext adds the context to the get instrument price params
func (*GetInstrumentPriceParams) SetHTTPClient ¶
func (o *GetInstrumentPriceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get instrument price params
func (*GetInstrumentPriceParams) SetInstrument ¶
func (o *GetInstrumentPriceParams) SetInstrument(instrument string)
SetInstrument adds the instrument to the get instrument price params
func (*GetInstrumentPriceParams) SetTime ¶
func (o *GetInstrumentPriceParams) SetTime(time *string)
SetTime adds the time to the get instrument price params
func (*GetInstrumentPriceParams) SetTimeout ¶
func (o *GetInstrumentPriceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get instrument price params
func (*GetInstrumentPriceParams) WithAcceptDatetimeFormat ¶
func (o *GetInstrumentPriceParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetInstrumentPriceParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the get instrument price params
func (*GetInstrumentPriceParams) WithAuthorization ¶
func (o *GetInstrumentPriceParams) WithAuthorization(authorization string) *GetInstrumentPriceParams
WithAuthorization adds the authorization to the get instrument price params
func (*GetInstrumentPriceParams) WithContext ¶
func (o *GetInstrumentPriceParams) WithContext(ctx context.Context) *GetInstrumentPriceParams
WithContext adds the context to the get instrument price params
func (*GetInstrumentPriceParams) WithHTTPClient ¶
func (o *GetInstrumentPriceParams) WithHTTPClient(client *http.Client) *GetInstrumentPriceParams
WithHTTPClient adds the HTTPClient to the get instrument price params
func (*GetInstrumentPriceParams) WithInstrument ¶
func (o *GetInstrumentPriceParams) WithInstrument(instrument string) *GetInstrumentPriceParams
WithInstrument adds the instrument to the get instrument price params
func (*GetInstrumentPriceParams) WithTime ¶
func (o *GetInstrumentPriceParams) WithTime(time *string) *GetInstrumentPriceParams
WithTime adds the time to the get instrument price params
func (*GetInstrumentPriceParams) WithTimeout ¶
func (o *GetInstrumentPriceParams) WithTimeout(timeout time.Duration) *GetInstrumentPriceParams
WithTimeout adds the timeout to the get instrument price params
func (*GetInstrumentPriceParams) WriteToRequest ¶
func (o *GetInstrumentPriceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInstrumentPriceRangeBadRequest ¶
type GetInstrumentPriceRangeBadRequest struct { /*The unique identifier generated for the request */ RequestID string Payload *GetInstrumentPriceRangeBadRequestBody }
GetInstrumentPriceRangeBadRequest handles this case with default header values.
Bad Request. The client has provided invalid data to be processed by the server.
func NewGetInstrumentPriceRangeBadRequest ¶
func NewGetInstrumentPriceRangeBadRequest() *GetInstrumentPriceRangeBadRequest
NewGetInstrumentPriceRangeBadRequest creates a GetInstrumentPriceRangeBadRequest with default headers values
func (*GetInstrumentPriceRangeBadRequest) Error ¶
func (o *GetInstrumentPriceRangeBadRequest) Error() string
type GetInstrumentPriceRangeBadRequestBody ¶
type GetInstrumentPriceRangeBadRequestBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetInstrumentPriceRangeBadRequestBody get instrument price range bad request body swagger:model GetInstrumentPriceRangeBadRequestBody
func (*GetInstrumentPriceRangeBadRequestBody) MarshalBinary ¶
func (o *GetInstrumentPriceRangeBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetInstrumentPriceRangeBadRequestBody) UnmarshalBinary ¶
func (o *GetInstrumentPriceRangeBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetInstrumentPriceRangeMethodNotAllowed ¶
type GetInstrumentPriceRangeMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *GetInstrumentPriceRangeMethodNotAllowedBody }
GetInstrumentPriceRangeMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewGetInstrumentPriceRangeMethodNotAllowed ¶
func NewGetInstrumentPriceRangeMethodNotAllowed() *GetInstrumentPriceRangeMethodNotAllowed
NewGetInstrumentPriceRangeMethodNotAllowed creates a GetInstrumentPriceRangeMethodNotAllowed with default headers values
func (*GetInstrumentPriceRangeMethodNotAllowed) Error ¶
func (o *GetInstrumentPriceRangeMethodNotAllowed) Error() string
type GetInstrumentPriceRangeMethodNotAllowedBody ¶
type GetInstrumentPriceRangeMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetInstrumentPriceRangeMethodNotAllowedBody get instrument price range method not allowed body swagger:model GetInstrumentPriceRangeMethodNotAllowedBody
func (*GetInstrumentPriceRangeMethodNotAllowedBody) MarshalBinary ¶
func (o *GetInstrumentPriceRangeMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetInstrumentPriceRangeMethodNotAllowedBody) UnmarshalBinary ¶
func (o *GetInstrumentPriceRangeMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetInstrumentPriceRangeNotFound ¶
type GetInstrumentPriceRangeNotFound struct { /*The unique identifier generated for the request */ RequestID string Payload *GetInstrumentPriceRangeNotFoundBody }
GetInstrumentPriceRangeNotFound handles this case with default header values.
Not Found. The client has attempted to access an entity that does not exist.
func NewGetInstrumentPriceRangeNotFound ¶
func NewGetInstrumentPriceRangeNotFound() *GetInstrumentPriceRangeNotFound
NewGetInstrumentPriceRangeNotFound creates a GetInstrumentPriceRangeNotFound with default headers values
func (*GetInstrumentPriceRangeNotFound) Error ¶
func (o *GetInstrumentPriceRangeNotFound) Error() string
type GetInstrumentPriceRangeNotFoundBody ¶
type GetInstrumentPriceRangeNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetInstrumentPriceRangeNotFoundBody get instrument price range not found body swagger:model GetInstrumentPriceRangeNotFoundBody
func (*GetInstrumentPriceRangeNotFoundBody) MarshalBinary ¶
func (o *GetInstrumentPriceRangeNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetInstrumentPriceRangeNotFoundBody) UnmarshalBinary ¶
func (o *GetInstrumentPriceRangeNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetInstrumentPriceRangeOK ¶
type GetInstrumentPriceRangeOK struct { /*A link to the next page of results if the results were paginated */ Link string /*The unique identifier generated for the request */ RequestID string Payload *GetInstrumentPriceRangeOKBody }
GetInstrumentPriceRangeOK handles this case with default header values.
Pricing information has been successfully provided.
func NewGetInstrumentPriceRangeOK ¶
func NewGetInstrumentPriceRangeOK() *GetInstrumentPriceRangeOK
NewGetInstrumentPriceRangeOK creates a GetInstrumentPriceRangeOK with default headers values
func (*GetInstrumentPriceRangeOK) Error ¶
func (o *GetInstrumentPriceRangeOK) Error() string
type GetInstrumentPriceRangeOKBody ¶
type GetInstrumentPriceRangeOKBody struct { // The list of prices that satisfy the request. Prices []*models.Price `json:"prices"` }
GetInstrumentPriceRangeOKBody get instrument price range o k body swagger:model GetInstrumentPriceRangeOKBody
func (*GetInstrumentPriceRangeOKBody) MarshalBinary ¶
func (o *GetInstrumentPriceRangeOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetInstrumentPriceRangeOKBody) UnmarshalBinary ¶
func (o *GetInstrumentPriceRangeOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetInstrumentPriceRangeParams ¶
type GetInstrumentPriceRangeParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*From The start of the time range to fetch prices for. */ From string /*Instrument Name of the Instrument */ Instrument string /*To The end of the time range to fetch prices for. The current time is used if this parameter is not provided. */ To *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInstrumentPriceRangeParams contains all the parameters to send to the API endpoint for the get instrument price range operation typically these are written to a http.Request
func NewGetInstrumentPriceRangeParams ¶
func NewGetInstrumentPriceRangeParams() *GetInstrumentPriceRangeParams
NewGetInstrumentPriceRangeParams creates a new GetInstrumentPriceRangeParams object with the default values initialized.
func NewGetInstrumentPriceRangeParamsWithContext ¶
func NewGetInstrumentPriceRangeParamsWithContext(ctx context.Context) *GetInstrumentPriceRangeParams
NewGetInstrumentPriceRangeParamsWithContext creates a new GetInstrumentPriceRangeParams object with the default values initialized, and the ability to set a context for a request
func NewGetInstrumentPriceRangeParamsWithHTTPClient ¶
func NewGetInstrumentPriceRangeParamsWithHTTPClient(client *http.Client) *GetInstrumentPriceRangeParams
NewGetInstrumentPriceRangeParamsWithHTTPClient creates a new GetInstrumentPriceRangeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetInstrumentPriceRangeParamsWithTimeout ¶
func NewGetInstrumentPriceRangeParamsWithTimeout(timeout time.Duration) *GetInstrumentPriceRangeParams
NewGetInstrumentPriceRangeParamsWithTimeout creates a new GetInstrumentPriceRangeParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetInstrumentPriceRangeParams) SetAcceptDatetimeFormat ¶
func (o *GetInstrumentPriceRangeParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the get instrument price range params
func (*GetInstrumentPriceRangeParams) SetAuthorization ¶
func (o *GetInstrumentPriceRangeParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get instrument price range params
func (*GetInstrumentPriceRangeParams) SetContext ¶
func (o *GetInstrumentPriceRangeParams) SetContext(ctx context.Context)
SetContext adds the context to the get instrument price range params
func (*GetInstrumentPriceRangeParams) SetFrom ¶
func (o *GetInstrumentPriceRangeParams) SetFrom(from string)
SetFrom adds the from to the get instrument price range params
func (*GetInstrumentPriceRangeParams) SetHTTPClient ¶
func (o *GetInstrumentPriceRangeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get instrument price range params
func (*GetInstrumentPriceRangeParams) SetInstrument ¶
func (o *GetInstrumentPriceRangeParams) SetInstrument(instrument string)
SetInstrument adds the instrument to the get instrument price range params
func (*GetInstrumentPriceRangeParams) SetTimeout ¶
func (o *GetInstrumentPriceRangeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get instrument price range params
func (*GetInstrumentPriceRangeParams) SetTo ¶
func (o *GetInstrumentPriceRangeParams) SetTo(to *string)
SetTo adds the to to the get instrument price range params
func (*GetInstrumentPriceRangeParams) WithAcceptDatetimeFormat ¶
func (o *GetInstrumentPriceRangeParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetInstrumentPriceRangeParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the get instrument price range params
func (*GetInstrumentPriceRangeParams) WithAuthorization ¶
func (o *GetInstrumentPriceRangeParams) WithAuthorization(authorization string) *GetInstrumentPriceRangeParams
WithAuthorization adds the authorization to the get instrument price range params
func (*GetInstrumentPriceRangeParams) WithContext ¶
func (o *GetInstrumentPriceRangeParams) WithContext(ctx context.Context) *GetInstrumentPriceRangeParams
WithContext adds the context to the get instrument price range params
func (*GetInstrumentPriceRangeParams) WithFrom ¶
func (o *GetInstrumentPriceRangeParams) WithFrom(from string) *GetInstrumentPriceRangeParams
WithFrom adds the from to the get instrument price range params
func (*GetInstrumentPriceRangeParams) WithHTTPClient ¶
func (o *GetInstrumentPriceRangeParams) WithHTTPClient(client *http.Client) *GetInstrumentPriceRangeParams
WithHTTPClient adds the HTTPClient to the get instrument price range params
func (*GetInstrumentPriceRangeParams) WithInstrument ¶
func (o *GetInstrumentPriceRangeParams) WithInstrument(instrument string) *GetInstrumentPriceRangeParams
WithInstrument adds the instrument to the get instrument price range params
func (*GetInstrumentPriceRangeParams) WithTimeout ¶
func (o *GetInstrumentPriceRangeParams) WithTimeout(timeout time.Duration) *GetInstrumentPriceRangeParams
WithTimeout adds the timeout to the get instrument price range params
func (*GetInstrumentPriceRangeParams) WithTo ¶
func (o *GetInstrumentPriceRangeParams) WithTo(to *string) *GetInstrumentPriceRangeParams
WithTo adds the to to the get instrument price range params
func (*GetInstrumentPriceRangeParams) WriteToRequest ¶
func (o *GetInstrumentPriceRangeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInstrumentPriceRangeReader ¶
type GetInstrumentPriceRangeReader struct {
// contains filtered or unexported fields
}
GetInstrumentPriceRangeReader is a Reader for the GetInstrumentPriceRange structure.
func (*GetInstrumentPriceRangeReader) ReadResponse ¶
func (o *GetInstrumentPriceRangeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInstrumentPriceRangeUnauthorized ¶
type GetInstrumentPriceRangeUnauthorized struct { string }RequestID
GetInstrumentPriceRangeUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewGetInstrumentPriceRangeUnauthorized ¶
func NewGetInstrumentPriceRangeUnauthorized() *GetInstrumentPriceRangeUnauthorized
NewGetInstrumentPriceRangeUnauthorized creates a GetInstrumentPriceRangeUnauthorized with default headers values
func (*GetInstrumentPriceRangeUnauthorized) Error ¶
func (o *GetInstrumentPriceRangeUnauthorized) Error() string
type GetInstrumentPriceRangeUnauthorizedBody ¶
type GetInstrumentPriceRangeUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
GetInstrumentPriceRangeUnauthorizedBody get instrument price range unauthorized body swagger:model GetInstrumentPriceRangeUnauthorizedBody
func (*GetInstrumentPriceRangeUnauthorizedBody) MarshalBinary ¶
func (o *GetInstrumentPriceRangeUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetInstrumentPriceRangeUnauthorizedBody) UnmarshalBinary ¶
func (o *GetInstrumentPriceRangeUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetInstrumentPriceReader ¶
type GetInstrumentPriceReader struct {
// contains filtered or unexported fields
}
GetInstrumentPriceReader is a Reader for the GetInstrumentPrice structure.
func (*GetInstrumentPriceReader) ReadResponse ¶
func (o *GetInstrumentPriceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInstrumentPriceUnauthorized ¶
type GetInstrumentPriceUnauthorized struct { string }RequestID
GetInstrumentPriceUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewGetInstrumentPriceUnauthorized ¶
func NewGetInstrumentPriceUnauthorized() *GetInstrumentPriceUnauthorized
NewGetInstrumentPriceUnauthorized creates a GetInstrumentPriceUnauthorized with default headers values
func (*GetInstrumentPriceUnauthorized) Error ¶
func (o *GetInstrumentPriceUnauthorized) Error() string
type GetInstrumentPriceUnauthorizedBody ¶
type GetInstrumentPriceUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
GetInstrumentPriceUnauthorizedBody get instrument price unauthorized body swagger:model GetInstrumentPriceUnauthorizedBody
func (*GetInstrumentPriceUnauthorizedBody) MarshalBinary ¶
func (o *GetInstrumentPriceUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetInstrumentPriceUnauthorizedBody) UnmarshalBinary ¶
func (o *GetInstrumentPriceUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetInstrumentsInstrumentOrderBookBadRequest ¶
type GetInstrumentsInstrumentOrderBookBadRequest struct { /*The unique identifier generated for the request */ RequestID string Payload *GetInstrumentsInstrumentOrderBookBadRequestBody }
GetInstrumentsInstrumentOrderBookBadRequest handles this case with default header values.
Bad Request. The client has provided invalid data to be processed by the server.
func NewGetInstrumentsInstrumentOrderBookBadRequest ¶
func NewGetInstrumentsInstrumentOrderBookBadRequest() *GetInstrumentsInstrumentOrderBookBadRequest
NewGetInstrumentsInstrumentOrderBookBadRequest creates a GetInstrumentsInstrumentOrderBookBadRequest with default headers values
func (*GetInstrumentsInstrumentOrderBookBadRequest) Error ¶
func (o *GetInstrumentsInstrumentOrderBookBadRequest) Error() string
type GetInstrumentsInstrumentOrderBookBadRequestBody ¶
type GetInstrumentsInstrumentOrderBookBadRequestBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetInstrumentsInstrumentOrderBookBadRequestBody get instruments instrument order book bad request body swagger:model GetInstrumentsInstrumentOrderBookBadRequestBody
func (*GetInstrumentsInstrumentOrderBookBadRequestBody) MarshalBinary ¶
func (o *GetInstrumentsInstrumentOrderBookBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetInstrumentsInstrumentOrderBookBadRequestBody) UnmarshalBinary ¶
func (o *GetInstrumentsInstrumentOrderBookBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetInstrumentsInstrumentOrderBookMethodNotAllowed ¶
type GetInstrumentsInstrumentOrderBookMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *GetInstrumentsInstrumentOrderBookMethodNotAllowedBody }
GetInstrumentsInstrumentOrderBookMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewGetInstrumentsInstrumentOrderBookMethodNotAllowed ¶
func NewGetInstrumentsInstrumentOrderBookMethodNotAllowed() *GetInstrumentsInstrumentOrderBookMethodNotAllowed
NewGetInstrumentsInstrumentOrderBookMethodNotAllowed creates a GetInstrumentsInstrumentOrderBookMethodNotAllowed with default headers values
func (*GetInstrumentsInstrumentOrderBookMethodNotAllowed) Error ¶
func (o *GetInstrumentsInstrumentOrderBookMethodNotAllowed) Error() string
type GetInstrumentsInstrumentOrderBookMethodNotAllowedBody ¶
type GetInstrumentsInstrumentOrderBookMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetInstrumentsInstrumentOrderBookMethodNotAllowedBody get instruments instrument order book method not allowed body swagger:model GetInstrumentsInstrumentOrderBookMethodNotAllowedBody
func (*GetInstrumentsInstrumentOrderBookMethodNotAllowedBody) MarshalBinary ¶
func (o *GetInstrumentsInstrumentOrderBookMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetInstrumentsInstrumentOrderBookMethodNotAllowedBody) UnmarshalBinary ¶
func (o *GetInstrumentsInstrumentOrderBookMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetInstrumentsInstrumentOrderBookNotFound ¶
type GetInstrumentsInstrumentOrderBookNotFound struct { /*The unique identifier generated for the request */ RequestID string Payload *GetInstrumentsInstrumentOrderBookNotFoundBody }
GetInstrumentsInstrumentOrderBookNotFound handles this case with default header values.
Not Found. The client has attempted to access an entity that does not exist.
func NewGetInstrumentsInstrumentOrderBookNotFound ¶
func NewGetInstrumentsInstrumentOrderBookNotFound() *GetInstrumentsInstrumentOrderBookNotFound
NewGetInstrumentsInstrumentOrderBookNotFound creates a GetInstrumentsInstrumentOrderBookNotFound with default headers values
func (*GetInstrumentsInstrumentOrderBookNotFound) Error ¶
func (o *GetInstrumentsInstrumentOrderBookNotFound) Error() string
type GetInstrumentsInstrumentOrderBookNotFoundBody ¶
type GetInstrumentsInstrumentOrderBookNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetInstrumentsInstrumentOrderBookNotFoundBody get instruments instrument order book not found body swagger:model GetInstrumentsInstrumentOrderBookNotFoundBody
func (*GetInstrumentsInstrumentOrderBookNotFoundBody) MarshalBinary ¶
func (o *GetInstrumentsInstrumentOrderBookNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetInstrumentsInstrumentOrderBookNotFoundBody) UnmarshalBinary ¶
func (o *GetInstrumentsInstrumentOrderBookNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetInstrumentsInstrumentOrderBookOK ¶
type GetInstrumentsInstrumentOrderBookOK struct { /*Value will be "gzip" regardless of provided Accept-Encoding header */ ContentEncoding string /*A link to the next/previous order book snapshot. */ Link string /*The unique identifier generated for the request */ RequestID string Payload *GetInstrumentsInstrumentOrderBookOKBody }
GetInstrumentsInstrumentOrderBookOK handles this case with default header values.
The order book has been successfully provided.
func NewGetInstrumentsInstrumentOrderBookOK ¶
func NewGetInstrumentsInstrumentOrderBookOK() *GetInstrumentsInstrumentOrderBookOK
NewGetInstrumentsInstrumentOrderBookOK creates a GetInstrumentsInstrumentOrderBookOK with default headers values
func (*GetInstrumentsInstrumentOrderBookOK) Error ¶
func (o *GetInstrumentsInstrumentOrderBookOK) Error() string
type GetInstrumentsInstrumentOrderBookOKBody ¶
type GetInstrumentsInstrumentOrderBookOKBody struct { // order book OrderBook *models.OrderBook `json:"orderBook,omitempty"` }
GetInstrumentsInstrumentOrderBookOKBody get instruments instrument order book o k body swagger:model GetInstrumentsInstrumentOrderBookOKBody
func (*GetInstrumentsInstrumentOrderBookOKBody) MarshalBinary ¶
func (o *GetInstrumentsInstrumentOrderBookOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetInstrumentsInstrumentOrderBookOKBody) UnmarshalBinary ¶
func (o *GetInstrumentsInstrumentOrderBookOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetInstrumentsInstrumentOrderBookParams ¶
type GetInstrumentsInstrumentOrderBookParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*Instrument Name of the Instrument */ Instrument string /*Time The time of the snapshot to fetch. If not specified, then the most recent snapshot is fetched. */ Time *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInstrumentsInstrumentOrderBookParams contains all the parameters to send to the API endpoint for the get instruments instrument order book operation typically these are written to a http.Request
func NewGetInstrumentsInstrumentOrderBookParams ¶
func NewGetInstrumentsInstrumentOrderBookParams() *GetInstrumentsInstrumentOrderBookParams
NewGetInstrumentsInstrumentOrderBookParams creates a new GetInstrumentsInstrumentOrderBookParams object with the default values initialized.
func NewGetInstrumentsInstrumentOrderBookParamsWithContext ¶
func NewGetInstrumentsInstrumentOrderBookParamsWithContext(ctx context.Context) *GetInstrumentsInstrumentOrderBookParams
NewGetInstrumentsInstrumentOrderBookParamsWithContext creates a new GetInstrumentsInstrumentOrderBookParams object with the default values initialized, and the ability to set a context for a request
func NewGetInstrumentsInstrumentOrderBookParamsWithHTTPClient ¶
func NewGetInstrumentsInstrumentOrderBookParamsWithHTTPClient(client *http.Client) *GetInstrumentsInstrumentOrderBookParams
NewGetInstrumentsInstrumentOrderBookParamsWithHTTPClient creates a new GetInstrumentsInstrumentOrderBookParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetInstrumentsInstrumentOrderBookParamsWithTimeout ¶
func NewGetInstrumentsInstrumentOrderBookParamsWithTimeout(timeout time.Duration) *GetInstrumentsInstrumentOrderBookParams
NewGetInstrumentsInstrumentOrderBookParamsWithTimeout creates a new GetInstrumentsInstrumentOrderBookParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetInstrumentsInstrumentOrderBookParams) SetAcceptDatetimeFormat ¶
func (o *GetInstrumentsInstrumentOrderBookParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the get instruments instrument order book params
func (*GetInstrumentsInstrumentOrderBookParams) SetAuthorization ¶
func (o *GetInstrumentsInstrumentOrderBookParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get instruments instrument order book params
func (*GetInstrumentsInstrumentOrderBookParams) SetContext ¶
func (o *GetInstrumentsInstrumentOrderBookParams) SetContext(ctx context.Context)
SetContext adds the context to the get instruments instrument order book params
func (*GetInstrumentsInstrumentOrderBookParams) SetHTTPClient ¶
func (o *GetInstrumentsInstrumentOrderBookParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get instruments instrument order book params
func (*GetInstrumentsInstrumentOrderBookParams) SetInstrument ¶
func (o *GetInstrumentsInstrumentOrderBookParams) SetInstrument(instrument string)
SetInstrument adds the instrument to the get instruments instrument order book params
func (*GetInstrumentsInstrumentOrderBookParams) SetTime ¶
func (o *GetInstrumentsInstrumentOrderBookParams) SetTime(time *string)
SetTime adds the time to the get instruments instrument order book params
func (*GetInstrumentsInstrumentOrderBookParams) SetTimeout ¶
func (o *GetInstrumentsInstrumentOrderBookParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get instruments instrument order book params
func (*GetInstrumentsInstrumentOrderBookParams) WithAcceptDatetimeFormat ¶
func (o *GetInstrumentsInstrumentOrderBookParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetInstrumentsInstrumentOrderBookParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the get instruments instrument order book params
func (*GetInstrumentsInstrumentOrderBookParams) WithAuthorization ¶
func (o *GetInstrumentsInstrumentOrderBookParams) WithAuthorization(authorization string) *GetInstrumentsInstrumentOrderBookParams
WithAuthorization adds the authorization to the get instruments instrument order book params
func (*GetInstrumentsInstrumentOrderBookParams) WithContext ¶
func (o *GetInstrumentsInstrumentOrderBookParams) WithContext(ctx context.Context) *GetInstrumentsInstrumentOrderBookParams
WithContext adds the context to the get instruments instrument order book params
func (*GetInstrumentsInstrumentOrderBookParams) WithHTTPClient ¶
func (o *GetInstrumentsInstrumentOrderBookParams) WithHTTPClient(client *http.Client) *GetInstrumentsInstrumentOrderBookParams
WithHTTPClient adds the HTTPClient to the get instruments instrument order book params
func (*GetInstrumentsInstrumentOrderBookParams) WithInstrument ¶
func (o *GetInstrumentsInstrumentOrderBookParams) WithInstrument(instrument string) *GetInstrumentsInstrumentOrderBookParams
WithInstrument adds the instrument to the get instruments instrument order book params
func (*GetInstrumentsInstrumentOrderBookParams) WithTime ¶
func (o *GetInstrumentsInstrumentOrderBookParams) WithTime(time *string) *GetInstrumentsInstrumentOrderBookParams
WithTime adds the time to the get instruments instrument order book params
func (*GetInstrumentsInstrumentOrderBookParams) WithTimeout ¶
func (o *GetInstrumentsInstrumentOrderBookParams) WithTimeout(timeout time.Duration) *GetInstrumentsInstrumentOrderBookParams
WithTimeout adds the timeout to the get instruments instrument order book params
func (*GetInstrumentsInstrumentOrderBookParams) WriteToRequest ¶
func (o *GetInstrumentsInstrumentOrderBookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInstrumentsInstrumentOrderBookReader ¶
type GetInstrumentsInstrumentOrderBookReader struct {
// contains filtered or unexported fields
}
GetInstrumentsInstrumentOrderBookReader is a Reader for the GetInstrumentsInstrumentOrderBook structure.
func (*GetInstrumentsInstrumentOrderBookReader) ReadResponse ¶
func (o *GetInstrumentsInstrumentOrderBookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInstrumentsInstrumentOrderBookUnauthorized ¶
type GetInstrumentsInstrumentOrderBookUnauthorized struct { string }RequestID
GetInstrumentsInstrumentOrderBookUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewGetInstrumentsInstrumentOrderBookUnauthorized ¶
func NewGetInstrumentsInstrumentOrderBookUnauthorized() *GetInstrumentsInstrumentOrderBookUnauthorized
NewGetInstrumentsInstrumentOrderBookUnauthorized creates a GetInstrumentsInstrumentOrderBookUnauthorized with default headers values
func (*GetInstrumentsInstrumentOrderBookUnauthorized) Error ¶
func (o *GetInstrumentsInstrumentOrderBookUnauthorized) Error() string
type GetInstrumentsInstrumentOrderBookUnauthorizedBody ¶
type GetInstrumentsInstrumentOrderBookUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
GetInstrumentsInstrumentOrderBookUnauthorizedBody get instruments instrument order book unauthorized body swagger:model GetInstrumentsInstrumentOrderBookUnauthorizedBody
func (*GetInstrumentsInstrumentOrderBookUnauthorizedBody) MarshalBinary ¶
func (o *GetInstrumentsInstrumentOrderBookUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetInstrumentsInstrumentOrderBookUnauthorizedBody) UnmarshalBinary ¶
func (o *GetInstrumentsInstrumentOrderBookUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetInstrumentsInstrumentPositionBookBadRequest ¶
type GetInstrumentsInstrumentPositionBookBadRequest struct { /*The unique identifier generated for the request */ RequestID string Payload *GetInstrumentsInstrumentPositionBookBadRequestBody }
GetInstrumentsInstrumentPositionBookBadRequest handles this case with default header values.
Bad Request. The client has provided invalid data to be processed by the server.
func NewGetInstrumentsInstrumentPositionBookBadRequest ¶
func NewGetInstrumentsInstrumentPositionBookBadRequest() *GetInstrumentsInstrumentPositionBookBadRequest
NewGetInstrumentsInstrumentPositionBookBadRequest creates a GetInstrumentsInstrumentPositionBookBadRequest with default headers values
func (*GetInstrumentsInstrumentPositionBookBadRequest) Error ¶
func (o *GetInstrumentsInstrumentPositionBookBadRequest) Error() string
type GetInstrumentsInstrumentPositionBookBadRequestBody ¶
type GetInstrumentsInstrumentPositionBookBadRequestBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetInstrumentsInstrumentPositionBookBadRequestBody get instruments instrument position book bad request body swagger:model GetInstrumentsInstrumentPositionBookBadRequestBody
func (*GetInstrumentsInstrumentPositionBookBadRequestBody) MarshalBinary ¶
func (o *GetInstrumentsInstrumentPositionBookBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetInstrumentsInstrumentPositionBookBadRequestBody) UnmarshalBinary ¶
func (o *GetInstrumentsInstrumentPositionBookBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetInstrumentsInstrumentPositionBookMethodNotAllowed ¶
type GetInstrumentsInstrumentPositionBookMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *GetInstrumentsInstrumentPositionBookMethodNotAllowedBody }
GetInstrumentsInstrumentPositionBookMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewGetInstrumentsInstrumentPositionBookMethodNotAllowed ¶
func NewGetInstrumentsInstrumentPositionBookMethodNotAllowed() *GetInstrumentsInstrumentPositionBookMethodNotAllowed
NewGetInstrumentsInstrumentPositionBookMethodNotAllowed creates a GetInstrumentsInstrumentPositionBookMethodNotAllowed with default headers values
func (*GetInstrumentsInstrumentPositionBookMethodNotAllowed) Error ¶
func (o *GetInstrumentsInstrumentPositionBookMethodNotAllowed) Error() string
type GetInstrumentsInstrumentPositionBookMethodNotAllowedBody ¶
type GetInstrumentsInstrumentPositionBookMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetInstrumentsInstrumentPositionBookMethodNotAllowedBody get instruments instrument position book method not allowed body swagger:model GetInstrumentsInstrumentPositionBookMethodNotAllowedBody
func (*GetInstrumentsInstrumentPositionBookMethodNotAllowedBody) MarshalBinary ¶
func (o *GetInstrumentsInstrumentPositionBookMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetInstrumentsInstrumentPositionBookMethodNotAllowedBody) UnmarshalBinary ¶
func (o *GetInstrumentsInstrumentPositionBookMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetInstrumentsInstrumentPositionBookNotFound ¶
type GetInstrumentsInstrumentPositionBookNotFound struct { /*The unique identifier generated for the request */ RequestID string Payload *GetInstrumentsInstrumentPositionBookNotFoundBody }
GetInstrumentsInstrumentPositionBookNotFound handles this case with default header values.
Not Found. The client has attempted to access an entity that does not exist.
func NewGetInstrumentsInstrumentPositionBookNotFound ¶
func NewGetInstrumentsInstrumentPositionBookNotFound() *GetInstrumentsInstrumentPositionBookNotFound
NewGetInstrumentsInstrumentPositionBookNotFound creates a GetInstrumentsInstrumentPositionBookNotFound with default headers values
func (*GetInstrumentsInstrumentPositionBookNotFound) Error ¶
func (o *GetInstrumentsInstrumentPositionBookNotFound) Error() string
type GetInstrumentsInstrumentPositionBookNotFoundBody ¶
type GetInstrumentsInstrumentPositionBookNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetInstrumentsInstrumentPositionBookNotFoundBody get instruments instrument position book not found body swagger:model GetInstrumentsInstrumentPositionBookNotFoundBody
func (*GetInstrumentsInstrumentPositionBookNotFoundBody) MarshalBinary ¶
func (o *GetInstrumentsInstrumentPositionBookNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetInstrumentsInstrumentPositionBookNotFoundBody) UnmarshalBinary ¶
func (o *GetInstrumentsInstrumentPositionBookNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetInstrumentsInstrumentPositionBookOK ¶
type GetInstrumentsInstrumentPositionBookOK struct { /*Value will be "gzip" regardless of provided Accept-Encoding header */ ContentEncoding string /*A link to the next/previous position book snapshot. */ Link string /*The unique identifier generated for the request */ RequestID string Payload *GetInstrumentsInstrumentPositionBookOKBody }
GetInstrumentsInstrumentPositionBookOK handles this case with default header values.
The position book has been successfully provided.
func NewGetInstrumentsInstrumentPositionBookOK ¶
func NewGetInstrumentsInstrumentPositionBookOK() *GetInstrumentsInstrumentPositionBookOK
NewGetInstrumentsInstrumentPositionBookOK creates a GetInstrumentsInstrumentPositionBookOK with default headers values
func (*GetInstrumentsInstrumentPositionBookOK) Error ¶
func (o *GetInstrumentsInstrumentPositionBookOK) Error() string
type GetInstrumentsInstrumentPositionBookOKBody ¶
type GetInstrumentsInstrumentPositionBookOKBody struct { // position book PositionBook *models.PositionBook `json:"positionBook,omitempty"` }
GetInstrumentsInstrumentPositionBookOKBody get instruments instrument position book o k body swagger:model GetInstrumentsInstrumentPositionBookOKBody
func (*GetInstrumentsInstrumentPositionBookOKBody) MarshalBinary ¶
func (o *GetInstrumentsInstrumentPositionBookOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetInstrumentsInstrumentPositionBookOKBody) UnmarshalBinary ¶
func (o *GetInstrumentsInstrumentPositionBookOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetInstrumentsInstrumentPositionBookParams ¶
type GetInstrumentsInstrumentPositionBookParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*Instrument Name of the Instrument */ Instrument string /*Time The time of the snapshot to fetch. If not specified, then the most recent snapshot is fetched. */ Time *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInstrumentsInstrumentPositionBookParams contains all the parameters to send to the API endpoint for the get instruments instrument position book operation typically these are written to a http.Request
func NewGetInstrumentsInstrumentPositionBookParams ¶
func NewGetInstrumentsInstrumentPositionBookParams() *GetInstrumentsInstrumentPositionBookParams
NewGetInstrumentsInstrumentPositionBookParams creates a new GetInstrumentsInstrumentPositionBookParams object with the default values initialized.
func NewGetInstrumentsInstrumentPositionBookParamsWithContext ¶
func NewGetInstrumentsInstrumentPositionBookParamsWithContext(ctx context.Context) *GetInstrumentsInstrumentPositionBookParams
NewGetInstrumentsInstrumentPositionBookParamsWithContext creates a new GetInstrumentsInstrumentPositionBookParams object with the default values initialized, and the ability to set a context for a request
func NewGetInstrumentsInstrumentPositionBookParamsWithHTTPClient ¶
func NewGetInstrumentsInstrumentPositionBookParamsWithHTTPClient(client *http.Client) *GetInstrumentsInstrumentPositionBookParams
NewGetInstrumentsInstrumentPositionBookParamsWithHTTPClient creates a new GetInstrumentsInstrumentPositionBookParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetInstrumentsInstrumentPositionBookParamsWithTimeout ¶
func NewGetInstrumentsInstrumentPositionBookParamsWithTimeout(timeout time.Duration) *GetInstrumentsInstrumentPositionBookParams
NewGetInstrumentsInstrumentPositionBookParamsWithTimeout creates a new GetInstrumentsInstrumentPositionBookParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetInstrumentsInstrumentPositionBookParams) SetAcceptDatetimeFormat ¶
func (o *GetInstrumentsInstrumentPositionBookParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the get instruments instrument position book params
func (*GetInstrumentsInstrumentPositionBookParams) SetAuthorization ¶
func (o *GetInstrumentsInstrumentPositionBookParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get instruments instrument position book params
func (*GetInstrumentsInstrumentPositionBookParams) SetContext ¶
func (o *GetInstrumentsInstrumentPositionBookParams) SetContext(ctx context.Context)
SetContext adds the context to the get instruments instrument position book params
func (*GetInstrumentsInstrumentPositionBookParams) SetHTTPClient ¶
func (o *GetInstrumentsInstrumentPositionBookParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get instruments instrument position book params
func (*GetInstrumentsInstrumentPositionBookParams) SetInstrument ¶
func (o *GetInstrumentsInstrumentPositionBookParams) SetInstrument(instrument string)
SetInstrument adds the instrument to the get instruments instrument position book params
func (*GetInstrumentsInstrumentPositionBookParams) SetTime ¶
func (o *GetInstrumentsInstrumentPositionBookParams) SetTime(time *string)
SetTime adds the time to the get instruments instrument position book params
func (*GetInstrumentsInstrumentPositionBookParams) SetTimeout ¶
func (o *GetInstrumentsInstrumentPositionBookParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get instruments instrument position book params
func (*GetInstrumentsInstrumentPositionBookParams) WithAcceptDatetimeFormat ¶
func (o *GetInstrumentsInstrumentPositionBookParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetInstrumentsInstrumentPositionBookParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the get instruments instrument position book params
func (*GetInstrumentsInstrumentPositionBookParams) WithAuthorization ¶
func (o *GetInstrumentsInstrumentPositionBookParams) WithAuthorization(authorization string) *GetInstrumentsInstrumentPositionBookParams
WithAuthorization adds the authorization to the get instruments instrument position book params
func (*GetInstrumentsInstrumentPositionBookParams) WithContext ¶
func (o *GetInstrumentsInstrumentPositionBookParams) WithContext(ctx context.Context) *GetInstrumentsInstrumentPositionBookParams
WithContext adds the context to the get instruments instrument position book params
func (*GetInstrumentsInstrumentPositionBookParams) WithHTTPClient ¶
func (o *GetInstrumentsInstrumentPositionBookParams) WithHTTPClient(client *http.Client) *GetInstrumentsInstrumentPositionBookParams
WithHTTPClient adds the HTTPClient to the get instruments instrument position book params
func (*GetInstrumentsInstrumentPositionBookParams) WithInstrument ¶
func (o *GetInstrumentsInstrumentPositionBookParams) WithInstrument(instrument string) *GetInstrumentsInstrumentPositionBookParams
WithInstrument adds the instrument to the get instruments instrument position book params
func (*GetInstrumentsInstrumentPositionBookParams) WithTime ¶
func (o *GetInstrumentsInstrumentPositionBookParams) WithTime(time *string) *GetInstrumentsInstrumentPositionBookParams
WithTime adds the time to the get instruments instrument position book params
func (*GetInstrumentsInstrumentPositionBookParams) WithTimeout ¶
func (o *GetInstrumentsInstrumentPositionBookParams) WithTimeout(timeout time.Duration) *GetInstrumentsInstrumentPositionBookParams
WithTimeout adds the timeout to the get instruments instrument position book params
func (*GetInstrumentsInstrumentPositionBookParams) WriteToRequest ¶
func (o *GetInstrumentsInstrumentPositionBookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInstrumentsInstrumentPositionBookReader ¶
type GetInstrumentsInstrumentPositionBookReader struct {
// contains filtered or unexported fields
}
GetInstrumentsInstrumentPositionBookReader is a Reader for the GetInstrumentsInstrumentPositionBook structure.
func (*GetInstrumentsInstrumentPositionBookReader) ReadResponse ¶
func (o *GetInstrumentsInstrumentPositionBookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInstrumentsInstrumentPositionBookUnauthorized ¶
type GetInstrumentsInstrumentPositionBookUnauthorized struct { string }RequestID
GetInstrumentsInstrumentPositionBookUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewGetInstrumentsInstrumentPositionBookUnauthorized ¶
func NewGetInstrumentsInstrumentPositionBookUnauthorized() *GetInstrumentsInstrumentPositionBookUnauthorized
NewGetInstrumentsInstrumentPositionBookUnauthorized creates a GetInstrumentsInstrumentPositionBookUnauthorized with default headers values
func (*GetInstrumentsInstrumentPositionBookUnauthorized) Error ¶
func (o *GetInstrumentsInstrumentPositionBookUnauthorized) Error() string
type GetInstrumentsInstrumentPositionBookUnauthorizedBody ¶
type GetInstrumentsInstrumentPositionBookUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
GetInstrumentsInstrumentPositionBookUnauthorizedBody get instruments instrument position book unauthorized body swagger:model GetInstrumentsInstrumentPositionBookUnauthorizedBody
func (*GetInstrumentsInstrumentPositionBookUnauthorizedBody) MarshalBinary ¶
func (o *GetInstrumentsInstrumentPositionBookUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetInstrumentsInstrumentPositionBookUnauthorizedBody) UnmarshalBinary ¶
func (o *GetInstrumentsInstrumentPositionBookUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrderMethodNotAllowed ¶
type GetOrderMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *GetOrderMethodNotAllowedBody }
GetOrderMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewGetOrderMethodNotAllowed ¶
func NewGetOrderMethodNotAllowed() *GetOrderMethodNotAllowed
NewGetOrderMethodNotAllowed creates a GetOrderMethodNotAllowed with default headers values
func (*GetOrderMethodNotAllowed) Error ¶
func (o *GetOrderMethodNotAllowed) Error() string
type GetOrderMethodNotAllowedBody ¶
type GetOrderMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetOrderMethodNotAllowedBody get order method not allowed body swagger:model GetOrderMethodNotAllowedBody
func (*GetOrderMethodNotAllowedBody) MarshalBinary ¶
func (o *GetOrderMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrderMethodNotAllowedBody) UnmarshalBinary ¶
func (o *GetOrderMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrderNotFound ¶
type GetOrderNotFound struct { /*The unique identifier generated for the request */ RequestID string Payload *GetOrderNotFoundBody }
GetOrderNotFound handles this case with default header values.
Not Found. The client has attempted to access an entity that does not exist.
func NewGetOrderNotFound ¶
func NewGetOrderNotFound() *GetOrderNotFound
NewGetOrderNotFound creates a GetOrderNotFound with default headers values
func (*GetOrderNotFound) Error ¶
func (o *GetOrderNotFound) Error() string
type GetOrderNotFoundBody ¶
type GetOrderNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetOrderNotFoundBody get order not found body swagger:model GetOrderNotFoundBody
func (*GetOrderNotFoundBody) MarshalBinary ¶
func (o *GetOrderNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrderNotFoundBody) UnmarshalBinary ¶
func (o *GetOrderNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrderOK ¶
type GetOrderOK struct { /*A link to the next page of results if the results were paginated */ Link string /*The unique identifier generated for the request */ RequestID string Payload *GetOrderOKBody }
GetOrderOK handles this case with default header values.
The details of the Order requested
func NewGetOrderOK ¶
func NewGetOrderOK() *GetOrderOK
NewGetOrderOK creates a GetOrderOK with default headers values
func (*GetOrderOK) Error ¶
func (o *GetOrderOK) Error() string
type GetOrderOKBody ¶
type GetOrderOKBody struct { // The ID of the most recent Transaction created for the Account LastTransactionID string `json:"lastTransactionID,omitempty"` // order Order *models.Order `json:"order,omitempty"` }
GetOrderOKBody get order o k body swagger:model GetOrderOKBody
func (*GetOrderOKBody) MarshalBinary ¶
func (o *GetOrderOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrderOKBody) UnmarshalBinary ¶
func (o *GetOrderOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrderParams ¶
type GetOrderParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*AccountID Account Identifier */ AccountID string /*OrderSpecifier The Order Specifier */ OrderSpecifier string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrderParams contains all the parameters to send to the API endpoint for the get order operation typically these are written to a http.Request
func NewGetOrderParams ¶
func NewGetOrderParams() *GetOrderParams
NewGetOrderParams creates a new GetOrderParams object with the default values initialized.
func NewGetOrderParamsWithContext ¶
func NewGetOrderParamsWithContext(ctx context.Context) *GetOrderParams
NewGetOrderParamsWithContext creates a new GetOrderParams object with the default values initialized, and the ability to set a context for a request
func NewGetOrderParamsWithHTTPClient ¶
func NewGetOrderParamsWithHTTPClient(client *http.Client) *GetOrderParams
NewGetOrderParamsWithHTTPClient creates a new GetOrderParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetOrderParamsWithTimeout ¶
func NewGetOrderParamsWithTimeout(timeout time.Duration) *GetOrderParams
NewGetOrderParamsWithTimeout creates a new GetOrderParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetOrderParams) SetAcceptDatetimeFormat ¶
func (o *GetOrderParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the get order params
func (*GetOrderParams) SetAccountID ¶
func (o *GetOrderParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the get order params
func (*GetOrderParams) SetAuthorization ¶
func (o *GetOrderParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get order params
func (*GetOrderParams) SetContext ¶
func (o *GetOrderParams) SetContext(ctx context.Context)
SetContext adds the context to the get order params
func (*GetOrderParams) SetHTTPClient ¶
func (o *GetOrderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get order params
func (*GetOrderParams) SetOrderSpecifier ¶
func (o *GetOrderParams) SetOrderSpecifier(orderSpecifier string)
SetOrderSpecifier adds the orderSpecifier to the get order params
func (*GetOrderParams) SetTimeout ¶
func (o *GetOrderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get order params
func (*GetOrderParams) WithAcceptDatetimeFormat ¶
func (o *GetOrderParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetOrderParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the get order params
func (*GetOrderParams) WithAccountID ¶
func (o *GetOrderParams) WithAccountID(accountID string) *GetOrderParams
WithAccountID adds the accountID to the get order params
func (*GetOrderParams) WithAuthorization ¶
func (o *GetOrderParams) WithAuthorization(authorization string) *GetOrderParams
WithAuthorization adds the authorization to the get order params
func (*GetOrderParams) WithContext ¶
func (o *GetOrderParams) WithContext(ctx context.Context) *GetOrderParams
WithContext adds the context to the get order params
func (*GetOrderParams) WithHTTPClient ¶
func (o *GetOrderParams) WithHTTPClient(client *http.Client) *GetOrderParams
WithHTTPClient adds the HTTPClient to the get order params
func (*GetOrderParams) WithOrderSpecifier ¶
func (o *GetOrderParams) WithOrderSpecifier(orderSpecifier string) *GetOrderParams
WithOrderSpecifier adds the orderSpecifier to the get order params
func (*GetOrderParams) WithTimeout ¶
func (o *GetOrderParams) WithTimeout(timeout time.Duration) *GetOrderParams
WithTimeout adds the timeout to the get order params
func (*GetOrderParams) WriteToRequest ¶
func (o *GetOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrderReader ¶
type GetOrderReader struct {
// contains filtered or unexported fields
}
GetOrderReader is a Reader for the GetOrder structure.
func (*GetOrderReader) ReadResponse ¶
func (o *GetOrderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrderUnauthorized ¶
type GetOrderUnauthorized struct { string }RequestID
GetOrderUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewGetOrderUnauthorized ¶
func NewGetOrderUnauthorized() *GetOrderUnauthorized
NewGetOrderUnauthorized creates a GetOrderUnauthorized with default headers values
func (*GetOrderUnauthorized) Error ¶
func (o *GetOrderUnauthorized) Error() string
type GetOrderUnauthorizedBody ¶
type GetOrderUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
GetOrderUnauthorizedBody get order unauthorized body swagger:model GetOrderUnauthorizedBody
func (*GetOrderUnauthorizedBody) MarshalBinary ¶
func (o *GetOrderUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrderUnauthorizedBody) UnmarshalBinary ¶
func (o *GetOrderUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPositionMethodNotAllowed ¶
type GetPositionMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *GetPositionMethodNotAllowedBody }
GetPositionMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewGetPositionMethodNotAllowed ¶
func NewGetPositionMethodNotAllowed() *GetPositionMethodNotAllowed
NewGetPositionMethodNotAllowed creates a GetPositionMethodNotAllowed with default headers values
func (*GetPositionMethodNotAllowed) Error ¶
func (o *GetPositionMethodNotAllowed) Error() string
type GetPositionMethodNotAllowedBody ¶
type GetPositionMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetPositionMethodNotAllowedBody get position method not allowed body swagger:model GetPositionMethodNotAllowedBody
func (*GetPositionMethodNotAllowedBody) MarshalBinary ¶
func (o *GetPositionMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPositionMethodNotAllowedBody) UnmarshalBinary ¶
func (o *GetPositionMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPositionNotFound ¶
type GetPositionNotFound struct { /*The unique identifier generated for the request */ RequestID string Payload *GetPositionNotFoundBody }
GetPositionNotFound handles this case with default header values.
Not Found. The client has attempted to access an entity that does not exist.
func NewGetPositionNotFound ¶
func NewGetPositionNotFound() *GetPositionNotFound
NewGetPositionNotFound creates a GetPositionNotFound with default headers values
func (*GetPositionNotFound) Error ¶
func (o *GetPositionNotFound) Error() string
type GetPositionNotFoundBody ¶
type GetPositionNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetPositionNotFoundBody get position not found body swagger:model GetPositionNotFoundBody
func (*GetPositionNotFoundBody) MarshalBinary ¶
func (o *GetPositionNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPositionNotFoundBody) UnmarshalBinary ¶
func (o *GetPositionNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPositionOK ¶
type GetPositionOK struct { /*The unique identifier generated for the request */ RequestID string Payload *GetPositionOKBody }
GetPositionOK handles this case with default header values.
The Position is provided.
func NewGetPositionOK ¶
func NewGetPositionOK() *GetPositionOK
NewGetPositionOK creates a GetPositionOK with default headers values
func (*GetPositionOK) Error ¶
func (o *GetPositionOK) Error() string
type GetPositionOKBody ¶
type GetPositionOKBody struct { // The ID of the most recent Transaction created for the Account LastTransactionID string `json:"lastTransactionID,omitempty"` // position Position *models.Position `json:"position,omitempty"` }
GetPositionOKBody get position o k body swagger:model GetPositionOKBody
func (*GetPositionOKBody) MarshalBinary ¶
func (o *GetPositionOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPositionOKBody) UnmarshalBinary ¶
func (o *GetPositionOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPositionParams ¶
type GetPositionParams struct { /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*AccountID Account Identifier */ AccountID string /*Instrument Name of the Instrument */ Instrument string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPositionParams contains all the parameters to send to the API endpoint for the get position operation typically these are written to a http.Request
func NewGetPositionParams ¶
func NewGetPositionParams() *GetPositionParams
NewGetPositionParams creates a new GetPositionParams object with the default values initialized.
func NewGetPositionParamsWithContext ¶
func NewGetPositionParamsWithContext(ctx context.Context) *GetPositionParams
NewGetPositionParamsWithContext creates a new GetPositionParams object with the default values initialized, and the ability to set a context for a request
func NewGetPositionParamsWithHTTPClient ¶
func NewGetPositionParamsWithHTTPClient(client *http.Client) *GetPositionParams
NewGetPositionParamsWithHTTPClient creates a new GetPositionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPositionParamsWithTimeout ¶
func NewGetPositionParamsWithTimeout(timeout time.Duration) *GetPositionParams
NewGetPositionParamsWithTimeout creates a new GetPositionParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPositionParams) SetAccountID ¶
func (o *GetPositionParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the get position params
func (*GetPositionParams) SetAuthorization ¶
func (o *GetPositionParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get position params
func (*GetPositionParams) SetContext ¶
func (o *GetPositionParams) SetContext(ctx context.Context)
SetContext adds the context to the get position params
func (*GetPositionParams) SetHTTPClient ¶
func (o *GetPositionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get position params
func (*GetPositionParams) SetInstrument ¶
func (o *GetPositionParams) SetInstrument(instrument string)
SetInstrument adds the instrument to the get position params
func (*GetPositionParams) SetTimeout ¶
func (o *GetPositionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get position params
func (*GetPositionParams) WithAccountID ¶
func (o *GetPositionParams) WithAccountID(accountID string) *GetPositionParams
WithAccountID adds the accountID to the get position params
func (*GetPositionParams) WithAuthorization ¶
func (o *GetPositionParams) WithAuthorization(authorization string) *GetPositionParams
WithAuthorization adds the authorization to the get position params
func (*GetPositionParams) WithContext ¶
func (o *GetPositionParams) WithContext(ctx context.Context) *GetPositionParams
WithContext adds the context to the get position params
func (*GetPositionParams) WithHTTPClient ¶
func (o *GetPositionParams) WithHTTPClient(client *http.Client) *GetPositionParams
WithHTTPClient adds the HTTPClient to the get position params
func (*GetPositionParams) WithInstrument ¶
func (o *GetPositionParams) WithInstrument(instrument string) *GetPositionParams
WithInstrument adds the instrument to the get position params
func (*GetPositionParams) WithTimeout ¶
func (o *GetPositionParams) WithTimeout(timeout time.Duration) *GetPositionParams
WithTimeout adds the timeout to the get position params
func (*GetPositionParams) WriteToRequest ¶
func (o *GetPositionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPositionReader ¶
type GetPositionReader struct {
// contains filtered or unexported fields
}
GetPositionReader is a Reader for the GetPosition structure.
func (*GetPositionReader) ReadResponse ¶
func (o *GetPositionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPositionUnauthorized ¶
type GetPositionUnauthorized struct { string }RequestID
GetPositionUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewGetPositionUnauthorized ¶
func NewGetPositionUnauthorized() *GetPositionUnauthorized
NewGetPositionUnauthorized creates a GetPositionUnauthorized with default headers values
func (*GetPositionUnauthorized) Error ¶
func (o *GetPositionUnauthorized) Error() string
type GetPositionUnauthorizedBody ¶
type GetPositionUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
GetPositionUnauthorizedBody get position unauthorized body swagger:model GetPositionUnauthorizedBody
func (*GetPositionUnauthorizedBody) MarshalBinary ¶
func (o *GetPositionUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPositionUnauthorizedBody) UnmarshalBinary ¶
func (o *GetPositionUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPricesBadRequest ¶
type GetPricesBadRequest struct { /*The unique identifier generated for the request */ RequestID string Payload *GetPricesBadRequestBody }
GetPricesBadRequest handles this case with default header values.
Bad Request. The client has provided invalid data to be processed by the server.
func NewGetPricesBadRequest ¶
func NewGetPricesBadRequest() *GetPricesBadRequest
NewGetPricesBadRequest creates a GetPricesBadRequest with default headers values
func (*GetPricesBadRequest) Error ¶
func (o *GetPricesBadRequest) Error() string
type GetPricesBadRequestBody ¶
type GetPricesBadRequestBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetPricesBadRequestBody get prices bad request body swagger:model GetPricesBadRequestBody
func (*GetPricesBadRequestBody) MarshalBinary ¶
func (o *GetPricesBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPricesBadRequestBody) UnmarshalBinary ¶
func (o *GetPricesBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPricesMethodNotAllowed ¶
type GetPricesMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *GetPricesMethodNotAllowedBody }
GetPricesMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewGetPricesMethodNotAllowed ¶
func NewGetPricesMethodNotAllowed() *GetPricesMethodNotAllowed
NewGetPricesMethodNotAllowed creates a GetPricesMethodNotAllowed with default headers values
func (*GetPricesMethodNotAllowed) Error ¶
func (o *GetPricesMethodNotAllowed) Error() string
type GetPricesMethodNotAllowedBody ¶
type GetPricesMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetPricesMethodNotAllowedBody get prices method not allowed body swagger:model GetPricesMethodNotAllowedBody
func (*GetPricesMethodNotAllowedBody) MarshalBinary ¶
func (o *GetPricesMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPricesMethodNotAllowedBody) UnmarshalBinary ¶
func (o *GetPricesMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPricesNotFound ¶
type GetPricesNotFound struct { /*The unique identifier generated for the request */ RequestID string Payload *GetPricesNotFoundBody }
GetPricesNotFound handles this case with default header values.
Not Found. The client has attempted to access an entity that does not exist.
func NewGetPricesNotFound ¶
func NewGetPricesNotFound() *GetPricesNotFound
NewGetPricesNotFound creates a GetPricesNotFound with default headers values
func (*GetPricesNotFound) Error ¶
func (o *GetPricesNotFound) Error() string
type GetPricesNotFoundBody ¶
type GetPricesNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetPricesNotFoundBody get prices not found body swagger:model GetPricesNotFoundBody
func (*GetPricesNotFoundBody) MarshalBinary ¶
func (o *GetPricesNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPricesNotFoundBody) UnmarshalBinary ¶
func (o *GetPricesNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPricesOK ¶
type GetPricesOK struct { /*The unique identifier generated for the request */ RequestID string Payload *GetPricesOKBody }
GetPricesOK handles this case with default header values.
Pricing information has been successfully provided.
func NewGetPricesOK ¶
func NewGetPricesOK() *GetPricesOK
NewGetPricesOK creates a GetPricesOK with default headers values
func (*GetPricesOK) Error ¶
func (o *GetPricesOK) Error() string
type GetPricesOKBody ¶
type GetPricesOKBody struct { // The list of home currency conversion factors requested. This field will only be present if includeHomeConversions was set to true in the request. HomeConversions []*models.HomeConversions `json:"homeConversions"` // The list of Price objects requested. Prices []*models.ClientPrice `json:"prices"` // The DateTime value to use for the "since" parameter in the next poll request. Time string `json:"time,omitempty"` }
GetPricesOKBody get prices o k body swagger:model GetPricesOKBody
func (*GetPricesOKBody) MarshalBinary ¶
func (o *GetPricesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPricesOKBody) UnmarshalBinary ¶
func (o *GetPricesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPricesParams ¶
type GetPricesParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*AccountID Account Identifier */ AccountID string /*IncludeHomeConversions Flag that enables the inclusion of the homeConversions field in the returned response. An entry will be returned for each currency in the set of all base and quote currencies present in the requested instruments list. */ IncludeHomeConversions *bool /*IncludeUnitsAvailable Flag that enables the inclusion of the unitsAvailable field in the returned Price objects. */ IncludeUnitsAvailable *bool /*Instruments List of Instruments to get pricing for. */ Instruments []string /*Since Date/Time filter to apply to the response. Only prices and home conversions (if requested) with a time later than this filter (i.e. the price has changed after the since time) will be provided, and are filtered independently. */ Since *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPricesParams contains all the parameters to send to the API endpoint for the get prices operation typically these are written to a http.Request
func NewGetPricesParams ¶
func NewGetPricesParams() *GetPricesParams
NewGetPricesParams creates a new GetPricesParams object with the default values initialized.
func NewGetPricesParamsWithContext ¶
func NewGetPricesParamsWithContext(ctx context.Context) *GetPricesParams
NewGetPricesParamsWithContext creates a new GetPricesParams object with the default values initialized, and the ability to set a context for a request
func NewGetPricesParamsWithHTTPClient ¶
func NewGetPricesParamsWithHTTPClient(client *http.Client) *GetPricesParams
NewGetPricesParamsWithHTTPClient creates a new GetPricesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPricesParamsWithTimeout ¶
func NewGetPricesParamsWithTimeout(timeout time.Duration) *GetPricesParams
NewGetPricesParamsWithTimeout creates a new GetPricesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPricesParams) SetAcceptDatetimeFormat ¶
func (o *GetPricesParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the get prices params
func (*GetPricesParams) SetAccountID ¶
func (o *GetPricesParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the get prices params
func (*GetPricesParams) SetAuthorization ¶
func (o *GetPricesParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get prices params
func (*GetPricesParams) SetContext ¶
func (o *GetPricesParams) SetContext(ctx context.Context)
SetContext adds the context to the get prices params
func (*GetPricesParams) SetHTTPClient ¶
func (o *GetPricesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get prices params
func (*GetPricesParams) SetIncludeHomeConversions ¶
func (o *GetPricesParams) SetIncludeHomeConversions(includeHomeConversions *bool)
SetIncludeHomeConversions adds the includeHomeConversions to the get prices params
func (*GetPricesParams) SetIncludeUnitsAvailable ¶
func (o *GetPricesParams) SetIncludeUnitsAvailable(includeUnitsAvailable *bool)
SetIncludeUnitsAvailable adds the includeUnitsAvailable to the get prices params
func (*GetPricesParams) SetInstruments ¶
func (o *GetPricesParams) SetInstruments(instruments []string)
SetInstruments adds the instruments to the get prices params
func (*GetPricesParams) SetSince ¶
func (o *GetPricesParams) SetSince(since *string)
SetSince adds the since to the get prices params
func (*GetPricesParams) SetTimeout ¶
func (o *GetPricesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get prices params
func (*GetPricesParams) WithAcceptDatetimeFormat ¶
func (o *GetPricesParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetPricesParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the get prices params
func (*GetPricesParams) WithAccountID ¶
func (o *GetPricesParams) WithAccountID(accountID string) *GetPricesParams
WithAccountID adds the accountID to the get prices params
func (*GetPricesParams) WithAuthorization ¶
func (o *GetPricesParams) WithAuthorization(authorization string) *GetPricesParams
WithAuthorization adds the authorization to the get prices params
func (*GetPricesParams) WithContext ¶
func (o *GetPricesParams) WithContext(ctx context.Context) *GetPricesParams
WithContext adds the context to the get prices params
func (*GetPricesParams) WithHTTPClient ¶
func (o *GetPricesParams) WithHTTPClient(client *http.Client) *GetPricesParams
WithHTTPClient adds the HTTPClient to the get prices params
func (*GetPricesParams) WithIncludeHomeConversions ¶
func (o *GetPricesParams) WithIncludeHomeConversions(includeHomeConversions *bool) *GetPricesParams
WithIncludeHomeConversions adds the includeHomeConversions to the get prices params
func (*GetPricesParams) WithIncludeUnitsAvailable ¶
func (o *GetPricesParams) WithIncludeUnitsAvailable(includeUnitsAvailable *bool) *GetPricesParams
WithIncludeUnitsAvailable adds the includeUnitsAvailable to the get prices params
func (*GetPricesParams) WithInstruments ¶
func (o *GetPricesParams) WithInstruments(instruments []string) *GetPricesParams
WithInstruments adds the instruments to the get prices params
func (*GetPricesParams) WithSince ¶
func (o *GetPricesParams) WithSince(since *string) *GetPricesParams
WithSince adds the since to the get prices params
func (*GetPricesParams) WithTimeout ¶
func (o *GetPricesParams) WithTimeout(timeout time.Duration) *GetPricesParams
WithTimeout adds the timeout to the get prices params
func (*GetPricesParams) WriteToRequest ¶
func (o *GetPricesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPricesReader ¶
type GetPricesReader struct {
// contains filtered or unexported fields
}
GetPricesReader is a Reader for the GetPrices structure.
func (*GetPricesReader) ReadResponse ¶
func (o *GetPricesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPricesUnauthorized ¶
type GetPricesUnauthorized struct { string }RequestID
GetPricesUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewGetPricesUnauthorized ¶
func NewGetPricesUnauthorized() *GetPricesUnauthorized
NewGetPricesUnauthorized creates a GetPricesUnauthorized with default headers values
func (*GetPricesUnauthorized) Error ¶
func (o *GetPricesUnauthorized) Error() string
type GetPricesUnauthorizedBody ¶
type GetPricesUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
GetPricesUnauthorizedBody get prices unauthorized body swagger:model GetPricesUnauthorizedBody
func (*GetPricesUnauthorizedBody) MarshalBinary ¶
func (o *GetPricesUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPricesUnauthorizedBody) UnmarshalBinary ¶
func (o *GetPricesUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTradeMethodNotAllowed ¶
type GetTradeMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *GetTradeMethodNotAllowedBody }
GetTradeMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewGetTradeMethodNotAllowed ¶
func NewGetTradeMethodNotAllowed() *GetTradeMethodNotAllowed
NewGetTradeMethodNotAllowed creates a GetTradeMethodNotAllowed with default headers values
func (*GetTradeMethodNotAllowed) Error ¶
func (o *GetTradeMethodNotAllowed) Error() string
type GetTradeMethodNotAllowedBody ¶
type GetTradeMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetTradeMethodNotAllowedBody get trade method not allowed body swagger:model GetTradeMethodNotAllowedBody
func (*GetTradeMethodNotAllowedBody) MarshalBinary ¶
func (o *GetTradeMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTradeMethodNotAllowedBody) UnmarshalBinary ¶
func (o *GetTradeMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTradeNotFound ¶
type GetTradeNotFound struct { /*The unique identifier generated for the request */ RequestID string Payload *GetTradeNotFoundBody }
GetTradeNotFound handles this case with default header values.
Not Found. The client has attempted to access an entity that does not exist.
func NewGetTradeNotFound ¶
func NewGetTradeNotFound() *GetTradeNotFound
NewGetTradeNotFound creates a GetTradeNotFound with default headers values
func (*GetTradeNotFound) Error ¶
func (o *GetTradeNotFound) Error() string
type GetTradeNotFoundBody ¶
type GetTradeNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetTradeNotFoundBody get trade not found body swagger:model GetTradeNotFoundBody
func (*GetTradeNotFoundBody) MarshalBinary ¶
func (o *GetTradeNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTradeNotFoundBody) UnmarshalBinary ¶
func (o *GetTradeNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTradeOK ¶
type GetTradeOK struct { /*The unique identifier generated for the request */ RequestID string Payload *GetTradeOKBody }
GetTradeOK handles this case with default header values.
The details for the requested Trade is provided
func NewGetTradeOK ¶
func NewGetTradeOK() *GetTradeOK
NewGetTradeOK creates a GetTradeOK with default headers values
func (*GetTradeOK) Error ¶
func (o *GetTradeOK) Error() string
type GetTradeOKBody ¶
type GetTradeOKBody struct { // The ID of the most recent Transaction created for the Account LastTransactionID string `json:"lastTransactionID,omitempty"` // trade Trade *models.Trade `json:"trade,omitempty"` }
GetTradeOKBody get trade o k body swagger:model GetTradeOKBody
func (*GetTradeOKBody) MarshalBinary ¶
func (o *GetTradeOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTradeOKBody) UnmarshalBinary ¶
func (o *GetTradeOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTradeParams ¶
type GetTradeParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*AccountID Account Identifier */ AccountID string /*TradeSpecifier Specifier for the Trade */ TradeSpecifier string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTradeParams contains all the parameters to send to the API endpoint for the get trade operation typically these are written to a http.Request
func NewGetTradeParams ¶
func NewGetTradeParams() *GetTradeParams
NewGetTradeParams creates a new GetTradeParams object with the default values initialized.
func NewGetTradeParamsWithContext ¶
func NewGetTradeParamsWithContext(ctx context.Context) *GetTradeParams
NewGetTradeParamsWithContext creates a new GetTradeParams object with the default values initialized, and the ability to set a context for a request
func NewGetTradeParamsWithHTTPClient ¶
func NewGetTradeParamsWithHTTPClient(client *http.Client) *GetTradeParams
NewGetTradeParamsWithHTTPClient creates a new GetTradeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetTradeParamsWithTimeout ¶
func NewGetTradeParamsWithTimeout(timeout time.Duration) *GetTradeParams
NewGetTradeParamsWithTimeout creates a new GetTradeParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetTradeParams) SetAcceptDatetimeFormat ¶
func (o *GetTradeParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the get trade params
func (*GetTradeParams) SetAccountID ¶
func (o *GetTradeParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the get trade params
func (*GetTradeParams) SetAuthorization ¶
func (o *GetTradeParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get trade params
func (*GetTradeParams) SetContext ¶
func (o *GetTradeParams) SetContext(ctx context.Context)
SetContext adds the context to the get trade params
func (*GetTradeParams) SetHTTPClient ¶
func (o *GetTradeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get trade params
func (*GetTradeParams) SetTimeout ¶
func (o *GetTradeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get trade params
func (*GetTradeParams) SetTradeSpecifier ¶
func (o *GetTradeParams) SetTradeSpecifier(tradeSpecifier string)
SetTradeSpecifier adds the tradeSpecifier to the get trade params
func (*GetTradeParams) WithAcceptDatetimeFormat ¶
func (o *GetTradeParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetTradeParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the get trade params
func (*GetTradeParams) WithAccountID ¶
func (o *GetTradeParams) WithAccountID(accountID string) *GetTradeParams
WithAccountID adds the accountID to the get trade params
func (*GetTradeParams) WithAuthorization ¶
func (o *GetTradeParams) WithAuthorization(authorization string) *GetTradeParams
WithAuthorization adds the authorization to the get trade params
func (*GetTradeParams) WithContext ¶
func (o *GetTradeParams) WithContext(ctx context.Context) *GetTradeParams
WithContext adds the context to the get trade params
func (*GetTradeParams) WithHTTPClient ¶
func (o *GetTradeParams) WithHTTPClient(client *http.Client) *GetTradeParams
WithHTTPClient adds the HTTPClient to the get trade params
func (*GetTradeParams) WithTimeout ¶
func (o *GetTradeParams) WithTimeout(timeout time.Duration) *GetTradeParams
WithTimeout adds the timeout to the get trade params
func (*GetTradeParams) WithTradeSpecifier ¶
func (o *GetTradeParams) WithTradeSpecifier(tradeSpecifier string) *GetTradeParams
WithTradeSpecifier adds the tradeSpecifier to the get trade params
func (*GetTradeParams) WriteToRequest ¶
func (o *GetTradeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTradeReader ¶
type GetTradeReader struct {
// contains filtered or unexported fields
}
GetTradeReader is a Reader for the GetTrade structure.
func (*GetTradeReader) ReadResponse ¶
func (o *GetTradeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTradeUnauthorized ¶
type GetTradeUnauthorized struct { string }RequestID
GetTradeUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewGetTradeUnauthorized ¶
func NewGetTradeUnauthorized() *GetTradeUnauthorized
NewGetTradeUnauthorized creates a GetTradeUnauthorized with default headers values
func (*GetTradeUnauthorized) Error ¶
func (o *GetTradeUnauthorized) Error() string
type GetTradeUnauthorizedBody ¶
type GetTradeUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
GetTradeUnauthorizedBody get trade unauthorized body swagger:model GetTradeUnauthorizedBody
func (*GetTradeUnauthorizedBody) MarshalBinary ¶
func (o *GetTradeUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTradeUnauthorizedBody) UnmarshalBinary ¶
func (o *GetTradeUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTransactionMethodNotAllowed ¶
type GetTransactionMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *GetTransactionMethodNotAllowedBody }
GetTransactionMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewGetTransactionMethodNotAllowed ¶
func NewGetTransactionMethodNotAllowed() *GetTransactionMethodNotAllowed
NewGetTransactionMethodNotAllowed creates a GetTransactionMethodNotAllowed with default headers values
func (*GetTransactionMethodNotAllowed) Error ¶
func (o *GetTransactionMethodNotAllowed) Error() string
type GetTransactionMethodNotAllowedBody ¶
type GetTransactionMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetTransactionMethodNotAllowedBody get transaction method not allowed body swagger:model GetTransactionMethodNotAllowedBody
func (*GetTransactionMethodNotAllowedBody) MarshalBinary ¶
func (o *GetTransactionMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTransactionMethodNotAllowedBody) UnmarshalBinary ¶
func (o *GetTransactionMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTransactionNotFound ¶
type GetTransactionNotFound struct { /*The unique identifier generated for the request */ RequestID string Payload *GetTransactionNotFoundBody }
GetTransactionNotFound handles this case with default header values.
Not Found. The client has attempted to access an entity that does not exist.
func NewGetTransactionNotFound ¶
func NewGetTransactionNotFound() *GetTransactionNotFound
NewGetTransactionNotFound creates a GetTransactionNotFound with default headers values
func (*GetTransactionNotFound) Error ¶
func (o *GetTransactionNotFound) Error() string
type GetTransactionNotFoundBody ¶
type GetTransactionNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetTransactionNotFoundBody get transaction not found body swagger:model GetTransactionNotFoundBody
func (*GetTransactionNotFoundBody) MarshalBinary ¶
func (o *GetTransactionNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTransactionNotFoundBody) UnmarshalBinary ¶
func (o *GetTransactionNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTransactionOK ¶
type GetTransactionOK struct { /*The unique identifier generated for the request */ RequestID string Payload *GetTransactionOKBody }
GetTransactionOK handles this case with default header values.
The details of the requested Transaction are provided.
func NewGetTransactionOK ¶
func NewGetTransactionOK() *GetTransactionOK
NewGetTransactionOK creates a GetTransactionOK with default headers values
func (*GetTransactionOK) Error ¶
func (o *GetTransactionOK) Error() string
type GetTransactionOKBody ¶
type GetTransactionOKBody struct { // The ID of the most recent Transaction created for the Account LastTransactionID string `json:"lastTransactionID,omitempty"` // transaction Transaction *models.Transaction `json:"transaction,omitempty"` }
GetTransactionOKBody get transaction o k body swagger:model GetTransactionOKBody
func (*GetTransactionOKBody) MarshalBinary ¶
func (o *GetTransactionOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTransactionOKBody) UnmarshalBinary ¶
func (o *GetTransactionOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTransactionParams ¶
type GetTransactionParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*AccountID Account Identifier */ AccountID string /*TransactionID A Transaction ID */ TransactionID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTransactionParams contains all the parameters to send to the API endpoint for the get transaction operation typically these are written to a http.Request
func NewGetTransactionParams ¶
func NewGetTransactionParams() *GetTransactionParams
NewGetTransactionParams creates a new GetTransactionParams object with the default values initialized.
func NewGetTransactionParamsWithContext ¶
func NewGetTransactionParamsWithContext(ctx context.Context) *GetTransactionParams
NewGetTransactionParamsWithContext creates a new GetTransactionParams object with the default values initialized, and the ability to set a context for a request
func NewGetTransactionParamsWithHTTPClient ¶
func NewGetTransactionParamsWithHTTPClient(client *http.Client) *GetTransactionParams
NewGetTransactionParamsWithHTTPClient creates a new GetTransactionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetTransactionParamsWithTimeout ¶
func NewGetTransactionParamsWithTimeout(timeout time.Duration) *GetTransactionParams
NewGetTransactionParamsWithTimeout creates a new GetTransactionParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetTransactionParams) SetAcceptDatetimeFormat ¶
func (o *GetTransactionParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the get transaction params
func (*GetTransactionParams) SetAccountID ¶
func (o *GetTransactionParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the get transaction params
func (*GetTransactionParams) SetAuthorization ¶
func (o *GetTransactionParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get transaction params
func (*GetTransactionParams) SetContext ¶
func (o *GetTransactionParams) SetContext(ctx context.Context)
SetContext adds the context to the get transaction params
func (*GetTransactionParams) SetHTTPClient ¶
func (o *GetTransactionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get transaction params
func (*GetTransactionParams) SetTimeout ¶
func (o *GetTransactionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get transaction params
func (*GetTransactionParams) SetTransactionID ¶
func (o *GetTransactionParams) SetTransactionID(transactionID string)
SetTransactionID adds the transactionId to the get transaction params
func (*GetTransactionParams) WithAcceptDatetimeFormat ¶
func (o *GetTransactionParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetTransactionParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the get transaction params
func (*GetTransactionParams) WithAccountID ¶
func (o *GetTransactionParams) WithAccountID(accountID string) *GetTransactionParams
WithAccountID adds the accountID to the get transaction params
func (*GetTransactionParams) WithAuthorization ¶
func (o *GetTransactionParams) WithAuthorization(authorization string) *GetTransactionParams
WithAuthorization adds the authorization to the get transaction params
func (*GetTransactionParams) WithContext ¶
func (o *GetTransactionParams) WithContext(ctx context.Context) *GetTransactionParams
WithContext adds the context to the get transaction params
func (*GetTransactionParams) WithHTTPClient ¶
func (o *GetTransactionParams) WithHTTPClient(client *http.Client) *GetTransactionParams
WithHTTPClient adds the HTTPClient to the get transaction params
func (*GetTransactionParams) WithTimeout ¶
func (o *GetTransactionParams) WithTimeout(timeout time.Duration) *GetTransactionParams
WithTimeout adds the timeout to the get transaction params
func (*GetTransactionParams) WithTransactionID ¶
func (o *GetTransactionParams) WithTransactionID(transactionID string) *GetTransactionParams
WithTransactionID adds the transactionID to the get transaction params
func (*GetTransactionParams) WriteToRequest ¶
func (o *GetTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTransactionRangeBadRequest ¶
type GetTransactionRangeBadRequest struct { /*The unique identifier generated for the request */ RequestID string Payload *GetTransactionRangeBadRequestBody }
GetTransactionRangeBadRequest handles this case with default header values.
Bad Request. The client has provided invalid data to be processed by the server.
func NewGetTransactionRangeBadRequest ¶
func NewGetTransactionRangeBadRequest() *GetTransactionRangeBadRequest
NewGetTransactionRangeBadRequest creates a GetTransactionRangeBadRequest with default headers values
func (*GetTransactionRangeBadRequest) Error ¶
func (o *GetTransactionRangeBadRequest) Error() string
type GetTransactionRangeBadRequestBody ¶
type GetTransactionRangeBadRequestBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetTransactionRangeBadRequestBody get transaction range bad request body swagger:model GetTransactionRangeBadRequestBody
func (*GetTransactionRangeBadRequestBody) MarshalBinary ¶
func (o *GetTransactionRangeBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTransactionRangeBadRequestBody) UnmarshalBinary ¶
func (o *GetTransactionRangeBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTransactionRangeMethodNotAllowed ¶
type GetTransactionRangeMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *GetTransactionRangeMethodNotAllowedBody }
GetTransactionRangeMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewGetTransactionRangeMethodNotAllowed ¶
func NewGetTransactionRangeMethodNotAllowed() *GetTransactionRangeMethodNotAllowed
NewGetTransactionRangeMethodNotAllowed creates a GetTransactionRangeMethodNotAllowed with default headers values
func (*GetTransactionRangeMethodNotAllowed) Error ¶
func (o *GetTransactionRangeMethodNotAllowed) Error() string
type GetTransactionRangeMethodNotAllowedBody ¶
type GetTransactionRangeMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetTransactionRangeMethodNotAllowedBody get transaction range method not allowed body swagger:model GetTransactionRangeMethodNotAllowedBody
func (*GetTransactionRangeMethodNotAllowedBody) MarshalBinary ¶
func (o *GetTransactionRangeMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTransactionRangeMethodNotAllowedBody) UnmarshalBinary ¶
func (o *GetTransactionRangeMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTransactionRangeNotFound ¶
type GetTransactionRangeNotFound struct { /*The unique identifier generated for the request */ RequestID string Payload *GetTransactionRangeNotFoundBody }
GetTransactionRangeNotFound handles this case with default header values.
Not Found. The client has attempted to access an entity that does not exist.
func NewGetTransactionRangeNotFound ¶
func NewGetTransactionRangeNotFound() *GetTransactionRangeNotFound
NewGetTransactionRangeNotFound creates a GetTransactionRangeNotFound with default headers values
func (*GetTransactionRangeNotFound) Error ¶
func (o *GetTransactionRangeNotFound) Error() string
type GetTransactionRangeNotFoundBody ¶
type GetTransactionRangeNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetTransactionRangeNotFoundBody get transaction range not found body swagger:model GetTransactionRangeNotFoundBody
func (*GetTransactionRangeNotFoundBody) MarshalBinary ¶
func (o *GetTransactionRangeNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTransactionRangeNotFoundBody) UnmarshalBinary ¶
func (o *GetTransactionRangeNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTransactionRangeOK ¶
type GetTransactionRangeOK struct { /*The unique identifier generated for the request */ RequestID string Payload *GetTransactionRangeOKBody }
GetTransactionRangeOK handles this case with default header values.
The requested time range of Transactions are provided.
func NewGetTransactionRangeOK ¶
func NewGetTransactionRangeOK() *GetTransactionRangeOK
NewGetTransactionRangeOK creates a GetTransactionRangeOK with default headers values
func (*GetTransactionRangeOK) Error ¶
func (o *GetTransactionRangeOK) Error() string
type GetTransactionRangeOKBody ¶
type GetTransactionRangeOKBody struct { // The ID of the most recent Transaction created for the Account LastTransactionID string `json:"lastTransactionID,omitempty"` // The list of Transactions that satisfy the request. Transactions []*models.Transaction `json:"transactions"` }
GetTransactionRangeOKBody get transaction range o k body swagger:model GetTransactionRangeOKBody
func (*GetTransactionRangeOKBody) MarshalBinary ¶
func (o *GetTransactionRangeOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTransactionRangeOKBody) UnmarshalBinary ¶
func (o *GetTransactionRangeOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTransactionRangeParams ¶
type GetTransactionRangeParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*AccountID Account Identifier */ AccountID string /*From The starting Transacion ID (inclusive) to fetch. */ From string /*To The ending Transaction ID (inclusive) to fetch. */ To string /*Type The filter that restricts the types of Transactions to retreive. */ Type []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTransactionRangeParams contains all the parameters to send to the API endpoint for the get transaction range operation typically these are written to a http.Request
func NewGetTransactionRangeParams ¶
func NewGetTransactionRangeParams() *GetTransactionRangeParams
NewGetTransactionRangeParams creates a new GetTransactionRangeParams object with the default values initialized.
func NewGetTransactionRangeParamsWithContext ¶
func NewGetTransactionRangeParamsWithContext(ctx context.Context) *GetTransactionRangeParams
NewGetTransactionRangeParamsWithContext creates a new GetTransactionRangeParams object with the default values initialized, and the ability to set a context for a request
func NewGetTransactionRangeParamsWithHTTPClient ¶
func NewGetTransactionRangeParamsWithHTTPClient(client *http.Client) *GetTransactionRangeParams
NewGetTransactionRangeParamsWithHTTPClient creates a new GetTransactionRangeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetTransactionRangeParamsWithTimeout ¶
func NewGetTransactionRangeParamsWithTimeout(timeout time.Duration) *GetTransactionRangeParams
NewGetTransactionRangeParamsWithTimeout creates a new GetTransactionRangeParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetTransactionRangeParams) SetAcceptDatetimeFormat ¶
func (o *GetTransactionRangeParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the get transaction range params
func (*GetTransactionRangeParams) SetAccountID ¶
func (o *GetTransactionRangeParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the get transaction range params
func (*GetTransactionRangeParams) SetAuthorization ¶
func (o *GetTransactionRangeParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get transaction range params
func (*GetTransactionRangeParams) SetContext ¶
func (o *GetTransactionRangeParams) SetContext(ctx context.Context)
SetContext adds the context to the get transaction range params
func (*GetTransactionRangeParams) SetFrom ¶
func (o *GetTransactionRangeParams) SetFrom(from string)
SetFrom adds the from to the get transaction range params
func (*GetTransactionRangeParams) SetHTTPClient ¶
func (o *GetTransactionRangeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get transaction range params
func (*GetTransactionRangeParams) SetTimeout ¶
func (o *GetTransactionRangeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get transaction range params
func (*GetTransactionRangeParams) SetTo ¶
func (o *GetTransactionRangeParams) SetTo(to string)
SetTo adds the to to the get transaction range params
func (*GetTransactionRangeParams) SetType ¶
func (o *GetTransactionRangeParams) SetType(typeVar []string)
SetType adds the type to the get transaction range params
func (*GetTransactionRangeParams) WithAcceptDatetimeFormat ¶
func (o *GetTransactionRangeParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetTransactionRangeParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the get transaction range params
func (*GetTransactionRangeParams) WithAccountID ¶
func (o *GetTransactionRangeParams) WithAccountID(accountID string) *GetTransactionRangeParams
WithAccountID adds the accountID to the get transaction range params
func (*GetTransactionRangeParams) WithAuthorization ¶
func (o *GetTransactionRangeParams) WithAuthorization(authorization string) *GetTransactionRangeParams
WithAuthorization adds the authorization to the get transaction range params
func (*GetTransactionRangeParams) WithContext ¶
func (o *GetTransactionRangeParams) WithContext(ctx context.Context) *GetTransactionRangeParams
WithContext adds the context to the get transaction range params
func (*GetTransactionRangeParams) WithFrom ¶
func (o *GetTransactionRangeParams) WithFrom(from string) *GetTransactionRangeParams
WithFrom adds the from to the get transaction range params
func (*GetTransactionRangeParams) WithHTTPClient ¶
func (o *GetTransactionRangeParams) WithHTTPClient(client *http.Client) *GetTransactionRangeParams
WithHTTPClient adds the HTTPClient to the get transaction range params
func (*GetTransactionRangeParams) WithTimeout ¶
func (o *GetTransactionRangeParams) WithTimeout(timeout time.Duration) *GetTransactionRangeParams
WithTimeout adds the timeout to the get transaction range params
func (*GetTransactionRangeParams) WithTo ¶
func (o *GetTransactionRangeParams) WithTo(to string) *GetTransactionRangeParams
WithTo adds the to to the get transaction range params
func (*GetTransactionRangeParams) WithType ¶
func (o *GetTransactionRangeParams) WithType(typeVar []string) *GetTransactionRangeParams
WithType adds the typeVar to the get transaction range params
func (*GetTransactionRangeParams) WriteToRequest ¶
func (o *GetTransactionRangeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTransactionRangeReader ¶
type GetTransactionRangeReader struct {
// contains filtered or unexported fields
}
GetTransactionRangeReader is a Reader for the GetTransactionRange structure.
func (*GetTransactionRangeReader) ReadResponse ¶
func (o *GetTransactionRangeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTransactionRangeRequestRangeNotSatisfiable ¶
type GetTransactionRangeRequestRangeNotSatisfiable struct { /*The unique identifier generated for the request */ RequestID string Payload *GetTransactionRangeRequestRangeNotSatisfiableBody }
GetTransactionRangeRequestRangeNotSatisfiable handles this case with default header values.
Range Not Satisfiable. The client has specified a range that is invalid or cannot be processed.
func NewGetTransactionRangeRequestRangeNotSatisfiable ¶
func NewGetTransactionRangeRequestRangeNotSatisfiable() *GetTransactionRangeRequestRangeNotSatisfiable
NewGetTransactionRangeRequestRangeNotSatisfiable creates a GetTransactionRangeRequestRangeNotSatisfiable with default headers values
func (*GetTransactionRangeRequestRangeNotSatisfiable) Error ¶
func (o *GetTransactionRangeRequestRangeNotSatisfiable) Error() string
type GetTransactionRangeRequestRangeNotSatisfiableBody ¶
type GetTransactionRangeRequestRangeNotSatisfiableBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetTransactionRangeRequestRangeNotSatisfiableBody get transaction range request range not satisfiable body swagger:model GetTransactionRangeRequestRangeNotSatisfiableBody
func (*GetTransactionRangeRequestRangeNotSatisfiableBody) MarshalBinary ¶
func (o *GetTransactionRangeRequestRangeNotSatisfiableBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTransactionRangeRequestRangeNotSatisfiableBody) UnmarshalBinary ¶
func (o *GetTransactionRangeRequestRangeNotSatisfiableBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTransactionRangeUnauthorized ¶
type GetTransactionRangeUnauthorized struct { string }RequestID
GetTransactionRangeUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewGetTransactionRangeUnauthorized ¶
func NewGetTransactionRangeUnauthorized() *GetTransactionRangeUnauthorized
NewGetTransactionRangeUnauthorized creates a GetTransactionRangeUnauthorized with default headers values
func (*GetTransactionRangeUnauthorized) Error ¶
func (o *GetTransactionRangeUnauthorized) Error() string
type GetTransactionRangeUnauthorizedBody ¶
type GetTransactionRangeUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
GetTransactionRangeUnauthorizedBody get transaction range unauthorized body swagger:model GetTransactionRangeUnauthorizedBody
func (*GetTransactionRangeUnauthorizedBody) MarshalBinary ¶
func (o *GetTransactionRangeUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTransactionRangeUnauthorizedBody) UnmarshalBinary ¶
func (o *GetTransactionRangeUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTransactionReader ¶
type GetTransactionReader struct {
// contains filtered or unexported fields
}
GetTransactionReader is a Reader for the GetTransaction structure.
func (*GetTransactionReader) ReadResponse ¶
func (o *GetTransactionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTransactionUnauthorized ¶
type GetTransactionUnauthorized struct { string }RequestID
GetTransactionUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewGetTransactionUnauthorized ¶
func NewGetTransactionUnauthorized() *GetTransactionUnauthorized
NewGetTransactionUnauthorized creates a GetTransactionUnauthorized with default headers values
func (*GetTransactionUnauthorized) Error ¶
func (o *GetTransactionUnauthorized) Error() string
type GetTransactionUnauthorizedBody ¶
type GetTransactionUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
GetTransactionUnauthorizedBody get transaction unauthorized body swagger:model GetTransactionUnauthorizedBody
func (*GetTransactionUnauthorizedBody) MarshalBinary ¶
func (o *GetTransactionUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTransactionUnauthorizedBody) UnmarshalBinary ¶
func (o *GetTransactionUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTransactionsSinceIDBadRequest ¶
type GetTransactionsSinceIDBadRequest struct { /*The unique identifier generated for the request */ RequestID string Payload *GetTransactionsSinceIDBadRequestBody }
GetTransactionsSinceIDBadRequest handles this case with default header values.
Bad Request. The client has provided invalid data to be processed by the server.
func NewGetTransactionsSinceIDBadRequest ¶
func NewGetTransactionsSinceIDBadRequest() *GetTransactionsSinceIDBadRequest
NewGetTransactionsSinceIDBadRequest creates a GetTransactionsSinceIDBadRequest with default headers values
func (*GetTransactionsSinceIDBadRequest) Error ¶
func (o *GetTransactionsSinceIDBadRequest) Error() string
type GetTransactionsSinceIDBadRequestBody ¶
type GetTransactionsSinceIDBadRequestBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetTransactionsSinceIDBadRequestBody get transactions since ID bad request body swagger:model GetTransactionsSinceIDBadRequestBody
func (*GetTransactionsSinceIDBadRequestBody) MarshalBinary ¶
func (o *GetTransactionsSinceIDBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTransactionsSinceIDBadRequestBody) UnmarshalBinary ¶
func (o *GetTransactionsSinceIDBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTransactionsSinceIDMethodNotAllowed ¶
type GetTransactionsSinceIDMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *GetTransactionsSinceIDMethodNotAllowedBody }
GetTransactionsSinceIDMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewGetTransactionsSinceIDMethodNotAllowed ¶
func NewGetTransactionsSinceIDMethodNotAllowed() *GetTransactionsSinceIDMethodNotAllowed
NewGetTransactionsSinceIDMethodNotAllowed creates a GetTransactionsSinceIDMethodNotAllowed with default headers values
func (*GetTransactionsSinceIDMethodNotAllowed) Error ¶
func (o *GetTransactionsSinceIDMethodNotAllowed) Error() string
type GetTransactionsSinceIDMethodNotAllowedBody ¶
type GetTransactionsSinceIDMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetTransactionsSinceIDMethodNotAllowedBody get transactions since ID method not allowed body swagger:model GetTransactionsSinceIDMethodNotAllowedBody
func (*GetTransactionsSinceIDMethodNotAllowedBody) MarshalBinary ¶
func (o *GetTransactionsSinceIDMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTransactionsSinceIDMethodNotAllowedBody) UnmarshalBinary ¶
func (o *GetTransactionsSinceIDMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTransactionsSinceIDNotFound ¶
type GetTransactionsSinceIDNotFound struct { /*The unique identifier generated for the request */ RequestID string Payload *GetTransactionsSinceIDNotFoundBody }
GetTransactionsSinceIDNotFound handles this case with default header values.
Not Found. The client has attempted to access an entity that does not exist.
func NewGetTransactionsSinceIDNotFound ¶
func NewGetTransactionsSinceIDNotFound() *GetTransactionsSinceIDNotFound
NewGetTransactionsSinceIDNotFound creates a GetTransactionsSinceIDNotFound with default headers values
func (*GetTransactionsSinceIDNotFound) Error ¶
func (o *GetTransactionsSinceIDNotFound) Error() string
type GetTransactionsSinceIDNotFoundBody ¶
type GetTransactionsSinceIDNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetTransactionsSinceIDNotFoundBody get transactions since ID not found body swagger:model GetTransactionsSinceIDNotFoundBody
func (*GetTransactionsSinceIDNotFoundBody) MarshalBinary ¶
func (o *GetTransactionsSinceIDNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTransactionsSinceIDNotFoundBody) UnmarshalBinary ¶
func (o *GetTransactionsSinceIDNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTransactionsSinceIDOK ¶
type GetTransactionsSinceIDOK struct { /*The unique identifier generated for the request */ RequestID string Payload *GetTransactionsSinceIDOKBody }
GetTransactionsSinceIDOK handles this case with default header values.
The requested time range of Transactions are provided.
func NewGetTransactionsSinceIDOK ¶
func NewGetTransactionsSinceIDOK() *GetTransactionsSinceIDOK
NewGetTransactionsSinceIDOK creates a GetTransactionsSinceIDOK with default headers values
func (*GetTransactionsSinceIDOK) Error ¶
func (o *GetTransactionsSinceIDOK) Error() string
type GetTransactionsSinceIDOKBody ¶
type GetTransactionsSinceIDOKBody struct { // The ID of the most recent Transaction created for the Account LastTransactionID string `json:"lastTransactionID,omitempty"` // The list of Transactions that satisfy the request. Transactions []*models.Transaction `json:"transactions"` }
GetTransactionsSinceIDOKBody get transactions since ID o k body swagger:model GetTransactionsSinceIDOKBody
func (*GetTransactionsSinceIDOKBody) MarshalBinary ¶
func (o *GetTransactionsSinceIDOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTransactionsSinceIDOKBody) UnmarshalBinary ¶
func (o *GetTransactionsSinceIDOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTransactionsSinceIDParams ¶
type GetTransactionsSinceIDParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*AccountID Account Identifier */ AccountID string /*ID The ID of the last Transacion fetched. This query will return all Transactions newer than the TransactionID. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTransactionsSinceIDParams contains all the parameters to send to the API endpoint for the get transactions since Id operation typically these are written to a http.Request
func NewGetTransactionsSinceIDParams ¶
func NewGetTransactionsSinceIDParams() *GetTransactionsSinceIDParams
NewGetTransactionsSinceIDParams creates a new GetTransactionsSinceIDParams object with the default values initialized.
func NewGetTransactionsSinceIDParamsWithContext ¶
func NewGetTransactionsSinceIDParamsWithContext(ctx context.Context) *GetTransactionsSinceIDParams
NewGetTransactionsSinceIDParamsWithContext creates a new GetTransactionsSinceIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetTransactionsSinceIDParamsWithHTTPClient ¶
func NewGetTransactionsSinceIDParamsWithHTTPClient(client *http.Client) *GetTransactionsSinceIDParams
NewGetTransactionsSinceIDParamsWithHTTPClient creates a new GetTransactionsSinceIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetTransactionsSinceIDParamsWithTimeout ¶
func NewGetTransactionsSinceIDParamsWithTimeout(timeout time.Duration) *GetTransactionsSinceIDParams
NewGetTransactionsSinceIDParamsWithTimeout creates a new GetTransactionsSinceIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetTransactionsSinceIDParams) SetAcceptDatetimeFormat ¶
func (o *GetTransactionsSinceIDParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the get transactions since Id params
func (*GetTransactionsSinceIDParams) SetAccountID ¶
func (o *GetTransactionsSinceIDParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the get transactions since Id params
func (*GetTransactionsSinceIDParams) SetAuthorization ¶
func (o *GetTransactionsSinceIDParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get transactions since Id params
func (*GetTransactionsSinceIDParams) SetContext ¶
func (o *GetTransactionsSinceIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get transactions since Id params
func (*GetTransactionsSinceIDParams) SetHTTPClient ¶
func (o *GetTransactionsSinceIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get transactions since Id params
func (*GetTransactionsSinceIDParams) SetID ¶
func (o *GetTransactionsSinceIDParams) SetID(id string)
SetID adds the id to the get transactions since Id params
func (*GetTransactionsSinceIDParams) SetTimeout ¶
func (o *GetTransactionsSinceIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get transactions since Id params
func (*GetTransactionsSinceIDParams) WithAcceptDatetimeFormat ¶
func (o *GetTransactionsSinceIDParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *GetTransactionsSinceIDParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the get transactions since Id params
func (*GetTransactionsSinceIDParams) WithAccountID ¶
func (o *GetTransactionsSinceIDParams) WithAccountID(accountID string) *GetTransactionsSinceIDParams
WithAccountID adds the accountID to the get transactions since Id params
func (*GetTransactionsSinceIDParams) WithAuthorization ¶
func (o *GetTransactionsSinceIDParams) WithAuthorization(authorization string) *GetTransactionsSinceIDParams
WithAuthorization adds the authorization to the get transactions since Id params
func (*GetTransactionsSinceIDParams) WithContext ¶
func (o *GetTransactionsSinceIDParams) WithContext(ctx context.Context) *GetTransactionsSinceIDParams
WithContext adds the context to the get transactions since Id params
func (*GetTransactionsSinceIDParams) WithHTTPClient ¶
func (o *GetTransactionsSinceIDParams) WithHTTPClient(client *http.Client) *GetTransactionsSinceIDParams
WithHTTPClient adds the HTTPClient to the get transactions since Id params
func (*GetTransactionsSinceIDParams) WithID ¶
func (o *GetTransactionsSinceIDParams) WithID(id string) *GetTransactionsSinceIDParams
WithID adds the id to the get transactions since Id params
func (*GetTransactionsSinceIDParams) WithTimeout ¶
func (o *GetTransactionsSinceIDParams) WithTimeout(timeout time.Duration) *GetTransactionsSinceIDParams
WithTimeout adds the timeout to the get transactions since Id params
func (*GetTransactionsSinceIDParams) WriteToRequest ¶
func (o *GetTransactionsSinceIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTransactionsSinceIDReader ¶
type GetTransactionsSinceIDReader struct {
// contains filtered or unexported fields
}
GetTransactionsSinceIDReader is a Reader for the GetTransactionsSinceID structure.
func (*GetTransactionsSinceIDReader) ReadResponse ¶
func (o *GetTransactionsSinceIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTransactionsSinceIDRequestRangeNotSatisfiable ¶
type GetTransactionsSinceIDRequestRangeNotSatisfiable struct { /*The unique identifier generated for the request */ RequestID string Payload *GetTransactionsSinceIDRequestRangeNotSatisfiableBody }
GetTransactionsSinceIDRequestRangeNotSatisfiable handles this case with default header values.
Range Not Satisfiable. The client has specified a range that is invalid or cannot be processed.
func NewGetTransactionsSinceIDRequestRangeNotSatisfiable ¶
func NewGetTransactionsSinceIDRequestRangeNotSatisfiable() *GetTransactionsSinceIDRequestRangeNotSatisfiable
NewGetTransactionsSinceIDRequestRangeNotSatisfiable creates a GetTransactionsSinceIDRequestRangeNotSatisfiable with default headers values
func (*GetTransactionsSinceIDRequestRangeNotSatisfiable) Error ¶
func (o *GetTransactionsSinceIDRequestRangeNotSatisfiable) Error() string
type GetTransactionsSinceIDRequestRangeNotSatisfiableBody ¶
type GetTransactionsSinceIDRequestRangeNotSatisfiableBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetTransactionsSinceIDRequestRangeNotSatisfiableBody get transactions since ID request range not satisfiable body swagger:model GetTransactionsSinceIDRequestRangeNotSatisfiableBody
func (*GetTransactionsSinceIDRequestRangeNotSatisfiableBody) MarshalBinary ¶
func (o *GetTransactionsSinceIDRequestRangeNotSatisfiableBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTransactionsSinceIDRequestRangeNotSatisfiableBody) UnmarshalBinary ¶
func (o *GetTransactionsSinceIDRequestRangeNotSatisfiableBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTransactionsSinceIDUnauthorized ¶
type GetTransactionsSinceIDUnauthorized struct { string }RequestID
GetTransactionsSinceIDUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewGetTransactionsSinceIDUnauthorized ¶
func NewGetTransactionsSinceIDUnauthorized() *GetTransactionsSinceIDUnauthorized
NewGetTransactionsSinceIDUnauthorized creates a GetTransactionsSinceIDUnauthorized with default headers values
func (*GetTransactionsSinceIDUnauthorized) Error ¶
func (o *GetTransactionsSinceIDUnauthorized) Error() string
type GetTransactionsSinceIDUnauthorizedBody ¶
type GetTransactionsSinceIDUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
GetTransactionsSinceIDUnauthorizedBody get transactions since ID unauthorized body swagger:model GetTransactionsSinceIDUnauthorizedBody
func (*GetTransactionsSinceIDUnauthorizedBody) MarshalBinary ¶
func (o *GetTransactionsSinceIDUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTransactionsSinceIDUnauthorizedBody) UnmarshalBinary ¶
func (o *GetTransactionsSinceIDUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetUserInfoForbidden ¶
type GetUserInfoForbidden struct { /*The unique identifier generated for the request */ RequestID string Payload *GetUserInfoForbiddenBody }
GetUserInfoForbidden handles this case with default header values.
Forbidden. The client has provided a token that does not authorize them to perform the action implemented by the API endpoint.
func NewGetUserInfoForbidden ¶
func NewGetUserInfoForbidden() *GetUserInfoForbidden
NewGetUserInfoForbidden creates a GetUserInfoForbidden with default headers values
func (*GetUserInfoForbidden) Error ¶
func (o *GetUserInfoForbidden) Error() string
type GetUserInfoForbiddenBody ¶
type GetUserInfoForbiddenBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetUserInfoForbiddenBody get user info forbidden body swagger:model GetUserInfoForbiddenBody
func (*GetUserInfoForbiddenBody) MarshalBinary ¶
func (o *GetUserInfoForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetUserInfoForbiddenBody) UnmarshalBinary ¶
func (o *GetUserInfoForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetUserInfoMethodNotAllowed ¶
type GetUserInfoMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *GetUserInfoMethodNotAllowedBody }
GetUserInfoMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewGetUserInfoMethodNotAllowed ¶
func NewGetUserInfoMethodNotAllowed() *GetUserInfoMethodNotAllowed
NewGetUserInfoMethodNotAllowed creates a GetUserInfoMethodNotAllowed with default headers values
func (*GetUserInfoMethodNotAllowed) Error ¶
func (o *GetUserInfoMethodNotAllowed) Error() string
type GetUserInfoMethodNotAllowedBody ¶
type GetUserInfoMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
GetUserInfoMethodNotAllowedBody get user info method not allowed body swagger:model GetUserInfoMethodNotAllowedBody
func (*GetUserInfoMethodNotAllowedBody) MarshalBinary ¶
func (o *GetUserInfoMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetUserInfoMethodNotAllowedBody) UnmarshalBinary ¶
func (o *GetUserInfoMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetUserInfoOK ¶
type GetUserInfoOK struct { /*The unique identifier generated for the request */ RequestID string Payload *GetUserInfoOKBody }
GetUserInfoOK handles this case with default header values.
The user information has been provided
func NewGetUserInfoOK ¶
func NewGetUserInfoOK() *GetUserInfoOK
NewGetUserInfoOK creates a GetUserInfoOK with default headers values
func (*GetUserInfoOK) Error ¶
func (o *GetUserInfoOK) Error() string
type GetUserInfoOKBody ¶
type GetUserInfoOKBody struct { // user info UserInfo *models.UserInfo `json:"userInfo,omitempty"` }
GetUserInfoOKBody get user info o k body swagger:model GetUserInfoOKBody
func (*GetUserInfoOKBody) MarshalBinary ¶
func (o *GetUserInfoOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetUserInfoOKBody) UnmarshalBinary ¶
func (o *GetUserInfoOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetUserInfoParams ¶
type GetUserInfoParams struct { /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*UserSpecifier The User Specifier */ UserSpecifier string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserInfoParams contains all the parameters to send to the API endpoint for the get user info operation typically these are written to a http.Request
func NewGetUserInfoParams ¶
func NewGetUserInfoParams() *GetUserInfoParams
NewGetUserInfoParams creates a new GetUserInfoParams object with the default values initialized.
func NewGetUserInfoParamsWithContext ¶
func NewGetUserInfoParamsWithContext(ctx context.Context) *GetUserInfoParams
NewGetUserInfoParamsWithContext creates a new GetUserInfoParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserInfoParamsWithHTTPClient ¶
func NewGetUserInfoParamsWithHTTPClient(client *http.Client) *GetUserInfoParams
NewGetUserInfoParamsWithHTTPClient creates a new GetUserInfoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserInfoParamsWithTimeout ¶
func NewGetUserInfoParamsWithTimeout(timeout time.Duration) *GetUserInfoParams
NewGetUserInfoParamsWithTimeout creates a new GetUserInfoParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserInfoParams) SetAuthorization ¶
func (o *GetUserInfoParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get user info params
func (*GetUserInfoParams) SetContext ¶
func (o *GetUserInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the get user info params
func (*GetUserInfoParams) SetHTTPClient ¶
func (o *GetUserInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user info params
func (*GetUserInfoParams) SetTimeout ¶
func (o *GetUserInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user info params
func (*GetUserInfoParams) SetUserSpecifier ¶
func (o *GetUserInfoParams) SetUserSpecifier(userSpecifier string)
SetUserSpecifier adds the userSpecifier to the get user info params
func (*GetUserInfoParams) WithAuthorization ¶
func (o *GetUserInfoParams) WithAuthorization(authorization string) *GetUserInfoParams
WithAuthorization adds the authorization to the get user info params
func (*GetUserInfoParams) WithContext ¶
func (o *GetUserInfoParams) WithContext(ctx context.Context) *GetUserInfoParams
WithContext adds the context to the get user info params
func (*GetUserInfoParams) WithHTTPClient ¶
func (o *GetUserInfoParams) WithHTTPClient(client *http.Client) *GetUserInfoParams
WithHTTPClient adds the HTTPClient to the get user info params
func (*GetUserInfoParams) WithTimeout ¶
func (o *GetUserInfoParams) WithTimeout(timeout time.Duration) *GetUserInfoParams
WithTimeout adds the timeout to the get user info params
func (*GetUserInfoParams) WithUserSpecifier ¶
func (o *GetUserInfoParams) WithUserSpecifier(userSpecifier string) *GetUserInfoParams
WithUserSpecifier adds the userSpecifier to the get user info params
func (*GetUserInfoParams) WriteToRequest ¶
func (o *GetUserInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserInfoReader ¶
type GetUserInfoReader struct {
// contains filtered or unexported fields
}
GetUserInfoReader is a Reader for the GetUserInfo structure.
func (*GetUserInfoReader) ReadResponse ¶
func (o *GetUserInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserInfoUnauthorized ¶
type GetUserInfoUnauthorized struct { string }RequestID
GetUserInfoUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewGetUserInfoUnauthorized ¶
func NewGetUserInfoUnauthorized() *GetUserInfoUnauthorized
NewGetUserInfoUnauthorized creates a GetUserInfoUnauthorized with default headers values
func (*GetUserInfoUnauthorized) Error ¶
func (o *GetUserInfoUnauthorized) Error() string
type GetUserInfoUnauthorizedBody ¶
type GetUserInfoUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
GetUserInfoUnauthorizedBody get user info unauthorized body swagger:model GetUserInfoUnauthorizedBody
func (*GetUserInfoUnauthorizedBody) MarshalBinary ¶
func (o *GetUserInfoUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetUserInfoUnauthorizedBody) UnmarshalBinary ¶
func (o *GetUserInfoUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListAccountsMethodNotAllowed ¶
type ListAccountsMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *ListAccountsMethodNotAllowedBody }
ListAccountsMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewListAccountsMethodNotAllowed ¶
func NewListAccountsMethodNotAllowed() *ListAccountsMethodNotAllowed
NewListAccountsMethodNotAllowed creates a ListAccountsMethodNotAllowed with default headers values
func (*ListAccountsMethodNotAllowed) Error ¶
func (o *ListAccountsMethodNotAllowed) Error() string
type ListAccountsMethodNotAllowedBody ¶
type ListAccountsMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
ListAccountsMethodNotAllowedBody list accounts method not allowed body swagger:model ListAccountsMethodNotAllowedBody
func (*ListAccountsMethodNotAllowedBody) MarshalBinary ¶
func (o *ListAccountsMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListAccountsMethodNotAllowedBody) UnmarshalBinary ¶
func (o *ListAccountsMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListAccountsOK ¶
type ListAccountsOK struct { /*The unique identifier generated for the request */ RequestID string Payload *ListAccountsOKBody }
ListAccountsOK handles this case with default header values.
The list of authorized Accounts has been provided.
func NewListAccountsOK ¶
func NewListAccountsOK() *ListAccountsOK
NewListAccountsOK creates a ListAccountsOK with default headers values
func (*ListAccountsOK) Error ¶
func (o *ListAccountsOK) Error() string
type ListAccountsOKBody ¶
type ListAccountsOKBody struct { // The list of Accounts the client is authorized to access and their associated properties. Accounts []*models.AccountProperties `json:"accounts"` }
ListAccountsOKBody list accounts o k body swagger:model ListAccountsOKBody
func (*ListAccountsOKBody) MarshalBinary ¶
func (o *ListAccountsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListAccountsOKBody) UnmarshalBinary ¶
func (o *ListAccountsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListAccountsParams ¶
type ListAccountsParams struct { /*Authorization The authorization bearer token previously obtained by the client */ Authorization string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListAccountsParams contains all the parameters to send to the API endpoint for the list accounts operation typically these are written to a http.Request
func NewListAccountsParams ¶
func NewListAccountsParams() *ListAccountsParams
NewListAccountsParams creates a new ListAccountsParams object with the default values initialized.
func NewListAccountsParamsWithContext ¶
func NewListAccountsParamsWithContext(ctx context.Context) *ListAccountsParams
NewListAccountsParamsWithContext creates a new ListAccountsParams object with the default values initialized, and the ability to set a context for a request
func NewListAccountsParamsWithHTTPClient ¶
func NewListAccountsParamsWithHTTPClient(client *http.Client) *ListAccountsParams
NewListAccountsParamsWithHTTPClient creates a new ListAccountsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListAccountsParamsWithTimeout ¶
func NewListAccountsParamsWithTimeout(timeout time.Duration) *ListAccountsParams
NewListAccountsParamsWithTimeout creates a new ListAccountsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListAccountsParams) SetAuthorization ¶
func (o *ListAccountsParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the list accounts params
func (*ListAccountsParams) SetContext ¶
func (o *ListAccountsParams) SetContext(ctx context.Context)
SetContext adds the context to the list accounts params
func (*ListAccountsParams) SetHTTPClient ¶
func (o *ListAccountsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list accounts params
func (*ListAccountsParams) SetTimeout ¶
func (o *ListAccountsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list accounts params
func (*ListAccountsParams) WithAuthorization ¶
func (o *ListAccountsParams) WithAuthorization(authorization string) *ListAccountsParams
WithAuthorization adds the authorization to the list accounts params
func (*ListAccountsParams) WithContext ¶
func (o *ListAccountsParams) WithContext(ctx context.Context) *ListAccountsParams
WithContext adds the context to the list accounts params
func (*ListAccountsParams) WithHTTPClient ¶
func (o *ListAccountsParams) WithHTTPClient(client *http.Client) *ListAccountsParams
WithHTTPClient adds the HTTPClient to the list accounts params
func (*ListAccountsParams) WithTimeout ¶
func (o *ListAccountsParams) WithTimeout(timeout time.Duration) *ListAccountsParams
WithTimeout adds the timeout to the list accounts params
func (*ListAccountsParams) WriteToRequest ¶
func (o *ListAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAccountsReader ¶
type ListAccountsReader struct {
// contains filtered or unexported fields
}
ListAccountsReader is a Reader for the ListAccounts structure.
func (*ListAccountsReader) ReadResponse ¶
func (o *ListAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListAccountsUnauthorized ¶
type ListAccountsUnauthorized struct { string }RequestID
ListAccountsUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewListAccountsUnauthorized ¶
func NewListAccountsUnauthorized() *ListAccountsUnauthorized
NewListAccountsUnauthorized creates a ListAccountsUnauthorized with default headers values
func (*ListAccountsUnauthorized) Error ¶
func (o *ListAccountsUnauthorized) Error() string
type ListAccountsUnauthorizedBody ¶
type ListAccountsUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
ListAccountsUnauthorizedBody list accounts unauthorized body swagger:model ListAccountsUnauthorizedBody
func (*ListAccountsUnauthorizedBody) MarshalBinary ¶
func (o *ListAccountsUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListAccountsUnauthorizedBody) UnmarshalBinary ¶
func (o *ListAccountsUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOpenPositionsMethodNotAllowed ¶
type ListOpenPositionsMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *ListOpenPositionsMethodNotAllowedBody }
ListOpenPositionsMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewListOpenPositionsMethodNotAllowed ¶
func NewListOpenPositionsMethodNotAllowed() *ListOpenPositionsMethodNotAllowed
NewListOpenPositionsMethodNotAllowed creates a ListOpenPositionsMethodNotAllowed with default headers values
func (*ListOpenPositionsMethodNotAllowed) Error ¶
func (o *ListOpenPositionsMethodNotAllowed) Error() string
type ListOpenPositionsMethodNotAllowedBody ¶
type ListOpenPositionsMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
ListOpenPositionsMethodNotAllowedBody list open positions method not allowed body swagger:model ListOpenPositionsMethodNotAllowedBody
func (*ListOpenPositionsMethodNotAllowedBody) MarshalBinary ¶
func (o *ListOpenPositionsMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOpenPositionsMethodNotAllowedBody) UnmarshalBinary ¶
func (o *ListOpenPositionsMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOpenPositionsNotFound ¶
type ListOpenPositionsNotFound struct { /*The unique identifier generated for the request */ RequestID string Payload *ListOpenPositionsNotFoundBody }
ListOpenPositionsNotFound handles this case with default header values.
Not Found. The client has attempted to access an entity that does not exist.
func NewListOpenPositionsNotFound ¶
func NewListOpenPositionsNotFound() *ListOpenPositionsNotFound
NewListOpenPositionsNotFound creates a ListOpenPositionsNotFound with default headers values
func (*ListOpenPositionsNotFound) Error ¶
func (o *ListOpenPositionsNotFound) Error() string
type ListOpenPositionsNotFoundBody ¶
type ListOpenPositionsNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
ListOpenPositionsNotFoundBody list open positions not found body swagger:model ListOpenPositionsNotFoundBody
func (*ListOpenPositionsNotFoundBody) MarshalBinary ¶
func (o *ListOpenPositionsNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOpenPositionsNotFoundBody) UnmarshalBinary ¶
func (o *ListOpenPositionsNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOpenPositionsOK ¶
type ListOpenPositionsOK struct { /*The unique identifier generated for the request */ RequestID string Payload *ListOpenPositionsOKBody }
ListOpenPositionsOK handles this case with default header values.
The Account's open Positions are provided.
func NewListOpenPositionsOK ¶
func NewListOpenPositionsOK() *ListOpenPositionsOK
NewListOpenPositionsOK creates a ListOpenPositionsOK with default headers values
func (*ListOpenPositionsOK) Error ¶
func (o *ListOpenPositionsOK) Error() string
type ListOpenPositionsOKBody ¶
type ListOpenPositionsOKBody struct { // The ID of the most recent Transaction created for the Account LastTransactionID string `json:"lastTransactionID,omitempty"` // The list of open Positions in the Account. Positions []*models.Position `json:"positions"` }
ListOpenPositionsOKBody list open positions o k body swagger:model ListOpenPositionsOKBody
func (*ListOpenPositionsOKBody) MarshalBinary ¶
func (o *ListOpenPositionsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOpenPositionsOKBody) UnmarshalBinary ¶
func (o *ListOpenPositionsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOpenPositionsParams ¶
type ListOpenPositionsParams struct { /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*AccountID Account Identifier */ AccountID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListOpenPositionsParams contains all the parameters to send to the API endpoint for the list open positions operation typically these are written to a http.Request
func NewListOpenPositionsParams ¶
func NewListOpenPositionsParams() *ListOpenPositionsParams
NewListOpenPositionsParams creates a new ListOpenPositionsParams object with the default values initialized.
func NewListOpenPositionsParamsWithContext ¶
func NewListOpenPositionsParamsWithContext(ctx context.Context) *ListOpenPositionsParams
NewListOpenPositionsParamsWithContext creates a new ListOpenPositionsParams object with the default values initialized, and the ability to set a context for a request
func NewListOpenPositionsParamsWithHTTPClient ¶
func NewListOpenPositionsParamsWithHTTPClient(client *http.Client) *ListOpenPositionsParams
NewListOpenPositionsParamsWithHTTPClient creates a new ListOpenPositionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListOpenPositionsParamsWithTimeout ¶
func NewListOpenPositionsParamsWithTimeout(timeout time.Duration) *ListOpenPositionsParams
NewListOpenPositionsParamsWithTimeout creates a new ListOpenPositionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListOpenPositionsParams) SetAccountID ¶
func (o *ListOpenPositionsParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the list open positions params
func (*ListOpenPositionsParams) SetAuthorization ¶
func (o *ListOpenPositionsParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the list open positions params
func (*ListOpenPositionsParams) SetContext ¶
func (o *ListOpenPositionsParams) SetContext(ctx context.Context)
SetContext adds the context to the list open positions params
func (*ListOpenPositionsParams) SetHTTPClient ¶
func (o *ListOpenPositionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list open positions params
func (*ListOpenPositionsParams) SetTimeout ¶
func (o *ListOpenPositionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list open positions params
func (*ListOpenPositionsParams) WithAccountID ¶
func (o *ListOpenPositionsParams) WithAccountID(accountID string) *ListOpenPositionsParams
WithAccountID adds the accountID to the list open positions params
func (*ListOpenPositionsParams) WithAuthorization ¶
func (o *ListOpenPositionsParams) WithAuthorization(authorization string) *ListOpenPositionsParams
WithAuthorization adds the authorization to the list open positions params
func (*ListOpenPositionsParams) WithContext ¶
func (o *ListOpenPositionsParams) WithContext(ctx context.Context) *ListOpenPositionsParams
WithContext adds the context to the list open positions params
func (*ListOpenPositionsParams) WithHTTPClient ¶
func (o *ListOpenPositionsParams) WithHTTPClient(client *http.Client) *ListOpenPositionsParams
WithHTTPClient adds the HTTPClient to the list open positions params
func (*ListOpenPositionsParams) WithTimeout ¶
func (o *ListOpenPositionsParams) WithTimeout(timeout time.Duration) *ListOpenPositionsParams
WithTimeout adds the timeout to the list open positions params
func (*ListOpenPositionsParams) WriteToRequest ¶
func (o *ListOpenPositionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListOpenPositionsReader ¶
type ListOpenPositionsReader struct {
// contains filtered or unexported fields
}
ListOpenPositionsReader is a Reader for the ListOpenPositions structure.
func (*ListOpenPositionsReader) ReadResponse ¶
func (o *ListOpenPositionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListOpenPositionsUnauthorized ¶
type ListOpenPositionsUnauthorized struct { string }RequestID
ListOpenPositionsUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewListOpenPositionsUnauthorized ¶
func NewListOpenPositionsUnauthorized() *ListOpenPositionsUnauthorized
NewListOpenPositionsUnauthorized creates a ListOpenPositionsUnauthorized with default headers values
func (*ListOpenPositionsUnauthorized) Error ¶
func (o *ListOpenPositionsUnauthorized) Error() string
type ListOpenPositionsUnauthorizedBody ¶
type ListOpenPositionsUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
ListOpenPositionsUnauthorizedBody list open positions unauthorized body swagger:model ListOpenPositionsUnauthorizedBody
func (*ListOpenPositionsUnauthorizedBody) MarshalBinary ¶
func (o *ListOpenPositionsUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOpenPositionsUnauthorizedBody) UnmarshalBinary ¶
func (o *ListOpenPositionsUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOpenTradesMethodNotAllowed ¶
type ListOpenTradesMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *ListOpenTradesMethodNotAllowedBody }
ListOpenTradesMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewListOpenTradesMethodNotAllowed ¶
func NewListOpenTradesMethodNotAllowed() *ListOpenTradesMethodNotAllowed
NewListOpenTradesMethodNotAllowed creates a ListOpenTradesMethodNotAllowed with default headers values
func (*ListOpenTradesMethodNotAllowed) Error ¶
func (o *ListOpenTradesMethodNotAllowed) Error() string
type ListOpenTradesMethodNotAllowedBody ¶
type ListOpenTradesMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
ListOpenTradesMethodNotAllowedBody list open trades method not allowed body swagger:model ListOpenTradesMethodNotAllowedBody
func (*ListOpenTradesMethodNotAllowedBody) MarshalBinary ¶
func (o *ListOpenTradesMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOpenTradesMethodNotAllowedBody) UnmarshalBinary ¶
func (o *ListOpenTradesMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOpenTradesNotFound ¶
type ListOpenTradesNotFound struct { /*The unique identifier generated for the request */ RequestID string Payload *ListOpenTradesNotFoundBody }
ListOpenTradesNotFound handles this case with default header values.
Not Found. The client has attempted to access an entity that does not exist.
func NewListOpenTradesNotFound ¶
func NewListOpenTradesNotFound() *ListOpenTradesNotFound
NewListOpenTradesNotFound creates a ListOpenTradesNotFound with default headers values
func (*ListOpenTradesNotFound) Error ¶
func (o *ListOpenTradesNotFound) Error() string
type ListOpenTradesNotFoundBody ¶
type ListOpenTradesNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
ListOpenTradesNotFoundBody list open trades not found body swagger:model ListOpenTradesNotFoundBody
func (*ListOpenTradesNotFoundBody) MarshalBinary ¶
func (o *ListOpenTradesNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOpenTradesNotFoundBody) UnmarshalBinary ¶
func (o *ListOpenTradesNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOpenTradesOK ¶
type ListOpenTradesOK struct { /*The unique identifier generated for the request */ RequestID string Payload *ListOpenTradesOKBody }
ListOpenTradesOK handles this case with default header values.
The Account's list of open Trades is provided
func NewListOpenTradesOK ¶
func NewListOpenTradesOK() *ListOpenTradesOK
NewListOpenTradesOK creates a ListOpenTradesOK with default headers values
func (*ListOpenTradesOK) Error ¶
func (o *ListOpenTradesOK) Error() string
type ListOpenTradesOKBody ¶
type ListOpenTradesOKBody struct { // The ID of the most recent Transaction created for the Account LastTransactionID string `json:"lastTransactionID,omitempty"` // The Account's list of open Trades Trades []*models.Trade `json:"trades"` }
ListOpenTradesOKBody list open trades o k body swagger:model ListOpenTradesOKBody
func (*ListOpenTradesOKBody) MarshalBinary ¶
func (o *ListOpenTradesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOpenTradesOKBody) UnmarshalBinary ¶
func (o *ListOpenTradesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOpenTradesParams ¶
type ListOpenTradesParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*AccountID Account Identifier */ AccountID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListOpenTradesParams contains all the parameters to send to the API endpoint for the list open trades operation typically these are written to a http.Request
func NewListOpenTradesParams ¶
func NewListOpenTradesParams() *ListOpenTradesParams
NewListOpenTradesParams creates a new ListOpenTradesParams object with the default values initialized.
func NewListOpenTradesParamsWithContext ¶
func NewListOpenTradesParamsWithContext(ctx context.Context) *ListOpenTradesParams
NewListOpenTradesParamsWithContext creates a new ListOpenTradesParams object with the default values initialized, and the ability to set a context for a request
func NewListOpenTradesParamsWithHTTPClient ¶
func NewListOpenTradesParamsWithHTTPClient(client *http.Client) *ListOpenTradesParams
NewListOpenTradesParamsWithHTTPClient creates a new ListOpenTradesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListOpenTradesParamsWithTimeout ¶
func NewListOpenTradesParamsWithTimeout(timeout time.Duration) *ListOpenTradesParams
NewListOpenTradesParamsWithTimeout creates a new ListOpenTradesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListOpenTradesParams) SetAcceptDatetimeFormat ¶
func (o *ListOpenTradesParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the list open trades params
func (*ListOpenTradesParams) SetAccountID ¶
func (o *ListOpenTradesParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the list open trades params
func (*ListOpenTradesParams) SetAuthorization ¶
func (o *ListOpenTradesParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the list open trades params
func (*ListOpenTradesParams) SetContext ¶
func (o *ListOpenTradesParams) SetContext(ctx context.Context)
SetContext adds the context to the list open trades params
func (*ListOpenTradesParams) SetHTTPClient ¶
func (o *ListOpenTradesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list open trades params
func (*ListOpenTradesParams) SetTimeout ¶
func (o *ListOpenTradesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list open trades params
func (*ListOpenTradesParams) WithAcceptDatetimeFormat ¶
func (o *ListOpenTradesParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *ListOpenTradesParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the list open trades params
func (*ListOpenTradesParams) WithAccountID ¶
func (o *ListOpenTradesParams) WithAccountID(accountID string) *ListOpenTradesParams
WithAccountID adds the accountID to the list open trades params
func (*ListOpenTradesParams) WithAuthorization ¶
func (o *ListOpenTradesParams) WithAuthorization(authorization string) *ListOpenTradesParams
WithAuthorization adds the authorization to the list open trades params
func (*ListOpenTradesParams) WithContext ¶
func (o *ListOpenTradesParams) WithContext(ctx context.Context) *ListOpenTradesParams
WithContext adds the context to the list open trades params
func (*ListOpenTradesParams) WithHTTPClient ¶
func (o *ListOpenTradesParams) WithHTTPClient(client *http.Client) *ListOpenTradesParams
WithHTTPClient adds the HTTPClient to the list open trades params
func (*ListOpenTradesParams) WithTimeout ¶
func (o *ListOpenTradesParams) WithTimeout(timeout time.Duration) *ListOpenTradesParams
WithTimeout adds the timeout to the list open trades params
func (*ListOpenTradesParams) WriteToRequest ¶
func (o *ListOpenTradesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListOpenTradesReader ¶
type ListOpenTradesReader struct {
// contains filtered or unexported fields
}
ListOpenTradesReader is a Reader for the ListOpenTrades structure.
func (*ListOpenTradesReader) ReadResponse ¶
func (o *ListOpenTradesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListOpenTradesUnauthorized ¶
type ListOpenTradesUnauthorized struct { string }RequestID
ListOpenTradesUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewListOpenTradesUnauthorized ¶
func NewListOpenTradesUnauthorized() *ListOpenTradesUnauthorized
NewListOpenTradesUnauthorized creates a ListOpenTradesUnauthorized with default headers values
func (*ListOpenTradesUnauthorized) Error ¶
func (o *ListOpenTradesUnauthorized) Error() string
type ListOpenTradesUnauthorizedBody ¶
type ListOpenTradesUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
ListOpenTradesUnauthorizedBody list open trades unauthorized body swagger:model ListOpenTradesUnauthorizedBody
func (*ListOpenTradesUnauthorizedBody) MarshalBinary ¶
func (o *ListOpenTradesUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOpenTradesUnauthorizedBody) UnmarshalBinary ¶
func (o *ListOpenTradesUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrdersBadRequest ¶
type ListOrdersBadRequest struct { /*The unique identifier generated for the request */ RequestID string Payload *ListOrdersBadRequestBody }
ListOrdersBadRequest handles this case with default header values.
Bad Request. The client has provided invalid data to be processed by the server.
func NewListOrdersBadRequest ¶
func NewListOrdersBadRequest() *ListOrdersBadRequest
NewListOrdersBadRequest creates a ListOrdersBadRequest with default headers values
func (*ListOrdersBadRequest) Error ¶
func (o *ListOrdersBadRequest) Error() string
type ListOrdersBadRequestBody ¶
type ListOrdersBadRequestBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
ListOrdersBadRequestBody list orders bad request body swagger:model ListOrdersBadRequestBody
func (*ListOrdersBadRequestBody) MarshalBinary ¶
func (o *ListOrdersBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrdersBadRequestBody) UnmarshalBinary ¶
func (o *ListOrdersBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrdersMethodNotAllowed ¶
type ListOrdersMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *ListOrdersMethodNotAllowedBody }
ListOrdersMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewListOrdersMethodNotAllowed ¶
func NewListOrdersMethodNotAllowed() *ListOrdersMethodNotAllowed
NewListOrdersMethodNotAllowed creates a ListOrdersMethodNotAllowed with default headers values
func (*ListOrdersMethodNotAllowed) Error ¶
func (o *ListOrdersMethodNotAllowed) Error() string
type ListOrdersMethodNotAllowedBody ¶
type ListOrdersMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
ListOrdersMethodNotAllowedBody list orders method not allowed body swagger:model ListOrdersMethodNotAllowedBody
func (*ListOrdersMethodNotAllowedBody) MarshalBinary ¶
func (o *ListOrdersMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrdersMethodNotAllowedBody) UnmarshalBinary ¶
func (o *ListOrdersMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrdersNotFound ¶
type ListOrdersNotFound struct { /*The unique identifier generated for the request */ RequestID string Payload *ListOrdersNotFoundBody }
ListOrdersNotFound handles this case with default header values.
Not Found. The client has attempted to access an entity that does not exist.
func NewListOrdersNotFound ¶
func NewListOrdersNotFound() *ListOrdersNotFound
NewListOrdersNotFound creates a ListOrdersNotFound with default headers values
func (*ListOrdersNotFound) Error ¶
func (o *ListOrdersNotFound) Error() string
type ListOrdersNotFoundBody ¶
type ListOrdersNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
ListOrdersNotFoundBody list orders not found body swagger:model ListOrdersNotFoundBody
func (*ListOrdersNotFoundBody) MarshalBinary ¶
func (o *ListOrdersNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrdersNotFoundBody) UnmarshalBinary ¶
func (o *ListOrdersNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrdersOK ¶
type ListOrdersOK struct { /*A link to the next page of results if the results were paginated */ Link string /*The unique identifier generated for the request */ RequestID string Payload *ListOrdersOKBody }
ListOrdersOK handles this case with default header values.
The list of Orders requested
func NewListOrdersOK ¶
func NewListOrdersOK() *ListOrdersOK
NewListOrdersOK creates a ListOrdersOK with default headers values
func (*ListOrdersOK) Error ¶
func (o *ListOrdersOK) Error() string
type ListOrdersOKBody ¶
type ListOrdersOKBody struct { // The ID of the most recent Transaction created for the Account LastTransactionID string `json:"lastTransactionID,omitempty"` // The list of Order detail objects Orders []*models.Order `json:"orders"` }
ListOrdersOKBody list orders o k body swagger:model ListOrdersOKBody
func (*ListOrdersOKBody) MarshalBinary ¶
func (o *ListOrdersOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrdersOKBody) UnmarshalBinary ¶
func (o *ListOrdersOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrdersParams ¶
type ListOrdersParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*AccountID Account Identifier */ AccountID string /*BeforeID The maximum Order ID to return. If not provided the most recent Orders in the Account are returned */ BeforeID *string /*Count The maximum number of Orders to return */ Count *int64 /*Ids List of Order IDs to retrieve */ Ids []string /*Instrument The instrument to filter the requested orders by */ Instrument *string /*State The state to filter the requested Orders by */ State *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListOrdersParams contains all the parameters to send to the API endpoint for the list orders operation typically these are written to a http.Request
func NewListOrdersParams ¶
func NewListOrdersParams() *ListOrdersParams
NewListOrdersParams creates a new ListOrdersParams object with the default values initialized.
func NewListOrdersParamsWithContext ¶
func NewListOrdersParamsWithContext(ctx context.Context) *ListOrdersParams
NewListOrdersParamsWithContext creates a new ListOrdersParams object with the default values initialized, and the ability to set a context for a request
func NewListOrdersParamsWithHTTPClient ¶
func NewListOrdersParamsWithHTTPClient(client *http.Client) *ListOrdersParams
NewListOrdersParamsWithHTTPClient creates a new ListOrdersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListOrdersParamsWithTimeout ¶
func NewListOrdersParamsWithTimeout(timeout time.Duration) *ListOrdersParams
NewListOrdersParamsWithTimeout creates a new ListOrdersParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListOrdersParams) SetAcceptDatetimeFormat ¶
func (o *ListOrdersParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the list orders params
func (*ListOrdersParams) SetAccountID ¶
func (o *ListOrdersParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the list orders params
func (*ListOrdersParams) SetAuthorization ¶
func (o *ListOrdersParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the list orders params
func (*ListOrdersParams) SetBeforeID ¶
func (o *ListOrdersParams) SetBeforeID(beforeID *string)
SetBeforeID adds the beforeId to the list orders params
func (*ListOrdersParams) SetContext ¶
func (o *ListOrdersParams) SetContext(ctx context.Context)
SetContext adds the context to the list orders params
func (*ListOrdersParams) SetCount ¶
func (o *ListOrdersParams) SetCount(count *int64)
SetCount adds the count to the list orders params
func (*ListOrdersParams) SetHTTPClient ¶
func (o *ListOrdersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list orders params
func (*ListOrdersParams) SetIds ¶
func (o *ListOrdersParams) SetIds(ids []string)
SetIds adds the ids to the list orders params
func (*ListOrdersParams) SetInstrument ¶
func (o *ListOrdersParams) SetInstrument(instrument *string)
SetInstrument adds the instrument to the list orders params
func (*ListOrdersParams) SetState ¶
func (o *ListOrdersParams) SetState(state *string)
SetState adds the state to the list orders params
func (*ListOrdersParams) SetTimeout ¶
func (o *ListOrdersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list orders params
func (*ListOrdersParams) WithAcceptDatetimeFormat ¶
func (o *ListOrdersParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *ListOrdersParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the list orders params
func (*ListOrdersParams) WithAccountID ¶
func (o *ListOrdersParams) WithAccountID(accountID string) *ListOrdersParams
WithAccountID adds the accountID to the list orders params
func (*ListOrdersParams) WithAuthorization ¶
func (o *ListOrdersParams) WithAuthorization(authorization string) *ListOrdersParams
WithAuthorization adds the authorization to the list orders params
func (*ListOrdersParams) WithBeforeID ¶
func (o *ListOrdersParams) WithBeforeID(beforeID *string) *ListOrdersParams
WithBeforeID adds the beforeID to the list orders params
func (*ListOrdersParams) WithContext ¶
func (o *ListOrdersParams) WithContext(ctx context.Context) *ListOrdersParams
WithContext adds the context to the list orders params
func (*ListOrdersParams) WithCount ¶
func (o *ListOrdersParams) WithCount(count *int64) *ListOrdersParams
WithCount adds the count to the list orders params
func (*ListOrdersParams) WithHTTPClient ¶
func (o *ListOrdersParams) WithHTTPClient(client *http.Client) *ListOrdersParams
WithHTTPClient adds the HTTPClient to the list orders params
func (*ListOrdersParams) WithIds ¶
func (o *ListOrdersParams) WithIds(ids []string) *ListOrdersParams
WithIds adds the ids to the list orders params
func (*ListOrdersParams) WithInstrument ¶
func (o *ListOrdersParams) WithInstrument(instrument *string) *ListOrdersParams
WithInstrument adds the instrument to the list orders params
func (*ListOrdersParams) WithState ¶
func (o *ListOrdersParams) WithState(state *string) *ListOrdersParams
WithState adds the state to the list orders params
func (*ListOrdersParams) WithTimeout ¶
func (o *ListOrdersParams) WithTimeout(timeout time.Duration) *ListOrdersParams
WithTimeout adds the timeout to the list orders params
func (*ListOrdersParams) WriteToRequest ¶
func (o *ListOrdersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListOrdersReader ¶
type ListOrdersReader struct {
// contains filtered or unexported fields
}
ListOrdersReader is a Reader for the ListOrders structure.
func (*ListOrdersReader) ReadResponse ¶
func (o *ListOrdersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListPendingOrdersMethodNotAllowed ¶
type ListPendingOrdersMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *ListPendingOrdersMethodNotAllowedBody }
ListPendingOrdersMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewListPendingOrdersMethodNotAllowed ¶
func NewListPendingOrdersMethodNotAllowed() *ListPendingOrdersMethodNotAllowed
NewListPendingOrdersMethodNotAllowed creates a ListPendingOrdersMethodNotAllowed with default headers values
func (*ListPendingOrdersMethodNotAllowed) Error ¶
func (o *ListPendingOrdersMethodNotAllowed) Error() string
type ListPendingOrdersMethodNotAllowedBody ¶
type ListPendingOrdersMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
ListPendingOrdersMethodNotAllowedBody list pending orders method not allowed body swagger:model ListPendingOrdersMethodNotAllowedBody
func (*ListPendingOrdersMethodNotAllowedBody) MarshalBinary ¶
func (o *ListPendingOrdersMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPendingOrdersMethodNotAllowedBody) UnmarshalBinary ¶
func (o *ListPendingOrdersMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPendingOrdersNotFound ¶
type ListPendingOrdersNotFound struct { /*The unique identifier generated for the request */ RequestID string Payload *ListPendingOrdersNotFoundBody }
ListPendingOrdersNotFound handles this case with default header values.
Not Found. The client has attempted to access an entity that does not exist.
func NewListPendingOrdersNotFound ¶
func NewListPendingOrdersNotFound() *ListPendingOrdersNotFound
NewListPendingOrdersNotFound creates a ListPendingOrdersNotFound with default headers values
func (*ListPendingOrdersNotFound) Error ¶
func (o *ListPendingOrdersNotFound) Error() string
type ListPendingOrdersNotFoundBody ¶
type ListPendingOrdersNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
ListPendingOrdersNotFoundBody list pending orders not found body swagger:model ListPendingOrdersNotFoundBody
func (*ListPendingOrdersNotFoundBody) MarshalBinary ¶
func (o *ListPendingOrdersNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPendingOrdersNotFoundBody) UnmarshalBinary ¶
func (o *ListPendingOrdersNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPendingOrdersOK ¶
type ListPendingOrdersOK struct { /*The unique identifier generated for the request */ RequestID string Payload *ListPendingOrdersOKBody }
ListPendingOrdersOK handles this case with default header values.
List of pending Orders for the Account
func NewListPendingOrdersOK ¶
func NewListPendingOrdersOK() *ListPendingOrdersOK
NewListPendingOrdersOK creates a ListPendingOrdersOK with default headers values
func (*ListPendingOrdersOK) Error ¶
func (o *ListPendingOrdersOK) Error() string
type ListPendingOrdersOKBody ¶
type ListPendingOrdersOKBody struct { // The ID of the most recent Transaction created for the Account LastTransactionID string `json:"lastTransactionID,omitempty"` // The list of pending Order details Orders []*models.Order `json:"orders"` }
ListPendingOrdersOKBody list pending orders o k body swagger:model ListPendingOrdersOKBody
func (*ListPendingOrdersOKBody) MarshalBinary ¶
func (o *ListPendingOrdersOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPendingOrdersOKBody) UnmarshalBinary ¶
func (o *ListPendingOrdersOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPendingOrdersParams ¶
type ListPendingOrdersParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*AccountID Account Identifier */ AccountID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListPendingOrdersParams contains all the parameters to send to the API endpoint for the list pending orders operation typically these are written to a http.Request
func NewListPendingOrdersParams ¶
func NewListPendingOrdersParams() *ListPendingOrdersParams
NewListPendingOrdersParams creates a new ListPendingOrdersParams object with the default values initialized.
func NewListPendingOrdersParamsWithContext ¶
func NewListPendingOrdersParamsWithContext(ctx context.Context) *ListPendingOrdersParams
NewListPendingOrdersParamsWithContext creates a new ListPendingOrdersParams object with the default values initialized, and the ability to set a context for a request
func NewListPendingOrdersParamsWithHTTPClient ¶
func NewListPendingOrdersParamsWithHTTPClient(client *http.Client) *ListPendingOrdersParams
NewListPendingOrdersParamsWithHTTPClient creates a new ListPendingOrdersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListPendingOrdersParamsWithTimeout ¶
func NewListPendingOrdersParamsWithTimeout(timeout time.Duration) *ListPendingOrdersParams
NewListPendingOrdersParamsWithTimeout creates a new ListPendingOrdersParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListPendingOrdersParams) SetAcceptDatetimeFormat ¶
func (o *ListPendingOrdersParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the list pending orders params
func (*ListPendingOrdersParams) SetAccountID ¶
func (o *ListPendingOrdersParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the list pending orders params
func (*ListPendingOrdersParams) SetAuthorization ¶
func (o *ListPendingOrdersParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the list pending orders params
func (*ListPendingOrdersParams) SetContext ¶
func (o *ListPendingOrdersParams) SetContext(ctx context.Context)
SetContext adds the context to the list pending orders params
func (*ListPendingOrdersParams) SetHTTPClient ¶
func (o *ListPendingOrdersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list pending orders params
func (*ListPendingOrdersParams) SetTimeout ¶
func (o *ListPendingOrdersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list pending orders params
func (*ListPendingOrdersParams) WithAcceptDatetimeFormat ¶
func (o *ListPendingOrdersParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *ListPendingOrdersParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the list pending orders params
func (*ListPendingOrdersParams) WithAccountID ¶
func (o *ListPendingOrdersParams) WithAccountID(accountID string) *ListPendingOrdersParams
WithAccountID adds the accountID to the list pending orders params
func (*ListPendingOrdersParams) WithAuthorization ¶
func (o *ListPendingOrdersParams) WithAuthorization(authorization string) *ListPendingOrdersParams
WithAuthorization adds the authorization to the list pending orders params
func (*ListPendingOrdersParams) WithContext ¶
func (o *ListPendingOrdersParams) WithContext(ctx context.Context) *ListPendingOrdersParams
WithContext adds the context to the list pending orders params
func (*ListPendingOrdersParams) WithHTTPClient ¶
func (o *ListPendingOrdersParams) WithHTTPClient(client *http.Client) *ListPendingOrdersParams
WithHTTPClient adds the HTTPClient to the list pending orders params
func (*ListPendingOrdersParams) WithTimeout ¶
func (o *ListPendingOrdersParams) WithTimeout(timeout time.Duration) *ListPendingOrdersParams
WithTimeout adds the timeout to the list pending orders params
func (*ListPendingOrdersParams) WriteToRequest ¶
func (o *ListPendingOrdersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPendingOrdersReader ¶
type ListPendingOrdersReader struct {
// contains filtered or unexported fields
}
ListPendingOrdersReader is a Reader for the ListPendingOrders structure.
func (*ListPendingOrdersReader) ReadResponse ¶
func (o *ListPendingOrdersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListPendingOrdersUnauthorized ¶
type ListPendingOrdersUnauthorized struct { string }RequestID
ListPendingOrdersUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewListPendingOrdersUnauthorized ¶
func NewListPendingOrdersUnauthorized() *ListPendingOrdersUnauthorized
NewListPendingOrdersUnauthorized creates a ListPendingOrdersUnauthorized with default headers values
func (*ListPendingOrdersUnauthorized) Error ¶
func (o *ListPendingOrdersUnauthorized) Error() string
type ListPendingOrdersUnauthorizedBody ¶
type ListPendingOrdersUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
ListPendingOrdersUnauthorizedBody list pending orders unauthorized body swagger:model ListPendingOrdersUnauthorizedBody
func (*ListPendingOrdersUnauthorizedBody) MarshalBinary ¶
func (o *ListPendingOrdersUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPendingOrdersUnauthorizedBody) UnmarshalBinary ¶
func (o *ListPendingOrdersUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPositionsMethodNotAllowed ¶
type ListPositionsMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *ListPositionsMethodNotAllowedBody }
ListPositionsMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewListPositionsMethodNotAllowed ¶
func NewListPositionsMethodNotAllowed() *ListPositionsMethodNotAllowed
NewListPositionsMethodNotAllowed creates a ListPositionsMethodNotAllowed with default headers values
func (*ListPositionsMethodNotAllowed) Error ¶
func (o *ListPositionsMethodNotAllowed) Error() string
type ListPositionsMethodNotAllowedBody ¶
type ListPositionsMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
ListPositionsMethodNotAllowedBody list positions method not allowed body swagger:model ListPositionsMethodNotAllowedBody
func (*ListPositionsMethodNotAllowedBody) MarshalBinary ¶
func (o *ListPositionsMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPositionsMethodNotAllowedBody) UnmarshalBinary ¶
func (o *ListPositionsMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPositionsNotFound ¶
type ListPositionsNotFound struct { /*The unique identifier generated for the request */ RequestID string Payload *ListPositionsNotFoundBody }
ListPositionsNotFound handles this case with default header values.
Not Found. The client has attempted to access an entity that does not exist.
func NewListPositionsNotFound ¶
func NewListPositionsNotFound() *ListPositionsNotFound
NewListPositionsNotFound creates a ListPositionsNotFound with default headers values
func (*ListPositionsNotFound) Error ¶
func (o *ListPositionsNotFound) Error() string
type ListPositionsNotFoundBody ¶
type ListPositionsNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
ListPositionsNotFoundBody list positions not found body swagger:model ListPositionsNotFoundBody
func (*ListPositionsNotFoundBody) MarshalBinary ¶
func (o *ListPositionsNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPositionsNotFoundBody) UnmarshalBinary ¶
func (o *ListPositionsNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPositionsOK ¶
type ListPositionsOK struct { /*The unique identifier generated for the request */ RequestID string Payload *ListPositionsOKBody }
ListPositionsOK handles this case with default header values.
The Account's Positions are provided.
func NewListPositionsOK ¶
func NewListPositionsOK() *ListPositionsOK
NewListPositionsOK creates a ListPositionsOK with default headers values
func (*ListPositionsOK) Error ¶
func (o *ListPositionsOK) Error() string
type ListPositionsOKBody ¶
type ListPositionsOKBody struct { // The ID of the most recent Transaction created for the Account LastTransactionID string `json:"lastTransactionID,omitempty"` // The list of Account Positions. Positions []*models.Position `json:"positions"` }
ListPositionsOKBody list positions o k body swagger:model ListPositionsOKBody
func (*ListPositionsOKBody) MarshalBinary ¶
func (o *ListPositionsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPositionsOKBody) UnmarshalBinary ¶
func (o *ListPositionsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPositionsParams ¶
type ListPositionsParams struct { /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*AccountID Account Identifier */ AccountID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListPositionsParams contains all the parameters to send to the API endpoint for the list positions operation typically these are written to a http.Request
func NewListPositionsParams ¶
func NewListPositionsParams() *ListPositionsParams
NewListPositionsParams creates a new ListPositionsParams object with the default values initialized.
func NewListPositionsParamsWithContext ¶
func NewListPositionsParamsWithContext(ctx context.Context) *ListPositionsParams
NewListPositionsParamsWithContext creates a new ListPositionsParams object with the default values initialized, and the ability to set a context for a request
func NewListPositionsParamsWithHTTPClient ¶
func NewListPositionsParamsWithHTTPClient(client *http.Client) *ListPositionsParams
NewListPositionsParamsWithHTTPClient creates a new ListPositionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListPositionsParamsWithTimeout ¶
func NewListPositionsParamsWithTimeout(timeout time.Duration) *ListPositionsParams
NewListPositionsParamsWithTimeout creates a new ListPositionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListPositionsParams) SetAccountID ¶
func (o *ListPositionsParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the list positions params
func (*ListPositionsParams) SetAuthorization ¶
func (o *ListPositionsParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the list positions params
func (*ListPositionsParams) SetContext ¶
func (o *ListPositionsParams) SetContext(ctx context.Context)
SetContext adds the context to the list positions params
func (*ListPositionsParams) SetHTTPClient ¶
func (o *ListPositionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list positions params
func (*ListPositionsParams) SetTimeout ¶
func (o *ListPositionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list positions params
func (*ListPositionsParams) WithAccountID ¶
func (o *ListPositionsParams) WithAccountID(accountID string) *ListPositionsParams
WithAccountID adds the accountID to the list positions params
func (*ListPositionsParams) WithAuthorization ¶
func (o *ListPositionsParams) WithAuthorization(authorization string) *ListPositionsParams
WithAuthorization adds the authorization to the list positions params
func (*ListPositionsParams) WithContext ¶
func (o *ListPositionsParams) WithContext(ctx context.Context) *ListPositionsParams
WithContext adds the context to the list positions params
func (*ListPositionsParams) WithHTTPClient ¶
func (o *ListPositionsParams) WithHTTPClient(client *http.Client) *ListPositionsParams
WithHTTPClient adds the HTTPClient to the list positions params
func (*ListPositionsParams) WithTimeout ¶
func (o *ListPositionsParams) WithTimeout(timeout time.Duration) *ListPositionsParams
WithTimeout adds the timeout to the list positions params
func (*ListPositionsParams) WriteToRequest ¶
func (o *ListPositionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPositionsReader ¶
type ListPositionsReader struct {
// contains filtered or unexported fields
}
ListPositionsReader is a Reader for the ListPositions structure.
func (*ListPositionsReader) ReadResponse ¶
func (o *ListPositionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListPositionsUnauthorized ¶
type ListPositionsUnauthorized struct { string }RequestID
ListPositionsUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewListPositionsUnauthorized ¶
func NewListPositionsUnauthorized() *ListPositionsUnauthorized
NewListPositionsUnauthorized creates a ListPositionsUnauthorized with default headers values
func (*ListPositionsUnauthorized) Error ¶
func (o *ListPositionsUnauthorized) Error() string
type ListPositionsUnauthorizedBody ¶
type ListPositionsUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
ListPositionsUnauthorizedBody list positions unauthorized body swagger:model ListPositionsUnauthorizedBody
func (*ListPositionsUnauthorizedBody) MarshalBinary ¶
func (o *ListPositionsUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPositionsUnauthorizedBody) UnmarshalBinary ¶
func (o *ListPositionsUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListTradesMethodNotAllowed ¶
type ListTradesMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *ListTradesMethodNotAllowedBody }
ListTradesMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewListTradesMethodNotAllowed ¶
func NewListTradesMethodNotAllowed() *ListTradesMethodNotAllowed
NewListTradesMethodNotAllowed creates a ListTradesMethodNotAllowed with default headers values
func (*ListTradesMethodNotAllowed) Error ¶
func (o *ListTradesMethodNotAllowed) Error() string
type ListTradesMethodNotAllowedBody ¶
type ListTradesMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
ListTradesMethodNotAllowedBody list trades method not allowed body swagger:model ListTradesMethodNotAllowedBody
func (*ListTradesMethodNotAllowedBody) MarshalBinary ¶
func (o *ListTradesMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListTradesMethodNotAllowedBody) UnmarshalBinary ¶
func (o *ListTradesMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListTradesNotFound ¶
type ListTradesNotFound struct { /*The unique identifier generated for the request */ RequestID string Payload *ListTradesNotFoundBody }
ListTradesNotFound handles this case with default header values.
Not Found. The client has attempted to access an entity that does not exist.
func NewListTradesNotFound ¶
func NewListTradesNotFound() *ListTradesNotFound
NewListTradesNotFound creates a ListTradesNotFound with default headers values
func (*ListTradesNotFound) Error ¶
func (o *ListTradesNotFound) Error() string
type ListTradesNotFoundBody ¶
type ListTradesNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
ListTradesNotFoundBody list trades not found body swagger:model ListTradesNotFoundBody
func (*ListTradesNotFoundBody) MarshalBinary ¶
func (o *ListTradesNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListTradesNotFoundBody) UnmarshalBinary ¶
func (o *ListTradesNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListTradesOK ¶
type ListTradesOK struct { /*A link to the next page of Trades if the results were paginated */ Link string /*The unique identifier generated for the request */ RequestID string Payload *ListTradesOKBody }
ListTradesOK handles this case with default header values.
The list of Trades requested
func NewListTradesOK ¶
func NewListTradesOK() *ListTradesOK
NewListTradesOK creates a ListTradesOK with default headers values
func (*ListTradesOK) Error ¶
func (o *ListTradesOK) Error() string
type ListTradesOKBody ¶
type ListTradesOKBody struct { // The ID of the most recent Transaction created for the Account LastTransactionID string `json:"lastTransactionID,omitempty"` // The list of Trade detail objects Trades []*models.Trade `json:"trades"` }
ListTradesOKBody list trades o k body swagger:model ListTradesOKBody
func (*ListTradesOKBody) MarshalBinary ¶
func (o *ListTradesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListTradesOKBody) UnmarshalBinary ¶
func (o *ListTradesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListTradesParams ¶
type ListTradesParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*AccountID Account Identifier */ AccountID string /*BeforeID The maximum Trade ID to return. If not provided the most recent Trades in the Account are returned. */ BeforeID *string /*Count The maximum number of Trades to return. */ Count *int64 /*Ids List of Trade IDs to retrieve. */ Ids []string /*Instrument The instrument to filter the requested Trades by. */ Instrument *string /*State The state to filter the requested Trades by. */ State *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListTradesParams contains all the parameters to send to the API endpoint for the list trades operation typically these are written to a http.Request
func NewListTradesParams ¶
func NewListTradesParams() *ListTradesParams
NewListTradesParams creates a new ListTradesParams object with the default values initialized.
func NewListTradesParamsWithContext ¶
func NewListTradesParamsWithContext(ctx context.Context) *ListTradesParams
NewListTradesParamsWithContext creates a new ListTradesParams object with the default values initialized, and the ability to set a context for a request
func NewListTradesParamsWithHTTPClient ¶
func NewListTradesParamsWithHTTPClient(client *http.Client) *ListTradesParams
NewListTradesParamsWithHTTPClient creates a new ListTradesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListTradesParamsWithTimeout ¶
func NewListTradesParamsWithTimeout(timeout time.Duration) *ListTradesParams
NewListTradesParamsWithTimeout creates a new ListTradesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListTradesParams) SetAcceptDatetimeFormat ¶
func (o *ListTradesParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the list trades params
func (*ListTradesParams) SetAccountID ¶
func (o *ListTradesParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the list trades params
func (*ListTradesParams) SetAuthorization ¶
func (o *ListTradesParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the list trades params
func (*ListTradesParams) SetBeforeID ¶
func (o *ListTradesParams) SetBeforeID(beforeID *string)
SetBeforeID adds the beforeId to the list trades params
func (*ListTradesParams) SetContext ¶
func (o *ListTradesParams) SetContext(ctx context.Context)
SetContext adds the context to the list trades params
func (*ListTradesParams) SetCount ¶
func (o *ListTradesParams) SetCount(count *int64)
SetCount adds the count to the list trades params
func (*ListTradesParams) SetHTTPClient ¶
func (o *ListTradesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list trades params
func (*ListTradesParams) SetIds ¶
func (o *ListTradesParams) SetIds(ids []string)
SetIds adds the ids to the list trades params
func (*ListTradesParams) SetInstrument ¶
func (o *ListTradesParams) SetInstrument(instrument *string)
SetInstrument adds the instrument to the list trades params
func (*ListTradesParams) SetState ¶
func (o *ListTradesParams) SetState(state *string)
SetState adds the state to the list trades params
func (*ListTradesParams) SetTimeout ¶
func (o *ListTradesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list trades params
func (*ListTradesParams) WithAcceptDatetimeFormat ¶
func (o *ListTradesParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *ListTradesParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the list trades params
func (*ListTradesParams) WithAccountID ¶
func (o *ListTradesParams) WithAccountID(accountID string) *ListTradesParams
WithAccountID adds the accountID to the list trades params
func (*ListTradesParams) WithAuthorization ¶
func (o *ListTradesParams) WithAuthorization(authorization string) *ListTradesParams
WithAuthorization adds the authorization to the list trades params
func (*ListTradesParams) WithBeforeID ¶
func (o *ListTradesParams) WithBeforeID(beforeID *string) *ListTradesParams
WithBeforeID adds the beforeID to the list trades params
func (*ListTradesParams) WithContext ¶
func (o *ListTradesParams) WithContext(ctx context.Context) *ListTradesParams
WithContext adds the context to the list trades params
func (*ListTradesParams) WithCount ¶
func (o *ListTradesParams) WithCount(count *int64) *ListTradesParams
WithCount adds the count to the list trades params
func (*ListTradesParams) WithHTTPClient ¶
func (o *ListTradesParams) WithHTTPClient(client *http.Client) *ListTradesParams
WithHTTPClient adds the HTTPClient to the list trades params
func (*ListTradesParams) WithIds ¶
func (o *ListTradesParams) WithIds(ids []string) *ListTradesParams
WithIds adds the ids to the list trades params
func (*ListTradesParams) WithInstrument ¶
func (o *ListTradesParams) WithInstrument(instrument *string) *ListTradesParams
WithInstrument adds the instrument to the list trades params
func (*ListTradesParams) WithState ¶
func (o *ListTradesParams) WithState(state *string) *ListTradesParams
WithState adds the state to the list trades params
func (*ListTradesParams) WithTimeout ¶
func (o *ListTradesParams) WithTimeout(timeout time.Duration) *ListTradesParams
WithTimeout adds the timeout to the list trades params
func (*ListTradesParams) WriteToRequest ¶
func (o *ListTradesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListTradesReader ¶
type ListTradesReader struct {
// contains filtered or unexported fields
}
ListTradesReader is a Reader for the ListTrades structure.
func (*ListTradesReader) ReadResponse ¶
func (o *ListTradesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListTradesUnauthorized ¶
type ListTradesUnauthorized struct { string }RequestID
ListTradesUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewListTradesUnauthorized ¶
func NewListTradesUnauthorized() *ListTradesUnauthorized
NewListTradesUnauthorized creates a ListTradesUnauthorized with default headers values
func (*ListTradesUnauthorized) Error ¶
func (o *ListTradesUnauthorized) Error() string
type ListTradesUnauthorizedBody ¶
type ListTradesUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
ListTradesUnauthorizedBody list trades unauthorized body swagger:model ListTradesUnauthorizedBody
func (*ListTradesUnauthorizedBody) MarshalBinary ¶
func (o *ListTradesUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListTradesUnauthorizedBody) UnmarshalBinary ¶
func (o *ListTradesUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListTransactionsBadRequest ¶
type ListTransactionsBadRequest struct { /*The unique identifier generated for the request */ RequestID string Payload *ListTransactionsBadRequestBody }
ListTransactionsBadRequest handles this case with default header values.
Bad Request. The client has provided invalid data to be processed by the server.
func NewListTransactionsBadRequest ¶
func NewListTransactionsBadRequest() *ListTransactionsBadRequest
NewListTransactionsBadRequest creates a ListTransactionsBadRequest with default headers values
func (*ListTransactionsBadRequest) Error ¶
func (o *ListTransactionsBadRequest) Error() string
type ListTransactionsBadRequestBody ¶
type ListTransactionsBadRequestBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
ListTransactionsBadRequestBody list transactions bad request body swagger:model ListTransactionsBadRequestBody
func (*ListTransactionsBadRequestBody) MarshalBinary ¶
func (o *ListTransactionsBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListTransactionsBadRequestBody) UnmarshalBinary ¶
func (o *ListTransactionsBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListTransactionsForbidden ¶
type ListTransactionsForbidden struct { /*The unique identifier generated for the request */ RequestID string Payload *ListTransactionsForbiddenBody }
ListTransactionsForbidden handles this case with default header values.
Forbidden. The client has provided a token that does not authorize them to perform the action implemented by the API endpoint.
func NewListTransactionsForbidden ¶
func NewListTransactionsForbidden() *ListTransactionsForbidden
NewListTransactionsForbidden creates a ListTransactionsForbidden with default headers values
func (*ListTransactionsForbidden) Error ¶
func (o *ListTransactionsForbidden) Error() string
type ListTransactionsForbiddenBody ¶
type ListTransactionsForbiddenBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
ListTransactionsForbiddenBody list transactions forbidden body swagger:model ListTransactionsForbiddenBody
func (*ListTransactionsForbiddenBody) MarshalBinary ¶
func (o *ListTransactionsForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListTransactionsForbiddenBody) UnmarshalBinary ¶
func (o *ListTransactionsForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListTransactionsMethodNotAllowed ¶
type ListTransactionsMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *ListTransactionsMethodNotAllowedBody }
ListTransactionsMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewListTransactionsMethodNotAllowed ¶
func NewListTransactionsMethodNotAllowed() *ListTransactionsMethodNotAllowed
NewListTransactionsMethodNotAllowed creates a ListTransactionsMethodNotAllowed with default headers values
func (*ListTransactionsMethodNotAllowed) Error ¶
func (o *ListTransactionsMethodNotAllowed) Error() string
type ListTransactionsMethodNotAllowedBody ¶
type ListTransactionsMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
ListTransactionsMethodNotAllowedBody list transactions method not allowed body swagger:model ListTransactionsMethodNotAllowedBody
func (*ListTransactionsMethodNotAllowedBody) MarshalBinary ¶
func (o *ListTransactionsMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListTransactionsMethodNotAllowedBody) UnmarshalBinary ¶
func (o *ListTransactionsMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListTransactionsNotFound ¶
type ListTransactionsNotFound struct { /*The unique identifier generated for the request */ RequestID string Payload *ListTransactionsNotFoundBody }
ListTransactionsNotFound handles this case with default header values.
Not Found. The client has attempted to access an entity that does not exist.
func NewListTransactionsNotFound ¶
func NewListTransactionsNotFound() *ListTransactionsNotFound
NewListTransactionsNotFound creates a ListTransactionsNotFound with default headers values
func (*ListTransactionsNotFound) Error ¶
func (o *ListTransactionsNotFound) Error() string
type ListTransactionsNotFoundBody ¶
type ListTransactionsNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
ListTransactionsNotFoundBody list transactions not found body swagger:model ListTransactionsNotFoundBody
func (*ListTransactionsNotFoundBody) MarshalBinary ¶
func (o *ListTransactionsNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListTransactionsNotFoundBody) UnmarshalBinary ¶
func (o *ListTransactionsNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListTransactionsOK ¶
type ListTransactionsOK struct { /*The unique identifier generated for the request */ RequestID string Payload *ListTransactionsOKBody }
ListTransactionsOK handles this case with default header values.
The requested time range of Transaction pages are provided.
func NewListTransactionsOK ¶
func NewListTransactionsOK() *ListTransactionsOK
NewListTransactionsOK creates a ListTransactionsOK with default headers values
func (*ListTransactionsOK) Error ¶
func (o *ListTransactionsOK) Error() string
type ListTransactionsOKBody ¶
type ListTransactionsOKBody struct { // The number of Transactions that are contained in the pages returned Count int64 `json:"count,omitempty"` // The starting time provided in the request. From string `json:"from,omitempty"` // The ID of the most recent Transaction created for the Account LastTransactionID string `json:"lastTransactionID,omitempty"` // The pageSize provided in the request PageSize int64 `json:"pageSize,omitempty"` // The list of URLs that represent idrange queries providing the data for each page in the query results Pages []string `json:"pages"` // The ending time provided in the request. To string `json:"to,omitempty"` // The Transaction-type filter provided in the request Type []string `json:"type"` }
ListTransactionsOKBody list transactions o k body swagger:model ListTransactionsOKBody
func (*ListTransactionsOKBody) MarshalBinary ¶
func (o *ListTransactionsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListTransactionsOKBody) UnmarshalBinary ¶
func (o *ListTransactionsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListTransactionsParams ¶
type ListTransactionsParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*AccountID Account Identifier */ AccountID string /*From The starting time (inclusive) of the time range for the Transactions being queried. */ From *string /*PageSize The number of Transactions to include in each page of the results. */ PageSize *int64 /*To The ending time (inclusive) of the time range for the Transactions being queried. */ To *string /*Type A filter for restricting the types of Transactions to retreive. */ Type []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListTransactionsParams contains all the parameters to send to the API endpoint for the list transactions operation typically these are written to a http.Request
func NewListTransactionsParams ¶
func NewListTransactionsParams() *ListTransactionsParams
NewListTransactionsParams creates a new ListTransactionsParams object with the default values initialized.
func NewListTransactionsParamsWithContext ¶
func NewListTransactionsParamsWithContext(ctx context.Context) *ListTransactionsParams
NewListTransactionsParamsWithContext creates a new ListTransactionsParams object with the default values initialized, and the ability to set a context for a request
func NewListTransactionsParamsWithHTTPClient ¶
func NewListTransactionsParamsWithHTTPClient(client *http.Client) *ListTransactionsParams
NewListTransactionsParamsWithHTTPClient creates a new ListTransactionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListTransactionsParamsWithTimeout ¶
func NewListTransactionsParamsWithTimeout(timeout time.Duration) *ListTransactionsParams
NewListTransactionsParamsWithTimeout creates a new ListTransactionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListTransactionsParams) SetAcceptDatetimeFormat ¶
func (o *ListTransactionsParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the list transactions params
func (*ListTransactionsParams) SetAccountID ¶
func (o *ListTransactionsParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the list transactions params
func (*ListTransactionsParams) SetAuthorization ¶
func (o *ListTransactionsParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the list transactions params
func (*ListTransactionsParams) SetContext ¶
func (o *ListTransactionsParams) SetContext(ctx context.Context)
SetContext adds the context to the list transactions params
func (*ListTransactionsParams) SetFrom ¶
func (o *ListTransactionsParams) SetFrom(from *string)
SetFrom adds the from to the list transactions params
func (*ListTransactionsParams) SetHTTPClient ¶
func (o *ListTransactionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list transactions params
func (*ListTransactionsParams) SetPageSize ¶
func (o *ListTransactionsParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the list transactions params
func (*ListTransactionsParams) SetTimeout ¶
func (o *ListTransactionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list transactions params
func (*ListTransactionsParams) SetTo ¶
func (o *ListTransactionsParams) SetTo(to *string)
SetTo adds the to to the list transactions params
func (*ListTransactionsParams) SetType ¶
func (o *ListTransactionsParams) SetType(typeVar []string)
SetType adds the type to the list transactions params
func (*ListTransactionsParams) WithAcceptDatetimeFormat ¶
func (o *ListTransactionsParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *ListTransactionsParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the list transactions params
func (*ListTransactionsParams) WithAccountID ¶
func (o *ListTransactionsParams) WithAccountID(accountID string) *ListTransactionsParams
WithAccountID adds the accountID to the list transactions params
func (*ListTransactionsParams) WithAuthorization ¶
func (o *ListTransactionsParams) WithAuthorization(authorization string) *ListTransactionsParams
WithAuthorization adds the authorization to the list transactions params
func (*ListTransactionsParams) WithContext ¶
func (o *ListTransactionsParams) WithContext(ctx context.Context) *ListTransactionsParams
WithContext adds the context to the list transactions params
func (*ListTransactionsParams) WithFrom ¶
func (o *ListTransactionsParams) WithFrom(from *string) *ListTransactionsParams
WithFrom adds the from to the list transactions params
func (*ListTransactionsParams) WithHTTPClient ¶
func (o *ListTransactionsParams) WithHTTPClient(client *http.Client) *ListTransactionsParams
WithHTTPClient adds the HTTPClient to the list transactions params
func (*ListTransactionsParams) WithPageSize ¶
func (o *ListTransactionsParams) WithPageSize(pageSize *int64) *ListTransactionsParams
WithPageSize adds the pageSize to the list transactions params
func (*ListTransactionsParams) WithTimeout ¶
func (o *ListTransactionsParams) WithTimeout(timeout time.Duration) *ListTransactionsParams
WithTimeout adds the timeout to the list transactions params
func (*ListTransactionsParams) WithTo ¶
func (o *ListTransactionsParams) WithTo(to *string) *ListTransactionsParams
WithTo adds the to to the list transactions params
func (*ListTransactionsParams) WithType ¶
func (o *ListTransactionsParams) WithType(typeVar []string) *ListTransactionsParams
WithType adds the typeVar to the list transactions params
func (*ListTransactionsParams) WriteToRequest ¶
func (o *ListTransactionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListTransactionsReader ¶
type ListTransactionsReader struct {
// contains filtered or unexported fields
}
ListTransactionsReader is a Reader for the ListTransactions structure.
func (*ListTransactionsReader) ReadResponse ¶
func (o *ListTransactionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListTransactionsRequestRangeNotSatisfiable ¶
type ListTransactionsRequestRangeNotSatisfiable struct { /*The unique identifier generated for the request */ RequestID string Payload *ListTransactionsRequestRangeNotSatisfiableBody }
ListTransactionsRequestRangeNotSatisfiable handles this case with default header values.
Range Not Satisfiable. The client has specified a range that is invalid or cannot be processed.
func NewListTransactionsRequestRangeNotSatisfiable ¶
func NewListTransactionsRequestRangeNotSatisfiable() *ListTransactionsRequestRangeNotSatisfiable
NewListTransactionsRequestRangeNotSatisfiable creates a ListTransactionsRequestRangeNotSatisfiable with default headers values
func (*ListTransactionsRequestRangeNotSatisfiable) Error ¶
func (o *ListTransactionsRequestRangeNotSatisfiable) Error() string
type ListTransactionsRequestRangeNotSatisfiableBody ¶
type ListTransactionsRequestRangeNotSatisfiableBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
ListTransactionsRequestRangeNotSatisfiableBody list transactions request range not satisfiable body swagger:model ListTransactionsRequestRangeNotSatisfiableBody
func (*ListTransactionsRequestRangeNotSatisfiableBody) MarshalBinary ¶
func (o *ListTransactionsRequestRangeNotSatisfiableBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListTransactionsRequestRangeNotSatisfiableBody) UnmarshalBinary ¶
func (o *ListTransactionsRequestRangeNotSatisfiableBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListTransactionsUnauthorized ¶
type ListTransactionsUnauthorized struct { string }RequestID
ListTransactionsUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewListTransactionsUnauthorized ¶
func NewListTransactionsUnauthorized() *ListTransactionsUnauthorized
NewListTransactionsUnauthorized creates a ListTransactionsUnauthorized with default headers values
func (*ListTransactionsUnauthorized) Error ¶
func (o *ListTransactionsUnauthorized) Error() string
type ListTransactionsUnauthorizedBody ¶
type ListTransactionsUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
ListTransactionsUnauthorizedBody list transactions unauthorized body swagger:model ListTransactionsUnauthorizedBody
func (*ListTransactionsUnauthorizedBody) MarshalBinary ¶
func (o *ListTransactionsUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListTransactionsUnauthorizedBody) UnmarshalBinary ¶
func (o *ListTransactionsUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ReplaceOrderBadRequest ¶
type ReplaceOrderBadRequest struct {
Payload *ReplaceOrderBadRequestBody
}
ReplaceOrderBadRequest handles this case with default header values.
The Order specification was invalid
func NewReplaceOrderBadRequest ¶
func NewReplaceOrderBadRequest() *ReplaceOrderBadRequest
NewReplaceOrderBadRequest creates a ReplaceOrderBadRequest with default headers values
func (*ReplaceOrderBadRequest) Error ¶
func (o *ReplaceOrderBadRequest) Error() string
type ReplaceOrderBadRequestBody ¶
type ReplaceOrderBadRequestBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` // The ID of the most recent Transaction created for the Account. LastTransactionID string `json:"lastTransactionID,omitempty"` // order reject transaction OrderRejectTransaction *models.Transaction `json:"orderRejectTransaction,omitempty"` // The IDs of all Transactions that were created while satisfying the request. RelatedTransactionIds []string `json:"relatedTransactionIDs"` }
ReplaceOrderBadRequestBody replace order bad request body swagger:model ReplaceOrderBadRequestBody
func (*ReplaceOrderBadRequestBody) MarshalBinary ¶
func (o *ReplaceOrderBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ReplaceOrderBadRequestBody) UnmarshalBinary ¶
func (o *ReplaceOrderBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ReplaceOrderBody ¶
type ReplaceOrderBody struct { // order Order models.OrderRequest `json:"order,omitempty"` }
ReplaceOrderBody replace order body swagger:model ReplaceOrderBody
func (*ReplaceOrderBody) MarshalBinary ¶
func (o *ReplaceOrderBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ReplaceOrderBody) UnmarshalBinary ¶
func (o *ReplaceOrderBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ReplaceOrderCreated ¶
type ReplaceOrderCreated struct { /*A link to the replacing Order */ Location string /*The unique identifier generated for the request */ RequestID string Payload *ReplaceOrderCreatedBody }
ReplaceOrderCreated handles this case with default header values.
The Order was successfully cancelled and replaced
func NewReplaceOrderCreated ¶
func NewReplaceOrderCreated() *ReplaceOrderCreated
NewReplaceOrderCreated creates a ReplaceOrderCreated with default headers values
func (*ReplaceOrderCreated) Error ¶
func (o *ReplaceOrderCreated) Error() string
type ReplaceOrderCreatedBody ¶
type ReplaceOrderCreatedBody struct { // The ID of the most recent Transaction created for the Account LastTransactionID string `json:"lastTransactionID,omitempty"` // order cancel transaction OrderCancelTransaction *models.OrderCancelTransaction `json:"orderCancelTransaction,omitempty"` // order create transaction OrderCreateTransaction *models.Transaction `json:"orderCreateTransaction,omitempty"` // order fill transaction OrderFillTransaction *models.OrderFillTransaction `json:"orderFillTransaction,omitempty"` // order reissue reject transaction OrderReissueRejectTransaction *models.Transaction `json:"orderReissueRejectTransaction,omitempty"` // order reissue transaction OrderReissueTransaction *models.Transaction `json:"orderReissueTransaction,omitempty"` // The IDs of all Transactions that were created while satisfying the request. RelatedTransactionIds []string `json:"relatedTransactionIDs"` // replacing order cancel transaction ReplacingOrderCancelTransaction *models.OrderCancelTransaction `json:"replacingOrderCancelTransaction,omitempty"` }
ReplaceOrderCreatedBody replace order created body swagger:model ReplaceOrderCreatedBody
func (*ReplaceOrderCreatedBody) MarshalBinary ¶
func (o *ReplaceOrderCreatedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ReplaceOrderCreatedBody) UnmarshalBinary ¶
func (o *ReplaceOrderCreatedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ReplaceOrderMethodNotAllowed ¶
type ReplaceOrderMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *ReplaceOrderMethodNotAllowedBody }
ReplaceOrderMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewReplaceOrderMethodNotAllowed ¶
func NewReplaceOrderMethodNotAllowed() *ReplaceOrderMethodNotAllowed
NewReplaceOrderMethodNotAllowed creates a ReplaceOrderMethodNotAllowed with default headers values
func (*ReplaceOrderMethodNotAllowed) Error ¶
func (o *ReplaceOrderMethodNotAllowed) Error() string
type ReplaceOrderMethodNotAllowedBody ¶
type ReplaceOrderMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
ReplaceOrderMethodNotAllowedBody replace order method not allowed body swagger:model ReplaceOrderMethodNotAllowedBody
func (*ReplaceOrderMethodNotAllowedBody) MarshalBinary ¶
func (o *ReplaceOrderMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ReplaceOrderMethodNotAllowedBody) UnmarshalBinary ¶
func (o *ReplaceOrderMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ReplaceOrderNotFound ¶
type ReplaceOrderNotFound struct {
Payload *ReplaceOrderNotFoundBody
}
ReplaceOrderNotFound handles this case with default header values.
The Account or Order specified does not exist.
func NewReplaceOrderNotFound ¶
func NewReplaceOrderNotFound() *ReplaceOrderNotFound
NewReplaceOrderNotFound creates a ReplaceOrderNotFound with default headers values
func (*ReplaceOrderNotFound) Error ¶
func (o *ReplaceOrderNotFound) Error() string
type ReplaceOrderNotFoundBody ¶
type ReplaceOrderNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` // The ID of the most recent Transaction created for the Account. Only present if the Account exists. LastTransactionID string `json:"lastTransactionID,omitempty"` // order cancel reject transaction OrderCancelRejectTransaction *models.Transaction `json:"orderCancelRejectTransaction,omitempty"` // The IDs of all Transactions that were created while satisfying the request. Only present if the Account exists. RelatedTransactionIds []string `json:"relatedTransactionIDs"` }
ReplaceOrderNotFoundBody replace order not found body swagger:model ReplaceOrderNotFoundBody
func (*ReplaceOrderNotFoundBody) MarshalBinary ¶
func (o *ReplaceOrderNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ReplaceOrderNotFoundBody) UnmarshalBinary ¶
func (o *ReplaceOrderNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ReplaceOrderParams ¶
type ReplaceOrderParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*ClientRequestID Client specified RequestID to be sent with request. */ ClientRequestID *string /*AccountID Account Identifier */ AccountID string /*OrderSpecifier The Order Specifier */ OrderSpecifier string /*ReplaceOrderBody Specification of the replacing Order. The replacing order must have the same type as the replaced Order. */ ReplaceOrderBody ReplaceOrderBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReplaceOrderParams contains all the parameters to send to the API endpoint for the replace order operation typically these are written to a http.Request
func NewReplaceOrderParams ¶
func NewReplaceOrderParams() *ReplaceOrderParams
NewReplaceOrderParams creates a new ReplaceOrderParams object with the default values initialized.
func NewReplaceOrderParamsWithContext ¶
func NewReplaceOrderParamsWithContext(ctx context.Context) *ReplaceOrderParams
NewReplaceOrderParamsWithContext creates a new ReplaceOrderParams object with the default values initialized, and the ability to set a context for a request
func NewReplaceOrderParamsWithHTTPClient ¶
func NewReplaceOrderParamsWithHTTPClient(client *http.Client) *ReplaceOrderParams
NewReplaceOrderParamsWithHTTPClient creates a new ReplaceOrderParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewReplaceOrderParamsWithTimeout ¶
func NewReplaceOrderParamsWithTimeout(timeout time.Duration) *ReplaceOrderParams
NewReplaceOrderParamsWithTimeout creates a new ReplaceOrderParams object with the default values initialized, and the ability to set a timeout on a request
func (*ReplaceOrderParams) SetAcceptDatetimeFormat ¶
func (o *ReplaceOrderParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the replace order params
func (*ReplaceOrderParams) SetAccountID ¶
func (o *ReplaceOrderParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the replace order params
func (*ReplaceOrderParams) SetAuthorization ¶
func (o *ReplaceOrderParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the replace order params
func (*ReplaceOrderParams) SetClientRequestID ¶
func (o *ReplaceOrderParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the replace order params
func (*ReplaceOrderParams) SetContext ¶
func (o *ReplaceOrderParams) SetContext(ctx context.Context)
SetContext adds the context to the replace order params
func (*ReplaceOrderParams) SetHTTPClient ¶
func (o *ReplaceOrderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replace order params
func (*ReplaceOrderParams) SetOrderSpecifier ¶
func (o *ReplaceOrderParams) SetOrderSpecifier(orderSpecifier string)
SetOrderSpecifier adds the orderSpecifier to the replace order params
func (*ReplaceOrderParams) SetReplaceOrderBody ¶
func (o *ReplaceOrderParams) SetReplaceOrderBody(replaceOrderBody ReplaceOrderBody)
SetReplaceOrderBody adds the replaceOrderBody to the replace order params
func (*ReplaceOrderParams) SetTimeout ¶
func (o *ReplaceOrderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replace order params
func (*ReplaceOrderParams) WithAcceptDatetimeFormat ¶
func (o *ReplaceOrderParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *ReplaceOrderParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the replace order params
func (*ReplaceOrderParams) WithAccountID ¶
func (o *ReplaceOrderParams) WithAccountID(accountID string) *ReplaceOrderParams
WithAccountID adds the accountID to the replace order params
func (*ReplaceOrderParams) WithAuthorization ¶
func (o *ReplaceOrderParams) WithAuthorization(authorization string) *ReplaceOrderParams
WithAuthorization adds the authorization to the replace order params
func (*ReplaceOrderParams) WithClientRequestID ¶
func (o *ReplaceOrderParams) WithClientRequestID(clientRequestID *string) *ReplaceOrderParams
WithClientRequestID adds the clientRequestID to the replace order params
func (*ReplaceOrderParams) WithContext ¶
func (o *ReplaceOrderParams) WithContext(ctx context.Context) *ReplaceOrderParams
WithContext adds the context to the replace order params
func (*ReplaceOrderParams) WithHTTPClient ¶
func (o *ReplaceOrderParams) WithHTTPClient(client *http.Client) *ReplaceOrderParams
WithHTTPClient adds the HTTPClient to the replace order params
func (*ReplaceOrderParams) WithOrderSpecifier ¶
func (o *ReplaceOrderParams) WithOrderSpecifier(orderSpecifier string) *ReplaceOrderParams
WithOrderSpecifier adds the orderSpecifier to the replace order params
func (*ReplaceOrderParams) WithReplaceOrderBody ¶
func (o *ReplaceOrderParams) WithReplaceOrderBody(replaceOrderBody ReplaceOrderBody) *ReplaceOrderParams
WithReplaceOrderBody adds the replaceOrderBody to the replace order params
func (*ReplaceOrderParams) WithTimeout ¶
func (o *ReplaceOrderParams) WithTimeout(timeout time.Duration) *ReplaceOrderParams
WithTimeout adds the timeout to the replace order params
func (*ReplaceOrderParams) WriteToRequest ¶
func (o *ReplaceOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplaceOrderReader ¶
type ReplaceOrderReader struct {
// contains filtered or unexported fields
}
ReplaceOrderReader is a Reader for the ReplaceOrder structure.
func (*ReplaceOrderReader) ReadResponse ¶
func (o *ReplaceOrderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplaceOrderUnauthorized ¶
type ReplaceOrderUnauthorized struct { string }RequestID
ReplaceOrderUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewReplaceOrderUnauthorized ¶
func NewReplaceOrderUnauthorized() *ReplaceOrderUnauthorized
NewReplaceOrderUnauthorized creates a ReplaceOrderUnauthorized with default headers values
func (*ReplaceOrderUnauthorized) Error ¶
func (o *ReplaceOrderUnauthorized) Error() string
type ReplaceOrderUnauthorizedBody ¶
type ReplaceOrderUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
ReplaceOrderUnauthorizedBody replace order unauthorized body swagger:model ReplaceOrderUnauthorizedBody
func (*ReplaceOrderUnauthorizedBody) MarshalBinary ¶
func (o *ReplaceOrderUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ReplaceOrderUnauthorizedBody) UnmarshalBinary ¶
func (o *ReplaceOrderUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetOrderClientExtensionsBadRequest ¶
type SetOrderClientExtensionsBadRequest struct {
Payload *SetOrderClientExtensionsBadRequestBody
}
SetOrderClientExtensionsBadRequest handles this case with default header values.
The Order Client Extensions specification was invalid
func NewSetOrderClientExtensionsBadRequest ¶
func NewSetOrderClientExtensionsBadRequest() *SetOrderClientExtensionsBadRequest
NewSetOrderClientExtensionsBadRequest creates a SetOrderClientExtensionsBadRequest with default headers values
func (*SetOrderClientExtensionsBadRequest) Error ¶
func (o *SetOrderClientExtensionsBadRequest) Error() string
type SetOrderClientExtensionsBadRequestBody ¶
type SetOrderClientExtensionsBadRequestBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` // The ID of the most recent Transaction created for the Account LastTransactionID string `json:"lastTransactionID,omitempty"` // order client extensions modify reject transaction OrderClientExtensionsModifyRejectTransaction *models.OrderClientExtensionsModifyRejectTransaction `json:"orderClientExtensionsModifyRejectTransaction,omitempty"` // The IDs of all Transactions that were created while satisfying the request. RelatedTransactionIds []string `json:"relatedTransactionIDs"` }
SetOrderClientExtensionsBadRequestBody set order client extensions bad request body swagger:model SetOrderClientExtensionsBadRequestBody
func (*SetOrderClientExtensionsBadRequestBody) MarshalBinary ¶
func (o *SetOrderClientExtensionsBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetOrderClientExtensionsBadRequestBody) UnmarshalBinary ¶
func (o *SetOrderClientExtensionsBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetOrderClientExtensionsBody ¶
type SetOrderClientExtensionsBody struct { // client extensions ClientExtensions *models.ClientExtensions `json:"clientExtensions,omitempty"` // trade client extensions TradeClientExtensions *models.ClientExtensions `json:"tradeClientExtensions,omitempty"` }
SetOrderClientExtensionsBody set order client extensions body swagger:model SetOrderClientExtensionsBody
func (*SetOrderClientExtensionsBody) MarshalBinary ¶
func (o *SetOrderClientExtensionsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetOrderClientExtensionsBody) UnmarshalBinary ¶
func (o *SetOrderClientExtensionsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetOrderClientExtensionsMethodNotAllowed ¶
type SetOrderClientExtensionsMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *SetOrderClientExtensionsMethodNotAllowedBody }
SetOrderClientExtensionsMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewSetOrderClientExtensionsMethodNotAllowed ¶
func NewSetOrderClientExtensionsMethodNotAllowed() *SetOrderClientExtensionsMethodNotAllowed
NewSetOrderClientExtensionsMethodNotAllowed creates a SetOrderClientExtensionsMethodNotAllowed with default headers values
func (*SetOrderClientExtensionsMethodNotAllowed) Error ¶
func (o *SetOrderClientExtensionsMethodNotAllowed) Error() string
type SetOrderClientExtensionsMethodNotAllowedBody ¶
type SetOrderClientExtensionsMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
SetOrderClientExtensionsMethodNotAllowedBody set order client extensions method not allowed body swagger:model SetOrderClientExtensionsMethodNotAllowedBody
func (*SetOrderClientExtensionsMethodNotAllowedBody) MarshalBinary ¶
func (o *SetOrderClientExtensionsMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetOrderClientExtensionsMethodNotAllowedBody) UnmarshalBinary ¶
func (o *SetOrderClientExtensionsMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetOrderClientExtensionsNotFound ¶
type SetOrderClientExtensionsNotFound struct {
Payload *SetOrderClientExtensionsNotFoundBody
}
SetOrderClientExtensionsNotFound handles this case with default header values.
The Account or Order specified does not exist.
func NewSetOrderClientExtensionsNotFound ¶
func NewSetOrderClientExtensionsNotFound() *SetOrderClientExtensionsNotFound
NewSetOrderClientExtensionsNotFound creates a SetOrderClientExtensionsNotFound with default headers values
func (*SetOrderClientExtensionsNotFound) Error ¶
func (o *SetOrderClientExtensionsNotFound) Error() string
type SetOrderClientExtensionsNotFoundBody ¶
type SetOrderClientExtensionsNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` // The ID of the most recent Transaction created for the Account. Only present if the Account exists. LastTransactionID string `json:"lastTransactionID,omitempty"` // order client extensions modify reject transaction OrderClientExtensionsModifyRejectTransaction *models.OrderClientExtensionsModifyRejectTransaction `json:"orderClientExtensionsModifyRejectTransaction,omitempty"` // The IDs of all Transactions that were created while satisfying the request. Only present if the Account exists. RelatedTransactionIds []string `json:"relatedTransactionIDs"` }
SetOrderClientExtensionsNotFoundBody set order client extensions not found body swagger:model SetOrderClientExtensionsNotFoundBody
func (*SetOrderClientExtensionsNotFoundBody) MarshalBinary ¶
func (o *SetOrderClientExtensionsNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetOrderClientExtensionsNotFoundBody) UnmarshalBinary ¶
func (o *SetOrderClientExtensionsNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetOrderClientExtensionsOK ¶
type SetOrderClientExtensionsOK struct { /*The unique identifier generated for the request */ RequestID string Payload *SetOrderClientExtensionsOKBody }
SetOrderClientExtensionsOK handles this case with default header values.
The Order's Client Extensions were successfully modified
func NewSetOrderClientExtensionsOK ¶
func NewSetOrderClientExtensionsOK() *SetOrderClientExtensionsOK
NewSetOrderClientExtensionsOK creates a SetOrderClientExtensionsOK with default headers values
func (*SetOrderClientExtensionsOK) Error ¶
func (o *SetOrderClientExtensionsOK) Error() string
type SetOrderClientExtensionsOKBody ¶
type SetOrderClientExtensionsOKBody struct { // The ID of the most recent Transaction created for the Account LastTransactionID string `json:"lastTransactionID,omitempty"` // order client extensions modify transaction OrderClientExtensionsModifyTransaction *models.OrderClientExtensionsModifyTransaction `json:"orderClientExtensionsModifyTransaction,omitempty"` // The IDs of all Transactions that were created while satisfying the request. RelatedTransactionIds []string `json:"relatedTransactionIDs"` }
SetOrderClientExtensionsOKBody set order client extensions o k body swagger:model SetOrderClientExtensionsOKBody
func (*SetOrderClientExtensionsOKBody) MarshalBinary ¶
func (o *SetOrderClientExtensionsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetOrderClientExtensionsOKBody) UnmarshalBinary ¶
func (o *SetOrderClientExtensionsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetOrderClientExtensionsParams ¶
type SetOrderClientExtensionsParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*AccountID Account Identifier */ AccountID string /*OrderSpecifier The Order Specifier */ OrderSpecifier string /*SetOrderClientExtensionsBody Representation of the replacing Order */ SetOrderClientExtensionsBody SetOrderClientExtensionsBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetOrderClientExtensionsParams contains all the parameters to send to the API endpoint for the set order client extensions operation typically these are written to a http.Request
func NewSetOrderClientExtensionsParams ¶
func NewSetOrderClientExtensionsParams() *SetOrderClientExtensionsParams
NewSetOrderClientExtensionsParams creates a new SetOrderClientExtensionsParams object with the default values initialized.
func NewSetOrderClientExtensionsParamsWithContext ¶
func NewSetOrderClientExtensionsParamsWithContext(ctx context.Context) *SetOrderClientExtensionsParams
NewSetOrderClientExtensionsParamsWithContext creates a new SetOrderClientExtensionsParams object with the default values initialized, and the ability to set a context for a request
func NewSetOrderClientExtensionsParamsWithHTTPClient ¶
func NewSetOrderClientExtensionsParamsWithHTTPClient(client *http.Client) *SetOrderClientExtensionsParams
NewSetOrderClientExtensionsParamsWithHTTPClient creates a new SetOrderClientExtensionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSetOrderClientExtensionsParamsWithTimeout ¶
func NewSetOrderClientExtensionsParamsWithTimeout(timeout time.Duration) *SetOrderClientExtensionsParams
NewSetOrderClientExtensionsParamsWithTimeout creates a new SetOrderClientExtensionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*SetOrderClientExtensionsParams) SetAcceptDatetimeFormat ¶
func (o *SetOrderClientExtensionsParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the set order client extensions params
func (*SetOrderClientExtensionsParams) SetAccountID ¶
func (o *SetOrderClientExtensionsParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the set order client extensions params
func (*SetOrderClientExtensionsParams) SetAuthorization ¶
func (o *SetOrderClientExtensionsParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the set order client extensions params
func (*SetOrderClientExtensionsParams) SetContext ¶
func (o *SetOrderClientExtensionsParams) SetContext(ctx context.Context)
SetContext adds the context to the set order client extensions params
func (*SetOrderClientExtensionsParams) SetHTTPClient ¶
func (o *SetOrderClientExtensionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set order client extensions params
func (*SetOrderClientExtensionsParams) SetOrderSpecifier ¶
func (o *SetOrderClientExtensionsParams) SetOrderSpecifier(orderSpecifier string)
SetOrderSpecifier adds the orderSpecifier to the set order client extensions params
func (*SetOrderClientExtensionsParams) SetSetOrderClientExtensionsBody ¶
func (o *SetOrderClientExtensionsParams) SetSetOrderClientExtensionsBody(setOrderClientExtensionsBody SetOrderClientExtensionsBody)
SetSetOrderClientExtensionsBody adds the setOrderClientExtensionsBody to the set order client extensions params
func (*SetOrderClientExtensionsParams) SetTimeout ¶
func (o *SetOrderClientExtensionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set order client extensions params
func (*SetOrderClientExtensionsParams) WithAcceptDatetimeFormat ¶
func (o *SetOrderClientExtensionsParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *SetOrderClientExtensionsParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the set order client extensions params
func (*SetOrderClientExtensionsParams) WithAccountID ¶
func (o *SetOrderClientExtensionsParams) WithAccountID(accountID string) *SetOrderClientExtensionsParams
WithAccountID adds the accountID to the set order client extensions params
func (*SetOrderClientExtensionsParams) WithAuthorization ¶
func (o *SetOrderClientExtensionsParams) WithAuthorization(authorization string) *SetOrderClientExtensionsParams
WithAuthorization adds the authorization to the set order client extensions params
func (*SetOrderClientExtensionsParams) WithContext ¶
func (o *SetOrderClientExtensionsParams) WithContext(ctx context.Context) *SetOrderClientExtensionsParams
WithContext adds the context to the set order client extensions params
func (*SetOrderClientExtensionsParams) WithHTTPClient ¶
func (o *SetOrderClientExtensionsParams) WithHTTPClient(client *http.Client) *SetOrderClientExtensionsParams
WithHTTPClient adds the HTTPClient to the set order client extensions params
func (*SetOrderClientExtensionsParams) WithOrderSpecifier ¶
func (o *SetOrderClientExtensionsParams) WithOrderSpecifier(orderSpecifier string) *SetOrderClientExtensionsParams
WithOrderSpecifier adds the orderSpecifier to the set order client extensions params
func (*SetOrderClientExtensionsParams) WithSetOrderClientExtensionsBody ¶
func (o *SetOrderClientExtensionsParams) WithSetOrderClientExtensionsBody(setOrderClientExtensionsBody SetOrderClientExtensionsBody) *SetOrderClientExtensionsParams
WithSetOrderClientExtensionsBody adds the setOrderClientExtensionsBody to the set order client extensions params
func (*SetOrderClientExtensionsParams) WithTimeout ¶
func (o *SetOrderClientExtensionsParams) WithTimeout(timeout time.Duration) *SetOrderClientExtensionsParams
WithTimeout adds the timeout to the set order client extensions params
func (*SetOrderClientExtensionsParams) WriteToRequest ¶
func (o *SetOrderClientExtensionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetOrderClientExtensionsReader ¶
type SetOrderClientExtensionsReader struct {
// contains filtered or unexported fields
}
SetOrderClientExtensionsReader is a Reader for the SetOrderClientExtensions structure.
func (*SetOrderClientExtensionsReader) ReadResponse ¶
func (o *SetOrderClientExtensionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetOrderClientExtensionsUnauthorized ¶
type SetOrderClientExtensionsUnauthorized struct { string }RequestID
SetOrderClientExtensionsUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewSetOrderClientExtensionsUnauthorized ¶
func NewSetOrderClientExtensionsUnauthorized() *SetOrderClientExtensionsUnauthorized
NewSetOrderClientExtensionsUnauthorized creates a SetOrderClientExtensionsUnauthorized with default headers values
func (*SetOrderClientExtensionsUnauthorized) Error ¶
func (o *SetOrderClientExtensionsUnauthorized) Error() string
type SetOrderClientExtensionsUnauthorizedBody ¶
type SetOrderClientExtensionsUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
SetOrderClientExtensionsUnauthorizedBody set order client extensions unauthorized body swagger:model SetOrderClientExtensionsUnauthorizedBody
func (*SetOrderClientExtensionsUnauthorizedBody) MarshalBinary ¶
func (o *SetOrderClientExtensionsUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetOrderClientExtensionsUnauthorizedBody) UnmarshalBinary ¶
func (o *SetOrderClientExtensionsUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetTradeClientExtensionsBadRequest ¶
type SetTradeClientExtensionsBadRequest struct {
Payload *SetTradeClientExtensionsBadRequestBody
}
SetTradeClientExtensionsBadRequest handles this case with default header values.
The Trade's Client Extensions cannot be modified as requested.
func NewSetTradeClientExtensionsBadRequest ¶
func NewSetTradeClientExtensionsBadRequest() *SetTradeClientExtensionsBadRequest
NewSetTradeClientExtensionsBadRequest creates a SetTradeClientExtensionsBadRequest with default headers values
func (*SetTradeClientExtensionsBadRequest) Error ¶
func (o *SetTradeClientExtensionsBadRequest) Error() string
type SetTradeClientExtensionsBadRequestBody ¶
type SetTradeClientExtensionsBadRequestBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` // The ID of the most recent Transaction created for the Account. LastTransactionID string `json:"lastTransactionID,omitempty"` // The IDs of all Transactions that were created while satisfying the request. RelatedTransactionIds []string `json:"relatedTransactionIDs"` // trade client extensions modify reject transaction TradeClientExtensionsModifyRejectTransaction *models.TradeClientExtensionsModifyRejectTransaction `json:"tradeClientExtensionsModifyRejectTransaction,omitempty"` }
SetTradeClientExtensionsBadRequestBody set trade client extensions bad request body swagger:model SetTradeClientExtensionsBadRequestBody
func (*SetTradeClientExtensionsBadRequestBody) MarshalBinary ¶
func (o *SetTradeClientExtensionsBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetTradeClientExtensionsBadRequestBody) UnmarshalBinary ¶
func (o *SetTradeClientExtensionsBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetTradeClientExtensionsBody ¶
type SetTradeClientExtensionsBody struct { // client extensions ClientExtensions *models.ClientExtensions `json:"clientExtensions,omitempty"` }
SetTradeClientExtensionsBody set trade client extensions body swagger:model SetTradeClientExtensionsBody
func (*SetTradeClientExtensionsBody) MarshalBinary ¶
func (o *SetTradeClientExtensionsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetTradeClientExtensionsBody) UnmarshalBinary ¶
func (o *SetTradeClientExtensionsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetTradeClientExtensionsMethodNotAllowed ¶
type SetTradeClientExtensionsMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *SetTradeClientExtensionsMethodNotAllowedBody }
SetTradeClientExtensionsMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewSetTradeClientExtensionsMethodNotAllowed ¶
func NewSetTradeClientExtensionsMethodNotAllowed() *SetTradeClientExtensionsMethodNotAllowed
NewSetTradeClientExtensionsMethodNotAllowed creates a SetTradeClientExtensionsMethodNotAllowed with default headers values
func (*SetTradeClientExtensionsMethodNotAllowed) Error ¶
func (o *SetTradeClientExtensionsMethodNotAllowed) Error() string
type SetTradeClientExtensionsMethodNotAllowedBody ¶
type SetTradeClientExtensionsMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
SetTradeClientExtensionsMethodNotAllowedBody set trade client extensions method not allowed body swagger:model SetTradeClientExtensionsMethodNotAllowedBody
func (*SetTradeClientExtensionsMethodNotAllowedBody) MarshalBinary ¶
func (o *SetTradeClientExtensionsMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetTradeClientExtensionsMethodNotAllowedBody) UnmarshalBinary ¶
func (o *SetTradeClientExtensionsMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetTradeClientExtensionsNotFound ¶
type SetTradeClientExtensionsNotFound struct {
Payload *SetTradeClientExtensionsNotFoundBody
}
SetTradeClientExtensionsNotFound handles this case with default header values.
The Account or Trade specified does not exist.
func NewSetTradeClientExtensionsNotFound ¶
func NewSetTradeClientExtensionsNotFound() *SetTradeClientExtensionsNotFound
NewSetTradeClientExtensionsNotFound creates a SetTradeClientExtensionsNotFound with default headers values
func (*SetTradeClientExtensionsNotFound) Error ¶
func (o *SetTradeClientExtensionsNotFound) Error() string
type SetTradeClientExtensionsNotFoundBody ¶
type SetTradeClientExtensionsNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` // The ID of the most recent Transaction created for the Account. Only present if the Account exists. LastTransactionID string `json:"lastTransactionID,omitempty"` // The IDs of all Transactions that were created while satisfying the request. Only present if the Account exists. RelatedTransactionIds []string `json:"relatedTransactionIDs"` // trade client extensions modify reject transaction TradeClientExtensionsModifyRejectTransaction *models.TradeClientExtensionsModifyRejectTransaction `json:"tradeClientExtensionsModifyRejectTransaction,omitempty"` }
SetTradeClientExtensionsNotFoundBody set trade client extensions not found body swagger:model SetTradeClientExtensionsNotFoundBody
func (*SetTradeClientExtensionsNotFoundBody) MarshalBinary ¶
func (o *SetTradeClientExtensionsNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetTradeClientExtensionsNotFoundBody) UnmarshalBinary ¶
func (o *SetTradeClientExtensionsNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetTradeClientExtensionsOK ¶
type SetTradeClientExtensionsOK struct { /*The unique identifier generated for the request */ RequestID string Payload *SetTradeClientExtensionsOKBody }
SetTradeClientExtensionsOK handles this case with default header values.
The Trade's Client Extensions have been updated as requested.
func NewSetTradeClientExtensionsOK ¶
func NewSetTradeClientExtensionsOK() *SetTradeClientExtensionsOK
NewSetTradeClientExtensionsOK creates a SetTradeClientExtensionsOK with default headers values
func (*SetTradeClientExtensionsOK) Error ¶
func (o *SetTradeClientExtensionsOK) Error() string
type SetTradeClientExtensionsOKBody ¶
type SetTradeClientExtensionsOKBody struct { // The ID of the most recent Transaction created for the Account LastTransactionID string `json:"lastTransactionID,omitempty"` // The IDs of all Transactions that were created while satisfying the request. RelatedTransactionIds []string `json:"relatedTransactionIDs"` // trade client extensions modify transaction TradeClientExtensionsModifyTransaction *models.TradeClientExtensionsModifyTransaction `json:"tradeClientExtensionsModifyTransaction,omitempty"` }
SetTradeClientExtensionsOKBody set trade client extensions o k body swagger:model SetTradeClientExtensionsOKBody
func (*SetTradeClientExtensionsOKBody) MarshalBinary ¶
func (o *SetTradeClientExtensionsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetTradeClientExtensionsOKBody) UnmarshalBinary ¶
func (o *SetTradeClientExtensionsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetTradeClientExtensionsParams ¶
type SetTradeClientExtensionsParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*AccountID Account Identifier */ AccountID string /*SetTradeClientExtensionsBody Details of how to modify the Trade's Client Extensions. */ SetTradeClientExtensionsBody SetTradeClientExtensionsBody /*TradeSpecifier Specifier for the Trade */ TradeSpecifier string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetTradeClientExtensionsParams contains all the parameters to send to the API endpoint for the set trade client extensions operation typically these are written to a http.Request
func NewSetTradeClientExtensionsParams ¶
func NewSetTradeClientExtensionsParams() *SetTradeClientExtensionsParams
NewSetTradeClientExtensionsParams creates a new SetTradeClientExtensionsParams object with the default values initialized.
func NewSetTradeClientExtensionsParamsWithContext ¶
func NewSetTradeClientExtensionsParamsWithContext(ctx context.Context) *SetTradeClientExtensionsParams
NewSetTradeClientExtensionsParamsWithContext creates a new SetTradeClientExtensionsParams object with the default values initialized, and the ability to set a context for a request
func NewSetTradeClientExtensionsParamsWithHTTPClient ¶
func NewSetTradeClientExtensionsParamsWithHTTPClient(client *http.Client) *SetTradeClientExtensionsParams
NewSetTradeClientExtensionsParamsWithHTTPClient creates a new SetTradeClientExtensionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSetTradeClientExtensionsParamsWithTimeout ¶
func NewSetTradeClientExtensionsParamsWithTimeout(timeout time.Duration) *SetTradeClientExtensionsParams
NewSetTradeClientExtensionsParamsWithTimeout creates a new SetTradeClientExtensionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*SetTradeClientExtensionsParams) SetAcceptDatetimeFormat ¶
func (o *SetTradeClientExtensionsParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the set trade client extensions params
func (*SetTradeClientExtensionsParams) SetAccountID ¶
func (o *SetTradeClientExtensionsParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the set trade client extensions params
func (*SetTradeClientExtensionsParams) SetAuthorization ¶
func (o *SetTradeClientExtensionsParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the set trade client extensions params
func (*SetTradeClientExtensionsParams) SetContext ¶
func (o *SetTradeClientExtensionsParams) SetContext(ctx context.Context)
SetContext adds the context to the set trade client extensions params
func (*SetTradeClientExtensionsParams) SetHTTPClient ¶
func (o *SetTradeClientExtensionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set trade client extensions params
func (*SetTradeClientExtensionsParams) SetSetTradeClientExtensionsBody ¶
func (o *SetTradeClientExtensionsParams) SetSetTradeClientExtensionsBody(setTradeClientExtensionsBody SetTradeClientExtensionsBody)
SetSetTradeClientExtensionsBody adds the setTradeClientExtensionsBody to the set trade client extensions params
func (*SetTradeClientExtensionsParams) SetTimeout ¶
func (o *SetTradeClientExtensionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set trade client extensions params
func (*SetTradeClientExtensionsParams) SetTradeSpecifier ¶
func (o *SetTradeClientExtensionsParams) SetTradeSpecifier(tradeSpecifier string)
SetTradeSpecifier adds the tradeSpecifier to the set trade client extensions params
func (*SetTradeClientExtensionsParams) WithAcceptDatetimeFormat ¶
func (o *SetTradeClientExtensionsParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *SetTradeClientExtensionsParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the set trade client extensions params
func (*SetTradeClientExtensionsParams) WithAccountID ¶
func (o *SetTradeClientExtensionsParams) WithAccountID(accountID string) *SetTradeClientExtensionsParams
WithAccountID adds the accountID to the set trade client extensions params
func (*SetTradeClientExtensionsParams) WithAuthorization ¶
func (o *SetTradeClientExtensionsParams) WithAuthorization(authorization string) *SetTradeClientExtensionsParams
WithAuthorization adds the authorization to the set trade client extensions params
func (*SetTradeClientExtensionsParams) WithContext ¶
func (o *SetTradeClientExtensionsParams) WithContext(ctx context.Context) *SetTradeClientExtensionsParams
WithContext adds the context to the set trade client extensions params
func (*SetTradeClientExtensionsParams) WithHTTPClient ¶
func (o *SetTradeClientExtensionsParams) WithHTTPClient(client *http.Client) *SetTradeClientExtensionsParams
WithHTTPClient adds the HTTPClient to the set trade client extensions params
func (*SetTradeClientExtensionsParams) WithSetTradeClientExtensionsBody ¶
func (o *SetTradeClientExtensionsParams) WithSetTradeClientExtensionsBody(setTradeClientExtensionsBody SetTradeClientExtensionsBody) *SetTradeClientExtensionsParams
WithSetTradeClientExtensionsBody adds the setTradeClientExtensionsBody to the set trade client extensions params
func (*SetTradeClientExtensionsParams) WithTimeout ¶
func (o *SetTradeClientExtensionsParams) WithTimeout(timeout time.Duration) *SetTradeClientExtensionsParams
WithTimeout adds the timeout to the set trade client extensions params
func (*SetTradeClientExtensionsParams) WithTradeSpecifier ¶
func (o *SetTradeClientExtensionsParams) WithTradeSpecifier(tradeSpecifier string) *SetTradeClientExtensionsParams
WithTradeSpecifier adds the tradeSpecifier to the set trade client extensions params
func (*SetTradeClientExtensionsParams) WriteToRequest ¶
func (o *SetTradeClientExtensionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetTradeClientExtensionsReader ¶
type SetTradeClientExtensionsReader struct {
// contains filtered or unexported fields
}
SetTradeClientExtensionsReader is a Reader for the SetTradeClientExtensions structure.
func (*SetTradeClientExtensionsReader) ReadResponse ¶
func (o *SetTradeClientExtensionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetTradeClientExtensionsUnauthorized ¶
type SetTradeClientExtensionsUnauthorized struct { string }RequestID
SetTradeClientExtensionsUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewSetTradeClientExtensionsUnauthorized ¶
func NewSetTradeClientExtensionsUnauthorized() *SetTradeClientExtensionsUnauthorized
NewSetTradeClientExtensionsUnauthorized creates a SetTradeClientExtensionsUnauthorized with default headers values
func (*SetTradeClientExtensionsUnauthorized) Error ¶
func (o *SetTradeClientExtensionsUnauthorized) Error() string
type SetTradeClientExtensionsUnauthorizedBody ¶
type SetTradeClientExtensionsUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
SetTradeClientExtensionsUnauthorizedBody set trade client extensions unauthorized body swagger:model SetTradeClientExtensionsUnauthorizedBody
func (*SetTradeClientExtensionsUnauthorizedBody) MarshalBinary ¶
func (o *SetTradeClientExtensionsUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetTradeClientExtensionsUnauthorizedBody) UnmarshalBinary ¶
func (o *SetTradeClientExtensionsUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetTradeDependentOrdersBadRequest ¶
type SetTradeDependentOrdersBadRequest struct {
Payload *SetTradeDependentOrdersBadRequestBody
}
SetTradeDependentOrdersBadRequest handles this case with default header values.
The Trade's dependent Orders cannot be modified as requested.
func NewSetTradeDependentOrdersBadRequest ¶
func NewSetTradeDependentOrdersBadRequest() *SetTradeDependentOrdersBadRequest
NewSetTradeDependentOrdersBadRequest creates a SetTradeDependentOrdersBadRequest with default headers values
func (*SetTradeDependentOrdersBadRequest) Error ¶
func (o *SetTradeDependentOrdersBadRequest) Error() string
type SetTradeDependentOrdersBadRequestBody ¶
type SetTradeDependentOrdersBadRequestBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` // The ID of the most recent Transaction created for the Account. LastTransactionID string `json:"lastTransactionID,omitempty"` // The IDs of all Transactions that were created while satisfying the request. RelatedTransactionIds []string `json:"relatedTransactionIDs"` // stop loss order cancel reject transaction StopLossOrderCancelRejectTransaction *models.OrderCancelRejectTransaction `json:"stopLossOrderCancelRejectTransaction,omitempty"` // stop loss order reject transaction StopLossOrderRejectTransaction *models.StopLossOrderRejectTransaction `json:"stopLossOrderRejectTransaction,omitempty"` // take profit order cancel reject transaction TakeProfitOrderCancelRejectTransaction *models.OrderCancelRejectTransaction `json:"takeProfitOrderCancelRejectTransaction,omitempty"` // take profit order reject transaction TakeProfitOrderRejectTransaction *models.TakeProfitOrderRejectTransaction `json:"takeProfitOrderRejectTransaction,omitempty"` // trailing stop loss order cancel reject transaction TrailingStopLossOrderCancelRejectTransaction *models.OrderCancelRejectTransaction `json:"trailingStopLossOrderCancelRejectTransaction,omitempty"` // trailing stop loss order reject transaction TrailingStopLossOrderRejectTransaction *models.TrailingStopLossOrderRejectTransaction `json:"trailingStopLossOrderRejectTransaction,omitempty"` }
SetTradeDependentOrdersBadRequestBody set trade dependent orders bad request body swagger:model SetTradeDependentOrdersBadRequestBody
func (*SetTradeDependentOrdersBadRequestBody) MarshalBinary ¶
func (o *SetTradeDependentOrdersBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetTradeDependentOrdersBadRequestBody) UnmarshalBinary ¶
func (o *SetTradeDependentOrdersBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetTradeDependentOrdersBody ¶
type SetTradeDependentOrdersBody struct { // stop loss StopLoss *models.StopLossDetails `json:"stopLoss,omitempty"` // take profit TakeProfit *models.TakeProfitDetails `json:"takeProfit,omitempty"` // trailing stop loss TrailingStopLoss *models.TrailingStopLossDetails `json:"trailingStopLoss,omitempty"` }
SetTradeDependentOrdersBody set trade dependent orders body swagger:model SetTradeDependentOrdersBody
func (*SetTradeDependentOrdersBody) MarshalBinary ¶
func (o *SetTradeDependentOrdersBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetTradeDependentOrdersBody) UnmarshalBinary ¶
func (o *SetTradeDependentOrdersBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetTradeDependentOrdersMethodNotAllowed ¶
type SetTradeDependentOrdersMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *SetTradeDependentOrdersMethodNotAllowedBody }
SetTradeDependentOrdersMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewSetTradeDependentOrdersMethodNotAllowed ¶
func NewSetTradeDependentOrdersMethodNotAllowed() *SetTradeDependentOrdersMethodNotAllowed
NewSetTradeDependentOrdersMethodNotAllowed creates a SetTradeDependentOrdersMethodNotAllowed with default headers values
func (*SetTradeDependentOrdersMethodNotAllowed) Error ¶
func (o *SetTradeDependentOrdersMethodNotAllowed) Error() string
type SetTradeDependentOrdersMethodNotAllowedBody ¶
type SetTradeDependentOrdersMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
SetTradeDependentOrdersMethodNotAllowedBody set trade dependent orders method not allowed body swagger:model SetTradeDependentOrdersMethodNotAllowedBody
func (*SetTradeDependentOrdersMethodNotAllowedBody) MarshalBinary ¶
func (o *SetTradeDependentOrdersMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetTradeDependentOrdersMethodNotAllowedBody) UnmarshalBinary ¶
func (o *SetTradeDependentOrdersMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetTradeDependentOrdersNotFound ¶
type SetTradeDependentOrdersNotFound struct { /*The unique identifier generated for the request */ RequestID string Payload *SetTradeDependentOrdersNotFoundBody }
SetTradeDependentOrdersNotFound handles this case with default header values.
Not Found. The client has attempted to access an entity that does not exist.
func NewSetTradeDependentOrdersNotFound ¶
func NewSetTradeDependentOrdersNotFound() *SetTradeDependentOrdersNotFound
NewSetTradeDependentOrdersNotFound creates a SetTradeDependentOrdersNotFound with default headers values
func (*SetTradeDependentOrdersNotFound) Error ¶
func (o *SetTradeDependentOrdersNotFound) Error() string
type SetTradeDependentOrdersNotFoundBody ¶
type SetTradeDependentOrdersNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
SetTradeDependentOrdersNotFoundBody set trade dependent orders not found body swagger:model SetTradeDependentOrdersNotFoundBody
func (*SetTradeDependentOrdersNotFoundBody) MarshalBinary ¶
func (o *SetTradeDependentOrdersNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetTradeDependentOrdersNotFoundBody) UnmarshalBinary ¶
func (o *SetTradeDependentOrdersNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetTradeDependentOrdersOK ¶
type SetTradeDependentOrdersOK struct { /*The unique identifier generated for the request */ RequestID string Payload *SetTradeDependentOrdersOKBody }
SetTradeDependentOrdersOK handles this case with default header values.
The Trade's dependent Orders have been modified as requested.
func NewSetTradeDependentOrdersOK ¶
func NewSetTradeDependentOrdersOK() *SetTradeDependentOrdersOK
NewSetTradeDependentOrdersOK creates a SetTradeDependentOrdersOK with default headers values
func (*SetTradeDependentOrdersOK) Error ¶
func (o *SetTradeDependentOrdersOK) Error() string
type SetTradeDependentOrdersOKBody ¶
type SetTradeDependentOrdersOKBody struct { // The ID of the most recent Transaction created for the Account LastTransactionID string `json:"lastTransactionID,omitempty"` // The IDs of all Transactions that were created while satisfying the request. RelatedTransactionIds []string `json:"relatedTransactionIDs"` // stop loss order cancel transaction StopLossOrderCancelTransaction *models.OrderCancelTransaction `json:"stopLossOrderCancelTransaction,omitempty"` // stop loss order created cancel transaction StopLossOrderCreatedCancelTransaction *models.OrderCancelTransaction `json:"stopLossOrderCreatedCancelTransaction,omitempty"` // stop loss order fill transaction StopLossOrderFillTransaction *models.OrderFillTransaction `json:"stopLossOrderFillTransaction,omitempty"` // stop loss order transaction StopLossOrderTransaction *models.StopLossOrderTransaction `json:"stopLossOrderTransaction,omitempty"` // take profit order cancel transaction TakeProfitOrderCancelTransaction *models.OrderCancelTransaction `json:"takeProfitOrderCancelTransaction,omitempty"` // take profit order created cancel transaction TakeProfitOrderCreatedCancelTransaction *models.OrderCancelTransaction `json:"takeProfitOrderCreatedCancelTransaction,omitempty"` // take profit order fill transaction TakeProfitOrderFillTransaction *models.OrderFillTransaction `json:"takeProfitOrderFillTransaction,omitempty"` // take profit order transaction TakeProfitOrderTransaction *models.TakeProfitOrderTransaction `json:"takeProfitOrderTransaction,omitempty"` // trailing stop loss order cancel transaction TrailingStopLossOrderCancelTransaction *models.OrderCancelTransaction `json:"trailingStopLossOrderCancelTransaction,omitempty"` // trailing stop loss order transaction TrailingStopLossOrderTransaction *models.TrailingStopLossOrderTransaction `json:"trailingStopLossOrderTransaction,omitempty"` }
SetTradeDependentOrdersOKBody set trade dependent orders o k body swagger:model SetTradeDependentOrdersOKBody
func (*SetTradeDependentOrdersOKBody) MarshalBinary ¶
func (o *SetTradeDependentOrdersOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetTradeDependentOrdersOKBody) UnmarshalBinary ¶
func (o *SetTradeDependentOrdersOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetTradeDependentOrdersParams ¶
type SetTradeDependentOrdersParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*AccountID Account Identifier */ AccountID string /*SetTradeDependentOrdersBody Details of how to modify the Trade's dependent Orders. */ SetTradeDependentOrdersBody SetTradeDependentOrdersBody /*TradeSpecifier Specifier for the Trade */ TradeSpecifier string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetTradeDependentOrdersParams contains all the parameters to send to the API endpoint for the set trade dependent orders operation typically these are written to a http.Request
func NewSetTradeDependentOrdersParams ¶
func NewSetTradeDependentOrdersParams() *SetTradeDependentOrdersParams
NewSetTradeDependentOrdersParams creates a new SetTradeDependentOrdersParams object with the default values initialized.
func NewSetTradeDependentOrdersParamsWithContext ¶
func NewSetTradeDependentOrdersParamsWithContext(ctx context.Context) *SetTradeDependentOrdersParams
NewSetTradeDependentOrdersParamsWithContext creates a new SetTradeDependentOrdersParams object with the default values initialized, and the ability to set a context for a request
func NewSetTradeDependentOrdersParamsWithHTTPClient ¶
func NewSetTradeDependentOrdersParamsWithHTTPClient(client *http.Client) *SetTradeDependentOrdersParams
NewSetTradeDependentOrdersParamsWithHTTPClient creates a new SetTradeDependentOrdersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSetTradeDependentOrdersParamsWithTimeout ¶
func NewSetTradeDependentOrdersParamsWithTimeout(timeout time.Duration) *SetTradeDependentOrdersParams
NewSetTradeDependentOrdersParamsWithTimeout creates a new SetTradeDependentOrdersParams object with the default values initialized, and the ability to set a timeout on a request
func (*SetTradeDependentOrdersParams) SetAcceptDatetimeFormat ¶
func (o *SetTradeDependentOrdersParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the set trade dependent orders params
func (*SetTradeDependentOrdersParams) SetAccountID ¶
func (o *SetTradeDependentOrdersParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the set trade dependent orders params
func (*SetTradeDependentOrdersParams) SetAuthorization ¶
func (o *SetTradeDependentOrdersParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the set trade dependent orders params
func (*SetTradeDependentOrdersParams) SetContext ¶
func (o *SetTradeDependentOrdersParams) SetContext(ctx context.Context)
SetContext adds the context to the set trade dependent orders params
func (*SetTradeDependentOrdersParams) SetHTTPClient ¶
func (o *SetTradeDependentOrdersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set trade dependent orders params
func (*SetTradeDependentOrdersParams) SetSetTradeDependentOrdersBody ¶
func (o *SetTradeDependentOrdersParams) SetSetTradeDependentOrdersBody(setTradeDependentOrdersBody SetTradeDependentOrdersBody)
SetSetTradeDependentOrdersBody adds the setTradeDependentOrdersBody to the set trade dependent orders params
func (*SetTradeDependentOrdersParams) SetTimeout ¶
func (o *SetTradeDependentOrdersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set trade dependent orders params
func (*SetTradeDependentOrdersParams) SetTradeSpecifier ¶
func (o *SetTradeDependentOrdersParams) SetTradeSpecifier(tradeSpecifier string)
SetTradeSpecifier adds the tradeSpecifier to the set trade dependent orders params
func (*SetTradeDependentOrdersParams) WithAcceptDatetimeFormat ¶
func (o *SetTradeDependentOrdersParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *SetTradeDependentOrdersParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the set trade dependent orders params
func (*SetTradeDependentOrdersParams) WithAccountID ¶
func (o *SetTradeDependentOrdersParams) WithAccountID(accountID string) *SetTradeDependentOrdersParams
WithAccountID adds the accountID to the set trade dependent orders params
func (*SetTradeDependentOrdersParams) WithAuthorization ¶
func (o *SetTradeDependentOrdersParams) WithAuthorization(authorization string) *SetTradeDependentOrdersParams
WithAuthorization adds the authorization to the set trade dependent orders params
func (*SetTradeDependentOrdersParams) WithContext ¶
func (o *SetTradeDependentOrdersParams) WithContext(ctx context.Context) *SetTradeDependentOrdersParams
WithContext adds the context to the set trade dependent orders params
func (*SetTradeDependentOrdersParams) WithHTTPClient ¶
func (o *SetTradeDependentOrdersParams) WithHTTPClient(client *http.Client) *SetTradeDependentOrdersParams
WithHTTPClient adds the HTTPClient to the set trade dependent orders params
func (*SetTradeDependentOrdersParams) WithSetTradeDependentOrdersBody ¶
func (o *SetTradeDependentOrdersParams) WithSetTradeDependentOrdersBody(setTradeDependentOrdersBody SetTradeDependentOrdersBody) *SetTradeDependentOrdersParams
WithSetTradeDependentOrdersBody adds the setTradeDependentOrdersBody to the set trade dependent orders params
func (*SetTradeDependentOrdersParams) WithTimeout ¶
func (o *SetTradeDependentOrdersParams) WithTimeout(timeout time.Duration) *SetTradeDependentOrdersParams
WithTimeout adds the timeout to the set trade dependent orders params
func (*SetTradeDependentOrdersParams) WithTradeSpecifier ¶
func (o *SetTradeDependentOrdersParams) WithTradeSpecifier(tradeSpecifier string) *SetTradeDependentOrdersParams
WithTradeSpecifier adds the tradeSpecifier to the set trade dependent orders params
func (*SetTradeDependentOrdersParams) WriteToRequest ¶
func (o *SetTradeDependentOrdersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetTradeDependentOrdersReader ¶
type SetTradeDependentOrdersReader struct {
// contains filtered or unexported fields
}
SetTradeDependentOrdersReader is a Reader for the SetTradeDependentOrders structure.
func (*SetTradeDependentOrdersReader) ReadResponse ¶
func (o *SetTradeDependentOrdersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetTradeDependentOrdersUnauthorized ¶
type SetTradeDependentOrdersUnauthorized struct { string }RequestID
SetTradeDependentOrdersUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewSetTradeDependentOrdersUnauthorized ¶
func NewSetTradeDependentOrdersUnauthorized() *SetTradeDependentOrdersUnauthorized
NewSetTradeDependentOrdersUnauthorized creates a SetTradeDependentOrdersUnauthorized with default headers values
func (*SetTradeDependentOrdersUnauthorized) Error ¶
func (o *SetTradeDependentOrdersUnauthorized) Error() string
type SetTradeDependentOrdersUnauthorizedBody ¶
type SetTradeDependentOrdersUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
SetTradeDependentOrdersUnauthorizedBody set trade dependent orders unauthorized body swagger:model SetTradeDependentOrdersUnauthorizedBody
func (*SetTradeDependentOrdersUnauthorizedBody) MarshalBinary ¶
func (o *SetTradeDependentOrdersUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetTradeDependentOrdersUnauthorizedBody) UnmarshalBinary ¶
func (o *SetTradeDependentOrdersUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StreamPricingBadRequest ¶
type StreamPricingBadRequest struct { /*The unique identifier generated for the request */ RequestID string Payload *StreamPricingBadRequestBody }
StreamPricingBadRequest handles this case with default header values.
Bad Request. The client has provided invalid data to be processed by the server.
func NewStreamPricingBadRequest ¶
func NewStreamPricingBadRequest() *StreamPricingBadRequest
NewStreamPricingBadRequest creates a StreamPricingBadRequest with default headers values
func (*StreamPricingBadRequest) Error ¶
func (o *StreamPricingBadRequest) Error() string
type StreamPricingBadRequestBody ¶
type StreamPricingBadRequestBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
StreamPricingBadRequestBody stream pricing bad request body swagger:model StreamPricingBadRequestBody
func (*StreamPricingBadRequestBody) MarshalBinary ¶
func (o *StreamPricingBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StreamPricingBadRequestBody) UnmarshalBinary ¶
func (o *StreamPricingBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StreamPricingMethodNotAllowed ¶
type StreamPricingMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *StreamPricingMethodNotAllowedBody }
StreamPricingMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewStreamPricingMethodNotAllowed ¶
func NewStreamPricingMethodNotAllowed() *StreamPricingMethodNotAllowed
NewStreamPricingMethodNotAllowed creates a StreamPricingMethodNotAllowed with default headers values
func (*StreamPricingMethodNotAllowed) Error ¶
func (o *StreamPricingMethodNotAllowed) Error() string
type StreamPricingMethodNotAllowedBody ¶
type StreamPricingMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
StreamPricingMethodNotAllowedBody stream pricing method not allowed body swagger:model StreamPricingMethodNotAllowedBody
func (*StreamPricingMethodNotAllowedBody) MarshalBinary ¶
func (o *StreamPricingMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StreamPricingMethodNotAllowedBody) UnmarshalBinary ¶
func (o *StreamPricingMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StreamPricingNotFound ¶
type StreamPricingNotFound struct { /*The unique identifier generated for the request */ RequestID string Payload *StreamPricingNotFoundBody }
StreamPricingNotFound handles this case with default header values.
Not Found. The client has attempted to access an entity that does not exist.
func NewStreamPricingNotFound ¶
func NewStreamPricingNotFound() *StreamPricingNotFound
NewStreamPricingNotFound creates a StreamPricingNotFound with default headers values
func (*StreamPricingNotFound) Error ¶
func (o *StreamPricingNotFound) Error() string
type StreamPricingNotFoundBody ¶
type StreamPricingNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
StreamPricingNotFoundBody stream pricing not found body swagger:model StreamPricingNotFoundBody
func (*StreamPricingNotFoundBody) MarshalBinary ¶
func (o *StreamPricingNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StreamPricingNotFoundBody) UnmarshalBinary ¶
func (o *StreamPricingNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StreamPricingOK ¶
type StreamPricingOK struct { /*A link to the next/previous order book snapshot. */ Link string /*The unique identifier generated for the request */ RequestID string Payload *StreamPricingOKBody }
StreamPricingOK handles this case with default header values.
Connecting to the Price Stream was successful.
func NewStreamPricingOK ¶
func NewStreamPricingOK() *StreamPricingOK
NewStreamPricingOK creates a StreamPricingOK with default headers values
func (*StreamPricingOK) Error ¶
func (o *StreamPricingOK) Error() string
type StreamPricingOKBody ¶
type StreamPricingOKBody struct { // heartbeat Heartbeat *models.PricingHeartbeat `json:"heartbeat,omitempty"` // price Price *models.ClientPrice `json:"price,omitempty"` }
StreamPricingOKBody The response body for the Pricing Stream uses chunked transfer encoding. Each chunk contains Price and/or PricingHeartbeat objects encoded as JSON. Each JSON object is serialized into a single line of text, and multiple objects found in the same chunk are separated by newlines. // Heartbeats are sent every 5 seconds. swagger:model StreamPricingOKBody
func (*StreamPricingOKBody) MarshalBinary ¶
func (o *StreamPricingOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StreamPricingOKBody) UnmarshalBinary ¶
func (o *StreamPricingOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StreamPricingParams ¶
type StreamPricingParams struct { /*AcceptDatetimeFormat Format of DateTime fields in the request and response. */ AcceptDatetimeFormat *string /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*AccountID Account Identifier */ AccountID string /*Instruments List of Instruments to stream Prices for. */ Instruments []string /*Snapshot Flag that enables/disables the sending of a pricing snapshot when initially connecting to the stream. */ Snapshot *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StreamPricingParams contains all the parameters to send to the API endpoint for the stream pricing operation typically these are written to a http.Request
func NewStreamPricingParams ¶
func NewStreamPricingParams() *StreamPricingParams
NewStreamPricingParams creates a new StreamPricingParams object with the default values initialized.
func NewStreamPricingParamsWithContext ¶
func NewStreamPricingParamsWithContext(ctx context.Context) *StreamPricingParams
NewStreamPricingParamsWithContext creates a new StreamPricingParams object with the default values initialized, and the ability to set a context for a request
func NewStreamPricingParamsWithHTTPClient ¶
func NewStreamPricingParamsWithHTTPClient(client *http.Client) *StreamPricingParams
NewStreamPricingParamsWithHTTPClient creates a new StreamPricingParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewStreamPricingParamsWithTimeout ¶
func NewStreamPricingParamsWithTimeout(timeout time.Duration) *StreamPricingParams
NewStreamPricingParamsWithTimeout creates a new StreamPricingParams object with the default values initialized, and the ability to set a timeout on a request
func (*StreamPricingParams) SetAcceptDatetimeFormat ¶
func (o *StreamPricingParams) SetAcceptDatetimeFormat(acceptDatetimeFormat *string)
SetAcceptDatetimeFormat adds the acceptDatetimeFormat to the stream pricing params
func (*StreamPricingParams) SetAccountID ¶
func (o *StreamPricingParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the stream pricing params
func (*StreamPricingParams) SetAuthorization ¶
func (o *StreamPricingParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the stream pricing params
func (*StreamPricingParams) SetContext ¶
func (o *StreamPricingParams) SetContext(ctx context.Context)
SetContext adds the context to the stream pricing params
func (*StreamPricingParams) SetHTTPClient ¶
func (o *StreamPricingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stream pricing params
func (*StreamPricingParams) SetInstruments ¶
func (o *StreamPricingParams) SetInstruments(instruments []string)
SetInstruments adds the instruments to the stream pricing params
func (*StreamPricingParams) SetSnapshot ¶
func (o *StreamPricingParams) SetSnapshot(snapshot *bool)
SetSnapshot adds the snapshot to the stream pricing params
func (*StreamPricingParams) SetTimeout ¶
func (o *StreamPricingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stream pricing params
func (*StreamPricingParams) WithAcceptDatetimeFormat ¶
func (o *StreamPricingParams) WithAcceptDatetimeFormat(acceptDatetimeFormat *string) *StreamPricingParams
WithAcceptDatetimeFormat adds the acceptDatetimeFormat to the stream pricing params
func (*StreamPricingParams) WithAccountID ¶
func (o *StreamPricingParams) WithAccountID(accountID string) *StreamPricingParams
WithAccountID adds the accountID to the stream pricing params
func (*StreamPricingParams) WithAuthorization ¶
func (o *StreamPricingParams) WithAuthorization(authorization string) *StreamPricingParams
WithAuthorization adds the authorization to the stream pricing params
func (*StreamPricingParams) WithContext ¶
func (o *StreamPricingParams) WithContext(ctx context.Context) *StreamPricingParams
WithContext adds the context to the stream pricing params
func (*StreamPricingParams) WithHTTPClient ¶
func (o *StreamPricingParams) WithHTTPClient(client *http.Client) *StreamPricingParams
WithHTTPClient adds the HTTPClient to the stream pricing params
func (*StreamPricingParams) WithInstruments ¶
func (o *StreamPricingParams) WithInstruments(instruments []string) *StreamPricingParams
WithInstruments adds the instruments to the stream pricing params
func (*StreamPricingParams) WithSnapshot ¶
func (o *StreamPricingParams) WithSnapshot(snapshot *bool) *StreamPricingParams
WithSnapshot adds the snapshot to the stream pricing params
func (*StreamPricingParams) WithTimeout ¶
func (o *StreamPricingParams) WithTimeout(timeout time.Duration) *StreamPricingParams
WithTimeout adds the timeout to the stream pricing params
func (*StreamPricingParams) WriteToRequest ¶
func (o *StreamPricingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StreamPricingReader ¶
type StreamPricingReader struct {
// contains filtered or unexported fields
}
StreamPricingReader is a Reader for the StreamPricing structure.
func (*StreamPricingReader) ReadResponse ¶
func (o *StreamPricingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StreamPricingUnauthorized ¶
type StreamPricingUnauthorized struct { string }RequestID
StreamPricingUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewStreamPricingUnauthorized ¶
func NewStreamPricingUnauthorized() *StreamPricingUnauthorized
NewStreamPricingUnauthorized creates a StreamPricingUnauthorized with default headers values
func (*StreamPricingUnauthorized) Error ¶
func (o *StreamPricingUnauthorized) Error() string
type StreamPricingUnauthorizedBody ¶
type StreamPricingUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
StreamPricingUnauthorizedBody stream pricing unauthorized body swagger:model StreamPricingUnauthorizedBody
func (*StreamPricingUnauthorizedBody) MarshalBinary ¶
func (o *StreamPricingUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StreamPricingUnauthorizedBody) UnmarshalBinary ¶
func (o *StreamPricingUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StreamTransactionsBadRequest ¶
type StreamTransactionsBadRequest struct { /*The unique identifier generated for the request */ RequestID string Payload *StreamTransactionsBadRequestBody }
StreamTransactionsBadRequest handles this case with default header values.
Bad Request. The client has provided invalid data to be processed by the server.
func NewStreamTransactionsBadRequest ¶
func NewStreamTransactionsBadRequest() *StreamTransactionsBadRequest
NewStreamTransactionsBadRequest creates a StreamTransactionsBadRequest with default headers values
func (*StreamTransactionsBadRequest) Error ¶
func (o *StreamTransactionsBadRequest) Error() string
type StreamTransactionsBadRequestBody ¶
type StreamTransactionsBadRequestBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
StreamTransactionsBadRequestBody stream transactions bad request body swagger:model StreamTransactionsBadRequestBody
func (*StreamTransactionsBadRequestBody) MarshalBinary ¶
func (o *StreamTransactionsBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StreamTransactionsBadRequestBody) UnmarshalBinary ¶
func (o *StreamTransactionsBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StreamTransactionsMethodNotAllowed ¶
type StreamTransactionsMethodNotAllowed struct { /*The unique identifier generated for the request */ RequestID string Payload *StreamTransactionsMethodNotAllowedBody }
StreamTransactionsMethodNotAllowed handles this case with default header values.
Method Not Allowed. The client has attempted to access an endpoint using an HTTP method that is not supported.
func NewStreamTransactionsMethodNotAllowed ¶
func NewStreamTransactionsMethodNotAllowed() *StreamTransactionsMethodNotAllowed
NewStreamTransactionsMethodNotAllowed creates a StreamTransactionsMethodNotAllowed with default headers values
func (*StreamTransactionsMethodNotAllowed) Error ¶
func (o *StreamTransactionsMethodNotAllowed) Error() string
type StreamTransactionsMethodNotAllowedBody ¶
type StreamTransactionsMethodNotAllowedBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
StreamTransactionsMethodNotAllowedBody stream transactions method not allowed body swagger:model StreamTransactionsMethodNotAllowedBody
func (*StreamTransactionsMethodNotAllowedBody) MarshalBinary ¶
func (o *StreamTransactionsMethodNotAllowedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StreamTransactionsMethodNotAllowedBody) UnmarshalBinary ¶
func (o *StreamTransactionsMethodNotAllowedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StreamTransactionsNotFound ¶
type StreamTransactionsNotFound struct { /*The unique identifier generated for the request */ RequestID string Payload *StreamTransactionsNotFoundBody }
StreamTransactionsNotFound handles this case with default header values.
Not Found. The client has attempted to access an entity that does not exist.
func NewStreamTransactionsNotFound ¶
func NewStreamTransactionsNotFound() *StreamTransactionsNotFound
NewStreamTransactionsNotFound creates a StreamTransactionsNotFound with default headers values
func (*StreamTransactionsNotFound) Error ¶
func (o *StreamTransactionsNotFound) Error() string
type StreamTransactionsNotFoundBody ¶
type StreamTransactionsNotFoundBody struct { // The code of the error that has occurred. This field may not be returned for some errors. ErrorCode string `json:"errorCode,omitempty"` // The human-readable description of the error that has occurred. ErrorMessage string `json:"errorMessage,omitempty"` }
StreamTransactionsNotFoundBody stream transactions not found body swagger:model StreamTransactionsNotFoundBody
func (*StreamTransactionsNotFoundBody) MarshalBinary ¶
func (o *StreamTransactionsNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StreamTransactionsNotFoundBody) UnmarshalBinary ¶
func (o *StreamTransactionsNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StreamTransactionsOK ¶
type StreamTransactionsOK struct { /*The unique identifier generated for the request */ RequestID string Payload *StreamTransactionsOKBody }
StreamTransactionsOK handles this case with default header values.
Connecting to the Transaction Stream was successful.
func NewStreamTransactionsOK ¶
func NewStreamTransactionsOK() *StreamTransactionsOK
NewStreamTransactionsOK creates a StreamTransactionsOK with default headers values
func (*StreamTransactionsOK) Error ¶
func (o *StreamTransactionsOK) Error() string
type StreamTransactionsOKBody ¶
type StreamTransactionsOKBody struct { // heartbeat Heartbeat *models.TransactionHeartbeat `json:"heartbeat,omitempty"` // transaction Transaction *models.Transaction `json:"transaction,omitempty"` }
StreamTransactionsOKBody The response body for the Transaction Stream uses chunked transfer encoding. Each chunk contains Transaction and/or TransactionHeartbeat objects encoded as JSON. Each JSON object is serialized into a single line of text, and multiple objects found in the same chunk are separated by newlines. // TransactionHeartbeats are sent every 5 seconds. swagger:model StreamTransactionsOKBody
func (*StreamTransactionsOKBody) MarshalBinary ¶
func (o *StreamTransactionsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StreamTransactionsOKBody) UnmarshalBinary ¶
func (o *StreamTransactionsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StreamTransactionsParams ¶
type StreamTransactionsParams struct { /*Authorization The authorization bearer token previously obtained by the client */ Authorization string /*AccountID Account Identifier */ AccountID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StreamTransactionsParams contains all the parameters to send to the API endpoint for the stream transactions operation typically these are written to a http.Request
func NewStreamTransactionsParams ¶
func NewStreamTransactionsParams() *StreamTransactionsParams
NewStreamTransactionsParams creates a new StreamTransactionsParams object with the default values initialized.
func NewStreamTransactionsParamsWithContext ¶
func NewStreamTransactionsParamsWithContext(ctx context.Context) *StreamTransactionsParams
NewStreamTransactionsParamsWithContext creates a new StreamTransactionsParams object with the default values initialized, and the ability to set a context for a request
func NewStreamTransactionsParamsWithHTTPClient ¶
func NewStreamTransactionsParamsWithHTTPClient(client *http.Client) *StreamTransactionsParams
NewStreamTransactionsParamsWithHTTPClient creates a new StreamTransactionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewStreamTransactionsParamsWithTimeout ¶
func NewStreamTransactionsParamsWithTimeout(timeout time.Duration) *StreamTransactionsParams
NewStreamTransactionsParamsWithTimeout creates a new StreamTransactionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*StreamTransactionsParams) SetAccountID ¶
func (o *StreamTransactionsParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the stream transactions params
func (*StreamTransactionsParams) SetAuthorization ¶
func (o *StreamTransactionsParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the stream transactions params
func (*StreamTransactionsParams) SetContext ¶
func (o *StreamTransactionsParams) SetContext(ctx context.Context)
SetContext adds the context to the stream transactions params
func (*StreamTransactionsParams) SetHTTPClient ¶
func (o *StreamTransactionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stream transactions params
func (*StreamTransactionsParams) SetTimeout ¶
func (o *StreamTransactionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stream transactions params
func (*StreamTransactionsParams) WithAccountID ¶
func (o *StreamTransactionsParams) WithAccountID(accountID string) *StreamTransactionsParams
WithAccountID adds the accountID to the stream transactions params
func (*StreamTransactionsParams) WithAuthorization ¶
func (o *StreamTransactionsParams) WithAuthorization(authorization string) *StreamTransactionsParams
WithAuthorization adds the authorization to the stream transactions params
func (*StreamTransactionsParams) WithContext ¶
func (o *StreamTransactionsParams) WithContext(ctx context.Context) *StreamTransactionsParams
WithContext adds the context to the stream transactions params
func (*StreamTransactionsParams) WithHTTPClient ¶
func (o *StreamTransactionsParams) WithHTTPClient(client *http.Client) *StreamTransactionsParams
WithHTTPClient adds the HTTPClient to the stream transactions params
func (*StreamTransactionsParams) WithTimeout ¶
func (o *StreamTransactionsParams) WithTimeout(timeout time.Duration) *StreamTransactionsParams
WithTimeout adds the timeout to the stream transactions params
func (*StreamTransactionsParams) WriteToRequest ¶
func (o *StreamTransactionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StreamTransactionsReader ¶
type StreamTransactionsReader struct {
// contains filtered or unexported fields
}
StreamTransactionsReader is a Reader for the StreamTransactions structure.
func (*StreamTransactionsReader) ReadResponse ¶
func (o *StreamTransactionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StreamTransactionsUnauthorized ¶
type StreamTransactionsUnauthorized struct { string }RequestID
StreamTransactionsUnauthorized handles this case with default header values.
Unauthorized. The endpoint being access required the client to authenticated, however the the authentication token is invalid or has not been provided.
func NewStreamTransactionsUnauthorized ¶
func NewStreamTransactionsUnauthorized() *StreamTransactionsUnauthorized
NewStreamTransactionsUnauthorized creates a StreamTransactionsUnauthorized with default headers values
func (*StreamTransactionsUnauthorized) Error ¶
func (o *StreamTransactionsUnauthorized) Error() string
type StreamTransactionsUnauthorizedBody ¶
type StreamTransactionsUnauthorizedBody struct { string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }ErrorCode
StreamTransactionsUnauthorizedBody stream transactions unauthorized body swagger:model StreamTransactionsUnauthorizedBody
func (*StreamTransactionsUnauthorizedBody) MarshalBinary ¶
func (o *StreamTransactionsUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StreamTransactionsUnauthorizedBody) UnmarshalBinary ¶
func (o *StreamTransactionsUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- cancel_order_parameters.go
- cancel_order_responses.go
- close_position_parameters.go
- close_position_responses.go
- close_trade_parameters.go
- close_trade_responses.go
- configure_account_parameters.go
- configure_account_responses.go
- create_order_parameters.go
- create_order_responses.go
- get_account_changes_parameters.go
- get_account_changes_responses.go
- get_account_instruments_parameters.go
- get_account_instruments_responses.go
- get_account_parameters.go
- get_account_responses.go
- get_account_summary_parameters.go
- get_account_summary_responses.go
- get_base_prices_parameters.go
- get_base_prices_responses.go
- get_external_user_info_parameters.go
- get_external_user_info_responses.go
- get_instrument_candles_parameters.go
- get_instrument_candles_responses.go
- get_instrument_price_parameters.go
- get_instrument_price_range_parameters.go
- get_instrument_price_range_responses.go
- get_instrument_price_responses.go
- get_instruments_instrument_order_book_parameters.go
- get_instruments_instrument_order_book_responses.go
- get_instruments_instrument_position_book_parameters.go
- get_instruments_instrument_position_book_responses.go
- get_order_parameters.go
- get_order_responses.go
- get_position_parameters.go
- get_position_responses.go
- get_prices_parameters.go
- get_prices_responses.go
- get_trade_parameters.go
- get_trade_responses.go
- get_transaction_parameters.go
- get_transaction_range_parameters.go
- get_transaction_range_responses.go
- get_transaction_responses.go
- get_transactions_since_id_parameters.go
- get_transactions_since_id_responses.go
- get_user_info_parameters.go
- get_user_info_responses.go
- list_accounts_parameters.go
- list_accounts_responses.go
- list_open_positions_parameters.go
- list_open_positions_responses.go
- list_open_trades_parameters.go
- list_open_trades_responses.go
- list_orders_parameters.go
- list_orders_responses.go
- list_pending_orders_parameters.go
- list_pending_orders_responses.go
- list_positions_parameters.go
- list_positions_responses.go
- list_trades_parameters.go
- list_trades_responses.go
- list_transactions_parameters.go
- list_transactions_responses.go
- operations_client.go
- replace_order_parameters.go
- replace_order_responses.go
- set_order_client_extensions_parameters.go
- set_order_client_extensions_responses.go
- set_trade_client_extensions_parameters.go
- set_trade_client_extensions_responses.go
- set_trade_dependent_orders_parameters.go
- set_trade_dependent_orders_responses.go
- stream_pricing_parameters.go
- stream_pricing_responses.go
- stream_transactions_parameters.go
- stream_transactions_responses.go