internal_swagger

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 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 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)

	GetPublicGetFooter(params *GetPublicGetFooterParams) (*GetPublicGetFooterOK, 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 (*GetPrivateDisableTfaWithRecoveryCodeOK) GetPayload

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

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

func (*GetPrivateDisableTfaWithRecoveryCodeParams) SetContext

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

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

func (*GetPrivateDisableTfaWithRecoveryCodeParams) WithCode

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

func (*GetPrivateDisableTfaWithRecoveryCodeParams) WithContext

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

func (*GetPrivateDisableTfaWithRecoveryCodeParams) WithHTTPClient

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

func (*GetPrivateDisableTfaWithRecoveryCodeParams) WithPassword

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

func (*GetPrivateDisableTfaWithRecoveryCodeParams) WithTimeout

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

func (*GetPrivateDisableTfaWithRecoveryCodeParams) WriteToRequest

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 {
	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

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

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