operations

package
v0.0.0-...-303b520 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

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

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

func (*CancelOrderMethodNotAllowedBody) Validate

Validate validates this cancel order method not allowed body

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

func (*CancelOrderNotFoundBody) Validate

func (o *CancelOrderNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this cancel order not found body

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

func (*CancelOrderOKBody) Validate

func (o *CancelOrderOKBody) Validate(formats strfmt.Registry) error

Validate validates this cancel order o k body

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *CancelOrderUnauthorizedBody
}

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 {

	// 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"`
}

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

func (*CancelOrderUnauthorizedBody) Validate

func (o *CancelOrderUnauthorizedBody) Validate(formats strfmt.Registry) error

Validate validates this cancel order unauthorized body

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

func (*ClosePositionBadRequestBody) Validate

func (o *ClosePositionBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this close position bad request body

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

func (*ClosePositionBody) Validate

func (o *ClosePositionBody) Validate(formats strfmt.Registry) error

Validate validates this close position body

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

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

func (*ClosePositionMethodNotAllowedBody) Validate

Validate validates this close position method not allowed body

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

func (*ClosePositionNotFoundBody) Validate

func (o *ClosePositionNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this close position not found body

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

func (*ClosePositionOKBody) Validate

func (o *ClosePositionOKBody) Validate(formats strfmt.Registry) error

Validate validates this close position o k body

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

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *ClosePositionUnauthorizedBody
}

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 {

	// 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"`
}

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

func (*ClosePositionUnauthorizedBody) Validate

func (o *ClosePositionUnauthorizedBody) Validate(formats strfmt.Registry) error

Validate validates this close position unauthorized body

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

func (*CloseTradeBadRequestBody) Validate

func (o *CloseTradeBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this close trade bad request body

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

func (*CloseTradeBody) Validate

func (o *CloseTradeBody) Validate(formats strfmt.Registry) error

Validate validates this close trade body

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

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

func (*CloseTradeMethodNotAllowedBody) Validate

func (o *CloseTradeMethodNotAllowedBody) Validate(formats strfmt.Registry) error

Validate validates this close trade method not allowed body

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

func (*CloseTradeNotFoundBody) Validate

func (o *CloseTradeNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this close trade not found body

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

func (*CloseTradeOKBody) Validate

func (o *CloseTradeOKBody) Validate(formats strfmt.Registry) error

Validate validates this close trade o k body

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *CloseTradeUnauthorizedBody
}

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 {

	// 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"`
}

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

func (*CloseTradeUnauthorizedBody) Validate

func (o *CloseTradeUnauthorizedBody) Validate(formats strfmt.Registry) error

Validate validates this close trade unauthorized body

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

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

func (*ConfigureAccountBadRequestBody) Validate

func (o *ConfigureAccountBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this configure account bad request body

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

func (*ConfigureAccountBody) Validate

func (o *ConfigureAccountBody) Validate(formats strfmt.Registry) error

Validate validates this configure account body

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

func (*ConfigureAccountForbiddenBody) Validate

func (o *ConfigureAccountForbiddenBody) Validate(formats strfmt.Registry) error

Validate validates this configure account forbidden body

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

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

func (*ConfigureAccountMethodNotAllowedBody) Validate

Validate validates this configure account method not allowed body

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

func (*ConfigureAccountNotFoundBody) Validate

func (o *ConfigureAccountNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this configure account not found body

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

func (*ConfigureAccountOKBody) Validate

func (o *ConfigureAccountOKBody) Validate(formats strfmt.Registry) error

Validate validates this configure account o k body

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

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

WithTimeout adds the timeout to the configure account params

func (*ConfigureAccountParams) WriteToRequest

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *ConfigureAccountUnauthorizedBody
}

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

type ConfigureAccountUnauthorizedBody

type ConfigureAccountUnauthorizedBody 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"`
}

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

func (*ConfigureAccountUnauthorizedBody) Validate

Validate validates this configure account unauthorized body

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

func (*CreateOrderBadRequestBody) Validate

func (o *CreateOrderBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this create order bad request body

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

func (*CreateOrderBody) Validate

func (o *CreateOrderBody) Validate(formats strfmt.Registry) error

Validate validates this create order body

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

func (*CreateOrderCreatedBody) Validate

func (o *CreateOrderCreatedBody) Validate(formats strfmt.Registry) error

Validate validates this create order created body

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

func (*CreateOrderForbiddenBody) Validate

func (o *CreateOrderForbiddenBody) Validate(formats strfmt.Registry) error

Validate validates this create order forbidden body

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

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

func (*CreateOrderMethodNotAllowedBody) Validate

Validate validates this create order method not allowed body

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

func (*CreateOrderNotFoundBody) Validate

func (o *CreateOrderNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this create order not found body

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *CreateOrderUnauthorizedBody
}

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 {

	// 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"`
}

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

func (*CreateOrderUnauthorizedBody) Validate

func (o *CreateOrderUnauthorizedBody) Validate(formats strfmt.Registry) error

Validate validates this create order unauthorized body

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

func (*GetAccountBadRequestBody) Validate

func (o *GetAccountBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this get account bad request body

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

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

func (*GetAccountChangesMethodNotAllowedBody) Validate

Validate validates this get account changes method not allowed body

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

func (*GetAccountChangesNotFoundBody) Validate

func (o *GetAccountChangesNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this get account changes not found body

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

func (*GetAccountChangesOKBody) Validate

func (o *GetAccountChangesOKBody) Validate(formats strfmt.Registry) error

Validate validates this get account changes o k body

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

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

WithTimeout adds the timeout to the get account changes params

func (*GetAccountChangesParams) WriteToRequest

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

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

MarshalBinary interface implementation

func (*GetAccountChangesRequestRangeNotSatisfiableBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetAccountChangesRequestRangeNotSatisfiableBody) Validate

Validate validates this get account changes request range not satisfiable body

type GetAccountChangesUnauthorized

type GetAccountChangesUnauthorized struct {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *GetAccountChangesUnauthorizedBody
}

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

type GetAccountChangesUnauthorizedBody

type GetAccountChangesUnauthorizedBody 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"`
}

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

func (*GetAccountChangesUnauthorizedBody) Validate

Validate validates this get account changes unauthorized body

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

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

func (*GetAccountInstrumentsBadRequestBody) Validate

Validate validates this get account instruments bad request body

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

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

func (*GetAccountInstrumentsMethodNotAllowedBody) Validate

Validate validates this get account instruments method not allowed body

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

func (*GetAccountInstrumentsOKBody) Validate

func (o *GetAccountInstrumentsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get account instruments o k body

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

WithContext adds the context to the get account instruments params

func (*GetAccountInstrumentsParams) WithHTTPClient

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

WithTimeout adds the timeout to the get account instruments params

func (*GetAccountInstrumentsParams) WriteToRequest

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *GetAccountInstrumentsUnauthorizedBody
}

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

type GetAccountInstrumentsUnauthorizedBody

type GetAccountInstrumentsUnauthorizedBody 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"`
}

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

func (*GetAccountInstrumentsUnauthorizedBody) Validate

Validate validates this get account instruments unauthorized body

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

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

func (*GetAccountMethodNotAllowedBody) Validate

func (o *GetAccountMethodNotAllowedBody) Validate(formats strfmt.Registry) error

Validate validates this get account method not allowed body

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

func (*GetAccountOKBody) Validate

func (o *GetAccountOKBody) Validate(formats strfmt.Registry) error

Validate validates this get account o k body

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

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

func (*GetAccountSummaryBadRequestBody) Validate

Validate validates this get account summary bad request body

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

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

func (*GetAccountSummaryMethodNotAllowedBody) Validate

Validate validates this get account summary method not allowed body

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

func (*GetAccountSummaryOKBody) Validate

func (o *GetAccountSummaryOKBody) Validate(formats strfmt.Registry) error

Validate validates this get account summary o k body

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

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

WithTimeout adds the timeout to the get account summary params

func (*GetAccountSummaryParams) WriteToRequest

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *GetAccountSummaryUnauthorizedBody
}

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

type GetAccountSummaryUnauthorizedBody

type GetAccountSummaryUnauthorizedBody 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"`
}

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

func (*GetAccountSummaryUnauthorizedBody) Validate

Validate validates this get account summary unauthorized body

type GetAccountUnauthorized

type GetAccountUnauthorized struct {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *GetAccountUnauthorizedBody
}

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 {

	// 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"`
}

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

func (*GetAccountUnauthorizedBody) Validate

func (o *GetAccountUnauthorizedBody) Validate(formats strfmt.Registry) error

Validate validates this get account unauthorized body

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

func (*GetBasePricesBadRequestBody) Validate

func (o *GetBasePricesBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this get base prices bad request body

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

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

func (*GetBasePricesMethodNotAllowedBody) Validate

Validate validates this get base prices method not allowed body

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

func (*GetBasePricesNotFoundBody) Validate

func (o *GetBasePricesNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this get base prices not found body

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

func (*GetBasePricesOKBody) Validate

func (o *GetBasePricesOKBody) Validate(formats strfmt.Registry) error

Validate validates this get base prices o k body

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

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *GetBasePricesUnauthorizedBody
}

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 {

	// 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"`
}

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

func (*GetBasePricesUnauthorizedBody) Validate

func (o *GetBasePricesUnauthorizedBody) Validate(formats strfmt.Registry) error

Validate validates this get base prices unauthorized body

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

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

func (*GetExternalUserInfoForbiddenBody) Validate

Validate validates this get external user info forbidden body

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

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

func (*GetExternalUserInfoMethodNotAllowedBody) Validate

Validate validates this get external user info method not allowed body

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

func (*GetExternalUserInfoOKBody) Validate

func (o *GetExternalUserInfoOKBody) Validate(formats strfmt.Registry) error

Validate validates this get external user info o k body

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

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

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

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *GetExternalUserInfoUnauthorizedBody
}

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

type GetExternalUserInfoUnauthorizedBody

type GetExternalUserInfoUnauthorizedBody 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"`
}

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

