Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type ConvertInternalServerError
- type ConvertNotFound
- type ConvertOK
- type ConvertParams
- func (o *ConvertParams) SetApikey(apikey string)
- func (o *ConvertParams) SetBaseCurrency(baseCurrency *float64)
- func (o *ConvertParams) SetContext(ctx context.Context)
- func (o *ConvertParams) SetDateFrom(dateFrom *string)
- func (o *ConvertParams) SetDateTo(dateTo *string)
- func (o *ConvertParams) SetDefaults()
- func (o *ConvertParams) SetHTTPClient(client *http.Client)
- func (o *ConvertParams) SetTimeout(timeout time.Duration)
- func (o *ConvertParams) WithApikey(apikey string) *ConvertParams
- func (o *ConvertParams) WithBaseCurrency(baseCurrency *float64) *ConvertParams
- func (o *ConvertParams) WithContext(ctx context.Context) *ConvertParams
- func (o *ConvertParams) WithDateFrom(dateFrom *string) *ConvertParams
- func (o *ConvertParams) WithDateTo(dateTo *string) *ConvertParams
- func (o *ConvertParams) WithDefaults() *ConvertParams
- func (o *ConvertParams) WithHTTPClient(client *http.Client) *ConvertParams
- func (o *ConvertParams) WithTimeout(timeout time.Duration) *ConvertParams
- func (o *ConvertParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ConvertReader
- type ConvertTooManyRequests
- type GetLatestInternalServerError
- type GetLatestNotFound
- type GetLatestOK
- type GetLatestParams
- func (o *GetLatestParams) SetApikey(apikey string)
- func (o *GetLatestParams) SetBaseCurrency(baseCurrency *string)
- func (o *GetLatestParams) SetContext(ctx context.Context)
- func (o *GetLatestParams) SetDefaults()
- func (o *GetLatestParams) SetHTTPClient(client *http.Client)
- func (o *GetLatestParams) SetTimeout(timeout time.Duration)
- func (o *GetLatestParams) WithApikey(apikey string) *GetLatestParams
- func (o *GetLatestParams) WithBaseCurrency(baseCurrency *string) *GetLatestParams
- func (o *GetLatestParams) WithContext(ctx context.Context) *GetLatestParams
- func (o *GetLatestParams) WithDefaults() *GetLatestParams
- func (o *GetLatestParams) WithHTTPClient(client *http.Client) *GetLatestParams
- func (o *GetLatestParams) WithTimeout(timeout time.Duration) *GetLatestParams
- func (o *GetLatestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLatestReader
- type GetLatestTooManyRequests
- type HistoricalInternalServerError
- type HistoricalNotFound
- type HistoricalOK
- type HistoricalParams
- func (o *HistoricalParams) SetApikey(apikey string)
- func (o *HistoricalParams) SetBaseCurrency(baseCurrency *float64)
- func (o *HistoricalParams) SetContext(ctx context.Context)
- func (o *HistoricalParams) SetDateFrom(dateFrom *string)
- func (o *HistoricalParams) SetDateTo(dateTo *string)
- func (o *HistoricalParams) SetDefaults()
- func (o *HistoricalParams) SetHTTPClient(client *http.Client)
- func (o *HistoricalParams) SetTimeout(timeout time.Duration)
- func (o *HistoricalParams) WithApikey(apikey string) *HistoricalParams
- func (o *HistoricalParams) WithBaseCurrency(baseCurrency *float64) *HistoricalParams
- func (o *HistoricalParams) WithContext(ctx context.Context) *HistoricalParams
- func (o *HistoricalParams) WithDateFrom(dateFrom *string) *HistoricalParams
- func (o *HistoricalParams) WithDateTo(dateTo *string) *HistoricalParams
- func (o *HistoricalParams) WithDefaults() *HistoricalParams
- func (o *HistoricalParams) WithHTTPClient(client *http.Client) *HistoricalParams
- func (o *HistoricalParams) WithTimeout(timeout time.Duration) *HistoricalParams
- func (o *HistoricalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HistoricalReader
- type HistoricalTooManyRequests
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 rates API
func (*Client) GetLatest ¶
func (a *Client) GetLatest(params *GetLatestParams, opts ...ClientOption) (*GetLatestOK, error)
GetLatest gets the latest foreign exchange reference rates
Returns the latest foreign exchange reference rates. Rates are quoted against the Euro by default. Specify the symbols returned (default = all)
func (*Client) Historical ¶
func (a *Client) Historical(params *HistoricalParams, opts ...ClientOption) (*HistoricalOK, error)
Historical converts from currency to another historically
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetLatest(params *GetLatestParams, opts ...ClientOption) (*GetLatestOK, error) Historical(params *HistoricalParams, opts ...ClientOption) (*HistoricalOK, 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 rates API client.
type ConvertInternalServerError ¶
ConvertInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewConvertInternalServerError ¶
func NewConvertInternalServerError() *ConvertInternalServerError
NewConvertInternalServerError creates a ConvertInternalServerError with default headers values
func (*ConvertInternalServerError) Error ¶
func (o *ConvertInternalServerError) Error() string
func (*ConvertInternalServerError) GetPayload ¶
func (o *ConvertInternalServerError) GetPayload() *models.Error
type ConvertNotFound ¶
ConvertNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewConvertNotFound ¶
func NewConvertNotFound() *ConvertNotFound
NewConvertNotFound creates a ConvertNotFound with default headers values
func (*ConvertNotFound) Error ¶
func (o *ConvertNotFound) Error() string
func (*ConvertNotFound) GetPayload ¶
func (o *ConvertNotFound) GetPayload() *models.Error
type ConvertOK ¶
ConvertOK describes a response with status code 200, with default header values.
The foreign exchange reference rates
func NewConvertOK ¶
func NewConvertOK() *ConvertOK
NewConvertOK creates a ConvertOK with default headers values
func (*ConvertOK) GetPayload ¶
type ConvertParams ¶
type ConvertParams struct { /* Apikey. Access API key */ Apikey string /* BaseCurrency. Amount */ BaseCurrency *float64 /* DateFrom. The currency from conversion */ DateFrom *string /* DateTo. The currency to convert */ DateTo *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ConvertParams contains all the parameters to send to the API endpoint
for the convert operation. Typically these are written to a http.Request.
func NewConvertParams ¶
func NewConvertParams() *ConvertParams
NewConvertParams creates a new ConvertParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewConvertParamsWithContext ¶
func NewConvertParamsWithContext(ctx context.Context) *ConvertParams
NewConvertParamsWithContext creates a new ConvertParams object with the ability to set a context for a request.
func NewConvertParamsWithHTTPClient ¶
func NewConvertParamsWithHTTPClient(client *http.Client) *ConvertParams
NewConvertParamsWithHTTPClient creates a new ConvertParams object with the ability to set a custom HTTPClient for a request.
func NewConvertParamsWithTimeout ¶
func NewConvertParamsWithTimeout(timeout time.Duration) *ConvertParams
NewConvertParamsWithTimeout creates a new ConvertParams object with the ability to set a timeout on a request.
func (*ConvertParams) SetApikey ¶
func (o *ConvertParams) SetApikey(apikey string)
SetApikey adds the apikey to the convert params
func (*ConvertParams) SetBaseCurrency ¶
func (o *ConvertParams) SetBaseCurrency(baseCurrency *float64)
SetBaseCurrency adds the baseCurrency to the convert params
func (*ConvertParams) SetContext ¶
func (o *ConvertParams) SetContext(ctx context.Context)
SetContext adds the context to the convert params
func (*ConvertParams) SetDateFrom ¶
func (o *ConvertParams) SetDateFrom(dateFrom *string)
SetDateFrom adds the dateFrom to the convert params
func (*ConvertParams) SetDateTo ¶
func (o *ConvertParams) SetDateTo(dateTo *string)
SetDateTo adds the dateTo to the convert params
func (*ConvertParams) SetDefaults ¶
func (o *ConvertParams) SetDefaults()
SetDefaults hydrates default values in the convert params (not the query body).
All values with no default are reset to their zero value.
func (*ConvertParams) SetHTTPClient ¶
func (o *ConvertParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the convert params
func (*ConvertParams) SetTimeout ¶
func (o *ConvertParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the convert params
func (*ConvertParams) WithApikey ¶
func (o *ConvertParams) WithApikey(apikey string) *ConvertParams
WithApikey adds the apikey to the convert params
func (*ConvertParams) WithBaseCurrency ¶
func (o *ConvertParams) WithBaseCurrency(baseCurrency *float64) *ConvertParams
WithBaseCurrency adds the baseCurrency to the convert params
func (*ConvertParams) WithContext ¶
func (o *ConvertParams) WithContext(ctx context.Context) *ConvertParams
WithContext adds the context to the convert params
func (*ConvertParams) WithDateFrom ¶
func (o *ConvertParams) WithDateFrom(dateFrom *string) *ConvertParams
WithDateFrom adds the dateFrom to the convert params
func (*ConvertParams) WithDateTo ¶
func (o *ConvertParams) WithDateTo(dateTo *string) *ConvertParams
WithDateTo adds the dateTo to the convert params
func (*ConvertParams) WithDefaults ¶
func (o *ConvertParams) WithDefaults() *ConvertParams
WithDefaults hydrates default values in the convert params (not the query body).
All values with no default are reset to their zero value.
func (*ConvertParams) WithHTTPClient ¶
func (o *ConvertParams) WithHTTPClient(client *http.Client) *ConvertParams
WithHTTPClient adds the HTTPClient to the convert params
func (*ConvertParams) WithTimeout ¶
func (o *ConvertParams) WithTimeout(timeout time.Duration) *ConvertParams
WithTimeout adds the timeout to the convert params
func (*ConvertParams) WriteToRequest ¶
func (o *ConvertParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ConvertReader ¶
type ConvertReader struct {
// contains filtered or unexported fields
}
ConvertReader is a Reader for the Convert structure.
func (*ConvertReader) ReadResponse ¶
func (o *ConvertReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ConvertTooManyRequests ¶
ConvertTooManyRequests describes a response with status code 429, with default header values.
Rate limit
func NewConvertTooManyRequests ¶
func NewConvertTooManyRequests() *ConvertTooManyRequests
NewConvertTooManyRequests creates a ConvertTooManyRequests with default headers values
func (*ConvertTooManyRequests) Error ¶
func (o *ConvertTooManyRequests) Error() string
func (*ConvertTooManyRequests) GetPayload ¶
func (o *ConvertTooManyRequests) GetPayload() *models.Error
type GetLatestInternalServerError ¶
GetLatestInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetLatestInternalServerError ¶
func NewGetLatestInternalServerError() *GetLatestInternalServerError
NewGetLatestInternalServerError creates a GetLatestInternalServerError with default headers values
func (*GetLatestInternalServerError) Error ¶
func (o *GetLatestInternalServerError) Error() string
func (*GetLatestInternalServerError) GetPayload ¶
func (o *GetLatestInternalServerError) GetPayload() *models.Error
type GetLatestNotFound ¶
GetLatestNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewGetLatestNotFound ¶
func NewGetLatestNotFound() *GetLatestNotFound
NewGetLatestNotFound creates a GetLatestNotFound with default headers values
func (*GetLatestNotFound) Error ¶
func (o *GetLatestNotFound) Error() string
func (*GetLatestNotFound) GetPayload ¶
func (o *GetLatestNotFound) GetPayload() *models.Error
type GetLatestOK ¶
GetLatestOK describes a response with status code 200, with default header values.
The foreign exchange reference rates
func NewGetLatestOK ¶
func NewGetLatestOK() *GetLatestOK
NewGetLatestOK creates a GetLatestOK with default headers values
func (*GetLatestOK) Error ¶
func (o *GetLatestOK) Error() string
func (*GetLatestOK) GetPayload ¶
func (o *GetLatestOK) GetPayload() *models.Rates
type GetLatestParams ¶
type GetLatestParams struct { /* Apikey. Access API key */ Apikey string /* BaseCurrency. The base currency Default: "EUR" */ BaseCurrency *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLatestParams contains all the parameters to send to the API endpoint
for the get latest operation. Typically these are written to a http.Request.
func NewGetLatestParams ¶
func NewGetLatestParams() *GetLatestParams
NewGetLatestParams creates a new GetLatestParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetLatestParamsWithContext ¶
func NewGetLatestParamsWithContext(ctx context.Context) *GetLatestParams
NewGetLatestParamsWithContext creates a new GetLatestParams object with the ability to set a context for a request.
func NewGetLatestParamsWithHTTPClient ¶
func NewGetLatestParamsWithHTTPClient(client *http.Client) *GetLatestParams
NewGetLatestParamsWithHTTPClient creates a new GetLatestParams object with the ability to set a custom HTTPClient for a request.
func NewGetLatestParamsWithTimeout ¶
func NewGetLatestParamsWithTimeout(timeout time.Duration) *GetLatestParams
NewGetLatestParamsWithTimeout creates a new GetLatestParams object with the ability to set a timeout on a request.
func (*GetLatestParams) SetApikey ¶
func (o *GetLatestParams) SetApikey(apikey string)
SetApikey adds the apikey to the get latest params
func (*GetLatestParams) SetBaseCurrency ¶
func (o *GetLatestParams) SetBaseCurrency(baseCurrency *string)
SetBaseCurrency adds the baseCurrency to the get latest params
func (*GetLatestParams) SetContext ¶
func (o *GetLatestParams) SetContext(ctx context.Context)
SetContext adds the context to the get latest params
func (*GetLatestParams) SetDefaults ¶
func (o *GetLatestParams) SetDefaults()
SetDefaults hydrates default values in the get latest params (not the query body).
All values with no default are reset to their zero value.
func (*GetLatestParams) SetHTTPClient ¶
func (o *GetLatestParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get latest params
func (*GetLatestParams) SetTimeout ¶
func (o *GetLatestParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get latest params
func (*GetLatestParams) WithApikey ¶
func (o *GetLatestParams) WithApikey(apikey string) *GetLatestParams
WithApikey adds the apikey to the get latest params
func (*GetLatestParams) WithBaseCurrency ¶
func (o *GetLatestParams) WithBaseCurrency(baseCurrency *string) *GetLatestParams
WithBaseCurrency adds the baseCurrency to the get latest params
func (*GetLatestParams) WithContext ¶
func (o *GetLatestParams) WithContext(ctx context.Context) *GetLatestParams
WithContext adds the context to the get latest params
func (*GetLatestParams) WithDefaults ¶
func (o *GetLatestParams) WithDefaults() *GetLatestParams
WithDefaults hydrates default values in the get latest params (not the query body).
All values with no default are reset to their zero value.
func (*GetLatestParams) WithHTTPClient ¶
func (o *GetLatestParams) WithHTTPClient(client *http.Client) *GetLatestParams
WithHTTPClient adds the HTTPClient to the get latest params
func (*GetLatestParams) WithTimeout ¶
func (o *GetLatestParams) WithTimeout(timeout time.Duration) *GetLatestParams
WithTimeout adds the timeout to the get latest params
func (*GetLatestParams) WriteToRequest ¶
func (o *GetLatestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLatestReader ¶
type GetLatestReader struct {
// contains filtered or unexported fields
}
GetLatestReader is a Reader for the GetLatest structure.
func (*GetLatestReader) ReadResponse ¶
func (o *GetLatestReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLatestTooManyRequests ¶
GetLatestTooManyRequests describes a response with status code 429, with default header values.
Rate limit
func NewGetLatestTooManyRequests ¶
func NewGetLatestTooManyRequests() *GetLatestTooManyRequests
NewGetLatestTooManyRequests creates a GetLatestTooManyRequests with default headers values
func (*GetLatestTooManyRequests) Error ¶
func (o *GetLatestTooManyRequests) Error() string
func (*GetLatestTooManyRequests) GetPayload ¶
func (o *GetLatestTooManyRequests) GetPayload() *models.Error
type HistoricalInternalServerError ¶
HistoricalInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewHistoricalInternalServerError ¶
func NewHistoricalInternalServerError() *HistoricalInternalServerError
NewHistoricalInternalServerError creates a HistoricalInternalServerError with default headers values
func (*HistoricalInternalServerError) Error ¶
func (o *HistoricalInternalServerError) Error() string
func (*HistoricalInternalServerError) GetPayload ¶
func (o *HistoricalInternalServerError) GetPayload() *models.Error
type HistoricalNotFound ¶
HistoricalNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewHistoricalNotFound ¶
func NewHistoricalNotFound() *HistoricalNotFound
NewHistoricalNotFound creates a HistoricalNotFound with default headers values
func (*HistoricalNotFound) Error ¶
func (o *HistoricalNotFound) Error() string
func (*HistoricalNotFound) GetPayload ¶
func (o *HistoricalNotFound) GetPayload() *models.Error
type HistoricalOK ¶
HistoricalOK describes a response with status code 200, with default header values.
The foreign exchange reference rates
func NewHistoricalOK ¶
func NewHistoricalOK() *HistoricalOK
NewHistoricalOK creates a HistoricalOK with default headers values
func (*HistoricalOK) Error ¶
func (o *HistoricalOK) Error() string
func (*HistoricalOK) GetPayload ¶
func (o *HistoricalOK) GetPayload() *models.Rates
type HistoricalParams ¶
type HistoricalParams struct { /* Apikey. Access API key */ Apikey string /* BaseCurrency. Amount */ BaseCurrency *float64 /* DateFrom. The currency from conversion */ DateFrom *string /* DateTo. The currency to convert */ DateTo *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
HistoricalParams contains all the parameters to send to the API endpoint
for the historical operation. Typically these are written to a http.Request.
func NewHistoricalParams ¶
func NewHistoricalParams() *HistoricalParams
NewHistoricalParams creates a new HistoricalParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewHistoricalParamsWithContext ¶
func NewHistoricalParamsWithContext(ctx context.Context) *HistoricalParams
NewHistoricalParamsWithContext creates a new HistoricalParams object with the ability to set a context for a request.
func NewHistoricalParamsWithHTTPClient ¶
func NewHistoricalParamsWithHTTPClient(client *http.Client) *HistoricalParams
NewHistoricalParamsWithHTTPClient creates a new HistoricalParams object with the ability to set a custom HTTPClient for a request.
func NewHistoricalParamsWithTimeout ¶
func NewHistoricalParamsWithTimeout(timeout time.Duration) *HistoricalParams
NewHistoricalParamsWithTimeout creates a new HistoricalParams object with the ability to set a timeout on a request.
func (*HistoricalParams) SetApikey ¶
func (o *HistoricalParams) SetApikey(apikey string)
SetApikey adds the apikey to the historical params
func (*HistoricalParams) SetBaseCurrency ¶
func (o *HistoricalParams) SetBaseCurrency(baseCurrency *float64)
SetBaseCurrency adds the baseCurrency to the historical params
func (*HistoricalParams) SetContext ¶
func (o *HistoricalParams) SetContext(ctx context.Context)
SetContext adds the context to the historical params
func (*HistoricalParams) SetDateFrom ¶
func (o *HistoricalParams) SetDateFrom(dateFrom *string)
SetDateFrom adds the dateFrom to the historical params
func (*HistoricalParams) SetDateTo ¶
func (o *HistoricalParams) SetDateTo(dateTo *string)
SetDateTo adds the dateTo to the historical params
func (*HistoricalParams) SetDefaults ¶
func (o *HistoricalParams) SetDefaults()
SetDefaults hydrates default values in the historical params (not the query body).
All values with no default are reset to their zero value.
func (*HistoricalParams) SetHTTPClient ¶
func (o *HistoricalParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the historical params
func (*HistoricalParams) SetTimeout ¶
func (o *HistoricalParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the historical params
func (*HistoricalParams) WithApikey ¶
func (o *HistoricalParams) WithApikey(apikey string) *HistoricalParams
WithApikey adds the apikey to the historical params
func (*HistoricalParams) WithBaseCurrency ¶
func (o *HistoricalParams) WithBaseCurrency(baseCurrency *float64) *HistoricalParams
WithBaseCurrency adds the baseCurrency to the historical params
func (*HistoricalParams) WithContext ¶
func (o *HistoricalParams) WithContext(ctx context.Context) *HistoricalParams
WithContext adds the context to the historical params
func (*HistoricalParams) WithDateFrom ¶
func (o *HistoricalParams) WithDateFrom(dateFrom *string) *HistoricalParams
WithDateFrom adds the dateFrom to the historical params
func (*HistoricalParams) WithDateTo ¶
func (o *HistoricalParams) WithDateTo(dateTo *string) *HistoricalParams
WithDateTo adds the dateTo to the historical params
func (*HistoricalParams) WithDefaults ¶
func (o *HistoricalParams) WithDefaults() *HistoricalParams
WithDefaults hydrates default values in the historical params (not the query body).
All values with no default are reset to their zero value.
func (*HistoricalParams) WithHTTPClient ¶
func (o *HistoricalParams) WithHTTPClient(client *http.Client) *HistoricalParams
WithHTTPClient adds the HTTPClient to the historical params
func (*HistoricalParams) WithTimeout ¶
func (o *HistoricalParams) WithTimeout(timeout time.Duration) *HistoricalParams
WithTimeout adds the timeout to the historical params
func (*HistoricalParams) WriteToRequest ¶
func (o *HistoricalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HistoricalReader ¶
type HistoricalReader struct {
// contains filtered or unexported fields
}
HistoricalReader is a Reader for the Historical structure.
func (*HistoricalReader) ReadResponse ¶
func (o *HistoricalReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HistoricalTooManyRequests ¶
HistoricalTooManyRequests describes a response with status code 429, with default header values.
Rate limit
func NewHistoricalTooManyRequests ¶
func NewHistoricalTooManyRequests() *HistoricalTooManyRequests
NewHistoricalTooManyRequests creates a HistoricalTooManyRequests with default headers values
func (*HistoricalTooManyRequests) Error ¶
func (o *HistoricalTooManyRequests) Error() string
func (*HistoricalTooManyRequests) GetPayload ¶
func (o *HistoricalTooManyRequests) GetPayload() *models.Error