Documentation ¶
Index ¶
- Constants
- type Client
- func (a *Client) CreateCurrency(params *CreateCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCurrencyOK, *CreateCurrencyConflict, *CreateCurrencyUnprocessableEntity, ...)deprecated
- func (a *Client) CreateCurrencyShort(params *CreateCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCurrencyOK, error)
- func (a *Client) DeleteCurrency(params *DeleteCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCurrencyOK, *DeleteCurrencyNotFound, error)deprecated
- func (a *Client) DeleteCurrencyShort(params *DeleteCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCurrencyOK, error)
- func (a *Client) GetCurrencyConfig(params *GetCurrencyConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrencyConfigOK, *GetCurrencyConfigNotFound, error)deprecated
- func (a *Client) GetCurrencyConfigShort(params *GetCurrencyConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrencyConfigOK, error)
- func (a *Client) GetCurrencySummary(params *GetCurrencySummaryParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrencySummaryOK, *GetCurrencySummaryNotFound, error)deprecated
- func (a *Client) GetCurrencySummaryShort(params *GetCurrencySummaryParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrencySummaryOK, error)
- func (a *Client) ListCurrencies(params *ListCurrenciesParams, authInfo runtime.ClientAuthInfoWriter) (*ListCurrenciesOK, error)deprecated
- func (a *Client) ListCurrenciesShort(params *ListCurrenciesParams, authInfo runtime.ClientAuthInfoWriter) (*ListCurrenciesOK, error)
- func (a *Client) PublicListCurrencies(params *PublicListCurrenciesParams) (*PublicListCurrenciesOK, error)deprecated
- 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, ...)deprecated
- 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) SetFlightId(flightId string)
- 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) SetFlightId(flightId 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) SetFlightId(flightId 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) SetFlightId(flightId 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) SetFlightId(flightId 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) SetFlightId(flightId 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) SetFlightId(flightId 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
deprecated
func (a *Client) CreateCurrency(params *CreateCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCurrencyOK, *CreateCurrencyConflict, *CreateCurrencyUnprocessableEntity, error)
Deprecated: 2022-08-10 - Use CreateCurrencyShort instead.
CreateCurrency create a currency Create a currency. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:CURRENCY", action=1 (CREATE)
- Returns : created currency
func (*Client) CreateCurrencyShort ¶ added in v0.8.0
func (a *Client) CreateCurrencyShort(params *CreateCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCurrencyOK, error)
CreateCurrencyShort create a currency Create a currency. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:CURRENCY", action=1 (CREATE)
- Returns : created currency
func (*Client) DeleteCurrency
deprecated
func (a *Client) DeleteCurrency(params *DeleteCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCurrencyOK, *DeleteCurrencyNotFound, error)
Deprecated: 2022-08-10 - Use DeleteCurrencyShort instead.
DeleteCurrency delete a currency Delete a currency by currency code. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:CURRENCY", action=8 (DELETE)
- Returns :
func (*Client) DeleteCurrencyShort ¶ added in v0.8.0
func (a *Client) DeleteCurrencyShort(params *DeleteCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCurrencyOK, error)
DeleteCurrencyShort delete a currency Delete a currency by currency code. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:CURRENCY", action=8 (DELETE)
- Returns :
func (*Client) GetCurrencyConfig
deprecated
func (a *Client) GetCurrencyConfig(params *GetCurrencyConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrencyConfigOK, *GetCurrencyConfigNotFound, error)
Deprecated: 2022-08-10 - Use GetCurrencyConfigShort instead.
GetCurrencyConfig get currency config [SERVICE COMMUNICATION ONLY] Get currency config by code. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:CURRENCY", action=2 (READ)
- Returns : simplified Currency
func (*Client) GetCurrencyConfigShort ¶ added in v0.8.0
func (a *Client) GetCurrencyConfigShort(params *GetCurrencyConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrencyConfigOK, error)
GetCurrencyConfigShort get currency config
[SERVICE COMMUNICATION ONLY] Get currency config by code.
Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:CURRENCY", action=2 (READ)
- Returns : simplified Currency
func (*Client) GetCurrencySummary
deprecated
func (a *Client) GetCurrencySummary(params *GetCurrencySummaryParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrencySummaryOK, *GetCurrencySummaryNotFound, error)
Deprecated: 2022-08-10 - Use GetCurrencySummaryShort instead.
GetCurrencySummary get currency summary Get currency summary by code. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:CURRENCY", action=2 (READ)
- Returns : simplified Currency
func (*Client) GetCurrencySummaryShort ¶ added in v0.8.0
func (a *Client) GetCurrencySummaryShort(params *GetCurrencySummaryParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrencySummaryOK, error)
GetCurrencySummaryShort get currency summary Get currency summary by code. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:CURRENCY", action=2 (READ)
- Returns : simplified Currency
func (*Client) ListCurrencies
deprecated
func (a *Client) ListCurrencies(params *ListCurrenciesParams, authInfo runtime.ClientAuthInfoWriter) (*ListCurrenciesOK, error)
Deprecated: 2022-08-10 - Use ListCurrenciesShort instead.
ListCurrencies list currencies List currencies of a namespace. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:CURRENCY", action=2 (READ)
- Returns : Currency List
func (*Client) ListCurrenciesShort ¶ added in v0.8.0
func (a *Client) ListCurrenciesShort(params *ListCurrenciesParams, authInfo runtime.ClientAuthInfoWriter) (*ListCurrenciesOK, error)
ListCurrenciesShort list currencies List currencies of a namespace. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:CURRENCY", action=2 (READ)
- Returns : Currency List
func (*Client) PublicListCurrencies
deprecated
func (a *Client) PublicListCurrencies(params *PublicListCurrenciesParams) (*PublicListCurrenciesOK, error)
Deprecated: 2022-08-10 - Use PublicListCurrenciesShort instead.
PublicListCurrencies list currencies List currencies of a namespace. Other detail info:
- Returns : Currency List
func (*Client) PublicListCurrenciesShort ¶ added in v0.8.0
func (a *Client) PublicListCurrenciesShort(params *PublicListCurrenciesParams) (*PublicListCurrenciesOK, error)
PublicListCurrenciesShort list currencies List currencies of a namespace. Other detail info:
- Returns : Currency List
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateCurrency
deprecated
func (a *Client) UpdateCurrency(params *UpdateCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCurrencyOK, *UpdateCurrencyNotFound, *UpdateCurrencyUnprocessableEntity, error)
Deprecated: 2022-08-10 - Use UpdateCurrencyShort instead.
UpdateCurrency update a currency Update a currency by currency code. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:CURRENCY", action=4 (UPDATE)
- Returns : updated currency
func (*Client) UpdateCurrencyShort ¶ added in v0.8.0
func (a *Client) UpdateCurrencyShort(params *UpdateCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCurrencyOK, error)
UpdateCurrencyShort update a currency Update a currency by currency code. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:CURRENCY", action=4 (UPDATE)
- Returns : updated currency
type ClientService ¶
type ClientService interface { ListCurrencies(params *ListCurrenciesParams, authInfo runtime.ClientAuthInfoWriter) (*ListCurrenciesOK, error) ListCurrenciesShort(params *ListCurrenciesParams, authInfo runtime.ClientAuthInfoWriter) (*ListCurrenciesOK, error) CreateCurrency(params *CreateCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCurrencyOK, *CreateCurrencyConflict, *CreateCurrencyUnprocessableEntity, error) CreateCurrencyShort(params *CreateCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCurrencyOK, error) UpdateCurrency(params *UpdateCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCurrencyOK, *UpdateCurrencyNotFound, *UpdateCurrencyUnprocessableEntity, error) UpdateCurrencyShort(params *UpdateCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCurrencyOK, 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) PublicListCurrencies(params *PublicListCurrenciesParams) (*PublicListCurrenciesOK, error) PublicListCurrenciesShort(params *PublicListCurrenciesParams) (*PublicListCurrenciesOK, 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><tr><td>36172</td><td>Real Currency [{currencyCode}] not allowed in game 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
func (*CreateCurrencyConflict) ToJSONString ¶ added in v0.25.0
func (o *CreateCurrencyConflict) ToJSONString() string
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
func (*CreateCurrencyOK) ToJSONString ¶ added in v0.25.0
func (o *CreateCurrencyOK) ToJSONString() string
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 // XFlightId is an optional parameter from this SDK XFlightId *string // 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) SetFlightId ¶ added in v0.63.0
func (o *CreateCurrencyParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
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
func (*CreateCurrencyUnprocessableEntity) ToJSONString ¶ added in v0.25.0
func (o *CreateCurrencyUnprocessableEntity) ToJSONString() string
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
func (*DeleteCurrencyNotFound) ToJSONString ¶ added in v0.25.0
func (o *DeleteCurrencyNotFound) ToJSONString() string
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
func (*DeleteCurrencyOK) ToJSONString ¶ added in v0.25.0
func (o *DeleteCurrencyOK) ToJSONString() string
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 // XFlightId is an optional parameter from this SDK XFlightId *string // 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) SetFlightId ¶ added in v0.63.0
func (o *DeleteCurrencyParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
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
func (*GetCurrencyConfigNotFound) ToJSONString ¶ added in v0.25.0
func (o *GetCurrencyConfigNotFound) ToJSONString() string
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
func (*GetCurrencyConfigOK) ToJSONString ¶ added in v0.25.0
func (o *GetCurrencyConfigOK) ToJSONString() string
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 // XFlightId is an optional parameter from this SDK XFlightId *string // 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) SetFlightId ¶ added in v0.63.0
func (o *GetCurrencyConfigParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
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
func (*GetCurrencySummaryNotFound) ToJSONString ¶ added in v0.25.0
func (o *GetCurrencySummaryNotFound) ToJSONString() string
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
func (*GetCurrencySummaryOK) ToJSONString ¶ added in v0.25.0
func (o *GetCurrencySummaryOK) ToJSONString() string
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 // XFlightId is an optional parameter from this SDK XFlightId *string // 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) SetFlightId ¶ added in v0.63.0
func (o *GetCurrencySummaryParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
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
func (*ListCurrenciesOK) ToJSONString ¶ added in v0.25.0
func (o *ListCurrenciesOK) ToJSONString() string
type ListCurrenciesParams ¶
type ListCurrenciesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*CurrencyType currencyType */ CurrencyType *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // 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) SetFlightId ¶ added in v0.63.0
func (o *ListCurrenciesParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
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
func (*PublicListCurrenciesOK) ToJSONString ¶ added in v0.25.0
func (o *PublicListCurrenciesOK) ToJSONString() string
type PublicListCurrenciesParams ¶
type PublicListCurrenciesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*CurrencyType currencyType */ CurrencyType *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // 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) SetFlightId ¶ added in v0.63.0
func (o *PublicListCurrenciesParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
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><tr><td>36172</td><td>Real Currency [{currencyCode}] not allowed in game 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
func (*UpdateCurrencyNotFound) ToJSONString ¶ added in v0.25.0
func (o *UpdateCurrencyNotFound) ToJSONString() string
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
func (*UpdateCurrencyOK) ToJSONString ¶ added in v0.25.0
func (o *UpdateCurrencyOK) ToJSONString() string
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 // XFlightId is an optional parameter from this SDK XFlightId *string // 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) SetFlightId ¶ added in v0.63.0
func (o *UpdateCurrencyParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
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
func (*UpdateCurrencyUnprocessableEntity) ToJSONString ¶ added in v0.25.0
func (o *UpdateCurrencyUnprocessableEntity) ToJSONString() string
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