internal

package
v3.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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 (*GetPrivateDisableTfaWithRecoveryCodeOK) GetPayload added in v3.2.0

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

SetCode adds the code to the get private disable tfa with recovery code params

func (*GetPrivateDisableTfaWithRecoveryCodeParams) SetContext added in v3.2.0

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

SetTimeout adds the timeout to the get private disable tfa with recovery code params

func (*GetPrivateDisableTfaWithRecoveryCodeParams) WithCode added in v3.2.0

WithCode adds the code to the get private disable tfa with recovery code params

func (*GetPrivateDisableTfaWithRecoveryCodeParams) WithContext added in v3.2.0

WithContext adds the context to the get private disable tfa with recovery code params

func (*GetPrivateDisableTfaWithRecoveryCodeParams) WithHTTPClient added in v3.2.0

WithHTTPClient adds the HTTPClient to the get private disable tfa with recovery code params

func (*GetPrivateDisableTfaWithRecoveryCodeParams) WithPassword added in v3.2.0

WithPassword adds the password to the get private disable tfa with recovery code params

func (*GetPrivateDisableTfaWithRecoveryCodeParams) WithTimeout added in v3.2.0

WithTimeout adds the timeout to the get private disable tfa with recovery code params

func (*GetPrivateDisableTfaWithRecoveryCodeParams) WriteToRequest added in v3.2.0

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 {
	Payload *models.PublicGetFooterResponse
}

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

type GetPublicGetFooterParams

type GetPublicGetFooterParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// 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

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

WithTimeout adds the timeout to the get public get footer params

func (*GetPublicGetFooterParams) WriteToRequest

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 (*GetPublicGetOptionMarkPricesOK) GetPayload added in v3.2.0

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

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

WithContext adds the context to the get public get option mark prices params

func (*GetPublicGetOptionMarkPricesParams) WithCurrency

WithCurrency adds the currency to the get public get option mark prices params

func (*GetPublicGetOptionMarkPricesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public get option mark prices params

func (*GetPublicGetOptionMarkPricesParams) WithTimeout

WithTimeout adds the timeout to the get public get option mark prices params

func (*GetPublicGetOptionMarkPricesParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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