Documentation ¶
Index ¶
- type AddCountryGroupBadRequest
- type AddCountryGroupConflict
- type AddCountryGroupCreated
- type AddCountryGroupForbidden
- type AddCountryGroupParams
- func NewAddCountryGroupParams() *AddCountryGroupParams
- func NewAddCountryGroupParamsWithContext(ctx context.Context) *AddCountryGroupParams
- func NewAddCountryGroupParamsWithHTTPClient(client *http.Client) *AddCountryGroupParams
- func NewAddCountryGroupParamsWithTimeout(timeout time.Duration) *AddCountryGroupParams
- func (o *AddCountryGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AddCountryGroupParams) SetBody(body *basicclientmodels.AddCountryGroupRequest)
- func (o *AddCountryGroupParams) SetContext(ctx context.Context)
- func (o *AddCountryGroupParams) SetHTTPClient(client *http.Client)
- func (o *AddCountryGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AddCountryGroupParams) SetNamespace(namespace string)
- func (o *AddCountryGroupParams) SetTimeout(timeout time.Duration)
- func (o *AddCountryGroupParams) WithBody(body *basicclientmodels.AddCountryGroupRequest) *AddCountryGroupParams
- func (o *AddCountryGroupParams) WithContext(ctx context.Context) *AddCountryGroupParams
- func (o *AddCountryGroupParams) WithHTTPClient(client *http.Client) *AddCountryGroupParams
- func (o *AddCountryGroupParams) WithNamespace(namespace string) *AddCountryGroupParams
- func (o *AddCountryGroupParams) WithTimeout(timeout time.Duration) *AddCountryGroupParams
- func (o *AddCountryGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddCountryGroupReader
- type AddCountryGroupUnauthorized
- type Client
- func (a *Client) AddCountryGroup(params *AddCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*AddCountryGroupCreated, *AddCountryGroupBadRequest, ...)
- func (a *Client) AddCountryGroupShort(params *AddCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*AddCountryGroupCreated, error)
- func (a *Client) DeleteCountryGroup(params *DeleteCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCountryGroupOK, *DeleteCountryGroupBadRequest, ...)
- func (a *Client) DeleteCountryGroupShort(params *DeleteCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCountryGroupOK, error)
- func (a *Client) GetCountries(params *GetCountriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetCountriesOK, *GetCountriesBadRequest, *GetCountriesUnauthorized, error)
- func (a *Client) GetCountriesShort(params *GetCountriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetCountriesOK, error)
- func (a *Client) GetCountryGroups(params *GetCountryGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCountryGroupsOK, *GetCountryGroupsBadRequest, ...)
- func (a *Client) GetCountryGroupsShort(params *GetCountryGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCountryGroupsOK, error)
- func (a *Client) GetLanguages(params *GetLanguagesParams, authInfo runtime.ClientAuthInfoWriter) (*GetLanguagesOK, *GetLanguagesBadRequest, *GetLanguagesUnauthorized, error)
- func (a *Client) GetLanguagesShort(params *GetLanguagesParams, authInfo runtime.ClientAuthInfoWriter) (*GetLanguagesOK, error)
- func (a *Client) GetTimeZones(params *GetTimeZonesParams, authInfo runtime.ClientAuthInfoWriter) (*GetTimeZonesOK, *GetTimeZonesBadRequest, *GetTimeZonesUnauthorized, error)
- func (a *Client) GetTimeZonesShort(params *GetTimeZonesParams, authInfo runtime.ClientAuthInfoWriter) (*GetTimeZonesOK, error)
- func (a *Client) PublicGetCountries(params *PublicGetCountriesParams) (*PublicGetCountriesOK, *PublicGetCountriesBadRequest, error)
- func (a *Client) PublicGetCountriesShort(params *PublicGetCountriesParams) (*PublicGetCountriesOK, error)
- func (a *Client) PublicGetLanguages(params *PublicGetLanguagesParams) (*PublicGetLanguagesOK, *PublicGetLanguagesBadRequest, error)
- func (a *Client) PublicGetLanguagesShort(params *PublicGetLanguagesParams) (*PublicGetLanguagesOK, error)
- func (a *Client) PublicGetTime(params *PublicGetTimeParams) (*PublicGetTimeOK, error)
- func (a *Client) PublicGetTimeShort(params *PublicGetTimeParams) (*PublicGetTimeOK, error)
- func (a *Client) PublicGetTimeZones(params *PublicGetTimeZonesParams) (*PublicGetTimeZonesOK, *PublicGetTimeZonesBadRequest, error)
- func (a *Client) PublicGetTimeZonesShort(params *PublicGetTimeZonesParams) (*PublicGetTimeZonesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateCountryGroup(params *UpdateCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCountryGroupOK, *UpdateCountryGroupBadRequest, ...)
- func (a *Client) UpdateCountryGroupShort(params *UpdateCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCountryGroupOK, error)
- type ClientService
- type DeleteCountryGroupBadRequest
- type DeleteCountryGroupForbidden
- type DeleteCountryGroupNotFound
- type DeleteCountryGroupOK
- type DeleteCountryGroupParams
- func NewDeleteCountryGroupParams() *DeleteCountryGroupParams
- func NewDeleteCountryGroupParamsWithContext(ctx context.Context) *DeleteCountryGroupParams
- func NewDeleteCountryGroupParamsWithHTTPClient(client *http.Client) *DeleteCountryGroupParams
- func NewDeleteCountryGroupParamsWithTimeout(timeout time.Duration) *DeleteCountryGroupParams
- func (o *DeleteCountryGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteCountryGroupParams) SetContext(ctx context.Context)
- func (o *DeleteCountryGroupParams) SetCountryGroupCode(countryGroupCode string)
- func (o *DeleteCountryGroupParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCountryGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteCountryGroupParams) SetNamespace(namespace string)
- func (o *DeleteCountryGroupParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCountryGroupParams) WithContext(ctx context.Context) *DeleteCountryGroupParams
- func (o *DeleteCountryGroupParams) WithCountryGroupCode(countryGroupCode string) *DeleteCountryGroupParams
- func (o *DeleteCountryGroupParams) WithHTTPClient(client *http.Client) *DeleteCountryGroupParams
- func (o *DeleteCountryGroupParams) WithNamespace(namespace string) *DeleteCountryGroupParams
- func (o *DeleteCountryGroupParams) WithTimeout(timeout time.Duration) *DeleteCountryGroupParams
- func (o *DeleteCountryGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCountryGroupReader
- type DeleteCountryGroupUnauthorized
- type GetCountriesBadRequest
- type GetCountriesOK
- type GetCountriesParams
- func (o *GetCountriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetCountriesParams) SetContext(ctx context.Context)
- func (o *GetCountriesParams) SetHTTPClient(client *http.Client)
- func (o *GetCountriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetCountriesParams) SetLang(lang *string)
- func (o *GetCountriesParams) SetNamespace(namespace string)
- func (o *GetCountriesParams) SetTimeout(timeout time.Duration)
- func (o *GetCountriesParams) WithContext(ctx context.Context) *GetCountriesParams
- func (o *GetCountriesParams) WithHTTPClient(client *http.Client) *GetCountriesParams
- func (o *GetCountriesParams) WithLang(lang *string) *GetCountriesParams
- func (o *GetCountriesParams) WithNamespace(namespace string) *GetCountriesParams
- func (o *GetCountriesParams) WithTimeout(timeout time.Duration) *GetCountriesParams
- func (o *GetCountriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCountriesReader
- type GetCountriesUnauthorized
- type GetCountryGroupsBadRequest
- type GetCountryGroupsForbidden
- type GetCountryGroupsNotFound
- type GetCountryGroupsOK
- type GetCountryGroupsParams
- func NewGetCountryGroupsParams() *GetCountryGroupsParams
- func NewGetCountryGroupsParamsWithContext(ctx context.Context) *GetCountryGroupsParams
- func NewGetCountryGroupsParamsWithHTTPClient(client *http.Client) *GetCountryGroupsParams
- func NewGetCountryGroupsParamsWithTimeout(timeout time.Duration) *GetCountryGroupsParams
- func (o *GetCountryGroupsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetCountryGroupsParams) SetContext(ctx context.Context)
- func (o *GetCountryGroupsParams) SetGroupCode(groupCode *string)
- func (o *GetCountryGroupsParams) SetHTTPClient(client *http.Client)
- func (o *GetCountryGroupsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetCountryGroupsParams) SetNamespace(namespace string)
- func (o *GetCountryGroupsParams) SetTimeout(timeout time.Duration)
- func (o *GetCountryGroupsParams) WithContext(ctx context.Context) *GetCountryGroupsParams
- func (o *GetCountryGroupsParams) WithGroupCode(groupCode *string) *GetCountryGroupsParams
- func (o *GetCountryGroupsParams) WithHTTPClient(client *http.Client) *GetCountryGroupsParams
- func (o *GetCountryGroupsParams) WithNamespace(namespace string) *GetCountryGroupsParams
- func (o *GetCountryGroupsParams) WithTimeout(timeout time.Duration) *GetCountryGroupsParams
- func (o *GetCountryGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCountryGroupsReader
- type GetCountryGroupsUnauthorized
- type GetLanguagesBadRequest
- type GetLanguagesOK
- type GetLanguagesParams
- func (o *GetLanguagesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetLanguagesParams) SetContext(ctx context.Context)
- func (o *GetLanguagesParams) SetHTTPClient(client *http.Client)
- func (o *GetLanguagesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetLanguagesParams) SetNamespace(namespace string)
- func (o *GetLanguagesParams) SetTimeout(timeout time.Duration)
- func (o *GetLanguagesParams) WithContext(ctx context.Context) *GetLanguagesParams
- func (o *GetLanguagesParams) WithHTTPClient(client *http.Client) *GetLanguagesParams
- func (o *GetLanguagesParams) WithNamespace(namespace string) *GetLanguagesParams
- func (o *GetLanguagesParams) WithTimeout(timeout time.Duration) *GetLanguagesParams
- func (o *GetLanguagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLanguagesReader
- type GetLanguagesUnauthorized
- type GetTimeZonesBadRequest
- type GetTimeZonesOK
- type GetTimeZonesParams
- func (o *GetTimeZonesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetTimeZonesParams) SetContext(ctx context.Context)
- func (o *GetTimeZonesParams) SetHTTPClient(client *http.Client)
- func (o *GetTimeZonesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetTimeZonesParams) SetNamespace(namespace string)
- func (o *GetTimeZonesParams) SetTimeout(timeout time.Duration)
- func (o *GetTimeZonesParams) WithContext(ctx context.Context) *GetTimeZonesParams
- func (o *GetTimeZonesParams) WithHTTPClient(client *http.Client) *GetTimeZonesParams
- func (o *GetTimeZonesParams) WithNamespace(namespace string) *GetTimeZonesParams
- func (o *GetTimeZonesParams) WithTimeout(timeout time.Duration) *GetTimeZonesParams
- func (o *GetTimeZonesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTimeZonesReader
- type GetTimeZonesUnauthorized
- type PublicGetCountriesBadRequest
- type PublicGetCountriesOK
- type PublicGetCountriesParams
- func NewPublicGetCountriesParams() *PublicGetCountriesParams
- func NewPublicGetCountriesParamsWithContext(ctx context.Context) *PublicGetCountriesParams
- func NewPublicGetCountriesParamsWithHTTPClient(client *http.Client) *PublicGetCountriesParams
- func NewPublicGetCountriesParamsWithTimeout(timeout time.Duration) *PublicGetCountriesParams
- func (o *PublicGetCountriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetCountriesParams) SetContext(ctx context.Context)
- func (o *PublicGetCountriesParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetCountriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetCountriesParams) SetLang(lang *string)
- func (o *PublicGetCountriesParams) SetNamespace(namespace string)
- func (o *PublicGetCountriesParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetCountriesParams) WithContext(ctx context.Context) *PublicGetCountriesParams
- func (o *PublicGetCountriesParams) WithHTTPClient(client *http.Client) *PublicGetCountriesParams
- func (o *PublicGetCountriesParams) WithLang(lang *string) *PublicGetCountriesParams
- func (o *PublicGetCountriesParams) WithNamespace(namespace string) *PublicGetCountriesParams
- func (o *PublicGetCountriesParams) WithTimeout(timeout time.Duration) *PublicGetCountriesParams
- func (o *PublicGetCountriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetCountriesReader
- type PublicGetLanguagesBadRequest
- type PublicGetLanguagesOK
- type PublicGetLanguagesParams
- func NewPublicGetLanguagesParams() *PublicGetLanguagesParams
- func NewPublicGetLanguagesParamsWithContext(ctx context.Context) *PublicGetLanguagesParams
- func NewPublicGetLanguagesParamsWithHTTPClient(client *http.Client) *PublicGetLanguagesParams
- func NewPublicGetLanguagesParamsWithTimeout(timeout time.Duration) *PublicGetLanguagesParams
- func (o *PublicGetLanguagesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetLanguagesParams) SetContext(ctx context.Context)
- func (o *PublicGetLanguagesParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetLanguagesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetLanguagesParams) SetNamespace(namespace string)
- func (o *PublicGetLanguagesParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetLanguagesParams) WithContext(ctx context.Context) *PublicGetLanguagesParams
- func (o *PublicGetLanguagesParams) WithHTTPClient(client *http.Client) *PublicGetLanguagesParams
- func (o *PublicGetLanguagesParams) WithNamespace(namespace string) *PublicGetLanguagesParams
- func (o *PublicGetLanguagesParams) WithTimeout(timeout time.Duration) *PublicGetLanguagesParams
- func (o *PublicGetLanguagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetLanguagesReader
- type PublicGetTimeOK
- type PublicGetTimeParams
- func (o *PublicGetTimeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetTimeParams) SetContext(ctx context.Context)
- func (o *PublicGetTimeParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetTimeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetTimeParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetTimeParams) WithContext(ctx context.Context) *PublicGetTimeParams
- func (o *PublicGetTimeParams) WithHTTPClient(client *http.Client) *PublicGetTimeParams
- func (o *PublicGetTimeParams) WithTimeout(timeout time.Duration) *PublicGetTimeParams
- func (o *PublicGetTimeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetTimeReader
- type PublicGetTimeZonesBadRequest
- type PublicGetTimeZonesOK
- type PublicGetTimeZonesParams
- func NewPublicGetTimeZonesParams() *PublicGetTimeZonesParams
- func NewPublicGetTimeZonesParamsWithContext(ctx context.Context) *PublicGetTimeZonesParams
- func NewPublicGetTimeZonesParamsWithHTTPClient(client *http.Client) *PublicGetTimeZonesParams
- func NewPublicGetTimeZonesParamsWithTimeout(timeout time.Duration) *PublicGetTimeZonesParams
- func (o *PublicGetTimeZonesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetTimeZonesParams) SetContext(ctx context.Context)
- func (o *PublicGetTimeZonesParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetTimeZonesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetTimeZonesParams) SetNamespace(namespace string)
- func (o *PublicGetTimeZonesParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetTimeZonesParams) WithContext(ctx context.Context) *PublicGetTimeZonesParams
- func (o *PublicGetTimeZonesParams) WithHTTPClient(client *http.Client) *PublicGetTimeZonesParams
- func (o *PublicGetTimeZonesParams) WithNamespace(namespace string) *PublicGetTimeZonesParams
- func (o *PublicGetTimeZonesParams) WithTimeout(timeout time.Duration) *PublicGetTimeZonesParams
- func (o *PublicGetTimeZonesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetTimeZonesReader
- type UpdateCountryGroupBadRequest
- type UpdateCountryGroupForbidden
- type UpdateCountryGroupNotFound
- type UpdateCountryGroupOK
- type UpdateCountryGroupParams
- func NewUpdateCountryGroupParams() *UpdateCountryGroupParams
- func NewUpdateCountryGroupParamsWithContext(ctx context.Context) *UpdateCountryGroupParams
- func NewUpdateCountryGroupParamsWithHTTPClient(client *http.Client) *UpdateCountryGroupParams
- func NewUpdateCountryGroupParamsWithTimeout(timeout time.Duration) *UpdateCountryGroupParams
- func (o *UpdateCountryGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateCountryGroupParams) SetBody(body *basicclientmodels.UpdateCountryGroupRequest)
- func (o *UpdateCountryGroupParams) SetContext(ctx context.Context)
- func (o *UpdateCountryGroupParams) SetCountryGroupCode(countryGroupCode string)
- func (o *UpdateCountryGroupParams) SetHTTPClient(client *http.Client)
- func (o *UpdateCountryGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateCountryGroupParams) SetNamespace(namespace string)
- func (o *UpdateCountryGroupParams) SetTimeout(timeout time.Duration)
- func (o *UpdateCountryGroupParams) WithBody(body *basicclientmodels.UpdateCountryGroupRequest) *UpdateCountryGroupParams
- func (o *UpdateCountryGroupParams) WithContext(ctx context.Context) *UpdateCountryGroupParams
- func (o *UpdateCountryGroupParams) WithCountryGroupCode(countryGroupCode string) *UpdateCountryGroupParams
- func (o *UpdateCountryGroupParams) WithHTTPClient(client *http.Client) *UpdateCountryGroupParams
- func (o *UpdateCountryGroupParams) WithNamespace(namespace string) *UpdateCountryGroupParams
- func (o *UpdateCountryGroupParams) WithTimeout(timeout time.Duration) *UpdateCountryGroupParams
- func (o *UpdateCountryGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateCountryGroupReader
- type UpdateCountryGroupUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddCountryGroupBadRequest ¶
type AddCountryGroupBadRequest struct {
Payload *basicclientmodels.ErrorEntity
}
AddCountryGroupBadRequest 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><tr><td>20019</td><td>unable to parse request body</td></tr><tr><td>11234</td><td>Unable to {action}: A country can't be assigned to more than one country group</td></tr></table>
func NewAddCountryGroupBadRequest ¶
func NewAddCountryGroupBadRequest() *AddCountryGroupBadRequest
NewAddCountryGroupBadRequest creates a AddCountryGroupBadRequest with default headers values
func (*AddCountryGroupBadRequest) Error ¶
func (o *AddCountryGroupBadRequest) Error() string
func (*AddCountryGroupBadRequest) GetPayload ¶
func (o *AddCountryGroupBadRequest) GetPayload() *basicclientmodels.ErrorEntity
type AddCountryGroupConflict ¶
type AddCountryGroupConflict struct {
Payload *basicclientmodels.ErrorEntity
}
AddCountryGroupConflict handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11235</td><td>Unable to {action}: Country group with specified code is already exist</td></tr></table>
func NewAddCountryGroupConflict ¶
func NewAddCountryGroupConflict() *AddCountryGroupConflict
NewAddCountryGroupConflict creates a AddCountryGroupConflict with default headers values
func (*AddCountryGroupConflict) Error ¶
func (o *AddCountryGroupConflict) Error() string
func (*AddCountryGroupConflict) GetPayload ¶
func (o *AddCountryGroupConflict) GetPayload() *basicclientmodels.ErrorEntity
type AddCountryGroupCreated ¶
type AddCountryGroupCreated struct {
Payload *basicclientmodels.AddCountryGroupResponse
}
AddCountryGroupCreated handles this case with default header values.
successful operation
func NewAddCountryGroupCreated ¶
func NewAddCountryGroupCreated() *AddCountryGroupCreated
NewAddCountryGroupCreated creates a AddCountryGroupCreated with default headers values
func (*AddCountryGroupCreated) Error ¶
func (o *AddCountryGroupCreated) Error() string
func (*AddCountryGroupCreated) GetPayload ¶
func (o *AddCountryGroupCreated) GetPayload() *basicclientmodels.AddCountryGroupResponse
type AddCountryGroupForbidden ¶
type AddCountryGroupForbidden struct {
Payload *basicclientmodels.ErrorEntity
}
AddCountryGroupForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewAddCountryGroupForbidden ¶
func NewAddCountryGroupForbidden() *AddCountryGroupForbidden
NewAddCountryGroupForbidden creates a AddCountryGroupForbidden with default headers values
func (*AddCountryGroupForbidden) Error ¶
func (o *AddCountryGroupForbidden) Error() string
func (*AddCountryGroupForbidden) GetPayload ¶
func (o *AddCountryGroupForbidden) GetPayload() *basicclientmodels.ErrorEntity
type AddCountryGroupParams ¶
type AddCountryGroupParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *basicclientmodels.AddCountryGroupRequest /*Namespace namespace, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddCountryGroupParams contains all the parameters to send to the API endpoint for the add country group operation typically these are written to a http.Request
func NewAddCountryGroupParams ¶
func NewAddCountryGroupParams() *AddCountryGroupParams
NewAddCountryGroupParams creates a new AddCountryGroupParams object with the default values initialized.
func NewAddCountryGroupParamsWithContext ¶
func NewAddCountryGroupParamsWithContext(ctx context.Context) *AddCountryGroupParams
NewAddCountryGroupParamsWithContext creates a new AddCountryGroupParams object with the default values initialized, and the ability to set a context for a request
func NewAddCountryGroupParamsWithHTTPClient ¶
func NewAddCountryGroupParamsWithHTTPClient(client *http.Client) *AddCountryGroupParams
NewAddCountryGroupParamsWithHTTPClient creates a new AddCountryGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddCountryGroupParamsWithTimeout ¶
func NewAddCountryGroupParamsWithTimeout(timeout time.Duration) *AddCountryGroupParams
NewAddCountryGroupParamsWithTimeout creates a new AddCountryGroupParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddCountryGroupParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *AddCountryGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the add country group params
func (*AddCountryGroupParams) SetBody ¶
func (o *AddCountryGroupParams) SetBody(body *basicclientmodels.AddCountryGroupRequest)
SetBody adds the body to the add country group params
func (*AddCountryGroupParams) SetContext ¶
func (o *AddCountryGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the add country group params
func (*AddCountryGroupParams) SetHTTPClient ¶
func (o *AddCountryGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add country group params
func (*AddCountryGroupParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *AddCountryGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the add country group params
func (*AddCountryGroupParams) SetNamespace ¶
func (o *AddCountryGroupParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the add country group params
func (*AddCountryGroupParams) SetTimeout ¶
func (o *AddCountryGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add country group params
func (*AddCountryGroupParams) WithBody ¶
func (o *AddCountryGroupParams) WithBody(body *basicclientmodels.AddCountryGroupRequest) *AddCountryGroupParams
WithBody adds the body to the add country group params
func (*AddCountryGroupParams) WithContext ¶
func (o *AddCountryGroupParams) WithContext(ctx context.Context) *AddCountryGroupParams
WithContext adds the context to the add country group params
func (*AddCountryGroupParams) WithHTTPClient ¶
func (o *AddCountryGroupParams) WithHTTPClient(client *http.Client) *AddCountryGroupParams
WithHTTPClient adds the HTTPClient to the add country group params
func (*AddCountryGroupParams) WithNamespace ¶
func (o *AddCountryGroupParams) WithNamespace(namespace string) *AddCountryGroupParams
WithNamespace adds the namespace to the add country group params
func (*AddCountryGroupParams) WithTimeout ¶
func (o *AddCountryGroupParams) WithTimeout(timeout time.Duration) *AddCountryGroupParams
WithTimeout adds the timeout to the add country group params
func (*AddCountryGroupParams) WriteToRequest ¶
func (o *AddCountryGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddCountryGroupReader ¶
type AddCountryGroupReader struct {
// contains filtered or unexported fields
}
AddCountryGroupReader is a Reader for the AddCountryGroup structure.
func (*AddCountryGroupReader) ReadResponse ¶
func (o *AddCountryGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddCountryGroupUnauthorized ¶
type AddCountryGroupUnauthorized struct {
}AddCountryGroupUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>
func NewAddCountryGroupUnauthorized ¶
func NewAddCountryGroupUnauthorized() *AddCountryGroupUnauthorized
NewAddCountryGroupUnauthorized creates a AddCountryGroupUnauthorized with default headers values
func (*AddCountryGroupUnauthorized) Error ¶
func (o *AddCountryGroupUnauthorized) Error() string
func (*AddCountryGroupUnauthorized) GetPayload ¶
func (o *AddCountryGroupUnauthorized) GetPayload() *basicclientmodels.ErrorEntity
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for misc API
func (*Client) AddCountryGroup ¶
func (a *Client) AddCountryGroup(params *AddCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*AddCountryGroupCreated, *AddCountryGroupBadRequest, *AddCountryGroupUnauthorized, *AddCountryGroupForbidden, *AddCountryGroupConflict, error)
AddCountryGroup adds a country group
Add a country groups<br>Country code must follow ISO3166-1 alpha-2.<br/>Other detail info: <ul><li><i>Required permission</i>: resource = <b>"ADMIN:NAMESPACE:{namespace}:MISC"</b>, action=1 <b>(CREATE)</b></li><li><i>Action code</i>: 11201</li><li><i>Returns</i>: newly created country group</li></ul>
func (*Client) AddCountryGroupShort ¶ added in v0.8.0
func (a *Client) AddCountryGroupShort(params *AddCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*AddCountryGroupCreated, error)
func (*Client) DeleteCountryGroup ¶
func (a *Client) DeleteCountryGroup(params *DeleteCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCountryGroupOK, *DeleteCountryGroupBadRequest, *DeleteCountryGroupUnauthorized, *DeleteCountryGroupForbidden, *DeleteCountryGroupNotFound, error)
DeleteCountryGroup deletes a country group
Delete a country groups by its country group code. This endpoint usually used for testing purpose to cleanup test data.<br>Other detail info: <ul><li><i>Required permission</i>: resource = <b>"ADMIN:NAMESPACE:{namespace}:MISC"</b>, action=8 <b>(DELETE)</b></li></ul>
func (*Client) DeleteCountryGroupShort ¶ added in v0.8.0
func (a *Client) DeleteCountryGroupShort(params *DeleteCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCountryGroupOK, error)
func (*Client) GetCountries ¶
func (a *Client) GetCountries(params *GetCountriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetCountriesOK, *GetCountriesBadRequest, *GetCountriesUnauthorized, error)
GetCountries lists countries
List countries.<br>Other detail info: <ul><li><i>Required permission</i>: login user</li><li><i>Action code</i>: 11204</li><li><i>Returns</i>: country code list</li></ul>
func (*Client) GetCountriesShort ¶ added in v0.8.0
func (a *Client) GetCountriesShort(params *GetCountriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetCountriesOK, error)
func (*Client) GetCountryGroups ¶
func (a *Client) GetCountryGroups(params *GetCountryGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCountryGroupsOK, *GetCountryGroupsBadRequest, *GetCountryGroupsUnauthorized, *GetCountryGroupsForbidden, *GetCountryGroupsNotFound, error)
GetCountryGroups lists country groups
List country groups. Will return all available country groups if the query param is not specified<br>Other detail info: <ul><li><i>Required permission</i>: resource = <b>"ADMIN:NAMESPACE:{namespace}:MISC"</b>, action=2 <b>(READ)</b></li><li><i>Action code</i>: 11203</li><li><i>Returns</i>: list of country groups</li></ul>
func (*Client) GetCountryGroupsShort ¶ added in v0.8.0
func (a *Client) GetCountryGroupsShort(params *GetCountryGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCountryGroupsOK, error)
func (*Client) GetLanguages ¶
func (a *Client) GetLanguages(params *GetLanguagesParams, authInfo runtime.ClientAuthInfoWriter) (*GetLanguagesOK, *GetLanguagesBadRequest, *GetLanguagesUnauthorized, error)
GetLanguages lists languages
List languages.<br>Other detail info: <ul><li><i>Required permission</i>: login user</li><li><i>Action code</i>: 11206</li><li><i>Returns</i>: language list</li></ul>
func (*Client) GetLanguagesShort ¶ added in v0.8.0
func (a *Client) GetLanguagesShort(params *GetLanguagesParams, authInfo runtime.ClientAuthInfoWriter) (*GetLanguagesOK, error)
func (*Client) GetTimeZones ¶
func (a *Client) GetTimeZones(params *GetTimeZonesParams, authInfo runtime.ClientAuthInfoWriter) (*GetTimeZonesOK, *GetTimeZonesBadRequest, *GetTimeZonesUnauthorized, error)
GetTimeZones lists time zones
List time zones.<br>Other detail info: <ul><li><i>Required permission</i>: login user</li><li><i>Action code</i>: 11205</li><li><i>Returns</i>: time zones</li></ul>
func (*Client) GetTimeZonesShort ¶ added in v0.8.0
func (a *Client) GetTimeZonesShort(params *GetTimeZonesParams, authInfo runtime.ClientAuthInfoWriter) (*GetTimeZonesOK, error)
func (*Client) PublicGetCountries ¶
func (a *Client) PublicGetCountries(params *PublicGetCountriesParams) (*PublicGetCountriesOK, *PublicGetCountriesBadRequest, error)
PublicGetCountries lists countries
List countries.<br>Other detail info: <ul><li><i>Returns</i>: country code list</li></ul>
func (*Client) PublicGetCountriesShort ¶ added in v0.8.0
func (a *Client) PublicGetCountriesShort(params *PublicGetCountriesParams) (*PublicGetCountriesOK, error)
func (*Client) PublicGetLanguages ¶
func (a *Client) PublicGetLanguages(params *PublicGetLanguagesParams) (*PublicGetLanguagesOK, *PublicGetLanguagesBadRequest, error)
PublicGetLanguages lists languages
List languages.<br>Other detail info: <ul><li><i>Returns</i>: language list</li></ul>
func (*Client) PublicGetLanguagesShort ¶ added in v0.8.0
func (a *Client) PublicGetLanguagesShort(params *PublicGetLanguagesParams) (*PublicGetLanguagesOK, error)
func (*Client) PublicGetTime ¶ added in v0.7.0
func (a *Client) PublicGetTime(params *PublicGetTimeParams) (*PublicGetTimeOK, error)
PublicGetTime gets server time
Get server time
func (*Client) PublicGetTimeShort ¶ added in v0.8.0
func (a *Client) PublicGetTimeShort(params *PublicGetTimeParams) (*PublicGetTimeOK, error)
func (*Client) PublicGetTimeZones ¶
func (a *Client) PublicGetTimeZones(params *PublicGetTimeZonesParams) (*PublicGetTimeZonesOK, *PublicGetTimeZonesBadRequest, error)
PublicGetTimeZones lists time zones
List time zones.<br>Other detail info: <ul><li><i>Returns</i>: time zones</li></ul>
func (*Client) PublicGetTimeZonesShort ¶ added in v0.8.0
func (a *Client) PublicGetTimeZonesShort(params *PublicGetTimeZonesParams) (*PublicGetTimeZonesOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateCountryGroup ¶
func (a *Client) UpdateCountryGroup(params *UpdateCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCountryGroupOK, *UpdateCountryGroupBadRequest, *UpdateCountryGroupUnauthorized, *UpdateCountryGroupForbidden, *UpdateCountryGroupNotFound, error)
UpdateCountryGroup updates a country group
Update a country groups. The countryGroupCode must be exist beforehand.<br>Valid update behaviour :<br/>- To update <i>countryGroupName</i> only, do not include <i>countries</i> key or just specify it with empty array.<br/>- To update <i>countries</i> only, do not include <i>countryGroupName</i> key or just specify it with blank value.<br/>Other detail info: <ul><li><i>Required permission</i>: resource = <b>"ADMIN:NAMESPACE:{namespace}:MISC"</b>, action=4 <b>(UPDATE)</b></li><li><i>Action code</i>: 11202</li><li><i>Returns</i>: updated country group</li></ul>
func (*Client) UpdateCountryGroupShort ¶ added in v0.8.0
func (a *Client) UpdateCountryGroupShort(params *UpdateCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCountryGroupOK, error)
type ClientService ¶
type ClientService interface { AddCountryGroup(params *AddCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*AddCountryGroupCreated, *AddCountryGroupBadRequest, *AddCountryGroupUnauthorized, *AddCountryGroupForbidden, *AddCountryGroupConflict, error) AddCountryGroupShort(params *AddCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*AddCountryGroupCreated, error) DeleteCountryGroup(params *DeleteCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCountryGroupOK, *DeleteCountryGroupBadRequest, *DeleteCountryGroupUnauthorized, *DeleteCountryGroupForbidden, *DeleteCountryGroupNotFound, error) DeleteCountryGroupShort(params *DeleteCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCountryGroupOK, error) GetCountries(params *GetCountriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetCountriesOK, *GetCountriesBadRequest, *GetCountriesUnauthorized, error) GetCountriesShort(params *GetCountriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetCountriesOK, error) GetCountryGroups(params *GetCountryGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCountryGroupsOK, *GetCountryGroupsBadRequest, *GetCountryGroupsUnauthorized, *GetCountryGroupsForbidden, *GetCountryGroupsNotFound, error) GetCountryGroupsShort(params *GetCountryGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCountryGroupsOK, error) GetLanguages(params *GetLanguagesParams, authInfo runtime.ClientAuthInfoWriter) (*GetLanguagesOK, *GetLanguagesBadRequest, *GetLanguagesUnauthorized, error) GetLanguagesShort(params *GetLanguagesParams, authInfo runtime.ClientAuthInfoWriter) (*GetLanguagesOK, error) GetTimeZones(params *GetTimeZonesParams, authInfo runtime.ClientAuthInfoWriter) (*GetTimeZonesOK, *GetTimeZonesBadRequest, *GetTimeZonesUnauthorized, error) GetTimeZonesShort(params *GetTimeZonesParams, authInfo runtime.ClientAuthInfoWriter) (*GetTimeZonesOK, error) PublicGetCountries(params *PublicGetCountriesParams) (*PublicGetCountriesOK, *PublicGetCountriesBadRequest, error) PublicGetCountriesShort(params *PublicGetCountriesParams) (*PublicGetCountriesOK, error) PublicGetLanguages(params *PublicGetLanguagesParams) (*PublicGetLanguagesOK, *PublicGetLanguagesBadRequest, error) PublicGetLanguagesShort(params *PublicGetLanguagesParams) (*PublicGetLanguagesOK, error) PublicGetTime(params *PublicGetTimeParams) (*PublicGetTimeOK, error) PublicGetTimeShort(params *PublicGetTimeParams) (*PublicGetTimeOK, error) PublicGetTimeZones(params *PublicGetTimeZonesParams) (*PublicGetTimeZonesOK, *PublicGetTimeZonesBadRequest, error) PublicGetTimeZonesShort(params *PublicGetTimeZonesParams) (*PublicGetTimeZonesOK, error) UpdateCountryGroup(params *UpdateCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCountryGroupOK, *UpdateCountryGroupBadRequest, *UpdateCountryGroupUnauthorized, *UpdateCountryGroupForbidden, *UpdateCountryGroupNotFound, error) UpdateCountryGroupShort(params *UpdateCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCountryGroupOK, 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 misc API client.
type DeleteCountryGroupBadRequest ¶
type DeleteCountryGroupBadRequest struct {
Payload *basicclientmodels.ValidationErrorEntity
}
DeleteCountryGroupBadRequest 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 NewDeleteCountryGroupBadRequest ¶
func NewDeleteCountryGroupBadRequest() *DeleteCountryGroupBadRequest
NewDeleteCountryGroupBadRequest creates a DeleteCountryGroupBadRequest with default headers values
func (*DeleteCountryGroupBadRequest) Error ¶
func (o *DeleteCountryGroupBadRequest) Error() string
func (*DeleteCountryGroupBadRequest) GetPayload ¶
func (o *DeleteCountryGroupBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
type DeleteCountryGroupForbidden ¶
type DeleteCountryGroupForbidden struct {
Payload *basicclientmodels.ErrorEntity
}
DeleteCountryGroupForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewDeleteCountryGroupForbidden ¶
func NewDeleteCountryGroupForbidden() *DeleteCountryGroupForbidden
NewDeleteCountryGroupForbidden creates a DeleteCountryGroupForbidden with default headers values
func (*DeleteCountryGroupForbidden) Error ¶
func (o *DeleteCountryGroupForbidden) Error() string
func (*DeleteCountryGroupForbidden) GetPayload ¶
func (o *DeleteCountryGroupForbidden) GetPayload() *basicclientmodels.ErrorEntity
type DeleteCountryGroupNotFound ¶
type DeleteCountryGroupNotFound struct {
Payload *basicclientmodels.ErrorEntity
}
DeleteCountryGroupNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11233</td><td>Unable to {action}: Country group with code [{countryGroupCode}] is not found</td></tr></table>
func NewDeleteCountryGroupNotFound ¶
func NewDeleteCountryGroupNotFound() *DeleteCountryGroupNotFound
NewDeleteCountryGroupNotFound creates a DeleteCountryGroupNotFound with default headers values
func (*DeleteCountryGroupNotFound) Error ¶
func (o *DeleteCountryGroupNotFound) Error() string
func (*DeleteCountryGroupNotFound) GetPayload ¶
func (o *DeleteCountryGroupNotFound) GetPayload() *basicclientmodels.ErrorEntity
type DeleteCountryGroupOK ¶ added in v0.7.0
type DeleteCountryGroupOK struct { }
DeleteCountryGroupOK handles this case with default header values.
Successful operation
func NewDeleteCountryGroupOK ¶ added in v0.7.0
func NewDeleteCountryGroupOK() *DeleteCountryGroupOK
NewDeleteCountryGroupOK creates a DeleteCountryGroupOK with default headers values
func (*DeleteCountryGroupOK) Error ¶ added in v0.7.0
func (o *DeleteCountryGroupOK) Error() string
type DeleteCountryGroupParams ¶
type DeleteCountryGroupParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*CountryGroupCode groupCode, only accept alphabet and whitespace */ CountryGroupCode string /*Namespace namespace, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteCountryGroupParams contains all the parameters to send to the API endpoint for the delete country group operation typically these are written to a http.Request
func NewDeleteCountryGroupParams ¶
func NewDeleteCountryGroupParams() *DeleteCountryGroupParams
NewDeleteCountryGroupParams creates a new DeleteCountryGroupParams object with the default values initialized.
func NewDeleteCountryGroupParamsWithContext ¶
func NewDeleteCountryGroupParamsWithContext(ctx context.Context) *DeleteCountryGroupParams
NewDeleteCountryGroupParamsWithContext creates a new DeleteCountryGroupParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteCountryGroupParamsWithHTTPClient ¶
func NewDeleteCountryGroupParamsWithHTTPClient(client *http.Client) *DeleteCountryGroupParams
NewDeleteCountryGroupParamsWithHTTPClient creates a new DeleteCountryGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteCountryGroupParamsWithTimeout ¶
func NewDeleteCountryGroupParamsWithTimeout(timeout time.Duration) *DeleteCountryGroupParams
NewDeleteCountryGroupParamsWithTimeout creates a new DeleteCountryGroupParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteCountryGroupParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *DeleteCountryGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete country group params
func (*DeleteCountryGroupParams) SetContext ¶
func (o *DeleteCountryGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the delete country group params
func (*DeleteCountryGroupParams) SetCountryGroupCode ¶
func (o *DeleteCountryGroupParams) SetCountryGroupCode(countryGroupCode string)
SetCountryGroupCode adds the countryGroupCode to the delete country group params
func (*DeleteCountryGroupParams) SetHTTPClient ¶
func (o *DeleteCountryGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete country group params
func (*DeleteCountryGroupParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *DeleteCountryGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete country group params
func (*DeleteCountryGroupParams) SetNamespace ¶
func (o *DeleteCountryGroupParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete country group params
func (*DeleteCountryGroupParams) SetTimeout ¶
func (o *DeleteCountryGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete country group params
func (*DeleteCountryGroupParams) WithContext ¶
func (o *DeleteCountryGroupParams) WithContext(ctx context.Context) *DeleteCountryGroupParams
WithContext adds the context to the delete country group params
func (*DeleteCountryGroupParams) WithCountryGroupCode ¶
func (o *DeleteCountryGroupParams) WithCountryGroupCode(countryGroupCode string) *DeleteCountryGroupParams
WithCountryGroupCode adds the countryGroupCode to the delete country group params
func (*DeleteCountryGroupParams) WithHTTPClient ¶
func (o *DeleteCountryGroupParams) WithHTTPClient(client *http.Client) *DeleteCountryGroupParams
WithHTTPClient adds the HTTPClient to the delete country group params
func (*DeleteCountryGroupParams) WithNamespace ¶
func (o *DeleteCountryGroupParams) WithNamespace(namespace string) *DeleteCountryGroupParams
WithNamespace adds the namespace to the delete country group params
func (*DeleteCountryGroupParams) WithTimeout ¶
func (o *DeleteCountryGroupParams) WithTimeout(timeout time.Duration) *DeleteCountryGroupParams
WithTimeout adds the timeout to the delete country group params
func (*DeleteCountryGroupParams) WriteToRequest ¶
func (o *DeleteCountryGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteCountryGroupReader ¶
type DeleteCountryGroupReader struct {
// contains filtered or unexported fields
}
DeleteCountryGroupReader is a Reader for the DeleteCountryGroup structure.
func (*DeleteCountryGroupReader) ReadResponse ¶
func (o *DeleteCountryGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteCountryGroupUnauthorized ¶
type DeleteCountryGroupUnauthorized struct {
}DeleteCountryGroupUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>
func NewDeleteCountryGroupUnauthorized ¶
func NewDeleteCountryGroupUnauthorized() *DeleteCountryGroupUnauthorized
NewDeleteCountryGroupUnauthorized creates a DeleteCountryGroupUnauthorized with default headers values
func (*DeleteCountryGroupUnauthorized) Error ¶
func (o *DeleteCountryGroupUnauthorized) Error() string
func (*DeleteCountryGroupUnauthorized) GetPayload ¶
func (o *DeleteCountryGroupUnauthorized) GetPayload() *basicclientmodels.ErrorEntity
type GetCountriesBadRequest ¶
type GetCountriesBadRequest struct {
Payload *basicclientmodels.ValidationErrorEntity
}
GetCountriesBadRequest 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 NewGetCountriesBadRequest ¶
func NewGetCountriesBadRequest() *GetCountriesBadRequest
NewGetCountriesBadRequest creates a GetCountriesBadRequest with default headers values
func (*GetCountriesBadRequest) Error ¶
func (o *GetCountriesBadRequest) Error() string
func (*GetCountriesBadRequest) GetPayload ¶
func (o *GetCountriesBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
type GetCountriesOK ¶
type GetCountriesOK struct {
Payload []*basicclientmodels.CountryObject
}
GetCountriesOK handles this case with default header values.
successful operation
func NewGetCountriesOK ¶
func NewGetCountriesOK() *GetCountriesOK
NewGetCountriesOK creates a GetCountriesOK with default headers values
func (*GetCountriesOK) Error ¶
func (o *GetCountriesOK) Error() string
func (*GetCountriesOK) GetPayload ¶
func (o *GetCountriesOK) GetPayload() []*basicclientmodels.CountryObject
type GetCountriesParams ¶
type GetCountriesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Lang language value from language tag, allowed format: en, en-US */ Lang *string /*Namespace namespace, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCountriesParams contains all the parameters to send to the API endpoint for the get countries operation typically these are written to a http.Request
func NewGetCountriesParams ¶
func NewGetCountriesParams() *GetCountriesParams
NewGetCountriesParams creates a new GetCountriesParams object with the default values initialized.
func NewGetCountriesParamsWithContext ¶
func NewGetCountriesParamsWithContext(ctx context.Context) *GetCountriesParams
NewGetCountriesParamsWithContext creates a new GetCountriesParams object with the default values initialized, and the ability to set a context for a request
func NewGetCountriesParamsWithHTTPClient ¶
func NewGetCountriesParamsWithHTTPClient(client *http.Client) *GetCountriesParams
NewGetCountriesParamsWithHTTPClient creates a new GetCountriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetCountriesParamsWithTimeout ¶
func NewGetCountriesParamsWithTimeout(timeout time.Duration) *GetCountriesParams
NewGetCountriesParamsWithTimeout creates a new GetCountriesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetCountriesParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetCountriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get countries params
func (*GetCountriesParams) SetContext ¶
func (o *GetCountriesParams) SetContext(ctx context.Context)
SetContext adds the context to the get countries params
func (*GetCountriesParams) SetHTTPClient ¶
func (o *GetCountriesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get countries params
func (*GetCountriesParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetCountriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get countries params
func (*GetCountriesParams) SetLang ¶
func (o *GetCountriesParams) SetLang(lang *string)
SetLang adds the lang to the get countries params
func (*GetCountriesParams) SetNamespace ¶
func (o *GetCountriesParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get countries params
func (*GetCountriesParams) SetTimeout ¶
func (o *GetCountriesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get countries params
func (*GetCountriesParams) WithContext ¶
func (o *GetCountriesParams) WithContext(ctx context.Context) *GetCountriesParams
WithContext adds the context to the get countries params
func (*GetCountriesParams) WithHTTPClient ¶
func (o *GetCountriesParams) WithHTTPClient(client *http.Client) *GetCountriesParams
WithHTTPClient adds the HTTPClient to the get countries params
func (*GetCountriesParams) WithLang ¶
func (o *GetCountriesParams) WithLang(lang *string) *GetCountriesParams
WithLang adds the lang to the get countries params
func (*GetCountriesParams) WithNamespace ¶
func (o *GetCountriesParams) WithNamespace(namespace string) *GetCountriesParams
WithNamespace adds the namespace to the get countries params
func (*GetCountriesParams) WithTimeout ¶
func (o *GetCountriesParams) WithTimeout(timeout time.Duration) *GetCountriesParams
WithTimeout adds the timeout to the get countries params
func (*GetCountriesParams) WriteToRequest ¶
func (o *GetCountriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCountriesReader ¶
type GetCountriesReader struct {
// contains filtered or unexported fields
}
GetCountriesReader is a Reader for the GetCountries structure.
func (*GetCountriesReader) ReadResponse ¶
func (o *GetCountriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCountriesUnauthorized ¶
type GetCountriesUnauthorized struct {
}GetCountriesUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>
func NewGetCountriesUnauthorized ¶
func NewGetCountriesUnauthorized() *GetCountriesUnauthorized
NewGetCountriesUnauthorized creates a GetCountriesUnauthorized with default headers values
func (*GetCountriesUnauthorized) Error ¶
func (o *GetCountriesUnauthorized) Error() string
func (*GetCountriesUnauthorized) GetPayload ¶
func (o *GetCountriesUnauthorized) GetPayload() *basicclientmodels.ErrorEntity
type GetCountryGroupsBadRequest ¶
type GetCountryGroupsBadRequest struct {
Payload *basicclientmodels.ValidationErrorEntity
}
GetCountryGroupsBadRequest 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 NewGetCountryGroupsBadRequest ¶
func NewGetCountryGroupsBadRequest() *GetCountryGroupsBadRequest
NewGetCountryGroupsBadRequest creates a GetCountryGroupsBadRequest with default headers values
func (*GetCountryGroupsBadRequest) Error ¶
func (o *GetCountryGroupsBadRequest) Error() string
func (*GetCountryGroupsBadRequest) GetPayload ¶
func (o *GetCountryGroupsBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
type GetCountryGroupsForbidden ¶
type GetCountryGroupsForbidden struct {
Payload *basicclientmodels.ErrorEntity
}
GetCountryGroupsForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewGetCountryGroupsForbidden ¶
func NewGetCountryGroupsForbidden() *GetCountryGroupsForbidden
NewGetCountryGroupsForbidden creates a GetCountryGroupsForbidden with default headers values
func (*GetCountryGroupsForbidden) Error ¶
func (o *GetCountryGroupsForbidden) Error() string
func (*GetCountryGroupsForbidden) GetPayload ¶
func (o *GetCountryGroupsForbidden) GetPayload() *basicclientmodels.ErrorEntity
type GetCountryGroupsNotFound ¶
type GetCountryGroupsNotFound struct {
Payload *basicclientmodels.ErrorEntity
}
GetCountryGroupsNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11233</td><td>Unable to {action}: Country group with code [{countryGroupCode}] is not found</td></tr></table>
func NewGetCountryGroupsNotFound ¶
func NewGetCountryGroupsNotFound() *GetCountryGroupsNotFound
NewGetCountryGroupsNotFound creates a GetCountryGroupsNotFound with default headers values
func (*GetCountryGroupsNotFound) Error ¶
func (o *GetCountryGroupsNotFound) Error() string
func (*GetCountryGroupsNotFound) GetPayload ¶
func (o *GetCountryGroupsNotFound) GetPayload() *basicclientmodels.ErrorEntity
type GetCountryGroupsOK ¶
type GetCountryGroupsOK struct {
Payload []*basicclientmodels.RetrieveCountryGroupResponse
}
GetCountryGroupsOK handles this case with default header values.
successful operation
func NewGetCountryGroupsOK ¶
func NewGetCountryGroupsOK() *GetCountryGroupsOK
NewGetCountryGroupsOK creates a GetCountryGroupsOK with default headers values
func (*GetCountryGroupsOK) Error ¶
func (o *GetCountryGroupsOK) Error() string
func (*GetCountryGroupsOK) GetPayload ¶
func (o *GetCountryGroupsOK) GetPayload() []*basicclientmodels.RetrieveCountryGroupResponse
type GetCountryGroupsParams ¶
type GetCountryGroupsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*GroupCode groupCode, only accept alphabet and whitespace */ GroupCode *string /*Namespace namespace, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCountryGroupsParams contains all the parameters to send to the API endpoint for the get country groups operation typically these are written to a http.Request
func NewGetCountryGroupsParams ¶
func NewGetCountryGroupsParams() *GetCountryGroupsParams
NewGetCountryGroupsParams creates a new GetCountryGroupsParams object with the default values initialized.
func NewGetCountryGroupsParamsWithContext ¶
func NewGetCountryGroupsParamsWithContext(ctx context.Context) *GetCountryGroupsParams
NewGetCountryGroupsParamsWithContext creates a new GetCountryGroupsParams object with the default values initialized, and the ability to set a context for a request
func NewGetCountryGroupsParamsWithHTTPClient ¶
func NewGetCountryGroupsParamsWithHTTPClient(client *http.Client) *GetCountryGroupsParams
NewGetCountryGroupsParamsWithHTTPClient creates a new GetCountryGroupsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetCountryGroupsParamsWithTimeout ¶
func NewGetCountryGroupsParamsWithTimeout(timeout time.Duration) *GetCountryGroupsParams
NewGetCountryGroupsParamsWithTimeout creates a new GetCountryGroupsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetCountryGroupsParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetCountryGroupsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get country groups params
func (*GetCountryGroupsParams) SetContext ¶
func (o *GetCountryGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the get country groups params
func (*GetCountryGroupsParams) SetGroupCode ¶
func (o *GetCountryGroupsParams) SetGroupCode(groupCode *string)
SetGroupCode adds the groupCode to the get country groups params
func (*GetCountryGroupsParams) SetHTTPClient ¶
func (o *GetCountryGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get country groups params
func (*GetCountryGroupsParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetCountryGroupsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get country groups params
func (*GetCountryGroupsParams) SetNamespace ¶
func (o *GetCountryGroupsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get country groups params
func (*GetCountryGroupsParams) SetTimeout ¶
func (o *GetCountryGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get country groups params
func (*GetCountryGroupsParams) WithContext ¶
func (o *GetCountryGroupsParams) WithContext(ctx context.Context) *GetCountryGroupsParams
WithContext adds the context to the get country groups params
func (*GetCountryGroupsParams) WithGroupCode ¶
func (o *GetCountryGroupsParams) WithGroupCode(groupCode *string) *GetCountryGroupsParams
WithGroupCode adds the groupCode to the get country groups params
func (*GetCountryGroupsParams) WithHTTPClient ¶
func (o *GetCountryGroupsParams) WithHTTPClient(client *http.Client) *GetCountryGroupsParams
WithHTTPClient adds the HTTPClient to the get country groups params
func (*GetCountryGroupsParams) WithNamespace ¶
func (o *GetCountryGroupsParams) WithNamespace(namespace string) *GetCountryGroupsParams
WithNamespace adds the namespace to the get country groups params
func (*GetCountryGroupsParams) WithTimeout ¶
func (o *GetCountryGroupsParams) WithTimeout(timeout time.Duration) *GetCountryGroupsParams
WithTimeout adds the timeout to the get country groups params
func (*GetCountryGroupsParams) WriteToRequest ¶
func (o *GetCountryGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCountryGroupsReader ¶
type GetCountryGroupsReader struct {
// contains filtered or unexported fields
}
GetCountryGroupsReader is a Reader for the GetCountryGroups structure.
func (*GetCountryGroupsReader) ReadResponse ¶
func (o *GetCountryGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCountryGroupsUnauthorized ¶
type GetCountryGroupsUnauthorized struct {
}GetCountryGroupsUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>
func NewGetCountryGroupsUnauthorized ¶
func NewGetCountryGroupsUnauthorized() *GetCountryGroupsUnauthorized
NewGetCountryGroupsUnauthorized creates a GetCountryGroupsUnauthorized with default headers values
func (*GetCountryGroupsUnauthorized) Error ¶
func (o *GetCountryGroupsUnauthorized) Error() string
func (*GetCountryGroupsUnauthorized) GetPayload ¶
func (o *GetCountryGroupsUnauthorized) GetPayload() *basicclientmodels.ErrorEntity
type GetLanguagesBadRequest ¶
type GetLanguagesBadRequest struct {
Payload *basicclientmodels.ValidationErrorEntity
}
GetLanguagesBadRequest 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 NewGetLanguagesBadRequest ¶
func NewGetLanguagesBadRequest() *GetLanguagesBadRequest
NewGetLanguagesBadRequest creates a GetLanguagesBadRequest with default headers values
func (*GetLanguagesBadRequest) Error ¶
func (o *GetLanguagesBadRequest) Error() string
func (*GetLanguagesBadRequest) GetPayload ¶
func (o *GetLanguagesBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
type GetLanguagesOK ¶
type GetLanguagesOK struct {
Payload map[string]interface{}
}
GetLanguagesOK handles this case with default header values.
successful operation
func NewGetLanguagesOK ¶
func NewGetLanguagesOK() *GetLanguagesOK
NewGetLanguagesOK creates a GetLanguagesOK with default headers values
func (*GetLanguagesOK) Error ¶
func (o *GetLanguagesOK) Error() string
func (*GetLanguagesOK) GetPayload ¶
func (o *GetLanguagesOK) GetPayload() map[string]interface{}
type GetLanguagesParams ¶
type GetLanguagesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLanguagesParams contains all the parameters to send to the API endpoint for the get languages operation typically these are written to a http.Request
func NewGetLanguagesParams ¶
func NewGetLanguagesParams() *GetLanguagesParams
NewGetLanguagesParams creates a new GetLanguagesParams object with the default values initialized.
func NewGetLanguagesParamsWithContext ¶
func NewGetLanguagesParamsWithContext(ctx context.Context) *GetLanguagesParams
NewGetLanguagesParamsWithContext creates a new GetLanguagesParams object with the default values initialized, and the ability to set a context for a request
func NewGetLanguagesParamsWithHTTPClient ¶
func NewGetLanguagesParamsWithHTTPClient(client *http.Client) *GetLanguagesParams
NewGetLanguagesParamsWithHTTPClient creates a new GetLanguagesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetLanguagesParamsWithTimeout ¶
func NewGetLanguagesParamsWithTimeout(timeout time.Duration) *GetLanguagesParams
NewGetLanguagesParamsWithTimeout creates a new GetLanguagesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetLanguagesParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetLanguagesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get languages params
func (*GetLanguagesParams) SetContext ¶
func (o *GetLanguagesParams) SetContext(ctx context.Context)
SetContext adds the context to the get languages params
func (*GetLanguagesParams) SetHTTPClient ¶
func (o *GetLanguagesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get languages params
func (*GetLanguagesParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetLanguagesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get languages params
func (*GetLanguagesParams) SetNamespace ¶
func (o *GetLanguagesParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get languages params
func (*GetLanguagesParams) SetTimeout ¶
func (o *GetLanguagesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get languages params
func (*GetLanguagesParams) WithContext ¶
func (o *GetLanguagesParams) WithContext(ctx context.Context) *GetLanguagesParams
WithContext adds the context to the get languages params
func (*GetLanguagesParams) WithHTTPClient ¶
func (o *GetLanguagesParams) WithHTTPClient(client *http.Client) *GetLanguagesParams
WithHTTPClient adds the HTTPClient to the get languages params
func (*GetLanguagesParams) WithNamespace ¶
func (o *GetLanguagesParams) WithNamespace(namespace string) *GetLanguagesParams
WithNamespace adds the namespace to the get languages params
func (*GetLanguagesParams) WithTimeout ¶
func (o *GetLanguagesParams) WithTimeout(timeout time.Duration) *GetLanguagesParams
WithTimeout adds the timeout to the get languages params
func (*GetLanguagesParams) WriteToRequest ¶
func (o *GetLanguagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLanguagesReader ¶
type GetLanguagesReader struct {
// contains filtered or unexported fields
}
GetLanguagesReader is a Reader for the GetLanguages structure.
func (*GetLanguagesReader) ReadResponse ¶
func (o *GetLanguagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLanguagesUnauthorized ¶
type GetLanguagesUnauthorized struct {
}GetLanguagesUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>
func NewGetLanguagesUnauthorized ¶
func NewGetLanguagesUnauthorized() *GetLanguagesUnauthorized
NewGetLanguagesUnauthorized creates a GetLanguagesUnauthorized with default headers values
func (*GetLanguagesUnauthorized) Error ¶
func (o *GetLanguagesUnauthorized) Error() string
func (*GetLanguagesUnauthorized) GetPayload ¶
func (o *GetLanguagesUnauthorized) GetPayload() *basicclientmodels.ErrorEntity
type GetTimeZonesBadRequest ¶
type GetTimeZonesBadRequest struct {
Payload *basicclientmodels.ValidationErrorEntity
}
GetTimeZonesBadRequest 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 NewGetTimeZonesBadRequest ¶
func NewGetTimeZonesBadRequest() *GetTimeZonesBadRequest
NewGetTimeZonesBadRequest creates a GetTimeZonesBadRequest with default headers values
func (*GetTimeZonesBadRequest) Error ¶
func (o *GetTimeZonesBadRequest) Error() string
func (*GetTimeZonesBadRequest) GetPayload ¶
func (o *GetTimeZonesBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
type GetTimeZonesOK ¶
type GetTimeZonesOK struct {
Payload []string
}
GetTimeZonesOK handles this case with default header values.
successful operation
func NewGetTimeZonesOK ¶
func NewGetTimeZonesOK() *GetTimeZonesOK
NewGetTimeZonesOK creates a GetTimeZonesOK with default headers values
func (*GetTimeZonesOK) Error ¶
func (o *GetTimeZonesOK) Error() string
func (*GetTimeZonesOK) GetPayload ¶
func (o *GetTimeZonesOK) GetPayload() []string
type GetTimeZonesParams ¶
type GetTimeZonesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTimeZonesParams contains all the parameters to send to the API endpoint for the get time zones operation typically these are written to a http.Request
func NewGetTimeZonesParams ¶
func NewGetTimeZonesParams() *GetTimeZonesParams
NewGetTimeZonesParams creates a new GetTimeZonesParams object with the default values initialized.
func NewGetTimeZonesParamsWithContext ¶
func NewGetTimeZonesParamsWithContext(ctx context.Context) *GetTimeZonesParams
NewGetTimeZonesParamsWithContext creates a new GetTimeZonesParams object with the default values initialized, and the ability to set a context for a request
func NewGetTimeZonesParamsWithHTTPClient ¶
func NewGetTimeZonesParamsWithHTTPClient(client *http.Client) *GetTimeZonesParams
NewGetTimeZonesParamsWithHTTPClient creates a new GetTimeZonesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetTimeZonesParamsWithTimeout ¶
func NewGetTimeZonesParamsWithTimeout(timeout time.Duration) *GetTimeZonesParams
NewGetTimeZonesParamsWithTimeout creates a new GetTimeZonesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetTimeZonesParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetTimeZonesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get time zones params
func (*GetTimeZonesParams) SetContext ¶
func (o *GetTimeZonesParams) SetContext(ctx context.Context)
SetContext adds the context to the get time zones params
func (*GetTimeZonesParams) SetHTTPClient ¶
func (o *GetTimeZonesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get time zones params
func (*GetTimeZonesParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetTimeZonesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get time zones params
func (*GetTimeZonesParams) SetNamespace ¶
func (o *GetTimeZonesParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get time zones params
func (*GetTimeZonesParams) SetTimeout ¶
func (o *GetTimeZonesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get time zones params
func (*GetTimeZonesParams) WithContext ¶
func (o *GetTimeZonesParams) WithContext(ctx context.Context) *GetTimeZonesParams
WithContext adds the context to the get time zones params
func (*GetTimeZonesParams) WithHTTPClient ¶
func (o *GetTimeZonesParams) WithHTTPClient(client *http.Client) *GetTimeZonesParams
WithHTTPClient adds the HTTPClient to the get time zones params
func (*GetTimeZonesParams) WithNamespace ¶
func (o *GetTimeZonesParams) WithNamespace(namespace string) *GetTimeZonesParams
WithNamespace adds the namespace to the get time zones params
func (*GetTimeZonesParams) WithTimeout ¶
func (o *GetTimeZonesParams) WithTimeout(timeout time.Duration) *GetTimeZonesParams
WithTimeout adds the timeout to the get time zones params
func (*GetTimeZonesParams) WriteToRequest ¶
func (o *GetTimeZonesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTimeZonesReader ¶
type GetTimeZonesReader struct {
// contains filtered or unexported fields
}
GetTimeZonesReader is a Reader for the GetTimeZones structure.
func (*GetTimeZonesReader) ReadResponse ¶
func (o *GetTimeZonesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTimeZonesUnauthorized ¶
type GetTimeZonesUnauthorized struct {
}GetTimeZonesUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>
func NewGetTimeZonesUnauthorized ¶
func NewGetTimeZonesUnauthorized() *GetTimeZonesUnauthorized
NewGetTimeZonesUnauthorized creates a GetTimeZonesUnauthorized with default headers values
func (*GetTimeZonesUnauthorized) Error ¶
func (o *GetTimeZonesUnauthorized) Error() string
func (*GetTimeZonesUnauthorized) GetPayload ¶
func (o *GetTimeZonesUnauthorized) GetPayload() *basicclientmodels.ErrorEntity
type PublicGetCountriesBadRequest ¶
type PublicGetCountriesBadRequest struct {
Payload *basicclientmodels.ValidationErrorEntity
}
PublicGetCountriesBadRequest 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 NewPublicGetCountriesBadRequest ¶
func NewPublicGetCountriesBadRequest() *PublicGetCountriesBadRequest
NewPublicGetCountriesBadRequest creates a PublicGetCountriesBadRequest with default headers values
func (*PublicGetCountriesBadRequest) Error ¶
func (o *PublicGetCountriesBadRequest) Error() string
func (*PublicGetCountriesBadRequest) GetPayload ¶
func (o *PublicGetCountriesBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
type PublicGetCountriesOK ¶
type PublicGetCountriesOK struct {
Payload []*basicclientmodels.CountryObject
}
PublicGetCountriesOK handles this case with default header values.
successful operation
func NewPublicGetCountriesOK ¶
func NewPublicGetCountriesOK() *PublicGetCountriesOK
NewPublicGetCountriesOK creates a PublicGetCountriesOK with default headers values
func (*PublicGetCountriesOK) Error ¶
func (o *PublicGetCountriesOK) Error() string
func (*PublicGetCountriesOK) GetPayload ¶
func (o *PublicGetCountriesOK) GetPayload() []*basicclientmodels.CountryObject
type PublicGetCountriesParams ¶
type PublicGetCountriesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Lang language value from language tag, allowed format: en, en-US */ Lang *string /*Namespace namespace, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicGetCountriesParams contains all the parameters to send to the API endpoint for the public get countries operation typically these are written to a http.Request
func NewPublicGetCountriesParams ¶
func NewPublicGetCountriesParams() *PublicGetCountriesParams
NewPublicGetCountriesParams creates a new PublicGetCountriesParams object with the default values initialized.
func NewPublicGetCountriesParamsWithContext ¶
func NewPublicGetCountriesParamsWithContext(ctx context.Context) *PublicGetCountriesParams
NewPublicGetCountriesParamsWithContext creates a new PublicGetCountriesParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetCountriesParamsWithHTTPClient ¶
func NewPublicGetCountriesParamsWithHTTPClient(client *http.Client) *PublicGetCountriesParams
NewPublicGetCountriesParamsWithHTTPClient creates a new PublicGetCountriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetCountriesParamsWithTimeout ¶
func NewPublicGetCountriesParamsWithTimeout(timeout time.Duration) *PublicGetCountriesParams
NewPublicGetCountriesParamsWithTimeout creates a new PublicGetCountriesParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetCountriesParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublicGetCountriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get countries params
func (*PublicGetCountriesParams) SetContext ¶
func (o *PublicGetCountriesParams) SetContext(ctx context.Context)
SetContext adds the context to the public get countries params
func (*PublicGetCountriesParams) SetHTTPClient ¶
func (o *PublicGetCountriesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get countries params
func (*PublicGetCountriesParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicGetCountriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get countries params
func (*PublicGetCountriesParams) SetLang ¶
func (o *PublicGetCountriesParams) SetLang(lang *string)
SetLang adds the lang to the public get countries params
func (*PublicGetCountriesParams) SetNamespace ¶
func (o *PublicGetCountriesParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get countries params
func (*PublicGetCountriesParams) SetTimeout ¶
func (o *PublicGetCountriesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get countries params
func (*PublicGetCountriesParams) WithContext ¶
func (o *PublicGetCountriesParams) WithContext(ctx context.Context) *PublicGetCountriesParams
WithContext adds the context to the public get countries params
func (*PublicGetCountriesParams) WithHTTPClient ¶
func (o *PublicGetCountriesParams) WithHTTPClient(client *http.Client) *PublicGetCountriesParams
WithHTTPClient adds the HTTPClient to the public get countries params
func (*PublicGetCountriesParams) WithLang ¶
func (o *PublicGetCountriesParams) WithLang(lang *string) *PublicGetCountriesParams
WithLang adds the lang to the public get countries params
func (*PublicGetCountriesParams) WithNamespace ¶
func (o *PublicGetCountriesParams) WithNamespace(namespace string) *PublicGetCountriesParams
WithNamespace adds the namespace to the public get countries params
func (*PublicGetCountriesParams) WithTimeout ¶
func (o *PublicGetCountriesParams) WithTimeout(timeout time.Duration) *PublicGetCountriesParams
WithTimeout adds the timeout to the public get countries params
func (*PublicGetCountriesParams) WriteToRequest ¶
func (o *PublicGetCountriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetCountriesReader ¶
type PublicGetCountriesReader struct {
// contains filtered or unexported fields
}
PublicGetCountriesReader is a Reader for the PublicGetCountries structure.
func (*PublicGetCountriesReader) ReadResponse ¶
func (o *PublicGetCountriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetLanguagesBadRequest ¶
type PublicGetLanguagesBadRequest struct {
Payload *basicclientmodels.ValidationErrorEntity
}
PublicGetLanguagesBadRequest 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 NewPublicGetLanguagesBadRequest ¶
func NewPublicGetLanguagesBadRequest() *PublicGetLanguagesBadRequest
NewPublicGetLanguagesBadRequest creates a PublicGetLanguagesBadRequest with default headers values
func (*PublicGetLanguagesBadRequest) Error ¶
func (o *PublicGetLanguagesBadRequest) Error() string
func (*PublicGetLanguagesBadRequest) GetPayload ¶
func (o *PublicGetLanguagesBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
type PublicGetLanguagesOK ¶
type PublicGetLanguagesOK struct {
Payload map[string]interface{}
}
PublicGetLanguagesOK handles this case with default header values.
successful operation
func NewPublicGetLanguagesOK ¶
func NewPublicGetLanguagesOK() *PublicGetLanguagesOK
NewPublicGetLanguagesOK creates a PublicGetLanguagesOK with default headers values
func (*PublicGetLanguagesOK) Error ¶
func (o *PublicGetLanguagesOK) Error() string
func (*PublicGetLanguagesOK) GetPayload ¶
func (o *PublicGetLanguagesOK) GetPayload() map[string]interface{}
type PublicGetLanguagesParams ¶
type PublicGetLanguagesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicGetLanguagesParams contains all the parameters to send to the API endpoint for the public get languages operation typically these are written to a http.Request
func NewPublicGetLanguagesParams ¶
func NewPublicGetLanguagesParams() *PublicGetLanguagesParams
NewPublicGetLanguagesParams creates a new PublicGetLanguagesParams object with the default values initialized.
func NewPublicGetLanguagesParamsWithContext ¶
func NewPublicGetLanguagesParamsWithContext(ctx context.Context) *PublicGetLanguagesParams
NewPublicGetLanguagesParamsWithContext creates a new PublicGetLanguagesParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetLanguagesParamsWithHTTPClient ¶
func NewPublicGetLanguagesParamsWithHTTPClient(client *http.Client) *PublicGetLanguagesParams
NewPublicGetLanguagesParamsWithHTTPClient creates a new PublicGetLanguagesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetLanguagesParamsWithTimeout ¶
func NewPublicGetLanguagesParamsWithTimeout(timeout time.Duration) *PublicGetLanguagesParams
NewPublicGetLanguagesParamsWithTimeout creates a new PublicGetLanguagesParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetLanguagesParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublicGetLanguagesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get languages params
func (*PublicGetLanguagesParams) SetContext ¶
func (o *PublicGetLanguagesParams) SetContext(ctx context.Context)
SetContext adds the context to the public get languages params
func (*PublicGetLanguagesParams) SetHTTPClient ¶
func (o *PublicGetLanguagesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get languages params
func (*PublicGetLanguagesParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicGetLanguagesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get languages params
func (*PublicGetLanguagesParams) SetNamespace ¶
func (o *PublicGetLanguagesParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get languages params
func (*PublicGetLanguagesParams) SetTimeout ¶
func (o *PublicGetLanguagesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get languages params
func (*PublicGetLanguagesParams) WithContext ¶
func (o *PublicGetLanguagesParams) WithContext(ctx context.Context) *PublicGetLanguagesParams
WithContext adds the context to the public get languages params
func (*PublicGetLanguagesParams) WithHTTPClient ¶
func (o *PublicGetLanguagesParams) WithHTTPClient(client *http.Client) *PublicGetLanguagesParams
WithHTTPClient adds the HTTPClient to the public get languages params
func (*PublicGetLanguagesParams) WithNamespace ¶
func (o *PublicGetLanguagesParams) WithNamespace(namespace string) *PublicGetLanguagesParams
WithNamespace adds the namespace to the public get languages params
func (*PublicGetLanguagesParams) WithTimeout ¶
func (o *PublicGetLanguagesParams) WithTimeout(timeout time.Duration) *PublicGetLanguagesParams
WithTimeout adds the timeout to the public get languages params
func (*PublicGetLanguagesParams) WriteToRequest ¶
func (o *PublicGetLanguagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetLanguagesReader ¶
type PublicGetLanguagesReader struct {
// contains filtered or unexported fields
}
PublicGetLanguagesReader is a Reader for the PublicGetLanguages structure.
func (*PublicGetLanguagesReader) ReadResponse ¶
func (o *PublicGetLanguagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetTimeOK ¶ added in v0.7.0
type PublicGetTimeOK struct {
Payload *basicclientmodels.RetrieveTimeResponse
}
PublicGetTimeOK handles this case with default header values.
Success retrieve server time
func NewPublicGetTimeOK ¶ added in v0.7.0
func NewPublicGetTimeOK() *PublicGetTimeOK
NewPublicGetTimeOK creates a PublicGetTimeOK with default headers values
func (*PublicGetTimeOK) Error ¶ added in v0.7.0
func (o *PublicGetTimeOK) Error() string
func (*PublicGetTimeOK) GetPayload ¶ added in v0.7.0
func (o *PublicGetTimeOK) GetPayload() *basicclientmodels.RetrieveTimeResponse
type PublicGetTimeParams ¶ added in v0.7.0
type PublicGetTimeParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicGetTimeParams contains all the parameters to send to the API endpoint for the public get time operation typically these are written to a http.Request
func NewPublicGetTimeParams ¶ added in v0.7.0
func NewPublicGetTimeParams() *PublicGetTimeParams
NewPublicGetTimeParams creates a new PublicGetTimeParams object with the default values initialized.
func NewPublicGetTimeParamsWithContext ¶ added in v0.7.0
func NewPublicGetTimeParamsWithContext(ctx context.Context) *PublicGetTimeParams
NewPublicGetTimeParamsWithContext creates a new PublicGetTimeParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetTimeParamsWithHTTPClient ¶ added in v0.7.0
func NewPublicGetTimeParamsWithHTTPClient(client *http.Client) *PublicGetTimeParams
NewPublicGetTimeParamsWithHTTPClient creates a new PublicGetTimeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetTimeParamsWithTimeout ¶ added in v0.7.0
func NewPublicGetTimeParamsWithTimeout(timeout time.Duration) *PublicGetTimeParams
NewPublicGetTimeParamsWithTimeout creates a new PublicGetTimeParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetTimeParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublicGetTimeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get time params
func (*PublicGetTimeParams) SetContext ¶ added in v0.7.0
func (o *PublicGetTimeParams) SetContext(ctx context.Context)
SetContext adds the context to the public get time params
func (*PublicGetTimeParams) SetHTTPClient ¶ added in v0.7.0
func (o *PublicGetTimeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get time params
func (*PublicGetTimeParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicGetTimeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get time params
func (*PublicGetTimeParams) SetTimeout ¶ added in v0.7.0
func (o *PublicGetTimeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get time params
func (*PublicGetTimeParams) WithContext ¶ added in v0.7.0
func (o *PublicGetTimeParams) WithContext(ctx context.Context) *PublicGetTimeParams
WithContext adds the context to the public get time params
func (*PublicGetTimeParams) WithHTTPClient ¶ added in v0.7.0
func (o *PublicGetTimeParams) WithHTTPClient(client *http.Client) *PublicGetTimeParams
WithHTTPClient adds the HTTPClient to the public get time params
func (*PublicGetTimeParams) WithTimeout ¶ added in v0.7.0
func (o *PublicGetTimeParams) WithTimeout(timeout time.Duration) *PublicGetTimeParams
WithTimeout adds the timeout to the public get time params
func (*PublicGetTimeParams) WriteToRequest ¶ added in v0.7.0
func (o *PublicGetTimeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetTimeReader ¶ added in v0.7.0
type PublicGetTimeReader struct {
// contains filtered or unexported fields
}
PublicGetTimeReader is a Reader for the PublicGetTime structure.
func (*PublicGetTimeReader) ReadResponse ¶ added in v0.7.0
func (o *PublicGetTimeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetTimeZonesBadRequest ¶
type PublicGetTimeZonesBadRequest struct {
Payload *basicclientmodels.ValidationErrorEntity
}
PublicGetTimeZonesBadRequest 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 NewPublicGetTimeZonesBadRequest ¶
func NewPublicGetTimeZonesBadRequest() *PublicGetTimeZonesBadRequest
NewPublicGetTimeZonesBadRequest creates a PublicGetTimeZonesBadRequest with default headers values
func (*PublicGetTimeZonesBadRequest) Error ¶
func (o *PublicGetTimeZonesBadRequest) Error() string
func (*PublicGetTimeZonesBadRequest) GetPayload ¶
func (o *PublicGetTimeZonesBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
type PublicGetTimeZonesOK ¶
type PublicGetTimeZonesOK struct {
Payload []string
}
PublicGetTimeZonesOK handles this case with default header values.
successful operation
func NewPublicGetTimeZonesOK ¶
func NewPublicGetTimeZonesOK() *PublicGetTimeZonesOK
NewPublicGetTimeZonesOK creates a PublicGetTimeZonesOK with default headers values
func (*PublicGetTimeZonesOK) Error ¶
func (o *PublicGetTimeZonesOK) Error() string
func (*PublicGetTimeZonesOK) GetPayload ¶
func (o *PublicGetTimeZonesOK) GetPayload() []string
type PublicGetTimeZonesParams ¶
type PublicGetTimeZonesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicGetTimeZonesParams contains all the parameters to send to the API endpoint for the public get time zones operation typically these are written to a http.Request
func NewPublicGetTimeZonesParams ¶
func NewPublicGetTimeZonesParams() *PublicGetTimeZonesParams
NewPublicGetTimeZonesParams creates a new PublicGetTimeZonesParams object with the default values initialized.
func NewPublicGetTimeZonesParamsWithContext ¶
func NewPublicGetTimeZonesParamsWithContext(ctx context.Context) *PublicGetTimeZonesParams
NewPublicGetTimeZonesParamsWithContext creates a new PublicGetTimeZonesParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetTimeZonesParamsWithHTTPClient ¶
func NewPublicGetTimeZonesParamsWithHTTPClient(client *http.Client) *PublicGetTimeZonesParams
NewPublicGetTimeZonesParamsWithHTTPClient creates a new PublicGetTimeZonesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetTimeZonesParamsWithTimeout ¶
func NewPublicGetTimeZonesParamsWithTimeout(timeout time.Duration) *PublicGetTimeZonesParams
NewPublicGetTimeZonesParamsWithTimeout creates a new PublicGetTimeZonesParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetTimeZonesParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublicGetTimeZonesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get time zones params
func (*PublicGetTimeZonesParams) SetContext ¶
func (o *PublicGetTimeZonesParams) SetContext(ctx context.Context)
SetContext adds the context to the public get time zones params
func (*PublicGetTimeZonesParams) SetHTTPClient ¶
func (o *PublicGetTimeZonesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get time zones params
func (*PublicGetTimeZonesParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicGetTimeZonesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get time zones params
func (*PublicGetTimeZonesParams) SetNamespace ¶
func (o *PublicGetTimeZonesParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get time zones params
func (*PublicGetTimeZonesParams) SetTimeout ¶
func (o *PublicGetTimeZonesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get time zones params
func (*PublicGetTimeZonesParams) WithContext ¶
func (o *PublicGetTimeZonesParams) WithContext(ctx context.Context) *PublicGetTimeZonesParams
WithContext adds the context to the public get time zones params
func (*PublicGetTimeZonesParams) WithHTTPClient ¶
func (o *PublicGetTimeZonesParams) WithHTTPClient(client *http.Client) *PublicGetTimeZonesParams
WithHTTPClient adds the HTTPClient to the public get time zones params
func (*PublicGetTimeZonesParams) WithNamespace ¶
func (o *PublicGetTimeZonesParams) WithNamespace(namespace string) *PublicGetTimeZonesParams
WithNamespace adds the namespace to the public get time zones params
func (*PublicGetTimeZonesParams) WithTimeout ¶
func (o *PublicGetTimeZonesParams) WithTimeout(timeout time.Duration) *PublicGetTimeZonesParams
WithTimeout adds the timeout to the public get time zones params
func (*PublicGetTimeZonesParams) WriteToRequest ¶
func (o *PublicGetTimeZonesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetTimeZonesReader ¶
type PublicGetTimeZonesReader struct {
// contains filtered or unexported fields
}
PublicGetTimeZonesReader is a Reader for the PublicGetTimeZones structure.
func (*PublicGetTimeZonesReader) ReadResponse ¶
func (o *PublicGetTimeZonesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateCountryGroupBadRequest ¶
type UpdateCountryGroupBadRequest struct {
Payload *basicclientmodels.ValidationErrorEntity
}
UpdateCountryGroupBadRequest 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><tr><td>20019</td><td>unable to parse request body</td></tr><tr><td>11234</td><td>Unable to {action}: A country can't be assigned to more than one country group</td></tr></table>
func NewUpdateCountryGroupBadRequest ¶
func NewUpdateCountryGroupBadRequest() *UpdateCountryGroupBadRequest
NewUpdateCountryGroupBadRequest creates a UpdateCountryGroupBadRequest with default headers values
func (*UpdateCountryGroupBadRequest) Error ¶
func (o *UpdateCountryGroupBadRequest) Error() string
func (*UpdateCountryGroupBadRequest) GetPayload ¶
func (o *UpdateCountryGroupBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
type UpdateCountryGroupForbidden ¶
type UpdateCountryGroupForbidden struct {
Payload *basicclientmodels.ErrorEntity
}
UpdateCountryGroupForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewUpdateCountryGroupForbidden ¶
func NewUpdateCountryGroupForbidden() *UpdateCountryGroupForbidden
NewUpdateCountryGroupForbidden creates a UpdateCountryGroupForbidden with default headers values
func (*UpdateCountryGroupForbidden) Error ¶
func (o *UpdateCountryGroupForbidden) Error() string
func (*UpdateCountryGroupForbidden) GetPayload ¶
func (o *UpdateCountryGroupForbidden) GetPayload() *basicclientmodels.ErrorEntity
type UpdateCountryGroupNotFound ¶
type UpdateCountryGroupNotFound struct {
Payload *basicclientmodels.ErrorEntity
}
UpdateCountryGroupNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11233</td><td>Unable to {action}: Country group with code [{countryGroupCode}] is not found</td></tr></table>
func NewUpdateCountryGroupNotFound ¶
func NewUpdateCountryGroupNotFound() *UpdateCountryGroupNotFound
NewUpdateCountryGroupNotFound creates a UpdateCountryGroupNotFound with default headers values
func (*UpdateCountryGroupNotFound) Error ¶
func (o *UpdateCountryGroupNotFound) Error() string
func (*UpdateCountryGroupNotFound) GetPayload ¶
func (o *UpdateCountryGroupNotFound) GetPayload() *basicclientmodels.ErrorEntity
type UpdateCountryGroupOK ¶
type UpdateCountryGroupOK struct {
Payload *basicclientmodels.CountryGroupObject
}
UpdateCountryGroupOK handles this case with default header values.
successful operation
func NewUpdateCountryGroupOK ¶
func NewUpdateCountryGroupOK() *UpdateCountryGroupOK
NewUpdateCountryGroupOK creates a UpdateCountryGroupOK with default headers values
func (*UpdateCountryGroupOK) Error ¶
func (o *UpdateCountryGroupOK) Error() string
func (*UpdateCountryGroupOK) GetPayload ¶
func (o *UpdateCountryGroupOK) GetPayload() *basicclientmodels.CountryGroupObject
type UpdateCountryGroupParams ¶
type UpdateCountryGroupParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *basicclientmodels.UpdateCountryGroupRequest /*CountryGroupCode groupCode, only accept alphabet and whitespace */ CountryGroupCode string /*Namespace namespace, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateCountryGroupParams contains all the parameters to send to the API endpoint for the update country group operation typically these are written to a http.Request
func NewUpdateCountryGroupParams ¶
func NewUpdateCountryGroupParams() *UpdateCountryGroupParams
NewUpdateCountryGroupParams creates a new UpdateCountryGroupParams object with the default values initialized.
func NewUpdateCountryGroupParamsWithContext ¶
func NewUpdateCountryGroupParamsWithContext(ctx context.Context) *UpdateCountryGroupParams
NewUpdateCountryGroupParamsWithContext creates a new UpdateCountryGroupParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateCountryGroupParamsWithHTTPClient ¶
func NewUpdateCountryGroupParamsWithHTTPClient(client *http.Client) *UpdateCountryGroupParams
NewUpdateCountryGroupParamsWithHTTPClient creates a new UpdateCountryGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateCountryGroupParamsWithTimeout ¶
func NewUpdateCountryGroupParamsWithTimeout(timeout time.Duration) *UpdateCountryGroupParams
NewUpdateCountryGroupParamsWithTimeout creates a new UpdateCountryGroupParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateCountryGroupParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *UpdateCountryGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update country group params
func (*UpdateCountryGroupParams) SetBody ¶
func (o *UpdateCountryGroupParams) SetBody(body *basicclientmodels.UpdateCountryGroupRequest)
SetBody adds the body to the update country group params
func (*UpdateCountryGroupParams) SetContext ¶
func (o *UpdateCountryGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the update country group params
func (*UpdateCountryGroupParams) SetCountryGroupCode ¶
func (o *UpdateCountryGroupParams) SetCountryGroupCode(countryGroupCode string)
SetCountryGroupCode adds the countryGroupCode to the update country group params
func (*UpdateCountryGroupParams) SetHTTPClient ¶
func (o *UpdateCountryGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update country group params
func (*UpdateCountryGroupParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *UpdateCountryGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update country group params
func (*UpdateCountryGroupParams) SetNamespace ¶
func (o *UpdateCountryGroupParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update country group params
func (*UpdateCountryGroupParams) SetTimeout ¶
func (o *UpdateCountryGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update country group params
func (*UpdateCountryGroupParams) WithBody ¶
func (o *UpdateCountryGroupParams) WithBody(body *basicclientmodels.UpdateCountryGroupRequest) *UpdateCountryGroupParams
WithBody adds the body to the update country group params
func (*UpdateCountryGroupParams) WithContext ¶
func (o *UpdateCountryGroupParams) WithContext(ctx context.Context) *UpdateCountryGroupParams
WithContext adds the context to the update country group params
func (*UpdateCountryGroupParams) WithCountryGroupCode ¶
func (o *UpdateCountryGroupParams) WithCountryGroupCode(countryGroupCode string) *UpdateCountryGroupParams
WithCountryGroupCode adds the countryGroupCode to the update country group params
func (*UpdateCountryGroupParams) WithHTTPClient ¶
func (o *UpdateCountryGroupParams) WithHTTPClient(client *http.Client) *UpdateCountryGroupParams
WithHTTPClient adds the HTTPClient to the update country group params
func (*UpdateCountryGroupParams) WithNamespace ¶
func (o *UpdateCountryGroupParams) WithNamespace(namespace string) *UpdateCountryGroupParams
WithNamespace adds the namespace to the update country group params
func (*UpdateCountryGroupParams) WithTimeout ¶
func (o *UpdateCountryGroupParams) WithTimeout(timeout time.Duration) *UpdateCountryGroupParams
WithTimeout adds the timeout to the update country group params
func (*UpdateCountryGroupParams) WriteToRequest ¶
func (o *UpdateCountryGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateCountryGroupReader ¶
type UpdateCountryGroupReader struct {
// contains filtered or unexported fields
}
UpdateCountryGroupReader is a Reader for the UpdateCountryGroup structure.
func (*UpdateCountryGroupReader) ReadResponse ¶
func (o *UpdateCountryGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateCountryGroupUnauthorized ¶
type UpdateCountryGroupUnauthorized struct {
}UpdateCountryGroupUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>
func NewUpdateCountryGroupUnauthorized ¶
func NewUpdateCountryGroupUnauthorized() *UpdateCountryGroupUnauthorized
NewUpdateCountryGroupUnauthorized creates a UpdateCountryGroupUnauthorized with default headers values
func (*UpdateCountryGroupUnauthorized) Error ¶
func (o *UpdateCountryGroupUnauthorized) Error() string
func (*UpdateCountryGroupUnauthorized) GetPayload ¶
func (o *UpdateCountryGroupUnauthorized) GetPayload() *basicclientmodels.ErrorEntity
Source Files ¶
- add_country_group_parameters.go
- add_country_group_responses.go
- delete_country_group_parameters.go
- delete_country_group_responses.go
- get_countries_parameters.go
- get_countries_responses.go
- get_country_groups_parameters.go
- get_country_groups_responses.go
- get_languages_parameters.go
- get_languages_responses.go
- get_time_zones_parameters.go
- get_time_zones_responses.go
- misc_client.go
- public_get_countries_parameters.go
- public_get_countries_responses.go
- public_get_languages_parameters.go
- public_get_languages_responses.go
- public_get_time_parameters.go
- public_get_time_responses.go
- public_get_time_zones_parameters.go
- public_get_time_zones_responses.go
- update_country_group_parameters.go
- update_country_group_responses.go