func (*GetExternalUserInfoUnauthorizedBody) Validate

Validate validates this get external user info unauthorized body

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

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

func (*GetInstrumentCandlesBadRequestBody) Validate

Validate validates this get instrument candles bad request body

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

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

func (*GetInstrumentCandlesMethodNotAllowedBody) Validate

Validate validates this get instrument candles method not allowed body

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

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

func (*GetInstrumentCandlesNotFoundBody) Validate

Validate validates this get instrument candles not found body

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

func (*GetInstrumentCandlesOKBody) Validate

func (o *GetInstrumentCandlesOKBody) Validate(formats strfmt.Registry) error

Validate validates this get instrument candles o k body

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

WithContext adds the context to the get instrument candles params

func (*GetInstrumentCandlesParams) WithCount

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

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

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

WithPrice adds the price to the get instrument candles params

func (*GetInstrumentCandlesParams) WithSmooth

WithSmooth adds the smooth to the get instrument candles params

func (*GetInstrumentCandlesParams) WithTimeout

WithTimeout adds the timeout to the get instrument candles params

func (*GetInstrumentCandlesParams) WithTo

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

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *GetInstrumentCandlesUnauthorizedBody
}

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

type GetInstrumentCandlesUnauthorizedBody

type GetInstrumentCandlesUnauthorizedBody 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"`
}

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

