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 ClientService
- 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 swagger API
func (*Client) GetPrivateDisableTfaWithRecoveryCode ¶
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 ClientService ¶
type ClientService interface { GetPrivateDisableTfaWithRecoveryCode(params *GetPrivateDisableTfaWithRecoveryCodeParams) (*GetPrivateDisableTfaWithRecoveryCodeOK, error) GetPublicGetOptionMarkPrices(params *GetPublicGetOptionMarkPricesParams) (*GetPublicGetOptionMarkPricesOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new internal swagger API client.
type GetPrivateDisableTfaWithRecoveryCodeOK ¶
type GetPrivateDisableTfaWithRecoveryCodeOK struct {
Payload *models.OkResponse
}
GetPrivateDisableTfaWithRecoveryCodeOK handles this case with default header values.
ok response
func NewGetPrivateDisableTfaWithRecoveryCodeOK ¶
func NewGetPrivateDisableTfaWithRecoveryCodeOK() *GetPrivateDisableTfaWithRecoveryCodeOK
NewGetPrivateDisableTfaWithRecoveryCodeOK creates a GetPrivateDisableTfaWithRecoveryCodeOK with default headers values
func (*GetPrivateDisableTfaWithRecoveryCodeOK) Error ¶
func (o *GetPrivateDisableTfaWithRecoveryCodeOK) Error() string
func (*GetPrivateDisableTfaWithRecoveryCodeOK) GetPayload ¶
func (o *GetPrivateDisableTfaWithRecoveryCodeOK) GetPayload() *models.OkResponse
type GetPrivateDisableTfaWithRecoveryCodeParams ¶
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 ¶
func NewGetPrivateDisableTfaWithRecoveryCodeParams() *GetPrivateDisableTfaWithRecoveryCodeParams
NewGetPrivateDisableTfaWithRecoveryCodeParams creates a new GetPrivateDisableTfaWithRecoveryCodeParams object with the default values initialized.
func NewGetPrivateDisableTfaWithRecoveryCodeParamsWithContext ¶
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 ¶
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 ¶
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 ¶
func (o *GetPrivateDisableTfaWithRecoveryCodeParams) SetCode(code string)
SetCode adds the code to the get private disable tfa with recovery code params
func (*GetPrivateDisableTfaWithRecoveryCodeParams) SetContext ¶
func (o *GetPrivateDisableTfaWithRecoveryCodeParams) SetContext(ctx context.Context)
SetContext adds the context to the get private disable tfa with recovery code params
func (*GetPrivateDisableTfaWithRecoveryCodeParams) SetHTTPClient ¶
func (o *GetPrivateDisableTfaWithRecoveryCodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private disable tfa with recovery code params
func (*GetPrivateDisableTfaWithRecoveryCodeParams) SetPassword ¶
func (o *GetPrivateDisableTfaWithRecoveryCodeParams) SetPassword(password string)
SetPassword adds the password to the get private disable tfa with recovery code params
func (*GetPrivateDisableTfaWithRecoveryCodeParams) SetTimeout ¶
func (o *GetPrivateDisableTfaWithRecoveryCodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private disable tfa with recovery code params
func (*GetPrivateDisableTfaWithRecoveryCodeParams) WithCode ¶
func (o *GetPrivateDisableTfaWithRecoveryCodeParams) WithCode(code string) *GetPrivateDisableTfaWithRecoveryCodeParams
WithCode adds the code to the get private disable tfa with recovery code params
func (*GetPrivateDisableTfaWithRecoveryCodeParams) WithContext ¶
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 ¶
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 ¶
func (o *GetPrivateDisableTfaWithRecoveryCodeParams) WithPassword(password string) *GetPrivateDisableTfaWithRecoveryCodeParams
WithPassword adds the password to the get private disable tfa with recovery code params
func (*GetPrivateDisableTfaWithRecoveryCodeParams) WithTimeout ¶
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 ¶
func (o *GetPrivateDisableTfaWithRecoveryCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateDisableTfaWithRecoveryCodeReader ¶
type GetPrivateDisableTfaWithRecoveryCodeReader struct {
// contains filtered or unexported fields
}
GetPrivateDisableTfaWithRecoveryCodeReader is a Reader for the GetPrivateDisableTfaWithRecoveryCode structure.
func (*GetPrivateDisableTfaWithRecoveryCodeReader) ReadResponse ¶
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 ¶
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 ¶
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.
Source Files ¶
- get_private_disable_tfa_with_recovery_code_parameters.go
- get_private_disable_tfa_with_recovery_code_responses.go
- get_public_get_footer_parameters.go
- get_public_get_footer_responses.go
- get_public_get_option_mark_prices_parameters.go
- get_public_get_option_mark_prices_responses.go
- internal_swagger_client.go