Documentation
¶
Index ¶
- type ChangePasswordBadRequest
- func (o *ChangePasswordBadRequest) Code() int
- func (o *ChangePasswordBadRequest) Error() string
- func (o *ChangePasswordBadRequest) IsClientError() bool
- func (o *ChangePasswordBadRequest) IsCode(code int) bool
- func (o *ChangePasswordBadRequest) IsRedirect() bool
- func (o *ChangePasswordBadRequest) IsServerError() bool
- func (o *ChangePasswordBadRequest) IsSuccess() bool
- func (o *ChangePasswordBadRequest) String() string
- type ChangePasswordBody
- type ChangePasswordInternalServerError
- func (o *ChangePasswordInternalServerError) Code() int
- func (o *ChangePasswordInternalServerError) Error() string
- func (o *ChangePasswordInternalServerError) IsClientError() bool
- func (o *ChangePasswordInternalServerError) IsCode(code int) bool
- func (o *ChangePasswordInternalServerError) IsRedirect() bool
- func (o *ChangePasswordInternalServerError) IsServerError() bool
- func (o *ChangePasswordInternalServerError) IsSuccess() bool
- func (o *ChangePasswordInternalServerError) 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 ChangePasswordBody)
- 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 ChangePasswordBody) *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 ChangePasswordUnauthorized
- func (o *ChangePasswordUnauthorized) Code() int
- func (o *ChangePasswordUnauthorized) Error() string
- func (o *ChangePasswordUnauthorized) IsClientError() bool
- func (o *ChangePasswordUnauthorized) IsCode(code int) bool
- func (o *ChangePasswordUnauthorized) IsRedirect() bool
- func (o *ChangePasswordUnauthorized) IsServerError() bool
- func (o *ChangePasswordUnauthorized) IsSuccess() bool
- func (o *ChangePasswordUnauthorized) String() string
- type ChangePasswordUnprocessableEntity
- func (o *ChangePasswordUnprocessableEntity) Code() int
- func (o *ChangePasswordUnprocessableEntity) Error() string
- func (o *ChangePasswordUnprocessableEntity) GetPayload() rest_model_zrok.ErrorMessage
- func (o *ChangePasswordUnprocessableEntity) IsClientError() bool
- func (o *ChangePasswordUnprocessableEntity) IsCode(code int) bool
- func (o *ChangePasswordUnprocessableEntity) IsRedirect() bool
- func (o *ChangePasswordUnprocessableEntity) IsServerError() bool
- func (o *ChangePasswordUnprocessableEntity) IsSuccess() bool
- func (o *ChangePasswordUnprocessableEntity) String() string
- type Client
- func (a *Client) ChangePassword(params *ChangePasswordParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ChangePasswordOK, error)
- func (a *Client) Invite(params *InviteParams, opts ...ClientOption) (*InviteCreated, error)
- func (a *Client) Login(params *LoginParams, opts ...ClientOption) (*LoginOK, error)
- func (a *Client) RegenerateAccountToken(params *RegenerateAccountTokenParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RegenerateAccountTokenOK, error)
- func (a *Client) Register(params *RegisterParams, opts ...ClientOption) (*RegisterOK, error)
- func (a *Client) ResetPassword(params *ResetPasswordParams, opts ...ClientOption) (*ResetPasswordOK, error)
- func (a *Client) ResetPasswordRequest(params *ResetPasswordRequestParams, opts ...ClientOption) (*ResetPasswordRequestCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) Verify(params *VerifyParams, opts ...ClientOption) (*VerifyOK, error)
- type ClientOption
- type ClientService
- type InviteBadRequest
- func (o *InviteBadRequest) Code() int
- func (o *InviteBadRequest) Error() string
- func (o *InviteBadRequest) GetPayload() rest_model_zrok.ErrorMessage
- func (o *InviteBadRequest) IsClientError() bool
- func (o *InviteBadRequest) IsCode(code int) bool
- func (o *InviteBadRequest) IsRedirect() bool
- func (o *InviteBadRequest) IsServerError() bool
- func (o *InviteBadRequest) IsSuccess() bool
- func (o *InviteBadRequest) String() string
- type InviteBody
- type InviteCreated
- func (o *InviteCreated) Code() int
- func (o *InviteCreated) Error() string
- func (o *InviteCreated) IsClientError() bool
- func (o *InviteCreated) IsCode(code int) bool
- func (o *InviteCreated) IsRedirect() bool
- func (o *InviteCreated) IsServerError() bool
- func (o *InviteCreated) IsSuccess() bool
- func (o *InviteCreated) String() string
- type InviteInternalServerError
- func (o *InviteInternalServerError) Code() int
- func (o *InviteInternalServerError) Error() string
- func (o *InviteInternalServerError) IsClientError() bool
- func (o *InviteInternalServerError) IsCode(code int) bool
- func (o *InviteInternalServerError) IsRedirect() bool
- func (o *InviteInternalServerError) IsServerError() bool
- func (o *InviteInternalServerError) IsSuccess() bool
- func (o *InviteInternalServerError) String() string
- type InviteParams
- func (o *InviteParams) SetBody(body InviteBody)
- func (o *InviteParams) SetContext(ctx context.Context)
- func (o *InviteParams) SetDefaults()
- func (o *InviteParams) SetHTTPClient(client *http.Client)
- func (o *InviteParams) SetTimeout(timeout time.Duration)
- func (o *InviteParams) WithBody(body InviteBody) *InviteParams
- func (o *InviteParams) WithContext(ctx context.Context) *InviteParams
- func (o *InviteParams) WithDefaults() *InviteParams
- func (o *InviteParams) WithHTTPClient(client *http.Client) *InviteParams
- func (o *InviteParams) WithTimeout(timeout time.Duration) *InviteParams
- func (o *InviteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InviteReader
- type InviteUnauthorized
- func (o *InviteUnauthorized) Code() int
- func (o *InviteUnauthorized) Error() string
- func (o *InviteUnauthorized) IsClientError() bool
- func (o *InviteUnauthorized) IsCode(code int) bool
- func (o *InviteUnauthorized) IsRedirect() bool
- func (o *InviteUnauthorized) IsServerError() bool
- func (o *InviteUnauthorized) IsSuccess() bool
- func (o *InviteUnauthorized) String() string
- type LoginBody
- type LoginOK
- func (o *LoginOK) Code() int
- func (o *LoginOK) Error() string
- func (o *LoginOK) GetPayload() string
- 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 LoginBody)
- 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 LoginBody) *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 LoginUnauthorized
- func (o *LoginUnauthorized) Code() int
- func (o *LoginUnauthorized) Error() string
- func (o *LoginUnauthorized) IsClientError() bool
- func (o *LoginUnauthorized) IsCode(code int) bool
- func (o *LoginUnauthorized) IsRedirect() bool
- func (o *LoginUnauthorized) IsServerError() bool
- func (o *LoginUnauthorized) IsSuccess() bool
- func (o *LoginUnauthorized) String() string
- type RegenerateAccountTokenBody
- func (o *RegenerateAccountTokenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *RegenerateAccountTokenBody) MarshalBinary() ([]byte, error)
- func (o *RegenerateAccountTokenBody) UnmarshalBinary(b []byte) error
- func (o *RegenerateAccountTokenBody) Validate(formats strfmt.Registry) error
- type RegenerateAccountTokenInternalServerError
- func (o *RegenerateAccountTokenInternalServerError) Code() int
- func (o *RegenerateAccountTokenInternalServerError) Error() string
- func (o *RegenerateAccountTokenInternalServerError) IsClientError() bool
- func (o *RegenerateAccountTokenInternalServerError) IsCode(code int) bool
- func (o *RegenerateAccountTokenInternalServerError) IsRedirect() bool
- func (o *RegenerateAccountTokenInternalServerError) IsServerError() bool
- func (o *RegenerateAccountTokenInternalServerError) IsSuccess() bool
- func (o *RegenerateAccountTokenInternalServerError) String() string
- type RegenerateAccountTokenNotFound
- func (o *RegenerateAccountTokenNotFound) Code() int
- func (o *RegenerateAccountTokenNotFound) Error() string
- func (o *RegenerateAccountTokenNotFound) IsClientError() bool
- func (o *RegenerateAccountTokenNotFound) IsCode(code int) bool
- func (o *RegenerateAccountTokenNotFound) IsRedirect() bool
- func (o *RegenerateAccountTokenNotFound) IsServerError() bool
- func (o *RegenerateAccountTokenNotFound) IsSuccess() bool
- func (o *RegenerateAccountTokenNotFound) String() string
- type RegenerateAccountTokenOK
- func (o *RegenerateAccountTokenOK) Code() int
- func (o *RegenerateAccountTokenOK) Error() string
- func (o *RegenerateAccountTokenOK) GetPayload() *RegenerateAccountTokenOKBody
- func (o *RegenerateAccountTokenOK) IsClientError() bool
- func (o *RegenerateAccountTokenOK) IsCode(code int) bool
- func (o *RegenerateAccountTokenOK) IsRedirect() bool
- func (o *RegenerateAccountTokenOK) IsServerError() bool
- func (o *RegenerateAccountTokenOK) IsSuccess() bool
- func (o *RegenerateAccountTokenOK) String() string
- type RegenerateAccountTokenOKBody
- func (o *RegenerateAccountTokenOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *RegenerateAccountTokenOKBody) MarshalBinary() ([]byte, error)
- func (o *RegenerateAccountTokenOKBody) UnmarshalBinary(b []byte) error
- func (o *RegenerateAccountTokenOKBody) Validate(formats strfmt.Registry) error
- type RegenerateAccountTokenParams
- func NewRegenerateAccountTokenParams() *RegenerateAccountTokenParams
- func NewRegenerateAccountTokenParamsWithContext(ctx context.Context) *RegenerateAccountTokenParams
- func NewRegenerateAccountTokenParamsWithHTTPClient(client *http.Client) *RegenerateAccountTokenParams
- func NewRegenerateAccountTokenParamsWithTimeout(timeout time.Duration) *RegenerateAccountTokenParams
- func (o *RegenerateAccountTokenParams) SetBody(body RegenerateAccountTokenBody)
- func (o *RegenerateAccountTokenParams) SetContext(ctx context.Context)
- func (o *RegenerateAccountTokenParams) SetDefaults()
- func (o *RegenerateAccountTokenParams) SetHTTPClient(client *http.Client)
- func (o *RegenerateAccountTokenParams) SetTimeout(timeout time.Duration)
- func (o *RegenerateAccountTokenParams) WithBody(body RegenerateAccountTokenBody) *RegenerateAccountTokenParams
- func (o *RegenerateAccountTokenParams) WithContext(ctx context.Context) *RegenerateAccountTokenParams
- func (o *RegenerateAccountTokenParams) WithDefaults() *RegenerateAccountTokenParams
- func (o *RegenerateAccountTokenParams) WithHTTPClient(client *http.Client) *RegenerateAccountTokenParams
- func (o *RegenerateAccountTokenParams) WithTimeout(timeout time.Duration) *RegenerateAccountTokenParams
- func (o *RegenerateAccountTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RegenerateAccountTokenReader
- type RegisterBody
- type RegisterInternalServerError
- func (o *RegisterInternalServerError) Code() int
- func (o *RegisterInternalServerError) Error() string
- func (o *RegisterInternalServerError) IsClientError() bool
- func (o *RegisterInternalServerError) IsCode(code int) bool
- func (o *RegisterInternalServerError) IsRedirect() bool
- func (o *RegisterInternalServerError) IsServerError() bool
- func (o *RegisterInternalServerError) IsSuccess() bool
- func (o *RegisterInternalServerError) String() string
- type RegisterNotFound
- func (o *RegisterNotFound) Code() int
- func (o *RegisterNotFound) Error() string
- func (o *RegisterNotFound) IsClientError() bool
- func (o *RegisterNotFound) IsCode(code int) bool
- func (o *RegisterNotFound) IsRedirect() bool
- func (o *RegisterNotFound) IsServerError() bool
- func (o *RegisterNotFound) IsSuccess() bool
- func (o *RegisterNotFound) String() string
- type RegisterOK
- func (o *RegisterOK) Code() int
- func (o *RegisterOK) Error() string
- func (o *RegisterOK) GetPayload() *RegisterOKBody
- func (o *RegisterOK) IsClientError() bool
- func (o *RegisterOK) IsCode(code int) bool
- func (o *RegisterOK) IsRedirect() bool
- func (o *RegisterOK) IsServerError() bool
- func (o *RegisterOK) IsSuccess() bool
- func (o *RegisterOK) String() string
- type RegisterOKBody
- type RegisterParams
- func (o *RegisterParams) SetBody(body RegisterBody)
- func (o *RegisterParams) SetContext(ctx context.Context)
- func (o *RegisterParams) SetDefaults()
- func (o *RegisterParams) SetHTTPClient(client *http.Client)
- func (o *RegisterParams) SetTimeout(timeout time.Duration)
- func (o *RegisterParams) WithBody(body RegisterBody) *RegisterParams
- func (o *RegisterParams) WithContext(ctx context.Context) *RegisterParams
- func (o *RegisterParams) WithDefaults() *RegisterParams
- func (o *RegisterParams) WithHTTPClient(client *http.Client) *RegisterParams
- func (o *RegisterParams) WithTimeout(timeout time.Duration) *RegisterParams
- func (o *RegisterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RegisterReader
- type RegisterUnprocessableEntity
- func (o *RegisterUnprocessableEntity) Code() int
- func (o *RegisterUnprocessableEntity) Error() string
- func (o *RegisterUnprocessableEntity) GetPayload() rest_model_zrok.ErrorMessage
- func (o *RegisterUnprocessableEntity) IsClientError() bool
- func (o *RegisterUnprocessableEntity) IsCode(code int) bool
- func (o *RegisterUnprocessableEntity) IsRedirect() bool
- func (o *RegisterUnprocessableEntity) IsServerError() bool
- func (o *RegisterUnprocessableEntity) IsSuccess() bool
- func (o *RegisterUnprocessableEntity) String() string
- type ResetPasswordBody
- type ResetPasswordInternalServerError
- func (o *ResetPasswordInternalServerError) Code() int
- func (o *ResetPasswordInternalServerError) Error() string
- func (o *ResetPasswordInternalServerError) IsClientError() bool
- func (o *ResetPasswordInternalServerError) IsCode(code int) bool
- func (o *ResetPasswordInternalServerError) IsRedirect() bool
- func (o *ResetPasswordInternalServerError) IsServerError() bool
- func (o *ResetPasswordInternalServerError) IsSuccess() bool
- func (o *ResetPasswordInternalServerError) String() string
- type ResetPasswordNotFound
- func (o *ResetPasswordNotFound) Code() int
- func (o *ResetPasswordNotFound) Error() string
- 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 ResetPasswordBody)
- 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 ResetPasswordBody) *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 ResetPasswordRequestBadRequest
- func (o *ResetPasswordRequestBadRequest) Code() int
- func (o *ResetPasswordRequestBadRequest) Error() string
- func (o *ResetPasswordRequestBadRequest) IsClientError() bool
- func (o *ResetPasswordRequestBadRequest) IsCode(code int) bool
- func (o *ResetPasswordRequestBadRequest) IsRedirect() bool
- func (o *ResetPasswordRequestBadRequest) IsServerError() bool
- func (o *ResetPasswordRequestBadRequest) IsSuccess() bool
- func (o *ResetPasswordRequestBadRequest) String() string
- type ResetPasswordRequestBody
- func (o *ResetPasswordRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ResetPasswordRequestBody) MarshalBinary() ([]byte, error)
- func (o *ResetPasswordRequestBody) UnmarshalBinary(b []byte) error
- func (o *ResetPasswordRequestBody) Validate(formats strfmt.Registry) error
- type ResetPasswordRequestCreated
- func (o *ResetPasswordRequestCreated) Code() int
- func (o *ResetPasswordRequestCreated) Error() string
- func (o *ResetPasswordRequestCreated) IsClientError() bool
- func (o *ResetPasswordRequestCreated) IsCode(code int) bool
- func (o *ResetPasswordRequestCreated) IsRedirect() bool
- func (o *ResetPasswordRequestCreated) IsServerError() bool
- func (o *ResetPasswordRequestCreated) IsSuccess() bool
- func (o *ResetPasswordRequestCreated) String() string
- type ResetPasswordRequestInternalServerError
- func (o *ResetPasswordRequestInternalServerError) Code() int
- func (o *ResetPasswordRequestInternalServerError) Error() string
- func (o *ResetPasswordRequestInternalServerError) IsClientError() bool
- func (o *ResetPasswordRequestInternalServerError) IsCode(code int) bool
- func (o *ResetPasswordRequestInternalServerError) IsRedirect() bool
- func (o *ResetPasswordRequestInternalServerError) IsServerError() bool
- func (o *ResetPasswordRequestInternalServerError) IsSuccess() bool
- func (o *ResetPasswordRequestInternalServerError) String() string
- type ResetPasswordRequestParams
- func NewResetPasswordRequestParams() *ResetPasswordRequestParams
- func NewResetPasswordRequestParamsWithContext(ctx context.Context) *ResetPasswordRequestParams
- func NewResetPasswordRequestParamsWithHTTPClient(client *http.Client) *ResetPasswordRequestParams
- func NewResetPasswordRequestParamsWithTimeout(timeout time.Duration) *ResetPasswordRequestParams
- func (o *ResetPasswordRequestParams) SetBody(body ResetPasswordRequestBody)
- func (o *ResetPasswordRequestParams) SetContext(ctx context.Context)
- func (o *ResetPasswordRequestParams) SetDefaults()
- func (o *ResetPasswordRequestParams) SetHTTPClient(client *http.Client)
- func (o *ResetPasswordRequestParams) SetTimeout(timeout time.Duration)
- func (o *ResetPasswordRequestParams) WithBody(body ResetPasswordRequestBody) *ResetPasswordRequestParams
- func (o *ResetPasswordRequestParams) WithContext(ctx context.Context) *ResetPasswordRequestParams
- func (o *ResetPasswordRequestParams) WithDefaults() *ResetPasswordRequestParams
- func (o *ResetPasswordRequestParams) WithHTTPClient(client *http.Client) *ResetPasswordRequestParams
- func (o *ResetPasswordRequestParams) WithTimeout(timeout time.Duration) *ResetPasswordRequestParams
- func (o *ResetPasswordRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResetPasswordRequestReader
- type ResetPasswordUnprocessableEntity
- func (o *ResetPasswordUnprocessableEntity) Code() int
- func (o *ResetPasswordUnprocessableEntity) Error() string
- func (o *ResetPasswordUnprocessableEntity) GetPayload() rest_model_zrok.ErrorMessage
- func (o *ResetPasswordUnprocessableEntity) IsClientError() bool
- func (o *ResetPasswordUnprocessableEntity) IsCode(code int) bool
- func (o *ResetPasswordUnprocessableEntity) IsRedirect() bool
- func (o *ResetPasswordUnprocessableEntity) IsServerError() bool
- func (o *ResetPasswordUnprocessableEntity) IsSuccess() bool
- func (o *ResetPasswordUnprocessableEntity) String() string
- type VerifyBody
- type VerifyInternalServerError
- func (o *VerifyInternalServerError) Code() int
- func (o *VerifyInternalServerError) Error() string
- func (o *VerifyInternalServerError) IsClientError() bool
- func (o *VerifyInternalServerError) IsCode(code int) bool
- func (o *VerifyInternalServerError) IsRedirect() bool
- func (o *VerifyInternalServerError) IsServerError() bool
- func (o *VerifyInternalServerError) IsSuccess() bool
- func (o *VerifyInternalServerError) String() string
- type VerifyNotFound
- func (o *VerifyNotFound) Code() int
- func (o *VerifyNotFound) Error() string
- func (o *VerifyNotFound) IsClientError() bool
- func (o *VerifyNotFound) IsCode(code int) bool
- func (o *VerifyNotFound) IsRedirect() bool
- func (o *VerifyNotFound) IsServerError() bool
- func (o *VerifyNotFound) IsSuccess() bool
- func (o *VerifyNotFound) String() string
- type VerifyOK
- func (o *VerifyOK) Code() int
- func (o *VerifyOK) Error() string
- func (o *VerifyOK) GetPayload() *VerifyOKBody
- func (o *VerifyOK) IsClientError() bool
- func (o *VerifyOK) IsCode(code int) bool
- func (o *VerifyOK) IsRedirect() bool
- func (o *VerifyOK) IsServerError() bool
- func (o *VerifyOK) IsSuccess() bool
- func (o *VerifyOK) String() string
- type VerifyOKBody
- type VerifyParams
- func (o *VerifyParams) SetBody(body VerifyBody)
- func (o *VerifyParams) SetContext(ctx context.Context)
- func (o *VerifyParams) SetDefaults()
- func (o *VerifyParams) SetHTTPClient(client *http.Client)
- func (o *VerifyParams) SetTimeout(timeout time.Duration)
- func (o *VerifyParams) WithBody(body VerifyBody) *VerifyParams
- func (o *VerifyParams) WithContext(ctx context.Context) *VerifyParams
- func (o *VerifyParams) WithDefaults() *VerifyParams
- func (o *VerifyParams) WithHTTPClient(client *http.Client) *VerifyParams
- func (o *VerifyParams) WithTimeout(timeout time.Duration) *VerifyParams
- func (o *VerifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VerifyReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangePasswordBadRequest ¶ added in v0.4.25
type ChangePasswordBadRequest struct {
}
ChangePasswordBadRequest describes a response with status code 400, with default header values.
password not changed
func NewChangePasswordBadRequest ¶ added in v0.4.25
func NewChangePasswordBadRequest() *ChangePasswordBadRequest
NewChangePasswordBadRequest creates a ChangePasswordBadRequest with default headers values
func (*ChangePasswordBadRequest) Code ¶ added in v0.4.25
func (o *ChangePasswordBadRequest) Code() int
Code gets the status code for the change password bad request response
func (*ChangePasswordBadRequest) Error ¶ added in v0.4.25
func (o *ChangePasswordBadRequest) Error() string
func (*ChangePasswordBadRequest) IsClientError ¶ added in v0.4.25
func (o *ChangePasswordBadRequest) IsClientError() bool
IsClientError returns true when this change password bad request response has a 4xx status code
func (*ChangePasswordBadRequest) IsCode ¶ added in v0.4.25
func (o *ChangePasswordBadRequest) IsCode(code int) bool
IsCode returns true when this change password bad request response a status code equal to that given
func (*ChangePasswordBadRequest) IsRedirect ¶ added in v0.4.25
func (o *ChangePasswordBadRequest) IsRedirect() bool
IsRedirect returns true when this change password bad request response has a 3xx status code
func (*ChangePasswordBadRequest) IsServerError ¶ added in v0.4.25
func (o *ChangePasswordBadRequest) IsServerError() bool
IsServerError returns true when this change password bad request response has a 5xx status code
func (*ChangePasswordBadRequest) IsSuccess ¶ added in v0.4.25
func (o *ChangePasswordBadRequest) IsSuccess() bool
IsSuccess returns true when this change password bad request response has a 2xx status code
func (*ChangePasswordBadRequest) String ¶ added in v0.4.25
func (o *ChangePasswordBadRequest) String() string
type ChangePasswordBody ¶ added in v1.0.0
type ChangePasswordBody struct {
// email
Email string `json:"email,omitempty"`
// new password
NewPassword string `json:"newPassword,omitempty"`
// old password
OldPassword string `json:"oldPassword,omitempty"`
}
ChangePasswordBody change password body swagger:model ChangePasswordBody
func (*ChangePasswordBody) ContextValidate ¶ added in v1.0.0
ContextValidate validates this change password body based on context it is used
func (*ChangePasswordBody) MarshalBinary ¶ added in v1.0.0
func (o *ChangePasswordBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangePasswordBody) UnmarshalBinary ¶ added in v1.0.0
func (o *ChangePasswordBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChangePasswordInternalServerError ¶ added in v0.4.25
type ChangePasswordInternalServerError struct {
}
ChangePasswordInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewChangePasswordInternalServerError ¶ added in v0.4.25
func NewChangePasswordInternalServerError() *ChangePasswordInternalServerError
NewChangePasswordInternalServerError creates a ChangePasswordInternalServerError with default headers values
func (*ChangePasswordInternalServerError) Code ¶ added in v0.4.25
func (o *ChangePasswordInternalServerError) Code() int
Code gets the status code for the change password internal server error response
func (*ChangePasswordInternalServerError) Error ¶ added in v0.4.25
func (o *ChangePasswordInternalServerError) Error() string
func (*ChangePasswordInternalServerError) IsClientError ¶ added in v0.4.25
func (o *ChangePasswordInternalServerError) IsClientError() bool
IsClientError returns true when this change password internal server error response has a 4xx status code
func (*ChangePasswordInternalServerError) IsCode ¶ added in v0.4.25
func (o *ChangePasswordInternalServerError) IsCode(code int) bool
IsCode returns true when this change password internal server error response a status code equal to that given
func (*ChangePasswordInternalServerError) IsRedirect ¶ added in v0.4.25
func (o *ChangePasswordInternalServerError) IsRedirect() bool
IsRedirect returns true when this change password internal server error response has a 3xx status code
func (*ChangePasswordInternalServerError) IsServerError ¶ added in v0.4.25
func (o *ChangePasswordInternalServerError) IsServerError() bool
IsServerError returns true when this change password internal server error response has a 5xx status code
func (*ChangePasswordInternalServerError) IsSuccess ¶ added in v0.4.25
func (o *ChangePasswordInternalServerError) IsSuccess() bool
IsSuccess returns true when this change password internal server error response has a 2xx status code
func (*ChangePasswordInternalServerError) String ¶ added in v0.4.25
func (o *ChangePasswordInternalServerError) String() string
type ChangePasswordOK ¶ added in v0.4.25
type ChangePasswordOK struct {
}
ChangePasswordOK describes a response with status code 200, with default header values.
password changed
func NewChangePasswordOK ¶ added in v0.4.25
func NewChangePasswordOK() *ChangePasswordOK
NewChangePasswordOK creates a ChangePasswordOK with default headers values
func (*ChangePasswordOK) Code ¶ added in v0.4.25
func (o *ChangePasswordOK) Code() int
Code gets the status code for the change password o k response
func (*ChangePasswordOK) Error ¶ added in v0.4.25
func (o *ChangePasswordOK) Error() string
func (*ChangePasswordOK) IsClientError ¶ added in v0.4.25
func (o *ChangePasswordOK) IsClientError() bool
IsClientError returns true when this change password o k response has a 4xx status code
func (*ChangePasswordOK) IsCode ¶ added in v0.4.25
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 ¶ added in v0.4.25
func (o *ChangePasswordOK) IsRedirect() bool
IsRedirect returns true when this change password o k response has a 3xx status code
func (*ChangePasswordOK) IsServerError ¶ added in v0.4.25
func (o *ChangePasswordOK) IsServerError() bool
IsServerError returns true when this change password o k response has a 5xx status code
func (*ChangePasswordOK) IsSuccess ¶ added in v0.4.25
func (o *ChangePasswordOK) IsSuccess() bool
IsSuccess returns true when this change password o k response has a 2xx status code
func (*ChangePasswordOK) String ¶ added in v0.4.25
func (o *ChangePasswordOK) String() string
type ChangePasswordParams ¶ added in v0.4.25
type ChangePasswordParams struct {
// Body.
Body ChangePasswordBody
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 ¶ added in v0.4.25
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 ¶ added in v0.4.25
func NewChangePasswordParamsWithContext(ctx context.Context) *ChangePasswordParams
NewChangePasswordParamsWithContext creates a new ChangePasswordParams object with the ability to set a context for a request.
func NewChangePasswordParamsWithHTTPClient ¶ added in v0.4.25
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 ¶ added in v0.4.25
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 ¶ added in v0.4.25
func (o *ChangePasswordParams) SetBody(body ChangePasswordBody)
SetBody adds the body to the change password params
func (*ChangePasswordParams) SetContext ¶ added in v0.4.25
func (o *ChangePasswordParams) SetContext(ctx context.Context)
SetContext adds the context to the change password params
func (*ChangePasswordParams) SetDefaults ¶ added in v0.4.25
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 ¶ added in v0.4.25
func (o *ChangePasswordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the change password params
func (*ChangePasswordParams) SetTimeout ¶ added in v0.4.25
func (o *ChangePasswordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the change password params
func (*ChangePasswordParams) WithBody ¶ added in v0.4.25
func (o *ChangePasswordParams) WithBody(body ChangePasswordBody) *ChangePasswordParams
WithBody adds the body to the change password params
func (*ChangePasswordParams) WithContext ¶ added in v0.4.25
func (o *ChangePasswordParams) WithContext(ctx context.Context) *ChangePasswordParams
WithContext adds the context to the change password params
func (*ChangePasswordParams) WithDefaults ¶ added in v0.4.25
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 ¶ added in v0.4.25
func (o *ChangePasswordParams) WithHTTPClient(client *http.Client) *ChangePasswordParams
WithHTTPClient adds the HTTPClient to the change password params
func (*ChangePasswordParams) WithTimeout ¶ added in v0.4.25
func (o *ChangePasswordParams) WithTimeout(timeout time.Duration) *ChangePasswordParams
WithTimeout adds the timeout to the change password params
func (*ChangePasswordParams) WriteToRequest ¶ added in v0.4.25
func (o *ChangePasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ChangePasswordReader ¶ added in v0.4.25
type ChangePasswordReader struct {
// contains filtered or unexported fields
}
ChangePasswordReader is a Reader for the ChangePassword structure.
func (*ChangePasswordReader) ReadResponse ¶ added in v0.4.25
func (o *ChangePasswordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ChangePasswordUnauthorized ¶ added in v0.4.25
type ChangePasswordUnauthorized struct {
}
ChangePasswordUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewChangePasswordUnauthorized ¶ added in v0.4.25
func NewChangePasswordUnauthorized() *ChangePasswordUnauthorized
NewChangePasswordUnauthorized creates a ChangePasswordUnauthorized with default headers values
func (*ChangePasswordUnauthorized) Code ¶ added in v0.4.25
func (o *ChangePasswordUnauthorized) Code() int
Code gets the status code for the change password unauthorized response
func (*ChangePasswordUnauthorized) Error ¶ added in v0.4.25
func (o *ChangePasswordUnauthorized) Error() string
func (*ChangePasswordUnauthorized) IsClientError ¶ added in v0.4.25
func (o *ChangePasswordUnauthorized) IsClientError() bool
IsClientError returns true when this change password unauthorized response has a 4xx status code
func (*ChangePasswordUnauthorized) IsCode ¶ added in v0.4.25
func (o *ChangePasswordUnauthorized) IsCode(code int) bool
IsCode returns true when this change password unauthorized response a status code equal to that given
func (*ChangePasswordUnauthorized) IsRedirect ¶ added in v0.4.25
func (o *ChangePasswordUnauthorized) IsRedirect() bool
IsRedirect returns true when this change password unauthorized response has a 3xx status code
func (*ChangePasswordUnauthorized) IsServerError ¶ added in v0.4.25
func (o *ChangePasswordUnauthorized) IsServerError() bool
IsServerError returns true when this change password unauthorized response has a 5xx status code
func (*ChangePasswordUnauthorized) IsSuccess ¶ added in v0.4.25
func (o *ChangePasswordUnauthorized) IsSuccess() bool
IsSuccess returns true when this change password unauthorized response has a 2xx status code
func (*ChangePasswordUnauthorized) String ¶ added in v0.4.25
func (o *ChangePasswordUnauthorized) String() string
type ChangePasswordUnprocessableEntity ¶ added in v0.4.25
type ChangePasswordUnprocessableEntity struct {
Payload rest_model_zrok.ErrorMessage
}
ChangePasswordUnprocessableEntity describes a response with status code 422, with default header values.
password validation failure
func NewChangePasswordUnprocessableEntity ¶ added in v0.4.25
func NewChangePasswordUnprocessableEntity() *ChangePasswordUnprocessableEntity
NewChangePasswordUnprocessableEntity creates a ChangePasswordUnprocessableEntity with default headers values
func (*ChangePasswordUnprocessableEntity) Code ¶ added in v0.4.25
func (o *ChangePasswordUnprocessableEntity) Code() int
Code gets the status code for the change password unprocessable entity response
func (*ChangePasswordUnprocessableEntity) Error ¶ added in v0.4.25
func (o *ChangePasswordUnprocessableEntity) Error() string
func (*ChangePasswordUnprocessableEntity) GetPayload ¶ added in v0.4.25
func (o *ChangePasswordUnprocessableEntity) GetPayload() rest_model_zrok.ErrorMessage
func (*ChangePasswordUnprocessableEntity) IsClientError ¶ added in v0.4.25
func (o *ChangePasswordUnprocessableEntity) IsClientError() bool
IsClientError returns true when this change password unprocessable entity response has a 4xx status code
func (*ChangePasswordUnprocessableEntity) IsCode ¶ added in v0.4.25
func (o *ChangePasswordUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this change password unprocessable entity response a status code equal to that given
func (*ChangePasswordUnprocessableEntity) IsRedirect ¶ added in v0.4.25
func (o *ChangePasswordUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this change password unprocessable entity response has a 3xx status code
func (*ChangePasswordUnprocessableEntity) IsServerError ¶ added in v0.4.25
func (o *ChangePasswordUnprocessableEntity) IsServerError() bool
IsServerError returns true when this change password unprocessable entity response has a 5xx status code
func (*ChangePasswordUnprocessableEntity) IsSuccess ¶ added in v0.4.25
func (o *ChangePasswordUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this change password unprocessable entity response has a 2xx status code
func (*ChangePasswordUnprocessableEntity) String ¶ added in v0.4.25
func (o *ChangePasswordUnprocessableEntity) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for account API
func (*Client) ChangePassword ¶ added in v0.4.25
func (a *Client) ChangePassword(params *ChangePasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChangePasswordOK, error)
ChangePassword change password API
func (*Client) Invite ¶
func (a *Client) Invite(params *InviteParams, opts ...ClientOption) (*InviteCreated, error)
Invite invite API
func (*Client) Login ¶
func (a *Client) Login(params *LoginParams, opts ...ClientOption) (*LoginOK, error)
Login login API
func (*Client) RegenerateAccountToken ¶ added in v1.0.0
func (a *Client) RegenerateAccountToken(params *RegenerateAccountTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegenerateAccountTokenOK, error)
RegenerateAccountToken regenerate account token API
func (*Client) Register ¶
func (a *Client) Register(params *RegisterParams, opts ...ClientOption) (*RegisterOK, error)
Register register API
func (*Client) ResetPassword ¶
func (a *Client) ResetPassword(params *ResetPasswordParams, opts ...ClientOption) (*ResetPasswordOK, error)
ResetPassword reset password API
func (*Client) ResetPasswordRequest ¶
func (a *Client) ResetPasswordRequest(params *ResetPasswordRequestParams, opts ...ClientOption) (*ResetPasswordRequestCreated, error)
ResetPasswordRequest reset password request API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) Verify ¶
func (a *Client) Verify(params *VerifyParams, opts ...ClientOption) (*VerifyOK, error)
Verify verify API
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, error)
Invite(params *InviteParams, opts ...ClientOption) (*InviteCreated, error)
Login(params *LoginParams, opts ...ClientOption) (*LoginOK, error)
RegenerateAccountToken(params *RegenerateAccountTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegenerateAccountTokenOK, error)
Register(params *RegisterParams, opts ...ClientOption) (*RegisterOK, error)
ResetPassword(params *ResetPasswordParams, opts ...ClientOption) (*ResetPasswordOK, error)
ResetPasswordRequest(params *ResetPasswordRequestParams, opts ...ClientOption) (*ResetPasswordRequestCreated, error)
Verify(params *VerifyParams, opts ...ClientOption) (*VerifyOK, 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 account API client.
type InviteBadRequest ¶
type InviteBadRequest struct {
Payload rest_model_zrok.ErrorMessage
}
InviteBadRequest describes a response with status code 400, with default header values.
invitation not created (already exists)
func NewInviteBadRequest ¶
func NewInviteBadRequest() *InviteBadRequest
NewInviteBadRequest creates a InviteBadRequest with default headers values
func (*InviteBadRequest) Code ¶ added in v0.4.19
func (o *InviteBadRequest) Code() int
Code gets the status code for the invite bad request response
func (*InviteBadRequest) Error ¶
func (o *InviteBadRequest) Error() string
func (*InviteBadRequest) GetPayload ¶ added in v0.3.1
func (o *InviteBadRequest) GetPayload() rest_model_zrok.ErrorMessage
func (*InviteBadRequest) IsClientError ¶
func (o *InviteBadRequest) IsClientError() bool
IsClientError returns true when this invite bad request response has a 4xx status code
func (*InviteBadRequest) IsCode ¶
func (o *InviteBadRequest) IsCode(code int) bool
IsCode returns true when this invite bad request response a status code equal to that given
func (*InviteBadRequest) IsRedirect ¶
func (o *InviteBadRequest) IsRedirect() bool
IsRedirect returns true when this invite bad request response has a 3xx status code
func (*InviteBadRequest) IsServerError ¶
func (o *InviteBadRequest) IsServerError() bool
IsServerError returns true when this invite bad request response has a 5xx status code
func (*InviteBadRequest) IsSuccess ¶
func (o *InviteBadRequest) IsSuccess() bool
IsSuccess returns true when this invite bad request response has a 2xx status code
func (*InviteBadRequest) String ¶
func (o *InviteBadRequest) String() string
type InviteBody ¶ added in v1.0.0
type InviteBody struct {
// email
Email string `json:"email,omitempty"`
// invite token
InviteToken string `json:"inviteToken,omitempty"`
}
InviteBody invite body swagger:model InviteBody
func (*InviteBody) ContextValidate ¶ added in v1.0.0
ContextValidate validates this invite body based on context it is used
func (*InviteBody) MarshalBinary ¶ added in v1.0.0
func (o *InviteBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InviteBody) UnmarshalBinary ¶ added in v1.0.0
func (o *InviteBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InviteCreated ¶
type InviteCreated struct {
}
InviteCreated describes a response with status code 201, with default header values.
invitation created
func NewInviteCreated ¶
func NewInviteCreated() *InviteCreated
NewInviteCreated creates a InviteCreated with default headers values
func (*InviteCreated) Code ¶ added in v0.4.19
func (o *InviteCreated) Code() int
Code gets the status code for the invite created response
func (*InviteCreated) Error ¶
func (o *InviteCreated) Error() string
func (*InviteCreated) IsClientError ¶
func (o *InviteCreated) IsClientError() bool
IsClientError returns true when this invite created response has a 4xx status code
func (*InviteCreated) IsCode ¶
func (o *InviteCreated) IsCode(code int) bool
IsCode returns true when this invite created response a status code equal to that given
func (*InviteCreated) IsRedirect ¶
func (o *InviteCreated) IsRedirect() bool
IsRedirect returns true when this invite created response has a 3xx status code
func (*InviteCreated) IsServerError ¶
func (o *InviteCreated) IsServerError() bool
IsServerError returns true when this invite created response has a 5xx status code
func (*InviteCreated) IsSuccess ¶
func (o *InviteCreated) IsSuccess() bool
IsSuccess returns true when this invite created response has a 2xx status code
func (*InviteCreated) String ¶
func (o *InviteCreated) String() string
type InviteInternalServerError ¶
type InviteInternalServerError struct {
}
InviteInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewInviteInternalServerError ¶
func NewInviteInternalServerError() *InviteInternalServerError
NewInviteInternalServerError creates a InviteInternalServerError with default headers values
func (*InviteInternalServerError) Code ¶ added in v0.4.19
func (o *InviteInternalServerError) Code() int
Code gets the status code for the invite internal server error response
func (*InviteInternalServerError) Error ¶
func (o *InviteInternalServerError) Error() string
func (*InviteInternalServerError) IsClientError ¶
func (o *InviteInternalServerError) IsClientError() bool
IsClientError returns true when this invite internal server error response has a 4xx status code
func (*InviteInternalServerError) IsCode ¶
func (o *InviteInternalServerError) IsCode(code int) bool
IsCode returns true when this invite internal server error response a status code equal to that given
func (*InviteInternalServerError) IsRedirect ¶
func (o *InviteInternalServerError) IsRedirect() bool
IsRedirect returns true when this invite internal server error response has a 3xx status code
func (*InviteInternalServerError) IsServerError ¶
func (o *InviteInternalServerError) IsServerError() bool
IsServerError returns true when this invite internal server error response has a 5xx status code
func (*InviteInternalServerError) IsSuccess ¶
func (o *InviteInternalServerError) IsSuccess() bool
IsSuccess returns true when this invite internal server error response has a 2xx status code
func (*InviteInternalServerError) String ¶
func (o *InviteInternalServerError) String() string
type InviteParams ¶
type InviteParams struct {
// Body.
Body InviteBody
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
InviteParams contains all the parameters to send to the API endpoint
for the invite operation. Typically these are written to a http.Request.
func NewInviteParams ¶
func NewInviteParams() *InviteParams
NewInviteParams creates a new InviteParams 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 NewInviteParamsWithContext ¶
func NewInviteParamsWithContext(ctx context.Context) *InviteParams
NewInviteParamsWithContext creates a new InviteParams object with the ability to set a context for a request.
func NewInviteParamsWithHTTPClient ¶
func NewInviteParamsWithHTTPClient(client *http.Client) *InviteParams
NewInviteParamsWithHTTPClient creates a new InviteParams object with the ability to set a custom HTTPClient for a request.
func NewInviteParamsWithTimeout ¶
func NewInviteParamsWithTimeout(timeout time.Duration) *InviteParams
NewInviteParamsWithTimeout creates a new InviteParams object with the ability to set a timeout on a request.
func (*InviteParams) SetBody ¶
func (o *InviteParams) SetBody(body InviteBody)
SetBody adds the body to the invite params
func (*InviteParams) SetContext ¶
func (o *InviteParams) SetContext(ctx context.Context)
SetContext adds the context to the invite params
func (*InviteParams) SetDefaults ¶
func (o *InviteParams) SetDefaults()
SetDefaults hydrates default values in the invite params (not the query body).
All values with no default are reset to their zero value.
func (*InviteParams) SetHTTPClient ¶
func (o *InviteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the invite params
func (*InviteParams) SetTimeout ¶
func (o *InviteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the invite params
func (*InviteParams) WithBody ¶
func (o *InviteParams) WithBody(body InviteBody) *InviteParams
WithBody adds the body to the invite params
func (*InviteParams) WithContext ¶
func (o *InviteParams) WithContext(ctx context.Context) *InviteParams
WithContext adds the context to the invite params
func (*InviteParams) WithDefaults ¶
func (o *InviteParams) WithDefaults() *InviteParams
WithDefaults hydrates default values in the invite params (not the query body).
All values with no default are reset to their zero value.
func (*InviteParams) WithHTTPClient ¶
func (o *InviteParams) WithHTTPClient(client *http.Client) *InviteParams
WithHTTPClient adds the HTTPClient to the invite params
func (*InviteParams) WithTimeout ¶
func (o *InviteParams) WithTimeout(timeout time.Duration) *InviteParams
WithTimeout adds the timeout to the invite params
func (*InviteParams) WriteToRequest ¶
func (o *InviteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InviteReader ¶
type InviteReader struct {
// contains filtered or unexported fields
}
InviteReader is a Reader for the Invite structure.
func (*InviteReader) ReadResponse ¶
func (o *InviteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InviteUnauthorized ¶
type InviteUnauthorized struct {
}
InviteUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewInviteUnauthorized ¶
func NewInviteUnauthorized() *InviteUnauthorized
NewInviteUnauthorized creates a InviteUnauthorized with default headers values
func (*InviteUnauthorized) Code ¶ added in v0.4.19
func (o *InviteUnauthorized) Code() int
Code gets the status code for the invite unauthorized response
func (*InviteUnauthorized) Error ¶
func (o *InviteUnauthorized) Error() string
func (*InviteUnauthorized) IsClientError ¶
func (o *InviteUnauthorized) IsClientError() bool
IsClientError returns true when this invite unauthorized response has a 4xx status code
func (*InviteUnauthorized) IsCode ¶
func (o *InviteUnauthorized) IsCode(code int) bool
IsCode returns true when this invite unauthorized response a status code equal to that given
func (*InviteUnauthorized) IsRedirect ¶
func (o *InviteUnauthorized) IsRedirect() bool
IsRedirect returns true when this invite unauthorized response has a 3xx status code
func (*InviteUnauthorized) IsServerError ¶
func (o *InviteUnauthorized) IsServerError() bool
IsServerError returns true when this invite unauthorized response has a 5xx status code
func (*InviteUnauthorized) IsSuccess ¶
func (o *InviteUnauthorized) IsSuccess() bool
IsSuccess returns true when this invite unauthorized response has a 2xx status code
func (*InviteUnauthorized) String ¶
func (o *InviteUnauthorized) String() string
type LoginBody ¶ added in v1.0.0
type LoginBody struct {
// email
Email string `json:"email,omitempty"`
// password
Password string `json:"password,omitempty"`
}
LoginBody login body swagger:model LoginBody
func (*LoginBody) ContextValidate ¶ added in v1.0.0
ContextValidate validates this login body based on context it is used
func (*LoginBody) MarshalBinary ¶ added in v1.0.0
MarshalBinary interface implementation
func (*LoginBody) UnmarshalBinary ¶ added in v1.0.0
UnmarshalBinary interface implementation
type LoginOK ¶
type LoginOK struct {
Payload string
}
LoginOK describes a response with status code 200, with default header values.
login successful
func NewLoginOK ¶
func NewLoginOK() *LoginOK
NewLoginOK creates a LoginOK with default headers values
func (*LoginOK) GetPayload ¶
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 LoginBody
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 LoginBody)
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 LoginBody) *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 LoginUnauthorized ¶
type LoginUnauthorized struct {
}
LoginUnauthorized describes a response with status code 401, with default header values.
invalid login
func NewLoginUnauthorized ¶
func NewLoginUnauthorized() *LoginUnauthorized
NewLoginUnauthorized creates a LoginUnauthorized with default headers values
func (*LoginUnauthorized) Code ¶ added in v0.4.19
func (o *LoginUnauthorized) Code() int
Code gets the status code for the login unauthorized response
func (*LoginUnauthorized) Error ¶
func (o *LoginUnauthorized) Error() string
func (*LoginUnauthorized) IsClientError ¶
func (o *LoginUnauthorized) IsClientError() bool
IsClientError returns true when this login unauthorized response has a 4xx status code
func (*LoginUnauthorized) IsCode ¶
func (o *LoginUnauthorized) IsCode(code int) bool
IsCode returns true when this login unauthorized response a status code equal to that given
func (*LoginUnauthorized) IsRedirect ¶
func (o *LoginUnauthorized) IsRedirect() bool
IsRedirect returns true when this login unauthorized response has a 3xx status code
func (*LoginUnauthorized) IsServerError ¶
func (o *LoginUnauthorized) IsServerError() bool
IsServerError returns true when this login unauthorized response has a 5xx status code
func (*LoginUnauthorized) IsSuccess ¶
func (o *LoginUnauthorized) IsSuccess() bool
IsSuccess returns true when this login unauthorized response has a 2xx status code
func (*LoginUnauthorized) String ¶
func (o *LoginUnauthorized) String() string
type RegenerateAccountTokenBody ¶ added in v1.0.0
type RegenerateAccountTokenBody struct {
// email address
EmailAddress string `json:"emailAddress,omitempty"`
}
RegenerateAccountTokenBody regenerate account token body swagger:model RegenerateAccountTokenBody
func (*RegenerateAccountTokenBody) ContextValidate ¶ added in v1.0.0
func (o *RegenerateAccountTokenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this regenerate account token body based on context it is used
func (*RegenerateAccountTokenBody) MarshalBinary ¶ added in v1.0.0
func (o *RegenerateAccountTokenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RegenerateAccountTokenBody) UnmarshalBinary ¶ added in v1.0.0
func (o *RegenerateAccountTokenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RegenerateAccountTokenInternalServerError ¶ added in v1.0.0
type RegenerateAccountTokenInternalServerError struct {
}
RegenerateAccountTokenInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewRegenerateAccountTokenInternalServerError ¶ added in v1.0.0
func NewRegenerateAccountTokenInternalServerError() *RegenerateAccountTokenInternalServerError
NewRegenerateAccountTokenInternalServerError creates a RegenerateAccountTokenInternalServerError with default headers values
func (*RegenerateAccountTokenInternalServerError) Code ¶ added in v1.0.0
func (o *RegenerateAccountTokenInternalServerError) Code() int
Code gets the status code for the regenerate account token internal server error response
func (*RegenerateAccountTokenInternalServerError) Error ¶ added in v1.0.0
func (o *RegenerateAccountTokenInternalServerError) Error() string
func (*RegenerateAccountTokenInternalServerError) IsClientError ¶ added in v1.0.0
func (o *RegenerateAccountTokenInternalServerError) IsClientError() bool
IsClientError returns true when this regenerate account token internal server error response has a 4xx status code
func (*RegenerateAccountTokenInternalServerError) IsCode ¶ added in v1.0.0
func (o *RegenerateAccountTokenInternalServerError) IsCode(code int) bool
IsCode returns true when this regenerate account token internal server error response a status code equal to that given
func (*RegenerateAccountTokenInternalServerError) IsRedirect ¶ added in v1.0.0
func (o *RegenerateAccountTokenInternalServerError) IsRedirect() bool
IsRedirect returns true when this regenerate account token internal server error response has a 3xx status code
func (*RegenerateAccountTokenInternalServerError) IsServerError ¶ added in v1.0.0
func (o *RegenerateAccountTokenInternalServerError) IsServerError() bool
IsServerError returns true when this regenerate account token internal server error response has a 5xx status code
func (*RegenerateAccountTokenInternalServerError) IsSuccess ¶ added in v1.0.0
func (o *RegenerateAccountTokenInternalServerError) IsSuccess() bool
IsSuccess returns true when this regenerate account token internal server error response has a 2xx status code
func (*RegenerateAccountTokenInternalServerError) String ¶ added in v1.0.0
func (o *RegenerateAccountTokenInternalServerError) String() string
type RegenerateAccountTokenNotFound ¶ added in v1.0.0
type RegenerateAccountTokenNotFound struct {
}
RegenerateAccountTokenNotFound describes a response with status code 404, with default header values.
account not found
func NewRegenerateAccountTokenNotFound ¶ added in v1.0.0
func NewRegenerateAccountTokenNotFound() *RegenerateAccountTokenNotFound
NewRegenerateAccountTokenNotFound creates a RegenerateAccountTokenNotFound with default headers values
func (*RegenerateAccountTokenNotFound) Code ¶ added in v1.0.0
func (o *RegenerateAccountTokenNotFound) Code() int
Code gets the status code for the regenerate account token not found response
func (*RegenerateAccountTokenNotFound) Error ¶ added in v1.0.0
func (o *RegenerateAccountTokenNotFound) Error() string
func (*RegenerateAccountTokenNotFound) IsClientError ¶ added in v1.0.0
func (o *RegenerateAccountTokenNotFound) IsClientError() bool
IsClientError returns true when this regenerate account token not found response has a 4xx status code
func (*RegenerateAccountTokenNotFound) IsCode ¶ added in v1.0.0
func (o *RegenerateAccountTokenNotFound) IsCode(code int) bool
IsCode returns true when this regenerate account token not found response a status code equal to that given
func (*RegenerateAccountTokenNotFound) IsRedirect ¶ added in v1.0.0
func (o *RegenerateAccountTokenNotFound) IsRedirect() bool
IsRedirect returns true when this regenerate account token not found response has a 3xx status code
func (*RegenerateAccountTokenNotFound) IsServerError ¶ added in v1.0.0
func (o *RegenerateAccountTokenNotFound) IsServerError() bool
IsServerError returns true when this regenerate account token not found response has a 5xx status code
func (*RegenerateAccountTokenNotFound) IsSuccess ¶ added in v1.0.0
func (o *RegenerateAccountTokenNotFound) IsSuccess() bool
IsSuccess returns true when this regenerate account token not found response has a 2xx status code
func (*RegenerateAccountTokenNotFound) String ¶ added in v1.0.0
func (o *RegenerateAccountTokenNotFound) String() string
type RegenerateAccountTokenOK ¶ added in v1.0.0
type RegenerateAccountTokenOK struct {
Payload *RegenerateAccountTokenOKBody
}
RegenerateAccountTokenOK describes a response with status code 200, with default header values.
regenerate account token
func NewRegenerateAccountTokenOK ¶ added in v1.0.0
func NewRegenerateAccountTokenOK() *RegenerateAccountTokenOK
NewRegenerateAccountTokenOK creates a RegenerateAccountTokenOK with default headers values
func (*RegenerateAccountTokenOK) Code ¶ added in v1.0.0
func (o *RegenerateAccountTokenOK) Code() int
Code gets the status code for the regenerate account token o k response
func (*RegenerateAccountTokenOK) Error ¶ added in v1.0.0
func (o *RegenerateAccountTokenOK) Error() string
func (*RegenerateAccountTokenOK) GetPayload ¶ added in v1.0.0
func (o *RegenerateAccountTokenOK) GetPayload() *RegenerateAccountTokenOKBody
func (*RegenerateAccountTokenOK) IsClientError ¶ added in v1.0.0
func (o *RegenerateAccountTokenOK) IsClientError() bool
IsClientError returns true when this regenerate account token o k response has a 4xx status code
func (*RegenerateAccountTokenOK) IsCode ¶ added in v1.0.0
func (o *RegenerateAccountTokenOK) IsCode(code int) bool
IsCode returns true when this regenerate account token o k response a status code equal to that given
func (*RegenerateAccountTokenOK) IsRedirect ¶ added in v1.0.0
func (o *RegenerateAccountTokenOK) IsRedirect() bool
IsRedirect returns true when this regenerate account token o k response has a 3xx status code
func (*RegenerateAccountTokenOK) IsServerError ¶ added in v1.0.0
func (o *RegenerateAccountTokenOK) IsServerError() bool
IsServerError returns true when this regenerate account token o k response has a 5xx status code
func (*RegenerateAccountTokenOK) IsSuccess ¶ added in v1.0.0
func (o *RegenerateAccountTokenOK) IsSuccess() bool
IsSuccess returns true when this regenerate account token o k response has a 2xx status code
func (*RegenerateAccountTokenOK) String ¶ added in v1.0.0
func (o *RegenerateAccountTokenOK) String() string
type RegenerateAccountTokenOKBody ¶ added in v1.0.0
type RegenerateAccountTokenOKBody struct {
// account token
AccountToken string `json:"accountToken,omitempty"`
}
RegenerateAccountTokenOKBody regenerate account token o k body swagger:model RegenerateAccountTokenOKBody
func (*RegenerateAccountTokenOKBody) ContextValidate ¶ added in v1.0.0
func (o *RegenerateAccountTokenOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this regenerate account token o k body based on context it is used
func (*RegenerateAccountTokenOKBody) MarshalBinary ¶ added in v1.0.0
func (o *RegenerateAccountTokenOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RegenerateAccountTokenOKBody) UnmarshalBinary ¶ added in v1.0.0
func (o *RegenerateAccountTokenOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RegenerateAccountTokenParams ¶ added in v1.0.0
type RegenerateAccountTokenParams struct {
// Body.
Body RegenerateAccountTokenBody
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
RegenerateAccountTokenParams contains all the parameters to send to the API endpoint
for the regenerate account token operation. Typically these are written to a http.Request.
func NewRegenerateAccountTokenParams ¶ added in v1.0.0
func NewRegenerateAccountTokenParams() *RegenerateAccountTokenParams
NewRegenerateAccountTokenParams creates a new RegenerateAccountTokenParams 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 NewRegenerateAccountTokenParamsWithContext ¶ added in v1.0.0
func NewRegenerateAccountTokenParamsWithContext(ctx context.Context) *RegenerateAccountTokenParams
NewRegenerateAccountTokenParamsWithContext creates a new RegenerateAccountTokenParams object with the ability to set a context for a request.
func NewRegenerateAccountTokenParamsWithHTTPClient ¶ added in v1.0.0
func NewRegenerateAccountTokenParamsWithHTTPClient(client *http.Client) *RegenerateAccountTokenParams
NewRegenerateAccountTokenParamsWithHTTPClient creates a new RegenerateAccountTokenParams object with the ability to set a custom HTTPClient for a request.
func NewRegenerateAccountTokenParamsWithTimeout ¶ added in v1.0.0
func NewRegenerateAccountTokenParamsWithTimeout(timeout time.Duration) *RegenerateAccountTokenParams
NewRegenerateAccountTokenParamsWithTimeout creates a new RegenerateAccountTokenParams object with the ability to set a timeout on a request.
func (*RegenerateAccountTokenParams) SetBody ¶ added in v1.0.0
func (o *RegenerateAccountTokenParams) SetBody(body RegenerateAccountTokenBody)
SetBody adds the body to the regenerate account token params
func (*RegenerateAccountTokenParams) SetContext ¶ added in v1.0.0
func (o *RegenerateAccountTokenParams) SetContext(ctx context.Context)
SetContext adds the context to the regenerate account token params
func (*RegenerateAccountTokenParams) SetDefaults ¶ added in v1.0.0
func (o *RegenerateAccountTokenParams) SetDefaults()
SetDefaults hydrates default values in the regenerate account token params (not the query body).
All values with no default are reset to their zero value.
func (*RegenerateAccountTokenParams) SetHTTPClient ¶ added in v1.0.0
func (o *RegenerateAccountTokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the regenerate account token params
func (*RegenerateAccountTokenParams) SetTimeout ¶ added in v1.0.0
func (o *RegenerateAccountTokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the regenerate account token params
func (*RegenerateAccountTokenParams) WithBody ¶ added in v1.0.0
func (o *RegenerateAccountTokenParams) WithBody(body RegenerateAccountTokenBody) *RegenerateAccountTokenParams
WithBody adds the body to the regenerate account token params
func (*RegenerateAccountTokenParams) WithContext ¶ added in v1.0.0
func (o *RegenerateAccountTokenParams) WithContext(ctx context.Context) *RegenerateAccountTokenParams
WithContext adds the context to the regenerate account token params
func (*RegenerateAccountTokenParams) WithDefaults ¶ added in v1.0.0
func (o *RegenerateAccountTokenParams) WithDefaults() *RegenerateAccountTokenParams
WithDefaults hydrates default values in the regenerate account token params (not the query body).
All values with no default are reset to their zero value.
func (*RegenerateAccountTokenParams) WithHTTPClient ¶ added in v1.0.0
func (o *RegenerateAccountTokenParams) WithHTTPClient(client *http.Client) *RegenerateAccountTokenParams
WithHTTPClient adds the HTTPClient to the regenerate account token params
func (*RegenerateAccountTokenParams) WithTimeout ¶ added in v1.0.0
func (o *RegenerateAccountTokenParams) WithTimeout(timeout time.Duration) *RegenerateAccountTokenParams
WithTimeout adds the timeout to the regenerate account token params
func (*RegenerateAccountTokenParams) WriteToRequest ¶ added in v1.0.0
func (o *RegenerateAccountTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RegenerateAccountTokenReader ¶ added in v1.0.0
type RegenerateAccountTokenReader struct {
// contains filtered or unexported fields
}
RegenerateAccountTokenReader is a Reader for the RegenerateAccountToken structure.
func (*RegenerateAccountTokenReader) ReadResponse ¶ added in v1.0.0
func (o *RegenerateAccountTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RegisterBody ¶ added in v1.0.0
type RegisterBody struct {
// password
Password string `json:"password,omitempty"`
// register token
RegisterToken string `json:"registerToken,omitempty"`
}
RegisterBody register body swagger:model RegisterBody
func (*RegisterBody) ContextValidate ¶ added in v1.0.0
ContextValidate validates this register body based on context it is used
func (*RegisterBody) MarshalBinary ¶ added in v1.0.0
func (o *RegisterBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RegisterBody) UnmarshalBinary ¶ added in v1.0.0
func (o *RegisterBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RegisterInternalServerError ¶
type RegisterInternalServerError struct {
}
RegisterInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewRegisterInternalServerError ¶
func NewRegisterInternalServerError() *RegisterInternalServerError
NewRegisterInternalServerError creates a RegisterInternalServerError with default headers values
func (*RegisterInternalServerError) Code ¶ added in v0.4.19
func (o *RegisterInternalServerError) Code() int
Code gets the status code for the register internal server error response
func (*RegisterInternalServerError) Error ¶
func (o *RegisterInternalServerError) Error() string
func (*RegisterInternalServerError) IsClientError ¶
func (o *RegisterInternalServerError) IsClientError() bool
IsClientError returns true when this register internal server error response has a 4xx status code
func (*RegisterInternalServerError) IsCode ¶
func (o *RegisterInternalServerError) IsCode(code int) bool
IsCode returns true when this register internal server error response a status code equal to that given
func (*RegisterInternalServerError) IsRedirect ¶
func (o *RegisterInternalServerError) IsRedirect() bool
IsRedirect returns true when this register internal server error response has a 3xx status code
func (*RegisterInternalServerError) IsServerError ¶
func (o *RegisterInternalServerError) IsServerError() bool
IsServerError returns true when this register internal server error response has a 5xx status code
func (*RegisterInternalServerError) IsSuccess ¶
func (o *RegisterInternalServerError) IsSuccess() bool
IsSuccess returns true when this register internal server error response has a 2xx status code
func (*RegisterInternalServerError) String ¶
func (o *RegisterInternalServerError) String() string
type RegisterNotFound ¶
type RegisterNotFound struct {
}
RegisterNotFound describes a response with status code 404, with default header values.
request not found
func NewRegisterNotFound ¶
func NewRegisterNotFound() *RegisterNotFound
NewRegisterNotFound creates a RegisterNotFound with default headers values
func (*RegisterNotFound) Code ¶ added in v0.4.19
func (o *RegisterNotFound) Code() int
Code gets the status code for the register not found response
func (*RegisterNotFound) Error ¶
func (o *RegisterNotFound) Error() string
func (*RegisterNotFound) IsClientError ¶
func (o *RegisterNotFound) IsClientError() bool
IsClientError returns true when this register not found response has a 4xx status code
func (*RegisterNotFound) IsCode ¶
func (o *RegisterNotFound) IsCode(code int) bool
IsCode returns true when this register not found response a status code equal to that given
func (*RegisterNotFound) IsRedirect ¶
func (o *RegisterNotFound) IsRedirect() bool
IsRedirect returns true when this register not found response has a 3xx status code
func (*RegisterNotFound) IsServerError ¶
func (o *RegisterNotFound) IsServerError() bool
IsServerError returns true when this register not found response has a 5xx status code
func (*RegisterNotFound) IsSuccess ¶
func (o *RegisterNotFound) IsSuccess() bool
IsSuccess returns true when this register not found response has a 2xx status code
func (*RegisterNotFound) String ¶
func (o *RegisterNotFound) String() string
type RegisterOK ¶
type RegisterOK struct {
Payload *RegisterOKBody
}
RegisterOK describes a response with status code 200, with default header values.
account created
func NewRegisterOK ¶
func NewRegisterOK() *RegisterOK
NewRegisterOK creates a RegisterOK with default headers values
func (*RegisterOK) Code ¶ added in v0.4.19
func (o *RegisterOK) Code() int
Code gets the status code for the register o k response
func (*RegisterOK) Error ¶
func (o *RegisterOK) Error() string
func (*RegisterOK) GetPayload ¶
func (o *RegisterOK) GetPayload() *RegisterOKBody
func (*RegisterOK) IsClientError ¶
func (o *RegisterOK) IsClientError() bool
IsClientError returns true when this register o k response has a 4xx status code
func (*RegisterOK) IsCode ¶
func (o *RegisterOK) IsCode(code int) bool
IsCode returns true when this register o k response a status code equal to that given
func (*RegisterOK) IsRedirect ¶
func (o *RegisterOK) IsRedirect() bool
IsRedirect returns true when this register o k response has a 3xx status code
func (*RegisterOK) IsServerError ¶
func (o *RegisterOK) IsServerError() bool
IsServerError returns true when this register o k response has a 5xx status code
func (*RegisterOK) IsSuccess ¶
func (o *RegisterOK) IsSuccess() bool
IsSuccess returns true when this register o k response has a 2xx status code
func (*RegisterOK) String ¶
func (o *RegisterOK) String() string
type RegisterOKBody ¶ added in v1.0.0
type RegisterOKBody struct {
// account token
AccountToken string `json:"accountToken,omitempty"`
}
RegisterOKBody register o k body swagger:model RegisterOKBody
func (*RegisterOKBody) ContextValidate ¶ added in v1.0.0
ContextValidate validates this register o k body based on context it is used
func (*RegisterOKBody) MarshalBinary ¶ added in v1.0.0
func (o *RegisterOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RegisterOKBody) UnmarshalBinary ¶ added in v1.0.0
func (o *RegisterOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RegisterParams ¶
type RegisterParams struct {
// Body.
Body RegisterBody
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
RegisterParams contains all the parameters to send to the API endpoint
for the register operation. Typically these are written to a http.Request.
func NewRegisterParams ¶
func NewRegisterParams() *RegisterParams
NewRegisterParams creates a new RegisterParams 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 NewRegisterParamsWithContext ¶
func NewRegisterParamsWithContext(ctx context.Context) *RegisterParams
NewRegisterParamsWithContext creates a new RegisterParams object with the ability to set a context for a request.
func NewRegisterParamsWithHTTPClient ¶
func NewRegisterParamsWithHTTPClient(client *http.Client) *RegisterParams
NewRegisterParamsWithHTTPClient creates a new RegisterParams object with the ability to set a custom HTTPClient for a request.
func NewRegisterParamsWithTimeout ¶
func NewRegisterParamsWithTimeout(timeout time.Duration) *RegisterParams
NewRegisterParamsWithTimeout creates a new RegisterParams object with the ability to set a timeout on a request.
func (*RegisterParams) SetBody ¶
func (o *RegisterParams) SetBody(body RegisterBody)
SetBody adds the body to the register params
func (*RegisterParams) SetContext ¶
func (o *RegisterParams) SetContext(ctx context.Context)
SetContext adds the context to the register params
func (*RegisterParams) SetDefaults ¶
func (o *RegisterParams) SetDefaults()
SetDefaults hydrates default values in the register params (not the query body).
All values with no default are reset to their zero value.
func (*RegisterParams) SetHTTPClient ¶
func (o *RegisterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the register params
func (*RegisterParams) SetTimeout ¶
func (o *RegisterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the register params
func (*RegisterParams) WithBody ¶
func (o *RegisterParams) WithBody(body RegisterBody) *RegisterParams
WithBody adds the body to the register params
func (*RegisterParams) WithContext ¶
func (o *RegisterParams) WithContext(ctx context.Context) *RegisterParams
WithContext adds the context to the register params
func (*RegisterParams) WithDefaults ¶
func (o *RegisterParams) WithDefaults() *RegisterParams
WithDefaults hydrates default values in the register params (not the query body).
All values with no default are reset to their zero value.
func (*RegisterParams) WithHTTPClient ¶
func (o *RegisterParams) WithHTTPClient(client *http.Client) *RegisterParams
WithHTTPClient adds the HTTPClient to the register params
func (*RegisterParams) WithTimeout ¶
func (o *RegisterParams) WithTimeout(timeout time.Duration) *RegisterParams
WithTimeout adds the timeout to the register params
func (*RegisterParams) WriteToRequest ¶
func (o *RegisterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RegisterReader ¶
type RegisterReader struct {
// contains filtered or unexported fields
}
RegisterReader is a Reader for the Register structure.
func (*RegisterReader) ReadResponse ¶
func (o *RegisterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RegisterUnprocessableEntity ¶ added in v0.4.0
type RegisterUnprocessableEntity struct {
Payload rest_model_zrok.ErrorMessage
}
RegisterUnprocessableEntity describes a response with status code 422, with default header values.
password validation failure
func NewRegisterUnprocessableEntity ¶ added in v0.4.0
func NewRegisterUnprocessableEntity() *RegisterUnprocessableEntity
NewRegisterUnprocessableEntity creates a RegisterUnprocessableEntity with default headers values
func (*RegisterUnprocessableEntity) Code ¶ added in v0.4.19
func (o *RegisterUnprocessableEntity) Code() int
Code gets the status code for the register unprocessable entity response
func (*RegisterUnprocessableEntity) Error ¶ added in v0.4.0
func (o *RegisterUnprocessableEntity) Error() string
func (*RegisterUnprocessableEntity) GetPayload ¶ added in v0.4.0
func (o *RegisterUnprocessableEntity) GetPayload() rest_model_zrok.ErrorMessage
func (*RegisterUnprocessableEntity) IsClientError ¶ added in v0.4.0
func (o *RegisterUnprocessableEntity) IsClientError() bool
IsClientError returns true when this register unprocessable entity response has a 4xx status code
func (*RegisterUnprocessableEntity) IsCode ¶ added in v0.4.0
func (o *RegisterUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this register unprocessable entity response a status code equal to that given
func (*RegisterUnprocessableEntity) IsRedirect ¶ added in v0.4.0
func (o *RegisterUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this register unprocessable entity response has a 3xx status code
func (*RegisterUnprocessableEntity) IsServerError ¶ added in v0.4.0
func (o *RegisterUnprocessableEntity) IsServerError() bool
IsServerError returns true when this register unprocessable entity response has a 5xx status code
func (*RegisterUnprocessableEntity) IsSuccess ¶ added in v0.4.0
func (o *RegisterUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this register unprocessable entity response has a 2xx status code
func (*RegisterUnprocessableEntity) String ¶ added in v0.4.0
func (o *RegisterUnprocessableEntity) String() string
type ResetPasswordBody ¶ added in v1.0.0
type ResetPasswordBody struct {
// password
Password string `json:"password,omitempty"`
// reset token
ResetToken string `json:"resetToken,omitempty"`
}
ResetPasswordBody reset password body swagger:model ResetPasswordBody
func (*ResetPasswordBody) ContextValidate ¶ added in v1.0.0
ContextValidate validates this reset password body based on context it is used
func (*ResetPasswordBody) MarshalBinary ¶ added in v1.0.0
func (o *ResetPasswordBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResetPasswordBody) UnmarshalBinary ¶ added in v1.0.0
func (o *ResetPasswordBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResetPasswordInternalServerError ¶
type ResetPasswordInternalServerError struct {
}
ResetPasswordInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewResetPasswordInternalServerError ¶
func NewResetPasswordInternalServerError() *ResetPasswordInternalServerError
NewResetPasswordInternalServerError creates a ResetPasswordInternalServerError with default headers values
func (*ResetPasswordInternalServerError) Code ¶ added in v0.4.19
func (o *ResetPasswordInternalServerError) Code() int
Code gets the status code for the reset password internal server error response
func (*ResetPasswordInternalServerError) Error ¶
func (o *ResetPasswordInternalServerError) Error() string
func (*ResetPasswordInternalServerError) IsClientError ¶
func (o *ResetPasswordInternalServerError) IsClientError() bool
IsClientError returns true when this reset password internal server error response has a 4xx status code
func (*ResetPasswordInternalServerError) IsCode ¶
func (o *ResetPasswordInternalServerError) IsCode(code int) bool
IsCode returns true when this reset password internal server error response a status code equal to that given
func (*ResetPasswordInternalServerError) IsRedirect ¶
func (o *ResetPasswordInternalServerError) IsRedirect() bool
IsRedirect returns true when this reset password internal server error response has a 3xx status code
func (*ResetPasswordInternalServerError) IsServerError ¶
func (o *ResetPasswordInternalServerError) IsServerError() bool
IsServerError returns true when this reset password internal server error response has a 5xx status code
func (*ResetPasswordInternalServerError) IsSuccess ¶
func (o *ResetPasswordInternalServerError) IsSuccess() bool
IsSuccess returns true when this reset password internal server error response has a 2xx status code
func (*ResetPasswordInternalServerError) String ¶
func (o *ResetPasswordInternalServerError) String() string
type ResetPasswordNotFound ¶
type ResetPasswordNotFound struct {
}
ResetPasswordNotFound describes a response with status code 404, with default header values.
request not found
func NewResetPasswordNotFound ¶
func NewResetPasswordNotFound() *ResetPasswordNotFound
NewResetPasswordNotFound creates a ResetPasswordNotFound with default headers values
func (*ResetPasswordNotFound) Code ¶ added in v0.4.19
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) 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.
password reset
func NewResetPasswordOK ¶
func NewResetPasswordOK() *ResetPasswordOK
NewResetPasswordOK creates a ResetPasswordOK with default headers values
func (*ResetPasswordOK) Code ¶ added in v0.4.19
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 ResetPasswordBody
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 ResetPasswordBody)
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 ResetPasswordBody) *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 ResetPasswordRequestBadRequest ¶
type ResetPasswordRequestBadRequest struct {
}
ResetPasswordRequestBadRequest describes a response with status code 400, with default header values.
reset password request not created
func NewResetPasswordRequestBadRequest ¶
func NewResetPasswordRequestBadRequest() *ResetPasswordRequestBadRequest
NewResetPasswordRequestBadRequest creates a ResetPasswordRequestBadRequest with default headers values
func (*ResetPasswordRequestBadRequest) Code ¶ added in v0.4.19
func (o *ResetPasswordRequestBadRequest) Code() int
Code gets the status code for the reset password request bad request response
func (*ResetPasswordRequestBadRequest) Error ¶
func (o *ResetPasswordRequestBadRequest) Error() string
func (*ResetPasswordRequestBadRequest) IsClientError ¶
func (o *ResetPasswordRequestBadRequest) IsClientError() bool
IsClientError returns true when this reset password request bad request response has a 4xx status code
func (*ResetPasswordRequestBadRequest) IsCode ¶
func (o *ResetPasswordRequestBadRequest) IsCode(code int) bool
IsCode returns true when this reset password request bad request response a status code equal to that given
func (*ResetPasswordRequestBadRequest) IsRedirect ¶
func (o *ResetPasswordRequestBadRequest) IsRedirect() bool
IsRedirect returns true when this reset password request bad request response has a 3xx status code
func (*ResetPasswordRequestBadRequest) IsServerError ¶
func (o *ResetPasswordRequestBadRequest) IsServerError() bool
IsServerError returns true when this reset password request bad request response has a 5xx status code
func (*ResetPasswordRequestBadRequest) IsSuccess ¶
func (o *ResetPasswordRequestBadRequest) IsSuccess() bool
IsSuccess returns true when this reset password request bad request response has a 2xx status code
func (*ResetPasswordRequestBadRequest) String ¶
func (o *ResetPasswordRequestBadRequest) String() string
type ResetPasswordRequestBody ¶
type ResetPasswordRequestBody struct {
// email address
EmailAddress string `json:"emailAddress,omitempty"`
}
ResetPasswordRequestBody reset password request body swagger:model ResetPasswordRequestBody
func (*ResetPasswordRequestBody) ContextValidate ¶
func (o *ResetPasswordRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this reset password request body based on context it is used
func (*ResetPasswordRequestBody) MarshalBinary ¶
func (o *ResetPasswordRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResetPasswordRequestBody) UnmarshalBinary ¶
func (o *ResetPasswordRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResetPasswordRequestCreated ¶
type ResetPasswordRequestCreated struct {
}
ResetPasswordRequestCreated describes a response with status code 201, with default header values.
reset password request created
func NewResetPasswordRequestCreated ¶
func NewResetPasswordRequestCreated() *ResetPasswordRequestCreated
NewResetPasswordRequestCreated creates a ResetPasswordRequestCreated with default headers values
func (*ResetPasswordRequestCreated) Code ¶ added in v0.4.19
func (o *ResetPasswordRequestCreated) Code() int
Code gets the status code for the reset password request created response
func (*ResetPasswordRequestCreated) Error ¶
func (o *ResetPasswordRequestCreated) Error() string
func (*ResetPasswordRequestCreated) IsClientError ¶
func (o *ResetPasswordRequestCreated) IsClientError() bool
IsClientError returns true when this reset password request created response has a 4xx status code
func (*ResetPasswordRequestCreated) IsCode ¶
func (o *ResetPasswordRequestCreated) IsCode(code int) bool
IsCode returns true when this reset password request created response a status code equal to that given
func (*ResetPasswordRequestCreated) IsRedirect ¶
func (o *ResetPasswordRequestCreated) IsRedirect() bool
IsRedirect returns true when this reset password request created response has a 3xx status code
func (*ResetPasswordRequestCreated) IsServerError ¶
func (o *ResetPasswordRequestCreated) IsServerError() bool
IsServerError returns true when this reset password request created response has a 5xx status code
func (*ResetPasswordRequestCreated) IsSuccess ¶
func (o *ResetPasswordRequestCreated) IsSuccess() bool
IsSuccess returns true when this reset password request created response has a 2xx status code
func (*ResetPasswordRequestCreated) String ¶
func (o *ResetPasswordRequestCreated) String() string
type ResetPasswordRequestInternalServerError ¶
type ResetPasswordRequestInternalServerError struct {
}
ResetPasswordRequestInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewResetPasswordRequestInternalServerError ¶
func NewResetPasswordRequestInternalServerError() *ResetPasswordRequestInternalServerError
NewResetPasswordRequestInternalServerError creates a ResetPasswordRequestInternalServerError with default headers values
func (*ResetPasswordRequestInternalServerError) Code ¶ added in v0.4.19
func (o *ResetPasswordRequestInternalServerError) Code() int
Code gets the status code for the reset password request internal server error response
func (*ResetPasswordRequestInternalServerError) Error ¶
func (o *ResetPasswordRequestInternalServerError) Error() string
func (*ResetPasswordRequestInternalServerError) IsClientError ¶
func (o *ResetPasswordRequestInternalServerError) IsClientError() bool
IsClientError returns true when this reset password request internal server error response has a 4xx status code
func (*ResetPasswordRequestInternalServerError) IsCode ¶
func (o *ResetPasswordRequestInternalServerError) IsCode(code int) bool
IsCode returns true when this reset password request internal server error response a status code equal to that given
func (*ResetPasswordRequestInternalServerError) IsRedirect ¶
func (o *ResetPasswordRequestInternalServerError) IsRedirect() bool
IsRedirect returns true when this reset password request internal server error response has a 3xx status code
func (*ResetPasswordRequestInternalServerError) IsServerError ¶
func (o *ResetPasswordRequestInternalServerError) IsServerError() bool
IsServerError returns true when this reset password request internal server error response has a 5xx status code
func (*ResetPasswordRequestInternalServerError) IsSuccess ¶
func (o *ResetPasswordRequestInternalServerError) IsSuccess() bool
IsSuccess returns true when this reset password request internal server error response has a 2xx status code
func (*ResetPasswordRequestInternalServerError) String ¶
func (o *ResetPasswordRequestInternalServerError) String() string
type ResetPasswordRequestParams ¶
type ResetPasswordRequestParams struct {
// Body.
Body ResetPasswordRequestBody
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ResetPasswordRequestParams contains all the parameters to send to the API endpoint
for the reset password request operation. Typically these are written to a http.Request.
func NewResetPasswordRequestParams ¶
func NewResetPasswordRequestParams() *ResetPasswordRequestParams
NewResetPasswordRequestParams creates a new ResetPasswordRequestParams 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 NewResetPasswordRequestParamsWithContext ¶
func NewResetPasswordRequestParamsWithContext(ctx context.Context) *ResetPasswordRequestParams
NewResetPasswordRequestParamsWithContext creates a new ResetPasswordRequestParams object with the ability to set a context for a request.
func NewResetPasswordRequestParamsWithHTTPClient ¶
func NewResetPasswordRequestParamsWithHTTPClient(client *http.Client) *ResetPasswordRequestParams
NewResetPasswordRequestParamsWithHTTPClient creates a new ResetPasswordRequestParams object with the ability to set a custom HTTPClient for a request.
func NewResetPasswordRequestParamsWithTimeout ¶
func NewResetPasswordRequestParamsWithTimeout(timeout time.Duration) *ResetPasswordRequestParams
NewResetPasswordRequestParamsWithTimeout creates a new ResetPasswordRequestParams object with the ability to set a timeout on a request.
func (*ResetPasswordRequestParams) SetBody ¶
func (o *ResetPasswordRequestParams) SetBody(body ResetPasswordRequestBody)
SetBody adds the body to the reset password request params
func (*ResetPasswordRequestParams) SetContext ¶
func (o *ResetPasswordRequestParams) SetContext(ctx context.Context)
SetContext adds the context to the reset password request params
func (*ResetPasswordRequestParams) SetDefaults ¶
func (o *ResetPasswordRequestParams) SetDefaults()
SetDefaults hydrates default values in the reset password request params (not the query body).
All values with no default are reset to their zero value.
func (*ResetPasswordRequestParams) SetHTTPClient ¶
func (o *ResetPasswordRequestParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reset password request params
func (*ResetPasswordRequestParams) SetTimeout ¶
func (o *ResetPasswordRequestParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reset password request params
func (*ResetPasswordRequestParams) WithBody ¶
func (o *ResetPasswordRequestParams) WithBody(body ResetPasswordRequestBody) *ResetPasswordRequestParams
WithBody adds the body to the reset password request params
func (*ResetPasswordRequestParams) WithContext ¶
func (o *ResetPasswordRequestParams) WithContext(ctx context.Context) *ResetPasswordRequestParams
WithContext adds the context to the reset password request params
func (*ResetPasswordRequestParams) WithDefaults ¶
func (o *ResetPasswordRequestParams) WithDefaults() *ResetPasswordRequestParams
WithDefaults hydrates default values in the reset password request params (not the query body).
All values with no default are reset to their zero value.
func (*ResetPasswordRequestParams) WithHTTPClient ¶
func (o *ResetPasswordRequestParams) WithHTTPClient(client *http.Client) *ResetPasswordRequestParams
WithHTTPClient adds the HTTPClient to the reset password request params
func (*ResetPasswordRequestParams) WithTimeout ¶
func (o *ResetPasswordRequestParams) WithTimeout(timeout time.Duration) *ResetPasswordRequestParams
WithTimeout adds the timeout to the reset password request params
func (*ResetPasswordRequestParams) WriteToRequest ¶
func (o *ResetPasswordRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ResetPasswordRequestReader ¶
type ResetPasswordRequestReader struct {
// contains filtered or unexported fields
}
ResetPasswordRequestReader is a Reader for the ResetPasswordRequest structure.
func (*ResetPasswordRequestReader) ReadResponse ¶
func (o *ResetPasswordRequestReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ResetPasswordUnprocessableEntity ¶ added in v0.4.0
type ResetPasswordUnprocessableEntity struct {
Payload rest_model_zrok.ErrorMessage
}
ResetPasswordUnprocessableEntity describes a response with status code 422, with default header values.
password validation failure
func NewResetPasswordUnprocessableEntity ¶ added in v0.4.0
func NewResetPasswordUnprocessableEntity() *ResetPasswordUnprocessableEntity
NewResetPasswordUnprocessableEntity creates a ResetPasswordUnprocessableEntity with default headers values
func (*ResetPasswordUnprocessableEntity) Code ¶ added in v0.4.19
func (o *ResetPasswordUnprocessableEntity) Code() int
Code gets the status code for the reset password unprocessable entity response
func (*ResetPasswordUnprocessableEntity) Error ¶ added in v0.4.0
func (o *ResetPasswordUnprocessableEntity) Error() string
func (*ResetPasswordUnprocessableEntity) GetPayload ¶ added in v0.4.0
func (o *ResetPasswordUnprocessableEntity) GetPayload() rest_model_zrok.ErrorMessage
func (*ResetPasswordUnprocessableEntity) IsClientError ¶ added in v0.4.0
func (o *ResetPasswordUnprocessableEntity) IsClientError() bool
IsClientError returns true when this reset password unprocessable entity response has a 4xx status code
func (*ResetPasswordUnprocessableEntity) IsCode ¶ added in v0.4.0
func (o *ResetPasswordUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this reset password unprocessable entity response a status code equal to that given
func (*ResetPasswordUnprocessableEntity) IsRedirect ¶ added in v0.4.0
func (o *ResetPasswordUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this reset password unprocessable entity response has a 3xx status code
func (*ResetPasswordUnprocessableEntity) IsServerError ¶ added in v0.4.0
func (o *ResetPasswordUnprocessableEntity) IsServerError() bool
IsServerError returns true when this reset password unprocessable entity response has a 5xx status code
func (*ResetPasswordUnprocessableEntity) IsSuccess ¶ added in v0.4.0
func (o *ResetPasswordUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this reset password unprocessable entity response has a 2xx status code
func (*ResetPasswordUnprocessableEntity) String ¶ added in v0.4.0
func (o *ResetPasswordUnprocessableEntity) String() string
type VerifyBody ¶ added in v1.0.0
type VerifyBody struct {
// register token
RegisterToken string `json:"registerToken,omitempty"`
}
VerifyBody verify body swagger:model VerifyBody
func (*VerifyBody) ContextValidate ¶ added in v1.0.0
ContextValidate validates this verify body based on context it is used
func (*VerifyBody) MarshalBinary ¶ added in v1.0.0
func (o *VerifyBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VerifyBody) UnmarshalBinary ¶ added in v1.0.0
func (o *VerifyBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VerifyInternalServerError ¶
type VerifyInternalServerError struct {
}
VerifyInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewVerifyInternalServerError ¶
func NewVerifyInternalServerError() *VerifyInternalServerError
NewVerifyInternalServerError creates a VerifyInternalServerError with default headers values
func (*VerifyInternalServerError) Code ¶ added in v0.4.19
func (o *VerifyInternalServerError) Code() int
Code gets the status code for the verify internal server error response
func (*VerifyInternalServerError) Error ¶
func (o *VerifyInternalServerError) Error() string
func (*VerifyInternalServerError) IsClientError ¶
func (o *VerifyInternalServerError) IsClientError() bool
IsClientError returns true when this verify internal server error response has a 4xx status code
func (*VerifyInternalServerError) IsCode ¶
func (o *VerifyInternalServerError) IsCode(code int) bool
IsCode returns true when this verify internal server error response a status code equal to that given
func (*VerifyInternalServerError) IsRedirect ¶
func (o *VerifyInternalServerError) IsRedirect() bool
IsRedirect returns true when this verify internal server error response has a 3xx status code
func (*VerifyInternalServerError) IsServerError ¶
func (o *VerifyInternalServerError) IsServerError() bool
IsServerError returns true when this verify internal server error response has a 5xx status code
func (*VerifyInternalServerError) IsSuccess ¶
func (o *VerifyInternalServerError) IsSuccess() bool
IsSuccess returns true when this verify internal server error response has a 2xx status code
func (*VerifyInternalServerError) String ¶
func (o *VerifyInternalServerError) String() string
type VerifyNotFound ¶
type VerifyNotFound struct {
}
VerifyNotFound describes a response with status code 404, with default header values.
registration token not found
func NewVerifyNotFound ¶
func NewVerifyNotFound() *VerifyNotFound
NewVerifyNotFound creates a VerifyNotFound with default headers values
func (*VerifyNotFound) Code ¶ added in v0.4.19
func (o *VerifyNotFound) Code() int
Code gets the status code for the verify not found response
func (*VerifyNotFound) Error ¶
func (o *VerifyNotFound) Error() string
func (*VerifyNotFound) IsClientError ¶
func (o *VerifyNotFound) IsClientError() bool
IsClientError returns true when this verify not found response has a 4xx status code
func (*VerifyNotFound) IsCode ¶
func (o *VerifyNotFound) IsCode(code int) bool
IsCode returns true when this verify not found response a status code equal to that given
func (*VerifyNotFound) IsRedirect ¶
func (o *VerifyNotFound) IsRedirect() bool
IsRedirect returns true when this verify not found response has a 3xx status code
func (*VerifyNotFound) IsServerError ¶
func (o *VerifyNotFound) IsServerError() bool
IsServerError returns true when this verify not found response has a 5xx status code
func (*VerifyNotFound) IsSuccess ¶
func (o *VerifyNotFound) IsSuccess() bool
IsSuccess returns true when this verify not found response has a 2xx status code
func (*VerifyNotFound) String ¶
func (o *VerifyNotFound) String() string
type VerifyOK ¶
type VerifyOK struct {
Payload *VerifyOKBody
}
VerifyOK describes a response with status code 200, with default header values.
registration token ready
func NewVerifyOK ¶
func NewVerifyOK() *VerifyOK
NewVerifyOK creates a VerifyOK with default headers values
func (*VerifyOK) GetPayload ¶
func (o *VerifyOK) GetPayload() *VerifyOKBody
func (*VerifyOK) IsClientError ¶
IsClientError returns true when this verify o k response has a 4xx status code
func (*VerifyOK) IsCode ¶
IsCode returns true when this verify o k response a status code equal to that given
func (*VerifyOK) IsRedirect ¶
IsRedirect returns true when this verify o k response has a 3xx status code
func (*VerifyOK) IsServerError ¶
IsServerError returns true when this verify o k response has a 5xx status code
type VerifyOKBody ¶ added in v1.0.0
type VerifyOKBody struct {
// email
Email string `json:"email,omitempty"`
}
VerifyOKBody verify o k body swagger:model VerifyOKBody
func (*VerifyOKBody) ContextValidate ¶ added in v1.0.0
ContextValidate validates this verify o k body based on context it is used
func (*VerifyOKBody) MarshalBinary ¶ added in v1.0.0
func (o *VerifyOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VerifyOKBody) UnmarshalBinary ¶ added in v1.0.0
func (o *VerifyOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VerifyParams ¶
type VerifyParams struct {
// Body.
Body VerifyBody
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
VerifyParams contains all the parameters to send to the API endpoint
for the verify operation. Typically these are written to a http.Request.
func NewVerifyParams ¶
func NewVerifyParams() *VerifyParams
NewVerifyParams creates a new VerifyParams 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 NewVerifyParamsWithContext ¶
func NewVerifyParamsWithContext(ctx context.Context) *VerifyParams
NewVerifyParamsWithContext creates a new VerifyParams object with the ability to set a context for a request.
func NewVerifyParamsWithHTTPClient ¶
func NewVerifyParamsWithHTTPClient(client *http.Client) *VerifyParams
NewVerifyParamsWithHTTPClient creates a new VerifyParams object with the ability to set a custom HTTPClient for a request.
func NewVerifyParamsWithTimeout ¶
func NewVerifyParamsWithTimeout(timeout time.Duration) *VerifyParams
NewVerifyParamsWithTimeout creates a new VerifyParams object with the ability to set a timeout on a request.
func (*VerifyParams) SetBody ¶
func (o *VerifyParams) SetBody(body VerifyBody)
SetBody adds the body to the verify params
func (*VerifyParams) SetContext ¶
func (o *VerifyParams) SetContext(ctx context.Context)
SetContext adds the context to the verify params
func (*VerifyParams) SetDefaults ¶
func (o *VerifyParams) SetDefaults()
SetDefaults hydrates default values in the verify params (not the query body).
All values with no default are reset to their zero value.
func (*VerifyParams) SetHTTPClient ¶
func (o *VerifyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the verify params
func (*VerifyParams) SetTimeout ¶
func (o *VerifyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the verify params
func (*VerifyParams) WithBody ¶
func (o *VerifyParams) WithBody(body VerifyBody) *VerifyParams
WithBody adds the body to the verify params
func (*VerifyParams) WithContext ¶
func (o *VerifyParams) WithContext(ctx context.Context) *VerifyParams
WithContext adds the context to the verify params
func (*VerifyParams) WithDefaults ¶
func (o *VerifyParams) WithDefaults() *VerifyParams
WithDefaults hydrates default values in the verify params (not the query body).
All values with no default are reset to their zero value.
func (*VerifyParams) WithHTTPClient ¶
func (o *VerifyParams) WithHTTPClient(client *http.Client) *VerifyParams
WithHTTPClient adds the HTTPClient to the verify params
func (*VerifyParams) WithTimeout ¶
func (o *VerifyParams) WithTimeout(timeout time.Duration) *VerifyParams
WithTimeout adds the timeout to the verify params
func (*VerifyParams) WriteToRequest ¶
func (o *VerifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type VerifyReader ¶
type VerifyReader struct {
// contains filtered or unexported fields
}
VerifyReader is a Reader for the Verify structure.
func (*VerifyReader) ReadResponse ¶
func (o *VerifyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- account_client.go
- change_password_parameters.go
- change_password_responses.go
- invite_parameters.go
- invite_responses.go
- login_parameters.go
- login_responses.go
- regenerate_account_token_parameters.go
- regenerate_account_token_responses.go
- register_parameters.go
- register_responses.go
- reset_password_parameters.go
- reset_password_request_parameters.go
- reset_password_request_responses.go
- reset_password_responses.go
- verify_parameters.go
- verify_responses.go