Documentation
¶
Index ¶
- type Client
- func (a *Client) GetPublicAuth(params *GetPublicAuthParams) (*GetPublicAuthOK, error)
- func (a *Client) GetPublicGetContractSize(params *GetPublicGetContractSizeParams) (*GetPublicGetContractSizeOK, error)
- func (a *Client) GetPublicGetCurrencies(params *GetPublicGetCurrenciesParams) (*GetPublicGetCurrenciesOK, error)
- func (a *Client) GetPublicGetFundingChartData(params *GetPublicGetFundingChartDataParams) (*GetPublicGetFundingChartDataOK, error)
- func (a *Client) GetPublicGetHistoricalVolatility(params *GetPublicGetHistoricalVolatilityParams) (*GetPublicGetHistoricalVolatilityOK, error)
- func (a *Client) GetPublicGetInstruments(params *GetPublicGetInstrumentsParams) (*GetPublicGetInstrumentsOK, error)
- func (a *Client) GetPublicGetTradingviewChartData(params *GetPublicGetTradingviewChartDataParams) (*GetPublicGetTradingviewChartDataOK, error)
- func (a *Client) GetPublicHello(params *GetPublicHelloParams) (*GetPublicHelloOK, error)
- func (a *Client) GetPublicSetHeartbeat(params *GetPublicSetHeartbeatParams) (*GetPublicSetHeartbeatOK, error)
- func (a *Client) GetPublicSubscribe(params *GetPublicSubscribeParams) (*GetPublicSubscribeOK, error)
- func (a *Client) GetPublicTest(params *GetPublicTestParams) (*GetPublicTestOK, error)
- func (a *Client) GetPublicTicker(params *GetPublicTickerParams) (*GetPublicTickerOK, error)
- func (a *Client) GetPublicValidateField(params *GetPublicValidateFieldParams) (*GetPublicValidateFieldOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetPublicAuthOK
- type GetPublicAuthParams
- func (o *GetPublicAuthParams) SetClientID(clientID string)
- func (o *GetPublicAuthParams) SetClientSecret(clientSecret string)
- func (o *GetPublicAuthParams) SetContext(ctx context.Context)
- func (o *GetPublicAuthParams) SetGrantType(grantType string)
- func (o *GetPublicAuthParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicAuthParams) SetNonce(nonce *string)
- func (o *GetPublicAuthParams) SetPassword(password string)
- func (o *GetPublicAuthParams) SetRefreshToken(refreshToken string)
- func (o *GetPublicAuthParams) SetScope(scope *string)
- func (o *GetPublicAuthParams) SetSignature(signature string)
- func (o *GetPublicAuthParams) SetState(state *string)
- func (o *GetPublicAuthParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicAuthParams) SetTimestamp(timestamp string)
- func (o *GetPublicAuthParams) SetUsername(username string)
- func (o *GetPublicAuthParams) WithClientID(clientID string) *GetPublicAuthParams
- func (o *GetPublicAuthParams) WithClientSecret(clientSecret string) *GetPublicAuthParams
- func (o *GetPublicAuthParams) WithContext(ctx context.Context) *GetPublicAuthParams
- func (o *GetPublicAuthParams) WithGrantType(grantType string) *GetPublicAuthParams
- func (o *GetPublicAuthParams) WithHTTPClient(client *http.Client) *GetPublicAuthParams
- func (o *GetPublicAuthParams) WithNonce(nonce *string) *GetPublicAuthParams
- func (o *GetPublicAuthParams) WithPassword(password string) *GetPublicAuthParams
- func (o *GetPublicAuthParams) WithRefreshToken(refreshToken string) *GetPublicAuthParams
- func (o *GetPublicAuthParams) WithScope(scope *string) *GetPublicAuthParams
- func (o *GetPublicAuthParams) WithSignature(signature string) *GetPublicAuthParams
- func (o *GetPublicAuthParams) WithState(state *string) *GetPublicAuthParams
- func (o *GetPublicAuthParams) WithTimeout(timeout time.Duration) *GetPublicAuthParams
- func (o *GetPublicAuthParams) WithTimestamp(timestamp string) *GetPublicAuthParams
- func (o *GetPublicAuthParams) WithUsername(username string) *GetPublicAuthParams
- func (o *GetPublicAuthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicAuthReader
- type GetPublicAuthTooManyRequests
- type GetPublicGetContractSizeOK
- type GetPublicGetContractSizeParams
- func NewGetPublicGetContractSizeParams() *GetPublicGetContractSizeParams
- func NewGetPublicGetContractSizeParamsWithContext(ctx context.Context) *GetPublicGetContractSizeParams
- func NewGetPublicGetContractSizeParamsWithHTTPClient(client *http.Client) *GetPublicGetContractSizeParams
- func NewGetPublicGetContractSizeParamsWithTimeout(timeout time.Duration) *GetPublicGetContractSizeParams
- func (o *GetPublicGetContractSizeParams) SetContext(ctx context.Context)
- func (o *GetPublicGetContractSizeParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicGetContractSizeParams) SetInstrumentName(instrumentName string)
- func (o *GetPublicGetContractSizeParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicGetContractSizeParams) WithContext(ctx context.Context) *GetPublicGetContractSizeParams
- func (o *GetPublicGetContractSizeParams) WithHTTPClient(client *http.Client) *GetPublicGetContractSizeParams
- func (o *GetPublicGetContractSizeParams) WithInstrumentName(instrumentName string) *GetPublicGetContractSizeParams
- func (o *GetPublicGetContractSizeParams) WithTimeout(timeout time.Duration) *GetPublicGetContractSizeParams
- func (o *GetPublicGetContractSizeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicGetContractSizeReader
- type GetPublicGetCurrenciesOK
- type GetPublicGetCurrenciesParams
- func NewGetPublicGetCurrenciesParams() *GetPublicGetCurrenciesParams
- func NewGetPublicGetCurrenciesParamsWithContext(ctx context.Context) *GetPublicGetCurrenciesParams
- func NewGetPublicGetCurrenciesParamsWithHTTPClient(client *http.Client) *GetPublicGetCurrenciesParams
- func NewGetPublicGetCurrenciesParamsWithTimeout(timeout time.Duration) *GetPublicGetCurrenciesParams
- func (o *GetPublicGetCurrenciesParams) SetContext(ctx context.Context)
- func (o *GetPublicGetCurrenciesParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicGetCurrenciesParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicGetCurrenciesParams) WithContext(ctx context.Context) *GetPublicGetCurrenciesParams
- func (o *GetPublicGetCurrenciesParams) WithHTTPClient(client *http.Client) *GetPublicGetCurrenciesParams
- func (o *GetPublicGetCurrenciesParams) WithTimeout(timeout time.Duration) *GetPublicGetCurrenciesParams
- func (o *GetPublicGetCurrenciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicGetCurrenciesReader
- type GetPublicGetFundingChartDataOK
- type GetPublicGetFundingChartDataParams
- func NewGetPublicGetFundingChartDataParams() *GetPublicGetFundingChartDataParams
- func NewGetPublicGetFundingChartDataParamsWithContext(ctx context.Context) *GetPublicGetFundingChartDataParams
- func NewGetPublicGetFundingChartDataParamsWithHTTPClient(client *http.Client) *GetPublicGetFundingChartDataParams
- func NewGetPublicGetFundingChartDataParamsWithTimeout(timeout time.Duration) *GetPublicGetFundingChartDataParams
- func (o *GetPublicGetFundingChartDataParams) SetContext(ctx context.Context)
- func (o *GetPublicGetFundingChartDataParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicGetFundingChartDataParams) SetInstrumentName(instrumentName string)
- func (o *GetPublicGetFundingChartDataParams) SetLength(length *string)
- func (o *GetPublicGetFundingChartDataParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicGetFundingChartDataParams) WithContext(ctx context.Context) *GetPublicGetFundingChartDataParams
- func (o *GetPublicGetFundingChartDataParams) WithHTTPClient(client *http.Client) *GetPublicGetFundingChartDataParams
- func (o *GetPublicGetFundingChartDataParams) WithInstrumentName(instrumentName string) *GetPublicGetFundingChartDataParams
- func (o *GetPublicGetFundingChartDataParams) WithLength(length *string) *GetPublicGetFundingChartDataParams
- func (o *GetPublicGetFundingChartDataParams) WithTimeout(timeout time.Duration) *GetPublicGetFundingChartDataParams
- func (o *GetPublicGetFundingChartDataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicGetFundingChartDataReader
- type GetPublicGetHistoricalVolatilityOK
- type GetPublicGetHistoricalVolatilityParams
- func NewGetPublicGetHistoricalVolatilityParams() *GetPublicGetHistoricalVolatilityParams
- func NewGetPublicGetHistoricalVolatilityParamsWithContext(ctx context.Context) *GetPublicGetHistoricalVolatilityParams
- func NewGetPublicGetHistoricalVolatilityParamsWithHTTPClient(client *http.Client) *GetPublicGetHistoricalVolatilityParams
- func NewGetPublicGetHistoricalVolatilityParamsWithTimeout(timeout time.Duration) *GetPublicGetHistoricalVolatilityParams
- func (o *GetPublicGetHistoricalVolatilityParams) SetContext(ctx context.Context)
- func (o *GetPublicGetHistoricalVolatilityParams) SetCurrency(currency string)
- func (o *GetPublicGetHistoricalVolatilityParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicGetHistoricalVolatilityParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicGetHistoricalVolatilityParams) WithContext(ctx context.Context) *GetPublicGetHistoricalVolatilityParams
- func (o *GetPublicGetHistoricalVolatilityParams) WithCurrency(currency string) *GetPublicGetHistoricalVolatilityParams
- func (o *GetPublicGetHistoricalVolatilityParams) WithHTTPClient(client *http.Client) *GetPublicGetHistoricalVolatilityParams
- func (o *GetPublicGetHistoricalVolatilityParams) WithTimeout(timeout time.Duration) *GetPublicGetHistoricalVolatilityParams
- func (o *GetPublicGetHistoricalVolatilityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicGetHistoricalVolatilityReader
- type GetPublicGetInstrumentsOK
- type GetPublicGetInstrumentsParams
- func NewGetPublicGetInstrumentsParams() *GetPublicGetInstrumentsParams
- func NewGetPublicGetInstrumentsParamsWithContext(ctx context.Context) *GetPublicGetInstrumentsParams
- func NewGetPublicGetInstrumentsParamsWithHTTPClient(client *http.Client) *GetPublicGetInstrumentsParams
- func NewGetPublicGetInstrumentsParamsWithTimeout(timeout time.Duration) *GetPublicGetInstrumentsParams
- func (o *GetPublicGetInstrumentsParams) SetContext(ctx context.Context)
- func (o *GetPublicGetInstrumentsParams) SetCurrency(currency string)
- func (o *GetPublicGetInstrumentsParams) SetExpired(expired *bool)
- func (o *GetPublicGetInstrumentsParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicGetInstrumentsParams) SetKind(kind *string)
- func (o *GetPublicGetInstrumentsParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicGetInstrumentsParams) WithContext(ctx context.Context) *GetPublicGetInstrumentsParams
- func (o *GetPublicGetInstrumentsParams) WithCurrency(currency string) *GetPublicGetInstrumentsParams
- func (o *GetPublicGetInstrumentsParams) WithExpired(expired *bool) *GetPublicGetInstrumentsParams
- func (o *GetPublicGetInstrumentsParams) WithHTTPClient(client *http.Client) *GetPublicGetInstrumentsParams
- func (o *GetPublicGetInstrumentsParams) WithKind(kind *string) *GetPublicGetInstrumentsParams
- func (o *GetPublicGetInstrumentsParams) WithTimeout(timeout time.Duration) *GetPublicGetInstrumentsParams
- func (o *GetPublicGetInstrumentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicGetInstrumentsReader
- type GetPublicGetTradingviewChartDataOK
- type GetPublicGetTradingviewChartDataParams
- func NewGetPublicGetTradingviewChartDataParams() *GetPublicGetTradingviewChartDataParams
- func NewGetPublicGetTradingviewChartDataParamsWithContext(ctx context.Context) *GetPublicGetTradingviewChartDataParams
- func NewGetPublicGetTradingviewChartDataParamsWithHTTPClient(client *http.Client) *GetPublicGetTradingviewChartDataParams
- func NewGetPublicGetTradingviewChartDataParamsWithTimeout(timeout time.Duration) *GetPublicGetTradingviewChartDataParams
- func (o *GetPublicGetTradingviewChartDataParams) SetContext(ctx context.Context)
- func (o *GetPublicGetTradingviewChartDataParams) SetEndTimestamp(endTimestamp int64)
- func (o *GetPublicGetTradingviewChartDataParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicGetTradingviewChartDataParams) SetInstrumentName(instrumentName string)
- func (o *GetPublicGetTradingviewChartDataParams) SetResolution(resolution string)
- func (o *GetPublicGetTradingviewChartDataParams) SetStartTimestamp(startTimestamp int64)
- func (o *GetPublicGetTradingviewChartDataParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicGetTradingviewChartDataParams) WithContext(ctx context.Context) *GetPublicGetTradingviewChartDataParams
- func (o *GetPublicGetTradingviewChartDataParams) WithEndTimestamp(endTimestamp int64) *GetPublicGetTradingviewChartDataParams
- func (o *GetPublicGetTradingviewChartDataParams) WithHTTPClient(client *http.Client) *GetPublicGetTradingviewChartDataParams
- func (o *GetPublicGetTradingviewChartDataParams) WithInstrumentName(instrumentName string) *GetPublicGetTradingviewChartDataParams
- func (o *GetPublicGetTradingviewChartDataParams) WithResolution(resolution string) *GetPublicGetTradingviewChartDataParams
- func (o *GetPublicGetTradingviewChartDataParams) WithStartTimestamp(startTimestamp int64) *GetPublicGetTradingviewChartDataParams
- func (o *GetPublicGetTradingviewChartDataParams) WithTimeout(timeout time.Duration) *GetPublicGetTradingviewChartDataParams
- func (o *GetPublicGetTradingviewChartDataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicGetTradingviewChartDataReader
- type GetPublicHelloOK
- type GetPublicHelloParams
- func NewGetPublicHelloParams() *GetPublicHelloParams
- func NewGetPublicHelloParamsWithContext(ctx context.Context) *GetPublicHelloParams
- func NewGetPublicHelloParamsWithHTTPClient(client *http.Client) *GetPublicHelloParams
- func NewGetPublicHelloParamsWithTimeout(timeout time.Duration) *GetPublicHelloParams
- func (o *GetPublicHelloParams) SetClientName(clientName string)
- func (o *GetPublicHelloParams) SetClientVersion(clientVersion string)
- func (o *GetPublicHelloParams) SetContext(ctx context.Context)
- func (o *GetPublicHelloParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicHelloParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicHelloParams) WithClientName(clientName string) *GetPublicHelloParams
- func (o *GetPublicHelloParams) WithClientVersion(clientVersion string) *GetPublicHelloParams
- func (o *GetPublicHelloParams) WithContext(ctx context.Context) *GetPublicHelloParams
- func (o *GetPublicHelloParams) WithHTTPClient(client *http.Client) *GetPublicHelloParams
- func (o *GetPublicHelloParams) WithTimeout(timeout time.Duration) *GetPublicHelloParams
- func (o *GetPublicHelloParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicHelloReader
- type GetPublicSetHeartbeatOK
- type GetPublicSetHeartbeatParams
- func NewGetPublicSetHeartbeatParams() *GetPublicSetHeartbeatParams
- func NewGetPublicSetHeartbeatParamsWithContext(ctx context.Context) *GetPublicSetHeartbeatParams
- func NewGetPublicSetHeartbeatParamsWithHTTPClient(client *http.Client) *GetPublicSetHeartbeatParams
- func NewGetPublicSetHeartbeatParamsWithTimeout(timeout time.Duration) *GetPublicSetHeartbeatParams
- func (o *GetPublicSetHeartbeatParams) SetContext(ctx context.Context)
- func (o *GetPublicSetHeartbeatParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicSetHeartbeatParams) SetInterval(interval float64)
- func (o *GetPublicSetHeartbeatParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicSetHeartbeatParams) WithContext(ctx context.Context) *GetPublicSetHeartbeatParams
- func (o *GetPublicSetHeartbeatParams) WithHTTPClient(client *http.Client) *GetPublicSetHeartbeatParams
- func (o *GetPublicSetHeartbeatParams) WithInterval(interval float64) *GetPublicSetHeartbeatParams
- func (o *GetPublicSetHeartbeatParams) WithTimeout(timeout time.Duration) *GetPublicSetHeartbeatParams
- func (o *GetPublicSetHeartbeatParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicSetHeartbeatReader
- type GetPublicSubscribeOK
- type GetPublicSubscribeParams
- func NewGetPublicSubscribeParams() *GetPublicSubscribeParams
- func NewGetPublicSubscribeParamsWithContext(ctx context.Context) *GetPublicSubscribeParams
- func NewGetPublicSubscribeParamsWithHTTPClient(client *http.Client) *GetPublicSubscribeParams
- func NewGetPublicSubscribeParamsWithTimeout(timeout time.Duration) *GetPublicSubscribeParams
- func (o *GetPublicSubscribeParams) SetChannels(channels []string)
- func (o *GetPublicSubscribeParams) SetContext(ctx context.Context)
- func (o *GetPublicSubscribeParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicSubscribeParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicSubscribeParams) WithChannels(channels []string) *GetPublicSubscribeParams
- func (o *GetPublicSubscribeParams) WithContext(ctx context.Context) *GetPublicSubscribeParams
- func (o *GetPublicSubscribeParams) WithHTTPClient(client *http.Client) *GetPublicSubscribeParams
- func (o *GetPublicSubscribeParams) WithTimeout(timeout time.Duration) *GetPublicSubscribeParams
- func (o *GetPublicSubscribeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicSubscribeReader
- type GetPublicSubscribeUnauthorized
- type GetPublicTestOK
- type GetPublicTestParams
- func (o *GetPublicTestParams) SetContext(ctx context.Context)
- func (o *GetPublicTestParams) SetExpectedResult(expectedResult *string)
- func (o *GetPublicTestParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicTestParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicTestParams) WithContext(ctx context.Context) *GetPublicTestParams
- func (o *GetPublicTestParams) WithExpectedResult(expectedResult *string) *GetPublicTestParams
- func (o *GetPublicTestParams) WithHTTPClient(client *http.Client) *GetPublicTestParams
- func (o *GetPublicTestParams) WithTimeout(timeout time.Duration) *GetPublicTestParams
- func (o *GetPublicTestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicTestReader
- type GetPublicTickerOK
- type GetPublicTickerParams
- func NewGetPublicTickerParams() *GetPublicTickerParams
- func NewGetPublicTickerParamsWithContext(ctx context.Context) *GetPublicTickerParams
- func NewGetPublicTickerParamsWithHTTPClient(client *http.Client) *GetPublicTickerParams
- func NewGetPublicTickerParamsWithTimeout(timeout time.Duration) *GetPublicTickerParams
- func (o *GetPublicTickerParams) SetContext(ctx context.Context)
- func (o *GetPublicTickerParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicTickerParams) SetInstrumentName(instrumentName string)
- func (o *GetPublicTickerParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicTickerParams) WithContext(ctx context.Context) *GetPublicTickerParams
- func (o *GetPublicTickerParams) WithHTTPClient(client *http.Client) *GetPublicTickerParams
- func (o *GetPublicTickerParams) WithInstrumentName(instrumentName string) *GetPublicTickerParams
- func (o *GetPublicTickerParams) WithTimeout(timeout time.Duration) *GetPublicTickerParams
- func (o *GetPublicTickerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicTickerReader
- type GetPublicValidateFieldOK
- type GetPublicValidateFieldParams
- func NewGetPublicValidateFieldParams() *GetPublicValidateFieldParams
- func NewGetPublicValidateFieldParamsWithContext(ctx context.Context) *GetPublicValidateFieldParams
- func NewGetPublicValidateFieldParamsWithHTTPClient(client *http.Client) *GetPublicValidateFieldParams
- func NewGetPublicValidateFieldParamsWithTimeout(timeout time.Duration) *GetPublicValidateFieldParams
- func (o *GetPublicValidateFieldParams) SetContext(ctx context.Context)
- func (o *GetPublicValidateFieldParams) SetField(field string)
- func (o *GetPublicValidateFieldParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicValidateFieldParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicValidateFieldParams) SetValue(value string)
- func (o *GetPublicValidateFieldParams) SetValue2(value2 *string)
- func (o *GetPublicValidateFieldParams) WithContext(ctx context.Context) *GetPublicValidateFieldParams
- func (o *GetPublicValidateFieldParams) WithField(field string) *GetPublicValidateFieldParams
- func (o *GetPublicValidateFieldParams) WithHTTPClient(client *http.Client) *GetPublicValidateFieldParams
- func (o *GetPublicValidateFieldParams) WithTimeout(timeout time.Duration) *GetPublicValidateFieldParams
- func (o *GetPublicValidateFieldParams) WithValue(value string) *GetPublicValidateFieldParams
- func (o *GetPublicValidateFieldParams) WithValue2(value2 *string) *GetPublicValidateFieldParams
- func (o *GetPublicValidateFieldParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicValidateFieldReader
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 public API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new public API client.
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) 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) 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) GetPublicGetTradingviewChartData ¶
func (a *Client) GetPublicGetTradingviewChartData(params *GetPublicGetTradingviewChartDataParams) (*GetPublicGetTradingviewChartDataOK, error)
GetPublicGetTradingviewChartData publiclies available market data used to generate a trading view candle chart
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) 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) 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 GetPublicAuthOK ¶
type GetPublicAuthOK struct {
Payload *models.PublicAuthResponse
}
GetPublicAuthOK handles this case with default header values.
ok response
func NewGetPublicAuthOK ¶
func NewGetPublicAuthOK() *GetPublicAuthOK
NewGetPublicAuthOK creates a GetPublicAuthOK with default headers values
func (*GetPublicAuthOK) Error ¶
func (o *GetPublicAuthOK) Error() string
func (*GetPublicAuthOK) GetPayload ¶
func (o *GetPublicAuthOK) GetPayload() *models.PublicAuthResponse
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:name`, `trade:[read, read_write, none]`, `wallet:[read, read_write, none]`, `account:[read, read_write, none]`, `expires:NUMBER`, `ip:ADDR`.</BR></BR> **NOTICE:** Depending on choosing an authentication method (“`grant type“`) some scopes could be narrowed by the server. e.g. when “`grant_type = client_credentials“` and “`scope = wallet:read_write“` it's modified by the server as “`scope = wallet:read“`</BR></BR> Please check details described in [Access scope](#access-scope) */ 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 ¶
func (o *GetPublicAuthParams) WithContext(ctx context.Context) *GetPublicAuthParams
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 ¶
func (o *GetPublicAuthTooManyRequests) Error() string
func (*GetPublicAuthTooManyRequests) GetPayload ¶
func (o *GetPublicAuthTooManyRequests) GetPayload() *models.ErrorMessage
type GetPublicGetContractSizeOK ¶
type GetPublicGetContractSizeOK struct {
Payload *models.PublicGetContractSizeResponse
}
GetPublicGetContractSizeOK handles this case with default header values.
ok response
func NewGetPublicGetContractSizeOK ¶
func NewGetPublicGetContractSizeOK() *GetPublicGetContractSizeOK
NewGetPublicGetContractSizeOK creates a GetPublicGetContractSizeOK with default headers values
func (*GetPublicGetContractSizeOK) Error ¶
func (o *GetPublicGetContractSizeOK) Error() string
func (*GetPublicGetContractSizeOK) GetPayload ¶
func (o *GetPublicGetContractSizeOK) GetPayload() *models.PublicGetContractSizeResponse
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 ¶
func (o *GetPublicGetContractSizeParams) WithContext(ctx context.Context) *GetPublicGetContractSizeParams
WithContext adds the context to the get public get contract size params
func (*GetPublicGetContractSizeParams) WithHTTPClient ¶
func (o *GetPublicGetContractSizeParams) WithHTTPClient(client *http.Client) *GetPublicGetContractSizeParams
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 ¶
func (o *GetPublicGetContractSizeParams) WithTimeout(timeout time.Duration) *GetPublicGetContractSizeParams
WithTimeout adds the timeout to the get public get contract size params
func (*GetPublicGetContractSizeParams) WriteToRequest ¶
func (o *GetPublicGetContractSizeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.PublicGetCurrenciesResponse
}
GetPublicGetCurrenciesOK handles this case with default header values.
ok response
func NewGetPublicGetCurrenciesOK ¶
func NewGetPublicGetCurrenciesOK() *GetPublicGetCurrenciesOK
NewGetPublicGetCurrenciesOK creates a GetPublicGetCurrenciesOK with default headers values
func (*GetPublicGetCurrenciesOK) Error ¶
func (o *GetPublicGetCurrenciesOK) Error() string
func (*GetPublicGetCurrenciesOK) GetPayload ¶
func (o *GetPublicGetCurrenciesOK) GetPayload() *models.PublicGetCurrenciesResponse
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 ¶
func (o *GetPublicGetCurrenciesParams) WithContext(ctx context.Context) *GetPublicGetCurrenciesParams
WithContext adds the context to the get public get currencies params
func (*GetPublicGetCurrenciesParams) WithHTTPClient ¶
func (o *GetPublicGetCurrenciesParams) WithHTTPClient(client *http.Client) *GetPublicGetCurrenciesParams
WithHTTPClient adds the HTTPClient to the get public get currencies params
func (*GetPublicGetCurrenciesParams) WithTimeout ¶
func (o *GetPublicGetCurrenciesParams) WithTimeout(timeout time.Duration) *GetPublicGetCurrenciesParams
WithTimeout adds the timeout to the get public get currencies params
func (*GetPublicGetCurrenciesParams) WriteToRequest ¶
func (o *GetPublicGetCurrenciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
GetPublicGetFundingChartDataOK get public get funding chart data o k
func NewGetPublicGetFundingChartDataOK ¶
func NewGetPublicGetFundingChartDataOK() *GetPublicGetFundingChartDataOK
NewGetPublicGetFundingChartDataOK creates a GetPublicGetFundingChartDataOK with default headers values
func (*GetPublicGetFundingChartDataOK) Error ¶
func (o *GetPublicGetFundingChartDataOK) Error() string
func (*GetPublicGetFundingChartDataOK) GetPayload ¶
func (o *GetPublicGetFundingChartDataOK) GetPayload() *models.PublicGetFundingChartDataResponse
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 ¶
func (o *GetPublicGetFundingChartDataParams) SetContext(ctx context.Context)
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 ¶
func (o *GetPublicGetFundingChartDataParams) WithContext(ctx context.Context) *GetPublicGetFundingChartDataParams
WithContext adds the context to the get public get funding chart data params
func (*GetPublicGetFundingChartDataParams) WithHTTPClient ¶
func (o *GetPublicGetFundingChartDataParams) WithHTTPClient(client *http.Client) *GetPublicGetFundingChartDataParams
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 ¶
func (o *GetPublicGetFundingChartDataParams) WithLength(length *string) *GetPublicGetFundingChartDataParams
WithLength adds the length to the get public get funding chart data params
func (*GetPublicGetFundingChartDataParams) WithTimeout ¶
func (o *GetPublicGetFundingChartDataParams) WithTimeout(timeout time.Duration) *GetPublicGetFundingChartDataParams
WithTimeout adds the timeout to the get public get funding chart data params
func (*GetPublicGetFundingChartDataParams) WriteToRequest ¶
func (o *GetPublicGetFundingChartDataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.PublicGetHistoricalVolatilityResponse
}
GetPublicGetHistoricalVolatilityOK handles this case with default header values.
ok response
func NewGetPublicGetHistoricalVolatilityOK ¶
func NewGetPublicGetHistoricalVolatilityOK() *GetPublicGetHistoricalVolatilityOK
NewGetPublicGetHistoricalVolatilityOK creates a GetPublicGetHistoricalVolatilityOK with default headers values
func (*GetPublicGetHistoricalVolatilityOK) Error ¶
func (o *GetPublicGetHistoricalVolatilityOK) Error() string
func (*GetPublicGetHistoricalVolatilityOK) GetPayload ¶
func (o *GetPublicGetHistoricalVolatilityOK) GetPayload() *models.PublicGetHistoricalVolatilityResponse
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 ¶
func (o *GetPublicGetHistoricalVolatilityParams) SetContext(ctx context.Context)
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 ¶
func (o *GetPublicGetHistoricalVolatilityParams) WithContext(ctx context.Context) *GetPublicGetHistoricalVolatilityParams
WithContext adds the context to the get public get historical volatility params
func (*GetPublicGetHistoricalVolatilityParams) WithCurrency ¶
func (o *GetPublicGetHistoricalVolatilityParams) WithCurrency(currency string) *GetPublicGetHistoricalVolatilityParams
WithCurrency adds the currency to the get public get historical volatility params
func (*GetPublicGetHistoricalVolatilityParams) WithHTTPClient ¶
func (o *GetPublicGetHistoricalVolatilityParams) WithHTTPClient(client *http.Client) *GetPublicGetHistoricalVolatilityParams
WithHTTPClient adds the HTTPClient to the get public get historical volatility params
func (*GetPublicGetHistoricalVolatilityParams) WithTimeout ¶
func (o *GetPublicGetHistoricalVolatilityParams) WithTimeout(timeout time.Duration) *GetPublicGetHistoricalVolatilityParams
WithTimeout adds the timeout to the get public get historical volatility params
func (*GetPublicGetHistoricalVolatilityParams) WriteToRequest ¶
func (o *GetPublicGetHistoricalVolatilityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 GetPublicGetInstrumentsOK ¶
type GetPublicGetInstrumentsOK struct {
Payload *models.PublicGetInstrumentsResponse
}
GetPublicGetInstrumentsOK handles this case with default header values.
ok response
func NewGetPublicGetInstrumentsOK ¶
func NewGetPublicGetInstrumentsOK() *GetPublicGetInstrumentsOK
NewGetPublicGetInstrumentsOK creates a GetPublicGetInstrumentsOK with default headers values
func (*GetPublicGetInstrumentsOK) Error ¶
func (o *GetPublicGetInstrumentsOK) Error() string
func (*GetPublicGetInstrumentsOK) GetPayload ¶
func (o *GetPublicGetInstrumentsOK) GetPayload() *models.PublicGetInstrumentsResponse
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 ¶
func (o *GetPublicGetInstrumentsParams) WithContext(ctx context.Context) *GetPublicGetInstrumentsParams
WithContext adds the context to the get public get instruments params
func (*GetPublicGetInstrumentsParams) WithCurrency ¶
func (o *GetPublicGetInstrumentsParams) WithCurrency(currency string) *GetPublicGetInstrumentsParams
WithCurrency adds the currency to the get public get instruments params
func (*GetPublicGetInstrumentsParams) WithExpired ¶
func (o *GetPublicGetInstrumentsParams) WithExpired(expired *bool) *GetPublicGetInstrumentsParams
WithExpired adds the expired to the get public get instruments params
func (*GetPublicGetInstrumentsParams) WithHTTPClient ¶
func (o *GetPublicGetInstrumentsParams) WithHTTPClient(client *http.Client) *GetPublicGetInstrumentsParams
WithHTTPClient adds the HTTPClient to the get public get instruments params
func (*GetPublicGetInstrumentsParams) WithKind ¶
func (o *GetPublicGetInstrumentsParams) WithKind(kind *string) *GetPublicGetInstrumentsParams
WithKind adds the kind to the get public get instruments params
func (*GetPublicGetInstrumentsParams) WithTimeout ¶
func (o *GetPublicGetInstrumentsParams) WithTimeout(timeout time.Duration) *GetPublicGetInstrumentsParams
WithTimeout adds the timeout to the get public get instruments params
func (*GetPublicGetInstrumentsParams) WriteToRequest ¶
func (o *GetPublicGetInstrumentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 GetPublicGetTradingviewChartDataOK ¶
type GetPublicGetTradingviewChartDataOK struct {
Payload *models.PublicGetTradingviewChartDataResponse
}
GetPublicGetTradingviewChartDataOK handles this case with default header values.
GetPublicGetTradingviewChartDataOK get public get tradingview chart data o k
func NewGetPublicGetTradingviewChartDataOK ¶
func NewGetPublicGetTradingviewChartDataOK() *GetPublicGetTradingviewChartDataOK
NewGetPublicGetTradingviewChartDataOK creates a GetPublicGetTradingviewChartDataOK with default headers values
func (*GetPublicGetTradingviewChartDataOK) Error ¶
func (o *GetPublicGetTradingviewChartDataOK) Error() string
func (*GetPublicGetTradingviewChartDataOK) GetPayload ¶
func (o *GetPublicGetTradingviewChartDataOK) GetPayload() *models.PublicGetTradingviewChartDataResponse
type GetPublicGetTradingviewChartDataParams ¶
type GetPublicGetTradingviewChartDataParams struct { /*EndTimestamp The most recent timestamp to return result for */ EndTimestamp int64 /*InstrumentName Instrument name */ InstrumentName string /*Resolution Chart bars resolution given in full minutes or keyword `1D` */ Resolution string /*StartTimestamp The earliest timestamp to return result for */ StartTimestamp int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPublicGetTradingviewChartDataParams contains all the parameters to send to the API endpoint for the get public get tradingview chart data operation typically these are written to a http.Request
func NewGetPublicGetTradingviewChartDataParams ¶
func NewGetPublicGetTradingviewChartDataParams() *GetPublicGetTradingviewChartDataParams
NewGetPublicGetTradingviewChartDataParams creates a new GetPublicGetTradingviewChartDataParams object with the default values initialized.
func NewGetPublicGetTradingviewChartDataParamsWithContext ¶
func NewGetPublicGetTradingviewChartDataParamsWithContext(ctx context.Context) *GetPublicGetTradingviewChartDataParams
NewGetPublicGetTradingviewChartDataParamsWithContext creates a new GetPublicGetTradingviewChartDataParams object with the default values initialized, and the ability to set a context for a request
func NewGetPublicGetTradingviewChartDataParamsWithHTTPClient ¶
func NewGetPublicGetTradingviewChartDataParamsWithHTTPClient(client *http.Client) *GetPublicGetTradingviewChartDataParams
NewGetPublicGetTradingviewChartDataParamsWithHTTPClient creates a new GetPublicGetTradingviewChartDataParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPublicGetTradingviewChartDataParamsWithTimeout ¶
func NewGetPublicGetTradingviewChartDataParamsWithTimeout(timeout time.Duration) *GetPublicGetTradingviewChartDataParams
NewGetPublicGetTradingviewChartDataParamsWithTimeout creates a new GetPublicGetTradingviewChartDataParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPublicGetTradingviewChartDataParams) SetContext ¶
func (o *GetPublicGetTradingviewChartDataParams) SetContext(ctx context.Context)
SetContext adds the context to the get public get tradingview chart data params
func (*GetPublicGetTradingviewChartDataParams) SetEndTimestamp ¶
func (o *GetPublicGetTradingviewChartDataParams) SetEndTimestamp(endTimestamp int64)
SetEndTimestamp adds the endTimestamp to the get public get tradingview chart data params
func (*GetPublicGetTradingviewChartDataParams) SetHTTPClient ¶
func (o *GetPublicGetTradingviewChartDataParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get public get tradingview chart data params
func (*GetPublicGetTradingviewChartDataParams) SetInstrumentName ¶
func (o *GetPublicGetTradingviewChartDataParams) SetInstrumentName(instrumentName string)
SetInstrumentName adds the instrumentName to the get public get tradingview chart data params
func (*GetPublicGetTradingviewChartDataParams) SetResolution ¶
func (o *GetPublicGetTradingviewChartDataParams) SetResolution(resolution string)
SetResolution adds the resolution to the get public get tradingview chart data params
func (*GetPublicGetTradingviewChartDataParams) SetStartTimestamp ¶
func (o *GetPublicGetTradingviewChartDataParams) SetStartTimestamp(startTimestamp int64)
SetStartTimestamp adds the startTimestamp to the get public get tradingview chart data params
func (*GetPublicGetTradingviewChartDataParams) SetTimeout ¶
func (o *GetPublicGetTradingviewChartDataParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get public get tradingview chart data params
func (*GetPublicGetTradingviewChartDataParams) WithContext ¶
func (o *GetPublicGetTradingviewChartDataParams) WithContext(ctx context.Context) *GetPublicGetTradingviewChartDataParams
WithContext adds the context to the get public get tradingview chart data params
func (*GetPublicGetTradingviewChartDataParams) WithEndTimestamp ¶
func (o *GetPublicGetTradingviewChartDataParams) WithEndTimestamp(endTimestamp int64) *GetPublicGetTradingviewChartDataParams
WithEndTimestamp adds the endTimestamp to the get public get tradingview chart data params
func (*GetPublicGetTradingviewChartDataParams) WithHTTPClient ¶
func (o *GetPublicGetTradingviewChartDataParams) WithHTTPClient(client *http.Client) *GetPublicGetTradingviewChartDataParams
WithHTTPClient adds the HTTPClient to the get public get tradingview chart data params
func (*GetPublicGetTradingviewChartDataParams) WithInstrumentName ¶
func (o *GetPublicGetTradingviewChartDataParams) WithInstrumentName(instrumentName string) *GetPublicGetTradingviewChartDataParams
WithInstrumentName adds the instrumentName to the get public get tradingview chart data params
func (*GetPublicGetTradingviewChartDataParams) WithResolution ¶
func (o *GetPublicGetTradingviewChartDataParams) WithResolution(resolution string) *GetPublicGetTradingviewChartDataParams
WithResolution adds the resolution to the get public get tradingview chart data params
func (*GetPublicGetTradingviewChartDataParams) WithStartTimestamp ¶
func (o *GetPublicGetTradingviewChartDataParams) WithStartTimestamp(startTimestamp int64) *GetPublicGetTradingviewChartDataParams
WithStartTimestamp adds the startTimestamp to the get public get tradingview chart data params
func (*GetPublicGetTradingviewChartDataParams) WithTimeout ¶
func (o *GetPublicGetTradingviewChartDataParams) WithTimeout(timeout time.Duration) *GetPublicGetTradingviewChartDataParams
WithTimeout adds the timeout to the get public get tradingview chart data params
func (*GetPublicGetTradingviewChartDataParams) WriteToRequest ¶
func (o *GetPublicGetTradingviewChartDataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPublicGetTradingviewChartDataReader ¶
type GetPublicGetTradingviewChartDataReader struct {
// contains filtered or unexported fields
}
GetPublicGetTradingviewChartDataReader is a Reader for the GetPublicGetTradingviewChartData structure.
func (*GetPublicGetTradingviewChartDataReader) ReadResponse ¶
func (o *GetPublicGetTradingviewChartDataReader) 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.
GetPublicHelloOK get public hello o k
func NewGetPublicHelloOK ¶
func NewGetPublicHelloOK() *GetPublicHelloOK
NewGetPublicHelloOK creates a GetPublicHelloOK with default headers values
func (*GetPublicHelloOK) Error ¶
func (o *GetPublicHelloOK) Error() string
func (*GetPublicHelloOK) GetPayload ¶
func (o *GetPublicHelloOK) GetPayload() *models.PublicTestResponse
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 ¶
func (o *GetPublicHelloParams) WithContext(ctx context.Context) *GetPublicHelloParams
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 GetPublicSetHeartbeatOK ¶
type GetPublicSetHeartbeatOK struct {
Payload *models.OkResponse
}
GetPublicSetHeartbeatOK handles this case with default header values.
GetPublicSetHeartbeatOK get public set heartbeat o k
func NewGetPublicSetHeartbeatOK ¶
func NewGetPublicSetHeartbeatOK() *GetPublicSetHeartbeatOK
NewGetPublicSetHeartbeatOK creates a GetPublicSetHeartbeatOK with default headers values
func (*GetPublicSetHeartbeatOK) Error ¶
func (o *GetPublicSetHeartbeatOK) Error() string
func (*GetPublicSetHeartbeatOK) GetPayload ¶
func (o *GetPublicSetHeartbeatOK) GetPayload() *models.OkResponse
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 ¶
func (o *GetPublicSetHeartbeatParams) WithContext(ctx context.Context) *GetPublicSetHeartbeatParams
WithContext adds the context to the get public set heartbeat params
func (*GetPublicSetHeartbeatParams) WithHTTPClient ¶
func (o *GetPublicSetHeartbeatParams) WithHTTPClient(client *http.Client) *GetPublicSetHeartbeatParams
WithHTTPClient adds the HTTPClient to the get public set heartbeat params
func (*GetPublicSetHeartbeatParams) WithInterval ¶
func (o *GetPublicSetHeartbeatParams) WithInterval(interval float64) *GetPublicSetHeartbeatParams
WithInterval adds the interval to the get public set heartbeat params
func (*GetPublicSetHeartbeatParams) WithTimeout ¶
func (o *GetPublicSetHeartbeatParams) WithTimeout(timeout time.Duration) *GetPublicSetHeartbeatParams
WithTimeout adds the timeout to the get public set heartbeat params
func (*GetPublicSetHeartbeatParams) WriteToRequest ¶
func (o *GetPublicSetHeartbeatParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
ok response
func NewGetPublicSubscribeOK ¶
func NewGetPublicSubscribeOK() *GetPublicSubscribeOK
NewGetPublicSubscribeOK creates a GetPublicSubscribeOK with default headers values
func (*GetPublicSubscribeOK) Error ¶
func (o *GetPublicSubscribeOK) Error() string
func (*GetPublicSubscribeOK) GetPayload ¶
func (o *GetPublicSubscribeOK) GetPayload() *models.PrivateSubscribeResponse
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 ¶
func (o *GetPublicSubscribeParams) WithContext(ctx context.Context) *GetPublicSubscribeParams
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 ¶
func (o *GetPublicSubscribeParams) WithTimeout(timeout time.Duration) *GetPublicSubscribeParams
WithTimeout adds the timeout to the get public subscribe params
func (*GetPublicSubscribeParams) WriteToRequest ¶
func (o *GetPublicSubscribeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *GetPublicSubscribeUnauthorized) Error() string
func (*GetPublicSubscribeUnauthorized) GetPayload ¶
func (o *GetPublicSubscribeUnauthorized) GetPayload() *models.ErrorMessage
type GetPublicTestOK ¶
type GetPublicTestOK struct {
Payload *models.PublicTestResponse
}
GetPublicTestOK handles this case with default header values.
GetPublicTestOK get public test o k
func NewGetPublicTestOK ¶
func NewGetPublicTestOK() *GetPublicTestOK
NewGetPublicTestOK creates a GetPublicTestOK with default headers values
func (*GetPublicTestOK) Error ¶
func (o *GetPublicTestOK) Error() string
func (*GetPublicTestOK) GetPayload ¶
func (o *GetPublicTestOK) GetPayload() *models.PublicTestResponse
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 ¶
func (o *GetPublicTestParams) WithContext(ctx context.Context) *GetPublicTestParams
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.
ok response
func NewGetPublicTickerOK ¶
func NewGetPublicTickerOK() *GetPublicTickerOK
NewGetPublicTickerOK creates a GetPublicTickerOK with default headers values
func (*GetPublicTickerOK) Error ¶
func (o *GetPublicTickerOK) Error() string
func (*GetPublicTickerOK) GetPayload ¶
func (o *GetPublicTickerOK) GetPayload() *models.PublicTickerResponse
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 ¶
func (o *GetPublicTickerParams) WithContext(ctx context.Context) *GetPublicTickerParams
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 GetPublicValidateFieldOK ¶
type GetPublicValidateFieldOK struct {
Payload *models.OkResponse
}
GetPublicValidateFieldOK handles this case with default header values.
GetPublicValidateFieldOK get public validate field o k
func NewGetPublicValidateFieldOK ¶
func NewGetPublicValidateFieldOK() *GetPublicValidateFieldOK
NewGetPublicValidateFieldOK creates a GetPublicValidateFieldOK with default headers values
func (*GetPublicValidateFieldOK) Error ¶
func (o *GetPublicValidateFieldOK) Error() string
func (*GetPublicValidateFieldOK) GetPayload ¶
func (o *GetPublicValidateFieldOK) GetPayload() *models.OkResponse
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 ¶
func (o *GetPublicValidateFieldParams) WithContext(ctx context.Context) *GetPublicValidateFieldParams
WithContext adds the context to the get public validate field params
func (*GetPublicValidateFieldParams) WithField ¶
func (o *GetPublicValidateFieldParams) WithField(field string) *GetPublicValidateFieldParams
WithField adds the field to the get public validate field params
func (*GetPublicValidateFieldParams) WithHTTPClient ¶
func (o *GetPublicValidateFieldParams) WithHTTPClient(client *http.Client) *GetPublicValidateFieldParams
WithHTTPClient adds the HTTPClient to the get public validate field params
func (*GetPublicValidateFieldParams) WithTimeout ¶
func (o *GetPublicValidateFieldParams) WithTimeout(timeout time.Duration) *GetPublicValidateFieldParams
WithTimeout adds the timeout to the get public validate field params
func (*GetPublicValidateFieldParams) WithValue ¶
func (o *GetPublicValidateFieldParams) WithValue(value string) *GetPublicValidateFieldParams
WithValue adds the value to the get public validate field params
func (*GetPublicValidateFieldParams) WithValue2 ¶
func (o *GetPublicValidateFieldParams) WithValue2(value2 *string) *GetPublicValidateFieldParams
WithValue2 adds the value2 to the get public validate field params
func (*GetPublicValidateFieldParams) WriteToRequest ¶
func (o *GetPublicValidateFieldParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
¶
- get_public_auth_parameters.go
- get_public_auth_responses.go
- get_public_get_contract_size_parameters.go
- get_public_get_contract_size_responses.go
- get_public_get_currencies_parameters.go
- get_public_get_currencies_responses.go
- get_public_get_funding_chart_data_parameters.go
- get_public_get_funding_chart_data_responses.go
- get_public_get_historical_volatility_parameters.go
- get_public_get_historical_volatility_responses.go
- get_public_get_instruments_parameters.go
- get_public_get_instruments_responses.go
- get_public_get_tradingview_chart_data_parameters.go
- get_public_get_tradingview_chart_data_responses.go
- get_public_hello_parameters.go
- get_public_hello_responses.go
- get_public_set_heartbeat_parameters.go
- get_public_set_heartbeat_responses.go
- get_public_subscribe_parameters.go
- get_public_subscribe_responses.go
- get_public_test_swagger_parameters.go
- get_public_test_swagger_responses.go
- get_public_ticker_parameters.go
- get_public_ticker_responses.go
- get_public_validate_field_parameters.go
- get_public_validate_field_responses.go
- public_client.go