func (*GetInstrumentCandlesUnauthorizedBody) Validate

Validate validates this get instrument candles unauthorized body

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

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

func (*GetInstrumentPriceBadRequestBody) Validate

Validate validates this get instrument price bad request body

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

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

func (*GetInstrumentPriceMethodNotAllowedBody) Validate

Validate validates this get instrument price method not allowed body

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

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

func (*GetInstrumentPriceNotFoundBody) Validate

func (o *GetInstrumentPriceNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this get instrument price not found body

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

type GetInstrumentPriceOKBody struct {

	// price
	Price *models.Price `json:"price,omitempty"`
}

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

func (*GetInstrumentPriceOKBody) Validate

func (o *GetInstrumentPriceOKBody) Validate(formats strfmt.Registry) error

Validate validates this get instrument price o k body

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

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

WithTime adds the time to the get instrument price params

func (*GetInstrumentPriceParams) WithTimeout

WithTimeout adds the timeout to the get instrument price params

func (*GetInstrumentPriceParams) WriteToRequest

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

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

func (*GetInstrumentPriceRangeBadRequestBody) Validate

Validate validates this get instrument price range bad request body

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

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

func (*GetInstrumentPriceRangeMethodNotAllowedBody) Validate

Validate validates this get instrument price range method not allowed body

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

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

func (*GetInstrumentPriceRangeNotFoundBody) Validate

Validate validates this get instrument price range not found body

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

func (*GetInstrumentPriceRangeOKBody) Validate

func (o *GetInstrumentPriceRangeOKBody) Validate(formats strfmt.Registry) error

Validate validates this get instrument price range o k body

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

WithContext adds the context to the get instrument price range params

func (*GetInstrumentPriceRangeParams) WithFrom

WithFrom adds the from to the get instrument price range params

func (*GetInstrumentPriceRangeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get instrument price range params

func (*GetInstrumentPriceRangeParams) WithInstrument

WithInstrument adds the instrument to the get instrument price range params

func (*GetInstrumentPriceRangeParams) WithTimeout

WithTimeout adds the timeout to the get instrument price range params

func (*GetInstrumentPriceRangeParams) WithTo

WithTo adds the to to the get instrument price range params

func (*GetInstrumentPriceRangeParams) WriteToRequest

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *GetInstrumentPriceRangeUnauthorizedBody
}

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

type GetInstrumentPriceRangeUnauthorizedBody

type GetInstrumentPriceRangeUnauthorizedBody 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"`
}

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

func (*GetInstrumentPriceRangeUnauthorizedBody) Validate

Validate validates this get instrument price range unauthorized body

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *GetInstrumentPriceUnauthorizedBody
}

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

type GetInstrumentPriceUnauthorizedBody

type GetInstrumentPriceUnauthorizedBody 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"`
}

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

func (*GetInstrumentPriceUnauthorizedBody) Validate

Validate validates this get instrument price unauthorized body

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

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

MarshalBinary interface implementation

func (*GetInstrumentsInstrumentOrderBookBadRequestBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetInstrumentsInstrumentOrderBookBadRequestBody) Validate

Validate validates this get instruments instrument order book bad request body

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

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

MarshalBinary interface implementation

func (*GetInstrumentsInstrumentOrderBookMethodNotAllowedBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetInstrumentsInstrumentOrderBookMethodNotAllowedBody) Validate

Validate validates this get instruments instrument order book method not allowed body

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

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

MarshalBinary interface implementation

func (*GetInstrumentsInstrumentOrderBookNotFoundBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetInstrumentsInstrumentOrderBookNotFoundBody) Validate

Validate validates this get instruments instrument order book not found body

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

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

func (*GetInstrumentsInstrumentOrderBookOKBody) Validate

