internal

package
v3.2.0+incompatible 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) 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 GetPublicGetFooterOK

type GetPublicGetFooterOK struct {
	Payload *models.PublicGetFooterResponse
}

GetPublicGetFooterOK handles this case with default header values.

foo

func NewGetPublicGetFooterOK

func NewGetPublicGetFooterOK() *GetPublicGetFooterOK

NewGetPublicGetFooterOK creates a GetPublicGetFooterOK with default headers values

func (*GetPublicGetFooterOK) Error

func (o *GetPublicGetFooterOK) Error() string

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.

foo

func NewGetPublicGetOptionMarkPricesOK

func NewGetPublicGetOptionMarkPricesOK() *GetPublicGetOptionMarkPricesOK

NewGetPublicGetOptionMarkPricesOK creates a GetPublicGetOptionMarkPricesOK with default headers values

func (*GetPublicGetOptionMarkPricesOK) Error

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