Documentation
¶
Index ¶
- type ChangePasswordDefault
- func (o *ChangePasswordDefault) Code() int
- func (o *ChangePasswordDefault) Error() string
- func (o *ChangePasswordDefault) GetPayload() *service_model.RuntimeError
- func (o *ChangePasswordDefault) IsClientError() bool
- func (o *ChangePasswordDefault) IsCode(code int) bool
- func (o *ChangePasswordDefault) IsRedirect() bool
- func (o *ChangePasswordDefault) IsServerError() bool
- func (o *ChangePasswordDefault) IsSuccess() bool
- func (o *ChangePasswordDefault) String() string
- type ChangePasswordForbidden
- func (o *ChangePasswordForbidden) Code() int
- func (o *ChangePasswordForbidden) Error() string
- func (o *ChangePasswordForbidden) GetPayload() interface{}
- func (o *ChangePasswordForbidden) IsClientError() bool
- func (o *ChangePasswordForbidden) IsCode(code int) bool
- func (o *ChangePasswordForbidden) IsRedirect() bool
- func (o *ChangePasswordForbidden) IsServerError() bool
- func (o *ChangePasswordForbidden) IsSuccess() bool
- func (o *ChangePasswordForbidden) String() string
- type ChangePasswordNoContent
- func (o *ChangePasswordNoContent) Code() int
- func (o *ChangePasswordNoContent) Error() string
- func (o *ChangePasswordNoContent) GetPayload() interface{}
- func (o *ChangePasswordNoContent) IsClientError() bool
- func (o *ChangePasswordNoContent) IsCode(code int) bool
- func (o *ChangePasswordNoContent) IsRedirect() bool
- func (o *ChangePasswordNoContent) IsServerError() bool
- func (o *ChangePasswordNoContent) IsSuccess() bool
- func (o *ChangePasswordNoContent) String() string
- type ChangePasswordNotFound
- func (o *ChangePasswordNotFound) Code() int
- func (o *ChangePasswordNotFound) Error() string
- func (o *ChangePasswordNotFound) GetPayload() interface{}
- func (o *ChangePasswordNotFound) IsClientError() bool
- func (o *ChangePasswordNotFound) IsCode(code int) bool
- func (o *ChangePasswordNotFound) IsRedirect() bool
- func (o *ChangePasswordNotFound) IsServerError() bool
- func (o *ChangePasswordNotFound) IsSuccess() bool
- func (o *ChangePasswordNotFound) String() string
- type ChangePasswordOK
- func (o *ChangePasswordOK) Code() int
- func (o *ChangePasswordOK) Error() string
- func (o *ChangePasswordOK) IsClientError() bool
- func (o *ChangePasswordOK) IsCode(code int) bool
- func (o *ChangePasswordOK) IsRedirect() bool
- func (o *ChangePasswordOK) IsServerError() bool
- func (o *ChangePasswordOK) IsSuccess() bool
- func (o *ChangePasswordOK) String() string
- type ChangePasswordParams
- func NewChangePasswordParams() *ChangePasswordParams
- func NewChangePasswordParamsWithContext(ctx context.Context) *ChangePasswordParams
- func NewChangePasswordParamsWithHTTPClient(client *http.Client) *ChangePasswordParams
- func NewChangePasswordParamsWithTimeout(timeout time.Duration) *ChangePasswordParams
- func (o *ChangePasswordParams) SetBody(body *service_model.V1PasswordChange)
- func (o *ChangePasswordParams) SetContext(ctx context.Context)
- func (o *ChangePasswordParams) SetDefaults()
- func (o *ChangePasswordParams) SetHTTPClient(client *http.Client)
- func (o *ChangePasswordParams) SetTimeout(timeout time.Duration)
- func (o *ChangePasswordParams) WithBody(body *service_model.V1PasswordChange) *ChangePasswordParams
- func (o *ChangePasswordParams) WithContext(ctx context.Context) *ChangePasswordParams
- func (o *ChangePasswordParams) WithDefaults() *ChangePasswordParams
- func (o *ChangePasswordParams) WithHTTPClient(client *http.Client) *ChangePasswordParams
- func (o *ChangePasswordParams) WithTimeout(timeout time.Duration) *ChangePasswordParams
- func (o *ChangePasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangePasswordReader
- type Client
- func (a *Client) ChangePassword(params *ChangePasswordParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ChangePasswordOK, *ChangePasswordNoContent, error)
- func (a *Client) Login(params *LoginParams, authInfo runtime.ClientAuthInfoWriter, ...) (*LoginOK, *LoginNoContent, error)
- func (a *Client) ResetPassword(params *ResetPasswordParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ResetPasswordOK, *ResetPasswordNoContent, error)
- func (a *Client) ResetPasswordConfirm(params *ResetPasswordConfirmParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ResetPasswordConfirmOK, *ResetPasswordConfirmNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) Signup(params *SignupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SignupOK, *SignupNoContent, error)
- func (a *Client) Trial(params *TrialParams, authInfo runtime.ClientAuthInfoWriter, ...) (*TrialOK, *TrialNoContent, error)
- type ClientOption
- type ClientService
- type LoginDefault
- func (o *LoginDefault) Code() int
- func (o *LoginDefault) Error() string
- func (o *LoginDefault) GetPayload() *service_model.RuntimeError
- func (o *LoginDefault) IsClientError() bool
- func (o *LoginDefault) IsCode(code int) bool
- func (o *LoginDefault) IsRedirect() bool
- func (o *LoginDefault) IsServerError() bool
- func (o *LoginDefault) IsSuccess() bool
- func (o *LoginDefault) String() string
- type LoginForbidden
- func (o *LoginForbidden) Code() int
- func (o *LoginForbidden) Error() string
- func (o *LoginForbidden) GetPayload() interface{}
- func (o *LoginForbidden) IsClientError() bool
- func (o *LoginForbidden) IsCode(code int) bool
- func (o *LoginForbidden) IsRedirect() bool
- func (o *LoginForbidden) IsServerError() bool
- func (o *LoginForbidden) IsSuccess() bool
- func (o *LoginForbidden) String() string
- type LoginNoContent
- func (o *LoginNoContent) Code() int
- func (o *LoginNoContent) Error() string
- func (o *LoginNoContent) GetPayload() interface{}
- func (o *LoginNoContent) IsClientError() bool
- func (o *LoginNoContent) IsCode(code int) bool
- func (o *LoginNoContent) IsRedirect() bool
- func (o *LoginNoContent) IsServerError() bool
- func (o *LoginNoContent) IsSuccess() bool
- func (o *LoginNoContent) String() string
- type LoginNotFound
- func (o *LoginNotFound) Code() int
- func (o *LoginNotFound) Error() string
- func (o *LoginNotFound) GetPayload() interface{}
- func (o *LoginNotFound) IsClientError() bool
- func (o *LoginNotFound) IsCode(code int) bool
- func (o *LoginNotFound) IsRedirect() bool
- func (o *LoginNotFound) IsServerError() bool
- func (o *LoginNotFound) IsSuccess() bool
- func (o *LoginNotFound) String() string
- type LoginOK
- func (o *LoginOK) Code() int
- func (o *LoginOK) Error() string
- func (o *LoginOK) GetPayload() *service_model.V1Auth
- func (o *LoginOK) IsClientError() bool
- func (o *LoginOK) IsCode(code int) bool
- func (o *LoginOK) IsRedirect() bool
- func (o *LoginOK) IsServerError() bool
- func (o *LoginOK) IsSuccess() bool
- func (o *LoginOK) String() string
- type LoginParams
- func (o *LoginParams) SetBody(body *service_model.V1Credentials)
- func (o *LoginParams) SetContext(ctx context.Context)
- func (o *LoginParams) SetDefaults()
- func (o *LoginParams) SetHTTPClient(client *http.Client)
- func (o *LoginParams) SetTimeout(timeout time.Duration)
- func (o *LoginParams) WithBody(body *service_model.V1Credentials) *LoginParams
- func (o *LoginParams) WithContext(ctx context.Context) *LoginParams
- func (o *LoginParams) WithDefaults() *LoginParams
- func (o *LoginParams) WithHTTPClient(client *http.Client) *LoginParams
- func (o *LoginParams) WithTimeout(timeout time.Duration) *LoginParams
- func (o *LoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LoginReader
- type ResetPasswordConfirmDefault
- func (o *ResetPasswordConfirmDefault) Code() int
- func (o *ResetPasswordConfirmDefault) Error() string
- func (o *ResetPasswordConfirmDefault) GetPayload() *service_model.RuntimeError
- func (o *ResetPasswordConfirmDefault) IsClientError() bool
- func (o *ResetPasswordConfirmDefault) IsCode(code int) bool
- func (o *ResetPasswordConfirmDefault) IsRedirect() bool
- func (o *ResetPasswordConfirmDefault) IsServerError() bool
- func (o *ResetPasswordConfirmDefault) IsSuccess() bool
- func (o *ResetPasswordConfirmDefault) String() string
- type ResetPasswordConfirmForbidden
- func (o *ResetPasswordConfirmForbidden) Code() int
- func (o *ResetPasswordConfirmForbidden) Error() string
- func (o *ResetPasswordConfirmForbidden) GetPayload() interface{}
- func (o *ResetPasswordConfirmForbidden) IsClientError() bool
- func (o *ResetPasswordConfirmForbidden) IsCode(code int) bool
- func (o *ResetPasswordConfirmForbidden) IsRedirect() bool
- func (o *ResetPasswordConfirmForbidden) IsServerError() bool
- func (o *ResetPasswordConfirmForbidden) IsSuccess() bool
- func (o *ResetPasswordConfirmForbidden) String() string
- type ResetPasswordConfirmNoContent
- func (o *ResetPasswordConfirmNoContent) Code() int
- func (o *ResetPasswordConfirmNoContent) Error() string
- func (o *ResetPasswordConfirmNoContent) GetPayload() interface{}
- func (o *ResetPasswordConfirmNoContent) IsClientError() bool
- func (o *ResetPasswordConfirmNoContent) IsCode(code int) bool
- func (o *ResetPasswordConfirmNoContent) IsRedirect() bool
- func (o *ResetPasswordConfirmNoContent) IsServerError() bool
- func (o *ResetPasswordConfirmNoContent) IsSuccess() bool
- func (o *ResetPasswordConfirmNoContent) String() string
- type ResetPasswordConfirmNotFound
- func (o *ResetPasswordConfirmNotFound) Code() int
- func (o *ResetPasswordConfirmNotFound) Error() string
- func (o *ResetPasswordConfirmNotFound) GetPayload() interface{}
- func (o *ResetPasswordConfirmNotFound) IsClientError() bool
- func (o *ResetPasswordConfirmNotFound) IsCode(code int) bool
- func (o *ResetPasswordConfirmNotFound) IsRedirect() bool
- func (o *ResetPasswordConfirmNotFound) IsServerError() bool
- func (o *ResetPasswordConfirmNotFound) IsSuccess() bool
- func (o *ResetPasswordConfirmNotFound) String() string
- type ResetPasswordConfirmOK
- func (o *ResetPasswordConfirmOK) Code() int
- func (o *ResetPasswordConfirmOK) Error() string
- func (o *ResetPasswordConfirmOK) GetPayload() *service_model.V1Auth
- func (o *ResetPasswordConfirmOK) IsClientError() bool
- func (o *ResetPasswordConfirmOK) IsCode(code int) bool
- func (o *ResetPasswordConfirmOK) IsRedirect() bool
- func (o *ResetPasswordConfirmOK) IsServerError() bool
- func (o *ResetPasswordConfirmOK) IsSuccess() bool
- func (o *ResetPasswordConfirmOK) String() string
- type ResetPasswordConfirmParams
- func NewResetPasswordConfirmParams() *ResetPasswordConfirmParams
- func NewResetPasswordConfirmParamsWithContext(ctx context.Context) *ResetPasswordConfirmParams
- func NewResetPasswordConfirmParamsWithHTTPClient(client *http.Client) *ResetPasswordConfirmParams
- func NewResetPasswordConfirmParamsWithTimeout(timeout time.Duration) *ResetPasswordConfirmParams
- func (o *ResetPasswordConfirmParams) SetBody(body *service_model.V1PasswordChange)
- func (o *ResetPasswordConfirmParams) SetContext(ctx context.Context)
- func (o *ResetPasswordConfirmParams) SetDefaults()
- func (o *ResetPasswordConfirmParams) SetHTTPClient(client *http.Client)
- func (o *ResetPasswordConfirmParams) SetTimeout(timeout time.Duration)
- func (o *ResetPasswordConfirmParams) WithBody(body *service_model.V1PasswordChange) *ResetPasswordConfirmParams
- func (o *ResetPasswordConfirmParams) WithContext(ctx context.Context) *ResetPasswordConfirmParams
- func (o *ResetPasswordConfirmParams) WithDefaults() *ResetPasswordConfirmParams
- func (o *ResetPasswordConfirmParams) WithHTTPClient(client *http.Client) *ResetPasswordConfirmParams
- func (o *ResetPasswordConfirmParams) WithTimeout(timeout time.Duration) *ResetPasswordConfirmParams
- func (o *ResetPasswordConfirmParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResetPasswordConfirmReader
- type ResetPasswordDefault
- func (o *ResetPasswordDefault) Code() int
- func (o *ResetPasswordDefault) Error() string
- func (o *ResetPasswordDefault) GetPayload() *service_model.RuntimeError
- func (o *ResetPasswordDefault) IsClientError() bool
- func (o *ResetPasswordDefault) IsCode(code int) bool
- func (o *ResetPasswordDefault) IsRedirect() bool
- func (o *ResetPasswordDefault) IsServerError() bool
- func (o *ResetPasswordDefault) IsSuccess() bool
- func (o *ResetPasswordDefault) String() string
- type ResetPasswordForbidden
- func (o *ResetPasswordForbidden) Code() int
- func (o *ResetPasswordForbidden) Error() string
- func (o *ResetPasswordForbidden) GetPayload() interface{}
- func (o *ResetPasswordForbidden) IsClientError() bool
- func (o *ResetPasswordForbidden) IsCode(code int) bool
- func (o *ResetPasswordForbidden) IsRedirect() bool
- func (o *ResetPasswordForbidden) IsServerError() bool
- func (o *ResetPasswordForbidden) IsSuccess() bool
- func (o *ResetPasswordForbidden) String() string
- type ResetPasswordNoContent
- func (o *ResetPasswordNoContent) Code() int
- func (o *ResetPasswordNoContent) Error() string
- func (o *ResetPasswordNoContent) GetPayload() interface{}
- func (o *ResetPasswordNoContent) IsClientError() bool
- func (o *ResetPasswordNoContent) IsCode(code int) bool
- func (o *ResetPasswordNoContent) IsRedirect() bool
- func (o *ResetPasswordNoContent) IsServerError() bool
- func (o *ResetPasswordNoContent) IsSuccess() bool
- func (o *ResetPasswordNoContent) String() string
- type ResetPasswordNotFound
- func (o *ResetPasswordNotFound) Code() int
- func (o *ResetPasswordNotFound) Error() string
- func (o *ResetPasswordNotFound) GetPayload() interface{}
- func (o *ResetPasswordNotFound) IsClientError() bool
- func (o *ResetPasswordNotFound) IsCode(code int) bool
- func (o *ResetPasswordNotFound) IsRedirect() bool
- func (o *ResetPasswordNotFound) IsServerError() bool
- func (o *ResetPasswordNotFound) IsSuccess() bool
- func (o *ResetPasswordNotFound) String() string
- type ResetPasswordOK
- func (o *ResetPasswordOK) Code() int
- func (o *ResetPasswordOK) Error() string
- func (o *ResetPasswordOK) IsClientError() bool
- func (o *ResetPasswordOK) IsCode(code int) bool
- func (o *ResetPasswordOK) IsRedirect() bool
- func (o *ResetPasswordOK) IsServerError() bool
- func (o *ResetPasswordOK) IsSuccess() bool
- func (o *ResetPasswordOK) String() string
- type ResetPasswordParams
- func (o *ResetPasswordParams) SetBody(body *service_model.V1UserEmail)
- func (o *ResetPasswordParams) SetContext(ctx context.Context)
- func (o *ResetPasswordParams) SetDefaults()
- func (o *ResetPasswordParams) SetHTTPClient(client *http.Client)
- func (o *ResetPasswordParams) SetTimeout(timeout time.Duration)
- func (o *ResetPasswordParams) WithBody(body *service_model.V1UserEmail) *ResetPasswordParams
- func (o *ResetPasswordParams) WithContext(ctx context.Context) *ResetPasswordParams
- func (o *ResetPasswordParams) WithDefaults() *ResetPasswordParams
- func (o *ResetPasswordParams) WithHTTPClient(client *http.Client) *ResetPasswordParams
- func (o *ResetPasswordParams) WithTimeout(timeout time.Duration) *ResetPasswordParams
- func (o *ResetPasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResetPasswordReader
- type SignupDefault
- func (o *SignupDefault) Code() int
- func (o *SignupDefault) Error() string
- func (o *SignupDefault) GetPayload() *service_model.RuntimeError
- func (o *SignupDefault) IsClientError() bool
- func (o *SignupDefault) IsCode(code int) bool
- func (o *SignupDefault) IsRedirect() bool
- func (o *SignupDefault) IsServerError() bool
- func (o *SignupDefault) IsSuccess() bool
- func (o *SignupDefault) String() string
- type SignupForbidden
- func (o *SignupForbidden) Code() int
- func (o *SignupForbidden) Error() string
- func (o *SignupForbidden) GetPayload() interface{}
- func (o *SignupForbidden) IsClientError() bool
- func (o *SignupForbidden) IsCode(code int) bool
- func (o *SignupForbidden) IsRedirect() bool
- func (o *SignupForbidden) IsServerError() bool
- func (o *SignupForbidden) IsSuccess() bool
- func (o *SignupForbidden) String() string
- type SignupNoContent
- func (o *SignupNoContent) Code() int
- func (o *SignupNoContent) Error() string
- func (o *SignupNoContent) GetPayload() interface{}
- func (o *SignupNoContent) IsClientError() bool
- func (o *SignupNoContent) IsCode(code int) bool
- func (o *SignupNoContent) IsRedirect() bool
- func (o *SignupNoContent) IsServerError() bool
- func (o *SignupNoContent) IsSuccess() bool
- func (o *SignupNoContent) String() string
- type SignupNotFound
- func (o *SignupNotFound) Code() int
- func (o *SignupNotFound) Error() string
- func (o *SignupNotFound) GetPayload() interface{}
- func (o *SignupNotFound) IsClientError() bool
- func (o *SignupNotFound) IsCode(code int) bool
- func (o *SignupNotFound) IsRedirect() bool
- func (o *SignupNotFound) IsServerError() bool
- func (o *SignupNotFound) IsSuccess() bool
- func (o *SignupNotFound) String() string
- type SignupOK
- func (o *SignupOK) Code() int
- func (o *SignupOK) Error() string
- func (o *SignupOK) GetPayload() *service_model.V1Auth
- func (o *SignupOK) IsClientError() bool
- func (o *SignupOK) IsCode(code int) bool
- func (o *SignupOK) IsRedirect() bool
- func (o *SignupOK) IsServerError() bool
- func (o *SignupOK) IsSuccess() bool
- func (o *SignupOK) String() string
- type SignupParams
- func (o *SignupParams) SetBody(body *service_model.V1UserSingup)
- func (o *SignupParams) SetContext(ctx context.Context)
- func (o *SignupParams) SetDefaults()
- func (o *SignupParams) SetHTTPClient(client *http.Client)
- func (o *SignupParams) SetTimeout(timeout time.Duration)
- func (o *SignupParams) WithBody(body *service_model.V1UserSingup) *SignupParams
- func (o *SignupParams) WithContext(ctx context.Context) *SignupParams
- func (o *SignupParams) WithDefaults() *SignupParams
- func (o *SignupParams) WithHTTPClient(client *http.Client) *SignupParams
- func (o *SignupParams) WithTimeout(timeout time.Duration) *SignupParams
- func (o *SignupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SignupReader
- type TrialDefault
- func (o *TrialDefault) Code() int
- func (o *TrialDefault) Error() string
- func (o *TrialDefault) GetPayload() *service_model.RuntimeError
- func (o *TrialDefault) IsClientError() bool
- func (o *TrialDefault) IsCode(code int) bool
- func (o *TrialDefault) IsRedirect() bool
- func (o *TrialDefault) IsServerError() bool
- func (o *TrialDefault) IsSuccess() bool
- func (o *TrialDefault) String() string
- type TrialForbidden
- func (o *TrialForbidden) Code() int
- func (o *TrialForbidden) Error() string
- func (o *TrialForbidden) GetPayload() interface{}
- func (o *TrialForbidden) IsClientError() bool
- func (o *TrialForbidden) IsCode(code int) bool
- func (o *TrialForbidden) IsRedirect() bool
- func (o *TrialForbidden) IsServerError() bool
- func (o *TrialForbidden) IsSuccess() bool
- func (o *TrialForbidden) String() string
- type TrialNoContent
- func (o *TrialNoContent) Code() int
- func (o *TrialNoContent) Error() string
- func (o *TrialNoContent) GetPayload() interface{}
- func (o *TrialNoContent) IsClientError() bool
- func (o *TrialNoContent) IsCode(code int) bool
- func (o *TrialNoContent) IsRedirect() bool
- func (o *TrialNoContent) IsServerError() bool
- func (o *TrialNoContent) IsSuccess() bool
- func (o *TrialNoContent) String() string
- type TrialNotFound
- func (o *TrialNotFound) Code() int
- func (o *TrialNotFound) Error() string
- func (o *TrialNotFound) GetPayload() interface{}
- func (o *TrialNotFound) IsClientError() bool
- func (o *TrialNotFound) IsCode(code int) bool
- func (o *TrialNotFound) IsRedirect() bool
- func (o *TrialNotFound) IsServerError() bool
- func (o *TrialNotFound) IsSuccess() bool
- func (o *TrialNotFound) String() string
- type TrialOK
- type TrialParams
- func (o *TrialParams) SetBody(body *service_model.V1TrialStart)
- func (o *TrialParams) SetContext(ctx context.Context)
- func (o *TrialParams) SetDefaults()
- func (o *TrialParams) SetHTTPClient(client *http.Client)
- func (o *TrialParams) SetTimeout(timeout time.Duration)
- func (o *TrialParams) WithBody(body *service_model.V1TrialStart) *TrialParams
- func (o *TrialParams) WithContext(ctx context.Context) *TrialParams
- func (o *TrialParams) WithDefaults() *TrialParams
- func (o *TrialParams) WithHTTPClient(client *http.Client) *TrialParams
- func (o *TrialParams) WithTimeout(timeout time.Duration) *TrialParams
- func (o *TrialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TrialReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangePasswordDefault ¶
type ChangePasswordDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
ChangePasswordDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewChangePasswordDefault ¶
func NewChangePasswordDefault(code int) *ChangePasswordDefault
NewChangePasswordDefault creates a ChangePasswordDefault with default headers values
func (*ChangePasswordDefault) Code ¶
func (o *ChangePasswordDefault) Code() int
Code gets the status code for the change password default response
func (*ChangePasswordDefault) Error ¶
func (o *ChangePasswordDefault) Error() string
func (*ChangePasswordDefault) GetPayload ¶
func (o *ChangePasswordDefault) GetPayload() *service_model.RuntimeError
func (*ChangePasswordDefault) IsClientError ¶
func (o *ChangePasswordDefault) IsClientError() bool
IsClientError returns true when this change password default response has a 4xx status code
func (*ChangePasswordDefault) IsCode ¶
func (o *ChangePasswordDefault) IsCode(code int) bool
IsCode returns true when this change password default response a status code equal to that given
func (*ChangePasswordDefault) IsRedirect ¶
func (o *ChangePasswordDefault) IsRedirect() bool
IsRedirect returns true when this change password default response has a 3xx status code
func (*ChangePasswordDefault) IsServerError ¶
func (o *ChangePasswordDefault) IsServerError() bool
IsServerError returns true when this change password default response has a 5xx status code
func (*ChangePasswordDefault) IsSuccess ¶
func (o *ChangePasswordDefault) IsSuccess() bool
IsSuccess returns true when this change password default response has a 2xx status code
func (*ChangePasswordDefault) String ¶
func (o *ChangePasswordDefault) String() string
type ChangePasswordForbidden ¶
type ChangePasswordForbidden struct {
Payload interface{}
}
ChangePasswordForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewChangePasswordForbidden ¶
func NewChangePasswordForbidden() *ChangePasswordForbidden
NewChangePasswordForbidden creates a ChangePasswordForbidden with default headers values
func (*ChangePasswordForbidden) Code ¶
func (o *ChangePasswordForbidden) Code() int
Code gets the status code for the change password forbidden response
func (*ChangePasswordForbidden) Error ¶
func (o *ChangePasswordForbidden) Error() string
func (*ChangePasswordForbidden) GetPayload ¶
func (o *ChangePasswordForbidden) GetPayload() interface{}
func (*ChangePasswordForbidden) IsClientError ¶
func (o *ChangePasswordForbidden) IsClientError() bool
IsClientError returns true when this change password forbidden response has a 4xx status code
func (*ChangePasswordForbidden) IsCode ¶
func (o *ChangePasswordForbidden) IsCode(code int) bool
IsCode returns true when this change password forbidden response a status code equal to that given
func (*ChangePasswordForbidden) IsRedirect ¶
func (o *ChangePasswordForbidden) IsRedirect() bool
IsRedirect returns true when this change password forbidden response has a 3xx status code
func (*ChangePasswordForbidden) IsServerError ¶
func (o *ChangePasswordForbidden) IsServerError() bool
IsServerError returns true when this change password forbidden response has a 5xx status code
func (*ChangePasswordForbidden) IsSuccess ¶
func (o *ChangePasswordForbidden) IsSuccess() bool
IsSuccess returns true when this change password forbidden response has a 2xx status code
func (*ChangePasswordForbidden) String ¶
func (o *ChangePasswordForbidden) String() string
type ChangePasswordNoContent ¶
type ChangePasswordNoContent struct {
Payload interface{}
}
ChangePasswordNoContent describes a response with status code 204, with default header values.
No content.
func NewChangePasswordNoContent ¶
func NewChangePasswordNoContent() *ChangePasswordNoContent
NewChangePasswordNoContent creates a ChangePasswordNoContent with default headers values
func (*ChangePasswordNoContent) Code ¶
func (o *ChangePasswordNoContent) Code() int
Code gets the status code for the change password no content response
func (*ChangePasswordNoContent) Error ¶
func (o *ChangePasswordNoContent) Error() string
func (*ChangePasswordNoContent) GetPayload ¶
func (o *ChangePasswordNoContent) GetPayload() interface{}
func (*ChangePasswordNoContent) IsClientError ¶
func (o *ChangePasswordNoContent) IsClientError() bool
IsClientError returns true when this change password no content response has a 4xx status code
func (*ChangePasswordNoContent) IsCode ¶
func (o *ChangePasswordNoContent) IsCode(code int) bool
IsCode returns true when this change password no content response a status code equal to that given
func (*ChangePasswordNoContent) IsRedirect ¶
func (o *ChangePasswordNoContent) IsRedirect() bool
IsRedirect returns true when this change password no content response has a 3xx status code
func (*ChangePasswordNoContent) IsServerError ¶
func (o *ChangePasswordNoContent) IsServerError() bool
IsServerError returns true when this change password no content response has a 5xx status code
func (*ChangePasswordNoContent) IsSuccess ¶
func (o *ChangePasswordNoContent) IsSuccess() bool
IsSuccess returns true when this change password no content response has a 2xx status code
func (*ChangePasswordNoContent) String ¶
func (o *ChangePasswordNoContent) String() string
type ChangePasswordNotFound ¶
type ChangePasswordNotFound struct {
Payload interface{}
}
ChangePasswordNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewChangePasswordNotFound ¶
func NewChangePasswordNotFound() *ChangePasswordNotFound
NewChangePasswordNotFound creates a ChangePasswordNotFound with default headers values
func (*ChangePasswordNotFound) Code ¶
func (o *ChangePasswordNotFound) Code() int
Code gets the status code for the change password not found response
func (*ChangePasswordNotFound) Error ¶
func (o *ChangePasswordNotFound) Error() string
func (*ChangePasswordNotFound) GetPayload ¶
func (o *ChangePasswordNotFound) GetPayload() interface{}
func (*ChangePasswordNotFound) IsClientError ¶
func (o *ChangePasswordNotFound) IsClientError() bool
IsClientError returns true when this change password not found response has a 4xx status code
func (*ChangePasswordNotFound) IsCode ¶
func (o *ChangePasswordNotFound) IsCode(code int) bool
IsCode returns true when this change password not found response a status code equal to that given
func (*ChangePasswordNotFound) IsRedirect ¶
func (o *ChangePasswordNotFound) IsRedirect() bool
IsRedirect returns true when this change password not found response has a 3xx status code
func (*ChangePasswordNotFound) IsServerError ¶
func (o *ChangePasswordNotFound) IsServerError() bool
IsServerError returns true when this change password not found response has a 5xx status code
func (*ChangePasswordNotFound) IsSuccess ¶
func (o *ChangePasswordNotFound) IsSuccess() bool
IsSuccess returns true when this change password not found response has a 2xx status code
func (*ChangePasswordNotFound) String ¶
func (o *ChangePasswordNotFound) String() string
type ChangePasswordOK ¶
type ChangePasswordOK struct { }
ChangePasswordOK describes a response with status code 200, with default header values.
A successful response.
func NewChangePasswordOK ¶
func NewChangePasswordOK() *ChangePasswordOK
NewChangePasswordOK creates a ChangePasswordOK with default headers values
func (*ChangePasswordOK) Code ¶
func (o *ChangePasswordOK) Code() int
Code gets the status code for the change password o k response
func (*ChangePasswordOK) Error ¶
func (o *ChangePasswordOK) Error() string
func (*ChangePasswordOK) IsClientError ¶
func (o *ChangePasswordOK) IsClientError() bool
IsClientError returns true when this change password o k response has a 4xx status code
func (*ChangePasswordOK) IsCode ¶
func (o *ChangePasswordOK) IsCode(code int) bool
IsCode returns true when this change password o k response a status code equal to that given
func (*ChangePasswordOK) IsRedirect ¶
func (o *ChangePasswordOK) IsRedirect() bool
IsRedirect returns true when this change password o k response has a 3xx status code
func (*ChangePasswordOK) IsServerError ¶
func (o *ChangePasswordOK) IsServerError() bool
IsServerError returns true when this change password o k response has a 5xx status code
func (*ChangePasswordOK) IsSuccess ¶
func (o *ChangePasswordOK) IsSuccess() bool
IsSuccess returns true when this change password o k response has a 2xx status code
func (*ChangePasswordOK) String ¶
func (o *ChangePasswordOK) String() string
type ChangePasswordParams ¶
type ChangePasswordParams struct { // Body. Body *service_model.V1PasswordChange Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ChangePasswordParams contains all the parameters to send to the API endpoint
for the change password operation. Typically these are written to a http.Request.
func NewChangePasswordParams ¶
func NewChangePasswordParams() *ChangePasswordParams
NewChangePasswordParams creates a new ChangePasswordParams 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 NewChangePasswordParamsWithContext ¶
func NewChangePasswordParamsWithContext(ctx context.Context) *ChangePasswordParams
NewChangePasswordParamsWithContext creates a new ChangePasswordParams object with the ability to set a context for a request.
func NewChangePasswordParamsWithHTTPClient ¶
func NewChangePasswordParamsWithHTTPClient(client *http.Client) *ChangePasswordParams
NewChangePasswordParamsWithHTTPClient creates a new ChangePasswordParams object with the ability to set a custom HTTPClient for a request.
func NewChangePasswordParamsWithTimeout ¶
func NewChangePasswordParamsWithTimeout(timeout time.Duration) *ChangePasswordParams
NewChangePasswordParamsWithTimeout creates a new ChangePasswordParams object with the ability to set a timeout on a request.
func (*ChangePasswordParams) SetBody ¶
func (o *ChangePasswordParams) SetBody(body *service_model.V1PasswordChange)
SetBody adds the body to the change password params
func (*ChangePasswordParams) SetContext ¶
func (o *ChangePasswordParams) SetContext(ctx context.Context)
SetContext adds the context to the change password params
func (*ChangePasswordParams) SetDefaults ¶
func (o *ChangePasswordParams) SetDefaults()
SetDefaults hydrates default values in the change password params (not the query body).
All values with no default are reset to their zero value.
func (*ChangePasswordParams) SetHTTPClient ¶
func (o *ChangePasswordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the change password params
func (*ChangePasswordParams) SetTimeout ¶
func (o *ChangePasswordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the change password params
func (*ChangePasswordParams) WithBody ¶
func (o *ChangePasswordParams) WithBody(body *service_model.V1PasswordChange) *ChangePasswordParams
WithBody adds the body to the change password params
func (*ChangePasswordParams) WithContext ¶
func (o *ChangePasswordParams) WithContext(ctx context.Context) *ChangePasswordParams
WithContext adds the context to the change password params
func (*ChangePasswordParams) WithDefaults ¶
func (o *ChangePasswordParams) WithDefaults() *ChangePasswordParams
WithDefaults hydrates default values in the change password params (not the query body).
All values with no default are reset to their zero value.
func (*ChangePasswordParams) WithHTTPClient ¶
func (o *ChangePasswordParams) WithHTTPClient(client *http.Client) *ChangePasswordParams
WithHTTPClient adds the HTTPClient to the change password params
func (*ChangePasswordParams) WithTimeout ¶
func (o *ChangePasswordParams) WithTimeout(timeout time.Duration) *ChangePasswordParams
WithTimeout adds the timeout to the change password params
func (*ChangePasswordParams) WriteToRequest ¶
func (o *ChangePasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ChangePasswordReader ¶
type ChangePasswordReader struct {
// contains filtered or unexported fields
}
ChangePasswordReader is a Reader for the ChangePassword structure.
func (*ChangePasswordReader) ReadResponse ¶
func (o *ChangePasswordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for auth v1 API
func (*Client) ChangePassword ¶
func (a *Client) ChangePassword(params *ChangePasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChangePasswordOK, *ChangePasswordNoContent, error)
ChangePassword changes password
func (*Client) Login ¶
func (a *Client) Login(params *LoginParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LoginOK, *LoginNoContent, error)
Login logins
func (*Client) ResetPassword ¶
func (a *Client) ResetPassword(params *ResetPasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResetPasswordOK, *ResetPasswordNoContent, error)
ResetPassword resets password
func (*Client) ResetPasswordConfirm ¶
func (a *Client) ResetPasswordConfirm(params *ResetPasswordConfirmParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResetPasswordConfirmOK, *ResetPasswordConfirmNoContent, error)
ResetPasswordConfirm resets password confirm
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) Signup ¶
func (a *Client) Signup(params *SignupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SignupOK, *SignupNoContent, error)
Signup signups
func (*Client) Trial ¶
func (a *Client) Trial(params *TrialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TrialOK, *TrialNoContent, error)
Trial trials start
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { ChangePassword(params *ChangePasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChangePasswordOK, *ChangePasswordNoContent, error) Login(params *LoginParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LoginOK, *LoginNoContent, error) ResetPassword(params *ResetPasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResetPasswordOK, *ResetPasswordNoContent, error) ResetPasswordConfirm(params *ResetPasswordConfirmParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResetPasswordConfirmOK, *ResetPasswordConfirmNoContent, error) Signup(params *SignupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SignupOK, *SignupNoContent, error) Trial(params *TrialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TrialOK, *TrialNoContent, 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 auth v1 API client.
type LoginDefault ¶
type LoginDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
LoginDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewLoginDefault ¶
func NewLoginDefault(code int) *LoginDefault
NewLoginDefault creates a LoginDefault with default headers values
func (*LoginDefault) Code ¶
func (o *LoginDefault) Code() int
Code gets the status code for the login default response
func (*LoginDefault) Error ¶
func (o *LoginDefault) Error() string
func (*LoginDefault) GetPayload ¶
func (o *LoginDefault) GetPayload() *service_model.RuntimeError
func (*LoginDefault) IsClientError ¶
func (o *LoginDefault) IsClientError() bool
IsClientError returns true when this login default response has a 4xx status code
func (*LoginDefault) IsCode ¶
func (o *LoginDefault) IsCode(code int) bool
IsCode returns true when this login default response a status code equal to that given
func (*LoginDefault) IsRedirect ¶
func (o *LoginDefault) IsRedirect() bool
IsRedirect returns true when this login default response has a 3xx status code
func (*LoginDefault) IsServerError ¶
func (o *LoginDefault) IsServerError() bool
IsServerError returns true when this login default response has a 5xx status code
func (*LoginDefault) IsSuccess ¶
func (o *LoginDefault) IsSuccess() bool
IsSuccess returns true when this login default response has a 2xx status code
func (*LoginDefault) String ¶
func (o *LoginDefault) String() string
type LoginForbidden ¶
type LoginForbidden struct {
Payload interface{}
}
LoginForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewLoginForbidden ¶
func NewLoginForbidden() *LoginForbidden
NewLoginForbidden creates a LoginForbidden with default headers values
func (*LoginForbidden) Code ¶
func (o *LoginForbidden) Code() int
Code gets the status code for the login forbidden response
func (*LoginForbidden) Error ¶
func (o *LoginForbidden) Error() string
func (*LoginForbidden) GetPayload ¶
func (o *LoginForbidden) GetPayload() interface{}
func (*LoginForbidden) IsClientError ¶
func (o *LoginForbidden) IsClientError() bool
IsClientError returns true when this login forbidden response has a 4xx status code
func (*LoginForbidden) IsCode ¶
func (o *LoginForbidden) IsCode(code int) bool
IsCode returns true when this login forbidden response a status code equal to that given
func (*LoginForbidden) IsRedirect ¶
func (o *LoginForbidden) IsRedirect() bool
IsRedirect returns true when this login forbidden response has a 3xx status code
func (*LoginForbidden) IsServerError ¶
func (o *LoginForbidden) IsServerError() bool
IsServerError returns true when this login forbidden response has a 5xx status code
func (*LoginForbidden) IsSuccess ¶
func (o *LoginForbidden) IsSuccess() bool
IsSuccess returns true when this login forbidden response has a 2xx status code
func (*LoginForbidden) String ¶
func (o *LoginForbidden) String() string
type LoginNoContent ¶
type LoginNoContent struct {
Payload interface{}
}
LoginNoContent describes a response with status code 204, with default header values.
No content.
func NewLoginNoContent ¶
func NewLoginNoContent() *LoginNoContent
NewLoginNoContent creates a LoginNoContent with default headers values
func (*LoginNoContent) Code ¶
func (o *LoginNoContent) Code() int
Code gets the status code for the login no content response
func (*LoginNoContent) Error ¶
func (o *LoginNoContent) Error() string
func (*LoginNoContent) GetPayload ¶
func (o *LoginNoContent) GetPayload() interface{}
func (*LoginNoContent) IsClientError ¶
func (o *LoginNoContent) IsClientError() bool
IsClientError returns true when this login no content response has a 4xx status code
func (*LoginNoContent) IsCode ¶
func (o *LoginNoContent) IsCode(code int) bool
IsCode returns true when this login no content response a status code equal to that given
func (*LoginNoContent) IsRedirect ¶
func (o *LoginNoContent) IsRedirect() bool
IsRedirect returns true when this login no content response has a 3xx status code
func (*LoginNoContent) IsServerError ¶
func (o *LoginNoContent) IsServerError() bool
IsServerError returns true when this login no content response has a 5xx status code
func (*LoginNoContent) IsSuccess ¶
func (o *LoginNoContent) IsSuccess() bool
IsSuccess returns true when this login no content response has a 2xx status code
func (*LoginNoContent) String ¶
func (o *LoginNoContent) String() string
type LoginNotFound ¶
type LoginNotFound struct {
Payload interface{}
}
LoginNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewLoginNotFound ¶
func NewLoginNotFound() *LoginNotFound
NewLoginNotFound creates a LoginNotFound with default headers values
func (*LoginNotFound) Code ¶
func (o *LoginNotFound) Code() int
Code gets the status code for the login not found response
func (*LoginNotFound) Error ¶
func (o *LoginNotFound) Error() string
func (*LoginNotFound) GetPayload ¶
func (o *LoginNotFound) GetPayload() interface{}
func (*LoginNotFound) IsClientError ¶
func (o *LoginNotFound) IsClientError() bool
IsClientError returns true when this login not found response has a 4xx status code
func (*LoginNotFound) IsCode ¶
func (o *LoginNotFound) IsCode(code int) bool
IsCode returns true when this login not found response a status code equal to that given
func (*LoginNotFound) IsRedirect ¶
func (o *LoginNotFound) IsRedirect() bool
IsRedirect returns true when this login not found response has a 3xx status code
func (*LoginNotFound) IsServerError ¶
func (o *LoginNotFound) IsServerError() bool
IsServerError returns true when this login not found response has a 5xx status code
func (*LoginNotFound) IsSuccess ¶
func (o *LoginNotFound) IsSuccess() bool
IsSuccess returns true when this login not found response has a 2xx status code
func (*LoginNotFound) String ¶
func (o *LoginNotFound) String() string
type LoginOK ¶
type LoginOK struct {
Payload *service_model.V1Auth
}
LoginOK describes a response with status code 200, with default header values.
A successful response.
func NewLoginOK ¶
func NewLoginOK() *LoginOK
NewLoginOK creates a LoginOK with default headers values
func (*LoginOK) GetPayload ¶
func (o *LoginOK) GetPayload() *service_model.V1Auth
func (*LoginOK) IsClientError ¶
IsClientError returns true when this login o k response has a 4xx status code
func (*LoginOK) IsCode ¶
IsCode returns true when this login o k response a status code equal to that given
func (*LoginOK) IsRedirect ¶
IsRedirect returns true when this login o k response has a 3xx status code
func (*LoginOK) IsServerError ¶
IsServerError returns true when this login o k response has a 5xx status code
type LoginParams ¶
type LoginParams struct { // Body. Body *service_model.V1Credentials Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LoginParams contains all the parameters to send to the API endpoint
for the login operation. Typically these are written to a http.Request.
func NewLoginParams ¶
func NewLoginParams() *LoginParams
NewLoginParams creates a new LoginParams 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 NewLoginParamsWithContext ¶
func NewLoginParamsWithContext(ctx context.Context) *LoginParams
NewLoginParamsWithContext creates a new LoginParams object with the ability to set a context for a request.
func NewLoginParamsWithHTTPClient ¶
func NewLoginParamsWithHTTPClient(client *http.Client) *LoginParams
NewLoginParamsWithHTTPClient creates a new LoginParams object with the ability to set a custom HTTPClient for a request.
func NewLoginParamsWithTimeout ¶
func NewLoginParamsWithTimeout(timeout time.Duration) *LoginParams
NewLoginParamsWithTimeout creates a new LoginParams object with the ability to set a timeout on a request.
func (*LoginParams) SetBody ¶
func (o *LoginParams) SetBody(body *service_model.V1Credentials)
SetBody adds the body to the login params
func (*LoginParams) SetContext ¶
func (o *LoginParams) SetContext(ctx context.Context)
SetContext adds the context to the login params
func (*LoginParams) SetDefaults ¶
func (o *LoginParams) SetDefaults()
SetDefaults hydrates default values in the login params (not the query body).
All values with no default are reset to their zero value.
func (*LoginParams) SetHTTPClient ¶
func (o *LoginParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the login params
func (*LoginParams) SetTimeout ¶
func (o *LoginParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the login params
func (*LoginParams) WithBody ¶
func (o *LoginParams) WithBody(body *service_model.V1Credentials) *LoginParams
WithBody adds the body to the login params
func (*LoginParams) WithContext ¶
func (o *LoginParams) WithContext(ctx context.Context) *LoginParams
WithContext adds the context to the login params
func (*LoginParams) WithDefaults ¶
func (o *LoginParams) WithDefaults() *LoginParams
WithDefaults hydrates default values in the login params (not the query body).
All values with no default are reset to their zero value.
func (*LoginParams) WithHTTPClient ¶
func (o *LoginParams) WithHTTPClient(client *http.Client) *LoginParams
WithHTTPClient adds the HTTPClient to the login params
func (*LoginParams) WithTimeout ¶
func (o *LoginParams) WithTimeout(timeout time.Duration) *LoginParams
WithTimeout adds the timeout to the login params
func (*LoginParams) WriteToRequest ¶
func (o *LoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LoginReader ¶
type LoginReader struct {
// contains filtered or unexported fields
}
LoginReader is a Reader for the Login structure.
func (*LoginReader) ReadResponse ¶
func (o *LoginReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ResetPasswordConfirmDefault ¶
type ResetPasswordConfirmDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
ResetPasswordConfirmDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewResetPasswordConfirmDefault ¶
func NewResetPasswordConfirmDefault(code int) *ResetPasswordConfirmDefault
NewResetPasswordConfirmDefault creates a ResetPasswordConfirmDefault with default headers values
func (*ResetPasswordConfirmDefault) Code ¶
func (o *ResetPasswordConfirmDefault) Code() int
Code gets the status code for the reset password confirm default response
func (*ResetPasswordConfirmDefault) Error ¶
func (o *ResetPasswordConfirmDefault) Error() string
func (*ResetPasswordConfirmDefault) GetPayload ¶
func (o *ResetPasswordConfirmDefault) GetPayload() *service_model.RuntimeError
func (*ResetPasswordConfirmDefault) IsClientError ¶
func (o *ResetPasswordConfirmDefault) IsClientError() bool
IsClientError returns true when this reset password confirm default response has a 4xx status code
func (*ResetPasswordConfirmDefault) IsCode ¶
func (o *ResetPasswordConfirmDefault) IsCode(code int) bool
IsCode returns true when this reset password confirm default response a status code equal to that given
func (*ResetPasswordConfirmDefault) IsRedirect ¶
func (o *ResetPasswordConfirmDefault) IsRedirect() bool
IsRedirect returns true when this reset password confirm default response has a 3xx status code
func (*ResetPasswordConfirmDefault) IsServerError ¶
func (o *ResetPasswordConfirmDefault) IsServerError() bool
IsServerError returns true when this reset password confirm default response has a 5xx status code
func (*ResetPasswordConfirmDefault) IsSuccess ¶
func (o *ResetPasswordConfirmDefault) IsSuccess() bool
IsSuccess returns true when this reset password confirm default response has a 2xx status code
func (*ResetPasswordConfirmDefault) String ¶
func (o *ResetPasswordConfirmDefault) String() string
type ResetPasswordConfirmForbidden ¶
type ResetPasswordConfirmForbidden struct {
Payload interface{}
}
ResetPasswordConfirmForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewResetPasswordConfirmForbidden ¶
func NewResetPasswordConfirmForbidden() *ResetPasswordConfirmForbidden
NewResetPasswordConfirmForbidden creates a ResetPasswordConfirmForbidden with default headers values
func (*ResetPasswordConfirmForbidden) Code ¶
func (o *ResetPasswordConfirmForbidden) Code() int
Code gets the status code for the reset password confirm forbidden response
func (*ResetPasswordConfirmForbidden) Error ¶
func (o *ResetPasswordConfirmForbidden) Error() string
func (*ResetPasswordConfirmForbidden) GetPayload ¶
func (o *ResetPasswordConfirmForbidden) GetPayload() interface{}
func (*ResetPasswordConfirmForbidden) IsClientError ¶
func (o *ResetPasswordConfirmForbidden) IsClientError() bool
IsClientError returns true when this reset password confirm forbidden response has a 4xx status code
func (*ResetPasswordConfirmForbidden) IsCode ¶
func (o *ResetPasswordConfirmForbidden) IsCode(code int) bool
IsCode returns true when this reset password confirm forbidden response a status code equal to that given
func (*ResetPasswordConfirmForbidden) IsRedirect ¶
func (o *ResetPasswordConfirmForbidden) IsRedirect() bool
IsRedirect returns true when this reset password confirm forbidden response has a 3xx status code
func (*ResetPasswordConfirmForbidden) IsServerError ¶
func (o *ResetPasswordConfirmForbidden) IsServerError() bool
IsServerError returns true when this reset password confirm forbidden response has a 5xx status code
func (*ResetPasswordConfirmForbidden) IsSuccess ¶
func (o *ResetPasswordConfirmForbidden) IsSuccess() bool
IsSuccess returns true when this reset password confirm forbidden response has a 2xx status code
func (*ResetPasswordConfirmForbidden) String ¶
func (o *ResetPasswordConfirmForbidden) String() string
type ResetPasswordConfirmNoContent ¶
type ResetPasswordConfirmNoContent struct {
Payload interface{}
}
ResetPasswordConfirmNoContent describes a response with status code 204, with default header values.
No content.
func NewResetPasswordConfirmNoContent ¶
func NewResetPasswordConfirmNoContent() *ResetPasswordConfirmNoContent
NewResetPasswordConfirmNoContent creates a ResetPasswordConfirmNoContent with default headers values
func (*ResetPasswordConfirmNoContent) Code ¶
func (o *ResetPasswordConfirmNoContent) Code() int
Code gets the status code for the reset password confirm no content response
func (*ResetPasswordConfirmNoContent) Error ¶
func (o *ResetPasswordConfirmNoContent) Error() string
func (*ResetPasswordConfirmNoContent) GetPayload ¶
func (o *ResetPasswordConfirmNoContent) GetPayload() interface{}
func (*ResetPasswordConfirmNoContent) IsClientError ¶
func (o *ResetPasswordConfirmNoContent) IsClientError() bool
IsClientError returns true when this reset password confirm no content response has a 4xx status code
func (*ResetPasswordConfirmNoContent) IsCode ¶
func (o *ResetPasswordConfirmNoContent) IsCode(code int) bool
IsCode returns true when this reset password confirm no content response a status code equal to that given
func (*ResetPasswordConfirmNoContent) IsRedirect ¶
func (o *ResetPasswordConfirmNoContent) IsRedirect() bool
IsRedirect returns true when this reset password confirm no content response has a 3xx status code
func (*ResetPasswordConfirmNoContent) IsServerError ¶
func (o *ResetPasswordConfirmNoContent) IsServerError() bool
IsServerError returns true when this reset password confirm no content response has a 5xx status code
func (*ResetPasswordConfirmNoContent) IsSuccess ¶
func (o *ResetPasswordConfirmNoContent) IsSuccess() bool
IsSuccess returns true when this reset password confirm no content response has a 2xx status code
func (*ResetPasswordConfirmNoContent) String ¶
func (o *ResetPasswordConfirmNoContent) String() string
type ResetPasswordConfirmNotFound ¶
type ResetPasswordConfirmNotFound struct {
Payload interface{}
}
ResetPasswordConfirmNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewResetPasswordConfirmNotFound ¶
func NewResetPasswordConfirmNotFound() *ResetPasswordConfirmNotFound
NewResetPasswordConfirmNotFound creates a ResetPasswordConfirmNotFound with default headers values
func (*ResetPasswordConfirmNotFound) Code ¶
func (o *ResetPasswordConfirmNotFound) Code() int
Code gets the status code for the reset password confirm not found response
func (*ResetPasswordConfirmNotFound) Error ¶
func (o *ResetPasswordConfirmNotFound) Error() string
func (*ResetPasswordConfirmNotFound) GetPayload ¶
func (o *ResetPasswordConfirmNotFound) GetPayload() interface{}
func (*ResetPasswordConfirmNotFound) IsClientError ¶
func (o *ResetPasswordConfirmNotFound) IsClientError() bool
IsClientError returns true when this reset password confirm not found response has a 4xx status code
func (*ResetPasswordConfirmNotFound) IsCode ¶
func (o *ResetPasswordConfirmNotFound) IsCode(code int) bool
IsCode returns true when this reset password confirm not found response a status code equal to that given
func (*ResetPasswordConfirmNotFound) IsRedirect ¶
func (o *ResetPasswordConfirmNotFound) IsRedirect() bool
IsRedirect returns true when this reset password confirm not found response has a 3xx status code
func (*ResetPasswordConfirmNotFound) IsServerError ¶
func (o *ResetPasswordConfirmNotFound) IsServerError() bool
IsServerError returns true when this reset password confirm not found response has a 5xx status code
func (*ResetPasswordConfirmNotFound) IsSuccess ¶
func (o *ResetPasswordConfirmNotFound) IsSuccess() bool
IsSuccess returns true when this reset password confirm not found response has a 2xx status code
func (*ResetPasswordConfirmNotFound) String ¶
func (o *ResetPasswordConfirmNotFound) String() string
type ResetPasswordConfirmOK ¶
type ResetPasswordConfirmOK struct {
Payload *service_model.V1Auth
}
ResetPasswordConfirmOK describes a response with status code 200, with default header values.
A successful response.
func NewResetPasswordConfirmOK ¶
func NewResetPasswordConfirmOK() *ResetPasswordConfirmOK
NewResetPasswordConfirmOK creates a ResetPasswordConfirmOK with default headers values
func (*ResetPasswordConfirmOK) Code ¶
func (o *ResetPasswordConfirmOK) Code() int
Code gets the status code for the reset password confirm o k response
func (*ResetPasswordConfirmOK) Error ¶
func (o *ResetPasswordConfirmOK) Error() string
func (*ResetPasswordConfirmOK) GetPayload ¶
func (o *ResetPasswordConfirmOK) GetPayload() *service_model.V1Auth
func (*ResetPasswordConfirmOK) IsClientError ¶
func (o *ResetPasswordConfirmOK) IsClientError() bool
IsClientError returns true when this reset password confirm o k response has a 4xx status code
func (*ResetPasswordConfirmOK) IsCode ¶
func (o *ResetPasswordConfirmOK) IsCode(code int) bool
IsCode returns true when this reset password confirm o k response a status code equal to that given
func (*ResetPasswordConfirmOK) IsRedirect ¶
func (o *ResetPasswordConfirmOK) IsRedirect() bool
IsRedirect returns true when this reset password confirm o k response has a 3xx status code
func (*ResetPasswordConfirmOK) IsServerError ¶
func (o *ResetPasswordConfirmOK) IsServerError() bool
IsServerError returns true when this reset password confirm o k response has a 5xx status code
func (*ResetPasswordConfirmOK) IsSuccess ¶
func (o *ResetPasswordConfirmOK) IsSuccess() bool
IsSuccess returns true when this reset password confirm o k response has a 2xx status code
func (*ResetPasswordConfirmOK) String ¶
func (o *ResetPasswordConfirmOK) String() string
type ResetPasswordConfirmParams ¶
type ResetPasswordConfirmParams struct { // Body. Body *service_model.V1PasswordChange Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ResetPasswordConfirmParams contains all the parameters to send to the API endpoint
for the reset password confirm operation. Typically these are written to a http.Request.
func NewResetPasswordConfirmParams ¶
func NewResetPasswordConfirmParams() *ResetPasswordConfirmParams
NewResetPasswordConfirmParams creates a new ResetPasswordConfirmParams 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 NewResetPasswordConfirmParamsWithContext ¶
func NewResetPasswordConfirmParamsWithContext(ctx context.Context) *ResetPasswordConfirmParams
NewResetPasswordConfirmParamsWithContext creates a new ResetPasswordConfirmParams object with the ability to set a context for a request.
func NewResetPasswordConfirmParamsWithHTTPClient ¶
func NewResetPasswordConfirmParamsWithHTTPClient(client *http.Client) *ResetPasswordConfirmParams
NewResetPasswordConfirmParamsWithHTTPClient creates a new ResetPasswordConfirmParams object with the ability to set a custom HTTPClient for a request.
func NewResetPasswordConfirmParamsWithTimeout ¶
func NewResetPasswordConfirmParamsWithTimeout(timeout time.Duration) *ResetPasswordConfirmParams
NewResetPasswordConfirmParamsWithTimeout creates a new ResetPasswordConfirmParams object with the ability to set a timeout on a request.
func (*ResetPasswordConfirmParams) SetBody ¶
func (o *ResetPasswordConfirmParams) SetBody(body *service_model.V1PasswordChange)
SetBody adds the body to the reset password confirm params
func (*ResetPasswordConfirmParams) SetContext ¶
func (o *ResetPasswordConfirmParams) SetContext(ctx context.Context)
SetContext adds the context to the reset password confirm params
func (*ResetPasswordConfirmParams) SetDefaults ¶
func (o *ResetPasswordConfirmParams) SetDefaults()
SetDefaults hydrates default values in the reset password confirm params (not the query body).
All values with no default are reset to their zero value.
func (*ResetPasswordConfirmParams) SetHTTPClient ¶
func (o *ResetPasswordConfirmParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reset password confirm params
func (*ResetPasswordConfirmParams) SetTimeout ¶
func (o *ResetPasswordConfirmParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reset password confirm params
func (*ResetPasswordConfirmParams) WithBody ¶
func (o *ResetPasswordConfirmParams) WithBody(body *service_model.V1PasswordChange) *ResetPasswordConfirmParams
WithBody adds the body to the reset password confirm params
func (*ResetPasswordConfirmParams) WithContext ¶
func (o *ResetPasswordConfirmParams) WithContext(ctx context.Context) *ResetPasswordConfirmParams
WithContext adds the context to the reset password confirm params
func (*ResetPasswordConfirmParams) WithDefaults ¶
func (o *ResetPasswordConfirmParams) WithDefaults() *ResetPasswordConfirmParams
WithDefaults hydrates default values in the reset password confirm params (not the query body).
All values with no default are reset to their zero value.
func (*ResetPasswordConfirmParams) WithHTTPClient ¶
func (o *ResetPasswordConfirmParams) WithHTTPClient(client *http.Client) *ResetPasswordConfirmParams
WithHTTPClient adds the HTTPClient to the reset password confirm params
func (*ResetPasswordConfirmParams) WithTimeout ¶
func (o *ResetPasswordConfirmParams) WithTimeout(timeout time.Duration) *ResetPasswordConfirmParams
WithTimeout adds the timeout to the reset password confirm params
func (*ResetPasswordConfirmParams) WriteToRequest ¶
func (o *ResetPasswordConfirmParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ResetPasswordConfirmReader ¶
type ResetPasswordConfirmReader struct {
// contains filtered or unexported fields
}
ResetPasswordConfirmReader is a Reader for the ResetPasswordConfirm structure.
func (*ResetPasswordConfirmReader) ReadResponse ¶
func (o *ResetPasswordConfirmReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ResetPasswordDefault ¶
type ResetPasswordDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
ResetPasswordDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewResetPasswordDefault ¶
func NewResetPasswordDefault(code int) *ResetPasswordDefault
NewResetPasswordDefault creates a ResetPasswordDefault with default headers values
func (*ResetPasswordDefault) Code ¶
func (o *ResetPasswordDefault) Code() int
Code gets the status code for the reset password default response
func (*ResetPasswordDefault) Error ¶
func (o *ResetPasswordDefault) Error() string
func (*ResetPasswordDefault) GetPayload ¶
func (o *ResetPasswordDefault) GetPayload() *service_model.RuntimeError
func (*ResetPasswordDefault) IsClientError ¶
func (o *ResetPasswordDefault) IsClientError() bool
IsClientError returns true when this reset password default response has a 4xx status code
func (*ResetPasswordDefault) IsCode ¶
func (o *ResetPasswordDefault) IsCode(code int) bool
IsCode returns true when this reset password default response a status code equal to that given
func (*ResetPasswordDefault) IsRedirect ¶
func (o *ResetPasswordDefault) IsRedirect() bool
IsRedirect returns true when this reset password default response has a 3xx status code
func (*ResetPasswordDefault) IsServerError ¶
func (o *ResetPasswordDefault) IsServerError() bool
IsServerError returns true when this reset password default response has a 5xx status code
func (*ResetPasswordDefault) IsSuccess ¶
func (o *ResetPasswordDefault) IsSuccess() bool
IsSuccess returns true when this reset password default response has a 2xx status code
func (*ResetPasswordDefault) String ¶
func (o *ResetPasswordDefault) String() string
type ResetPasswordForbidden ¶
type ResetPasswordForbidden struct {
Payload interface{}
}
ResetPasswordForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewResetPasswordForbidden ¶
func NewResetPasswordForbidden() *ResetPasswordForbidden
NewResetPasswordForbidden creates a ResetPasswordForbidden with default headers values
func (*ResetPasswordForbidden) Code ¶
func (o *ResetPasswordForbidden) Code() int
Code gets the status code for the reset password forbidden response
func (*ResetPasswordForbidden) Error ¶
func (o *ResetPasswordForbidden) Error() string
func (*ResetPasswordForbidden) GetPayload ¶
func (o *ResetPasswordForbidden) GetPayload() interface{}
func (*ResetPasswordForbidden) IsClientError ¶
func (o *ResetPasswordForbidden) IsClientError() bool
IsClientError returns true when this reset password forbidden response has a 4xx status code
func (*ResetPasswordForbidden) IsCode ¶
func (o *ResetPasswordForbidden) IsCode(code int) bool
IsCode returns true when this reset password forbidden response a status code equal to that given
func (*ResetPasswordForbidden) IsRedirect ¶
func (o *ResetPasswordForbidden) IsRedirect() bool
IsRedirect returns true when this reset password forbidden response has a 3xx status code
func (*ResetPasswordForbidden) IsServerError ¶
func (o *ResetPasswordForbidden) IsServerError() bool
IsServerError returns true when this reset password forbidden response has a 5xx status code
func (*ResetPasswordForbidden) IsSuccess ¶
func (o *ResetPasswordForbidden) IsSuccess() bool
IsSuccess returns true when this reset password forbidden response has a 2xx status code
func (*ResetPasswordForbidden) String ¶
func (o *ResetPasswordForbidden) String() string
type ResetPasswordNoContent ¶
type ResetPasswordNoContent struct {
Payload interface{}
}
ResetPasswordNoContent describes a response with status code 204, with default header values.
No content.
func NewResetPasswordNoContent ¶
func NewResetPasswordNoContent() *ResetPasswordNoContent
NewResetPasswordNoContent creates a ResetPasswordNoContent with default headers values
func (*ResetPasswordNoContent) Code ¶
func (o *ResetPasswordNoContent) Code() int
Code gets the status code for the reset password no content response
func (*ResetPasswordNoContent) Error ¶
func (o *ResetPasswordNoContent) Error() string
func (*ResetPasswordNoContent) GetPayload ¶
func (o *ResetPasswordNoContent) GetPayload() interface{}
func (*ResetPasswordNoContent) IsClientError ¶
func (o *ResetPasswordNoContent) IsClientError() bool
IsClientError returns true when this reset password no content response has a 4xx status code
func (*ResetPasswordNoContent) IsCode ¶
func (o *ResetPasswordNoContent) IsCode(code int) bool
IsCode returns true when this reset password no content response a status code equal to that given
func (*ResetPasswordNoContent) IsRedirect ¶
func (o *ResetPasswordNoContent) IsRedirect() bool
IsRedirect returns true when this reset password no content response has a 3xx status code
func (*ResetPasswordNoContent) IsServerError ¶
func (o *ResetPasswordNoContent) IsServerError() bool
IsServerError returns true when this reset password no content response has a 5xx status code
func (*ResetPasswordNoContent) IsSuccess ¶
func (o *ResetPasswordNoContent) IsSuccess() bool
IsSuccess returns true when this reset password no content response has a 2xx status code
func (*ResetPasswordNoContent) String ¶
func (o *ResetPasswordNoContent) String() string
type ResetPasswordNotFound ¶
type ResetPasswordNotFound struct {
Payload interface{}
}
ResetPasswordNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewResetPasswordNotFound ¶
func NewResetPasswordNotFound() *ResetPasswordNotFound
NewResetPasswordNotFound creates a ResetPasswordNotFound with default headers values
func (*ResetPasswordNotFound) Code ¶
func (o *ResetPasswordNotFound) Code() int
Code gets the status code for the reset password not found response
func (*ResetPasswordNotFound) Error ¶
func (o *ResetPasswordNotFound) Error() string
func (*ResetPasswordNotFound) GetPayload ¶
func (o *ResetPasswordNotFound) GetPayload() interface{}
func (*ResetPasswordNotFound) IsClientError ¶
func (o *ResetPasswordNotFound) IsClientError() bool
IsClientError returns true when this reset password not found response has a 4xx status code
func (*ResetPasswordNotFound) IsCode ¶
func (o *ResetPasswordNotFound) IsCode(code int) bool
IsCode returns true when this reset password not found response a status code equal to that given
func (*ResetPasswordNotFound) IsRedirect ¶
func (o *ResetPasswordNotFound) IsRedirect() bool
IsRedirect returns true when this reset password not found response has a 3xx status code
func (*ResetPasswordNotFound) IsServerError ¶
func (o *ResetPasswordNotFound) IsServerError() bool
IsServerError returns true when this reset password not found response has a 5xx status code
func (*ResetPasswordNotFound) IsSuccess ¶
func (o *ResetPasswordNotFound) IsSuccess() bool
IsSuccess returns true when this reset password not found response has a 2xx status code
func (*ResetPasswordNotFound) String ¶
func (o *ResetPasswordNotFound) String() string
type ResetPasswordOK ¶
type ResetPasswordOK struct { }
ResetPasswordOK describes a response with status code 200, with default header values.
A successful response.
func NewResetPasswordOK ¶
func NewResetPasswordOK() *ResetPasswordOK
NewResetPasswordOK creates a ResetPasswordOK with default headers values
func (*ResetPasswordOK) Code ¶
func (o *ResetPasswordOK) Code() int
Code gets the status code for the reset password o k response
func (*ResetPasswordOK) Error ¶
func (o *ResetPasswordOK) Error() string
func (*ResetPasswordOK) IsClientError ¶
func (o *ResetPasswordOK) IsClientError() bool
IsClientError returns true when this reset password o k response has a 4xx status code
func (*ResetPasswordOK) IsCode ¶
func (o *ResetPasswordOK) IsCode(code int) bool
IsCode returns true when this reset password o k response a status code equal to that given
func (*ResetPasswordOK) IsRedirect ¶
func (o *ResetPasswordOK) IsRedirect() bool
IsRedirect returns true when this reset password o k response has a 3xx status code
func (*ResetPasswordOK) IsServerError ¶
func (o *ResetPasswordOK) IsServerError() bool
IsServerError returns true when this reset password o k response has a 5xx status code
func (*ResetPasswordOK) IsSuccess ¶
func (o *ResetPasswordOK) IsSuccess() bool
IsSuccess returns true when this reset password o k response has a 2xx status code
func (*ResetPasswordOK) String ¶
func (o *ResetPasswordOK) String() string
type ResetPasswordParams ¶
type ResetPasswordParams struct { // Body. Body *service_model.V1UserEmail Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ResetPasswordParams contains all the parameters to send to the API endpoint
for the reset password operation. Typically these are written to a http.Request.
func NewResetPasswordParams ¶
func NewResetPasswordParams() *ResetPasswordParams
NewResetPasswordParams creates a new ResetPasswordParams 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 NewResetPasswordParamsWithContext ¶
func NewResetPasswordParamsWithContext(ctx context.Context) *ResetPasswordParams
NewResetPasswordParamsWithContext creates a new ResetPasswordParams object with the ability to set a context for a request.
func NewResetPasswordParamsWithHTTPClient ¶
func NewResetPasswordParamsWithHTTPClient(client *http.Client) *ResetPasswordParams
NewResetPasswordParamsWithHTTPClient creates a new ResetPasswordParams object with the ability to set a custom HTTPClient for a request.
func NewResetPasswordParamsWithTimeout ¶
func NewResetPasswordParamsWithTimeout(timeout time.Duration) *ResetPasswordParams
NewResetPasswordParamsWithTimeout creates a new ResetPasswordParams object with the ability to set a timeout on a request.
func (*ResetPasswordParams) SetBody ¶
func (o *ResetPasswordParams) SetBody(body *service_model.V1UserEmail)
SetBody adds the body to the reset password params
func (*ResetPasswordParams) SetContext ¶
func (o *ResetPasswordParams) SetContext(ctx context.Context)
SetContext adds the context to the reset password params
func (*ResetPasswordParams) SetDefaults ¶
func (o *ResetPasswordParams) SetDefaults()
SetDefaults hydrates default values in the reset password params (not the query body).
All values with no default are reset to their zero value.
func (*ResetPasswordParams) SetHTTPClient ¶
func (o *ResetPasswordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reset password params
func (*ResetPasswordParams) SetTimeout ¶
func (o *ResetPasswordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reset password params
func (*ResetPasswordParams) WithBody ¶
func (o *ResetPasswordParams) WithBody(body *service_model.V1UserEmail) *ResetPasswordParams
WithBody adds the body to the reset password params
func (*ResetPasswordParams) WithContext ¶
func (o *ResetPasswordParams) WithContext(ctx context.Context) *ResetPasswordParams
WithContext adds the context to the reset password params
func (*ResetPasswordParams) WithDefaults ¶
func (o *ResetPasswordParams) WithDefaults() *ResetPasswordParams
WithDefaults hydrates default values in the reset password params (not the query body).
All values with no default are reset to their zero value.
func (*ResetPasswordParams) WithHTTPClient ¶
func (o *ResetPasswordParams) WithHTTPClient(client *http.Client) *ResetPasswordParams
WithHTTPClient adds the HTTPClient to the reset password params
func (*ResetPasswordParams) WithTimeout ¶
func (o *ResetPasswordParams) WithTimeout(timeout time.Duration) *ResetPasswordParams
WithTimeout adds the timeout to the reset password params
func (*ResetPasswordParams) WriteToRequest ¶
func (o *ResetPasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ResetPasswordReader ¶
type ResetPasswordReader struct {
// contains filtered or unexported fields
}
ResetPasswordReader is a Reader for the ResetPassword structure.
func (*ResetPasswordReader) ReadResponse ¶
func (o *ResetPasswordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SignupDefault ¶
type SignupDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
SignupDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewSignupDefault ¶
func NewSignupDefault(code int) *SignupDefault
NewSignupDefault creates a SignupDefault with default headers values
func (*SignupDefault) Code ¶
func (o *SignupDefault) Code() int
Code gets the status code for the signup default response
func (*SignupDefault) Error ¶
func (o *SignupDefault) Error() string
func (*SignupDefault) GetPayload ¶
func (o *SignupDefault) GetPayload() *service_model.RuntimeError
func (*SignupDefault) IsClientError ¶
func (o *SignupDefault) IsClientError() bool
IsClientError returns true when this signup default response has a 4xx status code
func (*SignupDefault) IsCode ¶
func (o *SignupDefault) IsCode(code int) bool
IsCode returns true when this signup default response a status code equal to that given
func (*SignupDefault) IsRedirect ¶
func (o *SignupDefault) IsRedirect() bool
IsRedirect returns true when this signup default response has a 3xx status code
func (*SignupDefault) IsServerError ¶
func (o *SignupDefault) IsServerError() bool
IsServerError returns true when this signup default response has a 5xx status code
func (*SignupDefault) IsSuccess ¶
func (o *SignupDefault) IsSuccess() bool
IsSuccess returns true when this signup default response has a 2xx status code
func (*SignupDefault) String ¶
func (o *SignupDefault) String() string
type SignupForbidden ¶
type SignupForbidden struct {
Payload interface{}
}
SignupForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewSignupForbidden ¶
func NewSignupForbidden() *SignupForbidden
NewSignupForbidden creates a SignupForbidden with default headers values
func (*SignupForbidden) Code ¶
func (o *SignupForbidden) Code() int
Code gets the status code for the signup forbidden response
func (*SignupForbidden) Error ¶
func (o *SignupForbidden) Error() string
func (*SignupForbidden) GetPayload ¶
func (o *SignupForbidden) GetPayload() interface{}
func (*SignupForbidden) IsClientError ¶
func (o *SignupForbidden) IsClientError() bool
IsClientError returns true when this signup forbidden response has a 4xx status code
func (*SignupForbidden) IsCode ¶
func (o *SignupForbidden) IsCode(code int) bool
IsCode returns true when this signup forbidden response a status code equal to that given
func (*SignupForbidden) IsRedirect ¶
func (o *SignupForbidden) IsRedirect() bool
IsRedirect returns true when this signup forbidden response has a 3xx status code
func (*SignupForbidden) IsServerError ¶
func (o *SignupForbidden) IsServerError() bool
IsServerError returns true when this signup forbidden response has a 5xx status code
func (*SignupForbidden) IsSuccess ¶
func (o *SignupForbidden) IsSuccess() bool
IsSuccess returns true when this signup forbidden response has a 2xx status code
func (*SignupForbidden) String ¶
func (o *SignupForbidden) String() string
type SignupNoContent ¶
type SignupNoContent struct {
Payload interface{}
}
SignupNoContent describes a response with status code 204, with default header values.
No content.
func NewSignupNoContent ¶
func NewSignupNoContent() *SignupNoContent
NewSignupNoContent creates a SignupNoContent with default headers values
func (*SignupNoContent) Code ¶
func (o *SignupNoContent) Code() int
Code gets the status code for the signup no content response
func (*SignupNoContent) Error ¶
func (o *SignupNoContent) Error() string
func (*SignupNoContent) GetPayload ¶
func (o *SignupNoContent) GetPayload() interface{}
func (*SignupNoContent) IsClientError ¶
func (o *SignupNoContent) IsClientError() bool
IsClientError returns true when this signup no content response has a 4xx status code
func (*SignupNoContent) IsCode ¶
func (o *SignupNoContent) IsCode(code int) bool
IsCode returns true when this signup no content response a status code equal to that given
func (*SignupNoContent) IsRedirect ¶
func (o *SignupNoContent) IsRedirect() bool
IsRedirect returns true when this signup no content response has a 3xx status code
func (*SignupNoContent) IsServerError ¶
func (o *SignupNoContent) IsServerError() bool
IsServerError returns true when this signup no content response has a 5xx status code
func (*SignupNoContent) IsSuccess ¶
func (o *SignupNoContent) IsSuccess() bool
IsSuccess returns true when this signup no content response has a 2xx status code
func (*SignupNoContent) String ¶
func (o *SignupNoContent) String() string
type SignupNotFound ¶
type SignupNotFound struct {
Payload interface{}
}
SignupNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewSignupNotFound ¶
func NewSignupNotFound() *SignupNotFound
NewSignupNotFound creates a SignupNotFound with default headers values
func (*SignupNotFound) Code ¶
func (o *SignupNotFound) Code() int
Code gets the status code for the signup not found response
func (*SignupNotFound) Error ¶
func (o *SignupNotFound) Error() string
func (*SignupNotFound) GetPayload ¶
func (o *SignupNotFound) GetPayload() interface{}
func (*SignupNotFound) IsClientError ¶
func (o *SignupNotFound) IsClientError() bool
IsClientError returns true when this signup not found response has a 4xx status code
func (*SignupNotFound) IsCode ¶
func (o *SignupNotFound) IsCode(code int) bool
IsCode returns true when this signup not found response a status code equal to that given
func (*SignupNotFound) IsRedirect ¶
func (o *SignupNotFound) IsRedirect() bool
IsRedirect returns true when this signup not found response has a 3xx status code
func (*SignupNotFound) IsServerError ¶
func (o *SignupNotFound) IsServerError() bool
IsServerError returns true when this signup not found response has a 5xx status code
func (*SignupNotFound) IsSuccess ¶
func (o *SignupNotFound) IsSuccess() bool
IsSuccess returns true when this signup not found response has a 2xx status code
func (*SignupNotFound) String ¶
func (o *SignupNotFound) String() string
type SignupOK ¶
type SignupOK struct {
Payload *service_model.V1Auth
}
SignupOK describes a response with status code 200, with default header values.
A successful response.
func NewSignupOK ¶
func NewSignupOK() *SignupOK
NewSignupOK creates a SignupOK with default headers values
func (*SignupOK) GetPayload ¶
func (o *SignupOK) GetPayload() *service_model.V1Auth
func (*SignupOK) IsClientError ¶
IsClientError returns true when this signup o k response has a 4xx status code
func (*SignupOK) IsCode ¶
IsCode returns true when this signup o k response a status code equal to that given
func (*SignupOK) IsRedirect ¶
IsRedirect returns true when this signup o k response has a 3xx status code
func (*SignupOK) IsServerError ¶
IsServerError returns true when this signup o k response has a 5xx status code
type SignupParams ¶
type SignupParams struct { // Body. Body *service_model.V1UserSingup Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SignupParams contains all the parameters to send to the API endpoint
for the signup operation. Typically these are written to a http.Request.
func NewSignupParams ¶
func NewSignupParams() *SignupParams
NewSignupParams creates a new SignupParams 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 NewSignupParamsWithContext ¶
func NewSignupParamsWithContext(ctx context.Context) *SignupParams
NewSignupParamsWithContext creates a new SignupParams object with the ability to set a context for a request.
func NewSignupParamsWithHTTPClient ¶
func NewSignupParamsWithHTTPClient(client *http.Client) *SignupParams
NewSignupParamsWithHTTPClient creates a new SignupParams object with the ability to set a custom HTTPClient for a request.
func NewSignupParamsWithTimeout ¶
func NewSignupParamsWithTimeout(timeout time.Duration) *SignupParams
NewSignupParamsWithTimeout creates a new SignupParams object with the ability to set a timeout on a request.
func (*SignupParams) SetBody ¶
func (o *SignupParams) SetBody(body *service_model.V1UserSingup)
SetBody adds the body to the signup params
func (*SignupParams) SetContext ¶
func (o *SignupParams) SetContext(ctx context.Context)
SetContext adds the context to the signup params
func (*SignupParams) SetDefaults ¶
func (o *SignupParams) SetDefaults()
SetDefaults hydrates default values in the signup params (not the query body).
All values with no default are reset to their zero value.
func (*SignupParams) SetHTTPClient ¶
func (o *SignupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the signup params
func (*SignupParams) SetTimeout ¶
func (o *SignupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the signup params
func (*SignupParams) WithBody ¶
func (o *SignupParams) WithBody(body *service_model.V1UserSingup) *SignupParams
WithBody adds the body to the signup params
func (*SignupParams) WithContext ¶
func (o *SignupParams) WithContext(ctx context.Context) *SignupParams
WithContext adds the context to the signup params
func (*SignupParams) WithDefaults ¶
func (o *SignupParams) WithDefaults() *SignupParams
WithDefaults hydrates default values in the signup params (not the query body).
All values with no default are reset to their zero value.
func (*SignupParams) WithHTTPClient ¶
func (o *SignupParams) WithHTTPClient(client *http.Client) *SignupParams
WithHTTPClient adds the HTTPClient to the signup params
func (*SignupParams) WithTimeout ¶
func (o *SignupParams) WithTimeout(timeout time.Duration) *SignupParams
WithTimeout adds the timeout to the signup params
func (*SignupParams) WriteToRequest ¶
func (o *SignupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SignupReader ¶
type SignupReader struct {
// contains filtered or unexported fields
}
SignupReader is a Reader for the Signup structure.
func (*SignupReader) ReadResponse ¶
func (o *SignupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TrialDefault ¶
type TrialDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
TrialDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewTrialDefault ¶
func NewTrialDefault(code int) *TrialDefault
NewTrialDefault creates a TrialDefault with default headers values
func (*TrialDefault) Code ¶
func (o *TrialDefault) Code() int
Code gets the status code for the trial default response
func (*TrialDefault) Error ¶
func (o *TrialDefault) Error() string
func (*TrialDefault) GetPayload ¶
func (o *TrialDefault) GetPayload() *service_model.RuntimeError
func (*TrialDefault) IsClientError ¶
func (o *TrialDefault) IsClientError() bool
IsClientError returns true when this trial default response has a 4xx status code
func (*TrialDefault) IsCode ¶
func (o *TrialDefault) IsCode(code int) bool
IsCode returns true when this trial default response a status code equal to that given
func (*TrialDefault) IsRedirect ¶
func (o *TrialDefault) IsRedirect() bool
IsRedirect returns true when this trial default response has a 3xx status code
func (*TrialDefault) IsServerError ¶
func (o *TrialDefault) IsServerError() bool
IsServerError returns true when this trial default response has a 5xx status code
func (*TrialDefault) IsSuccess ¶
func (o *TrialDefault) IsSuccess() bool
IsSuccess returns true when this trial default response has a 2xx status code
func (*TrialDefault) String ¶
func (o *TrialDefault) String() string
type TrialForbidden ¶
type TrialForbidden struct {
Payload interface{}
}
TrialForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewTrialForbidden ¶
func NewTrialForbidden() *TrialForbidden
NewTrialForbidden creates a TrialForbidden with default headers values
func (*TrialForbidden) Code ¶
func (o *TrialForbidden) Code() int
Code gets the status code for the trial forbidden response
func (*TrialForbidden) Error ¶
func (o *TrialForbidden) Error() string
func (*TrialForbidden) GetPayload ¶
func (o *TrialForbidden) GetPayload() interface{}
func (*TrialForbidden) IsClientError ¶
func (o *TrialForbidden) IsClientError() bool
IsClientError returns true when this trial forbidden response has a 4xx status code
func (*TrialForbidden) IsCode ¶
func (o *TrialForbidden) IsCode(code int) bool
IsCode returns true when this trial forbidden response a status code equal to that given
func (*TrialForbidden) IsRedirect ¶
func (o *TrialForbidden) IsRedirect() bool
IsRedirect returns true when this trial forbidden response has a 3xx status code
func (*TrialForbidden) IsServerError ¶
func (o *TrialForbidden) IsServerError() bool
IsServerError returns true when this trial forbidden response has a 5xx status code
func (*TrialForbidden) IsSuccess ¶
func (o *TrialForbidden) IsSuccess() bool
IsSuccess returns true when this trial forbidden response has a 2xx status code
func (*TrialForbidden) String ¶
func (o *TrialForbidden) String() string
type TrialNoContent ¶
type TrialNoContent struct {
Payload interface{}
}
TrialNoContent describes a response with status code 204, with default header values.
No content.
func NewTrialNoContent ¶
func NewTrialNoContent() *TrialNoContent
NewTrialNoContent creates a TrialNoContent with default headers values
func (*TrialNoContent) Code ¶
func (o *TrialNoContent) Code() int
Code gets the status code for the trial no content response
func (*TrialNoContent) Error ¶
func (o *TrialNoContent) Error() string
func (*TrialNoContent) GetPayload ¶
func (o *TrialNoContent) GetPayload() interface{}
func (*TrialNoContent) IsClientError ¶
func (o *TrialNoContent) IsClientError() bool
IsClientError returns true when this trial no content response has a 4xx status code
func (*TrialNoContent) IsCode ¶
func (o *TrialNoContent) IsCode(code int) bool
IsCode returns true when this trial no content response a status code equal to that given
func (*TrialNoContent) IsRedirect ¶
func (o *TrialNoContent) IsRedirect() bool
IsRedirect returns true when this trial no content response has a 3xx status code
func (*TrialNoContent) IsServerError ¶
func (o *TrialNoContent) IsServerError() bool
IsServerError returns true when this trial no content response has a 5xx status code
func (*TrialNoContent) IsSuccess ¶
func (o *TrialNoContent) IsSuccess() bool
IsSuccess returns true when this trial no content response has a 2xx status code
func (*TrialNoContent) String ¶
func (o *TrialNoContent) String() string
type TrialNotFound ¶
type TrialNotFound struct {
Payload interface{}
}
TrialNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewTrialNotFound ¶
func NewTrialNotFound() *TrialNotFound
NewTrialNotFound creates a TrialNotFound with default headers values
func (*TrialNotFound) Code ¶
func (o *TrialNotFound) Code() int
Code gets the status code for the trial not found response
func (*TrialNotFound) Error ¶
func (o *TrialNotFound) Error() string
func (*TrialNotFound) GetPayload ¶
func (o *TrialNotFound) GetPayload() interface{}
func (*TrialNotFound) IsClientError ¶
func (o *TrialNotFound) IsClientError() bool
IsClientError returns true when this trial not found response has a 4xx status code
func (*TrialNotFound) IsCode ¶
func (o *TrialNotFound) IsCode(code int) bool
IsCode returns true when this trial not found response a status code equal to that given
func (*TrialNotFound) IsRedirect ¶
func (o *TrialNotFound) IsRedirect() bool
IsRedirect returns true when this trial not found response has a 3xx status code
func (*TrialNotFound) IsServerError ¶
func (o *TrialNotFound) IsServerError() bool
IsServerError returns true when this trial not found response has a 5xx status code
func (*TrialNotFound) IsSuccess ¶
func (o *TrialNotFound) IsSuccess() bool
IsSuccess returns true when this trial not found response has a 2xx status code
func (*TrialNotFound) String ¶
func (o *TrialNotFound) String() string
type TrialOK ¶
type TrialOK struct { }
TrialOK describes a response with status code 200, with default header values.
A successful response.
func NewTrialOK ¶
func NewTrialOK() *TrialOK
NewTrialOK creates a TrialOK with default headers values
func (*TrialOK) IsClientError ¶
IsClientError returns true when this trial o k response has a 4xx status code
func (*TrialOK) IsCode ¶
IsCode returns true when this trial o k response a status code equal to that given
func (*TrialOK) IsRedirect ¶
IsRedirect returns true when this trial o k response has a 3xx status code
func (*TrialOK) IsServerError ¶
IsServerError returns true when this trial o k response has a 5xx status code
type TrialParams ¶
type TrialParams struct { // Body. Body *service_model.V1TrialStart Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TrialParams contains all the parameters to send to the API endpoint
for the trial operation. Typically these are written to a http.Request.
func NewTrialParams ¶
func NewTrialParams() *TrialParams
NewTrialParams creates a new TrialParams 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 NewTrialParamsWithContext ¶
func NewTrialParamsWithContext(ctx context.Context) *TrialParams
NewTrialParamsWithContext creates a new TrialParams object with the ability to set a context for a request.
func NewTrialParamsWithHTTPClient ¶
func NewTrialParamsWithHTTPClient(client *http.Client) *TrialParams
NewTrialParamsWithHTTPClient creates a new TrialParams object with the ability to set a custom HTTPClient for a request.
func NewTrialParamsWithTimeout ¶
func NewTrialParamsWithTimeout(timeout time.Duration) *TrialParams
NewTrialParamsWithTimeout creates a new TrialParams object with the ability to set a timeout on a request.
func (*TrialParams) SetBody ¶
func (o *TrialParams) SetBody(body *service_model.V1TrialStart)
SetBody adds the body to the trial params
func (*TrialParams) SetContext ¶
func (o *TrialParams) SetContext(ctx context.Context)
SetContext adds the context to the trial params
func (*TrialParams) SetDefaults ¶
func (o *TrialParams) SetDefaults()
SetDefaults hydrates default values in the trial params (not the query body).
All values with no default are reset to their zero value.
func (*TrialParams) SetHTTPClient ¶
func (o *TrialParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the trial params
func (*TrialParams) SetTimeout ¶
func (o *TrialParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the trial params
func (*TrialParams) WithBody ¶
func (o *TrialParams) WithBody(body *service_model.V1TrialStart) *TrialParams
WithBody adds the body to the trial params
func (*TrialParams) WithContext ¶
func (o *TrialParams) WithContext(ctx context.Context) *TrialParams
WithContext adds the context to the trial params
func (*TrialParams) WithDefaults ¶
func (o *TrialParams) WithDefaults() *TrialParams
WithDefaults hydrates default values in the trial params (not the query body).
All values with no default are reset to their zero value.
func (*TrialParams) WithHTTPClient ¶
func (o *TrialParams) WithHTTPClient(client *http.Client) *TrialParams
WithHTTPClient adds the HTTPClient to the trial params
func (*TrialParams) WithTimeout ¶
func (o *TrialParams) WithTimeout(timeout time.Duration) *TrialParams
WithTimeout adds the timeout to the trial params
func (*TrialParams) WriteToRequest ¶
func (o *TrialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TrialReader ¶
type TrialReader struct {
// contains filtered or unexported fields
}
TrialReader is a Reader for the Trial structure.
func (*TrialReader) ReadResponse ¶
func (o *TrialReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- auth_v1_client.go
- change_password_parameters.go
- change_password_responses.go
- login_parameters.go
- login_responses.go
- reset_password_confirm_parameters.go
- reset_password_confirm_responses.go
- reset_password_parameters.go
- reset_password_responses.go
- signup_parameters.go
- signup_responses.go
- trial_parameters.go
- trial_responses.go