Validate validates this get instruments instrument order book o k body

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

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

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

WithAuthorization adds the authorization to the get instruments instrument order book params

func (*GetInstrumentsInstrumentOrderBookParams) WithContext

WithContext adds the context to the get instruments instrument order book params

func (*GetInstrumentsInstrumentOrderBookParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get instruments instrument order book params

func (*GetInstrumentsInstrumentOrderBookParams) WithInstrument

WithInstrument adds the instrument to the get instruments instrument order book params

func (*GetInstrumentsInstrumentOrderBookParams) WithTime

WithTime adds the time to the get instruments instrument order book params

func (*GetInstrumentsInstrumentOrderBookParams) WithTimeout

WithTimeout adds the timeout to the get instruments instrument order book params

func (*GetInstrumentsInstrumentOrderBookParams) WriteToRequest

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *GetInstrumentsInstrumentOrderBookUnauthorizedBody
}

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

type GetInstrumentsInstrumentOrderBookUnauthorizedBody

type GetInstrumentsInstrumentOrderBookUnauthorizedBody 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"`
}

GetInstrumentsInstrumentOrderBookUnauthorizedBody get instruments instrument order book unauthorized body swagger:model GetInstrumentsInstrumentOrderBookUnauthorizedBody

func (*GetInstrumentsInstrumentOrderBookUnauthorizedBody) MarshalBinary

MarshalBinary interface implementation

func (*GetInstrumentsInstrumentOrderBookUnauthorizedBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetInstrumentsInstrumentOrderBookUnauthorizedBody) Validate

Validate validates this get instruments instrument order book unauthorized body

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

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

MarshalBinary interface implementation

func (*GetInstrumentsInstrumentPositionBookBadRequestBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetInstrumentsInstrumentPositionBookBadRequestBody) Validate

Validate validates this get instruments instrument position book bad request body

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

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

MarshalBinary interface implementation

func (*GetInstrumentsInstrumentPositionBookMethodNotAllowedBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetInstrumentsInstrumentPositionBookMethodNotAllowedBody) Validate

Validate validates this get instruments instrument position book method not allowed body

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

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

MarshalBinary interface implementation

func (*GetInstrumentsInstrumentPositionBookNotFoundBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetInstrumentsInstrumentPositionBookNotFoundBody) Validate

Validate validates this get instruments instrument position book not found body

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

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

func (*GetInstrumentsInstrumentPositionBookOKBody) Validate

Validate validates this get instruments instrument position book o k body

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

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

SetTime adds the time to the get instruments instrument position book params

func (*GetInstrumentsInstrumentPositionBookParams) SetTimeout

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

WithAuthorization adds the authorization to the get instruments instrument position book params

func (*GetInstrumentsInstrumentPositionBookParams) WithContext

WithContext adds the context to the get instruments instrument position book params

func (*GetInstrumentsInstrumentPositionBookParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get instruments instrument position book params

func (*GetInstrumentsInstrumentPositionBookParams) WithInstrument

WithInstrument adds the instrument to the get instruments instrument position book params

func (*GetInstrumentsInstrumentPositionBookParams) WithTime

WithTime adds the time to the get instruments instrument position book params

func (*GetInstrumentsInstrumentPositionBookParams) WithTimeout

WithTimeout adds the timeout to the get instruments instrument position book params

func (*GetInstrumentsInstrumentPositionBookParams) WriteToRequest

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *GetInstrumentsInstrumentPositionBookUnauthorizedBody
}

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

type GetInstrumentsInstrumentPositionBookUnauthorizedBody

type GetInstrumentsInstrumentPositionBookUnauthorizedBody 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"`
}

GetInstrumentsInstrumentPositionBookUnauthorizedBody get instruments instrument position book unauthorized body swagger:model GetInstrumentsInstrumentPositionBookUnauthorizedBody

func (*GetInstrumentsInstrumentPositionBookUnauthorizedBody) MarshalBinary

MarshalBinary interface implementation

func (*GetInstrumentsInstrumentPositionBookUnauthorizedBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetInstrumentsInstrumentPositionBookUnauthorizedBody) Validate

Validate validates this get instruments instrument position book unauthorized body

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

func (*GetOrderMethodNotAllowedBody) Validate

func (o *GetOrderMethodNotAllowedBody) Validate(formats strfmt.Registry) error

Validate validates this get order method not allowed body

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

func (*GetOrderNotFoundBody) Validate

func (o *GetOrderNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this get order not found body

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

func (*GetOrderOKBody) Validate

func (o *GetOrderOKBody) Validate(formats strfmt.Registry) error

Validate validates this get order o k body

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *GetOrderUnauthorizedBody
}

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 {

	// 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"`
}

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

func (*GetOrderUnauthorizedBody) Validate

func (o *GetOrderUnauthorizedBody) Validate(formats strfmt.Registry) error

Validate validates this get order unauthorized body

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

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

func (*GetPositionMethodNotAllowedBody) Validate

Validate validates this get position method not allowed body

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

func (*GetPositionNotFoundBody) Validate

