Documentation
¶
Index ¶
- type Client
- func (a *Client) GetCaptcha(params *GetCaptchaParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCaptchaOK, error)
- func (a *Client) GetTenantCaptcha(params *GetTenantCaptchaParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetTenantCaptchaOK, error)
- func (a *Client) SetTenantCaptcha(params *SetTenantCaptchaParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SetTenantCaptchaOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetCaptchaForbidden
- func (o *GetCaptchaForbidden) Code() int
- func (o *GetCaptchaForbidden) Error() string
- func (o *GetCaptchaForbidden) GetPayload() *models.Error
- func (o *GetCaptchaForbidden) IsClientError() bool
- func (o *GetCaptchaForbidden) IsCode(code int) bool
- func (o *GetCaptchaForbidden) IsRedirect() bool
- func (o *GetCaptchaForbidden) IsServerError() bool
- func (o *GetCaptchaForbidden) IsSuccess() bool
- func (o *GetCaptchaForbidden) String() string
- type GetCaptchaOK
- func (o *GetCaptchaOK) Code() int
- func (o *GetCaptchaOK) Error() string
- func (o *GetCaptchaOK) GetPayload() *models.CaptchaDeployment
- func (o *GetCaptchaOK) IsClientError() bool
- func (o *GetCaptchaOK) IsCode(code int) bool
- func (o *GetCaptchaOK) IsRedirect() bool
- func (o *GetCaptchaOK) IsServerError() bool
- func (o *GetCaptchaOK) IsSuccess() bool
- func (o *GetCaptchaOK) String() string
- type GetCaptchaParams
- func (o *GetCaptchaParams) SetContext(ctx context.Context)
- func (o *GetCaptchaParams) SetDefaults()
- func (o *GetCaptchaParams) SetHTTPClient(client *http.Client)
- func (o *GetCaptchaParams) SetTimeout(timeout time.Duration)
- func (o *GetCaptchaParams) WithContext(ctx context.Context) *GetCaptchaParams
- func (o *GetCaptchaParams) WithDefaults() *GetCaptchaParams
- func (o *GetCaptchaParams) WithHTTPClient(client *http.Client) *GetCaptchaParams
- func (o *GetCaptchaParams) WithTimeout(timeout time.Duration) *GetCaptchaParams
- func (o *GetCaptchaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCaptchaReader
- type GetCaptchaTooManyRequests
- func (o *GetCaptchaTooManyRequests) Code() int
- func (o *GetCaptchaTooManyRequests) Error() string
- func (o *GetCaptchaTooManyRequests) GetPayload() *models.Error
- func (o *GetCaptchaTooManyRequests) IsClientError() bool
- func (o *GetCaptchaTooManyRequests) IsCode(code int) bool
- func (o *GetCaptchaTooManyRequests) IsRedirect() bool
- func (o *GetCaptchaTooManyRequests) IsServerError() bool
- func (o *GetCaptchaTooManyRequests) IsSuccess() bool
- func (o *GetCaptchaTooManyRequests) String() string
- type GetCaptchaUnauthorized
- func (o *GetCaptchaUnauthorized) Code() int
- func (o *GetCaptchaUnauthorized) Error() string
- func (o *GetCaptchaUnauthorized) GetPayload() *models.Error
- func (o *GetCaptchaUnauthorized) IsClientError() bool
- func (o *GetCaptchaUnauthorized) IsCode(code int) bool
- func (o *GetCaptchaUnauthorized) IsRedirect() bool
- func (o *GetCaptchaUnauthorized) IsServerError() bool
- func (o *GetCaptchaUnauthorized) IsSuccess() bool
- func (o *GetCaptchaUnauthorized) String() string
- type GetTenantCaptchaForbidden
- func (o *GetTenantCaptchaForbidden) Code() int
- func (o *GetTenantCaptchaForbidden) Error() string
- func (o *GetTenantCaptchaForbidden) GetPayload() *models.Error
- func (o *GetTenantCaptchaForbidden) IsClientError() bool
- func (o *GetTenantCaptchaForbidden) IsCode(code int) bool
- func (o *GetTenantCaptchaForbidden) IsRedirect() bool
- func (o *GetTenantCaptchaForbidden) IsServerError() bool
- func (o *GetTenantCaptchaForbidden) IsSuccess() bool
- func (o *GetTenantCaptchaForbidden) String() string
- type GetTenantCaptchaNotFound
- func (o *GetTenantCaptchaNotFound) Code() int
- func (o *GetTenantCaptchaNotFound) Error() string
- func (o *GetTenantCaptchaNotFound) GetPayload() *models.Error
- func (o *GetTenantCaptchaNotFound) IsClientError() bool
- func (o *GetTenantCaptchaNotFound) IsCode(code int) bool
- func (o *GetTenantCaptchaNotFound) IsRedirect() bool
- func (o *GetTenantCaptchaNotFound) IsServerError() bool
- func (o *GetTenantCaptchaNotFound) IsSuccess() bool
- func (o *GetTenantCaptchaNotFound) String() string
- type GetTenantCaptchaOK
- func (o *GetTenantCaptchaOK) Code() int
- func (o *GetTenantCaptchaOK) Error() string
- func (o *GetTenantCaptchaOK) GetPayload() *models.CaptchaSettings
- func (o *GetTenantCaptchaOK) IsClientError() bool
- func (o *GetTenantCaptchaOK) IsCode(code int) bool
- func (o *GetTenantCaptchaOK) IsRedirect() bool
- func (o *GetTenantCaptchaOK) IsServerError() bool
- func (o *GetTenantCaptchaOK) IsSuccess() bool
- func (o *GetTenantCaptchaOK) String() string
- type GetTenantCaptchaParams
- func NewGetTenantCaptchaParams() *GetTenantCaptchaParams
- func NewGetTenantCaptchaParamsWithContext(ctx context.Context) *GetTenantCaptchaParams
- func NewGetTenantCaptchaParamsWithHTTPClient(client *http.Client) *GetTenantCaptchaParams
- func NewGetTenantCaptchaParamsWithTimeout(timeout time.Duration) *GetTenantCaptchaParams
- func (o *GetTenantCaptchaParams) SetContext(ctx context.Context)
- func (o *GetTenantCaptchaParams) SetDefaults()
- func (o *GetTenantCaptchaParams) SetHTTPClient(client *http.Client)
- func (o *GetTenantCaptchaParams) SetTid(tid string)
- func (o *GetTenantCaptchaParams) SetTimeout(timeout time.Duration)
- func (o *GetTenantCaptchaParams) WithContext(ctx context.Context) *GetTenantCaptchaParams
- func (o *GetTenantCaptchaParams) WithDefaults() *GetTenantCaptchaParams
- func (o *GetTenantCaptchaParams) WithHTTPClient(client *http.Client) *GetTenantCaptchaParams
- func (o *GetTenantCaptchaParams) WithTid(tid string) *GetTenantCaptchaParams
- func (o *GetTenantCaptchaParams) WithTimeout(timeout time.Duration) *GetTenantCaptchaParams
- func (o *GetTenantCaptchaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTenantCaptchaReader
- type GetTenantCaptchaTooManyRequests
- func (o *GetTenantCaptchaTooManyRequests) Code() int
- func (o *GetTenantCaptchaTooManyRequests) Error() string
- func (o *GetTenantCaptchaTooManyRequests) GetPayload() *models.Error
- func (o *GetTenantCaptchaTooManyRequests) IsClientError() bool
- func (o *GetTenantCaptchaTooManyRequests) IsCode(code int) bool
- func (o *GetTenantCaptchaTooManyRequests) IsRedirect() bool
- func (o *GetTenantCaptchaTooManyRequests) IsServerError() bool
- func (o *GetTenantCaptchaTooManyRequests) IsSuccess() bool
- func (o *GetTenantCaptchaTooManyRequests) String() string
- type GetTenantCaptchaUnauthorized
- func (o *GetTenantCaptchaUnauthorized) Code() int
- func (o *GetTenantCaptchaUnauthorized) Error() string
- func (o *GetTenantCaptchaUnauthorized) GetPayload() *models.Error
- func (o *GetTenantCaptchaUnauthorized) IsClientError() bool
- func (o *GetTenantCaptchaUnauthorized) IsCode(code int) bool
- func (o *GetTenantCaptchaUnauthorized) IsRedirect() bool
- func (o *GetTenantCaptchaUnauthorized) IsServerError() bool
- func (o *GetTenantCaptchaUnauthorized) IsSuccess() bool
- func (o *GetTenantCaptchaUnauthorized) String() string
- type SetTenantCaptchaBadRequest
- func (o *SetTenantCaptchaBadRequest) Code() int
- func (o *SetTenantCaptchaBadRequest) Error() string
- func (o *SetTenantCaptchaBadRequest) GetPayload() *models.Error
- func (o *SetTenantCaptchaBadRequest) IsClientError() bool
- func (o *SetTenantCaptchaBadRequest) IsCode(code int) bool
- func (o *SetTenantCaptchaBadRequest) IsRedirect() bool
- func (o *SetTenantCaptchaBadRequest) IsServerError() bool
- func (o *SetTenantCaptchaBadRequest) IsSuccess() bool
- func (o *SetTenantCaptchaBadRequest) String() string
- type SetTenantCaptchaForbidden
- func (o *SetTenantCaptchaForbidden) Code() int
- func (o *SetTenantCaptchaForbidden) Error() string
- func (o *SetTenantCaptchaForbidden) GetPayload() *models.Error
- func (o *SetTenantCaptchaForbidden) IsClientError() bool
- func (o *SetTenantCaptchaForbidden) IsCode(code int) bool
- func (o *SetTenantCaptchaForbidden) IsRedirect() bool
- func (o *SetTenantCaptchaForbidden) IsServerError() bool
- func (o *SetTenantCaptchaForbidden) IsSuccess() bool
- func (o *SetTenantCaptchaForbidden) String() string
- type SetTenantCaptchaNotFound
- func (o *SetTenantCaptchaNotFound) Code() int
- func (o *SetTenantCaptchaNotFound) Error() string
- func (o *SetTenantCaptchaNotFound) GetPayload() *models.Error
- func (o *SetTenantCaptchaNotFound) IsClientError() bool
- func (o *SetTenantCaptchaNotFound) IsCode(code int) bool
- func (o *SetTenantCaptchaNotFound) IsRedirect() bool
- func (o *SetTenantCaptchaNotFound) IsServerError() bool
- func (o *SetTenantCaptchaNotFound) IsSuccess() bool
- func (o *SetTenantCaptchaNotFound) String() string
- type SetTenantCaptchaOK
- func (o *SetTenantCaptchaOK) Code() int
- func (o *SetTenantCaptchaOK) Error() string
- func (o *SetTenantCaptchaOK) GetPayload() *models.CaptchaSettings
- func (o *SetTenantCaptchaOK) IsClientError() bool
- func (o *SetTenantCaptchaOK) IsCode(code int) bool
- func (o *SetTenantCaptchaOK) IsRedirect() bool
- func (o *SetTenantCaptchaOK) IsServerError() bool
- func (o *SetTenantCaptchaOK) IsSuccess() bool
- func (o *SetTenantCaptchaOK) String() string
- type SetTenantCaptchaParams
- func NewSetTenantCaptchaParams() *SetTenantCaptchaParams
- func NewSetTenantCaptchaParamsWithContext(ctx context.Context) *SetTenantCaptchaParams
- func NewSetTenantCaptchaParamsWithHTTPClient(client *http.Client) *SetTenantCaptchaParams
- func NewSetTenantCaptchaParamsWithTimeout(timeout time.Duration) *SetTenantCaptchaParams
- func (o *SetTenantCaptchaParams) SetContext(ctx context.Context)
- func (o *SetTenantCaptchaParams) SetDefaults()
- func (o *SetTenantCaptchaParams) SetHTTPClient(client *http.Client)
- func (o *SetTenantCaptchaParams) SetSetTenantCaptcha(setTenantCaptcha *models.SetTenantCaptcha)
- func (o *SetTenantCaptchaParams) SetTid(tid string)
- func (o *SetTenantCaptchaParams) SetTimeout(timeout time.Duration)
- func (o *SetTenantCaptchaParams) WithContext(ctx context.Context) *SetTenantCaptchaParams
- func (o *SetTenantCaptchaParams) WithDefaults() *SetTenantCaptchaParams
- func (o *SetTenantCaptchaParams) WithHTTPClient(client *http.Client) *SetTenantCaptchaParams
- func (o *SetTenantCaptchaParams) WithSetTenantCaptcha(setTenantCaptcha *models.SetTenantCaptcha) *SetTenantCaptchaParams
- func (o *SetTenantCaptchaParams) WithTid(tid string) *SetTenantCaptchaParams
- func (o *SetTenantCaptchaParams) WithTimeout(timeout time.Duration) *SetTenantCaptchaParams
- func (o *SetTenantCaptchaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetTenantCaptchaReader
- type SetTenantCaptchaTooManyRequests
- func (o *SetTenantCaptchaTooManyRequests) Code() int
- func (o *SetTenantCaptchaTooManyRequests) Error() string
- func (o *SetTenantCaptchaTooManyRequests) GetPayload() *models.Error
- func (o *SetTenantCaptchaTooManyRequests) IsClientError() bool
- func (o *SetTenantCaptchaTooManyRequests) IsCode(code int) bool
- func (o *SetTenantCaptchaTooManyRequests) IsRedirect() bool
- func (o *SetTenantCaptchaTooManyRequests) IsServerError() bool
- func (o *SetTenantCaptchaTooManyRequests) IsSuccess() bool
- func (o *SetTenantCaptchaTooManyRequests) String() string
- type SetTenantCaptchaUnauthorized
- func (o *SetTenantCaptchaUnauthorized) Code() int
- func (o *SetTenantCaptchaUnauthorized) Error() string
- func (o *SetTenantCaptchaUnauthorized) GetPayload() *models.Error
- func (o *SetTenantCaptchaUnauthorized) IsClientError() bool
- func (o *SetTenantCaptchaUnauthorized) IsCode(code int) bool
- func (o *SetTenantCaptchaUnauthorized) IsRedirect() bool
- func (o *SetTenantCaptchaUnauthorized) IsServerError() bool
- func (o *SetTenantCaptchaUnauthorized) IsSuccess() bool
- func (o *SetTenantCaptchaUnauthorized) String() string
- type SetTenantCaptchaUnprocessableEntity
- func (o *SetTenantCaptchaUnprocessableEntity) Code() int
- func (o *SetTenantCaptchaUnprocessableEntity) Error() string
- func (o *SetTenantCaptchaUnprocessableEntity) GetPayload() *models.Error
- func (o *SetTenantCaptchaUnprocessableEntity) IsClientError() bool
- func (o *SetTenantCaptchaUnprocessableEntity) IsCode(code int) bool
- func (o *SetTenantCaptchaUnprocessableEntity) IsRedirect() bool
- func (o *SetTenantCaptchaUnprocessableEntity) IsServerError() bool
- func (o *SetTenantCaptchaUnprocessableEntity) IsSuccess() bool
- func (o *SetTenantCaptchaUnprocessableEntity) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for captcha API
func (*Client) GetCaptcha ¶
func (a *Client) GetCaptcha(params *GetCaptchaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCaptchaOK, error)
GetCaptcha gets deployment captcha state
func (*Client) GetTenantCaptcha ¶
func (a *Client) GetTenantCaptcha(params *GetTenantCaptchaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTenantCaptchaOK, error)
GetTenantCaptcha gets tenant captcha settings
func (*Client) SetTenantCaptcha ¶
func (a *Client) SetTenantCaptcha(params *SetTenantCaptchaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetTenantCaptchaOK, error)
SetTenantCaptcha sets tenant captcha settings
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface {
GetCaptcha(params *GetCaptchaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCaptchaOK, error)
GetTenantCaptcha(params *GetTenantCaptchaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTenantCaptchaOK, error)
SetTenantCaptcha(params *SetTenantCaptchaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetTenantCaptchaOK, 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 captcha API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new captcha API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new captcha API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type GetCaptchaForbidden ¶
GetCaptchaForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetCaptchaForbidden ¶
func NewGetCaptchaForbidden() *GetCaptchaForbidden
NewGetCaptchaForbidden creates a GetCaptchaForbidden with default headers values
func (*GetCaptchaForbidden) Code ¶
func (o *GetCaptchaForbidden) Code() int
Code gets the status code for the get captcha forbidden response
func (*GetCaptchaForbidden) Error ¶
func (o *GetCaptchaForbidden) Error() string
func (*GetCaptchaForbidden) GetPayload ¶
func (o *GetCaptchaForbidden) GetPayload() *models.Error
func (*GetCaptchaForbidden) IsClientError ¶
func (o *GetCaptchaForbidden) IsClientError() bool
IsClientError returns true when this get captcha forbidden response has a 4xx status code
func (*GetCaptchaForbidden) IsCode ¶
func (o *GetCaptchaForbidden) IsCode(code int) bool
IsCode returns true when this get captcha forbidden response a status code equal to that given
func (*GetCaptchaForbidden) IsRedirect ¶
func (o *GetCaptchaForbidden) IsRedirect() bool
IsRedirect returns true when this get captcha forbidden response has a 3xx status code
func (*GetCaptchaForbidden) IsServerError ¶
func (o *GetCaptchaForbidden) IsServerError() bool
IsServerError returns true when this get captcha forbidden response has a 5xx status code
func (*GetCaptchaForbidden) IsSuccess ¶
func (o *GetCaptchaForbidden) IsSuccess() bool
IsSuccess returns true when this get captcha forbidden response has a 2xx status code
func (*GetCaptchaForbidden) String ¶
func (o *GetCaptchaForbidden) String() string
type GetCaptchaOK ¶
type GetCaptchaOK struct {
Payload *models.CaptchaDeployment
}
GetCaptchaOK describes a response with status code 200, with default header values.
Get captcha
func NewGetCaptchaOK ¶
func NewGetCaptchaOK() *GetCaptchaOK
NewGetCaptchaOK creates a GetCaptchaOK with default headers values
func (*GetCaptchaOK) Code ¶
func (o *GetCaptchaOK) Code() int
Code gets the status code for the get captcha o k response
func (*GetCaptchaOK) Error ¶
func (o *GetCaptchaOK) Error() string
func (*GetCaptchaOK) GetPayload ¶
func (o *GetCaptchaOK) GetPayload() *models.CaptchaDeployment
func (*GetCaptchaOK) IsClientError ¶
func (o *GetCaptchaOK) IsClientError() bool
IsClientError returns true when this get captcha o k response has a 4xx status code
func (*GetCaptchaOK) IsCode ¶
func (o *GetCaptchaOK) IsCode(code int) bool
IsCode returns true when this get captcha o k response a status code equal to that given
func (*GetCaptchaOK) IsRedirect ¶
func (o *GetCaptchaOK) IsRedirect() bool
IsRedirect returns true when this get captcha o k response has a 3xx status code
func (*GetCaptchaOK) IsServerError ¶
func (o *GetCaptchaOK) IsServerError() bool
IsServerError returns true when this get captcha o k response has a 5xx status code
func (*GetCaptchaOK) IsSuccess ¶
func (o *GetCaptchaOK) IsSuccess() bool
IsSuccess returns true when this get captcha o k response has a 2xx status code
func (*GetCaptchaOK) String ¶
func (o *GetCaptchaOK) String() string
type GetCaptchaParams ¶
type GetCaptchaParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetCaptchaParams contains all the parameters to send to the API endpoint
for the get captcha operation. Typically these are written to a http.Request.
func NewGetCaptchaParams ¶
func NewGetCaptchaParams() *GetCaptchaParams
NewGetCaptchaParams creates a new GetCaptchaParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetCaptchaParamsWithContext ¶
func NewGetCaptchaParamsWithContext(ctx context.Context) *GetCaptchaParams
NewGetCaptchaParamsWithContext creates a new GetCaptchaParams object with the ability to set a context for a request.
func NewGetCaptchaParamsWithHTTPClient ¶
func NewGetCaptchaParamsWithHTTPClient(client *http.Client) *GetCaptchaParams
NewGetCaptchaParamsWithHTTPClient creates a new GetCaptchaParams object with the ability to set a custom HTTPClient for a request.
func NewGetCaptchaParamsWithTimeout ¶
func NewGetCaptchaParamsWithTimeout(timeout time.Duration) *GetCaptchaParams
NewGetCaptchaParamsWithTimeout creates a new GetCaptchaParams object with the ability to set a timeout on a request.
func (*GetCaptchaParams) SetContext ¶
func (o *GetCaptchaParams) SetContext(ctx context.Context)
SetContext adds the context to the get captcha params
func (*GetCaptchaParams) SetDefaults ¶
func (o *GetCaptchaParams) SetDefaults()
SetDefaults hydrates default values in the get captcha params (not the query body).
All values with no default are reset to their zero value.
func (*GetCaptchaParams) SetHTTPClient ¶
func (o *GetCaptchaParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get captcha params
func (*GetCaptchaParams) SetTimeout ¶
func (o *GetCaptchaParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get captcha params
func (*GetCaptchaParams) WithContext ¶
func (o *GetCaptchaParams) WithContext(ctx context.Context) *GetCaptchaParams
WithContext adds the context to the get captcha params
func (*GetCaptchaParams) WithDefaults ¶
func (o *GetCaptchaParams) WithDefaults() *GetCaptchaParams
WithDefaults hydrates default values in the get captcha params (not the query body).
All values with no default are reset to their zero value.
func (*GetCaptchaParams) WithHTTPClient ¶
func (o *GetCaptchaParams) WithHTTPClient(client *http.Client) *GetCaptchaParams
WithHTTPClient adds the HTTPClient to the get captcha params
func (*GetCaptchaParams) WithTimeout ¶
func (o *GetCaptchaParams) WithTimeout(timeout time.Duration) *GetCaptchaParams
WithTimeout adds the timeout to the get captcha params
func (*GetCaptchaParams) WriteToRequest ¶
func (o *GetCaptchaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCaptchaReader ¶
type GetCaptchaReader struct {
// contains filtered or unexported fields
}
GetCaptchaReader is a Reader for the GetCaptcha structure.
func (*GetCaptchaReader) ReadResponse ¶
func (o *GetCaptchaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCaptchaTooManyRequests ¶
GetCaptchaTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewGetCaptchaTooManyRequests ¶
func NewGetCaptchaTooManyRequests() *GetCaptchaTooManyRequests
NewGetCaptchaTooManyRequests creates a GetCaptchaTooManyRequests with default headers values
func (*GetCaptchaTooManyRequests) Code ¶
func (o *GetCaptchaTooManyRequests) Code() int
Code gets the status code for the get captcha too many requests response
func (*GetCaptchaTooManyRequests) Error ¶
func (o *GetCaptchaTooManyRequests) Error() string
func (*GetCaptchaTooManyRequests) GetPayload ¶
func (o *GetCaptchaTooManyRequests) GetPayload() *models.Error
func (*GetCaptchaTooManyRequests) IsClientError ¶
func (o *GetCaptchaTooManyRequests) IsClientError() bool
IsClientError returns true when this get captcha too many requests response has a 4xx status code
func (*GetCaptchaTooManyRequests) IsCode ¶
func (o *GetCaptchaTooManyRequests) IsCode(code int) bool
IsCode returns true when this get captcha too many requests response a status code equal to that given
func (*GetCaptchaTooManyRequests) IsRedirect ¶
func (o *GetCaptchaTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get captcha too many requests response has a 3xx status code
func (*GetCaptchaTooManyRequests) IsServerError ¶
func (o *GetCaptchaTooManyRequests) IsServerError() bool
IsServerError returns true when this get captcha too many requests response has a 5xx status code
func (*GetCaptchaTooManyRequests) IsSuccess ¶
func (o *GetCaptchaTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get captcha too many requests response has a 2xx status code
func (*GetCaptchaTooManyRequests) String ¶
func (o *GetCaptchaTooManyRequests) String() string
type GetCaptchaUnauthorized ¶
type GetCaptchaUnauthorized struct {
}
GetCaptchaUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetCaptchaUnauthorized ¶
func NewGetCaptchaUnauthorized() *GetCaptchaUnauthorized
NewGetCaptchaUnauthorized creates a GetCaptchaUnauthorized with default headers values
func (*GetCaptchaUnauthorized) Code ¶
func (o *GetCaptchaUnauthorized) Code() int
Code gets the status code for the get captcha unauthorized response
func (*GetCaptchaUnauthorized) Error ¶
func (o *GetCaptchaUnauthorized) Error() string
func (*GetCaptchaUnauthorized) GetPayload ¶
func (o *GetCaptchaUnauthorized) GetPayload() *models.Error
func (*GetCaptchaUnauthorized) IsClientError ¶
func (o *GetCaptchaUnauthorized) IsClientError() bool
IsClientError returns true when this get captcha unauthorized response has a 4xx status code
func (*GetCaptchaUnauthorized) IsCode ¶
func (o *GetCaptchaUnauthorized) IsCode(code int) bool
IsCode returns true when this get captcha unauthorized response a status code equal to that given
func (*GetCaptchaUnauthorized) IsRedirect ¶
func (o *GetCaptchaUnauthorized) IsRedirect() bool
IsRedirect returns true when this get captcha unauthorized response has a 3xx status code
func (*GetCaptchaUnauthorized) IsServerError ¶
func (o *GetCaptchaUnauthorized) IsServerError() bool
IsServerError returns true when this get captcha unauthorized response has a 5xx status code
func (*GetCaptchaUnauthorized) IsSuccess ¶
func (o *GetCaptchaUnauthorized) IsSuccess() bool
IsSuccess returns true when this get captcha unauthorized response has a 2xx status code
func (*GetCaptchaUnauthorized) String ¶
func (o *GetCaptchaUnauthorized) String() string
type GetTenantCaptchaForbidden ¶
GetTenantCaptchaForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetTenantCaptchaForbidden ¶
func NewGetTenantCaptchaForbidden() *GetTenantCaptchaForbidden
NewGetTenantCaptchaForbidden creates a GetTenantCaptchaForbidden with default headers values
func (*GetTenantCaptchaForbidden) Code ¶
func (o *GetTenantCaptchaForbidden) Code() int
Code gets the status code for the get tenant captcha forbidden response
func (*GetTenantCaptchaForbidden) Error ¶
func (o *GetTenantCaptchaForbidden) Error() string
func (*GetTenantCaptchaForbidden) GetPayload ¶
func (o *GetTenantCaptchaForbidden) GetPayload() *models.Error
func (*GetTenantCaptchaForbidden) IsClientError ¶
func (o *GetTenantCaptchaForbidden) IsClientError() bool
IsClientError returns true when this get tenant captcha forbidden response has a 4xx status code
func (*GetTenantCaptchaForbidden) IsCode ¶
func (o *GetTenantCaptchaForbidden) IsCode(code int) bool
IsCode returns true when this get tenant captcha forbidden response a status code equal to that given
func (*GetTenantCaptchaForbidden) IsRedirect ¶
func (o *GetTenantCaptchaForbidden) IsRedirect() bool
IsRedirect returns true when this get tenant captcha forbidden response has a 3xx status code
func (*GetTenantCaptchaForbidden) IsServerError ¶
func (o *GetTenantCaptchaForbidden) IsServerError() bool
IsServerError returns true when this get tenant captcha forbidden response has a 5xx status code
func (*GetTenantCaptchaForbidden) IsSuccess ¶
func (o *GetTenantCaptchaForbidden) IsSuccess() bool
IsSuccess returns true when this get tenant captcha forbidden response has a 2xx status code
func (*GetTenantCaptchaForbidden) String ¶
func (o *GetTenantCaptchaForbidden) String() string
type GetTenantCaptchaNotFound ¶
GetTenantCaptchaNotFound describes a response with status code 404, with default header values.
Not found
func NewGetTenantCaptchaNotFound ¶
func NewGetTenantCaptchaNotFound() *GetTenantCaptchaNotFound
NewGetTenantCaptchaNotFound creates a GetTenantCaptchaNotFound with default headers values
func (*GetTenantCaptchaNotFound) Code ¶
func (o *GetTenantCaptchaNotFound) Code() int
Code gets the status code for the get tenant captcha not found response
func (*GetTenantCaptchaNotFound) Error ¶
func (o *GetTenantCaptchaNotFound) Error() string
func (*GetTenantCaptchaNotFound) GetPayload ¶
func (o *GetTenantCaptchaNotFound) GetPayload() *models.Error
func (*GetTenantCaptchaNotFound) IsClientError ¶
func (o *GetTenantCaptchaNotFound) IsClientError() bool
IsClientError returns true when this get tenant captcha not found response has a 4xx status code
func (*GetTenantCaptchaNotFound) IsCode ¶
func (o *GetTenantCaptchaNotFound) IsCode(code int) bool
IsCode returns true when this get tenant captcha not found response a status code equal to that given
func (*GetTenantCaptchaNotFound) IsRedirect ¶
func (o *GetTenantCaptchaNotFound) IsRedirect() bool
IsRedirect returns true when this get tenant captcha not found response has a 3xx status code
func (*GetTenantCaptchaNotFound) IsServerError ¶
func (o *GetTenantCaptchaNotFound) IsServerError() bool
IsServerError returns true when this get tenant captcha not found response has a 5xx status code
func (*GetTenantCaptchaNotFound) IsSuccess ¶
func (o *GetTenantCaptchaNotFound) IsSuccess() bool
IsSuccess returns true when this get tenant captcha not found response has a 2xx status code
func (*GetTenantCaptchaNotFound) String ¶
func (o *GetTenantCaptchaNotFound) String() string
type GetTenantCaptchaOK ¶
type GetTenantCaptchaOK struct {
Payload *models.CaptchaSettings
}
GetTenantCaptchaOK describes a response with status code 200, with default header values.
Tenant captcha settings
func NewGetTenantCaptchaOK ¶
func NewGetTenantCaptchaOK() *GetTenantCaptchaOK
NewGetTenantCaptchaOK creates a GetTenantCaptchaOK with default headers values
func (*GetTenantCaptchaOK) Code ¶
func (o *GetTenantCaptchaOK) Code() int
Code gets the status code for the get tenant captcha o k response
func (*GetTenantCaptchaOK) Error ¶
func (o *GetTenantCaptchaOK) Error() string
func (*GetTenantCaptchaOK) GetPayload ¶
func (o *GetTenantCaptchaOK) GetPayload() *models.CaptchaSettings
func (*GetTenantCaptchaOK) IsClientError ¶
func (o *GetTenantCaptchaOK) IsClientError() bool
IsClientError returns true when this get tenant captcha o k response has a 4xx status code
func (*GetTenantCaptchaOK) IsCode ¶
func (o *GetTenantCaptchaOK) IsCode(code int) bool
IsCode returns true when this get tenant captcha o k response a status code equal to that given
func (*GetTenantCaptchaOK) IsRedirect ¶
func (o *GetTenantCaptchaOK) IsRedirect() bool
IsRedirect returns true when this get tenant captcha o k response has a 3xx status code
func (*GetTenantCaptchaOK) IsServerError ¶
func (o *GetTenantCaptchaOK) IsServerError() bool
IsServerError returns true when this get tenant captcha o k response has a 5xx status code
func (*GetTenantCaptchaOK) IsSuccess ¶
func (o *GetTenantCaptchaOK) IsSuccess() bool
IsSuccess returns true when this get tenant captcha o k response has a 2xx status code
func (*GetTenantCaptchaOK) String ¶
func (o *GetTenantCaptchaOK) String() string
type GetTenantCaptchaParams ¶
type GetTenantCaptchaParams struct {
/* Tid.
Tenant id
Default: "default"
*/
Tid string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetTenantCaptchaParams contains all the parameters to send to the API endpoint
for the get tenant captcha operation. Typically these are written to a http.Request.
func NewGetTenantCaptchaParams ¶
func NewGetTenantCaptchaParams() *GetTenantCaptchaParams
NewGetTenantCaptchaParams creates a new GetTenantCaptchaParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetTenantCaptchaParamsWithContext ¶
func NewGetTenantCaptchaParamsWithContext(ctx context.Context) *GetTenantCaptchaParams
NewGetTenantCaptchaParamsWithContext creates a new GetTenantCaptchaParams object with the ability to set a context for a request.
func NewGetTenantCaptchaParamsWithHTTPClient ¶
func NewGetTenantCaptchaParamsWithHTTPClient(client *http.Client) *GetTenantCaptchaParams
NewGetTenantCaptchaParamsWithHTTPClient creates a new GetTenantCaptchaParams object with the ability to set a custom HTTPClient for a request.
func NewGetTenantCaptchaParamsWithTimeout ¶
func NewGetTenantCaptchaParamsWithTimeout(timeout time.Duration) *GetTenantCaptchaParams
NewGetTenantCaptchaParamsWithTimeout creates a new GetTenantCaptchaParams object with the ability to set a timeout on a request.
func (*GetTenantCaptchaParams) SetContext ¶
func (o *GetTenantCaptchaParams) SetContext(ctx context.Context)
SetContext adds the context to the get tenant captcha params
func (*GetTenantCaptchaParams) SetDefaults ¶
func (o *GetTenantCaptchaParams) SetDefaults()
SetDefaults hydrates default values in the get tenant captcha params (not the query body).
All values with no default are reset to their zero value.
func (*GetTenantCaptchaParams) SetHTTPClient ¶
func (o *GetTenantCaptchaParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get tenant captcha params
func (*GetTenantCaptchaParams) SetTid ¶
func (o *GetTenantCaptchaParams) SetTid(tid string)
SetTid adds the tid to the get tenant captcha params
func (*GetTenantCaptchaParams) SetTimeout ¶
func (o *GetTenantCaptchaParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get tenant captcha params
func (*GetTenantCaptchaParams) WithContext ¶
func (o *GetTenantCaptchaParams) WithContext(ctx context.Context) *GetTenantCaptchaParams
WithContext adds the context to the get tenant captcha params
func (*GetTenantCaptchaParams) WithDefaults ¶
func (o *GetTenantCaptchaParams) WithDefaults() *GetTenantCaptchaParams
WithDefaults hydrates default values in the get tenant captcha params (not the query body).
All values with no default are reset to their zero value.
func (*GetTenantCaptchaParams) WithHTTPClient ¶
func (o *GetTenantCaptchaParams) WithHTTPClient(client *http.Client) *GetTenantCaptchaParams
WithHTTPClient adds the HTTPClient to the get tenant captcha params
func (*GetTenantCaptchaParams) WithTid ¶
func (o *GetTenantCaptchaParams) WithTid(tid string) *GetTenantCaptchaParams
WithTid adds the tid to the get tenant captcha params
func (*GetTenantCaptchaParams) WithTimeout ¶
func (o *GetTenantCaptchaParams) WithTimeout(timeout time.Duration) *GetTenantCaptchaParams
WithTimeout adds the timeout to the get tenant captcha params
func (*GetTenantCaptchaParams) WriteToRequest ¶
func (o *GetTenantCaptchaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTenantCaptchaReader ¶
type GetTenantCaptchaReader struct {
// contains filtered or unexported fields
}
GetTenantCaptchaReader is a Reader for the GetTenantCaptcha structure.
func (*GetTenantCaptchaReader) ReadResponse ¶
func (o *GetTenantCaptchaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTenantCaptchaTooManyRequests ¶
GetTenantCaptchaTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewGetTenantCaptchaTooManyRequests ¶
func NewGetTenantCaptchaTooManyRequests() *GetTenantCaptchaTooManyRequests
NewGetTenantCaptchaTooManyRequests creates a GetTenantCaptchaTooManyRequests with default headers values
func (*GetTenantCaptchaTooManyRequests) Code ¶
func (o *GetTenantCaptchaTooManyRequests) Code() int
Code gets the status code for the get tenant captcha too many requests response
func (*GetTenantCaptchaTooManyRequests) Error ¶
func (o *GetTenantCaptchaTooManyRequests) Error() string
func (*GetTenantCaptchaTooManyRequests) GetPayload ¶
func (o *GetTenantCaptchaTooManyRequests) GetPayload() *models.Error
func (*GetTenantCaptchaTooManyRequests) IsClientError ¶
func (o *GetTenantCaptchaTooManyRequests) IsClientError() bool
IsClientError returns true when this get tenant captcha too many requests response has a 4xx status code
func (*GetTenantCaptchaTooManyRequests) IsCode ¶
func (o *GetTenantCaptchaTooManyRequests) IsCode(code int) bool
IsCode returns true when this get tenant captcha too many requests response a status code equal to that given
func (*GetTenantCaptchaTooManyRequests) IsRedirect ¶
func (o *GetTenantCaptchaTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get tenant captcha too many requests response has a 3xx status code
func (*GetTenantCaptchaTooManyRequests) IsServerError ¶
func (o *GetTenantCaptchaTooManyRequests) IsServerError() bool
IsServerError returns true when this get tenant captcha too many requests response has a 5xx status code
func (*GetTenantCaptchaTooManyRequests) IsSuccess ¶
func (o *GetTenantCaptchaTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get tenant captcha too many requests response has a 2xx status code
func (*GetTenantCaptchaTooManyRequests) String ¶
func (o *GetTenantCaptchaTooManyRequests) String() string
type GetTenantCaptchaUnauthorized ¶
type GetTenantCaptchaUnauthorized struct {
}
GetTenantCaptchaUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetTenantCaptchaUnauthorized ¶
func NewGetTenantCaptchaUnauthorized() *GetTenantCaptchaUnauthorized
NewGetTenantCaptchaUnauthorized creates a GetTenantCaptchaUnauthorized with default headers values
func (*GetTenantCaptchaUnauthorized) Code ¶
func (o *GetTenantCaptchaUnauthorized) Code() int
Code gets the status code for the get tenant captcha unauthorized response
func (*GetTenantCaptchaUnauthorized) Error ¶
func (o *GetTenantCaptchaUnauthorized) Error() string
func (*GetTenantCaptchaUnauthorized) GetPayload ¶
func (o *GetTenantCaptchaUnauthorized) GetPayload() *models.Error
func (*GetTenantCaptchaUnauthorized) IsClientError ¶
func (o *GetTenantCaptchaUnauthorized) IsClientError() bool
IsClientError returns true when this get tenant captcha unauthorized response has a 4xx status code
func (*GetTenantCaptchaUnauthorized) IsCode ¶
func (o *GetTenantCaptchaUnauthorized) IsCode(code int) bool
IsCode returns true when this get tenant captcha unauthorized response a status code equal to that given
func (*GetTenantCaptchaUnauthorized) IsRedirect ¶
func (o *GetTenantCaptchaUnauthorized) IsRedirect() bool
IsRedirect returns true when this get tenant captcha unauthorized response has a 3xx status code
func (*GetTenantCaptchaUnauthorized) IsServerError ¶
func (o *GetTenantCaptchaUnauthorized) IsServerError() bool
IsServerError returns true when this get tenant captcha unauthorized response has a 5xx status code
func (*GetTenantCaptchaUnauthorized) IsSuccess ¶
func (o *GetTenantCaptchaUnauthorized) IsSuccess() bool
IsSuccess returns true when this get tenant captcha unauthorized response has a 2xx status code
func (*GetTenantCaptchaUnauthorized) String ¶
func (o *GetTenantCaptchaUnauthorized) String() string
type SetTenantCaptchaBadRequest ¶
SetTenantCaptchaBadRequest describes a response with status code 400, with default header values.
Bad request
func NewSetTenantCaptchaBadRequest ¶
func NewSetTenantCaptchaBadRequest() *SetTenantCaptchaBadRequest
NewSetTenantCaptchaBadRequest creates a SetTenantCaptchaBadRequest with default headers values
func (*SetTenantCaptchaBadRequest) Code ¶
func (o *SetTenantCaptchaBadRequest) Code() int
Code gets the status code for the set tenant captcha bad request response
func (*SetTenantCaptchaBadRequest) Error ¶
func (o *SetTenantCaptchaBadRequest) Error() string
func (*SetTenantCaptchaBadRequest) GetPayload ¶
func (o *SetTenantCaptchaBadRequest) GetPayload() *models.Error
func (*SetTenantCaptchaBadRequest) IsClientError ¶
func (o *SetTenantCaptchaBadRequest) IsClientError() bool
IsClientError returns true when this set tenant captcha bad request response has a 4xx status code
func (*SetTenantCaptchaBadRequest) IsCode ¶
func (o *SetTenantCaptchaBadRequest) IsCode(code int) bool
IsCode returns true when this set tenant captcha bad request response a status code equal to that given
func (*SetTenantCaptchaBadRequest) IsRedirect ¶
func (o *SetTenantCaptchaBadRequest) IsRedirect() bool
IsRedirect returns true when this set tenant captcha bad request response has a 3xx status code
func (*SetTenantCaptchaBadRequest) IsServerError ¶
func (o *SetTenantCaptchaBadRequest) IsServerError() bool
IsServerError returns true when this set tenant captcha bad request response has a 5xx status code
func (*SetTenantCaptchaBadRequest) IsSuccess ¶
func (o *SetTenantCaptchaBadRequest) IsSuccess() bool
IsSuccess returns true when this set tenant captcha bad request response has a 2xx status code
func (*SetTenantCaptchaBadRequest) String ¶
func (o *SetTenantCaptchaBadRequest) String() string
type SetTenantCaptchaForbidden ¶
SetTenantCaptchaForbidden describes a response with status code 403, with default header values.
Forbidden
func NewSetTenantCaptchaForbidden ¶
func NewSetTenantCaptchaForbidden() *SetTenantCaptchaForbidden
NewSetTenantCaptchaForbidden creates a SetTenantCaptchaForbidden with default headers values
func (*SetTenantCaptchaForbidden) Code ¶
func (o *SetTenantCaptchaForbidden) Code() int
Code gets the status code for the set tenant captcha forbidden response
func (*SetTenantCaptchaForbidden) Error ¶
func (o *SetTenantCaptchaForbidden) Error() string
func (*SetTenantCaptchaForbidden) GetPayload ¶
func (o *SetTenantCaptchaForbidden) GetPayload() *models.Error
func (*SetTenantCaptchaForbidden) IsClientError ¶
func (o *SetTenantCaptchaForbidden) IsClientError() bool
IsClientError returns true when this set tenant captcha forbidden response has a 4xx status code
func (*SetTenantCaptchaForbidden) IsCode ¶
func (o *SetTenantCaptchaForbidden) IsCode(code int) bool
IsCode returns true when this set tenant captcha forbidden response a status code equal to that given
func (*SetTenantCaptchaForbidden) IsRedirect ¶
func (o *SetTenantCaptchaForbidden) IsRedirect() bool
IsRedirect returns true when this set tenant captcha forbidden response has a 3xx status code
func (*SetTenantCaptchaForbidden) IsServerError ¶
func (o *SetTenantCaptchaForbidden) IsServerError() bool
IsServerError returns true when this set tenant captcha forbidden response has a 5xx status code
func (*SetTenantCaptchaForbidden) IsSuccess ¶
func (o *SetTenantCaptchaForbidden) IsSuccess() bool
IsSuccess returns true when this set tenant captcha forbidden response has a 2xx status code
func (*SetTenantCaptchaForbidden) String ¶
func (o *SetTenantCaptchaForbidden) String() string
type SetTenantCaptchaNotFound ¶
SetTenantCaptchaNotFound describes a response with status code 404, with default header values.
Not found
func NewSetTenantCaptchaNotFound ¶
func NewSetTenantCaptchaNotFound() *SetTenantCaptchaNotFound
NewSetTenantCaptchaNotFound creates a SetTenantCaptchaNotFound with default headers values
func (*SetTenantCaptchaNotFound) Code ¶
func (o *SetTenantCaptchaNotFound) Code() int
Code gets the status code for the set tenant captcha not found response
func (*SetTenantCaptchaNotFound) Error ¶
func (o *SetTenantCaptchaNotFound) Error() string
func (*SetTenantCaptchaNotFound) GetPayload ¶
func (o *SetTenantCaptchaNotFound) GetPayload() *models.Error
func (*SetTenantCaptchaNotFound) IsClientError ¶
func (o *SetTenantCaptchaNotFound) IsClientError() bool
IsClientError returns true when this set tenant captcha not found response has a 4xx status code
func (*SetTenantCaptchaNotFound) IsCode ¶
func (o *SetTenantCaptchaNotFound) IsCode(code int) bool
IsCode returns true when this set tenant captcha not found response a status code equal to that given
func (*SetTenantCaptchaNotFound) IsRedirect ¶
func (o *SetTenantCaptchaNotFound) IsRedirect() bool
IsRedirect returns true when this set tenant captcha not found response has a 3xx status code
func (*SetTenantCaptchaNotFound) IsServerError ¶
func (o *SetTenantCaptchaNotFound) IsServerError() bool
IsServerError returns true when this set tenant captcha not found response has a 5xx status code
func (*SetTenantCaptchaNotFound) IsSuccess ¶
func (o *SetTenantCaptchaNotFound) IsSuccess() bool
IsSuccess returns true when this set tenant captcha not found response has a 2xx status code
func (*SetTenantCaptchaNotFound) String ¶
func (o *SetTenantCaptchaNotFound) String() string
type SetTenantCaptchaOK ¶
type SetTenantCaptchaOK struct {
Payload *models.CaptchaSettings
}
SetTenantCaptchaOK describes a response with status code 200, with default header values.
Tenant captcha settings
func NewSetTenantCaptchaOK ¶
func NewSetTenantCaptchaOK() *SetTenantCaptchaOK
NewSetTenantCaptchaOK creates a SetTenantCaptchaOK with default headers values
func (*SetTenantCaptchaOK) Code ¶
func (o *SetTenantCaptchaOK) Code() int
Code gets the status code for the set tenant captcha o k response
func (*SetTenantCaptchaOK) Error ¶
func (o *SetTenantCaptchaOK) Error() string
func (*SetTenantCaptchaOK) GetPayload ¶
func (o *SetTenantCaptchaOK) GetPayload() *models.CaptchaSettings
func (*SetTenantCaptchaOK) IsClientError ¶
func (o *SetTenantCaptchaOK) IsClientError() bool
IsClientError returns true when this set tenant captcha o k response has a 4xx status code
func (*SetTenantCaptchaOK) IsCode ¶
func (o *SetTenantCaptchaOK) IsCode(code int) bool
IsCode returns true when this set tenant captcha o k response a status code equal to that given
func (*SetTenantCaptchaOK) IsRedirect ¶
func (o *SetTenantCaptchaOK) IsRedirect() bool
IsRedirect returns true when this set tenant captcha o k response has a 3xx status code
func (*SetTenantCaptchaOK) IsServerError ¶
func (o *SetTenantCaptchaOK) IsServerError() bool
IsServerError returns true when this set tenant captcha o k response has a 5xx status code
func (*SetTenantCaptchaOK) IsSuccess ¶
func (o *SetTenantCaptchaOK) IsSuccess() bool
IsSuccess returns true when this set tenant captcha o k response has a 2xx status code
func (*SetTenantCaptchaOK) String ¶
func (o *SetTenantCaptchaOK) String() string
type SetTenantCaptchaParams ¶
type SetTenantCaptchaParams struct {
// SetTenantCaptcha.
SetTenantCaptcha *models.SetTenantCaptcha
/* Tid.
Tenant id
Default: "default"
*/
Tid string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
SetTenantCaptchaParams contains all the parameters to send to the API endpoint
for the set tenant captcha operation. Typically these are written to a http.Request.
func NewSetTenantCaptchaParams ¶
func NewSetTenantCaptchaParams() *SetTenantCaptchaParams
NewSetTenantCaptchaParams creates a new SetTenantCaptchaParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSetTenantCaptchaParamsWithContext ¶
func NewSetTenantCaptchaParamsWithContext(ctx context.Context) *SetTenantCaptchaParams
NewSetTenantCaptchaParamsWithContext creates a new SetTenantCaptchaParams object with the ability to set a context for a request.
func NewSetTenantCaptchaParamsWithHTTPClient ¶
func NewSetTenantCaptchaParamsWithHTTPClient(client *http.Client) *SetTenantCaptchaParams
NewSetTenantCaptchaParamsWithHTTPClient creates a new SetTenantCaptchaParams object with the ability to set a custom HTTPClient for a request.
func NewSetTenantCaptchaParamsWithTimeout ¶
func NewSetTenantCaptchaParamsWithTimeout(timeout time.Duration) *SetTenantCaptchaParams
NewSetTenantCaptchaParamsWithTimeout creates a new SetTenantCaptchaParams object with the ability to set a timeout on a request.
func (*SetTenantCaptchaParams) SetContext ¶
func (o *SetTenantCaptchaParams) SetContext(ctx context.Context)
SetContext adds the context to the set tenant captcha params
func (*SetTenantCaptchaParams) SetDefaults ¶
func (o *SetTenantCaptchaParams) SetDefaults()
SetDefaults hydrates default values in the set tenant captcha params (not the query body).
All values with no default are reset to their zero value.
func (*SetTenantCaptchaParams) SetHTTPClient ¶
func (o *SetTenantCaptchaParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set tenant captcha params
func (*SetTenantCaptchaParams) SetSetTenantCaptcha ¶
func (o *SetTenantCaptchaParams) SetSetTenantCaptcha(setTenantCaptcha *models.SetTenantCaptcha)
SetSetTenantCaptcha adds the setTenantCaptcha to the set tenant captcha params
func (*SetTenantCaptchaParams) SetTid ¶
func (o *SetTenantCaptchaParams) SetTid(tid string)
SetTid adds the tid to the set tenant captcha params
func (*SetTenantCaptchaParams) SetTimeout ¶
func (o *SetTenantCaptchaParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set tenant captcha params
func (*SetTenantCaptchaParams) WithContext ¶
func (o *SetTenantCaptchaParams) WithContext(ctx context.Context) *SetTenantCaptchaParams
WithContext adds the context to the set tenant captcha params
func (*SetTenantCaptchaParams) WithDefaults ¶
func (o *SetTenantCaptchaParams) WithDefaults() *SetTenantCaptchaParams
WithDefaults hydrates default values in the set tenant captcha params (not the query body).
All values with no default are reset to their zero value.
func (*SetTenantCaptchaParams) WithHTTPClient ¶
func (o *SetTenantCaptchaParams) WithHTTPClient(client *http.Client) *SetTenantCaptchaParams
WithHTTPClient adds the HTTPClient to the set tenant captcha params
func (*SetTenantCaptchaParams) WithSetTenantCaptcha ¶
func (o *SetTenantCaptchaParams) WithSetTenantCaptcha(setTenantCaptcha *models.SetTenantCaptcha) *SetTenantCaptchaParams
WithSetTenantCaptcha adds the setTenantCaptcha to the set tenant captcha params
func (*SetTenantCaptchaParams) WithTid ¶
func (o *SetTenantCaptchaParams) WithTid(tid string) *SetTenantCaptchaParams
WithTid adds the tid to the set tenant captcha params
func (*SetTenantCaptchaParams) WithTimeout ¶
func (o *SetTenantCaptchaParams) WithTimeout(timeout time.Duration) *SetTenantCaptchaParams
WithTimeout adds the timeout to the set tenant captcha params
func (*SetTenantCaptchaParams) WriteToRequest ¶
func (o *SetTenantCaptchaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetTenantCaptchaReader ¶
type SetTenantCaptchaReader struct {
// contains filtered or unexported fields
}
SetTenantCaptchaReader is a Reader for the SetTenantCaptcha structure.
func (*SetTenantCaptchaReader) ReadResponse ¶
func (o *SetTenantCaptchaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetTenantCaptchaTooManyRequests ¶
SetTenantCaptchaTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewSetTenantCaptchaTooManyRequests ¶
func NewSetTenantCaptchaTooManyRequests() *SetTenantCaptchaTooManyRequests
NewSetTenantCaptchaTooManyRequests creates a SetTenantCaptchaTooManyRequests with default headers values
func (*SetTenantCaptchaTooManyRequests) Code ¶
func (o *SetTenantCaptchaTooManyRequests) Code() int
Code gets the status code for the set tenant captcha too many requests response
func (*SetTenantCaptchaTooManyRequests) Error ¶
func (o *SetTenantCaptchaTooManyRequests) Error() string
func (*SetTenantCaptchaTooManyRequests) GetPayload ¶
func (o *SetTenantCaptchaTooManyRequests) GetPayload() *models.Error
func (*SetTenantCaptchaTooManyRequests) IsClientError ¶
func (o *SetTenantCaptchaTooManyRequests) IsClientError() bool
IsClientError returns true when this set tenant captcha too many requests response has a 4xx status code
func (*SetTenantCaptchaTooManyRequests) IsCode ¶
func (o *SetTenantCaptchaTooManyRequests) IsCode(code int) bool
IsCode returns true when this set tenant captcha too many requests response a status code equal to that given
func (*SetTenantCaptchaTooManyRequests) IsRedirect ¶
func (o *SetTenantCaptchaTooManyRequests) IsRedirect() bool
IsRedirect returns true when this set tenant captcha too many requests response has a 3xx status code
func (*SetTenantCaptchaTooManyRequests) IsServerError ¶
func (o *SetTenantCaptchaTooManyRequests) IsServerError() bool
IsServerError returns true when this set tenant captcha too many requests response has a 5xx status code
func (*SetTenantCaptchaTooManyRequests) IsSuccess ¶
func (o *SetTenantCaptchaTooManyRequests) IsSuccess() bool
IsSuccess returns true when this set tenant captcha too many requests response has a 2xx status code
func (*SetTenantCaptchaTooManyRequests) String ¶
func (o *SetTenantCaptchaTooManyRequests) String() string
type SetTenantCaptchaUnauthorized ¶
type SetTenantCaptchaUnauthorized struct {
}
SetTenantCaptchaUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewSetTenantCaptchaUnauthorized ¶
func NewSetTenantCaptchaUnauthorized() *SetTenantCaptchaUnauthorized
NewSetTenantCaptchaUnauthorized creates a SetTenantCaptchaUnauthorized with default headers values
func (*SetTenantCaptchaUnauthorized) Code ¶
func (o *SetTenantCaptchaUnauthorized) Code() int
Code gets the status code for the set tenant captcha unauthorized response
func (*SetTenantCaptchaUnauthorized) Error ¶
func (o *SetTenantCaptchaUnauthorized) Error() string
func (*SetTenantCaptchaUnauthorized) GetPayload ¶
func (o *SetTenantCaptchaUnauthorized) GetPayload() *models.Error
func (*SetTenantCaptchaUnauthorized) IsClientError ¶
func (o *SetTenantCaptchaUnauthorized) IsClientError() bool
IsClientError returns true when this set tenant captcha unauthorized response has a 4xx status code
func (*SetTenantCaptchaUnauthorized) IsCode ¶
func (o *SetTenantCaptchaUnauthorized) IsCode(code int) bool
IsCode returns true when this set tenant captcha unauthorized response a status code equal to that given
func (*SetTenantCaptchaUnauthorized) IsRedirect ¶
func (o *SetTenantCaptchaUnauthorized) IsRedirect() bool
IsRedirect returns true when this set tenant captcha unauthorized response has a 3xx status code
func (*SetTenantCaptchaUnauthorized) IsServerError ¶
func (o *SetTenantCaptchaUnauthorized) IsServerError() bool
IsServerError returns true when this set tenant captcha unauthorized response has a 5xx status code
func (*SetTenantCaptchaUnauthorized) IsSuccess ¶
func (o *SetTenantCaptchaUnauthorized) IsSuccess() bool
IsSuccess returns true when this set tenant captcha unauthorized response has a 2xx status code
func (*SetTenantCaptchaUnauthorized) String ¶
func (o *SetTenantCaptchaUnauthorized) String() string
type SetTenantCaptchaUnprocessableEntity ¶
SetTenantCaptchaUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewSetTenantCaptchaUnprocessableEntity ¶
func NewSetTenantCaptchaUnprocessableEntity() *SetTenantCaptchaUnprocessableEntity
NewSetTenantCaptchaUnprocessableEntity creates a SetTenantCaptchaUnprocessableEntity with default headers values
func (*SetTenantCaptchaUnprocessableEntity) Code ¶
func (o *SetTenantCaptchaUnprocessableEntity) Code() int
Code gets the status code for the set tenant captcha unprocessable entity response
func (*SetTenantCaptchaUnprocessableEntity) Error ¶
func (o *SetTenantCaptchaUnprocessableEntity) Error() string
func (*SetTenantCaptchaUnprocessableEntity) GetPayload ¶
func (o *SetTenantCaptchaUnprocessableEntity) GetPayload() *models.Error
func (*SetTenantCaptchaUnprocessableEntity) IsClientError ¶
func (o *SetTenantCaptchaUnprocessableEntity) IsClientError() bool
IsClientError returns true when this set tenant captcha unprocessable entity response has a 4xx status code
func (*SetTenantCaptchaUnprocessableEntity) IsCode ¶
func (o *SetTenantCaptchaUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this set tenant captcha unprocessable entity response a status code equal to that given
func (*SetTenantCaptchaUnprocessableEntity) IsRedirect ¶
func (o *SetTenantCaptchaUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this set tenant captcha unprocessable entity response has a 3xx status code
func (*SetTenantCaptchaUnprocessableEntity) IsServerError ¶
func (o *SetTenantCaptchaUnprocessableEntity) IsServerError() bool
IsServerError returns true when this set tenant captcha unprocessable entity response has a 5xx status code
func (*SetTenantCaptchaUnprocessableEntity) IsSuccess ¶
func (o *SetTenantCaptchaUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this set tenant captcha unprocessable entity response has a 2xx status code
func (*SetTenantCaptchaUnprocessableEntity) String ¶
func (o *SetTenantCaptchaUnprocessableEntity) String() string