Documentation ¶
Index ¶
- type Client
- func (a *Client) RequestAddressVerification(params *RequestAddressVerificationParams, ...) (*RequestAddressVerificationNoContent, error)
- func (a *Client) RequestOTPChallenge(params *RequestOTPChallengeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RequestOTPChallengeNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) VerifyOTP(params *VerifyOTPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*VerifyOTPOK, error)
- type ClientOption
- type ClientService
- type RequestAddressVerificationBadRequest
- func (o *RequestAddressVerificationBadRequest) Code() int
- func (o *RequestAddressVerificationBadRequest) Error() string
- func (o *RequestAddressVerificationBadRequest) GetPayload() *models.Error
- func (o *RequestAddressVerificationBadRequest) IsClientError() bool
- func (o *RequestAddressVerificationBadRequest) IsCode(code int) bool
- func (o *RequestAddressVerificationBadRequest) IsRedirect() bool
- func (o *RequestAddressVerificationBadRequest) IsServerError() bool
- func (o *RequestAddressVerificationBadRequest) IsSuccess() bool
- func (o *RequestAddressVerificationBadRequest) String() string
- type RequestAddressVerificationConflict
- func (o *RequestAddressVerificationConflict) Code() int
- func (o *RequestAddressVerificationConflict) Error() string
- func (o *RequestAddressVerificationConflict) GetPayload() *models.Error
- func (o *RequestAddressVerificationConflict) IsClientError() bool
- func (o *RequestAddressVerificationConflict) IsCode(code int) bool
- func (o *RequestAddressVerificationConflict) IsRedirect() bool
- func (o *RequestAddressVerificationConflict) IsServerError() bool
- func (o *RequestAddressVerificationConflict) IsSuccess() bool
- func (o *RequestAddressVerificationConflict) String() string
- type RequestAddressVerificationNoContent
- func (o *RequestAddressVerificationNoContent) Code() int
- func (o *RequestAddressVerificationNoContent) Error() string
- func (o *RequestAddressVerificationNoContent) IsClientError() bool
- func (o *RequestAddressVerificationNoContent) IsCode(code int) bool
- func (o *RequestAddressVerificationNoContent) IsRedirect() bool
- func (o *RequestAddressVerificationNoContent) IsServerError() bool
- func (o *RequestAddressVerificationNoContent) IsSuccess() bool
- func (o *RequestAddressVerificationNoContent) String() string
- type RequestAddressVerificationNotFound
- func (o *RequestAddressVerificationNotFound) Code() int
- func (o *RequestAddressVerificationNotFound) Error() string
- func (o *RequestAddressVerificationNotFound) GetPayload() *models.Error
- func (o *RequestAddressVerificationNotFound) IsClientError() bool
- func (o *RequestAddressVerificationNotFound) IsCode(code int) bool
- func (o *RequestAddressVerificationNotFound) IsRedirect() bool
- func (o *RequestAddressVerificationNotFound) IsServerError() bool
- func (o *RequestAddressVerificationNotFound) IsSuccess() bool
- func (o *RequestAddressVerificationNotFound) String() string
- type RequestAddressVerificationParams
- func NewRequestAddressVerificationParams() *RequestAddressVerificationParams
- func NewRequestAddressVerificationParamsWithContext(ctx context.Context) *RequestAddressVerificationParams
- func NewRequestAddressVerificationParamsWithHTTPClient(client *http.Client) *RequestAddressVerificationParams
- func NewRequestAddressVerificationParamsWithTimeout(timeout time.Duration) *RequestAddressVerificationParams
- func (o *RequestAddressVerificationParams) SetContext(ctx context.Context)
- func (o *RequestAddressVerificationParams) SetDefaults()
- func (o *RequestAddressVerificationParams) SetHTTPClient(client *http.Client)
- func (o *RequestAddressVerificationParams) SetIPID(iPID string)
- func (o *RequestAddressVerificationParams) SetRequestAddressVerification(requestAddressVerification *models.RequestOTPForAddress)
- func (o *RequestAddressVerificationParams) SetServerID(serverID *string)
- func (o *RequestAddressVerificationParams) SetTimeout(timeout time.Duration)
- func (o *RequestAddressVerificationParams) SetUserID(userID string)
- func (o *RequestAddressVerificationParams) WithContext(ctx context.Context) *RequestAddressVerificationParams
- func (o *RequestAddressVerificationParams) WithDefaults() *RequestAddressVerificationParams
- func (o *RequestAddressVerificationParams) WithHTTPClient(client *http.Client) *RequestAddressVerificationParams
- func (o *RequestAddressVerificationParams) WithIPID(iPID string) *RequestAddressVerificationParams
- func (o *RequestAddressVerificationParams) WithRequestAddressVerification(requestAddressVerification *models.RequestOTPForAddress) *RequestAddressVerificationParams
- func (o *RequestAddressVerificationParams) WithServerID(serverID *string) *RequestAddressVerificationParams
- func (o *RequestAddressVerificationParams) WithTimeout(timeout time.Duration) *RequestAddressVerificationParams
- func (o *RequestAddressVerificationParams) WithUserID(userID string) *RequestAddressVerificationParams
- func (o *RequestAddressVerificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RequestAddressVerificationPreconditionFailed
- func (o *RequestAddressVerificationPreconditionFailed) Code() int
- func (o *RequestAddressVerificationPreconditionFailed) Error() string
- func (o *RequestAddressVerificationPreconditionFailed) GetPayload() *models.Error
- func (o *RequestAddressVerificationPreconditionFailed) IsClientError() bool
- func (o *RequestAddressVerificationPreconditionFailed) IsCode(code int) bool
- func (o *RequestAddressVerificationPreconditionFailed) IsRedirect() bool
- func (o *RequestAddressVerificationPreconditionFailed) IsServerError() bool
- func (o *RequestAddressVerificationPreconditionFailed) IsSuccess() bool
- func (o *RequestAddressVerificationPreconditionFailed) String() string
- type RequestAddressVerificationReader
- type RequestAddressVerificationTooManyRequests
- func (o *RequestAddressVerificationTooManyRequests) Code() int
- func (o *RequestAddressVerificationTooManyRequests) Error() string
- func (o *RequestAddressVerificationTooManyRequests) GetPayload() *models.Error
- func (o *RequestAddressVerificationTooManyRequests) IsClientError() bool
- func (o *RequestAddressVerificationTooManyRequests) IsCode(code int) bool
- func (o *RequestAddressVerificationTooManyRequests) IsRedirect() bool
- func (o *RequestAddressVerificationTooManyRequests) IsServerError() bool
- func (o *RequestAddressVerificationTooManyRequests) IsSuccess() bool
- func (o *RequestAddressVerificationTooManyRequests) String() string
- type RequestAddressVerificationUnauthorized
- func (o *RequestAddressVerificationUnauthorized) Code() int
- func (o *RequestAddressVerificationUnauthorized) Error() string
- func (o *RequestAddressVerificationUnauthorized) GetPayload() *models.Error
- func (o *RequestAddressVerificationUnauthorized) IsClientError() bool
- func (o *RequestAddressVerificationUnauthorized) IsCode(code int) bool
- func (o *RequestAddressVerificationUnauthorized) IsRedirect() bool
- func (o *RequestAddressVerificationUnauthorized) IsServerError() bool
- func (o *RequestAddressVerificationUnauthorized) IsSuccess() bool
- func (o *RequestAddressVerificationUnauthorized) String() string
- type RequestAddressVerificationUnprocessableEntity
- func (o *RequestAddressVerificationUnprocessableEntity) Code() int
- func (o *RequestAddressVerificationUnprocessableEntity) Error() string
- func (o *RequestAddressVerificationUnprocessableEntity) GetPayload() *models.Error
- func (o *RequestAddressVerificationUnprocessableEntity) IsClientError() bool
- func (o *RequestAddressVerificationUnprocessableEntity) IsCode(code int) bool
- func (o *RequestAddressVerificationUnprocessableEntity) IsRedirect() bool
- func (o *RequestAddressVerificationUnprocessableEntity) IsServerError() bool
- func (o *RequestAddressVerificationUnprocessableEntity) IsSuccess() bool
- func (o *RequestAddressVerificationUnprocessableEntity) String() string
- type RequestOTPChallengeNoContent
- func (o *RequestOTPChallengeNoContent) Code() int
- func (o *RequestOTPChallengeNoContent) Error() string
- func (o *RequestOTPChallengeNoContent) IsClientError() bool
- func (o *RequestOTPChallengeNoContent) IsCode(code int) bool
- func (o *RequestOTPChallengeNoContent) IsRedirect() bool
- func (o *RequestOTPChallengeNoContent) IsServerError() bool
- func (o *RequestOTPChallengeNoContent) IsSuccess() bool
- func (o *RequestOTPChallengeNoContent) String() string
- type RequestOTPChallengeNotFound
- func (o *RequestOTPChallengeNotFound) Code() int
- func (o *RequestOTPChallengeNotFound) Error() string
- func (o *RequestOTPChallengeNotFound) GetPayload() *models.Error
- func (o *RequestOTPChallengeNotFound) IsClientError() bool
- func (o *RequestOTPChallengeNotFound) IsCode(code int) bool
- func (o *RequestOTPChallengeNotFound) IsRedirect() bool
- func (o *RequestOTPChallengeNotFound) IsServerError() bool
- func (o *RequestOTPChallengeNotFound) IsSuccess() bool
- func (o *RequestOTPChallengeNotFound) String() string
- type RequestOTPChallengeParams
- func NewRequestOTPChallengeParams() *RequestOTPChallengeParams
- func NewRequestOTPChallengeParamsWithContext(ctx context.Context) *RequestOTPChallengeParams
- func NewRequestOTPChallengeParamsWithHTTPClient(client *http.Client) *RequestOTPChallengeParams
- func NewRequestOTPChallengeParamsWithTimeout(timeout time.Duration) *RequestOTPChallengeParams
- func (o *RequestOTPChallengeParams) SetContext(ctx context.Context)
- func (o *RequestOTPChallengeParams) SetDefaults()
- func (o *RequestOTPChallengeParams) SetHTTPClient(client *http.Client)
- func (o *RequestOTPChallengeParams) SetIPID(iPID string)
- func (o *RequestOTPChallengeParams) SetRequestOTPChallenge(requestOTPChallenge *models.RequestOTPChallenge)
- func (o *RequestOTPChallengeParams) SetServerID(serverID *string)
- func (o *RequestOTPChallengeParams) SetTimeout(timeout time.Duration)
- func (o *RequestOTPChallengeParams) SetUserID(userID string)
- func (o *RequestOTPChallengeParams) WithContext(ctx context.Context) *RequestOTPChallengeParams
- func (o *RequestOTPChallengeParams) WithDefaults() *RequestOTPChallengeParams
- func (o *RequestOTPChallengeParams) WithHTTPClient(client *http.Client) *RequestOTPChallengeParams
- func (o *RequestOTPChallengeParams) WithIPID(iPID string) *RequestOTPChallengeParams
- func (o *RequestOTPChallengeParams) WithRequestOTPChallenge(requestOTPChallenge *models.RequestOTPChallenge) *RequestOTPChallengeParams
- func (o *RequestOTPChallengeParams) WithServerID(serverID *string) *RequestOTPChallengeParams
- func (o *RequestOTPChallengeParams) WithTimeout(timeout time.Duration) *RequestOTPChallengeParams
- func (o *RequestOTPChallengeParams) WithUserID(userID string) *RequestOTPChallengeParams
- func (o *RequestOTPChallengeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RequestOTPChallengePreconditionFailed
- func (o *RequestOTPChallengePreconditionFailed) Code() int
- func (o *RequestOTPChallengePreconditionFailed) Error() string
- func (o *RequestOTPChallengePreconditionFailed) GetPayload() *models.Error
- func (o *RequestOTPChallengePreconditionFailed) IsClientError() bool
- func (o *RequestOTPChallengePreconditionFailed) IsCode(code int) bool
- func (o *RequestOTPChallengePreconditionFailed) IsRedirect() bool
- func (o *RequestOTPChallengePreconditionFailed) IsServerError() bool
- func (o *RequestOTPChallengePreconditionFailed) IsSuccess() bool
- func (o *RequestOTPChallengePreconditionFailed) String() string
- type RequestOTPChallengeReader
- type RequestOTPChallengeTooManyRequests
- func (o *RequestOTPChallengeTooManyRequests) Code() int
- func (o *RequestOTPChallengeTooManyRequests) Error() string
- func (o *RequestOTPChallengeTooManyRequests) GetPayload() *models.Error
- func (o *RequestOTPChallengeTooManyRequests) IsClientError() bool
- func (o *RequestOTPChallengeTooManyRequests) IsCode(code int) bool
- func (o *RequestOTPChallengeTooManyRequests) IsRedirect() bool
- func (o *RequestOTPChallengeTooManyRequests) IsServerError() bool
- func (o *RequestOTPChallengeTooManyRequests) IsSuccess() bool
- func (o *RequestOTPChallengeTooManyRequests) String() string
- type RequestOTPChallengeUnauthorized
- func (o *RequestOTPChallengeUnauthorized) Code() int
- func (o *RequestOTPChallengeUnauthorized) Error() string
- func (o *RequestOTPChallengeUnauthorized) GetPayload() *models.Error
- func (o *RequestOTPChallengeUnauthorized) IsClientError() bool
- func (o *RequestOTPChallengeUnauthorized) IsCode(code int) bool
- func (o *RequestOTPChallengeUnauthorized) IsRedirect() bool
- func (o *RequestOTPChallengeUnauthorized) IsServerError() bool
- func (o *RequestOTPChallengeUnauthorized) IsSuccess() bool
- func (o *RequestOTPChallengeUnauthorized) String() string
- type RequestOTPChallengeUnprocessableEntity
- func (o *RequestOTPChallengeUnprocessableEntity) Code() int
- func (o *RequestOTPChallengeUnprocessableEntity) Error() string
- func (o *RequestOTPChallengeUnprocessableEntity) GetPayload() *models.Error
- func (o *RequestOTPChallengeUnprocessableEntity) IsClientError() bool
- func (o *RequestOTPChallengeUnprocessableEntity) IsCode(code int) bool
- func (o *RequestOTPChallengeUnprocessableEntity) IsRedirect() bool
- func (o *RequestOTPChallengeUnprocessableEntity) IsServerError() bool
- func (o *RequestOTPChallengeUnprocessableEntity) IsSuccess() bool
- func (o *RequestOTPChallengeUnprocessableEntity) String() string
- type VerifyOTPOK
- func (o *VerifyOTPOK) Code() int
- func (o *VerifyOTPOK) Error() string
- func (o *VerifyOTPOK) GetPayload() *models.UserID
- func (o *VerifyOTPOK) IsClientError() bool
- func (o *VerifyOTPOK) IsCode(code int) bool
- func (o *VerifyOTPOK) IsRedirect() bool
- func (o *VerifyOTPOK) IsServerError() bool
- func (o *VerifyOTPOK) IsSuccess() bool
- func (o *VerifyOTPOK) String() string
- type VerifyOTPParams
- func (o *VerifyOTPParams) SetContext(ctx context.Context)
- func (o *VerifyOTPParams) SetDefaults()
- func (o *VerifyOTPParams) SetHTTPClient(client *http.Client)
- func (o *VerifyOTPParams) SetIPID(iPID string)
- func (o *VerifyOTPParams) SetInspectOTP(inspectOTP *models.InspectOTP)
- func (o *VerifyOTPParams) SetTimeout(timeout time.Duration)
- func (o *VerifyOTPParams) SetUserID(userID string)
- func (o *VerifyOTPParams) WithContext(ctx context.Context) *VerifyOTPParams
- func (o *VerifyOTPParams) WithDefaults() *VerifyOTPParams
- func (o *VerifyOTPParams) WithHTTPClient(client *http.Client) *VerifyOTPParams
- func (o *VerifyOTPParams) WithIPID(iPID string) *VerifyOTPParams
- func (o *VerifyOTPParams) WithInspectOTP(inspectOTP *models.InspectOTP) *VerifyOTPParams
- func (o *VerifyOTPParams) WithTimeout(timeout time.Duration) *VerifyOTPParams
- func (o *VerifyOTPParams) WithUserID(userID string) *VerifyOTPParams
- func (o *VerifyOTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VerifyOTPPreconditionFailed
- func (o *VerifyOTPPreconditionFailed) Code() int
- func (o *VerifyOTPPreconditionFailed) Error() string
- func (o *VerifyOTPPreconditionFailed) GetPayload() *models.Error
- func (o *VerifyOTPPreconditionFailed) IsClientError() bool
- func (o *VerifyOTPPreconditionFailed) IsCode(code int) bool
- func (o *VerifyOTPPreconditionFailed) IsRedirect() bool
- func (o *VerifyOTPPreconditionFailed) IsServerError() bool
- func (o *VerifyOTPPreconditionFailed) IsSuccess() bool
- func (o *VerifyOTPPreconditionFailed) String() string
- type VerifyOTPReader
- type VerifyOTPUnauthorized
- func (o *VerifyOTPUnauthorized) Code() int
- func (o *VerifyOTPUnauthorized) Error() string
- func (o *VerifyOTPUnauthorized) GetPayload() *models.Error
- func (o *VerifyOTPUnauthorized) IsClientError() bool
- func (o *VerifyOTPUnauthorized) IsCode(code int) bool
- func (o *VerifyOTPUnauthorized) IsRedirect() bool
- func (o *VerifyOTPUnauthorized) IsServerError() bool
- func (o *VerifyOTPUnauthorized) IsSuccess() bool
- func (o *VerifyOTPUnauthorized) String() string
- type VerifyOTPUnprocessableEntity
- func (o *VerifyOTPUnprocessableEntity) Code() int
- func (o *VerifyOTPUnprocessableEntity) Error() string
- func (o *VerifyOTPUnprocessableEntity) GetPayload() *models.Error
- func (o *VerifyOTPUnprocessableEntity) IsClientError() bool
- func (o *VerifyOTPUnprocessableEntity) IsCode(code int) bool
- func (o *VerifyOTPUnprocessableEntity) IsRedirect() bool
- func (o *VerifyOTPUnprocessableEntity) IsServerError() bool
- func (o *VerifyOTPUnprocessableEntity) IsSuccess() bool
- func (o *VerifyOTPUnprocessableEntity) 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 o t p API
func (*Client) RequestAddressVerification ¶
func (a *Client) RequestAddressVerification(params *RequestAddressVerificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RequestAddressVerificationNoContent, error)
RequestAddressVerification requests address verification Generate and send a verification link to the provided address.
The `address` value must be a valid email or mobile number marked as the user's `unverified address` and must not be a verified address of any other user.
Error `404` is returned when either `userID` or `address` are incorrect.
The requested link validity period is configured in the identity pool settings.
func (*Client) RequestOTPChallenge ¶
func (a *Client) RequestOTPChallenge(params *RequestOTPChallengeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RequestOTPChallengeNoContent, error)
RequestOTPChallenge requests o t p challenge Generate and send an OTP to the provided address.
The `address` value must be a valid email or mobile number marked as the user's `unverified address` and must not be a verified address of any other user.
The requested OTP validity period is configured in the identity pool settings.
Generating new challenge invalidates a previous challenge.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) VerifyOTP ¶
func (a *Client) VerifyOTP(params *VerifyOTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VerifyOTPOK, error)
VerifyOTP verifies o t p challenge Verify the OTP generates as part of a challenge-response mechanism.
A valid OTP is removed, and the endpoint returns the **Request accepted** response.
For password change or activation, call **Request Reset Password** and **Send Activation Message**. Find these endpoints documented under the **Users** section of this specification.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { RequestAddressVerification(params *RequestAddressVerificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RequestAddressVerificationNoContent, error) RequestOTPChallenge(params *RequestOTPChallengeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RequestOTPChallengeNoContent, error) VerifyOTP(params *VerifyOTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VerifyOTPOK, 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 o t p API client.
type RequestAddressVerificationBadRequest ¶
RequestAddressVerificationBadRequest describes a response with status code 400, with default header values.
Bad request
func NewRequestAddressVerificationBadRequest ¶
func NewRequestAddressVerificationBadRequest() *RequestAddressVerificationBadRequest
NewRequestAddressVerificationBadRequest creates a RequestAddressVerificationBadRequest with default headers values
func (*RequestAddressVerificationBadRequest) Code ¶
func (o *RequestAddressVerificationBadRequest) Code() int
Code gets the status code for the request address verification bad request response
func (*RequestAddressVerificationBadRequest) Error ¶
func (o *RequestAddressVerificationBadRequest) Error() string
func (*RequestAddressVerificationBadRequest) GetPayload ¶
func (o *RequestAddressVerificationBadRequest) GetPayload() *models.Error
func (*RequestAddressVerificationBadRequest) IsClientError ¶
func (o *RequestAddressVerificationBadRequest) IsClientError() bool
IsClientError returns true when this request address verification bad request response has a 4xx status code
func (*RequestAddressVerificationBadRequest) IsCode ¶
func (o *RequestAddressVerificationBadRequest) IsCode(code int) bool
IsCode returns true when this request address verification bad request response a status code equal to that given
func (*RequestAddressVerificationBadRequest) IsRedirect ¶
func (o *RequestAddressVerificationBadRequest) IsRedirect() bool
IsRedirect returns true when this request address verification bad request response has a 3xx status code
func (*RequestAddressVerificationBadRequest) IsServerError ¶
func (o *RequestAddressVerificationBadRequest) IsServerError() bool
IsServerError returns true when this request address verification bad request response has a 5xx status code
func (*RequestAddressVerificationBadRequest) IsSuccess ¶
func (o *RequestAddressVerificationBadRequest) IsSuccess() bool
IsSuccess returns true when this request address verification bad request response has a 2xx status code
func (*RequestAddressVerificationBadRequest) String ¶
func (o *RequestAddressVerificationBadRequest) String() string
type RequestAddressVerificationConflict ¶
RequestAddressVerificationConflict describes a response with status code 409, with default header values.
Conflict
func NewRequestAddressVerificationConflict ¶
func NewRequestAddressVerificationConflict() *RequestAddressVerificationConflict
NewRequestAddressVerificationConflict creates a RequestAddressVerificationConflict with default headers values
func (*RequestAddressVerificationConflict) Code ¶
func (o *RequestAddressVerificationConflict) Code() int
Code gets the status code for the request address verification conflict response
func (*RequestAddressVerificationConflict) Error ¶
func (o *RequestAddressVerificationConflict) Error() string
func (*RequestAddressVerificationConflict) GetPayload ¶
func (o *RequestAddressVerificationConflict) GetPayload() *models.Error
func (*RequestAddressVerificationConflict) IsClientError ¶
func (o *RequestAddressVerificationConflict) IsClientError() bool
IsClientError returns true when this request address verification conflict response has a 4xx status code
func (*RequestAddressVerificationConflict) IsCode ¶
func (o *RequestAddressVerificationConflict) IsCode(code int) bool
IsCode returns true when this request address verification conflict response a status code equal to that given
func (*RequestAddressVerificationConflict) IsRedirect ¶
func (o *RequestAddressVerificationConflict) IsRedirect() bool
IsRedirect returns true when this request address verification conflict response has a 3xx status code
func (*RequestAddressVerificationConflict) IsServerError ¶
func (o *RequestAddressVerificationConflict) IsServerError() bool
IsServerError returns true when this request address verification conflict response has a 5xx status code
func (*RequestAddressVerificationConflict) IsSuccess ¶
func (o *RequestAddressVerificationConflict) IsSuccess() bool
IsSuccess returns true when this request address verification conflict response has a 2xx status code
func (*RequestAddressVerificationConflict) String ¶
func (o *RequestAddressVerificationConflict) String() string
type RequestAddressVerificationNoContent ¶
type RequestAddressVerificationNoContent struct { }
RequestAddressVerificationNoContent describes a response with status code 204, with default header values.
Request accepted
func NewRequestAddressVerificationNoContent ¶
func NewRequestAddressVerificationNoContent() *RequestAddressVerificationNoContent
NewRequestAddressVerificationNoContent creates a RequestAddressVerificationNoContent with default headers values
func (*RequestAddressVerificationNoContent) Code ¶
func (o *RequestAddressVerificationNoContent) Code() int
Code gets the status code for the request address verification no content response
func (*RequestAddressVerificationNoContent) Error ¶
func (o *RequestAddressVerificationNoContent) Error() string
func (*RequestAddressVerificationNoContent) IsClientError ¶
func (o *RequestAddressVerificationNoContent) IsClientError() bool
IsClientError returns true when this request address verification no content response has a 4xx status code
func (*RequestAddressVerificationNoContent) IsCode ¶
func (o *RequestAddressVerificationNoContent) IsCode(code int) bool
IsCode returns true when this request address verification no content response a status code equal to that given
func (*RequestAddressVerificationNoContent) IsRedirect ¶
func (o *RequestAddressVerificationNoContent) IsRedirect() bool
IsRedirect returns true when this request address verification no content response has a 3xx status code
func (*RequestAddressVerificationNoContent) IsServerError ¶
func (o *RequestAddressVerificationNoContent) IsServerError() bool
IsServerError returns true when this request address verification no content response has a 5xx status code
func (*RequestAddressVerificationNoContent) IsSuccess ¶
func (o *RequestAddressVerificationNoContent) IsSuccess() bool
IsSuccess returns true when this request address verification no content response has a 2xx status code
func (*RequestAddressVerificationNoContent) String ¶
func (o *RequestAddressVerificationNoContent) String() string
type RequestAddressVerificationNotFound ¶
RequestAddressVerificationNotFound describes a response with status code 404, with default header values.
Not found
func NewRequestAddressVerificationNotFound ¶
func NewRequestAddressVerificationNotFound() *RequestAddressVerificationNotFound
NewRequestAddressVerificationNotFound creates a RequestAddressVerificationNotFound with default headers values
func (*RequestAddressVerificationNotFound) Code ¶
func (o *RequestAddressVerificationNotFound) Code() int
Code gets the status code for the request address verification not found response
func (*RequestAddressVerificationNotFound) Error ¶
func (o *RequestAddressVerificationNotFound) Error() string
func (*RequestAddressVerificationNotFound) GetPayload ¶
func (o *RequestAddressVerificationNotFound) GetPayload() *models.Error
func (*RequestAddressVerificationNotFound) IsClientError ¶
func (o *RequestAddressVerificationNotFound) IsClientError() bool
IsClientError returns true when this request address verification not found response has a 4xx status code
func (*RequestAddressVerificationNotFound) IsCode ¶
func (o *RequestAddressVerificationNotFound) IsCode(code int) bool
IsCode returns true when this request address verification not found response a status code equal to that given
func (*RequestAddressVerificationNotFound) IsRedirect ¶
func (o *RequestAddressVerificationNotFound) IsRedirect() bool
IsRedirect returns true when this request address verification not found response has a 3xx status code
func (*RequestAddressVerificationNotFound) IsServerError ¶
func (o *RequestAddressVerificationNotFound) IsServerError() bool
IsServerError returns true when this request address verification not found response has a 5xx status code
func (*RequestAddressVerificationNotFound) IsSuccess ¶
func (o *RequestAddressVerificationNotFound) IsSuccess() bool
IsSuccess returns true when this request address verification not found response has a 2xx status code
func (*RequestAddressVerificationNotFound) String ¶
func (o *RequestAddressVerificationNotFound) String() string
type RequestAddressVerificationParams ¶
type RequestAddressVerificationParams struct { // RequestAddressVerification. RequestAddressVerification *models.RequestOTPForAddress // IPID. IPID string /* ServerID. optional server's identifier (used for themes etc.) ServerID */ ServerID *string // UserID. UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RequestAddressVerificationParams contains all the parameters to send to the API endpoint
for the request address verification operation. Typically these are written to a http.Request.
func NewRequestAddressVerificationParams ¶
func NewRequestAddressVerificationParams() *RequestAddressVerificationParams
NewRequestAddressVerificationParams creates a new RequestAddressVerificationParams 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 NewRequestAddressVerificationParamsWithContext ¶
func NewRequestAddressVerificationParamsWithContext(ctx context.Context) *RequestAddressVerificationParams
NewRequestAddressVerificationParamsWithContext creates a new RequestAddressVerificationParams object with the ability to set a context for a request.
func NewRequestAddressVerificationParamsWithHTTPClient ¶
func NewRequestAddressVerificationParamsWithHTTPClient(client *http.Client) *RequestAddressVerificationParams
NewRequestAddressVerificationParamsWithHTTPClient creates a new RequestAddressVerificationParams object with the ability to set a custom HTTPClient for a request.
func NewRequestAddressVerificationParamsWithTimeout ¶
func NewRequestAddressVerificationParamsWithTimeout(timeout time.Duration) *RequestAddressVerificationParams
NewRequestAddressVerificationParamsWithTimeout creates a new RequestAddressVerificationParams object with the ability to set a timeout on a request.
func (*RequestAddressVerificationParams) SetContext ¶
func (o *RequestAddressVerificationParams) SetContext(ctx context.Context)
SetContext adds the context to the request address verification params
func (*RequestAddressVerificationParams) SetDefaults ¶
func (o *RequestAddressVerificationParams) SetDefaults()
SetDefaults hydrates default values in the request address verification params (not the query body).
All values with no default are reset to their zero value.
func (*RequestAddressVerificationParams) SetHTTPClient ¶
func (o *RequestAddressVerificationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the request address verification params
func (*RequestAddressVerificationParams) SetIPID ¶
func (o *RequestAddressVerificationParams) SetIPID(iPID string)
SetIPID adds the ipId to the request address verification params
func (*RequestAddressVerificationParams) SetRequestAddressVerification ¶
func (o *RequestAddressVerificationParams) SetRequestAddressVerification(requestAddressVerification *models.RequestOTPForAddress)
SetRequestAddressVerification adds the requestAddressVerification to the request address verification params
func (*RequestAddressVerificationParams) SetServerID ¶
func (o *RequestAddressVerificationParams) SetServerID(serverID *string)
SetServerID adds the serverId to the request address verification params
func (*RequestAddressVerificationParams) SetTimeout ¶
func (o *RequestAddressVerificationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the request address verification params
func (*RequestAddressVerificationParams) SetUserID ¶
func (o *RequestAddressVerificationParams) SetUserID(userID string)
SetUserID adds the userId to the request address verification params
func (*RequestAddressVerificationParams) WithContext ¶
func (o *RequestAddressVerificationParams) WithContext(ctx context.Context) *RequestAddressVerificationParams
WithContext adds the context to the request address verification params
func (*RequestAddressVerificationParams) WithDefaults ¶
func (o *RequestAddressVerificationParams) WithDefaults() *RequestAddressVerificationParams
WithDefaults hydrates default values in the request address verification params (not the query body).
All values with no default are reset to their zero value.
func (*RequestAddressVerificationParams) WithHTTPClient ¶
func (o *RequestAddressVerificationParams) WithHTTPClient(client *http.Client) *RequestAddressVerificationParams
WithHTTPClient adds the HTTPClient to the request address verification params
func (*RequestAddressVerificationParams) WithIPID ¶
func (o *RequestAddressVerificationParams) WithIPID(iPID string) *RequestAddressVerificationParams
WithIPID adds the iPID to the request address verification params
func (*RequestAddressVerificationParams) WithRequestAddressVerification ¶
func (o *RequestAddressVerificationParams) WithRequestAddressVerification(requestAddressVerification *models.RequestOTPForAddress) *RequestAddressVerificationParams
WithRequestAddressVerification adds the requestAddressVerification to the request address verification params
func (*RequestAddressVerificationParams) WithServerID ¶
func (o *RequestAddressVerificationParams) WithServerID(serverID *string) *RequestAddressVerificationParams
WithServerID adds the serverID to the request address verification params
func (*RequestAddressVerificationParams) WithTimeout ¶
func (o *RequestAddressVerificationParams) WithTimeout(timeout time.Duration) *RequestAddressVerificationParams
WithTimeout adds the timeout to the request address verification params
func (*RequestAddressVerificationParams) WithUserID ¶
func (o *RequestAddressVerificationParams) WithUserID(userID string) *RequestAddressVerificationParams
WithUserID adds the userID to the request address verification params
func (*RequestAddressVerificationParams) WriteToRequest ¶
func (o *RequestAddressVerificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RequestAddressVerificationPreconditionFailed ¶
RequestAddressVerificationPreconditionFailed describes a response with status code 412, with default header values.
Payload too large
func NewRequestAddressVerificationPreconditionFailed ¶
func NewRequestAddressVerificationPreconditionFailed() *RequestAddressVerificationPreconditionFailed
NewRequestAddressVerificationPreconditionFailed creates a RequestAddressVerificationPreconditionFailed with default headers values
func (*RequestAddressVerificationPreconditionFailed) Code ¶
func (o *RequestAddressVerificationPreconditionFailed) Code() int
Code gets the status code for the request address verification precondition failed response
func (*RequestAddressVerificationPreconditionFailed) Error ¶
func (o *RequestAddressVerificationPreconditionFailed) Error() string
func (*RequestAddressVerificationPreconditionFailed) GetPayload ¶
func (o *RequestAddressVerificationPreconditionFailed) GetPayload() *models.Error
func (*RequestAddressVerificationPreconditionFailed) IsClientError ¶
func (o *RequestAddressVerificationPreconditionFailed) IsClientError() bool
IsClientError returns true when this request address verification precondition failed response has a 4xx status code
func (*RequestAddressVerificationPreconditionFailed) IsCode ¶
func (o *RequestAddressVerificationPreconditionFailed) IsCode(code int) bool
IsCode returns true when this request address verification precondition failed response a status code equal to that given
func (*RequestAddressVerificationPreconditionFailed) IsRedirect ¶
func (o *RequestAddressVerificationPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this request address verification precondition failed response has a 3xx status code
func (*RequestAddressVerificationPreconditionFailed) IsServerError ¶
func (o *RequestAddressVerificationPreconditionFailed) IsServerError() bool
IsServerError returns true when this request address verification precondition failed response has a 5xx status code
func (*RequestAddressVerificationPreconditionFailed) IsSuccess ¶
func (o *RequestAddressVerificationPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this request address verification precondition failed response has a 2xx status code
func (*RequestAddressVerificationPreconditionFailed) String ¶
func (o *RequestAddressVerificationPreconditionFailed) String() string
type RequestAddressVerificationReader ¶
type RequestAddressVerificationReader struct {
// contains filtered or unexported fields
}
RequestAddressVerificationReader is a Reader for the RequestAddressVerification structure.
func (*RequestAddressVerificationReader) ReadResponse ¶
func (o *RequestAddressVerificationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RequestAddressVerificationTooManyRequests ¶
RequestAddressVerificationTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewRequestAddressVerificationTooManyRequests ¶
func NewRequestAddressVerificationTooManyRequests() *RequestAddressVerificationTooManyRequests
NewRequestAddressVerificationTooManyRequests creates a RequestAddressVerificationTooManyRequests with default headers values
func (*RequestAddressVerificationTooManyRequests) Code ¶
func (o *RequestAddressVerificationTooManyRequests) Code() int
Code gets the status code for the request address verification too many requests response
func (*RequestAddressVerificationTooManyRequests) Error ¶
func (o *RequestAddressVerificationTooManyRequests) Error() string
func (*RequestAddressVerificationTooManyRequests) GetPayload ¶
func (o *RequestAddressVerificationTooManyRequests) GetPayload() *models.Error
func (*RequestAddressVerificationTooManyRequests) IsClientError ¶
func (o *RequestAddressVerificationTooManyRequests) IsClientError() bool
IsClientError returns true when this request address verification too many requests response has a 4xx status code
func (*RequestAddressVerificationTooManyRequests) IsCode ¶
func (o *RequestAddressVerificationTooManyRequests) IsCode(code int) bool
IsCode returns true when this request address verification too many requests response a status code equal to that given
func (*RequestAddressVerificationTooManyRequests) IsRedirect ¶
func (o *RequestAddressVerificationTooManyRequests) IsRedirect() bool
IsRedirect returns true when this request address verification too many requests response has a 3xx status code
func (*RequestAddressVerificationTooManyRequests) IsServerError ¶
func (o *RequestAddressVerificationTooManyRequests) IsServerError() bool
IsServerError returns true when this request address verification too many requests response has a 5xx status code
func (*RequestAddressVerificationTooManyRequests) IsSuccess ¶
func (o *RequestAddressVerificationTooManyRequests) IsSuccess() bool
IsSuccess returns true when this request address verification too many requests response has a 2xx status code
func (*RequestAddressVerificationTooManyRequests) String ¶
func (o *RequestAddressVerificationTooManyRequests) String() string
type RequestAddressVerificationUnauthorized ¶
type RequestAddressVerificationUnauthorized struct {
}RequestAddressVerificationUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewRequestAddressVerificationUnauthorized ¶
func NewRequestAddressVerificationUnauthorized() *RequestAddressVerificationUnauthorized
NewRequestAddressVerificationUnauthorized creates a RequestAddressVerificationUnauthorized with default headers values
func (*RequestAddressVerificationUnauthorized) Code ¶
func (o *RequestAddressVerificationUnauthorized) Code() int
Code gets the status code for the request address verification unauthorized response
func (*RequestAddressVerificationUnauthorized) Error ¶
func (o *RequestAddressVerificationUnauthorized) Error() string
func (*RequestAddressVerificationUnauthorized) GetPayload ¶
func (o *RequestAddressVerificationUnauthorized) GetPayload() *models.Error
func (*RequestAddressVerificationUnauthorized) IsClientError ¶
func (o *RequestAddressVerificationUnauthorized) IsClientError() bool
IsClientError returns true when this request address verification unauthorized response has a 4xx status code
func (*RequestAddressVerificationUnauthorized) IsCode ¶
func (o *RequestAddressVerificationUnauthorized) IsCode(code int) bool
IsCode returns true when this request address verification unauthorized response a status code equal to that given
func (*RequestAddressVerificationUnauthorized) IsRedirect ¶
func (o *RequestAddressVerificationUnauthorized) IsRedirect() bool
IsRedirect returns true when this request address verification unauthorized response has a 3xx status code
func (*RequestAddressVerificationUnauthorized) IsServerError ¶
func (o *RequestAddressVerificationUnauthorized) IsServerError() bool
IsServerError returns true when this request address verification unauthorized response has a 5xx status code
func (*RequestAddressVerificationUnauthorized) IsSuccess ¶
func (o *RequestAddressVerificationUnauthorized) IsSuccess() bool
IsSuccess returns true when this request address verification unauthorized response has a 2xx status code
func (*RequestAddressVerificationUnauthorized) String ¶
func (o *RequestAddressVerificationUnauthorized) String() string
type RequestAddressVerificationUnprocessableEntity ¶
RequestAddressVerificationUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewRequestAddressVerificationUnprocessableEntity ¶
func NewRequestAddressVerificationUnprocessableEntity() *RequestAddressVerificationUnprocessableEntity
NewRequestAddressVerificationUnprocessableEntity creates a RequestAddressVerificationUnprocessableEntity with default headers values
func (*RequestAddressVerificationUnprocessableEntity) Code ¶
func (o *RequestAddressVerificationUnprocessableEntity) Code() int
Code gets the status code for the request address verification unprocessable entity response
func (*RequestAddressVerificationUnprocessableEntity) Error ¶
func (o *RequestAddressVerificationUnprocessableEntity) Error() string
func (*RequestAddressVerificationUnprocessableEntity) GetPayload ¶
func (o *RequestAddressVerificationUnprocessableEntity) GetPayload() *models.Error
func (*RequestAddressVerificationUnprocessableEntity) IsClientError ¶
func (o *RequestAddressVerificationUnprocessableEntity) IsClientError() bool
IsClientError returns true when this request address verification unprocessable entity response has a 4xx status code
func (*RequestAddressVerificationUnprocessableEntity) IsCode ¶
func (o *RequestAddressVerificationUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this request address verification unprocessable entity response a status code equal to that given
func (*RequestAddressVerificationUnprocessableEntity) IsRedirect ¶
func (o *RequestAddressVerificationUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this request address verification unprocessable entity response has a 3xx status code
func (*RequestAddressVerificationUnprocessableEntity) IsServerError ¶
func (o *RequestAddressVerificationUnprocessableEntity) IsServerError() bool
IsServerError returns true when this request address verification unprocessable entity response has a 5xx status code
func (*RequestAddressVerificationUnprocessableEntity) IsSuccess ¶
func (o *RequestAddressVerificationUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this request address verification unprocessable entity response has a 2xx status code
func (*RequestAddressVerificationUnprocessableEntity) String ¶
func (o *RequestAddressVerificationUnprocessableEntity) String() string
type RequestOTPChallengeNoContent ¶
type RequestOTPChallengeNoContent struct { }
RequestOTPChallengeNoContent describes a response with status code 204, with default header values.
Request accepted
func NewRequestOTPChallengeNoContent ¶
func NewRequestOTPChallengeNoContent() *RequestOTPChallengeNoContent
NewRequestOTPChallengeNoContent creates a RequestOTPChallengeNoContent with default headers values
func (*RequestOTPChallengeNoContent) Code ¶
func (o *RequestOTPChallengeNoContent) Code() int
Code gets the status code for the request o t p challenge no content response
func (*RequestOTPChallengeNoContent) Error ¶
func (o *RequestOTPChallengeNoContent) Error() string
func (*RequestOTPChallengeNoContent) IsClientError ¶
func (o *RequestOTPChallengeNoContent) IsClientError() bool
IsClientError returns true when this request o t p challenge no content response has a 4xx status code
func (*RequestOTPChallengeNoContent) IsCode ¶
func (o *RequestOTPChallengeNoContent) IsCode(code int) bool
IsCode returns true when this request o t p challenge no content response a status code equal to that given
func (*RequestOTPChallengeNoContent) IsRedirect ¶
func (o *RequestOTPChallengeNoContent) IsRedirect() bool
IsRedirect returns true when this request o t p challenge no content response has a 3xx status code
func (*RequestOTPChallengeNoContent) IsServerError ¶
func (o *RequestOTPChallengeNoContent) IsServerError() bool
IsServerError returns true when this request o t p challenge no content response has a 5xx status code
func (*RequestOTPChallengeNoContent) IsSuccess ¶
func (o *RequestOTPChallengeNoContent) IsSuccess() bool
IsSuccess returns true when this request o t p challenge no content response has a 2xx status code
func (*RequestOTPChallengeNoContent) String ¶
func (o *RequestOTPChallengeNoContent) String() string
type RequestOTPChallengeNotFound ¶
RequestOTPChallengeNotFound describes a response with status code 404, with default header values.
Not found
func NewRequestOTPChallengeNotFound ¶
func NewRequestOTPChallengeNotFound() *RequestOTPChallengeNotFound
NewRequestOTPChallengeNotFound creates a RequestOTPChallengeNotFound with default headers values
func (*RequestOTPChallengeNotFound) Code ¶
func (o *RequestOTPChallengeNotFound) Code() int
Code gets the status code for the request o t p challenge not found response
func (*RequestOTPChallengeNotFound) Error ¶
func (o *RequestOTPChallengeNotFound) Error() string
func (*RequestOTPChallengeNotFound) GetPayload ¶
func (o *RequestOTPChallengeNotFound) GetPayload() *models.Error
func (*RequestOTPChallengeNotFound) IsClientError ¶
func (o *RequestOTPChallengeNotFound) IsClientError() bool
IsClientError returns true when this request o t p challenge not found response has a 4xx status code
func (*RequestOTPChallengeNotFound) IsCode ¶
func (o *RequestOTPChallengeNotFound) IsCode(code int) bool
IsCode returns true when this request o t p challenge not found response a status code equal to that given
func (*RequestOTPChallengeNotFound) IsRedirect ¶
func (o *RequestOTPChallengeNotFound) IsRedirect() bool
IsRedirect returns true when this request o t p challenge not found response has a 3xx status code
func (*RequestOTPChallengeNotFound) IsServerError ¶
func (o *RequestOTPChallengeNotFound) IsServerError() bool
IsServerError returns true when this request o t p challenge not found response has a 5xx status code
func (*RequestOTPChallengeNotFound) IsSuccess ¶
func (o *RequestOTPChallengeNotFound) IsSuccess() bool
IsSuccess returns true when this request o t p challenge not found response has a 2xx status code
func (*RequestOTPChallengeNotFound) String ¶
func (o *RequestOTPChallengeNotFound) String() string
type RequestOTPChallengeParams ¶
type RequestOTPChallengeParams struct { // RequestOTPChallenge. RequestOTPChallenge *models.RequestOTPChallenge // IPID. IPID string /* ServerID. optional server's identifier (used for themes etc.) ServerID */ ServerID *string // UserID. UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RequestOTPChallengeParams contains all the parameters to send to the API endpoint
for the request o t p challenge operation. Typically these are written to a http.Request.
func NewRequestOTPChallengeParams ¶
func NewRequestOTPChallengeParams() *RequestOTPChallengeParams
NewRequestOTPChallengeParams creates a new RequestOTPChallengeParams 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 NewRequestOTPChallengeParamsWithContext ¶
func NewRequestOTPChallengeParamsWithContext(ctx context.Context) *RequestOTPChallengeParams
NewRequestOTPChallengeParamsWithContext creates a new RequestOTPChallengeParams object with the ability to set a context for a request.
func NewRequestOTPChallengeParamsWithHTTPClient ¶
func NewRequestOTPChallengeParamsWithHTTPClient(client *http.Client) *RequestOTPChallengeParams
NewRequestOTPChallengeParamsWithHTTPClient creates a new RequestOTPChallengeParams object with the ability to set a custom HTTPClient for a request.
func NewRequestOTPChallengeParamsWithTimeout ¶
func NewRequestOTPChallengeParamsWithTimeout(timeout time.Duration) *RequestOTPChallengeParams
NewRequestOTPChallengeParamsWithTimeout creates a new RequestOTPChallengeParams object with the ability to set a timeout on a request.
func (*RequestOTPChallengeParams) SetContext ¶
func (o *RequestOTPChallengeParams) SetContext(ctx context.Context)
SetContext adds the context to the request o t p challenge params
func (*RequestOTPChallengeParams) SetDefaults ¶
func (o *RequestOTPChallengeParams) SetDefaults()
SetDefaults hydrates default values in the request o t p challenge params (not the query body).
All values with no default are reset to their zero value.
func (*RequestOTPChallengeParams) SetHTTPClient ¶
func (o *RequestOTPChallengeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the request o t p challenge params
func (*RequestOTPChallengeParams) SetIPID ¶
func (o *RequestOTPChallengeParams) SetIPID(iPID string)
SetIPID adds the ipId to the request o t p challenge params
func (*RequestOTPChallengeParams) SetRequestOTPChallenge ¶
func (o *RequestOTPChallengeParams) SetRequestOTPChallenge(requestOTPChallenge *models.RequestOTPChallenge)
SetRequestOTPChallenge adds the requestOTPChallenge to the request o t p challenge params
func (*RequestOTPChallengeParams) SetServerID ¶
func (o *RequestOTPChallengeParams) SetServerID(serverID *string)
SetServerID adds the serverId to the request o t p challenge params
func (*RequestOTPChallengeParams) SetTimeout ¶
func (o *RequestOTPChallengeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the request o t p challenge params
func (*RequestOTPChallengeParams) SetUserID ¶
func (o *RequestOTPChallengeParams) SetUserID(userID string)
SetUserID adds the userId to the request o t p challenge params
func (*RequestOTPChallengeParams) WithContext ¶
func (o *RequestOTPChallengeParams) WithContext(ctx context.Context) *RequestOTPChallengeParams
WithContext adds the context to the request o t p challenge params
func (*RequestOTPChallengeParams) WithDefaults ¶
func (o *RequestOTPChallengeParams) WithDefaults() *RequestOTPChallengeParams
WithDefaults hydrates default values in the request o t p challenge params (not the query body).
All values with no default are reset to their zero value.
func (*RequestOTPChallengeParams) WithHTTPClient ¶
func (o *RequestOTPChallengeParams) WithHTTPClient(client *http.Client) *RequestOTPChallengeParams
WithHTTPClient adds the HTTPClient to the request o t p challenge params
func (*RequestOTPChallengeParams) WithIPID ¶
func (o *RequestOTPChallengeParams) WithIPID(iPID string) *RequestOTPChallengeParams
WithIPID adds the iPID to the request o t p challenge params
func (*RequestOTPChallengeParams) WithRequestOTPChallenge ¶
func (o *RequestOTPChallengeParams) WithRequestOTPChallenge(requestOTPChallenge *models.RequestOTPChallenge) *RequestOTPChallengeParams
WithRequestOTPChallenge adds the requestOTPChallenge to the request o t p challenge params
func (*RequestOTPChallengeParams) WithServerID ¶
func (o *RequestOTPChallengeParams) WithServerID(serverID *string) *RequestOTPChallengeParams
WithServerID adds the serverID to the request o t p challenge params
func (*RequestOTPChallengeParams) WithTimeout ¶
func (o *RequestOTPChallengeParams) WithTimeout(timeout time.Duration) *RequestOTPChallengeParams
WithTimeout adds the timeout to the request o t p challenge params
func (*RequestOTPChallengeParams) WithUserID ¶
func (o *RequestOTPChallengeParams) WithUserID(userID string) *RequestOTPChallengeParams
WithUserID adds the userID to the request o t p challenge params
func (*RequestOTPChallengeParams) WriteToRequest ¶
func (o *RequestOTPChallengeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RequestOTPChallengePreconditionFailed ¶
RequestOTPChallengePreconditionFailed describes a response with status code 412, with default header values.
Payload too large
func NewRequestOTPChallengePreconditionFailed ¶
func NewRequestOTPChallengePreconditionFailed() *RequestOTPChallengePreconditionFailed
NewRequestOTPChallengePreconditionFailed creates a RequestOTPChallengePreconditionFailed with default headers values
func (*RequestOTPChallengePreconditionFailed) Code ¶
func (o *RequestOTPChallengePreconditionFailed) Code() int
Code gets the status code for the request o t p challenge precondition failed response
func (*RequestOTPChallengePreconditionFailed) Error ¶
func (o *RequestOTPChallengePreconditionFailed) Error() string
func (*RequestOTPChallengePreconditionFailed) GetPayload ¶
func (o *RequestOTPChallengePreconditionFailed) GetPayload() *models.Error
func (*RequestOTPChallengePreconditionFailed) IsClientError ¶
func (o *RequestOTPChallengePreconditionFailed) IsClientError() bool
IsClientError returns true when this request o t p challenge precondition failed response has a 4xx status code
func (*RequestOTPChallengePreconditionFailed) IsCode ¶
func (o *RequestOTPChallengePreconditionFailed) IsCode(code int) bool
IsCode returns true when this request o t p challenge precondition failed response a status code equal to that given
func (*RequestOTPChallengePreconditionFailed) IsRedirect ¶
func (o *RequestOTPChallengePreconditionFailed) IsRedirect() bool
IsRedirect returns true when this request o t p challenge precondition failed response has a 3xx status code
func (*RequestOTPChallengePreconditionFailed) IsServerError ¶
func (o *RequestOTPChallengePreconditionFailed) IsServerError() bool
IsServerError returns true when this request o t p challenge precondition failed response has a 5xx status code
func (*RequestOTPChallengePreconditionFailed) IsSuccess ¶
func (o *RequestOTPChallengePreconditionFailed) IsSuccess() bool
IsSuccess returns true when this request o t p challenge precondition failed response has a 2xx status code
func (*RequestOTPChallengePreconditionFailed) String ¶
func (o *RequestOTPChallengePreconditionFailed) String() string
type RequestOTPChallengeReader ¶
type RequestOTPChallengeReader struct {
// contains filtered or unexported fields
}
RequestOTPChallengeReader is a Reader for the RequestOTPChallenge structure.
func (*RequestOTPChallengeReader) ReadResponse ¶
func (o *RequestOTPChallengeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RequestOTPChallengeTooManyRequests ¶
RequestOTPChallengeTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewRequestOTPChallengeTooManyRequests ¶
func NewRequestOTPChallengeTooManyRequests() *RequestOTPChallengeTooManyRequests
NewRequestOTPChallengeTooManyRequests creates a RequestOTPChallengeTooManyRequests with default headers values
func (*RequestOTPChallengeTooManyRequests) Code ¶
func (o *RequestOTPChallengeTooManyRequests) Code() int
Code gets the status code for the request o t p challenge too many requests response
func (*RequestOTPChallengeTooManyRequests) Error ¶
func (o *RequestOTPChallengeTooManyRequests) Error() string
func (*RequestOTPChallengeTooManyRequests) GetPayload ¶
func (o *RequestOTPChallengeTooManyRequests) GetPayload() *models.Error
func (*RequestOTPChallengeTooManyRequests) IsClientError ¶
func (o *RequestOTPChallengeTooManyRequests) IsClientError() bool
IsClientError returns true when this request o t p challenge too many requests response has a 4xx status code
func (*RequestOTPChallengeTooManyRequests) IsCode ¶
func (o *RequestOTPChallengeTooManyRequests) IsCode(code int) bool
IsCode returns true when this request o t p challenge too many requests response a status code equal to that given
func (*RequestOTPChallengeTooManyRequests) IsRedirect ¶
func (o *RequestOTPChallengeTooManyRequests) IsRedirect() bool
IsRedirect returns true when this request o t p challenge too many requests response has a 3xx status code
func (*RequestOTPChallengeTooManyRequests) IsServerError ¶
func (o *RequestOTPChallengeTooManyRequests) IsServerError() bool
IsServerError returns true when this request o t p challenge too many requests response has a 5xx status code
func (*RequestOTPChallengeTooManyRequests) IsSuccess ¶
func (o *RequestOTPChallengeTooManyRequests) IsSuccess() bool
IsSuccess returns true when this request o t p challenge too many requests response has a 2xx status code
func (*RequestOTPChallengeTooManyRequests) String ¶
func (o *RequestOTPChallengeTooManyRequests) String() string
type RequestOTPChallengeUnauthorized ¶
type RequestOTPChallengeUnauthorized struct {
}RequestOTPChallengeUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewRequestOTPChallengeUnauthorized ¶
func NewRequestOTPChallengeUnauthorized() *RequestOTPChallengeUnauthorized
NewRequestOTPChallengeUnauthorized creates a RequestOTPChallengeUnauthorized with default headers values
func (*RequestOTPChallengeUnauthorized) Code ¶
func (o *RequestOTPChallengeUnauthorized) Code() int
Code gets the status code for the request o t p challenge unauthorized response
func (*RequestOTPChallengeUnauthorized) Error ¶
func (o *RequestOTPChallengeUnauthorized) Error() string
func (*RequestOTPChallengeUnauthorized) GetPayload ¶
func (o *RequestOTPChallengeUnauthorized) GetPayload() *models.Error
func (*RequestOTPChallengeUnauthorized) IsClientError ¶
func (o *RequestOTPChallengeUnauthorized) IsClientError() bool
IsClientError returns true when this request o t p challenge unauthorized response has a 4xx status code
func (*RequestOTPChallengeUnauthorized) IsCode ¶
func (o *RequestOTPChallengeUnauthorized) IsCode(code int) bool
IsCode returns true when this request o t p challenge unauthorized response a status code equal to that given
func (*RequestOTPChallengeUnauthorized) IsRedirect ¶
func (o *RequestOTPChallengeUnauthorized) IsRedirect() bool
IsRedirect returns true when this request o t p challenge unauthorized response has a 3xx status code
func (*RequestOTPChallengeUnauthorized) IsServerError ¶
func (o *RequestOTPChallengeUnauthorized) IsServerError() bool
IsServerError returns true when this request o t p challenge unauthorized response has a 5xx status code
func (*RequestOTPChallengeUnauthorized) IsSuccess ¶
func (o *RequestOTPChallengeUnauthorized) IsSuccess() bool
IsSuccess returns true when this request o t p challenge unauthorized response has a 2xx status code
func (*RequestOTPChallengeUnauthorized) String ¶
func (o *RequestOTPChallengeUnauthorized) String() string
type RequestOTPChallengeUnprocessableEntity ¶
RequestOTPChallengeUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewRequestOTPChallengeUnprocessableEntity ¶
func NewRequestOTPChallengeUnprocessableEntity() *RequestOTPChallengeUnprocessableEntity
NewRequestOTPChallengeUnprocessableEntity creates a RequestOTPChallengeUnprocessableEntity with default headers values
func (*RequestOTPChallengeUnprocessableEntity) Code ¶
func (o *RequestOTPChallengeUnprocessableEntity) Code() int
Code gets the status code for the request o t p challenge unprocessable entity response
func (*RequestOTPChallengeUnprocessableEntity) Error ¶
func (o *RequestOTPChallengeUnprocessableEntity) Error() string
func (*RequestOTPChallengeUnprocessableEntity) GetPayload ¶
func (o *RequestOTPChallengeUnprocessableEntity) GetPayload() *models.Error
func (*RequestOTPChallengeUnprocessableEntity) IsClientError ¶
func (o *RequestOTPChallengeUnprocessableEntity) IsClientError() bool
IsClientError returns true when this request o t p challenge unprocessable entity response has a 4xx status code
func (*RequestOTPChallengeUnprocessableEntity) IsCode ¶
func (o *RequestOTPChallengeUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this request o t p challenge unprocessable entity response a status code equal to that given
func (*RequestOTPChallengeUnprocessableEntity) IsRedirect ¶
func (o *RequestOTPChallengeUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this request o t p challenge unprocessable entity response has a 3xx status code
func (*RequestOTPChallengeUnprocessableEntity) IsServerError ¶
func (o *RequestOTPChallengeUnprocessableEntity) IsServerError() bool
IsServerError returns true when this request o t p challenge unprocessable entity response has a 5xx status code
func (*RequestOTPChallengeUnprocessableEntity) IsSuccess ¶
func (o *RequestOTPChallengeUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this request o t p challenge unprocessable entity response has a 2xx status code
func (*RequestOTPChallengeUnprocessableEntity) String ¶
func (o *RequestOTPChallengeUnprocessableEntity) String() string
type VerifyOTPOK ¶
VerifyOTPOK describes a response with status code 200, with default header values.
User
func NewVerifyOTPOK ¶
func NewVerifyOTPOK() *VerifyOTPOK
NewVerifyOTPOK creates a VerifyOTPOK with default headers values
func (*VerifyOTPOK) Code ¶
func (o *VerifyOTPOK) Code() int
Code gets the status code for the verify o t p o k response
func (*VerifyOTPOK) Error ¶
func (o *VerifyOTPOK) Error() string
func (*VerifyOTPOK) GetPayload ¶
func (o *VerifyOTPOK) GetPayload() *models.UserID
func (*VerifyOTPOK) IsClientError ¶
func (o *VerifyOTPOK) IsClientError() bool
IsClientError returns true when this verify o t p o k response has a 4xx status code
func (*VerifyOTPOK) IsCode ¶
func (o *VerifyOTPOK) IsCode(code int) bool
IsCode returns true when this verify o t p o k response a status code equal to that given
func (*VerifyOTPOK) IsRedirect ¶
func (o *VerifyOTPOK) IsRedirect() bool
IsRedirect returns true when this verify o t p o k response has a 3xx status code
func (*VerifyOTPOK) IsServerError ¶
func (o *VerifyOTPOK) IsServerError() bool
IsServerError returns true when this verify o t p o k response has a 5xx status code
func (*VerifyOTPOK) IsSuccess ¶
func (o *VerifyOTPOK) IsSuccess() bool
IsSuccess returns true when this verify o t p o k response has a 2xx status code
func (*VerifyOTPOK) String ¶
func (o *VerifyOTPOK) String() string
type VerifyOTPParams ¶
type VerifyOTPParams struct { // InspectOTP. InspectOTP *models.InspectOTP // IPID. IPID string // UserID. UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
VerifyOTPParams contains all the parameters to send to the API endpoint
for the verify o t p operation. Typically these are written to a http.Request.
func NewVerifyOTPParams ¶
func NewVerifyOTPParams() *VerifyOTPParams
NewVerifyOTPParams creates a new VerifyOTPParams 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 NewVerifyOTPParamsWithContext ¶
func NewVerifyOTPParamsWithContext(ctx context.Context) *VerifyOTPParams
NewVerifyOTPParamsWithContext creates a new VerifyOTPParams object with the ability to set a context for a request.
func NewVerifyOTPParamsWithHTTPClient ¶
func NewVerifyOTPParamsWithHTTPClient(client *http.Client) *VerifyOTPParams
NewVerifyOTPParamsWithHTTPClient creates a new VerifyOTPParams object with the ability to set a custom HTTPClient for a request.
func NewVerifyOTPParamsWithTimeout ¶
func NewVerifyOTPParamsWithTimeout(timeout time.Duration) *VerifyOTPParams
NewVerifyOTPParamsWithTimeout creates a new VerifyOTPParams object with the ability to set a timeout on a request.
func (*VerifyOTPParams) SetContext ¶
func (o *VerifyOTPParams) SetContext(ctx context.Context)
SetContext adds the context to the verify o t p params
func (*VerifyOTPParams) SetDefaults ¶
func (o *VerifyOTPParams) SetDefaults()
SetDefaults hydrates default values in the verify o t p params (not the query body).
All values with no default are reset to their zero value.
func (*VerifyOTPParams) SetHTTPClient ¶
func (o *VerifyOTPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the verify o t p params
func (*VerifyOTPParams) SetIPID ¶
func (o *VerifyOTPParams) SetIPID(iPID string)
SetIPID adds the ipId to the verify o t p params
func (*VerifyOTPParams) SetInspectOTP ¶
func (o *VerifyOTPParams) SetInspectOTP(inspectOTP *models.InspectOTP)
SetInspectOTP adds the inspectOTP to the verify o t p params
func (*VerifyOTPParams) SetTimeout ¶
func (o *VerifyOTPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the verify o t p params
func (*VerifyOTPParams) SetUserID ¶
func (o *VerifyOTPParams) SetUserID(userID string)
SetUserID adds the userId to the verify o t p params
func (*VerifyOTPParams) WithContext ¶
func (o *VerifyOTPParams) WithContext(ctx context.Context) *VerifyOTPParams
WithContext adds the context to the verify o t p params
func (*VerifyOTPParams) WithDefaults ¶
func (o *VerifyOTPParams) WithDefaults() *VerifyOTPParams
WithDefaults hydrates default values in the verify o t p params (not the query body).
All values with no default are reset to their zero value.
func (*VerifyOTPParams) WithHTTPClient ¶
func (o *VerifyOTPParams) WithHTTPClient(client *http.Client) *VerifyOTPParams
WithHTTPClient adds the HTTPClient to the verify o t p params
func (*VerifyOTPParams) WithIPID ¶
func (o *VerifyOTPParams) WithIPID(iPID string) *VerifyOTPParams
WithIPID adds the iPID to the verify o t p params
func (*VerifyOTPParams) WithInspectOTP ¶
func (o *VerifyOTPParams) WithInspectOTP(inspectOTP *models.InspectOTP) *VerifyOTPParams
WithInspectOTP adds the inspectOTP to the verify o t p params
func (*VerifyOTPParams) WithTimeout ¶
func (o *VerifyOTPParams) WithTimeout(timeout time.Duration) *VerifyOTPParams
WithTimeout adds the timeout to the verify o t p params
func (*VerifyOTPParams) WithUserID ¶
func (o *VerifyOTPParams) WithUserID(userID string) *VerifyOTPParams
WithUserID adds the userID to the verify o t p params
func (*VerifyOTPParams) WriteToRequest ¶
func (o *VerifyOTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type VerifyOTPPreconditionFailed ¶
VerifyOTPPreconditionFailed describes a response with status code 412, with default header values.
Payload too large
func NewVerifyOTPPreconditionFailed ¶
func NewVerifyOTPPreconditionFailed() *VerifyOTPPreconditionFailed
NewVerifyOTPPreconditionFailed creates a VerifyOTPPreconditionFailed with default headers values
func (*VerifyOTPPreconditionFailed) Code ¶
func (o *VerifyOTPPreconditionFailed) Code() int
Code gets the status code for the verify o t p precondition failed response
func (*VerifyOTPPreconditionFailed) Error ¶
func (o *VerifyOTPPreconditionFailed) Error() string
func (*VerifyOTPPreconditionFailed) GetPayload ¶
func (o *VerifyOTPPreconditionFailed) GetPayload() *models.Error
func (*VerifyOTPPreconditionFailed) IsClientError ¶
func (o *VerifyOTPPreconditionFailed) IsClientError() bool
IsClientError returns true when this verify o t p precondition failed response has a 4xx status code
func (*VerifyOTPPreconditionFailed) IsCode ¶
func (o *VerifyOTPPreconditionFailed) IsCode(code int) bool
IsCode returns true when this verify o t p precondition failed response a status code equal to that given
func (*VerifyOTPPreconditionFailed) IsRedirect ¶
func (o *VerifyOTPPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this verify o t p precondition failed response has a 3xx status code
func (*VerifyOTPPreconditionFailed) IsServerError ¶
func (o *VerifyOTPPreconditionFailed) IsServerError() bool
IsServerError returns true when this verify o t p precondition failed response has a 5xx status code
func (*VerifyOTPPreconditionFailed) IsSuccess ¶
func (o *VerifyOTPPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this verify o t p precondition failed response has a 2xx status code
func (*VerifyOTPPreconditionFailed) String ¶
func (o *VerifyOTPPreconditionFailed) String() string
type VerifyOTPReader ¶
type VerifyOTPReader struct {
// contains filtered or unexported fields
}
VerifyOTPReader is a Reader for the VerifyOTP structure.
func (*VerifyOTPReader) ReadResponse ¶
func (o *VerifyOTPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type VerifyOTPUnauthorized ¶
type VerifyOTPUnauthorized struct {
}VerifyOTPUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewVerifyOTPUnauthorized ¶
func NewVerifyOTPUnauthorized() *VerifyOTPUnauthorized
NewVerifyOTPUnauthorized creates a VerifyOTPUnauthorized with default headers values
func (*VerifyOTPUnauthorized) Code ¶
func (o *VerifyOTPUnauthorized) Code() int
Code gets the status code for the verify o t p unauthorized response
func (*VerifyOTPUnauthorized) Error ¶
func (o *VerifyOTPUnauthorized) Error() string
func (*VerifyOTPUnauthorized) GetPayload ¶
func (o *VerifyOTPUnauthorized) GetPayload() *models.Error
func (*VerifyOTPUnauthorized) IsClientError ¶
func (o *VerifyOTPUnauthorized) IsClientError() bool
IsClientError returns true when this verify o t p unauthorized response has a 4xx status code
func (*VerifyOTPUnauthorized) IsCode ¶
func (o *VerifyOTPUnauthorized) IsCode(code int) bool
IsCode returns true when this verify o t p unauthorized response a status code equal to that given
func (*VerifyOTPUnauthorized) IsRedirect ¶
func (o *VerifyOTPUnauthorized) IsRedirect() bool
IsRedirect returns true when this verify o t p unauthorized response has a 3xx status code
func (*VerifyOTPUnauthorized) IsServerError ¶
func (o *VerifyOTPUnauthorized) IsServerError() bool
IsServerError returns true when this verify o t p unauthorized response has a 5xx status code
func (*VerifyOTPUnauthorized) IsSuccess ¶
func (o *VerifyOTPUnauthorized) IsSuccess() bool
IsSuccess returns true when this verify o t p unauthorized response has a 2xx status code
func (*VerifyOTPUnauthorized) String ¶
func (o *VerifyOTPUnauthorized) String() string
type VerifyOTPUnprocessableEntity ¶
VerifyOTPUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewVerifyOTPUnprocessableEntity ¶
func NewVerifyOTPUnprocessableEntity() *VerifyOTPUnprocessableEntity
NewVerifyOTPUnprocessableEntity creates a VerifyOTPUnprocessableEntity with default headers values
func (*VerifyOTPUnprocessableEntity) Code ¶
func (o *VerifyOTPUnprocessableEntity) Code() int
Code gets the status code for the verify o t p unprocessable entity response
func (*VerifyOTPUnprocessableEntity) Error ¶
func (o *VerifyOTPUnprocessableEntity) Error() string
func (*VerifyOTPUnprocessableEntity) GetPayload ¶
func (o *VerifyOTPUnprocessableEntity) GetPayload() *models.Error
func (*VerifyOTPUnprocessableEntity) IsClientError ¶
func (o *VerifyOTPUnprocessableEntity) IsClientError() bool
IsClientError returns true when this verify o t p unprocessable entity response has a 4xx status code
func (*VerifyOTPUnprocessableEntity) IsCode ¶
func (o *VerifyOTPUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this verify o t p unprocessable entity response a status code equal to that given
func (*VerifyOTPUnprocessableEntity) IsRedirect ¶
func (o *VerifyOTPUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this verify o t p unprocessable entity response has a 3xx status code
func (*VerifyOTPUnprocessableEntity) IsServerError ¶
func (o *VerifyOTPUnprocessableEntity) IsServerError() bool
IsServerError returns true when this verify o t p unprocessable entity response has a 5xx status code
func (*VerifyOTPUnprocessableEntity) IsSuccess ¶
func (o *VerifyOTPUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this verify o t p unprocessable entity response has a 2xx status code
func (*VerifyOTPUnprocessableEntity) String ¶
func (o *VerifyOTPUnprocessableEntity) String() string