func (o *GetPositionNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this get position not found body

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

func (*GetPositionOKBody) Validate

func (o *GetPositionOKBody) Validate(formats strfmt.Registry) error

Validate validates this get position o k body

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *GetPositionUnauthorizedBody
}

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 {

	// 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"`
}

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

func (*GetPositionUnauthorizedBody) Validate

func (o *GetPositionUnauthorizedBody) Validate(formats strfmt.Registry) error

Validate validates this get position unauthorized body

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

func (*GetPricesBadRequestBody) Validate

func (o *GetPricesBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this get prices bad request body

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

func (*GetPricesMethodNotAllowedBody) Validate

func (o *GetPricesMethodNotAllowedBody) Validate(formats strfmt.Registry) error

Validate validates this get prices method not allowed body

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

func (*GetPricesNotFoundBody) Validate

func (o *GetPricesNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this get prices not found body

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

func (*GetPricesOKBody) Validate

func (o *GetPricesOKBody) Validate(formats strfmt.Registry) error

Validate validates this get prices o k body

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *GetPricesUnauthorizedBody
}

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 {

	// 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"`
}

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

func (*GetPricesUnauthorizedBody) Validate

func (o *GetPricesUnauthorizedBody) Validate(formats strfmt.Registry) error

Validate validates this get prices unauthorized body

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

func (*GetTradeMethodNotAllowedBody) Validate

func (o *GetTradeMethodNotAllowedBody) Validate(formats strfmt.Registry) error

Validate validates this get trade method not allowed body

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

func (*GetTradeNotFoundBody) Validate

func (o *GetTradeNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this get trade not found body

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

func (*GetTradeOKBody) Validate

func (o *GetTradeOKBody) Validate(formats strfmt.Registry) error

Validate validates this get trade o k body

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *GetTradeUnauthorizedBody
}

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 {

	// 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"`
}

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

func (*GetTradeUnauthorizedBody) Validate

func (o *GetTradeUnauthorizedBody) Validate(formats strfmt.Registry) error

Validate validates this get trade unauthorized body

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

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

func (*GetTransactionMethodNotAllowedBody) Validate

Validate validates this get transaction method not allowed body

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

func (*GetTransactionNotFoundBody) Validate

func (o *GetTransactionNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this get transaction not found body

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

func (*GetTransactionOKBody) Validate

func (o *GetTransactionOKBody) Validate(formats strfmt.Registry) error

Validate validates this get transaction o k body

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

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

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

func (*GetTransactionRangeBadRequestBody) Validate

Validate validates this get transaction range bad request body

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

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

func (*GetTransactionRangeMethodNotAllowedBody) Validate

Validate validates this get transaction range method not allowed body

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

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

func (*GetTransactionRangeNotFoundBody) Validate

Validate validates this get transaction range not found body

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

func (*GetTransactionRangeOKBody) Validate

func (o *GetTransactionRangeOKBody) Validate(formats strfmt.Registry) error

Validate validates this get transaction range o k body

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

WithContext adds the context to the get transaction range params

func (*GetTransactionRangeParams) WithFrom

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

WithTimeout adds the timeout to the get transaction range params

func (*GetTransactionRangeParams) WithTo

WithTo adds the to to the get transaction range params

func (*GetTransactionRangeParams) WithType

WithType adds the typeVar to the get transaction range params

func (*GetTransactionRangeParams) WriteToRequest

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

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

MarshalBinary interface implementation

func (*GetTransactionRangeRequestRangeNotSatisfiableBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetTransactionRangeRequestRangeNotSatisfiableBody) Validate

Validate validates this get transaction range request range not satisfiable body

type GetTransactionRangeUnauthorized

type GetTransactionRangeUnauthorized struct {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *GetTransactionRangeUnauthorizedBody
}

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

type GetTransactionRangeUnauthorizedBody

type GetTransactionRangeUnauthorizedBody 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"`
}

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

func (*GetTransactionRangeUnauthorizedBody) Validate

Validate validates this get transaction range unauthorized body

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *GetTransactionUnauthorizedBody
}

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

type GetTransactionUnauthorizedBody

type GetTransactionUnauthorizedBody 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"`
}

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

func (*GetTransactionUnauthorizedBody) Validate

func (o *GetTransactionUnauthorizedBody) Validate(formats strfmt.Registry) error

Validate validates this get transaction unauthorized body

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

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

func (*GetTransactionsSinceIDBadRequestBody) Validate

Validate validates this get transactions since ID bad request body

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

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

func (*GetTransactionsSinceIDMethodNotAllowedBody) Validate

Validate validates this get transactions since ID method not allowed body

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

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

func (*GetTransactionsSinceIDNotFoundBody) Validate

Validate validates this get transactions since ID not found body

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

func (*GetTransactionsSinceIDOKBody) Validate

func (o *GetTransactionsSinceIDOKBody) Validate(formats strfmt.Registry) error

Validate validates this get transactions since ID o k body

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

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

WithContext adds the context to the get transactions since Id params

