Documentation
¶
Index ¶
- Constants
- type Client
- func (a *Client) CreateCurrency(params *CreateCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCurrencyOK, *CreateCurrencyConflict, *CreateCurrencyUnprocessableEntity, ...)
- func (a *Client) CreateCurrencyShort(params *CreateCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCurrencyOK, error)
- func (a *Client) DeleteCurrency(params *DeleteCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCurrencyOK, *DeleteCurrencyNotFound, error)
- func (a *Client) DeleteCurrencyShort(params *DeleteCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCurrencyOK, error)
- func (a *Client) GetCurrencyConfig(params *GetCurrencyConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrencyConfigOK, *GetCurrencyConfigNotFound, error)
- func (a *Client) GetCurrencyConfigShort(params *GetCurrencyConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrencyConfigOK, error)
- func (a *Client) GetCurrencySummary(params *GetCurrencySummaryParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrencySummaryOK, *GetCurrencySummaryNotFound, error)
- func (a *Client) GetCurrencySummaryShort(params *GetCurrencySummaryParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrencySummaryOK, error)
- func (a *Client) ListCurrencies(params *ListCurrenciesParams, authInfo runtime.ClientAuthInfoWriter) (*ListCurrenciesOK, error)
- func (a *Client) ListCurrenciesShort(params *ListCurrenciesParams, authInfo runtime.ClientAuthInfoWriter) (*ListCurrenciesOK, error)
- func (a *Client) PublicListCurrencies(params *PublicListCurrenciesParams) (*PublicListCurrenciesOK, error)
- func (a *Client) PublicListCurrenciesShort(params *PublicListCurrenciesParams) (*PublicListCurrenciesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateCurrency(params *UpdateCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCurrencyOK, *UpdateCurrencyNotFound, *UpdateCurrencyUnprocessableEntity, ...)
- func (a *Client) UpdateCurrencyShort(params *UpdateCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCurrencyOK, error)
- type ClientService
- type CreateCurrencyConflict
- type CreateCurrencyOK
- type CreateCurrencyParams
- func NewCreateCurrencyParams() *CreateCurrencyParams
- func NewCreateCurrencyParamsWithContext(ctx context.Context) *CreateCurrencyParams
- func NewCreateCurrencyParamsWithHTTPClient(client *http.Client) *CreateCurrencyParams
- func NewCreateCurrencyParamsWithTimeout(timeout time.Duration) *CreateCurrencyParams
- func (o *CreateCurrencyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreateCurrencyParams) SetBody(body *platformclientmodels.CurrencyCreate)
- func (o *CreateCurrencyParams) SetContext(ctx context.Context)
- func (o *CreateCurrencyParams) SetHTTPClient(client *http.Client)
- func (o *CreateCurrencyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreateCurrencyParams) SetNamespace(namespace string)
- func (o *CreateCurrencyParams) SetTimeout(timeout time.Duration)
- func (o *CreateCurrencyParams) WithBody(body *platformclientmodels.CurrencyCreate) *CreateCurrencyParams
- func (o *CreateCurrencyParams) WithContext(ctx context.Context) *CreateCurrencyParams
- func (o *CreateCurrencyParams) WithHTTPClient(client *http.Client) *CreateCurrencyParams
- func (o *CreateCurrencyParams) WithNamespace(namespace string) *CreateCurrencyParams
- func (o *CreateCurrencyParams) WithTimeout(timeout time.Duration) *CreateCurrencyParams
- func (o *CreateCurrencyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateCurrencyReader
- type CreateCurrencyUnprocessableEntity
- type DeleteCurrencyNotFound
- type DeleteCurrencyOK
- type DeleteCurrencyParams
- func NewDeleteCurrencyParams() *DeleteCurrencyParams
- func NewDeleteCurrencyParamsWithContext(ctx context.Context) *DeleteCurrencyParams
- func NewDeleteCurrencyParamsWithHTTPClient(client *http.Client) *DeleteCurrencyParams
- func NewDeleteCurrencyParamsWithTimeout(timeout time.Duration) *DeleteCurrencyParams
- func (o *DeleteCurrencyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteCurrencyParams) SetContext(ctx context.Context)
- func (o *DeleteCurrencyParams) SetCurrencyCode(currencyCode string)
- func (o *DeleteCurrencyParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCurrencyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteCurrencyParams) SetNamespace(namespace string)
- func (o *DeleteCurrencyParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCurrencyParams) WithContext(ctx context.Context) *DeleteCurrencyParams
- func (o *DeleteCurrencyParams) WithCurrencyCode(currencyCode string) *DeleteCurrencyParams
- func (o *DeleteCurrencyParams) WithHTTPClient(client *http.Client) *DeleteCurrencyParams
- func (o *DeleteCurrencyParams) WithNamespace(namespace string) *DeleteCurrencyParams
- func (o *DeleteCurrencyParams) WithTimeout(timeout time.Duration) *DeleteCurrencyParams
- func (o *DeleteCurrencyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCurrencyReader
- type GetCurrencyConfigNotFound
- type GetCurrencyConfigOK
- type GetCurrencyConfigParams
- func NewGetCurrencyConfigParams() *GetCurrencyConfigParams
- func NewGetCurrencyConfigParamsWithContext(ctx context.Context) *GetCurrencyConfigParams
- func NewGetCurrencyConfigParamsWithHTTPClient(client *http.Client) *GetCurrencyConfigParams
- func NewGetCurrencyConfigParamsWithTimeout(timeout time.Duration) *GetCurrencyConfigParams
- func (o *GetCurrencyConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetCurrencyConfigParams) SetContext(ctx context.Context)
- func (o *GetCurrencyConfigParams) SetCurrencyCode(currencyCode string)
- func (o *GetCurrencyConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetCurrencyConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetCurrencyConfigParams) SetNamespace(namespace string)
- func (o *GetCurrencyConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetCurrencyConfigParams) WithContext(ctx context.Context) *GetCurrencyConfigParams
- func (o *GetCurrencyConfigParams) WithCurrencyCode(currencyCode string) *GetCurrencyConfigParams
- func (o *GetCurrencyConfigParams) WithHTTPClient(client *http.Client) *GetCurrencyConfigParams
- func (o *GetCurrencyConfigParams) WithNamespace(namespace string) *GetCurrencyConfigParams
- func (o *GetCurrencyConfigParams) WithTimeout(timeout time.Duration) *GetCurrencyConfigParams
- func (o *GetCurrencyConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCurrencyConfigReader
- type GetCurrencySummaryNotFound
- type GetCurrencySummaryOK
- type GetCurrencySummaryParams
- func NewGetCurrencySummaryParams() *GetCurrencySummaryParams
- func NewGetCurrencySummaryParamsWithContext(ctx context.Context) *GetCurrencySummaryParams
- func NewGetCurrencySummaryParamsWithHTTPClient(client *http.Client) *GetCurrencySummaryParams
- func NewGetCurrencySummaryParamsWithTimeout(timeout time.Duration) *GetCurrencySummaryParams
- func (o *GetCurrencySummaryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetCurrencySummaryParams) SetContext(ctx context.Context)
- func (o *GetCurrencySummaryParams) SetCurrencyCode(currencyCode string)
- func (o *GetCurrencySummaryParams) SetHTTPClient(client *http.Client)
- func (o *GetCurrencySummaryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetCurrencySummaryParams) SetNamespace(namespace string)
- func (o *GetCurrencySummaryParams) SetTimeout(timeout time.Duration)
- func (o *GetCurrencySummaryParams) WithContext(ctx context.Context) *GetCurrencySummaryParams
- func (o *GetCurrencySummaryParams) WithCurrencyCode(currencyCode string) *GetCurrencySummaryParams
- func (o *GetCurrencySummaryParams) WithHTTPClient(client *http.Client) *GetCurrencySummaryParams
- func (o *GetCurrencySummaryParams) WithNamespace(namespace string) *GetCurrencySummaryParams
- func (o *GetCurrencySummaryParams) WithTimeout(timeout time.Duration) *GetCurrencySummaryParams
- func (o *GetCurrencySummaryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCurrencySummaryReader
- type ListCurrenciesOK
- type ListCurrenciesParams
- func NewListCurrenciesParams() *ListCurrenciesParams
- func NewListCurrenciesParamsWithContext(ctx context.Context) *ListCurrenciesParams
- func NewListCurrenciesParamsWithHTTPClient(client *http.Client) *ListCurrenciesParams
- func NewListCurrenciesParamsWithTimeout(timeout time.Duration) *ListCurrenciesParams
- func (o *ListCurrenciesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ListCurrenciesParams) SetContext(ctx context.Context)
- func (o *ListCurrenciesParams) SetCurrencyType(currencyType *string)
- func (o *ListCurrenciesParams) SetHTTPClient(client *http.Client)
- func (o *ListCurrenciesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ListCurrenciesParams) SetNamespace(namespace string)
- func (o *ListCurrenciesParams) SetTimeout(timeout time.Duration)
- func (o *ListCurrenciesParams) WithContext(ctx context.Context) *ListCurrenciesParams
- func (o *ListCurrenciesParams) WithCurrencyType(currencyType *string) *ListCurrenciesParams
- func (o *ListCurrenciesParams) WithHTTPClient(client *http.Client) *ListCurrenciesParams
- func (o *ListCurrenciesParams) WithNamespace(namespace string) *ListCurrenciesParams
- func (o *ListCurrenciesParams) WithTimeout(timeout time.Duration) *ListCurrenciesParams
- func (o *ListCurrenciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListCurrenciesReader
- type PublicListCurrenciesOK
- type PublicListCurrenciesParams
- func NewPublicListCurrenciesParams() *PublicListCurrenciesParams
- func NewPublicListCurrenciesParamsWithContext(ctx context.Context) *PublicListCurrenciesParams
- func NewPublicListCurrenciesParamsWithHTTPClient(client *http.Client) *PublicListCurrenciesParams
- func NewPublicListCurrenciesParamsWithTimeout(timeout time.Duration) *PublicListCurrenciesParams
- func (o *PublicListCurrenciesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicListCurrenciesParams) SetContext(ctx context.Context)
- func (o *PublicListCurrenciesParams) SetCurrencyType(currencyType *string)
- func (o *PublicListCurrenciesParams) SetHTTPClient(client *http.Client)
- func (o *PublicListCurrenciesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicListCurrenciesParams) SetNamespace(namespace string)
- func (o *PublicListCurrenciesParams) SetTimeout(timeout time.Duration)
- func (o *PublicListCurrenciesParams) WithContext(ctx context.Context) *PublicListCurrenciesParams
- func (o *PublicListCurrenciesParams) WithCurrencyType(currencyType *string) *PublicListCurrenciesParams
- func (o *PublicListCurrenciesParams) WithHTTPClient(client *http.Client) *PublicListCurrenciesParams
- func (o *PublicListCurrenciesParams) WithNamespace(namespace string) *PublicListCurrenciesParams
- func (o *PublicListCurrenciesParams) WithTimeout(timeout time.Duration) *PublicListCurrenciesParams
- func (o *PublicListCurrenciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicListCurrenciesReader
- type UpdateCurrencyNotFound
- type UpdateCurrencyOK
- type UpdateCurrencyParams
- func NewUpdateCurrencyParams() *UpdateCurrencyParams
- func NewUpdateCurrencyParamsWithContext(ctx context.Context) *UpdateCurrencyParams
- func NewUpdateCurrencyParamsWithHTTPClient(client *http.Client) *UpdateCurrencyParams
- func NewUpdateCurrencyParamsWithTimeout(timeout time.Duration) *UpdateCurrencyParams
- func (o *UpdateCurrencyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateCurrencyParams) SetBody(body *platformclientmodels.CurrencyUpdate)
- func (o *UpdateCurrencyParams) SetContext(ctx context.Context)
- func (o *UpdateCurrencyParams) SetCurrencyCode(currencyCode string)
- func (o *UpdateCurrencyParams) SetHTTPClient(client *http.Client)
- func (o *UpdateCurrencyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateCurrencyParams) SetNamespace(namespace string)
- func (o *UpdateCurrencyParams) SetTimeout(timeout time.Duration)
- func (o *UpdateCurrencyParams) WithBody(body *platformclientmodels.CurrencyUpdate) *UpdateCurrencyParams
- func (o *UpdateCurrencyParams) WithContext(ctx context.Context) *UpdateCurrencyParams
- func (o *UpdateCurrencyParams) WithCurrencyCode(currencyCode string) *UpdateCurrencyParams
- func (o *UpdateCurrencyParams) WithHTTPClient(client *http.Client) *UpdateCurrencyParams
- func (o *UpdateCurrencyParams) WithNamespace(namespace string) *UpdateCurrencyParams
- func (o *UpdateCurrencyParams) WithTimeout(timeout time.Duration) *UpdateCurrencyParams
- func (o *UpdateCurrencyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateCurrencyReader
- type UpdateCurrencyUnprocessableEntity
Constants ¶
const ( ListCurrenciesREALConstant = "REAL" ListCurrenciesVIRTUALConstant = "VIRTUAL" )
Get the enum in ListCurrenciesParams
const ( PublicListCurrenciesREALConstant = "REAL" PublicListCurrenciesVIRTUALConstant = "VIRTUAL" )
Get the enum in PublicListCurrenciesParams
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for currency API
func (*Client) CreateCurrency ¶
func (a *Client) CreateCurrency(params *CreateCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCurrencyOK, *CreateCurrencyConflict, *CreateCurrencyUnprocessableEntity, error)
CreateCurrency creates a currency
Create a currency.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:CURRENCY", action=1 (CREATE)</li><li><i>Returns</i>: created currency</li></ul>
func (*Client) CreateCurrencyShort ¶ added in v0.8.0
func (a *Client) CreateCurrencyShort(params *CreateCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCurrencyOK, error)
func (*Client) DeleteCurrency ¶
func (a *Client) DeleteCurrency(params *DeleteCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCurrencyOK, *DeleteCurrencyNotFound, error)
DeleteCurrency deletes a currency
Delete a currency by currency code.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:CURRENCY", action=8 (DELETE)</li><li><i>Returns</i>: </li></ul>
func (*Client) DeleteCurrencyShort ¶ added in v0.8.0
func (a *Client) DeleteCurrencyShort(params *DeleteCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCurrencyOK, error)
func (*Client) GetCurrencyConfig ¶
func (a *Client) GetCurrencyConfig(params *GetCurrencyConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrencyConfigOK, *GetCurrencyConfigNotFound, error)
GetCurrencyConfig gets currency config
<b>[SERVICE COMMUNICATION ONLY]</b> Get currency config by code.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:CURRENCY", action=2 (READ)</li><li><i>Returns</i>: simplified Currency</li></ul>
func (*Client) GetCurrencyConfigShort ¶ added in v0.8.0
func (a *Client) GetCurrencyConfigShort(params *GetCurrencyConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrencyConfigOK, error)
func (*Client) GetCurrencySummary ¶
func (a *Client) GetCurrencySummary(params *GetCurrencySummaryParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrencySummaryOK, *GetCurrencySummaryNotFound, error)
GetCurrencySummary gets currency summary
Get currency summary by code.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:CURRENCY", action=2 (READ)</li><li><i>Returns</i>: simplified Currency</li></ul>
func (*Client) GetCurrencySummaryShort ¶ added in v0.8.0
func (a *Client) GetCurrencySummaryShort(params *GetCurrencySummaryParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrencySummaryOK, error)
func (*Client) ListCurrencies ¶
func (a *Client) ListCurrencies(params *ListCurrenciesParams, authInfo runtime.ClientAuthInfoWriter) (*ListCurrenciesOK, error)
ListCurrencies lists currencies
List currencies of a namespace.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:CURRENCY", action=2 (READ)</li><li><i>Returns</i>: Currency List</li></ul>
func (*Client) ListCurrenciesShort ¶ added in v0.8.0
func (a *Client) ListCurrenciesShort(params *ListCurrenciesParams, authInfo runtime.ClientAuthInfoWriter) (*ListCurrenciesOK, error)
func (*Client) PublicListCurrencies ¶
func (a *Client) PublicListCurrencies(params *PublicListCurrenciesParams) (*PublicListCurrenciesOK, error)
PublicListCurrencies lists currencies
List currencies of a namespace.<br>Other detail info: <ul><li><i>Returns</i>: Currency List</li></ul>
func (*Client) PublicListCurrenciesShort ¶ added in v0.8.0
func (a *Client) PublicListCurrenciesShort(params *PublicListCurrenciesParams) (*PublicListCurrenciesOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateCurrency ¶
func (a *Client) UpdateCurrency(params *UpdateCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCurrencyOK, *UpdateCurrencyNotFound, *UpdateCurrencyUnprocessableEntity, error)
UpdateCurrency updates a currency
Update a currency by currency code.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:CURRENCY", action=4 (UPDATE)</li><li><i>Returns</i>: updated currency</li></ul>
func (*Client) UpdateCurrencyShort ¶ added in v0.8.0
func (a *Client) UpdateCurrencyShort(params *UpdateCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCurrencyOK, error)
type ClientService ¶
type ClientService interface { CreateCurrency(params *CreateCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCurrencyOK, *CreateCurrencyConflict, *CreateCurrencyUnprocessableEntity, error) CreateCurrencyShort(params *CreateCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCurrencyOK, error) DeleteCurrency(params *DeleteCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCurrencyOK, *DeleteCurrencyNotFound, error) DeleteCurrencyShort(params *DeleteCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCurrencyOK, error) GetCurrencyConfig(params *GetCurrencyConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrencyConfigOK, *GetCurrencyConfigNotFound, error) GetCurrencyConfigShort(params *GetCurrencyConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrencyConfigOK, error) GetCurrencySummary(params *GetCurrencySummaryParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrencySummaryOK, *GetCurrencySummaryNotFound, error) GetCurrencySummaryShort(params *GetCurrencySummaryParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrencySummaryOK, error) ListCurrencies(params *ListCurrenciesParams, authInfo runtime.ClientAuthInfoWriter) (*ListCurrenciesOK, error) ListCurrenciesShort(params *ListCurrenciesParams, authInfo runtime.ClientAuthInfoWriter) (*ListCurrenciesOK, error) PublicListCurrencies(params *PublicListCurrenciesParams) (*PublicListCurrenciesOK, error) PublicListCurrenciesShort(params *PublicListCurrenciesParams) (*PublicListCurrenciesOK, error) UpdateCurrency(params *UpdateCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCurrencyOK, *UpdateCurrencyNotFound, *UpdateCurrencyUnprocessableEntity, error) UpdateCurrencyShort(params *UpdateCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCurrencyOK, 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 currency API client.
type CreateCurrencyConflict ¶
type CreateCurrencyConflict struct {
Payload *platformclientmodels.ErrorEntity
}
CreateCurrencyConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>36171</td><td>Currency [{currencyCode}] already exists in namespace [{namespace}]</td></tr></table>
func NewCreateCurrencyConflict ¶
func NewCreateCurrencyConflict() *CreateCurrencyConflict
NewCreateCurrencyConflict creates a CreateCurrencyConflict with default headers values
func (*CreateCurrencyConflict) Error ¶
func (o *CreateCurrencyConflict) Error() string
func (*CreateCurrencyConflict) GetPayload ¶
func (o *CreateCurrencyConflict) GetPayload() *platformclientmodels.ErrorEntity
type CreateCurrencyOK ¶
type CreateCurrencyOK struct {
Payload *platformclientmodels.CurrencyInfo
}
CreateCurrencyOK handles this case with default header values.
successful operation
func NewCreateCurrencyOK ¶
func NewCreateCurrencyOK() *CreateCurrencyOK
NewCreateCurrencyOK creates a CreateCurrencyOK with default headers values
func (*CreateCurrencyOK) Error ¶
func (o *CreateCurrencyOK) Error() string
func (*CreateCurrencyOK) GetPayload ¶
func (o *CreateCurrencyOK) GetPayload() *platformclientmodels.CurrencyInfo
type CreateCurrencyParams ¶
type CreateCurrencyParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.CurrencyCreate /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateCurrencyParams contains all the parameters to send to the API endpoint for the create currency operation typically these are written to a http.Request
func NewCreateCurrencyParams ¶
func NewCreateCurrencyParams() *CreateCurrencyParams
NewCreateCurrencyParams creates a new CreateCurrencyParams object with the default values initialized.
func NewCreateCurrencyParamsWithContext ¶
func NewCreateCurrencyParamsWithContext(ctx context.Context) *CreateCurrencyParams
NewCreateCurrencyParamsWithContext creates a new CreateCurrencyParams object with the default values initialized, and the ability to set a context for a request
func NewCreateCurrencyParamsWithHTTPClient ¶
func NewCreateCurrencyParamsWithHTTPClient(client *http.Client) *CreateCurrencyParams
NewCreateCurrencyParamsWithHTTPClient creates a new CreateCurrencyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateCurrencyParamsWithTimeout ¶
func NewCreateCurrencyParamsWithTimeout(timeout time.Duration) *CreateCurrencyParams
NewCreateCurrencyParamsWithTimeout creates a new CreateCurrencyParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateCurrencyParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *CreateCurrencyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the create currency params
func (*CreateCurrencyParams) SetBody ¶
func (o *CreateCurrencyParams) SetBody(body *platformclientmodels.CurrencyCreate)
SetBody adds the body to the create currency params
func (*CreateCurrencyParams) SetContext ¶
func (o *CreateCurrencyParams) SetContext(ctx context.Context)
SetContext adds the context to the create currency params
func (*CreateCurrencyParams) SetHTTPClient ¶
func (o *CreateCurrencyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create currency params
func (*CreateCurrencyParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *CreateCurrencyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the create currency params
func (*CreateCurrencyParams) SetNamespace ¶
func (o *CreateCurrencyParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the create currency params
func (*CreateCurrencyParams) SetTimeout ¶
func (o *CreateCurrencyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create currency params
func (*CreateCurrencyParams) WithBody ¶
func (o *CreateCurrencyParams) WithBody(body *platformclientmodels.CurrencyCreate) *CreateCurrencyParams
WithBody adds the body to the create currency params
func (*CreateCurrencyParams) WithContext ¶
func (o *CreateCurrencyParams) WithContext(ctx context.Context) *CreateCurrencyParams
WithContext adds the context to the create currency params
func (*CreateCurrencyParams) WithHTTPClient ¶
func (o *CreateCurrencyParams) WithHTTPClient(client *http.Client) *CreateCurrencyParams
WithHTTPClient adds the HTTPClient to the create currency params
func (*CreateCurrencyParams) WithNamespace ¶
func (o *CreateCurrencyParams) WithNamespace(namespace string) *CreateCurrencyParams
WithNamespace adds the namespace to the create currency params
func (*CreateCurrencyParams) WithTimeout ¶
func (o *CreateCurrencyParams) WithTimeout(timeout time.Duration) *CreateCurrencyParams
WithTimeout adds the timeout to the create currency params
func (*CreateCurrencyParams) WriteToRequest ¶
func (o *CreateCurrencyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateCurrencyReader ¶
type CreateCurrencyReader struct {
// contains filtered or unexported fields
}
CreateCurrencyReader is a Reader for the CreateCurrency structure.
func (*CreateCurrencyReader) ReadResponse ¶
func (o *CreateCurrencyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateCurrencyUnprocessableEntity ¶
type CreateCurrencyUnprocessableEntity struct {
Payload *platformclientmodels.ValidationErrorEntity
}
CreateCurrencyUnprocessableEntity handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewCreateCurrencyUnprocessableEntity ¶
func NewCreateCurrencyUnprocessableEntity() *CreateCurrencyUnprocessableEntity
NewCreateCurrencyUnprocessableEntity creates a CreateCurrencyUnprocessableEntity with default headers values
func (*CreateCurrencyUnprocessableEntity) Error ¶
func (o *CreateCurrencyUnprocessableEntity) Error() string
func (*CreateCurrencyUnprocessableEntity) GetPayload ¶
func (o *CreateCurrencyUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
type DeleteCurrencyNotFound ¶
type DeleteCurrencyNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
DeleteCurrencyNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>36141</td><td>Currency [{currencyCode}] does not exist in namespace [{namespace}]</td></tr></table>
func NewDeleteCurrencyNotFound ¶
func NewDeleteCurrencyNotFound() *DeleteCurrencyNotFound
NewDeleteCurrencyNotFound creates a DeleteCurrencyNotFound with default headers values
func (*DeleteCurrencyNotFound) Error ¶
func (o *DeleteCurrencyNotFound) Error() string
func (*DeleteCurrencyNotFound) GetPayload ¶
func (o *DeleteCurrencyNotFound) GetPayload() *platformclientmodels.ErrorEntity
type DeleteCurrencyOK ¶
type DeleteCurrencyOK struct {
Payload *platformclientmodels.CurrencyInfo
}
DeleteCurrencyOK handles this case with default header values.
successful operation
func NewDeleteCurrencyOK ¶
func NewDeleteCurrencyOK() *DeleteCurrencyOK
NewDeleteCurrencyOK creates a DeleteCurrencyOK with default headers values
func (*DeleteCurrencyOK) Error ¶
func (o *DeleteCurrencyOK) Error() string
func (*DeleteCurrencyOK) GetPayload ¶
func (o *DeleteCurrencyOK) GetPayload() *platformclientmodels.CurrencyInfo
type DeleteCurrencyParams ¶
type DeleteCurrencyParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*CurrencyCode currencyCode */ CurrencyCode string /*Namespace*/ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteCurrencyParams contains all the parameters to send to the API endpoint for the delete currency operation typically these are written to a http.Request
func NewDeleteCurrencyParams ¶
func NewDeleteCurrencyParams() *DeleteCurrencyParams
NewDeleteCurrencyParams creates a new DeleteCurrencyParams object with the default values initialized.
func NewDeleteCurrencyParamsWithContext ¶
func NewDeleteCurrencyParamsWithContext(ctx context.Context) *DeleteCurrencyParams
NewDeleteCurrencyParamsWithContext creates a new DeleteCurrencyParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteCurrencyParamsWithHTTPClient ¶
func NewDeleteCurrencyParamsWithHTTPClient(client *http.Client) *DeleteCurrencyParams
NewDeleteCurrencyParamsWithHTTPClient creates a new DeleteCurrencyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteCurrencyParamsWithTimeout ¶
func NewDeleteCurrencyParamsWithTimeout(timeout time.Duration) *DeleteCurrencyParams
NewDeleteCurrencyParamsWithTimeout creates a new DeleteCurrencyParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteCurrencyParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *DeleteCurrencyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete currency params
func (*DeleteCurrencyParams) SetContext ¶
func (o *DeleteCurrencyParams) SetContext(ctx context.Context)
SetContext adds the context to the delete currency params
func (*DeleteCurrencyParams) SetCurrencyCode ¶
func (o *DeleteCurrencyParams) SetCurrencyCode(currencyCode string)
SetCurrencyCode adds the currencyCode to the delete currency params
func (*DeleteCurrencyParams) SetHTTPClient ¶
func (o *DeleteCurrencyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete currency params
func (*DeleteCurrencyParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *DeleteCurrencyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete currency params
func (*DeleteCurrencyParams) SetNamespace ¶
func (o *DeleteCurrencyParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete currency params
func (*DeleteCurrencyParams) SetTimeout ¶
func (o *DeleteCurrencyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete currency params
func (*DeleteCurrencyParams) WithContext ¶
func (o *DeleteCurrencyParams) WithContext(ctx context.Context) *DeleteCurrencyParams
WithContext adds the context to the delete currency params
func (*DeleteCurrencyParams) WithCurrencyCode ¶
func (o *DeleteCurrencyParams) WithCurrencyCode(currencyCode string) *DeleteCurrencyParams
WithCurrencyCode adds the currencyCode to the delete currency params
func (*DeleteCurrencyParams) WithHTTPClient ¶
func (o *DeleteCurrencyParams) WithHTTPClient(client *http.Client) *DeleteCurrencyParams
WithHTTPClient adds the HTTPClient to the delete currency params
func (*DeleteCurrencyParams) WithNamespace ¶
func (o *DeleteCurrencyParams) WithNamespace(namespace string) *DeleteCurrencyParams
WithNamespace adds the namespace to the delete currency params
func (*DeleteCurrencyParams) WithTimeout ¶
func (o *DeleteCurrencyParams) WithTimeout(timeout time.Duration) *DeleteCurrencyParams
WithTimeout adds the timeout to the delete currency params
func (*DeleteCurrencyParams) WriteToRequest ¶
func (o *DeleteCurrencyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteCurrencyReader ¶
type DeleteCurrencyReader struct {
// contains filtered or unexported fields
}
DeleteCurrencyReader is a Reader for the DeleteCurrency structure.
func (*DeleteCurrencyReader) ReadResponse ¶
func (o *DeleteCurrencyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCurrencyConfigNotFound ¶
type GetCurrencyConfigNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
GetCurrencyConfigNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>36141</td><td>Currency [{currencyCode}] does not exist in namespace [{namespace}]</td></tr></table>
func NewGetCurrencyConfigNotFound ¶
func NewGetCurrencyConfigNotFound() *GetCurrencyConfigNotFound
NewGetCurrencyConfigNotFound creates a GetCurrencyConfigNotFound with default headers values
func (*GetCurrencyConfigNotFound) Error ¶
func (o *GetCurrencyConfigNotFound) Error() string
func (*GetCurrencyConfigNotFound) GetPayload ¶
func (o *GetCurrencyConfigNotFound) GetPayload() *platformclientmodels.ErrorEntity
type GetCurrencyConfigOK ¶
type GetCurrencyConfigOK struct {
Payload *platformclientmodels.CurrencyConfig
}
GetCurrencyConfigOK handles this case with default header values.
successful operation
func NewGetCurrencyConfigOK ¶
func NewGetCurrencyConfigOK() *GetCurrencyConfigOK
NewGetCurrencyConfigOK creates a GetCurrencyConfigOK with default headers values
func (*GetCurrencyConfigOK) Error ¶
func (o *GetCurrencyConfigOK) Error() string
func (*GetCurrencyConfigOK) GetPayload ¶
func (o *GetCurrencyConfigOK) GetPayload() *platformclientmodels.CurrencyConfig
type GetCurrencyConfigParams ¶
type GetCurrencyConfigParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*CurrencyCode currencyCode */ CurrencyCode string /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCurrencyConfigParams contains all the parameters to send to the API endpoint for the get currency config operation typically these are written to a http.Request
func NewGetCurrencyConfigParams ¶
func NewGetCurrencyConfigParams() *GetCurrencyConfigParams
NewGetCurrencyConfigParams creates a new GetCurrencyConfigParams object with the default values initialized.
func NewGetCurrencyConfigParamsWithContext ¶
func NewGetCurrencyConfigParamsWithContext(ctx context.Context) *GetCurrencyConfigParams
NewGetCurrencyConfigParamsWithContext creates a new GetCurrencyConfigParams object with the default values initialized, and the ability to set a context for a request
func NewGetCurrencyConfigParamsWithHTTPClient ¶
func NewGetCurrencyConfigParamsWithHTTPClient(client *http.Client) *GetCurrencyConfigParams
NewGetCurrencyConfigParamsWithHTTPClient creates a new GetCurrencyConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetCurrencyConfigParamsWithTimeout ¶
func NewGetCurrencyConfigParamsWithTimeout(timeout time.Duration) *GetCurrencyConfigParams
NewGetCurrencyConfigParamsWithTimeout creates a new GetCurrencyConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetCurrencyConfigParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetCurrencyConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get currency config params
func (*GetCurrencyConfigParams) SetContext ¶
func (o *GetCurrencyConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get currency config params
func (*GetCurrencyConfigParams) SetCurrencyCode ¶
func (o *GetCurrencyConfigParams) SetCurrencyCode(currencyCode string)
SetCurrencyCode adds the currencyCode to the get currency config params
func (*GetCurrencyConfigParams) SetHTTPClient ¶
func (o *GetCurrencyConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get currency config params
func (*GetCurrencyConfigParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetCurrencyConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get currency config params
func (*GetCurrencyConfigParams) SetNamespace ¶
func (o *GetCurrencyConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get currency config params
func (*GetCurrencyConfigParams) SetTimeout ¶
func (o *GetCurrencyConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get currency config params
func (*GetCurrencyConfigParams) WithContext ¶
func (o *GetCurrencyConfigParams) WithContext(ctx context.Context) *GetCurrencyConfigParams
WithContext adds the context to the get currency config params
func (*GetCurrencyConfigParams) WithCurrencyCode ¶
func (o *GetCurrencyConfigParams) WithCurrencyCode(currencyCode string) *GetCurrencyConfigParams
WithCurrencyCode adds the currencyCode to the get currency config params
func (*GetCurrencyConfigParams) WithHTTPClient ¶
func (o *GetCurrencyConfigParams) WithHTTPClient(client *http.Client) *GetCurrencyConfigParams
WithHTTPClient adds the HTTPClient to the get currency config params
func (*GetCurrencyConfigParams) WithNamespace ¶
func (o *GetCurrencyConfigParams) WithNamespace(namespace string) *GetCurrencyConfigParams
WithNamespace adds the namespace to the get currency config params
func (*GetCurrencyConfigParams) WithTimeout ¶
func (o *GetCurrencyConfigParams) WithTimeout(timeout time.Duration) *GetCurrencyConfigParams
WithTimeout adds the timeout to the get currency config params
func (*GetCurrencyConfigParams) WriteToRequest ¶
func (o *GetCurrencyConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCurrencyConfigReader ¶
type GetCurrencyConfigReader struct {
// contains filtered or unexported fields
}
GetCurrencyConfigReader is a Reader for the GetCurrencyConfig structure.
func (*GetCurrencyConfigReader) ReadResponse ¶
func (o *GetCurrencyConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCurrencySummaryNotFound ¶
type GetCurrencySummaryNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
GetCurrencySummaryNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>36141</td><td>Currency [{currencyCode}] does not exist in namespace [{namespace}]</td></tr></table>
func NewGetCurrencySummaryNotFound ¶
func NewGetCurrencySummaryNotFound() *GetCurrencySummaryNotFound
NewGetCurrencySummaryNotFound creates a GetCurrencySummaryNotFound with default headers values
func (*GetCurrencySummaryNotFound) Error ¶
func (o *GetCurrencySummaryNotFound) Error() string
func (*GetCurrencySummaryNotFound) GetPayload ¶
func (o *GetCurrencySummaryNotFound) GetPayload() *platformclientmodels.ErrorEntity
type GetCurrencySummaryOK ¶
type GetCurrencySummaryOK struct {
Payload *platformclientmodels.CurrencySummary
}
GetCurrencySummaryOK handles this case with default header values.
successful operation
func NewGetCurrencySummaryOK ¶
func NewGetCurrencySummaryOK() *GetCurrencySummaryOK
NewGetCurrencySummaryOK creates a GetCurrencySummaryOK with default headers values
func (*GetCurrencySummaryOK) Error ¶
func (o *GetCurrencySummaryOK) Error() string
func (*GetCurrencySummaryOK) GetPayload ¶
func (o *GetCurrencySummaryOK) GetPayload() *platformclientmodels.CurrencySummary
type GetCurrencySummaryParams ¶
type GetCurrencySummaryParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*CurrencyCode currencyCode */ CurrencyCode string /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCurrencySummaryParams contains all the parameters to send to the API endpoint for the get currency summary operation typically these are written to a http.Request
func NewGetCurrencySummaryParams ¶
func NewGetCurrencySummaryParams() *GetCurrencySummaryParams
NewGetCurrencySummaryParams creates a new GetCurrencySummaryParams object with the default values initialized.
func NewGetCurrencySummaryParamsWithContext ¶
func NewGetCurrencySummaryParamsWithContext(ctx context.Context) *GetCurrencySummaryParams
NewGetCurrencySummaryParamsWithContext creates a new GetCurrencySummaryParams object with the default values initialized, and the ability to set a context for a request
func NewGetCurrencySummaryParamsWithHTTPClient ¶
func NewGetCurrencySummaryParamsWithHTTPClient(client *http.Client) *GetCurrencySummaryParams
NewGetCurrencySummaryParamsWithHTTPClient creates a new GetCurrencySummaryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetCurrencySummaryParamsWithTimeout ¶
func NewGetCurrencySummaryParamsWithTimeout(timeout time.Duration) *GetCurrencySummaryParams
NewGetCurrencySummaryParamsWithTimeout creates a new GetCurrencySummaryParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetCurrencySummaryParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetCurrencySummaryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get currency summary params
func (*GetCurrencySummaryParams) SetContext ¶
func (o *GetCurrencySummaryParams) SetContext(ctx context.Context)
SetContext adds the context to the get currency summary params
func (*GetCurrencySummaryParams) SetCurrencyCode ¶
func (o *GetCurrencySummaryParams) SetCurrencyCode(currencyCode string)
SetCurrencyCode adds the currencyCode to the get currency summary params
func (*GetCurrencySummaryParams) SetHTTPClient ¶
func (o *GetCurrencySummaryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get currency summary params
func (*GetCurrencySummaryParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetCurrencySummaryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get currency summary params
func (*GetCurrencySummaryParams) SetNamespace ¶
func (o *GetCurrencySummaryParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get currency summary params
func (*GetCurrencySummaryParams) SetTimeout ¶
func (o *GetCurrencySummaryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get currency summary params
func (*GetCurrencySummaryParams) WithContext ¶
func (o *GetCurrencySummaryParams) WithContext(ctx context.Context) *GetCurrencySummaryParams
WithContext adds the context to the get currency summary params
func (*GetCurrencySummaryParams) WithCurrencyCode ¶
func (o *GetCurrencySummaryParams) WithCurrencyCode(currencyCode string) *GetCurrencySummaryParams
WithCurrencyCode adds the currencyCode to the get currency summary params
func (*GetCurrencySummaryParams) WithHTTPClient ¶
func (o *GetCurrencySummaryParams) WithHTTPClient(client *http.Client) *GetCurrencySummaryParams
WithHTTPClient adds the HTTPClient to the get currency summary params
func (*GetCurrencySummaryParams) WithNamespace ¶
func (o *GetCurrencySummaryParams) WithNamespace(namespace string) *GetCurrencySummaryParams
WithNamespace adds the namespace to the get currency summary params
func (*GetCurrencySummaryParams) WithTimeout ¶
func (o *GetCurrencySummaryParams) WithTimeout(timeout time.Duration) *GetCurrencySummaryParams
WithTimeout adds the timeout to the get currency summary params
func (*GetCurrencySummaryParams) WriteToRequest ¶
func (o *GetCurrencySummaryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCurrencySummaryReader ¶
type GetCurrencySummaryReader struct {
// contains filtered or unexported fields
}
GetCurrencySummaryReader is a Reader for the GetCurrencySummary structure.
func (*GetCurrencySummaryReader) ReadResponse ¶
func (o *GetCurrencySummaryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListCurrenciesOK ¶
type ListCurrenciesOK struct {
Payload []*platformclientmodels.CurrencyInfo
}
ListCurrenciesOK handles this case with default header values.
successful operation
func NewListCurrenciesOK ¶
func NewListCurrenciesOK() *ListCurrenciesOK
NewListCurrenciesOK creates a ListCurrenciesOK with default headers values
func (*ListCurrenciesOK) Error ¶
func (o *ListCurrenciesOK) Error() string
func (*ListCurrenciesOK) GetPayload ¶
func (o *ListCurrenciesOK) GetPayload() []*platformclientmodels.CurrencyInfo
type ListCurrenciesParams ¶
type ListCurrenciesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*CurrencyType currencyType */ CurrencyType *string /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListCurrenciesParams contains all the parameters to send to the API endpoint for the list currencies operation typically these are written to a http.Request
func NewListCurrenciesParams ¶
func NewListCurrenciesParams() *ListCurrenciesParams
NewListCurrenciesParams creates a new ListCurrenciesParams object with the default values initialized.
func NewListCurrenciesParamsWithContext ¶
func NewListCurrenciesParamsWithContext(ctx context.Context) *ListCurrenciesParams
NewListCurrenciesParamsWithContext creates a new ListCurrenciesParams object with the default values initialized, and the ability to set a context for a request
func NewListCurrenciesParamsWithHTTPClient ¶
func NewListCurrenciesParamsWithHTTPClient(client *http.Client) *ListCurrenciesParams
NewListCurrenciesParamsWithHTTPClient creates a new ListCurrenciesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListCurrenciesParamsWithTimeout ¶
func NewListCurrenciesParamsWithTimeout(timeout time.Duration) *ListCurrenciesParams
NewListCurrenciesParamsWithTimeout creates a new ListCurrenciesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListCurrenciesParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *ListCurrenciesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the list currencies params
func (*ListCurrenciesParams) SetContext ¶
func (o *ListCurrenciesParams) SetContext(ctx context.Context)
SetContext adds the context to the list currencies params
func (*ListCurrenciesParams) SetCurrencyType ¶ added in v0.18.0
func (o *ListCurrenciesParams) SetCurrencyType(currencyType *string)
SetCurrencyType adds the currencyType to the list currencies params
func (*ListCurrenciesParams) SetHTTPClient ¶
func (o *ListCurrenciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list currencies params
func (*ListCurrenciesParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *ListCurrenciesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the list currencies params
func (*ListCurrenciesParams) SetNamespace ¶
func (o *ListCurrenciesParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the list currencies params
func (*ListCurrenciesParams) SetTimeout ¶
func (o *ListCurrenciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list currencies params
func (*ListCurrenciesParams) WithContext ¶
func (o *ListCurrenciesParams) WithContext(ctx context.Context) *ListCurrenciesParams
WithContext adds the context to the list currencies params
func (*ListCurrenciesParams) WithCurrencyType ¶ added in v0.18.0
func (o *ListCurrenciesParams) WithCurrencyType(currencyType *string) *ListCurrenciesParams
WithCurrencyType adds the currencyType to the list currencies params
func (*ListCurrenciesParams) WithHTTPClient ¶
func (o *ListCurrenciesParams) WithHTTPClient(client *http.Client) *ListCurrenciesParams
WithHTTPClient adds the HTTPClient to the list currencies params
func (*ListCurrenciesParams) WithNamespace ¶
func (o *ListCurrenciesParams) WithNamespace(namespace string) *ListCurrenciesParams
WithNamespace adds the namespace to the list currencies params
func (*ListCurrenciesParams) WithTimeout ¶
func (o *ListCurrenciesParams) WithTimeout(timeout time.Duration) *ListCurrenciesParams
WithTimeout adds the timeout to the list currencies params
func (*ListCurrenciesParams) WriteToRequest ¶
func (o *ListCurrenciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListCurrenciesReader ¶
type ListCurrenciesReader struct {
// contains filtered or unexported fields
}
ListCurrenciesReader is a Reader for the ListCurrencies structure.
func (*ListCurrenciesReader) ReadResponse ¶
func (o *ListCurrenciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicListCurrenciesOK ¶
type PublicListCurrenciesOK struct {
Payload []*platformclientmodels.CurrencyInfo
}
PublicListCurrenciesOK handles this case with default header values.
successful operation
func NewPublicListCurrenciesOK ¶
func NewPublicListCurrenciesOK() *PublicListCurrenciesOK
NewPublicListCurrenciesOK creates a PublicListCurrenciesOK with default headers values
func (*PublicListCurrenciesOK) Error ¶
func (o *PublicListCurrenciesOK) Error() string
func (*PublicListCurrenciesOK) GetPayload ¶
func (o *PublicListCurrenciesOK) GetPayload() []*platformclientmodels.CurrencyInfo
type PublicListCurrenciesParams ¶
type PublicListCurrenciesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*CurrencyType currencyType */ CurrencyType *string /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicListCurrenciesParams contains all the parameters to send to the API endpoint for the public list currencies operation typically these are written to a http.Request
func NewPublicListCurrenciesParams ¶
func NewPublicListCurrenciesParams() *PublicListCurrenciesParams
NewPublicListCurrenciesParams creates a new PublicListCurrenciesParams object with the default values initialized.
func NewPublicListCurrenciesParamsWithContext ¶
func NewPublicListCurrenciesParamsWithContext(ctx context.Context) *PublicListCurrenciesParams
NewPublicListCurrenciesParamsWithContext creates a new PublicListCurrenciesParams object with the default values initialized, and the ability to set a context for a request
func NewPublicListCurrenciesParamsWithHTTPClient ¶
func NewPublicListCurrenciesParamsWithHTTPClient(client *http.Client) *PublicListCurrenciesParams
NewPublicListCurrenciesParamsWithHTTPClient creates a new PublicListCurrenciesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicListCurrenciesParamsWithTimeout ¶
func NewPublicListCurrenciesParamsWithTimeout(timeout time.Duration) *PublicListCurrenciesParams
NewPublicListCurrenciesParamsWithTimeout creates a new PublicListCurrenciesParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicListCurrenciesParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublicListCurrenciesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public list currencies params
func (*PublicListCurrenciesParams) SetContext ¶
func (o *PublicListCurrenciesParams) SetContext(ctx context.Context)
SetContext adds the context to the public list currencies params
func (*PublicListCurrenciesParams) SetCurrencyType ¶ added in v0.18.0
func (o *PublicListCurrenciesParams) SetCurrencyType(currencyType *string)
SetCurrencyType adds the currencyType to the public list currencies params
func (*PublicListCurrenciesParams) SetHTTPClient ¶
func (o *PublicListCurrenciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public list currencies params
func (*PublicListCurrenciesParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicListCurrenciesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public list currencies params
func (*PublicListCurrenciesParams) SetNamespace ¶
func (o *PublicListCurrenciesParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public list currencies params
func (*PublicListCurrenciesParams) SetTimeout ¶
func (o *PublicListCurrenciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public list currencies params
func (*PublicListCurrenciesParams) WithContext ¶
func (o *PublicListCurrenciesParams) WithContext(ctx context.Context) *PublicListCurrenciesParams
WithContext adds the context to the public list currencies params
func (*PublicListCurrenciesParams) WithCurrencyType ¶ added in v0.18.0
func (o *PublicListCurrenciesParams) WithCurrencyType(currencyType *string) *PublicListCurrenciesParams
WithCurrencyType adds the currencyType to the public list currencies params
func (*PublicListCurrenciesParams) WithHTTPClient ¶
func (o *PublicListCurrenciesParams) WithHTTPClient(client *http.Client) *PublicListCurrenciesParams
WithHTTPClient adds the HTTPClient to the public list currencies params
func (*PublicListCurrenciesParams) WithNamespace ¶
func (o *PublicListCurrenciesParams) WithNamespace(namespace string) *PublicListCurrenciesParams
WithNamespace adds the namespace to the public list currencies params
func (*PublicListCurrenciesParams) WithTimeout ¶
func (o *PublicListCurrenciesParams) WithTimeout(timeout time.Duration) *PublicListCurrenciesParams
WithTimeout adds the timeout to the public list currencies params
func (*PublicListCurrenciesParams) WriteToRequest ¶
func (o *PublicListCurrenciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicListCurrenciesReader ¶
type PublicListCurrenciesReader struct {
// contains filtered or unexported fields
}
PublicListCurrenciesReader is a Reader for the PublicListCurrencies structure.
func (*PublicListCurrenciesReader) ReadResponse ¶
func (o *PublicListCurrenciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateCurrencyNotFound ¶
type UpdateCurrencyNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
UpdateCurrencyNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>36141</td><td>Currency [{currencyCode}] does not exist in namespace [{namespace}]</td></tr></table>
func NewUpdateCurrencyNotFound ¶
func NewUpdateCurrencyNotFound() *UpdateCurrencyNotFound
NewUpdateCurrencyNotFound creates a UpdateCurrencyNotFound with default headers values
func (*UpdateCurrencyNotFound) Error ¶
func (o *UpdateCurrencyNotFound) Error() string
func (*UpdateCurrencyNotFound) GetPayload ¶
func (o *UpdateCurrencyNotFound) GetPayload() *platformclientmodels.ErrorEntity
type UpdateCurrencyOK ¶
type UpdateCurrencyOK struct {
Payload *platformclientmodels.CurrencyInfo
}
UpdateCurrencyOK handles this case with default header values.
successful operation
func NewUpdateCurrencyOK ¶
func NewUpdateCurrencyOK() *UpdateCurrencyOK
NewUpdateCurrencyOK creates a UpdateCurrencyOK with default headers values
func (*UpdateCurrencyOK) Error ¶
func (o *UpdateCurrencyOK) Error() string
func (*UpdateCurrencyOK) GetPayload ¶
func (o *UpdateCurrencyOK) GetPayload() *platformclientmodels.CurrencyInfo
type UpdateCurrencyParams ¶
type UpdateCurrencyParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.CurrencyUpdate /*CurrencyCode currencyCode */ CurrencyCode string /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateCurrencyParams contains all the parameters to send to the API endpoint for the update currency operation typically these are written to a http.Request
func NewUpdateCurrencyParams ¶
func NewUpdateCurrencyParams() *UpdateCurrencyParams
NewUpdateCurrencyParams creates a new UpdateCurrencyParams object with the default values initialized.
func NewUpdateCurrencyParamsWithContext ¶
func NewUpdateCurrencyParamsWithContext(ctx context.Context) *UpdateCurrencyParams
NewUpdateCurrencyParamsWithContext creates a new UpdateCurrencyParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateCurrencyParamsWithHTTPClient ¶
func NewUpdateCurrencyParamsWithHTTPClient(client *http.Client) *UpdateCurrencyParams
NewUpdateCurrencyParamsWithHTTPClient creates a new UpdateCurrencyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateCurrencyParamsWithTimeout ¶
func NewUpdateCurrencyParamsWithTimeout(timeout time.Duration) *UpdateCurrencyParams
NewUpdateCurrencyParamsWithTimeout creates a new UpdateCurrencyParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateCurrencyParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *UpdateCurrencyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update currency params
func (*UpdateCurrencyParams) SetBody ¶
func (o *UpdateCurrencyParams) SetBody(body *platformclientmodels.CurrencyUpdate)
SetBody adds the body to the update currency params
func (*UpdateCurrencyParams) SetContext ¶
func (o *UpdateCurrencyParams) SetContext(ctx context.Context)
SetContext adds the context to the update currency params
func (*UpdateCurrencyParams) SetCurrencyCode ¶
func (o *UpdateCurrencyParams) SetCurrencyCode(currencyCode string)
SetCurrencyCode adds the currencyCode to the update currency params
func (*UpdateCurrencyParams) SetHTTPClient ¶
func (o *UpdateCurrencyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update currency params
func (*UpdateCurrencyParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *UpdateCurrencyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update currency params
func (*UpdateCurrencyParams) SetNamespace ¶
func (o *UpdateCurrencyParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update currency params
func (*UpdateCurrencyParams) SetTimeout ¶
func (o *UpdateCurrencyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update currency params
func (*UpdateCurrencyParams) WithBody ¶
func (o *UpdateCurrencyParams) WithBody(body *platformclientmodels.CurrencyUpdate) *UpdateCurrencyParams
WithBody adds the body to the update currency params
func (*UpdateCurrencyParams) WithContext ¶
func (o *UpdateCurrencyParams) WithContext(ctx context.Context) *UpdateCurrencyParams
WithContext adds the context to the update currency params
func (*UpdateCurrencyParams) WithCurrencyCode ¶
func (o *UpdateCurrencyParams) WithCurrencyCode(currencyCode string) *UpdateCurrencyParams
WithCurrencyCode adds the currencyCode to the update currency params
func (*UpdateCurrencyParams) WithHTTPClient ¶
func (o *UpdateCurrencyParams) WithHTTPClient(client *http.Client) *UpdateCurrencyParams
WithHTTPClient adds the HTTPClient to the update currency params
func (*UpdateCurrencyParams) WithNamespace ¶
func (o *UpdateCurrencyParams) WithNamespace(namespace string) *UpdateCurrencyParams
WithNamespace adds the namespace to the update currency params
func (*UpdateCurrencyParams) WithTimeout ¶
func (o *UpdateCurrencyParams) WithTimeout(timeout time.Duration) *UpdateCurrencyParams
WithTimeout adds the timeout to the update currency params
func (*UpdateCurrencyParams) WriteToRequest ¶
func (o *UpdateCurrencyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateCurrencyReader ¶
type UpdateCurrencyReader struct {
// contains filtered or unexported fields
}
UpdateCurrencyReader is a Reader for the UpdateCurrency structure.
func (*UpdateCurrencyReader) ReadResponse ¶
func (o *UpdateCurrencyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateCurrencyUnprocessableEntity ¶
type UpdateCurrencyUnprocessableEntity struct {
Payload *platformclientmodels.ValidationErrorEntity
}
UpdateCurrencyUnprocessableEntity handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewUpdateCurrencyUnprocessableEntity ¶
func NewUpdateCurrencyUnprocessableEntity() *UpdateCurrencyUnprocessableEntity
NewUpdateCurrencyUnprocessableEntity creates a UpdateCurrencyUnprocessableEntity with default headers values
func (*UpdateCurrencyUnprocessableEntity) Error ¶
func (o *UpdateCurrencyUnprocessableEntity) Error() string
func (*UpdateCurrencyUnprocessableEntity) GetPayload ¶
func (o *UpdateCurrencyUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
Source Files
¶
- create_currency_parameters.go
- create_currency_responses.go
- currency_client.go
- delete_currency_parameters.go
- delete_currency_responses.go
- get_currency_config_parameters.go
- get_currency_config_responses.go
- get_currency_summary_parameters.go
- get_currency_summary_responses.go
- list_currencies_parameters.go
- list_currencies_responses.go
- public_list_currencies_parameters.go
- public_list_currencies_responses.go
- update_currency_parameters.go
- update_currency_responses.go