Documentation ¶
Index ¶
- type AdminAddCountryBlacklistV3BadRequest
- type AdminAddCountryBlacklistV3Forbidden
- type AdminAddCountryBlacklistV3InternalServerError
- type AdminAddCountryBlacklistV3NoContent
- type AdminAddCountryBlacklistV3Params
- func NewAdminAddCountryBlacklistV3Params() *AdminAddCountryBlacklistV3Params
- func NewAdminAddCountryBlacklistV3ParamsWithContext(ctx context.Context) *AdminAddCountryBlacklistV3Params
- func NewAdminAddCountryBlacklistV3ParamsWithHTTPClient(client *http.Client) *AdminAddCountryBlacklistV3Params
- func NewAdminAddCountryBlacklistV3ParamsWithTimeout(timeout time.Duration) *AdminAddCountryBlacklistV3Params
- func (o *AdminAddCountryBlacklistV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminAddCountryBlacklistV3Params) SetBody(body *iamclientmodels.ModelCountryBlacklistRequest)
- func (o *AdminAddCountryBlacklistV3Params) SetContext(ctx context.Context)
- func (o *AdminAddCountryBlacklistV3Params) SetFlightId(flightId string)
- func (o *AdminAddCountryBlacklistV3Params) SetHTTPClient(client *http.Client)
- func (o *AdminAddCountryBlacklistV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminAddCountryBlacklistV3Params) SetNamespace(namespace string)
- func (o *AdminAddCountryBlacklistV3Params) SetTimeout(timeout time.Duration)
- func (o *AdminAddCountryBlacklistV3Params) WithBody(body *iamclientmodels.ModelCountryBlacklistRequest) *AdminAddCountryBlacklistV3Params
- func (o *AdminAddCountryBlacklistV3Params) WithContext(ctx context.Context) *AdminAddCountryBlacklistV3Params
- func (o *AdminAddCountryBlacklistV3Params) WithHTTPClient(client *http.Client) *AdminAddCountryBlacklistV3Params
- func (o *AdminAddCountryBlacklistV3Params) WithNamespace(namespace string) *AdminAddCountryBlacklistV3Params
- func (o *AdminAddCountryBlacklistV3Params) WithTimeout(timeout time.Duration) *AdminAddCountryBlacklistV3Params
- func (o *AdminAddCountryBlacklistV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminAddCountryBlacklistV3Reader
- type AdminAddCountryBlacklistV3Unauthorized
- type AdminGetCountryBlacklistV3Forbidden
- type AdminGetCountryBlacklistV3InternalServerError
- type AdminGetCountryBlacklistV3OK
- type AdminGetCountryBlacklistV3Params
- func NewAdminGetCountryBlacklistV3Params() *AdminGetCountryBlacklistV3Params
- func NewAdminGetCountryBlacklistV3ParamsWithContext(ctx context.Context) *AdminGetCountryBlacklistV3Params
- func NewAdminGetCountryBlacklistV3ParamsWithHTTPClient(client *http.Client) *AdminGetCountryBlacklistV3Params
- func NewAdminGetCountryBlacklistV3ParamsWithTimeout(timeout time.Duration) *AdminGetCountryBlacklistV3Params
- func (o *AdminGetCountryBlacklistV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetCountryBlacklistV3Params) SetContext(ctx context.Context)
- func (o *AdminGetCountryBlacklistV3Params) SetFlightId(flightId string)
- func (o *AdminGetCountryBlacklistV3Params) SetHTTPClient(client *http.Client)
- func (o *AdminGetCountryBlacklistV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetCountryBlacklistV3Params) SetNamespace(namespace string)
- func (o *AdminGetCountryBlacklistV3Params) SetTimeout(timeout time.Duration)
- func (o *AdminGetCountryBlacklistV3Params) WithContext(ctx context.Context) *AdminGetCountryBlacklistV3Params
- func (o *AdminGetCountryBlacklistV3Params) WithHTTPClient(client *http.Client) *AdminGetCountryBlacklistV3Params
- func (o *AdminGetCountryBlacklistV3Params) WithNamespace(namespace string) *AdminGetCountryBlacklistV3Params
- func (o *AdminGetCountryBlacklistV3Params) WithTimeout(timeout time.Duration) *AdminGetCountryBlacklistV3Params
- func (o *AdminGetCountryBlacklistV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetCountryBlacklistV3Reader
- type AdminGetCountryBlacklistV3Unauthorized
- type AdminGetCountryListV3Forbidden
- type AdminGetCountryListV3InternalServerError
- type AdminGetCountryListV3OK
- type AdminGetCountryListV3Params
- func NewAdminGetCountryListV3Params() *AdminGetCountryListV3Params
- func NewAdminGetCountryListV3ParamsWithContext(ctx context.Context) *AdminGetCountryListV3Params
- func NewAdminGetCountryListV3ParamsWithHTTPClient(client *http.Client) *AdminGetCountryListV3Params
- func NewAdminGetCountryListV3ParamsWithTimeout(timeout time.Duration) *AdminGetCountryListV3Params
- func (o *AdminGetCountryListV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetCountryListV3Params) SetContext(ctx context.Context)
- func (o *AdminGetCountryListV3Params) SetFilterBlacklist(filterBlacklist *bool)
- func (o *AdminGetCountryListV3Params) SetFlightId(flightId string)
- func (o *AdminGetCountryListV3Params) SetHTTPClient(client *http.Client)
- func (o *AdminGetCountryListV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetCountryListV3Params) SetNamespace(namespace string)
- func (o *AdminGetCountryListV3Params) SetTimeout(timeout time.Duration)
- func (o *AdminGetCountryListV3Params) WithContext(ctx context.Context) *AdminGetCountryListV3Params
- func (o *AdminGetCountryListV3Params) WithFilterBlacklist(filterBlacklist *bool) *AdminGetCountryListV3Params
- func (o *AdminGetCountryListV3Params) WithHTTPClient(client *http.Client) *AdminGetCountryListV3Params
- func (o *AdminGetCountryListV3Params) WithNamespace(namespace string) *AdminGetCountryListV3Params
- func (o *AdminGetCountryListV3Params) WithTimeout(timeout time.Duration) *AdminGetCountryListV3Params
- func (o *AdminGetCountryListV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetCountryListV3Reader
- type AdminGetCountryListV3Unauthorized
- type Client
- func (a *Client) AdminAddCountryBlacklistV3Short(params *AdminAddCountryBlacklistV3Params, ...) (*AdminAddCountryBlacklistV3NoContent, error)
- func (a *Client) AdminGetCountryBlacklistV3Short(params *AdminGetCountryBlacklistV3Params, ...) (*AdminGetCountryBlacklistV3OK, error)
- func (a *Client) AdminGetCountryListV3Short(params *AdminGetCountryListV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetCountryListV3OK, error)
- func (a *Client) PublicGetCountryListV3Short(params *PublicGetCountryListV3Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetCountryListV3OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type PublicGetCountryListV3InternalServerError
- type PublicGetCountryListV3OK
- type PublicGetCountryListV3Params
- func NewPublicGetCountryListV3Params() *PublicGetCountryListV3Params
- func NewPublicGetCountryListV3ParamsWithContext(ctx context.Context) *PublicGetCountryListV3Params
- func NewPublicGetCountryListV3ParamsWithHTTPClient(client *http.Client) *PublicGetCountryListV3Params
- func NewPublicGetCountryListV3ParamsWithTimeout(timeout time.Duration) *PublicGetCountryListV3Params
- func (o *PublicGetCountryListV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetCountryListV3Params) SetContext(ctx context.Context)
- func (o *PublicGetCountryListV3Params) SetFlightId(flightId string)
- func (o *PublicGetCountryListV3Params) SetHTTPClient(client *http.Client)
- func (o *PublicGetCountryListV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetCountryListV3Params) SetNamespace(namespace string)
- func (o *PublicGetCountryListV3Params) SetTimeout(timeout time.Duration)
- func (o *PublicGetCountryListV3Params) WithContext(ctx context.Context) *PublicGetCountryListV3Params
- func (o *PublicGetCountryListV3Params) WithHTTPClient(client *http.Client) *PublicGetCountryListV3Params
- func (o *PublicGetCountryListV3Params) WithNamespace(namespace string) *PublicGetCountryListV3Params
- func (o *PublicGetCountryListV3Params) WithTimeout(timeout time.Duration) *PublicGetCountryListV3Params
- func (o *PublicGetCountryListV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetCountryListV3Reader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminAddCountryBlacklistV3BadRequest ¶
type AdminAddCountryBlacklistV3BadRequest struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminAddCountryBlacklistV3BadRequest 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 NewAdminAddCountryBlacklistV3BadRequest ¶
func NewAdminAddCountryBlacklistV3BadRequest() *AdminAddCountryBlacklistV3BadRequest
NewAdminAddCountryBlacklistV3BadRequest creates a AdminAddCountryBlacklistV3BadRequest with default headers values
func (*AdminAddCountryBlacklistV3BadRequest) Error ¶
func (o *AdminAddCountryBlacklistV3BadRequest) Error() string
func (*AdminAddCountryBlacklistV3BadRequest) GetPayload ¶
func (o *AdminAddCountryBlacklistV3BadRequest) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminAddCountryBlacklistV3BadRequest) ToJSONString ¶
func (o *AdminAddCountryBlacklistV3BadRequest) ToJSONString() string
type AdminAddCountryBlacklistV3Forbidden ¶
type AdminAddCountryBlacklistV3Forbidden struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminAddCountryBlacklistV3Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>
func NewAdminAddCountryBlacklistV3Forbidden ¶
func NewAdminAddCountryBlacklistV3Forbidden() *AdminAddCountryBlacklistV3Forbidden
NewAdminAddCountryBlacklistV3Forbidden creates a AdminAddCountryBlacklistV3Forbidden with default headers values
func (*AdminAddCountryBlacklistV3Forbidden) Error ¶
func (o *AdminAddCountryBlacklistV3Forbidden) Error() string
func (*AdminAddCountryBlacklistV3Forbidden) GetPayload ¶
func (o *AdminAddCountryBlacklistV3Forbidden) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminAddCountryBlacklistV3Forbidden) ToJSONString ¶
func (o *AdminAddCountryBlacklistV3Forbidden) ToJSONString() string
type AdminAddCountryBlacklistV3InternalServerError ¶
type AdminAddCountryBlacklistV3InternalServerError struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminAddCountryBlacklistV3InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewAdminAddCountryBlacklistV3InternalServerError ¶
func NewAdminAddCountryBlacklistV3InternalServerError() *AdminAddCountryBlacklistV3InternalServerError
NewAdminAddCountryBlacklistV3InternalServerError creates a AdminAddCountryBlacklistV3InternalServerError with default headers values
func (*AdminAddCountryBlacklistV3InternalServerError) Error ¶
func (o *AdminAddCountryBlacklistV3InternalServerError) Error() string
func (*AdminAddCountryBlacklistV3InternalServerError) GetPayload ¶
func (o *AdminAddCountryBlacklistV3InternalServerError) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminAddCountryBlacklistV3InternalServerError) ToJSONString ¶
func (o *AdminAddCountryBlacklistV3InternalServerError) ToJSONString() string
type AdminAddCountryBlacklistV3NoContent ¶
type AdminAddCountryBlacklistV3NoContent struct { }
AdminAddCountryBlacklistV3NoContent handles this case with default header values.
No Content
func NewAdminAddCountryBlacklistV3NoContent ¶
func NewAdminAddCountryBlacklistV3NoContent() *AdminAddCountryBlacklistV3NoContent
NewAdminAddCountryBlacklistV3NoContent creates a AdminAddCountryBlacklistV3NoContent with default headers values
func (*AdminAddCountryBlacklistV3NoContent) Error ¶
func (o *AdminAddCountryBlacklistV3NoContent) Error() string
type AdminAddCountryBlacklistV3Params ¶
type AdminAddCountryBlacklistV3Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *iamclientmodels.ModelCountryBlacklistRequest /*Namespace Namespace, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminAddCountryBlacklistV3Params contains all the parameters to send to the API endpoint for the admin add country blacklist v3 operation typically these are written to a http.Request
func NewAdminAddCountryBlacklistV3Params ¶
func NewAdminAddCountryBlacklistV3Params() *AdminAddCountryBlacklistV3Params
NewAdminAddCountryBlacklistV3Params creates a new AdminAddCountryBlacklistV3Params object with the default values initialized.
func NewAdminAddCountryBlacklistV3ParamsWithContext ¶
func NewAdminAddCountryBlacklistV3ParamsWithContext(ctx context.Context) *AdminAddCountryBlacklistV3Params
NewAdminAddCountryBlacklistV3ParamsWithContext creates a new AdminAddCountryBlacklistV3Params object with the default values initialized, and the ability to set a context for a request
func NewAdminAddCountryBlacklistV3ParamsWithHTTPClient ¶
func NewAdminAddCountryBlacklistV3ParamsWithHTTPClient(client *http.Client) *AdminAddCountryBlacklistV3Params
NewAdminAddCountryBlacklistV3ParamsWithHTTPClient creates a new AdminAddCountryBlacklistV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminAddCountryBlacklistV3ParamsWithTimeout ¶
func NewAdminAddCountryBlacklistV3ParamsWithTimeout(timeout time.Duration) *AdminAddCountryBlacklistV3Params
NewAdminAddCountryBlacklistV3ParamsWithTimeout creates a new AdminAddCountryBlacklistV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*AdminAddCountryBlacklistV3Params) SetAuthInfoWriter ¶
func (o *AdminAddCountryBlacklistV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin add country blacklist v3 params
func (*AdminAddCountryBlacklistV3Params) SetBody ¶
func (o *AdminAddCountryBlacklistV3Params) SetBody(body *iamclientmodels.ModelCountryBlacklistRequest)
SetBody adds the body to the admin add country blacklist v3 params
func (*AdminAddCountryBlacklistV3Params) SetContext ¶
func (o *AdminAddCountryBlacklistV3Params) SetContext(ctx context.Context)
SetContext adds the context to the admin add country blacklist v3 params
func (*AdminAddCountryBlacklistV3Params) SetFlightId ¶
func (o *AdminAddCountryBlacklistV3Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminAddCountryBlacklistV3Params) SetHTTPClient ¶
func (o *AdminAddCountryBlacklistV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin add country blacklist v3 params
func (*AdminAddCountryBlacklistV3Params) SetHTTPClientTransport ¶
func (o *AdminAddCountryBlacklistV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin add country blacklist v3 params
func (*AdminAddCountryBlacklistV3Params) SetNamespace ¶
func (o *AdminAddCountryBlacklistV3Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin add country blacklist v3 params
func (*AdminAddCountryBlacklistV3Params) SetTimeout ¶
func (o *AdminAddCountryBlacklistV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin add country blacklist v3 params
func (*AdminAddCountryBlacklistV3Params) WithBody ¶
func (o *AdminAddCountryBlacklistV3Params) WithBody(body *iamclientmodels.ModelCountryBlacklistRequest) *AdminAddCountryBlacklistV3Params
WithBody adds the body to the admin add country blacklist v3 params
func (*AdminAddCountryBlacklistV3Params) WithContext ¶
func (o *AdminAddCountryBlacklistV3Params) WithContext(ctx context.Context) *AdminAddCountryBlacklistV3Params
WithContext adds the context to the admin add country blacklist v3 params
func (*AdminAddCountryBlacklistV3Params) WithHTTPClient ¶
func (o *AdminAddCountryBlacklistV3Params) WithHTTPClient(client *http.Client) *AdminAddCountryBlacklistV3Params
WithHTTPClient adds the HTTPClient to the admin add country blacklist v3 params
func (*AdminAddCountryBlacklistV3Params) WithNamespace ¶
func (o *AdminAddCountryBlacklistV3Params) WithNamespace(namespace string) *AdminAddCountryBlacklistV3Params
WithNamespace adds the namespace to the admin add country blacklist v3 params
func (*AdminAddCountryBlacklistV3Params) WithTimeout ¶
func (o *AdminAddCountryBlacklistV3Params) WithTimeout(timeout time.Duration) *AdminAddCountryBlacklistV3Params
WithTimeout adds the timeout to the admin add country blacklist v3 params
func (*AdminAddCountryBlacklistV3Params) WriteToRequest ¶
func (o *AdminAddCountryBlacklistV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminAddCountryBlacklistV3Reader ¶
type AdminAddCountryBlacklistV3Reader struct {
// contains filtered or unexported fields
}
AdminAddCountryBlacklistV3Reader is a Reader for the AdminAddCountryBlacklistV3 structure.
func (*AdminAddCountryBlacklistV3Reader) ReadResponse ¶
func (o *AdminAddCountryBlacklistV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminAddCountryBlacklistV3Unauthorized ¶
type AdminAddCountryBlacklistV3Unauthorized struct {
}AdminAddCountryBlacklistV3Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminAddCountryBlacklistV3Unauthorized ¶
func NewAdminAddCountryBlacklistV3Unauthorized() *AdminAddCountryBlacklistV3Unauthorized
NewAdminAddCountryBlacklistV3Unauthorized creates a AdminAddCountryBlacklistV3Unauthorized with default headers values
func (*AdminAddCountryBlacklistV3Unauthorized) Error ¶
func (o *AdminAddCountryBlacklistV3Unauthorized) Error() string
func (*AdminAddCountryBlacklistV3Unauthorized) GetPayload ¶
func (o *AdminAddCountryBlacklistV3Unauthorized) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminAddCountryBlacklistV3Unauthorized) ToJSONString ¶
func (o *AdminAddCountryBlacklistV3Unauthorized) ToJSONString() string
type AdminGetCountryBlacklistV3Forbidden ¶
type AdminGetCountryBlacklistV3Forbidden struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetCountryBlacklistV3Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>
func NewAdminGetCountryBlacklistV3Forbidden ¶
func NewAdminGetCountryBlacklistV3Forbidden() *AdminGetCountryBlacklistV3Forbidden
NewAdminGetCountryBlacklistV3Forbidden creates a AdminGetCountryBlacklistV3Forbidden with default headers values
func (*AdminGetCountryBlacklistV3Forbidden) Error ¶
func (o *AdminGetCountryBlacklistV3Forbidden) Error() string
func (*AdminGetCountryBlacklistV3Forbidden) GetPayload ¶
func (o *AdminGetCountryBlacklistV3Forbidden) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetCountryBlacklistV3Forbidden) ToJSONString ¶
func (o *AdminGetCountryBlacklistV3Forbidden) ToJSONString() string
type AdminGetCountryBlacklistV3InternalServerError ¶
type AdminGetCountryBlacklistV3InternalServerError struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetCountryBlacklistV3InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewAdminGetCountryBlacklistV3InternalServerError ¶
func NewAdminGetCountryBlacklistV3InternalServerError() *AdminGetCountryBlacklistV3InternalServerError
NewAdminGetCountryBlacklistV3InternalServerError creates a AdminGetCountryBlacklistV3InternalServerError with default headers values
func (*AdminGetCountryBlacklistV3InternalServerError) Error ¶
func (o *AdminGetCountryBlacklistV3InternalServerError) Error() string
func (*AdminGetCountryBlacklistV3InternalServerError) GetPayload ¶
func (o *AdminGetCountryBlacklistV3InternalServerError) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetCountryBlacklistV3InternalServerError) ToJSONString ¶
func (o *AdminGetCountryBlacklistV3InternalServerError) ToJSONString() string
type AdminGetCountryBlacklistV3OK ¶
type AdminGetCountryBlacklistV3OK struct {
Payload *iamclientmodels.ModelCountryBlacklistResponse
}
AdminGetCountryBlacklistV3OK handles this case with default header values.
OK
func NewAdminGetCountryBlacklistV3OK ¶
func NewAdminGetCountryBlacklistV3OK() *AdminGetCountryBlacklistV3OK
NewAdminGetCountryBlacklistV3OK creates a AdminGetCountryBlacklistV3OK with default headers values
func (*AdminGetCountryBlacklistV3OK) Error ¶
func (o *AdminGetCountryBlacklistV3OK) Error() string
func (*AdminGetCountryBlacklistV3OK) GetPayload ¶
func (o *AdminGetCountryBlacklistV3OK) GetPayload() *iamclientmodels.ModelCountryBlacklistResponse
func (*AdminGetCountryBlacklistV3OK) ToJSONString ¶
func (o *AdminGetCountryBlacklistV3OK) ToJSONString() string
type AdminGetCountryBlacklistV3Params ¶
type AdminGetCountryBlacklistV3Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminGetCountryBlacklistV3Params contains all the parameters to send to the API endpoint for the admin get country blacklist v3 operation typically these are written to a http.Request
func NewAdminGetCountryBlacklistV3Params ¶
func NewAdminGetCountryBlacklistV3Params() *AdminGetCountryBlacklistV3Params
NewAdminGetCountryBlacklistV3Params creates a new AdminGetCountryBlacklistV3Params object with the default values initialized.
func NewAdminGetCountryBlacklistV3ParamsWithContext ¶
func NewAdminGetCountryBlacklistV3ParamsWithContext(ctx context.Context) *AdminGetCountryBlacklistV3Params
NewAdminGetCountryBlacklistV3ParamsWithContext creates a new AdminGetCountryBlacklistV3Params object with the default values initialized, and the ability to set a context for a request
func NewAdminGetCountryBlacklistV3ParamsWithHTTPClient ¶
func NewAdminGetCountryBlacklistV3ParamsWithHTTPClient(client *http.Client) *AdminGetCountryBlacklistV3Params
NewAdminGetCountryBlacklistV3ParamsWithHTTPClient creates a new AdminGetCountryBlacklistV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetCountryBlacklistV3ParamsWithTimeout ¶
func NewAdminGetCountryBlacklistV3ParamsWithTimeout(timeout time.Duration) *AdminGetCountryBlacklistV3Params
NewAdminGetCountryBlacklistV3ParamsWithTimeout creates a new AdminGetCountryBlacklistV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetCountryBlacklistV3Params) SetAuthInfoWriter ¶
func (o *AdminGetCountryBlacklistV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get country blacklist v3 params
func (*AdminGetCountryBlacklistV3Params) SetContext ¶
func (o *AdminGetCountryBlacklistV3Params) SetContext(ctx context.Context)
SetContext adds the context to the admin get country blacklist v3 params
func (*AdminGetCountryBlacklistV3Params) SetFlightId ¶
func (o *AdminGetCountryBlacklistV3Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminGetCountryBlacklistV3Params) SetHTTPClient ¶
func (o *AdminGetCountryBlacklistV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get country blacklist v3 params
func (*AdminGetCountryBlacklistV3Params) SetHTTPClientTransport ¶
func (o *AdminGetCountryBlacklistV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get country blacklist v3 params
func (*AdminGetCountryBlacklistV3Params) SetNamespace ¶
func (o *AdminGetCountryBlacklistV3Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get country blacklist v3 params
func (*AdminGetCountryBlacklistV3Params) SetTimeout ¶
func (o *AdminGetCountryBlacklistV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get country blacklist v3 params
func (*AdminGetCountryBlacklistV3Params) WithContext ¶
func (o *AdminGetCountryBlacklistV3Params) WithContext(ctx context.Context) *AdminGetCountryBlacklistV3Params
WithContext adds the context to the admin get country blacklist v3 params
func (*AdminGetCountryBlacklistV3Params) WithHTTPClient ¶
func (o *AdminGetCountryBlacklistV3Params) WithHTTPClient(client *http.Client) *AdminGetCountryBlacklistV3Params
WithHTTPClient adds the HTTPClient to the admin get country blacklist v3 params
func (*AdminGetCountryBlacklistV3Params) WithNamespace ¶
func (o *AdminGetCountryBlacklistV3Params) WithNamespace(namespace string) *AdminGetCountryBlacklistV3Params
WithNamespace adds the namespace to the admin get country blacklist v3 params
func (*AdminGetCountryBlacklistV3Params) WithTimeout ¶
func (o *AdminGetCountryBlacklistV3Params) WithTimeout(timeout time.Duration) *AdminGetCountryBlacklistV3Params
WithTimeout adds the timeout to the admin get country blacklist v3 params
func (*AdminGetCountryBlacklistV3Params) WriteToRequest ¶
func (o *AdminGetCountryBlacklistV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetCountryBlacklistV3Reader ¶
type AdminGetCountryBlacklistV3Reader struct {
// contains filtered or unexported fields
}
AdminGetCountryBlacklistV3Reader is a Reader for the AdminGetCountryBlacklistV3 structure.
func (*AdminGetCountryBlacklistV3Reader) ReadResponse ¶
func (o *AdminGetCountryBlacklistV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetCountryBlacklistV3Unauthorized ¶
type AdminGetCountryBlacklistV3Unauthorized struct {
}AdminGetCountryBlacklistV3Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminGetCountryBlacklistV3Unauthorized ¶
func NewAdminGetCountryBlacklistV3Unauthorized() *AdminGetCountryBlacklistV3Unauthorized
NewAdminGetCountryBlacklistV3Unauthorized creates a AdminGetCountryBlacklistV3Unauthorized with default headers values
func (*AdminGetCountryBlacklistV3Unauthorized) Error ¶
func (o *AdminGetCountryBlacklistV3Unauthorized) Error() string
func (*AdminGetCountryBlacklistV3Unauthorized) GetPayload ¶
func (o *AdminGetCountryBlacklistV3Unauthorized) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetCountryBlacklistV3Unauthorized) ToJSONString ¶
func (o *AdminGetCountryBlacklistV3Unauthorized) ToJSONString() string
type AdminGetCountryListV3Forbidden ¶
type AdminGetCountryListV3Forbidden struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetCountryListV3Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>
func NewAdminGetCountryListV3Forbidden ¶
func NewAdminGetCountryListV3Forbidden() *AdminGetCountryListV3Forbidden
NewAdminGetCountryListV3Forbidden creates a AdminGetCountryListV3Forbidden with default headers values
func (*AdminGetCountryListV3Forbidden) Error ¶
func (o *AdminGetCountryListV3Forbidden) Error() string
func (*AdminGetCountryListV3Forbidden) GetPayload ¶
func (o *AdminGetCountryListV3Forbidden) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetCountryListV3Forbidden) ToJSONString ¶
func (o *AdminGetCountryListV3Forbidden) ToJSONString() string
type AdminGetCountryListV3InternalServerError ¶
type AdminGetCountryListV3InternalServerError struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetCountryListV3InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewAdminGetCountryListV3InternalServerError ¶
func NewAdminGetCountryListV3InternalServerError() *AdminGetCountryListV3InternalServerError
NewAdminGetCountryListV3InternalServerError creates a AdminGetCountryListV3InternalServerError with default headers values
func (*AdminGetCountryListV3InternalServerError) Error ¶
func (o *AdminGetCountryListV3InternalServerError) Error() string
func (*AdminGetCountryListV3InternalServerError) GetPayload ¶
func (o *AdminGetCountryListV3InternalServerError) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetCountryListV3InternalServerError) ToJSONString ¶
func (o *AdminGetCountryListV3InternalServerError) ToJSONString() string
type AdminGetCountryListV3OK ¶
type AdminGetCountryListV3OK struct {
Payload []*iamclientmodels.ModelCountryResponse
}
AdminGetCountryListV3OK handles this case with default header values.
No Content
func NewAdminGetCountryListV3OK ¶
func NewAdminGetCountryListV3OK() *AdminGetCountryListV3OK
NewAdminGetCountryListV3OK creates a AdminGetCountryListV3OK with default headers values
func (*AdminGetCountryListV3OK) Error ¶
func (o *AdminGetCountryListV3OK) Error() string
func (*AdminGetCountryListV3OK) GetPayload ¶
func (o *AdminGetCountryListV3OK) GetPayload() []*iamclientmodels.ModelCountryResponse
func (*AdminGetCountryListV3OK) ToJSONString ¶
func (o *AdminGetCountryListV3OK) ToJSONString() string
type AdminGetCountryListV3Params ¶
type AdminGetCountryListV3Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace, only accept alphabet and numeric */ Namespace string /*FilterBlacklist filter black list */ FilterBlacklist *bool AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminGetCountryListV3Params contains all the parameters to send to the API endpoint for the admin get country list v3 operation typically these are written to a http.Request
func NewAdminGetCountryListV3Params ¶
func NewAdminGetCountryListV3Params() *AdminGetCountryListV3Params
NewAdminGetCountryListV3Params creates a new AdminGetCountryListV3Params object with the default values initialized.
func NewAdminGetCountryListV3ParamsWithContext ¶
func NewAdminGetCountryListV3ParamsWithContext(ctx context.Context) *AdminGetCountryListV3Params
NewAdminGetCountryListV3ParamsWithContext creates a new AdminGetCountryListV3Params object with the default values initialized, and the ability to set a context for a request
func NewAdminGetCountryListV3ParamsWithHTTPClient ¶
func NewAdminGetCountryListV3ParamsWithHTTPClient(client *http.Client) *AdminGetCountryListV3Params
NewAdminGetCountryListV3ParamsWithHTTPClient creates a new AdminGetCountryListV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetCountryListV3ParamsWithTimeout ¶
func NewAdminGetCountryListV3ParamsWithTimeout(timeout time.Duration) *AdminGetCountryListV3Params
NewAdminGetCountryListV3ParamsWithTimeout creates a new AdminGetCountryListV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetCountryListV3Params) SetAuthInfoWriter ¶
func (o *AdminGetCountryListV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get country list v3 params
func (*AdminGetCountryListV3Params) SetContext ¶
func (o *AdminGetCountryListV3Params) SetContext(ctx context.Context)
SetContext adds the context to the admin get country list v3 params
func (*AdminGetCountryListV3Params) SetFilterBlacklist ¶
func (o *AdminGetCountryListV3Params) SetFilterBlacklist(filterBlacklist *bool)
SetFilterBlacklist adds the filterBlacklist to the admin get country list v3 params
func (*AdminGetCountryListV3Params) SetFlightId ¶
func (o *AdminGetCountryListV3Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminGetCountryListV3Params) SetHTTPClient ¶
func (o *AdminGetCountryListV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get country list v3 params
func (*AdminGetCountryListV3Params) SetHTTPClientTransport ¶
func (o *AdminGetCountryListV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get country list v3 params
func (*AdminGetCountryListV3Params) SetNamespace ¶
func (o *AdminGetCountryListV3Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get country list v3 params
func (*AdminGetCountryListV3Params) SetTimeout ¶
func (o *AdminGetCountryListV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get country list v3 params
func (*AdminGetCountryListV3Params) WithContext ¶
func (o *AdminGetCountryListV3Params) WithContext(ctx context.Context) *AdminGetCountryListV3Params
WithContext adds the context to the admin get country list v3 params
func (*AdminGetCountryListV3Params) WithFilterBlacklist ¶
func (o *AdminGetCountryListV3Params) WithFilterBlacklist(filterBlacklist *bool) *AdminGetCountryListV3Params
WithFilterBlacklist adds the filterBlacklist to the admin get country list v3 params
func (*AdminGetCountryListV3Params) WithHTTPClient ¶
func (o *AdminGetCountryListV3Params) WithHTTPClient(client *http.Client) *AdminGetCountryListV3Params
WithHTTPClient adds the HTTPClient to the admin get country list v3 params
func (*AdminGetCountryListV3Params) WithNamespace ¶
func (o *AdminGetCountryListV3Params) WithNamespace(namespace string) *AdminGetCountryListV3Params
WithNamespace adds the namespace to the admin get country list v3 params
func (*AdminGetCountryListV3Params) WithTimeout ¶
func (o *AdminGetCountryListV3Params) WithTimeout(timeout time.Duration) *AdminGetCountryListV3Params
WithTimeout adds the timeout to the admin get country list v3 params
func (*AdminGetCountryListV3Params) WriteToRequest ¶
func (o *AdminGetCountryListV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetCountryListV3Reader ¶
type AdminGetCountryListV3Reader struct {
// contains filtered or unexported fields
}
AdminGetCountryListV3Reader is a Reader for the AdminGetCountryListV3 structure.
func (*AdminGetCountryListV3Reader) ReadResponse ¶
func (o *AdminGetCountryListV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetCountryListV3Unauthorized ¶
type AdminGetCountryListV3Unauthorized struct {
}AdminGetCountryListV3Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminGetCountryListV3Unauthorized ¶
func NewAdminGetCountryListV3Unauthorized() *AdminGetCountryListV3Unauthorized
NewAdminGetCountryListV3Unauthorized creates a AdminGetCountryListV3Unauthorized with default headers values
func (*AdminGetCountryListV3Unauthorized) Error ¶
func (o *AdminGetCountryListV3Unauthorized) Error() string
func (*AdminGetCountryListV3Unauthorized) GetPayload ¶
func (o *AdminGetCountryListV3Unauthorized) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetCountryListV3Unauthorized) ToJSONString ¶
func (o *AdminGetCountryListV3Unauthorized) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for country API
func (*Client) AdminAddCountryBlacklistV3Short ¶
func (a *Client) AdminAddCountryBlacklistV3Short(params *AdminAddCountryBlacklistV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminAddCountryBlacklistV3NoContent, error)
AdminAddCountryBlacklistV3Short update country blacklist Admin update country blacklist
func (*Client) AdminGetCountryBlacklistV3Short ¶
func (a *Client) AdminGetCountryBlacklistV3Short(params *AdminGetCountryBlacklistV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetCountryBlacklistV3OK, error)
AdminGetCountryBlacklistV3Short get country blacklist Admin get country blacklist
func (*Client) AdminGetCountryListV3Short ¶
func (a *Client) AdminGetCountryListV3Short(params *AdminGetCountryListV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetCountryListV3OK, error)
AdminGetCountryListV3Short get country list Admin get country list
func (*Client) PublicGetCountryListV3Short ¶
func (a *Client) PublicGetCountryListV3Short(params *PublicGetCountryListV3Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetCountryListV3OK, error)
PublicGetCountryListV3Short get country list Public get country list, will filter out countries in black list
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AdminGetCountryListV3Short(params *AdminGetCountryListV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetCountryListV3OK, error) AdminGetCountryBlacklistV3Short(params *AdminGetCountryBlacklistV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetCountryBlacklistV3OK, error) AdminAddCountryBlacklistV3Short(params *AdminAddCountryBlacklistV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminAddCountryBlacklistV3NoContent, error) PublicGetCountryListV3Short(params *PublicGetCountryListV3Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetCountryListV3OK, 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 country API client.
type PublicGetCountryListV3InternalServerError ¶
type PublicGetCountryListV3InternalServerError struct {
Payload *iamclientmodels.RestErrorResponse
}
PublicGetCountryListV3InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewPublicGetCountryListV3InternalServerError ¶
func NewPublicGetCountryListV3InternalServerError() *PublicGetCountryListV3InternalServerError
NewPublicGetCountryListV3InternalServerError creates a PublicGetCountryListV3InternalServerError with default headers values
func (*PublicGetCountryListV3InternalServerError) Error ¶
func (o *PublicGetCountryListV3InternalServerError) Error() string
func (*PublicGetCountryListV3InternalServerError) GetPayload ¶
func (o *PublicGetCountryListV3InternalServerError) GetPayload() *iamclientmodels.RestErrorResponse
func (*PublicGetCountryListV3InternalServerError) ToJSONString ¶
func (o *PublicGetCountryListV3InternalServerError) ToJSONString() string
type PublicGetCountryListV3OK ¶
type PublicGetCountryListV3OK struct {
Payload []*iamclientmodels.ModelCountryResponse
}
PublicGetCountryListV3OK handles this case with default header values.
OK
func NewPublicGetCountryListV3OK ¶
func NewPublicGetCountryListV3OK() *PublicGetCountryListV3OK
NewPublicGetCountryListV3OK creates a PublicGetCountryListV3OK with default headers values
func (*PublicGetCountryListV3OK) Error ¶
func (o *PublicGetCountryListV3OK) Error() string
func (*PublicGetCountryListV3OK) GetPayload ¶
func (o *PublicGetCountryListV3OK) GetPayload() []*iamclientmodels.ModelCountryResponse
func (*PublicGetCountryListV3OK) ToJSONString ¶
func (o *PublicGetCountryListV3OK) ToJSONString() string
type PublicGetCountryListV3Params ¶
type PublicGetCountryListV3Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicGetCountryListV3Params contains all the parameters to send to the API endpoint for the public get country list v3 operation typically these are written to a http.Request
func NewPublicGetCountryListV3Params ¶
func NewPublicGetCountryListV3Params() *PublicGetCountryListV3Params
NewPublicGetCountryListV3Params creates a new PublicGetCountryListV3Params object with the default values initialized.
func NewPublicGetCountryListV3ParamsWithContext ¶
func NewPublicGetCountryListV3ParamsWithContext(ctx context.Context) *PublicGetCountryListV3Params
NewPublicGetCountryListV3ParamsWithContext creates a new PublicGetCountryListV3Params object with the default values initialized, and the ability to set a context for a request
func NewPublicGetCountryListV3ParamsWithHTTPClient ¶
func NewPublicGetCountryListV3ParamsWithHTTPClient(client *http.Client) *PublicGetCountryListV3Params
NewPublicGetCountryListV3ParamsWithHTTPClient creates a new PublicGetCountryListV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetCountryListV3ParamsWithTimeout ¶
func NewPublicGetCountryListV3ParamsWithTimeout(timeout time.Duration) *PublicGetCountryListV3Params
NewPublicGetCountryListV3ParamsWithTimeout creates a new PublicGetCountryListV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetCountryListV3Params) SetAuthInfoWriter ¶
func (o *PublicGetCountryListV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get country list v3 params
func (*PublicGetCountryListV3Params) SetContext ¶
func (o *PublicGetCountryListV3Params) SetContext(ctx context.Context)
SetContext adds the context to the public get country list v3 params
func (*PublicGetCountryListV3Params) SetFlightId ¶
func (o *PublicGetCountryListV3Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetCountryListV3Params) SetHTTPClient ¶
func (o *PublicGetCountryListV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get country list v3 params
func (*PublicGetCountryListV3Params) SetHTTPClientTransport ¶
func (o *PublicGetCountryListV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get country list v3 params
func (*PublicGetCountryListV3Params) SetNamespace ¶
func (o *PublicGetCountryListV3Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get country list v3 params
func (*PublicGetCountryListV3Params) SetTimeout ¶
func (o *PublicGetCountryListV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get country list v3 params
func (*PublicGetCountryListV3Params) WithContext ¶
func (o *PublicGetCountryListV3Params) WithContext(ctx context.Context) *PublicGetCountryListV3Params
WithContext adds the context to the public get country list v3 params
func (*PublicGetCountryListV3Params) WithHTTPClient ¶
func (o *PublicGetCountryListV3Params) WithHTTPClient(client *http.Client) *PublicGetCountryListV3Params
WithHTTPClient adds the HTTPClient to the public get country list v3 params
func (*PublicGetCountryListV3Params) WithNamespace ¶
func (o *PublicGetCountryListV3Params) WithNamespace(namespace string) *PublicGetCountryListV3Params
WithNamespace adds the namespace to the public get country list v3 params
func (*PublicGetCountryListV3Params) WithTimeout ¶
func (o *PublicGetCountryListV3Params) WithTimeout(timeout time.Duration) *PublicGetCountryListV3Params
WithTimeout adds the timeout to the public get country list v3 params
func (*PublicGetCountryListV3Params) WriteToRequest ¶
func (o *PublicGetCountryListV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetCountryListV3Reader ¶
type PublicGetCountryListV3Reader struct {
// contains filtered or unexported fields
}
PublicGetCountryListV3Reader is a Reader for the PublicGetCountryListV3 structure.
func (*PublicGetCountryListV3Reader) ReadResponse ¶
func (o *PublicGetCountryListV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- admin_add_country_blacklist_v3_parameters.go
- admin_add_country_blacklist_v3_responses.go
- admin_get_country_blacklist_v3_parameters.go
- admin_get_country_blacklist_v3_responses.go
- admin_get_country_list_v3_parameters.go
- admin_get_country_list_v3_responses.go
- country_client.go
- public_get_country_list_v3_parameters.go
- public_get_country_list_v3_responses.go