func (*GetTransactionsSinceIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get transactions since Id params

func (*GetTransactionsSinceIDParams) WithID

WithID adds the id to the get transactions since Id params

func (*GetTransactionsSinceIDParams) WithTimeout

WithTimeout adds the timeout to the get transactions since Id params

func (*GetTransactionsSinceIDParams) WriteToRequest

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

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

MarshalBinary interface implementation

func (*GetTransactionsSinceIDRequestRangeNotSatisfiableBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetTransactionsSinceIDRequestRangeNotSatisfiableBody) Validate

Validate validates this get transactions since ID request range not satisfiable body

type GetTransactionsSinceIDUnauthorized

type GetTransactionsSinceIDUnauthorized struct {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *GetTransactionsSinceIDUnauthorizedBody
}

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

type GetTransactionsSinceIDUnauthorizedBody

type GetTransactionsSinceIDUnauthorizedBody 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"`
}

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

func (*GetTransactionsSinceIDUnauthorizedBody) Validate

Validate validates this get transactions since ID unauthorized body

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

func (*GetUserInfoForbiddenBody) Validate

func (o *GetUserInfoForbiddenBody) Validate(formats strfmt.Registry) error

Validate validates this get user info forbidden body

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

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

func (*GetUserInfoMethodNotAllowedBody) Validate

Validate validates this get user info method not allowed body

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

func (*GetUserInfoOKBody) Validate

func (o *GetUserInfoOKBody) Validate(formats strfmt.Registry) error

Validate validates this get user info o k body

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *GetUserInfoUnauthorizedBody
}

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 {

	// 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"`
}

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

func (*GetUserInfoUnauthorizedBody) Validate

func (o *GetUserInfoUnauthorizedBody) Validate(formats strfmt.Registry) error

Validate validates this get user info unauthorized body

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

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

func (*ListAccountsMethodNotAllowedBody) Validate

Validate validates this list accounts method not allowed body

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

func (*ListAccountsOKBody) Validate

func (o *ListAccountsOKBody) Validate(formats strfmt.Registry) error

Validate validates this list accounts o k body

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

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *ListAccountsUnauthorizedBody
}

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 {

	// 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"`
}

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

func (*ListAccountsUnauthorizedBody) Validate

func (o *ListAccountsUnauthorizedBody) Validate(formats strfmt.Registry) error

Validate validates this list accounts unauthorized body

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

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

func (*ListOpenPositionsMethodNotAllowedBody) Validate

Validate validates this list open positions method not allowed body

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

func (*ListOpenPositionsNotFoundBody) Validate

func (o *ListOpenPositionsNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this list open positions not found body

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

func (*ListOpenPositionsOKBody) Validate

func (o *ListOpenPositionsOKBody) Validate(formats strfmt.Registry) error

Validate validates this list open positions o k body

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

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

WithTimeout adds the timeout to the list open positions params

func (*ListOpenPositionsParams) WriteToRequest

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *ListOpenPositionsUnauthorizedBody
}

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

type ListOpenPositionsUnauthorizedBody

type ListOpenPositionsUnauthorizedBody 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"`
}

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

func (*ListOpenPositionsUnauthorizedBody) Validate

Validate validates this list open positions unauthorized body

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

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

func (*ListOpenTradesMethodNotAllowedBody) Validate

Validate validates this list open trades method not allowed body

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

func (*ListOpenTradesNotFoundBody) Validate

func (o *ListOpenTradesNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this list open trades not found body

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

func (*ListOpenTradesOKBody) Validate

func (o *ListOpenTradesOKBody) Validate(formats strfmt.Registry) error

Validate validates this list open trades o k body

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

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *ListOpenTradesUnauthorizedBody
}

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

type ListOpenTradesUnauthorizedBody

type ListOpenTradesUnauthorizedBody 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"`
}

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

func (*ListOpenTradesUnauthorizedBody) Validate

func (o *ListOpenTradesUnauthorizedBody) Validate(formats strfmt.Registry) error

Validate validates this list open trades unauthorized body

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

func (*ListOrdersBadRequestBody) Validate

