Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteBruteForceLimit(params *DeleteBruteForceLimitParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteBruteForceLimitNoContent, error)
- func (a *Client) ListBruteForceLimits(params *ListBruteForceLimitsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListBruteForceLimitsOK, error)
- func (a *Client) SetBruteForceLimit(params *SetBruteForceLimitParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SetBruteForceLimitCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteBruteForceLimitForbidden
- func (o *DeleteBruteForceLimitForbidden) Code() int
- func (o *DeleteBruteForceLimitForbidden) Error() string
- func (o *DeleteBruteForceLimitForbidden) GetPayload() *models.Error
- func (o *DeleteBruteForceLimitForbidden) IsClientError() bool
- func (o *DeleteBruteForceLimitForbidden) IsCode(code int) bool
- func (o *DeleteBruteForceLimitForbidden) IsRedirect() bool
- func (o *DeleteBruteForceLimitForbidden) IsServerError() bool
- func (o *DeleteBruteForceLimitForbidden) IsSuccess() bool
- func (o *DeleteBruteForceLimitForbidden) String() string
- type DeleteBruteForceLimitNoContent
- func (o *DeleteBruteForceLimitNoContent) Code() int
- func (o *DeleteBruteForceLimitNoContent) Error() string
- func (o *DeleteBruteForceLimitNoContent) IsClientError() bool
- func (o *DeleteBruteForceLimitNoContent) IsCode(code int) bool
- func (o *DeleteBruteForceLimitNoContent) IsRedirect() bool
- func (o *DeleteBruteForceLimitNoContent) IsServerError() bool
- func (o *DeleteBruteForceLimitNoContent) IsSuccess() bool
- func (o *DeleteBruteForceLimitNoContent) String() string
- type DeleteBruteForceLimitNotFound
- func (o *DeleteBruteForceLimitNotFound) Code() int
- func (o *DeleteBruteForceLimitNotFound) Error() string
- func (o *DeleteBruteForceLimitNotFound) GetPayload() *models.Error
- func (o *DeleteBruteForceLimitNotFound) IsClientError() bool
- func (o *DeleteBruteForceLimitNotFound) IsCode(code int) bool
- func (o *DeleteBruteForceLimitNotFound) IsRedirect() bool
- func (o *DeleteBruteForceLimitNotFound) IsServerError() bool
- func (o *DeleteBruteForceLimitNotFound) IsSuccess() bool
- func (o *DeleteBruteForceLimitNotFound) String() string
- type DeleteBruteForceLimitParams
- func NewDeleteBruteForceLimitParams() *DeleteBruteForceLimitParams
- func NewDeleteBruteForceLimitParamsWithContext(ctx context.Context) *DeleteBruteForceLimitParams
- func NewDeleteBruteForceLimitParamsWithHTTPClient(client *http.Client) *DeleteBruteForceLimitParams
- func NewDeleteBruteForceLimitParamsWithTimeout(timeout time.Duration) *DeleteBruteForceLimitParams
- func (o *DeleteBruteForceLimitParams) SetContext(ctx context.Context)
- func (o *DeleteBruteForceLimitParams) SetDefaults()
- func (o *DeleteBruteForceLimitParams) SetHTTPClient(client *http.Client)
- func (o *DeleteBruteForceLimitParams) SetIfMatch(ifMatch *string)
- func (o *DeleteBruteForceLimitParams) SetProtectedType(protectedType string)
- func (o *DeleteBruteForceLimitParams) SetTimeout(timeout time.Duration)
- func (o *DeleteBruteForceLimitParams) WithContext(ctx context.Context) *DeleteBruteForceLimitParams
- func (o *DeleteBruteForceLimitParams) WithDefaults() *DeleteBruteForceLimitParams
- func (o *DeleteBruteForceLimitParams) WithHTTPClient(client *http.Client) *DeleteBruteForceLimitParams
- func (o *DeleteBruteForceLimitParams) WithIfMatch(ifMatch *string) *DeleteBruteForceLimitParams
- func (o *DeleteBruteForceLimitParams) WithProtectedType(protectedType string) *DeleteBruteForceLimitParams
- func (o *DeleteBruteForceLimitParams) WithTimeout(timeout time.Duration) *DeleteBruteForceLimitParams
- func (o *DeleteBruteForceLimitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteBruteForceLimitReader
- type DeleteBruteForceLimitTooManyRequests
- func (o *DeleteBruteForceLimitTooManyRequests) Code() int
- func (o *DeleteBruteForceLimitTooManyRequests) Error() string
- func (o *DeleteBruteForceLimitTooManyRequests) GetPayload() *models.Error
- func (o *DeleteBruteForceLimitTooManyRequests) IsClientError() bool
- func (o *DeleteBruteForceLimitTooManyRequests) IsCode(code int) bool
- func (o *DeleteBruteForceLimitTooManyRequests) IsRedirect() bool
- func (o *DeleteBruteForceLimitTooManyRequests) IsServerError() bool
- func (o *DeleteBruteForceLimitTooManyRequests) IsSuccess() bool
- func (o *DeleteBruteForceLimitTooManyRequests) String() string
- type DeleteBruteForceLimitUnauthorized
- func (o *DeleteBruteForceLimitUnauthorized) Code() int
- func (o *DeleteBruteForceLimitUnauthorized) Error() string
- func (o *DeleteBruteForceLimitUnauthorized) GetPayload() *models.Error
- func (o *DeleteBruteForceLimitUnauthorized) IsClientError() bool
- func (o *DeleteBruteForceLimitUnauthorized) IsCode(code int) bool
- func (o *DeleteBruteForceLimitUnauthorized) IsRedirect() bool
- func (o *DeleteBruteForceLimitUnauthorized) IsServerError() bool
- func (o *DeleteBruteForceLimitUnauthorized) IsSuccess() bool
- func (o *DeleteBruteForceLimitUnauthorized) String() string
- type ListBruteForceLimitsForbidden
- func (o *ListBruteForceLimitsForbidden) Code() int
- func (o *ListBruteForceLimitsForbidden) Error() string
- func (o *ListBruteForceLimitsForbidden) GetPayload() *models.Error
- func (o *ListBruteForceLimitsForbidden) IsClientError() bool
- func (o *ListBruteForceLimitsForbidden) IsCode(code int) bool
- func (o *ListBruteForceLimitsForbidden) IsRedirect() bool
- func (o *ListBruteForceLimitsForbidden) IsServerError() bool
- func (o *ListBruteForceLimitsForbidden) IsSuccess() bool
- func (o *ListBruteForceLimitsForbidden) String() string
- type ListBruteForceLimitsNotFound
- func (o *ListBruteForceLimitsNotFound) Code() int
- func (o *ListBruteForceLimitsNotFound) Error() string
- func (o *ListBruteForceLimitsNotFound) GetPayload() *models.Error
- func (o *ListBruteForceLimitsNotFound) IsClientError() bool
- func (o *ListBruteForceLimitsNotFound) IsCode(code int) bool
- func (o *ListBruteForceLimitsNotFound) IsRedirect() bool
- func (o *ListBruteForceLimitsNotFound) IsServerError() bool
- func (o *ListBruteForceLimitsNotFound) IsSuccess() bool
- func (o *ListBruteForceLimitsNotFound) String() string
- type ListBruteForceLimitsOK
- func (o *ListBruteForceLimitsOK) Code() int
- func (o *ListBruteForceLimitsOK) Error() string
- func (o *ListBruteForceLimitsOK) GetPayload() *models.BruteForceLimits
- func (o *ListBruteForceLimitsOK) IsClientError() bool
- func (o *ListBruteForceLimitsOK) IsCode(code int) bool
- func (o *ListBruteForceLimitsOK) IsRedirect() bool
- func (o *ListBruteForceLimitsOK) IsServerError() bool
- func (o *ListBruteForceLimitsOK) IsSuccess() bool
- func (o *ListBruteForceLimitsOK) String() string
- type ListBruteForceLimitsParams
- func NewListBruteForceLimitsParams() *ListBruteForceLimitsParams
- func NewListBruteForceLimitsParamsWithContext(ctx context.Context) *ListBruteForceLimitsParams
- func NewListBruteForceLimitsParamsWithHTTPClient(client *http.Client) *ListBruteForceLimitsParams
- func NewListBruteForceLimitsParamsWithTimeout(timeout time.Duration) *ListBruteForceLimitsParams
- func (o *ListBruteForceLimitsParams) SetContext(ctx context.Context)
- func (o *ListBruteForceLimitsParams) SetDefaults()
- func (o *ListBruteForceLimitsParams) SetHTTPClient(client *http.Client)
- func (o *ListBruteForceLimitsParams) SetIfMatch(ifMatch *string)
- func (o *ListBruteForceLimitsParams) SetTimeout(timeout time.Duration)
- func (o *ListBruteForceLimitsParams) WithContext(ctx context.Context) *ListBruteForceLimitsParams
- func (o *ListBruteForceLimitsParams) WithDefaults() *ListBruteForceLimitsParams
- func (o *ListBruteForceLimitsParams) WithHTTPClient(client *http.Client) *ListBruteForceLimitsParams
- func (o *ListBruteForceLimitsParams) WithIfMatch(ifMatch *string) *ListBruteForceLimitsParams
- func (o *ListBruteForceLimitsParams) WithTimeout(timeout time.Duration) *ListBruteForceLimitsParams
- func (o *ListBruteForceLimitsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListBruteForceLimitsReader
- type ListBruteForceLimitsTooManyRequests
- func (o *ListBruteForceLimitsTooManyRequests) Code() int
- func (o *ListBruteForceLimitsTooManyRequests) Error() string
- func (o *ListBruteForceLimitsTooManyRequests) GetPayload() *models.Error
- func (o *ListBruteForceLimitsTooManyRequests) IsClientError() bool
- func (o *ListBruteForceLimitsTooManyRequests) IsCode(code int) bool
- func (o *ListBruteForceLimitsTooManyRequests) IsRedirect() bool
- func (o *ListBruteForceLimitsTooManyRequests) IsServerError() bool
- func (o *ListBruteForceLimitsTooManyRequests) IsSuccess() bool
- func (o *ListBruteForceLimitsTooManyRequests) String() string
- type ListBruteForceLimitsUnauthorized
- func (o *ListBruteForceLimitsUnauthorized) Code() int
- func (o *ListBruteForceLimitsUnauthorized) Error() string
- func (o *ListBruteForceLimitsUnauthorized) GetPayload() *models.Error
- func (o *ListBruteForceLimitsUnauthorized) IsClientError() bool
- func (o *ListBruteForceLimitsUnauthorized) IsCode(code int) bool
- func (o *ListBruteForceLimitsUnauthorized) IsRedirect() bool
- func (o *ListBruteForceLimitsUnauthorized) IsServerError() bool
- func (o *ListBruteForceLimitsUnauthorized) IsSuccess() bool
- func (o *ListBruteForceLimitsUnauthorized) String() string
- type SetBruteForceLimitBadRequest
- func (o *SetBruteForceLimitBadRequest) Code() int
- func (o *SetBruteForceLimitBadRequest) Error() string
- func (o *SetBruteForceLimitBadRequest) GetPayload() *models.Error
- func (o *SetBruteForceLimitBadRequest) IsClientError() bool
- func (o *SetBruteForceLimitBadRequest) IsCode(code int) bool
- func (o *SetBruteForceLimitBadRequest) IsRedirect() bool
- func (o *SetBruteForceLimitBadRequest) IsServerError() bool
- func (o *SetBruteForceLimitBadRequest) IsSuccess() bool
- func (o *SetBruteForceLimitBadRequest) String() string
- type SetBruteForceLimitConflict
- func (o *SetBruteForceLimitConflict) Code() int
- func (o *SetBruteForceLimitConflict) Error() string
- func (o *SetBruteForceLimitConflict) GetPayload() *models.Error
- func (o *SetBruteForceLimitConflict) IsClientError() bool
- func (o *SetBruteForceLimitConflict) IsCode(code int) bool
- func (o *SetBruteForceLimitConflict) IsRedirect() bool
- func (o *SetBruteForceLimitConflict) IsServerError() bool
- func (o *SetBruteForceLimitConflict) IsSuccess() bool
- func (o *SetBruteForceLimitConflict) String() string
- type SetBruteForceLimitCreated
- func (o *SetBruteForceLimitCreated) Code() int
- func (o *SetBruteForceLimitCreated) Error() string
- func (o *SetBruteForceLimitCreated) GetPayload() *models.BruteForceLimit
- func (o *SetBruteForceLimitCreated) IsClientError() bool
- func (o *SetBruteForceLimitCreated) IsCode(code int) bool
- func (o *SetBruteForceLimitCreated) IsRedirect() bool
- func (o *SetBruteForceLimitCreated) IsServerError() bool
- func (o *SetBruteForceLimitCreated) IsSuccess() bool
- func (o *SetBruteForceLimitCreated) String() string
- type SetBruteForceLimitForbidden
- func (o *SetBruteForceLimitForbidden) Code() int
- func (o *SetBruteForceLimitForbidden) Error() string
- func (o *SetBruteForceLimitForbidden) GetPayload() *models.Error
- func (o *SetBruteForceLimitForbidden) IsClientError() bool
- func (o *SetBruteForceLimitForbidden) IsCode(code int) bool
- func (o *SetBruteForceLimitForbidden) IsRedirect() bool
- func (o *SetBruteForceLimitForbidden) IsServerError() bool
- func (o *SetBruteForceLimitForbidden) IsSuccess() bool
- func (o *SetBruteForceLimitForbidden) String() string
- type SetBruteForceLimitNotFound
- func (o *SetBruteForceLimitNotFound) Code() int
- func (o *SetBruteForceLimitNotFound) Error() string
- func (o *SetBruteForceLimitNotFound) GetPayload() *models.Error
- func (o *SetBruteForceLimitNotFound) IsClientError() bool
- func (o *SetBruteForceLimitNotFound) IsCode(code int) bool
- func (o *SetBruteForceLimitNotFound) IsRedirect() bool
- func (o *SetBruteForceLimitNotFound) IsServerError() bool
- func (o *SetBruteForceLimitNotFound) IsSuccess() bool
- func (o *SetBruteForceLimitNotFound) String() string
- type SetBruteForceLimitParams
- func NewSetBruteForceLimitParams() *SetBruteForceLimitParams
- func NewSetBruteForceLimitParamsWithContext(ctx context.Context) *SetBruteForceLimitParams
- func NewSetBruteForceLimitParamsWithHTTPClient(client *http.Client) *SetBruteForceLimitParams
- func NewSetBruteForceLimitParamsWithTimeout(timeout time.Duration) *SetBruteForceLimitParams
- func (o *SetBruteForceLimitParams) SetBruteForceLimit(bruteForceLimit *models.BruteForceLimit)
- func (o *SetBruteForceLimitParams) SetContext(ctx context.Context)
- func (o *SetBruteForceLimitParams) SetDefaults()
- func (o *SetBruteForceLimitParams) SetHTTPClient(client *http.Client)
- func (o *SetBruteForceLimitParams) SetIfMatch(ifMatch *string)
- func (o *SetBruteForceLimitParams) SetTimeout(timeout time.Duration)
- func (o *SetBruteForceLimitParams) WithBruteForceLimit(bruteForceLimit *models.BruteForceLimit) *SetBruteForceLimitParams
- func (o *SetBruteForceLimitParams) WithContext(ctx context.Context) *SetBruteForceLimitParams
- func (o *SetBruteForceLimitParams) WithDefaults() *SetBruteForceLimitParams
- func (o *SetBruteForceLimitParams) WithHTTPClient(client *http.Client) *SetBruteForceLimitParams
- func (o *SetBruteForceLimitParams) WithIfMatch(ifMatch *string) *SetBruteForceLimitParams
- func (o *SetBruteForceLimitParams) WithTimeout(timeout time.Duration) *SetBruteForceLimitParams
- func (o *SetBruteForceLimitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetBruteForceLimitReader
- type SetBruteForceLimitTooManyRequests
- func (o *SetBruteForceLimitTooManyRequests) Code() int
- func (o *SetBruteForceLimitTooManyRequests) Error() string
- func (o *SetBruteForceLimitTooManyRequests) GetPayload() *models.Error
- func (o *SetBruteForceLimitTooManyRequests) IsClientError() bool
- func (o *SetBruteForceLimitTooManyRequests) IsCode(code int) bool
- func (o *SetBruteForceLimitTooManyRequests) IsRedirect() bool
- func (o *SetBruteForceLimitTooManyRequests) IsServerError() bool
- func (o *SetBruteForceLimitTooManyRequests) IsSuccess() bool
- func (o *SetBruteForceLimitTooManyRequests) String() string
- type SetBruteForceLimitUnauthorized
- func (o *SetBruteForceLimitUnauthorized) Code() int
- func (o *SetBruteForceLimitUnauthorized) Error() string
- func (o *SetBruteForceLimitUnauthorized) GetPayload() *models.Error
- func (o *SetBruteForceLimitUnauthorized) IsClientError() bool
- func (o *SetBruteForceLimitUnauthorized) IsCode(code int) bool
- func (o *SetBruteForceLimitUnauthorized) IsRedirect() bool
- func (o *SetBruteForceLimitUnauthorized) IsServerError() bool
- func (o *SetBruteForceLimitUnauthorized) IsSuccess() bool
- func (o *SetBruteForceLimitUnauthorized) String() string
- type SetBruteForceLimitUnprocessableEntity
- func (o *SetBruteForceLimitUnprocessableEntity) Code() int
- func (o *SetBruteForceLimitUnprocessableEntity) Error() string
- func (o *SetBruteForceLimitUnprocessableEntity) GetPayload() *models.Error
- func (o *SetBruteForceLimitUnprocessableEntity) IsClientError() bool
- func (o *SetBruteForceLimitUnprocessableEntity) IsCode(code int) bool
- func (o *SetBruteForceLimitUnprocessableEntity) IsRedirect() bool
- func (o *SetBruteForceLimitUnprocessableEntity) IsServerError() bool
- func (o *SetBruteForceLimitUnprocessableEntity) IsSuccess() bool
- func (o *SetBruteForceLimitUnprocessableEntity) 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 brute force limits API
func (*Client) DeleteBruteForceLimit ¶
func (a *Client) DeleteBruteForceLimit(params *DeleteBruteForceLimitParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBruteForceLimitNoContent, error)
DeleteBruteForceLimit resets brute force limit
Reset brute force limit for tenant and protection type.
func (*Client) ListBruteForceLimits ¶
func (a *Client) ListBruteForceLimits(params *ListBruteForceLimitsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListBruteForceLimitsOK, error)
ListBruteForceLimits gets tenant s brute force limits
Get tenant's brute force limits
func (*Client) SetBruteForceLimit ¶
func (a *Client) SetBruteForceLimit(params *SetBruteForceLimitParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetBruteForceLimitCreated, error)
SetBruteForceLimit sets brute force limit
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 is the option for Client methods
type ClientService ¶
type ClientService interface { DeleteBruteForceLimit(params *DeleteBruteForceLimitParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBruteForceLimitNoContent, error) ListBruteForceLimits(params *ListBruteForceLimitsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListBruteForceLimitsOK, error) SetBruteForceLimit(params *SetBruteForceLimitParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetBruteForceLimitCreated, 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 brute force limits API client.
type DeleteBruteForceLimitForbidden ¶
DeleteBruteForceLimitForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteBruteForceLimitForbidden ¶
func NewDeleteBruteForceLimitForbidden() *DeleteBruteForceLimitForbidden
NewDeleteBruteForceLimitForbidden creates a DeleteBruteForceLimitForbidden with default headers values
func (*DeleteBruteForceLimitForbidden) Code ¶
func (o *DeleteBruteForceLimitForbidden) Code() int
Code gets the status code for the delete brute force limit forbidden response
func (*DeleteBruteForceLimitForbidden) Error ¶
func (o *DeleteBruteForceLimitForbidden) Error() string
func (*DeleteBruteForceLimitForbidden) GetPayload ¶
func (o *DeleteBruteForceLimitForbidden) GetPayload() *models.Error
func (*DeleteBruteForceLimitForbidden) IsClientError ¶
func (o *DeleteBruteForceLimitForbidden) IsClientError() bool
IsClientError returns true when this delete brute force limit forbidden response has a 4xx status code
func (*DeleteBruteForceLimitForbidden) IsCode ¶
func (o *DeleteBruteForceLimitForbidden) IsCode(code int) bool
IsCode returns true when this delete brute force limit forbidden response a status code equal to that given
func (*DeleteBruteForceLimitForbidden) IsRedirect ¶
func (o *DeleteBruteForceLimitForbidden) IsRedirect() bool
IsRedirect returns true when this delete brute force limit forbidden response has a 3xx status code
func (*DeleteBruteForceLimitForbidden) IsServerError ¶
func (o *DeleteBruteForceLimitForbidden) IsServerError() bool
IsServerError returns true when this delete brute force limit forbidden response has a 5xx status code
func (*DeleteBruteForceLimitForbidden) IsSuccess ¶
func (o *DeleteBruteForceLimitForbidden) IsSuccess() bool
IsSuccess returns true when this delete brute force limit forbidden response has a 2xx status code
func (*DeleteBruteForceLimitForbidden) String ¶
func (o *DeleteBruteForceLimitForbidden) String() string
type DeleteBruteForceLimitNoContent ¶
type DeleteBruteForceLimitNoContent struct { }
DeleteBruteForceLimitNoContent describes a response with status code 204, with default header values.
brute force limit has been reset
func NewDeleteBruteForceLimitNoContent ¶
func NewDeleteBruteForceLimitNoContent() *DeleteBruteForceLimitNoContent
NewDeleteBruteForceLimitNoContent creates a DeleteBruteForceLimitNoContent with default headers values
func (*DeleteBruteForceLimitNoContent) Code ¶
func (o *DeleteBruteForceLimitNoContent) Code() int
Code gets the status code for the delete brute force limit no content response
func (*DeleteBruteForceLimitNoContent) Error ¶
func (o *DeleteBruteForceLimitNoContent) Error() string
func (*DeleteBruteForceLimitNoContent) IsClientError ¶
func (o *DeleteBruteForceLimitNoContent) IsClientError() bool
IsClientError returns true when this delete brute force limit no content response has a 4xx status code
func (*DeleteBruteForceLimitNoContent) IsCode ¶
func (o *DeleteBruteForceLimitNoContent) IsCode(code int) bool
IsCode returns true when this delete brute force limit no content response a status code equal to that given
func (*DeleteBruteForceLimitNoContent) IsRedirect ¶
func (o *DeleteBruteForceLimitNoContent) IsRedirect() bool
IsRedirect returns true when this delete brute force limit no content response has a 3xx status code
func (*DeleteBruteForceLimitNoContent) IsServerError ¶
func (o *DeleteBruteForceLimitNoContent) IsServerError() bool
IsServerError returns true when this delete brute force limit no content response has a 5xx status code
func (*DeleteBruteForceLimitNoContent) IsSuccess ¶
func (o *DeleteBruteForceLimitNoContent) IsSuccess() bool
IsSuccess returns true when this delete brute force limit no content response has a 2xx status code
func (*DeleteBruteForceLimitNoContent) String ¶
func (o *DeleteBruteForceLimitNoContent) String() string
type DeleteBruteForceLimitNotFound ¶
DeleteBruteForceLimitNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteBruteForceLimitNotFound ¶
func NewDeleteBruteForceLimitNotFound() *DeleteBruteForceLimitNotFound
NewDeleteBruteForceLimitNotFound creates a DeleteBruteForceLimitNotFound with default headers values
func (*DeleteBruteForceLimitNotFound) Code ¶
func (o *DeleteBruteForceLimitNotFound) Code() int
Code gets the status code for the delete brute force limit not found response
func (*DeleteBruteForceLimitNotFound) Error ¶
func (o *DeleteBruteForceLimitNotFound) Error() string
func (*DeleteBruteForceLimitNotFound) GetPayload ¶
func (o *DeleteBruteForceLimitNotFound) GetPayload() *models.Error
func (*DeleteBruteForceLimitNotFound) IsClientError ¶
func (o *DeleteBruteForceLimitNotFound) IsClientError() bool
IsClientError returns true when this delete brute force limit not found response has a 4xx status code
func (*DeleteBruteForceLimitNotFound) IsCode ¶
func (o *DeleteBruteForceLimitNotFound) IsCode(code int) bool
IsCode returns true when this delete brute force limit not found response a status code equal to that given
func (*DeleteBruteForceLimitNotFound) IsRedirect ¶
func (o *DeleteBruteForceLimitNotFound) IsRedirect() bool
IsRedirect returns true when this delete brute force limit not found response has a 3xx status code
func (*DeleteBruteForceLimitNotFound) IsServerError ¶
func (o *DeleteBruteForceLimitNotFound) IsServerError() bool
IsServerError returns true when this delete brute force limit not found response has a 5xx status code
func (*DeleteBruteForceLimitNotFound) IsSuccess ¶
func (o *DeleteBruteForceLimitNotFound) IsSuccess() bool
IsSuccess returns true when this delete brute force limit not found response has a 2xx status code
func (*DeleteBruteForceLimitNotFound) String ¶
func (o *DeleteBruteForceLimitNotFound) String() string
type DeleteBruteForceLimitParams ¶
type DeleteBruteForceLimitParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string // ProtectedType. ProtectedType string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteBruteForceLimitParams contains all the parameters to send to the API endpoint
for the delete brute force limit operation. Typically these are written to a http.Request.
func NewDeleteBruteForceLimitParams ¶
func NewDeleteBruteForceLimitParams() *DeleteBruteForceLimitParams
NewDeleteBruteForceLimitParams creates a new DeleteBruteForceLimitParams 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 NewDeleteBruteForceLimitParamsWithContext ¶
func NewDeleteBruteForceLimitParamsWithContext(ctx context.Context) *DeleteBruteForceLimitParams
NewDeleteBruteForceLimitParamsWithContext creates a new DeleteBruteForceLimitParams object with the ability to set a context for a request.
func NewDeleteBruteForceLimitParamsWithHTTPClient ¶
func NewDeleteBruteForceLimitParamsWithHTTPClient(client *http.Client) *DeleteBruteForceLimitParams
NewDeleteBruteForceLimitParamsWithHTTPClient creates a new DeleteBruteForceLimitParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteBruteForceLimitParamsWithTimeout ¶
func NewDeleteBruteForceLimitParamsWithTimeout(timeout time.Duration) *DeleteBruteForceLimitParams
NewDeleteBruteForceLimitParamsWithTimeout creates a new DeleteBruteForceLimitParams object with the ability to set a timeout on a request.
func (*DeleteBruteForceLimitParams) SetContext ¶
func (o *DeleteBruteForceLimitParams) SetContext(ctx context.Context)
SetContext adds the context to the delete brute force limit params
func (*DeleteBruteForceLimitParams) SetDefaults ¶
func (o *DeleteBruteForceLimitParams) SetDefaults()
SetDefaults hydrates default values in the delete brute force limit params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteBruteForceLimitParams) SetHTTPClient ¶
func (o *DeleteBruteForceLimitParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete brute force limit params
func (*DeleteBruteForceLimitParams) SetIfMatch ¶
func (o *DeleteBruteForceLimitParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the delete brute force limit params
func (*DeleteBruteForceLimitParams) SetProtectedType ¶
func (o *DeleteBruteForceLimitParams) SetProtectedType(protectedType string)
SetProtectedType adds the protectedType to the delete brute force limit params
func (*DeleteBruteForceLimitParams) SetTimeout ¶
func (o *DeleteBruteForceLimitParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete brute force limit params
func (*DeleteBruteForceLimitParams) WithContext ¶
func (o *DeleteBruteForceLimitParams) WithContext(ctx context.Context) *DeleteBruteForceLimitParams
WithContext adds the context to the delete brute force limit params
func (*DeleteBruteForceLimitParams) WithDefaults ¶
func (o *DeleteBruteForceLimitParams) WithDefaults() *DeleteBruteForceLimitParams
WithDefaults hydrates default values in the delete brute force limit params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteBruteForceLimitParams) WithHTTPClient ¶
func (o *DeleteBruteForceLimitParams) WithHTTPClient(client *http.Client) *DeleteBruteForceLimitParams
WithHTTPClient adds the HTTPClient to the delete brute force limit params
func (*DeleteBruteForceLimitParams) WithIfMatch ¶
func (o *DeleteBruteForceLimitParams) WithIfMatch(ifMatch *string) *DeleteBruteForceLimitParams
WithIfMatch adds the ifMatch to the delete brute force limit params
func (*DeleteBruteForceLimitParams) WithProtectedType ¶
func (o *DeleteBruteForceLimitParams) WithProtectedType(protectedType string) *DeleteBruteForceLimitParams
WithProtectedType adds the protectedType to the delete brute force limit params
func (*DeleteBruteForceLimitParams) WithTimeout ¶
func (o *DeleteBruteForceLimitParams) WithTimeout(timeout time.Duration) *DeleteBruteForceLimitParams
WithTimeout adds the timeout to the delete brute force limit params
func (*DeleteBruteForceLimitParams) WriteToRequest ¶
func (o *DeleteBruteForceLimitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteBruteForceLimitReader ¶
type DeleteBruteForceLimitReader struct {
// contains filtered or unexported fields
}
DeleteBruteForceLimitReader is a Reader for the DeleteBruteForceLimit structure.
func (*DeleteBruteForceLimitReader) ReadResponse ¶
func (o *DeleteBruteForceLimitReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteBruteForceLimitTooManyRequests ¶
DeleteBruteForceLimitTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewDeleteBruteForceLimitTooManyRequests ¶
func NewDeleteBruteForceLimitTooManyRequests() *DeleteBruteForceLimitTooManyRequests
NewDeleteBruteForceLimitTooManyRequests creates a DeleteBruteForceLimitTooManyRequests with default headers values
func (*DeleteBruteForceLimitTooManyRequests) Code ¶
func (o *DeleteBruteForceLimitTooManyRequests) Code() int
Code gets the status code for the delete brute force limit too many requests response
func (*DeleteBruteForceLimitTooManyRequests) Error ¶
func (o *DeleteBruteForceLimitTooManyRequests) Error() string
func (*DeleteBruteForceLimitTooManyRequests) GetPayload ¶
func (o *DeleteBruteForceLimitTooManyRequests) GetPayload() *models.Error
func (*DeleteBruteForceLimitTooManyRequests) IsClientError ¶
func (o *DeleteBruteForceLimitTooManyRequests) IsClientError() bool
IsClientError returns true when this delete brute force limit too many requests response has a 4xx status code
func (*DeleteBruteForceLimitTooManyRequests) IsCode ¶
func (o *DeleteBruteForceLimitTooManyRequests) IsCode(code int) bool
IsCode returns true when this delete brute force limit too many requests response a status code equal to that given
func (*DeleteBruteForceLimitTooManyRequests) IsRedirect ¶
func (o *DeleteBruteForceLimitTooManyRequests) IsRedirect() bool
IsRedirect returns true when this delete brute force limit too many requests response has a 3xx status code
func (*DeleteBruteForceLimitTooManyRequests) IsServerError ¶
func (o *DeleteBruteForceLimitTooManyRequests) IsServerError() bool
IsServerError returns true when this delete brute force limit too many requests response has a 5xx status code
func (*DeleteBruteForceLimitTooManyRequests) IsSuccess ¶
func (o *DeleteBruteForceLimitTooManyRequests) IsSuccess() bool
IsSuccess returns true when this delete brute force limit too many requests response has a 2xx status code
func (*DeleteBruteForceLimitTooManyRequests) String ¶
func (o *DeleteBruteForceLimitTooManyRequests) String() string
type DeleteBruteForceLimitUnauthorized ¶
type DeleteBruteForceLimitUnauthorized struct {
}DeleteBruteForceLimitUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteBruteForceLimitUnauthorized ¶
func NewDeleteBruteForceLimitUnauthorized() *DeleteBruteForceLimitUnauthorized
NewDeleteBruteForceLimitUnauthorized creates a DeleteBruteForceLimitUnauthorized with default headers values
func (*DeleteBruteForceLimitUnauthorized) Code ¶
func (o *DeleteBruteForceLimitUnauthorized) Code() int
Code gets the status code for the delete brute force limit unauthorized response
func (*DeleteBruteForceLimitUnauthorized) Error ¶
func (o *DeleteBruteForceLimitUnauthorized) Error() string
func (*DeleteBruteForceLimitUnauthorized) GetPayload ¶
func (o *DeleteBruteForceLimitUnauthorized) GetPayload() *models.Error
func (*DeleteBruteForceLimitUnauthorized) IsClientError ¶
func (o *DeleteBruteForceLimitUnauthorized) IsClientError() bool
IsClientError returns true when this delete brute force limit unauthorized response has a 4xx status code
func (*DeleteBruteForceLimitUnauthorized) IsCode ¶
func (o *DeleteBruteForceLimitUnauthorized) IsCode(code int) bool
IsCode returns true when this delete brute force limit unauthorized response a status code equal to that given
func (*DeleteBruteForceLimitUnauthorized) IsRedirect ¶
func (o *DeleteBruteForceLimitUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete brute force limit unauthorized response has a 3xx status code
func (*DeleteBruteForceLimitUnauthorized) IsServerError ¶
func (o *DeleteBruteForceLimitUnauthorized) IsServerError() bool
IsServerError returns true when this delete brute force limit unauthorized response has a 5xx status code
func (*DeleteBruteForceLimitUnauthorized) IsSuccess ¶
func (o *DeleteBruteForceLimitUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete brute force limit unauthorized response has a 2xx status code
func (*DeleteBruteForceLimitUnauthorized) String ¶
func (o *DeleteBruteForceLimitUnauthorized) String() string
type ListBruteForceLimitsForbidden ¶
ListBruteForceLimitsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListBruteForceLimitsForbidden ¶
func NewListBruteForceLimitsForbidden() *ListBruteForceLimitsForbidden
NewListBruteForceLimitsForbidden creates a ListBruteForceLimitsForbidden with default headers values
func (*ListBruteForceLimitsForbidden) Code ¶
func (o *ListBruteForceLimitsForbidden) Code() int
Code gets the status code for the list brute force limits forbidden response
func (*ListBruteForceLimitsForbidden) Error ¶
func (o *ListBruteForceLimitsForbidden) Error() string
func (*ListBruteForceLimitsForbidden) GetPayload ¶
func (o *ListBruteForceLimitsForbidden) GetPayload() *models.Error
func (*ListBruteForceLimitsForbidden) IsClientError ¶
func (o *ListBruteForceLimitsForbidden) IsClientError() bool
IsClientError returns true when this list brute force limits forbidden response has a 4xx status code
func (*ListBruteForceLimitsForbidden) IsCode ¶
func (o *ListBruteForceLimitsForbidden) IsCode(code int) bool
IsCode returns true when this list brute force limits forbidden response a status code equal to that given
func (*ListBruteForceLimitsForbidden) IsRedirect ¶
func (o *ListBruteForceLimitsForbidden) IsRedirect() bool
IsRedirect returns true when this list brute force limits forbidden response has a 3xx status code
func (*ListBruteForceLimitsForbidden) IsServerError ¶
func (o *ListBruteForceLimitsForbidden) IsServerError() bool
IsServerError returns true when this list brute force limits forbidden response has a 5xx status code
func (*ListBruteForceLimitsForbidden) IsSuccess ¶
func (o *ListBruteForceLimitsForbidden) IsSuccess() bool
IsSuccess returns true when this list brute force limits forbidden response has a 2xx status code
func (*ListBruteForceLimitsForbidden) String ¶
func (o *ListBruteForceLimitsForbidden) String() string
type ListBruteForceLimitsNotFound ¶
ListBruteForceLimitsNotFound describes a response with status code 404, with default header values.
Not found
func NewListBruteForceLimitsNotFound ¶
func NewListBruteForceLimitsNotFound() *ListBruteForceLimitsNotFound
NewListBruteForceLimitsNotFound creates a ListBruteForceLimitsNotFound with default headers values
func (*ListBruteForceLimitsNotFound) Code ¶
func (o *ListBruteForceLimitsNotFound) Code() int
Code gets the status code for the list brute force limits not found response
func (*ListBruteForceLimitsNotFound) Error ¶
func (o *ListBruteForceLimitsNotFound) Error() string
func (*ListBruteForceLimitsNotFound) GetPayload ¶
func (o *ListBruteForceLimitsNotFound) GetPayload() *models.Error
func (*ListBruteForceLimitsNotFound) IsClientError ¶
func (o *ListBruteForceLimitsNotFound) IsClientError() bool
IsClientError returns true when this list brute force limits not found response has a 4xx status code
func (*ListBruteForceLimitsNotFound) IsCode ¶
func (o *ListBruteForceLimitsNotFound) IsCode(code int) bool
IsCode returns true when this list brute force limits not found response a status code equal to that given
func (*ListBruteForceLimitsNotFound) IsRedirect ¶
func (o *ListBruteForceLimitsNotFound) IsRedirect() bool
IsRedirect returns true when this list brute force limits not found response has a 3xx status code
func (*ListBruteForceLimitsNotFound) IsServerError ¶
func (o *ListBruteForceLimitsNotFound) IsServerError() bool
IsServerError returns true when this list brute force limits not found response has a 5xx status code
func (*ListBruteForceLimitsNotFound) IsSuccess ¶
func (o *ListBruteForceLimitsNotFound) IsSuccess() bool
IsSuccess returns true when this list brute force limits not found response has a 2xx status code
func (*ListBruteForceLimitsNotFound) String ¶
func (o *ListBruteForceLimitsNotFound) String() string
type ListBruteForceLimitsOK ¶
type ListBruteForceLimitsOK struct {
Payload *models.BruteForceLimits
}
ListBruteForceLimitsOK describes a response with status code 200, with default header values.
BruteForceLimits
func NewListBruteForceLimitsOK ¶
func NewListBruteForceLimitsOK() *ListBruteForceLimitsOK
NewListBruteForceLimitsOK creates a ListBruteForceLimitsOK with default headers values
func (*ListBruteForceLimitsOK) Code ¶
func (o *ListBruteForceLimitsOK) Code() int
Code gets the status code for the list brute force limits o k response
func (*ListBruteForceLimitsOK) Error ¶
func (o *ListBruteForceLimitsOK) Error() string
func (*ListBruteForceLimitsOK) GetPayload ¶
func (o *ListBruteForceLimitsOK) GetPayload() *models.BruteForceLimits
func (*ListBruteForceLimitsOK) IsClientError ¶
func (o *ListBruteForceLimitsOK) IsClientError() bool
IsClientError returns true when this list brute force limits o k response has a 4xx status code
func (*ListBruteForceLimitsOK) IsCode ¶
func (o *ListBruteForceLimitsOK) IsCode(code int) bool
IsCode returns true when this list brute force limits o k response a status code equal to that given
func (*ListBruteForceLimitsOK) IsRedirect ¶
func (o *ListBruteForceLimitsOK) IsRedirect() bool
IsRedirect returns true when this list brute force limits o k response has a 3xx status code
func (*ListBruteForceLimitsOK) IsServerError ¶
func (o *ListBruteForceLimitsOK) IsServerError() bool
IsServerError returns true when this list brute force limits o k response has a 5xx status code
func (*ListBruteForceLimitsOK) IsSuccess ¶
func (o *ListBruteForceLimitsOK) IsSuccess() bool
IsSuccess returns true when this list brute force limits o k response has a 2xx status code
func (*ListBruteForceLimitsOK) String ¶
func (o *ListBruteForceLimitsOK) String() string
type ListBruteForceLimitsParams ¶
type ListBruteForceLimitsParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListBruteForceLimitsParams contains all the parameters to send to the API endpoint
for the list brute force limits operation. Typically these are written to a http.Request.
func NewListBruteForceLimitsParams ¶
func NewListBruteForceLimitsParams() *ListBruteForceLimitsParams
NewListBruteForceLimitsParams creates a new ListBruteForceLimitsParams 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 NewListBruteForceLimitsParamsWithContext ¶
func NewListBruteForceLimitsParamsWithContext(ctx context.Context) *ListBruteForceLimitsParams
NewListBruteForceLimitsParamsWithContext creates a new ListBruteForceLimitsParams object with the ability to set a context for a request.
func NewListBruteForceLimitsParamsWithHTTPClient ¶
func NewListBruteForceLimitsParamsWithHTTPClient(client *http.Client) *ListBruteForceLimitsParams
NewListBruteForceLimitsParamsWithHTTPClient creates a new ListBruteForceLimitsParams object with the ability to set a custom HTTPClient for a request.
func NewListBruteForceLimitsParamsWithTimeout ¶
func NewListBruteForceLimitsParamsWithTimeout(timeout time.Duration) *ListBruteForceLimitsParams
NewListBruteForceLimitsParamsWithTimeout creates a new ListBruteForceLimitsParams object with the ability to set a timeout on a request.
func (*ListBruteForceLimitsParams) SetContext ¶
func (o *ListBruteForceLimitsParams) SetContext(ctx context.Context)
SetContext adds the context to the list brute force limits params
func (*ListBruteForceLimitsParams) SetDefaults ¶
func (o *ListBruteForceLimitsParams) SetDefaults()
SetDefaults hydrates default values in the list brute force limits params (not the query body).
All values with no default are reset to their zero value.
func (*ListBruteForceLimitsParams) SetHTTPClient ¶
func (o *ListBruteForceLimitsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list brute force limits params
func (*ListBruteForceLimitsParams) SetIfMatch ¶
func (o *ListBruteForceLimitsParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the list brute force limits params
func (*ListBruteForceLimitsParams) SetTimeout ¶
func (o *ListBruteForceLimitsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list brute force limits params
func (*ListBruteForceLimitsParams) WithContext ¶
func (o *ListBruteForceLimitsParams) WithContext(ctx context.Context) *ListBruteForceLimitsParams
WithContext adds the context to the list brute force limits params
func (*ListBruteForceLimitsParams) WithDefaults ¶
func (o *ListBruteForceLimitsParams) WithDefaults() *ListBruteForceLimitsParams
WithDefaults hydrates default values in the list brute force limits params (not the query body).
All values with no default are reset to their zero value.
func (*ListBruteForceLimitsParams) WithHTTPClient ¶
func (o *ListBruteForceLimitsParams) WithHTTPClient(client *http.Client) *ListBruteForceLimitsParams
WithHTTPClient adds the HTTPClient to the list brute force limits params
func (*ListBruteForceLimitsParams) WithIfMatch ¶
func (o *ListBruteForceLimitsParams) WithIfMatch(ifMatch *string) *ListBruteForceLimitsParams
WithIfMatch adds the ifMatch to the list brute force limits params
func (*ListBruteForceLimitsParams) WithTimeout ¶
func (o *ListBruteForceLimitsParams) WithTimeout(timeout time.Duration) *ListBruteForceLimitsParams
WithTimeout adds the timeout to the list brute force limits params
func (*ListBruteForceLimitsParams) WriteToRequest ¶
func (o *ListBruteForceLimitsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListBruteForceLimitsReader ¶
type ListBruteForceLimitsReader struct {
// contains filtered or unexported fields
}
ListBruteForceLimitsReader is a Reader for the ListBruteForceLimits structure.
func (*ListBruteForceLimitsReader) ReadResponse ¶
func (o *ListBruteForceLimitsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListBruteForceLimitsTooManyRequests ¶
ListBruteForceLimitsTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewListBruteForceLimitsTooManyRequests ¶
func NewListBruteForceLimitsTooManyRequests() *ListBruteForceLimitsTooManyRequests
NewListBruteForceLimitsTooManyRequests creates a ListBruteForceLimitsTooManyRequests with default headers values
func (*ListBruteForceLimitsTooManyRequests) Code ¶
func (o *ListBruteForceLimitsTooManyRequests) Code() int
Code gets the status code for the list brute force limits too many requests response
func (*ListBruteForceLimitsTooManyRequests) Error ¶
func (o *ListBruteForceLimitsTooManyRequests) Error() string
func (*ListBruteForceLimitsTooManyRequests) GetPayload ¶
func (o *ListBruteForceLimitsTooManyRequests) GetPayload() *models.Error
func (*ListBruteForceLimitsTooManyRequests) IsClientError ¶
func (o *ListBruteForceLimitsTooManyRequests) IsClientError() bool
IsClientError returns true when this list brute force limits too many requests response has a 4xx status code
func (*ListBruteForceLimitsTooManyRequests) IsCode ¶
func (o *ListBruteForceLimitsTooManyRequests) IsCode(code int) bool
IsCode returns true when this list brute force limits too many requests response a status code equal to that given
func (*ListBruteForceLimitsTooManyRequests) IsRedirect ¶
func (o *ListBruteForceLimitsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list brute force limits too many requests response has a 3xx status code
func (*ListBruteForceLimitsTooManyRequests) IsServerError ¶
func (o *ListBruteForceLimitsTooManyRequests) IsServerError() bool
IsServerError returns true when this list brute force limits too many requests response has a 5xx status code
func (*ListBruteForceLimitsTooManyRequests) IsSuccess ¶
func (o *ListBruteForceLimitsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list brute force limits too many requests response has a 2xx status code
func (*ListBruteForceLimitsTooManyRequests) String ¶
func (o *ListBruteForceLimitsTooManyRequests) String() string
type ListBruteForceLimitsUnauthorized ¶
type ListBruteForceLimitsUnauthorized struct {
}ListBruteForceLimitsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListBruteForceLimitsUnauthorized ¶
func NewListBruteForceLimitsUnauthorized() *ListBruteForceLimitsUnauthorized
NewListBruteForceLimitsUnauthorized creates a ListBruteForceLimitsUnauthorized with default headers values
func (*ListBruteForceLimitsUnauthorized) Code ¶
func (o *ListBruteForceLimitsUnauthorized) Code() int
Code gets the status code for the list brute force limits unauthorized response
func (*ListBruteForceLimitsUnauthorized) Error ¶
func (o *ListBruteForceLimitsUnauthorized) Error() string
func (*ListBruteForceLimitsUnauthorized) GetPayload ¶
func (o *ListBruteForceLimitsUnauthorized) GetPayload() *models.Error
func (*ListBruteForceLimitsUnauthorized) IsClientError ¶
func (o *ListBruteForceLimitsUnauthorized) IsClientError() bool
IsClientError returns true when this list brute force limits unauthorized response has a 4xx status code
func (*ListBruteForceLimitsUnauthorized) IsCode ¶
func (o *ListBruteForceLimitsUnauthorized) IsCode(code int) bool
IsCode returns true when this list brute force limits unauthorized response a status code equal to that given
func (*ListBruteForceLimitsUnauthorized) IsRedirect ¶
func (o *ListBruteForceLimitsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list brute force limits unauthorized response has a 3xx status code
func (*ListBruteForceLimitsUnauthorized) IsServerError ¶
func (o *ListBruteForceLimitsUnauthorized) IsServerError() bool
IsServerError returns true when this list brute force limits unauthorized response has a 5xx status code
func (*ListBruteForceLimitsUnauthorized) IsSuccess ¶
func (o *ListBruteForceLimitsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list brute force limits unauthorized response has a 2xx status code
func (*ListBruteForceLimitsUnauthorized) String ¶
func (o *ListBruteForceLimitsUnauthorized) String() string
type SetBruteForceLimitBadRequest ¶
SetBruteForceLimitBadRequest describes a response with status code 400, with default header values.
Bad request
func NewSetBruteForceLimitBadRequest ¶
func NewSetBruteForceLimitBadRequest() *SetBruteForceLimitBadRequest
NewSetBruteForceLimitBadRequest creates a SetBruteForceLimitBadRequest with default headers values
func (*SetBruteForceLimitBadRequest) Code ¶
func (o *SetBruteForceLimitBadRequest) Code() int
Code gets the status code for the set brute force limit bad request response
func (*SetBruteForceLimitBadRequest) Error ¶
func (o *SetBruteForceLimitBadRequest) Error() string
func (*SetBruteForceLimitBadRequest) GetPayload ¶
func (o *SetBruteForceLimitBadRequest) GetPayload() *models.Error
func (*SetBruteForceLimitBadRequest) IsClientError ¶
func (o *SetBruteForceLimitBadRequest) IsClientError() bool
IsClientError returns true when this set brute force limit bad request response has a 4xx status code
func (*SetBruteForceLimitBadRequest) IsCode ¶
func (o *SetBruteForceLimitBadRequest) IsCode(code int) bool
IsCode returns true when this set brute force limit bad request response a status code equal to that given
func (*SetBruteForceLimitBadRequest) IsRedirect ¶
func (o *SetBruteForceLimitBadRequest) IsRedirect() bool
IsRedirect returns true when this set brute force limit bad request response has a 3xx status code
func (*SetBruteForceLimitBadRequest) IsServerError ¶
func (o *SetBruteForceLimitBadRequest) IsServerError() bool
IsServerError returns true when this set brute force limit bad request response has a 5xx status code
func (*SetBruteForceLimitBadRequest) IsSuccess ¶
func (o *SetBruteForceLimitBadRequest) IsSuccess() bool
IsSuccess returns true when this set brute force limit bad request response has a 2xx status code
func (*SetBruteForceLimitBadRequest) String ¶
func (o *SetBruteForceLimitBadRequest) String() string
type SetBruteForceLimitConflict ¶
SetBruteForceLimitConflict describes a response with status code 409, with default header values.
Conflict
func NewSetBruteForceLimitConflict ¶
func NewSetBruteForceLimitConflict() *SetBruteForceLimitConflict
NewSetBruteForceLimitConflict creates a SetBruteForceLimitConflict with default headers values
func (*SetBruteForceLimitConflict) Code ¶
func (o *SetBruteForceLimitConflict) Code() int
Code gets the status code for the set brute force limit conflict response
func (*SetBruteForceLimitConflict) Error ¶
func (o *SetBruteForceLimitConflict) Error() string
func (*SetBruteForceLimitConflict) GetPayload ¶
func (o *SetBruteForceLimitConflict) GetPayload() *models.Error
func (*SetBruteForceLimitConflict) IsClientError ¶
func (o *SetBruteForceLimitConflict) IsClientError() bool
IsClientError returns true when this set brute force limit conflict response has a 4xx status code
func (*SetBruteForceLimitConflict) IsCode ¶
func (o *SetBruteForceLimitConflict) IsCode(code int) bool
IsCode returns true when this set brute force limit conflict response a status code equal to that given
func (*SetBruteForceLimitConflict) IsRedirect ¶
func (o *SetBruteForceLimitConflict) IsRedirect() bool
IsRedirect returns true when this set brute force limit conflict response has a 3xx status code
func (*SetBruteForceLimitConflict) IsServerError ¶
func (o *SetBruteForceLimitConflict) IsServerError() bool
IsServerError returns true when this set brute force limit conflict response has a 5xx status code
func (*SetBruteForceLimitConflict) IsSuccess ¶
func (o *SetBruteForceLimitConflict) IsSuccess() bool
IsSuccess returns true when this set brute force limit conflict response has a 2xx status code
func (*SetBruteForceLimitConflict) String ¶
func (o *SetBruteForceLimitConflict) String() string
type SetBruteForceLimitCreated ¶
type SetBruteForceLimitCreated struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.BruteForceLimit }
SetBruteForceLimitCreated describes a response with status code 201, with default header values.
Brute force limit
func NewSetBruteForceLimitCreated ¶
func NewSetBruteForceLimitCreated() *SetBruteForceLimitCreated
NewSetBruteForceLimitCreated creates a SetBruteForceLimitCreated with default headers values
func (*SetBruteForceLimitCreated) Code ¶
func (o *SetBruteForceLimitCreated) Code() int
Code gets the status code for the set brute force limit created response
func (*SetBruteForceLimitCreated) Error ¶
func (o *SetBruteForceLimitCreated) Error() string
func (*SetBruteForceLimitCreated) GetPayload ¶
func (o *SetBruteForceLimitCreated) GetPayload() *models.BruteForceLimit
func (*SetBruteForceLimitCreated) IsClientError ¶
func (o *SetBruteForceLimitCreated) IsClientError() bool
IsClientError returns true when this set brute force limit created response has a 4xx status code
func (*SetBruteForceLimitCreated) IsCode ¶
func (o *SetBruteForceLimitCreated) IsCode(code int) bool
IsCode returns true when this set brute force limit created response a status code equal to that given
func (*SetBruteForceLimitCreated) IsRedirect ¶
func (o *SetBruteForceLimitCreated) IsRedirect() bool
IsRedirect returns true when this set brute force limit created response has a 3xx status code
func (*SetBruteForceLimitCreated) IsServerError ¶
func (o *SetBruteForceLimitCreated) IsServerError() bool
IsServerError returns true when this set brute force limit created response has a 5xx status code
func (*SetBruteForceLimitCreated) IsSuccess ¶
func (o *SetBruteForceLimitCreated) IsSuccess() bool
IsSuccess returns true when this set brute force limit created response has a 2xx status code
func (*SetBruteForceLimitCreated) String ¶
func (o *SetBruteForceLimitCreated) String() string
type SetBruteForceLimitForbidden ¶
SetBruteForceLimitForbidden describes a response with status code 403, with default header values.
Forbidden
func NewSetBruteForceLimitForbidden ¶
func NewSetBruteForceLimitForbidden() *SetBruteForceLimitForbidden
NewSetBruteForceLimitForbidden creates a SetBruteForceLimitForbidden with default headers values
func (*SetBruteForceLimitForbidden) Code ¶
func (o *SetBruteForceLimitForbidden) Code() int
Code gets the status code for the set brute force limit forbidden response
func (*SetBruteForceLimitForbidden) Error ¶
func (o *SetBruteForceLimitForbidden) Error() string
func (*SetBruteForceLimitForbidden) GetPayload ¶
func (o *SetBruteForceLimitForbidden) GetPayload() *models.Error
func (*SetBruteForceLimitForbidden) IsClientError ¶
func (o *SetBruteForceLimitForbidden) IsClientError() bool
IsClientError returns true when this set brute force limit forbidden response has a 4xx status code
func (*SetBruteForceLimitForbidden) IsCode ¶
func (o *SetBruteForceLimitForbidden) IsCode(code int) bool
IsCode returns true when this set brute force limit forbidden response a status code equal to that given
func (*SetBruteForceLimitForbidden) IsRedirect ¶
func (o *SetBruteForceLimitForbidden) IsRedirect() bool
IsRedirect returns true when this set brute force limit forbidden response has a 3xx status code
func (*SetBruteForceLimitForbidden) IsServerError ¶
func (o *SetBruteForceLimitForbidden) IsServerError() bool
IsServerError returns true when this set brute force limit forbidden response has a 5xx status code
func (*SetBruteForceLimitForbidden) IsSuccess ¶
func (o *SetBruteForceLimitForbidden) IsSuccess() bool
IsSuccess returns true when this set brute force limit forbidden response has a 2xx status code
func (*SetBruteForceLimitForbidden) String ¶
func (o *SetBruteForceLimitForbidden) String() string
type SetBruteForceLimitNotFound ¶
SetBruteForceLimitNotFound describes a response with status code 404, with default header values.
Not found
func NewSetBruteForceLimitNotFound ¶
func NewSetBruteForceLimitNotFound() *SetBruteForceLimitNotFound
NewSetBruteForceLimitNotFound creates a SetBruteForceLimitNotFound with default headers values
func (*SetBruteForceLimitNotFound) Code ¶
func (o *SetBruteForceLimitNotFound) Code() int
Code gets the status code for the set brute force limit not found response
func (*SetBruteForceLimitNotFound) Error ¶
func (o *SetBruteForceLimitNotFound) Error() string
func (*SetBruteForceLimitNotFound) GetPayload ¶
func (o *SetBruteForceLimitNotFound) GetPayload() *models.Error
func (*SetBruteForceLimitNotFound) IsClientError ¶
func (o *SetBruteForceLimitNotFound) IsClientError() bool
IsClientError returns true when this set brute force limit not found response has a 4xx status code
func (*SetBruteForceLimitNotFound) IsCode ¶
func (o *SetBruteForceLimitNotFound) IsCode(code int) bool
IsCode returns true when this set brute force limit not found response a status code equal to that given
func (*SetBruteForceLimitNotFound) IsRedirect ¶
func (o *SetBruteForceLimitNotFound) IsRedirect() bool
IsRedirect returns true when this set brute force limit not found response has a 3xx status code
func (*SetBruteForceLimitNotFound) IsServerError ¶
func (o *SetBruteForceLimitNotFound) IsServerError() bool
IsServerError returns true when this set brute force limit not found response has a 5xx status code
func (*SetBruteForceLimitNotFound) IsSuccess ¶
func (o *SetBruteForceLimitNotFound) IsSuccess() bool
IsSuccess returns true when this set brute force limit not found response has a 2xx status code
func (*SetBruteForceLimitNotFound) String ¶
func (o *SetBruteForceLimitNotFound) String() string
type SetBruteForceLimitParams ¶
type SetBruteForceLimitParams struct { // BruteForceLimit. BruteForceLimit *models.BruteForceLimit /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetBruteForceLimitParams contains all the parameters to send to the API endpoint
for the set brute force limit operation. Typically these are written to a http.Request.
func NewSetBruteForceLimitParams ¶
func NewSetBruteForceLimitParams() *SetBruteForceLimitParams
NewSetBruteForceLimitParams creates a new SetBruteForceLimitParams 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 NewSetBruteForceLimitParamsWithContext ¶
func NewSetBruteForceLimitParamsWithContext(ctx context.Context) *SetBruteForceLimitParams
NewSetBruteForceLimitParamsWithContext creates a new SetBruteForceLimitParams object with the ability to set a context for a request.
func NewSetBruteForceLimitParamsWithHTTPClient ¶
func NewSetBruteForceLimitParamsWithHTTPClient(client *http.Client) *SetBruteForceLimitParams
NewSetBruteForceLimitParamsWithHTTPClient creates a new SetBruteForceLimitParams object with the ability to set a custom HTTPClient for a request.
func NewSetBruteForceLimitParamsWithTimeout ¶
func NewSetBruteForceLimitParamsWithTimeout(timeout time.Duration) *SetBruteForceLimitParams
NewSetBruteForceLimitParamsWithTimeout creates a new SetBruteForceLimitParams object with the ability to set a timeout on a request.
func (*SetBruteForceLimitParams) SetBruteForceLimit ¶
func (o *SetBruteForceLimitParams) SetBruteForceLimit(bruteForceLimit *models.BruteForceLimit)
SetBruteForceLimit adds the bruteForceLimit to the set brute force limit params
func (*SetBruteForceLimitParams) SetContext ¶
func (o *SetBruteForceLimitParams) SetContext(ctx context.Context)
SetContext adds the context to the set brute force limit params
func (*SetBruteForceLimitParams) SetDefaults ¶
func (o *SetBruteForceLimitParams) SetDefaults()
SetDefaults hydrates default values in the set brute force limit params (not the query body).
All values with no default are reset to their zero value.
func (*SetBruteForceLimitParams) SetHTTPClient ¶
func (o *SetBruteForceLimitParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set brute force limit params
func (*SetBruteForceLimitParams) SetIfMatch ¶
func (o *SetBruteForceLimitParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the set brute force limit params
func (*SetBruteForceLimitParams) SetTimeout ¶
func (o *SetBruteForceLimitParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set brute force limit params
func (*SetBruteForceLimitParams) WithBruteForceLimit ¶
func (o *SetBruteForceLimitParams) WithBruteForceLimit(bruteForceLimit *models.BruteForceLimit) *SetBruteForceLimitParams
WithBruteForceLimit adds the bruteForceLimit to the set brute force limit params
func (*SetBruteForceLimitParams) WithContext ¶
func (o *SetBruteForceLimitParams) WithContext(ctx context.Context) *SetBruteForceLimitParams
WithContext adds the context to the set brute force limit params
func (*SetBruteForceLimitParams) WithDefaults ¶
func (o *SetBruteForceLimitParams) WithDefaults() *SetBruteForceLimitParams
WithDefaults hydrates default values in the set brute force limit params (not the query body).
All values with no default are reset to their zero value.
func (*SetBruteForceLimitParams) WithHTTPClient ¶
func (o *SetBruteForceLimitParams) WithHTTPClient(client *http.Client) *SetBruteForceLimitParams
WithHTTPClient adds the HTTPClient to the set brute force limit params
func (*SetBruteForceLimitParams) WithIfMatch ¶
func (o *SetBruteForceLimitParams) WithIfMatch(ifMatch *string) *SetBruteForceLimitParams
WithIfMatch adds the ifMatch to the set brute force limit params
func (*SetBruteForceLimitParams) WithTimeout ¶
func (o *SetBruteForceLimitParams) WithTimeout(timeout time.Duration) *SetBruteForceLimitParams
WithTimeout adds the timeout to the set brute force limit params
func (*SetBruteForceLimitParams) WriteToRequest ¶
func (o *SetBruteForceLimitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetBruteForceLimitReader ¶
type SetBruteForceLimitReader struct {
// contains filtered or unexported fields
}
SetBruteForceLimitReader is a Reader for the SetBruteForceLimit structure.
func (*SetBruteForceLimitReader) ReadResponse ¶
func (o *SetBruteForceLimitReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetBruteForceLimitTooManyRequests ¶
SetBruteForceLimitTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewSetBruteForceLimitTooManyRequests ¶
func NewSetBruteForceLimitTooManyRequests() *SetBruteForceLimitTooManyRequests
NewSetBruteForceLimitTooManyRequests creates a SetBruteForceLimitTooManyRequests with default headers values
func (*SetBruteForceLimitTooManyRequests) Code ¶
func (o *SetBruteForceLimitTooManyRequests) Code() int
Code gets the status code for the set brute force limit too many requests response
func (*SetBruteForceLimitTooManyRequests) Error ¶
func (o *SetBruteForceLimitTooManyRequests) Error() string
func (*SetBruteForceLimitTooManyRequests) GetPayload ¶
func (o *SetBruteForceLimitTooManyRequests) GetPayload() *models.Error
func (*SetBruteForceLimitTooManyRequests) IsClientError ¶
func (o *SetBruteForceLimitTooManyRequests) IsClientError() bool
IsClientError returns true when this set brute force limit too many requests response has a 4xx status code
func (*SetBruteForceLimitTooManyRequests) IsCode ¶
func (o *SetBruteForceLimitTooManyRequests) IsCode(code int) bool
IsCode returns true when this set brute force limit too many requests response a status code equal to that given
func (*SetBruteForceLimitTooManyRequests) IsRedirect ¶
func (o *SetBruteForceLimitTooManyRequests) IsRedirect() bool
IsRedirect returns true when this set brute force limit too many requests response has a 3xx status code
func (*SetBruteForceLimitTooManyRequests) IsServerError ¶
func (o *SetBruteForceLimitTooManyRequests) IsServerError() bool
IsServerError returns true when this set brute force limit too many requests response has a 5xx status code
func (*SetBruteForceLimitTooManyRequests) IsSuccess ¶
func (o *SetBruteForceLimitTooManyRequests) IsSuccess() bool
IsSuccess returns true when this set brute force limit too many requests response has a 2xx status code
func (*SetBruteForceLimitTooManyRequests) String ¶
func (o *SetBruteForceLimitTooManyRequests) String() string
type SetBruteForceLimitUnauthorized ¶
type SetBruteForceLimitUnauthorized struct {
}SetBruteForceLimitUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewSetBruteForceLimitUnauthorized ¶
func NewSetBruteForceLimitUnauthorized() *SetBruteForceLimitUnauthorized
NewSetBruteForceLimitUnauthorized creates a SetBruteForceLimitUnauthorized with default headers values
func (*SetBruteForceLimitUnauthorized) Code ¶
func (o *SetBruteForceLimitUnauthorized) Code() int
Code gets the status code for the set brute force limit unauthorized response
func (*SetBruteForceLimitUnauthorized) Error ¶
func (o *SetBruteForceLimitUnauthorized) Error() string
func (*SetBruteForceLimitUnauthorized) GetPayload ¶
func (o *SetBruteForceLimitUnauthorized) GetPayload() *models.Error
func (*SetBruteForceLimitUnauthorized) IsClientError ¶
func (o *SetBruteForceLimitUnauthorized) IsClientError() bool
IsClientError returns true when this set brute force limit unauthorized response has a 4xx status code
func (*SetBruteForceLimitUnauthorized) IsCode ¶
func (o *SetBruteForceLimitUnauthorized) IsCode(code int) bool
IsCode returns true when this set brute force limit unauthorized response a status code equal to that given
func (*SetBruteForceLimitUnauthorized) IsRedirect ¶
func (o *SetBruteForceLimitUnauthorized) IsRedirect() bool
IsRedirect returns true when this set brute force limit unauthorized response has a 3xx status code
func (*SetBruteForceLimitUnauthorized) IsServerError ¶
func (o *SetBruteForceLimitUnauthorized) IsServerError() bool
IsServerError returns true when this set brute force limit unauthorized response has a 5xx status code
func (*SetBruteForceLimitUnauthorized) IsSuccess ¶
func (o *SetBruteForceLimitUnauthorized) IsSuccess() bool
IsSuccess returns true when this set brute force limit unauthorized response has a 2xx status code
func (*SetBruteForceLimitUnauthorized) String ¶
func (o *SetBruteForceLimitUnauthorized) String() string
type SetBruteForceLimitUnprocessableEntity ¶
SetBruteForceLimitUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewSetBruteForceLimitUnprocessableEntity ¶
func NewSetBruteForceLimitUnprocessableEntity() *SetBruteForceLimitUnprocessableEntity
NewSetBruteForceLimitUnprocessableEntity creates a SetBruteForceLimitUnprocessableEntity with default headers values
func (*SetBruteForceLimitUnprocessableEntity) Code ¶
func (o *SetBruteForceLimitUnprocessableEntity) Code() int
Code gets the status code for the set brute force limit unprocessable entity response
func (*SetBruteForceLimitUnprocessableEntity) Error ¶
func (o *SetBruteForceLimitUnprocessableEntity) Error() string
func (*SetBruteForceLimitUnprocessableEntity) GetPayload ¶
func (o *SetBruteForceLimitUnprocessableEntity) GetPayload() *models.Error
func (*SetBruteForceLimitUnprocessableEntity) IsClientError ¶
func (o *SetBruteForceLimitUnprocessableEntity) IsClientError() bool
IsClientError returns true when this set brute force limit unprocessable entity response has a 4xx status code
func (*SetBruteForceLimitUnprocessableEntity) IsCode ¶
func (o *SetBruteForceLimitUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this set brute force limit unprocessable entity response a status code equal to that given
func (*SetBruteForceLimitUnprocessableEntity) IsRedirect ¶
func (o *SetBruteForceLimitUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this set brute force limit unprocessable entity response has a 3xx status code
func (*SetBruteForceLimitUnprocessableEntity) IsServerError ¶
func (o *SetBruteForceLimitUnprocessableEntity) IsServerError() bool
IsServerError returns true when this set brute force limit unprocessable entity response has a 5xx status code
func (*SetBruteForceLimitUnprocessableEntity) IsSuccess ¶
func (o *SetBruteForceLimitUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this set brute force limit unprocessable entity response has a 2xx status code
func (*SetBruteForceLimitUnprocessableEntity) String ¶
func (o *SetBruteForceLimitUnprocessableEntity) String() string