Documentation ¶
Index ¶
- type ChangePasswordBadRequest
- func (o *ChangePasswordBadRequest) Code() int
- func (o *ChangePasswordBadRequest) Error() string
- func (o *ChangePasswordBadRequest) GetPayload() *models.Error
- 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 ChangePasswordForbidden
- func (o *ChangePasswordForbidden) Code() int
- func (o *ChangePasswordForbidden) Error() string
- func (o *ChangePasswordForbidden) GetPayload() *models.Error
- func (o *ChangePasswordForbidden) IsClientError() bool
- func (o *ChangePasswordForbidden) IsCode(code int) bool
- func (o *ChangePasswordForbidden) IsRedirect() bool
- func (o *ChangePasswordForbidden) IsServerError() bool
- func (o *ChangePasswordForbidden) IsSuccess() bool
- func (o *ChangePasswordForbidden) String() string
- type ChangePasswordNoContent
- func (o *ChangePasswordNoContent) Code() int
- func (o *ChangePasswordNoContent) Error() string
- func (o *ChangePasswordNoContent) IsClientError() bool
- func (o *ChangePasswordNoContent) IsCode(code int) bool
- func (o *ChangePasswordNoContent) IsRedirect() bool
- func (o *ChangePasswordNoContent) IsServerError() bool
- func (o *ChangePasswordNoContent) IsSuccess() bool
- func (o *ChangePasswordNoContent) String() string
- type ChangePasswordNotFound
- func (o *ChangePasswordNotFound) Code() int
- func (o *ChangePasswordNotFound) Error() string
- func (o *ChangePasswordNotFound) GetPayload() *models.Error
- func (o *ChangePasswordNotFound) IsClientError() bool
- func (o *ChangePasswordNotFound) IsCode(code int) bool
- func (o *ChangePasswordNotFound) IsRedirect() bool
- func (o *ChangePasswordNotFound) IsServerError() bool
- func (o *ChangePasswordNotFound) IsSuccess() bool
- func (o *ChangePasswordNotFound) String() string
- type 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) SetChangePassword(changePassword *models.ChangePassword)
- func (o *ChangePasswordParams) SetContext(ctx context.Context)
- func (o *ChangePasswordParams) SetDefaults()
- func (o *ChangePasswordParams) SetHTTPClient(client *http.Client)
- func (o *ChangePasswordParams) SetIfMatch(ifMatch *string)
- func (o *ChangePasswordParams) SetTimeout(timeout time.Duration)
- func (o *ChangePasswordParams) WithChangePassword(changePassword *models.ChangePassword) *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) WithIfMatch(ifMatch *string) *ChangePasswordParams
- func (o *ChangePasswordParams) WithTimeout(timeout time.Duration) *ChangePasswordParams
- func (o *ChangePasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangePasswordPreconditionFailed
- func (o *ChangePasswordPreconditionFailed) Code() int
- func (o *ChangePasswordPreconditionFailed) Error() string
- func (o *ChangePasswordPreconditionFailed) GetPayload() *models.Error
- func (o *ChangePasswordPreconditionFailed) IsClientError() bool
- func (o *ChangePasswordPreconditionFailed) IsCode(code int) bool
- func (o *ChangePasswordPreconditionFailed) IsRedirect() bool
- func (o *ChangePasswordPreconditionFailed) IsServerError() bool
- func (o *ChangePasswordPreconditionFailed) IsSuccess() bool
- func (o *ChangePasswordPreconditionFailed) String() string
- type ChangePasswordReader
- type ChangePasswordTooManyRequests
- func (o *ChangePasswordTooManyRequests) Code() int
- func (o *ChangePasswordTooManyRequests) Error() string
- func (o *ChangePasswordTooManyRequests) GetPayload() *models.Error
- func (o *ChangePasswordTooManyRequests) IsClientError() bool
- func (o *ChangePasswordTooManyRequests) IsCode(code int) bool
- func (o *ChangePasswordTooManyRequests) IsRedirect() bool
- func (o *ChangePasswordTooManyRequests) IsServerError() bool
- func (o *ChangePasswordTooManyRequests) IsSuccess() bool
- func (o *ChangePasswordTooManyRequests) String() string
- type ChangePasswordUnauthorized
- func (o *ChangePasswordUnauthorized) Code() int
- func (o *ChangePasswordUnauthorized) Error() string
- func (o *ChangePasswordUnauthorized) GetPayload() *models.Error
- 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() *models.Error
- 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 ChangePasswordV2BadRequest
- func (o *ChangePasswordV2BadRequest) Code() int
- func (o *ChangePasswordV2BadRequest) Error() string
- func (o *ChangePasswordV2BadRequest) GetPayload() *models.Error
- func (o *ChangePasswordV2BadRequest) IsClientError() bool
- func (o *ChangePasswordV2BadRequest) IsCode(code int) bool
- func (o *ChangePasswordV2BadRequest) IsRedirect() bool
- func (o *ChangePasswordV2BadRequest) IsServerError() bool
- func (o *ChangePasswordV2BadRequest) IsSuccess() bool
- func (o *ChangePasswordV2BadRequest) String() string
- type ChangePasswordV2Forbidden
- func (o *ChangePasswordV2Forbidden) Code() int
- func (o *ChangePasswordV2Forbidden) Error() string
- func (o *ChangePasswordV2Forbidden) GetPayload() *models.Error
- func (o *ChangePasswordV2Forbidden) IsClientError() bool
- func (o *ChangePasswordV2Forbidden) IsCode(code int) bool
- func (o *ChangePasswordV2Forbidden) IsRedirect() bool
- func (o *ChangePasswordV2Forbidden) IsServerError() bool
- func (o *ChangePasswordV2Forbidden) IsSuccess() bool
- func (o *ChangePasswordV2Forbidden) String() string
- type ChangePasswordV2NoContent
- func (o *ChangePasswordV2NoContent) Code() int
- func (o *ChangePasswordV2NoContent) Error() string
- func (o *ChangePasswordV2NoContent) IsClientError() bool
- func (o *ChangePasswordV2NoContent) IsCode(code int) bool
- func (o *ChangePasswordV2NoContent) IsRedirect() bool
- func (o *ChangePasswordV2NoContent) IsServerError() bool
- func (o *ChangePasswordV2NoContent) IsSuccess() bool
- func (o *ChangePasswordV2NoContent) String() string
- type ChangePasswordV2NotFound
- func (o *ChangePasswordV2NotFound) Code() int
- func (o *ChangePasswordV2NotFound) Error() string
- func (o *ChangePasswordV2NotFound) GetPayload() *models.Error
- func (o *ChangePasswordV2NotFound) IsClientError() bool
- func (o *ChangePasswordV2NotFound) IsCode(code int) bool
- func (o *ChangePasswordV2NotFound) IsRedirect() bool
- func (o *ChangePasswordV2NotFound) IsServerError() bool
- func (o *ChangePasswordV2NotFound) IsSuccess() bool
- func (o *ChangePasswordV2NotFound) String() string
- type ChangePasswordV2Params
- func NewChangePasswordV2Params() *ChangePasswordV2Params
- func NewChangePasswordV2ParamsWithContext(ctx context.Context) *ChangePasswordV2Params
- func NewChangePasswordV2ParamsWithHTTPClient(client *http.Client) *ChangePasswordV2Params
- func NewChangePasswordV2ParamsWithTimeout(timeout time.Duration) *ChangePasswordV2Params
- func (o *ChangePasswordV2Params) SetChangePassword(changePassword *models.ChangePassword)
- func (o *ChangePasswordV2Params) SetContext(ctx context.Context)
- func (o *ChangePasswordV2Params) SetDefaults()
- func (o *ChangePasswordV2Params) SetHTTPClient(client *http.Client)
- func (o *ChangePasswordV2Params) SetIfMatch(ifMatch *string)
- func (o *ChangePasswordV2Params) SetTimeout(timeout time.Duration)
- func (o *ChangePasswordV2Params) WithChangePassword(changePassword *models.ChangePassword) *ChangePasswordV2Params
- func (o *ChangePasswordV2Params) WithContext(ctx context.Context) *ChangePasswordV2Params
- func (o *ChangePasswordV2Params) WithDefaults() *ChangePasswordV2Params
- func (o *ChangePasswordV2Params) WithHTTPClient(client *http.Client) *ChangePasswordV2Params
- func (o *ChangePasswordV2Params) WithIfMatch(ifMatch *string) *ChangePasswordV2Params
- func (o *ChangePasswordV2Params) WithTimeout(timeout time.Duration) *ChangePasswordV2Params
- func (o *ChangePasswordV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangePasswordV2PreconditionFailed
- func (o *ChangePasswordV2PreconditionFailed) Code() int
- func (o *ChangePasswordV2PreconditionFailed) Error() string
- func (o *ChangePasswordV2PreconditionFailed) GetPayload() *models.Error
- func (o *ChangePasswordV2PreconditionFailed) IsClientError() bool
- func (o *ChangePasswordV2PreconditionFailed) IsCode(code int) bool
- func (o *ChangePasswordV2PreconditionFailed) IsRedirect() bool
- func (o *ChangePasswordV2PreconditionFailed) IsServerError() bool
- func (o *ChangePasswordV2PreconditionFailed) IsSuccess() bool
- func (o *ChangePasswordV2PreconditionFailed) String() string
- type ChangePasswordV2Reader
- type ChangePasswordV2TooManyRequests
- func (o *ChangePasswordV2TooManyRequests) Code() int
- func (o *ChangePasswordV2TooManyRequests) Error() string
- func (o *ChangePasswordV2TooManyRequests) GetPayload() *models.Error
- func (o *ChangePasswordV2TooManyRequests) IsClientError() bool
- func (o *ChangePasswordV2TooManyRequests) IsCode(code int) bool
- func (o *ChangePasswordV2TooManyRequests) IsRedirect() bool
- func (o *ChangePasswordV2TooManyRequests) IsServerError() bool
- func (o *ChangePasswordV2TooManyRequests) IsSuccess() bool
- func (o *ChangePasswordV2TooManyRequests) String() string
- type ChangePasswordV2Unauthorized
- func (o *ChangePasswordV2Unauthorized) Code() int
- func (o *ChangePasswordV2Unauthorized) Error() string
- func (o *ChangePasswordV2Unauthorized) GetPayload() *models.Error
- func (o *ChangePasswordV2Unauthorized) IsClientError() bool
- func (o *ChangePasswordV2Unauthorized) IsCode(code int) bool
- func (o *ChangePasswordV2Unauthorized) IsRedirect() bool
- func (o *ChangePasswordV2Unauthorized) IsServerError() bool
- func (o *ChangePasswordV2Unauthorized) IsSuccess() bool
- func (o *ChangePasswordV2Unauthorized) String() string
- type ChangePasswordV2UnprocessableEntity
- func (o *ChangePasswordV2UnprocessableEntity) Code() int
- func (o *ChangePasswordV2UnprocessableEntity) Error() string
- func (o *ChangePasswordV2UnprocessableEntity) GetPayload() *models.Error
- func (o *ChangePasswordV2UnprocessableEntity) IsClientError() bool
- func (o *ChangePasswordV2UnprocessableEntity) IsCode(code int) bool
- func (o *ChangePasswordV2UnprocessableEntity) IsRedirect() bool
- func (o *ChangePasswordV2UnprocessableEntity) IsServerError() bool
- func (o *ChangePasswordV2UnprocessableEntity) IsSuccess() bool
- func (o *ChangePasswordV2UnprocessableEntity) String() string
- type Client
- func (a *Client) ChangePassword(params *ChangePasswordParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ChangePasswordNoContent, error)
- func (a *Client) ChangePasswordV2(params *ChangePasswordV2Params, authInfo runtime.ClientAuthInfoWriter, ...) (*ChangePasswordV2NoContent, error)
- func (a *Client) GetUserProfile(params *GetUserProfileParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetUserProfileOK, error)
- func (a *Client) GetUserProfileV2(params *GetUserProfileV2Params, authInfo runtime.ClientAuthInfoWriter, ...) (*GetUserProfileV2OK, error)
- func (a *Client) ResetPasswordConfirm(params *ResetPasswordConfirmParams, opts ...ClientOption) (*ResetPasswordConfirmNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateUserProfile(params *UpdateUserProfileParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateUserProfileOK, error)
- func (a *Client) UpdateUserProfileV2(params *UpdateUserProfileV2Params, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateUserProfileV2OK, error)
- type ClientOption
- type ClientService
- type GetUserProfileForbidden
- func (o *GetUserProfileForbidden) Code() int
- func (o *GetUserProfileForbidden) Error() string
- func (o *GetUserProfileForbidden) GetPayload() *models.Error
- func (o *GetUserProfileForbidden) IsClientError() bool
- func (o *GetUserProfileForbidden) IsCode(code int) bool
- func (o *GetUserProfileForbidden) IsRedirect() bool
- func (o *GetUserProfileForbidden) IsServerError() bool
- func (o *GetUserProfileForbidden) IsSuccess() bool
- func (o *GetUserProfileForbidden) String() string
- type GetUserProfileNotFound
- func (o *GetUserProfileNotFound) Code() int
- func (o *GetUserProfileNotFound) Error() string
- func (o *GetUserProfileNotFound) GetPayload() *models.Error
- func (o *GetUserProfileNotFound) IsClientError() bool
- func (o *GetUserProfileNotFound) IsCode(code int) bool
- func (o *GetUserProfileNotFound) IsRedirect() bool
- func (o *GetUserProfileNotFound) IsServerError() bool
- func (o *GetUserProfileNotFound) IsSuccess() bool
- func (o *GetUserProfileNotFound) String() string
- type GetUserProfileOK
- func (o *GetUserProfileOK) Code() int
- func (o *GetUserProfileOK) Error() string
- func (o *GetUserProfileOK) GetPayload() *models.SelfUserWithData
- func (o *GetUserProfileOK) IsClientError() bool
- func (o *GetUserProfileOK) IsCode(code int) bool
- func (o *GetUserProfileOK) IsRedirect() bool
- func (o *GetUserProfileOK) IsServerError() bool
- func (o *GetUserProfileOK) IsSuccess() bool
- func (o *GetUserProfileOK) String() string
- type GetUserProfileParams
- func NewGetUserProfileParams() *GetUserProfileParams
- func NewGetUserProfileParamsWithContext(ctx context.Context) *GetUserProfileParams
- func NewGetUserProfileParamsWithHTTPClient(client *http.Client) *GetUserProfileParams
- func NewGetUserProfileParamsWithTimeout(timeout time.Duration) *GetUserProfileParams
- func (o *GetUserProfileParams) SetContext(ctx context.Context)
- func (o *GetUserProfileParams) SetDefaults()
- func (o *GetUserProfileParams) SetHTTPClient(client *http.Client)
- func (o *GetUserProfileParams) SetIfMatch(ifMatch *string)
- func (o *GetUserProfileParams) SetTimeout(timeout time.Duration)
- func (o *GetUserProfileParams) WithContext(ctx context.Context) *GetUserProfileParams
- func (o *GetUserProfileParams) WithDefaults() *GetUserProfileParams
- func (o *GetUserProfileParams) WithHTTPClient(client *http.Client) *GetUserProfileParams
- func (o *GetUserProfileParams) WithIfMatch(ifMatch *string) *GetUserProfileParams
- func (o *GetUserProfileParams) WithTimeout(timeout time.Duration) *GetUserProfileParams
- func (o *GetUserProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserProfilePreconditionFailed
- func (o *GetUserProfilePreconditionFailed) Code() int
- func (o *GetUserProfilePreconditionFailed) Error() string
- func (o *GetUserProfilePreconditionFailed) GetPayload() *models.Error
- func (o *GetUserProfilePreconditionFailed) IsClientError() bool
- func (o *GetUserProfilePreconditionFailed) IsCode(code int) bool
- func (o *GetUserProfilePreconditionFailed) IsRedirect() bool
- func (o *GetUserProfilePreconditionFailed) IsServerError() bool
- func (o *GetUserProfilePreconditionFailed) IsSuccess() bool
- func (o *GetUserProfilePreconditionFailed) String() string
- type GetUserProfileReader
- type GetUserProfileTooManyRequests
- func (o *GetUserProfileTooManyRequests) Code() int
- func (o *GetUserProfileTooManyRequests) Error() string
- func (o *GetUserProfileTooManyRequests) GetPayload() *models.Error
- func (o *GetUserProfileTooManyRequests) IsClientError() bool
- func (o *GetUserProfileTooManyRequests) IsCode(code int) bool
- func (o *GetUserProfileTooManyRequests) IsRedirect() bool
- func (o *GetUserProfileTooManyRequests) IsServerError() bool
- func (o *GetUserProfileTooManyRequests) IsSuccess() bool
- func (o *GetUserProfileTooManyRequests) String() string
- type GetUserProfileUnauthorized
- func (o *GetUserProfileUnauthorized) Code() int
- func (o *GetUserProfileUnauthorized) Error() string
- func (o *GetUserProfileUnauthorized) GetPayload() *models.Error
- func (o *GetUserProfileUnauthorized) IsClientError() bool
- func (o *GetUserProfileUnauthorized) IsCode(code int) bool
- func (o *GetUserProfileUnauthorized) IsRedirect() bool
- func (o *GetUserProfileUnauthorized) IsServerError() bool
- func (o *GetUserProfileUnauthorized) IsSuccess() bool
- func (o *GetUserProfileUnauthorized) String() string
- type GetUserProfileV2Forbidden
- func (o *GetUserProfileV2Forbidden) Code() int
- func (o *GetUserProfileV2Forbidden) Error() string
- func (o *GetUserProfileV2Forbidden) GetPayload() *models.Error
- func (o *GetUserProfileV2Forbidden) IsClientError() bool
- func (o *GetUserProfileV2Forbidden) IsCode(code int) bool
- func (o *GetUserProfileV2Forbidden) IsRedirect() bool
- func (o *GetUserProfileV2Forbidden) IsServerError() bool
- func (o *GetUserProfileV2Forbidden) IsSuccess() bool
- func (o *GetUserProfileV2Forbidden) String() string
- type GetUserProfileV2NotFound
- func (o *GetUserProfileV2NotFound) Code() int
- func (o *GetUserProfileV2NotFound) Error() string
- func (o *GetUserProfileV2NotFound) GetPayload() *models.Error
- func (o *GetUserProfileV2NotFound) IsClientError() bool
- func (o *GetUserProfileV2NotFound) IsCode(code int) bool
- func (o *GetUserProfileV2NotFound) IsRedirect() bool
- func (o *GetUserProfileV2NotFound) IsServerError() bool
- func (o *GetUserProfileV2NotFound) IsSuccess() bool
- func (o *GetUserProfileV2NotFound) String() string
- type GetUserProfileV2OK
- func (o *GetUserProfileV2OK) Code() int
- func (o *GetUserProfileV2OK) Error() string
- func (o *GetUserProfileV2OK) GetPayload() *models.SelfUserWithDataV2
- func (o *GetUserProfileV2OK) IsClientError() bool
- func (o *GetUserProfileV2OK) IsCode(code int) bool
- func (o *GetUserProfileV2OK) IsRedirect() bool
- func (o *GetUserProfileV2OK) IsServerError() bool
- func (o *GetUserProfileV2OK) IsSuccess() bool
- func (o *GetUserProfileV2OK) String() string
- type GetUserProfileV2Params
- func NewGetUserProfileV2Params() *GetUserProfileV2Params
- func NewGetUserProfileV2ParamsWithContext(ctx context.Context) *GetUserProfileV2Params
- func NewGetUserProfileV2ParamsWithHTTPClient(client *http.Client) *GetUserProfileV2Params
- func NewGetUserProfileV2ParamsWithTimeout(timeout time.Duration) *GetUserProfileV2Params
- func (o *GetUserProfileV2Params) SetContext(ctx context.Context)
- func (o *GetUserProfileV2Params) SetDefaults()
- func (o *GetUserProfileV2Params) SetHTTPClient(client *http.Client)
- func (o *GetUserProfileV2Params) SetTimeout(timeout time.Duration)
- func (o *GetUserProfileV2Params) WithContext(ctx context.Context) *GetUserProfileV2Params
- func (o *GetUserProfileV2Params) WithDefaults() *GetUserProfileV2Params
- func (o *GetUserProfileV2Params) WithHTTPClient(client *http.Client) *GetUserProfileV2Params
- func (o *GetUserProfileV2Params) WithTimeout(timeout time.Duration) *GetUserProfileV2Params
- func (o *GetUserProfileV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserProfileV2PreconditionFailed
- func (o *GetUserProfileV2PreconditionFailed) Code() int
- func (o *GetUserProfileV2PreconditionFailed) Error() string
- func (o *GetUserProfileV2PreconditionFailed) GetPayload() *models.Error
- func (o *GetUserProfileV2PreconditionFailed) IsClientError() bool
- func (o *GetUserProfileV2PreconditionFailed) IsCode(code int) bool
- func (o *GetUserProfileV2PreconditionFailed) IsRedirect() bool
- func (o *GetUserProfileV2PreconditionFailed) IsServerError() bool
- func (o *GetUserProfileV2PreconditionFailed) IsSuccess() bool
- func (o *GetUserProfileV2PreconditionFailed) String() string
- type GetUserProfileV2Reader
- type GetUserProfileV2TooManyRequests
- func (o *GetUserProfileV2TooManyRequests) Code() int
- func (o *GetUserProfileV2TooManyRequests) Error() string
- func (o *GetUserProfileV2TooManyRequests) GetPayload() *models.Error
- func (o *GetUserProfileV2TooManyRequests) IsClientError() bool
- func (o *GetUserProfileV2TooManyRequests) IsCode(code int) bool
- func (o *GetUserProfileV2TooManyRequests) IsRedirect() bool
- func (o *GetUserProfileV2TooManyRequests) IsServerError() bool
- func (o *GetUserProfileV2TooManyRequests) IsSuccess() bool
- func (o *GetUserProfileV2TooManyRequests) String() string
- type GetUserProfileV2Unauthorized
- func (o *GetUserProfileV2Unauthorized) Code() int
- func (o *GetUserProfileV2Unauthorized) Error() string
- func (o *GetUserProfileV2Unauthorized) GetPayload() *models.Error
- func (o *GetUserProfileV2Unauthorized) IsClientError() bool
- func (o *GetUserProfileV2Unauthorized) IsCode(code int) bool
- func (o *GetUserProfileV2Unauthorized) IsRedirect() bool
- func (o *GetUserProfileV2Unauthorized) IsServerError() bool
- func (o *GetUserProfileV2Unauthorized) IsSuccess() bool
- func (o *GetUserProfileV2Unauthorized) String() string
- type ResetPasswordConfirmNoContent
- func (o *ResetPasswordConfirmNoContent) Code() int
- func (o *ResetPasswordConfirmNoContent) Error() string
- func (o *ResetPasswordConfirmNoContent) IsClientError() bool
- func (o *ResetPasswordConfirmNoContent) IsCode(code int) bool
- func (o *ResetPasswordConfirmNoContent) IsRedirect() bool
- func (o *ResetPasswordConfirmNoContent) IsServerError() bool
- func (o *ResetPasswordConfirmNoContent) IsSuccess() bool
- func (o *ResetPasswordConfirmNoContent) String() string
- type ResetPasswordConfirmParams
- func NewResetPasswordConfirmParams() *ResetPasswordConfirmParams
- func NewResetPasswordConfirmParamsWithContext(ctx context.Context) *ResetPasswordConfirmParams
- func NewResetPasswordConfirmParamsWithHTTPClient(client *http.Client) *ResetPasswordConfirmParams
- func NewResetPasswordConfirmParamsWithTimeout(timeout time.Duration) *ResetPasswordConfirmParams
- func (o *ResetPasswordConfirmParams) SetContext(ctx context.Context)
- func (o *ResetPasswordConfirmParams) SetDefaults()
- func (o *ResetPasswordConfirmParams) SetHTTPClient(client *http.Client)
- func (o *ResetPasswordConfirmParams) SetIPID(iPID string)
- func (o *ResetPasswordConfirmParams) SetIfMatch(ifMatch *string)
- func (o *ResetPasswordConfirmParams) SetResetPasswordConfirm(resetPasswordConfirm *models.ResetPasswordConfirm)
- func (o *ResetPasswordConfirmParams) SetTimeout(timeout time.Duration)
- func (o *ResetPasswordConfirmParams) WithContext(ctx context.Context) *ResetPasswordConfirmParams
- func (o *ResetPasswordConfirmParams) WithDefaults() *ResetPasswordConfirmParams
- func (o *ResetPasswordConfirmParams) WithHTTPClient(client *http.Client) *ResetPasswordConfirmParams
- func (o *ResetPasswordConfirmParams) WithIPID(iPID string) *ResetPasswordConfirmParams
- func (o *ResetPasswordConfirmParams) WithIfMatch(ifMatch *string) *ResetPasswordConfirmParams
- func (o *ResetPasswordConfirmParams) WithResetPasswordConfirm(resetPasswordConfirm *models.ResetPasswordConfirm) *ResetPasswordConfirmParams
- func (o *ResetPasswordConfirmParams) WithTimeout(timeout time.Duration) *ResetPasswordConfirmParams
- func (o *ResetPasswordConfirmParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResetPasswordConfirmPreconditionFailed
- func (o *ResetPasswordConfirmPreconditionFailed) Code() int
- func (o *ResetPasswordConfirmPreconditionFailed) Error() string
- func (o *ResetPasswordConfirmPreconditionFailed) GetPayload() *models.Error
- func (o *ResetPasswordConfirmPreconditionFailed) IsClientError() bool
- func (o *ResetPasswordConfirmPreconditionFailed) IsCode(code int) bool
- func (o *ResetPasswordConfirmPreconditionFailed) IsRedirect() bool
- func (o *ResetPasswordConfirmPreconditionFailed) IsServerError() bool
- func (o *ResetPasswordConfirmPreconditionFailed) IsSuccess() bool
- func (o *ResetPasswordConfirmPreconditionFailed) String() string
- type ResetPasswordConfirmReader
- type ResetPasswordConfirmUnauthorized
- func (o *ResetPasswordConfirmUnauthorized) Code() int
- func (o *ResetPasswordConfirmUnauthorized) Error() string
- func (o *ResetPasswordConfirmUnauthorized) GetPayload() *models.Error
- func (o *ResetPasswordConfirmUnauthorized) IsClientError() bool
- func (o *ResetPasswordConfirmUnauthorized) IsCode(code int) bool
- func (o *ResetPasswordConfirmUnauthorized) IsRedirect() bool
- func (o *ResetPasswordConfirmUnauthorized) IsServerError() bool
- func (o *ResetPasswordConfirmUnauthorized) IsSuccess() bool
- func (o *ResetPasswordConfirmUnauthorized) String() string
- type ResetPasswordConfirmUnprocessableEntity
- func (o *ResetPasswordConfirmUnprocessableEntity) Code() int
- func (o *ResetPasswordConfirmUnprocessableEntity) Error() string
- func (o *ResetPasswordConfirmUnprocessableEntity) GetPayload() *models.Error
- func (o *ResetPasswordConfirmUnprocessableEntity) IsClientError() bool
- func (o *ResetPasswordConfirmUnprocessableEntity) IsCode(code int) bool
- func (o *ResetPasswordConfirmUnprocessableEntity) IsRedirect() bool
- func (o *ResetPasswordConfirmUnprocessableEntity) IsServerError() bool
- func (o *ResetPasswordConfirmUnprocessableEntity) IsSuccess() bool
- func (o *ResetPasswordConfirmUnprocessableEntity) String() string
- type UpdateUserProfileBadRequest
- func (o *UpdateUserProfileBadRequest) Code() int
- func (o *UpdateUserProfileBadRequest) Error() string
- func (o *UpdateUserProfileBadRequest) GetPayload() *models.Error
- func (o *UpdateUserProfileBadRequest) IsClientError() bool
- func (o *UpdateUserProfileBadRequest) IsCode(code int) bool
- func (o *UpdateUserProfileBadRequest) IsRedirect() bool
- func (o *UpdateUserProfileBadRequest) IsServerError() bool
- func (o *UpdateUserProfileBadRequest) IsSuccess() bool
- func (o *UpdateUserProfileBadRequest) String() string
- type UpdateUserProfileConflict
- func (o *UpdateUserProfileConflict) Code() int
- func (o *UpdateUserProfileConflict) Error() string
- func (o *UpdateUserProfileConflict) GetPayload() *models.Error
- func (o *UpdateUserProfileConflict) IsClientError() bool
- func (o *UpdateUserProfileConflict) IsCode(code int) bool
- func (o *UpdateUserProfileConflict) IsRedirect() bool
- func (o *UpdateUserProfileConflict) IsServerError() bool
- func (o *UpdateUserProfileConflict) IsSuccess() bool
- func (o *UpdateUserProfileConflict) String() string
- type UpdateUserProfileForbidden
- func (o *UpdateUserProfileForbidden) Code() int
- func (o *UpdateUserProfileForbidden) Error() string
- func (o *UpdateUserProfileForbidden) GetPayload() *models.Error
- func (o *UpdateUserProfileForbidden) IsClientError() bool
- func (o *UpdateUserProfileForbidden) IsCode(code int) bool
- func (o *UpdateUserProfileForbidden) IsRedirect() bool
- func (o *UpdateUserProfileForbidden) IsServerError() bool
- func (o *UpdateUserProfileForbidden) IsSuccess() bool
- func (o *UpdateUserProfileForbidden) String() string
- type UpdateUserProfileNotFound
- func (o *UpdateUserProfileNotFound) Code() int
- func (o *UpdateUserProfileNotFound) Error() string
- func (o *UpdateUserProfileNotFound) GetPayload() *models.Error
- func (o *UpdateUserProfileNotFound) IsClientError() bool
- func (o *UpdateUserProfileNotFound) IsCode(code int) bool
- func (o *UpdateUserProfileNotFound) IsRedirect() bool
- func (o *UpdateUserProfileNotFound) IsServerError() bool
- func (o *UpdateUserProfileNotFound) IsSuccess() bool
- func (o *UpdateUserProfileNotFound) String() string
- type UpdateUserProfileOK
- func (o *UpdateUserProfileOK) Code() int
- func (o *UpdateUserProfileOK) Error() string
- func (o *UpdateUserProfileOK) GetPayload() *models.SelfUserWithData
- func (o *UpdateUserProfileOK) IsClientError() bool
- func (o *UpdateUserProfileOK) IsCode(code int) bool
- func (o *UpdateUserProfileOK) IsRedirect() bool
- func (o *UpdateUserProfileOK) IsServerError() bool
- func (o *UpdateUserProfileOK) IsSuccess() bool
- func (o *UpdateUserProfileOK) String() string
- type UpdateUserProfileParams
- func NewUpdateUserProfileParams() *UpdateUserProfileParams
- func NewUpdateUserProfileParamsWithContext(ctx context.Context) *UpdateUserProfileParams
- func NewUpdateUserProfileParamsWithHTTPClient(client *http.Client) *UpdateUserProfileParams
- func NewUpdateUserProfileParamsWithTimeout(timeout time.Duration) *UpdateUserProfileParams
- func (o *UpdateUserProfileParams) SetContext(ctx context.Context)
- func (o *UpdateUserProfileParams) SetDefaults()
- func (o *UpdateUserProfileParams) SetHTTPClient(client *http.Client)
- func (o *UpdateUserProfileParams) SetIfMatch(ifMatch *string)
- func (o *UpdateUserProfileParams) SetTimeout(timeout time.Duration)
- func (o *UpdateUserProfileParams) SetUpdateUser(updateUser *models.SelfUserUpdate)
- func (o *UpdateUserProfileParams) WithContext(ctx context.Context) *UpdateUserProfileParams
- func (o *UpdateUserProfileParams) WithDefaults() *UpdateUserProfileParams
- func (o *UpdateUserProfileParams) WithHTTPClient(client *http.Client) *UpdateUserProfileParams
- func (o *UpdateUserProfileParams) WithIfMatch(ifMatch *string) *UpdateUserProfileParams
- func (o *UpdateUserProfileParams) WithTimeout(timeout time.Duration) *UpdateUserProfileParams
- func (o *UpdateUserProfileParams) WithUpdateUser(updateUser *models.SelfUserUpdate) *UpdateUserProfileParams
- func (o *UpdateUserProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUserProfilePreconditionFailed
- func (o *UpdateUserProfilePreconditionFailed) Code() int
- func (o *UpdateUserProfilePreconditionFailed) Error() string
- func (o *UpdateUserProfilePreconditionFailed) GetPayload() *models.Error
- func (o *UpdateUserProfilePreconditionFailed) IsClientError() bool
- func (o *UpdateUserProfilePreconditionFailed) IsCode(code int) bool
- func (o *UpdateUserProfilePreconditionFailed) IsRedirect() bool
- func (o *UpdateUserProfilePreconditionFailed) IsServerError() bool
- func (o *UpdateUserProfilePreconditionFailed) IsSuccess() bool
- func (o *UpdateUserProfilePreconditionFailed) String() string
- type UpdateUserProfileReader
- type UpdateUserProfileTooManyRequests
- func (o *UpdateUserProfileTooManyRequests) Code() int
- func (o *UpdateUserProfileTooManyRequests) Error() string
- func (o *UpdateUserProfileTooManyRequests) GetPayload() *models.Error
- func (o *UpdateUserProfileTooManyRequests) IsClientError() bool
- func (o *UpdateUserProfileTooManyRequests) IsCode(code int) bool
- func (o *UpdateUserProfileTooManyRequests) IsRedirect() bool
- func (o *UpdateUserProfileTooManyRequests) IsServerError() bool
- func (o *UpdateUserProfileTooManyRequests) IsSuccess() bool
- func (o *UpdateUserProfileTooManyRequests) String() string
- type UpdateUserProfileUnauthorized
- func (o *UpdateUserProfileUnauthorized) Code() int
- func (o *UpdateUserProfileUnauthorized) Error() string
- func (o *UpdateUserProfileUnauthorized) GetPayload() *models.Error
- func (o *UpdateUserProfileUnauthorized) IsClientError() bool
- func (o *UpdateUserProfileUnauthorized) IsCode(code int) bool
- func (o *UpdateUserProfileUnauthorized) IsRedirect() bool
- func (o *UpdateUserProfileUnauthorized) IsServerError() bool
- func (o *UpdateUserProfileUnauthorized) IsSuccess() bool
- func (o *UpdateUserProfileUnauthorized) String() string
- type UpdateUserProfileUnprocessableEntity
- func (o *UpdateUserProfileUnprocessableEntity) Code() int
- func (o *UpdateUserProfileUnprocessableEntity) Error() string
- func (o *UpdateUserProfileUnprocessableEntity) GetPayload() *models.Error
- func (o *UpdateUserProfileUnprocessableEntity) IsClientError() bool
- func (o *UpdateUserProfileUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateUserProfileUnprocessableEntity) IsRedirect() bool
- func (o *UpdateUserProfileUnprocessableEntity) IsServerError() bool
- func (o *UpdateUserProfileUnprocessableEntity) IsSuccess() bool
- func (o *UpdateUserProfileUnprocessableEntity) String() string
- type UpdateUserProfileV2BadRequest
- func (o *UpdateUserProfileV2BadRequest) Code() int
- func (o *UpdateUserProfileV2BadRequest) Error() string
- func (o *UpdateUserProfileV2BadRequest) GetPayload() *models.Error
- func (o *UpdateUserProfileV2BadRequest) IsClientError() bool
- func (o *UpdateUserProfileV2BadRequest) IsCode(code int) bool
- func (o *UpdateUserProfileV2BadRequest) IsRedirect() bool
- func (o *UpdateUserProfileV2BadRequest) IsServerError() bool
- func (o *UpdateUserProfileV2BadRequest) IsSuccess() bool
- func (o *UpdateUserProfileV2BadRequest) String() string
- type UpdateUserProfileV2Conflict
- func (o *UpdateUserProfileV2Conflict) Code() int
- func (o *UpdateUserProfileV2Conflict) Error() string
- func (o *UpdateUserProfileV2Conflict) GetPayload() *models.Error
- func (o *UpdateUserProfileV2Conflict) IsClientError() bool
- func (o *UpdateUserProfileV2Conflict) IsCode(code int) bool
- func (o *UpdateUserProfileV2Conflict) IsRedirect() bool
- func (o *UpdateUserProfileV2Conflict) IsServerError() bool
- func (o *UpdateUserProfileV2Conflict) IsSuccess() bool
- func (o *UpdateUserProfileV2Conflict) String() string
- type UpdateUserProfileV2Forbidden
- func (o *UpdateUserProfileV2Forbidden) Code() int
- func (o *UpdateUserProfileV2Forbidden) Error() string
- func (o *UpdateUserProfileV2Forbidden) GetPayload() *models.Error
- func (o *UpdateUserProfileV2Forbidden) IsClientError() bool
- func (o *UpdateUserProfileV2Forbidden) IsCode(code int) bool
- func (o *UpdateUserProfileV2Forbidden) IsRedirect() bool
- func (o *UpdateUserProfileV2Forbidden) IsServerError() bool
- func (o *UpdateUserProfileV2Forbidden) IsSuccess() bool
- func (o *UpdateUserProfileV2Forbidden) String() string
- type UpdateUserProfileV2NotFound
- func (o *UpdateUserProfileV2NotFound) Code() int
- func (o *UpdateUserProfileV2NotFound) Error() string
- func (o *UpdateUserProfileV2NotFound) GetPayload() *models.Error
- func (o *UpdateUserProfileV2NotFound) IsClientError() bool
- func (o *UpdateUserProfileV2NotFound) IsCode(code int) bool
- func (o *UpdateUserProfileV2NotFound) IsRedirect() bool
- func (o *UpdateUserProfileV2NotFound) IsServerError() bool
- func (o *UpdateUserProfileV2NotFound) IsSuccess() bool
- func (o *UpdateUserProfileV2NotFound) String() string
- type UpdateUserProfileV2OK
- func (o *UpdateUserProfileV2OK) Code() int
- func (o *UpdateUserProfileV2OK) Error() string
- func (o *UpdateUserProfileV2OK) GetPayload() *models.SelfUserWithDataV2
- func (o *UpdateUserProfileV2OK) IsClientError() bool
- func (o *UpdateUserProfileV2OK) IsCode(code int) bool
- func (o *UpdateUserProfileV2OK) IsRedirect() bool
- func (o *UpdateUserProfileV2OK) IsServerError() bool
- func (o *UpdateUserProfileV2OK) IsSuccess() bool
- func (o *UpdateUserProfileV2OK) String() string
- type UpdateUserProfileV2Params
- func NewUpdateUserProfileV2Params() *UpdateUserProfileV2Params
- func NewUpdateUserProfileV2ParamsWithContext(ctx context.Context) *UpdateUserProfileV2Params
- func NewUpdateUserProfileV2ParamsWithHTTPClient(client *http.Client) *UpdateUserProfileV2Params
- func NewUpdateUserProfileV2ParamsWithTimeout(timeout time.Duration) *UpdateUserProfileV2Params
- func (o *UpdateUserProfileV2Params) SetContext(ctx context.Context)
- func (o *UpdateUserProfileV2Params) SetDefaults()
- func (o *UpdateUserProfileV2Params) SetHTTPClient(client *http.Client)
- func (o *UpdateUserProfileV2Params) SetIfMatch(ifMatch *string)
- func (o *UpdateUserProfileV2Params) SetTimeout(timeout time.Duration)
- func (o *UpdateUserProfileV2Params) SetUpdateUser(updateUser *models.SelfUserUpdate)
- func (o *UpdateUserProfileV2Params) WithContext(ctx context.Context) *UpdateUserProfileV2Params
- func (o *UpdateUserProfileV2Params) WithDefaults() *UpdateUserProfileV2Params
- func (o *UpdateUserProfileV2Params) WithHTTPClient(client *http.Client) *UpdateUserProfileV2Params
- func (o *UpdateUserProfileV2Params) WithIfMatch(ifMatch *string) *UpdateUserProfileV2Params
- func (o *UpdateUserProfileV2Params) WithTimeout(timeout time.Duration) *UpdateUserProfileV2Params
- func (o *UpdateUserProfileV2Params) WithUpdateUser(updateUser *models.SelfUserUpdate) *UpdateUserProfileV2Params
- func (o *UpdateUserProfileV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUserProfileV2PreconditionFailed
- func (o *UpdateUserProfileV2PreconditionFailed) Code() int
- func (o *UpdateUserProfileV2PreconditionFailed) Error() string
- func (o *UpdateUserProfileV2PreconditionFailed) GetPayload() *models.Error
- func (o *UpdateUserProfileV2PreconditionFailed) IsClientError() bool
- func (o *UpdateUserProfileV2PreconditionFailed) IsCode(code int) bool
- func (o *UpdateUserProfileV2PreconditionFailed) IsRedirect() bool
- func (o *UpdateUserProfileV2PreconditionFailed) IsServerError() bool
- func (o *UpdateUserProfileV2PreconditionFailed) IsSuccess() bool
- func (o *UpdateUserProfileV2PreconditionFailed) String() string
- type UpdateUserProfileV2Reader
- type UpdateUserProfileV2TooManyRequests
- func (o *UpdateUserProfileV2TooManyRequests) Code() int
- func (o *UpdateUserProfileV2TooManyRequests) Error() string
- func (o *UpdateUserProfileV2TooManyRequests) GetPayload() *models.Error
- func (o *UpdateUserProfileV2TooManyRequests) IsClientError() bool
- func (o *UpdateUserProfileV2TooManyRequests) IsCode(code int) bool
- func (o *UpdateUserProfileV2TooManyRequests) IsRedirect() bool
- func (o *UpdateUserProfileV2TooManyRequests) IsServerError() bool
- func (o *UpdateUserProfileV2TooManyRequests) IsSuccess() bool
- func (o *UpdateUserProfileV2TooManyRequests) String() string
- type UpdateUserProfileV2Unauthorized
- func (o *UpdateUserProfileV2Unauthorized) Code() int
- func (o *UpdateUserProfileV2Unauthorized) Error() string
- func (o *UpdateUserProfileV2Unauthorized) GetPayload() *models.Error
- func (o *UpdateUserProfileV2Unauthorized) IsClientError() bool
- func (o *UpdateUserProfileV2Unauthorized) IsCode(code int) bool
- func (o *UpdateUserProfileV2Unauthorized) IsRedirect() bool
- func (o *UpdateUserProfileV2Unauthorized) IsServerError() bool
- func (o *UpdateUserProfileV2Unauthorized) IsSuccess() bool
- func (o *UpdateUserProfileV2Unauthorized) String() string
- type UpdateUserProfileV2UnprocessableEntity
- func (o *UpdateUserProfileV2UnprocessableEntity) Code() int
- func (o *UpdateUserProfileV2UnprocessableEntity) Error() string
- func (o *UpdateUserProfileV2UnprocessableEntity) GetPayload() *models.Error
- func (o *UpdateUserProfileV2UnprocessableEntity) IsClientError() bool
- func (o *UpdateUserProfileV2UnprocessableEntity) IsCode(code int) bool
- func (o *UpdateUserProfileV2UnprocessableEntity) IsRedirect() bool
- func (o *UpdateUserProfileV2UnprocessableEntity) IsServerError() bool
- func (o *UpdateUserProfileV2UnprocessableEntity) IsSuccess() bool
- func (o *UpdateUserProfileV2UnprocessableEntity) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangePasswordBadRequest ¶
ChangePasswordBadRequest describes a response with status code 400, with default header values.
Bad request
func NewChangePasswordBadRequest ¶
func NewChangePasswordBadRequest() *ChangePasswordBadRequest
NewChangePasswordBadRequest creates a ChangePasswordBadRequest with default headers values
func (*ChangePasswordBadRequest) Code ¶
func (o *ChangePasswordBadRequest) Code() int
Code gets the status code for the change password bad request response
func (*ChangePasswordBadRequest) Error ¶
func (o *ChangePasswordBadRequest) Error() string
func (*ChangePasswordBadRequest) GetPayload ¶
func (o *ChangePasswordBadRequest) GetPayload() *models.Error
func (*ChangePasswordBadRequest) IsClientError ¶
func (o *ChangePasswordBadRequest) IsClientError() bool
IsClientError returns true when this change password bad request response has a 4xx status code
func (*ChangePasswordBadRequest) IsCode ¶
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 ¶
func (o *ChangePasswordBadRequest) IsRedirect() bool
IsRedirect returns true when this change password bad request response has a 3xx status code
func (*ChangePasswordBadRequest) IsServerError ¶
func (o *ChangePasswordBadRequest) IsServerError() bool
IsServerError returns true when this change password bad request response has a 5xx status code
func (*ChangePasswordBadRequest) IsSuccess ¶
func (o *ChangePasswordBadRequest) IsSuccess() bool
IsSuccess returns true when this change password bad request response has a 2xx status code
func (*ChangePasswordBadRequest) String ¶
func (o *ChangePasswordBadRequest) String() string
type ChangePasswordForbidden ¶
ChangePasswordForbidden describes a response with status code 403, with default header values.
Forbidden
func NewChangePasswordForbidden ¶
func NewChangePasswordForbidden() *ChangePasswordForbidden
NewChangePasswordForbidden creates a ChangePasswordForbidden with default headers values
func (*ChangePasswordForbidden) Code ¶
func (o *ChangePasswordForbidden) Code() int
Code gets the status code for the change password forbidden response
func (*ChangePasswordForbidden) Error ¶
func (o *ChangePasswordForbidden) Error() string
func (*ChangePasswordForbidden) GetPayload ¶
func (o *ChangePasswordForbidden) GetPayload() *models.Error
func (*ChangePasswordForbidden) IsClientError ¶
func (o *ChangePasswordForbidden) IsClientError() bool
IsClientError returns true when this change password forbidden response has a 4xx status code
func (*ChangePasswordForbidden) IsCode ¶
func (o *ChangePasswordForbidden) IsCode(code int) bool
IsCode returns true when this change password forbidden response a status code equal to that given
func (*ChangePasswordForbidden) IsRedirect ¶
func (o *ChangePasswordForbidden) IsRedirect() bool
IsRedirect returns true when this change password forbidden response has a 3xx status code
func (*ChangePasswordForbidden) IsServerError ¶
func (o *ChangePasswordForbidden) IsServerError() bool
IsServerError returns true when this change password forbidden response has a 5xx status code
func (*ChangePasswordForbidden) IsSuccess ¶
func (o *ChangePasswordForbidden) IsSuccess() bool
IsSuccess returns true when this change password forbidden response has a 2xx status code
func (*ChangePasswordForbidden) String ¶
func (o *ChangePasswordForbidden) String() string
type ChangePasswordNoContent ¶
type ChangePasswordNoContent struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string }
ChangePasswordNoContent describes a response with status code 204, with default header values.
Password has been changed
func NewChangePasswordNoContent ¶
func NewChangePasswordNoContent() *ChangePasswordNoContent
NewChangePasswordNoContent creates a ChangePasswordNoContent with default headers values
func (*ChangePasswordNoContent) Code ¶
func (o *ChangePasswordNoContent) Code() int
Code gets the status code for the change password no content response
func (*ChangePasswordNoContent) Error ¶
func (o *ChangePasswordNoContent) Error() string
func (*ChangePasswordNoContent) IsClientError ¶
func (o *ChangePasswordNoContent) IsClientError() bool
IsClientError returns true when this change password no content response has a 4xx status code
func (*ChangePasswordNoContent) IsCode ¶
func (o *ChangePasswordNoContent) IsCode(code int) bool
IsCode returns true when this change password no content response a status code equal to that given
func (*ChangePasswordNoContent) IsRedirect ¶
func (o *ChangePasswordNoContent) IsRedirect() bool
IsRedirect returns true when this change password no content response has a 3xx status code
func (*ChangePasswordNoContent) IsServerError ¶
func (o *ChangePasswordNoContent) IsServerError() bool
IsServerError returns true when this change password no content response has a 5xx status code
func (*ChangePasswordNoContent) IsSuccess ¶
func (o *ChangePasswordNoContent) IsSuccess() bool
IsSuccess returns true when this change password no content response has a 2xx status code
func (*ChangePasswordNoContent) String ¶
func (o *ChangePasswordNoContent) String() string
type ChangePasswordNotFound ¶
ChangePasswordNotFound describes a response with status code 404, with default header values.
Not found
func NewChangePasswordNotFound ¶
func NewChangePasswordNotFound() *ChangePasswordNotFound
NewChangePasswordNotFound creates a ChangePasswordNotFound with default headers values
func (*ChangePasswordNotFound) Code ¶
func (o *ChangePasswordNotFound) Code() int
Code gets the status code for the change password not found response
func (*ChangePasswordNotFound) Error ¶
func (o *ChangePasswordNotFound) Error() string
func (*ChangePasswordNotFound) GetPayload ¶
func (o *ChangePasswordNotFound) GetPayload() *models.Error
func (*ChangePasswordNotFound) IsClientError ¶
func (o *ChangePasswordNotFound) IsClientError() bool
IsClientError returns true when this change password not found response has a 4xx status code
func (*ChangePasswordNotFound) IsCode ¶
func (o *ChangePasswordNotFound) IsCode(code int) bool
IsCode returns true when this change password not found response a status code equal to that given
func (*ChangePasswordNotFound) IsRedirect ¶
func (o *ChangePasswordNotFound) IsRedirect() bool
IsRedirect returns true when this change password not found response has a 3xx status code
func (*ChangePasswordNotFound) IsServerError ¶
func (o *ChangePasswordNotFound) IsServerError() bool
IsServerError returns true when this change password not found response has a 5xx status code
func (*ChangePasswordNotFound) IsSuccess ¶
func (o *ChangePasswordNotFound) IsSuccess() bool
IsSuccess returns true when this change password not found response has a 2xx status code
func (*ChangePasswordNotFound) String ¶
func (o *ChangePasswordNotFound) String() string
type ChangePasswordParams ¶
type ChangePasswordParams struct { // ChangePassword. ChangePassword *models.ChangePassword /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ChangePasswordParams contains all the parameters to send to the API endpoint
for the change password operation. Typically these are written to a http.Request.
func NewChangePasswordParams ¶
func NewChangePasswordParams() *ChangePasswordParams
NewChangePasswordParams creates a new ChangePasswordParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewChangePasswordParamsWithContext ¶
func NewChangePasswordParamsWithContext(ctx context.Context) *ChangePasswordParams
NewChangePasswordParamsWithContext creates a new ChangePasswordParams object with the ability to set a context for a request.
func NewChangePasswordParamsWithHTTPClient ¶
func NewChangePasswordParamsWithHTTPClient(client *http.Client) *ChangePasswordParams
NewChangePasswordParamsWithHTTPClient creates a new ChangePasswordParams object with the ability to set a custom HTTPClient for a request.
func NewChangePasswordParamsWithTimeout ¶
func NewChangePasswordParamsWithTimeout(timeout time.Duration) *ChangePasswordParams
NewChangePasswordParamsWithTimeout creates a new ChangePasswordParams object with the ability to set a timeout on a request.
func (*ChangePasswordParams) SetChangePassword ¶
func (o *ChangePasswordParams) SetChangePassword(changePassword *models.ChangePassword)
SetChangePassword adds the changePassword to the change password params
func (*ChangePasswordParams) SetContext ¶
func (o *ChangePasswordParams) SetContext(ctx context.Context)
SetContext adds the context to the change password params
func (*ChangePasswordParams) SetDefaults ¶
func (o *ChangePasswordParams) SetDefaults()
SetDefaults hydrates default values in the change password params (not the query body).
All values with no default are reset to their zero value.
func (*ChangePasswordParams) SetHTTPClient ¶
func (o *ChangePasswordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the change password params
func (*ChangePasswordParams) SetIfMatch ¶
func (o *ChangePasswordParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the change password params
func (*ChangePasswordParams) SetTimeout ¶
func (o *ChangePasswordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the change password params
func (*ChangePasswordParams) WithChangePassword ¶
func (o *ChangePasswordParams) WithChangePassword(changePassword *models.ChangePassword) *ChangePasswordParams
WithChangePassword adds the changePassword to the change password params
func (*ChangePasswordParams) WithContext ¶
func (o *ChangePasswordParams) WithContext(ctx context.Context) *ChangePasswordParams
WithContext adds the context to the change password params
func (*ChangePasswordParams) WithDefaults ¶
func (o *ChangePasswordParams) WithDefaults() *ChangePasswordParams
WithDefaults hydrates default values in the change password params (not the query body).
All values with no default are reset to their zero value.
func (*ChangePasswordParams) WithHTTPClient ¶
func (o *ChangePasswordParams) WithHTTPClient(client *http.Client) *ChangePasswordParams
WithHTTPClient adds the HTTPClient to the change password params
func (*ChangePasswordParams) WithIfMatch ¶
func (o *ChangePasswordParams) WithIfMatch(ifMatch *string) *ChangePasswordParams
WithIfMatch adds the ifMatch to the change password params
func (*ChangePasswordParams) WithTimeout ¶
func (o *ChangePasswordParams) WithTimeout(timeout time.Duration) *ChangePasswordParams
WithTimeout adds the timeout to the change password params
func (*ChangePasswordParams) WriteToRequest ¶
func (o *ChangePasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ChangePasswordPreconditionFailed ¶
ChangePasswordPreconditionFailed describes a response with status code 412, with default header values.
Payload too large
func NewChangePasswordPreconditionFailed ¶
func NewChangePasswordPreconditionFailed() *ChangePasswordPreconditionFailed
NewChangePasswordPreconditionFailed creates a ChangePasswordPreconditionFailed with default headers values
func (*ChangePasswordPreconditionFailed) Code ¶
func (o *ChangePasswordPreconditionFailed) Code() int
Code gets the status code for the change password precondition failed response
func (*ChangePasswordPreconditionFailed) Error ¶
func (o *ChangePasswordPreconditionFailed) Error() string
func (*ChangePasswordPreconditionFailed) GetPayload ¶
func (o *ChangePasswordPreconditionFailed) GetPayload() *models.Error
func (*ChangePasswordPreconditionFailed) IsClientError ¶
func (o *ChangePasswordPreconditionFailed) IsClientError() bool
IsClientError returns true when this change password precondition failed response has a 4xx status code
func (*ChangePasswordPreconditionFailed) IsCode ¶
func (o *ChangePasswordPreconditionFailed) IsCode(code int) bool
IsCode returns true when this change password precondition failed response a status code equal to that given
func (*ChangePasswordPreconditionFailed) IsRedirect ¶
func (o *ChangePasswordPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this change password precondition failed response has a 3xx status code
func (*ChangePasswordPreconditionFailed) IsServerError ¶
func (o *ChangePasswordPreconditionFailed) IsServerError() bool
IsServerError returns true when this change password precondition failed response has a 5xx status code
func (*ChangePasswordPreconditionFailed) IsSuccess ¶
func (o *ChangePasswordPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this change password precondition failed response has a 2xx status code
func (*ChangePasswordPreconditionFailed) String ¶
func (o *ChangePasswordPreconditionFailed) String() string
type ChangePasswordReader ¶
type ChangePasswordReader struct {
// contains filtered or unexported fields
}
ChangePasswordReader is a Reader for the ChangePassword structure.
func (*ChangePasswordReader) ReadResponse ¶
func (o *ChangePasswordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ChangePasswordTooManyRequests ¶
ChangePasswordTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewChangePasswordTooManyRequests ¶
func NewChangePasswordTooManyRequests() *ChangePasswordTooManyRequests
NewChangePasswordTooManyRequests creates a ChangePasswordTooManyRequests with default headers values
func (*ChangePasswordTooManyRequests) Code ¶
func (o *ChangePasswordTooManyRequests) Code() int
Code gets the status code for the change password too many requests response
func (*ChangePasswordTooManyRequests) Error ¶
func (o *ChangePasswordTooManyRequests) Error() string
func (*ChangePasswordTooManyRequests) GetPayload ¶
func (o *ChangePasswordTooManyRequests) GetPayload() *models.Error
func (*ChangePasswordTooManyRequests) IsClientError ¶
func (o *ChangePasswordTooManyRequests) IsClientError() bool
IsClientError returns true when this change password too many requests response has a 4xx status code
func (*ChangePasswordTooManyRequests) IsCode ¶
func (o *ChangePasswordTooManyRequests) IsCode(code int) bool
IsCode returns true when this change password too many requests response a status code equal to that given
func (*ChangePasswordTooManyRequests) IsRedirect ¶
func (o *ChangePasswordTooManyRequests) IsRedirect() bool
IsRedirect returns true when this change password too many requests response has a 3xx status code
func (*ChangePasswordTooManyRequests) IsServerError ¶
func (o *ChangePasswordTooManyRequests) IsServerError() bool
IsServerError returns true when this change password too many requests response has a 5xx status code
func (*ChangePasswordTooManyRequests) IsSuccess ¶
func (o *ChangePasswordTooManyRequests) IsSuccess() bool
IsSuccess returns true when this change password too many requests response has a 2xx status code
func (*ChangePasswordTooManyRequests) String ¶
func (o *ChangePasswordTooManyRequests) String() string
type ChangePasswordUnauthorized ¶
type ChangePasswordUnauthorized struct {
}ChangePasswordUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewChangePasswordUnauthorized ¶
func NewChangePasswordUnauthorized() *ChangePasswordUnauthorized
NewChangePasswordUnauthorized creates a ChangePasswordUnauthorized with default headers values
func (*ChangePasswordUnauthorized) Code ¶
func (o *ChangePasswordUnauthorized) Code() int
Code gets the status code for the change password unauthorized response
func (*ChangePasswordUnauthorized) Error ¶
func (o *ChangePasswordUnauthorized) Error() string
func (*ChangePasswordUnauthorized) GetPayload ¶
func (o *ChangePasswordUnauthorized) GetPayload() *models.Error
func (*ChangePasswordUnauthorized) IsClientError ¶
func (o *ChangePasswordUnauthorized) IsClientError() bool
IsClientError returns true when this change password unauthorized response has a 4xx status code
func (*ChangePasswordUnauthorized) IsCode ¶
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 ¶
func (o *ChangePasswordUnauthorized) IsRedirect() bool
IsRedirect returns true when this change password unauthorized response has a 3xx status code
func (*ChangePasswordUnauthorized) IsServerError ¶
func (o *ChangePasswordUnauthorized) IsServerError() bool
IsServerError returns true when this change password unauthorized response has a 5xx status code
func (*ChangePasswordUnauthorized) IsSuccess ¶
func (o *ChangePasswordUnauthorized) IsSuccess() bool
IsSuccess returns true when this change password unauthorized response has a 2xx status code
func (*ChangePasswordUnauthorized) String ¶
func (o *ChangePasswordUnauthorized) String() string
type ChangePasswordUnprocessableEntity ¶
ChangePasswordUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewChangePasswordUnprocessableEntity ¶
func NewChangePasswordUnprocessableEntity() *ChangePasswordUnprocessableEntity
NewChangePasswordUnprocessableEntity creates a ChangePasswordUnprocessableEntity with default headers values
func (*ChangePasswordUnprocessableEntity) Code ¶
func (o *ChangePasswordUnprocessableEntity) Code() int
Code gets the status code for the change password unprocessable entity response
func (*ChangePasswordUnprocessableEntity) Error ¶
func (o *ChangePasswordUnprocessableEntity) Error() string
func (*ChangePasswordUnprocessableEntity) GetPayload ¶
func (o *ChangePasswordUnprocessableEntity) GetPayload() *models.Error
func (*ChangePasswordUnprocessableEntity) IsClientError ¶
func (o *ChangePasswordUnprocessableEntity) IsClientError() bool
IsClientError returns true when this change password unprocessable entity response has a 4xx status code
func (*ChangePasswordUnprocessableEntity) IsCode ¶
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 ¶
func (o *ChangePasswordUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this change password unprocessable entity response has a 3xx status code
func (*ChangePasswordUnprocessableEntity) IsServerError ¶
func (o *ChangePasswordUnprocessableEntity) IsServerError() bool
IsServerError returns true when this change password unprocessable entity response has a 5xx status code
func (*ChangePasswordUnprocessableEntity) IsSuccess ¶
func (o *ChangePasswordUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this change password unprocessable entity response has a 2xx status code
func (*ChangePasswordUnprocessableEntity) String ¶
func (o *ChangePasswordUnprocessableEntity) String() string
type ChangePasswordV2BadRequest ¶
ChangePasswordV2BadRequest describes a response with status code 400, with default header values.
Bad request
func NewChangePasswordV2BadRequest ¶
func NewChangePasswordV2BadRequest() *ChangePasswordV2BadRequest
NewChangePasswordV2BadRequest creates a ChangePasswordV2BadRequest with default headers values
func (*ChangePasswordV2BadRequest) Code ¶
func (o *ChangePasswordV2BadRequest) Code() int
Code gets the status code for the change password v2 bad request response
func (*ChangePasswordV2BadRequest) Error ¶
func (o *ChangePasswordV2BadRequest) Error() string
func (*ChangePasswordV2BadRequest) GetPayload ¶
func (o *ChangePasswordV2BadRequest) GetPayload() *models.Error
func (*ChangePasswordV2BadRequest) IsClientError ¶
func (o *ChangePasswordV2BadRequest) IsClientError() bool
IsClientError returns true when this change password v2 bad request response has a 4xx status code
func (*ChangePasswordV2BadRequest) IsCode ¶
func (o *ChangePasswordV2BadRequest) IsCode(code int) bool
IsCode returns true when this change password v2 bad request response a status code equal to that given
func (*ChangePasswordV2BadRequest) IsRedirect ¶
func (o *ChangePasswordV2BadRequest) IsRedirect() bool
IsRedirect returns true when this change password v2 bad request response has a 3xx status code
func (*ChangePasswordV2BadRequest) IsServerError ¶
func (o *ChangePasswordV2BadRequest) IsServerError() bool
IsServerError returns true when this change password v2 bad request response has a 5xx status code
func (*ChangePasswordV2BadRequest) IsSuccess ¶
func (o *ChangePasswordV2BadRequest) IsSuccess() bool
IsSuccess returns true when this change password v2 bad request response has a 2xx status code
func (*ChangePasswordV2BadRequest) String ¶
func (o *ChangePasswordV2BadRequest) String() string
type ChangePasswordV2Forbidden ¶
ChangePasswordV2Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewChangePasswordV2Forbidden ¶
func NewChangePasswordV2Forbidden() *ChangePasswordV2Forbidden
NewChangePasswordV2Forbidden creates a ChangePasswordV2Forbidden with default headers values
func (*ChangePasswordV2Forbidden) Code ¶
func (o *ChangePasswordV2Forbidden) Code() int
Code gets the status code for the change password v2 forbidden response
func (*ChangePasswordV2Forbidden) Error ¶
func (o *ChangePasswordV2Forbidden) Error() string
func (*ChangePasswordV2Forbidden) GetPayload ¶
func (o *ChangePasswordV2Forbidden) GetPayload() *models.Error
func (*ChangePasswordV2Forbidden) IsClientError ¶
func (o *ChangePasswordV2Forbidden) IsClientError() bool
IsClientError returns true when this change password v2 forbidden response has a 4xx status code
func (*ChangePasswordV2Forbidden) IsCode ¶
func (o *ChangePasswordV2Forbidden) IsCode(code int) bool
IsCode returns true when this change password v2 forbidden response a status code equal to that given
func (*ChangePasswordV2Forbidden) IsRedirect ¶
func (o *ChangePasswordV2Forbidden) IsRedirect() bool
IsRedirect returns true when this change password v2 forbidden response has a 3xx status code
func (*ChangePasswordV2Forbidden) IsServerError ¶
func (o *ChangePasswordV2Forbidden) IsServerError() bool
IsServerError returns true when this change password v2 forbidden response has a 5xx status code
func (*ChangePasswordV2Forbidden) IsSuccess ¶
func (o *ChangePasswordV2Forbidden) IsSuccess() bool
IsSuccess returns true when this change password v2 forbidden response has a 2xx status code
func (*ChangePasswordV2Forbidden) String ¶
func (o *ChangePasswordV2Forbidden) String() string
type ChangePasswordV2NoContent ¶
type ChangePasswordV2NoContent struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string }
ChangePasswordV2NoContent describes a response with status code 204, with default header values.
Password has been changed
func NewChangePasswordV2NoContent ¶
func NewChangePasswordV2NoContent() *ChangePasswordV2NoContent
NewChangePasswordV2NoContent creates a ChangePasswordV2NoContent with default headers values
func (*ChangePasswordV2NoContent) Code ¶
func (o *ChangePasswordV2NoContent) Code() int
Code gets the status code for the change password v2 no content response
func (*ChangePasswordV2NoContent) Error ¶
func (o *ChangePasswordV2NoContent) Error() string
func (*ChangePasswordV2NoContent) IsClientError ¶
func (o *ChangePasswordV2NoContent) IsClientError() bool
IsClientError returns true when this change password v2 no content response has a 4xx status code
func (*ChangePasswordV2NoContent) IsCode ¶
func (o *ChangePasswordV2NoContent) IsCode(code int) bool
IsCode returns true when this change password v2 no content response a status code equal to that given
func (*ChangePasswordV2NoContent) IsRedirect ¶
func (o *ChangePasswordV2NoContent) IsRedirect() bool
IsRedirect returns true when this change password v2 no content response has a 3xx status code
func (*ChangePasswordV2NoContent) IsServerError ¶
func (o *ChangePasswordV2NoContent) IsServerError() bool
IsServerError returns true when this change password v2 no content response has a 5xx status code
func (*ChangePasswordV2NoContent) IsSuccess ¶
func (o *ChangePasswordV2NoContent) IsSuccess() bool
IsSuccess returns true when this change password v2 no content response has a 2xx status code
func (*ChangePasswordV2NoContent) String ¶
func (o *ChangePasswordV2NoContent) String() string
type ChangePasswordV2NotFound ¶
ChangePasswordV2NotFound describes a response with status code 404, with default header values.
Not found
func NewChangePasswordV2NotFound ¶
func NewChangePasswordV2NotFound() *ChangePasswordV2NotFound
NewChangePasswordV2NotFound creates a ChangePasswordV2NotFound with default headers values
func (*ChangePasswordV2NotFound) Code ¶
func (o *ChangePasswordV2NotFound) Code() int
Code gets the status code for the change password v2 not found response
func (*ChangePasswordV2NotFound) Error ¶
func (o *ChangePasswordV2NotFound) Error() string
func (*ChangePasswordV2NotFound) GetPayload ¶
func (o *ChangePasswordV2NotFound) GetPayload() *models.Error
func (*ChangePasswordV2NotFound) IsClientError ¶
func (o *ChangePasswordV2NotFound) IsClientError() bool
IsClientError returns true when this change password v2 not found response has a 4xx status code
func (*ChangePasswordV2NotFound) IsCode ¶
func (o *ChangePasswordV2NotFound) IsCode(code int) bool
IsCode returns true when this change password v2 not found response a status code equal to that given
func (*ChangePasswordV2NotFound) IsRedirect ¶
func (o *ChangePasswordV2NotFound) IsRedirect() bool
IsRedirect returns true when this change password v2 not found response has a 3xx status code
func (*ChangePasswordV2NotFound) IsServerError ¶
func (o *ChangePasswordV2NotFound) IsServerError() bool
IsServerError returns true when this change password v2 not found response has a 5xx status code
func (*ChangePasswordV2NotFound) IsSuccess ¶
func (o *ChangePasswordV2NotFound) IsSuccess() bool
IsSuccess returns true when this change password v2 not found response has a 2xx status code
func (*ChangePasswordV2NotFound) String ¶
func (o *ChangePasswordV2NotFound) String() string
type ChangePasswordV2Params ¶
type ChangePasswordV2Params struct { // ChangePassword. ChangePassword *models.ChangePassword /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ChangePasswordV2Params contains all the parameters to send to the API endpoint
for the change password v2 operation. Typically these are written to a http.Request.
func NewChangePasswordV2Params ¶
func NewChangePasswordV2Params() *ChangePasswordV2Params
NewChangePasswordV2Params creates a new ChangePasswordV2Params 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 NewChangePasswordV2ParamsWithContext ¶
func NewChangePasswordV2ParamsWithContext(ctx context.Context) *ChangePasswordV2Params
NewChangePasswordV2ParamsWithContext creates a new ChangePasswordV2Params object with the ability to set a context for a request.
func NewChangePasswordV2ParamsWithHTTPClient ¶
func NewChangePasswordV2ParamsWithHTTPClient(client *http.Client) *ChangePasswordV2Params
NewChangePasswordV2ParamsWithHTTPClient creates a new ChangePasswordV2Params object with the ability to set a custom HTTPClient for a request.
func NewChangePasswordV2ParamsWithTimeout ¶
func NewChangePasswordV2ParamsWithTimeout(timeout time.Duration) *ChangePasswordV2Params
NewChangePasswordV2ParamsWithTimeout creates a new ChangePasswordV2Params object with the ability to set a timeout on a request.
func (*ChangePasswordV2Params) SetChangePassword ¶
func (o *ChangePasswordV2Params) SetChangePassword(changePassword *models.ChangePassword)
SetChangePassword adds the changePassword to the change password v2 params
func (*ChangePasswordV2Params) SetContext ¶
func (o *ChangePasswordV2Params) SetContext(ctx context.Context)
SetContext adds the context to the change password v2 params
func (*ChangePasswordV2Params) SetDefaults ¶
func (o *ChangePasswordV2Params) SetDefaults()
SetDefaults hydrates default values in the change password v2 params (not the query body).
All values with no default are reset to their zero value.
func (*ChangePasswordV2Params) SetHTTPClient ¶
func (o *ChangePasswordV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the change password v2 params
func (*ChangePasswordV2Params) SetIfMatch ¶
func (o *ChangePasswordV2Params) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the change password v2 params
func (*ChangePasswordV2Params) SetTimeout ¶
func (o *ChangePasswordV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the change password v2 params
func (*ChangePasswordV2Params) WithChangePassword ¶
func (o *ChangePasswordV2Params) WithChangePassword(changePassword *models.ChangePassword) *ChangePasswordV2Params
WithChangePassword adds the changePassword to the change password v2 params
func (*ChangePasswordV2Params) WithContext ¶
func (o *ChangePasswordV2Params) WithContext(ctx context.Context) *ChangePasswordV2Params
WithContext adds the context to the change password v2 params
func (*ChangePasswordV2Params) WithDefaults ¶
func (o *ChangePasswordV2Params) WithDefaults() *ChangePasswordV2Params
WithDefaults hydrates default values in the change password v2 params (not the query body).
All values with no default are reset to their zero value.
func (*ChangePasswordV2Params) WithHTTPClient ¶
func (o *ChangePasswordV2Params) WithHTTPClient(client *http.Client) *ChangePasswordV2Params
WithHTTPClient adds the HTTPClient to the change password v2 params
func (*ChangePasswordV2Params) WithIfMatch ¶
func (o *ChangePasswordV2Params) WithIfMatch(ifMatch *string) *ChangePasswordV2Params
WithIfMatch adds the ifMatch to the change password v2 params
func (*ChangePasswordV2Params) WithTimeout ¶
func (o *ChangePasswordV2Params) WithTimeout(timeout time.Duration) *ChangePasswordV2Params
WithTimeout adds the timeout to the change password v2 params
func (*ChangePasswordV2Params) WriteToRequest ¶
func (o *ChangePasswordV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ChangePasswordV2PreconditionFailed ¶
ChangePasswordV2PreconditionFailed describes a response with status code 412, with default header values.
Payload too large
func NewChangePasswordV2PreconditionFailed ¶
func NewChangePasswordV2PreconditionFailed() *ChangePasswordV2PreconditionFailed
NewChangePasswordV2PreconditionFailed creates a ChangePasswordV2PreconditionFailed with default headers values
func (*ChangePasswordV2PreconditionFailed) Code ¶
func (o *ChangePasswordV2PreconditionFailed) Code() int
Code gets the status code for the change password v2 precondition failed response
func (*ChangePasswordV2PreconditionFailed) Error ¶
func (o *ChangePasswordV2PreconditionFailed) Error() string
func (*ChangePasswordV2PreconditionFailed) GetPayload ¶
func (o *ChangePasswordV2PreconditionFailed) GetPayload() *models.Error
func (*ChangePasswordV2PreconditionFailed) IsClientError ¶
func (o *ChangePasswordV2PreconditionFailed) IsClientError() bool
IsClientError returns true when this change password v2 precondition failed response has a 4xx status code
func (*ChangePasswordV2PreconditionFailed) IsCode ¶
func (o *ChangePasswordV2PreconditionFailed) IsCode(code int) bool
IsCode returns true when this change password v2 precondition failed response a status code equal to that given
func (*ChangePasswordV2PreconditionFailed) IsRedirect ¶
func (o *ChangePasswordV2PreconditionFailed) IsRedirect() bool
IsRedirect returns true when this change password v2 precondition failed response has a 3xx status code
func (*ChangePasswordV2PreconditionFailed) IsServerError ¶
func (o *ChangePasswordV2PreconditionFailed) IsServerError() bool
IsServerError returns true when this change password v2 precondition failed response has a 5xx status code
func (*ChangePasswordV2PreconditionFailed) IsSuccess ¶
func (o *ChangePasswordV2PreconditionFailed) IsSuccess() bool
IsSuccess returns true when this change password v2 precondition failed response has a 2xx status code
func (*ChangePasswordV2PreconditionFailed) String ¶
func (o *ChangePasswordV2PreconditionFailed) String() string
type ChangePasswordV2Reader ¶
type ChangePasswordV2Reader struct {
// contains filtered or unexported fields
}
ChangePasswordV2Reader is a Reader for the ChangePasswordV2 structure.
func (*ChangePasswordV2Reader) ReadResponse ¶
func (o *ChangePasswordV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ChangePasswordV2TooManyRequests ¶
ChangePasswordV2TooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewChangePasswordV2TooManyRequests ¶
func NewChangePasswordV2TooManyRequests() *ChangePasswordV2TooManyRequests
NewChangePasswordV2TooManyRequests creates a ChangePasswordV2TooManyRequests with default headers values
func (*ChangePasswordV2TooManyRequests) Code ¶
func (o *ChangePasswordV2TooManyRequests) Code() int
Code gets the status code for the change password v2 too many requests response
func (*ChangePasswordV2TooManyRequests) Error ¶
func (o *ChangePasswordV2TooManyRequests) Error() string
func (*ChangePasswordV2TooManyRequests) GetPayload ¶
func (o *ChangePasswordV2TooManyRequests) GetPayload() *models.Error
func (*ChangePasswordV2TooManyRequests) IsClientError ¶
func (o *ChangePasswordV2TooManyRequests) IsClientError() bool
IsClientError returns true when this change password v2 too many requests response has a 4xx status code
func (*ChangePasswordV2TooManyRequests) IsCode ¶
func (o *ChangePasswordV2TooManyRequests) IsCode(code int) bool
IsCode returns true when this change password v2 too many requests response a status code equal to that given
func (*ChangePasswordV2TooManyRequests) IsRedirect ¶
func (o *ChangePasswordV2TooManyRequests) IsRedirect() bool
IsRedirect returns true when this change password v2 too many requests response has a 3xx status code
func (*ChangePasswordV2TooManyRequests) IsServerError ¶
func (o *ChangePasswordV2TooManyRequests) IsServerError() bool
IsServerError returns true when this change password v2 too many requests response has a 5xx status code
func (*ChangePasswordV2TooManyRequests) IsSuccess ¶
func (o *ChangePasswordV2TooManyRequests) IsSuccess() bool
IsSuccess returns true when this change password v2 too many requests response has a 2xx status code
func (*ChangePasswordV2TooManyRequests) String ¶
func (o *ChangePasswordV2TooManyRequests) String() string
type ChangePasswordV2Unauthorized ¶
type ChangePasswordV2Unauthorized struct {
}ChangePasswordV2Unauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewChangePasswordV2Unauthorized ¶
func NewChangePasswordV2Unauthorized() *ChangePasswordV2Unauthorized
NewChangePasswordV2Unauthorized creates a ChangePasswordV2Unauthorized with default headers values
func (*ChangePasswordV2Unauthorized) Code ¶
func (o *ChangePasswordV2Unauthorized) Code() int
Code gets the status code for the change password v2 unauthorized response
func (*ChangePasswordV2Unauthorized) Error ¶
func (o *ChangePasswordV2Unauthorized) Error() string
func (*ChangePasswordV2Unauthorized) GetPayload ¶
func (o *ChangePasswordV2Unauthorized) GetPayload() *models.Error
func (*ChangePasswordV2Unauthorized) IsClientError ¶
func (o *ChangePasswordV2Unauthorized) IsClientError() bool
IsClientError returns true when this change password v2 unauthorized response has a 4xx status code
func (*ChangePasswordV2Unauthorized) IsCode ¶
func (o *ChangePasswordV2Unauthorized) IsCode(code int) bool
IsCode returns true when this change password v2 unauthorized response a status code equal to that given
func (*ChangePasswordV2Unauthorized) IsRedirect ¶
func (o *ChangePasswordV2Unauthorized) IsRedirect() bool
IsRedirect returns true when this change password v2 unauthorized response has a 3xx status code
func (*ChangePasswordV2Unauthorized) IsServerError ¶
func (o *ChangePasswordV2Unauthorized) IsServerError() bool
IsServerError returns true when this change password v2 unauthorized response has a 5xx status code
func (*ChangePasswordV2Unauthorized) IsSuccess ¶
func (o *ChangePasswordV2Unauthorized) IsSuccess() bool
IsSuccess returns true when this change password v2 unauthorized response has a 2xx status code
func (*ChangePasswordV2Unauthorized) String ¶
func (o *ChangePasswordV2Unauthorized) String() string
type ChangePasswordV2UnprocessableEntity ¶
ChangePasswordV2UnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewChangePasswordV2UnprocessableEntity ¶
func NewChangePasswordV2UnprocessableEntity() *ChangePasswordV2UnprocessableEntity
NewChangePasswordV2UnprocessableEntity creates a ChangePasswordV2UnprocessableEntity with default headers values
func (*ChangePasswordV2UnprocessableEntity) Code ¶
func (o *ChangePasswordV2UnprocessableEntity) Code() int
Code gets the status code for the change password v2 unprocessable entity response
func (*ChangePasswordV2UnprocessableEntity) Error ¶
func (o *ChangePasswordV2UnprocessableEntity) Error() string
func (*ChangePasswordV2UnprocessableEntity) GetPayload ¶
func (o *ChangePasswordV2UnprocessableEntity) GetPayload() *models.Error
func (*ChangePasswordV2UnprocessableEntity) IsClientError ¶
func (o *ChangePasswordV2UnprocessableEntity) IsClientError() bool
IsClientError returns true when this change password v2 unprocessable entity response has a 4xx status code
func (*ChangePasswordV2UnprocessableEntity) IsCode ¶
func (o *ChangePasswordV2UnprocessableEntity) IsCode(code int) bool
IsCode returns true when this change password v2 unprocessable entity response a status code equal to that given
func (*ChangePasswordV2UnprocessableEntity) IsRedirect ¶
func (o *ChangePasswordV2UnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this change password v2 unprocessable entity response has a 3xx status code
func (*ChangePasswordV2UnprocessableEntity) IsServerError ¶
func (o *ChangePasswordV2UnprocessableEntity) IsServerError() bool
IsServerError returns true when this change password v2 unprocessable entity response has a 5xx status code
func (*ChangePasswordV2UnprocessableEntity) IsSuccess ¶
func (o *ChangePasswordV2UnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this change password v2 unprocessable entity response has a 2xx status code
func (*ChangePasswordV2UnprocessableEntity) String ¶
func (o *ChangePasswordV2UnprocessableEntity) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for users API
func (*Client) ChangePassword ¶
func (a *Client) ChangePassword(params *ChangePasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChangePasswordNoContent, error)
ChangePassword changes password
Changes user password if provided password matches current user password.
func (*Client) ChangePasswordV2 ¶
func (a *Client) ChangePasswordV2(params *ChangePasswordV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChangePasswordV2NoContent, error)
ChangePasswordV2 changes password
Changes user password if provided password matches current user password.
func (*Client) GetUserProfile ¶
func (a *Client) GetUserProfile(params *GetUserProfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserProfileOK, error)
GetUserProfile selves get user profile Returns base view on user entry. Besides basic user entry it returns all user identifiers and addresses.
Also returns user metadata (only fields not marked as hidden) and payload.
func (*Client) GetUserProfileV2 ¶
func (a *Client) GetUserProfileV2(params *GetUserProfileV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserProfileV2OK, error)
GetUserProfileV2 selves get user profile Returns base view on user entry. Besides basic user entry it returns all user identifiers and addresses.
Also returns user metadata (only fields not marked as hidden) and payload.
func (*Client) ResetPasswordConfirm ¶
func (a *Client) ResetPasswordConfirm(params *ResetPasswordConfirmParams, opts ...ClientOption) (*ResetPasswordConfirmNoContent, error)
ResetPasswordConfirm confirms reset password Resets password for user if the provided OTP is valid. It's the second and final step of the
flow to reset the password. Either user identifier or extended code must be provided. Endpoint returns generic `401` regardless of the reason of failure to prevent email/mobile enumeration. After a successful password reset, OTP gets invalidated, so it cannot be reused. Endpoint is protected by Brute Force mechanism.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateUserProfile ¶
func (a *Client) UpdateUserProfile(params *UpdateUserProfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserProfileOK, error)
UpdateUserProfile selves update user profile Updates user payload.
Payload must be valid against schema defined in user entry.
Returns base view on user entry (see Self Get User Profile endpoint).
func (*Client) UpdateUserProfileV2 ¶
func (a *Client) UpdateUserProfileV2(params *UpdateUserProfileV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserProfileV2OK, error)
UpdateUserProfileV2 selves update user profile Updates user payload.
Payload must be valid against schema defined in user entry.
Returns base view on user entry (see Self Get User Profile endpoint).
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) (*ChangePasswordNoContent, error) ChangePasswordV2(params *ChangePasswordV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChangePasswordV2NoContent, error) GetUserProfile(params *GetUserProfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserProfileOK, error) GetUserProfileV2(params *GetUserProfileV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserProfileV2OK, error) ResetPasswordConfirm(params *ResetPasswordConfirmParams, opts ...ClientOption) (*ResetPasswordConfirmNoContent, error) UpdateUserProfile(params *UpdateUserProfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserProfileOK, error) UpdateUserProfileV2(params *UpdateUserProfileV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserProfileV2OK, 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 users API client.
type GetUserProfileForbidden ¶
GetUserProfileForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetUserProfileForbidden ¶
func NewGetUserProfileForbidden() *GetUserProfileForbidden
NewGetUserProfileForbidden creates a GetUserProfileForbidden with default headers values
func (*GetUserProfileForbidden) Code ¶
func (o *GetUserProfileForbidden) Code() int
Code gets the status code for the get user profile forbidden response
func (*GetUserProfileForbidden) Error ¶
func (o *GetUserProfileForbidden) Error() string
func (*GetUserProfileForbidden) GetPayload ¶
func (o *GetUserProfileForbidden) GetPayload() *models.Error
func (*GetUserProfileForbidden) IsClientError ¶
func (o *GetUserProfileForbidden) IsClientError() bool
IsClientError returns true when this get user profile forbidden response has a 4xx status code
func (*GetUserProfileForbidden) IsCode ¶
func (o *GetUserProfileForbidden) IsCode(code int) bool
IsCode returns true when this get user profile forbidden response a status code equal to that given
func (*GetUserProfileForbidden) IsRedirect ¶
func (o *GetUserProfileForbidden) IsRedirect() bool
IsRedirect returns true when this get user profile forbidden response has a 3xx status code
func (*GetUserProfileForbidden) IsServerError ¶
func (o *GetUserProfileForbidden) IsServerError() bool
IsServerError returns true when this get user profile forbidden response has a 5xx status code
func (*GetUserProfileForbidden) IsSuccess ¶
func (o *GetUserProfileForbidden) IsSuccess() bool
IsSuccess returns true when this get user profile forbidden response has a 2xx status code
func (*GetUserProfileForbidden) String ¶
func (o *GetUserProfileForbidden) String() string
type GetUserProfileNotFound ¶
GetUserProfileNotFound describes a response with status code 404, with default header values.
Not found
func NewGetUserProfileNotFound ¶
func NewGetUserProfileNotFound() *GetUserProfileNotFound
NewGetUserProfileNotFound creates a GetUserProfileNotFound with default headers values
func (*GetUserProfileNotFound) Code ¶
func (o *GetUserProfileNotFound) Code() int
Code gets the status code for the get user profile not found response
func (*GetUserProfileNotFound) Error ¶
func (o *GetUserProfileNotFound) Error() string
func (*GetUserProfileNotFound) GetPayload ¶
func (o *GetUserProfileNotFound) GetPayload() *models.Error
func (*GetUserProfileNotFound) IsClientError ¶
func (o *GetUserProfileNotFound) IsClientError() bool
IsClientError returns true when this get user profile not found response has a 4xx status code
func (*GetUserProfileNotFound) IsCode ¶
func (o *GetUserProfileNotFound) IsCode(code int) bool
IsCode returns true when this get user profile not found response a status code equal to that given
func (*GetUserProfileNotFound) IsRedirect ¶
func (o *GetUserProfileNotFound) IsRedirect() bool
IsRedirect returns true when this get user profile not found response has a 3xx status code
func (*GetUserProfileNotFound) IsServerError ¶
func (o *GetUserProfileNotFound) IsServerError() bool
IsServerError returns true when this get user profile not found response has a 5xx status code
func (*GetUserProfileNotFound) IsSuccess ¶
func (o *GetUserProfileNotFound) IsSuccess() bool
IsSuccess returns true when this get user profile not found response has a 2xx status code
func (*GetUserProfileNotFound) String ¶
func (o *GetUserProfileNotFound) String() string
type GetUserProfileOK ¶
type GetUserProfileOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.SelfUserWithData }
GetUserProfileOK describes a response with status code 200, with default header values.
User profile data
func NewGetUserProfileOK ¶
func NewGetUserProfileOK() *GetUserProfileOK
NewGetUserProfileOK creates a GetUserProfileOK with default headers values
func (*GetUserProfileOK) Code ¶
func (o *GetUserProfileOK) Code() int
Code gets the status code for the get user profile o k response
func (*GetUserProfileOK) Error ¶
func (o *GetUserProfileOK) Error() string
func (*GetUserProfileOK) GetPayload ¶
func (o *GetUserProfileOK) GetPayload() *models.SelfUserWithData
func (*GetUserProfileOK) IsClientError ¶
func (o *GetUserProfileOK) IsClientError() bool
IsClientError returns true when this get user profile o k response has a 4xx status code
func (*GetUserProfileOK) IsCode ¶
func (o *GetUserProfileOK) IsCode(code int) bool
IsCode returns true when this get user profile o k response a status code equal to that given
func (*GetUserProfileOK) IsRedirect ¶
func (o *GetUserProfileOK) IsRedirect() bool
IsRedirect returns true when this get user profile o k response has a 3xx status code
func (*GetUserProfileOK) IsServerError ¶
func (o *GetUserProfileOK) IsServerError() bool
IsServerError returns true when this get user profile o k response has a 5xx status code
func (*GetUserProfileOK) IsSuccess ¶
func (o *GetUserProfileOK) IsSuccess() bool
IsSuccess returns true when this get user profile o k response has a 2xx status code
func (*GetUserProfileOK) String ¶
func (o *GetUserProfileOK) String() string
type GetUserProfileParams ¶
type GetUserProfileParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserProfileParams contains all the parameters to send to the API endpoint
for the get user profile operation. Typically these are written to a http.Request.
func NewGetUserProfileParams ¶
func NewGetUserProfileParams() *GetUserProfileParams
NewGetUserProfileParams creates a new GetUserProfileParams 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 NewGetUserProfileParamsWithContext ¶
func NewGetUserProfileParamsWithContext(ctx context.Context) *GetUserProfileParams
NewGetUserProfileParamsWithContext creates a new GetUserProfileParams object with the ability to set a context for a request.
func NewGetUserProfileParamsWithHTTPClient ¶
func NewGetUserProfileParamsWithHTTPClient(client *http.Client) *GetUserProfileParams
NewGetUserProfileParamsWithHTTPClient creates a new GetUserProfileParams object with the ability to set a custom HTTPClient for a request.
func NewGetUserProfileParamsWithTimeout ¶
func NewGetUserProfileParamsWithTimeout(timeout time.Duration) *GetUserProfileParams
NewGetUserProfileParamsWithTimeout creates a new GetUserProfileParams object with the ability to set a timeout on a request.
func (*GetUserProfileParams) SetContext ¶
func (o *GetUserProfileParams) SetContext(ctx context.Context)
SetContext adds the context to the get user profile params
func (*GetUserProfileParams) SetDefaults ¶
func (o *GetUserProfileParams) SetDefaults()
SetDefaults hydrates default values in the get user profile params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserProfileParams) SetHTTPClient ¶
func (o *GetUserProfileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user profile params
func (*GetUserProfileParams) SetIfMatch ¶
func (o *GetUserProfileParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the get user profile params
func (*GetUserProfileParams) SetTimeout ¶
func (o *GetUserProfileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user profile params
func (*GetUserProfileParams) WithContext ¶
func (o *GetUserProfileParams) WithContext(ctx context.Context) *GetUserProfileParams
WithContext adds the context to the get user profile params
func (*GetUserProfileParams) WithDefaults ¶
func (o *GetUserProfileParams) WithDefaults() *GetUserProfileParams
WithDefaults hydrates default values in the get user profile params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserProfileParams) WithHTTPClient ¶
func (o *GetUserProfileParams) WithHTTPClient(client *http.Client) *GetUserProfileParams
WithHTTPClient adds the HTTPClient to the get user profile params
func (*GetUserProfileParams) WithIfMatch ¶
func (o *GetUserProfileParams) WithIfMatch(ifMatch *string) *GetUserProfileParams
WithIfMatch adds the ifMatch to the get user profile params
func (*GetUserProfileParams) WithTimeout ¶
func (o *GetUserProfileParams) WithTimeout(timeout time.Duration) *GetUserProfileParams
WithTimeout adds the timeout to the get user profile params
func (*GetUserProfileParams) WriteToRequest ¶
func (o *GetUserProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserProfilePreconditionFailed ¶
GetUserProfilePreconditionFailed describes a response with status code 412, with default header values.
Payload too large
func NewGetUserProfilePreconditionFailed ¶
func NewGetUserProfilePreconditionFailed() *GetUserProfilePreconditionFailed
NewGetUserProfilePreconditionFailed creates a GetUserProfilePreconditionFailed with default headers values
func (*GetUserProfilePreconditionFailed) Code ¶
func (o *GetUserProfilePreconditionFailed) Code() int
Code gets the status code for the get user profile precondition failed response
func (*GetUserProfilePreconditionFailed) Error ¶
func (o *GetUserProfilePreconditionFailed) Error() string
func (*GetUserProfilePreconditionFailed) GetPayload ¶
func (o *GetUserProfilePreconditionFailed) GetPayload() *models.Error
func (*GetUserProfilePreconditionFailed) IsClientError ¶
func (o *GetUserProfilePreconditionFailed) IsClientError() bool
IsClientError returns true when this get user profile precondition failed response has a 4xx status code
func (*GetUserProfilePreconditionFailed) IsCode ¶
func (o *GetUserProfilePreconditionFailed) IsCode(code int) bool
IsCode returns true when this get user profile precondition failed response a status code equal to that given
func (*GetUserProfilePreconditionFailed) IsRedirect ¶
func (o *GetUserProfilePreconditionFailed) IsRedirect() bool
IsRedirect returns true when this get user profile precondition failed response has a 3xx status code
func (*GetUserProfilePreconditionFailed) IsServerError ¶
func (o *GetUserProfilePreconditionFailed) IsServerError() bool
IsServerError returns true when this get user profile precondition failed response has a 5xx status code
func (*GetUserProfilePreconditionFailed) IsSuccess ¶
func (o *GetUserProfilePreconditionFailed) IsSuccess() bool
IsSuccess returns true when this get user profile precondition failed response has a 2xx status code
func (*GetUserProfilePreconditionFailed) String ¶
func (o *GetUserProfilePreconditionFailed) String() string
type GetUserProfileReader ¶
type GetUserProfileReader struct {
// contains filtered or unexported fields
}
GetUserProfileReader is a Reader for the GetUserProfile structure.
func (*GetUserProfileReader) ReadResponse ¶
func (o *GetUserProfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserProfileTooManyRequests ¶
GetUserProfileTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewGetUserProfileTooManyRequests ¶
func NewGetUserProfileTooManyRequests() *GetUserProfileTooManyRequests
NewGetUserProfileTooManyRequests creates a GetUserProfileTooManyRequests with default headers values
func (*GetUserProfileTooManyRequests) Code ¶
func (o *GetUserProfileTooManyRequests) Code() int
Code gets the status code for the get user profile too many requests response
func (*GetUserProfileTooManyRequests) Error ¶
func (o *GetUserProfileTooManyRequests) Error() string
func (*GetUserProfileTooManyRequests) GetPayload ¶
func (o *GetUserProfileTooManyRequests) GetPayload() *models.Error
func (*GetUserProfileTooManyRequests) IsClientError ¶
func (o *GetUserProfileTooManyRequests) IsClientError() bool
IsClientError returns true when this get user profile too many requests response has a 4xx status code
func (*GetUserProfileTooManyRequests) IsCode ¶
func (o *GetUserProfileTooManyRequests) IsCode(code int) bool
IsCode returns true when this get user profile too many requests response a status code equal to that given
func (*GetUserProfileTooManyRequests) IsRedirect ¶
func (o *GetUserProfileTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get user profile too many requests response has a 3xx status code
func (*GetUserProfileTooManyRequests) IsServerError ¶
func (o *GetUserProfileTooManyRequests) IsServerError() bool
IsServerError returns true when this get user profile too many requests response has a 5xx status code
func (*GetUserProfileTooManyRequests) IsSuccess ¶
func (o *GetUserProfileTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get user profile too many requests response has a 2xx status code
func (*GetUserProfileTooManyRequests) String ¶
func (o *GetUserProfileTooManyRequests) String() string
type GetUserProfileUnauthorized ¶
type GetUserProfileUnauthorized struct {
}GetUserProfileUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetUserProfileUnauthorized ¶
func NewGetUserProfileUnauthorized() *GetUserProfileUnauthorized
NewGetUserProfileUnauthorized creates a GetUserProfileUnauthorized with default headers values
func (*GetUserProfileUnauthorized) Code ¶
func (o *GetUserProfileUnauthorized) Code() int
Code gets the status code for the get user profile unauthorized response
func (*GetUserProfileUnauthorized) Error ¶
func (o *GetUserProfileUnauthorized) Error() string
func (*GetUserProfileUnauthorized) GetPayload ¶
func (o *GetUserProfileUnauthorized) GetPayload() *models.Error
func (*GetUserProfileUnauthorized) IsClientError ¶
func (o *GetUserProfileUnauthorized) IsClientError() bool
IsClientError returns true when this get user profile unauthorized response has a 4xx status code
func (*GetUserProfileUnauthorized) IsCode ¶
func (o *GetUserProfileUnauthorized) IsCode(code int) bool
IsCode returns true when this get user profile unauthorized response a status code equal to that given
func (*GetUserProfileUnauthorized) IsRedirect ¶
func (o *GetUserProfileUnauthorized) IsRedirect() bool
IsRedirect returns true when this get user profile unauthorized response has a 3xx status code
func (*GetUserProfileUnauthorized) IsServerError ¶
func (o *GetUserProfileUnauthorized) IsServerError() bool
IsServerError returns true when this get user profile unauthorized response has a 5xx status code
func (*GetUserProfileUnauthorized) IsSuccess ¶
func (o *GetUserProfileUnauthorized) IsSuccess() bool
IsSuccess returns true when this get user profile unauthorized response has a 2xx status code
func (*GetUserProfileUnauthorized) String ¶
func (o *GetUserProfileUnauthorized) String() string
type GetUserProfileV2Forbidden ¶
GetUserProfileV2Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetUserProfileV2Forbidden ¶
func NewGetUserProfileV2Forbidden() *GetUserProfileV2Forbidden
NewGetUserProfileV2Forbidden creates a GetUserProfileV2Forbidden with default headers values
func (*GetUserProfileV2Forbidden) Code ¶
func (o *GetUserProfileV2Forbidden) Code() int
Code gets the status code for the get user profile v2 forbidden response
func (*GetUserProfileV2Forbidden) Error ¶
func (o *GetUserProfileV2Forbidden) Error() string
func (*GetUserProfileV2Forbidden) GetPayload ¶
func (o *GetUserProfileV2Forbidden) GetPayload() *models.Error
func (*GetUserProfileV2Forbidden) IsClientError ¶
func (o *GetUserProfileV2Forbidden) IsClientError() bool
IsClientError returns true when this get user profile v2 forbidden response has a 4xx status code
func (*GetUserProfileV2Forbidden) IsCode ¶
func (o *GetUserProfileV2Forbidden) IsCode(code int) bool
IsCode returns true when this get user profile v2 forbidden response a status code equal to that given
func (*GetUserProfileV2Forbidden) IsRedirect ¶
func (o *GetUserProfileV2Forbidden) IsRedirect() bool
IsRedirect returns true when this get user profile v2 forbidden response has a 3xx status code
func (*GetUserProfileV2Forbidden) IsServerError ¶
func (o *GetUserProfileV2Forbidden) IsServerError() bool
IsServerError returns true when this get user profile v2 forbidden response has a 5xx status code
func (*GetUserProfileV2Forbidden) IsSuccess ¶
func (o *GetUserProfileV2Forbidden) IsSuccess() bool
IsSuccess returns true when this get user profile v2 forbidden response has a 2xx status code
func (*GetUserProfileV2Forbidden) String ¶
func (o *GetUserProfileV2Forbidden) String() string
type GetUserProfileV2NotFound ¶
GetUserProfileV2NotFound describes a response with status code 404, with default header values.
Not found
func NewGetUserProfileV2NotFound ¶
func NewGetUserProfileV2NotFound() *GetUserProfileV2NotFound
NewGetUserProfileV2NotFound creates a GetUserProfileV2NotFound with default headers values
func (*GetUserProfileV2NotFound) Code ¶
func (o *GetUserProfileV2NotFound) Code() int
Code gets the status code for the get user profile v2 not found response
func (*GetUserProfileV2NotFound) Error ¶
func (o *GetUserProfileV2NotFound) Error() string
func (*GetUserProfileV2NotFound) GetPayload ¶
func (o *GetUserProfileV2NotFound) GetPayload() *models.Error
func (*GetUserProfileV2NotFound) IsClientError ¶
func (o *GetUserProfileV2NotFound) IsClientError() bool
IsClientError returns true when this get user profile v2 not found response has a 4xx status code
func (*GetUserProfileV2NotFound) IsCode ¶
func (o *GetUserProfileV2NotFound) IsCode(code int) bool
IsCode returns true when this get user profile v2 not found response a status code equal to that given
func (*GetUserProfileV2NotFound) IsRedirect ¶
func (o *GetUserProfileV2NotFound) IsRedirect() bool
IsRedirect returns true when this get user profile v2 not found response has a 3xx status code
func (*GetUserProfileV2NotFound) IsServerError ¶
func (o *GetUserProfileV2NotFound) IsServerError() bool
IsServerError returns true when this get user profile v2 not found response has a 5xx status code
func (*GetUserProfileV2NotFound) IsSuccess ¶
func (o *GetUserProfileV2NotFound) IsSuccess() bool
IsSuccess returns true when this get user profile v2 not found response has a 2xx status code
func (*GetUserProfileV2NotFound) String ¶
func (o *GetUserProfileV2NotFound) String() string
type GetUserProfileV2OK ¶
type GetUserProfileV2OK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.SelfUserWithDataV2 }
GetUserProfileV2OK describes a response with status code 200, with default header values.
User profile data
func NewGetUserProfileV2OK ¶
func NewGetUserProfileV2OK() *GetUserProfileV2OK
NewGetUserProfileV2OK creates a GetUserProfileV2OK with default headers values
func (*GetUserProfileV2OK) Code ¶
func (o *GetUserProfileV2OK) Code() int
Code gets the status code for the get user profile v2 o k response
func (*GetUserProfileV2OK) Error ¶
func (o *GetUserProfileV2OK) Error() string
func (*GetUserProfileV2OK) GetPayload ¶
func (o *GetUserProfileV2OK) GetPayload() *models.SelfUserWithDataV2
func (*GetUserProfileV2OK) IsClientError ¶
func (o *GetUserProfileV2OK) IsClientError() bool
IsClientError returns true when this get user profile v2 o k response has a 4xx status code
func (*GetUserProfileV2OK) IsCode ¶
func (o *GetUserProfileV2OK) IsCode(code int) bool
IsCode returns true when this get user profile v2 o k response a status code equal to that given
func (*GetUserProfileV2OK) IsRedirect ¶
func (o *GetUserProfileV2OK) IsRedirect() bool
IsRedirect returns true when this get user profile v2 o k response has a 3xx status code
func (*GetUserProfileV2OK) IsServerError ¶
func (o *GetUserProfileV2OK) IsServerError() bool
IsServerError returns true when this get user profile v2 o k response has a 5xx status code
func (*GetUserProfileV2OK) IsSuccess ¶
func (o *GetUserProfileV2OK) IsSuccess() bool
IsSuccess returns true when this get user profile v2 o k response has a 2xx status code
func (*GetUserProfileV2OK) String ¶
func (o *GetUserProfileV2OK) String() string
type GetUserProfileV2Params ¶
type GetUserProfileV2Params struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserProfileV2Params contains all the parameters to send to the API endpoint
for the get user profile v2 operation. Typically these are written to a http.Request.
func NewGetUserProfileV2Params ¶
func NewGetUserProfileV2Params() *GetUserProfileV2Params
NewGetUserProfileV2Params creates a new GetUserProfileV2Params 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 NewGetUserProfileV2ParamsWithContext ¶
func NewGetUserProfileV2ParamsWithContext(ctx context.Context) *GetUserProfileV2Params
NewGetUserProfileV2ParamsWithContext creates a new GetUserProfileV2Params object with the ability to set a context for a request.
func NewGetUserProfileV2ParamsWithHTTPClient ¶
func NewGetUserProfileV2ParamsWithHTTPClient(client *http.Client) *GetUserProfileV2Params
NewGetUserProfileV2ParamsWithHTTPClient creates a new GetUserProfileV2Params object with the ability to set a custom HTTPClient for a request.
func NewGetUserProfileV2ParamsWithTimeout ¶
func NewGetUserProfileV2ParamsWithTimeout(timeout time.Duration) *GetUserProfileV2Params
NewGetUserProfileV2ParamsWithTimeout creates a new GetUserProfileV2Params object with the ability to set a timeout on a request.
func (*GetUserProfileV2Params) SetContext ¶
func (o *GetUserProfileV2Params) SetContext(ctx context.Context)
SetContext adds the context to the get user profile v2 params
func (*GetUserProfileV2Params) SetDefaults ¶
func (o *GetUserProfileV2Params) SetDefaults()
SetDefaults hydrates default values in the get user profile v2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserProfileV2Params) SetHTTPClient ¶
func (o *GetUserProfileV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user profile v2 params
func (*GetUserProfileV2Params) SetTimeout ¶
func (o *GetUserProfileV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user profile v2 params
func (*GetUserProfileV2Params) WithContext ¶
func (o *GetUserProfileV2Params) WithContext(ctx context.Context) *GetUserProfileV2Params
WithContext adds the context to the get user profile v2 params
func (*GetUserProfileV2Params) WithDefaults ¶
func (o *GetUserProfileV2Params) WithDefaults() *GetUserProfileV2Params
WithDefaults hydrates default values in the get user profile v2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserProfileV2Params) WithHTTPClient ¶
func (o *GetUserProfileV2Params) WithHTTPClient(client *http.Client) *GetUserProfileV2Params
WithHTTPClient adds the HTTPClient to the get user profile v2 params
func (*GetUserProfileV2Params) WithTimeout ¶
func (o *GetUserProfileV2Params) WithTimeout(timeout time.Duration) *GetUserProfileV2Params
WithTimeout adds the timeout to the get user profile v2 params
func (*GetUserProfileV2Params) WriteToRequest ¶
func (o *GetUserProfileV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserProfileV2PreconditionFailed ¶
GetUserProfileV2PreconditionFailed describes a response with status code 412, with default header values.
Payload too large
func NewGetUserProfileV2PreconditionFailed ¶
func NewGetUserProfileV2PreconditionFailed() *GetUserProfileV2PreconditionFailed
NewGetUserProfileV2PreconditionFailed creates a GetUserProfileV2PreconditionFailed with default headers values
func (*GetUserProfileV2PreconditionFailed) Code ¶
func (o *GetUserProfileV2PreconditionFailed) Code() int
Code gets the status code for the get user profile v2 precondition failed response
func (*GetUserProfileV2PreconditionFailed) Error ¶
func (o *GetUserProfileV2PreconditionFailed) Error() string
func (*GetUserProfileV2PreconditionFailed) GetPayload ¶
func (o *GetUserProfileV2PreconditionFailed) GetPayload() *models.Error
func (*GetUserProfileV2PreconditionFailed) IsClientError ¶
func (o *GetUserProfileV2PreconditionFailed) IsClientError() bool
IsClientError returns true when this get user profile v2 precondition failed response has a 4xx status code
func (*GetUserProfileV2PreconditionFailed) IsCode ¶
func (o *GetUserProfileV2PreconditionFailed) IsCode(code int) bool
IsCode returns true when this get user profile v2 precondition failed response a status code equal to that given
func (*GetUserProfileV2PreconditionFailed) IsRedirect ¶
func (o *GetUserProfileV2PreconditionFailed) IsRedirect() bool
IsRedirect returns true when this get user profile v2 precondition failed response has a 3xx status code
func (*GetUserProfileV2PreconditionFailed) IsServerError ¶
func (o *GetUserProfileV2PreconditionFailed) IsServerError() bool
IsServerError returns true when this get user profile v2 precondition failed response has a 5xx status code
func (*GetUserProfileV2PreconditionFailed) IsSuccess ¶
func (o *GetUserProfileV2PreconditionFailed) IsSuccess() bool
IsSuccess returns true when this get user profile v2 precondition failed response has a 2xx status code
func (*GetUserProfileV2PreconditionFailed) String ¶
func (o *GetUserProfileV2PreconditionFailed) String() string
type GetUserProfileV2Reader ¶
type GetUserProfileV2Reader struct {
// contains filtered or unexported fields
}
GetUserProfileV2Reader is a Reader for the GetUserProfileV2 structure.
func (*GetUserProfileV2Reader) ReadResponse ¶
func (o *GetUserProfileV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserProfileV2TooManyRequests ¶
GetUserProfileV2TooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewGetUserProfileV2TooManyRequests ¶
func NewGetUserProfileV2TooManyRequests() *GetUserProfileV2TooManyRequests
NewGetUserProfileV2TooManyRequests creates a GetUserProfileV2TooManyRequests with default headers values
func (*GetUserProfileV2TooManyRequests) Code ¶
func (o *GetUserProfileV2TooManyRequests) Code() int
Code gets the status code for the get user profile v2 too many requests response
func (*GetUserProfileV2TooManyRequests) Error ¶
func (o *GetUserProfileV2TooManyRequests) Error() string
func (*GetUserProfileV2TooManyRequests) GetPayload ¶
func (o *GetUserProfileV2TooManyRequests) GetPayload() *models.Error
func (*GetUserProfileV2TooManyRequests) IsClientError ¶
func (o *GetUserProfileV2TooManyRequests) IsClientError() bool
IsClientError returns true when this get user profile v2 too many requests response has a 4xx status code
func (*GetUserProfileV2TooManyRequests) IsCode ¶
func (o *GetUserProfileV2TooManyRequests) IsCode(code int) bool
IsCode returns true when this get user profile v2 too many requests response a status code equal to that given
func (*GetUserProfileV2TooManyRequests) IsRedirect ¶
func (o *GetUserProfileV2TooManyRequests) IsRedirect() bool
IsRedirect returns true when this get user profile v2 too many requests response has a 3xx status code
func (*GetUserProfileV2TooManyRequests) IsServerError ¶
func (o *GetUserProfileV2TooManyRequests) IsServerError() bool
IsServerError returns true when this get user profile v2 too many requests response has a 5xx status code
func (*GetUserProfileV2TooManyRequests) IsSuccess ¶
func (o *GetUserProfileV2TooManyRequests) IsSuccess() bool
IsSuccess returns true when this get user profile v2 too many requests response has a 2xx status code
func (*GetUserProfileV2TooManyRequests) String ¶
func (o *GetUserProfileV2TooManyRequests) String() string
type GetUserProfileV2Unauthorized ¶
type GetUserProfileV2Unauthorized struct {
}GetUserProfileV2Unauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetUserProfileV2Unauthorized ¶
func NewGetUserProfileV2Unauthorized() *GetUserProfileV2Unauthorized
NewGetUserProfileV2Unauthorized creates a GetUserProfileV2Unauthorized with default headers values
func (*GetUserProfileV2Unauthorized) Code ¶
func (o *GetUserProfileV2Unauthorized) Code() int
Code gets the status code for the get user profile v2 unauthorized response
func (*GetUserProfileV2Unauthorized) Error ¶
func (o *GetUserProfileV2Unauthorized) Error() string
func (*GetUserProfileV2Unauthorized) GetPayload ¶
func (o *GetUserProfileV2Unauthorized) GetPayload() *models.Error
func (*GetUserProfileV2Unauthorized) IsClientError ¶
func (o *GetUserProfileV2Unauthorized) IsClientError() bool
IsClientError returns true when this get user profile v2 unauthorized response has a 4xx status code
func (*GetUserProfileV2Unauthorized) IsCode ¶
func (o *GetUserProfileV2Unauthorized) IsCode(code int) bool
IsCode returns true when this get user profile v2 unauthorized response a status code equal to that given
func (*GetUserProfileV2Unauthorized) IsRedirect ¶
func (o *GetUserProfileV2Unauthorized) IsRedirect() bool
IsRedirect returns true when this get user profile v2 unauthorized response has a 3xx status code
func (*GetUserProfileV2Unauthorized) IsServerError ¶
func (o *GetUserProfileV2Unauthorized) IsServerError() bool
IsServerError returns true when this get user profile v2 unauthorized response has a 5xx status code
func (*GetUserProfileV2Unauthorized) IsSuccess ¶
func (o *GetUserProfileV2Unauthorized) IsSuccess() bool
IsSuccess returns true when this get user profile v2 unauthorized response has a 2xx status code
func (*GetUserProfileV2Unauthorized) String ¶
func (o *GetUserProfileV2Unauthorized) String() string
type ResetPasswordConfirmNoContent ¶
type ResetPasswordConfirmNoContent struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string }
ResetPasswordConfirmNoContent describes a response with status code 204, with default header values.
Reset password confirmed
func NewResetPasswordConfirmNoContent ¶
func NewResetPasswordConfirmNoContent() *ResetPasswordConfirmNoContent
NewResetPasswordConfirmNoContent creates a ResetPasswordConfirmNoContent with default headers values
func (*ResetPasswordConfirmNoContent) Code ¶
func (o *ResetPasswordConfirmNoContent) Code() int
Code gets the status code for the reset password confirm no content response
func (*ResetPasswordConfirmNoContent) Error ¶
func (o *ResetPasswordConfirmNoContent) Error() string
func (*ResetPasswordConfirmNoContent) IsClientError ¶
func (o *ResetPasswordConfirmNoContent) IsClientError() bool
IsClientError returns true when this reset password confirm no content response has a 4xx status code
func (*ResetPasswordConfirmNoContent) IsCode ¶
func (o *ResetPasswordConfirmNoContent) IsCode(code int) bool
IsCode returns true when this reset password confirm no content response a status code equal to that given
func (*ResetPasswordConfirmNoContent) IsRedirect ¶
func (o *ResetPasswordConfirmNoContent) IsRedirect() bool
IsRedirect returns true when this reset password confirm no content response has a 3xx status code
func (*ResetPasswordConfirmNoContent) IsServerError ¶
func (o *ResetPasswordConfirmNoContent) IsServerError() bool
IsServerError returns true when this reset password confirm no content response has a 5xx status code
func (*ResetPasswordConfirmNoContent) IsSuccess ¶
func (o *ResetPasswordConfirmNoContent) IsSuccess() bool
IsSuccess returns true when this reset password confirm no content response has a 2xx status code
func (*ResetPasswordConfirmNoContent) String ¶
func (o *ResetPasswordConfirmNoContent) String() string
type ResetPasswordConfirmParams ¶
type ResetPasswordConfirmParams struct { // ResetPasswordConfirm. ResetPasswordConfirm *models.ResetPasswordConfirm /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string // IPID. IPID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ResetPasswordConfirmParams contains all the parameters to send to the API endpoint
for the reset password confirm operation. Typically these are written to a http.Request.
func NewResetPasswordConfirmParams ¶
func NewResetPasswordConfirmParams() *ResetPasswordConfirmParams
NewResetPasswordConfirmParams creates a new ResetPasswordConfirmParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewResetPasswordConfirmParamsWithContext ¶
func NewResetPasswordConfirmParamsWithContext(ctx context.Context) *ResetPasswordConfirmParams
NewResetPasswordConfirmParamsWithContext creates a new ResetPasswordConfirmParams object with the ability to set a context for a request.
func NewResetPasswordConfirmParamsWithHTTPClient ¶
func NewResetPasswordConfirmParamsWithHTTPClient(client *http.Client) *ResetPasswordConfirmParams
NewResetPasswordConfirmParamsWithHTTPClient creates a new ResetPasswordConfirmParams object with the ability to set a custom HTTPClient for a request.
func NewResetPasswordConfirmParamsWithTimeout ¶
func NewResetPasswordConfirmParamsWithTimeout(timeout time.Duration) *ResetPasswordConfirmParams
NewResetPasswordConfirmParamsWithTimeout creates a new ResetPasswordConfirmParams object with the ability to set a timeout on a request.
func (*ResetPasswordConfirmParams) SetContext ¶
func (o *ResetPasswordConfirmParams) SetContext(ctx context.Context)
SetContext adds the context to the reset password confirm params
func (*ResetPasswordConfirmParams) SetDefaults ¶
func (o *ResetPasswordConfirmParams) SetDefaults()
SetDefaults hydrates default values in the reset password confirm params (not the query body).
All values with no default are reset to their zero value.
func (*ResetPasswordConfirmParams) SetHTTPClient ¶
func (o *ResetPasswordConfirmParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reset password confirm params
func (*ResetPasswordConfirmParams) SetIPID ¶
func (o *ResetPasswordConfirmParams) SetIPID(iPID string)
SetIPID adds the ipId to the reset password confirm params
func (*ResetPasswordConfirmParams) SetIfMatch ¶
func (o *ResetPasswordConfirmParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the reset password confirm params
func (*ResetPasswordConfirmParams) SetResetPasswordConfirm ¶
func (o *ResetPasswordConfirmParams) SetResetPasswordConfirm(resetPasswordConfirm *models.ResetPasswordConfirm)
SetResetPasswordConfirm adds the resetPasswordConfirm to the reset password confirm params
func (*ResetPasswordConfirmParams) SetTimeout ¶
func (o *ResetPasswordConfirmParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reset password confirm params
func (*ResetPasswordConfirmParams) WithContext ¶
func (o *ResetPasswordConfirmParams) WithContext(ctx context.Context) *ResetPasswordConfirmParams
WithContext adds the context to the reset password confirm params
func (*ResetPasswordConfirmParams) WithDefaults ¶
func (o *ResetPasswordConfirmParams) WithDefaults() *ResetPasswordConfirmParams
WithDefaults hydrates default values in the reset password confirm params (not the query body).
All values with no default are reset to their zero value.
func (*ResetPasswordConfirmParams) WithHTTPClient ¶
func (o *ResetPasswordConfirmParams) WithHTTPClient(client *http.Client) *ResetPasswordConfirmParams
WithHTTPClient adds the HTTPClient to the reset password confirm params
func (*ResetPasswordConfirmParams) WithIPID ¶
func (o *ResetPasswordConfirmParams) WithIPID(iPID string) *ResetPasswordConfirmParams
WithIPID adds the iPID to the reset password confirm params
func (*ResetPasswordConfirmParams) WithIfMatch ¶
func (o *ResetPasswordConfirmParams) WithIfMatch(ifMatch *string) *ResetPasswordConfirmParams
WithIfMatch adds the ifMatch to the reset password confirm params
func (*ResetPasswordConfirmParams) WithResetPasswordConfirm ¶
func (o *ResetPasswordConfirmParams) WithResetPasswordConfirm(resetPasswordConfirm *models.ResetPasswordConfirm) *ResetPasswordConfirmParams
WithResetPasswordConfirm adds the resetPasswordConfirm to the reset password confirm params
func (*ResetPasswordConfirmParams) WithTimeout ¶
func (o *ResetPasswordConfirmParams) WithTimeout(timeout time.Duration) *ResetPasswordConfirmParams
WithTimeout adds the timeout to the reset password confirm params
func (*ResetPasswordConfirmParams) WriteToRequest ¶
func (o *ResetPasswordConfirmParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ResetPasswordConfirmPreconditionFailed ¶
ResetPasswordConfirmPreconditionFailed describes a response with status code 412, with default header values.
Payload too large
func NewResetPasswordConfirmPreconditionFailed ¶
func NewResetPasswordConfirmPreconditionFailed() *ResetPasswordConfirmPreconditionFailed
NewResetPasswordConfirmPreconditionFailed creates a ResetPasswordConfirmPreconditionFailed with default headers values
func (*ResetPasswordConfirmPreconditionFailed) Code ¶
func (o *ResetPasswordConfirmPreconditionFailed) Code() int
Code gets the status code for the reset password confirm precondition failed response
func (*ResetPasswordConfirmPreconditionFailed) Error ¶
func (o *ResetPasswordConfirmPreconditionFailed) Error() string
func (*ResetPasswordConfirmPreconditionFailed) GetPayload ¶
func (o *ResetPasswordConfirmPreconditionFailed) GetPayload() *models.Error
func (*ResetPasswordConfirmPreconditionFailed) IsClientError ¶
func (o *ResetPasswordConfirmPreconditionFailed) IsClientError() bool
IsClientError returns true when this reset password confirm precondition failed response has a 4xx status code
func (*ResetPasswordConfirmPreconditionFailed) IsCode ¶
func (o *ResetPasswordConfirmPreconditionFailed) IsCode(code int) bool
IsCode returns true when this reset password confirm precondition failed response a status code equal to that given
func (*ResetPasswordConfirmPreconditionFailed) IsRedirect ¶
func (o *ResetPasswordConfirmPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this reset password confirm precondition failed response has a 3xx status code
func (*ResetPasswordConfirmPreconditionFailed) IsServerError ¶
func (o *ResetPasswordConfirmPreconditionFailed) IsServerError() bool
IsServerError returns true when this reset password confirm precondition failed response has a 5xx status code
func (*ResetPasswordConfirmPreconditionFailed) IsSuccess ¶
func (o *ResetPasswordConfirmPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this reset password confirm precondition failed response has a 2xx status code
func (*ResetPasswordConfirmPreconditionFailed) String ¶
func (o *ResetPasswordConfirmPreconditionFailed) String() string
type ResetPasswordConfirmReader ¶
type ResetPasswordConfirmReader struct {
// contains filtered or unexported fields
}
ResetPasswordConfirmReader is a Reader for the ResetPasswordConfirm structure.
func (*ResetPasswordConfirmReader) ReadResponse ¶
func (o *ResetPasswordConfirmReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ResetPasswordConfirmUnauthorized ¶
type ResetPasswordConfirmUnauthorized struct {
}ResetPasswordConfirmUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewResetPasswordConfirmUnauthorized ¶
func NewResetPasswordConfirmUnauthorized() *ResetPasswordConfirmUnauthorized
NewResetPasswordConfirmUnauthorized creates a ResetPasswordConfirmUnauthorized with default headers values
func (*ResetPasswordConfirmUnauthorized) Code ¶
func (o *ResetPasswordConfirmUnauthorized) Code() int
Code gets the status code for the reset password confirm unauthorized response
func (*ResetPasswordConfirmUnauthorized) Error ¶
func (o *ResetPasswordConfirmUnauthorized) Error() string
func (*ResetPasswordConfirmUnauthorized) GetPayload ¶
func (o *ResetPasswordConfirmUnauthorized) GetPayload() *models.Error
func (*ResetPasswordConfirmUnauthorized) IsClientError ¶
func (o *ResetPasswordConfirmUnauthorized) IsClientError() bool
IsClientError returns true when this reset password confirm unauthorized response has a 4xx status code
func (*ResetPasswordConfirmUnauthorized) IsCode ¶
func (o *ResetPasswordConfirmUnauthorized) IsCode(code int) bool
IsCode returns true when this reset password confirm unauthorized response a status code equal to that given
func (*ResetPasswordConfirmUnauthorized) IsRedirect ¶
func (o *ResetPasswordConfirmUnauthorized) IsRedirect() bool
IsRedirect returns true when this reset password confirm unauthorized response has a 3xx status code
func (*ResetPasswordConfirmUnauthorized) IsServerError ¶
func (o *ResetPasswordConfirmUnauthorized) IsServerError() bool
IsServerError returns true when this reset password confirm unauthorized response has a 5xx status code
func (*ResetPasswordConfirmUnauthorized) IsSuccess ¶
func (o *ResetPasswordConfirmUnauthorized) IsSuccess() bool
IsSuccess returns true when this reset password confirm unauthorized response has a 2xx status code
func (*ResetPasswordConfirmUnauthorized) String ¶
func (o *ResetPasswordConfirmUnauthorized) String() string
type ResetPasswordConfirmUnprocessableEntity ¶
ResetPasswordConfirmUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewResetPasswordConfirmUnprocessableEntity ¶
func NewResetPasswordConfirmUnprocessableEntity() *ResetPasswordConfirmUnprocessableEntity
NewResetPasswordConfirmUnprocessableEntity creates a ResetPasswordConfirmUnprocessableEntity with default headers values
func (*ResetPasswordConfirmUnprocessableEntity) Code ¶
func (o *ResetPasswordConfirmUnprocessableEntity) Code() int
Code gets the status code for the reset password confirm unprocessable entity response
func (*ResetPasswordConfirmUnprocessableEntity) Error ¶
func (o *ResetPasswordConfirmUnprocessableEntity) Error() string
func (*ResetPasswordConfirmUnprocessableEntity) GetPayload ¶
func (o *ResetPasswordConfirmUnprocessableEntity) GetPayload() *models.Error
func (*ResetPasswordConfirmUnprocessableEntity) IsClientError ¶
func (o *ResetPasswordConfirmUnprocessableEntity) IsClientError() bool
IsClientError returns true when this reset password confirm unprocessable entity response has a 4xx status code
func (*ResetPasswordConfirmUnprocessableEntity) IsCode ¶
func (o *ResetPasswordConfirmUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this reset password confirm unprocessable entity response a status code equal to that given
func (*ResetPasswordConfirmUnprocessableEntity) IsRedirect ¶
func (o *ResetPasswordConfirmUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this reset password confirm unprocessable entity response has a 3xx status code
func (*ResetPasswordConfirmUnprocessableEntity) IsServerError ¶
func (o *ResetPasswordConfirmUnprocessableEntity) IsServerError() bool
IsServerError returns true when this reset password confirm unprocessable entity response has a 5xx status code
func (*ResetPasswordConfirmUnprocessableEntity) IsSuccess ¶
func (o *ResetPasswordConfirmUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this reset password confirm unprocessable entity response has a 2xx status code
func (*ResetPasswordConfirmUnprocessableEntity) String ¶
func (o *ResetPasswordConfirmUnprocessableEntity) String() string
type UpdateUserProfileBadRequest ¶
UpdateUserProfileBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateUserProfileBadRequest ¶
func NewUpdateUserProfileBadRequest() *UpdateUserProfileBadRequest
NewUpdateUserProfileBadRequest creates a UpdateUserProfileBadRequest with default headers values
func (*UpdateUserProfileBadRequest) Code ¶
func (o *UpdateUserProfileBadRequest) Code() int
Code gets the status code for the update user profile bad request response
func (*UpdateUserProfileBadRequest) Error ¶
func (o *UpdateUserProfileBadRequest) Error() string
func (*UpdateUserProfileBadRequest) GetPayload ¶
func (o *UpdateUserProfileBadRequest) GetPayload() *models.Error
func (*UpdateUserProfileBadRequest) IsClientError ¶
func (o *UpdateUserProfileBadRequest) IsClientError() bool
IsClientError returns true when this update user profile bad request response has a 4xx status code
func (*UpdateUserProfileBadRequest) IsCode ¶
func (o *UpdateUserProfileBadRequest) IsCode(code int) bool
IsCode returns true when this update user profile bad request response a status code equal to that given
func (*UpdateUserProfileBadRequest) IsRedirect ¶
func (o *UpdateUserProfileBadRequest) IsRedirect() bool
IsRedirect returns true when this update user profile bad request response has a 3xx status code
func (*UpdateUserProfileBadRequest) IsServerError ¶
func (o *UpdateUserProfileBadRequest) IsServerError() bool
IsServerError returns true when this update user profile bad request response has a 5xx status code
func (*UpdateUserProfileBadRequest) IsSuccess ¶
func (o *UpdateUserProfileBadRequest) IsSuccess() bool
IsSuccess returns true when this update user profile bad request response has a 2xx status code
func (*UpdateUserProfileBadRequest) String ¶
func (o *UpdateUserProfileBadRequest) String() string
type UpdateUserProfileConflict ¶
UpdateUserProfileConflict describes a response with status code 409, with default header values.
Conflict
func NewUpdateUserProfileConflict ¶
func NewUpdateUserProfileConflict() *UpdateUserProfileConflict
NewUpdateUserProfileConflict creates a UpdateUserProfileConflict with default headers values
func (*UpdateUserProfileConflict) Code ¶
func (o *UpdateUserProfileConflict) Code() int
Code gets the status code for the update user profile conflict response
func (*UpdateUserProfileConflict) Error ¶
func (o *UpdateUserProfileConflict) Error() string
func (*UpdateUserProfileConflict) GetPayload ¶
func (o *UpdateUserProfileConflict) GetPayload() *models.Error
func (*UpdateUserProfileConflict) IsClientError ¶
func (o *UpdateUserProfileConflict) IsClientError() bool
IsClientError returns true when this update user profile conflict response has a 4xx status code
func (*UpdateUserProfileConflict) IsCode ¶
func (o *UpdateUserProfileConflict) IsCode(code int) bool
IsCode returns true when this update user profile conflict response a status code equal to that given
func (*UpdateUserProfileConflict) IsRedirect ¶
func (o *UpdateUserProfileConflict) IsRedirect() bool
IsRedirect returns true when this update user profile conflict response has a 3xx status code
func (*UpdateUserProfileConflict) IsServerError ¶
func (o *UpdateUserProfileConflict) IsServerError() bool
IsServerError returns true when this update user profile conflict response has a 5xx status code
func (*UpdateUserProfileConflict) IsSuccess ¶
func (o *UpdateUserProfileConflict) IsSuccess() bool
IsSuccess returns true when this update user profile conflict response has a 2xx status code
func (*UpdateUserProfileConflict) String ¶
func (o *UpdateUserProfileConflict) String() string
type UpdateUserProfileForbidden ¶
UpdateUserProfileForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateUserProfileForbidden ¶
func NewUpdateUserProfileForbidden() *UpdateUserProfileForbidden
NewUpdateUserProfileForbidden creates a UpdateUserProfileForbidden with default headers values
func (*UpdateUserProfileForbidden) Code ¶
func (o *UpdateUserProfileForbidden) Code() int
Code gets the status code for the update user profile forbidden response
func (*UpdateUserProfileForbidden) Error ¶
func (o *UpdateUserProfileForbidden) Error() string
func (*UpdateUserProfileForbidden) GetPayload ¶
func (o *UpdateUserProfileForbidden) GetPayload() *models.Error
func (*UpdateUserProfileForbidden) IsClientError ¶
func (o *UpdateUserProfileForbidden) IsClientError() bool
IsClientError returns true when this update user profile forbidden response has a 4xx status code
func (*UpdateUserProfileForbidden) IsCode ¶
func (o *UpdateUserProfileForbidden) IsCode(code int) bool
IsCode returns true when this update user profile forbidden response a status code equal to that given
func (*UpdateUserProfileForbidden) IsRedirect ¶
func (o *UpdateUserProfileForbidden) IsRedirect() bool
IsRedirect returns true when this update user profile forbidden response has a 3xx status code
func (*UpdateUserProfileForbidden) IsServerError ¶
func (o *UpdateUserProfileForbidden) IsServerError() bool
IsServerError returns true when this update user profile forbidden response has a 5xx status code
func (*UpdateUserProfileForbidden) IsSuccess ¶
func (o *UpdateUserProfileForbidden) IsSuccess() bool
IsSuccess returns true when this update user profile forbidden response has a 2xx status code
func (*UpdateUserProfileForbidden) String ¶
func (o *UpdateUserProfileForbidden) String() string
type UpdateUserProfileNotFound ¶
UpdateUserProfileNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateUserProfileNotFound ¶
func NewUpdateUserProfileNotFound() *UpdateUserProfileNotFound
NewUpdateUserProfileNotFound creates a UpdateUserProfileNotFound with default headers values
func (*UpdateUserProfileNotFound) Code ¶
func (o *UpdateUserProfileNotFound) Code() int
Code gets the status code for the update user profile not found response
func (*UpdateUserProfileNotFound) Error ¶
func (o *UpdateUserProfileNotFound) Error() string
func (*UpdateUserProfileNotFound) GetPayload ¶
func (o *UpdateUserProfileNotFound) GetPayload() *models.Error
func (*UpdateUserProfileNotFound) IsClientError ¶
func (o *UpdateUserProfileNotFound) IsClientError() bool
IsClientError returns true when this update user profile not found response has a 4xx status code
func (*UpdateUserProfileNotFound) IsCode ¶
func (o *UpdateUserProfileNotFound) IsCode(code int) bool
IsCode returns true when this update user profile not found response a status code equal to that given
func (*UpdateUserProfileNotFound) IsRedirect ¶
func (o *UpdateUserProfileNotFound) IsRedirect() bool
IsRedirect returns true when this update user profile not found response has a 3xx status code
func (*UpdateUserProfileNotFound) IsServerError ¶
func (o *UpdateUserProfileNotFound) IsServerError() bool
IsServerError returns true when this update user profile not found response has a 5xx status code
func (*UpdateUserProfileNotFound) IsSuccess ¶
func (o *UpdateUserProfileNotFound) IsSuccess() bool
IsSuccess returns true when this update user profile not found response has a 2xx status code
func (*UpdateUserProfileNotFound) String ¶
func (o *UpdateUserProfileNotFound) String() string
type UpdateUserProfileOK ¶
type UpdateUserProfileOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.SelfUserWithData }
UpdateUserProfileOK describes a response with status code 200, with default header values.
User profile data
func NewUpdateUserProfileOK ¶
func NewUpdateUserProfileOK() *UpdateUserProfileOK
NewUpdateUserProfileOK creates a UpdateUserProfileOK with default headers values
func (*UpdateUserProfileOK) Code ¶
func (o *UpdateUserProfileOK) Code() int
Code gets the status code for the update user profile o k response
func (*UpdateUserProfileOK) Error ¶
func (o *UpdateUserProfileOK) Error() string
func (*UpdateUserProfileOK) GetPayload ¶
func (o *UpdateUserProfileOK) GetPayload() *models.SelfUserWithData
func (*UpdateUserProfileOK) IsClientError ¶
func (o *UpdateUserProfileOK) IsClientError() bool
IsClientError returns true when this update user profile o k response has a 4xx status code
func (*UpdateUserProfileOK) IsCode ¶
func (o *UpdateUserProfileOK) IsCode(code int) bool
IsCode returns true when this update user profile o k response a status code equal to that given
func (*UpdateUserProfileOK) IsRedirect ¶
func (o *UpdateUserProfileOK) IsRedirect() bool
IsRedirect returns true when this update user profile o k response has a 3xx status code
func (*UpdateUserProfileOK) IsServerError ¶
func (o *UpdateUserProfileOK) IsServerError() bool
IsServerError returns true when this update user profile o k response has a 5xx status code
func (*UpdateUserProfileOK) IsSuccess ¶
func (o *UpdateUserProfileOK) IsSuccess() bool
IsSuccess returns true when this update user profile o k response has a 2xx status code
func (*UpdateUserProfileOK) String ¶
func (o *UpdateUserProfileOK) String() string
type UpdateUserProfileParams ¶
type UpdateUserProfileParams struct { // UpdateUser. UpdateUser *models.SelfUserUpdate /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateUserProfileParams contains all the parameters to send to the API endpoint
for the update user profile operation. Typically these are written to a http.Request.
func NewUpdateUserProfileParams ¶
func NewUpdateUserProfileParams() *UpdateUserProfileParams
NewUpdateUserProfileParams creates a new UpdateUserProfileParams 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 NewUpdateUserProfileParamsWithContext ¶
func NewUpdateUserProfileParamsWithContext(ctx context.Context) *UpdateUserProfileParams
NewUpdateUserProfileParamsWithContext creates a new UpdateUserProfileParams object with the ability to set a context for a request.
func NewUpdateUserProfileParamsWithHTTPClient ¶
func NewUpdateUserProfileParamsWithHTTPClient(client *http.Client) *UpdateUserProfileParams
NewUpdateUserProfileParamsWithHTTPClient creates a new UpdateUserProfileParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateUserProfileParamsWithTimeout ¶
func NewUpdateUserProfileParamsWithTimeout(timeout time.Duration) *UpdateUserProfileParams
NewUpdateUserProfileParamsWithTimeout creates a new UpdateUserProfileParams object with the ability to set a timeout on a request.
func (*UpdateUserProfileParams) SetContext ¶
func (o *UpdateUserProfileParams) SetContext(ctx context.Context)
SetContext adds the context to the update user profile params
func (*UpdateUserProfileParams) SetDefaults ¶
func (o *UpdateUserProfileParams) SetDefaults()
SetDefaults hydrates default values in the update user profile params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserProfileParams) SetHTTPClient ¶
func (o *UpdateUserProfileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update user profile params
func (*UpdateUserProfileParams) SetIfMatch ¶
func (o *UpdateUserProfileParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the update user profile params
func (*UpdateUserProfileParams) SetTimeout ¶
func (o *UpdateUserProfileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update user profile params
func (*UpdateUserProfileParams) SetUpdateUser ¶
func (o *UpdateUserProfileParams) SetUpdateUser(updateUser *models.SelfUserUpdate)
SetUpdateUser adds the updateUser to the update user profile params
func (*UpdateUserProfileParams) WithContext ¶
func (o *UpdateUserProfileParams) WithContext(ctx context.Context) *UpdateUserProfileParams
WithContext adds the context to the update user profile params
func (*UpdateUserProfileParams) WithDefaults ¶
func (o *UpdateUserProfileParams) WithDefaults() *UpdateUserProfileParams
WithDefaults hydrates default values in the update user profile params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserProfileParams) WithHTTPClient ¶
func (o *UpdateUserProfileParams) WithHTTPClient(client *http.Client) *UpdateUserProfileParams
WithHTTPClient adds the HTTPClient to the update user profile params
func (*UpdateUserProfileParams) WithIfMatch ¶
func (o *UpdateUserProfileParams) WithIfMatch(ifMatch *string) *UpdateUserProfileParams
WithIfMatch adds the ifMatch to the update user profile params
func (*UpdateUserProfileParams) WithTimeout ¶
func (o *UpdateUserProfileParams) WithTimeout(timeout time.Duration) *UpdateUserProfileParams
WithTimeout adds the timeout to the update user profile params
func (*UpdateUserProfileParams) WithUpdateUser ¶
func (o *UpdateUserProfileParams) WithUpdateUser(updateUser *models.SelfUserUpdate) *UpdateUserProfileParams
WithUpdateUser adds the updateUser to the update user profile params
func (*UpdateUserProfileParams) WriteToRequest ¶
func (o *UpdateUserProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateUserProfilePreconditionFailed ¶
UpdateUserProfilePreconditionFailed describes a response with status code 412, with default header values.
Payload too large
func NewUpdateUserProfilePreconditionFailed ¶
func NewUpdateUserProfilePreconditionFailed() *UpdateUserProfilePreconditionFailed
NewUpdateUserProfilePreconditionFailed creates a UpdateUserProfilePreconditionFailed with default headers values
func (*UpdateUserProfilePreconditionFailed) Code ¶
func (o *UpdateUserProfilePreconditionFailed) Code() int
Code gets the status code for the update user profile precondition failed response
func (*UpdateUserProfilePreconditionFailed) Error ¶
func (o *UpdateUserProfilePreconditionFailed) Error() string
func (*UpdateUserProfilePreconditionFailed) GetPayload ¶
func (o *UpdateUserProfilePreconditionFailed) GetPayload() *models.Error
func (*UpdateUserProfilePreconditionFailed) IsClientError ¶
func (o *UpdateUserProfilePreconditionFailed) IsClientError() bool
IsClientError returns true when this update user profile precondition failed response has a 4xx status code
func (*UpdateUserProfilePreconditionFailed) IsCode ¶
func (o *UpdateUserProfilePreconditionFailed) IsCode(code int) bool
IsCode returns true when this update user profile precondition failed response a status code equal to that given
func (*UpdateUserProfilePreconditionFailed) IsRedirect ¶
func (o *UpdateUserProfilePreconditionFailed) IsRedirect() bool
IsRedirect returns true when this update user profile precondition failed response has a 3xx status code
func (*UpdateUserProfilePreconditionFailed) IsServerError ¶
func (o *UpdateUserProfilePreconditionFailed) IsServerError() bool
IsServerError returns true when this update user profile precondition failed response has a 5xx status code
func (*UpdateUserProfilePreconditionFailed) IsSuccess ¶
func (o *UpdateUserProfilePreconditionFailed) IsSuccess() bool
IsSuccess returns true when this update user profile precondition failed response has a 2xx status code
func (*UpdateUserProfilePreconditionFailed) String ¶
func (o *UpdateUserProfilePreconditionFailed) String() string
type UpdateUserProfileReader ¶
type UpdateUserProfileReader struct {
// contains filtered or unexported fields
}
UpdateUserProfileReader is a Reader for the UpdateUserProfile structure.
func (*UpdateUserProfileReader) ReadResponse ¶
func (o *UpdateUserProfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateUserProfileTooManyRequests ¶
UpdateUserProfileTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewUpdateUserProfileTooManyRequests ¶
func NewUpdateUserProfileTooManyRequests() *UpdateUserProfileTooManyRequests
NewUpdateUserProfileTooManyRequests creates a UpdateUserProfileTooManyRequests with default headers values
func (*UpdateUserProfileTooManyRequests) Code ¶
func (o *UpdateUserProfileTooManyRequests) Code() int
Code gets the status code for the update user profile too many requests response
func (*UpdateUserProfileTooManyRequests) Error ¶
func (o *UpdateUserProfileTooManyRequests) Error() string
func (*UpdateUserProfileTooManyRequests) GetPayload ¶
func (o *UpdateUserProfileTooManyRequests) GetPayload() *models.Error
func (*UpdateUserProfileTooManyRequests) IsClientError ¶
func (o *UpdateUserProfileTooManyRequests) IsClientError() bool
IsClientError returns true when this update user profile too many requests response has a 4xx status code
func (*UpdateUserProfileTooManyRequests) IsCode ¶
func (o *UpdateUserProfileTooManyRequests) IsCode(code int) bool
IsCode returns true when this update user profile too many requests response a status code equal to that given
func (*UpdateUserProfileTooManyRequests) IsRedirect ¶
func (o *UpdateUserProfileTooManyRequests) IsRedirect() bool
IsRedirect returns true when this update user profile too many requests response has a 3xx status code
func (*UpdateUserProfileTooManyRequests) IsServerError ¶
func (o *UpdateUserProfileTooManyRequests) IsServerError() bool
IsServerError returns true when this update user profile too many requests response has a 5xx status code
func (*UpdateUserProfileTooManyRequests) IsSuccess ¶
func (o *UpdateUserProfileTooManyRequests) IsSuccess() bool
IsSuccess returns true when this update user profile too many requests response has a 2xx status code
func (*UpdateUserProfileTooManyRequests) String ¶
func (o *UpdateUserProfileTooManyRequests) String() string
type UpdateUserProfileUnauthorized ¶
type UpdateUserProfileUnauthorized struct {
}UpdateUserProfileUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateUserProfileUnauthorized ¶
func NewUpdateUserProfileUnauthorized() *UpdateUserProfileUnauthorized
NewUpdateUserProfileUnauthorized creates a UpdateUserProfileUnauthorized with default headers values
func (*UpdateUserProfileUnauthorized) Code ¶
func (o *UpdateUserProfileUnauthorized) Code() int
Code gets the status code for the update user profile unauthorized response
func (*UpdateUserProfileUnauthorized) Error ¶
func (o *UpdateUserProfileUnauthorized) Error() string
func (*UpdateUserProfileUnauthorized) GetPayload ¶
func (o *UpdateUserProfileUnauthorized) GetPayload() *models.Error
func (*UpdateUserProfileUnauthorized) IsClientError ¶
func (o *UpdateUserProfileUnauthorized) IsClientError() bool
IsClientError returns true when this update user profile unauthorized response has a 4xx status code
func (*UpdateUserProfileUnauthorized) IsCode ¶
func (o *UpdateUserProfileUnauthorized) IsCode(code int) bool
IsCode returns true when this update user profile unauthorized response a status code equal to that given
func (*UpdateUserProfileUnauthorized) IsRedirect ¶
func (o *UpdateUserProfileUnauthorized) IsRedirect() bool
IsRedirect returns true when this update user profile unauthorized response has a 3xx status code
func (*UpdateUserProfileUnauthorized) IsServerError ¶
func (o *UpdateUserProfileUnauthorized) IsServerError() bool
IsServerError returns true when this update user profile unauthorized response has a 5xx status code
func (*UpdateUserProfileUnauthorized) IsSuccess ¶
func (o *UpdateUserProfileUnauthorized) IsSuccess() bool
IsSuccess returns true when this update user profile unauthorized response has a 2xx status code
func (*UpdateUserProfileUnauthorized) String ¶
func (o *UpdateUserProfileUnauthorized) String() string
type UpdateUserProfileUnprocessableEntity ¶
UpdateUserProfileUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewUpdateUserProfileUnprocessableEntity ¶
func NewUpdateUserProfileUnprocessableEntity() *UpdateUserProfileUnprocessableEntity
NewUpdateUserProfileUnprocessableEntity creates a UpdateUserProfileUnprocessableEntity with default headers values
func (*UpdateUserProfileUnprocessableEntity) Code ¶
func (o *UpdateUserProfileUnprocessableEntity) Code() int
Code gets the status code for the update user profile unprocessable entity response
func (*UpdateUserProfileUnprocessableEntity) Error ¶
func (o *UpdateUserProfileUnprocessableEntity) Error() string
func (*UpdateUserProfileUnprocessableEntity) GetPayload ¶
func (o *UpdateUserProfileUnprocessableEntity) GetPayload() *models.Error
func (*UpdateUserProfileUnprocessableEntity) IsClientError ¶
func (o *UpdateUserProfileUnprocessableEntity) IsClientError() bool
IsClientError returns true when this update user profile unprocessable entity response has a 4xx status code
func (*UpdateUserProfileUnprocessableEntity) IsCode ¶
func (o *UpdateUserProfileUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update user profile unprocessable entity response a status code equal to that given
func (*UpdateUserProfileUnprocessableEntity) IsRedirect ¶
func (o *UpdateUserProfileUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this update user profile unprocessable entity response has a 3xx status code
func (*UpdateUserProfileUnprocessableEntity) IsServerError ¶
func (o *UpdateUserProfileUnprocessableEntity) IsServerError() bool
IsServerError returns true when this update user profile unprocessable entity response has a 5xx status code
func (*UpdateUserProfileUnprocessableEntity) IsSuccess ¶
func (o *UpdateUserProfileUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update user profile unprocessable entity response has a 2xx status code
func (*UpdateUserProfileUnprocessableEntity) String ¶
func (o *UpdateUserProfileUnprocessableEntity) String() string
type UpdateUserProfileV2BadRequest ¶
UpdateUserProfileV2BadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateUserProfileV2BadRequest ¶
func NewUpdateUserProfileV2BadRequest() *UpdateUserProfileV2BadRequest
NewUpdateUserProfileV2BadRequest creates a UpdateUserProfileV2BadRequest with default headers values
func (*UpdateUserProfileV2BadRequest) Code ¶
func (o *UpdateUserProfileV2BadRequest) Code() int
Code gets the status code for the update user profile v2 bad request response
func (*UpdateUserProfileV2BadRequest) Error ¶
func (o *UpdateUserProfileV2BadRequest) Error() string
func (*UpdateUserProfileV2BadRequest) GetPayload ¶
func (o *UpdateUserProfileV2BadRequest) GetPayload() *models.Error
func (*UpdateUserProfileV2BadRequest) IsClientError ¶
func (o *UpdateUserProfileV2BadRequest) IsClientError() bool
IsClientError returns true when this update user profile v2 bad request response has a 4xx status code
func (*UpdateUserProfileV2BadRequest) IsCode ¶
func (o *UpdateUserProfileV2BadRequest) IsCode(code int) bool
IsCode returns true when this update user profile v2 bad request response a status code equal to that given
func (*UpdateUserProfileV2BadRequest) IsRedirect ¶
func (o *UpdateUserProfileV2BadRequest) IsRedirect() bool
IsRedirect returns true when this update user profile v2 bad request response has a 3xx status code
func (*UpdateUserProfileV2BadRequest) IsServerError ¶
func (o *UpdateUserProfileV2BadRequest) IsServerError() bool
IsServerError returns true when this update user profile v2 bad request response has a 5xx status code
func (*UpdateUserProfileV2BadRequest) IsSuccess ¶
func (o *UpdateUserProfileV2BadRequest) IsSuccess() bool
IsSuccess returns true when this update user profile v2 bad request response has a 2xx status code
func (*UpdateUserProfileV2BadRequest) String ¶
func (o *UpdateUserProfileV2BadRequest) String() string
type UpdateUserProfileV2Conflict ¶
UpdateUserProfileV2Conflict describes a response with status code 409, with default header values.
Conflict
func NewUpdateUserProfileV2Conflict ¶
func NewUpdateUserProfileV2Conflict() *UpdateUserProfileV2Conflict
NewUpdateUserProfileV2Conflict creates a UpdateUserProfileV2Conflict with default headers values
func (*UpdateUserProfileV2Conflict) Code ¶
func (o *UpdateUserProfileV2Conflict) Code() int
Code gets the status code for the update user profile v2 conflict response
func (*UpdateUserProfileV2Conflict) Error ¶
func (o *UpdateUserProfileV2Conflict) Error() string
func (*UpdateUserProfileV2Conflict) GetPayload ¶
func (o *UpdateUserProfileV2Conflict) GetPayload() *models.Error
func (*UpdateUserProfileV2Conflict) IsClientError ¶
func (o *UpdateUserProfileV2Conflict) IsClientError() bool
IsClientError returns true when this update user profile v2 conflict response has a 4xx status code
func (*UpdateUserProfileV2Conflict) IsCode ¶
func (o *UpdateUserProfileV2Conflict) IsCode(code int) bool
IsCode returns true when this update user profile v2 conflict response a status code equal to that given
func (*UpdateUserProfileV2Conflict) IsRedirect ¶
func (o *UpdateUserProfileV2Conflict) IsRedirect() bool
IsRedirect returns true when this update user profile v2 conflict response has a 3xx status code
func (*UpdateUserProfileV2Conflict) IsServerError ¶
func (o *UpdateUserProfileV2Conflict) IsServerError() bool
IsServerError returns true when this update user profile v2 conflict response has a 5xx status code
func (*UpdateUserProfileV2Conflict) IsSuccess ¶
func (o *UpdateUserProfileV2Conflict) IsSuccess() bool
IsSuccess returns true when this update user profile v2 conflict response has a 2xx status code
func (*UpdateUserProfileV2Conflict) String ¶
func (o *UpdateUserProfileV2Conflict) String() string
type UpdateUserProfileV2Forbidden ¶
UpdateUserProfileV2Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateUserProfileV2Forbidden ¶
func NewUpdateUserProfileV2Forbidden() *UpdateUserProfileV2Forbidden
NewUpdateUserProfileV2Forbidden creates a UpdateUserProfileV2Forbidden with default headers values
func (*UpdateUserProfileV2Forbidden) Code ¶
func (o *UpdateUserProfileV2Forbidden) Code() int
Code gets the status code for the update user profile v2 forbidden response
func (*UpdateUserProfileV2Forbidden) Error ¶
func (o *UpdateUserProfileV2Forbidden) Error() string
func (*UpdateUserProfileV2Forbidden) GetPayload ¶
func (o *UpdateUserProfileV2Forbidden) GetPayload() *models.Error
func (*UpdateUserProfileV2Forbidden) IsClientError ¶
func (o *UpdateUserProfileV2Forbidden) IsClientError() bool
IsClientError returns true when this update user profile v2 forbidden response has a 4xx status code
func (*UpdateUserProfileV2Forbidden) IsCode ¶
func (o *UpdateUserProfileV2Forbidden) IsCode(code int) bool
IsCode returns true when this update user profile v2 forbidden response a status code equal to that given
func (*UpdateUserProfileV2Forbidden) IsRedirect ¶
func (o *UpdateUserProfileV2Forbidden) IsRedirect() bool
IsRedirect returns true when this update user profile v2 forbidden response has a 3xx status code
func (*UpdateUserProfileV2Forbidden) IsServerError ¶
func (o *UpdateUserProfileV2Forbidden) IsServerError() bool
IsServerError returns true when this update user profile v2 forbidden response has a 5xx status code
func (*UpdateUserProfileV2Forbidden) IsSuccess ¶
func (o *UpdateUserProfileV2Forbidden) IsSuccess() bool
IsSuccess returns true when this update user profile v2 forbidden response has a 2xx status code
func (*UpdateUserProfileV2Forbidden) String ¶
func (o *UpdateUserProfileV2Forbidden) String() string
type UpdateUserProfileV2NotFound ¶
UpdateUserProfileV2NotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateUserProfileV2NotFound ¶
func NewUpdateUserProfileV2NotFound() *UpdateUserProfileV2NotFound
NewUpdateUserProfileV2NotFound creates a UpdateUserProfileV2NotFound with default headers values
func (*UpdateUserProfileV2NotFound) Code ¶
func (o *UpdateUserProfileV2NotFound) Code() int
Code gets the status code for the update user profile v2 not found response
func (*UpdateUserProfileV2NotFound) Error ¶
func (o *UpdateUserProfileV2NotFound) Error() string
func (*UpdateUserProfileV2NotFound) GetPayload ¶
func (o *UpdateUserProfileV2NotFound) GetPayload() *models.Error
func (*UpdateUserProfileV2NotFound) IsClientError ¶
func (o *UpdateUserProfileV2NotFound) IsClientError() bool
IsClientError returns true when this update user profile v2 not found response has a 4xx status code
func (*UpdateUserProfileV2NotFound) IsCode ¶
func (o *UpdateUserProfileV2NotFound) IsCode(code int) bool
IsCode returns true when this update user profile v2 not found response a status code equal to that given
func (*UpdateUserProfileV2NotFound) IsRedirect ¶
func (o *UpdateUserProfileV2NotFound) IsRedirect() bool
IsRedirect returns true when this update user profile v2 not found response has a 3xx status code
func (*UpdateUserProfileV2NotFound) IsServerError ¶
func (o *UpdateUserProfileV2NotFound) IsServerError() bool
IsServerError returns true when this update user profile v2 not found response has a 5xx status code
func (*UpdateUserProfileV2NotFound) IsSuccess ¶
func (o *UpdateUserProfileV2NotFound) IsSuccess() bool
IsSuccess returns true when this update user profile v2 not found response has a 2xx status code
func (*UpdateUserProfileV2NotFound) String ¶
func (o *UpdateUserProfileV2NotFound) String() string
type UpdateUserProfileV2OK ¶
type UpdateUserProfileV2OK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.SelfUserWithDataV2 }
UpdateUserProfileV2OK describes a response with status code 200, with default header values.
User profile data
func NewUpdateUserProfileV2OK ¶
func NewUpdateUserProfileV2OK() *UpdateUserProfileV2OK
NewUpdateUserProfileV2OK creates a UpdateUserProfileV2OK with default headers values
func (*UpdateUserProfileV2OK) Code ¶
func (o *UpdateUserProfileV2OK) Code() int
Code gets the status code for the update user profile v2 o k response
func (*UpdateUserProfileV2OK) Error ¶
func (o *UpdateUserProfileV2OK) Error() string
func (*UpdateUserProfileV2OK) GetPayload ¶
func (o *UpdateUserProfileV2OK) GetPayload() *models.SelfUserWithDataV2
func (*UpdateUserProfileV2OK) IsClientError ¶
func (o *UpdateUserProfileV2OK) IsClientError() bool
IsClientError returns true when this update user profile v2 o k response has a 4xx status code
func (*UpdateUserProfileV2OK) IsCode ¶
func (o *UpdateUserProfileV2OK) IsCode(code int) bool
IsCode returns true when this update user profile v2 o k response a status code equal to that given
func (*UpdateUserProfileV2OK) IsRedirect ¶
func (o *UpdateUserProfileV2OK) IsRedirect() bool
IsRedirect returns true when this update user profile v2 o k response has a 3xx status code
func (*UpdateUserProfileV2OK) IsServerError ¶
func (o *UpdateUserProfileV2OK) IsServerError() bool
IsServerError returns true when this update user profile v2 o k response has a 5xx status code
func (*UpdateUserProfileV2OK) IsSuccess ¶
func (o *UpdateUserProfileV2OK) IsSuccess() bool
IsSuccess returns true when this update user profile v2 o k response has a 2xx status code
func (*UpdateUserProfileV2OK) String ¶
func (o *UpdateUserProfileV2OK) String() string
type UpdateUserProfileV2Params ¶
type UpdateUserProfileV2Params struct { // UpdateUser. UpdateUser *models.SelfUserUpdate /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateUserProfileV2Params contains all the parameters to send to the API endpoint
for the update user profile v2 operation. Typically these are written to a http.Request.
func NewUpdateUserProfileV2Params ¶
func NewUpdateUserProfileV2Params() *UpdateUserProfileV2Params
NewUpdateUserProfileV2Params creates a new UpdateUserProfileV2Params 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 NewUpdateUserProfileV2ParamsWithContext ¶
func NewUpdateUserProfileV2ParamsWithContext(ctx context.Context) *UpdateUserProfileV2Params
NewUpdateUserProfileV2ParamsWithContext creates a new UpdateUserProfileV2Params object with the ability to set a context for a request.
func NewUpdateUserProfileV2ParamsWithHTTPClient ¶
func NewUpdateUserProfileV2ParamsWithHTTPClient(client *http.Client) *UpdateUserProfileV2Params
NewUpdateUserProfileV2ParamsWithHTTPClient creates a new UpdateUserProfileV2Params object with the ability to set a custom HTTPClient for a request.
func NewUpdateUserProfileV2ParamsWithTimeout ¶
func NewUpdateUserProfileV2ParamsWithTimeout(timeout time.Duration) *UpdateUserProfileV2Params
NewUpdateUserProfileV2ParamsWithTimeout creates a new UpdateUserProfileV2Params object with the ability to set a timeout on a request.
func (*UpdateUserProfileV2Params) SetContext ¶
func (o *UpdateUserProfileV2Params) SetContext(ctx context.Context)
SetContext adds the context to the update user profile v2 params
func (*UpdateUserProfileV2Params) SetDefaults ¶
func (o *UpdateUserProfileV2Params) SetDefaults()
SetDefaults hydrates default values in the update user profile v2 params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserProfileV2Params) SetHTTPClient ¶
func (o *UpdateUserProfileV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update user profile v2 params
func (*UpdateUserProfileV2Params) SetIfMatch ¶
func (o *UpdateUserProfileV2Params) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the update user profile v2 params
func (*UpdateUserProfileV2Params) SetTimeout ¶
func (o *UpdateUserProfileV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update user profile v2 params
func (*UpdateUserProfileV2Params) SetUpdateUser ¶
func (o *UpdateUserProfileV2Params) SetUpdateUser(updateUser *models.SelfUserUpdate)
SetUpdateUser adds the updateUser to the update user profile v2 params
func (*UpdateUserProfileV2Params) WithContext ¶
func (o *UpdateUserProfileV2Params) WithContext(ctx context.Context) *UpdateUserProfileV2Params
WithContext adds the context to the update user profile v2 params
func (*UpdateUserProfileV2Params) WithDefaults ¶
func (o *UpdateUserProfileV2Params) WithDefaults() *UpdateUserProfileV2Params
WithDefaults hydrates default values in the update user profile v2 params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserProfileV2Params) WithHTTPClient ¶
func (o *UpdateUserProfileV2Params) WithHTTPClient(client *http.Client) *UpdateUserProfileV2Params
WithHTTPClient adds the HTTPClient to the update user profile v2 params
func (*UpdateUserProfileV2Params) WithIfMatch ¶
func (o *UpdateUserProfileV2Params) WithIfMatch(ifMatch *string) *UpdateUserProfileV2Params
WithIfMatch adds the ifMatch to the update user profile v2 params
func (*UpdateUserProfileV2Params) WithTimeout ¶
func (o *UpdateUserProfileV2Params) WithTimeout(timeout time.Duration) *UpdateUserProfileV2Params
WithTimeout adds the timeout to the update user profile v2 params
func (*UpdateUserProfileV2Params) WithUpdateUser ¶
func (o *UpdateUserProfileV2Params) WithUpdateUser(updateUser *models.SelfUserUpdate) *UpdateUserProfileV2Params
WithUpdateUser adds the updateUser to the update user profile v2 params
func (*UpdateUserProfileV2Params) WriteToRequest ¶
func (o *UpdateUserProfileV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateUserProfileV2PreconditionFailed ¶
UpdateUserProfileV2PreconditionFailed describes a response with status code 412, with default header values.
Payload too large
func NewUpdateUserProfileV2PreconditionFailed ¶
func NewUpdateUserProfileV2PreconditionFailed() *UpdateUserProfileV2PreconditionFailed
NewUpdateUserProfileV2PreconditionFailed creates a UpdateUserProfileV2PreconditionFailed with default headers values
func (*UpdateUserProfileV2PreconditionFailed) Code ¶
func (o *UpdateUserProfileV2PreconditionFailed) Code() int
Code gets the status code for the update user profile v2 precondition failed response
func (*UpdateUserProfileV2PreconditionFailed) Error ¶
func (o *UpdateUserProfileV2PreconditionFailed) Error() string
func (*UpdateUserProfileV2PreconditionFailed) GetPayload ¶
func (o *UpdateUserProfileV2PreconditionFailed) GetPayload() *models.Error
func (*UpdateUserProfileV2PreconditionFailed) IsClientError ¶
func (o *UpdateUserProfileV2PreconditionFailed) IsClientError() bool
IsClientError returns true when this update user profile v2 precondition failed response has a 4xx status code
func (*UpdateUserProfileV2PreconditionFailed) IsCode ¶
func (o *UpdateUserProfileV2PreconditionFailed) IsCode(code int) bool
IsCode returns true when this update user profile v2 precondition failed response a status code equal to that given
func (*UpdateUserProfileV2PreconditionFailed) IsRedirect ¶
func (o *UpdateUserProfileV2PreconditionFailed) IsRedirect() bool
IsRedirect returns true when this update user profile v2 precondition failed response has a 3xx status code
func (*UpdateUserProfileV2PreconditionFailed) IsServerError ¶
func (o *UpdateUserProfileV2PreconditionFailed) IsServerError() bool
IsServerError returns true when this update user profile v2 precondition failed response has a 5xx status code
func (*UpdateUserProfileV2PreconditionFailed) IsSuccess ¶
func (o *UpdateUserProfileV2PreconditionFailed) IsSuccess() bool
IsSuccess returns true when this update user profile v2 precondition failed response has a 2xx status code
func (*UpdateUserProfileV2PreconditionFailed) String ¶
func (o *UpdateUserProfileV2PreconditionFailed) String() string
type UpdateUserProfileV2Reader ¶
type UpdateUserProfileV2Reader struct {
// contains filtered or unexported fields
}
UpdateUserProfileV2Reader is a Reader for the UpdateUserProfileV2 structure.
func (*UpdateUserProfileV2Reader) ReadResponse ¶
func (o *UpdateUserProfileV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateUserProfileV2TooManyRequests ¶
UpdateUserProfileV2TooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewUpdateUserProfileV2TooManyRequests ¶
func NewUpdateUserProfileV2TooManyRequests() *UpdateUserProfileV2TooManyRequests
NewUpdateUserProfileV2TooManyRequests creates a UpdateUserProfileV2TooManyRequests with default headers values
func (*UpdateUserProfileV2TooManyRequests) Code ¶
func (o *UpdateUserProfileV2TooManyRequests) Code() int
Code gets the status code for the update user profile v2 too many requests response
func (*UpdateUserProfileV2TooManyRequests) Error ¶
func (o *UpdateUserProfileV2TooManyRequests) Error() string
func (*UpdateUserProfileV2TooManyRequests) GetPayload ¶
func (o *UpdateUserProfileV2TooManyRequests) GetPayload() *models.Error
func (*UpdateUserProfileV2TooManyRequests) IsClientError ¶
func (o *UpdateUserProfileV2TooManyRequests) IsClientError() bool
IsClientError returns true when this update user profile v2 too many requests response has a 4xx status code
func (*UpdateUserProfileV2TooManyRequests) IsCode ¶
func (o *UpdateUserProfileV2TooManyRequests) IsCode(code int) bool
IsCode returns true when this update user profile v2 too many requests response a status code equal to that given
func (*UpdateUserProfileV2TooManyRequests) IsRedirect ¶
func (o *UpdateUserProfileV2TooManyRequests) IsRedirect() bool
IsRedirect returns true when this update user profile v2 too many requests response has a 3xx status code
func (*UpdateUserProfileV2TooManyRequests) IsServerError ¶
func (o *UpdateUserProfileV2TooManyRequests) IsServerError() bool
IsServerError returns true when this update user profile v2 too many requests response has a 5xx status code
func (*UpdateUserProfileV2TooManyRequests) IsSuccess ¶
func (o *UpdateUserProfileV2TooManyRequests) IsSuccess() bool
IsSuccess returns true when this update user profile v2 too many requests response has a 2xx status code
func (*UpdateUserProfileV2TooManyRequests) String ¶
func (o *UpdateUserProfileV2TooManyRequests) String() string
type UpdateUserProfileV2Unauthorized ¶
type UpdateUserProfileV2Unauthorized struct {
}UpdateUserProfileV2Unauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateUserProfileV2Unauthorized ¶
func NewUpdateUserProfileV2Unauthorized() *UpdateUserProfileV2Unauthorized
NewUpdateUserProfileV2Unauthorized creates a UpdateUserProfileV2Unauthorized with default headers values
func (*UpdateUserProfileV2Unauthorized) Code ¶
func (o *UpdateUserProfileV2Unauthorized) Code() int
Code gets the status code for the update user profile v2 unauthorized response
func (*UpdateUserProfileV2Unauthorized) Error ¶
func (o *UpdateUserProfileV2Unauthorized) Error() string
func (*UpdateUserProfileV2Unauthorized) GetPayload ¶
func (o *UpdateUserProfileV2Unauthorized) GetPayload() *models.Error
func (*UpdateUserProfileV2Unauthorized) IsClientError ¶
func (o *UpdateUserProfileV2Unauthorized) IsClientError() bool
IsClientError returns true when this update user profile v2 unauthorized response has a 4xx status code
func (*UpdateUserProfileV2Unauthorized) IsCode ¶
func (o *UpdateUserProfileV2Unauthorized) IsCode(code int) bool
IsCode returns true when this update user profile v2 unauthorized response a status code equal to that given
func (*UpdateUserProfileV2Unauthorized) IsRedirect ¶
func (o *UpdateUserProfileV2Unauthorized) IsRedirect() bool
IsRedirect returns true when this update user profile v2 unauthorized response has a 3xx status code
func (*UpdateUserProfileV2Unauthorized) IsServerError ¶
func (o *UpdateUserProfileV2Unauthorized) IsServerError() bool
IsServerError returns true when this update user profile v2 unauthorized response has a 5xx status code
func (*UpdateUserProfileV2Unauthorized) IsSuccess ¶
func (o *UpdateUserProfileV2Unauthorized) IsSuccess() bool
IsSuccess returns true when this update user profile v2 unauthorized response has a 2xx status code
func (*UpdateUserProfileV2Unauthorized) String ¶
func (o *UpdateUserProfileV2Unauthorized) String() string
type UpdateUserProfileV2UnprocessableEntity ¶
UpdateUserProfileV2UnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewUpdateUserProfileV2UnprocessableEntity ¶
func NewUpdateUserProfileV2UnprocessableEntity() *UpdateUserProfileV2UnprocessableEntity
NewUpdateUserProfileV2UnprocessableEntity creates a UpdateUserProfileV2UnprocessableEntity with default headers values
func (*UpdateUserProfileV2UnprocessableEntity) Code ¶
func (o *UpdateUserProfileV2UnprocessableEntity) Code() int
Code gets the status code for the update user profile v2 unprocessable entity response
func (*UpdateUserProfileV2UnprocessableEntity) Error ¶
func (o *UpdateUserProfileV2UnprocessableEntity) Error() string
func (*UpdateUserProfileV2UnprocessableEntity) GetPayload ¶
func (o *UpdateUserProfileV2UnprocessableEntity) GetPayload() *models.Error
func (*UpdateUserProfileV2UnprocessableEntity) IsClientError ¶
func (o *UpdateUserProfileV2UnprocessableEntity) IsClientError() bool
IsClientError returns true when this update user profile v2 unprocessable entity response has a 4xx status code
func (*UpdateUserProfileV2UnprocessableEntity) IsCode ¶
func (o *UpdateUserProfileV2UnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update user profile v2 unprocessable entity response a status code equal to that given
func (*UpdateUserProfileV2UnprocessableEntity) IsRedirect ¶
func (o *UpdateUserProfileV2UnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this update user profile v2 unprocessable entity response has a 3xx status code
func (*UpdateUserProfileV2UnprocessableEntity) IsServerError ¶
func (o *UpdateUserProfileV2UnprocessableEntity) IsServerError() bool
IsServerError returns true when this update user profile v2 unprocessable entity response has a 5xx status code
func (*UpdateUserProfileV2UnprocessableEntity) IsSuccess ¶
func (o *UpdateUserProfileV2UnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update user profile v2 unprocessable entity response has a 2xx status code
func (*UpdateUserProfileV2UnprocessableEntity) String ¶
func (o *UpdateUserProfileV2UnprocessableEntity) String() string
Source Files ¶
- change_password_parameters.go
- change_password_responses.go
- change_password_v2_parameters.go
- change_password_v2_responses.go
- get_user_profile_parameters.go
- get_user_profile_responses.go
- get_user_profile_v2_parameters.go
- get_user_profile_v2_responses.go
- reset_password_confirm_parameters.go
- reset_password_confirm_responses.go
- update_user_profile_parameters.go
- update_user_profile_responses.go
- update_user_profile_v2_parameters.go
- update_user_profile_v2_responses.go
- users_client.go