func (o *ListOrdersBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this list orders bad request body

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

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

func (*ListOrdersMethodNotAllowedBody) Validate

func (o *ListOrdersMethodNotAllowedBody) Validate(formats strfmt.Registry) error

Validate validates this list orders method not allowed body

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

func (*ListOrdersNotFoundBody) Validate

func (o *ListOrdersNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this list orders not found body

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

func (*ListOrdersOKBody) Validate

func (o *ListOrdersOKBody) Validate(formats strfmt.Registry) error

Validate validates this list orders o k body

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

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

func (*ListPendingOrdersMethodNotAllowedBody) Validate

Validate validates this list pending orders method not allowed body

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

func (*ListPendingOrdersNotFoundBody) Validate

func (o *ListPendingOrdersNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this list pending orders not found body

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

func (*ListPendingOrdersOKBody) Validate

func (o *ListPendingOrdersOKBody) Validate(formats strfmt.Registry) error

Validate validates this list pending orders o k body

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

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

WithTimeout adds the timeout to the list pending orders params

func (*ListPendingOrdersParams) WriteToRequest

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *ListPendingOrdersUnauthorizedBody
}

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

type ListPendingOrdersUnauthorizedBody

type ListPendingOrdersUnauthorizedBody 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"`
}

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

func (*ListPendingOrdersUnauthorizedBody) Validate

Validate validates this list pending orders unauthorized body

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

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

func (*ListPositionsMethodNotAllowedBody) Validate

Validate validates this list positions method not allowed body

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

func (*ListPositionsNotFoundBody) Validate

func (o *ListPositionsNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this list positions not found body

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

func (*ListPositionsOKBody) Validate

func (o *ListPositionsOKBody) Validate(formats strfmt.Registry) error

Validate validates this list positions o k body

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

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *ListPositionsUnauthorizedBody
}

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 {

	// 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"`
}

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

func (*ListPositionsUnauthorizedBody) Validate

func (o *ListPositionsUnauthorizedBody) Validate(formats strfmt.Registry) error

Validate validates this list positions unauthorized body

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

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

func (*ListTradesMethodNotAllowedBody) Validate

func (o *ListTradesMethodNotAllowedBody) Validate(formats strfmt.Registry) error

Validate validates this list trades method not allowed body

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

func (*ListTradesNotFoundBody) Validate

func (o *ListTradesNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this list trades not found body

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

func (*ListTradesOKBody) Validate

func (o *ListTradesOKBody) Validate(formats strfmt.Registry) error

Validate validates this list trades o k body

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *ListTradesUnauthorizedBody
}

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 {

	// 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"`
}

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

func (*ListTradesUnauthorizedBody) Validate

func (o *ListTradesUnauthorizedBody) Validate(formats strfmt.Registry) error

Validate validates this list trades unauthorized body

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

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

func (*ListTransactionsBadRequestBody) Validate

func (o *ListTransactionsBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this list transactions bad request body

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

func (*ListTransactionsForbiddenBody) Validate

func (o *ListTransactionsForbiddenBody) Validate(formats strfmt.Registry) error

Validate validates this list transactions forbidden body

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

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

func (*ListTransactionsMethodNotAllowedBody) Validate

Validate validates this list transactions method not allowed body

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

func (*ListTransactionsNotFoundBody) Validate

func (o *ListTransactionsNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this list transactions not found body

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

func (*ListTransactionsOKBody) Validate

func (o *ListTransactionsOKBody) Validate(formats strfmt.Registry) error

Validate validates this list transactions o k body

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

WithContext adds the context to the list transactions params

func (*ListTransactionsParams) WithFrom

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

WithTimeout adds the timeout to the list transactions params

func (*ListTransactionsParams) WithTo

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

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

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

MarshalBinary interface implementation

func (*ListTransactionsRequestRangeNotSatisfiableBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListTransactionsRequestRangeNotSatisfiableBody) Validate

Validate validates this list transactions request range not satisfiable body

type ListTransactionsUnauthorized

type ListTransactionsUnauthorized struct {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *ListTransactionsUnauthorizedBody
}

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

type ListTransactionsUnauthorizedBody

type ListTransactionsUnauthorizedBody 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"`
}

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

func (*ListTransactionsUnauthorizedBody) Validate

Validate validates this list transactions unauthorized body

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

func (*ReplaceOrderBadRequestBody) Validate

func (o *ReplaceOrderBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this replace order bad request body

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

func (*ReplaceOrderBody) Validate

func (o *ReplaceOrderBody) Validate(formats strfmt.Registry) error

Validate validates this replace order body

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

func (*ReplaceOrderCreatedBody) Validate

func (o *ReplaceOrderCreatedBody) Validate(formats strfmt.Registry) error

Validate validates this replace order created body

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

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

func (*ReplaceOrderMethodNotAllowedBody) Validate

Validate validates this replace order method not allowed body

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

func (*ReplaceOrderNotFoundBody) Validate

func (o *ReplaceOrderNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this replace order not found body

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

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *ReplaceOrderUnauthorizedBody
}

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 {

	// 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"`
}

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

func (*ReplaceOrderUnauthorizedBody) Validate

func (o *ReplaceOrderUnauthorizedBody) Validate(formats strfmt.Registry) error

Validate validates this replace order unauthorized body

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

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

func (*SetOrderClientExtensionsBadRequestBody) Validate

Validate validates this set order client extensions bad request body

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

func (*SetOrderClientExtensionsBody) Validate

func (o *SetOrderClientExtensionsBody) Validate(formats strfmt.Registry) error

Validate validates this set order client extensions body

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

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

MarshalBinary interface implementation

func (*SetOrderClientExtensionsMethodNotAllowedBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*SetOrderClientExtensionsMethodNotAllowedBody) Validate

Validate validates this set order client extensions method not allowed body

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

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

func (*SetOrderClientExtensionsNotFoundBody) Validate

Validate validates this set order client extensions not found body

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

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

func (*SetOrderClientExtensionsOKBody) Validate

func (o *SetOrderClientExtensionsOKBody) Validate(formats strfmt.Registry) error

Validate validates this set order client extensions o k body

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

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

WithContext adds the context to the set order client extensions params

func (*SetOrderClientExtensionsParams) WithHTTPClient

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

WithTimeout adds the timeout to the set order client extensions params

func (*SetOrderClientExtensionsParams) WriteToRequest

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *SetOrderClientExtensionsUnauthorizedBody
}

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

type SetOrderClientExtensionsUnauthorizedBody

type SetOrderClientExtensionsUnauthorizedBody 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"`
}

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

func (*SetOrderClientExtensionsUnauthorizedBody) Validate

Validate validates this set order client extensions unauthorized body

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

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

func (*SetTradeClientExtensionsBadRequestBody) Validate

Validate validates this set trade client extensions bad request body

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

func (*SetTradeClientExtensionsBody) Validate

func (o *SetTradeClientExtensionsBody) Validate(formats strfmt.Registry) error

Validate validates this set trade client extensions body

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

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

MarshalBinary interface implementation

func (*SetTradeClientExtensionsMethodNotAllowedBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*SetTradeClientExtensionsMethodNotAllowedBody) Validate

Validate validates this set trade client extensions method not allowed body

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

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

func (*SetTradeClientExtensionsNotFoundBody) Validate

Validate validates this set trade client extensions not found body

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

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

func (*SetTradeClientExtensionsOKBody) Validate

func (o *SetTradeClientExtensionsOKBody) Validate(formats strfmt.Registry) error

Validate validates this set trade client extensions o k body

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

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

WithContext adds the context to the set trade client extensions params

func (*SetTradeClientExtensionsParams) WithHTTPClient

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

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

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *SetTradeClientExtensionsUnauthorizedBody
}

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

