operations

package
v3.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

func (a *Client) GetPrivateAddToAddressBook(params *GetPrivateAddToAddressBookParams) (*GetPrivateAddToAddressBookOK, error)

GetPrivateAddToAddressBook adds new entry to address book of given type

func (*Client) GetPrivateBuy

func (a *Client) GetPrivateBuy(params *GetPrivateBuyParams) (*GetPrivateBuyOK, error)

GetPrivateBuy places a buy order for an instrument

func (*Client) GetPrivateCancel

func (a *Client) GetPrivateCancel(params *GetPrivateCancelParams) (*GetPrivateCancelOK, error)

GetPrivateCancel cancels an order specified by order id

func (*Client) GetPrivateCancelAll

func (a *Client) GetPrivateCancelAll(params *GetPrivateCancelAllParams) (*GetPrivateCancelAllOK, error)

GetPrivateCancelAll this method cancels all users orders and stop orders within all currencies and instrument kinds

func (*Client) GetPrivateCancelAllByCurrency

func (a *Client) GetPrivateCancelAllByCurrency(params *GetPrivateCancelAllByCurrencyParams) (*GetPrivateCancelAllByCurrencyOK, error)

GetPrivateCancelAllByCurrency cancels all orders by currency optionally filtered by instrument kind and or order type

func (*Client) GetPrivateCancelAllByInstrument

func (a *Client) GetPrivateCancelAllByInstrument(params *GetPrivateCancelAllByInstrumentParams) (*GetPrivateCancelAllByInstrumentOK, error)

GetPrivateCancelAllByInstrument cancels all orders by instrument optionally filtered by order type

func (*Client) GetPrivateCancelTransferByID

func (a *Client) GetPrivateCancelTransferByID(params *GetPrivateCancelTransferByIDParams) (*GetPrivateCancelTransferByIDOK, error)

GetPrivateCancelTransferByID cancels transfer

func (*Client) GetPrivateCancelWithdrawal

func (a *Client) GetPrivateCancelWithdrawal(params *GetPrivateCancelWithdrawalParams) (*GetPrivateCancelWithdrawalOK, error)

GetPrivateCancelWithdrawal cancels withdrawal request

func (*Client) GetPrivateChangeSubaccountName

func (a *Client) GetPrivateChangeSubaccountName(params *GetPrivateChangeSubaccountNameParams) (*GetPrivateChangeSubaccountNameOK, error)

GetPrivateChangeSubaccountName changes the user name for a subaccount

func (*Client) GetPrivateClosePosition

func (a *Client) GetPrivateClosePosition(params *GetPrivateClosePositionParams) (*GetPrivateClosePositionOK, error)

GetPrivateClosePosition makes closing position reduce only order

func (*Client) GetPrivateCreateDepositAddress

func (a *Client) GetPrivateCreateDepositAddress(params *GetPrivateCreateDepositAddressParams) (*GetPrivateCreateDepositAddressOK, error)

GetPrivateCreateDepositAddress creates deposit address in currency

func (*Client) GetPrivateCreateSubaccount

func (a *Client) GetPrivateCreateSubaccount(params *GetPrivateCreateSubaccountParams) (*GetPrivateCreateSubaccountOK, error)

GetPrivateCreateSubaccount creates a new subaccount

func (*Client) GetPrivateDatatable

func (a *Client) GetPrivateDatatable(params *GetPrivateDatatableParams) (*GetPrivateDatatableOK, error)

GetPrivateDatatable this is a private API endpoint intended for the user interface this API is subject to change and should not be used outside the deribit interface

func (*Client) GetPrivateDisableCancelOnDisconnect

func (a *Client) GetPrivateDisableCancelOnDisconnect(params *GetPrivateDisableCancelOnDisconnectParams) (*GetPrivateDisableCancelOnDisconnectOK, error)

GetPrivateDisableCancelOnDisconnect disables cancel on disconnect for the connection this does not change the default account setting

func (*Client) GetPrivateDisableTfaForSubaccount

func (a *Client) GetPrivateDisableTfaForSubaccount(params *GetPrivateDisableTfaForSubaccountParams) (*GetPrivateDisableTfaForSubaccountOK, error)

GetPrivateDisableTfaForSubaccount disables two factor authentication for a subaccount

func (*Client) GetPrivateEdit

func (a *Client) GetPrivateEdit(params *GetPrivateEditParams) (*GetPrivateEditOK, error)

GetPrivateEdit changes price amount and or other properties of an order

func (*Client) GetPrivateEnableCancelOnDisconnect

func (a *Client) GetPrivateEnableCancelOnDisconnect(params *GetPrivateEnableCancelOnDisconnectParams) (*GetPrivateEnableCancelOnDisconnectOK, error)

GetPrivateEnableCancelOnDisconnect enables cancel on disconnect for the connection this does not change the default account setting

func (*Client) GetPrivateGetAccountSummary

func (a *Client) GetPrivateGetAccountSummary(params *GetPrivateGetAccountSummaryParams) (*GetPrivateGetAccountSummaryOK, error)

GetPrivateGetAccountSummary retrieves user account summary

func (*Client) GetPrivateGetAddressBook

func (a *Client) GetPrivateGetAddressBook(params *GetPrivateGetAddressBookParams) (*GetPrivateGetAddressBookOK, error)

GetPrivateGetAddressBook retrieves address book of given type

func (*Client) GetPrivateGetCurrentDepositAddress

func (a *Client) GetPrivateGetCurrentDepositAddress(params *GetPrivateGetCurrentDepositAddressParams) (*GetPrivateGetCurrentDepositAddressOK, error)

GetPrivateGetCurrentDepositAddress retrieves deposit address for currency

func (*Client) GetPrivateGetDeposits

func (a *Client) GetPrivateGetDeposits(params *GetPrivateGetDepositsParams) (*GetPrivateGetDepositsOK, error)

GetPrivateGetDeposits retrieves the latest users deposits

func (*Client) GetPrivateGetEmailLanguage

func (a *Client) GetPrivateGetEmailLanguage(params *GetPrivateGetEmailLanguageParams) (*GetPrivateGetEmailLanguageOK, error)

GetPrivateGetEmailLanguage retrieves the language to be used for emails

func (*Client) GetPrivateGetMargins

func (a *Client) GetPrivateGetMargins(params *GetPrivateGetMarginsParams) (*GetPrivateGetMarginsOK, error)

GetPrivateGetMargins gets margins for given instrument amount and price

func (*Client) GetPrivateGetNewAnnouncements

func (a *Client) GetPrivateGetNewAnnouncements(params *GetPrivateGetNewAnnouncementsParams) (*GetPrivateGetNewAnnouncementsOK, error)

GetPrivateGetNewAnnouncements retrieves announcements that have not been marked read by the user

func (*Client) GetPrivateGetOpenOrdersByCurrency

func (a *Client) GetPrivateGetOpenOrdersByCurrency(params *GetPrivateGetOpenOrdersByCurrencyParams) (*GetPrivateGetOpenOrdersByCurrencyOK, error)

GetPrivateGetOpenOrdersByCurrency retrieves list of user s open orders

func (*Client) GetPrivateGetOpenOrdersByInstrument

func (a *Client) GetPrivateGetOpenOrdersByInstrument(params *GetPrivateGetOpenOrdersByInstrumentParams) (*GetPrivateGetOpenOrdersByInstrumentOK, error)

GetPrivateGetOpenOrdersByInstrument retrieves list of user s open orders within given instrument

func (*Client) GetPrivateGetOrderHistoryByCurrency

func (a *Client) GetPrivateGetOrderHistoryByCurrency(params *GetPrivateGetOrderHistoryByCurrencyParams) (*GetPrivateGetOrderHistoryByCurrencyOK, error)

GetPrivateGetOrderHistoryByCurrency retrieves history of orders that have been partially or fully filled

func (*Client) GetPrivateGetOrderHistoryByInstrument

func (a *Client) GetPrivateGetOrderHistoryByInstrument(params *GetPrivateGetOrderHistoryByInstrumentParams) (*GetPrivateGetOrderHistoryByInstrumentOK, error)

GetPrivateGetOrderHistoryByInstrument retrieves history of orders that have been partially or fully filled

func (*Client) GetPrivateGetOrderMarginByIds

func (a *Client) GetPrivateGetOrderMarginByIds(params *GetPrivateGetOrderMarginByIdsParams) (*GetPrivateGetOrderMarginByIdsOK, error)

GetPrivateGetOrderMarginByIds retrieves initial margins of given orders

func (*Client) GetPrivateGetOrderState

func (a *Client) GetPrivateGetOrderState(params *GetPrivateGetOrderStateParams) (*GetPrivateGetOrderStateOK, error)

GetPrivateGetOrderState retrieves the current state of an order

func (*Client) GetPrivateGetPosition

func (a *Client) GetPrivateGetPosition(params *GetPrivateGetPositionParams) (*GetPrivateGetPositionOK, error)

GetPrivateGetPosition retrieves user position

func (*Client) GetPrivateGetPositions

func (a *Client) GetPrivateGetPositions(params *GetPrivateGetPositionsParams) (*GetPrivateGetPositionsOK, error)

GetPrivateGetPositions retrieves user positions

func (*Client) GetPrivateGetSettlementHistoryByCurrency

func (a *Client) GetPrivateGetSettlementHistoryByCurrency(params *GetPrivateGetSettlementHistoryByCurrencyParams) (*GetPrivateGetSettlementHistoryByCurrencyOK, error)

GetPrivateGetSettlementHistoryByCurrency retrieves settlement delivery and bankruptcy events that have affected your account

func (*Client) GetPrivateGetSettlementHistoryByInstrument

func (a *Client) GetPrivateGetSettlementHistoryByInstrument(params *GetPrivateGetSettlementHistoryByInstrumentParams) (*GetPrivateGetSettlementHistoryByInstrumentOK, error)

GetPrivateGetSettlementHistoryByInstrument retrieves public settlement delivery and bankruptcy events filtered by instrument name

func (*Client) GetPrivateGetSubaccounts

func (a *Client) GetPrivateGetSubaccounts(params *GetPrivateGetSubaccountsParams) (*GetPrivateGetSubaccountsOK, error)

GetPrivateGetSubaccounts gets information about subaccounts

func (*Client) GetPrivateGetTransfers

func (a *Client) GetPrivateGetTransfers(params *GetPrivateGetTransfersParams) (*GetPrivateGetTransfersOK, error)

GetPrivateGetTransfers adds new entry to address book of given type

func (*Client) GetPrivateGetUserTradesByCurrency

func (a *Client) GetPrivateGetUserTradesByCurrency(params *GetPrivateGetUserTradesByCurrencyParams) (*GetPrivateGetUserTradesByCurrencyOK, error)

GetPrivateGetUserTradesByCurrency retrieves the latest user trades that have occurred for instruments in a specific currency symbol

func (*Client) GetPrivateGetUserTradesByCurrencyAndTime

func (a *Client) GetPrivateGetUserTradesByCurrencyAndTime(params *GetPrivateGetUserTradesByCurrencyAndTimeParams) (*GetPrivateGetUserTradesByCurrencyAndTimeOK, error)

GetPrivateGetUserTradesByCurrencyAndTime retrieves the latest user trades that have occurred for instruments in a specific currency symbol and within given time range

func (*Client) GetPrivateGetUserTradesByInstrument

func (a *Client) GetPrivateGetUserTradesByInstrument(params *GetPrivateGetUserTradesByInstrumentParams) (*GetPrivateGetUserTradesByInstrumentOK, error)

GetPrivateGetUserTradesByInstrument retrieves the latest user trades that have occurred for a specific instrument

func (*Client) GetPrivateGetUserTradesByInstrumentAndTime

func (a *Client) GetPrivateGetUserTradesByInstrumentAndTime(params *GetPrivateGetUserTradesByInstrumentAndTimeParams) (*GetPrivateGetUserTradesByInstrumentAndTimeOK, error)

GetPrivateGetUserTradesByInstrumentAndTime retrieves the latest user trades that have occurred for a specific instrument and within given time range

func (*Client) GetPrivateGetUserTradesByOrder

func (a *Client) GetPrivateGetUserTradesByOrder(params *GetPrivateGetUserTradesByOrderParams) (*GetPrivateGetUserTradesByOrderOK, error)

GetPrivateGetUserTradesByOrder retrieves the list of user trades that was created for given order

func (*Client) GetPrivateGetWithdrawals

func (a *Client) GetPrivateGetWithdrawals(params *GetPrivateGetWithdrawalsParams) (*GetPrivateGetWithdrawalsOK, error)

GetPrivateGetWithdrawals retrieves the latest users withdrawals

func (*Client) GetPrivateGetopenorders

func (a *Client) GetPrivateGetopenorders(params *GetPrivateGetopenordersParams) (*GetPrivateGetopenordersOK, error)

GetPrivateGetopenorders retrieves open orders this API endpoint requires your request to be signed

func (*Client) GetPrivateLogout

func (a *Client) GetPrivateLogout(params *GetPrivateLogoutParams) (*GetPrivateLogoutOK, error)

GetPrivateLogout gracefullies close websocket connection when c o d cancel on disconnect is enabled orders are not cancelled

func (*Client) GetPrivateOrderhistory

func (a *Client) GetPrivateOrderhistory(params *GetPrivateOrderhistoryParams) (*GetPrivateOrderhistoryOK, error)

GetPrivateOrderhistory retrieves history of orders that have been partially or fully filled this API endpoint requires your request to be signed

func (*Client) GetPrivateOrderstate

func (a *Client) GetPrivateOrderstate(params *GetPrivateOrderstateParams) (*GetPrivateOrderstateOK, error)

GetPrivateOrderstate retrieves order details state by order id this API endpoint requires your request to be signed

func (*Client) GetPrivatePositions

func (a *Client) GetPrivatePositions(params *GetPrivatePositionsParams) (*GetPrivatePositionsOK, error)

GetPrivatePositions retrieves current positions this API endpoint requires your request to be signed

func (*Client) GetPrivateRemoveFromAddressBook

func (a *Client) GetPrivateRemoveFromAddressBook(params *GetPrivateRemoveFromAddressBookParams) (*GetPrivateRemoveFromAddressBookOK, error)

GetPrivateRemoveFromAddressBook adds new entry to address book of given type

func (*Client) GetPrivateSell

func (a *Client) GetPrivateSell(params *GetPrivateSellParams) (*GetPrivateSellOK, error)

GetPrivateSell places a sell order for an instrument

func (*Client) GetPrivateSetAnnouncementAsRead

func (a *Client) GetPrivateSetAnnouncementAsRead(params *GetPrivateSetAnnouncementAsReadParams) (*GetPrivateSetAnnouncementAsReadOK, error)

GetPrivateSetAnnouncementAsRead marks an announcement as read so it will not be shown in get new announcements

func (*Client) GetPrivateSetEmailForSubaccount

func (a *Client) GetPrivateSetEmailForSubaccount(params *GetPrivateSetEmailForSubaccountParams) (*GetPrivateSetEmailForSubaccountOK, error)

GetPrivateSetEmailForSubaccount assigns an email address to a subaccount user will receive an email with confirmation link

func (*Client) GetPrivateSetEmailLanguage

func (a *Client) GetPrivateSetEmailLanguage(params *GetPrivateSetEmailLanguageParams) (*GetPrivateSetEmailLanguageOK, error)

GetPrivateSetEmailLanguage changes the language to be used for emails

func (*Client) GetPrivateSetPasswordForSubaccount

func (a *Client) GetPrivateSetPasswordForSubaccount(params *GetPrivateSetPasswordForSubaccountParams) (*GetPrivateSetPasswordForSubaccountOK, error)

GetPrivateSetPasswordForSubaccount sets the password for the subaccount

func (*Client) GetPrivateSubmitTransferToSubaccount

func (a *Client) GetPrivateSubmitTransferToSubaccount(params *GetPrivateSubmitTransferToSubaccountParams) (*GetPrivateSubmitTransferToSubaccountOK, error)

GetPrivateSubmitTransferToSubaccount transfers funds to a subaccount

func (*Client) GetPrivateSubmitTransferToUser

func (a *Client) GetPrivateSubmitTransferToUser(params *GetPrivateSubmitTransferToUserParams) (*GetPrivateSubmitTransferToUserOK, error)

GetPrivateSubmitTransferToUser transfers funds to a another user

func (*Client) GetPrivateSubscribe

func (a *Client) GetPrivateSubscribe(params *GetPrivateSubscribeParams) (*GetPrivateSubscribeOK, error)

GetPrivateSubscribe subscribes to one or more channels

Subscribe to one or more channels.

The name of the channel determines what information will be provided, and in what form.

func (*Client) GetPrivateToggleDepositAddressCreation

func (a *Client) GetPrivateToggleDepositAddressCreation(params *GetPrivateToggleDepositAddressCreationParams) (*GetPrivateToggleDepositAddressCreationOK, error)

GetPrivateToggleDepositAddressCreation enables or disable deposit address creation

func (*Client) GetPrivateToggleNotificationsFromSubaccount

func (a *Client) GetPrivateToggleNotificationsFromSubaccount(params *GetPrivateToggleNotificationsFromSubaccountParams) (*GetPrivateToggleNotificationsFromSubaccountOK, error)

GetPrivateToggleNotificationsFromSubaccount enables or disable sending of notifications for the subaccount

func (*Client) GetPrivateToggleSubaccountLogin

func (a *Client) GetPrivateToggleSubaccountLogin(params *GetPrivateToggleSubaccountLoginParams) (*GetPrivateToggleSubaccountLoginOK, error)

GetPrivateToggleSubaccountLogin enables or disable login for a subaccount if login is disabled and a session for the subaccount exists this session will be terminated

func (*Client) GetPrivateTradehistory

func (a *Client) GetPrivateTradehistory(params *GetPrivateTradehistoryParams) (*GetPrivateTradehistoryOK, error)

GetPrivateTradehistory retrieves the trade history of the account this API endpoint requires your request to be signed

func (*Client) GetPrivateUnsubscribe

func (a *Client) GetPrivateUnsubscribe(params *GetPrivateUnsubscribeParams) (*GetPrivateUnsubscribeOK, error)

GetPrivateUnsubscribe unsubscribes from one or more channels

func (*Client) GetPrivateWithdraw

func (a *Client) GetPrivateWithdraw(params *GetPrivateWithdrawParams) (*GetPrivateWithdrawOK, error)

GetPrivateWithdraw creates a new withdrawal request

func (*Client) GetPublicAuth

func (a *Client) GetPublicAuth(params *GetPublicAuthParams) (*GetPublicAuthOK, error)

GetPublicAuth authenticates

Retrieve an Oauth access token, to be used for authentication of 'private' requests.

Three methods of authentication are supported:

- <code>password</code> - using email and and password as when logging on to the website - <code>client_credentials</code> - using the access key and access secret that can be found on the API page on the website - <code>client_signature</code> - using the access key that can be found on the API page on the website and user generated signature. The signature is calculated using some fields provided in the request, using formula described here [Deribit signature credentials](#additional-authorization-method-deribit-signature-credentials) - <code>refresh_token</code> - using a refresh token that was received from an earlier invocation

The response will contain an access token, expiration period (number of seconds that the token is valid) and a refresh token that can be used to get a new set of tokens.

func (*Client) GetPublicDisableHeartbeat

func (a *Client) GetPublicDisableHeartbeat(params *GetPublicDisableHeartbeatParams) (*GetPublicDisableHeartbeatOK, error)

GetPublicDisableHeartbeat stops sending heartbeat messages

func (*Client) GetPublicGetAnnouncements

func (a *Client) GetPublicGetAnnouncements(params *GetPublicGetAnnouncementsParams) (*GetPublicGetAnnouncementsOK, error)

GetPublicGetAnnouncements retrieves announcements from the last 30 days

func (*Client) GetPublicGetBookSummaryByCurrency

func (a *Client) GetPublicGetBookSummaryByCurrency(params *GetPublicGetBookSummaryByCurrencyParams) (*GetPublicGetBookSummaryByCurrencyOK, error)

GetPublicGetBookSummaryByCurrency retrieves the summary information such as open interest 24h volume etc for all instruments for the currency optionally filtered by kind

func (*Client) GetPublicGetBookSummaryByInstrument

func (a *Client) GetPublicGetBookSummaryByInstrument(params *GetPublicGetBookSummaryByInstrumentParams) (*GetPublicGetBookSummaryByInstrumentOK, error)

GetPublicGetBookSummaryByInstrument retrieves the summary information such as open interest 24h volume etc for a specific instrument

func (*Client) GetPublicGetContractSize

func (a *Client) GetPublicGetContractSize(params *GetPublicGetContractSizeParams) (*GetPublicGetContractSizeOK, error)

GetPublicGetContractSize retrieves contract size of provided instrument

func (*Client) GetPublicGetCurrencies

func (a *Client) GetPublicGetCurrencies(params *GetPublicGetCurrenciesParams) (*GetPublicGetCurrenciesOK, error)

GetPublicGetCurrencies retrieves all cryptocurrencies supported by the API

func (*Client) GetPublicGetFundingChartData

func (a *Client) GetPublicGetFundingChartData(params *GetPublicGetFundingChartDataParams) (*GetPublicGetFundingChartDataOK, error)

GetPublicGetFundingChartData retrieves the latest user trades that have occurred for p e r p e t u a l instruments in a specific currency symbol and within given time range

func (*Client) GetPublicGetHistoricalVolatility

func (a *Client) GetPublicGetHistoricalVolatility(params *GetPublicGetHistoricalVolatilityParams) (*GetPublicGetHistoricalVolatilityOK, error)

GetPublicGetHistoricalVolatility provides information about historical volatility for given cryptocurrency

func (*Client) GetPublicGetIndex

func (a *Client) GetPublicGetIndex(params *GetPublicGetIndexParams) (*GetPublicGetIndexOK, error)

GetPublicGetIndex retrieves the current index price for the instruments for the selected currency

func (*Client) GetPublicGetInstruments

func (a *Client) GetPublicGetInstruments(params *GetPublicGetInstrumentsParams) (*GetPublicGetInstrumentsOK, error)

GetPublicGetInstruments retrieves available trading instruments this method can be used to see which instruments are available for trading or which instruments have existed historically

func (*Client) GetPublicGetLastSettlementsByCurrency

func (a *Client) GetPublicGetLastSettlementsByCurrency(params *GetPublicGetLastSettlementsByCurrencyParams) (*GetPublicGetLastSettlementsByCurrencyOK, error)

GetPublicGetLastSettlementsByCurrency retrieves historical settlement delivery and bankruptcy events coming from all instruments within given currency

func (*Client) GetPublicGetLastSettlementsByInstrument

func (a *Client) GetPublicGetLastSettlementsByInstrument(params *GetPublicGetLastSettlementsByInstrumentParams) (*GetPublicGetLastSettlementsByInstrumentOK, error)

GetPublicGetLastSettlementsByInstrument retrieves historical public settlement delivery and bankruptcy events filtered by instrument name

func (*Client) GetPublicGetLastTradesByCurrency

func (a *Client) GetPublicGetLastTradesByCurrency(params *GetPublicGetLastTradesByCurrencyParams) (*GetPublicGetLastTradesByCurrencyOK, error)

GetPublicGetLastTradesByCurrency retrieves the latest trades that have occurred for instruments in a specific currency symbol

func (*Client) GetPublicGetLastTradesByCurrencyAndTime

func (a *Client) GetPublicGetLastTradesByCurrencyAndTime(params *GetPublicGetLastTradesByCurrencyAndTimeParams) (*GetPublicGetLastTradesByCurrencyAndTimeOK, error)

GetPublicGetLastTradesByCurrencyAndTime retrieves the latest trades that have occurred for instruments in a specific currency symbol and within given time range

func (*Client) GetPublicGetLastTradesByInstrument

func (a *Client) GetPublicGetLastTradesByInstrument(params *GetPublicGetLastTradesByInstrumentParams) (*GetPublicGetLastTradesByInstrumentOK, error)

GetPublicGetLastTradesByInstrument retrieves the latest trades that have occurred for a specific instrument

func (*Client) GetPublicGetLastTradesByInstrumentAndTime

func (a *Client) GetPublicGetLastTradesByInstrumentAndTime(params *GetPublicGetLastTradesByInstrumentAndTimeParams) (*GetPublicGetLastTradesByInstrumentAndTimeOK, error)

GetPublicGetLastTradesByInstrumentAndTime retrieves the latest trades that have occurred for a specific instrument and within given time range

func (*Client) GetPublicGetOrderBook

func (a *Client) GetPublicGetOrderBook(params *GetPublicGetOrderBookParams) (*GetPublicGetOrderBookOK, error)

GetPublicGetOrderBook retrieves the order book along with other market values for a given instrument

func (*Client) GetPublicGetTime

func (a *Client) GetPublicGetTime(params *GetPublicGetTimeParams) (*GetPublicGetTimeOK, error)

GetPublicGetTime retrieves the current time in milliseconds this API endpoint can be used to check the clock skew between your software and deribit s systems

func (*Client) GetPublicGetTradeVolumes

func (a *Client) GetPublicGetTradeVolumes(params *GetPublicGetTradeVolumesParams) (*GetPublicGetTradeVolumesOK, error)

GetPublicGetTradeVolumes retrieves aggregated 24h trade volumes for different instrument types and currencies

func (*Client) GetPublicGetlasttrades

func (a *Client) GetPublicGetlasttrades(params *GetPublicGetlasttradesParams) (*GetPublicGetlasttradesOK, error)

GetPublicGetlasttrades retrieves the latest trades that have occurred for a specific instrument trades are identified in two ways the trade is trade Id which is unique between all instruments but is not guaranteed to be strictly sequential the trade sequence trade seq which starts at 1 for each instruments and is strictly sequential under rare circumstances it is possible for the trade sequence to skip a few numbers

func (*Client) GetPublicGetorderbook

func (a *Client) GetPublicGetorderbook(params *GetPublicGetorderbookParams) (*GetPublicGetorderbookOK, error)

GetPublicGetorderbook retrieves the order book along with other market values for a given instrument

func (*Client) GetPublicHello

func (a *Client) GetPublicHello(params *GetPublicHelloParams) (*GetPublicHelloOK, error)

GetPublicHello methods used to introduce the client software connected to deribit platform over websocket provided data may have an impact on the maintained connection and will be collected for internal statistical purposes in response deribit will also introduce itself

func (*Client) GetPublicPing

func (a *Client) GetPublicPing(params *GetPublicPingParams) (*GetPublicPingOK, error)

GetPublicPing this API endpoint always responds with pong this method is primarily intended to be used as a keep alive message over websocket when used over HTTP this API endpoint could also be used to measure network delays between your software and the API server

func (*Client) GetPublicSetHeartbeat

func (a *Client) GetPublicSetHeartbeat(params *GetPublicSetHeartbeatParams) (*GetPublicSetHeartbeatOK, error)

GetPublicSetHeartbeat signals the websocket connection to send and request heartbeats heartbeats can be used to detect stale connections when heartbeats have been set up the API server will send heartbeat messages and test request messages your software should respond to test request messages by sending a api v2 public test request if your software fails to do so the API server will immediately close the connection if your account is configured to cancel on disconnect any orders opened over the connection will be cancelled

func (*Client) GetPublicSubscribe

func (a *Client) GetPublicSubscribe(params *GetPublicSubscribeParams) (*GetPublicSubscribeOK, error)

GetPublicSubscribe subscribes to one or more channels

Subscribe to one or more channels.

This is the same method as [/private/subscribe](#private_subscribe), but it can only be used for 'public' channels.

func (*Client) GetPublicTest

func (a *Client) GetPublicTest(params *GetPublicTestParams) (*GetPublicTestOK, error)

GetPublicTest tests the connection to the API server and returns its version you can use this to make sure the API is reachable and matches the expected version

func (*Client) GetPublicTicker

func (a *Client) GetPublicTicker(params *GetPublicTickerParams) (*GetPublicTickerOK, error)

GetPublicTicker gets ticker for an instrument

func (*Client) GetPublicUnsubscribe

func (a *Client) GetPublicUnsubscribe(params *GetPublicUnsubscribeParams) (*GetPublicUnsubscribeOK, error)

GetPublicUnsubscribe unsubscribes from one or more channels

func (*Client) GetPublicValidateField

func (a *Client) GetPublicValidateField(params *GetPublicValidateFieldParams) (*GetPublicValidateFieldOK, error)

GetPublicValidateField methods used to introduce the client software connected to deribit platform over websocket provided data may have an impact on the maintained connection and will be collected for internal statistical purposes in response deribit will also introduce itself

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type GetPrivateAddToAddressBookOK

type GetPrivateAddToAddressBookOK struct {
	Payload *models.PrivateAddToAddressBookResponse
}

GetPrivateAddToAddressBookOK handles this case with default header values.

foo

func NewGetPrivateAddToAddressBookOK

func NewGetPrivateAddToAddressBookOK() *GetPrivateAddToAddressBookOK

NewGetPrivateAddToAddressBookOK creates a GetPrivateAddToAddressBookOK with default headers values

func (*GetPrivateAddToAddressBookOK) Error

type GetPrivateAddToAddressBookParams

type GetPrivateAddToAddressBookParams struct {

	/*Address
	  Address in currency format, it must be in address book

	*/
	Address string
	/*Currency
	  The currency symbol

	*/
	Currency string
	/*Name
	  Name of address book entry

	*/
	Name string
	/*Tfa
	  TFA code, required when TFA is enabled for current account

	*/
	Tfa *string
	/*Type
	  Address book type

	*/
	Type string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateAddToAddressBookParams contains all the parameters to send to the API endpoint for the get private add to address book operation typically these are written to a http.Request

func NewGetPrivateAddToAddressBookParams

func NewGetPrivateAddToAddressBookParams() *GetPrivateAddToAddressBookParams

NewGetPrivateAddToAddressBookParams creates a new GetPrivateAddToAddressBookParams object with the default values initialized.

func NewGetPrivateAddToAddressBookParamsWithContext

func NewGetPrivateAddToAddressBookParamsWithContext(ctx context.Context) *GetPrivateAddToAddressBookParams

NewGetPrivateAddToAddressBookParamsWithContext creates a new GetPrivateAddToAddressBookParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateAddToAddressBookParamsWithHTTPClient

func NewGetPrivateAddToAddressBookParamsWithHTTPClient(client *http.Client) *GetPrivateAddToAddressBookParams

NewGetPrivateAddToAddressBookParamsWithHTTPClient creates a new GetPrivateAddToAddressBookParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateAddToAddressBookParamsWithTimeout

func NewGetPrivateAddToAddressBookParamsWithTimeout(timeout time.Duration) *GetPrivateAddToAddressBookParams

NewGetPrivateAddToAddressBookParamsWithTimeout creates a new GetPrivateAddToAddressBookParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateAddToAddressBookParams) SetAddress

func (o *GetPrivateAddToAddressBookParams) SetAddress(address string)

SetAddress adds the address to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) SetContext

SetContext adds the context to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) SetCurrency

func (o *GetPrivateAddToAddressBookParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) SetHTTPClient

func (o *GetPrivateAddToAddressBookParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) SetName

func (o *GetPrivateAddToAddressBookParams) SetName(name string)

SetName adds the name to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) SetTfa

func (o *GetPrivateAddToAddressBookParams) SetTfa(tfa *string)

SetTfa adds the tfa to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) SetTimeout

func (o *GetPrivateAddToAddressBookParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) SetType

func (o *GetPrivateAddToAddressBookParams) SetType(typeVar string)

SetType adds the type to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) WithAddress

WithAddress adds the address to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) WithContext

WithContext adds the context to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) WithCurrency

WithCurrency adds the currency to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) WithName

WithName adds the name to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) WithTfa

WithTfa adds the tfa to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) WithTimeout

WithTimeout adds the timeout to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) WithType

WithType adds the typeVar to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateAddToAddressBookReader

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

GetPrivateAddToAddressBookReader is a Reader for the GetPrivateAddToAddressBook structure.

func (*GetPrivateAddToAddressBookReader) ReadResponse

func (o *GetPrivateAddToAddressBookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateBuyOK

type GetPrivateBuyOK struct {
	Payload *models.PrivateBuyAndSellResponse
}

GetPrivateBuyOK handles this case with default header values.

foo

func NewGetPrivateBuyOK

func NewGetPrivateBuyOK() *GetPrivateBuyOK

NewGetPrivateBuyOK creates a GetPrivateBuyOK with default headers values

func (*GetPrivateBuyOK) Error

func (o *GetPrivateBuyOK) Error() string

type GetPrivateBuyParams

type GetPrivateBuyParams struct {

	/*Advanced
	  Advanced option order type. (Only for options)

	*/
	Advanced *string
	/*Amount
	  It represents the requested order size. For perpetual and futures the amount is in USD units, for options it is amount of corresponding cryptocurrency contracts, e.g., BTC or ETH

	*/
	Amount float64
	/*InstrumentName
	  Instrument name

	*/
	InstrumentName string
	/*Label
	  user defined label for the order (maximum 32 characters)

	*/
	Label *string
	/*MaxShow
	  Maximum amount within an order to be shown to other customers, `0` for invisible order

	*/
	MaxShow *float64
	/*PostOnly
	  <p>If true, the order is considered post-only. If the new price would cause the order to be filled immediately (as taker), the price will be changed to be just below the bid.</p> <p>Only valid in combination with time_in_force=`"good_til_cancelled"`</p>

	*/
	PostOnly *bool
	/*Price
	  <p>The order price in base currency (Only for limit and stop_limit orders)</p> <p>When adding order with advanced=usd, the field price should be the option price value in USD.</p> <p>When adding order with advanced=implv, the field price should be a value of implied volatility in percentages. For example,  price=100, means implied volatility of 100%</p>

	*/
	Price *float64
	/*ReduceOnly
	  If `true`, the order is considered reduce-only which is intended to only reduce a current position

	*/
	ReduceOnly *bool
	/*StopPrice
	  Stop price, required for stop limit orders (Only for stop orders)

	*/
	StopPrice *float64
	/*TimeInForce
	  <p>Specifies how long the order remains in effect. Default `"good_til_cancelled"`</p> <ul> <li>`"good_til_cancelled"` - unfilled order remains in order book until cancelled</li> <li>`"fill_or_kill"` - execute a transaction immediately and completely or not at all</li> <li>`"immediate_or_cancel"` - execute a transaction immediately, and any portion of the order that cannot be immediately filled is cancelled</li> </ul>

	*/
	TimeInForce *string
	/*Trigger
	  Defines trigger type, required for `"stop_limit"` order type

	*/
	Trigger *string
	/*Type
	  The order type, default: `"limit"`

	*/
	Type *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateBuyParams contains all the parameters to send to the API endpoint for the get private buy operation typically these are written to a http.Request

func NewGetPrivateBuyParams

func NewGetPrivateBuyParams() *GetPrivateBuyParams

NewGetPrivateBuyParams creates a new GetPrivateBuyParams object with the default values initialized.

func NewGetPrivateBuyParamsWithContext

func NewGetPrivateBuyParamsWithContext(ctx context.Context) *GetPrivateBuyParams

NewGetPrivateBuyParamsWithContext creates a new GetPrivateBuyParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateBuyParamsWithHTTPClient

func NewGetPrivateBuyParamsWithHTTPClient(client *http.Client) *GetPrivateBuyParams

NewGetPrivateBuyParamsWithHTTPClient creates a new GetPrivateBuyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateBuyParamsWithTimeout

func NewGetPrivateBuyParamsWithTimeout(timeout time.Duration) *GetPrivateBuyParams

NewGetPrivateBuyParamsWithTimeout creates a new GetPrivateBuyParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateBuyParams) SetAdvanced

func (o *GetPrivateBuyParams) SetAdvanced(advanced *string)

SetAdvanced adds the advanced to the get private buy params

func (*GetPrivateBuyParams) SetAmount

func (o *GetPrivateBuyParams) SetAmount(amount float64)

SetAmount adds the amount to the get private buy params

func (*GetPrivateBuyParams) SetContext

func (o *GetPrivateBuyParams) SetContext(ctx context.Context)

SetContext adds the context to the get private buy params

func (*GetPrivateBuyParams) SetHTTPClient

func (o *GetPrivateBuyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private buy params

func (*GetPrivateBuyParams) SetInstrumentName

func (o *GetPrivateBuyParams) SetInstrumentName(instrumentName string)

SetInstrumentName adds the instrumentName to the get private buy params

func (*GetPrivateBuyParams) SetLabel

func (o *GetPrivateBuyParams) SetLabel(label *string)

SetLabel adds the label to the get private buy params

func (*GetPrivateBuyParams) SetMaxShow

func (o *GetPrivateBuyParams) SetMaxShow(maxShow *float64)

SetMaxShow adds the maxShow to the get private buy params

func (*GetPrivateBuyParams) SetPostOnly

func (o *GetPrivateBuyParams) SetPostOnly(postOnly *bool)

SetPostOnly adds the postOnly to the get private buy params

func (*GetPrivateBuyParams) SetPrice

func (o *GetPrivateBuyParams) SetPrice(price *float64)

SetPrice adds the price to the get private buy params

func (*GetPrivateBuyParams) SetReduceOnly

func (o *GetPrivateBuyParams) SetReduceOnly(reduceOnly *bool)

SetReduceOnly adds the reduceOnly to the get private buy params

func (*GetPrivateBuyParams) SetStopPrice

func (o *GetPrivateBuyParams) SetStopPrice(stopPrice *float64)

SetStopPrice adds the stopPrice to the get private buy params

func (*GetPrivateBuyParams) SetTimeInForce

func (o *GetPrivateBuyParams) SetTimeInForce(timeInForce *string)

SetTimeInForce adds the timeInForce to the get private buy params

func (*GetPrivateBuyParams) SetTimeout

func (o *GetPrivateBuyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private buy params

func (*GetPrivateBuyParams) SetTrigger

func (o *GetPrivateBuyParams) SetTrigger(trigger *string)

SetTrigger adds the trigger to the get private buy params

func (*GetPrivateBuyParams) SetType

func (o *GetPrivateBuyParams) SetType(typeVar *string)

SetType adds the type to the get private buy params

func (*GetPrivateBuyParams) WithAdvanced

func (o *GetPrivateBuyParams) WithAdvanced(advanced *string) *GetPrivateBuyParams

WithAdvanced adds the advanced to the get private buy params

func (*GetPrivateBuyParams) WithAmount

func (o *GetPrivateBuyParams) WithAmount(amount float64) *GetPrivateBuyParams

WithAmount adds the amount to the get private buy params

func (*GetPrivateBuyParams) WithContext

WithContext adds the context to the get private buy params

func (*GetPrivateBuyParams) WithHTTPClient

func (o *GetPrivateBuyParams) WithHTTPClient(client *http.Client) *GetPrivateBuyParams

WithHTTPClient adds the HTTPClient to the get private buy params

func (*GetPrivateBuyParams) WithInstrumentName

func (o *GetPrivateBuyParams) WithInstrumentName(instrumentName string) *GetPrivateBuyParams

WithInstrumentName adds the instrumentName to the get private buy params

func (*GetPrivateBuyParams) WithLabel

func (o *GetPrivateBuyParams) WithLabel(label *string) *GetPrivateBuyParams

WithLabel adds the label to the get private buy params

func (*GetPrivateBuyParams) WithMaxShow

func (o *GetPrivateBuyParams) WithMaxShow(maxShow *float64) *GetPrivateBuyParams

WithMaxShow adds the maxShow to the get private buy params

func (*GetPrivateBuyParams) WithPostOnly

func (o *GetPrivateBuyParams) WithPostOnly(postOnly *bool) *GetPrivateBuyParams

WithPostOnly adds the postOnly to the get private buy params

func (*GetPrivateBuyParams) WithPrice

func (o *GetPrivateBuyParams) WithPrice(price *float64) *GetPrivateBuyParams

WithPrice adds the price to the get private buy params

func (*GetPrivateBuyParams) WithReduceOnly

func (o *GetPrivateBuyParams) WithReduceOnly(reduceOnly *bool) *GetPrivateBuyParams

WithReduceOnly adds the reduceOnly to the get private buy params

func (*GetPrivateBuyParams) WithStopPrice

func (o *GetPrivateBuyParams) WithStopPrice(stopPrice *float64) *GetPrivateBuyParams

WithStopPrice adds the stopPrice to the get private buy params

func (*GetPrivateBuyParams) WithTimeInForce

func (o *GetPrivateBuyParams) WithTimeInForce(timeInForce *string) *GetPrivateBuyParams

WithTimeInForce adds the timeInForce to the get private buy params

func (*GetPrivateBuyParams) WithTimeout

func (o *GetPrivateBuyParams) WithTimeout(timeout time.Duration) *GetPrivateBuyParams

WithTimeout adds the timeout to the get private buy params

func (*GetPrivateBuyParams) WithTrigger

func (o *GetPrivateBuyParams) WithTrigger(trigger *string) *GetPrivateBuyParams

WithTrigger adds the trigger to the get private buy params

func (*GetPrivateBuyParams) WithType

func (o *GetPrivateBuyParams) WithType(typeVar *string) *GetPrivateBuyParams

WithType adds the typeVar to the get private buy params

func (*GetPrivateBuyParams) WriteToRequest

func (o *GetPrivateBuyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPrivateBuyReader

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

GetPrivateBuyReader is a Reader for the GetPrivateBuy structure.

func (*GetPrivateBuyReader) ReadResponse

func (o *GetPrivateBuyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateCancelAllByCurrencyOK

type GetPrivateCancelAllByCurrencyOK struct {
	Payload *models.OkResponse
}

GetPrivateCancelAllByCurrencyOK handles this case with default header values.

foo

func NewGetPrivateCancelAllByCurrencyOK

func NewGetPrivateCancelAllByCurrencyOK() *GetPrivateCancelAllByCurrencyOK

NewGetPrivateCancelAllByCurrencyOK creates a GetPrivateCancelAllByCurrencyOK with default headers values

func (*GetPrivateCancelAllByCurrencyOK) Error

type GetPrivateCancelAllByCurrencyParams

type GetPrivateCancelAllByCurrencyParams struct {

	/*Currency
	  The currency symbol

	*/
	Currency string
	/*Kind
	  Instrument kind, if not provided instruments of all kinds are considered

	*/
	Kind *string
	/*Type
	  Order type - limit, stop or all, default - `all`

	*/
	Type *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateCancelAllByCurrencyParams contains all the parameters to send to the API endpoint for the get private cancel all by currency operation typically these are written to a http.Request

func NewGetPrivateCancelAllByCurrencyParams

func NewGetPrivateCancelAllByCurrencyParams() *GetPrivateCancelAllByCurrencyParams

NewGetPrivateCancelAllByCurrencyParams creates a new GetPrivateCancelAllByCurrencyParams object with the default values initialized.

func NewGetPrivateCancelAllByCurrencyParamsWithContext

func NewGetPrivateCancelAllByCurrencyParamsWithContext(ctx context.Context) *GetPrivateCancelAllByCurrencyParams

NewGetPrivateCancelAllByCurrencyParamsWithContext creates a new GetPrivateCancelAllByCurrencyParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateCancelAllByCurrencyParamsWithHTTPClient

func NewGetPrivateCancelAllByCurrencyParamsWithHTTPClient(client *http.Client) *GetPrivateCancelAllByCurrencyParams

NewGetPrivateCancelAllByCurrencyParamsWithHTTPClient creates a new GetPrivateCancelAllByCurrencyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateCancelAllByCurrencyParamsWithTimeout

func NewGetPrivateCancelAllByCurrencyParamsWithTimeout(timeout time.Duration) *GetPrivateCancelAllByCurrencyParams

NewGetPrivateCancelAllByCurrencyParamsWithTimeout creates a new GetPrivateCancelAllByCurrencyParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateCancelAllByCurrencyParams) SetContext

SetContext adds the context to the get private cancel all by currency params

func (*GetPrivateCancelAllByCurrencyParams) SetCurrency

func (o *GetPrivateCancelAllByCurrencyParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private cancel all by currency params

func (*GetPrivateCancelAllByCurrencyParams) SetHTTPClient

func (o *GetPrivateCancelAllByCurrencyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private cancel all by currency params

func (*GetPrivateCancelAllByCurrencyParams) SetKind

func (o *GetPrivateCancelAllByCurrencyParams) SetKind(kind *string)

SetKind adds the kind to the get private cancel all by currency params

func (*GetPrivateCancelAllByCurrencyParams) SetTimeout

func (o *GetPrivateCancelAllByCurrencyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private cancel all by currency params

func (*GetPrivateCancelAllByCurrencyParams) SetType

func (o *GetPrivateCancelAllByCurrencyParams) SetType(typeVar *string)

SetType adds the type to the get private cancel all by currency params

func (*GetPrivateCancelAllByCurrencyParams) WithContext

WithContext adds the context to the get private cancel all by currency params

func (*GetPrivateCancelAllByCurrencyParams) WithCurrency

WithCurrency adds the currency to the get private cancel all by currency params

func (*GetPrivateCancelAllByCurrencyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private cancel all by currency params

func (*GetPrivateCancelAllByCurrencyParams) WithKind

WithKind adds the kind to the get private cancel all by currency params

func (*GetPrivateCancelAllByCurrencyParams) WithTimeout

WithTimeout adds the timeout to the get private cancel all by currency params

func (*GetPrivateCancelAllByCurrencyParams) WithType

WithType adds the typeVar to the get private cancel all by currency params

func (*GetPrivateCancelAllByCurrencyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateCancelAllByCurrencyReader

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

GetPrivateCancelAllByCurrencyReader is a Reader for the GetPrivateCancelAllByCurrency structure.

func (*GetPrivateCancelAllByCurrencyReader) ReadResponse

func (o *GetPrivateCancelAllByCurrencyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateCancelAllByInstrumentOK

type GetPrivateCancelAllByInstrumentOK struct {
	Payload *models.OkResponse
}

GetPrivateCancelAllByInstrumentOK handles this case with default header values.

foo

func NewGetPrivateCancelAllByInstrumentOK

func NewGetPrivateCancelAllByInstrumentOK() *GetPrivateCancelAllByInstrumentOK

NewGetPrivateCancelAllByInstrumentOK creates a GetPrivateCancelAllByInstrumentOK with default headers values

func (*GetPrivateCancelAllByInstrumentOK) Error

type GetPrivateCancelAllByInstrumentParams

type GetPrivateCancelAllByInstrumentParams struct {

	/*InstrumentName
	  Instrument name

	*/
	InstrumentName string
	/*Type
	  Order type - limit, stop or all, default - `all`

	*/
	Type *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateCancelAllByInstrumentParams contains all the parameters to send to the API endpoint for the get private cancel all by instrument operation typically these are written to a http.Request

func NewGetPrivateCancelAllByInstrumentParams

func NewGetPrivateCancelAllByInstrumentParams() *GetPrivateCancelAllByInstrumentParams

NewGetPrivateCancelAllByInstrumentParams creates a new GetPrivateCancelAllByInstrumentParams object with the default values initialized.

func NewGetPrivateCancelAllByInstrumentParamsWithContext

func NewGetPrivateCancelAllByInstrumentParamsWithContext(ctx context.Context) *GetPrivateCancelAllByInstrumentParams

NewGetPrivateCancelAllByInstrumentParamsWithContext creates a new GetPrivateCancelAllByInstrumentParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateCancelAllByInstrumentParamsWithHTTPClient

func NewGetPrivateCancelAllByInstrumentParamsWithHTTPClient(client *http.Client) *GetPrivateCancelAllByInstrumentParams

NewGetPrivateCancelAllByInstrumentParamsWithHTTPClient creates a new GetPrivateCancelAllByInstrumentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateCancelAllByInstrumentParamsWithTimeout

func NewGetPrivateCancelAllByInstrumentParamsWithTimeout(timeout time.Duration) *GetPrivateCancelAllByInstrumentParams

NewGetPrivateCancelAllByInstrumentParamsWithTimeout creates a new GetPrivateCancelAllByInstrumentParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateCancelAllByInstrumentParams) SetContext

SetContext adds the context to the get private cancel all by instrument params

func (*GetPrivateCancelAllByInstrumentParams) SetHTTPClient

func (o *GetPrivateCancelAllByInstrumentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private cancel all by instrument params

func (*GetPrivateCancelAllByInstrumentParams) SetInstrumentName

func (o *GetPrivateCancelAllByInstrumentParams) SetInstrumentName(instrumentName string)

SetInstrumentName adds the instrumentName to the get private cancel all by instrument params

func (*GetPrivateCancelAllByInstrumentParams) SetTimeout

func (o *GetPrivateCancelAllByInstrumentParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private cancel all by instrument params

func (*GetPrivateCancelAllByInstrumentParams) SetType

func (o *GetPrivateCancelAllByInstrumentParams) SetType(typeVar *string)

SetType adds the type to the get private cancel all by instrument params

func (*GetPrivateCancelAllByInstrumentParams) WithContext

WithContext adds the context to the get private cancel all by instrument params

func (*GetPrivateCancelAllByInstrumentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private cancel all by instrument params

func (*GetPrivateCancelAllByInstrumentParams) WithInstrumentName

WithInstrumentName adds the instrumentName to the get private cancel all by instrument params

func (*GetPrivateCancelAllByInstrumentParams) WithTimeout

WithTimeout adds the timeout to the get private cancel all by instrument params

func (*GetPrivateCancelAllByInstrumentParams) WithType

WithType adds the typeVar to the get private cancel all by instrument params

func (*GetPrivateCancelAllByInstrumentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateCancelAllByInstrumentReader

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

GetPrivateCancelAllByInstrumentReader is a Reader for the GetPrivateCancelAllByInstrument structure.

func (*GetPrivateCancelAllByInstrumentReader) ReadResponse

func (o *GetPrivateCancelAllByInstrumentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateCancelAllOK

type GetPrivateCancelAllOK struct {
	Payload *models.OkResponse
}

GetPrivateCancelAllOK handles this case with default header values.

foo

func NewGetPrivateCancelAllOK

func NewGetPrivateCancelAllOK() *GetPrivateCancelAllOK

NewGetPrivateCancelAllOK creates a GetPrivateCancelAllOK with default headers values

func (*GetPrivateCancelAllOK) Error

func (o *GetPrivateCancelAllOK) Error() string

type GetPrivateCancelAllParams

type GetPrivateCancelAllParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateCancelAllParams contains all the parameters to send to the API endpoint for the get private cancel all operation typically these are written to a http.Request

func NewGetPrivateCancelAllParams

func NewGetPrivateCancelAllParams() *GetPrivateCancelAllParams

NewGetPrivateCancelAllParams creates a new GetPrivateCancelAllParams object with the default values initialized.

func NewGetPrivateCancelAllParamsWithContext

func NewGetPrivateCancelAllParamsWithContext(ctx context.Context) *GetPrivateCancelAllParams

NewGetPrivateCancelAllParamsWithContext creates a new GetPrivateCancelAllParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateCancelAllParamsWithHTTPClient

func NewGetPrivateCancelAllParamsWithHTTPClient(client *http.Client) *GetPrivateCancelAllParams

NewGetPrivateCancelAllParamsWithHTTPClient creates a new GetPrivateCancelAllParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateCancelAllParamsWithTimeout

func NewGetPrivateCancelAllParamsWithTimeout(timeout time.Duration) *GetPrivateCancelAllParams

NewGetPrivateCancelAllParamsWithTimeout creates a new GetPrivateCancelAllParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateCancelAllParams) SetContext

func (o *GetPrivateCancelAllParams) SetContext(ctx context.Context)

SetContext adds the context to the get private cancel all params

func (*GetPrivateCancelAllParams) SetHTTPClient

func (o *GetPrivateCancelAllParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private cancel all params

func (*GetPrivateCancelAllParams) SetTimeout

func (o *GetPrivateCancelAllParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private cancel all params

func (*GetPrivateCancelAllParams) WithContext

WithContext adds the context to the get private cancel all params

func (*GetPrivateCancelAllParams) WithHTTPClient

func (o *GetPrivateCancelAllParams) WithHTTPClient(client *http.Client) *GetPrivateCancelAllParams

WithHTTPClient adds the HTTPClient to the get private cancel all params

func (*GetPrivateCancelAllParams) WithTimeout

WithTimeout adds the timeout to the get private cancel all params

func (*GetPrivateCancelAllParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateCancelAllReader

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

GetPrivateCancelAllReader is a Reader for the GetPrivateCancelAll structure.

func (*GetPrivateCancelAllReader) ReadResponse

func (o *GetPrivateCancelAllReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateCancelOK

type GetPrivateCancelOK struct {
	Payload *models.PrivateCancelResponse
}

GetPrivateCancelOK handles this case with default header values.

foo

func NewGetPrivateCancelOK

func NewGetPrivateCancelOK() *GetPrivateCancelOK

NewGetPrivateCancelOK creates a GetPrivateCancelOK with default headers values

func (*GetPrivateCancelOK) Error

func (o *GetPrivateCancelOK) Error() string

type GetPrivateCancelParams

type GetPrivateCancelParams struct {

	/*OrderID
	  The order id

	*/
	OrderID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateCancelParams contains all the parameters to send to the API endpoint for the get private cancel operation typically these are written to a http.Request

func NewGetPrivateCancelParams

func NewGetPrivateCancelParams() *GetPrivateCancelParams

NewGetPrivateCancelParams creates a new GetPrivateCancelParams object with the default values initialized.

func NewGetPrivateCancelParamsWithContext

func NewGetPrivateCancelParamsWithContext(ctx context.Context) *GetPrivateCancelParams

NewGetPrivateCancelParamsWithContext creates a new GetPrivateCancelParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateCancelParamsWithHTTPClient

func NewGetPrivateCancelParamsWithHTTPClient(client *http.Client) *GetPrivateCancelParams

NewGetPrivateCancelParamsWithHTTPClient creates a new GetPrivateCancelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateCancelParamsWithTimeout

func NewGetPrivateCancelParamsWithTimeout(timeout time.Duration) *GetPrivateCancelParams

NewGetPrivateCancelParamsWithTimeout creates a new GetPrivateCancelParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateCancelParams) SetContext

func (o *GetPrivateCancelParams) SetContext(ctx context.Context)

SetContext adds the context to the get private cancel params

func (*GetPrivateCancelParams) SetHTTPClient

func (o *GetPrivateCancelParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private cancel params

func (*GetPrivateCancelParams) SetOrderID

func (o *GetPrivateCancelParams) SetOrderID(orderID string)

SetOrderID adds the orderId to the get private cancel params

func (*GetPrivateCancelParams) SetTimeout

func (o *GetPrivateCancelParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private cancel params

func (*GetPrivateCancelParams) WithContext

WithContext adds the context to the get private cancel params

func (*GetPrivateCancelParams) WithHTTPClient

func (o *GetPrivateCancelParams) WithHTTPClient(client *http.Client) *GetPrivateCancelParams

WithHTTPClient adds the HTTPClient to the get private cancel params

func (*GetPrivateCancelParams) WithOrderID

func (o *GetPrivateCancelParams) WithOrderID(orderID string) *GetPrivateCancelParams

WithOrderID adds the orderID to the get private cancel params

func (*GetPrivateCancelParams) WithTimeout

WithTimeout adds the timeout to the get private cancel params

func (*GetPrivateCancelParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateCancelReader

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

GetPrivateCancelReader is a Reader for the GetPrivateCancel structure.

func (*GetPrivateCancelReader) ReadResponse

func (o *GetPrivateCancelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateCancelTransferByIDOK

type GetPrivateCancelTransferByIDOK struct {
	Payload *models.PrivateSubmitTransferResponse
}

GetPrivateCancelTransferByIDOK handles this case with default header values.

foo

func NewGetPrivateCancelTransferByIDOK

func NewGetPrivateCancelTransferByIDOK() *GetPrivateCancelTransferByIDOK

NewGetPrivateCancelTransferByIDOK creates a GetPrivateCancelTransferByIDOK with default headers values

func (*GetPrivateCancelTransferByIDOK) Error

type GetPrivateCancelTransferByIDParams

type GetPrivateCancelTransferByIDParams struct {

	/*Currency
	  The currency symbol

	*/
	Currency string
	/*ID
	  Id of transfer

	*/
	ID int64
	/*Tfa
	  TFA code, required when TFA is enabled for current account

	*/
	Tfa *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateCancelTransferByIDParams contains all the parameters to send to the API endpoint for the get private cancel transfer by ID operation typically these are written to a http.Request

func NewGetPrivateCancelTransferByIDParams

func NewGetPrivateCancelTransferByIDParams() *GetPrivateCancelTransferByIDParams

NewGetPrivateCancelTransferByIDParams creates a new GetPrivateCancelTransferByIDParams object with the default values initialized.

func NewGetPrivateCancelTransferByIDParamsWithContext

func NewGetPrivateCancelTransferByIDParamsWithContext(ctx context.Context) *GetPrivateCancelTransferByIDParams

NewGetPrivateCancelTransferByIDParamsWithContext creates a new GetPrivateCancelTransferByIDParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateCancelTransferByIDParamsWithHTTPClient

func NewGetPrivateCancelTransferByIDParamsWithHTTPClient(client *http.Client) *GetPrivateCancelTransferByIDParams

NewGetPrivateCancelTransferByIDParamsWithHTTPClient creates a new GetPrivateCancelTransferByIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateCancelTransferByIDParamsWithTimeout

func NewGetPrivateCancelTransferByIDParamsWithTimeout(timeout time.Duration) *GetPrivateCancelTransferByIDParams

NewGetPrivateCancelTransferByIDParamsWithTimeout creates a new GetPrivateCancelTransferByIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateCancelTransferByIDParams) SetContext

SetContext adds the context to the get private cancel transfer by ID params

func (*GetPrivateCancelTransferByIDParams) SetCurrency

func (o *GetPrivateCancelTransferByIDParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private cancel transfer by ID params

func (*GetPrivateCancelTransferByIDParams) SetHTTPClient

func (o *GetPrivateCancelTransferByIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private cancel transfer by ID params

func (*GetPrivateCancelTransferByIDParams) SetID

SetID adds the id to the get private cancel transfer by ID params

func (*GetPrivateCancelTransferByIDParams) SetTfa

SetTfa adds the tfa to the get private cancel transfer by ID params

func (*GetPrivateCancelTransferByIDParams) SetTimeout

func (o *GetPrivateCancelTransferByIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private cancel transfer by ID params

func (*GetPrivateCancelTransferByIDParams) WithContext

WithContext adds the context to the get private cancel transfer by ID params

func (*GetPrivateCancelTransferByIDParams) WithCurrency

WithCurrency adds the currency to the get private cancel transfer by ID params

func (*GetPrivateCancelTransferByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private cancel transfer by ID params

func (*GetPrivateCancelTransferByIDParams) WithID

WithID adds the id to the get private cancel transfer by ID params

func (*GetPrivateCancelTransferByIDParams) WithTfa

WithTfa adds the tfa to the get private cancel transfer by ID params

func (*GetPrivateCancelTransferByIDParams) WithTimeout

WithTimeout adds the timeout to the get private cancel transfer by ID params

func (*GetPrivateCancelTransferByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateCancelTransferByIDReader

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

GetPrivateCancelTransferByIDReader is a Reader for the GetPrivateCancelTransferByID structure.

func (*GetPrivateCancelTransferByIDReader) ReadResponse

func (o *GetPrivateCancelTransferByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateCancelWithdrawalOK

type GetPrivateCancelWithdrawalOK struct {
	Payload *models.PrivateWithdrawResponse
}

GetPrivateCancelWithdrawalOK handles this case with default header values.

foo

func NewGetPrivateCancelWithdrawalOK

func NewGetPrivateCancelWithdrawalOK() *GetPrivateCancelWithdrawalOK

NewGetPrivateCancelWithdrawalOK creates a GetPrivateCancelWithdrawalOK with default headers values

func (*GetPrivateCancelWithdrawalOK) Error

type GetPrivateCancelWithdrawalParams

type GetPrivateCancelWithdrawalParams struct {

	/*Currency
	  The currency symbol

	*/
	Currency string
	/*ID
	  The withdrawal id

	*/
	ID float64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateCancelWithdrawalParams contains all the parameters to send to the API endpoint for the get private cancel withdrawal operation typically these are written to a http.Request

func NewGetPrivateCancelWithdrawalParams

func NewGetPrivateCancelWithdrawalParams() *GetPrivateCancelWithdrawalParams

NewGetPrivateCancelWithdrawalParams creates a new GetPrivateCancelWithdrawalParams object with the default values initialized.

func NewGetPrivateCancelWithdrawalParamsWithContext

func NewGetPrivateCancelWithdrawalParamsWithContext(ctx context.Context) *GetPrivateCancelWithdrawalParams

NewGetPrivateCancelWithdrawalParamsWithContext creates a new GetPrivateCancelWithdrawalParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateCancelWithdrawalParamsWithHTTPClient

func NewGetPrivateCancelWithdrawalParamsWithHTTPClient(client *http.Client) *GetPrivateCancelWithdrawalParams

NewGetPrivateCancelWithdrawalParamsWithHTTPClient creates a new GetPrivateCancelWithdrawalParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateCancelWithdrawalParamsWithTimeout

func NewGetPrivateCancelWithdrawalParamsWithTimeout(timeout time.Duration) *GetPrivateCancelWithdrawalParams

NewGetPrivateCancelWithdrawalParamsWithTimeout creates a new GetPrivateCancelWithdrawalParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateCancelWithdrawalParams) SetContext

SetContext adds the context to the get private cancel withdrawal params

func (*GetPrivateCancelWithdrawalParams) SetCurrency

func (o *GetPrivateCancelWithdrawalParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private cancel withdrawal params

func (*GetPrivateCancelWithdrawalParams) SetHTTPClient

func (o *GetPrivateCancelWithdrawalParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private cancel withdrawal params

func (*GetPrivateCancelWithdrawalParams) SetID

SetID adds the id to the get private cancel withdrawal params

func (*GetPrivateCancelWithdrawalParams) SetTimeout

func (o *GetPrivateCancelWithdrawalParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private cancel withdrawal params

func (*GetPrivateCancelWithdrawalParams) WithContext

WithContext adds the context to the get private cancel withdrawal params

func (*GetPrivateCancelWithdrawalParams) WithCurrency

WithCurrency adds the currency to the get private cancel withdrawal params

func (*GetPrivateCancelWithdrawalParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private cancel withdrawal params

func (*GetPrivateCancelWithdrawalParams) WithID

WithID adds the id to the get private cancel withdrawal params

func (*GetPrivateCancelWithdrawalParams) WithTimeout

WithTimeout adds the timeout to the get private cancel withdrawal params

func (*GetPrivateCancelWithdrawalParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateCancelWithdrawalReader

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

GetPrivateCancelWithdrawalReader is a Reader for the GetPrivateCancelWithdrawal structure.

func (*GetPrivateCancelWithdrawalReader) ReadResponse

func (o *GetPrivateCancelWithdrawalReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateChangeSubaccountNameOK

type GetPrivateChangeSubaccountNameOK struct {
	Payload *models.OkResponse
}

GetPrivateChangeSubaccountNameOK handles this case with default header values.

foo

func NewGetPrivateChangeSubaccountNameOK

func NewGetPrivateChangeSubaccountNameOK() *GetPrivateChangeSubaccountNameOK

NewGetPrivateChangeSubaccountNameOK creates a GetPrivateChangeSubaccountNameOK with default headers values

func (*GetPrivateChangeSubaccountNameOK) Error

type GetPrivateChangeSubaccountNameParams

type GetPrivateChangeSubaccountNameParams struct {

	/*Name
	  The new user name

	*/
	Name string
	/*Sid
	  The user id for the subaccount

	*/
	Sid int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateChangeSubaccountNameParams contains all the parameters to send to the API endpoint for the get private change subaccount name operation typically these are written to a http.Request

func NewGetPrivateChangeSubaccountNameParams

func NewGetPrivateChangeSubaccountNameParams() *GetPrivateChangeSubaccountNameParams

NewGetPrivateChangeSubaccountNameParams creates a new GetPrivateChangeSubaccountNameParams object with the default values initialized.

func NewGetPrivateChangeSubaccountNameParamsWithContext

func NewGetPrivateChangeSubaccountNameParamsWithContext(ctx context.Context) *GetPrivateChangeSubaccountNameParams

NewGetPrivateChangeSubaccountNameParamsWithContext creates a new GetPrivateChangeSubaccountNameParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateChangeSubaccountNameParamsWithHTTPClient

func NewGetPrivateChangeSubaccountNameParamsWithHTTPClient(client *http.Client) *GetPrivateChangeSubaccountNameParams

NewGetPrivateChangeSubaccountNameParamsWithHTTPClient creates a new GetPrivateChangeSubaccountNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateChangeSubaccountNameParamsWithTimeout

func NewGetPrivateChangeSubaccountNameParamsWithTimeout(timeout time.Duration) *GetPrivateChangeSubaccountNameParams

NewGetPrivateChangeSubaccountNameParamsWithTimeout creates a new GetPrivateChangeSubaccountNameParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateChangeSubaccountNameParams) SetContext

SetContext adds the context to the get private change subaccount name params

func (*GetPrivateChangeSubaccountNameParams) SetHTTPClient

func (o *GetPrivateChangeSubaccountNameParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private change subaccount name params

func (*GetPrivateChangeSubaccountNameParams) SetName

SetName adds the name to the get private change subaccount name params

func (*GetPrivateChangeSubaccountNameParams) SetSid

SetSid adds the sid to the get private change subaccount name params

func (*GetPrivateChangeSubaccountNameParams) SetTimeout

func (o *GetPrivateChangeSubaccountNameParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private change subaccount name params

func (*GetPrivateChangeSubaccountNameParams) WithContext

WithContext adds the context to the get private change subaccount name params

func (*GetPrivateChangeSubaccountNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private change subaccount name params

func (*GetPrivateChangeSubaccountNameParams) WithName

WithName adds the name to the get private change subaccount name params

func (*GetPrivateChangeSubaccountNameParams) WithSid

WithSid adds the sid to the get private change subaccount name params

func (*GetPrivateChangeSubaccountNameParams) WithTimeout

WithTimeout adds the timeout to the get private change subaccount name params

func (*GetPrivateChangeSubaccountNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateChangeSubaccountNameReader

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

GetPrivateChangeSubaccountNameReader is a Reader for the GetPrivateChangeSubaccountName structure.

func (*GetPrivateChangeSubaccountNameReader) ReadResponse

func (o *GetPrivateChangeSubaccountNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateClosePositionOK

type GetPrivateClosePositionOK struct {
	Payload *models.PrivateBuyAndSellResponse
}

GetPrivateClosePositionOK handles this case with default header values.

foo

func NewGetPrivateClosePositionOK

func NewGetPrivateClosePositionOK() *GetPrivateClosePositionOK

NewGetPrivateClosePositionOK creates a GetPrivateClosePositionOK with default headers values

func (*GetPrivateClosePositionOK) Error

func (o *GetPrivateClosePositionOK) Error() string

type GetPrivateClosePositionParams

type GetPrivateClosePositionParams struct {

	/*InstrumentName
	  Instrument name

	*/
	InstrumentName string
	/*Price
	  Optional price for limit order.

	*/
	Price *float64
	/*Type
	  The order type

	*/
	Type string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateClosePositionParams contains all the parameters to send to the API endpoint for the get private close position operation typically these are written to a http.Request

func NewGetPrivateClosePositionParams

func NewGetPrivateClosePositionParams() *GetPrivateClosePositionParams

NewGetPrivateClosePositionParams creates a new GetPrivateClosePositionParams object with the default values initialized.

func NewGetPrivateClosePositionParamsWithContext

func NewGetPrivateClosePositionParamsWithContext(ctx context.Context) *GetPrivateClosePositionParams

NewGetPrivateClosePositionParamsWithContext creates a new GetPrivateClosePositionParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateClosePositionParamsWithHTTPClient

func NewGetPrivateClosePositionParamsWithHTTPClient(client *http.Client) *GetPrivateClosePositionParams

NewGetPrivateClosePositionParamsWithHTTPClient creates a new GetPrivateClosePositionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateClosePositionParamsWithTimeout

func NewGetPrivateClosePositionParamsWithTimeout(timeout time.Duration) *GetPrivateClosePositionParams

NewGetPrivateClosePositionParamsWithTimeout creates a new GetPrivateClosePositionParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateClosePositionParams) SetContext

func (o *GetPrivateClosePositionParams) SetContext(ctx context.Context)

SetContext adds the context to the get private close position params

func (*GetPrivateClosePositionParams) SetHTTPClient

func (o *GetPrivateClosePositionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private close position params

func (*GetPrivateClosePositionParams) SetInstrumentName

func (o *GetPrivateClosePositionParams) SetInstrumentName(instrumentName string)

SetInstrumentName adds the instrumentName to the get private close position params

func (*GetPrivateClosePositionParams) SetPrice

func (o *GetPrivateClosePositionParams) SetPrice(price *float64)

SetPrice adds the price to the get private close position params

func (*GetPrivateClosePositionParams) SetTimeout

func (o *GetPrivateClosePositionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private close position params

func (*GetPrivateClosePositionParams) SetType

func (o *GetPrivateClosePositionParams) SetType(typeVar string)

SetType adds the type to the get private close position params

func (*GetPrivateClosePositionParams) WithContext

WithContext adds the context to the get private close position params

func (*GetPrivateClosePositionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private close position params

func (*GetPrivateClosePositionParams) WithInstrumentName

func (o *GetPrivateClosePositionParams) WithInstrumentName(instrumentName string) *GetPrivateClosePositionParams

WithInstrumentName adds the instrumentName to the get private close position params

func (*GetPrivateClosePositionParams) WithPrice

WithPrice adds the price to the get private close position params

func (*GetPrivateClosePositionParams) WithTimeout

WithTimeout adds the timeout to the get private close position params

func (*GetPrivateClosePositionParams) WithType

WithType adds the typeVar to the get private close position params

func (*GetPrivateClosePositionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateClosePositionReader

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

GetPrivateClosePositionReader is a Reader for the GetPrivateClosePosition structure.

func (*GetPrivateClosePositionReader) ReadResponse

func (o *GetPrivateClosePositionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateCreateDepositAddressOK

type GetPrivateCreateDepositAddressOK struct {
	Payload *models.PrivateDepositAddressResponse
}

GetPrivateCreateDepositAddressOK handles this case with default header values.

foo

func NewGetPrivateCreateDepositAddressOK

func NewGetPrivateCreateDepositAddressOK() *GetPrivateCreateDepositAddressOK

NewGetPrivateCreateDepositAddressOK creates a GetPrivateCreateDepositAddressOK with default headers values

func (*GetPrivateCreateDepositAddressOK) Error

type GetPrivateCreateDepositAddressParams

type GetPrivateCreateDepositAddressParams struct {

	/*Currency
	  The currency symbol

	*/
	Currency string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateCreateDepositAddressParams contains all the parameters to send to the API endpoint for the get private create deposit address operation typically these are written to a http.Request

func NewGetPrivateCreateDepositAddressParams

func NewGetPrivateCreateDepositAddressParams() *GetPrivateCreateDepositAddressParams

NewGetPrivateCreateDepositAddressParams creates a new GetPrivateCreateDepositAddressParams object with the default values initialized.

func NewGetPrivateCreateDepositAddressParamsWithContext

func NewGetPrivateCreateDepositAddressParamsWithContext(ctx context.Context) *GetPrivateCreateDepositAddressParams

NewGetPrivateCreateDepositAddressParamsWithContext creates a new GetPrivateCreateDepositAddressParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateCreateDepositAddressParamsWithHTTPClient

func NewGetPrivateCreateDepositAddressParamsWithHTTPClient(client *http.Client) *GetPrivateCreateDepositAddressParams

NewGetPrivateCreateDepositAddressParamsWithHTTPClient creates a new GetPrivateCreateDepositAddressParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateCreateDepositAddressParamsWithTimeout

func NewGetPrivateCreateDepositAddressParamsWithTimeout(timeout time.Duration) *GetPrivateCreateDepositAddressParams

NewGetPrivateCreateDepositAddressParamsWithTimeout creates a new GetPrivateCreateDepositAddressParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateCreateDepositAddressParams) SetContext

SetContext adds the context to the get private create deposit address params

func (*GetPrivateCreateDepositAddressParams) SetCurrency

func (o *GetPrivateCreateDepositAddressParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private create deposit address params

func (*GetPrivateCreateDepositAddressParams) SetHTTPClient

func (o *GetPrivateCreateDepositAddressParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private create deposit address params

func (*GetPrivateCreateDepositAddressParams) SetTimeout

func (o *GetPrivateCreateDepositAddressParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private create deposit address params

func (*GetPrivateCreateDepositAddressParams) WithContext

WithContext adds the context to the get private create deposit address params

func (*GetPrivateCreateDepositAddressParams) WithCurrency

WithCurrency adds the currency to the get private create deposit address params

func (*GetPrivateCreateDepositAddressParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private create deposit address params

func (*GetPrivateCreateDepositAddressParams) WithTimeout

WithTimeout adds the timeout to the get private create deposit address params

func (*GetPrivateCreateDepositAddressParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateCreateDepositAddressReader

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

GetPrivateCreateDepositAddressReader is a Reader for the GetPrivateCreateDepositAddress structure.

func (*GetPrivateCreateDepositAddressReader) ReadResponse

func (o *GetPrivateCreateDepositAddressReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateCreateSubaccountOK

type GetPrivateCreateSubaccountOK struct {
	Payload *models.PrivateCreateSubaccountResponse
}

GetPrivateCreateSubaccountOK handles this case with default header values.

foo

func NewGetPrivateCreateSubaccountOK

func NewGetPrivateCreateSubaccountOK() *GetPrivateCreateSubaccountOK

NewGetPrivateCreateSubaccountOK creates a GetPrivateCreateSubaccountOK with default headers values

func (*GetPrivateCreateSubaccountOK) Error

type GetPrivateCreateSubaccountParams

type GetPrivateCreateSubaccountParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateCreateSubaccountParams contains all the parameters to send to the API endpoint for the get private create subaccount operation typically these are written to a http.Request

func NewGetPrivateCreateSubaccountParams

func NewGetPrivateCreateSubaccountParams() *GetPrivateCreateSubaccountParams

NewGetPrivateCreateSubaccountParams creates a new GetPrivateCreateSubaccountParams object with the default values initialized.

func NewGetPrivateCreateSubaccountParamsWithContext

func NewGetPrivateCreateSubaccountParamsWithContext(ctx context.Context) *GetPrivateCreateSubaccountParams

NewGetPrivateCreateSubaccountParamsWithContext creates a new GetPrivateCreateSubaccountParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateCreateSubaccountParamsWithHTTPClient

func NewGetPrivateCreateSubaccountParamsWithHTTPClient(client *http.Client) *GetPrivateCreateSubaccountParams

NewGetPrivateCreateSubaccountParamsWithHTTPClient creates a new GetPrivateCreateSubaccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateCreateSubaccountParamsWithTimeout

func NewGetPrivateCreateSubaccountParamsWithTimeout(timeout time.Duration) *GetPrivateCreateSubaccountParams

NewGetPrivateCreateSubaccountParamsWithTimeout creates a new GetPrivateCreateSubaccountParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateCreateSubaccountParams) SetContext

SetContext adds the context to the get private create subaccount params

func (*GetPrivateCreateSubaccountParams) SetHTTPClient

func (o *GetPrivateCreateSubaccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private create subaccount params

func (*GetPrivateCreateSubaccountParams) SetTimeout

func (o *GetPrivateCreateSubaccountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private create subaccount params

func (*GetPrivateCreateSubaccountParams) WithContext

WithContext adds the context to the get private create subaccount params

func (*GetPrivateCreateSubaccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private create subaccount params

func (*GetPrivateCreateSubaccountParams) WithTimeout

WithTimeout adds the timeout to the get private create subaccount params

func (*GetPrivateCreateSubaccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateCreateSubaccountReader

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

GetPrivateCreateSubaccountReader is a Reader for the GetPrivateCreateSubaccount structure.

func (*GetPrivateCreateSubaccountReader) ReadResponse

func (o *GetPrivateCreateSubaccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateDatatableOK

type GetPrivateDatatableOK struct {
	Payload *models.OkResponse
}

GetPrivateDatatableOK handles this case with default header values.

foo

func NewGetPrivateDatatableOK

func NewGetPrivateDatatableOK() *GetPrivateDatatableOK

NewGetPrivateDatatableOK creates a GetPrivateDatatableOK with default headers values

func (*GetPrivateDatatableOK) Error

func (o *GetPrivateDatatableOK) Error() string

type GetPrivateDatatableParams

type GetPrivateDatatableParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateDatatableParams contains all the parameters to send to the API endpoint for the get private datatable operation typically these are written to a http.Request

func NewGetPrivateDatatableParams

func NewGetPrivateDatatableParams() *GetPrivateDatatableParams

NewGetPrivateDatatableParams creates a new GetPrivateDatatableParams object with the default values initialized.

func NewGetPrivateDatatableParamsWithContext

func NewGetPrivateDatatableParamsWithContext(ctx context.Context) *GetPrivateDatatableParams

NewGetPrivateDatatableParamsWithContext creates a new GetPrivateDatatableParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateDatatableParamsWithHTTPClient

func NewGetPrivateDatatableParamsWithHTTPClient(client *http.Client) *GetPrivateDatatableParams

NewGetPrivateDatatableParamsWithHTTPClient creates a new GetPrivateDatatableParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateDatatableParamsWithTimeout

func NewGetPrivateDatatableParamsWithTimeout(timeout time.Duration) *GetPrivateDatatableParams

NewGetPrivateDatatableParamsWithTimeout creates a new GetPrivateDatatableParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateDatatableParams) SetContext

func (o *GetPrivateDatatableParams) SetContext(ctx context.Context)

SetContext adds the context to the get private datatable params

func (*GetPrivateDatatableParams) SetHTTPClient

func (o *GetPrivateDatatableParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private datatable params

func (*GetPrivateDatatableParams) SetTimeout

func (o *GetPrivateDatatableParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private datatable params

func (*GetPrivateDatatableParams) WithContext

WithContext adds the context to the get private datatable params

func (*GetPrivateDatatableParams) WithHTTPClient

func (o *GetPrivateDatatableParams) WithHTTPClient(client *http.Client) *GetPrivateDatatableParams

WithHTTPClient adds the HTTPClient to the get private datatable params

func (*GetPrivateDatatableParams) WithTimeout

WithTimeout adds the timeout to the get private datatable params

func (*GetPrivateDatatableParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateDatatableReader

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

GetPrivateDatatableReader is a Reader for the GetPrivateDatatable structure.

func (*GetPrivateDatatableReader) ReadResponse

func (o *GetPrivateDatatableReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateDisableCancelOnDisconnectBadRequest

type GetPrivateDisableCancelOnDisconnectBadRequest struct {
	Payload *models.ErrorMessage
}

GetPrivateDisableCancelOnDisconnectBadRequest handles this case with default header values.

result when used via rest/HTTP

func NewGetPrivateDisableCancelOnDisconnectBadRequest

func NewGetPrivateDisableCancelOnDisconnectBadRequest() *GetPrivateDisableCancelOnDisconnectBadRequest

NewGetPrivateDisableCancelOnDisconnectBadRequest creates a GetPrivateDisableCancelOnDisconnectBadRequest with default headers values

func (*GetPrivateDisableCancelOnDisconnectBadRequest) Error

type GetPrivateDisableCancelOnDisconnectOK

type GetPrivateDisableCancelOnDisconnectOK struct {
	Payload *models.OkResponse
}

GetPrivateDisableCancelOnDisconnectOK handles this case with default header values.

foo

func NewGetPrivateDisableCancelOnDisconnectOK

func NewGetPrivateDisableCancelOnDisconnectOK() *GetPrivateDisableCancelOnDisconnectOK

NewGetPrivateDisableCancelOnDisconnectOK creates a GetPrivateDisableCancelOnDisconnectOK with default headers values

func (*GetPrivateDisableCancelOnDisconnectOK) Error

type GetPrivateDisableCancelOnDisconnectParams

type GetPrivateDisableCancelOnDisconnectParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateDisableCancelOnDisconnectParams contains all the parameters to send to the API endpoint for the get private disable cancel on disconnect operation typically these are written to a http.Request

func NewGetPrivateDisableCancelOnDisconnectParams

func NewGetPrivateDisableCancelOnDisconnectParams() *GetPrivateDisableCancelOnDisconnectParams

NewGetPrivateDisableCancelOnDisconnectParams creates a new GetPrivateDisableCancelOnDisconnectParams object with the default values initialized.

func NewGetPrivateDisableCancelOnDisconnectParamsWithContext

func NewGetPrivateDisableCancelOnDisconnectParamsWithContext(ctx context.Context) *GetPrivateDisableCancelOnDisconnectParams

NewGetPrivateDisableCancelOnDisconnectParamsWithContext creates a new GetPrivateDisableCancelOnDisconnectParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateDisableCancelOnDisconnectParamsWithHTTPClient

func NewGetPrivateDisableCancelOnDisconnectParamsWithHTTPClient(client *http.Client) *GetPrivateDisableCancelOnDisconnectParams

NewGetPrivateDisableCancelOnDisconnectParamsWithHTTPClient creates a new GetPrivateDisableCancelOnDisconnectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateDisableCancelOnDisconnectParamsWithTimeout

func NewGetPrivateDisableCancelOnDisconnectParamsWithTimeout(timeout time.Duration) *GetPrivateDisableCancelOnDisconnectParams

NewGetPrivateDisableCancelOnDisconnectParamsWithTimeout creates a new GetPrivateDisableCancelOnDisconnectParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateDisableCancelOnDisconnectParams) SetContext

SetContext adds the context to the get private disable cancel on disconnect params

func (*GetPrivateDisableCancelOnDisconnectParams) SetHTTPClient

func (o *GetPrivateDisableCancelOnDisconnectParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private disable cancel on disconnect params

func (*GetPrivateDisableCancelOnDisconnectParams) SetTimeout

SetTimeout adds the timeout to the get private disable cancel on disconnect params

func (*GetPrivateDisableCancelOnDisconnectParams) WithContext

WithContext adds the context to the get private disable cancel on disconnect params

func (*GetPrivateDisableCancelOnDisconnectParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private disable cancel on disconnect params

func (*GetPrivateDisableCancelOnDisconnectParams) WithTimeout

WithTimeout adds the timeout to the get private disable cancel on disconnect params

func (*GetPrivateDisableCancelOnDisconnectParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateDisableCancelOnDisconnectReader

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

GetPrivateDisableCancelOnDisconnectReader is a Reader for the GetPrivateDisableCancelOnDisconnect structure.

func (*GetPrivateDisableCancelOnDisconnectReader) ReadResponse

func (o *GetPrivateDisableCancelOnDisconnectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateDisableTfaForSubaccountOK

type GetPrivateDisableTfaForSubaccountOK struct {
	Payload *models.OkResponse
}

GetPrivateDisableTfaForSubaccountOK handles this case with default header values.

foo

func NewGetPrivateDisableTfaForSubaccountOK

func NewGetPrivateDisableTfaForSubaccountOK() *GetPrivateDisableTfaForSubaccountOK

NewGetPrivateDisableTfaForSubaccountOK creates a GetPrivateDisableTfaForSubaccountOK with default headers values

func (*GetPrivateDisableTfaForSubaccountOK) Error

type GetPrivateDisableTfaForSubaccountParams

type GetPrivateDisableTfaForSubaccountParams struct {

	/*Sid
	  The user id for the subaccount

	*/
	Sid int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateDisableTfaForSubaccountParams contains all the parameters to send to the API endpoint for the get private disable tfa for subaccount operation typically these are written to a http.Request

func NewGetPrivateDisableTfaForSubaccountParams

func NewGetPrivateDisableTfaForSubaccountParams() *GetPrivateDisableTfaForSubaccountParams

NewGetPrivateDisableTfaForSubaccountParams creates a new GetPrivateDisableTfaForSubaccountParams object with the default values initialized.

func NewGetPrivateDisableTfaForSubaccountParamsWithContext

func NewGetPrivateDisableTfaForSubaccountParamsWithContext(ctx context.Context) *GetPrivateDisableTfaForSubaccountParams

NewGetPrivateDisableTfaForSubaccountParamsWithContext creates a new GetPrivateDisableTfaForSubaccountParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateDisableTfaForSubaccountParamsWithHTTPClient

func NewGetPrivateDisableTfaForSubaccountParamsWithHTTPClient(client *http.Client) *GetPrivateDisableTfaForSubaccountParams

NewGetPrivateDisableTfaForSubaccountParamsWithHTTPClient creates a new GetPrivateDisableTfaForSubaccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateDisableTfaForSubaccountParamsWithTimeout

func NewGetPrivateDisableTfaForSubaccountParamsWithTimeout(timeout time.Duration) *GetPrivateDisableTfaForSubaccountParams

NewGetPrivateDisableTfaForSubaccountParamsWithTimeout creates a new GetPrivateDisableTfaForSubaccountParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateDisableTfaForSubaccountParams) SetContext

SetContext adds the context to the get private disable tfa for subaccount params

func (*GetPrivateDisableTfaForSubaccountParams) SetHTTPClient

func (o *GetPrivateDisableTfaForSubaccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private disable tfa for subaccount params

func (*GetPrivateDisableTfaForSubaccountParams) SetSid

SetSid adds the sid to the get private disable tfa for subaccount params

func (*GetPrivateDisableTfaForSubaccountParams) SetTimeout

func (o *GetPrivateDisableTfaForSubaccountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private disable tfa for subaccount params

func (*GetPrivateDisableTfaForSubaccountParams) WithContext

WithContext adds the context to the get private disable tfa for subaccount params

func (*GetPrivateDisableTfaForSubaccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private disable tfa for subaccount params

func (*GetPrivateDisableTfaForSubaccountParams) WithSid

WithSid adds the sid to the get private disable tfa for subaccount params

func (*GetPrivateDisableTfaForSubaccountParams) WithTimeout

WithTimeout adds the timeout to the get private disable tfa for subaccount params

func (*GetPrivateDisableTfaForSubaccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateDisableTfaForSubaccountReader

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

GetPrivateDisableTfaForSubaccountReader is a Reader for the GetPrivateDisableTfaForSubaccount structure.

func (*GetPrivateDisableTfaForSubaccountReader) ReadResponse

func (o *GetPrivateDisableTfaForSubaccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateEditOK

type GetPrivateEditOK struct {
	Payload *models.PrivateEditResponse
}

GetPrivateEditOK handles this case with default header values.

foo

func NewGetPrivateEditOK

func NewGetPrivateEditOK() *GetPrivateEditOK

NewGetPrivateEditOK creates a GetPrivateEditOK with default headers values

func (*GetPrivateEditOK) Error

func (o *GetPrivateEditOK) Error() string

type GetPrivateEditParams

type GetPrivateEditParams struct {

	/*Advanced
	  Advanced option order type. If you have posted an advanced option order, it is necessary to re-supply this parameter when editing it (Only for options)

	*/
	Advanced *string
	/*Amount
	  It represents the requested order size. For perpetual and futures the amount is in USD units, for options it is amount of corresponding cryptocurrency contracts, e.g., BTC or ETH

	*/
	Amount float64
	/*OrderID
	  The order id

	*/
	OrderID string
	/*PostOnly
	  <p>If true, the order is considered post-only. If the new price would cause the order to be filled immediately (as taker), the price will be changed to be just below the bid.</p> <p>Only valid in combination with time_in_force=`"good_til_cancelled"`</p>

	*/
	PostOnly *bool
	/*Price
	  <p>The order price in base currency.</p> <p>When editing an option order with advanced=usd, the field price should be the option price value in USD.</p> <p>When editing an option order with advanced=implv, the field price should be a value of implied volatility in percentages. For example,  price=100, means implied volatility of 100%</p>

	*/
	Price float64
	/*StopPrice
	  Stop price, required for stop limit orders (Only for stop orders)

	*/
	StopPrice *float64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateEditParams contains all the parameters to send to the API endpoint for the get private edit operation typically these are written to a http.Request

func NewGetPrivateEditParams

func NewGetPrivateEditParams() *GetPrivateEditParams

NewGetPrivateEditParams creates a new GetPrivateEditParams object with the default values initialized.

func NewGetPrivateEditParamsWithContext

func NewGetPrivateEditParamsWithContext(ctx context.Context) *GetPrivateEditParams

NewGetPrivateEditParamsWithContext creates a new GetPrivateEditParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateEditParamsWithHTTPClient

func NewGetPrivateEditParamsWithHTTPClient(client *http.Client) *GetPrivateEditParams

NewGetPrivateEditParamsWithHTTPClient creates a new GetPrivateEditParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateEditParamsWithTimeout

func NewGetPrivateEditParamsWithTimeout(timeout time.Duration) *GetPrivateEditParams

NewGetPrivateEditParamsWithTimeout creates a new GetPrivateEditParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateEditParams) SetAdvanced

func (o *GetPrivateEditParams) SetAdvanced(advanced *string)

SetAdvanced adds the advanced to the get private edit params

func (*GetPrivateEditParams) SetAmount

func (o *GetPrivateEditParams) SetAmount(amount float64)

SetAmount adds the amount to the get private edit params

func (*GetPrivateEditParams) SetContext

func (o *GetPrivateEditParams) SetContext(ctx context.Context)

SetContext adds the context to the get private edit params

func (*GetPrivateEditParams) SetHTTPClient

func (o *GetPrivateEditParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private edit params

func (*GetPrivateEditParams) SetOrderID

func (o *GetPrivateEditParams) SetOrderID(orderID string)

SetOrderID adds the orderId to the get private edit params

func (*GetPrivateEditParams) SetPostOnly

func (o *GetPrivateEditParams) SetPostOnly(postOnly *bool)

SetPostOnly adds the postOnly to the get private edit params

func (*GetPrivateEditParams) SetPrice

func (o *GetPrivateEditParams) SetPrice(price float64)

SetPrice adds the price to the get private edit params

func (*GetPrivateEditParams) SetStopPrice

func (o *GetPrivateEditParams) SetStopPrice(stopPrice *float64)

SetStopPrice adds the stopPrice to the get private edit params

func (*GetPrivateEditParams) SetTimeout

func (o *GetPrivateEditParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private edit params

func (*GetPrivateEditParams) WithAdvanced

func (o *GetPrivateEditParams) WithAdvanced(advanced *string) *GetPrivateEditParams

WithAdvanced adds the advanced to the get private edit params

func (*GetPrivateEditParams) WithAmount

func (o *GetPrivateEditParams) WithAmount(amount float64) *GetPrivateEditParams

WithAmount adds the amount to the get private edit params

func (*GetPrivateEditParams) WithContext

WithContext adds the context to the get private edit params

func (*GetPrivateEditParams) WithHTTPClient

func (o *GetPrivateEditParams) WithHTTPClient(client *http.Client) *GetPrivateEditParams

WithHTTPClient adds the HTTPClient to the get private edit params

func (*GetPrivateEditParams) WithOrderID

func (o *GetPrivateEditParams) WithOrderID(orderID string) *GetPrivateEditParams

WithOrderID adds the orderID to the get private edit params

func (*GetPrivateEditParams) WithPostOnly

func (o *GetPrivateEditParams) WithPostOnly(postOnly *bool) *GetPrivateEditParams

WithPostOnly adds the postOnly to the get private edit params

func (*GetPrivateEditParams) WithPrice

func (o *GetPrivateEditParams) WithPrice(price float64) *GetPrivateEditParams

WithPrice adds the price to the get private edit params

func (*GetPrivateEditParams) WithStopPrice

func (o *GetPrivateEditParams) WithStopPrice(stopPrice *float64) *GetPrivateEditParams

WithStopPrice adds the stopPrice to the get private edit params

func (*GetPrivateEditParams) WithTimeout

func (o *GetPrivateEditParams) WithTimeout(timeout time.Duration) *GetPrivateEditParams

WithTimeout adds the timeout to the get private edit params

func (*GetPrivateEditParams) WriteToRequest

func (o *GetPrivateEditParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPrivateEditReader

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

GetPrivateEditReader is a Reader for the GetPrivateEdit structure.

func (*GetPrivateEditReader) ReadResponse

func (o *GetPrivateEditReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateEnableCancelOnDisconnectBadRequest

type GetPrivateEnableCancelOnDisconnectBadRequest struct {
	Payload *models.ErrorMessage
}

GetPrivateEnableCancelOnDisconnectBadRequest handles this case with default header values.

result when used via rest/HTTP

func NewGetPrivateEnableCancelOnDisconnectBadRequest

func NewGetPrivateEnableCancelOnDisconnectBadRequest() *GetPrivateEnableCancelOnDisconnectBadRequest

NewGetPrivateEnableCancelOnDisconnectBadRequest creates a GetPrivateEnableCancelOnDisconnectBadRequest with default headers values

func (*GetPrivateEnableCancelOnDisconnectBadRequest) Error

type GetPrivateEnableCancelOnDisconnectOK

type GetPrivateEnableCancelOnDisconnectOK struct {
	Payload *models.OkResponse
}

GetPrivateEnableCancelOnDisconnectOK handles this case with default header values.

foo

func NewGetPrivateEnableCancelOnDisconnectOK

func NewGetPrivateEnableCancelOnDisconnectOK() *GetPrivateEnableCancelOnDisconnectOK

NewGetPrivateEnableCancelOnDisconnectOK creates a GetPrivateEnableCancelOnDisconnectOK with default headers values

func (*GetPrivateEnableCancelOnDisconnectOK) Error

type GetPrivateEnableCancelOnDisconnectParams

type GetPrivateEnableCancelOnDisconnectParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateEnableCancelOnDisconnectParams contains all the parameters to send to the API endpoint for the get private enable cancel on disconnect operation typically these are written to a http.Request

func NewGetPrivateEnableCancelOnDisconnectParams

func NewGetPrivateEnableCancelOnDisconnectParams() *GetPrivateEnableCancelOnDisconnectParams

NewGetPrivateEnableCancelOnDisconnectParams creates a new GetPrivateEnableCancelOnDisconnectParams object with the default values initialized.

func NewGetPrivateEnableCancelOnDisconnectParamsWithContext

func NewGetPrivateEnableCancelOnDisconnectParamsWithContext(ctx context.Context) *GetPrivateEnableCancelOnDisconnectParams

NewGetPrivateEnableCancelOnDisconnectParamsWithContext creates a new GetPrivateEnableCancelOnDisconnectParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateEnableCancelOnDisconnectParamsWithHTTPClient

func NewGetPrivateEnableCancelOnDisconnectParamsWithHTTPClient(client *http.Client) *GetPrivateEnableCancelOnDisconnectParams

NewGetPrivateEnableCancelOnDisconnectParamsWithHTTPClient creates a new GetPrivateEnableCancelOnDisconnectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateEnableCancelOnDisconnectParamsWithTimeout

func NewGetPrivateEnableCancelOnDisconnectParamsWithTimeout(timeout time.Duration) *GetPrivateEnableCancelOnDisconnectParams

NewGetPrivateEnableCancelOnDisconnectParamsWithTimeout creates a new GetPrivateEnableCancelOnDisconnectParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateEnableCancelOnDisconnectParams) SetContext

SetContext adds the context to the get private enable cancel on disconnect params

func (*GetPrivateEnableCancelOnDisconnectParams) SetHTTPClient

func (o *GetPrivateEnableCancelOnDisconnectParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private enable cancel on disconnect params

func (*GetPrivateEnableCancelOnDisconnectParams) SetTimeout

SetTimeout adds the timeout to the get private enable cancel on disconnect params

func (*GetPrivateEnableCancelOnDisconnectParams) WithContext

WithContext adds the context to the get private enable cancel on disconnect params

func (*GetPrivateEnableCancelOnDisconnectParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private enable cancel on disconnect params

func (*GetPrivateEnableCancelOnDisconnectParams) WithTimeout

WithTimeout adds the timeout to the get private enable cancel on disconnect params

func (*GetPrivateEnableCancelOnDisconnectParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateEnableCancelOnDisconnectReader

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

GetPrivateEnableCancelOnDisconnectReader is a Reader for the GetPrivateEnableCancelOnDisconnect structure.

func (*GetPrivateEnableCancelOnDisconnectReader) ReadResponse

func (o *GetPrivateEnableCancelOnDisconnectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetAccountSummaryOK

type GetPrivateGetAccountSummaryOK struct {
	Payload *models.PrivateAccountResponse
}

GetPrivateGetAccountSummaryOK handles this case with default header values.

foo

func NewGetPrivateGetAccountSummaryOK

func NewGetPrivateGetAccountSummaryOK() *GetPrivateGetAccountSummaryOK

NewGetPrivateGetAccountSummaryOK creates a GetPrivateGetAccountSummaryOK with default headers values

func (*GetPrivateGetAccountSummaryOK) Error

type GetPrivateGetAccountSummaryParams

type GetPrivateGetAccountSummaryParams struct {

	/*Currency
	  The currency symbol

	*/
	Currency string
	/*Extended
	  Include additional fields

	*/
	Extended *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetAccountSummaryParams contains all the parameters to send to the API endpoint for the get private get account summary operation typically these are written to a http.Request

func NewGetPrivateGetAccountSummaryParams

func NewGetPrivateGetAccountSummaryParams() *GetPrivateGetAccountSummaryParams

NewGetPrivateGetAccountSummaryParams creates a new GetPrivateGetAccountSummaryParams object with the default values initialized.

func NewGetPrivateGetAccountSummaryParamsWithContext

func NewGetPrivateGetAccountSummaryParamsWithContext(ctx context.Context) *GetPrivateGetAccountSummaryParams

NewGetPrivateGetAccountSummaryParamsWithContext creates a new GetPrivateGetAccountSummaryParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetAccountSummaryParamsWithHTTPClient

func NewGetPrivateGetAccountSummaryParamsWithHTTPClient(client *http.Client) *GetPrivateGetAccountSummaryParams

NewGetPrivateGetAccountSummaryParamsWithHTTPClient creates a new GetPrivateGetAccountSummaryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetAccountSummaryParamsWithTimeout

func NewGetPrivateGetAccountSummaryParamsWithTimeout(timeout time.Duration) *GetPrivateGetAccountSummaryParams

NewGetPrivateGetAccountSummaryParamsWithTimeout creates a new GetPrivateGetAccountSummaryParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetAccountSummaryParams) SetContext

SetContext adds the context to the get private get account summary params

func (*GetPrivateGetAccountSummaryParams) SetCurrency

func (o *GetPrivateGetAccountSummaryParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private get account summary params

func (*GetPrivateGetAccountSummaryParams) SetExtended

func (o *GetPrivateGetAccountSummaryParams) SetExtended(extended *bool)

SetExtended adds the extended to the get private get account summary params

func (*GetPrivateGetAccountSummaryParams) SetHTTPClient

func (o *GetPrivateGetAccountSummaryParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get account summary params

func (*GetPrivateGetAccountSummaryParams) SetTimeout

func (o *GetPrivateGetAccountSummaryParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private get account summary params

func (*GetPrivateGetAccountSummaryParams) WithContext

WithContext adds the context to the get private get account summary params

func (*GetPrivateGetAccountSummaryParams) WithCurrency

WithCurrency adds the currency to the get private get account summary params

func (*GetPrivateGetAccountSummaryParams) WithExtended

WithExtended adds the extended to the get private get account summary params

func (*GetPrivateGetAccountSummaryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get account summary params

func (*GetPrivateGetAccountSummaryParams) WithTimeout

WithTimeout adds the timeout to the get private get account summary params

func (*GetPrivateGetAccountSummaryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetAccountSummaryReader

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

GetPrivateGetAccountSummaryReader is a Reader for the GetPrivateGetAccountSummary structure.

func (*GetPrivateGetAccountSummaryReader) ReadResponse

func (o *GetPrivateGetAccountSummaryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetAddressBookOK

type GetPrivateGetAddressBookOK struct {
	Payload *models.PrivateAddressBookResponse
}

GetPrivateGetAddressBookOK handles this case with default header values.

foo

func NewGetPrivateGetAddressBookOK

func NewGetPrivateGetAddressBookOK() *GetPrivateGetAddressBookOK

NewGetPrivateGetAddressBookOK creates a GetPrivateGetAddressBookOK with default headers values

func (*GetPrivateGetAddressBookOK) Error

type GetPrivateGetAddressBookParams

type GetPrivateGetAddressBookParams struct {

	/*Currency
	  The currency symbol

	*/
	Currency string
	/*Type
	  Address book type

	*/
	Type string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetAddressBookParams contains all the parameters to send to the API endpoint for the get private get address book operation typically these are written to a http.Request

func NewGetPrivateGetAddressBookParams

func NewGetPrivateGetAddressBookParams() *GetPrivateGetAddressBookParams

NewGetPrivateGetAddressBookParams creates a new GetPrivateGetAddressBookParams object with the default values initialized.

func NewGetPrivateGetAddressBookParamsWithContext

func NewGetPrivateGetAddressBookParamsWithContext(ctx context.Context) *GetPrivateGetAddressBookParams

NewGetPrivateGetAddressBookParamsWithContext creates a new GetPrivateGetAddressBookParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetAddressBookParamsWithHTTPClient

func NewGetPrivateGetAddressBookParamsWithHTTPClient(client *http.Client) *GetPrivateGetAddressBookParams

NewGetPrivateGetAddressBookParamsWithHTTPClient creates a new GetPrivateGetAddressBookParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetAddressBookParamsWithTimeout

func NewGetPrivateGetAddressBookParamsWithTimeout(timeout time.Duration) *GetPrivateGetAddressBookParams

NewGetPrivateGetAddressBookParamsWithTimeout creates a new GetPrivateGetAddressBookParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetAddressBookParams) SetContext

func (o *GetPrivateGetAddressBookParams) SetContext(ctx context.Context)

SetContext adds the context to the get private get address book params

func (*GetPrivateGetAddressBookParams) SetCurrency

func (o *GetPrivateGetAddressBookParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private get address book params

func (*GetPrivateGetAddressBookParams) SetHTTPClient

func (o *GetPrivateGetAddressBookParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get address book params

func (*GetPrivateGetAddressBookParams) SetTimeout

func (o *GetPrivateGetAddressBookParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private get address book params

func (*GetPrivateGetAddressBookParams) SetType

func (o *GetPrivateGetAddressBookParams) SetType(typeVar string)

SetType adds the type to the get private get address book params

func (*GetPrivateGetAddressBookParams) WithContext

WithContext adds the context to the get private get address book params

func (*GetPrivateGetAddressBookParams) WithCurrency

WithCurrency adds the currency to the get private get address book params

func (*GetPrivateGetAddressBookParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get address book params

func (*GetPrivateGetAddressBookParams) WithTimeout

WithTimeout adds the timeout to the get private get address book params

func (*GetPrivateGetAddressBookParams) WithType

WithType adds the typeVar to the get private get address book params

func (*GetPrivateGetAddressBookParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetAddressBookReader

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

GetPrivateGetAddressBookReader is a Reader for the GetPrivateGetAddressBook structure.

func (*GetPrivateGetAddressBookReader) ReadResponse

func (o *GetPrivateGetAddressBookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetCurrentDepositAddressOK

type GetPrivateGetCurrentDepositAddressOK struct {
	Payload *models.PrivateDepositAddressResponse
}

GetPrivateGetCurrentDepositAddressOK handles this case with default header values.

foo

func NewGetPrivateGetCurrentDepositAddressOK

func NewGetPrivateGetCurrentDepositAddressOK() *GetPrivateGetCurrentDepositAddressOK

NewGetPrivateGetCurrentDepositAddressOK creates a GetPrivateGetCurrentDepositAddressOK with default headers values

func (*GetPrivateGetCurrentDepositAddressOK) Error

type GetPrivateGetCurrentDepositAddressParams

type GetPrivateGetCurrentDepositAddressParams struct {

	/*Currency
	  The currency symbol

	*/
	Currency string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetCurrentDepositAddressParams contains all the parameters to send to the API endpoint for the get private get current deposit address operation typically these are written to a http.Request

func NewGetPrivateGetCurrentDepositAddressParams

func NewGetPrivateGetCurrentDepositAddressParams() *GetPrivateGetCurrentDepositAddressParams

NewGetPrivateGetCurrentDepositAddressParams creates a new GetPrivateGetCurrentDepositAddressParams object with the default values initialized.

func NewGetPrivateGetCurrentDepositAddressParamsWithContext

func NewGetPrivateGetCurrentDepositAddressParamsWithContext(ctx context.Context) *GetPrivateGetCurrentDepositAddressParams

NewGetPrivateGetCurrentDepositAddressParamsWithContext creates a new GetPrivateGetCurrentDepositAddressParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetCurrentDepositAddressParamsWithHTTPClient

func NewGetPrivateGetCurrentDepositAddressParamsWithHTTPClient(client *http.Client) *GetPrivateGetCurrentDepositAddressParams

NewGetPrivateGetCurrentDepositAddressParamsWithHTTPClient creates a new GetPrivateGetCurrentDepositAddressParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetCurrentDepositAddressParamsWithTimeout

func NewGetPrivateGetCurrentDepositAddressParamsWithTimeout(timeout time.Duration) *GetPrivateGetCurrentDepositAddressParams

NewGetPrivateGetCurrentDepositAddressParamsWithTimeout creates a new GetPrivateGetCurrentDepositAddressParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetCurrentDepositAddressParams) SetContext

SetContext adds the context to the get private get current deposit address params

func (*GetPrivateGetCurrentDepositAddressParams) SetCurrency

func (o *GetPrivateGetCurrentDepositAddressParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private get current deposit address params

func (*GetPrivateGetCurrentDepositAddressParams) SetHTTPClient

func (o *GetPrivateGetCurrentDepositAddressParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get current deposit address params

func (*GetPrivateGetCurrentDepositAddressParams) SetTimeout

SetTimeout adds the timeout to the get private get current deposit address params

func (*GetPrivateGetCurrentDepositAddressParams) WithContext

WithContext adds the context to the get private get current deposit address params

func (*GetPrivateGetCurrentDepositAddressParams) WithCurrency

WithCurrency adds the currency to the get private get current deposit address params

func (*GetPrivateGetCurrentDepositAddressParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get current deposit address params

func (*GetPrivateGetCurrentDepositAddressParams) WithTimeout

WithTimeout adds the timeout to the get private get current deposit address params

func (*GetPrivateGetCurrentDepositAddressParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetCurrentDepositAddressReader

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

GetPrivateGetCurrentDepositAddressReader is a Reader for the GetPrivateGetCurrentDepositAddress structure.

func (*GetPrivateGetCurrentDepositAddressReader) ReadResponse

func (o *GetPrivateGetCurrentDepositAddressReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetDepositsOK

type GetPrivateGetDepositsOK struct {
	Payload *models.PrivateGetDepositsResponse
}

GetPrivateGetDepositsOK handles this case with default header values.

foo

func NewGetPrivateGetDepositsOK

func NewGetPrivateGetDepositsOK() *GetPrivateGetDepositsOK

NewGetPrivateGetDepositsOK creates a GetPrivateGetDepositsOK with default headers values

func (*GetPrivateGetDepositsOK) Error

func (o *GetPrivateGetDepositsOK) Error() string

type GetPrivateGetDepositsParams

type GetPrivateGetDepositsParams struct {

	/*Count
	  Number of requested items, default - `10`

	*/
	Count *int64
	/*Currency
	  The currency symbol

	*/
	Currency string
	/*Offset
	  The offset for pagination, default - `0`

	*/
	Offset *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetDepositsParams contains all the parameters to send to the API endpoint for the get private get deposits operation typically these are written to a http.Request

func NewGetPrivateGetDepositsParams

func NewGetPrivateGetDepositsParams() *GetPrivateGetDepositsParams

NewGetPrivateGetDepositsParams creates a new GetPrivateGetDepositsParams object with the default values initialized.

func NewGetPrivateGetDepositsParamsWithContext

func NewGetPrivateGetDepositsParamsWithContext(ctx context.Context) *GetPrivateGetDepositsParams

NewGetPrivateGetDepositsParamsWithContext creates a new GetPrivateGetDepositsParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetDepositsParamsWithHTTPClient

func NewGetPrivateGetDepositsParamsWithHTTPClient(client *http.Client) *GetPrivateGetDepositsParams

NewGetPrivateGetDepositsParamsWithHTTPClient creates a new GetPrivateGetDepositsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetDepositsParamsWithTimeout

func NewGetPrivateGetDepositsParamsWithTimeout(timeout time.Duration) *GetPrivateGetDepositsParams

NewGetPrivateGetDepositsParamsWithTimeout creates a new GetPrivateGetDepositsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetDepositsParams) SetContext

func (o *GetPrivateGetDepositsParams) SetContext(ctx context.Context)

SetContext adds the context to the get private get deposits params

func (*GetPrivateGetDepositsParams) SetCount

func (o *GetPrivateGetDepositsParams) SetCount(count *int64)

SetCount adds the count to the get private get deposits params

func (*GetPrivateGetDepositsParams) SetCurrency

func (o *GetPrivateGetDepositsParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private get deposits params

func (*GetPrivateGetDepositsParams) SetHTTPClient

func (o *GetPrivateGetDepositsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get deposits params

func (*GetPrivateGetDepositsParams) SetOffset

func (o *GetPrivateGetDepositsParams) SetOffset(offset *int64)

SetOffset adds the offset to the get private get deposits params

func (*GetPrivateGetDepositsParams) SetTimeout

func (o *GetPrivateGetDepositsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private get deposits params

func (*GetPrivateGetDepositsParams) WithContext

WithContext adds the context to the get private get deposits params

func (*GetPrivateGetDepositsParams) WithCount

WithCount adds the count to the get private get deposits params

func (*GetPrivateGetDepositsParams) WithCurrency

WithCurrency adds the currency to the get private get deposits params

func (*GetPrivateGetDepositsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get deposits params

func (*GetPrivateGetDepositsParams) WithOffset

WithOffset adds the offset to the get private get deposits params

func (*GetPrivateGetDepositsParams) WithTimeout

WithTimeout adds the timeout to the get private get deposits params

func (*GetPrivateGetDepositsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetDepositsReader

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

GetPrivateGetDepositsReader is a Reader for the GetPrivateGetDeposits structure.

func (*GetPrivateGetDepositsReader) ReadResponse

func (o *GetPrivateGetDepositsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetEmailLanguageOK

type GetPrivateGetEmailLanguageOK struct {
	Payload *models.PrivateGetEmailLanguageResponse
}

GetPrivateGetEmailLanguageOK handles this case with default header values.

foo

func NewGetPrivateGetEmailLanguageOK

func NewGetPrivateGetEmailLanguageOK() *GetPrivateGetEmailLanguageOK

NewGetPrivateGetEmailLanguageOK creates a GetPrivateGetEmailLanguageOK with default headers values

func (*GetPrivateGetEmailLanguageOK) Error

type GetPrivateGetEmailLanguageParams

type GetPrivateGetEmailLanguageParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetEmailLanguageParams contains all the parameters to send to the API endpoint for the get private get email language operation typically these are written to a http.Request

func NewGetPrivateGetEmailLanguageParams

func NewGetPrivateGetEmailLanguageParams() *GetPrivateGetEmailLanguageParams

NewGetPrivateGetEmailLanguageParams creates a new GetPrivateGetEmailLanguageParams object with the default values initialized.

func NewGetPrivateGetEmailLanguageParamsWithContext

func NewGetPrivateGetEmailLanguageParamsWithContext(ctx context.Context) *GetPrivateGetEmailLanguageParams

NewGetPrivateGetEmailLanguageParamsWithContext creates a new GetPrivateGetEmailLanguageParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetEmailLanguageParamsWithHTTPClient

func NewGetPrivateGetEmailLanguageParamsWithHTTPClient(client *http.Client) *GetPrivateGetEmailLanguageParams

NewGetPrivateGetEmailLanguageParamsWithHTTPClient creates a new GetPrivateGetEmailLanguageParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetEmailLanguageParamsWithTimeout

func NewGetPrivateGetEmailLanguageParamsWithTimeout(timeout time.Duration) *GetPrivateGetEmailLanguageParams

NewGetPrivateGetEmailLanguageParamsWithTimeout creates a new GetPrivateGetEmailLanguageParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetEmailLanguageParams) SetContext

SetContext adds the context to the get private get email language params

func (*GetPrivateGetEmailLanguageParams) SetHTTPClient

func (o *GetPrivateGetEmailLanguageParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get email language params

func (*GetPrivateGetEmailLanguageParams) SetTimeout

func (o *GetPrivateGetEmailLanguageParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private get email language params

func (*GetPrivateGetEmailLanguageParams) WithContext

WithContext adds the context to the get private get email language params

func (*GetPrivateGetEmailLanguageParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get email language params

func (*GetPrivateGetEmailLanguageParams) WithTimeout

WithTimeout adds the timeout to the get private get email language params

func (*GetPrivateGetEmailLanguageParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetEmailLanguageReader

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

GetPrivateGetEmailLanguageReader is a Reader for the GetPrivateGetEmailLanguage structure.

func (*GetPrivateGetEmailLanguageReader) ReadResponse

func (o *GetPrivateGetEmailLanguageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetMarginsOK

type GetPrivateGetMarginsOK struct {
	Payload *models.PrivateGetMarginsResponse
}

GetPrivateGetMarginsOK handles this case with default header values.

foo

func NewGetPrivateGetMarginsOK

func NewGetPrivateGetMarginsOK() *GetPrivateGetMarginsOK

NewGetPrivateGetMarginsOK creates a GetPrivateGetMarginsOK with default headers values

func (*GetPrivateGetMarginsOK) Error

func (o *GetPrivateGetMarginsOK) Error() string

type GetPrivateGetMarginsParams

type GetPrivateGetMarginsParams struct {

	/*Amount
	  Amount, integer for future, float for option. For perpetual and futures the amount is in USD units, for options it is amount of corresponding cryptocurrency contracts, e.g., BTC or ETH.

	*/
	Amount float64
	/*InstrumentName
	  Instrument name

	*/
	InstrumentName string
	/*Price
	  Price

	*/
	Price float64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetMarginsParams contains all the parameters to send to the API endpoint for the get private get margins operation typically these are written to a http.Request

func NewGetPrivateGetMarginsParams

func NewGetPrivateGetMarginsParams() *GetPrivateGetMarginsParams

NewGetPrivateGetMarginsParams creates a new GetPrivateGetMarginsParams object with the default values initialized.

func NewGetPrivateGetMarginsParamsWithContext

func NewGetPrivateGetMarginsParamsWithContext(ctx context.Context) *GetPrivateGetMarginsParams

NewGetPrivateGetMarginsParamsWithContext creates a new GetPrivateGetMarginsParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetMarginsParamsWithHTTPClient

func NewGetPrivateGetMarginsParamsWithHTTPClient(client *http.Client) *GetPrivateGetMarginsParams

NewGetPrivateGetMarginsParamsWithHTTPClient creates a new GetPrivateGetMarginsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetMarginsParamsWithTimeout

func NewGetPrivateGetMarginsParamsWithTimeout(timeout time.Duration) *GetPrivateGetMarginsParams

NewGetPrivateGetMarginsParamsWithTimeout creates a new GetPrivateGetMarginsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetMarginsParams) SetAmount

func (o *GetPrivateGetMarginsParams) SetAmount(amount float64)

SetAmount adds the amount to the get private get margins params

func (*GetPrivateGetMarginsParams) SetContext

func (o *GetPrivateGetMarginsParams) SetContext(ctx context.Context)

SetContext adds the context to the get private get margins params

func (*GetPrivateGetMarginsParams) SetHTTPClient

func (o *GetPrivateGetMarginsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get margins params

func (*GetPrivateGetMarginsParams) SetInstrumentName

func (o *GetPrivateGetMarginsParams) SetInstrumentName(instrumentName string)

SetInstrumentName adds the instrumentName to the get private get margins params

func (*GetPrivateGetMarginsParams) SetPrice

func (o *GetPrivateGetMarginsParams) SetPrice(price float64)

SetPrice adds the price to the get private get margins params

func (*GetPrivateGetMarginsParams) SetTimeout

func (o *GetPrivateGetMarginsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private get margins params

func (*GetPrivateGetMarginsParams) WithAmount

WithAmount adds the amount to the get private get margins params

func (*GetPrivateGetMarginsParams) WithContext

WithContext adds the context to the get private get margins params

func (*GetPrivateGetMarginsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get margins params

func (*GetPrivateGetMarginsParams) WithInstrumentName

func (o *GetPrivateGetMarginsParams) WithInstrumentName(instrumentName string) *GetPrivateGetMarginsParams

WithInstrumentName adds the instrumentName to the get private get margins params

func (*GetPrivateGetMarginsParams) WithPrice

WithPrice adds the price to the get private get margins params

func (*GetPrivateGetMarginsParams) WithTimeout

WithTimeout adds the timeout to the get private get margins params

func (*GetPrivateGetMarginsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetMarginsReader

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

GetPrivateGetMarginsReader is a Reader for the GetPrivateGetMargins structure.

func (*GetPrivateGetMarginsReader) ReadResponse

func (o *GetPrivateGetMarginsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetNewAnnouncementsOK

type GetPrivateGetNewAnnouncementsOK struct {
	Payload *models.GetAnnouncementsResponse
}

GetPrivateGetNewAnnouncementsOK handles this case with default header values.

foo

func NewGetPrivateGetNewAnnouncementsOK

func NewGetPrivateGetNewAnnouncementsOK() *GetPrivateGetNewAnnouncementsOK

NewGetPrivateGetNewAnnouncementsOK creates a GetPrivateGetNewAnnouncementsOK with default headers values

func (*GetPrivateGetNewAnnouncementsOK) Error

type GetPrivateGetNewAnnouncementsParams

type GetPrivateGetNewAnnouncementsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetNewAnnouncementsParams contains all the parameters to send to the API endpoint for the get private get new announcements operation typically these are written to a http.Request

func NewGetPrivateGetNewAnnouncementsParams

func NewGetPrivateGetNewAnnouncementsParams() *GetPrivateGetNewAnnouncementsParams

NewGetPrivateGetNewAnnouncementsParams creates a new GetPrivateGetNewAnnouncementsParams object with the default values initialized.

func NewGetPrivateGetNewAnnouncementsParamsWithContext

func NewGetPrivateGetNewAnnouncementsParamsWithContext(ctx context.Context) *GetPrivateGetNewAnnouncementsParams

NewGetPrivateGetNewAnnouncementsParamsWithContext creates a new GetPrivateGetNewAnnouncementsParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetNewAnnouncementsParamsWithHTTPClient

func NewGetPrivateGetNewAnnouncementsParamsWithHTTPClient(client *http.Client) *GetPrivateGetNewAnnouncementsParams

NewGetPrivateGetNewAnnouncementsParamsWithHTTPClient creates a new GetPrivateGetNewAnnouncementsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetNewAnnouncementsParamsWithTimeout

func NewGetPrivateGetNewAnnouncementsParamsWithTimeout(timeout time.Duration) *GetPrivateGetNewAnnouncementsParams

NewGetPrivateGetNewAnnouncementsParamsWithTimeout creates a new GetPrivateGetNewAnnouncementsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetNewAnnouncementsParams) SetContext

SetContext adds the context to the get private get new announcements params

func (*GetPrivateGetNewAnnouncementsParams) SetHTTPClient

func (o *GetPrivateGetNewAnnouncementsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get new announcements params

func (*GetPrivateGetNewAnnouncementsParams) SetTimeout

func (o *GetPrivateGetNewAnnouncementsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private get new announcements params

func (*GetPrivateGetNewAnnouncementsParams) WithContext

WithContext adds the context to the get private get new announcements params

func (*GetPrivateGetNewAnnouncementsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get new announcements params

func (*GetPrivateGetNewAnnouncementsParams) WithTimeout

WithTimeout adds the timeout to the get private get new announcements params

func (*GetPrivateGetNewAnnouncementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetNewAnnouncementsReader

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

GetPrivateGetNewAnnouncementsReader is a Reader for the GetPrivateGetNewAnnouncements structure.

func (*GetPrivateGetNewAnnouncementsReader) ReadResponse

func (o *GetPrivateGetNewAnnouncementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetOpenOrdersByCurrencyOK

type GetPrivateGetOpenOrdersByCurrencyOK struct {
	Payload *models.PrivateGetOpenOrdersResponse
}

GetPrivateGetOpenOrdersByCurrencyOK handles this case with default header values.

foo

func NewGetPrivateGetOpenOrdersByCurrencyOK

func NewGetPrivateGetOpenOrdersByCurrencyOK() *GetPrivateGetOpenOrdersByCurrencyOK

NewGetPrivateGetOpenOrdersByCurrencyOK creates a GetPrivateGetOpenOrdersByCurrencyOK with default headers values

func (*GetPrivateGetOpenOrdersByCurrencyOK) Error

type GetPrivateGetOpenOrdersByCurrencyParams

type GetPrivateGetOpenOrdersByCurrencyParams struct {

	/*Currency
	  The currency symbol

	*/
	Currency string
	/*Kind
	  Instrument kind, if not provided instruments of all kinds are considered

	*/
	Kind *string
	/*Type
	  Order type, default - `all`

	*/
	Type *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetOpenOrdersByCurrencyParams contains all the parameters to send to the API endpoint for the get private get open orders by currency operation typically these are written to a http.Request

func NewGetPrivateGetOpenOrdersByCurrencyParams

func NewGetPrivateGetOpenOrdersByCurrencyParams() *GetPrivateGetOpenOrdersByCurrencyParams

NewGetPrivateGetOpenOrdersByCurrencyParams creates a new GetPrivateGetOpenOrdersByCurrencyParams object with the default values initialized.

func NewGetPrivateGetOpenOrdersByCurrencyParamsWithContext

func NewGetPrivateGetOpenOrdersByCurrencyParamsWithContext(ctx context.Context) *GetPrivateGetOpenOrdersByCurrencyParams

NewGetPrivateGetOpenOrdersByCurrencyParamsWithContext creates a new GetPrivateGetOpenOrdersByCurrencyParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetOpenOrdersByCurrencyParamsWithHTTPClient

func NewGetPrivateGetOpenOrdersByCurrencyParamsWithHTTPClient(client *http.Client) *GetPrivateGetOpenOrdersByCurrencyParams

NewGetPrivateGetOpenOrdersByCurrencyParamsWithHTTPClient creates a new GetPrivateGetOpenOrdersByCurrencyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetOpenOrdersByCurrencyParamsWithTimeout

func NewGetPrivateGetOpenOrdersByCurrencyParamsWithTimeout(timeout time.Duration) *GetPrivateGetOpenOrdersByCurrencyParams

NewGetPrivateGetOpenOrdersByCurrencyParamsWithTimeout creates a new GetPrivateGetOpenOrdersByCurrencyParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetOpenOrdersByCurrencyParams) SetContext

SetContext adds the context to the get private get open orders by currency params

func (*GetPrivateGetOpenOrdersByCurrencyParams) SetCurrency

func (o *GetPrivateGetOpenOrdersByCurrencyParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private get open orders by currency params

func (*GetPrivateGetOpenOrdersByCurrencyParams) SetHTTPClient

func (o *GetPrivateGetOpenOrdersByCurrencyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get open orders by currency params

func (*GetPrivateGetOpenOrdersByCurrencyParams) SetKind

SetKind adds the kind to the get private get open orders by currency params

func (*GetPrivateGetOpenOrdersByCurrencyParams) SetTimeout

func (o *GetPrivateGetOpenOrdersByCurrencyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private get open orders by currency params

func (*GetPrivateGetOpenOrdersByCurrencyParams) SetType

func (o *GetPrivateGetOpenOrdersByCurrencyParams) SetType(typeVar *string)

SetType adds the type to the get private get open orders by currency params

func (*GetPrivateGetOpenOrdersByCurrencyParams) WithContext

WithContext adds the context to the get private get open orders by currency params

func (*GetPrivateGetOpenOrdersByCurrencyParams) WithCurrency

WithCurrency adds the currency to the get private get open orders by currency params

func (*GetPrivateGetOpenOrdersByCurrencyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get open orders by currency params

func (*GetPrivateGetOpenOrdersByCurrencyParams) WithKind

WithKind adds the kind to the get private get open orders by currency params

func (*GetPrivateGetOpenOrdersByCurrencyParams) WithTimeout

WithTimeout adds the timeout to the get private get open orders by currency params

func (*GetPrivateGetOpenOrdersByCurrencyParams) WithType

WithType adds the typeVar to the get private get open orders by currency params

func (*GetPrivateGetOpenOrdersByCurrencyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetOpenOrdersByCurrencyReader

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

GetPrivateGetOpenOrdersByCurrencyReader is a Reader for the GetPrivateGetOpenOrdersByCurrency structure.

func (*GetPrivateGetOpenOrdersByCurrencyReader) ReadResponse

func (o *GetPrivateGetOpenOrdersByCurrencyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetOpenOrdersByInstrumentOK

type GetPrivateGetOpenOrdersByInstrumentOK struct {
	Payload *models.PrivateGetOpenOrdersResponse
}

GetPrivateGetOpenOrdersByInstrumentOK handles this case with default header values.

foo

func NewGetPrivateGetOpenOrdersByInstrumentOK

func NewGetPrivateGetOpenOrdersByInstrumentOK() *GetPrivateGetOpenOrdersByInstrumentOK

NewGetPrivateGetOpenOrdersByInstrumentOK creates a GetPrivateGetOpenOrdersByInstrumentOK with default headers values

func (*GetPrivateGetOpenOrdersByInstrumentOK) Error

type GetPrivateGetOpenOrdersByInstrumentParams

type GetPrivateGetOpenOrdersByInstrumentParams struct {

	/*InstrumentName
	  Instrument name

	*/
	InstrumentName string
	/*Type
	  Order type, default - `all`

	*/
	Type *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetOpenOrdersByInstrumentParams contains all the parameters to send to the API endpoint for the get private get open orders by instrument operation typically these are written to a http.Request

func NewGetPrivateGetOpenOrdersByInstrumentParams

func NewGetPrivateGetOpenOrdersByInstrumentParams() *GetPrivateGetOpenOrdersByInstrumentParams

NewGetPrivateGetOpenOrdersByInstrumentParams creates a new GetPrivateGetOpenOrdersByInstrumentParams object with the default values initialized.

func NewGetPrivateGetOpenOrdersByInstrumentParamsWithContext

func NewGetPrivateGetOpenOrdersByInstrumentParamsWithContext(ctx context.Context) *GetPrivateGetOpenOrdersByInstrumentParams

NewGetPrivateGetOpenOrdersByInstrumentParamsWithContext creates a new GetPrivateGetOpenOrdersByInstrumentParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetOpenOrdersByInstrumentParamsWithHTTPClient

func NewGetPrivateGetOpenOrdersByInstrumentParamsWithHTTPClient(client *http.Client) *GetPrivateGetOpenOrdersByInstrumentParams

NewGetPrivateGetOpenOrdersByInstrumentParamsWithHTTPClient creates a new GetPrivateGetOpenOrdersByInstrumentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetOpenOrdersByInstrumentParamsWithTimeout

func NewGetPrivateGetOpenOrdersByInstrumentParamsWithTimeout(timeout time.Duration) *GetPrivateGetOpenOrdersByInstrumentParams

NewGetPrivateGetOpenOrdersByInstrumentParamsWithTimeout creates a new GetPrivateGetOpenOrdersByInstrumentParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetOpenOrdersByInstrumentParams) SetContext

SetContext adds the context to the get private get open orders by instrument params

func (*GetPrivateGetOpenOrdersByInstrumentParams) SetHTTPClient

func (o *GetPrivateGetOpenOrdersByInstrumentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get open orders by instrument params

func (*GetPrivateGetOpenOrdersByInstrumentParams) SetInstrumentName

func (o *GetPrivateGetOpenOrdersByInstrumentParams) SetInstrumentName(instrumentName string)

SetInstrumentName adds the instrumentName to the get private get open orders by instrument params

func (*GetPrivateGetOpenOrdersByInstrumentParams) SetTimeout

SetTimeout adds the timeout to the get private get open orders by instrument params

func (*GetPrivateGetOpenOrdersByInstrumentParams) SetType

SetType adds the type to the get private get open orders by instrument params

func (*GetPrivateGetOpenOrdersByInstrumentParams) WithContext

WithContext adds the context to the get private get open orders by instrument params

func (*GetPrivateGetOpenOrdersByInstrumentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get open orders by instrument params

func (*GetPrivateGetOpenOrdersByInstrumentParams) WithInstrumentName

WithInstrumentName adds the instrumentName to the get private get open orders by instrument params

func (*GetPrivateGetOpenOrdersByInstrumentParams) WithTimeout

WithTimeout adds the timeout to the get private get open orders by instrument params

func (*GetPrivateGetOpenOrdersByInstrumentParams) WithType

WithType adds the typeVar to the get private get open orders by instrument params

func (*GetPrivateGetOpenOrdersByInstrumentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetOpenOrdersByInstrumentReader

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

GetPrivateGetOpenOrdersByInstrumentReader is a Reader for the GetPrivateGetOpenOrdersByInstrument structure.

func (*GetPrivateGetOpenOrdersByInstrumentReader) ReadResponse

func (o *GetPrivateGetOpenOrdersByInstrumentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetOrderHistoryByCurrencyOK

type GetPrivateGetOrderHistoryByCurrencyOK struct {
	Payload *models.PrivateGetOrderHistoryResponse
}

GetPrivateGetOrderHistoryByCurrencyOK handles this case with default header values.

foo

func NewGetPrivateGetOrderHistoryByCurrencyOK

func NewGetPrivateGetOrderHistoryByCurrencyOK() *GetPrivateGetOrderHistoryByCurrencyOK

NewGetPrivateGetOrderHistoryByCurrencyOK creates a GetPrivateGetOrderHistoryByCurrencyOK with default headers values

func (*GetPrivateGetOrderHistoryByCurrencyOK) Error

type GetPrivateGetOrderHistoryByCurrencyParams

type GetPrivateGetOrderHistoryByCurrencyParams struct {

	/*Count
	  Number of requested items, default - `20`

	*/
	Count *int64
	/*Currency
	  The currency symbol

	*/
	Currency string
	/*IncludeOld
	  Include in result orders older than 2 days, default - `false`

	*/
	IncludeOld *bool
	/*IncludeUnfilled
	  Include in result fully unfilled closed orders, default - `false`

	*/
	IncludeUnfilled *bool
	/*Kind
	  Instrument kind, if not provided instruments of all kinds are considered

	*/
	Kind *string
	/*Offset
	  The offset for pagination, default - `0`

	*/
	Offset *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetOrderHistoryByCurrencyParams contains all the parameters to send to the API endpoint for the get private get order history by currency operation typically these are written to a http.Request

func NewGetPrivateGetOrderHistoryByCurrencyParams

func NewGetPrivateGetOrderHistoryByCurrencyParams() *GetPrivateGetOrderHistoryByCurrencyParams

NewGetPrivateGetOrderHistoryByCurrencyParams creates a new GetPrivateGetOrderHistoryByCurrencyParams object with the default values initialized.

func NewGetPrivateGetOrderHistoryByCurrencyParamsWithContext

func NewGetPrivateGetOrderHistoryByCurrencyParamsWithContext(ctx context.Context) *GetPrivateGetOrderHistoryByCurrencyParams

NewGetPrivateGetOrderHistoryByCurrencyParamsWithContext creates a new GetPrivateGetOrderHistoryByCurrencyParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetOrderHistoryByCurrencyParamsWithHTTPClient

func NewGetPrivateGetOrderHistoryByCurrencyParamsWithHTTPClient(client *http.Client) *GetPrivateGetOrderHistoryByCurrencyParams

NewGetPrivateGetOrderHistoryByCurrencyParamsWithHTTPClient creates a new GetPrivateGetOrderHistoryByCurrencyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetOrderHistoryByCurrencyParamsWithTimeout

func NewGetPrivateGetOrderHistoryByCurrencyParamsWithTimeout(timeout time.Duration) *GetPrivateGetOrderHistoryByCurrencyParams

NewGetPrivateGetOrderHistoryByCurrencyParamsWithTimeout creates a new GetPrivateGetOrderHistoryByCurrencyParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetOrderHistoryByCurrencyParams) SetContext

SetContext adds the context to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) SetCount

SetCount adds the count to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) SetCurrency

func (o *GetPrivateGetOrderHistoryByCurrencyParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) SetHTTPClient

func (o *GetPrivateGetOrderHistoryByCurrencyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) SetIncludeOld

func (o *GetPrivateGetOrderHistoryByCurrencyParams) SetIncludeOld(includeOld *bool)

SetIncludeOld adds the includeOld to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) SetIncludeUnfilled

func (o *GetPrivateGetOrderHistoryByCurrencyParams) SetIncludeUnfilled(includeUnfilled *bool)

SetIncludeUnfilled adds the includeUnfilled to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) SetKind

SetKind adds the kind to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) SetOffset

func (o *GetPrivateGetOrderHistoryByCurrencyParams) SetOffset(offset *int64)

SetOffset adds the offset to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) SetTimeout

SetTimeout adds the timeout to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) WithContext

WithContext adds the context to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) WithCount

WithCount adds the count to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) WithCurrency

WithCurrency adds the currency to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) WithIncludeOld

WithIncludeOld adds the includeOld to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) WithIncludeUnfilled

WithIncludeUnfilled adds the includeUnfilled to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) WithKind

WithKind adds the kind to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) WithOffset

WithOffset adds the offset to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) WithTimeout

WithTimeout adds the timeout to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetOrderHistoryByCurrencyReader

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

GetPrivateGetOrderHistoryByCurrencyReader is a Reader for the GetPrivateGetOrderHistoryByCurrency structure.

func (*GetPrivateGetOrderHistoryByCurrencyReader) ReadResponse

func (o *GetPrivateGetOrderHistoryByCurrencyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetOrderHistoryByInstrumentOK

type GetPrivateGetOrderHistoryByInstrumentOK struct {
	Payload *models.PrivateGetOrderHistoryResponse
}

GetPrivateGetOrderHistoryByInstrumentOK handles this case with default header values.

foo

func NewGetPrivateGetOrderHistoryByInstrumentOK

func NewGetPrivateGetOrderHistoryByInstrumentOK() *GetPrivateGetOrderHistoryByInstrumentOK

NewGetPrivateGetOrderHistoryByInstrumentOK creates a GetPrivateGetOrderHistoryByInstrumentOK with default headers values

func (*GetPrivateGetOrderHistoryByInstrumentOK) Error

type GetPrivateGetOrderHistoryByInstrumentParams

type GetPrivateGetOrderHistoryByInstrumentParams struct {

	/*Count
	  Number of requested items, default - `20`

	*/
	Count *int64
	/*IncludeOld
	  Include in result orders older than 2 days, default - `false`

	*/
	IncludeOld *bool
	/*IncludeUnfilled
	  Include in result fully unfilled closed orders, default - `false`

	*/
	IncludeUnfilled *bool
	/*InstrumentName
	  Instrument name

	*/
	InstrumentName string
	/*Offset
	  The offset for pagination, default - `0`

	*/
	Offset *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetOrderHistoryByInstrumentParams contains all the parameters to send to the API endpoint for the get private get order history by instrument operation typically these are written to a http.Request

func NewGetPrivateGetOrderHistoryByInstrumentParams

func NewGetPrivateGetOrderHistoryByInstrumentParams() *GetPrivateGetOrderHistoryByInstrumentParams

NewGetPrivateGetOrderHistoryByInstrumentParams creates a new GetPrivateGetOrderHistoryByInstrumentParams object with the default values initialized.

func NewGetPrivateGetOrderHistoryByInstrumentParamsWithContext

func NewGetPrivateGetOrderHistoryByInstrumentParamsWithContext(ctx context.Context) *GetPrivateGetOrderHistoryByInstrumentParams

NewGetPrivateGetOrderHistoryByInstrumentParamsWithContext creates a new GetPrivateGetOrderHistoryByInstrumentParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetOrderHistoryByInstrumentParamsWithHTTPClient

func NewGetPrivateGetOrderHistoryByInstrumentParamsWithHTTPClient(client *http.Client) *GetPrivateGetOrderHistoryByInstrumentParams

NewGetPrivateGetOrderHistoryByInstrumentParamsWithHTTPClient creates a new GetPrivateGetOrderHistoryByInstrumentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetOrderHistoryByInstrumentParamsWithTimeout

func NewGetPrivateGetOrderHistoryByInstrumentParamsWithTimeout(timeout time.Duration) *GetPrivateGetOrderHistoryByInstrumentParams

NewGetPrivateGetOrderHistoryByInstrumentParamsWithTimeout creates a new GetPrivateGetOrderHistoryByInstrumentParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetOrderHistoryByInstrumentParams) SetContext

SetContext adds the context to the get private get order history by instrument params

func (*GetPrivateGetOrderHistoryByInstrumentParams) SetCount

SetCount adds the count to the get private get order history by instrument params

func (*GetPrivateGetOrderHistoryByInstrumentParams) SetHTTPClient

func (o *GetPrivateGetOrderHistoryByInstrumentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get order history by instrument params

func (*GetPrivateGetOrderHistoryByInstrumentParams) SetIncludeOld

func (o *GetPrivateGetOrderHistoryByInstrumentParams) SetIncludeOld(includeOld *bool)

SetIncludeOld adds the includeOld to the get private get order history by instrument params

func (*GetPrivateGetOrderHistoryByInstrumentParams) SetIncludeUnfilled

func (o *GetPrivateGetOrderHistoryByInstrumentParams) SetIncludeUnfilled(includeUnfilled *bool)

SetIncludeUnfilled adds the includeUnfilled to the get private get order history by instrument params

func (*GetPrivateGetOrderHistoryByInstrumentParams) SetInstrumentName

func (o *GetPrivateGetOrderHistoryByInstrumentParams) SetInstrumentName(instrumentName string)

SetInstrumentName adds the instrumentName to the get private get order history by instrument params

func (*GetPrivateGetOrderHistoryByInstrumentParams) SetOffset

func (o *GetPrivateGetOrderHistoryByInstrumentParams) SetOffset(offset *int64)

SetOffset adds the offset to the get private get order history by instrument params

func (*GetPrivateGetOrderHistoryByInstrumentParams) SetTimeout

SetTimeout adds the timeout to the get private get order history by instrument params

func (*GetPrivateGetOrderHistoryByInstrumentParams) WithContext

WithContext adds the context to the get private get order history by instrument params

func (*GetPrivateGetOrderHistoryByInstrumentParams) WithCount

WithCount adds the count to the get private get order history by instrument params

func (*GetPrivateGetOrderHistoryByInstrumentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get order history by instrument params

func (*GetPrivateGetOrderHistoryByInstrumentParams) WithIncludeOld

WithIncludeOld adds the includeOld to the get private get order history by instrument params

func (*GetPrivateGetOrderHistoryByInstrumentParams) WithIncludeUnfilled

WithIncludeUnfilled adds the includeUnfilled to the get private get order history by instrument params

func (*GetPrivateGetOrderHistoryByInstrumentParams) WithInstrumentName

WithInstrumentName adds the instrumentName to the get private get order history by instrument params

func (*GetPrivateGetOrderHistoryByInstrumentParams) WithOffset

WithOffset adds the offset to the get private get order history by instrument params

func (*GetPrivateGetOrderHistoryByInstrumentParams) WithTimeout

WithTimeout adds the timeout to the get private get order history by instrument params

func (*GetPrivateGetOrderHistoryByInstrumentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetOrderHistoryByInstrumentReader

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

GetPrivateGetOrderHistoryByInstrumentReader is a Reader for the GetPrivateGetOrderHistoryByInstrument structure.

func (*GetPrivateGetOrderHistoryByInstrumentReader) ReadResponse

func (o *GetPrivateGetOrderHistoryByInstrumentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetOrderMarginByIdsOK

type GetPrivateGetOrderMarginByIdsOK struct {
	Payload *models.PrivateGetOrderMarginByIdsResponse
}

GetPrivateGetOrderMarginByIdsOK handles this case with default header values.

foo

func NewGetPrivateGetOrderMarginByIdsOK

func NewGetPrivateGetOrderMarginByIdsOK() *GetPrivateGetOrderMarginByIdsOK

NewGetPrivateGetOrderMarginByIdsOK creates a GetPrivateGetOrderMarginByIdsOK with default headers values

func (*GetPrivateGetOrderMarginByIdsOK) Error

type GetPrivateGetOrderMarginByIdsParams

type GetPrivateGetOrderMarginByIdsParams struct {

	/*Ids
	  Ids of orders

	*/
	Ids []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetOrderMarginByIdsParams contains all the parameters to send to the API endpoint for the get private get order margin by ids operation typically these are written to a http.Request

func NewGetPrivateGetOrderMarginByIdsParams

func NewGetPrivateGetOrderMarginByIdsParams() *GetPrivateGetOrderMarginByIdsParams

NewGetPrivateGetOrderMarginByIdsParams creates a new GetPrivateGetOrderMarginByIdsParams object with the default values initialized.

func NewGetPrivateGetOrderMarginByIdsParamsWithContext

func NewGetPrivateGetOrderMarginByIdsParamsWithContext(ctx context.Context) *GetPrivateGetOrderMarginByIdsParams

NewGetPrivateGetOrderMarginByIdsParamsWithContext creates a new GetPrivateGetOrderMarginByIdsParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetOrderMarginByIdsParamsWithHTTPClient

func NewGetPrivateGetOrderMarginByIdsParamsWithHTTPClient(client *http.Client) *GetPrivateGetOrderMarginByIdsParams

NewGetPrivateGetOrderMarginByIdsParamsWithHTTPClient creates a new GetPrivateGetOrderMarginByIdsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetOrderMarginByIdsParamsWithTimeout

func NewGetPrivateGetOrderMarginByIdsParamsWithTimeout(timeout time.Duration) *GetPrivateGetOrderMarginByIdsParams

NewGetPrivateGetOrderMarginByIdsParamsWithTimeout creates a new GetPrivateGetOrderMarginByIdsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetOrderMarginByIdsParams) SetContext

SetContext adds the context to the get private get order margin by ids params

func (*GetPrivateGetOrderMarginByIdsParams) SetHTTPClient

func (o *GetPrivateGetOrderMarginByIdsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get order margin by ids params

func (*GetPrivateGetOrderMarginByIdsParams) SetIds

SetIds adds the ids to the get private get order margin by ids params

func (*GetPrivateGetOrderMarginByIdsParams) SetTimeout

func (o *GetPrivateGetOrderMarginByIdsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private get order margin by ids params

func (*GetPrivateGetOrderMarginByIdsParams) WithContext

WithContext adds the context to the get private get order margin by ids params

func (*GetPrivateGetOrderMarginByIdsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get order margin by ids params

func (*GetPrivateGetOrderMarginByIdsParams) WithIds

WithIds adds the ids to the get private get order margin by ids params

func (*GetPrivateGetOrderMarginByIdsParams) WithTimeout

WithTimeout adds the timeout to the get private get order margin by ids params

func (*GetPrivateGetOrderMarginByIdsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetOrderMarginByIdsReader

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

GetPrivateGetOrderMarginByIdsReader is a Reader for the GetPrivateGetOrderMarginByIds structure.

func (*GetPrivateGetOrderMarginByIdsReader) ReadResponse

func (o *GetPrivateGetOrderMarginByIdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetOrderStateBadRequest

type GetPrivateGetOrderStateBadRequest struct {
	Payload *models.ErrorMessage
}

GetPrivateGetOrderStateBadRequest handles this case with default header values.

result when used via rest/HTTP

func NewGetPrivateGetOrderStateBadRequest

func NewGetPrivateGetOrderStateBadRequest() *GetPrivateGetOrderStateBadRequest

NewGetPrivateGetOrderStateBadRequest creates a GetPrivateGetOrderStateBadRequest with default headers values

func (*GetPrivateGetOrderStateBadRequest) Error

type GetPrivateGetOrderStateOK

type GetPrivateGetOrderStateOK struct {
	Payload *models.PrivateGetOrderStateResponse
}

GetPrivateGetOrderStateOK handles this case with default header values.

foo

func NewGetPrivateGetOrderStateOK

func NewGetPrivateGetOrderStateOK() *GetPrivateGetOrderStateOK

NewGetPrivateGetOrderStateOK creates a GetPrivateGetOrderStateOK with default headers values

func (*GetPrivateGetOrderStateOK) Error

func (o *GetPrivateGetOrderStateOK) Error() string

type GetPrivateGetOrderStateParams

type GetPrivateGetOrderStateParams struct {

	/*OrderID
	  The order id

	*/
	OrderID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetOrderStateParams contains all the parameters to send to the API endpoint for the get private get order state operation typically these are written to a http.Request

func NewGetPrivateGetOrderStateParams

func NewGetPrivateGetOrderStateParams() *GetPrivateGetOrderStateParams

NewGetPrivateGetOrderStateParams creates a new GetPrivateGetOrderStateParams object with the default values initialized.

func NewGetPrivateGetOrderStateParamsWithContext

func NewGetPrivateGetOrderStateParamsWithContext(ctx context.Context) *GetPrivateGetOrderStateParams

NewGetPrivateGetOrderStateParamsWithContext creates a new GetPrivateGetOrderStateParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetOrderStateParamsWithHTTPClient

func NewGetPrivateGetOrderStateParamsWithHTTPClient(client *http.Client) *GetPrivateGetOrderStateParams

NewGetPrivateGetOrderStateParamsWithHTTPClient creates a new GetPrivateGetOrderStateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetOrderStateParamsWithTimeout

func NewGetPrivateGetOrderStateParamsWithTimeout(timeout time.Duration) *GetPrivateGetOrderStateParams

NewGetPrivateGetOrderStateParamsWithTimeout creates a new GetPrivateGetOrderStateParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetOrderStateParams) SetContext

func (o *GetPrivateGetOrderStateParams) SetContext(ctx context.Context)

SetContext adds the context to the get private get order state params

func (*GetPrivateGetOrderStateParams) SetHTTPClient

func (o *GetPrivateGetOrderStateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get order state params

func (*GetPrivateGetOrderStateParams) SetOrderID

func (o *GetPrivateGetOrderStateParams) SetOrderID(orderID string)

SetOrderID adds the orderId to the get private get order state params

func (*GetPrivateGetOrderStateParams) SetTimeout

func (o *GetPrivateGetOrderStateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private get order state params

func (*GetPrivateGetOrderStateParams) WithContext

WithContext adds the context to the get private get order state params

func (*GetPrivateGetOrderStateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get order state params

func (*GetPrivateGetOrderStateParams) WithOrderID

WithOrderID adds the orderID to the get private get order state params

func (*GetPrivateGetOrderStateParams) WithTimeout

WithTimeout adds the timeout to the get private get order state params

func (*GetPrivateGetOrderStateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetOrderStateReader

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

GetPrivateGetOrderStateReader is a Reader for the GetPrivateGetOrderState structure.

func (*GetPrivateGetOrderStateReader) ReadResponse

func (o *GetPrivateGetOrderStateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetPositionBadRequest

type GetPrivateGetPositionBadRequest struct {
	Payload *models.ErrorMessage
}

GetPrivateGetPositionBadRequest handles this case with default header values.

When some error occurs

func NewGetPrivateGetPositionBadRequest

func NewGetPrivateGetPositionBadRequest() *GetPrivateGetPositionBadRequest

NewGetPrivateGetPositionBadRequest creates a GetPrivateGetPositionBadRequest with default headers values

func (*GetPrivateGetPositionBadRequest) Error

type GetPrivateGetPositionOK

type GetPrivateGetPositionOK struct {
	Payload *models.PrivateGetPositionResponse
}

GetPrivateGetPositionOK handles this case with default header values.

foo

func NewGetPrivateGetPositionOK

func NewGetPrivateGetPositionOK() *GetPrivateGetPositionOK

NewGetPrivateGetPositionOK creates a GetPrivateGetPositionOK with default headers values

func (*GetPrivateGetPositionOK) Error

func (o *GetPrivateGetPositionOK) Error() string

type GetPrivateGetPositionParams

type GetPrivateGetPositionParams struct {

	/*InstrumentName
	  Instrument name

	*/
	InstrumentName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetPositionParams contains all the parameters to send to the API endpoint for the get private get position operation typically these are written to a http.Request

func NewGetPrivateGetPositionParams

func NewGetPrivateGetPositionParams() *GetPrivateGetPositionParams

NewGetPrivateGetPositionParams creates a new GetPrivateGetPositionParams object with the default values initialized.

func NewGetPrivateGetPositionParamsWithContext

func NewGetPrivateGetPositionParamsWithContext(ctx context.Context) *GetPrivateGetPositionParams

NewGetPrivateGetPositionParamsWithContext creates a new GetPrivateGetPositionParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetPositionParamsWithHTTPClient

func NewGetPrivateGetPositionParamsWithHTTPClient(client *http.Client) *GetPrivateGetPositionParams

NewGetPrivateGetPositionParamsWithHTTPClient creates a new GetPrivateGetPositionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetPositionParamsWithTimeout

func NewGetPrivateGetPositionParamsWithTimeout(timeout time.Duration) *GetPrivateGetPositionParams

NewGetPrivateGetPositionParamsWithTimeout creates a new GetPrivateGetPositionParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetPositionParams) SetContext

func (o *GetPrivateGetPositionParams) SetContext(ctx context.Context)

SetContext adds the context to the get private get position params

func (*GetPrivateGetPositionParams) SetHTTPClient

func (o *GetPrivateGetPositionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get position params

func (*GetPrivateGetPositionParams) SetInstrumentName

func (o *GetPrivateGetPositionParams) SetInstrumentName(instrumentName string)

SetInstrumentName adds the instrumentName to the get private get position params

func (*GetPrivateGetPositionParams) SetTimeout

func (o *GetPrivateGetPositionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private get position params

func (*GetPrivateGetPositionParams) WithContext

WithContext adds the context to the get private get position params

func (*GetPrivateGetPositionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get position params

func (*GetPrivateGetPositionParams) WithInstrumentName

func (o *GetPrivateGetPositionParams) WithInstrumentName(instrumentName string) *GetPrivateGetPositionParams

WithInstrumentName adds the instrumentName to the get private get position params

func (*GetPrivateGetPositionParams) WithTimeout

WithTimeout adds the timeout to the get private get position params

func (*GetPrivateGetPositionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetPositionReader

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

GetPrivateGetPositionReader is a Reader for the GetPrivateGetPosition structure.

func (*GetPrivateGetPositionReader) ReadResponse

func (o *GetPrivateGetPositionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetPositionsBadRequest

type GetPrivateGetPositionsBadRequest struct {
	Payload *models.ErrorMessage
}

GetPrivateGetPositionsBadRequest handles this case with default header values.

When some error occurs

func NewGetPrivateGetPositionsBadRequest

func NewGetPrivateGetPositionsBadRequest() *GetPrivateGetPositionsBadRequest

NewGetPrivateGetPositionsBadRequest creates a GetPrivateGetPositionsBadRequest with default headers values

func (*GetPrivateGetPositionsBadRequest) Error

type GetPrivateGetPositionsOK

type GetPrivateGetPositionsOK struct {
	Payload *models.PrivateGetPositionsResponse
}

GetPrivateGetPositionsOK handles this case with default header values.

foo

func NewGetPrivateGetPositionsOK

func NewGetPrivateGetPositionsOK() *GetPrivateGetPositionsOK

NewGetPrivateGetPositionsOK creates a GetPrivateGetPositionsOK with default headers values

func (*GetPrivateGetPositionsOK) Error

func (o *GetPrivateGetPositionsOK) Error() string

type GetPrivateGetPositionsParams

type GetPrivateGetPositionsParams struct {

	/*Currency*/
	Currency string
	/*Kind
	  Kind filter on positions

	*/
	Kind *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetPositionsParams contains all the parameters to send to the API endpoint for the get private get positions operation typically these are written to a http.Request

func NewGetPrivateGetPositionsParams

func NewGetPrivateGetPositionsParams() *GetPrivateGetPositionsParams

NewGetPrivateGetPositionsParams creates a new GetPrivateGetPositionsParams object with the default values initialized.

func NewGetPrivateGetPositionsParamsWithContext

func NewGetPrivateGetPositionsParamsWithContext(ctx context.Context) *GetPrivateGetPositionsParams

NewGetPrivateGetPositionsParamsWithContext creates a new GetPrivateGetPositionsParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetPositionsParamsWithHTTPClient

func NewGetPrivateGetPositionsParamsWithHTTPClient(client *http.Client) *GetPrivateGetPositionsParams

NewGetPrivateGetPositionsParamsWithHTTPClient creates a new GetPrivateGetPositionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetPositionsParamsWithTimeout

func NewGetPrivateGetPositionsParamsWithTimeout(timeout time.Duration) *GetPrivateGetPositionsParams

NewGetPrivateGetPositionsParamsWithTimeout creates a new GetPrivateGetPositionsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetPositionsParams) SetContext

func (o *GetPrivateGetPositionsParams) SetContext(ctx context.Context)

SetContext adds the context to the get private get positions params

func (*GetPrivateGetPositionsParams) SetCurrency

func (o *GetPrivateGetPositionsParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private get positions params

func (*GetPrivateGetPositionsParams) SetHTTPClient

func (o *GetPrivateGetPositionsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get positions params

func (*GetPrivateGetPositionsParams) SetKind

func (o *GetPrivateGetPositionsParams) SetKind(kind *string)

SetKind adds the kind to the get private get positions params

func (*GetPrivateGetPositionsParams) SetTimeout

func (o *GetPrivateGetPositionsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private get positions params

func (*GetPrivateGetPositionsParams) WithContext

WithContext adds the context to the get private get positions params

func (*GetPrivateGetPositionsParams) WithCurrency

WithCurrency adds the currency to the get private get positions params

func (*GetPrivateGetPositionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get positions params

func (*GetPrivateGetPositionsParams) WithKind

WithKind adds the kind to the get private get positions params

func (*GetPrivateGetPositionsParams) WithTimeout

WithTimeout adds the timeout to the get private get positions params

func (*GetPrivateGetPositionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetPositionsReader

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

GetPrivateGetPositionsReader is a Reader for the GetPrivateGetPositions structure.

func (*GetPrivateGetPositionsReader) ReadResponse

func (o *GetPrivateGetPositionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetSettlementHistoryByCurrencyOK

type GetPrivateGetSettlementHistoryByCurrencyOK struct {
	Payload *models.PrivateSettlementResponse
}

GetPrivateGetSettlementHistoryByCurrencyOK handles this case with default header values.

foo

func NewGetPrivateGetSettlementHistoryByCurrencyOK

func NewGetPrivateGetSettlementHistoryByCurrencyOK() *GetPrivateGetSettlementHistoryByCurrencyOK

NewGetPrivateGetSettlementHistoryByCurrencyOK creates a GetPrivateGetSettlementHistoryByCurrencyOK with default headers values

func (*GetPrivateGetSettlementHistoryByCurrencyOK) Error

type GetPrivateGetSettlementHistoryByCurrencyParams

type GetPrivateGetSettlementHistoryByCurrencyParams struct {

	/*Count
	  Number of requested items, default - `20`

	*/
	Count *int64
	/*Currency
	  The currency symbol

	*/
	Currency string
	/*Type
	  Settlement type

	*/
	Type *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetSettlementHistoryByCurrencyParams contains all the parameters to send to the API endpoint for the get private get settlement history by currency operation typically these are written to a http.Request

func NewGetPrivateGetSettlementHistoryByCurrencyParams

func NewGetPrivateGetSettlementHistoryByCurrencyParams() *GetPrivateGetSettlementHistoryByCurrencyParams

NewGetPrivateGetSettlementHistoryByCurrencyParams creates a new GetPrivateGetSettlementHistoryByCurrencyParams object with the default values initialized.

func NewGetPrivateGetSettlementHistoryByCurrencyParamsWithContext

func NewGetPrivateGetSettlementHistoryByCurrencyParamsWithContext(ctx context.Context) *GetPrivateGetSettlementHistoryByCurrencyParams

NewGetPrivateGetSettlementHistoryByCurrencyParamsWithContext creates a new GetPrivateGetSettlementHistoryByCurrencyParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetSettlementHistoryByCurrencyParamsWithHTTPClient

func NewGetPrivateGetSettlementHistoryByCurrencyParamsWithHTTPClient(client *http.Client) *GetPrivateGetSettlementHistoryByCurrencyParams

NewGetPrivateGetSettlementHistoryByCurrencyParamsWithHTTPClient creates a new GetPrivateGetSettlementHistoryByCurrencyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetSettlementHistoryByCurrencyParamsWithTimeout

func NewGetPrivateGetSettlementHistoryByCurrencyParamsWithTimeout(timeout time.Duration) *GetPrivateGetSettlementHistoryByCurrencyParams

NewGetPrivateGetSettlementHistoryByCurrencyParamsWithTimeout creates a new GetPrivateGetSettlementHistoryByCurrencyParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetSettlementHistoryByCurrencyParams) SetContext

SetContext adds the context to the get private get settlement history by currency params

func (*GetPrivateGetSettlementHistoryByCurrencyParams) SetCount

SetCount adds the count to the get private get settlement history by currency params

func (*GetPrivateGetSettlementHistoryByCurrencyParams) SetCurrency

func (o *GetPrivateGetSettlementHistoryByCurrencyParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private get settlement history by currency params

func (*GetPrivateGetSettlementHistoryByCurrencyParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get private get settlement history by currency params

func (*GetPrivateGetSettlementHistoryByCurrencyParams) SetTimeout

SetTimeout adds the timeout to the get private get settlement history by currency params

func (*GetPrivateGetSettlementHistoryByCurrencyParams) SetType

SetType adds the type to the get private get settlement history by currency params

func (*GetPrivateGetSettlementHistoryByCurrencyParams) WithContext

WithContext adds the context to the get private get settlement history by currency params

func (*GetPrivateGetSettlementHistoryByCurrencyParams) WithCount

WithCount adds the count to the get private get settlement history by currency params

func (*GetPrivateGetSettlementHistoryByCurrencyParams) WithCurrency

WithCurrency adds the currency to the get private get settlement history by currency params

func (*GetPrivateGetSettlementHistoryByCurrencyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get settlement history by currency params

func (*GetPrivateGetSettlementHistoryByCurrencyParams) WithTimeout

WithTimeout adds the timeout to the get private get settlement history by currency params

func (*GetPrivateGetSettlementHistoryByCurrencyParams) WithType

WithType adds the typeVar to the get private get settlement history by currency params

func (*GetPrivateGetSettlementHistoryByCurrencyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetSettlementHistoryByCurrencyReader

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

GetPrivateGetSettlementHistoryByCurrencyReader is a Reader for the GetPrivateGetSettlementHistoryByCurrency structure.

func (*GetPrivateGetSettlementHistoryByCurrencyReader) ReadResponse

func (o *GetPrivateGetSettlementHistoryByCurrencyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetSettlementHistoryByInstrumentOK

type GetPrivateGetSettlementHistoryByInstrumentOK struct {
	Payload *models.PrivateSettlementResponse
}

GetPrivateGetSettlementHistoryByInstrumentOK handles this case with default header values.

foo

func NewGetPrivateGetSettlementHistoryByInstrumentOK

func NewGetPrivateGetSettlementHistoryByInstrumentOK() *GetPrivateGetSettlementHistoryByInstrumentOK

NewGetPrivateGetSettlementHistoryByInstrumentOK creates a GetPrivateGetSettlementHistoryByInstrumentOK with default headers values

func (*GetPrivateGetSettlementHistoryByInstrumentOK) Error

type GetPrivateGetSettlementHistoryByInstrumentParams

type GetPrivateGetSettlementHistoryByInstrumentParams struct {

	/*Count
	  Number of requested items, default - `20`

	*/
	Count *int64
	/*InstrumentName
	  Instrument name

	*/
	InstrumentName string
	/*Type
	  Settlement type

	*/
	Type *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetSettlementHistoryByInstrumentParams contains all the parameters to send to the API endpoint for the get private get settlement history by instrument operation typically these are written to a http.Request

func NewGetPrivateGetSettlementHistoryByInstrumentParams

func NewGetPrivateGetSettlementHistoryByInstrumentParams() *GetPrivateGetSettlementHistoryByInstrumentParams

NewGetPrivateGetSettlementHistoryByInstrumentParams creates a new GetPrivateGetSettlementHistoryByInstrumentParams object with the default values initialized.

func NewGetPrivateGetSettlementHistoryByInstrumentParamsWithContext

func NewGetPrivateGetSettlementHistoryByInstrumentParamsWithContext(ctx context.Context) *GetPrivateGetSettlementHistoryByInstrumentParams

NewGetPrivateGetSettlementHistoryByInstrumentParamsWithContext creates a new GetPrivateGetSettlementHistoryByInstrumentParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetSettlementHistoryByInstrumentParamsWithHTTPClient

func NewGetPrivateGetSettlementHistoryByInstrumentParamsWithHTTPClient(client *http.Client) *GetPrivateGetSettlementHistoryByInstrumentParams

NewGetPrivateGetSettlementHistoryByInstrumentParamsWithHTTPClient creates a new GetPrivateGetSettlementHistoryByInstrumentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetSettlementHistoryByInstrumentParamsWithTimeout

func NewGetPrivateGetSettlementHistoryByInstrumentParamsWithTimeout(timeout time.Duration) *GetPrivateGetSettlementHistoryByInstrumentParams

NewGetPrivateGetSettlementHistoryByInstrumentParamsWithTimeout creates a new GetPrivateGetSettlementHistoryByInstrumentParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetSettlementHistoryByInstrumentParams) SetContext

SetContext adds the context to the get private get settlement history by instrument params

func (*GetPrivateGetSettlementHistoryByInstrumentParams) SetCount

SetCount adds the count to the get private get settlement history by instrument params

func (*GetPrivateGetSettlementHistoryByInstrumentParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get private get settlement history by instrument params

func (*GetPrivateGetSettlementHistoryByInstrumentParams) SetInstrumentName

func (o *GetPrivateGetSettlementHistoryByInstrumentParams) SetInstrumentName(instrumentName string)

SetInstrumentName adds the instrumentName to the get private get settlement history by instrument params

func (*GetPrivateGetSettlementHistoryByInstrumentParams) SetTimeout

SetTimeout adds the timeout to the get private get settlement history by instrument params

func (*GetPrivateGetSettlementHistoryByInstrumentParams) SetType

SetType adds the type to the get private get settlement history by instrument params

func (*GetPrivateGetSettlementHistoryByInstrumentParams) WithContext

WithContext adds the context to the get private get settlement history by instrument params

func (*GetPrivateGetSettlementHistoryByInstrumentParams) WithCount

WithCount adds the count to the get private get settlement history by instrument params

func (*GetPrivateGetSettlementHistoryByInstrumentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get settlement history by instrument params

func (*GetPrivateGetSettlementHistoryByInstrumentParams) WithInstrumentName

WithInstrumentName adds the instrumentName to the get private get settlement history by instrument params

func (*GetPrivateGetSettlementHistoryByInstrumentParams) WithTimeout

WithTimeout adds the timeout to the get private get settlement history by instrument params

func (*GetPrivateGetSettlementHistoryByInstrumentParams) WithType

WithType adds the typeVar to the get private get settlement history by instrument params

func (*GetPrivateGetSettlementHistoryByInstrumentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetSettlementHistoryByInstrumentReader

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

GetPrivateGetSettlementHistoryByInstrumentReader is a Reader for the GetPrivateGetSettlementHistoryByInstrument structure.

func (*GetPrivateGetSettlementHistoryByInstrumentReader) ReadResponse

func (o *GetPrivateGetSettlementHistoryByInstrumentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetSubaccountsOK

type GetPrivateGetSubaccountsOK struct {
	Payload *models.PrivateGetSubaccountsResponse
}

GetPrivateGetSubaccountsOK handles this case with default header values.

foo

func NewGetPrivateGetSubaccountsOK

func NewGetPrivateGetSubaccountsOK() *GetPrivateGetSubaccountsOK

NewGetPrivateGetSubaccountsOK creates a GetPrivateGetSubaccountsOK with default headers values

func (*GetPrivateGetSubaccountsOK) Error

type GetPrivateGetSubaccountsParams

type GetPrivateGetSubaccountsParams struct {

	/*WithPortfolio*/
	WithPortfolio *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetSubaccountsParams contains all the parameters to send to the API endpoint for the get private get subaccounts operation typically these are written to a http.Request

func NewGetPrivateGetSubaccountsParams

func NewGetPrivateGetSubaccountsParams() *GetPrivateGetSubaccountsParams

NewGetPrivateGetSubaccountsParams creates a new GetPrivateGetSubaccountsParams object with the default values initialized.

func NewGetPrivateGetSubaccountsParamsWithContext

func NewGetPrivateGetSubaccountsParamsWithContext(ctx context.Context) *GetPrivateGetSubaccountsParams

NewGetPrivateGetSubaccountsParamsWithContext creates a new GetPrivateGetSubaccountsParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetSubaccountsParamsWithHTTPClient

func NewGetPrivateGetSubaccountsParamsWithHTTPClient(client *http.Client) *GetPrivateGetSubaccountsParams

NewGetPrivateGetSubaccountsParamsWithHTTPClient creates a new GetPrivateGetSubaccountsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetSubaccountsParamsWithTimeout

func NewGetPrivateGetSubaccountsParamsWithTimeout(timeout time.Duration) *GetPrivateGetSubaccountsParams

NewGetPrivateGetSubaccountsParamsWithTimeout creates a new GetPrivateGetSubaccountsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetSubaccountsParams) SetContext

func (o *GetPrivateGetSubaccountsParams) SetContext(ctx context.Context)

SetContext adds the context to the get private get subaccounts params

func (*GetPrivateGetSubaccountsParams) SetHTTPClient

func (o *GetPrivateGetSubaccountsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get subaccounts params

func (*GetPrivateGetSubaccountsParams) SetTimeout

func (o *GetPrivateGetSubaccountsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private get subaccounts params

func (*GetPrivateGetSubaccountsParams) SetWithPortfolio

func (o *GetPrivateGetSubaccountsParams) SetWithPortfolio(withPortfolio *bool)

SetWithPortfolio adds the withPortfolio to the get private get subaccounts params

func (*GetPrivateGetSubaccountsParams) WithContext

WithContext adds the context to the get private get subaccounts params

func (*GetPrivateGetSubaccountsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get subaccounts params

func (*GetPrivateGetSubaccountsParams) WithTimeout

WithTimeout adds the timeout to the get private get subaccounts params

func (*GetPrivateGetSubaccountsParams) WithWithPortfolio

func (o *GetPrivateGetSubaccountsParams) WithWithPortfolio(withPortfolio *bool) *GetPrivateGetSubaccountsParams

WithWithPortfolio adds the withPortfolio to the get private get subaccounts params

func (*GetPrivateGetSubaccountsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetSubaccountsReader

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

GetPrivateGetSubaccountsReader is a Reader for the GetPrivateGetSubaccounts structure.

func (*GetPrivateGetSubaccountsReader) ReadResponse

func (o *GetPrivateGetSubaccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetSubaccountsUnauthorized

type GetPrivateGetSubaccountsUnauthorized struct {
	Payload *models.ErrorMessage
}

GetPrivateGetSubaccountsUnauthorized handles this case with default header values.

not authorised

func NewGetPrivateGetSubaccountsUnauthorized

func NewGetPrivateGetSubaccountsUnauthorized() *GetPrivateGetSubaccountsUnauthorized

NewGetPrivateGetSubaccountsUnauthorized creates a GetPrivateGetSubaccountsUnauthorized with default headers values

func (*GetPrivateGetSubaccountsUnauthorized) Error

type GetPrivateGetTransfersOK

type GetPrivateGetTransfersOK struct {
	Payload *models.PrivateGetTransfersResponse
}

GetPrivateGetTransfersOK handles this case with default header values.

foo

func NewGetPrivateGetTransfersOK

func NewGetPrivateGetTransfersOK() *GetPrivateGetTransfersOK

NewGetPrivateGetTransfersOK creates a GetPrivateGetTransfersOK with default headers values

func (*GetPrivateGetTransfersOK) Error

func (o *GetPrivateGetTransfersOK) Error() string

type GetPrivateGetTransfersParams

type GetPrivateGetTransfersParams struct {

	/*Count
	  Number of requested items, default - `10`

	*/
	Count *int64
	/*Currency
	  The currency symbol

	*/
	Currency string
	/*Offset
	  The offset for pagination, default - `0`

	*/
	Offset *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetTransfersParams contains all the parameters to send to the API endpoint for the get private get transfers operation typically these are written to a http.Request

func NewGetPrivateGetTransfersParams

func NewGetPrivateGetTransfersParams() *GetPrivateGetTransfersParams

NewGetPrivateGetTransfersParams creates a new GetPrivateGetTransfersParams object with the default values initialized.

func NewGetPrivateGetTransfersParamsWithContext

func NewGetPrivateGetTransfersParamsWithContext(ctx context.Context) *GetPrivateGetTransfersParams

NewGetPrivateGetTransfersParamsWithContext creates a new GetPrivateGetTransfersParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetTransfersParamsWithHTTPClient

func NewGetPrivateGetTransfersParamsWithHTTPClient(client *http.Client) *GetPrivateGetTransfersParams

NewGetPrivateGetTransfersParamsWithHTTPClient creates a new GetPrivateGetTransfersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetTransfersParamsWithTimeout

func NewGetPrivateGetTransfersParamsWithTimeout(timeout time.Duration) *GetPrivateGetTransfersParams

NewGetPrivateGetTransfersParamsWithTimeout creates a new GetPrivateGetTransfersParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetTransfersParams) SetContext

func (o *GetPrivateGetTransfersParams) SetContext(ctx context.Context)

SetContext adds the context to the get private get transfers params

func (*GetPrivateGetTransfersParams) SetCount

func (o *GetPrivateGetTransfersParams) SetCount(count *int64)

SetCount adds the count to the get private get transfers params

func (*GetPrivateGetTransfersParams) SetCurrency

func (o *GetPrivateGetTransfersParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private get transfers params

func (*GetPrivateGetTransfersParams) SetHTTPClient

func (o *GetPrivateGetTransfersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get transfers params

func (*GetPrivateGetTransfersParams) SetOffset

func (o *GetPrivateGetTransfersParams) SetOffset(offset *int64)

SetOffset adds the offset to the get private get transfers params

func (*GetPrivateGetTransfersParams) SetTimeout

func (o *GetPrivateGetTransfersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private get transfers params

func (*GetPrivateGetTransfersParams) WithContext

WithContext adds the context to the get private get transfers params

func (*GetPrivateGetTransfersParams) WithCount

WithCount adds the count to the get private get transfers params

func (*GetPrivateGetTransfersParams) WithCurrency

WithCurrency adds the currency to the get private get transfers params

func (*GetPrivateGetTransfersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get transfers params

func (*GetPrivateGetTransfersParams) WithOffset

WithOffset adds the offset to the get private get transfers params

func (*GetPrivateGetTransfersParams) WithTimeout

WithTimeout adds the timeout to the get private get transfers params

func (*GetPrivateGetTransfersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetTransfersReader

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

GetPrivateGetTransfersReader is a Reader for the GetPrivateGetTransfers structure.

func (*GetPrivateGetTransfersReader) ReadResponse

func (o *GetPrivateGetTransfersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetUserTradesByCurrencyAndTimeOK

type GetPrivateGetUserTradesByCurrencyAndTimeOK struct {
	Payload *models.UserTradesHistoryResponse
}

GetPrivateGetUserTradesByCurrencyAndTimeOK handles this case with default header values.

foo

func NewGetPrivateGetUserTradesByCurrencyAndTimeOK

func NewGetPrivateGetUserTradesByCurrencyAndTimeOK() *GetPrivateGetUserTradesByCurrencyAndTimeOK

NewGetPrivateGetUserTradesByCurrencyAndTimeOK creates a GetPrivateGetUserTradesByCurrencyAndTimeOK with default headers values

func (*GetPrivateGetUserTradesByCurrencyAndTimeOK) Error

type GetPrivateGetUserTradesByCurrencyAndTimeParams

type GetPrivateGetUserTradesByCurrencyAndTimeParams struct {

	/*Count
	  Number of requested items, default - `10`

	*/
	Count *int64
	/*Currency
	  The currency symbol

	*/
	Currency string
	/*EndTimestamp
	  The most recent timestamp to return result for

	*/
	EndTimestamp int64
	/*IncludeOld
	  Include trades older than 7 days, default - `false`

	*/
	IncludeOld *bool
	/*Kind
	  Instrument kind, if not provided instruments of all kinds are considered

	*/
	Kind *string
	/*Sorting
	  Direction of results sorting (`default` value means no sorting, results will be returned in order in which they left the database)

	*/
	Sorting *string
	/*StartTimestamp
	  The earliest timestamp to return result for

	*/
	StartTimestamp int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetUserTradesByCurrencyAndTimeParams contains all the parameters to send to the API endpoint for the get private get user trades by currency and time operation typically these are written to a http.Request

func NewGetPrivateGetUserTradesByCurrencyAndTimeParams

func NewGetPrivateGetUserTradesByCurrencyAndTimeParams() *GetPrivateGetUserTradesByCurrencyAndTimeParams

NewGetPrivateGetUserTradesByCurrencyAndTimeParams creates a new GetPrivateGetUserTradesByCurrencyAndTimeParams object with the default values initialized.

func NewGetPrivateGetUserTradesByCurrencyAndTimeParamsWithContext

func NewGetPrivateGetUserTradesByCurrencyAndTimeParamsWithContext(ctx context.Context) *GetPrivateGetUserTradesByCurrencyAndTimeParams

NewGetPrivateGetUserTradesByCurrencyAndTimeParamsWithContext creates a new GetPrivateGetUserTradesByCurrencyAndTimeParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetUserTradesByCurrencyAndTimeParamsWithHTTPClient

func NewGetPrivateGetUserTradesByCurrencyAndTimeParamsWithHTTPClient(client *http.Client) *GetPrivateGetUserTradesByCurrencyAndTimeParams

NewGetPrivateGetUserTradesByCurrencyAndTimeParamsWithHTTPClient creates a new GetPrivateGetUserTradesByCurrencyAndTimeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetUserTradesByCurrencyAndTimeParamsWithTimeout

func NewGetPrivateGetUserTradesByCurrencyAndTimeParamsWithTimeout(timeout time.Duration) *GetPrivateGetUserTradesByCurrencyAndTimeParams

NewGetPrivateGetUserTradesByCurrencyAndTimeParamsWithTimeout creates a new GetPrivateGetUserTradesByCurrencyAndTimeParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) SetContext

SetContext adds the context to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) SetCount

SetCount adds the count to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) SetCurrency

func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) SetEndTimestamp

func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) SetEndTimestamp(endTimestamp int64)

SetEndTimestamp adds the endTimestamp to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) SetIncludeOld

func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) SetIncludeOld(includeOld *bool)

SetIncludeOld adds the includeOld to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) SetKind

SetKind adds the kind to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) SetSorting

SetSorting adds the sorting to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) SetStartTimestamp

func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) SetStartTimestamp(startTimestamp int64)

SetStartTimestamp adds the startTimestamp to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) SetTimeout

SetTimeout adds the timeout to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithContext

WithContext adds the context to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithCount

WithCount adds the count to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithCurrency

WithCurrency adds the currency to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithEndTimestamp

WithEndTimestamp adds the endTimestamp to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithIncludeOld

WithIncludeOld adds the includeOld to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithKind

WithKind adds the kind to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithSorting

WithSorting adds the sorting to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithStartTimestamp

WithStartTimestamp adds the startTimestamp to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithTimeout

WithTimeout adds the timeout to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetUserTradesByCurrencyAndTimeReader

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

GetPrivateGetUserTradesByCurrencyAndTimeReader is a Reader for the GetPrivateGetUserTradesByCurrencyAndTime structure.

func (*GetPrivateGetUserTradesByCurrencyAndTimeReader) ReadResponse

func (o *GetPrivateGetUserTradesByCurrencyAndTimeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetUserTradesByCurrencyOK

type GetPrivateGetUserTradesByCurrencyOK struct {
	Payload *models.UserTradesHistoryResponse
}

GetPrivateGetUserTradesByCurrencyOK handles this case with default header values.

foo

func NewGetPrivateGetUserTradesByCurrencyOK

func NewGetPrivateGetUserTradesByCurrencyOK() *GetPrivateGetUserTradesByCurrencyOK

NewGetPrivateGetUserTradesByCurrencyOK creates a GetPrivateGetUserTradesByCurrencyOK with default headers values

func (*GetPrivateGetUserTradesByCurrencyOK) Error

type GetPrivateGetUserTradesByCurrencyParams

type GetPrivateGetUserTradesByCurrencyParams struct {

	/*Count
	  Number of requested items, default - `10`

	*/
	Count *int64
	/*Currency
	  The currency symbol

	*/
	Currency string
	/*EndID
	  The ID number of the last trade to be returned

	*/
	EndID *string
	/*IncludeOld
	  Include trades older than 7 days, default - `false`

	*/
	IncludeOld *bool
	/*Kind
	  Instrument kind, if not provided instruments of all kinds are considered

	*/
	Kind *string
	/*Sorting
	  Direction of results sorting (`default` value means no sorting, results will be returned in order in which they left the database)

	*/
	Sorting *string
	/*StartID
	  The ID number of the first trade to be returned

	*/
	StartID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetUserTradesByCurrencyParams contains all the parameters to send to the API endpoint for the get private get user trades by currency operation typically these are written to a http.Request

func NewGetPrivateGetUserTradesByCurrencyParams

func NewGetPrivateGetUserTradesByCurrencyParams() *GetPrivateGetUserTradesByCurrencyParams

NewGetPrivateGetUserTradesByCurrencyParams creates a new GetPrivateGetUserTradesByCurrencyParams object with the default values initialized.

func NewGetPrivateGetUserTradesByCurrencyParamsWithContext

func NewGetPrivateGetUserTradesByCurrencyParamsWithContext(ctx context.Context) *GetPrivateGetUserTradesByCurrencyParams

NewGetPrivateGetUserTradesByCurrencyParamsWithContext creates a new GetPrivateGetUserTradesByCurrencyParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetUserTradesByCurrencyParamsWithHTTPClient

func NewGetPrivateGetUserTradesByCurrencyParamsWithHTTPClient(client *http.Client) *GetPrivateGetUserTradesByCurrencyParams

NewGetPrivateGetUserTradesByCurrencyParamsWithHTTPClient creates a new GetPrivateGetUserTradesByCurrencyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetUserTradesByCurrencyParamsWithTimeout

func NewGetPrivateGetUserTradesByCurrencyParamsWithTimeout(timeout time.Duration) *GetPrivateGetUserTradesByCurrencyParams

NewGetPrivateGetUserTradesByCurrencyParamsWithTimeout creates a new GetPrivateGetUserTradesByCurrencyParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetUserTradesByCurrencyParams) SetContext

SetContext adds the context to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) SetCount

func (o *GetPrivateGetUserTradesByCurrencyParams) SetCount(count *int64)

SetCount adds the count to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) SetCurrency

func (o *GetPrivateGetUserTradesByCurrencyParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) SetEndID

func (o *GetPrivateGetUserTradesByCurrencyParams) SetEndID(endID *string)

SetEndID adds the endId to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) SetHTTPClient

func (o *GetPrivateGetUserTradesByCurrencyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) SetIncludeOld

func (o *GetPrivateGetUserTradesByCurrencyParams) SetIncludeOld(includeOld *bool)

SetIncludeOld adds the includeOld to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) SetKind

SetKind adds the kind to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) SetSorting

func (o *GetPrivateGetUserTradesByCurrencyParams) SetSorting(sorting *string)

SetSorting adds the sorting to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) SetStartID

func (o *GetPrivateGetUserTradesByCurrencyParams) SetStartID(startID *string)

SetStartID adds the startId to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) SetTimeout

func (o *GetPrivateGetUserTradesByCurrencyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) WithContext

WithContext adds the context to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) WithCount

WithCount adds the count to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) WithCurrency

WithCurrency adds the currency to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) WithEndID

WithEndID adds the endID to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) WithIncludeOld

WithIncludeOld adds the includeOld to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) WithKind

WithKind adds the kind to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) WithSorting

WithSorting adds the sorting to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) WithStartID

WithStartID adds the startID to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) WithTimeout

WithTimeout adds the timeout to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetUserTradesByCurrencyReader

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

GetPrivateGetUserTradesByCurrencyReader is a Reader for the GetPrivateGetUserTradesByCurrency structure.

func (*GetPrivateGetUserTradesByCurrencyReader) ReadResponse

func (o *GetPrivateGetUserTradesByCurrencyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetUserTradesByInstrumentAndTimeOK

type GetPrivateGetUserTradesByInstrumentAndTimeOK struct {
	Payload *models.UserTradesHistoryResponse
}

GetPrivateGetUserTradesByInstrumentAndTimeOK handles this case with default header values.

foo

func NewGetPrivateGetUserTradesByInstrumentAndTimeOK

func NewGetPrivateGetUserTradesByInstrumentAndTimeOK() *GetPrivateGetUserTradesByInstrumentAndTimeOK

NewGetPrivateGetUserTradesByInstrumentAndTimeOK creates a GetPrivateGetUserTradesByInstrumentAndTimeOK with default headers values

func (*GetPrivateGetUserTradesByInstrumentAndTimeOK) Error

type GetPrivateGetUserTradesByInstrumentAndTimeParams

type GetPrivateGetUserTradesByInstrumentAndTimeParams struct {

	/*Count
	  Number of requested items, default - `10`

	*/
	Count *int64
	/*EndTimestamp
	  The most recent timestamp to return result for

	*/
	EndTimestamp int64
	/*IncludeOld
	  Include trades older than 7 days, default - `false`

	*/
	IncludeOld *bool
	/*InstrumentName
	  Instrument name

	*/
	InstrumentName string
	/*Sorting
	  Direction of results sorting (`default` value means no sorting, results will be returned in order in which they left the database)

	*/
	Sorting *string
	/*StartTimestamp
	  The earliest timestamp to return result for

	*/
	StartTimestamp int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetUserTradesByInstrumentAndTimeParams contains all the parameters to send to the API endpoint for the get private get user trades by instrument and time operation typically these are written to a http.Request

func NewGetPrivateGetUserTradesByInstrumentAndTimeParams

func NewGetPrivateGetUserTradesByInstrumentAndTimeParams() *GetPrivateGetUserTradesByInstrumentAndTimeParams

NewGetPrivateGetUserTradesByInstrumentAndTimeParams creates a new GetPrivateGetUserTradesByInstrumentAndTimeParams object with the default values initialized.

func NewGetPrivateGetUserTradesByInstrumentAndTimeParamsWithContext

func NewGetPrivateGetUserTradesByInstrumentAndTimeParamsWithContext(ctx context.Context) *GetPrivateGetUserTradesByInstrumentAndTimeParams

NewGetPrivateGetUserTradesByInstrumentAndTimeParamsWithContext creates a new GetPrivateGetUserTradesByInstrumentAndTimeParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetUserTradesByInstrumentAndTimeParamsWithHTTPClient

func NewGetPrivateGetUserTradesByInstrumentAndTimeParamsWithHTTPClient(client *http.Client) *GetPrivateGetUserTradesByInstrumentAndTimeParams

NewGetPrivateGetUserTradesByInstrumentAndTimeParamsWithHTTPClient creates a new GetPrivateGetUserTradesByInstrumentAndTimeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetUserTradesByInstrumentAndTimeParamsWithTimeout

func NewGetPrivateGetUserTradesByInstrumentAndTimeParamsWithTimeout(timeout time.Duration) *GetPrivateGetUserTradesByInstrumentAndTimeParams

NewGetPrivateGetUserTradesByInstrumentAndTimeParamsWithTimeout creates a new GetPrivateGetUserTradesByInstrumentAndTimeParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) SetContext

SetContext adds the context to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) SetCount

SetCount adds the count to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) SetEndTimestamp

func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) SetEndTimestamp(endTimestamp int64)

SetEndTimestamp adds the endTimestamp to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) SetIncludeOld

func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) SetIncludeOld(includeOld *bool)

SetIncludeOld adds the includeOld to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) SetInstrumentName

func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) SetInstrumentName(instrumentName string)

SetInstrumentName adds the instrumentName to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) SetSorting

SetSorting adds the sorting to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) SetStartTimestamp

func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) SetStartTimestamp(startTimestamp int64)

SetStartTimestamp adds the startTimestamp to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) SetTimeout

SetTimeout adds the timeout to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WithContext

WithContext adds the context to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WithCount

WithCount adds the count to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WithEndTimestamp

WithEndTimestamp adds the endTimestamp to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WithIncludeOld

WithIncludeOld adds the includeOld to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WithInstrumentName

WithInstrumentName adds the instrumentName to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WithSorting

WithSorting adds the sorting to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WithStartTimestamp

WithStartTimestamp adds the startTimestamp to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WithTimeout

WithTimeout adds the timeout to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetUserTradesByInstrumentAndTimeReader

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

GetPrivateGetUserTradesByInstrumentAndTimeReader is a Reader for the GetPrivateGetUserTradesByInstrumentAndTime structure.

func (*GetPrivateGetUserTradesByInstrumentAndTimeReader) ReadResponse

func (o *GetPrivateGetUserTradesByInstrumentAndTimeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetUserTradesByInstrumentOK

type GetPrivateGetUserTradesByInstrumentOK struct {
	Payload *models.UserTradesHistoryResponse
}

GetPrivateGetUserTradesByInstrumentOK handles this case with default header values.

foo

func NewGetPrivateGetUserTradesByInstrumentOK

func NewGetPrivateGetUserTradesByInstrumentOK() *GetPrivateGetUserTradesByInstrumentOK

NewGetPrivateGetUserTradesByInstrumentOK creates a GetPrivateGetUserTradesByInstrumentOK with default headers values

func (*GetPrivateGetUserTradesByInstrumentOK) Error

type GetPrivateGetUserTradesByInstrumentParams

type GetPrivateGetUserTradesByInstrumentParams struct {

	/*Count
	  Number of requested items, default - `10`

	*/
	Count *int64
	/*EndSeq
	  The sequence number of the last trade to be returned

	*/
	EndSeq *int64
	/*IncludeOld
	  Include trades older than 7 days, default - `false`

	*/
	IncludeOld *bool
	/*InstrumentName
	  Instrument name

	*/
	InstrumentName string
	/*Sorting
	  Direction of results sorting (`default` value means no sorting, results will be returned in order in which they left the database)

	*/
	Sorting *string
	/*StartSeq
	  The sequence number of the first trade to be returned

	*/
	StartSeq *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetUserTradesByInstrumentParams contains all the parameters to send to the API endpoint for the get private get user trades by instrument operation typically these are written to a http.Request

func NewGetPrivateGetUserTradesByInstrumentParams

func NewGetPrivateGetUserTradesByInstrumentParams() *GetPrivateGetUserTradesByInstrumentParams

NewGetPrivateGetUserTradesByInstrumentParams creates a new GetPrivateGetUserTradesByInstrumentParams object with the default values initialized.

func NewGetPrivateGetUserTradesByInstrumentParamsWithContext

func NewGetPrivateGetUserTradesByInstrumentParamsWithContext(ctx context.Context) *GetPrivateGetUserTradesByInstrumentParams

NewGetPrivateGetUserTradesByInstrumentParamsWithContext creates a new GetPrivateGetUserTradesByInstrumentParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetUserTradesByInstrumentParamsWithHTTPClient

func NewGetPrivateGetUserTradesByInstrumentParamsWithHTTPClient(client *http.Client) *GetPrivateGetUserTradesByInstrumentParams

NewGetPrivateGetUserTradesByInstrumentParamsWithHTTPClient creates a new GetPrivateGetUserTradesByInstrumentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetUserTradesByInstrumentParamsWithTimeout

func NewGetPrivateGetUserTradesByInstrumentParamsWithTimeout(timeout time.Duration) *GetPrivateGetUserTradesByInstrumentParams

NewGetPrivateGetUserTradesByInstrumentParamsWithTimeout creates a new GetPrivateGetUserTradesByInstrumentParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetUserTradesByInstrumentParams) SetContext

SetContext adds the context to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) SetCount

SetCount adds the count to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) SetEndSeq

func (o *GetPrivateGetUserTradesByInstrumentParams) SetEndSeq(endSeq *int64)

SetEndSeq adds the endSeq to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) SetHTTPClient

func (o *GetPrivateGetUserTradesByInstrumentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) SetIncludeOld

func (o *GetPrivateGetUserTradesByInstrumentParams) SetIncludeOld(includeOld *bool)

SetIncludeOld adds the includeOld to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) SetInstrumentName

func (o *GetPrivateGetUserTradesByInstrumentParams) SetInstrumentName(instrumentName string)

SetInstrumentName adds the instrumentName to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) SetSorting

func (o *GetPrivateGetUserTradesByInstrumentParams) SetSorting(sorting *string)

SetSorting adds the sorting to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) SetStartSeq

func (o *GetPrivateGetUserTradesByInstrumentParams) SetStartSeq(startSeq *int64)

SetStartSeq adds the startSeq to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) SetTimeout

SetTimeout adds the timeout to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) WithContext

WithContext adds the context to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) WithCount

WithCount adds the count to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) WithEndSeq

WithEndSeq adds the endSeq to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) WithIncludeOld

WithIncludeOld adds the includeOld to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) WithInstrumentName

WithInstrumentName adds the instrumentName to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) WithSorting

WithSorting adds the sorting to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) WithStartSeq

WithStartSeq adds the startSeq to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) WithTimeout

WithTimeout adds the timeout to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetUserTradesByInstrumentReader

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

GetPrivateGetUserTradesByInstrumentReader is a Reader for the GetPrivateGetUserTradesByInstrument structure.

func (*GetPrivateGetUserTradesByInstrumentReader) ReadResponse

func (o *GetPrivateGetUserTradesByInstrumentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetUserTradesByOrderOK

type GetPrivateGetUserTradesByOrderOK struct {
	Payload models.UserTradesByOrderResponse
}

GetPrivateGetUserTradesByOrderOK handles this case with default header values.

foo

func NewGetPrivateGetUserTradesByOrderOK

func NewGetPrivateGetUserTradesByOrderOK() *GetPrivateGetUserTradesByOrderOK

NewGetPrivateGetUserTradesByOrderOK creates a GetPrivateGetUserTradesByOrderOK with default headers values

func (*GetPrivateGetUserTradesByOrderOK) Error

type GetPrivateGetUserTradesByOrderParams

type GetPrivateGetUserTradesByOrderParams struct {

	/*OrderID
	  The order id

	*/
	OrderID string
	/*Sorting
	  Direction of results sorting (`default` value means no sorting, results will be returned in order in which they left the database)

	*/
	Sorting *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetUserTradesByOrderParams contains all the parameters to send to the API endpoint for the get private get user trades by order operation typically these are written to a http.Request

func NewGetPrivateGetUserTradesByOrderParams

func NewGetPrivateGetUserTradesByOrderParams() *GetPrivateGetUserTradesByOrderParams

NewGetPrivateGetUserTradesByOrderParams creates a new GetPrivateGetUserTradesByOrderParams object with the default values initialized.

func NewGetPrivateGetUserTradesByOrderParamsWithContext

func NewGetPrivateGetUserTradesByOrderParamsWithContext(ctx context.Context) *GetPrivateGetUserTradesByOrderParams

NewGetPrivateGetUserTradesByOrderParamsWithContext creates a new GetPrivateGetUserTradesByOrderParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetUserTradesByOrderParamsWithHTTPClient

func NewGetPrivateGetUserTradesByOrderParamsWithHTTPClient(client *http.Client) *GetPrivateGetUserTradesByOrderParams

NewGetPrivateGetUserTradesByOrderParamsWithHTTPClient creates a new GetPrivateGetUserTradesByOrderParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetUserTradesByOrderParamsWithTimeout

func NewGetPrivateGetUserTradesByOrderParamsWithTimeout(timeout time.Duration) *GetPrivateGetUserTradesByOrderParams

NewGetPrivateGetUserTradesByOrderParamsWithTimeout creates a new GetPrivateGetUserTradesByOrderParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetUserTradesByOrderParams) SetContext

SetContext adds the context to the get private get user trades by order params

func (*GetPrivateGetUserTradesByOrderParams) SetHTTPClient

func (o *GetPrivateGetUserTradesByOrderParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get user trades by order params

func (*GetPrivateGetUserTradesByOrderParams) SetOrderID

func (o *GetPrivateGetUserTradesByOrderParams) SetOrderID(orderID string)

SetOrderID adds the orderId to the get private get user trades by order params

func (*GetPrivateGetUserTradesByOrderParams) SetSorting

func (o *GetPrivateGetUserTradesByOrderParams) SetSorting(sorting *string)

SetSorting adds the sorting to the get private get user trades by order params

func (*GetPrivateGetUserTradesByOrderParams) SetTimeout

func (o *GetPrivateGetUserTradesByOrderParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private get user trades by order params

func (*GetPrivateGetUserTradesByOrderParams) WithContext

WithContext adds the context to the get private get user trades by order params

func (*GetPrivateGetUserTradesByOrderParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get user trades by order params

func (*GetPrivateGetUserTradesByOrderParams) WithOrderID

WithOrderID adds the orderID to the get private get user trades by order params

func (*GetPrivateGetUserTradesByOrderParams) WithSorting

WithSorting adds the sorting to the get private get user trades by order params

func (*GetPrivateGetUserTradesByOrderParams) WithTimeout

WithTimeout adds the timeout to the get private get user trades by order params

func (*GetPrivateGetUserTradesByOrderParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetUserTradesByOrderReader

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

GetPrivateGetUserTradesByOrderReader is a Reader for the GetPrivateGetUserTradesByOrder structure.

func (*GetPrivateGetUserTradesByOrderReader) ReadResponse

func (o *GetPrivateGetUserTradesByOrderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetWithdrawalsOK

type GetPrivateGetWithdrawalsOK struct {
	Payload *models.PrivateGetWithdrawalsResponse
}

GetPrivateGetWithdrawalsOK handles this case with default header values.

foo

func NewGetPrivateGetWithdrawalsOK

func NewGetPrivateGetWithdrawalsOK() *GetPrivateGetWithdrawalsOK

NewGetPrivateGetWithdrawalsOK creates a GetPrivateGetWithdrawalsOK with default headers values

func (*GetPrivateGetWithdrawalsOK) Error

type GetPrivateGetWithdrawalsParams

type GetPrivateGetWithdrawalsParams struct {

	/*Count
	  Number of requested items, default - `10`

	*/
	Count *int64
	/*Currency
	  The currency symbol

	*/
	Currency string
	/*Offset
	  The offset for pagination, default - `0`

	*/
	Offset *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetWithdrawalsParams contains all the parameters to send to the API endpoint for the get private get withdrawals operation typically these are written to a http.Request

func NewGetPrivateGetWithdrawalsParams

func NewGetPrivateGetWithdrawalsParams() *GetPrivateGetWithdrawalsParams

NewGetPrivateGetWithdrawalsParams creates a new GetPrivateGetWithdrawalsParams object with the default values initialized.

func NewGetPrivateGetWithdrawalsParamsWithContext

func NewGetPrivateGetWithdrawalsParamsWithContext(ctx context.Context) *GetPrivateGetWithdrawalsParams

NewGetPrivateGetWithdrawalsParamsWithContext creates a new GetPrivateGetWithdrawalsParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetWithdrawalsParamsWithHTTPClient

func NewGetPrivateGetWithdrawalsParamsWithHTTPClient(client *http.Client) *GetPrivateGetWithdrawalsParams

NewGetPrivateGetWithdrawalsParamsWithHTTPClient creates a new GetPrivateGetWithdrawalsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetWithdrawalsParamsWithTimeout

func NewGetPrivateGetWithdrawalsParamsWithTimeout(timeout time.Duration) *GetPrivateGetWithdrawalsParams

NewGetPrivateGetWithdrawalsParamsWithTimeout creates a new GetPrivateGetWithdrawalsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetWithdrawalsParams) SetContext

func (o *GetPrivateGetWithdrawalsParams) SetContext(ctx context.Context)

SetContext adds the context to the get private get withdrawals params

func (*GetPrivateGetWithdrawalsParams) SetCount

func (o *GetPrivateGetWithdrawalsParams) SetCount(count *int64)

SetCount adds the count to the get private get withdrawals params

func (*GetPrivateGetWithdrawalsParams) SetCurrency

func (o *GetPrivateGetWithdrawalsParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private get withdrawals params

func (*GetPrivateGetWithdrawalsParams) SetHTTPClient

func (o *GetPrivateGetWithdrawalsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get withdrawals params

func (*GetPrivateGetWithdrawalsParams) SetOffset

func (o *GetPrivateGetWithdrawalsParams) SetOffset(offset *int64)

SetOffset adds the offset to the get private get withdrawals params

func (*GetPrivateGetWithdrawalsParams) SetTimeout

func (o *GetPrivateGetWithdrawalsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private get withdrawals params

func (*GetPrivateGetWithdrawalsParams) WithContext

WithContext adds the context to the get private get withdrawals params

func (*GetPrivateGetWithdrawalsParams) WithCount

WithCount adds the count to the get private get withdrawals params

func (*GetPrivateGetWithdrawalsParams) WithCurrency

WithCurrency adds the currency to the get private get withdrawals params

func (*GetPrivateGetWithdrawalsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get withdrawals params

func (*GetPrivateGetWithdrawalsParams) WithOffset

WithOffset adds the offset to the get private get withdrawals params

func (*GetPrivateGetWithdrawalsParams) WithTimeout

WithTimeout adds the timeout to the get private get withdrawals params

func (*GetPrivateGetWithdrawalsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetWithdrawalsReader

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

GetPrivateGetWithdrawalsReader is a Reader for the GetPrivateGetWithdrawals structure.

func (*GetPrivateGetWithdrawalsReader) ReadResponse

func (o *GetPrivateGetWithdrawalsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetopenordersOK

type GetPrivateGetopenordersOK struct {
	Payload *models.PrivateGetopenordersResponse
}

GetPrivateGetopenordersOK handles this case with default header values.

foo

func NewGetPrivateGetopenordersOK

func NewGetPrivateGetopenordersOK() *GetPrivateGetopenordersOK

NewGetPrivateGetopenordersOK creates a GetPrivateGetopenordersOK with default headers values

func (*GetPrivateGetopenordersOK) Error

func (o *GetPrivateGetopenordersOK) Error() string

type GetPrivateGetopenordersParams

type GetPrivateGetopenordersParams struct {

	/*Instrument
	  Instrument to return open orders for

	*/
	Instrument *string
	/*OrderID
	  order ID

	*/
	OrderID *float64
	/*Type
	  Order types to return. Valid values include `"limit"`, `"stop_limit"`

	*/
	Type *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetopenordersParams contains all the parameters to send to the API endpoint for the get private getopenorders operation typically these are written to a http.Request

func NewGetPrivateGetopenordersParams

func NewGetPrivateGetopenordersParams() *GetPrivateGetopenordersParams

NewGetPrivateGetopenordersParams creates a new GetPrivateGetopenordersParams object with the default values initialized.

func NewGetPrivateGetopenordersParamsWithContext

func NewGetPrivateGetopenordersParamsWithContext(ctx context.Context) *GetPrivateGetopenordersParams

NewGetPrivateGetopenordersParamsWithContext creates a new GetPrivateGetopenordersParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetopenordersParamsWithHTTPClient

func NewGetPrivateGetopenordersParamsWithHTTPClient(client *http.Client) *GetPrivateGetopenordersParams

NewGetPrivateGetopenordersParamsWithHTTPClient creates a new GetPrivateGetopenordersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetopenordersParamsWithTimeout

func NewGetPrivateGetopenordersParamsWithTimeout(timeout time.Duration) *GetPrivateGetopenordersParams

NewGetPrivateGetopenordersParamsWithTimeout creates a new GetPrivateGetopenordersParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetopenordersParams) SetContext

func (o *GetPrivateGetopenordersParams) SetContext(ctx context.Context)

SetContext adds the context to the get private getopenorders params

func (*GetPrivateGetopenordersParams) SetHTTPClient

func (o *GetPrivateGetopenordersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private getopenorders params

func (*GetPrivateGetopenordersParams) SetInstrument

func (o *GetPrivateGetopenordersParams) SetInstrument(instrument *string)

SetInstrument adds the instrument to the get private getopenorders params

func (*GetPrivateGetopenordersParams) SetOrderID

func (o *GetPrivateGetopenordersParams) SetOrderID(orderID *float64)

SetOrderID adds the orderId to the get private getopenorders params

func (*GetPrivateGetopenordersParams) SetTimeout

func (o *GetPrivateGetopenordersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private getopenorders params

func (*GetPrivateGetopenordersParams) SetType

func (o *GetPrivateGetopenordersParams) SetType(typeVar *string)

SetType adds the type to the get private getopenorders params

func (*GetPrivateGetopenordersParams) WithContext

WithContext adds the context to the get private getopenorders params

func (*GetPrivateGetopenordersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private getopenorders params

func (*GetPrivateGetopenordersParams) WithInstrument

func (o *GetPrivateGetopenordersParams) WithInstrument(instrument *string) *GetPrivateGetopenordersParams

WithInstrument adds the instrument to the get private getopenorders params

func (*GetPrivateGetopenordersParams) WithOrderID

WithOrderID adds the orderID to the get private getopenorders params

func (*GetPrivateGetopenordersParams) WithTimeout

WithTimeout adds the timeout to the get private getopenorders params

func (*GetPrivateGetopenordersParams) WithType

WithType adds the typeVar to the get private getopenorders params

func (*GetPrivateGetopenordersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetopenordersReader

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

GetPrivateGetopenordersReader is a Reader for the GetPrivateGetopenorders structure.

func (*GetPrivateGetopenordersReader) ReadResponse

func (o *GetPrivateGetopenordersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateLogoutBadRequest

type GetPrivateLogoutBadRequest struct {
	Payload *models.ErrorMessage
}

GetPrivateLogoutBadRequest handles this case with default header values.

result when used via rest/HTTP

func NewGetPrivateLogoutBadRequest

func NewGetPrivateLogoutBadRequest() *GetPrivateLogoutBadRequest

NewGetPrivateLogoutBadRequest creates a GetPrivateLogoutBadRequest with default headers values

func (*GetPrivateLogoutBadRequest) Error

type GetPrivateLogoutOK

type GetPrivateLogoutOK struct {
}

GetPrivateLogoutOK handles this case with default header values.

foo

func NewGetPrivateLogoutOK

func NewGetPrivateLogoutOK() *GetPrivateLogoutOK

NewGetPrivateLogoutOK creates a GetPrivateLogoutOK with default headers values

func (*GetPrivateLogoutOK) Error

func (o *GetPrivateLogoutOK) Error() string

type GetPrivateLogoutParams

type GetPrivateLogoutParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateLogoutParams contains all the parameters to send to the API endpoint for the get private logout operation typically these are written to a http.Request

func NewGetPrivateLogoutParams

func NewGetPrivateLogoutParams() *GetPrivateLogoutParams

NewGetPrivateLogoutParams creates a new GetPrivateLogoutParams object with the default values initialized.

func NewGetPrivateLogoutParamsWithContext

func NewGetPrivateLogoutParamsWithContext(ctx context.Context) *GetPrivateLogoutParams

NewGetPrivateLogoutParamsWithContext creates a new GetPrivateLogoutParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateLogoutParamsWithHTTPClient

func NewGetPrivateLogoutParamsWithHTTPClient(client *http.Client) *GetPrivateLogoutParams

NewGetPrivateLogoutParamsWithHTTPClient creates a new GetPrivateLogoutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateLogoutParamsWithTimeout

func NewGetPrivateLogoutParamsWithTimeout(timeout time.Duration) *GetPrivateLogoutParams

NewGetPrivateLogoutParamsWithTimeout creates a new GetPrivateLogoutParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateLogoutParams) SetContext

func (o *GetPrivateLogoutParams) SetContext(ctx context.Context)

SetContext adds the context to the get private logout params

func (*GetPrivateLogoutParams) SetHTTPClient

func (o *GetPrivateLogoutParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private logout params

func (*GetPrivateLogoutParams) SetTimeout

func (o *GetPrivateLogoutParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private logout params

func (*GetPrivateLogoutParams) WithContext

WithContext adds the context to the get private logout params

func (*GetPrivateLogoutParams) WithHTTPClient

func (o *GetPrivateLogoutParams) WithHTTPClient(client *http.Client) *GetPrivateLogoutParams

WithHTTPClient adds the HTTPClient to the get private logout params

func (*GetPrivateLogoutParams) WithTimeout

WithTimeout adds the timeout to the get private logout params

func (*GetPrivateLogoutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateLogoutReader

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

GetPrivateLogoutReader is a Reader for the GetPrivateLogout structure.

func (*GetPrivateLogoutReader) ReadResponse

func (o *GetPrivateLogoutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateOrderhistoryOK

type GetPrivateOrderhistoryOK struct {
	Payload *models.PrivateOrderhistoryResponse
}

GetPrivateOrderhistoryOK handles this case with default header values.

foo

func NewGetPrivateOrderhistoryOK

func NewGetPrivateOrderhistoryOK() *GetPrivateOrderhistoryOK

NewGetPrivateOrderhistoryOK creates a GetPrivateOrderhistoryOK with default headers values

func (*GetPrivateOrderhistoryOK) Error

func (o *GetPrivateOrderhistoryOK) Error() string

type GetPrivateOrderhistoryParams

type GetPrivateOrderhistoryParams struct {

	/*Count
	  the number of items to be returned.

	*/
	Count *float64
	/*Instrument
	  Either the name of an instrument, "future" of "option"

	*/
	Instrument *string
	/*Offset
	  The offset for pagination

	*/
	Offset *float64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateOrderhistoryParams contains all the parameters to send to the API endpoint for the get private orderhistory operation typically these are written to a http.Request

func NewGetPrivateOrderhistoryParams

func NewGetPrivateOrderhistoryParams() *GetPrivateOrderhistoryParams

NewGetPrivateOrderhistoryParams creates a new GetPrivateOrderhistoryParams object with the default values initialized.

func NewGetPrivateOrderhistoryParamsWithContext

func NewGetPrivateOrderhistoryParamsWithContext(ctx context.Context) *GetPrivateOrderhistoryParams

NewGetPrivateOrderhistoryParamsWithContext creates a new GetPrivateOrderhistoryParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateOrderhistoryParamsWithHTTPClient

func NewGetPrivateOrderhistoryParamsWithHTTPClient(client *http.Client) *GetPrivateOrderhistoryParams

NewGetPrivateOrderhistoryParamsWithHTTPClient creates a new GetPrivateOrderhistoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateOrderhistoryParamsWithTimeout

func NewGetPrivateOrderhistoryParamsWithTimeout(timeout time.Duration) *GetPrivateOrderhistoryParams

NewGetPrivateOrderhistoryParamsWithTimeout creates a new GetPrivateOrderhistoryParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateOrderhistoryParams) SetContext

func (o *GetPrivateOrderhistoryParams) SetContext(ctx context.Context)

SetContext adds the context to the get private orderhistory params

func (*GetPrivateOrderhistoryParams) SetCount

func (o *GetPrivateOrderhistoryParams) SetCount(count *float64)

SetCount adds the count to the get private orderhistory params

func (*GetPrivateOrderhistoryParams) SetHTTPClient

func (o *GetPrivateOrderhistoryParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private orderhistory params

func (*GetPrivateOrderhistoryParams) SetInstrument

func (o *GetPrivateOrderhistoryParams) SetInstrument(instrument *string)

SetInstrument adds the instrument to the get private orderhistory params

func (*GetPrivateOrderhistoryParams) SetOffset

func (o *GetPrivateOrderhistoryParams) SetOffset(offset *float64)

SetOffset adds the offset to the get private orderhistory params

func (*GetPrivateOrderhistoryParams) SetTimeout

func (o *GetPrivateOrderhistoryParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private orderhistory params

func (*GetPrivateOrderhistoryParams) WithContext

WithContext adds the context to the get private orderhistory params

func (*GetPrivateOrderhistoryParams) WithCount

WithCount adds the count to the get private orderhistory params

func (*GetPrivateOrderhistoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private orderhistory params

func (*GetPrivateOrderhistoryParams) WithInstrument

func (o *GetPrivateOrderhistoryParams) WithInstrument(instrument *string) *GetPrivateOrderhistoryParams

WithInstrument adds the instrument to the get private orderhistory params

func (*GetPrivateOrderhistoryParams) WithOffset

WithOffset adds the offset to the get private orderhistory params

func (*GetPrivateOrderhistoryParams) WithTimeout

WithTimeout adds the timeout to the get private orderhistory params

func (*GetPrivateOrderhistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateOrderhistoryReader

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

GetPrivateOrderhistoryReader is a Reader for the GetPrivateOrderhistory structure.

func (*GetPrivateOrderhistoryReader) ReadResponse

func (o *GetPrivateOrderhistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateOrderstateOK

type GetPrivateOrderstateOK struct {
	Payload *models.PrivateOrderstateResponse
}

GetPrivateOrderstateOK handles this case with default header values.

foo

func NewGetPrivateOrderstateOK

func NewGetPrivateOrderstateOK() *GetPrivateOrderstateOK

NewGetPrivateOrderstateOK creates a GetPrivateOrderstateOK with default headers values

func (*GetPrivateOrderstateOK) Error

func (o *GetPrivateOrderstateOK) Error() string

type GetPrivateOrderstateParams

type GetPrivateOrderstateParams struct {

	/*OrderID
	  Required, the ID of the order to be retrieved

	*/
	OrderID *float64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateOrderstateParams contains all the parameters to send to the API endpoint for the get private orderstate operation typically these are written to a http.Request

func NewGetPrivateOrderstateParams

func NewGetPrivateOrderstateParams() *GetPrivateOrderstateParams

NewGetPrivateOrderstateParams creates a new GetPrivateOrderstateParams object with the default values initialized.

func NewGetPrivateOrderstateParamsWithContext

func NewGetPrivateOrderstateParamsWithContext(ctx context.Context) *GetPrivateOrderstateParams

NewGetPrivateOrderstateParamsWithContext creates a new GetPrivateOrderstateParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateOrderstateParamsWithHTTPClient

func NewGetPrivateOrderstateParamsWithHTTPClient(client *http.Client) *GetPrivateOrderstateParams

NewGetPrivateOrderstateParamsWithHTTPClient creates a new GetPrivateOrderstateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateOrderstateParamsWithTimeout

func NewGetPrivateOrderstateParamsWithTimeout(timeout time.Duration) *GetPrivateOrderstateParams

NewGetPrivateOrderstateParamsWithTimeout creates a new GetPrivateOrderstateParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateOrderstateParams) SetContext

func (o *GetPrivateOrderstateParams) SetContext(ctx context.Context)

SetContext adds the context to the get private orderstate params

func (*GetPrivateOrderstateParams) SetHTTPClient

func (o *GetPrivateOrderstateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private orderstate params

func (*GetPrivateOrderstateParams) SetOrderID

func (o *GetPrivateOrderstateParams) SetOrderID(orderID *float64)

SetOrderID adds the orderId to the get private orderstate params

func (*GetPrivateOrderstateParams) SetTimeout

func (o *GetPrivateOrderstateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private orderstate params

func (*GetPrivateOrderstateParams) WithContext

WithContext adds the context to the get private orderstate params

func (*GetPrivateOrderstateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private orderstate params

func (*GetPrivateOrderstateParams) WithOrderID

WithOrderID adds the orderID to the get private orderstate params

func (*GetPrivateOrderstateParams) WithTimeout

WithTimeout adds the timeout to the get private orderstate params

func (*GetPrivateOrderstateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateOrderstateReader

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

GetPrivateOrderstateReader is a Reader for the GetPrivateOrderstate structure.

func (*GetPrivateOrderstateReader) ReadResponse

func (o *GetPrivateOrderstateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivatePositionsOK

type GetPrivatePositionsOK struct {
	Payload *models.PrivatePositionsResponse
}

GetPrivatePositionsOK handles this case with default header values.

foo

func NewGetPrivatePositionsOK

func NewGetPrivatePositionsOK() *GetPrivatePositionsOK

NewGetPrivatePositionsOK creates a GetPrivatePositionsOK with default headers values

func (*GetPrivatePositionsOK) Error

func (o *GetPrivatePositionsOK) Error() string

type GetPrivatePositionsParams

type GetPrivatePositionsParams struct {

	/*Currency
	  Base currency to return positions for (`BTC`, `ETH` or all)

	*/
	Currency *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivatePositionsParams contains all the parameters to send to the API endpoint for the get private positions operation typically these are written to a http.Request

func NewGetPrivatePositionsParams

func NewGetPrivatePositionsParams() *GetPrivatePositionsParams

NewGetPrivatePositionsParams creates a new GetPrivatePositionsParams object with the default values initialized.

func NewGetPrivatePositionsParamsWithContext

func NewGetPrivatePositionsParamsWithContext(ctx context.Context) *GetPrivatePositionsParams

NewGetPrivatePositionsParamsWithContext creates a new GetPrivatePositionsParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivatePositionsParamsWithHTTPClient

func NewGetPrivatePositionsParamsWithHTTPClient(client *http.Client) *GetPrivatePositionsParams

NewGetPrivatePositionsParamsWithHTTPClient creates a new GetPrivatePositionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivatePositionsParamsWithTimeout

func NewGetPrivatePositionsParamsWithTimeout(timeout time.Duration) *GetPrivatePositionsParams

NewGetPrivatePositionsParamsWithTimeout creates a new GetPrivatePositionsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivatePositionsParams) SetContext

func (o *GetPrivatePositionsParams) SetContext(ctx context.Context)

SetContext adds the context to the get private positions params

func (*GetPrivatePositionsParams) SetCurrency

func (o *GetPrivatePositionsParams) SetCurrency(currency *string)

SetCurrency adds the currency to the get private positions params

func (*GetPrivatePositionsParams) SetHTTPClient

func (o *GetPrivatePositionsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private positions params

func (*GetPrivatePositionsParams) SetTimeout

func (o *GetPrivatePositionsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private positions params

func (*GetPrivatePositionsParams) WithContext

WithContext adds the context to the get private positions params

func (*GetPrivatePositionsParams) WithCurrency

func (o *GetPrivatePositionsParams) WithCurrency(currency *string) *GetPrivatePositionsParams

WithCurrency adds the currency to the get private positions params

func (*GetPrivatePositionsParams) WithHTTPClient

func (o *GetPrivatePositionsParams) WithHTTPClient(client *http.Client) *GetPrivatePositionsParams

WithHTTPClient adds the HTTPClient to the get private positions params

func (*GetPrivatePositionsParams) WithTimeout

WithTimeout adds the timeout to the get private positions params

func (*GetPrivatePositionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivatePositionsReader

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

GetPrivatePositionsReader is a Reader for the GetPrivatePositions structure.

func (*GetPrivatePositionsReader) ReadResponse

func (o *GetPrivatePositionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateRemoveFromAddressBookOK

type GetPrivateRemoveFromAddressBookOK struct {
	Payload *models.PrivateRemoveFromAddressBookResponse
}

GetPrivateRemoveFromAddressBookOK handles this case with default header values.

foo

func NewGetPrivateRemoveFromAddressBookOK

func NewGetPrivateRemoveFromAddressBookOK() *GetPrivateRemoveFromAddressBookOK

NewGetPrivateRemoveFromAddressBookOK creates a GetPrivateRemoveFromAddressBookOK with default headers values

func (*GetPrivateRemoveFromAddressBookOK) Error

type GetPrivateRemoveFromAddressBookParams

type GetPrivateRemoveFromAddressBookParams struct {

	/*Address
	  Address in currency format, it must be in address book

	*/
	Address string
	/*Currency
	  The currency symbol

	*/
	Currency string
	/*Tfa
	  TFA code, required when TFA is enabled for current account

	*/
	Tfa *string
	/*Type
	  Address book type

	*/
	Type string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateRemoveFromAddressBookParams contains all the parameters to send to the API endpoint for the get private remove from address book operation typically these are written to a http.Request

func NewGetPrivateRemoveFromAddressBookParams

func NewGetPrivateRemoveFromAddressBookParams() *GetPrivateRemoveFromAddressBookParams

NewGetPrivateRemoveFromAddressBookParams creates a new GetPrivateRemoveFromAddressBookParams object with the default values initialized.

func NewGetPrivateRemoveFromAddressBookParamsWithContext

func NewGetPrivateRemoveFromAddressBookParamsWithContext(ctx context.Context) *GetPrivateRemoveFromAddressBookParams

NewGetPrivateRemoveFromAddressBookParamsWithContext creates a new GetPrivateRemoveFromAddressBookParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateRemoveFromAddressBookParamsWithHTTPClient

func NewGetPrivateRemoveFromAddressBookParamsWithHTTPClient(client *http.Client) *GetPrivateRemoveFromAddressBookParams

NewGetPrivateRemoveFromAddressBookParamsWithHTTPClient creates a new GetPrivateRemoveFromAddressBookParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateRemoveFromAddressBookParamsWithTimeout

func NewGetPrivateRemoveFromAddressBookParamsWithTimeout(timeout time.Duration) *GetPrivateRemoveFromAddressBookParams

NewGetPrivateRemoveFromAddressBookParamsWithTimeout creates a new GetPrivateRemoveFromAddressBookParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateRemoveFromAddressBookParams) SetAddress

func (o *GetPrivateRemoveFromAddressBookParams) SetAddress(address string)

SetAddress adds the address to the get private remove from address book params

func (*GetPrivateRemoveFromAddressBookParams) SetContext

SetContext adds the context to the get private remove from address book params

func (*GetPrivateRemoveFromAddressBookParams) SetCurrency

func (o *GetPrivateRemoveFromAddressBookParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private remove from address book params

func (*GetPrivateRemoveFromAddressBookParams) SetHTTPClient

func (o *GetPrivateRemoveFromAddressBookParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private remove from address book params

func (*GetPrivateRemoveFromAddressBookParams) SetTfa

SetTfa adds the tfa to the get private remove from address book params

func (*GetPrivateRemoveFromAddressBookParams) SetTimeout

func (o *GetPrivateRemoveFromAddressBookParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private remove from address book params

func (*GetPrivateRemoveFromAddressBookParams) SetType

func (o *GetPrivateRemoveFromAddressBookParams) SetType(typeVar string)

SetType adds the type to the get private remove from address book params

func (*GetPrivateRemoveFromAddressBookParams) WithAddress

WithAddress adds the address to the get private remove from address book params

func (*GetPrivateRemoveFromAddressBookParams) WithContext

WithContext adds the context to the get private remove from address book params

func (*GetPrivateRemoveFromAddressBookParams) WithCurrency

WithCurrency adds the currency to the get private remove from address book params

func (*GetPrivateRemoveFromAddressBookParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private remove from address book params

func (*GetPrivateRemoveFromAddressBookParams) WithTfa

WithTfa adds the tfa to the get private remove from address book params

func (*GetPrivateRemoveFromAddressBookParams) WithTimeout

WithTimeout adds the timeout to the get private remove from address book params

func (*GetPrivateRemoveFromAddressBookParams) WithType

WithType adds the typeVar to the get private remove from address book params

func (*GetPrivateRemoveFromAddressBookParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateRemoveFromAddressBookReader

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

GetPrivateRemoveFromAddressBookReader is a Reader for the GetPrivateRemoveFromAddressBook structure.

func (*GetPrivateRemoveFromAddressBookReader) ReadResponse

func (o *GetPrivateRemoveFromAddressBookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateSellOK

type GetPrivateSellOK struct {
	Payload *models.PrivateBuyAndSellResponse
}

GetPrivateSellOK handles this case with default header values.

foo

func NewGetPrivateSellOK

func NewGetPrivateSellOK() *GetPrivateSellOK

NewGetPrivateSellOK creates a GetPrivateSellOK with default headers values

func (*GetPrivateSellOK) Error

func (o *GetPrivateSellOK) Error() string

type GetPrivateSellParams

type GetPrivateSellParams struct {

	/*Advanced
	  Advanced option order type. (Only for options)

	*/
	Advanced *string
	/*Amount
	  It represents the requested order size. For perpetual and futures the amount is in USD units, for options it is amount of corresponding cryptocurrency contracts, e.g., BTC or ETH

	*/
	Amount float64
	/*InstrumentName
	  Instrument name

	*/
	InstrumentName string
	/*Label
	  user defined label for the order (maximum 32 characters)

	*/
	Label *string
	/*MaxShow
	  Maximum amount within an order to be shown to other customers, `0` for invisible order

	*/
	MaxShow *float64
	/*PostOnly
	  <p>If true, the order is considered post-only. If the new price would cause the order to be filled immediately (as taker), the price will be changed to be just below the bid.</p> <p>Only valid in combination with time_in_force=`"good_til_cancelled"`</p>

	*/
	PostOnly *bool
	/*Price
	  <p>The order price in base currency (Only for limit and stop_limit orders)</p> <p>When adding order with advanced=usd, the field price should be the option price value in USD.</p> <p>When adding order with advanced=implv, the field price should be a value of implied volatility in percentages. For example,  price=100, means implied volatility of 100%</p>

	*/
	Price *float64
	/*ReduceOnly
	  If `true`, the order is considered reduce-only which is intended to only reduce a current position

	*/
	ReduceOnly *bool
	/*StopPrice
	  Stop price, required for stop limit orders (Only for stop orders)

	*/
	StopPrice *float64
	/*TimeInForce
	  <p>Specifies how long the order remains in effect. Default `"good_til_cancelled"`</p> <ul> <li>`"good_til_cancelled"` - unfilled order remains in order book until cancelled</li> <li>`"fill_or_kill"` - execute a transaction immediately and completely or not at all</li> <li>`"immediate_or_cancel"` - execute a transaction immediately, and any portion of the order that cannot be immediately filled is cancelled</li> </ul>

	*/
	TimeInForce *string
	/*Trigger
	  Defines trigger type, required for `"stop_limit"` order type

	*/
	Trigger *string
	/*Type
	  The order type, default: `"limit"`

	*/
	Type *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateSellParams contains all the parameters to send to the API endpoint for the get private sell operation typically these are written to a http.Request

func NewGetPrivateSellParams

func NewGetPrivateSellParams() *GetPrivateSellParams

NewGetPrivateSellParams creates a new GetPrivateSellParams object with the default values initialized.

func NewGetPrivateSellParamsWithContext

func NewGetPrivateSellParamsWithContext(ctx context.Context) *GetPrivateSellParams

NewGetPrivateSellParamsWithContext creates a new GetPrivateSellParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateSellParamsWithHTTPClient

func NewGetPrivateSellParamsWithHTTPClient(client *http.Client) *GetPrivateSellParams

NewGetPrivateSellParamsWithHTTPClient creates a new GetPrivateSellParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateSellParamsWithTimeout

func NewGetPrivateSellParamsWithTimeout(timeout time.Duration) *GetPrivateSellParams

NewGetPrivateSellParamsWithTimeout creates a new GetPrivateSellParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateSellParams) SetAdvanced

func (o *GetPrivateSellParams) SetAdvanced(advanced *string)

SetAdvanced adds the advanced to the get private sell params

func (*GetPrivateSellParams) SetAmount

func (o *GetPrivateSellParams) SetAmount(amount float64)

SetAmount adds the amount to the get private sell params

func (*GetPrivateSellParams) SetContext

func (o *GetPrivateSellParams) SetContext(ctx context.Context)

SetContext adds the context to the get private sell params

func (*GetPrivateSellParams) SetHTTPClient

func (o *GetPrivateSellParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private sell params

func (*GetPrivateSellParams) SetInstrumentName

func (o *GetPrivateSellParams) SetInstrumentName(instrumentName string)

SetInstrumentName adds the instrumentName to the get private sell params

func (*GetPrivateSellParams) SetLabel

func (o *GetPrivateSellParams) SetLabel(label *string)

SetLabel adds the label to the get private sell params

func (*GetPrivateSellParams) SetMaxShow

func (o *GetPrivateSellParams) SetMaxShow(maxShow *float64)

SetMaxShow adds the maxShow to the get private sell params

func (*GetPrivateSellParams) SetPostOnly

func (o *GetPrivateSellParams) SetPostOnly(postOnly *bool)

SetPostOnly adds the postOnly to the get private sell params

func (*GetPrivateSellParams) SetPrice

func (o *GetPrivateSellParams) SetPrice(price *float64)

SetPrice adds the price to the get private sell params

func (*GetPrivateSellParams) SetReduceOnly

func (o *GetPrivateSellParams) SetReduceOnly(reduceOnly *bool)

SetReduceOnly adds the reduceOnly to the get private sell params

func (*GetPrivateSellParams) SetStopPrice

func (o *GetPrivateSellParams) SetStopPrice(stopPrice *float64)

SetStopPrice adds the stopPrice to the get private sell params

func (*GetPrivateSellParams) SetTimeInForce

func (o *GetPrivateSellParams) SetTimeInForce(timeInForce *string)

SetTimeInForce adds the timeInForce to the get private sell params

func (*GetPrivateSellParams) SetTimeout

func (o *GetPrivateSellParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private sell params

func (*GetPrivateSellParams) SetTrigger

func (o *GetPrivateSellParams) SetTrigger(trigger *string)

SetTrigger adds the trigger to the get private sell params

func (*GetPrivateSellParams) SetType

func (o *GetPrivateSellParams) SetType(typeVar *string)

SetType adds the type to the get private sell params

func (*GetPrivateSellParams) WithAdvanced

func (o *GetPrivateSellParams) WithAdvanced(advanced *string) *GetPrivateSellParams

WithAdvanced adds the advanced to the get private sell params

func (*GetPrivateSellParams) WithAmount

func (o *GetPrivateSellParams) WithAmount(amount float64) *GetPrivateSellParams

WithAmount adds the amount to the get private sell params

func (*GetPrivateSellParams) WithContext

WithContext adds the context to the get private sell params

func (*GetPrivateSellParams) WithHTTPClient

func (o *GetPrivateSellParams) WithHTTPClient(client *http.Client) *GetPrivateSellParams

WithHTTPClient adds the HTTPClient to the get private sell params

func (*GetPrivateSellParams) WithInstrumentName

func (o *GetPrivateSellParams) WithInstrumentName(instrumentName string) *GetPrivateSellParams

WithInstrumentName adds the instrumentName to the get private sell params

func (*GetPrivateSellParams) WithLabel

func (o *GetPrivateSellParams) WithLabel(label *string) *GetPrivateSellParams

WithLabel adds the label to the get private sell params

func (*GetPrivateSellParams) WithMaxShow

func (o *GetPrivateSellParams) WithMaxShow(maxShow *float64) *GetPrivateSellParams

WithMaxShow adds the maxShow to the get private sell params

func (*GetPrivateSellParams) WithPostOnly

func (o *GetPrivateSellParams) WithPostOnly(postOnly *bool) *GetPrivateSellParams

WithPostOnly adds the postOnly to the get private sell params

func (*GetPrivateSellParams) WithPrice

func (o *GetPrivateSellParams) WithPrice(price *float64) *GetPrivateSellParams

WithPrice adds the price to the get private sell params

func (*GetPrivateSellParams) WithReduceOnly

func (o *GetPrivateSellParams) WithReduceOnly(reduceOnly *bool) *GetPrivateSellParams

WithReduceOnly adds the reduceOnly to the get private sell params

func (*GetPrivateSellParams) WithStopPrice

func (o *GetPrivateSellParams) WithStopPrice(stopPrice *float64) *GetPrivateSellParams

WithStopPrice adds the stopPrice to the get private sell params

func (*GetPrivateSellParams) WithTimeInForce

func (o *GetPrivateSellParams) WithTimeInForce(timeInForce *string) *GetPrivateSellParams

WithTimeInForce adds the timeInForce to the get private sell params

func (*GetPrivateSellParams) WithTimeout

func (o *GetPrivateSellParams) WithTimeout(timeout time.Duration) *GetPrivateSellParams

WithTimeout adds the timeout to the get private sell params

func (*GetPrivateSellParams) WithTrigger

func (o *GetPrivateSellParams) WithTrigger(trigger *string) *GetPrivateSellParams

WithTrigger adds the trigger to the get private sell params

func (*GetPrivateSellParams) WithType

func (o *GetPrivateSellParams) WithType(typeVar *string) *GetPrivateSellParams

WithType adds the typeVar to the get private sell params

func (*GetPrivateSellParams) WriteToRequest

func (o *GetPrivateSellParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPrivateSellReader

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

GetPrivateSellReader is a Reader for the GetPrivateSell structure.

func (*GetPrivateSellReader) ReadResponse

func (o *GetPrivateSellReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateSetAnnouncementAsReadOK

type GetPrivateSetAnnouncementAsReadOK struct {
	Payload *models.OkResponse
}

GetPrivateSetAnnouncementAsReadOK handles this case with default header values.

foo

func NewGetPrivateSetAnnouncementAsReadOK

func NewGetPrivateSetAnnouncementAsReadOK() *GetPrivateSetAnnouncementAsReadOK

NewGetPrivateSetAnnouncementAsReadOK creates a GetPrivateSetAnnouncementAsReadOK with default headers values

func (*GetPrivateSetAnnouncementAsReadOK) Error

type GetPrivateSetAnnouncementAsReadParams

type GetPrivateSetAnnouncementAsReadParams struct {

	/*AnnouncementID
	  the ID of the announcement

	*/
	AnnouncementID float64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateSetAnnouncementAsReadParams contains all the parameters to send to the API endpoint for the get private set announcement as read operation typically these are written to a http.Request

func NewGetPrivateSetAnnouncementAsReadParams

func NewGetPrivateSetAnnouncementAsReadParams() *GetPrivateSetAnnouncementAsReadParams

NewGetPrivateSetAnnouncementAsReadParams creates a new GetPrivateSetAnnouncementAsReadParams object with the default values initialized.

func NewGetPrivateSetAnnouncementAsReadParamsWithContext

func NewGetPrivateSetAnnouncementAsReadParamsWithContext(ctx context.Context) *GetPrivateSetAnnouncementAsReadParams

NewGetPrivateSetAnnouncementAsReadParamsWithContext creates a new GetPrivateSetAnnouncementAsReadParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateSetAnnouncementAsReadParamsWithHTTPClient

func NewGetPrivateSetAnnouncementAsReadParamsWithHTTPClient(client *http.Client) *GetPrivateSetAnnouncementAsReadParams

NewGetPrivateSetAnnouncementAsReadParamsWithHTTPClient creates a new GetPrivateSetAnnouncementAsReadParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateSetAnnouncementAsReadParamsWithTimeout

func NewGetPrivateSetAnnouncementAsReadParamsWithTimeout(timeout time.Duration) *GetPrivateSetAnnouncementAsReadParams

NewGetPrivateSetAnnouncementAsReadParamsWithTimeout creates a new GetPrivateSetAnnouncementAsReadParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateSetAnnouncementAsReadParams) SetAnnouncementID

func (o *GetPrivateSetAnnouncementAsReadParams) SetAnnouncementID(announcementID float64)

SetAnnouncementID adds the announcementId to the get private set announcement as read params

func (*GetPrivateSetAnnouncementAsReadParams) SetContext

SetContext adds the context to the get private set announcement as read params

func (*GetPrivateSetAnnouncementAsReadParams) SetHTTPClient

func (o *GetPrivateSetAnnouncementAsReadParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private set announcement as read params

func (*GetPrivateSetAnnouncementAsReadParams) SetTimeout

func (o *GetPrivateSetAnnouncementAsReadParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private set announcement as read params

func (*GetPrivateSetAnnouncementAsReadParams) WithAnnouncementID

WithAnnouncementID adds the announcementID to the get private set announcement as read params

func (*GetPrivateSetAnnouncementAsReadParams) WithContext

WithContext adds the context to the get private set announcement as read params

func (*GetPrivateSetAnnouncementAsReadParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private set announcement as read params

func (*GetPrivateSetAnnouncementAsReadParams) WithTimeout

WithTimeout adds the timeout to the get private set announcement as read params

func (*GetPrivateSetAnnouncementAsReadParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateSetAnnouncementAsReadReader

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

GetPrivateSetAnnouncementAsReadReader is a Reader for the GetPrivateSetAnnouncementAsRead structure.

func (*GetPrivateSetAnnouncementAsReadReader) ReadResponse

func (o *GetPrivateSetAnnouncementAsReadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateSetEmailForSubaccountOK

type GetPrivateSetEmailForSubaccountOK struct {
	Payload *models.OkResponse
}

GetPrivateSetEmailForSubaccountOK handles this case with default header values.

foo

func NewGetPrivateSetEmailForSubaccountOK

func NewGetPrivateSetEmailForSubaccountOK() *GetPrivateSetEmailForSubaccountOK

NewGetPrivateSetEmailForSubaccountOK creates a GetPrivateSetEmailForSubaccountOK with default headers values

func (*GetPrivateSetEmailForSubaccountOK) Error

type GetPrivateSetEmailForSubaccountParams

type GetPrivateSetEmailForSubaccountParams struct {

	/*Email
	  The email address for the subaccount

	*/
	Email string
	/*Sid
	  The user id for the subaccount

	*/
	Sid int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateSetEmailForSubaccountParams contains all the parameters to send to the API endpoint for the get private set email for subaccount operation typically these are written to a http.Request

func NewGetPrivateSetEmailForSubaccountParams

func NewGetPrivateSetEmailForSubaccountParams() *GetPrivateSetEmailForSubaccountParams

NewGetPrivateSetEmailForSubaccountParams creates a new GetPrivateSetEmailForSubaccountParams object with the default values initialized.

func NewGetPrivateSetEmailForSubaccountParamsWithContext

func NewGetPrivateSetEmailForSubaccountParamsWithContext(ctx context.Context) *GetPrivateSetEmailForSubaccountParams

NewGetPrivateSetEmailForSubaccountParamsWithContext creates a new GetPrivateSetEmailForSubaccountParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateSetEmailForSubaccountParamsWithHTTPClient

func NewGetPrivateSetEmailForSubaccountParamsWithHTTPClient(client *http.Client) *GetPrivateSetEmailForSubaccountParams

NewGetPrivateSetEmailForSubaccountParamsWithHTTPClient creates a new GetPrivateSetEmailForSubaccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateSetEmailForSubaccountParamsWithTimeout

func NewGetPrivateSetEmailForSubaccountParamsWithTimeout(timeout time.Duration) *GetPrivateSetEmailForSubaccountParams

NewGetPrivateSetEmailForSubaccountParamsWithTimeout creates a new GetPrivateSetEmailForSubaccountParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateSetEmailForSubaccountParams) SetContext

SetContext adds the context to the get private set email for subaccount params

func (*GetPrivateSetEmailForSubaccountParams) SetEmail

func (o *GetPrivateSetEmailForSubaccountParams) SetEmail(email string)

SetEmail adds the email to the get private set email for subaccount params

func (*GetPrivateSetEmailForSubaccountParams) SetHTTPClient

func (o *GetPrivateSetEmailForSubaccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private set email for subaccount params

func (*GetPrivateSetEmailForSubaccountParams) SetSid

SetSid adds the sid to the get private set email for subaccount params

func (*GetPrivateSetEmailForSubaccountParams) SetTimeout

func (o *GetPrivateSetEmailForSubaccountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private set email for subaccount params

func (*GetPrivateSetEmailForSubaccountParams) WithContext

WithContext adds the context to the get private set email for subaccount params

func (*GetPrivateSetEmailForSubaccountParams) WithEmail

WithEmail adds the email to the get private set email for subaccount params

func (*GetPrivateSetEmailForSubaccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private set email for subaccount params

func (*GetPrivateSetEmailForSubaccountParams) WithSid

WithSid adds the sid to the get private set email for subaccount params

func (*GetPrivateSetEmailForSubaccountParams) WithTimeout

WithTimeout adds the timeout to the get private set email for subaccount params

func (*GetPrivateSetEmailForSubaccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateSetEmailForSubaccountReader

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

GetPrivateSetEmailForSubaccountReader is a Reader for the GetPrivateSetEmailForSubaccount structure.

func (*GetPrivateSetEmailForSubaccountReader) ReadResponse

func (o *GetPrivateSetEmailForSubaccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateSetEmailLanguageOK

type GetPrivateSetEmailLanguageOK struct {
	Payload *models.OkResponse
}

GetPrivateSetEmailLanguageOK handles this case with default header values.

foo

func NewGetPrivateSetEmailLanguageOK

func NewGetPrivateSetEmailLanguageOK() *GetPrivateSetEmailLanguageOK

NewGetPrivateSetEmailLanguageOK creates a GetPrivateSetEmailLanguageOK with default headers values

func (*GetPrivateSetEmailLanguageOK) Error

type GetPrivateSetEmailLanguageParams

type GetPrivateSetEmailLanguageParams struct {

	/*Language
	  The abbreviated language name. Valid values include `"en"`, `"ko"`, `"zh"`

	*/
	Language string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateSetEmailLanguageParams contains all the parameters to send to the API endpoint for the get private set email language operation typically these are written to a http.Request

func NewGetPrivateSetEmailLanguageParams

func NewGetPrivateSetEmailLanguageParams() *GetPrivateSetEmailLanguageParams

NewGetPrivateSetEmailLanguageParams creates a new GetPrivateSetEmailLanguageParams object with the default values initialized.

func NewGetPrivateSetEmailLanguageParamsWithContext

func NewGetPrivateSetEmailLanguageParamsWithContext(ctx context.Context) *GetPrivateSetEmailLanguageParams

NewGetPrivateSetEmailLanguageParamsWithContext creates a new GetPrivateSetEmailLanguageParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateSetEmailLanguageParamsWithHTTPClient

func NewGetPrivateSetEmailLanguageParamsWithHTTPClient(client *http.Client) *GetPrivateSetEmailLanguageParams

NewGetPrivateSetEmailLanguageParamsWithHTTPClient creates a new GetPrivateSetEmailLanguageParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateSetEmailLanguageParamsWithTimeout

func NewGetPrivateSetEmailLanguageParamsWithTimeout(timeout time.Duration) *GetPrivateSetEmailLanguageParams

NewGetPrivateSetEmailLanguageParamsWithTimeout creates a new GetPrivateSetEmailLanguageParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateSetEmailLanguageParams) SetContext

SetContext adds the context to the get private set email language params

func (*GetPrivateSetEmailLanguageParams) SetHTTPClient

func (o *GetPrivateSetEmailLanguageParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private set email language params

func (*GetPrivateSetEmailLanguageParams) SetLanguage

func (o *GetPrivateSetEmailLanguageParams) SetLanguage(language string)

SetLanguage adds the language to the get private set email language params

func (*GetPrivateSetEmailLanguageParams) SetTimeout

func (o *GetPrivateSetEmailLanguageParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private set email language params

func (*GetPrivateSetEmailLanguageParams) WithContext

WithContext adds the context to the get private set email language params

func (*GetPrivateSetEmailLanguageParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private set email language params

func (*GetPrivateSetEmailLanguageParams) WithLanguage

WithLanguage adds the language to the get private set email language params

func (*GetPrivateSetEmailLanguageParams) WithTimeout

WithTimeout adds the timeout to the get private set email language params

func (*GetPrivateSetEmailLanguageParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateSetEmailLanguageReader

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

GetPrivateSetEmailLanguageReader is a Reader for the GetPrivateSetEmailLanguage structure.

func (*GetPrivateSetEmailLanguageReader) ReadResponse

func (o *GetPrivateSetEmailLanguageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateSetPasswordForSubaccountOK

type GetPrivateSetPasswordForSubaccountOK struct {
	Payload *models.OkResponse
}

GetPrivateSetPasswordForSubaccountOK handles this case with default header values.

foo

func NewGetPrivateSetPasswordForSubaccountOK

func NewGetPrivateSetPasswordForSubaccountOK() *GetPrivateSetPasswordForSubaccountOK

NewGetPrivateSetPasswordForSubaccountOK creates a GetPrivateSetPasswordForSubaccountOK with default headers values

func (*GetPrivateSetPasswordForSubaccountOK) Error

type GetPrivateSetPasswordForSubaccountParams

type GetPrivateSetPasswordForSubaccountParams struct {

	/*Password
	  The password for the subaccount

	*/
	Password string
	/*Sid
	  The user id for the subaccount

	*/
	Sid int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateSetPasswordForSubaccountParams contains all the parameters to send to the API endpoint for the get private set password for subaccount operation typically these are written to a http.Request

func NewGetPrivateSetPasswordForSubaccountParams

func NewGetPrivateSetPasswordForSubaccountParams() *GetPrivateSetPasswordForSubaccountParams

NewGetPrivateSetPasswordForSubaccountParams creates a new GetPrivateSetPasswordForSubaccountParams object with the default values initialized.

func NewGetPrivateSetPasswordForSubaccountParamsWithContext

func NewGetPrivateSetPasswordForSubaccountParamsWithContext(ctx context.Context) *GetPrivateSetPasswordForSubaccountParams

NewGetPrivateSetPasswordForSubaccountParamsWithContext creates a new GetPrivateSetPasswordForSubaccountParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateSetPasswordForSubaccountParamsWithHTTPClient

func NewGetPrivateSetPasswordForSubaccountParamsWithHTTPClient(client *http.Client) *GetPrivateSetPasswordForSubaccountParams

NewGetPrivateSetPasswordForSubaccountParamsWithHTTPClient creates a new GetPrivateSetPasswordForSubaccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateSetPasswordForSubaccountParamsWithTimeout

func NewGetPrivateSetPasswordForSubaccountParamsWithTimeout(timeout time.Duration) *GetPrivateSetPasswordForSubaccountParams

NewGetPrivateSetPasswordForSubaccountParamsWithTimeout creates a new GetPrivateSetPasswordForSubaccountParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateSetPasswordForSubaccountParams) SetContext

SetContext adds the context to the get private set password for subaccount params

func (*GetPrivateSetPasswordForSubaccountParams) SetHTTPClient

func (o *GetPrivateSetPasswordForSubaccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private set password for subaccount params

func (*GetPrivateSetPasswordForSubaccountParams) SetPassword

func (o *GetPrivateSetPasswordForSubaccountParams) SetPassword(password string)

SetPassword adds the password to the get private set password for subaccount params

func (*GetPrivateSetPasswordForSubaccountParams) SetSid

SetSid adds the sid to the get private set password for subaccount params

func (*GetPrivateSetPasswordForSubaccountParams) SetTimeout

SetTimeout adds the timeout to the get private set password for subaccount params

func (*GetPrivateSetPasswordForSubaccountParams) WithContext

WithContext adds the context to the get private set password for subaccount params

func (*GetPrivateSetPasswordForSubaccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private set password for subaccount params

func (*GetPrivateSetPasswordForSubaccountParams) WithPassword

WithPassword adds the password to the get private set password for subaccount params

func (*GetPrivateSetPasswordForSubaccountParams) WithSid

WithSid adds the sid to the get private set password for subaccount params

func (*GetPrivateSetPasswordForSubaccountParams) WithTimeout

WithTimeout adds the timeout to the get private set password for subaccount params

func (*GetPrivateSetPasswordForSubaccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateSetPasswordForSubaccountReader

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

GetPrivateSetPasswordForSubaccountReader is a Reader for the GetPrivateSetPasswordForSubaccount structure.

func (*GetPrivateSetPasswordForSubaccountReader) ReadResponse

func (o *GetPrivateSetPasswordForSubaccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateSubmitTransferToSubaccountOK

type GetPrivateSubmitTransferToSubaccountOK struct {
	Payload *models.PrivateSubmitTransferResponse
}

GetPrivateSubmitTransferToSubaccountOK handles this case with default header values.

foo

func NewGetPrivateSubmitTransferToSubaccountOK

func NewGetPrivateSubmitTransferToSubaccountOK() *GetPrivateSubmitTransferToSubaccountOK

NewGetPrivateSubmitTransferToSubaccountOK creates a GetPrivateSubmitTransferToSubaccountOK with default headers values

func (*GetPrivateSubmitTransferToSubaccountOK) Error

type GetPrivateSubmitTransferToSubaccountParams

type GetPrivateSubmitTransferToSubaccountParams struct {

	/*Amount
	  Amount of funds to be transferred

	*/
	Amount float64
	/*Currency
	  The currency symbol

	*/
	Currency string
	/*Destination
	  Id of destination subaccount

	*/
	Destination int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateSubmitTransferToSubaccountParams contains all the parameters to send to the API endpoint for the get private submit transfer to subaccount operation typically these are written to a http.Request

func NewGetPrivateSubmitTransferToSubaccountParams

func NewGetPrivateSubmitTransferToSubaccountParams() *GetPrivateSubmitTransferToSubaccountParams

NewGetPrivateSubmitTransferToSubaccountParams creates a new GetPrivateSubmitTransferToSubaccountParams object with the default values initialized.

func NewGetPrivateSubmitTransferToSubaccountParamsWithContext

func NewGetPrivateSubmitTransferToSubaccountParamsWithContext(ctx context.Context) *GetPrivateSubmitTransferToSubaccountParams

NewGetPrivateSubmitTransferToSubaccountParamsWithContext creates a new GetPrivateSubmitTransferToSubaccountParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateSubmitTransferToSubaccountParamsWithHTTPClient

func NewGetPrivateSubmitTransferToSubaccountParamsWithHTTPClient(client *http.Client) *GetPrivateSubmitTransferToSubaccountParams

NewGetPrivateSubmitTransferToSubaccountParamsWithHTTPClient creates a new GetPrivateSubmitTransferToSubaccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateSubmitTransferToSubaccountParamsWithTimeout

func NewGetPrivateSubmitTransferToSubaccountParamsWithTimeout(timeout time.Duration) *GetPrivateSubmitTransferToSubaccountParams

NewGetPrivateSubmitTransferToSubaccountParamsWithTimeout creates a new GetPrivateSubmitTransferToSubaccountParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateSubmitTransferToSubaccountParams) SetAmount

SetAmount adds the amount to the get private submit transfer to subaccount params

func (*GetPrivateSubmitTransferToSubaccountParams) SetContext

SetContext adds the context to the get private submit transfer to subaccount params

func (*GetPrivateSubmitTransferToSubaccountParams) SetCurrency

func (o *GetPrivateSubmitTransferToSubaccountParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private submit transfer to subaccount params

func (*GetPrivateSubmitTransferToSubaccountParams) SetDestination

func (o *GetPrivateSubmitTransferToSubaccountParams) SetDestination(destination int64)

SetDestination adds the destination to the get private submit transfer to subaccount params

func (*GetPrivateSubmitTransferToSubaccountParams) SetHTTPClient

func (o *GetPrivateSubmitTransferToSubaccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private submit transfer to subaccount params

func (*GetPrivateSubmitTransferToSubaccountParams) SetTimeout

SetTimeout adds the timeout to the get private submit transfer to subaccount params

func (*GetPrivateSubmitTransferToSubaccountParams) WithAmount

WithAmount adds the amount to the get private submit transfer to subaccount params

func (*GetPrivateSubmitTransferToSubaccountParams) WithContext

WithContext adds the context to the get private submit transfer to subaccount params

func (*GetPrivateSubmitTransferToSubaccountParams) WithCurrency

WithCurrency adds the currency to the get private submit transfer to subaccount params

func (*GetPrivateSubmitTransferToSubaccountParams) WithDestination

WithDestination adds the destination to the get private submit transfer to subaccount params

func (*GetPrivateSubmitTransferToSubaccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private submit transfer to subaccount params

func (*GetPrivateSubmitTransferToSubaccountParams) WithTimeout

WithTimeout adds the timeout to the get private submit transfer to subaccount params

func (*GetPrivateSubmitTransferToSubaccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateSubmitTransferToSubaccountReader

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

GetPrivateSubmitTransferToSubaccountReader is a Reader for the GetPrivateSubmitTransferToSubaccount structure.

func (*GetPrivateSubmitTransferToSubaccountReader) ReadResponse

func (o *GetPrivateSubmitTransferToSubaccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateSubmitTransferToUserOK

type GetPrivateSubmitTransferToUserOK struct {
	Payload *models.PrivateSubmitTransferResponse
}

GetPrivateSubmitTransferToUserOK handles this case with default header values.

foo

func NewGetPrivateSubmitTransferToUserOK

func NewGetPrivateSubmitTransferToUserOK() *GetPrivateSubmitTransferToUserOK

NewGetPrivateSubmitTransferToUserOK creates a GetPrivateSubmitTransferToUserOK with default headers values

func (*GetPrivateSubmitTransferToUserOK) Error

type GetPrivateSubmitTransferToUserParams

type GetPrivateSubmitTransferToUserParams struct {

	/*Amount
	  Amount of funds to be transferred

	*/
	Amount float64
	/*Currency
	  The currency symbol

	*/
	Currency string
	/*Destination
	  Destination address from address book

	*/
	Destination string
	/*Tfa
	  TFA code, required when TFA is enabled for current account

	*/
	Tfa *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateSubmitTransferToUserParams contains all the parameters to send to the API endpoint for the get private submit transfer to user operation typically these are written to a http.Request

func NewGetPrivateSubmitTransferToUserParams

func NewGetPrivateSubmitTransferToUserParams() *GetPrivateSubmitTransferToUserParams

NewGetPrivateSubmitTransferToUserParams creates a new GetPrivateSubmitTransferToUserParams object with the default values initialized.

func NewGetPrivateSubmitTransferToUserParamsWithContext

func NewGetPrivateSubmitTransferToUserParamsWithContext(ctx context.Context) *GetPrivateSubmitTransferToUserParams

NewGetPrivateSubmitTransferToUserParamsWithContext creates a new GetPrivateSubmitTransferToUserParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateSubmitTransferToUserParamsWithHTTPClient

func NewGetPrivateSubmitTransferToUserParamsWithHTTPClient(client *http.Client) *GetPrivateSubmitTransferToUserParams

NewGetPrivateSubmitTransferToUserParamsWithHTTPClient creates a new GetPrivateSubmitTransferToUserParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateSubmitTransferToUserParamsWithTimeout

func NewGetPrivateSubmitTransferToUserParamsWithTimeout(timeout time.Duration) *GetPrivateSubmitTransferToUserParams

NewGetPrivateSubmitTransferToUserParamsWithTimeout creates a new GetPrivateSubmitTransferToUserParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateSubmitTransferToUserParams) SetAmount

func (o *GetPrivateSubmitTransferToUserParams) SetAmount(amount float64)

SetAmount adds the amount to the get private submit transfer to user params

func (*GetPrivateSubmitTransferToUserParams) SetContext

SetContext adds the context to the get private submit transfer to user params

func (*GetPrivateSubmitTransferToUserParams) SetCurrency

func (o *GetPrivateSubmitTransferToUserParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private submit transfer to user params

func (*GetPrivateSubmitTransferToUserParams) SetDestination

func (o *GetPrivateSubmitTransferToUserParams) SetDestination(destination string)

SetDestination adds the destination to the get private submit transfer to user params

func (*GetPrivateSubmitTransferToUserParams) SetHTTPClient

func (o *GetPrivateSubmitTransferToUserParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private submit transfer to user params

func (*GetPrivateSubmitTransferToUserParams) SetTfa

SetTfa adds the tfa to the get private submit transfer to user params

func (*GetPrivateSubmitTransferToUserParams) SetTimeout

func (o *GetPrivateSubmitTransferToUserParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private submit transfer to user params

func (*GetPrivateSubmitTransferToUserParams) WithAmount

WithAmount adds the amount to the get private submit transfer to user params

func (*GetPrivateSubmitTransferToUserParams) WithContext

WithContext adds the context to the get private submit transfer to user params

func (*GetPrivateSubmitTransferToUserParams) WithCurrency

WithCurrency adds the currency to the get private submit transfer to user params

func (*GetPrivateSubmitTransferToUserParams) WithDestination

WithDestination adds the destination to the get private submit transfer to user params

func (*GetPrivateSubmitTransferToUserParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private submit transfer to user params

func (*GetPrivateSubmitTransferToUserParams) WithTfa

WithTfa adds the tfa to the get private submit transfer to user params

func (*GetPrivateSubmitTransferToUserParams) WithTimeout

WithTimeout adds the timeout to the get private submit transfer to user params

func (*GetPrivateSubmitTransferToUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateSubmitTransferToUserReader

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

GetPrivateSubmitTransferToUserReader is a Reader for the GetPrivateSubmitTransferToUser structure.

func (*GetPrivateSubmitTransferToUserReader) ReadResponse

func (o *GetPrivateSubmitTransferToUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateSubscribeOK

type GetPrivateSubscribeOK struct {
	Payload *models.PrivateSubscribeResponse
}

GetPrivateSubscribeOK handles this case with default header values.

foo

func NewGetPrivateSubscribeOK

func NewGetPrivateSubscribeOK() *GetPrivateSubscribeOK

NewGetPrivateSubscribeOK creates a GetPrivateSubscribeOK with default headers values

func (*GetPrivateSubscribeOK) Error

func (o *GetPrivateSubscribeOK) Error() string

type GetPrivateSubscribeParams

type GetPrivateSubscribeParams struct {

	/*Channels
	  A list of channels to subscribe to.

	*/
	Channels []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateSubscribeParams contains all the parameters to send to the API endpoint for the get private subscribe operation typically these are written to a http.Request

func NewGetPrivateSubscribeParams

func NewGetPrivateSubscribeParams() *GetPrivateSubscribeParams

NewGetPrivateSubscribeParams creates a new GetPrivateSubscribeParams object with the default values initialized.

func NewGetPrivateSubscribeParamsWithContext

func NewGetPrivateSubscribeParamsWithContext(ctx context.Context) *GetPrivateSubscribeParams

NewGetPrivateSubscribeParamsWithContext creates a new GetPrivateSubscribeParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateSubscribeParamsWithHTTPClient

func NewGetPrivateSubscribeParamsWithHTTPClient(client *http.Client) *GetPrivateSubscribeParams

NewGetPrivateSubscribeParamsWithHTTPClient creates a new GetPrivateSubscribeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateSubscribeParamsWithTimeout

func NewGetPrivateSubscribeParamsWithTimeout(timeout time.Duration) *GetPrivateSubscribeParams

NewGetPrivateSubscribeParamsWithTimeout creates a new GetPrivateSubscribeParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateSubscribeParams) SetChannels

func (o *GetPrivateSubscribeParams) SetChannels(channels []string)

SetChannels adds the channels to the get private subscribe params

func (*GetPrivateSubscribeParams) SetContext

func (o *GetPrivateSubscribeParams) SetContext(ctx context.Context)

SetContext adds the context to the get private subscribe params

func (*GetPrivateSubscribeParams) SetHTTPClient

func (o *GetPrivateSubscribeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private subscribe params

func (*GetPrivateSubscribeParams) SetTimeout

func (o *GetPrivateSubscribeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private subscribe params

func (*GetPrivateSubscribeParams) WithChannels

func (o *GetPrivateSubscribeParams) WithChannels(channels []string) *GetPrivateSubscribeParams

WithChannels adds the channels to the get private subscribe params

func (*GetPrivateSubscribeParams) WithContext

WithContext adds the context to the get private subscribe params

func (*GetPrivateSubscribeParams) WithHTTPClient

func (o *GetPrivateSubscribeParams) WithHTTPClient(client *http.Client) *GetPrivateSubscribeParams

WithHTTPClient adds the HTTPClient to the get private subscribe params

func (*GetPrivateSubscribeParams) WithTimeout

WithTimeout adds the timeout to the get private subscribe params

func (*GetPrivateSubscribeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateSubscribeReader

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

GetPrivateSubscribeReader is a Reader for the GetPrivateSubscribe structure.

func (*GetPrivateSubscribeReader) ReadResponse

func (o *GetPrivateSubscribeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateSubscribeUnauthorized

type GetPrivateSubscribeUnauthorized struct {
	Payload *models.ErrorMessage
}

GetPrivateSubscribeUnauthorized handles this case with default header values.

not authorised

func NewGetPrivateSubscribeUnauthorized

func NewGetPrivateSubscribeUnauthorized() *GetPrivateSubscribeUnauthorized

NewGetPrivateSubscribeUnauthorized creates a GetPrivateSubscribeUnauthorized with default headers values

func (*GetPrivateSubscribeUnauthorized) Error

type GetPrivateToggleDepositAddressCreationOK

type GetPrivateToggleDepositAddressCreationOK struct {
	Payload *models.OkResponse
}

GetPrivateToggleDepositAddressCreationOK handles this case with default header values.

foo

func NewGetPrivateToggleDepositAddressCreationOK

func NewGetPrivateToggleDepositAddressCreationOK() *GetPrivateToggleDepositAddressCreationOK

NewGetPrivateToggleDepositAddressCreationOK creates a GetPrivateToggleDepositAddressCreationOK with default headers values

func (*GetPrivateToggleDepositAddressCreationOK) Error

type GetPrivateToggleDepositAddressCreationParams

type GetPrivateToggleDepositAddressCreationParams struct {

	/*Currency
	  The currency symbol

	*/
	Currency string
	/*State*/
	State bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateToggleDepositAddressCreationParams contains all the parameters to send to the API endpoint for the get private toggle deposit address creation operation typically these are written to a http.Request

func NewGetPrivateToggleDepositAddressCreationParams

func NewGetPrivateToggleDepositAddressCreationParams() *GetPrivateToggleDepositAddressCreationParams

NewGetPrivateToggleDepositAddressCreationParams creates a new GetPrivateToggleDepositAddressCreationParams object with the default values initialized.

func NewGetPrivateToggleDepositAddressCreationParamsWithContext

func NewGetPrivateToggleDepositAddressCreationParamsWithContext(ctx context.Context) *GetPrivateToggleDepositAddressCreationParams

NewGetPrivateToggleDepositAddressCreationParamsWithContext creates a new GetPrivateToggleDepositAddressCreationParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateToggleDepositAddressCreationParamsWithHTTPClient

func NewGetPrivateToggleDepositAddressCreationParamsWithHTTPClient(client *http.Client) *GetPrivateToggleDepositAddressCreationParams

NewGetPrivateToggleDepositAddressCreationParamsWithHTTPClient creates a new GetPrivateToggleDepositAddressCreationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateToggleDepositAddressCreationParamsWithTimeout

func NewGetPrivateToggleDepositAddressCreationParamsWithTimeout(timeout time.Duration) *GetPrivateToggleDepositAddressCreationParams

NewGetPrivateToggleDepositAddressCreationParamsWithTimeout creates a new GetPrivateToggleDepositAddressCreationParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateToggleDepositAddressCreationParams) SetContext

SetContext adds the context to the get private toggle deposit address creation params

func (*GetPrivateToggleDepositAddressCreationParams) SetCurrency

func (o *GetPrivateToggleDepositAddressCreationParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private toggle deposit address creation params

func (*GetPrivateToggleDepositAddressCreationParams) SetHTTPClient

func (o *GetPrivateToggleDepositAddressCreationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private toggle deposit address creation params

func (*GetPrivateToggleDepositAddressCreationParams) SetState

SetState adds the state to the get private toggle deposit address creation params

func (*GetPrivateToggleDepositAddressCreationParams) SetTimeout

SetTimeout adds the timeout to the get private toggle deposit address creation params

func (*GetPrivateToggleDepositAddressCreationParams) WithContext

WithContext adds the context to the get private toggle deposit address creation params

func (*GetPrivateToggleDepositAddressCreationParams) WithCurrency

WithCurrency adds the currency to the get private toggle deposit address creation params

func (*GetPrivateToggleDepositAddressCreationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private toggle deposit address creation params

func (*GetPrivateToggleDepositAddressCreationParams) WithState

WithState adds the state to the get private toggle deposit address creation params

func (*GetPrivateToggleDepositAddressCreationParams) WithTimeout

WithTimeout adds the timeout to the get private toggle deposit address creation params

func (*GetPrivateToggleDepositAddressCreationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateToggleDepositAddressCreationReader

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

GetPrivateToggleDepositAddressCreationReader is a Reader for the GetPrivateToggleDepositAddressCreation structure.

func (*GetPrivateToggleDepositAddressCreationReader) ReadResponse

func (o *GetPrivateToggleDepositAddressCreationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateToggleNotificationsFromSubaccountOK

type GetPrivateToggleNotificationsFromSubaccountOK struct {
	Payload *models.OkResponse
}

GetPrivateToggleNotificationsFromSubaccountOK handles this case with default header values.

foo

func NewGetPrivateToggleNotificationsFromSubaccountOK

func NewGetPrivateToggleNotificationsFromSubaccountOK() *GetPrivateToggleNotificationsFromSubaccountOK

NewGetPrivateToggleNotificationsFromSubaccountOK creates a GetPrivateToggleNotificationsFromSubaccountOK with default headers values

func (*GetPrivateToggleNotificationsFromSubaccountOK) Error

type GetPrivateToggleNotificationsFromSubaccountParams

type GetPrivateToggleNotificationsFromSubaccountParams struct {

	/*Sid
	  The user id for the subaccount

	*/
	Sid int64
	/*State
	  enable (`true`) or disable (`false`) notifications

	*/
	State bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateToggleNotificationsFromSubaccountParams contains all the parameters to send to the API endpoint for the get private toggle notifications from subaccount operation typically these are written to a http.Request

func NewGetPrivateToggleNotificationsFromSubaccountParams

func NewGetPrivateToggleNotificationsFromSubaccountParams() *GetPrivateToggleNotificationsFromSubaccountParams

NewGetPrivateToggleNotificationsFromSubaccountParams creates a new GetPrivateToggleNotificationsFromSubaccountParams object with the default values initialized.

func NewGetPrivateToggleNotificationsFromSubaccountParamsWithContext

func NewGetPrivateToggleNotificationsFromSubaccountParamsWithContext(ctx context.Context) *GetPrivateToggleNotificationsFromSubaccountParams

NewGetPrivateToggleNotificationsFromSubaccountParamsWithContext creates a new GetPrivateToggleNotificationsFromSubaccountParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateToggleNotificationsFromSubaccountParamsWithHTTPClient

func NewGetPrivateToggleNotificationsFromSubaccountParamsWithHTTPClient(client *http.Client) *GetPrivateToggleNotificationsFromSubaccountParams

NewGetPrivateToggleNotificationsFromSubaccountParamsWithHTTPClient creates a new GetPrivateToggleNotificationsFromSubaccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateToggleNotificationsFromSubaccountParamsWithTimeout

func NewGetPrivateToggleNotificationsFromSubaccountParamsWithTimeout(timeout time.Duration) *GetPrivateToggleNotificationsFromSubaccountParams

NewGetPrivateToggleNotificationsFromSubaccountParamsWithTimeout creates a new GetPrivateToggleNotificationsFromSubaccountParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateToggleNotificationsFromSubaccountParams) SetContext

SetContext adds the context to the get private toggle notifications from subaccount params

func (*GetPrivateToggleNotificationsFromSubaccountParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get private toggle notifications from subaccount params

func (*GetPrivateToggleNotificationsFromSubaccountParams) SetSid

SetSid adds the sid to the get private toggle notifications from subaccount params

func (*GetPrivateToggleNotificationsFromSubaccountParams) SetState

SetState adds the state to the get private toggle notifications from subaccount params

func (*GetPrivateToggleNotificationsFromSubaccountParams) SetTimeout

SetTimeout adds the timeout to the get private toggle notifications from subaccount params

func (*GetPrivateToggleNotificationsFromSubaccountParams) WithContext

WithContext adds the context to the get private toggle notifications from subaccount params

func (*GetPrivateToggleNotificationsFromSubaccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private toggle notifications from subaccount params

func (*GetPrivateToggleNotificationsFromSubaccountParams) WithSid

WithSid adds the sid to the get private toggle notifications from subaccount params

func (*GetPrivateToggleNotificationsFromSubaccountParams) WithState

WithState adds the state to the get private toggle notifications from subaccount params

func (*GetPrivateToggleNotificationsFromSubaccountParams) WithTimeout

WithTimeout adds the timeout to the get private toggle notifications from subaccount params

func (*GetPrivateToggleNotificationsFromSubaccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateToggleNotificationsFromSubaccountReader

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

GetPrivateToggleNotificationsFromSubaccountReader is a Reader for the GetPrivateToggleNotificationsFromSubaccount structure.

func (*GetPrivateToggleNotificationsFromSubaccountReader) ReadResponse

func (o *GetPrivateToggleNotificationsFromSubaccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateToggleSubaccountLoginOK

type GetPrivateToggleSubaccountLoginOK struct {
	Payload *models.OkResponse
}

GetPrivateToggleSubaccountLoginOK handles this case with default header values.

foo

func NewGetPrivateToggleSubaccountLoginOK

func NewGetPrivateToggleSubaccountLoginOK() *GetPrivateToggleSubaccountLoginOK

NewGetPrivateToggleSubaccountLoginOK creates a GetPrivateToggleSubaccountLoginOK with default headers values

func (*GetPrivateToggleSubaccountLoginOK) Error

type GetPrivateToggleSubaccountLoginParams

type GetPrivateToggleSubaccountLoginParams struct {

	/*Sid
	  The user id for the subaccount

	*/
	Sid int64
	/*State
	  enable or disable login.

	*/
	State string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateToggleSubaccountLoginParams contains all the parameters to send to the API endpoint for the get private toggle subaccount login operation typically these are written to a http.Request

func NewGetPrivateToggleSubaccountLoginParams

func NewGetPrivateToggleSubaccountLoginParams() *GetPrivateToggleSubaccountLoginParams

NewGetPrivateToggleSubaccountLoginParams creates a new GetPrivateToggleSubaccountLoginParams object with the default values initialized.

func NewGetPrivateToggleSubaccountLoginParamsWithContext

func NewGetPrivateToggleSubaccountLoginParamsWithContext(ctx context.Context) *GetPrivateToggleSubaccountLoginParams

NewGetPrivateToggleSubaccountLoginParamsWithContext creates a new GetPrivateToggleSubaccountLoginParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateToggleSubaccountLoginParamsWithHTTPClient

func NewGetPrivateToggleSubaccountLoginParamsWithHTTPClient(client *http.Client) *GetPrivateToggleSubaccountLoginParams

NewGetPrivateToggleSubaccountLoginParamsWithHTTPClient creates a new GetPrivateToggleSubaccountLoginParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateToggleSubaccountLoginParamsWithTimeout

func NewGetPrivateToggleSubaccountLoginParamsWithTimeout(timeout time.Duration) *GetPrivateToggleSubaccountLoginParams

NewGetPrivateToggleSubaccountLoginParamsWithTimeout creates a new GetPrivateToggleSubaccountLoginParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateToggleSubaccountLoginParams) SetContext

SetContext adds the context to the get private toggle subaccount login params

func (*GetPrivateToggleSubaccountLoginParams) SetHTTPClient

func (o *GetPrivateToggleSubaccountLoginParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private toggle subaccount login params

func (*GetPrivateToggleSubaccountLoginParams) SetSid

SetSid adds the sid to the get private toggle subaccount login params

func (*GetPrivateToggleSubaccountLoginParams) SetState

func (o *GetPrivateToggleSubaccountLoginParams) SetState(state string)

SetState adds the state to the get private toggle subaccount login params

func (*GetPrivateToggleSubaccountLoginParams) SetTimeout

func (o *GetPrivateToggleSubaccountLoginParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private toggle subaccount login params

func (*GetPrivateToggleSubaccountLoginParams) WithContext

WithContext adds the context to the get private toggle subaccount login params

func (*GetPrivateToggleSubaccountLoginParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private toggle subaccount login params

func (*GetPrivateToggleSubaccountLoginParams) WithSid

WithSid adds the sid to the get private toggle subaccount login params

func (*GetPrivateToggleSubaccountLoginParams) WithState

WithState adds the state to the get private toggle subaccount login params

func (*GetPrivateToggleSubaccountLoginParams) WithTimeout

WithTimeout adds the timeout to the get private toggle subaccount login params

func (*GetPrivateToggleSubaccountLoginParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateToggleSubaccountLoginReader

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

GetPrivateToggleSubaccountLoginReader is a Reader for the GetPrivateToggleSubaccountLogin structure.

func (*GetPrivateToggleSubaccountLoginReader) ReadResponse

func (o *GetPrivateToggleSubaccountLoginReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateTradehistoryOK

type GetPrivateTradehistoryOK struct {
	Payload *models.PrivateTradehistoryResponse
}

GetPrivateTradehistoryOK handles this case with default header values.

foo

func NewGetPrivateTradehistoryOK

func NewGetPrivateTradehistoryOK() *GetPrivateTradehistoryOK

NewGetPrivateTradehistoryOK creates a GetPrivateTradehistoryOK with default headers values

func (*GetPrivateTradehistoryOK) Error

func (o *GetPrivateTradehistoryOK) Error() string

type GetPrivateTradehistoryParams

type GetPrivateTradehistoryParams struct {

	/*Count
	  The number of trades returned (clamped to max 10000)

	*/
	Count *float64
	/*Direction
	  DEPRECATED, alias to "sort", for backward compatibility

	*/
	Direction *string
	/*EndID
	  The ID of the last trade to be returned

	*/
	EndID *float64
	/*EndSeq
	  The trade sequence of the last trade to be returned

	*/
	EndSeq *float64
	/*EndTimestamp
	  The timestamp (in ms) of the last trade to be returned

	*/
	EndTimestamp *int64
	/*Instrument
	  Either the name of the instrument, or `"all"` for instruments, `"futures"` for all futures, or `"options"` for all options.

	*/
	Instrument string
	/*Since
	  DEPRECATED, The ID after which trades are returned, for backward compatibility

	*/
	Since *float64
	/*Sort
	  `"asc"` for ascending, `"desc"` for descending

	*/
	Sort *string
	/*StartID
	  The ID of the first trade to be returned

	*/
	StartID *float64
	/*StartSeq
	  The trade sequence of the first trade to be returned

	*/
	StartSeq *float64
	/*StartTimestamp
	  The timestamp (in ms) of the first trade to be returned

	*/
	StartTimestamp *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateTradehistoryParams contains all the parameters to send to the API endpoint for the get private tradehistory operation typically these are written to a http.Request

func NewGetPrivateTradehistoryParams

func NewGetPrivateTradehistoryParams() *GetPrivateTradehistoryParams

NewGetPrivateTradehistoryParams creates a new GetPrivateTradehistoryParams object with the default values initialized.

func NewGetPrivateTradehistoryParamsWithContext

func NewGetPrivateTradehistoryParamsWithContext(ctx context.Context) *GetPrivateTradehistoryParams

NewGetPrivateTradehistoryParamsWithContext creates a new GetPrivateTradehistoryParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateTradehistoryParamsWithHTTPClient

func NewGetPrivateTradehistoryParamsWithHTTPClient(client *http.Client) *GetPrivateTradehistoryParams

NewGetPrivateTradehistoryParamsWithHTTPClient creates a new GetPrivateTradehistoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateTradehistoryParamsWithTimeout

func NewGetPrivateTradehistoryParamsWithTimeout(timeout time.Duration) *GetPrivateTradehistoryParams

NewGetPrivateTradehistoryParamsWithTimeout creates a new GetPrivateTradehistoryParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateTradehistoryParams) SetContext

func (o *GetPrivateTradehistoryParams) SetContext(ctx context.Context)

SetContext adds the context to the get private tradehistory params

func (*GetPrivateTradehistoryParams) SetCount

func (o *GetPrivateTradehistoryParams) SetCount(count *float64)

SetCount adds the count to the get private tradehistory params

func (*GetPrivateTradehistoryParams) SetDirection

func (o *GetPrivateTradehistoryParams) SetDirection(direction *string)

SetDirection adds the direction to the get private tradehistory params

func (*GetPrivateTradehistoryParams) SetEndID

func (o *GetPrivateTradehistoryParams) SetEndID(endID *float64)

SetEndID adds the endId to the get private tradehistory params

func (*GetPrivateTradehistoryParams) SetEndSeq

func (o *GetPrivateTradehistoryParams) SetEndSeq(endSeq *float64)

SetEndSeq adds the endSeq to the get private tradehistory params

func (*GetPrivateTradehistoryParams) SetEndTimestamp

func (o *GetPrivateTradehistoryParams) SetEndTimestamp(endTimestamp *int64)

SetEndTimestamp adds the endTimestamp to the get private tradehistory params

func (*GetPrivateTradehistoryParams) SetHTTPClient

func (o *GetPrivateTradehistoryParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private tradehistory params

func (*GetPrivateTradehistoryParams) SetInstrument

func (o *GetPrivateTradehistoryParams) SetInstrument(instrument string)

SetInstrument adds the instrument to the get private tradehistory params

func (*GetPrivateTradehistoryParams) SetSince

func (o *GetPrivateTradehistoryParams) SetSince(since *float64)

SetSince adds the since to the get private tradehistory params

func (*GetPrivateTradehistoryParams) SetSort

func (o *GetPrivateTradehistoryParams) SetSort(sort *string)

SetSort adds the sort to the get private tradehistory params

func (*GetPrivateTradehistoryParams) SetStartID

func (o *GetPrivateTradehistoryParams) SetStartID(startID *float64)

SetStartID adds the startId to the get private tradehistory params

func (*GetPrivateTradehistoryParams) SetStartSeq

func (o *GetPrivateTradehistoryParams) SetStartSeq(startSeq *float64)

SetStartSeq adds the startSeq to the get private tradehistory params

func (*GetPrivateTradehistoryParams) SetStartTimestamp

func (o *GetPrivateTradehistoryParams) SetStartTimestamp(startTimestamp *int64)

SetStartTimestamp adds the startTimestamp to the get private tradehistory params

func (*GetPrivateTradehistoryParams) SetTimeout

func (o *GetPrivateTradehistoryParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private tradehistory params

func (*GetPrivateTradehistoryParams) WithContext

WithContext adds the context to the get private tradehistory params

func (*GetPrivateTradehistoryParams) WithCount

WithCount adds the count to the get private tradehistory params

func (*GetPrivateTradehistoryParams) WithDirection

WithDirection adds the direction to the get private tradehistory params

func (*GetPrivateTradehistoryParams) WithEndID

WithEndID adds the endID to the get private tradehistory params

func (*GetPrivateTradehistoryParams) WithEndSeq

WithEndSeq adds the endSeq to the get private tradehistory params

func (*GetPrivateTradehistoryParams) WithEndTimestamp

func (o *GetPrivateTradehistoryParams) WithEndTimestamp(endTimestamp *int64) *GetPrivateTradehistoryParams

WithEndTimestamp adds the endTimestamp to the get private tradehistory params

func (*GetPrivateTradehistoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private tradehistory params

func (*GetPrivateTradehistoryParams) WithInstrument

func (o *GetPrivateTradehistoryParams) WithInstrument(instrument string) *GetPrivateTradehistoryParams

WithInstrument adds the instrument to the get private tradehistory params

func (*GetPrivateTradehistoryParams) WithSince

WithSince adds the since to the get private tradehistory params

func (*GetPrivateTradehistoryParams) WithSort

WithSort adds the sort to the get private tradehistory params

func (*GetPrivateTradehistoryParams) WithStartID

WithStartID adds the startID to the get private tradehistory params

func (*GetPrivateTradehistoryParams) WithStartSeq

WithStartSeq adds the startSeq to the get private tradehistory params

func (*GetPrivateTradehistoryParams) WithStartTimestamp

func (o *GetPrivateTradehistoryParams) WithStartTimestamp(startTimestamp *int64) *GetPrivateTradehistoryParams

WithStartTimestamp adds the startTimestamp to the get private tradehistory params

func (*GetPrivateTradehistoryParams) WithTimeout

WithTimeout adds the timeout to the get private tradehistory params

func (*GetPrivateTradehistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateTradehistoryReader

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

GetPrivateTradehistoryReader is a Reader for the GetPrivateTradehistory structure.

func (*GetPrivateTradehistoryReader) ReadResponse

func (o *GetPrivateTradehistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateUnsubscribeOK

type GetPrivateUnsubscribeOK struct {
	Payload *models.PrivateSubscribeResponse
}

GetPrivateUnsubscribeOK handles this case with default header values.

foo

func NewGetPrivateUnsubscribeOK

func NewGetPrivateUnsubscribeOK() *GetPrivateUnsubscribeOK

NewGetPrivateUnsubscribeOK creates a GetPrivateUnsubscribeOK with default headers values

func (*GetPrivateUnsubscribeOK) Error

func (o *GetPrivateUnsubscribeOK) Error() string

type GetPrivateUnsubscribeParams

type GetPrivateUnsubscribeParams struct {

	/*Channels
	  A list of channels to unsubscribe from.

	*/
	Channels []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateUnsubscribeParams contains all the parameters to send to the API endpoint for the get private unsubscribe operation typically these are written to a http.Request

func NewGetPrivateUnsubscribeParams

func NewGetPrivateUnsubscribeParams() *GetPrivateUnsubscribeParams

NewGetPrivateUnsubscribeParams creates a new GetPrivateUnsubscribeParams object with the default values initialized.

func NewGetPrivateUnsubscribeParamsWithContext

func NewGetPrivateUnsubscribeParamsWithContext(ctx context.Context) *GetPrivateUnsubscribeParams

NewGetPrivateUnsubscribeParamsWithContext creates a new GetPrivateUnsubscribeParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateUnsubscribeParamsWithHTTPClient

func NewGetPrivateUnsubscribeParamsWithHTTPClient(client *http.Client) *GetPrivateUnsubscribeParams

NewGetPrivateUnsubscribeParamsWithHTTPClient creates a new GetPrivateUnsubscribeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateUnsubscribeParamsWithTimeout

func NewGetPrivateUnsubscribeParamsWithTimeout(timeout time.Duration) *GetPrivateUnsubscribeParams

NewGetPrivateUnsubscribeParamsWithTimeout creates a new GetPrivateUnsubscribeParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateUnsubscribeParams) SetChannels

func (o *GetPrivateUnsubscribeParams) SetChannels(channels []string)

SetChannels adds the channels to the get private unsubscribe params

func (*GetPrivateUnsubscribeParams) SetContext

func (o *GetPrivateUnsubscribeParams) SetContext(ctx context.Context)

SetContext adds the context to the get private unsubscribe params

func (*GetPrivateUnsubscribeParams) SetHTTPClient

func (o *GetPrivateUnsubscribeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private unsubscribe params

func (*GetPrivateUnsubscribeParams) SetTimeout

func (o *GetPrivateUnsubscribeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private unsubscribe params

func (*GetPrivateUnsubscribeParams) WithChannels

func (o *GetPrivateUnsubscribeParams) WithChannels(channels []string) *GetPrivateUnsubscribeParams

WithChannels adds the channels to the get private unsubscribe params

func (*GetPrivateUnsubscribeParams) WithContext

WithContext adds the context to the get private unsubscribe params

func (*GetPrivateUnsubscribeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private unsubscribe params

func (*GetPrivateUnsubscribeParams) WithTimeout

WithTimeout adds the timeout to the get private unsubscribe params

func (*GetPrivateUnsubscribeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateUnsubscribeReader

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

GetPrivateUnsubscribeReader is a Reader for the GetPrivateUnsubscribe structure.

func (*GetPrivateUnsubscribeReader) ReadResponse

func (o *GetPrivateUnsubscribeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateUnsubscribeUnauthorized

type GetPrivateUnsubscribeUnauthorized struct {
	Payload *models.ErrorMessage
}

GetPrivateUnsubscribeUnauthorized handles this case with default header values.

not authorised

func NewGetPrivateUnsubscribeUnauthorized

func NewGetPrivateUnsubscribeUnauthorized() *GetPrivateUnsubscribeUnauthorized

NewGetPrivateUnsubscribeUnauthorized creates a GetPrivateUnsubscribeUnauthorized with default headers values

func (*GetPrivateUnsubscribeUnauthorized) Error

type GetPrivateWithdrawOK

type GetPrivateWithdrawOK struct {
	Payload *models.PrivateWithdrawResponse
}

GetPrivateWithdrawOK handles this case with default header values.

foo

func NewGetPrivateWithdrawOK

func NewGetPrivateWithdrawOK() *GetPrivateWithdrawOK

NewGetPrivateWithdrawOK creates a GetPrivateWithdrawOK with default headers values

func (*GetPrivateWithdrawOK) Error

func (o *GetPrivateWithdrawOK) Error() string

type GetPrivateWithdrawParams

type GetPrivateWithdrawParams struct {

	/*Address
	  Address in currency format, it must be in address book

	*/
	Address string
	/*Amount
	  Amount of funds to be withdrawn

	*/
	Amount float64
	/*Currency
	  The currency symbol

	*/
	Currency string
	/*Priority
	  Withdrawal priority, optional for BTC, default: `high`

	*/
	Priority *string
	/*Tfa
	  TFA code, required when TFA is enabled for current account

	*/
	Tfa *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateWithdrawParams contains all the parameters to send to the API endpoint for the get private withdraw operation typically these are written to a http.Request

func NewGetPrivateWithdrawParams

func NewGetPrivateWithdrawParams() *GetPrivateWithdrawParams

NewGetPrivateWithdrawParams creates a new GetPrivateWithdrawParams object with the default values initialized.

func NewGetPrivateWithdrawParamsWithContext

func NewGetPrivateWithdrawParamsWithContext(ctx context.Context) *GetPrivateWithdrawParams

NewGetPrivateWithdrawParamsWithContext creates a new GetPrivateWithdrawParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateWithdrawParamsWithHTTPClient

func NewGetPrivateWithdrawParamsWithHTTPClient(client *http.Client) *GetPrivateWithdrawParams

NewGetPrivateWithdrawParamsWithHTTPClient creates a new GetPrivateWithdrawParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateWithdrawParamsWithTimeout

func NewGetPrivateWithdrawParamsWithTimeout(timeout time.Duration) *GetPrivateWithdrawParams

NewGetPrivateWithdrawParamsWithTimeout creates a new GetPrivateWithdrawParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateWithdrawParams) SetAddress

func (o *GetPrivateWithdrawParams) SetAddress(address string)

SetAddress adds the address to the get private withdraw params

func (*GetPrivateWithdrawParams) SetAmount

func (o *GetPrivateWithdrawParams) SetAmount(amount float64)

SetAmount adds the amount to the get private withdraw params

func (*GetPrivateWithdrawParams) SetContext

func (o *GetPrivateWithdrawParams) SetContext(ctx context.Context)

SetContext adds the context to the get private withdraw params

func (*GetPrivateWithdrawParams) SetCurrency

func (o *GetPrivateWithdrawParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private withdraw params

func (*GetPrivateWithdrawParams) SetHTTPClient

func (o *GetPrivateWithdrawParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private withdraw params

func (*GetPrivateWithdrawParams) SetPriority

func (o *GetPrivateWithdrawParams) SetPriority(priority *string)

SetPriority adds the priority to the get private withdraw params

func (*GetPrivateWithdrawParams) SetTfa

func (o *GetPrivateWithdrawParams) SetTfa(tfa *string)

SetTfa adds the tfa to the get private withdraw params

func (*GetPrivateWithdrawParams) SetTimeout

func (o *GetPrivateWithdrawParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private withdraw params

func (*GetPrivateWithdrawParams) WithAddress

func (o *GetPrivateWithdrawParams) WithAddress(address string) *GetPrivateWithdrawParams

WithAddress adds the address to the get private withdraw params

func (*GetPrivateWithdrawParams) WithAmount

WithAmount adds the amount to the get private withdraw params

func (*GetPrivateWithdrawParams) WithContext

WithContext adds the context to the get private withdraw params

func (*GetPrivateWithdrawParams) WithCurrency

func (o *GetPrivateWithdrawParams) WithCurrency(currency string) *GetPrivateWithdrawParams

WithCurrency adds the currency to the get private withdraw params

func (*GetPrivateWithdrawParams) WithHTTPClient

func (o *GetPrivateWithdrawParams) WithHTTPClient(client *http.Client) *GetPrivateWithdrawParams

WithHTTPClient adds the HTTPClient to the get private withdraw params

func (*GetPrivateWithdrawParams) WithPriority

func (o *GetPrivateWithdrawParams) WithPriority(priority *string) *GetPrivateWithdrawParams

WithPriority adds the priority to the get private withdraw params

func (*GetPrivateWithdrawParams) WithTfa

WithTfa adds the tfa to the get private withdraw params

func (*GetPrivateWithdrawParams) WithTimeout

WithTimeout adds the timeout to the get private withdraw params

func (*GetPrivateWithdrawParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateWithdrawReader

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

GetPrivateWithdrawReader is a Reader for the GetPrivateWithdraw structure.

func (*GetPrivateWithdrawReader) ReadResponse

func (o *GetPrivateWithdrawReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicAuthOK

type GetPublicAuthOK struct {
	Payload *models.PublicAuthResponse
}

GetPublicAuthOK handles this case with default header values.

foo

func NewGetPublicAuthOK

func NewGetPublicAuthOK() *GetPublicAuthOK

NewGetPublicAuthOK creates a GetPublicAuthOK with default headers values

func (*GetPublicAuthOK) Error

func (o *GetPublicAuthOK) Error() string

type GetPublicAuthParams

type GetPublicAuthParams struct {

	/*ClientID
	  Required for grant type `client_credentials` and `client_signature`

	*/
	ClientID string
	/*ClientSecret
	  Required for grant type `client_credentials`

	*/
	ClientSecret string
	/*GrantType
	  Method of authentication

	*/
	GrantType string
	/*Nonce
	  Optional for grant type `client_signature`; delivers user generated initialization vector for the server token

	*/
	Nonce *string
	/*Password
	  Required for grant type `password`

	*/
	Password string
	/*RefreshToken
	  Required for grant type `refresh_token`

	*/
	RefreshToken string
	/*Scope
	  Describes type of the access for assigned token, possible values: `connection`, `session`, `session:name`, `trade:[read, read_write, none]`, `wallet:[read, read_write, none]`, `account:[read, read_write, none]`

	*/
	Scope *string
	/*Signature
	  Required for grant type `client_signature`; it's a cryptographic signature calculated over provided fields using user **secret key**. The signature should be calculated as an HMAC (Hash-based Message Authentication Code) with `SHA256` hash algorithm

	*/
	Signature string
	/*State
	  Will be passed back in the response

	*/
	State *string
	/*Timestamp
	  Required for grant type `client_signature`, provides time when request has been generated

	*/
	Timestamp string
	/*Username
	  Required for grant type `password`

	*/
	Username string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicAuthParams contains all the parameters to send to the API endpoint for the get public auth operation typically these are written to a http.Request

func NewGetPublicAuthParams

func NewGetPublicAuthParams() *GetPublicAuthParams

NewGetPublicAuthParams creates a new GetPublicAuthParams object with the default values initialized.

func NewGetPublicAuthParamsWithContext

func NewGetPublicAuthParamsWithContext(ctx context.Context) *GetPublicAuthParams

NewGetPublicAuthParamsWithContext creates a new GetPublicAuthParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicAuthParamsWithHTTPClient

func NewGetPublicAuthParamsWithHTTPClient(client *http.Client) *GetPublicAuthParams

NewGetPublicAuthParamsWithHTTPClient creates a new GetPublicAuthParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicAuthParamsWithTimeout

func NewGetPublicAuthParamsWithTimeout(timeout time.Duration) *GetPublicAuthParams

NewGetPublicAuthParamsWithTimeout creates a new GetPublicAuthParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicAuthParams) SetClientID

func (o *GetPublicAuthParams) SetClientID(clientID string)

SetClientID adds the clientId to the get public auth params

func (*GetPublicAuthParams) SetClientSecret

func (o *GetPublicAuthParams) SetClientSecret(clientSecret string)

SetClientSecret adds the clientSecret to the get public auth params

func (*GetPublicAuthParams) SetContext

func (o *GetPublicAuthParams) SetContext(ctx context.Context)

SetContext adds the context to the get public auth params

func (*GetPublicAuthParams) SetGrantType

func (o *GetPublicAuthParams) SetGrantType(grantType string)

SetGrantType adds the grantType to the get public auth params

func (*GetPublicAuthParams) SetHTTPClient

func (o *GetPublicAuthParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public auth params

func (*GetPublicAuthParams) SetNonce

func (o *GetPublicAuthParams) SetNonce(nonce *string)

SetNonce adds the nonce to the get public auth params

func (*GetPublicAuthParams) SetPassword

func (o *GetPublicAuthParams) SetPassword(password string)

SetPassword adds the password to the get public auth params

func (*GetPublicAuthParams) SetRefreshToken

func (o *GetPublicAuthParams) SetRefreshToken(refreshToken string)

SetRefreshToken adds the refreshToken to the get public auth params

func (*GetPublicAuthParams) SetScope

func (o *GetPublicAuthParams) SetScope(scope *string)

SetScope adds the scope to the get public auth params

func (*GetPublicAuthParams) SetSignature

func (o *GetPublicAuthParams) SetSignature(signature string)

SetSignature adds the signature to the get public auth params

func (*GetPublicAuthParams) SetState

func (o *GetPublicAuthParams) SetState(state *string)

SetState adds the state to the get public auth params

func (*GetPublicAuthParams) SetTimeout

func (o *GetPublicAuthParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public auth params

func (*GetPublicAuthParams) SetTimestamp

func (o *GetPublicAuthParams) SetTimestamp(timestamp string)

SetTimestamp adds the timestamp to the get public auth params

func (*GetPublicAuthParams) SetUsername

func (o *GetPublicAuthParams) SetUsername(username string)

SetUsername adds the username to the get public auth params

func (*GetPublicAuthParams) WithClientID

func (o *GetPublicAuthParams) WithClientID(clientID string) *GetPublicAuthParams

WithClientID adds the clientID to the get public auth params

func (*GetPublicAuthParams) WithClientSecret

func (o *GetPublicAuthParams) WithClientSecret(clientSecret string) *GetPublicAuthParams

WithClientSecret adds the clientSecret to the get public auth params

func (*GetPublicAuthParams) WithContext

WithContext adds the context to the get public auth params

func (*GetPublicAuthParams) WithGrantType

func (o *GetPublicAuthParams) WithGrantType(grantType string) *GetPublicAuthParams

WithGrantType adds the grantType to the get public auth params

func (*GetPublicAuthParams) WithHTTPClient

func (o *GetPublicAuthParams) WithHTTPClient(client *http.Client) *GetPublicAuthParams

WithHTTPClient adds the HTTPClient to the get public auth params

func (*GetPublicAuthParams) WithNonce

func (o *GetPublicAuthParams) WithNonce(nonce *string) *GetPublicAuthParams

WithNonce adds the nonce to the get public auth params

func (*GetPublicAuthParams) WithPassword

func (o *GetPublicAuthParams) WithPassword(password string) *GetPublicAuthParams

WithPassword adds the password to the get public auth params

func (*GetPublicAuthParams) WithRefreshToken

func (o *GetPublicAuthParams) WithRefreshToken(refreshToken string) *GetPublicAuthParams

WithRefreshToken adds the refreshToken to the get public auth params

func (*GetPublicAuthParams) WithScope

func (o *GetPublicAuthParams) WithScope(scope *string) *GetPublicAuthParams

WithScope adds the scope to the get public auth params

func (*GetPublicAuthParams) WithSignature

func (o *GetPublicAuthParams) WithSignature(signature string) *GetPublicAuthParams

WithSignature adds the signature to the get public auth params

func (*GetPublicAuthParams) WithState

func (o *GetPublicAuthParams) WithState(state *string) *GetPublicAuthParams

WithState adds the state to the get public auth params

func (*GetPublicAuthParams) WithTimeout

func (o *GetPublicAuthParams) WithTimeout(timeout time.Duration) *GetPublicAuthParams

WithTimeout adds the timeout to the get public auth params

func (*GetPublicAuthParams) WithTimestamp

func (o *GetPublicAuthParams) WithTimestamp(timestamp string) *GetPublicAuthParams

WithTimestamp adds the timestamp to the get public auth params

func (*GetPublicAuthParams) WithUsername

func (o *GetPublicAuthParams) WithUsername(username string) *GetPublicAuthParams

WithUsername adds the username to the get public auth params

func (*GetPublicAuthParams) WriteToRequest

func (o *GetPublicAuthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPublicAuthReader

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

GetPublicAuthReader is a Reader for the GetPublicAuth structure.

func (*GetPublicAuthReader) ReadResponse

func (o *GetPublicAuthReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicAuthTooManyRequests

type GetPublicAuthTooManyRequests struct {
	Payload *models.ErrorMessage
}

GetPublicAuthTooManyRequests handles this case with default header values.

over limit

func NewGetPublicAuthTooManyRequests

func NewGetPublicAuthTooManyRequests() *GetPublicAuthTooManyRequests

NewGetPublicAuthTooManyRequests creates a GetPublicAuthTooManyRequests with default headers values

func (*GetPublicAuthTooManyRequests) Error

type GetPublicDisableHeartbeatBadRequest

type GetPublicDisableHeartbeatBadRequest struct {
	Payload *models.ErrorMessage
}

GetPublicDisableHeartbeatBadRequest handles this case with default header values.

result when used via rest/HTTP

func NewGetPublicDisableHeartbeatBadRequest

func NewGetPublicDisableHeartbeatBadRequest() *GetPublicDisableHeartbeatBadRequest

NewGetPublicDisableHeartbeatBadRequest creates a GetPublicDisableHeartbeatBadRequest with default headers values

func (*GetPublicDisableHeartbeatBadRequest) Error

type GetPublicDisableHeartbeatOK

type GetPublicDisableHeartbeatOK struct {
	Payload *models.OkResponse
}

GetPublicDisableHeartbeatOK handles this case with default header values.

foo

func NewGetPublicDisableHeartbeatOK

func NewGetPublicDisableHeartbeatOK() *GetPublicDisableHeartbeatOK

NewGetPublicDisableHeartbeatOK creates a GetPublicDisableHeartbeatOK with default headers values

func (*GetPublicDisableHeartbeatOK) Error

type GetPublicDisableHeartbeatParams

type GetPublicDisableHeartbeatParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicDisableHeartbeatParams contains all the parameters to send to the API endpoint for the get public disable heartbeat operation typically these are written to a http.Request

func NewGetPublicDisableHeartbeatParams

func NewGetPublicDisableHeartbeatParams() *GetPublicDisableHeartbeatParams

NewGetPublicDisableHeartbeatParams creates a new GetPublicDisableHeartbeatParams object with the default values initialized.

func NewGetPublicDisableHeartbeatParamsWithContext

func NewGetPublicDisableHeartbeatParamsWithContext(ctx context.Context) *GetPublicDisableHeartbeatParams

NewGetPublicDisableHeartbeatParamsWithContext creates a new GetPublicDisableHeartbeatParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicDisableHeartbeatParamsWithHTTPClient

func NewGetPublicDisableHeartbeatParamsWithHTTPClient(client *http.Client) *GetPublicDisableHeartbeatParams

NewGetPublicDisableHeartbeatParamsWithHTTPClient creates a new GetPublicDisableHeartbeatParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicDisableHeartbeatParamsWithTimeout

func NewGetPublicDisableHeartbeatParamsWithTimeout(timeout time.Duration) *GetPublicDisableHeartbeatParams

NewGetPublicDisableHeartbeatParamsWithTimeout creates a new GetPublicDisableHeartbeatParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicDisableHeartbeatParams) SetContext

func (o *GetPublicDisableHeartbeatParams) SetContext(ctx context.Context)

SetContext adds the context to the get public disable heartbeat params

func (*GetPublicDisableHeartbeatParams) SetHTTPClient

func (o *GetPublicDisableHeartbeatParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public disable heartbeat params

func (*GetPublicDisableHeartbeatParams) SetTimeout

func (o *GetPublicDisableHeartbeatParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public disable heartbeat params

func (*GetPublicDisableHeartbeatParams) WithContext

WithContext adds the context to the get public disable heartbeat params

func (*GetPublicDisableHeartbeatParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public disable heartbeat params

func (*GetPublicDisableHeartbeatParams) WithTimeout

WithTimeout adds the timeout to the get public disable heartbeat params

func (*GetPublicDisableHeartbeatParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicDisableHeartbeatReader

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

GetPublicDisableHeartbeatReader is a Reader for the GetPublicDisableHeartbeat structure.

func (*GetPublicDisableHeartbeatReader) ReadResponse

func (o *GetPublicDisableHeartbeatReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetAnnouncementsOK

type GetPublicGetAnnouncementsOK struct {
	Payload *models.GetAnnouncementsResponse
}

GetPublicGetAnnouncementsOK handles this case with default header values.

foo

func NewGetPublicGetAnnouncementsOK

func NewGetPublicGetAnnouncementsOK() *GetPublicGetAnnouncementsOK

NewGetPublicGetAnnouncementsOK creates a GetPublicGetAnnouncementsOK with default headers values

func (*GetPublicGetAnnouncementsOK) Error

type GetPublicGetAnnouncementsParams

type GetPublicGetAnnouncementsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicGetAnnouncementsParams contains all the parameters to send to the API endpoint for the get public get announcements operation typically these are written to a http.Request

func NewGetPublicGetAnnouncementsParams

func NewGetPublicGetAnnouncementsParams() *GetPublicGetAnnouncementsParams

NewGetPublicGetAnnouncementsParams creates a new GetPublicGetAnnouncementsParams object with the default values initialized.

func NewGetPublicGetAnnouncementsParamsWithContext

func NewGetPublicGetAnnouncementsParamsWithContext(ctx context.Context) *GetPublicGetAnnouncementsParams

NewGetPublicGetAnnouncementsParamsWithContext creates a new GetPublicGetAnnouncementsParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetAnnouncementsParamsWithHTTPClient

func NewGetPublicGetAnnouncementsParamsWithHTTPClient(client *http.Client) *GetPublicGetAnnouncementsParams

NewGetPublicGetAnnouncementsParamsWithHTTPClient creates a new GetPublicGetAnnouncementsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetAnnouncementsParamsWithTimeout

func NewGetPublicGetAnnouncementsParamsWithTimeout(timeout time.Duration) *GetPublicGetAnnouncementsParams

NewGetPublicGetAnnouncementsParamsWithTimeout creates a new GetPublicGetAnnouncementsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetAnnouncementsParams) SetContext

func (o *GetPublicGetAnnouncementsParams) SetContext(ctx context.Context)

SetContext adds the context to the get public get announcements params

func (*GetPublicGetAnnouncementsParams) SetHTTPClient

func (o *GetPublicGetAnnouncementsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public get announcements params

func (*GetPublicGetAnnouncementsParams) SetTimeout

func (o *GetPublicGetAnnouncementsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public get announcements params

func (*GetPublicGetAnnouncementsParams) WithContext

WithContext adds the context to the get public get announcements params

func (*GetPublicGetAnnouncementsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public get announcements params

func (*GetPublicGetAnnouncementsParams) WithTimeout

WithTimeout adds the timeout to the get public get announcements params

func (*GetPublicGetAnnouncementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetAnnouncementsReader

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

GetPublicGetAnnouncementsReader is a Reader for the GetPublicGetAnnouncements structure.

func (*GetPublicGetAnnouncementsReader) ReadResponse

func (o *GetPublicGetAnnouncementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetBookSummaryByCurrencyOK

type GetPublicGetBookSummaryByCurrencyOK struct {
	Payload *models.PublicGetBookSummaryResponse
}

GetPublicGetBookSummaryByCurrencyOK handles this case with default header values.

foo

func NewGetPublicGetBookSummaryByCurrencyOK

func NewGetPublicGetBookSummaryByCurrencyOK() *GetPublicGetBookSummaryByCurrencyOK

NewGetPublicGetBookSummaryByCurrencyOK creates a GetPublicGetBookSummaryByCurrencyOK with default headers values

func (*GetPublicGetBookSummaryByCurrencyOK) Error

type GetPublicGetBookSummaryByCurrencyParams

type GetPublicGetBookSummaryByCurrencyParams struct {

	/*Currency
	  The currency symbol

	*/
	Currency string
	/*Kind
	  Instrument kind, if not provided instruments of all kinds are considered

	*/
	Kind *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicGetBookSummaryByCurrencyParams contains all the parameters to send to the API endpoint for the get public get book summary by currency operation typically these are written to a http.Request

func NewGetPublicGetBookSummaryByCurrencyParams

func NewGetPublicGetBookSummaryByCurrencyParams() *GetPublicGetBookSummaryByCurrencyParams

NewGetPublicGetBookSummaryByCurrencyParams creates a new GetPublicGetBookSummaryByCurrencyParams object with the default values initialized.

func NewGetPublicGetBookSummaryByCurrencyParamsWithContext

func NewGetPublicGetBookSummaryByCurrencyParamsWithContext(ctx context.Context) *GetPublicGetBookSummaryByCurrencyParams

NewGetPublicGetBookSummaryByCurrencyParamsWithContext creates a new GetPublicGetBookSummaryByCurrencyParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetBookSummaryByCurrencyParamsWithHTTPClient

func NewGetPublicGetBookSummaryByCurrencyParamsWithHTTPClient(client *http.Client) *GetPublicGetBookSummaryByCurrencyParams

NewGetPublicGetBookSummaryByCurrencyParamsWithHTTPClient creates a new GetPublicGetBookSummaryByCurrencyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetBookSummaryByCurrencyParamsWithTimeout

func NewGetPublicGetBookSummaryByCurrencyParamsWithTimeout(timeout time.Duration) *GetPublicGetBookSummaryByCurrencyParams

NewGetPublicGetBookSummaryByCurrencyParamsWithTimeout creates a new GetPublicGetBookSummaryByCurrencyParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetBookSummaryByCurrencyParams) SetContext

SetContext adds the context to the get public get book summary by currency params

func (*GetPublicGetBookSummaryByCurrencyParams) SetCurrency

func (o *GetPublicGetBookSummaryByCurrencyParams) SetCurrency(currency string)

SetCurrency adds the currency to the get public get book summary by currency params

func (*GetPublicGetBookSummaryByCurrencyParams) SetHTTPClient

func (o *GetPublicGetBookSummaryByCurrencyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public get book summary by currency params

func (*GetPublicGetBookSummaryByCurrencyParams) SetKind

SetKind adds the kind to the get public get book summary by currency params

func (*GetPublicGetBookSummaryByCurrencyParams) SetTimeout

func (o *GetPublicGetBookSummaryByCurrencyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public get book summary by currency params

func (*GetPublicGetBookSummaryByCurrencyParams) WithContext

WithContext adds the context to the get public get book summary by currency params

func (*GetPublicGetBookSummaryByCurrencyParams) WithCurrency

WithCurrency adds the currency to the get public get book summary by currency params

func (*GetPublicGetBookSummaryByCurrencyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public get book summary by currency params

func (*GetPublicGetBookSummaryByCurrencyParams) WithKind

WithKind adds the kind to the get public get book summary by currency params

func (*GetPublicGetBookSummaryByCurrencyParams) WithTimeout

WithTimeout adds the timeout to the get public get book summary by currency params

func (*GetPublicGetBookSummaryByCurrencyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetBookSummaryByCurrencyReader

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

GetPublicGetBookSummaryByCurrencyReader is a Reader for the GetPublicGetBookSummaryByCurrency structure.

func (*GetPublicGetBookSummaryByCurrencyReader) ReadResponse

func (o *GetPublicGetBookSummaryByCurrencyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetBookSummaryByInstrumentOK

type GetPublicGetBookSummaryByInstrumentOK struct {
	Payload *models.PublicGetBookSummaryResponse
}

GetPublicGetBookSummaryByInstrumentOK handles this case with default header values.

foo

func NewGetPublicGetBookSummaryByInstrumentOK

func NewGetPublicGetBookSummaryByInstrumentOK() *GetPublicGetBookSummaryByInstrumentOK

NewGetPublicGetBookSummaryByInstrumentOK creates a GetPublicGetBookSummaryByInstrumentOK with default headers values

func (*GetPublicGetBookSummaryByInstrumentOK) Error

type GetPublicGetBookSummaryByInstrumentParams

type GetPublicGetBookSummaryByInstrumentParams struct {

	/*InstrumentName
	  Instrument name

	*/
	InstrumentName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicGetBookSummaryByInstrumentParams contains all the parameters to send to the API endpoint for the get public get book summary by instrument operation typically these are written to a http.Request

func NewGetPublicGetBookSummaryByInstrumentParams

func NewGetPublicGetBookSummaryByInstrumentParams() *GetPublicGetBookSummaryByInstrumentParams

NewGetPublicGetBookSummaryByInstrumentParams creates a new GetPublicGetBookSummaryByInstrumentParams object with the default values initialized.

func NewGetPublicGetBookSummaryByInstrumentParamsWithContext

func NewGetPublicGetBookSummaryByInstrumentParamsWithContext(ctx context.Context) *GetPublicGetBookSummaryByInstrumentParams

NewGetPublicGetBookSummaryByInstrumentParamsWithContext creates a new GetPublicGetBookSummaryByInstrumentParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetBookSummaryByInstrumentParamsWithHTTPClient

func NewGetPublicGetBookSummaryByInstrumentParamsWithHTTPClient(client *http.Client) *GetPublicGetBookSummaryByInstrumentParams

NewGetPublicGetBookSummaryByInstrumentParamsWithHTTPClient creates a new GetPublicGetBookSummaryByInstrumentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetBookSummaryByInstrumentParamsWithTimeout

func NewGetPublicGetBookSummaryByInstrumentParamsWithTimeout(timeout time.Duration) *GetPublicGetBookSummaryByInstrumentParams

NewGetPublicGetBookSummaryByInstrumentParamsWithTimeout creates a new GetPublicGetBookSummaryByInstrumentParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetBookSummaryByInstrumentParams) SetContext

SetContext adds the context to the get public get book summary by instrument params

func (*GetPublicGetBookSummaryByInstrumentParams) SetHTTPClient

func (o *GetPublicGetBookSummaryByInstrumentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public get book summary by instrument params

func (*GetPublicGetBookSummaryByInstrumentParams) SetInstrumentName

func (o *GetPublicGetBookSummaryByInstrumentParams) SetInstrumentName(instrumentName string)

SetInstrumentName adds the instrumentName to the get public get book summary by instrument params

func (*GetPublicGetBookSummaryByInstrumentParams) SetTimeout

SetTimeout adds the timeout to the get public get book summary by instrument params

func (*GetPublicGetBookSummaryByInstrumentParams) WithContext

WithContext adds the context to the get public get book summary by instrument params

func (*GetPublicGetBookSummaryByInstrumentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public get book summary by instrument params

func (*GetPublicGetBookSummaryByInstrumentParams) WithInstrumentName

WithInstrumentName adds the instrumentName to the get public get book summary by instrument params

func (*GetPublicGetBookSummaryByInstrumentParams) WithTimeout

WithTimeout adds the timeout to the get public get book summary by instrument params

func (*GetPublicGetBookSummaryByInstrumentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetBookSummaryByInstrumentReader

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

GetPublicGetBookSummaryByInstrumentReader is a Reader for the GetPublicGetBookSummaryByInstrument structure.

func (*GetPublicGetBookSummaryByInstrumentReader) ReadResponse

func (o *GetPublicGetBookSummaryByInstrumentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetContractSizeOK

type GetPublicGetContractSizeOK struct {
	Payload *models.PublicGetContractSizeResponse
}

GetPublicGetContractSizeOK handles this case with default header values.

foo

func NewGetPublicGetContractSizeOK

func NewGetPublicGetContractSizeOK() *GetPublicGetContractSizeOK

NewGetPublicGetContractSizeOK creates a GetPublicGetContractSizeOK with default headers values

func (*GetPublicGetContractSizeOK) Error

type GetPublicGetContractSizeParams

type GetPublicGetContractSizeParams struct {

	/*InstrumentName
	  Instrument name

	*/
	InstrumentName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicGetContractSizeParams contains all the parameters to send to the API endpoint for the get public get contract size operation typically these are written to a http.Request

func NewGetPublicGetContractSizeParams

func NewGetPublicGetContractSizeParams() *GetPublicGetContractSizeParams

NewGetPublicGetContractSizeParams creates a new GetPublicGetContractSizeParams object with the default values initialized.

func NewGetPublicGetContractSizeParamsWithContext

func NewGetPublicGetContractSizeParamsWithContext(ctx context.Context) *GetPublicGetContractSizeParams

NewGetPublicGetContractSizeParamsWithContext creates a new GetPublicGetContractSizeParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetContractSizeParamsWithHTTPClient

func NewGetPublicGetContractSizeParamsWithHTTPClient(client *http.Client) *GetPublicGetContractSizeParams

NewGetPublicGetContractSizeParamsWithHTTPClient creates a new GetPublicGetContractSizeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetContractSizeParamsWithTimeout

func NewGetPublicGetContractSizeParamsWithTimeout(timeout time.Duration) *GetPublicGetContractSizeParams

NewGetPublicGetContractSizeParamsWithTimeout creates a new GetPublicGetContractSizeParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetContractSizeParams) SetContext

func (o *GetPublicGetContractSizeParams) SetContext(ctx context.Context)

SetContext adds the context to the get public get contract size params

func (*GetPublicGetContractSizeParams) SetHTTPClient

func (o *GetPublicGetContractSizeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public get contract size params

func (*GetPublicGetContractSizeParams) SetInstrumentName

func (o *GetPublicGetContractSizeParams) SetInstrumentName(instrumentName string)

SetInstrumentName adds the instrumentName to the get public get contract size params

func (*GetPublicGetContractSizeParams) SetTimeout

func (o *GetPublicGetContractSizeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public get contract size params

func (*GetPublicGetContractSizeParams) WithContext

WithContext adds the context to the get public get contract size params

func (*GetPublicGetContractSizeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public get contract size params

func (*GetPublicGetContractSizeParams) WithInstrumentName

func (o *GetPublicGetContractSizeParams) WithInstrumentName(instrumentName string) *GetPublicGetContractSizeParams

WithInstrumentName adds the instrumentName to the get public get contract size params

func (*GetPublicGetContractSizeParams) WithTimeout

WithTimeout adds the timeout to the get public get contract size params

func (*GetPublicGetContractSizeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetContractSizeReader

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

GetPublicGetContractSizeReader is a Reader for the GetPublicGetContractSize structure.

func (*GetPublicGetContractSizeReader) ReadResponse

func (o *GetPublicGetContractSizeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetCurrenciesOK

type GetPublicGetCurrenciesOK struct {
	Payload *models.PublicCurrenciesResponse
}

GetPublicGetCurrenciesOK handles this case with default header values.

foo

func NewGetPublicGetCurrenciesOK

func NewGetPublicGetCurrenciesOK() *GetPublicGetCurrenciesOK

NewGetPublicGetCurrenciesOK creates a GetPublicGetCurrenciesOK with default headers values

func (*GetPublicGetCurrenciesOK) Error

func (o *GetPublicGetCurrenciesOK) Error() string

type GetPublicGetCurrenciesParams

type GetPublicGetCurrenciesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicGetCurrenciesParams contains all the parameters to send to the API endpoint for the get public get currencies operation typically these are written to a http.Request

func NewGetPublicGetCurrenciesParams

func NewGetPublicGetCurrenciesParams() *GetPublicGetCurrenciesParams

NewGetPublicGetCurrenciesParams creates a new GetPublicGetCurrenciesParams object with the default values initialized.

func NewGetPublicGetCurrenciesParamsWithContext

func NewGetPublicGetCurrenciesParamsWithContext(ctx context.Context) *GetPublicGetCurrenciesParams

NewGetPublicGetCurrenciesParamsWithContext creates a new GetPublicGetCurrenciesParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetCurrenciesParamsWithHTTPClient

func NewGetPublicGetCurrenciesParamsWithHTTPClient(client *http.Client) *GetPublicGetCurrenciesParams

NewGetPublicGetCurrenciesParamsWithHTTPClient creates a new GetPublicGetCurrenciesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetCurrenciesParamsWithTimeout

func NewGetPublicGetCurrenciesParamsWithTimeout(timeout time.Duration) *GetPublicGetCurrenciesParams

NewGetPublicGetCurrenciesParamsWithTimeout creates a new GetPublicGetCurrenciesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetCurrenciesParams) SetContext

func (o *GetPublicGetCurrenciesParams) SetContext(ctx context.Context)

SetContext adds the context to the get public get currencies params

func (*GetPublicGetCurrenciesParams) SetHTTPClient

func (o *GetPublicGetCurrenciesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public get currencies params

func (*GetPublicGetCurrenciesParams) SetTimeout

func (o *GetPublicGetCurrenciesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public get currencies params

func (*GetPublicGetCurrenciesParams) WithContext

WithContext adds the context to the get public get currencies params

func (*GetPublicGetCurrenciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public get currencies params

func (*GetPublicGetCurrenciesParams) WithTimeout

WithTimeout adds the timeout to the get public get currencies params

func (*GetPublicGetCurrenciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetCurrenciesReader

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

GetPublicGetCurrenciesReader is a Reader for the GetPublicGetCurrencies structure.

func (*GetPublicGetCurrenciesReader) ReadResponse

func (o *GetPublicGetCurrenciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetFundingChartDataOK

type GetPublicGetFundingChartDataOK struct {
	Payload *models.PublicGetFundingChartDataResponse
}

GetPublicGetFundingChartDataOK handles this case with default header values.

foo

func NewGetPublicGetFundingChartDataOK

func NewGetPublicGetFundingChartDataOK() *GetPublicGetFundingChartDataOK

NewGetPublicGetFundingChartDataOK creates a GetPublicGetFundingChartDataOK with default headers values

func (*GetPublicGetFundingChartDataOK) Error

type GetPublicGetFundingChartDataParams

type GetPublicGetFundingChartDataParams struct {

	/*InstrumentName
	  Instrument name

	*/
	InstrumentName string
	/*Length
	  Specifies time period. `8h` - 8 hours, `24h` - 24 hours

	*/
	Length *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicGetFundingChartDataParams contains all the parameters to send to the API endpoint for the get public get funding chart data operation typically these are written to a http.Request

func NewGetPublicGetFundingChartDataParams

func NewGetPublicGetFundingChartDataParams() *GetPublicGetFundingChartDataParams

NewGetPublicGetFundingChartDataParams creates a new GetPublicGetFundingChartDataParams object with the default values initialized.

func NewGetPublicGetFundingChartDataParamsWithContext

func NewGetPublicGetFundingChartDataParamsWithContext(ctx context.Context) *GetPublicGetFundingChartDataParams

NewGetPublicGetFundingChartDataParamsWithContext creates a new GetPublicGetFundingChartDataParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetFundingChartDataParamsWithHTTPClient

func NewGetPublicGetFundingChartDataParamsWithHTTPClient(client *http.Client) *GetPublicGetFundingChartDataParams

NewGetPublicGetFundingChartDataParamsWithHTTPClient creates a new GetPublicGetFundingChartDataParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetFundingChartDataParamsWithTimeout

func NewGetPublicGetFundingChartDataParamsWithTimeout(timeout time.Duration) *GetPublicGetFundingChartDataParams

NewGetPublicGetFundingChartDataParamsWithTimeout creates a new GetPublicGetFundingChartDataParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetFundingChartDataParams) SetContext

SetContext adds the context to the get public get funding chart data params

func (*GetPublicGetFundingChartDataParams) SetHTTPClient

func (o *GetPublicGetFundingChartDataParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public get funding chart data params

func (*GetPublicGetFundingChartDataParams) SetInstrumentName

func (o *GetPublicGetFundingChartDataParams) SetInstrumentName(instrumentName string)

SetInstrumentName adds the instrumentName to the get public get funding chart data params

func (*GetPublicGetFundingChartDataParams) SetLength

func (o *GetPublicGetFundingChartDataParams) SetLength(length *string)

SetLength adds the length to the get public get funding chart data params

func (*GetPublicGetFundingChartDataParams) SetTimeout

func (o *GetPublicGetFundingChartDataParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public get funding chart data params

func (*GetPublicGetFundingChartDataParams) WithContext

WithContext adds the context to the get public get funding chart data params

func (*GetPublicGetFundingChartDataParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public get funding chart data params

func (*GetPublicGetFundingChartDataParams) WithInstrumentName

func (o *GetPublicGetFundingChartDataParams) WithInstrumentName(instrumentName string) *GetPublicGetFundingChartDataParams

WithInstrumentName adds the instrumentName to the get public get funding chart data params

func (*GetPublicGetFundingChartDataParams) WithLength

WithLength adds the length to the get public get funding chart data params

func (*GetPublicGetFundingChartDataParams) WithTimeout

WithTimeout adds the timeout to the get public get funding chart data params

func (*GetPublicGetFundingChartDataParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetFundingChartDataReader

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

GetPublicGetFundingChartDataReader is a Reader for the GetPublicGetFundingChartData structure.

func (*GetPublicGetFundingChartDataReader) ReadResponse

func (o *GetPublicGetFundingChartDataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetHistoricalVolatilityOK

type GetPublicGetHistoricalVolatilityOK struct {
	Payload *models.PublicHistoricalVolatilityResponse
}

GetPublicGetHistoricalVolatilityOK handles this case with default header values.

foo

func NewGetPublicGetHistoricalVolatilityOK

func NewGetPublicGetHistoricalVolatilityOK() *GetPublicGetHistoricalVolatilityOK

NewGetPublicGetHistoricalVolatilityOK creates a GetPublicGetHistoricalVolatilityOK with default headers values

func (*GetPublicGetHistoricalVolatilityOK) Error

type GetPublicGetHistoricalVolatilityParams

type GetPublicGetHistoricalVolatilityParams struct {

	/*Currency
	  The currency symbol

	*/
	Currency string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicGetHistoricalVolatilityParams contains all the parameters to send to the API endpoint for the get public get historical volatility operation typically these are written to a http.Request

func NewGetPublicGetHistoricalVolatilityParams

func NewGetPublicGetHistoricalVolatilityParams() *GetPublicGetHistoricalVolatilityParams

NewGetPublicGetHistoricalVolatilityParams creates a new GetPublicGetHistoricalVolatilityParams object with the default values initialized.

func NewGetPublicGetHistoricalVolatilityParamsWithContext

func NewGetPublicGetHistoricalVolatilityParamsWithContext(ctx context.Context) *GetPublicGetHistoricalVolatilityParams

NewGetPublicGetHistoricalVolatilityParamsWithContext creates a new GetPublicGetHistoricalVolatilityParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetHistoricalVolatilityParamsWithHTTPClient

func NewGetPublicGetHistoricalVolatilityParamsWithHTTPClient(client *http.Client) *GetPublicGetHistoricalVolatilityParams

NewGetPublicGetHistoricalVolatilityParamsWithHTTPClient creates a new GetPublicGetHistoricalVolatilityParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetHistoricalVolatilityParamsWithTimeout

func NewGetPublicGetHistoricalVolatilityParamsWithTimeout(timeout time.Duration) *GetPublicGetHistoricalVolatilityParams

NewGetPublicGetHistoricalVolatilityParamsWithTimeout creates a new GetPublicGetHistoricalVolatilityParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetHistoricalVolatilityParams) SetContext

SetContext adds the context to the get public get historical volatility params

func (*GetPublicGetHistoricalVolatilityParams) SetCurrency

func (o *GetPublicGetHistoricalVolatilityParams) SetCurrency(currency string)

SetCurrency adds the currency to the get public get historical volatility params

func (*GetPublicGetHistoricalVolatilityParams) SetHTTPClient

func (o *GetPublicGetHistoricalVolatilityParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public get historical volatility params

func (*GetPublicGetHistoricalVolatilityParams) SetTimeout

func (o *GetPublicGetHistoricalVolatilityParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public get historical volatility params

func (*GetPublicGetHistoricalVolatilityParams) WithContext

WithContext adds the context to the get public get historical volatility params

func (*GetPublicGetHistoricalVolatilityParams) WithCurrency

WithCurrency adds the currency to the get public get historical volatility params

func (*GetPublicGetHistoricalVolatilityParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public get historical volatility params

func (*GetPublicGetHistoricalVolatilityParams) WithTimeout

WithTimeout adds the timeout to the get public get historical volatility params

func (*GetPublicGetHistoricalVolatilityParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetHistoricalVolatilityReader

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

GetPublicGetHistoricalVolatilityReader is a Reader for the GetPublicGetHistoricalVolatility structure.

func (*GetPublicGetHistoricalVolatilityReader) ReadResponse

func (o *GetPublicGetHistoricalVolatilityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetIndexOK

type GetPublicGetIndexOK struct {
	Payload *models.PublicIndexResponse
}

GetPublicGetIndexOK handles this case with default header values.

foo

func NewGetPublicGetIndexOK

func NewGetPublicGetIndexOK() *GetPublicGetIndexOK

NewGetPublicGetIndexOK creates a GetPublicGetIndexOK with default headers values

func (*GetPublicGetIndexOK) Error

func (o *GetPublicGetIndexOK) Error() string

type GetPublicGetIndexParams

type GetPublicGetIndexParams struct {

	/*Currency
	  The currency symbol

	*/
	Currency string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicGetIndexParams contains all the parameters to send to the API endpoint for the get public get index operation typically these are written to a http.Request

func NewGetPublicGetIndexParams

func NewGetPublicGetIndexParams() *GetPublicGetIndexParams

NewGetPublicGetIndexParams creates a new GetPublicGetIndexParams object with the default values initialized.

func NewGetPublicGetIndexParamsWithContext

func NewGetPublicGetIndexParamsWithContext(ctx context.Context) *GetPublicGetIndexParams

NewGetPublicGetIndexParamsWithContext creates a new GetPublicGetIndexParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetIndexParamsWithHTTPClient

func NewGetPublicGetIndexParamsWithHTTPClient(client *http.Client) *GetPublicGetIndexParams

NewGetPublicGetIndexParamsWithHTTPClient creates a new GetPublicGetIndexParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetIndexParamsWithTimeout

func NewGetPublicGetIndexParamsWithTimeout(timeout time.Duration) *GetPublicGetIndexParams

NewGetPublicGetIndexParamsWithTimeout creates a new GetPublicGetIndexParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetIndexParams) SetContext

func (o *GetPublicGetIndexParams) SetContext(ctx context.Context)

SetContext adds the context to the get public get index params

func (*GetPublicGetIndexParams) SetCurrency

func (o *GetPublicGetIndexParams) SetCurrency(currency string)

SetCurrency adds the currency to the get public get index params

func (*GetPublicGetIndexParams) SetHTTPClient

func (o *GetPublicGetIndexParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public get index params

func (*GetPublicGetIndexParams) SetTimeout

func (o *GetPublicGetIndexParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public get index params

func (*GetPublicGetIndexParams) WithContext

WithContext adds the context to the get public get index params

func (*GetPublicGetIndexParams) WithCurrency

func (o *GetPublicGetIndexParams) WithCurrency(currency string) *GetPublicGetIndexParams

WithCurrency adds the currency to the get public get index params

func (*GetPublicGetIndexParams) WithHTTPClient

func (o *GetPublicGetIndexParams) WithHTTPClient(client *http.Client) *GetPublicGetIndexParams

WithHTTPClient adds the HTTPClient to the get public get index params

func (*GetPublicGetIndexParams) WithTimeout

WithTimeout adds the timeout to the get public get index params

func (*GetPublicGetIndexParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetIndexReader

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

GetPublicGetIndexReader is a Reader for the GetPublicGetIndex structure.

func (*GetPublicGetIndexReader) ReadResponse

func (o *GetPublicGetIndexReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetInstrumentsOK

type GetPublicGetInstrumentsOK struct {
	Payload *models.PublicGetInstrumentsResponse
}

GetPublicGetInstrumentsOK handles this case with default header values.

foo

func NewGetPublicGetInstrumentsOK

func NewGetPublicGetInstrumentsOK() *GetPublicGetInstrumentsOK

NewGetPublicGetInstrumentsOK creates a GetPublicGetInstrumentsOK with default headers values

func (*GetPublicGetInstrumentsOK) Error

func (o *GetPublicGetInstrumentsOK) Error() string

type GetPublicGetInstrumentsParams

type GetPublicGetInstrumentsParams struct {

	/*Currency
	  The currency symbol

	*/
	Currency string
	/*Expired
	  Set to true to show expired instruments instead of active ones.

	*/
	Expired *bool
	/*Kind
	  Instrument kind, if not provided instruments of all kinds are considered

	*/
	Kind *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicGetInstrumentsParams contains all the parameters to send to the API endpoint for the get public get instruments operation typically these are written to a http.Request

func NewGetPublicGetInstrumentsParams

func NewGetPublicGetInstrumentsParams() *GetPublicGetInstrumentsParams

NewGetPublicGetInstrumentsParams creates a new GetPublicGetInstrumentsParams object with the default values initialized.

func NewGetPublicGetInstrumentsParamsWithContext

func NewGetPublicGetInstrumentsParamsWithContext(ctx context.Context) *GetPublicGetInstrumentsParams

NewGetPublicGetInstrumentsParamsWithContext creates a new GetPublicGetInstrumentsParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetInstrumentsParamsWithHTTPClient

func NewGetPublicGetInstrumentsParamsWithHTTPClient(client *http.Client) *GetPublicGetInstrumentsParams

NewGetPublicGetInstrumentsParamsWithHTTPClient creates a new GetPublicGetInstrumentsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetInstrumentsParamsWithTimeout

func NewGetPublicGetInstrumentsParamsWithTimeout(timeout time.Duration) *GetPublicGetInstrumentsParams

NewGetPublicGetInstrumentsParamsWithTimeout creates a new GetPublicGetInstrumentsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetInstrumentsParams) SetContext

func (o *GetPublicGetInstrumentsParams) SetContext(ctx context.Context)

SetContext adds the context to the get public get instruments params

func (*GetPublicGetInstrumentsParams) SetCurrency

func (o *GetPublicGetInstrumentsParams) SetCurrency(currency string)

SetCurrency adds the currency to the get public get instruments params

func (*GetPublicGetInstrumentsParams) SetExpired

func (o *GetPublicGetInstrumentsParams) SetExpired(expired *bool)

SetExpired adds the expired to the get public get instruments params

func (*GetPublicGetInstrumentsParams) SetHTTPClient

func (o *GetPublicGetInstrumentsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public get instruments params

func (*GetPublicGetInstrumentsParams) SetKind

func (o *GetPublicGetInstrumentsParams) SetKind(kind *string)

SetKind adds the kind to the get public get instruments params

func (*GetPublicGetInstrumentsParams) SetTimeout

func (o *GetPublicGetInstrumentsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public get instruments params

func (*GetPublicGetInstrumentsParams) WithContext

WithContext adds the context to the get public get instruments params

func (*GetPublicGetInstrumentsParams) WithCurrency

WithCurrency adds the currency to the get public get instruments params

func (*GetPublicGetInstrumentsParams) WithExpired

WithExpired adds the expired to the get public get instruments params

func (*GetPublicGetInstrumentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public get instruments params

func (*GetPublicGetInstrumentsParams) WithKind

WithKind adds the kind to the get public get instruments params

func (*GetPublicGetInstrumentsParams) WithTimeout

WithTimeout adds the timeout to the get public get instruments params

func (*GetPublicGetInstrumentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetInstrumentsReader

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

GetPublicGetInstrumentsReader is a Reader for the GetPublicGetInstruments structure.

func (*GetPublicGetInstrumentsReader) ReadResponse

func (o *GetPublicGetInstrumentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetLastSettlementsByCurrencyOK

type GetPublicGetLastSettlementsByCurrencyOK struct {
	Payload *models.SettlementResponse
}

GetPublicGetLastSettlementsByCurrencyOK handles this case with default header values.

foo

func NewGetPublicGetLastSettlementsByCurrencyOK

func NewGetPublicGetLastSettlementsByCurrencyOK() *GetPublicGetLastSettlementsByCurrencyOK

NewGetPublicGetLastSettlementsByCurrencyOK creates a GetPublicGetLastSettlementsByCurrencyOK with default headers values

func (*GetPublicGetLastSettlementsByCurrencyOK) Error

type GetPublicGetLastSettlementsByCurrencyParams

type GetPublicGetLastSettlementsByCurrencyParams struct {

	/*Continuation
	  Continuation token for pagination

	*/
	Continuation *string
	/*Count
	  Number of requested items, default - `20`

	*/
	Count *int64
	/*Currency
	  The currency symbol

	*/
	Currency string
	/*SearchStartTimestamp
	  The latest timestamp to return result for

	*/
	SearchStartTimestamp *int64
	/*Type
	  Settlement type

	*/
	Type *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicGetLastSettlementsByCurrencyParams contains all the parameters to send to the API endpoint for the get public get last settlements by currency operation typically these are written to a http.Request

func NewGetPublicGetLastSettlementsByCurrencyParams

func NewGetPublicGetLastSettlementsByCurrencyParams() *GetPublicGetLastSettlementsByCurrencyParams

NewGetPublicGetLastSettlementsByCurrencyParams creates a new GetPublicGetLastSettlementsByCurrencyParams object with the default values initialized.

func NewGetPublicGetLastSettlementsByCurrencyParamsWithContext

func NewGetPublicGetLastSettlementsByCurrencyParamsWithContext(ctx context.Context) *GetPublicGetLastSettlementsByCurrencyParams

NewGetPublicGetLastSettlementsByCurrencyParamsWithContext creates a new GetPublicGetLastSettlementsByCurrencyParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetLastSettlementsByCurrencyParamsWithHTTPClient

func NewGetPublicGetLastSettlementsByCurrencyParamsWithHTTPClient(client *http.Client) *GetPublicGetLastSettlementsByCurrencyParams

NewGetPublicGetLastSettlementsByCurrencyParamsWithHTTPClient creates a new GetPublicGetLastSettlementsByCurrencyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetLastSettlementsByCurrencyParamsWithTimeout

func NewGetPublicGetLastSettlementsByCurrencyParamsWithTimeout(timeout time.Duration) *GetPublicGetLastSettlementsByCurrencyParams

NewGetPublicGetLastSettlementsByCurrencyParamsWithTimeout creates a new GetPublicGetLastSettlementsByCurrencyParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetLastSettlementsByCurrencyParams) SetContext

SetContext adds the context to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) SetContinuation

func (o *GetPublicGetLastSettlementsByCurrencyParams) SetContinuation(continuation *string)

SetContinuation adds the continuation to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) SetCount

SetCount adds the count to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) SetCurrency

func (o *GetPublicGetLastSettlementsByCurrencyParams) SetCurrency(currency string)

SetCurrency adds the currency to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) SetHTTPClient

func (o *GetPublicGetLastSettlementsByCurrencyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) SetSearchStartTimestamp

func (o *GetPublicGetLastSettlementsByCurrencyParams) SetSearchStartTimestamp(searchStartTimestamp *int64)

SetSearchStartTimestamp adds the searchStartTimestamp to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) SetTimeout

SetTimeout adds the timeout to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) SetType

SetType adds the type to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) WithContext

WithContext adds the context to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) WithContinuation

WithContinuation adds the continuation to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) WithCount

WithCount adds the count to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) WithCurrency

WithCurrency adds the currency to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) WithSearchStartTimestamp

func (o *GetPublicGetLastSettlementsByCurrencyParams) WithSearchStartTimestamp(searchStartTimestamp *int64) *GetPublicGetLastSettlementsByCurrencyParams

WithSearchStartTimestamp adds the searchStartTimestamp to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) WithTimeout

WithTimeout adds the timeout to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) WithType

WithType adds the typeVar to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetLastSettlementsByCurrencyReader

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

GetPublicGetLastSettlementsByCurrencyReader is a Reader for the GetPublicGetLastSettlementsByCurrency structure.

func (*GetPublicGetLastSettlementsByCurrencyReader) ReadResponse

func (o *GetPublicGetLastSettlementsByCurrencyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetLastSettlementsByInstrumentOK

type GetPublicGetLastSettlementsByInstrumentOK struct {
	Payload *models.SettlementResponse
}

GetPublicGetLastSettlementsByInstrumentOK handles this case with default header values.

foo

func NewGetPublicGetLastSettlementsByInstrumentOK

func NewGetPublicGetLastSettlementsByInstrumentOK() *GetPublicGetLastSettlementsByInstrumentOK

NewGetPublicGetLastSettlementsByInstrumentOK creates a GetPublicGetLastSettlementsByInstrumentOK with default headers values

func (*GetPublicGetLastSettlementsByInstrumentOK) Error

type GetPublicGetLastSettlementsByInstrumentParams

type GetPublicGetLastSettlementsByInstrumentParams struct {

	/*Continuation
	  Continuation token for pagination

	*/
	Continuation *string
	/*Count
	  Number of requested items, default - `20`

	*/
	Count *int64
	/*InstrumentName
	  Instrument name

	*/
	InstrumentName string
	/*SearchStartTimestamp
	  The latest timestamp to return result for

	*/
	SearchStartTimestamp *int64
	/*Type
	  Settlement type

	*/
	Type *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicGetLastSettlementsByInstrumentParams contains all the parameters to send to the API endpoint for the get public get last settlements by instrument operation typically these are written to a http.Request

func NewGetPublicGetLastSettlementsByInstrumentParams

func NewGetPublicGetLastSettlementsByInstrumentParams() *GetPublicGetLastSettlementsByInstrumentParams

NewGetPublicGetLastSettlementsByInstrumentParams creates a new GetPublicGetLastSettlementsByInstrumentParams object with the default values initialized.

func NewGetPublicGetLastSettlementsByInstrumentParamsWithContext

func NewGetPublicGetLastSettlementsByInstrumentParamsWithContext(ctx context.Context) *GetPublicGetLastSettlementsByInstrumentParams

NewGetPublicGetLastSettlementsByInstrumentParamsWithContext creates a new GetPublicGetLastSettlementsByInstrumentParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetLastSettlementsByInstrumentParamsWithHTTPClient

func NewGetPublicGetLastSettlementsByInstrumentParamsWithHTTPClient(client *http.Client) *GetPublicGetLastSettlementsByInstrumentParams

NewGetPublicGetLastSettlementsByInstrumentParamsWithHTTPClient creates a new GetPublicGetLastSettlementsByInstrumentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetLastSettlementsByInstrumentParamsWithTimeout

func NewGetPublicGetLastSettlementsByInstrumentParamsWithTimeout(timeout time.Duration) *GetPublicGetLastSettlementsByInstrumentParams

NewGetPublicGetLastSettlementsByInstrumentParamsWithTimeout creates a new GetPublicGetLastSettlementsByInstrumentParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetLastSettlementsByInstrumentParams) SetContext

SetContext adds the context to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) SetContinuation

func (o *GetPublicGetLastSettlementsByInstrumentParams) SetContinuation(continuation *string)

SetContinuation adds the continuation to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) SetCount

SetCount adds the count to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) SetHTTPClient

func (o *GetPublicGetLastSettlementsByInstrumentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) SetInstrumentName

func (o *GetPublicGetLastSettlementsByInstrumentParams) SetInstrumentName(instrumentName string)

SetInstrumentName adds the instrumentName to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) SetSearchStartTimestamp

func (o *GetPublicGetLastSettlementsByInstrumentParams) SetSearchStartTimestamp(searchStartTimestamp *int64)

SetSearchStartTimestamp adds the searchStartTimestamp to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) SetTimeout

SetTimeout adds the timeout to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) SetType

SetType adds the type to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) WithContext

WithContext adds the context to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) WithContinuation

WithContinuation adds the continuation to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) WithCount

WithCount adds the count to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) WithInstrumentName

WithInstrumentName adds the instrumentName to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) WithSearchStartTimestamp

WithSearchStartTimestamp adds the searchStartTimestamp to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) WithTimeout

WithTimeout adds the timeout to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) WithType

WithType adds the typeVar to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetLastSettlementsByInstrumentReader

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

GetPublicGetLastSettlementsByInstrumentReader is a Reader for the GetPublicGetLastSettlementsByInstrument structure.

func (*GetPublicGetLastSettlementsByInstrumentReader) ReadResponse

func (o *GetPublicGetLastSettlementsByInstrumentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetLastTradesByCurrencyAndTimeOK

type GetPublicGetLastTradesByCurrencyAndTimeOK struct {
	Payload *models.PublicTradesHistoryResponse
}

GetPublicGetLastTradesByCurrencyAndTimeOK handles this case with default header values.

foo

func NewGetPublicGetLastTradesByCurrencyAndTimeOK

func NewGetPublicGetLastTradesByCurrencyAndTimeOK() *GetPublicGetLastTradesByCurrencyAndTimeOK

NewGetPublicGetLastTradesByCurrencyAndTimeOK creates a GetPublicGetLastTradesByCurrencyAndTimeOK with default headers values

func (*GetPublicGetLastTradesByCurrencyAndTimeOK) Error

type GetPublicGetLastTradesByCurrencyAndTimeParams

type GetPublicGetLastTradesByCurrencyAndTimeParams struct {

	/*Count
	  Number of requested items, default - `10`

	*/
	Count *int64
	/*Currency
	  The currency symbol

	*/
	Currency string
	/*EndTimestamp
	  The most recent timestamp to return result for

	*/
	EndTimestamp int64
	/*IncludeOld
	  Include trades older than 7 days, default - `false`

	*/
	IncludeOld *bool
	/*Kind
	  Instrument kind, if not provided instruments of all kinds are considered

	*/
	Kind *string
	/*Sorting
	  Direction of results sorting (`default` value means no sorting, results will be returned in order in which they left the database)

	*/
	Sorting *string
	/*StartTimestamp
	  The earliest timestamp to return result for

	*/
	StartTimestamp int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicGetLastTradesByCurrencyAndTimeParams contains all the parameters to send to the API endpoint for the get public get last trades by currency and time operation typically these are written to a http.Request

func NewGetPublicGetLastTradesByCurrencyAndTimeParams

func NewGetPublicGetLastTradesByCurrencyAndTimeParams() *GetPublicGetLastTradesByCurrencyAndTimeParams

NewGetPublicGetLastTradesByCurrencyAndTimeParams creates a new GetPublicGetLastTradesByCurrencyAndTimeParams object with the default values initialized.

func NewGetPublicGetLastTradesByCurrencyAndTimeParamsWithContext

func NewGetPublicGetLastTradesByCurrencyAndTimeParamsWithContext(ctx context.Context) *GetPublicGetLastTradesByCurrencyAndTimeParams

NewGetPublicGetLastTradesByCurrencyAndTimeParamsWithContext creates a new GetPublicGetLastTradesByCurrencyAndTimeParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetLastTradesByCurrencyAndTimeParamsWithHTTPClient

func NewGetPublicGetLastTradesByCurrencyAndTimeParamsWithHTTPClient(client *http.Client) *GetPublicGetLastTradesByCurrencyAndTimeParams

NewGetPublicGetLastTradesByCurrencyAndTimeParamsWithHTTPClient creates a new GetPublicGetLastTradesByCurrencyAndTimeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetLastTradesByCurrencyAndTimeParamsWithTimeout

func NewGetPublicGetLastTradesByCurrencyAndTimeParamsWithTimeout(timeout time.Duration) *GetPublicGetLastTradesByCurrencyAndTimeParams

NewGetPublicGetLastTradesByCurrencyAndTimeParamsWithTimeout creates a new GetPublicGetLastTradesByCurrencyAndTimeParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) SetContext

SetContext adds the context to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) SetCount

SetCount adds the count to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) SetCurrency

func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetCurrency(currency string)

SetCurrency adds the currency to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) SetEndTimestamp

func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetEndTimestamp(endTimestamp int64)

SetEndTimestamp adds the endTimestamp to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) SetHTTPClient

func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) SetIncludeOld

func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetIncludeOld(includeOld *bool)

SetIncludeOld adds the includeOld to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) SetKind

SetKind adds the kind to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) SetSorting

func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetSorting(sorting *string)

SetSorting adds the sorting to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) SetStartTimestamp

func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetStartTimestamp(startTimestamp int64)

SetStartTimestamp adds the startTimestamp to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) SetTimeout

SetTimeout adds the timeout to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithContext

WithContext adds the context to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithCount

WithCount adds the count to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithCurrency

WithCurrency adds the currency to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithEndTimestamp

WithEndTimestamp adds the endTimestamp to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithIncludeOld

WithIncludeOld adds the includeOld to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithKind

WithKind adds the kind to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithSorting

WithSorting adds the sorting to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithStartTimestamp

WithStartTimestamp adds the startTimestamp to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithTimeout

WithTimeout adds the timeout to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetLastTradesByCurrencyAndTimeReader

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

GetPublicGetLastTradesByCurrencyAndTimeReader is a Reader for the GetPublicGetLastTradesByCurrencyAndTime structure.

func (*GetPublicGetLastTradesByCurrencyAndTimeReader) ReadResponse

func (o *GetPublicGetLastTradesByCurrencyAndTimeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetLastTradesByCurrencyOK

type GetPublicGetLastTradesByCurrencyOK struct {
	Payload *models.PublicTradesHistoryResponse
}

GetPublicGetLastTradesByCurrencyOK handles this case with default header values.

foo

func NewGetPublicGetLastTradesByCurrencyOK

func NewGetPublicGetLastTradesByCurrencyOK() *GetPublicGetLastTradesByCurrencyOK

NewGetPublicGetLastTradesByCurrencyOK creates a GetPublicGetLastTradesByCurrencyOK with default headers values

func (*GetPublicGetLastTradesByCurrencyOK) Error

type GetPublicGetLastTradesByCurrencyParams

type GetPublicGetLastTradesByCurrencyParams struct {

	/*Count
	  Number of requested items, default - `10`

	*/
	Count *int64
	/*Currency
	  The currency symbol

	*/
	Currency string
	/*EndSeq
	  The sequence number of the last trade to be returned

	*/
	EndSeq *int64
	/*IncludeOld
	  Include trades older than 7 days, default - `false`

	*/
	IncludeOld *bool
	/*Kind
	  Instrument kind, if not provided instruments of all kinds are considered

	*/
	Kind *string
	/*Sorting
	  Direction of results sorting (`default` value means no sorting, results will be returned in order in which they left the database)

	*/
	Sorting *string
	/*StartSeq
	  The sequence number of the first trade to be returned

	*/
	StartSeq *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicGetLastTradesByCurrencyParams contains all the parameters to send to the API endpoint for the get public get last trades by currency operation typically these are written to a http.Request

func NewGetPublicGetLastTradesByCurrencyParams

func NewGetPublicGetLastTradesByCurrencyParams() *GetPublicGetLastTradesByCurrencyParams

NewGetPublicGetLastTradesByCurrencyParams creates a new GetPublicGetLastTradesByCurrencyParams object with the default values initialized.

func NewGetPublicGetLastTradesByCurrencyParamsWithContext

func NewGetPublicGetLastTradesByCurrencyParamsWithContext(ctx context.Context) *GetPublicGetLastTradesByCurrencyParams

NewGetPublicGetLastTradesByCurrencyParamsWithContext creates a new GetPublicGetLastTradesByCurrencyParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetLastTradesByCurrencyParamsWithHTTPClient

func NewGetPublicGetLastTradesByCurrencyParamsWithHTTPClient(client *http.Client) *GetPublicGetLastTradesByCurrencyParams

NewGetPublicGetLastTradesByCurrencyParamsWithHTTPClient creates a new GetPublicGetLastTradesByCurrencyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetLastTradesByCurrencyParamsWithTimeout

func NewGetPublicGetLastTradesByCurrencyParamsWithTimeout(timeout time.Duration) *GetPublicGetLastTradesByCurrencyParams

NewGetPublicGetLastTradesByCurrencyParamsWithTimeout creates a new GetPublicGetLastTradesByCurrencyParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetLastTradesByCurrencyParams) SetContext

SetContext adds the context to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) SetCount

func (o *GetPublicGetLastTradesByCurrencyParams) SetCount(count *int64)

SetCount adds the count to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) SetCurrency

func (o *GetPublicGetLastTradesByCurrencyParams) SetCurrency(currency string)

SetCurrency adds the currency to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) SetEndSeq

func (o *GetPublicGetLastTradesByCurrencyParams) SetEndSeq(endSeq *int64)

SetEndSeq adds the endSeq to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) SetHTTPClient

func (o *GetPublicGetLastTradesByCurrencyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) SetIncludeOld

func (o *GetPublicGetLastTradesByCurrencyParams) SetIncludeOld(includeOld *bool)

SetIncludeOld adds the includeOld to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) SetKind

SetKind adds the kind to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) SetSorting

func (o *GetPublicGetLastTradesByCurrencyParams) SetSorting(sorting *string)

SetSorting adds the sorting to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) SetStartSeq

func (o *GetPublicGetLastTradesByCurrencyParams) SetStartSeq(startSeq *int64)

SetStartSeq adds the startSeq to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) SetTimeout

func (o *GetPublicGetLastTradesByCurrencyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) WithContext

WithContext adds the context to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) WithCount

WithCount adds the count to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) WithCurrency

WithCurrency adds the currency to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) WithEndSeq

WithEndSeq adds the endSeq to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) WithIncludeOld

WithIncludeOld adds the includeOld to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) WithKind

WithKind adds the kind to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) WithSorting

WithSorting adds the sorting to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) WithStartSeq

WithStartSeq adds the startSeq to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) WithTimeout

WithTimeout adds the timeout to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetLastTradesByCurrencyReader

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

GetPublicGetLastTradesByCurrencyReader is a Reader for the GetPublicGetLastTradesByCurrency structure.

func (*GetPublicGetLastTradesByCurrencyReader) ReadResponse

func (o *GetPublicGetLastTradesByCurrencyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetLastTradesByInstrumentAndTimeOK

type GetPublicGetLastTradesByInstrumentAndTimeOK struct {
	Payload *models.PublicTradesHistoryResponse
}

GetPublicGetLastTradesByInstrumentAndTimeOK handles this case with default header values.

foo

func NewGetPublicGetLastTradesByInstrumentAndTimeOK

func NewGetPublicGetLastTradesByInstrumentAndTimeOK() *GetPublicGetLastTradesByInstrumentAndTimeOK

NewGetPublicGetLastTradesByInstrumentAndTimeOK creates a GetPublicGetLastTradesByInstrumentAndTimeOK with default headers values

func (*GetPublicGetLastTradesByInstrumentAndTimeOK) Error

type GetPublicGetLastTradesByInstrumentAndTimeParams

type GetPublicGetLastTradesByInstrumentAndTimeParams struct {

	/*Count
	  Number of requested items, default - `10`

	*/
	Count *int64
	/*EndTimestamp
	  The most recent timestamp to return result for

	*/
	EndTimestamp int64
	/*IncludeOld
	  Include trades older than 7 days, default - `false`

	*/
	IncludeOld *bool
	/*InstrumentName
	  Instrument name

	*/
	InstrumentName string
	/*Sorting
	  Direction of results sorting (`default` value means no sorting, results will be returned in order in which they left the database)

	*/
	Sorting *string
	/*StartTimestamp
	  The earliest timestamp to return result for

	*/
	StartTimestamp int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicGetLastTradesByInstrumentAndTimeParams contains all the parameters to send to the API endpoint for the get public get last trades by instrument and time operation typically these are written to a http.Request

func NewGetPublicGetLastTradesByInstrumentAndTimeParams

func NewGetPublicGetLastTradesByInstrumentAndTimeParams() *GetPublicGetLastTradesByInstrumentAndTimeParams

NewGetPublicGetLastTradesByInstrumentAndTimeParams creates a new GetPublicGetLastTradesByInstrumentAndTimeParams object with the default values initialized.

func NewGetPublicGetLastTradesByInstrumentAndTimeParamsWithContext

func NewGetPublicGetLastTradesByInstrumentAndTimeParamsWithContext(ctx context.Context) *GetPublicGetLastTradesByInstrumentAndTimeParams

NewGetPublicGetLastTradesByInstrumentAndTimeParamsWithContext creates a new GetPublicGetLastTradesByInstrumentAndTimeParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetLastTradesByInstrumentAndTimeParamsWithHTTPClient

func NewGetPublicGetLastTradesByInstrumentAndTimeParamsWithHTTPClient(client *http.Client) *GetPublicGetLastTradesByInstrumentAndTimeParams

NewGetPublicGetLastTradesByInstrumentAndTimeParamsWithHTTPClient creates a new GetPublicGetLastTradesByInstrumentAndTimeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetLastTradesByInstrumentAndTimeParamsWithTimeout

func NewGetPublicGetLastTradesByInstrumentAndTimeParamsWithTimeout(timeout time.Duration) *GetPublicGetLastTradesByInstrumentAndTimeParams

NewGetPublicGetLastTradesByInstrumentAndTimeParamsWithTimeout creates a new GetPublicGetLastTradesByInstrumentAndTimeParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) SetContext

SetContext adds the context to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) SetCount

SetCount adds the count to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) SetEndTimestamp

func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) SetEndTimestamp(endTimestamp int64)

SetEndTimestamp adds the endTimestamp to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) SetIncludeOld

func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) SetIncludeOld(includeOld *bool)

SetIncludeOld adds the includeOld to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) SetInstrumentName

func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) SetInstrumentName(instrumentName string)

SetInstrumentName adds the instrumentName to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) SetSorting

SetSorting adds the sorting to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) SetStartTimestamp

func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) SetStartTimestamp(startTimestamp int64)

SetStartTimestamp adds the startTimestamp to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) SetTimeout

SetTimeout adds the timeout to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WithContext

WithContext adds the context to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WithCount

WithCount adds the count to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WithEndTimestamp

WithEndTimestamp adds the endTimestamp to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WithIncludeOld

WithIncludeOld adds the includeOld to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WithInstrumentName

WithInstrumentName adds the instrumentName to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WithSorting

WithSorting adds the sorting to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WithStartTimestamp

WithStartTimestamp adds the startTimestamp to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WithTimeout

WithTimeout adds the timeout to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetLastTradesByInstrumentAndTimeReader

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

GetPublicGetLastTradesByInstrumentAndTimeReader is a Reader for the GetPublicGetLastTradesByInstrumentAndTime structure.

func (*GetPublicGetLastTradesByInstrumentAndTimeReader) ReadResponse

func (o *GetPublicGetLastTradesByInstrumentAndTimeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetLastTradesByInstrumentOK

type GetPublicGetLastTradesByInstrumentOK struct {
	Payload *models.PublicTradesHistoryResponse
}

GetPublicGetLastTradesByInstrumentOK handles this case with default header values.

foo

func NewGetPublicGetLastTradesByInstrumentOK

func NewGetPublicGetLastTradesByInstrumentOK() *GetPublicGetLastTradesByInstrumentOK

NewGetPublicGetLastTradesByInstrumentOK creates a GetPublicGetLastTradesByInstrumentOK with default headers values

func (*GetPublicGetLastTradesByInstrumentOK) Error

type GetPublicGetLastTradesByInstrumentParams

type GetPublicGetLastTradesByInstrumentParams struct {

	/*Count
	  Number of requested items, default - `10`

	*/
	Count *int64
	/*EndSeq
	  The sequence number of the last trade to be returned

	*/
	EndSeq *int64
	/*IncludeOld
	  Include trades older than 7 days, default - `false`

	*/
	IncludeOld *bool
	/*InstrumentName
	  Instrument name

	*/
	InstrumentName string
	/*Sorting
	  Direction of results sorting (`default` value means no sorting, results will be returned in order in which they left the database)

	*/
	Sorting *string
	/*StartSeq
	  The sequence number of the first trade to be returned

	*/
	StartSeq *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicGetLastTradesByInstrumentParams contains all the parameters to send to the API endpoint for the get public get last trades by instrument operation typically these are written to a http.Request

func NewGetPublicGetLastTradesByInstrumentParams

func NewGetPublicGetLastTradesByInstrumentParams() *GetPublicGetLastTradesByInstrumentParams

NewGetPublicGetLastTradesByInstrumentParams creates a new GetPublicGetLastTradesByInstrumentParams object with the default values initialized.

func NewGetPublicGetLastTradesByInstrumentParamsWithContext

func NewGetPublicGetLastTradesByInstrumentParamsWithContext(ctx context.Context) *GetPublicGetLastTradesByInstrumentParams

NewGetPublicGetLastTradesByInstrumentParamsWithContext creates a new GetPublicGetLastTradesByInstrumentParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetLastTradesByInstrumentParamsWithHTTPClient

func NewGetPublicGetLastTradesByInstrumentParamsWithHTTPClient(client *http.Client) *GetPublicGetLastTradesByInstrumentParams

NewGetPublicGetLastTradesByInstrumentParamsWithHTTPClient creates a new GetPublicGetLastTradesByInstrumentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetLastTradesByInstrumentParamsWithTimeout

func NewGetPublicGetLastTradesByInstrumentParamsWithTimeout(timeout time.Duration) *GetPublicGetLastTradesByInstrumentParams

NewGetPublicGetLastTradesByInstrumentParamsWithTimeout creates a new GetPublicGetLastTradesByInstrumentParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetLastTradesByInstrumentParams) SetContext

SetContext adds the context to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) SetCount

func (o *GetPublicGetLastTradesByInstrumentParams) SetCount(count *int64)

SetCount adds the count to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) SetEndSeq

func (o *GetPublicGetLastTradesByInstrumentParams) SetEndSeq(endSeq *int64)

SetEndSeq adds the endSeq to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) SetHTTPClient

func (o *GetPublicGetLastTradesByInstrumentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) SetIncludeOld

func (o *GetPublicGetLastTradesByInstrumentParams) SetIncludeOld(includeOld *bool)

SetIncludeOld adds the includeOld to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) SetInstrumentName

func (o *GetPublicGetLastTradesByInstrumentParams) SetInstrumentName(instrumentName string)

SetInstrumentName adds the instrumentName to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) SetSorting

func (o *GetPublicGetLastTradesByInstrumentParams) SetSorting(sorting *string)

SetSorting adds the sorting to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) SetStartSeq

func (o *GetPublicGetLastTradesByInstrumentParams) SetStartSeq(startSeq *int64)

SetStartSeq adds the startSeq to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) SetTimeout

SetTimeout adds the timeout to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) WithContext

WithContext adds the context to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) WithCount

WithCount adds the count to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) WithEndSeq

WithEndSeq adds the endSeq to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) WithIncludeOld

WithIncludeOld adds the includeOld to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) WithInstrumentName

WithInstrumentName adds the instrumentName to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) WithSorting

WithSorting adds the sorting to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) WithStartSeq

WithStartSeq adds the startSeq to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) WithTimeout

WithTimeout adds the timeout to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetLastTradesByInstrumentReader

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

GetPublicGetLastTradesByInstrumentReader is a Reader for the GetPublicGetLastTradesByInstrument structure.

func (*GetPublicGetLastTradesByInstrumentReader) ReadResponse

func (o *GetPublicGetLastTradesByInstrumentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetOrderBookOK

type GetPublicGetOrderBookOK struct {
	Payload *models.PublicGetOrderBookResponse
}

GetPublicGetOrderBookOK handles this case with default header values.

foo

func NewGetPublicGetOrderBookOK

func NewGetPublicGetOrderBookOK() *GetPublicGetOrderBookOK

NewGetPublicGetOrderBookOK creates a GetPublicGetOrderBookOK with default headers values

func (*GetPublicGetOrderBookOK) Error

func (o *GetPublicGetOrderBookOK) Error() string

type GetPublicGetOrderBookParams

type GetPublicGetOrderBookParams struct {

	/*Depth
	  The number of entries to return for bids and asks.

	*/
	Depth *float64
	/*InstrumentName
	  The instrument name for which to retrieve the order book, see [`getinstruments`](#getinstruments) to obtain instrument names.

	*/
	InstrumentName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicGetOrderBookParams contains all the parameters to send to the API endpoint for the get public get order book operation typically these are written to a http.Request

func NewGetPublicGetOrderBookParams

func NewGetPublicGetOrderBookParams() *GetPublicGetOrderBookParams

NewGetPublicGetOrderBookParams creates a new GetPublicGetOrderBookParams object with the default values initialized.

func NewGetPublicGetOrderBookParamsWithContext

func NewGetPublicGetOrderBookParamsWithContext(ctx context.Context) *GetPublicGetOrderBookParams

NewGetPublicGetOrderBookParamsWithContext creates a new GetPublicGetOrderBookParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetOrderBookParamsWithHTTPClient

func NewGetPublicGetOrderBookParamsWithHTTPClient(client *http.Client) *GetPublicGetOrderBookParams

NewGetPublicGetOrderBookParamsWithHTTPClient creates a new GetPublicGetOrderBookParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetOrderBookParamsWithTimeout

func NewGetPublicGetOrderBookParamsWithTimeout(timeout time.Duration) *GetPublicGetOrderBookParams

NewGetPublicGetOrderBookParamsWithTimeout creates a new GetPublicGetOrderBookParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetOrderBookParams) SetContext

func (o *GetPublicGetOrderBookParams) SetContext(ctx context.Context)

SetContext adds the context to the get public get order book params

func (*GetPublicGetOrderBookParams) SetDepth

func (o *GetPublicGetOrderBookParams) SetDepth(depth *float64)

SetDepth adds the depth to the get public get order book params

func (*GetPublicGetOrderBookParams) SetHTTPClient

func (o *GetPublicGetOrderBookParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public get order book params

func (*GetPublicGetOrderBookParams) SetInstrumentName

func (o *GetPublicGetOrderBookParams) SetInstrumentName(instrumentName string)

SetInstrumentName adds the instrumentName to the get public get order book params

func (*GetPublicGetOrderBookParams) SetTimeout

func (o *GetPublicGetOrderBookParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public get order book params

func (*GetPublicGetOrderBookParams) WithContext

WithContext adds the context to the get public get order book params

func (*GetPublicGetOrderBookParams) WithDepth

WithDepth adds the depth to the get public get order book params

func (*GetPublicGetOrderBookParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public get order book params

func (*GetPublicGetOrderBookParams) WithInstrumentName

func (o *GetPublicGetOrderBookParams) WithInstrumentName(instrumentName string) *GetPublicGetOrderBookParams

WithInstrumentName adds the instrumentName to the get public get order book params

func (*GetPublicGetOrderBookParams) WithTimeout

WithTimeout adds the timeout to the get public get order book params

func (*GetPublicGetOrderBookParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetOrderBookReader

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

GetPublicGetOrderBookReader is a Reader for the GetPublicGetOrderBook structure.

func (*GetPublicGetOrderBookReader) ReadResponse

func (o *GetPublicGetOrderBookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetTimeOK

type GetPublicGetTimeOK struct {
	Payload *models.GetTimeResponse
}

GetPublicGetTimeOK handles this case with default header values.

foo

func NewGetPublicGetTimeOK

func NewGetPublicGetTimeOK() *GetPublicGetTimeOK

NewGetPublicGetTimeOK creates a GetPublicGetTimeOK with default headers values

func (*GetPublicGetTimeOK) Error

func (o *GetPublicGetTimeOK) Error() string

type GetPublicGetTimeParams

type GetPublicGetTimeParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicGetTimeParams contains all the parameters to send to the API endpoint for the get public get time operation typically these are written to a http.Request

func NewGetPublicGetTimeParams

func NewGetPublicGetTimeParams() *GetPublicGetTimeParams

NewGetPublicGetTimeParams creates a new GetPublicGetTimeParams object with the default values initialized.

func NewGetPublicGetTimeParamsWithContext

func NewGetPublicGetTimeParamsWithContext(ctx context.Context) *GetPublicGetTimeParams

NewGetPublicGetTimeParamsWithContext creates a new GetPublicGetTimeParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetTimeParamsWithHTTPClient

func NewGetPublicGetTimeParamsWithHTTPClient(client *http.Client) *GetPublicGetTimeParams

NewGetPublicGetTimeParamsWithHTTPClient creates a new GetPublicGetTimeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetTimeParamsWithTimeout

func NewGetPublicGetTimeParamsWithTimeout(timeout time.Duration) *GetPublicGetTimeParams

NewGetPublicGetTimeParamsWithTimeout creates a new GetPublicGetTimeParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetTimeParams) SetContext

func (o *GetPublicGetTimeParams) SetContext(ctx context.Context)

SetContext adds the context to the get public get time params

func (*GetPublicGetTimeParams) SetHTTPClient

func (o *GetPublicGetTimeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public get time params

func (*GetPublicGetTimeParams) SetTimeout

func (o *GetPublicGetTimeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public get time params

func (*GetPublicGetTimeParams) WithContext

WithContext adds the context to the get public get time params

func (*GetPublicGetTimeParams) WithHTTPClient

func (o *GetPublicGetTimeParams) WithHTTPClient(client *http.Client) *GetPublicGetTimeParams

WithHTTPClient adds the HTTPClient to the get public get time params

func (*GetPublicGetTimeParams) WithTimeout

WithTimeout adds the timeout to the get public get time params

func (*GetPublicGetTimeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetTimeReader

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

GetPublicGetTimeReader is a Reader for the GetPublicGetTime structure.

func (*GetPublicGetTimeReader) ReadResponse

func (o *GetPublicGetTimeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetTradeVolumesOK

type GetPublicGetTradeVolumesOK struct {
	Payload *models.PublicGetTradesVolumesResponse
}

GetPublicGetTradeVolumesOK handles this case with default header values.

foo

func NewGetPublicGetTradeVolumesOK

func NewGetPublicGetTradeVolumesOK() *GetPublicGetTradeVolumesOK

NewGetPublicGetTradeVolumesOK creates a GetPublicGetTradeVolumesOK with default headers values

func (*GetPublicGetTradeVolumesOK) Error

type GetPublicGetTradeVolumesParams

type GetPublicGetTradeVolumesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicGetTradeVolumesParams contains all the parameters to send to the API endpoint for the get public get trade volumes operation typically these are written to a http.Request

func NewGetPublicGetTradeVolumesParams

func NewGetPublicGetTradeVolumesParams() *GetPublicGetTradeVolumesParams

NewGetPublicGetTradeVolumesParams creates a new GetPublicGetTradeVolumesParams object with the default values initialized.

func NewGetPublicGetTradeVolumesParamsWithContext

func NewGetPublicGetTradeVolumesParamsWithContext(ctx context.Context) *GetPublicGetTradeVolumesParams

NewGetPublicGetTradeVolumesParamsWithContext creates a new GetPublicGetTradeVolumesParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetTradeVolumesParamsWithHTTPClient

func NewGetPublicGetTradeVolumesParamsWithHTTPClient(client *http.Client) *GetPublicGetTradeVolumesParams

NewGetPublicGetTradeVolumesParamsWithHTTPClient creates a new GetPublicGetTradeVolumesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetTradeVolumesParamsWithTimeout

func NewGetPublicGetTradeVolumesParamsWithTimeout(timeout time.Duration) *GetPublicGetTradeVolumesParams

NewGetPublicGetTradeVolumesParamsWithTimeout creates a new GetPublicGetTradeVolumesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetTradeVolumesParams) SetContext

func (o *GetPublicGetTradeVolumesParams) SetContext(ctx context.Context)

SetContext adds the context to the get public get trade volumes params

func (*GetPublicGetTradeVolumesParams) SetHTTPClient

func (o *GetPublicGetTradeVolumesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public get trade volumes params

func (*GetPublicGetTradeVolumesParams) SetTimeout

func (o *GetPublicGetTradeVolumesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public get trade volumes params

func (*GetPublicGetTradeVolumesParams) WithContext

WithContext adds the context to the get public get trade volumes params

func (*GetPublicGetTradeVolumesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public get trade volumes params

func (*GetPublicGetTradeVolumesParams) WithTimeout

WithTimeout adds the timeout to the get public get trade volumes params

func (*GetPublicGetTradeVolumesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetTradeVolumesReader

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

GetPublicGetTradeVolumesReader is a Reader for the GetPublicGetTradeVolumes structure.

func (*GetPublicGetTradeVolumesReader) ReadResponse

func (o *GetPublicGetTradeVolumesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetlasttradesOK

type GetPublicGetlasttradesOK struct {
	Payload *models.PublicGetlasttradesResponse
}

GetPublicGetlasttradesOK handles this case with default header values.

foo

func NewGetPublicGetlasttradesOK

func NewGetPublicGetlasttradesOK() *GetPublicGetlasttradesOK

NewGetPublicGetlasttradesOK creates a GetPublicGetlasttradesOK with default headers values

func (*GetPublicGetlasttradesOK) Error

func (o *GetPublicGetlasttradesOK) Error() string

type GetPublicGetlasttradesParams

type GetPublicGetlasttradesParams struct {

	/*Count
	  The number of trades returned (clamped to max 10000)

	*/
	Count *float64
	/*Direction
	  DEPRECATED, alias to "sort", for backward compatibility

	*/
	Direction *string
	/*EndID
	  The ID of the last trade to be returned

	*/
	EndID *float64
	/*EndSeq
	  The trade sequence of the last trade to be returned

	*/
	EndSeq *float64
	/*EndTimestamp
	  The timestamp (in ms) of the last trade to be returned

	*/
	EndTimestamp *int64
	/*Instrument
	  Either the name of the instrument, or `"all"` for all active instruments, `"futures"` for all active futures, or `"options"` for all active options.

	*/
	Instrument string
	/*Since
	  DEPRECATED, The ID after which trades are returned, for backward compatibility

	*/
	Since *float64
	/*Sort
	  `"asc"` for ascending, `"desc"` for descending

	*/
	Sort *string
	/*StartID
	  The ID of the first trade to be returned

	*/
	StartID *float64
	/*StartSeq
	  The trade sequence of the first trade to be returned

	*/
	StartSeq *float64
	/*StartTimestamp
	  The timestamp (in ms) of the first trade to be returned

	*/
	StartTimestamp *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicGetlasttradesParams contains all the parameters to send to the API endpoint for the get public getlasttrades operation typically these are written to a http.Request

func NewGetPublicGetlasttradesParams

func NewGetPublicGetlasttradesParams() *GetPublicGetlasttradesParams

NewGetPublicGetlasttradesParams creates a new GetPublicGetlasttradesParams object with the default values initialized.

func NewGetPublicGetlasttradesParamsWithContext

func NewGetPublicGetlasttradesParamsWithContext(ctx context.Context) *GetPublicGetlasttradesParams

NewGetPublicGetlasttradesParamsWithContext creates a new GetPublicGetlasttradesParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetlasttradesParamsWithHTTPClient

func NewGetPublicGetlasttradesParamsWithHTTPClient(client *http.Client) *GetPublicGetlasttradesParams

NewGetPublicGetlasttradesParamsWithHTTPClient creates a new GetPublicGetlasttradesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetlasttradesParamsWithTimeout

func NewGetPublicGetlasttradesParamsWithTimeout(timeout time.Duration) *GetPublicGetlasttradesParams

NewGetPublicGetlasttradesParamsWithTimeout creates a new GetPublicGetlasttradesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetlasttradesParams) SetContext

func (o *GetPublicGetlasttradesParams) SetContext(ctx context.Context)

SetContext adds the context to the get public getlasttrades params

func (*GetPublicGetlasttradesParams) SetCount

func (o *GetPublicGetlasttradesParams) SetCount(count *float64)

SetCount adds the count to the get public getlasttrades params

func (*GetPublicGetlasttradesParams) SetDirection

func (o *GetPublicGetlasttradesParams) SetDirection(direction *string)

SetDirection adds the direction to the get public getlasttrades params

func (*GetPublicGetlasttradesParams) SetEndID

func (o *GetPublicGetlasttradesParams) SetEndID(endID *float64)

SetEndID adds the endId to the get public getlasttrades params

func (*GetPublicGetlasttradesParams) SetEndSeq

func (o *GetPublicGetlasttradesParams) SetEndSeq(endSeq *float64)

SetEndSeq adds the endSeq to the get public getlasttrades params

func (*GetPublicGetlasttradesParams) SetEndTimestamp

func (o *GetPublicGetlasttradesParams) SetEndTimestamp(endTimestamp *int64)

SetEndTimestamp adds the endTimestamp to the get public getlasttrades params

func (*GetPublicGetlasttradesParams) SetHTTPClient

func (o *GetPublicGetlasttradesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public getlasttrades params

func (*GetPublicGetlasttradesParams) SetInstrument

func (o *GetPublicGetlasttradesParams) SetInstrument(instrument string)

SetInstrument adds the instrument to the get public getlasttrades params

func (*GetPublicGetlasttradesParams) SetSince

func (o *GetPublicGetlasttradesParams) SetSince(since *float64)

SetSince adds the since to the get public getlasttrades params

func (*GetPublicGetlasttradesParams) SetSort

func (o *GetPublicGetlasttradesParams) SetSort(sort *string)

SetSort adds the sort to the get public getlasttrades params

func (*GetPublicGetlasttradesParams) SetStartID

func (o *GetPublicGetlasttradesParams) SetStartID(startID *float64)

SetStartID adds the startId to the get public getlasttrades params

func (*GetPublicGetlasttradesParams) SetStartSeq

func (o *GetPublicGetlasttradesParams) SetStartSeq(startSeq *float64)

SetStartSeq adds the startSeq to the get public getlasttrades params

func (*GetPublicGetlasttradesParams) SetStartTimestamp

func (o *GetPublicGetlasttradesParams) SetStartTimestamp(startTimestamp *int64)

SetStartTimestamp adds the startTimestamp to the get public getlasttrades params

func (*GetPublicGetlasttradesParams) SetTimeout

func (o *GetPublicGetlasttradesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public getlasttrades params

func (*GetPublicGetlasttradesParams) WithContext

WithContext adds the context to the get public getlasttrades params

func (*GetPublicGetlasttradesParams) WithCount

WithCount adds the count to the get public getlasttrades params

func (*GetPublicGetlasttradesParams) WithDirection

WithDirection adds the direction to the get public getlasttrades params

func (*GetPublicGetlasttradesParams) WithEndID

WithEndID adds the endID to the get public getlasttrades params

func (*GetPublicGetlasttradesParams) WithEndSeq

WithEndSeq adds the endSeq to the get public getlasttrades params

func (*GetPublicGetlasttradesParams) WithEndTimestamp

func (o *GetPublicGetlasttradesParams) WithEndTimestamp(endTimestamp *int64) *GetPublicGetlasttradesParams

WithEndTimestamp adds the endTimestamp to the get public getlasttrades params

func (*GetPublicGetlasttradesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public getlasttrades params

func (*GetPublicGetlasttradesParams) WithInstrument

func (o *GetPublicGetlasttradesParams) WithInstrument(instrument string) *GetPublicGetlasttradesParams

WithInstrument adds the instrument to the get public getlasttrades params

func (*GetPublicGetlasttradesParams) WithSince

WithSince adds the since to the get public getlasttrades params

func (*GetPublicGetlasttradesParams) WithSort

WithSort adds the sort to the get public getlasttrades params

func (*GetPublicGetlasttradesParams) WithStartID

WithStartID adds the startID to the get public getlasttrades params

func (*GetPublicGetlasttradesParams) WithStartSeq

WithStartSeq adds the startSeq to the get public getlasttrades params

func (*GetPublicGetlasttradesParams) WithStartTimestamp

func (o *GetPublicGetlasttradesParams) WithStartTimestamp(startTimestamp *int64) *GetPublicGetlasttradesParams

WithStartTimestamp adds the startTimestamp to the get public getlasttrades params

func (*GetPublicGetlasttradesParams) WithTimeout

WithTimeout adds the timeout to the get public getlasttrades params

func (*GetPublicGetlasttradesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetlasttradesReader

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

GetPublicGetlasttradesReader is a Reader for the GetPublicGetlasttrades structure.

func (*GetPublicGetlasttradesReader) ReadResponse

func (o *GetPublicGetlasttradesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetorderbookOK

type GetPublicGetorderbookOK struct {
	Payload *models.PublicGetorderbookResponse
}

GetPublicGetorderbookOK handles this case with default header values.

foo

func NewGetPublicGetorderbookOK

func NewGetPublicGetorderbookOK() *GetPublicGetorderbookOK

NewGetPublicGetorderbookOK creates a GetPublicGetorderbookOK with default headers values

func (*GetPublicGetorderbookOK) Error

func (o *GetPublicGetorderbookOK) Error() string

type GetPublicGetorderbookParams

type GetPublicGetorderbookParams struct {

	/*Depth
	  The number of entries to return for bids and asks.

	*/
	Depth *float64
	/*Instrument
	  The instrument name for which to retrieve the order book.

	*/
	Instrument string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicGetorderbookParams contains all the parameters to send to the API endpoint for the get public getorderbook operation typically these are written to a http.Request

func NewGetPublicGetorderbookParams

func NewGetPublicGetorderbookParams() *GetPublicGetorderbookParams

NewGetPublicGetorderbookParams creates a new GetPublicGetorderbookParams object with the default values initialized.

func NewGetPublicGetorderbookParamsWithContext

func NewGetPublicGetorderbookParamsWithContext(ctx context.Context) *GetPublicGetorderbookParams

NewGetPublicGetorderbookParamsWithContext creates a new GetPublicGetorderbookParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetorderbookParamsWithHTTPClient

func NewGetPublicGetorderbookParamsWithHTTPClient(client *http.Client) *GetPublicGetorderbookParams

NewGetPublicGetorderbookParamsWithHTTPClient creates a new GetPublicGetorderbookParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetorderbookParamsWithTimeout

func NewGetPublicGetorderbookParamsWithTimeout(timeout time.Duration) *GetPublicGetorderbookParams

NewGetPublicGetorderbookParamsWithTimeout creates a new GetPublicGetorderbookParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetorderbookParams) SetContext

func (o *GetPublicGetorderbookParams) SetContext(ctx context.Context)

SetContext adds the context to the get public getorderbook params

func (*GetPublicGetorderbookParams) SetDepth

func (o *GetPublicGetorderbookParams) SetDepth(depth *float64)

SetDepth adds the depth to the get public getorderbook params

func (*GetPublicGetorderbookParams) SetHTTPClient

func (o *GetPublicGetorderbookParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public getorderbook params

func (*GetPublicGetorderbookParams) SetInstrument

func (o *GetPublicGetorderbookParams) SetInstrument(instrument string)

SetInstrument adds the instrument to the get public getorderbook params

func (*GetPublicGetorderbookParams) SetTimeout

func (o *GetPublicGetorderbookParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public getorderbook params

func (*GetPublicGetorderbookParams) WithContext

WithContext adds the context to the get public getorderbook params

func (*GetPublicGetorderbookParams) WithDepth

WithDepth adds the depth to the get public getorderbook params

func (*GetPublicGetorderbookParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public getorderbook params

func (*GetPublicGetorderbookParams) WithInstrument

func (o *GetPublicGetorderbookParams) WithInstrument(instrument string) *GetPublicGetorderbookParams

WithInstrument adds the instrument to the get public getorderbook params

func (*GetPublicGetorderbookParams) WithTimeout

WithTimeout adds the timeout to the get public getorderbook params

func (*GetPublicGetorderbookParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetorderbookReader

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

GetPublicGetorderbookReader is a Reader for the GetPublicGetorderbook structure.

func (*GetPublicGetorderbookReader) ReadResponse

func (o *GetPublicGetorderbookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicHelloOK

type GetPublicHelloOK struct {
	Payload *models.PublicTestResponse
}

GetPublicHelloOK handles this case with default header values.

foo

func NewGetPublicHelloOK

func NewGetPublicHelloOK() *GetPublicHelloOK

NewGetPublicHelloOK creates a GetPublicHelloOK with default headers values

func (*GetPublicHelloOK) Error

func (o *GetPublicHelloOK) Error() string

type GetPublicHelloParams

type GetPublicHelloParams struct {

	/*ClientName
	  Client software name

	*/
	ClientName string
	/*ClientVersion
	  Client software version

	*/
	ClientVersion string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicHelloParams contains all the parameters to send to the API endpoint for the get public hello operation typically these are written to a http.Request

func NewGetPublicHelloParams

func NewGetPublicHelloParams() *GetPublicHelloParams

NewGetPublicHelloParams creates a new GetPublicHelloParams object with the default values initialized.

func NewGetPublicHelloParamsWithContext

func NewGetPublicHelloParamsWithContext(ctx context.Context) *GetPublicHelloParams

NewGetPublicHelloParamsWithContext creates a new GetPublicHelloParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicHelloParamsWithHTTPClient

func NewGetPublicHelloParamsWithHTTPClient(client *http.Client) *GetPublicHelloParams

NewGetPublicHelloParamsWithHTTPClient creates a new GetPublicHelloParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicHelloParamsWithTimeout

func NewGetPublicHelloParamsWithTimeout(timeout time.Duration) *GetPublicHelloParams

NewGetPublicHelloParamsWithTimeout creates a new GetPublicHelloParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicHelloParams) SetClientName

func (o *GetPublicHelloParams) SetClientName(clientName string)

SetClientName adds the clientName to the get public hello params

func (*GetPublicHelloParams) SetClientVersion

func (o *GetPublicHelloParams) SetClientVersion(clientVersion string)

SetClientVersion adds the clientVersion to the get public hello params

func (*GetPublicHelloParams) SetContext

func (o *GetPublicHelloParams) SetContext(ctx context.Context)

SetContext adds the context to the get public hello params

func (*GetPublicHelloParams) SetHTTPClient

func (o *GetPublicHelloParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public hello params

func (*GetPublicHelloParams) SetTimeout

func (o *GetPublicHelloParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public hello params

func (*GetPublicHelloParams) WithClientName

func (o *GetPublicHelloParams) WithClientName(clientName string) *GetPublicHelloParams

WithClientName adds the clientName to the get public hello params

func (*GetPublicHelloParams) WithClientVersion

func (o *GetPublicHelloParams) WithClientVersion(clientVersion string) *GetPublicHelloParams

WithClientVersion adds the clientVersion to the get public hello params

func (*GetPublicHelloParams) WithContext

WithContext adds the context to the get public hello params

func (*GetPublicHelloParams) WithHTTPClient

func (o *GetPublicHelloParams) WithHTTPClient(client *http.Client) *GetPublicHelloParams

WithHTTPClient adds the HTTPClient to the get public hello params

func (*GetPublicHelloParams) WithTimeout

func (o *GetPublicHelloParams) WithTimeout(timeout time.Duration) *GetPublicHelloParams

WithTimeout adds the timeout to the get public hello params

func (*GetPublicHelloParams) WriteToRequest

func (o *GetPublicHelloParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPublicHelloReader

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

GetPublicHelloReader is a Reader for the GetPublicHello structure.

func (*GetPublicHelloReader) ReadResponse

func (o *GetPublicHelloReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicPingOK

type GetPublicPingOK struct {
	Payload *models.OkResponse
}

GetPublicPingOK handles this case with default header values.

foo

func NewGetPublicPingOK

func NewGetPublicPingOK() *GetPublicPingOK

NewGetPublicPingOK creates a GetPublicPingOK with default headers values

func (*GetPublicPingOK) Error

func (o *GetPublicPingOK) Error() string

type GetPublicPingParams

type GetPublicPingParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicPingParams contains all the parameters to send to the API endpoint for the get public ping operation typically these are written to a http.Request

func NewGetPublicPingParams

func NewGetPublicPingParams() *GetPublicPingParams

NewGetPublicPingParams creates a new GetPublicPingParams object with the default values initialized.

func NewGetPublicPingParamsWithContext

func NewGetPublicPingParamsWithContext(ctx context.Context) *GetPublicPingParams

NewGetPublicPingParamsWithContext creates a new GetPublicPingParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicPingParamsWithHTTPClient

func NewGetPublicPingParamsWithHTTPClient(client *http.Client) *GetPublicPingParams

NewGetPublicPingParamsWithHTTPClient creates a new GetPublicPingParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicPingParamsWithTimeout

func NewGetPublicPingParamsWithTimeout(timeout time.Duration) *GetPublicPingParams

NewGetPublicPingParamsWithTimeout creates a new GetPublicPingParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicPingParams) SetContext

func (o *GetPublicPingParams) SetContext(ctx context.Context)

SetContext adds the context to the get public ping params

func (*GetPublicPingParams) SetHTTPClient

func (o *GetPublicPingParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public ping params

func (*GetPublicPingParams) SetTimeout

func (o *GetPublicPingParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public ping params

func (*GetPublicPingParams) WithContext

WithContext adds the context to the get public ping params

func (*GetPublicPingParams) WithHTTPClient

func (o *GetPublicPingParams) WithHTTPClient(client *http.Client) *GetPublicPingParams

WithHTTPClient adds the HTTPClient to the get public ping params

func (*GetPublicPingParams) WithTimeout

func (o *GetPublicPingParams) WithTimeout(timeout time.Duration) *GetPublicPingParams

WithTimeout adds the timeout to the get public ping params

func (*GetPublicPingParams) WriteToRequest

func (o *GetPublicPingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPublicPingReader

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

GetPublicPingReader is a Reader for the GetPublicPing structure.

func (*GetPublicPingReader) ReadResponse

func (o *GetPublicPingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicSetHeartbeatOK

type GetPublicSetHeartbeatOK struct {
	Payload *models.OkResponse
}

GetPublicSetHeartbeatOK handles this case with default header values.

foo

func NewGetPublicSetHeartbeatOK

func NewGetPublicSetHeartbeatOK() *GetPublicSetHeartbeatOK

NewGetPublicSetHeartbeatOK creates a GetPublicSetHeartbeatOK with default headers values

func (*GetPublicSetHeartbeatOK) Error

func (o *GetPublicSetHeartbeatOK) Error() string

type GetPublicSetHeartbeatParams

type GetPublicSetHeartbeatParams struct {

	/*Interval
	  The heartbeat interval in seconds, but not less than 10

	*/
	Interval float64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicSetHeartbeatParams contains all the parameters to send to the API endpoint for the get public set heartbeat operation typically these are written to a http.Request

func NewGetPublicSetHeartbeatParams

func NewGetPublicSetHeartbeatParams() *GetPublicSetHeartbeatParams

NewGetPublicSetHeartbeatParams creates a new GetPublicSetHeartbeatParams object with the default values initialized.

func NewGetPublicSetHeartbeatParamsWithContext

func NewGetPublicSetHeartbeatParamsWithContext(ctx context.Context) *GetPublicSetHeartbeatParams

NewGetPublicSetHeartbeatParamsWithContext creates a new GetPublicSetHeartbeatParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicSetHeartbeatParamsWithHTTPClient

func NewGetPublicSetHeartbeatParamsWithHTTPClient(client *http.Client) *GetPublicSetHeartbeatParams

NewGetPublicSetHeartbeatParamsWithHTTPClient creates a new GetPublicSetHeartbeatParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicSetHeartbeatParamsWithTimeout

func NewGetPublicSetHeartbeatParamsWithTimeout(timeout time.Duration) *GetPublicSetHeartbeatParams

NewGetPublicSetHeartbeatParamsWithTimeout creates a new GetPublicSetHeartbeatParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicSetHeartbeatParams) SetContext

func (o *GetPublicSetHeartbeatParams) SetContext(ctx context.Context)

SetContext adds the context to the get public set heartbeat params

func (*GetPublicSetHeartbeatParams) SetHTTPClient

func (o *GetPublicSetHeartbeatParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public set heartbeat params

func (*GetPublicSetHeartbeatParams) SetInterval

func (o *GetPublicSetHeartbeatParams) SetInterval(interval float64)

SetInterval adds the interval to the get public set heartbeat params

func (*GetPublicSetHeartbeatParams) SetTimeout

func (o *GetPublicSetHeartbeatParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public set heartbeat params

func (*GetPublicSetHeartbeatParams) WithContext

WithContext adds the context to the get public set heartbeat params

func (*GetPublicSetHeartbeatParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public set heartbeat params

func (*GetPublicSetHeartbeatParams) WithInterval

WithInterval adds the interval to the get public set heartbeat params

func (*GetPublicSetHeartbeatParams) WithTimeout

WithTimeout adds the timeout to the get public set heartbeat params

func (*GetPublicSetHeartbeatParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicSetHeartbeatReader

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

GetPublicSetHeartbeatReader is a Reader for the GetPublicSetHeartbeat structure.

func (*GetPublicSetHeartbeatReader) ReadResponse

func (o *GetPublicSetHeartbeatReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicSubscribeOK

type GetPublicSubscribeOK struct {
	Payload *models.PrivateSubscribeResponse
}

GetPublicSubscribeOK handles this case with default header values.

foo

func NewGetPublicSubscribeOK

func NewGetPublicSubscribeOK() *GetPublicSubscribeOK

NewGetPublicSubscribeOK creates a GetPublicSubscribeOK with default headers values

func (*GetPublicSubscribeOK) Error

func (o *GetPublicSubscribeOK) Error() string

type GetPublicSubscribeParams

type GetPublicSubscribeParams struct {

	/*Channels
	  A list of channels to subscribe to.

	*/
	Channels []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicSubscribeParams contains all the parameters to send to the API endpoint for the get public subscribe operation typically these are written to a http.Request

func NewGetPublicSubscribeParams

func NewGetPublicSubscribeParams() *GetPublicSubscribeParams

NewGetPublicSubscribeParams creates a new GetPublicSubscribeParams object with the default values initialized.

func NewGetPublicSubscribeParamsWithContext

func NewGetPublicSubscribeParamsWithContext(ctx context.Context) *GetPublicSubscribeParams

NewGetPublicSubscribeParamsWithContext creates a new GetPublicSubscribeParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicSubscribeParamsWithHTTPClient

func NewGetPublicSubscribeParamsWithHTTPClient(client *http.Client) *GetPublicSubscribeParams

NewGetPublicSubscribeParamsWithHTTPClient creates a new GetPublicSubscribeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicSubscribeParamsWithTimeout

func NewGetPublicSubscribeParamsWithTimeout(timeout time.Duration) *GetPublicSubscribeParams

NewGetPublicSubscribeParamsWithTimeout creates a new GetPublicSubscribeParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicSubscribeParams) SetChannels

func (o *GetPublicSubscribeParams) SetChannels(channels []string)

SetChannels adds the channels to the get public subscribe params

func (*GetPublicSubscribeParams) SetContext

func (o *GetPublicSubscribeParams) SetContext(ctx context.Context)

SetContext adds the context to the get public subscribe params

func (*GetPublicSubscribeParams) SetHTTPClient

func (o *GetPublicSubscribeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public subscribe params

func (*GetPublicSubscribeParams) SetTimeout

func (o *GetPublicSubscribeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public subscribe params

func (*GetPublicSubscribeParams) WithChannels

func (o *GetPublicSubscribeParams) WithChannels(channels []string) *GetPublicSubscribeParams

WithChannels adds the channels to the get public subscribe params

func (*GetPublicSubscribeParams) WithContext

WithContext adds the context to the get public subscribe params

func (*GetPublicSubscribeParams) WithHTTPClient

func (o *GetPublicSubscribeParams) WithHTTPClient(client *http.Client) *GetPublicSubscribeParams

WithHTTPClient adds the HTTPClient to the get public subscribe params

func (*GetPublicSubscribeParams) WithTimeout

WithTimeout adds the timeout to the get public subscribe params

func (*GetPublicSubscribeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicSubscribeReader

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

GetPublicSubscribeReader is a Reader for the GetPublicSubscribe structure.

func (*GetPublicSubscribeReader) ReadResponse

func (o *GetPublicSubscribeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicSubscribeUnauthorized

type GetPublicSubscribeUnauthorized struct {
	Payload *models.ErrorMessage
}

GetPublicSubscribeUnauthorized handles this case with default header values.

not authorised

func NewGetPublicSubscribeUnauthorized

func NewGetPublicSubscribeUnauthorized() *GetPublicSubscribeUnauthorized

NewGetPublicSubscribeUnauthorized creates a GetPublicSubscribeUnauthorized with default headers values

func (*GetPublicSubscribeUnauthorized) Error

type GetPublicTestOK

type GetPublicTestOK struct {
	Payload *models.PublicTestResponse
}

GetPublicTestOK handles this case with default header values.

foo

func NewGetPublicTestOK

func NewGetPublicTestOK() *GetPublicTestOK

NewGetPublicTestOK creates a GetPublicTestOK with default headers values

func (*GetPublicTestOK) Error

func (o *GetPublicTestOK) Error() string

type GetPublicTestParams

type GetPublicTestParams struct {

	/*ExpectedResult
	  The value "exception" will trigger an error response. This may be useful for testing wrapper libraries.

	*/
	ExpectedResult *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicTestParams contains all the parameters to send to the API endpoint for the get public test operation typically these are written to a http.Request

func NewGetPublicTestParams

func NewGetPublicTestParams() *GetPublicTestParams

NewGetPublicTestParams creates a new GetPublicTestParams object with the default values initialized.

func NewGetPublicTestParamsWithContext

func NewGetPublicTestParamsWithContext(ctx context.Context) *GetPublicTestParams

NewGetPublicTestParamsWithContext creates a new GetPublicTestParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicTestParamsWithHTTPClient

func NewGetPublicTestParamsWithHTTPClient(client *http.Client) *GetPublicTestParams

NewGetPublicTestParamsWithHTTPClient creates a new GetPublicTestParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicTestParamsWithTimeout

func NewGetPublicTestParamsWithTimeout(timeout time.Duration) *GetPublicTestParams

NewGetPublicTestParamsWithTimeout creates a new GetPublicTestParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicTestParams) SetContext

func (o *GetPublicTestParams) SetContext(ctx context.Context)

SetContext adds the context to the get public test params

func (*GetPublicTestParams) SetExpectedResult

func (o *GetPublicTestParams) SetExpectedResult(expectedResult *string)

SetExpectedResult adds the expectedResult to the get public test params

func (*GetPublicTestParams) SetHTTPClient

func (o *GetPublicTestParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public test params

func (*GetPublicTestParams) SetTimeout

func (o *GetPublicTestParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public test params

func (*GetPublicTestParams) WithContext

WithContext adds the context to the get public test params

func (*GetPublicTestParams) WithExpectedResult

func (o *GetPublicTestParams) WithExpectedResult(expectedResult *string) *GetPublicTestParams

WithExpectedResult adds the expectedResult to the get public test params

func (*GetPublicTestParams) WithHTTPClient

func (o *GetPublicTestParams) WithHTTPClient(client *http.Client) *GetPublicTestParams

WithHTTPClient adds the HTTPClient to the get public test params

func (*GetPublicTestParams) WithTimeout

func (o *GetPublicTestParams) WithTimeout(timeout time.Duration) *GetPublicTestParams

WithTimeout adds the timeout to the get public test params

func (*GetPublicTestParams) WriteToRequest

func (o *GetPublicTestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPublicTestReader

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

GetPublicTestReader is a Reader for the GetPublicTest structure.

func (*GetPublicTestReader) ReadResponse

func (o *GetPublicTestReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicTickerOK

type GetPublicTickerOK struct {
	Payload *models.PublicTickerResponse
}

GetPublicTickerOK handles this case with default header values.

foo

func NewGetPublicTickerOK

func NewGetPublicTickerOK() *GetPublicTickerOK

NewGetPublicTickerOK creates a GetPublicTickerOK with default headers values

func (*GetPublicTickerOK) Error

func (o *GetPublicTickerOK) Error() string

type GetPublicTickerParams

type GetPublicTickerParams struct {

	/*InstrumentName
	  Instrument name

	*/
	InstrumentName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicTickerParams contains all the parameters to send to the API endpoint for the get public ticker operation typically these are written to a http.Request

func NewGetPublicTickerParams

func NewGetPublicTickerParams() *GetPublicTickerParams

NewGetPublicTickerParams creates a new GetPublicTickerParams object with the default values initialized.

func NewGetPublicTickerParamsWithContext

func NewGetPublicTickerParamsWithContext(ctx context.Context) *GetPublicTickerParams

NewGetPublicTickerParamsWithContext creates a new GetPublicTickerParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicTickerParamsWithHTTPClient

func NewGetPublicTickerParamsWithHTTPClient(client *http.Client) *GetPublicTickerParams

NewGetPublicTickerParamsWithHTTPClient creates a new GetPublicTickerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicTickerParamsWithTimeout

func NewGetPublicTickerParamsWithTimeout(timeout time.Duration) *GetPublicTickerParams

NewGetPublicTickerParamsWithTimeout creates a new GetPublicTickerParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicTickerParams) SetContext

func (o *GetPublicTickerParams) SetContext(ctx context.Context)

SetContext adds the context to the get public ticker params

func (*GetPublicTickerParams) SetHTTPClient

func (o *GetPublicTickerParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public ticker params

func (*GetPublicTickerParams) SetInstrumentName

func (o *GetPublicTickerParams) SetInstrumentName(instrumentName string)

SetInstrumentName adds the instrumentName to the get public ticker params

func (*GetPublicTickerParams) SetTimeout

func (o *GetPublicTickerParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public ticker params

func (*GetPublicTickerParams) WithContext

WithContext adds the context to the get public ticker params

func (*GetPublicTickerParams) WithHTTPClient

func (o *GetPublicTickerParams) WithHTTPClient(client *http.Client) *GetPublicTickerParams

WithHTTPClient adds the HTTPClient to the get public ticker params

func (*GetPublicTickerParams) WithInstrumentName

func (o *GetPublicTickerParams) WithInstrumentName(instrumentName string) *GetPublicTickerParams

WithInstrumentName adds the instrumentName to the get public ticker params

func (*GetPublicTickerParams) WithTimeout

func (o *GetPublicTickerParams) WithTimeout(timeout time.Duration) *GetPublicTickerParams

WithTimeout adds the timeout to the get public ticker params

func (*GetPublicTickerParams) WriteToRequest

func (o *GetPublicTickerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPublicTickerReader

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

GetPublicTickerReader is a Reader for the GetPublicTicker structure.

func (*GetPublicTickerReader) ReadResponse

func (o *GetPublicTickerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicUnsubscribeOK

type GetPublicUnsubscribeOK struct {
	Payload *models.PrivateSubscribeResponse
}

GetPublicUnsubscribeOK handles this case with default header values.

foo

func NewGetPublicUnsubscribeOK

func NewGetPublicUnsubscribeOK() *GetPublicUnsubscribeOK

NewGetPublicUnsubscribeOK creates a GetPublicUnsubscribeOK with default headers values

func (*GetPublicUnsubscribeOK) Error

func (o *GetPublicUnsubscribeOK) Error() string

type GetPublicUnsubscribeParams

type GetPublicUnsubscribeParams struct {

	/*Channels
	  A list of channels to unsubscribe from.

	*/
	Channels []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicUnsubscribeParams contains all the parameters to send to the API endpoint for the get public unsubscribe operation typically these are written to a http.Request

func NewGetPublicUnsubscribeParams

func NewGetPublicUnsubscribeParams() *GetPublicUnsubscribeParams

NewGetPublicUnsubscribeParams creates a new GetPublicUnsubscribeParams object with the default values initialized.

func NewGetPublicUnsubscribeParamsWithContext

func NewGetPublicUnsubscribeParamsWithContext(ctx context.Context) *GetPublicUnsubscribeParams

NewGetPublicUnsubscribeParamsWithContext creates a new GetPublicUnsubscribeParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicUnsubscribeParamsWithHTTPClient

func NewGetPublicUnsubscribeParamsWithHTTPClient(client *http.Client) *GetPublicUnsubscribeParams

NewGetPublicUnsubscribeParamsWithHTTPClient creates a new GetPublicUnsubscribeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicUnsubscribeParamsWithTimeout

func NewGetPublicUnsubscribeParamsWithTimeout(timeout time.Duration) *GetPublicUnsubscribeParams

NewGetPublicUnsubscribeParamsWithTimeout creates a new GetPublicUnsubscribeParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicUnsubscribeParams) SetChannels

func (o *GetPublicUnsubscribeParams) SetChannels(channels []string)

SetChannels adds the channels to the get public unsubscribe params

func (*GetPublicUnsubscribeParams) SetContext

func (o *GetPublicUnsubscribeParams) SetContext(ctx context.Context)

SetContext adds the context to the get public unsubscribe params

func (*GetPublicUnsubscribeParams) SetHTTPClient

func (o *GetPublicUnsubscribeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public unsubscribe params

func (*GetPublicUnsubscribeParams) SetTimeout

func (o *GetPublicUnsubscribeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public unsubscribe params

func (*GetPublicUnsubscribeParams) WithChannels

func (o *GetPublicUnsubscribeParams) WithChannels(channels []string) *GetPublicUnsubscribeParams

WithChannels adds the channels to the get public unsubscribe params

func (*GetPublicUnsubscribeParams) WithContext

WithContext adds the context to the get public unsubscribe params

func (*GetPublicUnsubscribeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public unsubscribe params

func (*GetPublicUnsubscribeParams) WithTimeout

WithTimeout adds the timeout to the get public unsubscribe params

func (*GetPublicUnsubscribeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicUnsubscribeReader

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

GetPublicUnsubscribeReader is a Reader for the GetPublicUnsubscribe structure.

func (*GetPublicUnsubscribeReader) ReadResponse

func (o *GetPublicUnsubscribeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicUnsubscribeUnauthorized

type GetPublicUnsubscribeUnauthorized struct {
	Payload *models.ErrorMessage
}

GetPublicUnsubscribeUnauthorized handles this case with default header values.

not authorised

func NewGetPublicUnsubscribeUnauthorized

func NewGetPublicUnsubscribeUnauthorized() *GetPublicUnsubscribeUnauthorized

NewGetPublicUnsubscribeUnauthorized creates a GetPublicUnsubscribeUnauthorized with default headers values

func (*GetPublicUnsubscribeUnauthorized) Error

type GetPublicValidateFieldOK

type GetPublicValidateFieldOK struct {
	Payload *models.OkResponse
}

GetPublicValidateFieldOK handles this case with default header values.

foo

func NewGetPublicValidateFieldOK

func NewGetPublicValidateFieldOK() *GetPublicValidateFieldOK

NewGetPublicValidateFieldOK creates a GetPublicValidateFieldOK with default headers values

func (*GetPublicValidateFieldOK) Error

func (o *GetPublicValidateFieldOK) Error() string

type GetPublicValidateFieldParams

type GetPublicValidateFieldParams struct {

	/*Field
	  Name of the field to be validated, examples: postal_code, date_of_birth

	*/
	Field string
	/*Value
	  Value to be checked

	*/
	Value string
	/*Value2
	  Additional value to be compared with

	*/
	Value2 *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicValidateFieldParams contains all the parameters to send to the API endpoint for the get public validate field operation typically these are written to a http.Request

func NewGetPublicValidateFieldParams

func NewGetPublicValidateFieldParams() *GetPublicValidateFieldParams

NewGetPublicValidateFieldParams creates a new GetPublicValidateFieldParams object with the default values initialized.

func NewGetPublicValidateFieldParamsWithContext

func NewGetPublicValidateFieldParamsWithContext(ctx context.Context) *GetPublicValidateFieldParams

NewGetPublicValidateFieldParamsWithContext creates a new GetPublicValidateFieldParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicValidateFieldParamsWithHTTPClient

func NewGetPublicValidateFieldParamsWithHTTPClient(client *http.Client) *GetPublicValidateFieldParams

NewGetPublicValidateFieldParamsWithHTTPClient creates a new GetPublicValidateFieldParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicValidateFieldParamsWithTimeout

func NewGetPublicValidateFieldParamsWithTimeout(timeout time.Duration) *GetPublicValidateFieldParams

NewGetPublicValidateFieldParamsWithTimeout creates a new GetPublicValidateFieldParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicValidateFieldParams) SetContext

func (o *GetPublicValidateFieldParams) SetContext(ctx context.Context)

SetContext adds the context to the get public validate field params

func (*GetPublicValidateFieldParams) SetField

func (o *GetPublicValidateFieldParams) SetField(field string)

SetField adds the field to the get public validate field params

func (*GetPublicValidateFieldParams) SetHTTPClient

func (o *GetPublicValidateFieldParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public validate field params

func (*GetPublicValidateFieldParams) SetTimeout

func (o *GetPublicValidateFieldParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public validate field params

func (*GetPublicValidateFieldParams) SetValue

func (o *GetPublicValidateFieldParams) SetValue(value string)

SetValue adds the value to the get public validate field params

func (*GetPublicValidateFieldParams) SetValue2

func (o *GetPublicValidateFieldParams) SetValue2(value2 *string)

SetValue2 adds the value2 to the get public validate field params

func (*GetPublicValidateFieldParams) WithContext

WithContext adds the context to the get public validate field params

func (*GetPublicValidateFieldParams) WithField

WithField adds the field to the get public validate field params

func (*GetPublicValidateFieldParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public validate field params

func (*GetPublicValidateFieldParams) WithTimeout

WithTimeout adds the timeout to the get public validate field params

func (*GetPublicValidateFieldParams) WithValue

WithValue adds the value to the get public validate field params

func (*GetPublicValidateFieldParams) WithValue2

WithValue2 adds the value2 to the get public validate field params

func (*GetPublicValidateFieldParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicValidateFieldReader

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

GetPublicValidateFieldReader is a Reader for the GetPublicValidateField structure.

func (*GetPublicValidateFieldReader) ReadResponse

func (o *GetPublicValidateFieldReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

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