Documentation ¶
Index ¶
- type Client
- func (a *Client) GetPrivateDisableTfaWithRecoveryCode(params *GetPrivateDisableTfaWithRecoveryCodeParams) (*GetPrivateDisableTfaWithRecoveryCodeOK, error)
- func (a *Client) GetPublicGetFooter(params *GetPublicGetFooterParams) (*GetPublicGetFooterOK, error)
- func (a *Client) GetPublicGetOptionMarkPrices(params *GetPublicGetOptionMarkPricesParams) (*GetPublicGetOptionMarkPricesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetPrivateDisableTfaWithRecoveryCodeOK
- type GetPrivateDisableTfaWithRecoveryCodeParams
- func NewGetPrivateDisableTfaWithRecoveryCodeParams() *GetPrivateDisableTfaWithRecoveryCodeParams
- func NewGetPrivateDisableTfaWithRecoveryCodeParamsWithContext(ctx context.Context) *GetPrivateDisableTfaWithRecoveryCodeParams
- func NewGetPrivateDisableTfaWithRecoveryCodeParamsWithHTTPClient(client *http.Client) *GetPrivateDisableTfaWithRecoveryCodeParams
- func NewGetPrivateDisableTfaWithRecoveryCodeParamsWithTimeout(timeout time.Duration) *GetPrivateDisableTfaWithRecoveryCodeParams
- func (o *GetPrivateDisableTfaWithRecoveryCodeParams) SetCode(code string)
- func (o *GetPrivateDisableTfaWithRecoveryCodeParams) SetContext(ctx context.Context)
- func (o *GetPrivateDisableTfaWithRecoveryCodeParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateDisableTfaWithRecoveryCodeParams) SetPassword(password string)
- func (o *GetPrivateDisableTfaWithRecoveryCodeParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateDisableTfaWithRecoveryCodeParams) WithCode(code string) *GetPrivateDisableTfaWithRecoveryCodeParams
- func (o *GetPrivateDisableTfaWithRecoveryCodeParams) WithContext(ctx context.Context) *GetPrivateDisableTfaWithRecoveryCodeParams
- func (o *GetPrivateDisableTfaWithRecoveryCodeParams) WithHTTPClient(client *http.Client) *GetPrivateDisableTfaWithRecoveryCodeParams
- func (o *GetPrivateDisableTfaWithRecoveryCodeParams) WithPassword(password string) *GetPrivateDisableTfaWithRecoveryCodeParams
- func (o *GetPrivateDisableTfaWithRecoveryCodeParams) WithTimeout(timeout time.Duration) *GetPrivateDisableTfaWithRecoveryCodeParams
- func (o *GetPrivateDisableTfaWithRecoveryCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateDisableTfaWithRecoveryCodeReader
- type GetPublicGetFooterOK
- type GetPublicGetFooterParams
- func NewGetPublicGetFooterParams() *GetPublicGetFooterParams
- func NewGetPublicGetFooterParamsWithContext(ctx context.Context) *GetPublicGetFooterParams
- func NewGetPublicGetFooterParamsWithHTTPClient(client *http.Client) *GetPublicGetFooterParams
- func NewGetPublicGetFooterParamsWithTimeout(timeout time.Duration) *GetPublicGetFooterParams
- func (o *GetPublicGetFooterParams) SetContext(ctx context.Context)
- func (o *GetPublicGetFooterParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicGetFooterParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicGetFooterParams) WithContext(ctx context.Context) *GetPublicGetFooterParams
- func (o *GetPublicGetFooterParams) WithHTTPClient(client *http.Client) *GetPublicGetFooterParams
- func (o *GetPublicGetFooterParams) WithTimeout(timeout time.Duration) *GetPublicGetFooterParams
- func (o *GetPublicGetFooterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicGetFooterReader
- type GetPublicGetOptionMarkPricesOK
- type GetPublicGetOptionMarkPricesParams
- func NewGetPublicGetOptionMarkPricesParams() *GetPublicGetOptionMarkPricesParams
- func NewGetPublicGetOptionMarkPricesParamsWithContext(ctx context.Context) *GetPublicGetOptionMarkPricesParams
- func NewGetPublicGetOptionMarkPricesParamsWithHTTPClient(client *http.Client) *GetPublicGetOptionMarkPricesParams
- func NewGetPublicGetOptionMarkPricesParamsWithTimeout(timeout time.Duration) *GetPublicGetOptionMarkPricesParams
- func (o *GetPublicGetOptionMarkPricesParams) SetContext(ctx context.Context)
- func (o *GetPublicGetOptionMarkPricesParams) SetCurrency(currency string)
- func (o *GetPublicGetOptionMarkPricesParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicGetOptionMarkPricesParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicGetOptionMarkPricesParams) WithContext(ctx context.Context) *GetPublicGetOptionMarkPricesParams
- func (o *GetPublicGetOptionMarkPricesParams) WithCurrency(currency string) *GetPublicGetOptionMarkPricesParams
- func (o *GetPublicGetOptionMarkPricesParams) WithHTTPClient(client *http.Client) *GetPublicGetOptionMarkPricesParams
- func (o *GetPublicGetOptionMarkPricesParams) WithTimeout(timeout time.Duration) *GetPublicGetOptionMarkPricesParams
- func (o *GetPublicGetOptionMarkPricesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicGetOptionMarkPricesReader
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 internal API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new internal API client.
func (*Client) GetPrivateDisableTfaWithRecoveryCode ¶ added in v3.2.0
func (a *Client) GetPrivateDisableTfaWithRecoveryCode(params *GetPrivateDisableTfaWithRecoveryCodeParams) (*GetPrivateDisableTfaWithRecoveryCodeOK, error)
GetPrivateDisableTfaWithRecoveryCode disables t f a with one time recovery code
func (*Client) GetPublicGetFooter ¶
func (a *Client) GetPublicGetFooter(params *GetPublicGetFooterParams) (*GetPublicGetFooterOK, error)
GetPublicGetFooter gets information to be displayed in the footer of the website
func (*Client) GetPublicGetOptionMarkPrices ¶
func (a *Client) GetPublicGetOptionMarkPrices(params *GetPublicGetOptionMarkPricesParams) (*GetPublicGetOptionMarkPricesOK, error)
GetPublicGetOptionMarkPrices retrives market prices and its implied volatility of options instruments
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetPrivateDisableTfaWithRecoveryCodeOK ¶ added in v3.2.0
type GetPrivateDisableTfaWithRecoveryCodeOK struct {
Payload *models.OkResponse
}
GetPrivateDisableTfaWithRecoveryCodeOK handles this case with default header values.
ok response
func NewGetPrivateDisableTfaWithRecoveryCodeOK ¶ added in v3.2.0
func NewGetPrivateDisableTfaWithRecoveryCodeOK() *GetPrivateDisableTfaWithRecoveryCodeOK
NewGetPrivateDisableTfaWithRecoveryCodeOK creates a GetPrivateDisableTfaWithRecoveryCodeOK with default headers values
func (*GetPrivateDisableTfaWithRecoveryCodeOK) Error ¶ added in v3.2.0
func (o *GetPrivateDisableTfaWithRecoveryCodeOK) Error() string
func (*GetPrivateDisableTfaWithRecoveryCodeOK) GetPayload ¶ added in v3.2.0
func (o *GetPrivateDisableTfaWithRecoveryCodeOK) GetPayload() *models.OkResponse
type GetPrivateDisableTfaWithRecoveryCodeParams ¶ added in v3.2.0
type GetPrivateDisableTfaWithRecoveryCodeParams struct { /*Code One time recovery code */ Code string /*Password The password for the subaccount */ Password string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateDisableTfaWithRecoveryCodeParams contains all the parameters to send to the API endpoint for the get private disable tfa with recovery code operation typically these are written to a http.Request
func NewGetPrivateDisableTfaWithRecoveryCodeParams ¶ added in v3.2.0
func NewGetPrivateDisableTfaWithRecoveryCodeParams() *GetPrivateDisableTfaWithRecoveryCodeParams
NewGetPrivateDisableTfaWithRecoveryCodeParams creates a new GetPrivateDisableTfaWithRecoveryCodeParams object with the default values initialized.
func NewGetPrivateDisableTfaWithRecoveryCodeParamsWithContext ¶ added in v3.2.0
func NewGetPrivateDisableTfaWithRecoveryCodeParamsWithContext(ctx context.Context) *GetPrivateDisableTfaWithRecoveryCodeParams
NewGetPrivateDisableTfaWithRecoveryCodeParamsWithContext creates a new GetPrivateDisableTfaWithRecoveryCodeParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateDisableTfaWithRecoveryCodeParamsWithHTTPClient ¶ added in v3.2.0
func NewGetPrivateDisableTfaWithRecoveryCodeParamsWithHTTPClient(client *http.Client) *GetPrivateDisableTfaWithRecoveryCodeParams
NewGetPrivateDisableTfaWithRecoveryCodeParamsWithHTTPClient creates a new GetPrivateDisableTfaWithRecoveryCodeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateDisableTfaWithRecoveryCodeParamsWithTimeout ¶ added in v3.2.0
func NewGetPrivateDisableTfaWithRecoveryCodeParamsWithTimeout(timeout time.Duration) *GetPrivateDisableTfaWithRecoveryCodeParams
NewGetPrivateDisableTfaWithRecoveryCodeParamsWithTimeout creates a new GetPrivateDisableTfaWithRecoveryCodeParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateDisableTfaWithRecoveryCodeParams) SetCode ¶ added in v3.2.0
func (o *GetPrivateDisableTfaWithRecoveryCodeParams) SetCode(code string)
SetCode adds the code to the get private disable tfa with recovery code params
func (*GetPrivateDisableTfaWithRecoveryCodeParams) SetContext ¶ added in v3.2.0
func (o *GetPrivateDisableTfaWithRecoveryCodeParams) SetContext(ctx context.Context)
SetContext adds the context to the get private disable tfa with recovery code params
func (*GetPrivateDisableTfaWithRecoveryCodeParams) SetHTTPClient ¶ added in v3.2.0
func (o *GetPrivateDisableTfaWithRecoveryCodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private disable tfa with recovery code params
func (*GetPrivateDisableTfaWithRecoveryCodeParams) SetPassword ¶ added in v3.2.0
func (o *GetPrivateDisableTfaWithRecoveryCodeParams) SetPassword(password string)
SetPassword adds the password to the get private disable tfa with recovery code params
func (*GetPrivateDisableTfaWithRecoveryCodeParams) SetTimeout ¶ added in v3.2.0
func (o *GetPrivateDisableTfaWithRecoveryCodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private disable tfa with recovery code params
func (*GetPrivateDisableTfaWithRecoveryCodeParams) WithCode ¶ added in v3.2.0
func (o *GetPrivateDisableTfaWithRecoveryCodeParams) WithCode(code string) *GetPrivateDisableTfaWithRecoveryCodeParams
WithCode adds the code to the get private disable tfa with recovery code params
func (*GetPrivateDisableTfaWithRecoveryCodeParams) WithContext ¶ added in v3.2.0
func (o *GetPrivateDisableTfaWithRecoveryCodeParams) WithContext(ctx context.Context) *GetPrivateDisableTfaWithRecoveryCodeParams
WithContext adds the context to the get private disable tfa with recovery code params
func (*GetPrivateDisableTfaWithRecoveryCodeParams) WithHTTPClient ¶ added in v3.2.0
func (o *GetPrivateDisableTfaWithRecoveryCodeParams) WithHTTPClient(client *http.Client) *GetPrivateDisableTfaWithRecoveryCodeParams
WithHTTPClient adds the HTTPClient to the get private disable tfa with recovery code params
func (*GetPrivateDisableTfaWithRecoveryCodeParams) WithPassword ¶ added in v3.2.0
func (o *GetPrivateDisableTfaWithRecoveryCodeParams) WithPassword(password string) *GetPrivateDisableTfaWithRecoveryCodeParams
WithPassword adds the password to the get private disable tfa with recovery code params
func (*GetPrivateDisableTfaWithRecoveryCodeParams) WithTimeout ¶ added in v3.2.0
func (o *GetPrivateDisableTfaWithRecoveryCodeParams) WithTimeout(timeout time.Duration) *GetPrivateDisableTfaWithRecoveryCodeParams
WithTimeout adds the timeout to the get private disable tfa with recovery code params
func (*GetPrivateDisableTfaWithRecoveryCodeParams) WriteToRequest ¶ added in v3.2.0
func (o *GetPrivateDisableTfaWithRecoveryCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateDisableTfaWithRecoveryCodeReader ¶ added in v3.2.0
type GetPrivateDisableTfaWithRecoveryCodeReader struct {
// contains filtered or unexported fields
}
GetPrivateDisableTfaWithRecoveryCodeReader is a Reader for the GetPrivateDisableTfaWithRecoveryCode structure.
func (*GetPrivateDisableTfaWithRecoveryCodeReader) ReadResponse ¶ added in v3.2.0
func (o *GetPrivateDisableTfaWithRecoveryCodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPublicGetFooterOK ¶
type GetPublicGetFooterOK struct {
}GetPublicGetFooterOK handles this case with default header values.
ok response
func NewGetPublicGetFooterOK ¶
func NewGetPublicGetFooterOK() *GetPublicGetFooterOK
NewGetPublicGetFooterOK creates a GetPublicGetFooterOK with default headers values
func (*GetPublicGetFooterOK) Error ¶
func (o *GetPublicGetFooterOK) Error() string
func (*GetPublicGetFooterOK) GetPayload ¶ added in v3.2.0
func (o *GetPublicGetFooterOK) GetPayload() *models.PublicGetFooterResponse
type GetPublicGetFooterParams ¶
type GetPublicGetFooterParams struct { // contains filtered or unexported fields }
GetPublicGetFooterParams contains all the parameters to send to the API endpoint for the get public get footer operation typically these are written to a http.Request
func NewGetPublicGetFooterParams ¶
func NewGetPublicGetFooterParams() *GetPublicGetFooterParams
NewGetPublicGetFooterParams creates a new GetPublicGetFooterParams object with the default values initialized.
func NewGetPublicGetFooterParamsWithContext ¶
func NewGetPublicGetFooterParamsWithContext(ctx context.Context) *GetPublicGetFooterParams
NewGetPublicGetFooterParamsWithContext creates a new GetPublicGetFooterParams object with the default values initialized, and the ability to set a context for a request
func NewGetPublicGetFooterParamsWithHTTPClient ¶
func NewGetPublicGetFooterParamsWithHTTPClient(client *http.Client) *GetPublicGetFooterParams
NewGetPublicGetFooterParamsWithHTTPClient creates a new GetPublicGetFooterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPublicGetFooterParamsWithTimeout ¶
func NewGetPublicGetFooterParamsWithTimeout(timeout time.Duration) *GetPublicGetFooterParams
NewGetPublicGetFooterParamsWithTimeout creates a new GetPublicGetFooterParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPublicGetFooterParams) SetContext ¶
func (o *GetPublicGetFooterParams) SetContext(ctx context.Context)
SetContext adds the context to the get public get footer params
func (*GetPublicGetFooterParams) SetHTTPClient ¶
func (o *GetPublicGetFooterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get public get footer params
func (*GetPublicGetFooterParams) SetTimeout ¶
func (o *GetPublicGetFooterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get public get footer params
func (*GetPublicGetFooterParams) WithContext ¶
func (o *GetPublicGetFooterParams) WithContext(ctx context.Context) *GetPublicGetFooterParams
WithContext adds the context to the get public get footer params
func (*GetPublicGetFooterParams) WithHTTPClient ¶
func (o *GetPublicGetFooterParams) WithHTTPClient(client *http.Client) *GetPublicGetFooterParams
WithHTTPClient adds the HTTPClient to the get public get footer params
func (*GetPublicGetFooterParams) WithTimeout ¶
func (o *GetPublicGetFooterParams) WithTimeout(timeout time.Duration) *GetPublicGetFooterParams
WithTimeout adds the timeout to the get public get footer params
func (*GetPublicGetFooterParams) WriteToRequest ¶
func (o *GetPublicGetFooterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPublicGetFooterReader ¶
type GetPublicGetFooterReader struct {
// contains filtered or unexported fields
}
GetPublicGetFooterReader is a Reader for the GetPublicGetFooter structure.
func (*GetPublicGetFooterReader) ReadResponse ¶
func (o *GetPublicGetFooterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPublicGetOptionMarkPricesOK ¶
type GetPublicGetOptionMarkPricesOK struct {
Payload models.PublicGetOptionMarkPricesResponse
}
GetPublicGetOptionMarkPricesOK handles this case with default header values.
ok response
func NewGetPublicGetOptionMarkPricesOK ¶
func NewGetPublicGetOptionMarkPricesOK() *GetPublicGetOptionMarkPricesOK
NewGetPublicGetOptionMarkPricesOK creates a GetPublicGetOptionMarkPricesOK with default headers values
func (*GetPublicGetOptionMarkPricesOK) Error ¶
func (o *GetPublicGetOptionMarkPricesOK) Error() string
func (*GetPublicGetOptionMarkPricesOK) GetPayload ¶ added in v3.2.0
func (o *GetPublicGetOptionMarkPricesOK) GetPayload() models.PublicGetOptionMarkPricesResponse
type GetPublicGetOptionMarkPricesParams ¶
type GetPublicGetOptionMarkPricesParams struct { /*Currency The currency symbol */ Currency string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPublicGetOptionMarkPricesParams contains all the parameters to send to the API endpoint for the get public get option mark prices operation typically these are written to a http.Request
func NewGetPublicGetOptionMarkPricesParams ¶
func NewGetPublicGetOptionMarkPricesParams() *GetPublicGetOptionMarkPricesParams
NewGetPublicGetOptionMarkPricesParams creates a new GetPublicGetOptionMarkPricesParams object with the default values initialized.
func NewGetPublicGetOptionMarkPricesParamsWithContext ¶
func NewGetPublicGetOptionMarkPricesParamsWithContext(ctx context.Context) *GetPublicGetOptionMarkPricesParams
NewGetPublicGetOptionMarkPricesParamsWithContext creates a new GetPublicGetOptionMarkPricesParams object with the default values initialized, and the ability to set a context for a request
func NewGetPublicGetOptionMarkPricesParamsWithHTTPClient ¶
func NewGetPublicGetOptionMarkPricesParamsWithHTTPClient(client *http.Client) *GetPublicGetOptionMarkPricesParams
NewGetPublicGetOptionMarkPricesParamsWithHTTPClient creates a new GetPublicGetOptionMarkPricesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPublicGetOptionMarkPricesParamsWithTimeout ¶
func NewGetPublicGetOptionMarkPricesParamsWithTimeout(timeout time.Duration) *GetPublicGetOptionMarkPricesParams
NewGetPublicGetOptionMarkPricesParamsWithTimeout creates a new GetPublicGetOptionMarkPricesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPublicGetOptionMarkPricesParams) SetContext ¶
func (o *GetPublicGetOptionMarkPricesParams) SetContext(ctx context.Context)
SetContext adds the context to the get public get option mark prices params
func (*GetPublicGetOptionMarkPricesParams) SetCurrency ¶
func (o *GetPublicGetOptionMarkPricesParams) SetCurrency(currency string)
SetCurrency adds the currency to the get public get option mark prices params
func (*GetPublicGetOptionMarkPricesParams) SetHTTPClient ¶
func (o *GetPublicGetOptionMarkPricesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get public get option mark prices params
func (*GetPublicGetOptionMarkPricesParams) SetTimeout ¶
func (o *GetPublicGetOptionMarkPricesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get public get option mark prices params
func (*GetPublicGetOptionMarkPricesParams) WithContext ¶
func (o *GetPublicGetOptionMarkPricesParams) WithContext(ctx context.Context) *GetPublicGetOptionMarkPricesParams
WithContext adds the context to the get public get option mark prices params
func (*GetPublicGetOptionMarkPricesParams) WithCurrency ¶
func (o *GetPublicGetOptionMarkPricesParams) WithCurrency(currency string) *GetPublicGetOptionMarkPricesParams
WithCurrency adds the currency to the get public get option mark prices params
func (*GetPublicGetOptionMarkPricesParams) WithHTTPClient ¶
func (o *GetPublicGetOptionMarkPricesParams) WithHTTPClient(client *http.Client) *GetPublicGetOptionMarkPricesParams
WithHTTPClient adds the HTTPClient to the get public get option mark prices params
func (*GetPublicGetOptionMarkPricesParams) WithTimeout ¶
func (o *GetPublicGetOptionMarkPricesParams) WithTimeout(timeout time.Duration) *GetPublicGetOptionMarkPricesParams
WithTimeout adds the timeout to the get public get option mark prices params
func (*GetPublicGetOptionMarkPricesParams) WriteToRequest ¶
func (o *GetPublicGetOptionMarkPricesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPublicGetOptionMarkPricesReader ¶
type GetPublicGetOptionMarkPricesReader struct {
// contains filtered or unexported fields
}
GetPublicGetOptionMarkPricesReader is a Reader for the GetPublicGetOptionMarkPrices structure.
func (*GetPublicGetOptionMarkPricesReader) ReadResponse ¶
func (o *GetPublicGetOptionMarkPricesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.