type SetTradeClientExtensionsUnauthorizedBody

type SetTradeClientExtensionsUnauthorizedBody 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"`
}

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

func (*SetTradeClientExtensionsUnauthorizedBody) Validate

Validate validates this set trade client extensions unauthorized body

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

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

func (*SetTradeDependentOrdersBadRequestBody) Validate

Validate validates this set trade dependent orders bad request body

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

func (*SetTradeDependentOrdersBody) Validate

func (o *SetTradeDependentOrdersBody) Validate(formats strfmt.Registry) error

Validate validates this set trade dependent orders body

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

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

func (*SetTradeDependentOrdersMethodNotAllowedBody) Validate

Validate validates this set trade dependent orders method not allowed body

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

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

func (*SetTradeDependentOrdersNotFoundBody) Validate

Validate validates this set trade dependent orders not found body

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

func (*SetTradeDependentOrdersOKBody) Validate

func (o *SetTradeDependentOrdersOKBody) Validate(formats strfmt.Registry) error

Validate validates this set trade dependent orders o k body

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

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

WithContext adds the context to the set trade dependent orders params

func (*SetTradeDependentOrdersParams) WithHTTPClient

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

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

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *SetTradeDependentOrdersUnauthorizedBody
}

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

type SetTradeDependentOrdersUnauthorizedBody

type SetTradeDependentOrdersUnauthorizedBody 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"`
}

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

func (*SetTradeDependentOrdersUnauthorizedBody) Validate

Validate validates this set trade dependent orders unauthorized body

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

func (*StreamPricingBadRequestBody) Validate

func (o *StreamPricingBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this stream pricing bad request body

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

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

func (*StreamPricingMethodNotAllowedBody) Validate

Validate validates this stream pricing method not allowed body

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

func (*StreamPricingNotFoundBody) Validate

func (o *StreamPricingNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this stream pricing not found body

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

func (*StreamPricingOKBody) Validate

func (o *StreamPricingOKBody) Validate(formats strfmt.Registry) error

Validate validates this stream pricing o k body

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

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *StreamPricingUnauthorizedBody
}

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 {

	// 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"`
}

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

func (*StreamPricingUnauthorizedBody) Validate

func (o *StreamPricingUnauthorizedBody) Validate(formats strfmt.Registry) error

Validate validates this stream pricing unauthorized body

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

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

func (*StreamTransactionsBadRequestBody) Validate

Validate validates this stream transactions bad request body

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

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

func (*StreamTransactionsMethodNotAllowedBody) Validate

Validate validates this stream transactions method not allowed body

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

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

func (*StreamTransactionsNotFoundBody) Validate

func (o *StreamTransactionsNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this stream transactions not found body

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

func (*StreamTransactionsOKBody) Validate

func (o *StreamTransactionsOKBody) Validate(formats strfmt.Registry) error

Validate validates this stream transactions o k body

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

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

WithTimeout adds the timeout to the stream transactions params

func (*StreamTransactionsParams) WriteToRequest

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 {
	/*The unique identifier generated for the request
	 */
	RequestID string

	Payload *StreamTransactionsUnauthorizedBody
}

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

type StreamTransactionsUnauthorizedBody

type StreamTransactionsUnauthorizedBody 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"`
}

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

func (*StreamTransactionsUnauthorizedBody) Validate

Validate validates this stream transactions unauthorized body

Source Files

Jump to

Keyboard shortcuts

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