Documentation
¶
Index ¶
- func WithAcceptApplicationJSON(r *runtime.ClientOperation)
- func WithAcceptImagePng(r *runtime.ClientOperation)
- func WithAcceptTextPlain(r *runtime.ClientOperation)
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationXML(r *runtime.ClientOperation)
- func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
- type Client
- func (a *Client) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetUserOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TwoFactorDisablePost(params *TwoFactorDisablePostParams, authInfo runtime.ClientAuthInfoWriter, ...) (*TwoFactorDisablePostOK, error)
- func (a *Client) TwoFactorEnablePost(params *TwoFactorEnablePostParams, authInfo runtime.ClientAuthInfoWriter, ...) (*TwoFactorEnablePostOK, error)
- func (a *Client) TwoFactorQRCodePngGet(params *TwoFactorQRCodePngGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*TwoFactorQRCodePngGetOK, error)
- func (a *Client) TwoFactorQRCodeURIGet(params *TwoFactorQRCodeURIGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*TwoFactorQRCodeURIGetOK, error)
- func (a *Client) UserEmailChange(params *UserEmailChangeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UserEmailChangeAccepted, error)
- func (a *Client) UserPasswordChange(params *UserPasswordChangeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UserPasswordChangeOK, error)
- type ClientOption
- type ClientService
- type GetUserBadRequest
- func (o *GetUserBadRequest) Code() int
- func (o *GetUserBadRequest) Error() string
- func (o *GetUserBadRequest) IsClientError() bool
- func (o *GetUserBadRequest) IsCode(code int) bool
- func (o *GetUserBadRequest) IsRedirect() bool
- func (o *GetUserBadRequest) IsServerError() bool
- func (o *GetUserBadRequest) IsSuccess() bool
- func (o *GetUserBadRequest) String() string
- type GetUserForbidden
- func (o *GetUserForbidden) Code() int
- func (o *GetUserForbidden) Error() string
- func (o *GetUserForbidden) IsClientError() bool
- func (o *GetUserForbidden) IsCode(code int) bool
- func (o *GetUserForbidden) IsRedirect() bool
- func (o *GetUserForbidden) IsServerError() bool
- func (o *GetUserForbidden) IsSuccess() bool
- func (o *GetUserForbidden) String() string
- type GetUserInternalServerError
- func (o *GetUserInternalServerError) Code() int
- func (o *GetUserInternalServerError) Error() string
- func (o *GetUserInternalServerError) IsClientError() bool
- func (o *GetUserInternalServerError) IsCode(code int) bool
- func (o *GetUserInternalServerError) IsRedirect() bool
- func (o *GetUserInternalServerError) IsServerError() bool
- func (o *GetUserInternalServerError) IsSuccess() bool
- func (o *GetUserInternalServerError) String() string
- type GetUserNotAcceptable
- func (o *GetUserNotAcceptable) Code() int
- func (o *GetUserNotAcceptable) Error() string
- func (o *GetUserNotAcceptable) IsClientError() bool
- func (o *GetUserNotAcceptable) IsCode(code int) bool
- func (o *GetUserNotAcceptable) IsRedirect() bool
- func (o *GetUserNotAcceptable) IsServerError() bool
- func (o *GetUserNotAcceptable) IsSuccess() bool
- func (o *GetUserNotAcceptable) String() string
- type GetUserOK
- func (o *GetUserOK) Code() int
- func (o *GetUserOK) Error() string
- func (o *GetUserOK) GetPayload() *models.User
- func (o *GetUserOK) IsClientError() bool
- func (o *GetUserOK) IsCode(code int) bool
- func (o *GetUserOK) IsRedirect() bool
- func (o *GetUserOK) IsServerError() bool
- func (o *GetUserOK) IsSuccess() bool
- func (o *GetUserOK) String() string
- type GetUserParams
- func (o *GetUserParams) SetContext(ctx context.Context)
- func (o *GetUserParams) SetDefaults()
- func (o *GetUserParams) SetHTTPClient(client *http.Client)
- func (o *GetUserParams) SetTimeout(timeout time.Duration)
- func (o *GetUserParams) WithContext(ctx context.Context) *GetUserParams
- func (o *GetUserParams) WithDefaults() *GetUserParams
- func (o *GetUserParams) WithHTTPClient(client *http.Client) *GetUserParams
- func (o *GetUserParams) WithTimeout(timeout time.Duration) *GetUserParams
- func (o *GetUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserReader
- type GetUserUnauthorized
- func (o *GetUserUnauthorized) Code() int
- func (o *GetUserUnauthorized) Error() string
- func (o *GetUserUnauthorized) IsClientError() bool
- func (o *GetUserUnauthorized) IsCode(code int) bool
- func (o *GetUserUnauthorized) IsRedirect() bool
- func (o *GetUserUnauthorized) IsServerError() bool
- func (o *GetUserUnauthorized) IsSuccess() bool
- func (o *GetUserUnauthorized) String() string
- type TwoFactorDisablePostConflict
- func (o *TwoFactorDisablePostConflict) Code() int
- func (o *TwoFactorDisablePostConflict) Error() string
- func (o *TwoFactorDisablePostConflict) IsClientError() bool
- func (o *TwoFactorDisablePostConflict) IsCode(code int) bool
- func (o *TwoFactorDisablePostConflict) IsRedirect() bool
- func (o *TwoFactorDisablePostConflict) IsServerError() bool
- func (o *TwoFactorDisablePostConflict) IsSuccess() bool
- func (o *TwoFactorDisablePostConflict) String() string
- type TwoFactorDisablePostForbidden
- func (o *TwoFactorDisablePostForbidden) Code() int
- func (o *TwoFactorDisablePostForbidden) Error() string
- func (o *TwoFactorDisablePostForbidden) IsClientError() bool
- func (o *TwoFactorDisablePostForbidden) IsCode(code int) bool
- func (o *TwoFactorDisablePostForbidden) IsRedirect() bool
- func (o *TwoFactorDisablePostForbidden) IsServerError() bool
- func (o *TwoFactorDisablePostForbidden) IsSuccess() bool
- func (o *TwoFactorDisablePostForbidden) String() string
- type TwoFactorDisablePostInternalServerError
- func (o *TwoFactorDisablePostInternalServerError) Code() int
- func (o *TwoFactorDisablePostInternalServerError) Error() string
- func (o *TwoFactorDisablePostInternalServerError) IsClientError() bool
- func (o *TwoFactorDisablePostInternalServerError) IsCode(code int) bool
- func (o *TwoFactorDisablePostInternalServerError) IsRedirect() bool
- func (o *TwoFactorDisablePostInternalServerError) IsServerError() bool
- func (o *TwoFactorDisablePostInternalServerError) IsSuccess() bool
- func (o *TwoFactorDisablePostInternalServerError) String() string
- type TwoFactorDisablePostNotAcceptable
- func (o *TwoFactorDisablePostNotAcceptable) Code() int
- func (o *TwoFactorDisablePostNotAcceptable) Error() string
- func (o *TwoFactorDisablePostNotAcceptable) IsClientError() bool
- func (o *TwoFactorDisablePostNotAcceptable) IsCode(code int) bool
- func (o *TwoFactorDisablePostNotAcceptable) IsRedirect() bool
- func (o *TwoFactorDisablePostNotAcceptable) IsServerError() bool
- func (o *TwoFactorDisablePostNotAcceptable) IsSuccess() bool
- func (o *TwoFactorDisablePostNotAcceptable) String() string
- type TwoFactorDisablePostOK
- func (o *TwoFactorDisablePostOK) Code() int
- func (o *TwoFactorDisablePostOK) Error() string
- func (o *TwoFactorDisablePostOK) IsClientError() bool
- func (o *TwoFactorDisablePostOK) IsCode(code int) bool
- func (o *TwoFactorDisablePostOK) IsRedirect() bool
- func (o *TwoFactorDisablePostOK) IsServerError() bool
- func (o *TwoFactorDisablePostOK) IsSuccess() bool
- func (o *TwoFactorDisablePostOK) String() string
- type TwoFactorDisablePostParams
- func NewTwoFactorDisablePostParams() *TwoFactorDisablePostParams
- func NewTwoFactorDisablePostParamsWithContext(ctx context.Context) *TwoFactorDisablePostParams
- func NewTwoFactorDisablePostParamsWithHTTPClient(client *http.Client) *TwoFactorDisablePostParams
- func NewTwoFactorDisablePostParamsWithTimeout(timeout time.Duration) *TwoFactorDisablePostParams
- func (o *TwoFactorDisablePostParams) SetContext(ctx context.Context)
- func (o *TwoFactorDisablePostParams) SetDefaults()
- func (o *TwoFactorDisablePostParams) SetHTTPClient(client *http.Client)
- func (o *TwoFactorDisablePostParams) SetPassword(password *string)
- func (o *TwoFactorDisablePostParams) SetTimeout(timeout time.Duration)
- func (o *TwoFactorDisablePostParams) WithContext(ctx context.Context) *TwoFactorDisablePostParams
- func (o *TwoFactorDisablePostParams) WithDefaults() *TwoFactorDisablePostParams
- func (o *TwoFactorDisablePostParams) WithHTTPClient(client *http.Client) *TwoFactorDisablePostParams
- func (o *TwoFactorDisablePostParams) WithPassword(password *string) *TwoFactorDisablePostParams
- func (o *TwoFactorDisablePostParams) WithTimeout(timeout time.Duration) *TwoFactorDisablePostParams
- func (o *TwoFactorDisablePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TwoFactorDisablePostReader
- type TwoFactorDisablePostUnauthorized
- func (o *TwoFactorDisablePostUnauthorized) Code() int
- func (o *TwoFactorDisablePostUnauthorized) Error() string
- func (o *TwoFactorDisablePostUnauthorized) IsClientError() bool
- func (o *TwoFactorDisablePostUnauthorized) IsCode(code int) bool
- func (o *TwoFactorDisablePostUnauthorized) IsRedirect() bool
- func (o *TwoFactorDisablePostUnauthorized) IsServerError() bool
- func (o *TwoFactorDisablePostUnauthorized) IsSuccess() bool
- func (o *TwoFactorDisablePostUnauthorized) String() string
- type TwoFactorDisablePostUnprocessableEntity
- func (o *TwoFactorDisablePostUnprocessableEntity) Code() int
- func (o *TwoFactorDisablePostUnprocessableEntity) Error() string
- func (o *TwoFactorDisablePostUnprocessableEntity) IsClientError() bool
- func (o *TwoFactorDisablePostUnprocessableEntity) IsCode(code int) bool
- func (o *TwoFactorDisablePostUnprocessableEntity) IsRedirect() bool
- func (o *TwoFactorDisablePostUnprocessableEntity) IsServerError() bool
- func (o *TwoFactorDisablePostUnprocessableEntity) IsSuccess() bool
- func (o *TwoFactorDisablePostUnprocessableEntity) String() string
- type TwoFactorEnablePostConflict
- func (o *TwoFactorEnablePostConflict) Code() int
- func (o *TwoFactorEnablePostConflict) Error() string
- func (o *TwoFactorEnablePostConflict) IsClientError() bool
- func (o *TwoFactorEnablePostConflict) IsCode(code int) bool
- func (o *TwoFactorEnablePostConflict) IsRedirect() bool
- func (o *TwoFactorEnablePostConflict) IsServerError() bool
- func (o *TwoFactorEnablePostConflict) IsSuccess() bool
- func (o *TwoFactorEnablePostConflict) String() string
- type TwoFactorEnablePostForbidden
- func (o *TwoFactorEnablePostForbidden) Code() int
- func (o *TwoFactorEnablePostForbidden) Error() string
- func (o *TwoFactorEnablePostForbidden) IsClientError() bool
- func (o *TwoFactorEnablePostForbidden) IsCode(code int) bool
- func (o *TwoFactorEnablePostForbidden) IsRedirect() bool
- func (o *TwoFactorEnablePostForbidden) IsServerError() bool
- func (o *TwoFactorEnablePostForbidden) IsSuccess() bool
- func (o *TwoFactorEnablePostForbidden) String() string
- type TwoFactorEnablePostInternalServerError
- func (o *TwoFactorEnablePostInternalServerError) Code() int
- func (o *TwoFactorEnablePostInternalServerError) Error() string
- func (o *TwoFactorEnablePostInternalServerError) IsClientError() bool
- func (o *TwoFactorEnablePostInternalServerError) IsCode(code int) bool
- func (o *TwoFactorEnablePostInternalServerError) IsRedirect() bool
- func (o *TwoFactorEnablePostInternalServerError) IsServerError() bool
- func (o *TwoFactorEnablePostInternalServerError) IsSuccess() bool
- func (o *TwoFactorEnablePostInternalServerError) String() string
- type TwoFactorEnablePostNotAcceptable
- func (o *TwoFactorEnablePostNotAcceptable) Code() int
- func (o *TwoFactorEnablePostNotAcceptable) Error() string
- func (o *TwoFactorEnablePostNotAcceptable) IsClientError() bool
- func (o *TwoFactorEnablePostNotAcceptable) IsCode(code int) bool
- func (o *TwoFactorEnablePostNotAcceptable) IsRedirect() bool
- func (o *TwoFactorEnablePostNotAcceptable) IsServerError() bool
- func (o *TwoFactorEnablePostNotAcceptable) IsSuccess() bool
- func (o *TwoFactorEnablePostNotAcceptable) String() string
- type TwoFactorEnablePostOK
- func (o *TwoFactorEnablePostOK) Code() int
- func (o *TwoFactorEnablePostOK) Error() string
- func (o *TwoFactorEnablePostOK) IsClientError() bool
- func (o *TwoFactorEnablePostOK) IsCode(code int) bool
- func (o *TwoFactorEnablePostOK) IsRedirect() bool
- func (o *TwoFactorEnablePostOK) IsServerError() bool
- func (o *TwoFactorEnablePostOK) IsSuccess() bool
- func (o *TwoFactorEnablePostOK) String() string
- type TwoFactorEnablePostParams
- func NewTwoFactorEnablePostParams() *TwoFactorEnablePostParams
- func NewTwoFactorEnablePostParamsWithContext(ctx context.Context) *TwoFactorEnablePostParams
- func NewTwoFactorEnablePostParamsWithHTTPClient(client *http.Client) *TwoFactorEnablePostParams
- func NewTwoFactorEnablePostParamsWithTimeout(timeout time.Duration) *TwoFactorEnablePostParams
- func (o *TwoFactorEnablePostParams) SetCode(code *string)
- func (o *TwoFactorEnablePostParams) SetContext(ctx context.Context)
- func (o *TwoFactorEnablePostParams) SetDefaults()
- func (o *TwoFactorEnablePostParams) SetHTTPClient(client *http.Client)
- func (o *TwoFactorEnablePostParams) SetTimeout(timeout time.Duration)
- func (o *TwoFactorEnablePostParams) WithCode(code *string) *TwoFactorEnablePostParams
- func (o *TwoFactorEnablePostParams) WithContext(ctx context.Context) *TwoFactorEnablePostParams
- func (o *TwoFactorEnablePostParams) WithDefaults() *TwoFactorEnablePostParams
- func (o *TwoFactorEnablePostParams) WithHTTPClient(client *http.Client) *TwoFactorEnablePostParams
- func (o *TwoFactorEnablePostParams) WithTimeout(timeout time.Duration) *TwoFactorEnablePostParams
- func (o *TwoFactorEnablePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TwoFactorEnablePostReader
- type TwoFactorEnablePostUnauthorized
- func (o *TwoFactorEnablePostUnauthorized) Code() int
- func (o *TwoFactorEnablePostUnauthorized) Error() string
- func (o *TwoFactorEnablePostUnauthorized) IsClientError() bool
- func (o *TwoFactorEnablePostUnauthorized) IsCode(code int) bool
- func (o *TwoFactorEnablePostUnauthorized) IsRedirect() bool
- func (o *TwoFactorEnablePostUnauthorized) IsServerError() bool
- func (o *TwoFactorEnablePostUnauthorized) IsSuccess() bool
- func (o *TwoFactorEnablePostUnauthorized) String() string
- type TwoFactorEnablePostUnprocessableEntity
- func (o *TwoFactorEnablePostUnprocessableEntity) Code() int
- func (o *TwoFactorEnablePostUnprocessableEntity) Error() string
- func (o *TwoFactorEnablePostUnprocessableEntity) IsClientError() bool
- func (o *TwoFactorEnablePostUnprocessableEntity) IsCode(code int) bool
- func (o *TwoFactorEnablePostUnprocessableEntity) IsRedirect() bool
- func (o *TwoFactorEnablePostUnprocessableEntity) IsServerError() bool
- func (o *TwoFactorEnablePostUnprocessableEntity) IsSuccess() bool
- func (o *TwoFactorEnablePostUnprocessableEntity) String() string
- type TwoFactorQRCodePngGetConflict
- func (o *TwoFactorQRCodePngGetConflict) Code() int
- func (o *TwoFactorQRCodePngGetConflict) Error() string
- func (o *TwoFactorQRCodePngGetConflict) IsClientError() bool
- func (o *TwoFactorQRCodePngGetConflict) IsCode(code int) bool
- func (o *TwoFactorQRCodePngGetConflict) IsRedirect() bool
- func (o *TwoFactorQRCodePngGetConflict) IsServerError() bool
- func (o *TwoFactorQRCodePngGetConflict) IsSuccess() bool
- func (o *TwoFactorQRCodePngGetConflict) String() string
- type TwoFactorQRCodePngGetForbidden
- func (o *TwoFactorQRCodePngGetForbidden) Code() int
- func (o *TwoFactorQRCodePngGetForbidden) Error() string
- func (o *TwoFactorQRCodePngGetForbidden) IsClientError() bool
- func (o *TwoFactorQRCodePngGetForbidden) IsCode(code int) bool
- func (o *TwoFactorQRCodePngGetForbidden) IsRedirect() bool
- func (o *TwoFactorQRCodePngGetForbidden) IsServerError() bool
- func (o *TwoFactorQRCodePngGetForbidden) IsSuccess() bool
- func (o *TwoFactorQRCodePngGetForbidden) String() string
- type TwoFactorQRCodePngGetInternalServerError
- func (o *TwoFactorQRCodePngGetInternalServerError) Code() int
- func (o *TwoFactorQRCodePngGetInternalServerError) Error() string
- func (o *TwoFactorQRCodePngGetInternalServerError) IsClientError() bool
- func (o *TwoFactorQRCodePngGetInternalServerError) IsCode(code int) bool
- func (o *TwoFactorQRCodePngGetInternalServerError) IsRedirect() bool
- func (o *TwoFactorQRCodePngGetInternalServerError) IsServerError() bool
- func (o *TwoFactorQRCodePngGetInternalServerError) IsSuccess() bool
- func (o *TwoFactorQRCodePngGetInternalServerError) String() string
- type TwoFactorQRCodePngGetNotAcceptable
- func (o *TwoFactorQRCodePngGetNotAcceptable) Code() int
- func (o *TwoFactorQRCodePngGetNotAcceptable) Error() string
- func (o *TwoFactorQRCodePngGetNotAcceptable) IsClientError() bool
- func (o *TwoFactorQRCodePngGetNotAcceptable) IsCode(code int) bool
- func (o *TwoFactorQRCodePngGetNotAcceptable) IsRedirect() bool
- func (o *TwoFactorQRCodePngGetNotAcceptable) IsServerError() bool
- func (o *TwoFactorQRCodePngGetNotAcceptable) IsSuccess() bool
- func (o *TwoFactorQRCodePngGetNotAcceptable) String() string
- type TwoFactorQRCodePngGetOK
- func (o *TwoFactorQRCodePngGetOK) Code() int
- func (o *TwoFactorQRCodePngGetOK) Error() string
- func (o *TwoFactorQRCodePngGetOK) IsClientError() bool
- func (o *TwoFactorQRCodePngGetOK) IsCode(code int) bool
- func (o *TwoFactorQRCodePngGetOK) IsRedirect() bool
- func (o *TwoFactorQRCodePngGetOK) IsServerError() bool
- func (o *TwoFactorQRCodePngGetOK) IsSuccess() bool
- func (o *TwoFactorQRCodePngGetOK) String() string
- type TwoFactorQRCodePngGetParams
- func NewTwoFactorQRCodePngGetParams() *TwoFactorQRCodePngGetParams
- func NewTwoFactorQRCodePngGetParamsWithContext(ctx context.Context) *TwoFactorQRCodePngGetParams
- func NewTwoFactorQRCodePngGetParamsWithHTTPClient(client *http.Client) *TwoFactorQRCodePngGetParams
- func NewTwoFactorQRCodePngGetParamsWithTimeout(timeout time.Duration) *TwoFactorQRCodePngGetParams
- func (o *TwoFactorQRCodePngGetParams) SetContext(ctx context.Context)
- func (o *TwoFactorQRCodePngGetParams) SetDefaults()
- func (o *TwoFactorQRCodePngGetParams) SetHTTPClient(client *http.Client)
- func (o *TwoFactorQRCodePngGetParams) SetTimeout(timeout time.Duration)
- func (o *TwoFactorQRCodePngGetParams) WithContext(ctx context.Context) *TwoFactorQRCodePngGetParams
- func (o *TwoFactorQRCodePngGetParams) WithDefaults() *TwoFactorQRCodePngGetParams
- func (o *TwoFactorQRCodePngGetParams) WithHTTPClient(client *http.Client) *TwoFactorQRCodePngGetParams
- func (o *TwoFactorQRCodePngGetParams) WithTimeout(timeout time.Duration) *TwoFactorQRCodePngGetParams
- func (o *TwoFactorQRCodePngGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TwoFactorQRCodePngGetReader
- type TwoFactorQRCodePngGetUnauthorized
- func (o *TwoFactorQRCodePngGetUnauthorized) Code() int
- func (o *TwoFactorQRCodePngGetUnauthorized) Error() string
- func (o *TwoFactorQRCodePngGetUnauthorized) IsClientError() bool
- func (o *TwoFactorQRCodePngGetUnauthorized) IsCode(code int) bool
- func (o *TwoFactorQRCodePngGetUnauthorized) IsRedirect() bool
- func (o *TwoFactorQRCodePngGetUnauthorized) IsServerError() bool
- func (o *TwoFactorQRCodePngGetUnauthorized) IsSuccess() bool
- func (o *TwoFactorQRCodePngGetUnauthorized) String() string
- type TwoFactorQRCodePngGetUnprocessableEntity
- func (o *TwoFactorQRCodePngGetUnprocessableEntity) Code() int
- func (o *TwoFactorQRCodePngGetUnprocessableEntity) Error() string
- func (o *TwoFactorQRCodePngGetUnprocessableEntity) IsClientError() bool
- func (o *TwoFactorQRCodePngGetUnprocessableEntity) IsCode(code int) bool
- func (o *TwoFactorQRCodePngGetUnprocessableEntity) IsRedirect() bool
- func (o *TwoFactorQRCodePngGetUnprocessableEntity) IsServerError() bool
- func (o *TwoFactorQRCodePngGetUnprocessableEntity) IsSuccess() bool
- func (o *TwoFactorQRCodePngGetUnprocessableEntity) String() string
- type TwoFactorQRCodeURIGetConflict
- func (o *TwoFactorQRCodeURIGetConflict) Code() int
- func (o *TwoFactorQRCodeURIGetConflict) Error() string
- func (o *TwoFactorQRCodeURIGetConflict) IsClientError() bool
- func (o *TwoFactorQRCodeURIGetConflict) IsCode(code int) bool
- func (o *TwoFactorQRCodeURIGetConflict) IsRedirect() bool
- func (o *TwoFactorQRCodeURIGetConflict) IsServerError() bool
- func (o *TwoFactorQRCodeURIGetConflict) IsSuccess() bool
- func (o *TwoFactorQRCodeURIGetConflict) String() string
- type TwoFactorQRCodeURIGetForbidden
- func (o *TwoFactorQRCodeURIGetForbidden) Code() int
- func (o *TwoFactorQRCodeURIGetForbidden) Error() string
- func (o *TwoFactorQRCodeURIGetForbidden) IsClientError() bool
- func (o *TwoFactorQRCodeURIGetForbidden) IsCode(code int) bool
- func (o *TwoFactorQRCodeURIGetForbidden) IsRedirect() bool
- func (o *TwoFactorQRCodeURIGetForbidden) IsServerError() bool
- func (o *TwoFactorQRCodeURIGetForbidden) IsSuccess() bool
- func (o *TwoFactorQRCodeURIGetForbidden) String() string
- type TwoFactorQRCodeURIGetInternalServerError
- func (o *TwoFactorQRCodeURIGetInternalServerError) Code() int
- func (o *TwoFactorQRCodeURIGetInternalServerError) Error() string
- func (o *TwoFactorQRCodeURIGetInternalServerError) IsClientError() bool
- func (o *TwoFactorQRCodeURIGetInternalServerError) IsCode(code int) bool
- func (o *TwoFactorQRCodeURIGetInternalServerError) IsRedirect() bool
- func (o *TwoFactorQRCodeURIGetInternalServerError) IsServerError() bool
- func (o *TwoFactorQRCodeURIGetInternalServerError) IsSuccess() bool
- func (o *TwoFactorQRCodeURIGetInternalServerError) String() string
- type TwoFactorQRCodeURIGetNotAcceptable
- func (o *TwoFactorQRCodeURIGetNotAcceptable) Code() int
- func (o *TwoFactorQRCodeURIGetNotAcceptable) Error() string
- func (o *TwoFactorQRCodeURIGetNotAcceptable) IsClientError() bool
- func (o *TwoFactorQRCodeURIGetNotAcceptable) IsCode(code int) bool
- func (o *TwoFactorQRCodeURIGetNotAcceptable) IsRedirect() bool
- func (o *TwoFactorQRCodeURIGetNotAcceptable) IsServerError() bool
- func (o *TwoFactorQRCodeURIGetNotAcceptable) IsSuccess() bool
- func (o *TwoFactorQRCodeURIGetNotAcceptable) String() string
- type TwoFactorQRCodeURIGetOK
- func (o *TwoFactorQRCodeURIGetOK) Code() int
- func (o *TwoFactorQRCodeURIGetOK) Error() string
- func (o *TwoFactorQRCodeURIGetOK) IsClientError() bool
- func (o *TwoFactorQRCodeURIGetOK) IsCode(code int) bool
- func (o *TwoFactorQRCodeURIGetOK) IsRedirect() bool
- func (o *TwoFactorQRCodeURIGetOK) IsServerError() bool
- func (o *TwoFactorQRCodeURIGetOK) IsSuccess() bool
- func (o *TwoFactorQRCodeURIGetOK) String() string
- type TwoFactorQRCodeURIGetParams
- func NewTwoFactorQRCodeURIGetParams() *TwoFactorQRCodeURIGetParams
- func NewTwoFactorQRCodeURIGetParamsWithContext(ctx context.Context) *TwoFactorQRCodeURIGetParams
- func NewTwoFactorQRCodeURIGetParamsWithHTTPClient(client *http.Client) *TwoFactorQRCodeURIGetParams
- func NewTwoFactorQRCodeURIGetParamsWithTimeout(timeout time.Duration) *TwoFactorQRCodeURIGetParams
- func (o *TwoFactorQRCodeURIGetParams) SetContext(ctx context.Context)
- func (o *TwoFactorQRCodeURIGetParams) SetDefaults()
- func (o *TwoFactorQRCodeURIGetParams) SetHTTPClient(client *http.Client)
- func (o *TwoFactorQRCodeURIGetParams) SetTimeout(timeout time.Duration)
- func (o *TwoFactorQRCodeURIGetParams) WithContext(ctx context.Context) *TwoFactorQRCodeURIGetParams
- func (o *TwoFactorQRCodeURIGetParams) WithDefaults() *TwoFactorQRCodeURIGetParams
- func (o *TwoFactorQRCodeURIGetParams) WithHTTPClient(client *http.Client) *TwoFactorQRCodeURIGetParams
- func (o *TwoFactorQRCodeURIGetParams) WithTimeout(timeout time.Duration) *TwoFactorQRCodeURIGetParams
- func (o *TwoFactorQRCodeURIGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TwoFactorQRCodeURIGetReader
- type TwoFactorQRCodeURIGetUnauthorized
- func (o *TwoFactorQRCodeURIGetUnauthorized) Code() int
- func (o *TwoFactorQRCodeURIGetUnauthorized) Error() string
- func (o *TwoFactorQRCodeURIGetUnauthorized) IsClientError() bool
- func (o *TwoFactorQRCodeURIGetUnauthorized) IsCode(code int) bool
- func (o *TwoFactorQRCodeURIGetUnauthorized) IsRedirect() bool
- func (o *TwoFactorQRCodeURIGetUnauthorized) IsServerError() bool
- func (o *TwoFactorQRCodeURIGetUnauthorized) IsSuccess() bool
- func (o *TwoFactorQRCodeURIGetUnauthorized) String() string
- type TwoFactorQRCodeURIGetUnprocessableEntity
- func (o *TwoFactorQRCodeURIGetUnprocessableEntity) Code() int
- func (o *TwoFactorQRCodeURIGetUnprocessableEntity) Error() string
- func (o *TwoFactorQRCodeURIGetUnprocessableEntity) IsClientError() bool
- func (o *TwoFactorQRCodeURIGetUnprocessableEntity) IsCode(code int) bool
- func (o *TwoFactorQRCodeURIGetUnprocessableEntity) IsRedirect() bool
- func (o *TwoFactorQRCodeURIGetUnprocessableEntity) IsServerError() bool
- func (o *TwoFactorQRCodeURIGetUnprocessableEntity) IsSuccess() bool
- func (o *TwoFactorQRCodeURIGetUnprocessableEntity) String() string
- type UserEmailChangeAccepted
- func (o *UserEmailChangeAccepted) Code() int
- func (o *UserEmailChangeAccepted) Error() string
- func (o *UserEmailChangeAccepted) GetPayload() *models.User
- func (o *UserEmailChangeAccepted) IsClientError() bool
- func (o *UserEmailChangeAccepted) IsCode(code int) bool
- func (o *UserEmailChangeAccepted) IsRedirect() bool
- func (o *UserEmailChangeAccepted) IsServerError() bool
- func (o *UserEmailChangeAccepted) IsSuccess() bool
- func (o *UserEmailChangeAccepted) String() string
- type UserEmailChangeBadRequest
- func (o *UserEmailChangeBadRequest) Code() int
- func (o *UserEmailChangeBadRequest) Error() string
- func (o *UserEmailChangeBadRequest) IsClientError() bool
- func (o *UserEmailChangeBadRequest) IsCode(code int) bool
- func (o *UserEmailChangeBadRequest) IsRedirect() bool
- func (o *UserEmailChangeBadRequest) IsServerError() bool
- func (o *UserEmailChangeBadRequest) IsSuccess() bool
- func (o *UserEmailChangeBadRequest) String() string
- type UserEmailChangeConflict
- func (o *UserEmailChangeConflict) Code() int
- func (o *UserEmailChangeConflict) Error() string
- func (o *UserEmailChangeConflict) IsClientError() bool
- func (o *UserEmailChangeConflict) IsCode(code int) bool
- func (o *UserEmailChangeConflict) IsRedirect() bool
- func (o *UserEmailChangeConflict) IsServerError() bool
- func (o *UserEmailChangeConflict) IsSuccess() bool
- func (o *UserEmailChangeConflict) String() string
- type UserEmailChangeForbidden
- func (o *UserEmailChangeForbidden) Code() int
- func (o *UserEmailChangeForbidden) Error() string
- func (o *UserEmailChangeForbidden) IsClientError() bool
- func (o *UserEmailChangeForbidden) IsCode(code int) bool
- func (o *UserEmailChangeForbidden) IsRedirect() bool
- func (o *UserEmailChangeForbidden) IsServerError() bool
- func (o *UserEmailChangeForbidden) IsSuccess() bool
- func (o *UserEmailChangeForbidden) String() string
- type UserEmailChangeInternalServerError
- func (o *UserEmailChangeInternalServerError) Code() int
- func (o *UserEmailChangeInternalServerError) Error() string
- func (o *UserEmailChangeInternalServerError) IsClientError() bool
- func (o *UserEmailChangeInternalServerError) IsCode(code int) bool
- func (o *UserEmailChangeInternalServerError) IsRedirect() bool
- func (o *UserEmailChangeInternalServerError) IsServerError() bool
- func (o *UserEmailChangeInternalServerError) IsSuccess() bool
- func (o *UserEmailChangeInternalServerError) String() string
- type UserEmailChangeNotAcceptable
- func (o *UserEmailChangeNotAcceptable) Code() int
- func (o *UserEmailChangeNotAcceptable) Error() string
- func (o *UserEmailChangeNotAcceptable) IsClientError() bool
- func (o *UserEmailChangeNotAcceptable) IsCode(code int) bool
- func (o *UserEmailChangeNotAcceptable) IsRedirect() bool
- func (o *UserEmailChangeNotAcceptable) IsServerError() bool
- func (o *UserEmailChangeNotAcceptable) IsSuccess() bool
- func (o *UserEmailChangeNotAcceptable) String() string
- type UserEmailChangeParams
- func NewUserEmailChangeParams() *UserEmailChangeParams
- func NewUserEmailChangeParamsWithContext(ctx context.Context) *UserEmailChangeParams
- func NewUserEmailChangeParamsWithHTTPClient(client *http.Client) *UserEmailChangeParams
- func NewUserEmailChangeParamsWithTimeout(timeout time.Duration) *UserEmailChangeParams
- func (o *UserEmailChangeParams) SetContext(ctx context.Context)
- func (o *UserEmailChangeParams) SetDefaults()
- func (o *UserEmailChangeParams) SetHTTPClient(client *http.Client)
- func (o *UserEmailChangeParams) SetNewEmail(newEmail string)
- func (o *UserEmailChangeParams) SetPassword(password string)
- func (o *UserEmailChangeParams) SetTimeout(timeout time.Duration)
- func (o *UserEmailChangeParams) WithContext(ctx context.Context) *UserEmailChangeParams
- func (o *UserEmailChangeParams) WithDefaults() *UserEmailChangeParams
- func (o *UserEmailChangeParams) WithHTTPClient(client *http.Client) *UserEmailChangeParams
- func (o *UserEmailChangeParams) WithNewEmail(newEmail string) *UserEmailChangeParams
- func (o *UserEmailChangeParams) WithPassword(password string) *UserEmailChangeParams
- func (o *UserEmailChangeParams) WithTimeout(timeout time.Duration) *UserEmailChangeParams
- func (o *UserEmailChangeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserEmailChangeReader
- type UserEmailChangeUnauthorized
- func (o *UserEmailChangeUnauthorized) Code() int
- func (o *UserEmailChangeUnauthorized) Error() string
- func (o *UserEmailChangeUnauthorized) IsClientError() bool
- func (o *UserEmailChangeUnauthorized) IsCode(code int) bool
- func (o *UserEmailChangeUnauthorized) IsRedirect() bool
- func (o *UserEmailChangeUnauthorized) IsServerError() bool
- func (o *UserEmailChangeUnauthorized) IsSuccess() bool
- func (o *UserEmailChangeUnauthorized) String() string
- type UserPasswordChangeBadRequest
- func (o *UserPasswordChangeBadRequest) Code() int
- func (o *UserPasswordChangeBadRequest) Error() string
- func (o *UserPasswordChangeBadRequest) IsClientError() bool
- func (o *UserPasswordChangeBadRequest) IsCode(code int) bool
- func (o *UserPasswordChangeBadRequest) IsRedirect() bool
- func (o *UserPasswordChangeBadRequest) IsServerError() bool
- func (o *UserPasswordChangeBadRequest) IsSuccess() bool
- func (o *UserPasswordChangeBadRequest) String() string
- type UserPasswordChangeForbidden
- func (o *UserPasswordChangeForbidden) Code() int
- func (o *UserPasswordChangeForbidden) Error() string
- func (o *UserPasswordChangeForbidden) IsClientError() bool
- func (o *UserPasswordChangeForbidden) IsCode(code int) bool
- func (o *UserPasswordChangeForbidden) IsRedirect() bool
- func (o *UserPasswordChangeForbidden) IsServerError() bool
- func (o *UserPasswordChangeForbidden) IsSuccess() bool
- func (o *UserPasswordChangeForbidden) String() string
- type UserPasswordChangeInternalServerError
- func (o *UserPasswordChangeInternalServerError) Code() int
- func (o *UserPasswordChangeInternalServerError) Error() string
- func (o *UserPasswordChangeInternalServerError) IsClientError() bool
- func (o *UserPasswordChangeInternalServerError) IsCode(code int) bool
- func (o *UserPasswordChangeInternalServerError) IsRedirect() bool
- func (o *UserPasswordChangeInternalServerError) IsServerError() bool
- func (o *UserPasswordChangeInternalServerError) IsSuccess() bool
- func (o *UserPasswordChangeInternalServerError) String() string
- type UserPasswordChangeNotAcceptable
- func (o *UserPasswordChangeNotAcceptable) Code() int
- func (o *UserPasswordChangeNotAcceptable) Error() string
- func (o *UserPasswordChangeNotAcceptable) IsClientError() bool
- func (o *UserPasswordChangeNotAcceptable) IsCode(code int) bool
- func (o *UserPasswordChangeNotAcceptable) IsRedirect() bool
- func (o *UserPasswordChangeNotAcceptable) IsServerError() bool
- func (o *UserPasswordChangeNotAcceptable) IsSuccess() bool
- func (o *UserPasswordChangeNotAcceptable) String() string
- type UserPasswordChangeOK
- func (o *UserPasswordChangeOK) Code() int
- func (o *UserPasswordChangeOK) Error() string
- func (o *UserPasswordChangeOK) IsClientError() bool
- func (o *UserPasswordChangeOK) IsCode(code int) bool
- func (o *UserPasswordChangeOK) IsRedirect() bool
- func (o *UserPasswordChangeOK) IsServerError() bool
- func (o *UserPasswordChangeOK) IsSuccess() bool
- func (o *UserPasswordChangeOK) String() string
- type UserPasswordChangeParams
- func NewUserPasswordChangeParams() *UserPasswordChangeParams
- func NewUserPasswordChangeParamsWithContext(ctx context.Context) *UserPasswordChangeParams
- func NewUserPasswordChangeParamsWithHTTPClient(client *http.Client) *UserPasswordChangeParams
- func NewUserPasswordChangeParamsWithTimeout(timeout time.Duration) *UserPasswordChangeParams
- func (o *UserPasswordChangeParams) SetContext(ctx context.Context)
- func (o *UserPasswordChangeParams) SetDefaults()
- func (o *UserPasswordChangeParams) SetHTTPClient(client *http.Client)
- func (o *UserPasswordChangeParams) SetNewPassword(newPassword string)
- func (o *UserPasswordChangeParams) SetOldPassword(oldPassword string)
- func (o *UserPasswordChangeParams) SetTimeout(timeout time.Duration)
- func (o *UserPasswordChangeParams) WithContext(ctx context.Context) *UserPasswordChangeParams
- func (o *UserPasswordChangeParams) WithDefaults() *UserPasswordChangeParams
- func (o *UserPasswordChangeParams) WithHTTPClient(client *http.Client) *UserPasswordChangeParams
- func (o *UserPasswordChangeParams) WithNewPassword(newPassword string) *UserPasswordChangeParams
- func (o *UserPasswordChangeParams) WithOldPassword(oldPassword string) *UserPasswordChangeParams
- func (o *UserPasswordChangeParams) WithTimeout(timeout time.Duration) *UserPasswordChangeParams
- func (o *UserPasswordChangeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserPasswordChangeReader
- type UserPasswordChangeUnauthorized
- func (o *UserPasswordChangeUnauthorized) Code() int
- func (o *UserPasswordChangeUnauthorized) Error() string
- func (o *UserPasswordChangeUnauthorized) IsClientError() bool
- func (o *UserPasswordChangeUnauthorized) IsCode(code int) bool
- func (o *UserPasswordChangeUnauthorized) IsRedirect() bool
- func (o *UserPasswordChangeUnauthorized) IsServerError() bool
- func (o *UserPasswordChangeUnauthorized) IsSuccess() bool
- func (o *UserPasswordChangeUnauthorized) String() string
- type UserPasswordChangeUnprocessableEntity
- func (o *UserPasswordChangeUnprocessableEntity) Code() int
- func (o *UserPasswordChangeUnprocessableEntity) Error() string
- func (o *UserPasswordChangeUnprocessableEntity) IsClientError() bool
- func (o *UserPasswordChangeUnprocessableEntity) IsCode(code int) bool
- func (o *UserPasswordChangeUnprocessableEntity) IsRedirect() bool
- func (o *UserPasswordChangeUnprocessableEntity) IsServerError() bool
- func (o *UserPasswordChangeUnprocessableEntity) IsSuccess() bool
- func (o *UserPasswordChangeUnprocessableEntity) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAcceptApplicationJSON ¶ added in v0.19.1
func WithAcceptApplicationJSON(r *runtime.ClientOperation)
WithAcceptApplicationJSON sets the Accept header to "application/json".
func WithAcceptImagePng ¶ added in v0.19.1
func WithAcceptImagePng(r *runtime.ClientOperation)
WithAcceptImagePng sets the Accept header to "image/png".
func WithAcceptTextPlain ¶ added in v0.19.1
func WithAcceptTextPlain(r *runtime.ClientOperation)
WithAcceptTextPlain sets the Accept header to "text/plain".
func WithContentTypeApplicationJSON ¶
func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
WithContentTypeApplicationJSON sets the Content-Type header to "application/json".
func WithContentTypeApplicationXML ¶
func WithContentTypeApplicationXML(r *runtime.ClientOperation)
WithContentTypeApplicationXML sets the Content-Type header to "application/xml".
func WithContentTypeApplicationxWwwFormUrlencoded ¶
func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
WithContentTypeApplicationxWwwFormUrlencoded sets the Content-Type header to "application/x-www-form-urlencoded".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for user API
func (*Client) GetUser ¶
func (a *Client) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserOK, error)
GetUser gets your own user model
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) TwoFactorDisablePost ¶ added in v0.19.1
func (a *Client) TwoFactorDisablePost(params *TwoFactorDisablePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TwoFactorDisablePostOK, error)
TwoFactorDisablePost disables 2fa for the authorized user user s current password must be provided for verification purposes If 2fa is already disabled for this user, code 409 Conflict will be returned.
If the instance is running with OIDC enabled, two factor authentication cannot be turned on or off in GtS, it must be enabled or disabled using the OIDC provider. All calls to 2fa api endpoints will return 422 Unprocessable Entity while OIDC is enabled.
func (*Client) TwoFactorEnablePost ¶ added in v0.19.1
func (a *Client) TwoFactorEnablePost(params *TwoFactorEnablePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TwoFactorEnablePostOK, error)
TwoFactorEnablePost enables 2fa for the authorized user using the provided code from an authenticator app and return an array of one time recovery codes to allow bypassing 2fa If 2fa is already enabled for this user, code 409 Conflict will be returned.
If the instance is running with OIDC enabled, two factor authentication cannot be turned on or off in GtS, it must be enabled or disabled using the OIDC provider. All calls to 2fa api endpoints will return 422 Unprocessable Entity while OIDC is enabled.
func (*Client) TwoFactorQRCodePngGet ¶ added in v0.19.1
func (a *Client) TwoFactorQRCodePngGet(params *TwoFactorQRCodePngGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TwoFactorQRCodePngGetOK, error)
TwoFactorQRCodePngGet returns a q r code png to allow the authorized user to enable 2fa for their login For the plaintext version of the QR code URI, call /api/v1/user/2fa/qruri instead.
If 2fa is already enabled for this user, the QR code (with its secret) will not be shared again. Instead, code 409 Conflict will be returned. To get a fresh secret, first disable 2fa using POST /api/v1/user/2fa/disable, and then call this endpoint again.
If the instance is running with OIDC enabled, two factor authentication cannot be turned on or off in GtS, it must be enabled or disabled using the OIDC provider. All calls to 2fa api endpoints will return 422 Unprocessable Entity while OIDC is enabled.
func (*Client) TwoFactorQRCodeURIGet ¶ added in v0.19.1
func (a *Client) TwoFactorQRCodeURIGet(params *TwoFactorQRCodeURIGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TwoFactorQRCodeURIGetOK, error)
TwoFactorQRCodeURIGet returns a q r code uri to allow the authorized user to enable 2fa for their login For a png of the QR code, call /api/v1/user/2fa/qr.png instead.
If 2fa is already enabled for this user, the QR code URI (with its secret) will not be shared again. Instead, code 409 Conflict will be returned. To get a fresh secret, first disable 2fa using POST /api/v1/user/2fa/disable, and then call this endpoint again.
If the instance is running with OIDC enabled, two factor authentication cannot be turned on or off in GtS, it must be enabled or disabled using the OIDC provider. All calls to 2fa api endpoints will return 422 Unprocessable Entity while OIDC is enabled.
func (*Client) UserEmailChange ¶
func (a *Client) UserEmailChange(params *UserEmailChangeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserEmailChangeAccepted, error)
UserEmailChange requests changing the email address of authenticated user
func (*Client) UserPasswordChange ¶
func (a *Client) UserPasswordChange(params *UserPasswordChangeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserPasswordChangeOK, error)
UserPasswordChange changes the password of authenticated user The parameters can also be given in the body of the request, as JSON, if the content-type is set to 'application/json'.
The parameters can also be given in the body of the request, as XML, if the content-type is set to 'application/xml'.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
func WithAccept ¶ added in v0.19.1
func WithAccept(mime string) ClientOption
WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
func WithContentType ¶
func WithContentType(mime string) ClientOption
WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface {
TwoFactorDisablePost(params *TwoFactorDisablePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TwoFactorDisablePostOK, error)
TwoFactorEnablePost(params *TwoFactorEnablePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TwoFactorEnablePostOK, error)
TwoFactorQRCodePngGet(params *TwoFactorQRCodePngGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TwoFactorQRCodePngGetOK, error)
TwoFactorQRCodeURIGet(params *TwoFactorQRCodeURIGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TwoFactorQRCodeURIGetOK, error)
GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserOK, error)
UserEmailChange(params *UserEmailChangeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserEmailChangeAccepted, error)
UserPasswordChange(params *UserPasswordChangeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserPasswordChangeOK, 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 user API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new user API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new user API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type GetUserBadRequest ¶
type GetUserBadRequest struct {
}
GetUserBadRequest describes a response with status code 400, with default header values.
bad request
func NewGetUserBadRequest ¶
func NewGetUserBadRequest() *GetUserBadRequest
NewGetUserBadRequest creates a GetUserBadRequest with default headers values
func (*GetUserBadRequest) Code ¶
func (o *GetUserBadRequest) Code() int
Code gets the status code for the get user bad request response
func (*GetUserBadRequest) Error ¶
func (o *GetUserBadRequest) Error() string
func (*GetUserBadRequest) IsClientError ¶
func (o *GetUserBadRequest) IsClientError() bool
IsClientError returns true when this get user bad request response has a 4xx status code
func (*GetUserBadRequest) IsCode ¶
func (o *GetUserBadRequest) IsCode(code int) bool
IsCode returns true when this get user bad request response a status code equal to that given
func (*GetUserBadRequest) IsRedirect ¶
func (o *GetUserBadRequest) IsRedirect() bool
IsRedirect returns true when this get user bad request response has a 3xx status code
func (*GetUserBadRequest) IsServerError ¶
func (o *GetUserBadRequest) IsServerError() bool
IsServerError returns true when this get user bad request response has a 5xx status code
func (*GetUserBadRequest) IsSuccess ¶
func (o *GetUserBadRequest) IsSuccess() bool
IsSuccess returns true when this get user bad request response has a 2xx status code
func (*GetUserBadRequest) String ¶
func (o *GetUserBadRequest) String() string
type GetUserForbidden ¶
type GetUserForbidden struct {
}
GetUserForbidden describes a response with status code 403, with default header values.
forbidden
func NewGetUserForbidden ¶
func NewGetUserForbidden() *GetUserForbidden
NewGetUserForbidden creates a GetUserForbidden with default headers values
func (*GetUserForbidden) Code ¶
func (o *GetUserForbidden) Code() int
Code gets the status code for the get user forbidden response
func (*GetUserForbidden) Error ¶
func (o *GetUserForbidden) Error() string
func (*GetUserForbidden) IsClientError ¶
func (o *GetUserForbidden) IsClientError() bool
IsClientError returns true when this get user forbidden response has a 4xx status code
func (*GetUserForbidden) IsCode ¶
func (o *GetUserForbidden) IsCode(code int) bool
IsCode returns true when this get user forbidden response a status code equal to that given
func (*GetUserForbidden) IsRedirect ¶
func (o *GetUserForbidden) IsRedirect() bool
IsRedirect returns true when this get user forbidden response has a 3xx status code
func (*GetUserForbidden) IsServerError ¶
func (o *GetUserForbidden) IsServerError() bool
IsServerError returns true when this get user forbidden response has a 5xx status code
func (*GetUserForbidden) IsSuccess ¶
func (o *GetUserForbidden) IsSuccess() bool
IsSuccess returns true when this get user forbidden response has a 2xx status code
func (*GetUserForbidden) String ¶
func (o *GetUserForbidden) String() string
type GetUserInternalServerError ¶
type GetUserInternalServerError struct {
}
GetUserInternalServerError describes a response with status code 500, with default header values.
internal error
func NewGetUserInternalServerError ¶
func NewGetUserInternalServerError() *GetUserInternalServerError
NewGetUserInternalServerError creates a GetUserInternalServerError with default headers values
func (*GetUserInternalServerError) Code ¶
func (o *GetUserInternalServerError) Code() int
Code gets the status code for the get user internal server error response
func (*GetUserInternalServerError) Error ¶
func (o *GetUserInternalServerError) Error() string
func (*GetUserInternalServerError) IsClientError ¶
func (o *GetUserInternalServerError) IsClientError() bool
IsClientError returns true when this get user internal server error response has a 4xx status code
func (*GetUserInternalServerError) IsCode ¶
func (o *GetUserInternalServerError) IsCode(code int) bool
IsCode returns true when this get user internal server error response a status code equal to that given
func (*GetUserInternalServerError) IsRedirect ¶
func (o *GetUserInternalServerError) IsRedirect() bool
IsRedirect returns true when this get user internal server error response has a 3xx status code
func (*GetUserInternalServerError) IsServerError ¶
func (o *GetUserInternalServerError) IsServerError() bool
IsServerError returns true when this get user internal server error response has a 5xx status code
func (*GetUserInternalServerError) IsSuccess ¶
func (o *GetUserInternalServerError) IsSuccess() bool
IsSuccess returns true when this get user internal server error response has a 2xx status code
func (*GetUserInternalServerError) String ¶
func (o *GetUserInternalServerError) String() string
type GetUserNotAcceptable ¶
type GetUserNotAcceptable struct {
}
GetUserNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewGetUserNotAcceptable ¶
func NewGetUserNotAcceptable() *GetUserNotAcceptable
NewGetUserNotAcceptable creates a GetUserNotAcceptable with default headers values
func (*GetUserNotAcceptable) Code ¶
func (o *GetUserNotAcceptable) Code() int
Code gets the status code for the get user not acceptable response
func (*GetUserNotAcceptable) Error ¶
func (o *GetUserNotAcceptable) Error() string
func (*GetUserNotAcceptable) IsClientError ¶
func (o *GetUserNotAcceptable) IsClientError() bool
IsClientError returns true when this get user not acceptable response has a 4xx status code
func (*GetUserNotAcceptable) IsCode ¶
func (o *GetUserNotAcceptable) IsCode(code int) bool
IsCode returns true when this get user not acceptable response a status code equal to that given
func (*GetUserNotAcceptable) IsRedirect ¶
func (o *GetUserNotAcceptable) IsRedirect() bool
IsRedirect returns true when this get user not acceptable response has a 3xx status code
func (*GetUserNotAcceptable) IsServerError ¶
func (o *GetUserNotAcceptable) IsServerError() bool
IsServerError returns true when this get user not acceptable response has a 5xx status code
func (*GetUserNotAcceptable) IsSuccess ¶
func (o *GetUserNotAcceptable) IsSuccess() bool
IsSuccess returns true when this get user not acceptable response has a 2xx status code
func (*GetUserNotAcceptable) String ¶
func (o *GetUserNotAcceptable) String() string
type GetUserOK ¶
GetUserOK describes a response with status code 200, with default header values.
The requested user.
func NewGetUserOK ¶
func NewGetUserOK() *GetUserOK
NewGetUserOK creates a GetUserOK with default headers values
func (*GetUserOK) GetPayload ¶
func (*GetUserOK) IsClientError ¶
IsClientError returns true when this get user o k response has a 4xx status code
func (*GetUserOK) IsCode ¶
IsCode returns true when this get user o k response a status code equal to that given
func (*GetUserOK) IsRedirect ¶
IsRedirect returns true when this get user o k response has a 3xx status code
func (*GetUserOK) IsServerError ¶
IsServerError returns true when this get user o k response has a 5xx status code
type GetUserParams ¶
type GetUserParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetUserParams contains all the parameters to send to the API endpoint
for the get user operation. Typically these are written to a http.Request.
func NewGetUserParams ¶
func NewGetUserParams() *GetUserParams
NewGetUserParams creates a new GetUserParams 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 NewGetUserParamsWithContext ¶
func NewGetUserParamsWithContext(ctx context.Context) *GetUserParams
NewGetUserParamsWithContext creates a new GetUserParams object with the ability to set a context for a request.
func NewGetUserParamsWithHTTPClient ¶
func NewGetUserParamsWithHTTPClient(client *http.Client) *GetUserParams
NewGetUserParamsWithHTTPClient creates a new GetUserParams object with the ability to set a custom HTTPClient for a request.
func NewGetUserParamsWithTimeout ¶
func NewGetUserParamsWithTimeout(timeout time.Duration) *GetUserParams
NewGetUserParamsWithTimeout creates a new GetUserParams object with the ability to set a timeout on a request.
func (*GetUserParams) SetContext ¶
func (o *GetUserParams) SetContext(ctx context.Context)
SetContext adds the context to the get user params
func (*GetUserParams) SetDefaults ¶
func (o *GetUserParams) SetDefaults()
SetDefaults hydrates default values in the get user params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserParams) SetHTTPClient ¶
func (o *GetUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user params
func (*GetUserParams) SetTimeout ¶
func (o *GetUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user params
func (*GetUserParams) WithContext ¶
func (o *GetUserParams) WithContext(ctx context.Context) *GetUserParams
WithContext adds the context to the get user params
func (*GetUserParams) WithDefaults ¶
func (o *GetUserParams) WithDefaults() *GetUserParams
WithDefaults hydrates default values in the get user params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserParams) WithHTTPClient ¶
func (o *GetUserParams) WithHTTPClient(client *http.Client) *GetUserParams
WithHTTPClient adds the HTTPClient to the get user params
func (*GetUserParams) WithTimeout ¶
func (o *GetUserParams) WithTimeout(timeout time.Duration) *GetUserParams
WithTimeout adds the timeout to the get user params
func (*GetUserParams) WriteToRequest ¶
func (o *GetUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserReader ¶
type GetUserReader struct {
// contains filtered or unexported fields
}
GetUserReader is a Reader for the GetUser structure.
func (*GetUserReader) ReadResponse ¶
func (o *GetUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserUnauthorized ¶
type GetUserUnauthorized struct {
}
GetUserUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewGetUserUnauthorized ¶
func NewGetUserUnauthorized() *GetUserUnauthorized
NewGetUserUnauthorized creates a GetUserUnauthorized with default headers values
func (*GetUserUnauthorized) Code ¶
func (o *GetUserUnauthorized) Code() int
Code gets the status code for the get user unauthorized response
func (*GetUserUnauthorized) Error ¶
func (o *GetUserUnauthorized) Error() string
func (*GetUserUnauthorized) IsClientError ¶
func (o *GetUserUnauthorized) IsClientError() bool
IsClientError returns true when this get user unauthorized response has a 4xx status code
func (*GetUserUnauthorized) IsCode ¶
func (o *GetUserUnauthorized) IsCode(code int) bool
IsCode returns true when this get user unauthorized response a status code equal to that given
func (*GetUserUnauthorized) IsRedirect ¶
func (o *GetUserUnauthorized) IsRedirect() bool
IsRedirect returns true when this get user unauthorized response has a 3xx status code
func (*GetUserUnauthorized) IsServerError ¶
func (o *GetUserUnauthorized) IsServerError() bool
IsServerError returns true when this get user unauthorized response has a 5xx status code
func (*GetUserUnauthorized) IsSuccess ¶
func (o *GetUserUnauthorized) IsSuccess() bool
IsSuccess returns true when this get user unauthorized response has a 2xx status code
func (*GetUserUnauthorized) String ¶
func (o *GetUserUnauthorized) String() string
type TwoFactorDisablePostConflict ¶ added in v0.19.1
type TwoFactorDisablePostConflict struct {
}
TwoFactorDisablePostConflict describes a response with status code 409, with default header values.
conflict
func NewTwoFactorDisablePostConflict ¶ added in v0.19.1
func NewTwoFactorDisablePostConflict() *TwoFactorDisablePostConflict
NewTwoFactorDisablePostConflict creates a TwoFactorDisablePostConflict with default headers values
func (*TwoFactorDisablePostConflict) Code ¶ added in v0.19.1
func (o *TwoFactorDisablePostConflict) Code() int
Code gets the status code for the two factor disable post conflict response
func (*TwoFactorDisablePostConflict) Error ¶ added in v0.19.1
func (o *TwoFactorDisablePostConflict) Error() string
func (*TwoFactorDisablePostConflict) IsClientError ¶ added in v0.19.1
func (o *TwoFactorDisablePostConflict) IsClientError() bool
IsClientError returns true when this two factor disable post conflict response has a 4xx status code
func (*TwoFactorDisablePostConflict) IsCode ¶ added in v0.19.1
func (o *TwoFactorDisablePostConflict) IsCode(code int) bool
IsCode returns true when this two factor disable post conflict response a status code equal to that given
func (*TwoFactorDisablePostConflict) IsRedirect ¶ added in v0.19.1
func (o *TwoFactorDisablePostConflict) IsRedirect() bool
IsRedirect returns true when this two factor disable post conflict response has a 3xx status code
func (*TwoFactorDisablePostConflict) IsServerError ¶ added in v0.19.1
func (o *TwoFactorDisablePostConflict) IsServerError() bool
IsServerError returns true when this two factor disable post conflict response has a 5xx status code
func (*TwoFactorDisablePostConflict) IsSuccess ¶ added in v0.19.1
func (o *TwoFactorDisablePostConflict) IsSuccess() bool
IsSuccess returns true when this two factor disable post conflict response has a 2xx status code
func (*TwoFactorDisablePostConflict) String ¶ added in v0.19.1
func (o *TwoFactorDisablePostConflict) String() string
type TwoFactorDisablePostForbidden ¶ added in v0.19.1
type TwoFactorDisablePostForbidden struct {
}
TwoFactorDisablePostForbidden describes a response with status code 403, with default header values.
forbidden
func NewTwoFactorDisablePostForbidden ¶ added in v0.19.1
func NewTwoFactorDisablePostForbidden() *TwoFactorDisablePostForbidden
NewTwoFactorDisablePostForbidden creates a TwoFactorDisablePostForbidden with default headers values
func (*TwoFactorDisablePostForbidden) Code ¶ added in v0.19.1
func (o *TwoFactorDisablePostForbidden) Code() int
Code gets the status code for the two factor disable post forbidden response
func (*TwoFactorDisablePostForbidden) Error ¶ added in v0.19.1
func (o *TwoFactorDisablePostForbidden) Error() string
func (*TwoFactorDisablePostForbidden) IsClientError ¶ added in v0.19.1
func (o *TwoFactorDisablePostForbidden) IsClientError() bool
IsClientError returns true when this two factor disable post forbidden response has a 4xx status code
func (*TwoFactorDisablePostForbidden) IsCode ¶ added in v0.19.1
func (o *TwoFactorDisablePostForbidden) IsCode(code int) bool
IsCode returns true when this two factor disable post forbidden response a status code equal to that given
func (*TwoFactorDisablePostForbidden) IsRedirect ¶ added in v0.19.1
func (o *TwoFactorDisablePostForbidden) IsRedirect() bool
IsRedirect returns true when this two factor disable post forbidden response has a 3xx status code
func (*TwoFactorDisablePostForbidden) IsServerError ¶ added in v0.19.1
func (o *TwoFactorDisablePostForbidden) IsServerError() bool
IsServerError returns true when this two factor disable post forbidden response has a 5xx status code
func (*TwoFactorDisablePostForbidden) IsSuccess ¶ added in v0.19.1
func (o *TwoFactorDisablePostForbidden) IsSuccess() bool
IsSuccess returns true when this two factor disable post forbidden response has a 2xx status code
func (*TwoFactorDisablePostForbidden) String ¶ added in v0.19.1
func (o *TwoFactorDisablePostForbidden) String() string
type TwoFactorDisablePostInternalServerError ¶ added in v0.19.1
type TwoFactorDisablePostInternalServerError struct {
}
TwoFactorDisablePostInternalServerError describes a response with status code 500, with default header values.
internal error
func NewTwoFactorDisablePostInternalServerError ¶ added in v0.19.1
func NewTwoFactorDisablePostInternalServerError() *TwoFactorDisablePostInternalServerError
NewTwoFactorDisablePostInternalServerError creates a TwoFactorDisablePostInternalServerError with default headers values
func (*TwoFactorDisablePostInternalServerError) Code ¶ added in v0.19.1
func (o *TwoFactorDisablePostInternalServerError) Code() int
Code gets the status code for the two factor disable post internal server error response
func (*TwoFactorDisablePostInternalServerError) Error ¶ added in v0.19.1
func (o *TwoFactorDisablePostInternalServerError) Error() string
func (*TwoFactorDisablePostInternalServerError) IsClientError ¶ added in v0.19.1
func (o *TwoFactorDisablePostInternalServerError) IsClientError() bool
IsClientError returns true when this two factor disable post internal server error response has a 4xx status code
func (*TwoFactorDisablePostInternalServerError) IsCode ¶ added in v0.19.1
func (o *TwoFactorDisablePostInternalServerError) IsCode(code int) bool
IsCode returns true when this two factor disable post internal server error response a status code equal to that given
func (*TwoFactorDisablePostInternalServerError) IsRedirect ¶ added in v0.19.1
func (o *TwoFactorDisablePostInternalServerError) IsRedirect() bool
IsRedirect returns true when this two factor disable post internal server error response has a 3xx status code
func (*TwoFactorDisablePostInternalServerError) IsServerError ¶ added in v0.19.1
func (o *TwoFactorDisablePostInternalServerError) IsServerError() bool
IsServerError returns true when this two factor disable post internal server error response has a 5xx status code
func (*TwoFactorDisablePostInternalServerError) IsSuccess ¶ added in v0.19.1
func (o *TwoFactorDisablePostInternalServerError) IsSuccess() bool
IsSuccess returns true when this two factor disable post internal server error response has a 2xx status code
func (*TwoFactorDisablePostInternalServerError) String ¶ added in v0.19.1
func (o *TwoFactorDisablePostInternalServerError) String() string
type TwoFactorDisablePostNotAcceptable ¶ added in v0.19.1
type TwoFactorDisablePostNotAcceptable struct {
}
TwoFactorDisablePostNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewTwoFactorDisablePostNotAcceptable ¶ added in v0.19.1
func NewTwoFactorDisablePostNotAcceptable() *TwoFactorDisablePostNotAcceptable
NewTwoFactorDisablePostNotAcceptable creates a TwoFactorDisablePostNotAcceptable with default headers values
func (*TwoFactorDisablePostNotAcceptable) Code ¶ added in v0.19.1
func (o *TwoFactorDisablePostNotAcceptable) Code() int
Code gets the status code for the two factor disable post not acceptable response
func (*TwoFactorDisablePostNotAcceptable) Error ¶ added in v0.19.1
func (o *TwoFactorDisablePostNotAcceptable) Error() string
func (*TwoFactorDisablePostNotAcceptable) IsClientError ¶ added in v0.19.1
func (o *TwoFactorDisablePostNotAcceptable) IsClientError() bool
IsClientError returns true when this two factor disable post not acceptable response has a 4xx status code
func (*TwoFactorDisablePostNotAcceptable) IsCode ¶ added in v0.19.1
func (o *TwoFactorDisablePostNotAcceptable) IsCode(code int) bool
IsCode returns true when this two factor disable post not acceptable response a status code equal to that given
func (*TwoFactorDisablePostNotAcceptable) IsRedirect ¶ added in v0.19.1
func (o *TwoFactorDisablePostNotAcceptable) IsRedirect() bool
IsRedirect returns true when this two factor disable post not acceptable response has a 3xx status code
func (*TwoFactorDisablePostNotAcceptable) IsServerError ¶ added in v0.19.1
func (o *TwoFactorDisablePostNotAcceptable) IsServerError() bool
IsServerError returns true when this two factor disable post not acceptable response has a 5xx status code
func (*TwoFactorDisablePostNotAcceptable) IsSuccess ¶ added in v0.19.1
func (o *TwoFactorDisablePostNotAcceptable) IsSuccess() bool
IsSuccess returns true when this two factor disable post not acceptable response has a 2xx status code
func (*TwoFactorDisablePostNotAcceptable) String ¶ added in v0.19.1
func (o *TwoFactorDisablePostNotAcceptable) String() string
type TwoFactorDisablePostOK ¶ added in v0.19.1
type TwoFactorDisablePostOK struct {
}
TwoFactorDisablePostOK describes a response with status code 200, with default header values.
QR code
func NewTwoFactorDisablePostOK ¶ added in v0.19.1
func NewTwoFactorDisablePostOK() *TwoFactorDisablePostOK
NewTwoFactorDisablePostOK creates a TwoFactorDisablePostOK with default headers values
func (*TwoFactorDisablePostOK) Code ¶ added in v0.19.1
func (o *TwoFactorDisablePostOK) Code() int
Code gets the status code for the two factor disable post o k response
func (*TwoFactorDisablePostOK) Error ¶ added in v0.19.1
func (o *TwoFactorDisablePostOK) Error() string
func (*TwoFactorDisablePostOK) IsClientError ¶ added in v0.19.1
func (o *TwoFactorDisablePostOK) IsClientError() bool
IsClientError returns true when this two factor disable post o k response has a 4xx status code
func (*TwoFactorDisablePostOK) IsCode ¶ added in v0.19.1
func (o *TwoFactorDisablePostOK) IsCode(code int) bool
IsCode returns true when this two factor disable post o k response a status code equal to that given
func (*TwoFactorDisablePostOK) IsRedirect ¶ added in v0.19.1
func (o *TwoFactorDisablePostOK) IsRedirect() bool
IsRedirect returns true when this two factor disable post o k response has a 3xx status code
func (*TwoFactorDisablePostOK) IsServerError ¶ added in v0.19.1
func (o *TwoFactorDisablePostOK) IsServerError() bool
IsServerError returns true when this two factor disable post o k response has a 5xx status code
func (*TwoFactorDisablePostOK) IsSuccess ¶ added in v0.19.1
func (o *TwoFactorDisablePostOK) IsSuccess() bool
IsSuccess returns true when this two factor disable post o k response has a 2xx status code
func (*TwoFactorDisablePostOK) String ¶ added in v0.19.1
func (o *TwoFactorDisablePostOK) String() string
type TwoFactorDisablePostParams ¶ added in v0.19.1
type TwoFactorDisablePostParams struct {
/* Password.
User's current password, for verification.
*/
Password *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
TwoFactorDisablePostParams contains all the parameters to send to the API endpoint
for the two factor disable post operation. Typically these are written to a http.Request.
func NewTwoFactorDisablePostParams ¶ added in v0.19.1
func NewTwoFactorDisablePostParams() *TwoFactorDisablePostParams
NewTwoFactorDisablePostParams creates a new TwoFactorDisablePostParams 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 NewTwoFactorDisablePostParamsWithContext ¶ added in v0.19.1
func NewTwoFactorDisablePostParamsWithContext(ctx context.Context) *TwoFactorDisablePostParams
NewTwoFactorDisablePostParamsWithContext creates a new TwoFactorDisablePostParams object with the ability to set a context for a request.
func NewTwoFactorDisablePostParamsWithHTTPClient ¶ added in v0.19.1
func NewTwoFactorDisablePostParamsWithHTTPClient(client *http.Client) *TwoFactorDisablePostParams
NewTwoFactorDisablePostParamsWithHTTPClient creates a new TwoFactorDisablePostParams object with the ability to set a custom HTTPClient for a request.
func NewTwoFactorDisablePostParamsWithTimeout ¶ added in v0.19.1
func NewTwoFactorDisablePostParamsWithTimeout(timeout time.Duration) *TwoFactorDisablePostParams
NewTwoFactorDisablePostParamsWithTimeout creates a new TwoFactorDisablePostParams object with the ability to set a timeout on a request.
func (*TwoFactorDisablePostParams) SetContext ¶ added in v0.19.1
func (o *TwoFactorDisablePostParams) SetContext(ctx context.Context)
SetContext adds the context to the two factor disable post params
func (*TwoFactorDisablePostParams) SetDefaults ¶ added in v0.19.1
func (o *TwoFactorDisablePostParams) SetDefaults()
SetDefaults hydrates default values in the two factor disable post params (not the query body).
All values with no default are reset to their zero value.
func (*TwoFactorDisablePostParams) SetHTTPClient ¶ added in v0.19.1
func (o *TwoFactorDisablePostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the two factor disable post params
func (*TwoFactorDisablePostParams) SetPassword ¶ added in v0.19.1
func (o *TwoFactorDisablePostParams) SetPassword(password *string)
SetPassword adds the password to the two factor disable post params
func (*TwoFactorDisablePostParams) SetTimeout ¶ added in v0.19.1
func (o *TwoFactorDisablePostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the two factor disable post params
func (*TwoFactorDisablePostParams) WithContext ¶ added in v0.19.1
func (o *TwoFactorDisablePostParams) WithContext(ctx context.Context) *TwoFactorDisablePostParams
WithContext adds the context to the two factor disable post params
func (*TwoFactorDisablePostParams) WithDefaults ¶ added in v0.19.1
func (o *TwoFactorDisablePostParams) WithDefaults() *TwoFactorDisablePostParams
WithDefaults hydrates default values in the two factor disable post params (not the query body).
All values with no default are reset to their zero value.
func (*TwoFactorDisablePostParams) WithHTTPClient ¶ added in v0.19.1
func (o *TwoFactorDisablePostParams) WithHTTPClient(client *http.Client) *TwoFactorDisablePostParams
WithHTTPClient adds the HTTPClient to the two factor disable post params
func (*TwoFactorDisablePostParams) WithPassword ¶ added in v0.19.1
func (o *TwoFactorDisablePostParams) WithPassword(password *string) *TwoFactorDisablePostParams
WithPassword adds the password to the two factor disable post params
func (*TwoFactorDisablePostParams) WithTimeout ¶ added in v0.19.1
func (o *TwoFactorDisablePostParams) WithTimeout(timeout time.Duration) *TwoFactorDisablePostParams
WithTimeout adds the timeout to the two factor disable post params
func (*TwoFactorDisablePostParams) WriteToRequest ¶ added in v0.19.1
func (o *TwoFactorDisablePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TwoFactorDisablePostReader ¶ added in v0.19.1
type TwoFactorDisablePostReader struct {
// contains filtered or unexported fields
}
TwoFactorDisablePostReader is a Reader for the TwoFactorDisablePost structure.
func (*TwoFactorDisablePostReader) ReadResponse ¶ added in v0.19.1
func (o *TwoFactorDisablePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TwoFactorDisablePostUnauthorized ¶ added in v0.19.1
type TwoFactorDisablePostUnauthorized struct {
}
TwoFactorDisablePostUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewTwoFactorDisablePostUnauthorized ¶ added in v0.19.1
func NewTwoFactorDisablePostUnauthorized() *TwoFactorDisablePostUnauthorized
NewTwoFactorDisablePostUnauthorized creates a TwoFactorDisablePostUnauthorized with default headers values
func (*TwoFactorDisablePostUnauthorized) Code ¶ added in v0.19.1
func (o *TwoFactorDisablePostUnauthorized) Code() int
Code gets the status code for the two factor disable post unauthorized response
func (*TwoFactorDisablePostUnauthorized) Error ¶ added in v0.19.1
func (o *TwoFactorDisablePostUnauthorized) Error() string
func (*TwoFactorDisablePostUnauthorized) IsClientError ¶ added in v0.19.1
func (o *TwoFactorDisablePostUnauthorized) IsClientError() bool
IsClientError returns true when this two factor disable post unauthorized response has a 4xx status code
func (*TwoFactorDisablePostUnauthorized) IsCode ¶ added in v0.19.1
func (o *TwoFactorDisablePostUnauthorized) IsCode(code int) bool
IsCode returns true when this two factor disable post unauthorized response a status code equal to that given
func (*TwoFactorDisablePostUnauthorized) IsRedirect ¶ added in v0.19.1
func (o *TwoFactorDisablePostUnauthorized) IsRedirect() bool
IsRedirect returns true when this two factor disable post unauthorized response has a 3xx status code
func (*TwoFactorDisablePostUnauthorized) IsServerError ¶ added in v0.19.1
func (o *TwoFactorDisablePostUnauthorized) IsServerError() bool
IsServerError returns true when this two factor disable post unauthorized response has a 5xx status code
func (*TwoFactorDisablePostUnauthorized) IsSuccess ¶ added in v0.19.1
func (o *TwoFactorDisablePostUnauthorized) IsSuccess() bool
IsSuccess returns true when this two factor disable post unauthorized response has a 2xx status code
func (*TwoFactorDisablePostUnauthorized) String ¶ added in v0.19.1
func (o *TwoFactorDisablePostUnauthorized) String() string
type TwoFactorDisablePostUnprocessableEntity ¶ added in v0.19.1
type TwoFactorDisablePostUnprocessableEntity struct {
}
TwoFactorDisablePostUnprocessableEntity describes a response with status code 422, with default header values.
unprocessable entity
func NewTwoFactorDisablePostUnprocessableEntity ¶ added in v0.19.1
func NewTwoFactorDisablePostUnprocessableEntity() *TwoFactorDisablePostUnprocessableEntity
NewTwoFactorDisablePostUnprocessableEntity creates a TwoFactorDisablePostUnprocessableEntity with default headers values
func (*TwoFactorDisablePostUnprocessableEntity) Code ¶ added in v0.19.1
func (o *TwoFactorDisablePostUnprocessableEntity) Code() int
Code gets the status code for the two factor disable post unprocessable entity response
func (*TwoFactorDisablePostUnprocessableEntity) Error ¶ added in v0.19.1
func (o *TwoFactorDisablePostUnprocessableEntity) Error() string
func (*TwoFactorDisablePostUnprocessableEntity) IsClientError ¶ added in v0.19.1
func (o *TwoFactorDisablePostUnprocessableEntity) IsClientError() bool
IsClientError returns true when this two factor disable post unprocessable entity response has a 4xx status code
func (*TwoFactorDisablePostUnprocessableEntity) IsCode ¶ added in v0.19.1
func (o *TwoFactorDisablePostUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this two factor disable post unprocessable entity response a status code equal to that given
func (*TwoFactorDisablePostUnprocessableEntity) IsRedirect ¶ added in v0.19.1
func (o *TwoFactorDisablePostUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this two factor disable post unprocessable entity response has a 3xx status code
func (*TwoFactorDisablePostUnprocessableEntity) IsServerError ¶ added in v0.19.1
func (o *TwoFactorDisablePostUnprocessableEntity) IsServerError() bool
IsServerError returns true when this two factor disable post unprocessable entity response has a 5xx status code
func (*TwoFactorDisablePostUnprocessableEntity) IsSuccess ¶ added in v0.19.1
func (o *TwoFactorDisablePostUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this two factor disable post unprocessable entity response has a 2xx status code
func (*TwoFactorDisablePostUnprocessableEntity) String ¶ added in v0.19.1
func (o *TwoFactorDisablePostUnprocessableEntity) String() string
type TwoFactorEnablePostConflict ¶ added in v0.19.1
type TwoFactorEnablePostConflict struct {
}
TwoFactorEnablePostConflict describes a response with status code 409, with default header values.
conflict
func NewTwoFactorEnablePostConflict ¶ added in v0.19.1
func NewTwoFactorEnablePostConflict() *TwoFactorEnablePostConflict
NewTwoFactorEnablePostConflict creates a TwoFactorEnablePostConflict with default headers values
func (*TwoFactorEnablePostConflict) Code ¶ added in v0.19.1
func (o *TwoFactorEnablePostConflict) Code() int
Code gets the status code for the two factor enable post conflict response
func (*TwoFactorEnablePostConflict) Error ¶ added in v0.19.1
func (o *TwoFactorEnablePostConflict) Error() string
func (*TwoFactorEnablePostConflict) IsClientError ¶ added in v0.19.1
func (o *TwoFactorEnablePostConflict) IsClientError() bool
IsClientError returns true when this two factor enable post conflict response has a 4xx status code
func (*TwoFactorEnablePostConflict) IsCode ¶ added in v0.19.1
func (o *TwoFactorEnablePostConflict) IsCode(code int) bool
IsCode returns true when this two factor enable post conflict response a status code equal to that given
func (*TwoFactorEnablePostConflict) IsRedirect ¶ added in v0.19.1
func (o *TwoFactorEnablePostConflict) IsRedirect() bool
IsRedirect returns true when this two factor enable post conflict response has a 3xx status code
func (*TwoFactorEnablePostConflict) IsServerError ¶ added in v0.19.1
func (o *TwoFactorEnablePostConflict) IsServerError() bool
IsServerError returns true when this two factor enable post conflict response has a 5xx status code
func (*TwoFactorEnablePostConflict) IsSuccess ¶ added in v0.19.1
func (o *TwoFactorEnablePostConflict) IsSuccess() bool
IsSuccess returns true when this two factor enable post conflict response has a 2xx status code
func (*TwoFactorEnablePostConflict) String ¶ added in v0.19.1
func (o *TwoFactorEnablePostConflict) String() string
type TwoFactorEnablePostForbidden ¶ added in v0.19.1
type TwoFactorEnablePostForbidden struct {
}
TwoFactorEnablePostForbidden describes a response with status code 403, with default header values.
forbidden
func NewTwoFactorEnablePostForbidden ¶ added in v0.19.1
func NewTwoFactorEnablePostForbidden() *TwoFactorEnablePostForbidden
NewTwoFactorEnablePostForbidden creates a TwoFactorEnablePostForbidden with default headers values
func (*TwoFactorEnablePostForbidden) Code ¶ added in v0.19.1
func (o *TwoFactorEnablePostForbidden) Code() int
Code gets the status code for the two factor enable post forbidden response
func (*TwoFactorEnablePostForbidden) Error ¶ added in v0.19.1
func (o *TwoFactorEnablePostForbidden) Error() string
func (*TwoFactorEnablePostForbidden) IsClientError ¶ added in v0.19.1
func (o *TwoFactorEnablePostForbidden) IsClientError() bool
IsClientError returns true when this two factor enable post forbidden response has a 4xx status code
func (*TwoFactorEnablePostForbidden) IsCode ¶ added in v0.19.1
func (o *TwoFactorEnablePostForbidden) IsCode(code int) bool
IsCode returns true when this two factor enable post forbidden response a status code equal to that given
func (*TwoFactorEnablePostForbidden) IsRedirect ¶ added in v0.19.1
func (o *TwoFactorEnablePostForbidden) IsRedirect() bool
IsRedirect returns true when this two factor enable post forbidden response has a 3xx status code
func (*TwoFactorEnablePostForbidden) IsServerError ¶ added in v0.19.1
func (o *TwoFactorEnablePostForbidden) IsServerError() bool
IsServerError returns true when this two factor enable post forbidden response has a 5xx status code
func (*TwoFactorEnablePostForbidden) IsSuccess ¶ added in v0.19.1
func (o *TwoFactorEnablePostForbidden) IsSuccess() bool
IsSuccess returns true when this two factor enable post forbidden response has a 2xx status code
func (*TwoFactorEnablePostForbidden) String ¶ added in v0.19.1
func (o *TwoFactorEnablePostForbidden) String() string
type TwoFactorEnablePostInternalServerError ¶ added in v0.19.1
type TwoFactorEnablePostInternalServerError struct {
}
TwoFactorEnablePostInternalServerError describes a response with status code 500, with default header values.
internal error
func NewTwoFactorEnablePostInternalServerError ¶ added in v0.19.1
func NewTwoFactorEnablePostInternalServerError() *TwoFactorEnablePostInternalServerError
NewTwoFactorEnablePostInternalServerError creates a TwoFactorEnablePostInternalServerError with default headers values
func (*TwoFactorEnablePostInternalServerError) Code ¶ added in v0.19.1
func (o *TwoFactorEnablePostInternalServerError) Code() int
Code gets the status code for the two factor enable post internal server error response
func (*TwoFactorEnablePostInternalServerError) Error ¶ added in v0.19.1
func (o *TwoFactorEnablePostInternalServerError) Error() string
func (*TwoFactorEnablePostInternalServerError) IsClientError ¶ added in v0.19.1
func (o *TwoFactorEnablePostInternalServerError) IsClientError() bool
IsClientError returns true when this two factor enable post internal server error response has a 4xx status code
func (*TwoFactorEnablePostInternalServerError) IsCode ¶ added in v0.19.1
func (o *TwoFactorEnablePostInternalServerError) IsCode(code int) bool
IsCode returns true when this two factor enable post internal server error response a status code equal to that given
func (*TwoFactorEnablePostInternalServerError) IsRedirect ¶ added in v0.19.1
func (o *TwoFactorEnablePostInternalServerError) IsRedirect() bool
IsRedirect returns true when this two factor enable post internal server error response has a 3xx status code
func (*TwoFactorEnablePostInternalServerError) IsServerError ¶ added in v0.19.1
func (o *TwoFactorEnablePostInternalServerError) IsServerError() bool
IsServerError returns true when this two factor enable post internal server error response has a 5xx status code
func (*TwoFactorEnablePostInternalServerError) IsSuccess ¶ added in v0.19.1
func (o *TwoFactorEnablePostInternalServerError) IsSuccess() bool
IsSuccess returns true when this two factor enable post internal server error response has a 2xx status code
func (*TwoFactorEnablePostInternalServerError) String ¶ added in v0.19.1
func (o *TwoFactorEnablePostInternalServerError) String() string
type TwoFactorEnablePostNotAcceptable ¶ added in v0.19.1
type TwoFactorEnablePostNotAcceptable struct {
}
TwoFactorEnablePostNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewTwoFactorEnablePostNotAcceptable ¶ added in v0.19.1
func NewTwoFactorEnablePostNotAcceptable() *TwoFactorEnablePostNotAcceptable
NewTwoFactorEnablePostNotAcceptable creates a TwoFactorEnablePostNotAcceptable with default headers values
func (*TwoFactorEnablePostNotAcceptable) Code ¶ added in v0.19.1
func (o *TwoFactorEnablePostNotAcceptable) Code() int
Code gets the status code for the two factor enable post not acceptable response
func (*TwoFactorEnablePostNotAcceptable) Error ¶ added in v0.19.1
func (o *TwoFactorEnablePostNotAcceptable) Error() string
func (*TwoFactorEnablePostNotAcceptable) IsClientError ¶ added in v0.19.1
func (o *TwoFactorEnablePostNotAcceptable) IsClientError() bool
IsClientError returns true when this two factor enable post not acceptable response has a 4xx status code
func (*TwoFactorEnablePostNotAcceptable) IsCode ¶ added in v0.19.1
func (o *TwoFactorEnablePostNotAcceptable) IsCode(code int) bool
IsCode returns true when this two factor enable post not acceptable response a status code equal to that given
func (*TwoFactorEnablePostNotAcceptable) IsRedirect ¶ added in v0.19.1
func (o *TwoFactorEnablePostNotAcceptable) IsRedirect() bool
IsRedirect returns true when this two factor enable post not acceptable response has a 3xx status code
func (*TwoFactorEnablePostNotAcceptable) IsServerError ¶ added in v0.19.1
func (o *TwoFactorEnablePostNotAcceptable) IsServerError() bool
IsServerError returns true when this two factor enable post not acceptable response has a 5xx status code
func (*TwoFactorEnablePostNotAcceptable) IsSuccess ¶ added in v0.19.1
func (o *TwoFactorEnablePostNotAcceptable) IsSuccess() bool
IsSuccess returns true when this two factor enable post not acceptable response has a 2xx status code
func (*TwoFactorEnablePostNotAcceptable) String ¶ added in v0.19.1
func (o *TwoFactorEnablePostNotAcceptable) String() string
type TwoFactorEnablePostOK ¶ added in v0.19.1
type TwoFactorEnablePostOK struct {
}
TwoFactorEnablePostOK describes a response with status code 200, with default header values.
QR code
func NewTwoFactorEnablePostOK ¶ added in v0.19.1
func NewTwoFactorEnablePostOK() *TwoFactorEnablePostOK
NewTwoFactorEnablePostOK creates a TwoFactorEnablePostOK with default headers values
func (*TwoFactorEnablePostOK) Code ¶ added in v0.19.1
func (o *TwoFactorEnablePostOK) Code() int
Code gets the status code for the two factor enable post o k response
func (*TwoFactorEnablePostOK) Error ¶ added in v0.19.1
func (o *TwoFactorEnablePostOK) Error() string
func (*TwoFactorEnablePostOK) IsClientError ¶ added in v0.19.1
func (o *TwoFactorEnablePostOK) IsClientError() bool
IsClientError returns true when this two factor enable post o k response has a 4xx status code
func (*TwoFactorEnablePostOK) IsCode ¶ added in v0.19.1
func (o *TwoFactorEnablePostOK) IsCode(code int) bool
IsCode returns true when this two factor enable post o k response a status code equal to that given
func (*TwoFactorEnablePostOK) IsRedirect ¶ added in v0.19.1
func (o *TwoFactorEnablePostOK) IsRedirect() bool
IsRedirect returns true when this two factor enable post o k response has a 3xx status code
func (*TwoFactorEnablePostOK) IsServerError ¶ added in v0.19.1
func (o *TwoFactorEnablePostOK) IsServerError() bool
IsServerError returns true when this two factor enable post o k response has a 5xx status code
func (*TwoFactorEnablePostOK) IsSuccess ¶ added in v0.19.1
func (o *TwoFactorEnablePostOK) IsSuccess() bool
IsSuccess returns true when this two factor enable post o k response has a 2xx status code
func (*TwoFactorEnablePostOK) String ¶ added in v0.19.1
func (o *TwoFactorEnablePostOK) String() string
type TwoFactorEnablePostParams ¶ added in v0.19.1
type TwoFactorEnablePostParams struct {
/* Code.
2fa code from the user's authenticator app.
Sample: 123456
*/
Code *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
TwoFactorEnablePostParams contains all the parameters to send to the API endpoint
for the two factor enable post operation. Typically these are written to a http.Request.
func NewTwoFactorEnablePostParams ¶ added in v0.19.1
func NewTwoFactorEnablePostParams() *TwoFactorEnablePostParams
NewTwoFactorEnablePostParams creates a new TwoFactorEnablePostParams 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 NewTwoFactorEnablePostParamsWithContext ¶ added in v0.19.1
func NewTwoFactorEnablePostParamsWithContext(ctx context.Context) *TwoFactorEnablePostParams
NewTwoFactorEnablePostParamsWithContext creates a new TwoFactorEnablePostParams object with the ability to set a context for a request.
func NewTwoFactorEnablePostParamsWithHTTPClient ¶ added in v0.19.1
func NewTwoFactorEnablePostParamsWithHTTPClient(client *http.Client) *TwoFactorEnablePostParams
NewTwoFactorEnablePostParamsWithHTTPClient creates a new TwoFactorEnablePostParams object with the ability to set a custom HTTPClient for a request.
func NewTwoFactorEnablePostParamsWithTimeout ¶ added in v0.19.1
func NewTwoFactorEnablePostParamsWithTimeout(timeout time.Duration) *TwoFactorEnablePostParams
NewTwoFactorEnablePostParamsWithTimeout creates a new TwoFactorEnablePostParams object with the ability to set a timeout on a request.
func (*TwoFactorEnablePostParams) SetCode ¶ added in v0.19.1
func (o *TwoFactorEnablePostParams) SetCode(code *string)
SetCode adds the code to the two factor enable post params
func (*TwoFactorEnablePostParams) SetContext ¶ added in v0.19.1
func (o *TwoFactorEnablePostParams) SetContext(ctx context.Context)
SetContext adds the context to the two factor enable post params
func (*TwoFactorEnablePostParams) SetDefaults ¶ added in v0.19.1
func (o *TwoFactorEnablePostParams) SetDefaults()
SetDefaults hydrates default values in the two factor enable post params (not the query body).
All values with no default are reset to their zero value.
func (*TwoFactorEnablePostParams) SetHTTPClient ¶ added in v0.19.1
func (o *TwoFactorEnablePostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the two factor enable post params
func (*TwoFactorEnablePostParams) SetTimeout ¶ added in v0.19.1
func (o *TwoFactorEnablePostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the two factor enable post params
func (*TwoFactorEnablePostParams) WithCode ¶ added in v0.19.1
func (o *TwoFactorEnablePostParams) WithCode(code *string) *TwoFactorEnablePostParams
WithCode adds the code to the two factor enable post params
func (*TwoFactorEnablePostParams) WithContext ¶ added in v0.19.1
func (o *TwoFactorEnablePostParams) WithContext(ctx context.Context) *TwoFactorEnablePostParams
WithContext adds the context to the two factor enable post params
func (*TwoFactorEnablePostParams) WithDefaults ¶ added in v0.19.1
func (o *TwoFactorEnablePostParams) WithDefaults() *TwoFactorEnablePostParams
WithDefaults hydrates default values in the two factor enable post params (not the query body).
All values with no default are reset to their zero value.
func (*TwoFactorEnablePostParams) WithHTTPClient ¶ added in v0.19.1
func (o *TwoFactorEnablePostParams) WithHTTPClient(client *http.Client) *TwoFactorEnablePostParams
WithHTTPClient adds the HTTPClient to the two factor enable post params
func (*TwoFactorEnablePostParams) WithTimeout ¶ added in v0.19.1
func (o *TwoFactorEnablePostParams) WithTimeout(timeout time.Duration) *TwoFactorEnablePostParams
WithTimeout adds the timeout to the two factor enable post params
func (*TwoFactorEnablePostParams) WriteToRequest ¶ added in v0.19.1
func (o *TwoFactorEnablePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TwoFactorEnablePostReader ¶ added in v0.19.1
type TwoFactorEnablePostReader struct {
// contains filtered or unexported fields
}
TwoFactorEnablePostReader is a Reader for the TwoFactorEnablePost structure.
func (*TwoFactorEnablePostReader) ReadResponse ¶ added in v0.19.1
func (o *TwoFactorEnablePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TwoFactorEnablePostUnauthorized ¶ added in v0.19.1
type TwoFactorEnablePostUnauthorized struct {
}
TwoFactorEnablePostUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewTwoFactorEnablePostUnauthorized ¶ added in v0.19.1
func NewTwoFactorEnablePostUnauthorized() *TwoFactorEnablePostUnauthorized
NewTwoFactorEnablePostUnauthorized creates a TwoFactorEnablePostUnauthorized with default headers values
func (*TwoFactorEnablePostUnauthorized) Code ¶ added in v0.19.1
func (o *TwoFactorEnablePostUnauthorized) Code() int
Code gets the status code for the two factor enable post unauthorized response
func (*TwoFactorEnablePostUnauthorized) Error ¶ added in v0.19.1
func (o *TwoFactorEnablePostUnauthorized) Error() string
func (*TwoFactorEnablePostUnauthorized) IsClientError ¶ added in v0.19.1
func (o *TwoFactorEnablePostUnauthorized) IsClientError() bool
IsClientError returns true when this two factor enable post unauthorized response has a 4xx status code
func (*TwoFactorEnablePostUnauthorized) IsCode ¶ added in v0.19.1
func (o *TwoFactorEnablePostUnauthorized) IsCode(code int) bool
IsCode returns true when this two factor enable post unauthorized response a status code equal to that given
func (*TwoFactorEnablePostUnauthorized) IsRedirect ¶ added in v0.19.1
func (o *TwoFactorEnablePostUnauthorized) IsRedirect() bool
IsRedirect returns true when this two factor enable post unauthorized response has a 3xx status code
func (*TwoFactorEnablePostUnauthorized) IsServerError ¶ added in v0.19.1
func (o *TwoFactorEnablePostUnauthorized) IsServerError() bool
IsServerError returns true when this two factor enable post unauthorized response has a 5xx status code
func (*TwoFactorEnablePostUnauthorized) IsSuccess ¶ added in v0.19.1
func (o *TwoFactorEnablePostUnauthorized) IsSuccess() bool
IsSuccess returns true when this two factor enable post unauthorized response has a 2xx status code
func (*TwoFactorEnablePostUnauthorized) String ¶ added in v0.19.1
func (o *TwoFactorEnablePostUnauthorized) String() string
type TwoFactorEnablePostUnprocessableEntity ¶ added in v0.19.1
type TwoFactorEnablePostUnprocessableEntity struct {
}
TwoFactorEnablePostUnprocessableEntity describes a response with status code 422, with default header values.
unprocessable entity
func NewTwoFactorEnablePostUnprocessableEntity ¶ added in v0.19.1
func NewTwoFactorEnablePostUnprocessableEntity() *TwoFactorEnablePostUnprocessableEntity
NewTwoFactorEnablePostUnprocessableEntity creates a TwoFactorEnablePostUnprocessableEntity with default headers values
func (*TwoFactorEnablePostUnprocessableEntity) Code ¶ added in v0.19.1
func (o *TwoFactorEnablePostUnprocessableEntity) Code() int
Code gets the status code for the two factor enable post unprocessable entity response
func (*TwoFactorEnablePostUnprocessableEntity) Error ¶ added in v0.19.1
func (o *TwoFactorEnablePostUnprocessableEntity) Error() string
func (*TwoFactorEnablePostUnprocessableEntity) IsClientError ¶ added in v0.19.1
func (o *TwoFactorEnablePostUnprocessableEntity) IsClientError() bool
IsClientError returns true when this two factor enable post unprocessable entity response has a 4xx status code
func (*TwoFactorEnablePostUnprocessableEntity) IsCode ¶ added in v0.19.1
func (o *TwoFactorEnablePostUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this two factor enable post unprocessable entity response a status code equal to that given
func (*TwoFactorEnablePostUnprocessableEntity) IsRedirect ¶ added in v0.19.1
func (o *TwoFactorEnablePostUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this two factor enable post unprocessable entity response has a 3xx status code
func (*TwoFactorEnablePostUnprocessableEntity) IsServerError ¶ added in v0.19.1
func (o *TwoFactorEnablePostUnprocessableEntity) IsServerError() bool
IsServerError returns true when this two factor enable post unprocessable entity response has a 5xx status code
func (*TwoFactorEnablePostUnprocessableEntity) IsSuccess ¶ added in v0.19.1
func (o *TwoFactorEnablePostUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this two factor enable post unprocessable entity response has a 2xx status code
func (*TwoFactorEnablePostUnprocessableEntity) String ¶ added in v0.19.1
func (o *TwoFactorEnablePostUnprocessableEntity) String() string
type TwoFactorQRCodePngGetConflict ¶ added in v0.19.1
type TwoFactorQRCodePngGetConflict struct {
}
TwoFactorQRCodePngGetConflict describes a response with status code 409, with default header values.
conflict
func NewTwoFactorQRCodePngGetConflict ¶ added in v0.19.1
func NewTwoFactorQRCodePngGetConflict() *TwoFactorQRCodePngGetConflict
NewTwoFactorQRCodePngGetConflict creates a TwoFactorQRCodePngGetConflict with default headers values
func (*TwoFactorQRCodePngGetConflict) Code ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetConflict) Code() int
Code gets the status code for the two factor q r code png get conflict response
func (*TwoFactorQRCodePngGetConflict) Error ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetConflict) Error() string
func (*TwoFactorQRCodePngGetConflict) IsClientError ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetConflict) IsClientError() bool
IsClientError returns true when this two factor q r code png get conflict response has a 4xx status code
func (*TwoFactorQRCodePngGetConflict) IsCode ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetConflict) IsCode(code int) bool
IsCode returns true when this two factor q r code png get conflict response a status code equal to that given
func (*TwoFactorQRCodePngGetConflict) IsRedirect ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetConflict) IsRedirect() bool
IsRedirect returns true when this two factor q r code png get conflict response has a 3xx status code
func (*TwoFactorQRCodePngGetConflict) IsServerError ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetConflict) IsServerError() bool
IsServerError returns true when this two factor q r code png get conflict response has a 5xx status code
func (*TwoFactorQRCodePngGetConflict) IsSuccess ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetConflict) IsSuccess() bool
IsSuccess returns true when this two factor q r code png get conflict response has a 2xx status code
func (*TwoFactorQRCodePngGetConflict) String ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetConflict) String() string
type TwoFactorQRCodePngGetForbidden ¶ added in v0.19.1
type TwoFactorQRCodePngGetForbidden struct {
}
TwoFactorQRCodePngGetForbidden describes a response with status code 403, with default header values.
forbidden
func NewTwoFactorQRCodePngGetForbidden ¶ added in v0.19.1
func NewTwoFactorQRCodePngGetForbidden() *TwoFactorQRCodePngGetForbidden
NewTwoFactorQRCodePngGetForbidden creates a TwoFactorQRCodePngGetForbidden with default headers values
func (*TwoFactorQRCodePngGetForbidden) Code ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetForbidden) Code() int
Code gets the status code for the two factor q r code png get forbidden response
func (*TwoFactorQRCodePngGetForbidden) Error ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetForbidden) Error() string
func (*TwoFactorQRCodePngGetForbidden) IsClientError ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetForbidden) IsClientError() bool
IsClientError returns true when this two factor q r code png get forbidden response has a 4xx status code
func (*TwoFactorQRCodePngGetForbidden) IsCode ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetForbidden) IsCode(code int) bool
IsCode returns true when this two factor q r code png get forbidden response a status code equal to that given
func (*TwoFactorQRCodePngGetForbidden) IsRedirect ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetForbidden) IsRedirect() bool
IsRedirect returns true when this two factor q r code png get forbidden response has a 3xx status code
func (*TwoFactorQRCodePngGetForbidden) IsServerError ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetForbidden) IsServerError() bool
IsServerError returns true when this two factor q r code png get forbidden response has a 5xx status code
func (*TwoFactorQRCodePngGetForbidden) IsSuccess ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetForbidden) IsSuccess() bool
IsSuccess returns true when this two factor q r code png get forbidden response has a 2xx status code
func (*TwoFactorQRCodePngGetForbidden) String ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetForbidden) String() string
type TwoFactorQRCodePngGetInternalServerError ¶ added in v0.19.1
type TwoFactorQRCodePngGetInternalServerError struct {
}
TwoFactorQRCodePngGetInternalServerError describes a response with status code 500, with default header values.
internal error
func NewTwoFactorQRCodePngGetInternalServerError ¶ added in v0.19.1
func NewTwoFactorQRCodePngGetInternalServerError() *TwoFactorQRCodePngGetInternalServerError
NewTwoFactorQRCodePngGetInternalServerError creates a TwoFactorQRCodePngGetInternalServerError with default headers values
func (*TwoFactorQRCodePngGetInternalServerError) Code ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetInternalServerError) Code() int
Code gets the status code for the two factor q r code png get internal server error response
func (*TwoFactorQRCodePngGetInternalServerError) Error ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetInternalServerError) Error() string
func (*TwoFactorQRCodePngGetInternalServerError) IsClientError ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetInternalServerError) IsClientError() bool
IsClientError returns true when this two factor q r code png get internal server error response has a 4xx status code
func (*TwoFactorQRCodePngGetInternalServerError) IsCode ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetInternalServerError) IsCode(code int) bool
IsCode returns true when this two factor q r code png get internal server error response a status code equal to that given
func (*TwoFactorQRCodePngGetInternalServerError) IsRedirect ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this two factor q r code png get internal server error response has a 3xx status code
func (*TwoFactorQRCodePngGetInternalServerError) IsServerError ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetInternalServerError) IsServerError() bool
IsServerError returns true when this two factor q r code png get internal server error response has a 5xx status code
func (*TwoFactorQRCodePngGetInternalServerError) IsSuccess ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this two factor q r code png get internal server error response has a 2xx status code
func (*TwoFactorQRCodePngGetInternalServerError) String ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetInternalServerError) String() string
type TwoFactorQRCodePngGetNotAcceptable ¶ added in v0.19.1
type TwoFactorQRCodePngGetNotAcceptable struct {
}
TwoFactorQRCodePngGetNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewTwoFactorQRCodePngGetNotAcceptable ¶ added in v0.19.1
func NewTwoFactorQRCodePngGetNotAcceptable() *TwoFactorQRCodePngGetNotAcceptable
NewTwoFactorQRCodePngGetNotAcceptable creates a TwoFactorQRCodePngGetNotAcceptable with default headers values
func (*TwoFactorQRCodePngGetNotAcceptable) Code ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetNotAcceptable) Code() int
Code gets the status code for the two factor q r code png get not acceptable response
func (*TwoFactorQRCodePngGetNotAcceptable) Error ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetNotAcceptable) Error() string
func (*TwoFactorQRCodePngGetNotAcceptable) IsClientError ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetNotAcceptable) IsClientError() bool
IsClientError returns true when this two factor q r code png get not acceptable response has a 4xx status code
func (*TwoFactorQRCodePngGetNotAcceptable) IsCode ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetNotAcceptable) IsCode(code int) bool
IsCode returns true when this two factor q r code png get not acceptable response a status code equal to that given
func (*TwoFactorQRCodePngGetNotAcceptable) IsRedirect ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetNotAcceptable) IsRedirect() bool
IsRedirect returns true when this two factor q r code png get not acceptable response has a 3xx status code
func (*TwoFactorQRCodePngGetNotAcceptable) IsServerError ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetNotAcceptable) IsServerError() bool
IsServerError returns true when this two factor q r code png get not acceptable response has a 5xx status code
func (*TwoFactorQRCodePngGetNotAcceptable) IsSuccess ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetNotAcceptable) IsSuccess() bool
IsSuccess returns true when this two factor q r code png get not acceptable response has a 2xx status code
func (*TwoFactorQRCodePngGetNotAcceptable) String ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetNotAcceptable) String() string
type TwoFactorQRCodePngGetOK ¶ added in v0.19.1
type TwoFactorQRCodePngGetOK struct {
}
TwoFactorQRCodePngGetOK describes a response with status code 200, with default header values.
QR code png
func NewTwoFactorQRCodePngGetOK ¶ added in v0.19.1
func NewTwoFactorQRCodePngGetOK() *TwoFactorQRCodePngGetOK
NewTwoFactorQRCodePngGetOK creates a TwoFactorQRCodePngGetOK with default headers values
func (*TwoFactorQRCodePngGetOK) Code ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetOK) Code() int
Code gets the status code for the two factor q r code png get o k response
func (*TwoFactorQRCodePngGetOK) Error ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetOK) Error() string
func (*TwoFactorQRCodePngGetOK) IsClientError ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetOK) IsClientError() bool
IsClientError returns true when this two factor q r code png get o k response has a 4xx status code
func (*TwoFactorQRCodePngGetOK) IsCode ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetOK) IsCode(code int) bool
IsCode returns true when this two factor q r code png get o k response a status code equal to that given
func (*TwoFactorQRCodePngGetOK) IsRedirect ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetOK) IsRedirect() bool
IsRedirect returns true when this two factor q r code png get o k response has a 3xx status code
func (*TwoFactorQRCodePngGetOK) IsServerError ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetOK) IsServerError() bool
IsServerError returns true when this two factor q r code png get o k response has a 5xx status code
func (*TwoFactorQRCodePngGetOK) IsSuccess ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetOK) IsSuccess() bool
IsSuccess returns true when this two factor q r code png get o k response has a 2xx status code
func (*TwoFactorQRCodePngGetOK) String ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetOK) String() string
type TwoFactorQRCodePngGetParams ¶ added in v0.19.1
type TwoFactorQRCodePngGetParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
TwoFactorQRCodePngGetParams contains all the parameters to send to the API endpoint
for the two factor q r code png get operation. Typically these are written to a http.Request.
func NewTwoFactorQRCodePngGetParams ¶ added in v0.19.1
func NewTwoFactorQRCodePngGetParams() *TwoFactorQRCodePngGetParams
NewTwoFactorQRCodePngGetParams creates a new TwoFactorQRCodePngGetParams 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 NewTwoFactorQRCodePngGetParamsWithContext ¶ added in v0.19.1
func NewTwoFactorQRCodePngGetParamsWithContext(ctx context.Context) *TwoFactorQRCodePngGetParams
NewTwoFactorQRCodePngGetParamsWithContext creates a new TwoFactorQRCodePngGetParams object with the ability to set a context for a request.
func NewTwoFactorQRCodePngGetParamsWithHTTPClient ¶ added in v0.19.1
func NewTwoFactorQRCodePngGetParamsWithHTTPClient(client *http.Client) *TwoFactorQRCodePngGetParams
NewTwoFactorQRCodePngGetParamsWithHTTPClient creates a new TwoFactorQRCodePngGetParams object with the ability to set a custom HTTPClient for a request.
func NewTwoFactorQRCodePngGetParamsWithTimeout ¶ added in v0.19.1
func NewTwoFactorQRCodePngGetParamsWithTimeout(timeout time.Duration) *TwoFactorQRCodePngGetParams
NewTwoFactorQRCodePngGetParamsWithTimeout creates a new TwoFactorQRCodePngGetParams object with the ability to set a timeout on a request.
func (*TwoFactorQRCodePngGetParams) SetContext ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetParams) SetContext(ctx context.Context)
SetContext adds the context to the two factor q r code png get params
func (*TwoFactorQRCodePngGetParams) SetDefaults ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetParams) SetDefaults()
SetDefaults hydrates default values in the two factor q r code png get params (not the query body).
All values with no default are reset to their zero value.
func (*TwoFactorQRCodePngGetParams) SetHTTPClient ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the two factor q r code png get params
func (*TwoFactorQRCodePngGetParams) SetTimeout ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the two factor q r code png get params
func (*TwoFactorQRCodePngGetParams) WithContext ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetParams) WithContext(ctx context.Context) *TwoFactorQRCodePngGetParams
WithContext adds the context to the two factor q r code png get params
func (*TwoFactorQRCodePngGetParams) WithDefaults ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetParams) WithDefaults() *TwoFactorQRCodePngGetParams
WithDefaults hydrates default values in the two factor q r code png get params (not the query body).
All values with no default are reset to their zero value.
func (*TwoFactorQRCodePngGetParams) WithHTTPClient ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetParams) WithHTTPClient(client *http.Client) *TwoFactorQRCodePngGetParams
WithHTTPClient adds the HTTPClient to the two factor q r code png get params
func (*TwoFactorQRCodePngGetParams) WithTimeout ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetParams) WithTimeout(timeout time.Duration) *TwoFactorQRCodePngGetParams
WithTimeout adds the timeout to the two factor q r code png get params
func (*TwoFactorQRCodePngGetParams) WriteToRequest ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TwoFactorQRCodePngGetReader ¶ added in v0.19.1
type TwoFactorQRCodePngGetReader struct {
// contains filtered or unexported fields
}
TwoFactorQRCodePngGetReader is a Reader for the TwoFactorQRCodePngGet structure.
func (*TwoFactorQRCodePngGetReader) ReadResponse ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TwoFactorQRCodePngGetUnauthorized ¶ added in v0.19.1
type TwoFactorQRCodePngGetUnauthorized struct {
}
TwoFactorQRCodePngGetUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewTwoFactorQRCodePngGetUnauthorized ¶ added in v0.19.1
func NewTwoFactorQRCodePngGetUnauthorized() *TwoFactorQRCodePngGetUnauthorized
NewTwoFactorQRCodePngGetUnauthorized creates a TwoFactorQRCodePngGetUnauthorized with default headers values
func (*TwoFactorQRCodePngGetUnauthorized) Code ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetUnauthorized) Code() int
Code gets the status code for the two factor q r code png get unauthorized response
func (*TwoFactorQRCodePngGetUnauthorized) Error ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetUnauthorized) Error() string
func (*TwoFactorQRCodePngGetUnauthorized) IsClientError ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetUnauthorized) IsClientError() bool
IsClientError returns true when this two factor q r code png get unauthorized response has a 4xx status code
func (*TwoFactorQRCodePngGetUnauthorized) IsCode ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetUnauthorized) IsCode(code int) bool
IsCode returns true when this two factor q r code png get unauthorized response a status code equal to that given
func (*TwoFactorQRCodePngGetUnauthorized) IsRedirect ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this two factor q r code png get unauthorized response has a 3xx status code
func (*TwoFactorQRCodePngGetUnauthorized) IsServerError ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetUnauthorized) IsServerError() bool
IsServerError returns true when this two factor q r code png get unauthorized response has a 5xx status code
func (*TwoFactorQRCodePngGetUnauthorized) IsSuccess ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this two factor q r code png get unauthorized response has a 2xx status code
func (*TwoFactorQRCodePngGetUnauthorized) String ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetUnauthorized) String() string
type TwoFactorQRCodePngGetUnprocessableEntity ¶ added in v0.19.1
type TwoFactorQRCodePngGetUnprocessableEntity struct {
}
TwoFactorQRCodePngGetUnprocessableEntity describes a response with status code 422, with default header values.
unprocessable entity
func NewTwoFactorQRCodePngGetUnprocessableEntity ¶ added in v0.19.1
func NewTwoFactorQRCodePngGetUnprocessableEntity() *TwoFactorQRCodePngGetUnprocessableEntity
NewTwoFactorQRCodePngGetUnprocessableEntity creates a TwoFactorQRCodePngGetUnprocessableEntity with default headers values
func (*TwoFactorQRCodePngGetUnprocessableEntity) Code ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetUnprocessableEntity) Code() int
Code gets the status code for the two factor q r code png get unprocessable entity response
func (*TwoFactorQRCodePngGetUnprocessableEntity) Error ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetUnprocessableEntity) Error() string
func (*TwoFactorQRCodePngGetUnprocessableEntity) IsClientError ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetUnprocessableEntity) IsClientError() bool
IsClientError returns true when this two factor q r code png get unprocessable entity response has a 4xx status code
func (*TwoFactorQRCodePngGetUnprocessableEntity) IsCode ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this two factor q r code png get unprocessable entity response a status code equal to that given
func (*TwoFactorQRCodePngGetUnprocessableEntity) IsRedirect ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this two factor q r code png get unprocessable entity response has a 3xx status code
func (*TwoFactorQRCodePngGetUnprocessableEntity) IsServerError ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetUnprocessableEntity) IsServerError() bool
IsServerError returns true when this two factor q r code png get unprocessable entity response has a 5xx status code
func (*TwoFactorQRCodePngGetUnprocessableEntity) IsSuccess ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this two factor q r code png get unprocessable entity response has a 2xx status code
func (*TwoFactorQRCodePngGetUnprocessableEntity) String ¶ added in v0.19.1
func (o *TwoFactorQRCodePngGetUnprocessableEntity) String() string
type TwoFactorQRCodeURIGetConflict ¶ added in v0.19.1
type TwoFactorQRCodeURIGetConflict struct {
}
TwoFactorQRCodeURIGetConflict describes a response with status code 409, with default header values.
conflict
func NewTwoFactorQRCodeURIGetConflict ¶ added in v0.19.1
func NewTwoFactorQRCodeURIGetConflict() *TwoFactorQRCodeURIGetConflict
NewTwoFactorQRCodeURIGetConflict creates a TwoFactorQRCodeURIGetConflict with default headers values
func (*TwoFactorQRCodeURIGetConflict) Code ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetConflict) Code() int
Code gets the status code for the two factor q r code Uri get conflict response
func (*TwoFactorQRCodeURIGetConflict) Error ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetConflict) Error() string
func (*TwoFactorQRCodeURIGetConflict) IsClientError ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetConflict) IsClientError() bool
IsClientError returns true when this two factor q r code Uri get conflict response has a 4xx status code
func (*TwoFactorQRCodeURIGetConflict) IsCode ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetConflict) IsCode(code int) bool
IsCode returns true when this two factor q r code Uri get conflict response a status code equal to that given
func (*TwoFactorQRCodeURIGetConflict) IsRedirect ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetConflict) IsRedirect() bool
IsRedirect returns true when this two factor q r code Uri get conflict response has a 3xx status code
func (*TwoFactorQRCodeURIGetConflict) IsServerError ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetConflict) IsServerError() bool
IsServerError returns true when this two factor q r code Uri get conflict response has a 5xx status code
func (*TwoFactorQRCodeURIGetConflict) IsSuccess ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetConflict) IsSuccess() bool
IsSuccess returns true when this two factor q r code Uri get conflict response has a 2xx status code
func (*TwoFactorQRCodeURIGetConflict) String ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetConflict) String() string
type TwoFactorQRCodeURIGetForbidden ¶ added in v0.19.1
type TwoFactorQRCodeURIGetForbidden struct {
}
TwoFactorQRCodeURIGetForbidden describes a response with status code 403, with default header values.
forbidden
func NewTwoFactorQRCodeURIGetForbidden ¶ added in v0.19.1
func NewTwoFactorQRCodeURIGetForbidden() *TwoFactorQRCodeURIGetForbidden
NewTwoFactorQRCodeURIGetForbidden creates a TwoFactorQRCodeURIGetForbidden with default headers values
func (*TwoFactorQRCodeURIGetForbidden) Code ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetForbidden) Code() int
Code gets the status code for the two factor q r code Uri get forbidden response
func (*TwoFactorQRCodeURIGetForbidden) Error ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetForbidden) Error() string
func (*TwoFactorQRCodeURIGetForbidden) IsClientError ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetForbidden) IsClientError() bool
IsClientError returns true when this two factor q r code Uri get forbidden response has a 4xx status code
func (*TwoFactorQRCodeURIGetForbidden) IsCode ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetForbidden) IsCode(code int) bool
IsCode returns true when this two factor q r code Uri get forbidden response a status code equal to that given
func (*TwoFactorQRCodeURIGetForbidden) IsRedirect ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetForbidden) IsRedirect() bool
IsRedirect returns true when this two factor q r code Uri get forbidden response has a 3xx status code
func (*TwoFactorQRCodeURIGetForbidden) IsServerError ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetForbidden) IsServerError() bool
IsServerError returns true when this two factor q r code Uri get forbidden response has a 5xx status code
func (*TwoFactorQRCodeURIGetForbidden) IsSuccess ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetForbidden) IsSuccess() bool
IsSuccess returns true when this two factor q r code Uri get forbidden response has a 2xx status code
func (*TwoFactorQRCodeURIGetForbidden) String ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetForbidden) String() string
type TwoFactorQRCodeURIGetInternalServerError ¶ added in v0.19.1
type TwoFactorQRCodeURIGetInternalServerError struct {
}
TwoFactorQRCodeURIGetInternalServerError describes a response with status code 500, with default header values.
internal error
func NewTwoFactorQRCodeURIGetInternalServerError ¶ added in v0.19.1
func NewTwoFactorQRCodeURIGetInternalServerError() *TwoFactorQRCodeURIGetInternalServerError
NewTwoFactorQRCodeURIGetInternalServerError creates a TwoFactorQRCodeURIGetInternalServerError with default headers values
func (*TwoFactorQRCodeURIGetInternalServerError) Code ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetInternalServerError) Code() int
Code gets the status code for the two factor q r code Uri get internal server error response
func (*TwoFactorQRCodeURIGetInternalServerError) Error ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetInternalServerError) Error() string
func (*TwoFactorQRCodeURIGetInternalServerError) IsClientError ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetInternalServerError) IsClientError() bool
IsClientError returns true when this two factor q r code Uri get internal server error response has a 4xx status code
func (*TwoFactorQRCodeURIGetInternalServerError) IsCode ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetInternalServerError) IsCode(code int) bool
IsCode returns true when this two factor q r code Uri get internal server error response a status code equal to that given
func (*TwoFactorQRCodeURIGetInternalServerError) IsRedirect ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this two factor q r code Uri get internal server error response has a 3xx status code
func (*TwoFactorQRCodeURIGetInternalServerError) IsServerError ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetInternalServerError) IsServerError() bool
IsServerError returns true when this two factor q r code Uri get internal server error response has a 5xx status code
func (*TwoFactorQRCodeURIGetInternalServerError) IsSuccess ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this two factor q r code Uri get internal server error response has a 2xx status code
func (*TwoFactorQRCodeURIGetInternalServerError) String ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetInternalServerError) String() string
type TwoFactorQRCodeURIGetNotAcceptable ¶ added in v0.19.1
type TwoFactorQRCodeURIGetNotAcceptable struct {
}
TwoFactorQRCodeURIGetNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewTwoFactorQRCodeURIGetNotAcceptable ¶ added in v0.19.1
func NewTwoFactorQRCodeURIGetNotAcceptable() *TwoFactorQRCodeURIGetNotAcceptable
NewTwoFactorQRCodeURIGetNotAcceptable creates a TwoFactorQRCodeURIGetNotAcceptable with default headers values
func (*TwoFactorQRCodeURIGetNotAcceptable) Code ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetNotAcceptable) Code() int
Code gets the status code for the two factor q r code Uri get not acceptable response
func (*TwoFactorQRCodeURIGetNotAcceptable) Error ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetNotAcceptable) Error() string
func (*TwoFactorQRCodeURIGetNotAcceptable) IsClientError ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetNotAcceptable) IsClientError() bool
IsClientError returns true when this two factor q r code Uri get not acceptable response has a 4xx status code
func (*TwoFactorQRCodeURIGetNotAcceptable) IsCode ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetNotAcceptable) IsCode(code int) bool
IsCode returns true when this two factor q r code Uri get not acceptable response a status code equal to that given
func (*TwoFactorQRCodeURIGetNotAcceptable) IsRedirect ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetNotAcceptable) IsRedirect() bool
IsRedirect returns true when this two factor q r code Uri get not acceptable response has a 3xx status code
func (*TwoFactorQRCodeURIGetNotAcceptable) IsServerError ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetNotAcceptable) IsServerError() bool
IsServerError returns true when this two factor q r code Uri get not acceptable response has a 5xx status code
func (*TwoFactorQRCodeURIGetNotAcceptable) IsSuccess ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetNotAcceptable) IsSuccess() bool
IsSuccess returns true when this two factor q r code Uri get not acceptable response has a 2xx status code
func (*TwoFactorQRCodeURIGetNotAcceptable) String ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetNotAcceptable) String() string
type TwoFactorQRCodeURIGetOK ¶ added in v0.19.1
type TwoFactorQRCodeURIGetOK struct {
}
TwoFactorQRCodeURIGetOK describes a response with status code 200, with default header values.
QR code uri
func NewTwoFactorQRCodeURIGetOK ¶ added in v0.19.1
func NewTwoFactorQRCodeURIGetOK() *TwoFactorQRCodeURIGetOK
NewTwoFactorQRCodeURIGetOK creates a TwoFactorQRCodeURIGetOK with default headers values
func (*TwoFactorQRCodeURIGetOK) Code ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetOK) Code() int
Code gets the status code for the two factor q r code Uri get o k response
func (*TwoFactorQRCodeURIGetOK) Error ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetOK) Error() string
func (*TwoFactorQRCodeURIGetOK) IsClientError ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetOK) IsClientError() bool
IsClientError returns true when this two factor q r code Uri get o k response has a 4xx status code
func (*TwoFactorQRCodeURIGetOK) IsCode ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetOK) IsCode(code int) bool
IsCode returns true when this two factor q r code Uri get o k response a status code equal to that given
func (*TwoFactorQRCodeURIGetOK) IsRedirect ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetOK) IsRedirect() bool
IsRedirect returns true when this two factor q r code Uri get o k response has a 3xx status code
func (*TwoFactorQRCodeURIGetOK) IsServerError ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetOK) IsServerError() bool
IsServerError returns true when this two factor q r code Uri get o k response has a 5xx status code
func (*TwoFactorQRCodeURIGetOK) IsSuccess ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetOK) IsSuccess() bool
IsSuccess returns true when this two factor q r code Uri get o k response has a 2xx status code
func (*TwoFactorQRCodeURIGetOK) String ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetOK) String() string
type TwoFactorQRCodeURIGetParams ¶ added in v0.19.1
type TwoFactorQRCodeURIGetParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
TwoFactorQRCodeURIGetParams contains all the parameters to send to the API endpoint
for the two factor q r code URI get operation. Typically these are written to a http.Request.
func NewTwoFactorQRCodeURIGetParams ¶ added in v0.19.1
func NewTwoFactorQRCodeURIGetParams() *TwoFactorQRCodeURIGetParams
NewTwoFactorQRCodeURIGetParams creates a new TwoFactorQRCodeURIGetParams 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 NewTwoFactorQRCodeURIGetParamsWithContext ¶ added in v0.19.1
func NewTwoFactorQRCodeURIGetParamsWithContext(ctx context.Context) *TwoFactorQRCodeURIGetParams
NewTwoFactorQRCodeURIGetParamsWithContext creates a new TwoFactorQRCodeURIGetParams object with the ability to set a context for a request.
func NewTwoFactorQRCodeURIGetParamsWithHTTPClient ¶ added in v0.19.1
func NewTwoFactorQRCodeURIGetParamsWithHTTPClient(client *http.Client) *TwoFactorQRCodeURIGetParams
NewTwoFactorQRCodeURIGetParamsWithHTTPClient creates a new TwoFactorQRCodeURIGetParams object with the ability to set a custom HTTPClient for a request.
func NewTwoFactorQRCodeURIGetParamsWithTimeout ¶ added in v0.19.1
func NewTwoFactorQRCodeURIGetParamsWithTimeout(timeout time.Duration) *TwoFactorQRCodeURIGetParams
NewTwoFactorQRCodeURIGetParamsWithTimeout creates a new TwoFactorQRCodeURIGetParams object with the ability to set a timeout on a request.
func (*TwoFactorQRCodeURIGetParams) SetContext ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetParams) SetContext(ctx context.Context)
SetContext adds the context to the two factor q r code URI get params
func (*TwoFactorQRCodeURIGetParams) SetDefaults ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetParams) SetDefaults()
SetDefaults hydrates default values in the two factor q r code URI get params (not the query body).
All values with no default are reset to their zero value.
func (*TwoFactorQRCodeURIGetParams) SetHTTPClient ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the two factor q r code URI get params
func (*TwoFactorQRCodeURIGetParams) SetTimeout ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the two factor q r code URI get params
func (*TwoFactorQRCodeURIGetParams) WithContext ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetParams) WithContext(ctx context.Context) *TwoFactorQRCodeURIGetParams
WithContext adds the context to the two factor q r code URI get params
func (*TwoFactorQRCodeURIGetParams) WithDefaults ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetParams) WithDefaults() *TwoFactorQRCodeURIGetParams
WithDefaults hydrates default values in the two factor q r code URI get params (not the query body).
All values with no default are reset to their zero value.
func (*TwoFactorQRCodeURIGetParams) WithHTTPClient ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetParams) WithHTTPClient(client *http.Client) *TwoFactorQRCodeURIGetParams
WithHTTPClient adds the HTTPClient to the two factor q r code URI get params
func (*TwoFactorQRCodeURIGetParams) WithTimeout ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetParams) WithTimeout(timeout time.Duration) *TwoFactorQRCodeURIGetParams
WithTimeout adds the timeout to the two factor q r code URI get params
func (*TwoFactorQRCodeURIGetParams) WriteToRequest ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TwoFactorQRCodeURIGetReader ¶ added in v0.19.1
type TwoFactorQRCodeURIGetReader struct {
// contains filtered or unexported fields
}
TwoFactorQRCodeURIGetReader is a Reader for the TwoFactorQRCodeURIGet structure.
func (*TwoFactorQRCodeURIGetReader) ReadResponse ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TwoFactorQRCodeURIGetUnauthorized ¶ added in v0.19.1
type TwoFactorQRCodeURIGetUnauthorized struct {
}
TwoFactorQRCodeURIGetUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewTwoFactorQRCodeURIGetUnauthorized ¶ added in v0.19.1
func NewTwoFactorQRCodeURIGetUnauthorized() *TwoFactorQRCodeURIGetUnauthorized
NewTwoFactorQRCodeURIGetUnauthorized creates a TwoFactorQRCodeURIGetUnauthorized with default headers values
func (*TwoFactorQRCodeURIGetUnauthorized) Code ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetUnauthorized) Code() int
Code gets the status code for the two factor q r code Uri get unauthorized response
func (*TwoFactorQRCodeURIGetUnauthorized) Error ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetUnauthorized) Error() string
func (*TwoFactorQRCodeURIGetUnauthorized) IsClientError ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetUnauthorized) IsClientError() bool
IsClientError returns true when this two factor q r code Uri get unauthorized response has a 4xx status code
func (*TwoFactorQRCodeURIGetUnauthorized) IsCode ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetUnauthorized) IsCode(code int) bool
IsCode returns true when this two factor q r code Uri get unauthorized response a status code equal to that given
func (*TwoFactorQRCodeURIGetUnauthorized) IsRedirect ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this two factor q r code Uri get unauthorized response has a 3xx status code
func (*TwoFactorQRCodeURIGetUnauthorized) IsServerError ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetUnauthorized) IsServerError() bool
IsServerError returns true when this two factor q r code Uri get unauthorized response has a 5xx status code
func (*TwoFactorQRCodeURIGetUnauthorized) IsSuccess ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this two factor q r code Uri get unauthorized response has a 2xx status code
func (*TwoFactorQRCodeURIGetUnauthorized) String ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetUnauthorized) String() string
type TwoFactorQRCodeURIGetUnprocessableEntity ¶ added in v0.19.1
type TwoFactorQRCodeURIGetUnprocessableEntity struct {
}
TwoFactorQRCodeURIGetUnprocessableEntity describes a response with status code 422, with default header values.
unprocessable entity
func NewTwoFactorQRCodeURIGetUnprocessableEntity ¶ added in v0.19.1
func NewTwoFactorQRCodeURIGetUnprocessableEntity() *TwoFactorQRCodeURIGetUnprocessableEntity
NewTwoFactorQRCodeURIGetUnprocessableEntity creates a TwoFactorQRCodeURIGetUnprocessableEntity with default headers values
func (*TwoFactorQRCodeURIGetUnprocessableEntity) Code ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetUnprocessableEntity) Code() int
Code gets the status code for the two factor q r code Uri get unprocessable entity response
func (*TwoFactorQRCodeURIGetUnprocessableEntity) Error ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetUnprocessableEntity) Error() string
func (*TwoFactorQRCodeURIGetUnprocessableEntity) IsClientError ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetUnprocessableEntity) IsClientError() bool
IsClientError returns true when this two factor q r code Uri get unprocessable entity response has a 4xx status code
func (*TwoFactorQRCodeURIGetUnprocessableEntity) IsCode ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this two factor q r code Uri get unprocessable entity response a status code equal to that given
func (*TwoFactorQRCodeURIGetUnprocessableEntity) IsRedirect ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this two factor q r code Uri get unprocessable entity response has a 3xx status code
func (*TwoFactorQRCodeURIGetUnprocessableEntity) IsServerError ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetUnprocessableEntity) IsServerError() bool
IsServerError returns true when this two factor q r code Uri get unprocessable entity response has a 5xx status code
func (*TwoFactorQRCodeURIGetUnprocessableEntity) IsSuccess ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this two factor q r code Uri get unprocessable entity response has a 2xx status code
func (*TwoFactorQRCodeURIGetUnprocessableEntity) String ¶ added in v0.19.1
func (o *TwoFactorQRCodeURIGetUnprocessableEntity) String() string
type UserEmailChangeAccepted ¶
UserEmailChangeAccepted describes a response with status code 202, with default header values.
Accepted: email change is processing; check your inbox to confirm new address.
func NewUserEmailChangeAccepted ¶
func NewUserEmailChangeAccepted() *UserEmailChangeAccepted
NewUserEmailChangeAccepted creates a UserEmailChangeAccepted with default headers values
func (*UserEmailChangeAccepted) Code ¶
func (o *UserEmailChangeAccepted) Code() int
Code gets the status code for the user email change accepted response
func (*UserEmailChangeAccepted) Error ¶
func (o *UserEmailChangeAccepted) Error() string
func (*UserEmailChangeAccepted) GetPayload ¶
func (o *UserEmailChangeAccepted) GetPayload() *models.User
func (*UserEmailChangeAccepted) IsClientError ¶
func (o *UserEmailChangeAccepted) IsClientError() bool
IsClientError returns true when this user email change accepted response has a 4xx status code
func (*UserEmailChangeAccepted) IsCode ¶
func (o *UserEmailChangeAccepted) IsCode(code int) bool
IsCode returns true when this user email change accepted response a status code equal to that given
func (*UserEmailChangeAccepted) IsRedirect ¶
func (o *UserEmailChangeAccepted) IsRedirect() bool
IsRedirect returns true when this user email change accepted response has a 3xx status code
func (*UserEmailChangeAccepted) IsServerError ¶
func (o *UserEmailChangeAccepted) IsServerError() bool
IsServerError returns true when this user email change accepted response has a 5xx status code
func (*UserEmailChangeAccepted) IsSuccess ¶
func (o *UserEmailChangeAccepted) IsSuccess() bool
IsSuccess returns true when this user email change accepted response has a 2xx status code
func (*UserEmailChangeAccepted) String ¶
func (o *UserEmailChangeAccepted) String() string
type UserEmailChangeBadRequest ¶
type UserEmailChangeBadRequest struct {
}
UserEmailChangeBadRequest describes a response with status code 400, with default header values.
bad request
func NewUserEmailChangeBadRequest ¶
func NewUserEmailChangeBadRequest() *UserEmailChangeBadRequest
NewUserEmailChangeBadRequest creates a UserEmailChangeBadRequest with default headers values
func (*UserEmailChangeBadRequest) Code ¶
func (o *UserEmailChangeBadRequest) Code() int
Code gets the status code for the user email change bad request response
func (*UserEmailChangeBadRequest) Error ¶
func (o *UserEmailChangeBadRequest) Error() string
func (*UserEmailChangeBadRequest) IsClientError ¶
func (o *UserEmailChangeBadRequest) IsClientError() bool
IsClientError returns true when this user email change bad request response has a 4xx status code
func (*UserEmailChangeBadRequest) IsCode ¶
func (o *UserEmailChangeBadRequest) IsCode(code int) bool
IsCode returns true when this user email change bad request response a status code equal to that given
func (*UserEmailChangeBadRequest) IsRedirect ¶
func (o *UserEmailChangeBadRequest) IsRedirect() bool
IsRedirect returns true when this user email change bad request response has a 3xx status code
func (*UserEmailChangeBadRequest) IsServerError ¶
func (o *UserEmailChangeBadRequest) IsServerError() bool
IsServerError returns true when this user email change bad request response has a 5xx status code
func (*UserEmailChangeBadRequest) IsSuccess ¶
func (o *UserEmailChangeBadRequest) IsSuccess() bool
IsSuccess returns true when this user email change bad request response has a 2xx status code
func (*UserEmailChangeBadRequest) String ¶
func (o *UserEmailChangeBadRequest) String() string
type UserEmailChangeConflict ¶
type UserEmailChangeConflict struct {
}
UserEmailChangeConflict describes a response with status code 409, with default header values.
Conflict: desired email address already in use
func NewUserEmailChangeConflict ¶
func NewUserEmailChangeConflict() *UserEmailChangeConflict
NewUserEmailChangeConflict creates a UserEmailChangeConflict with default headers values
func (*UserEmailChangeConflict) Code ¶
func (o *UserEmailChangeConflict) Code() int
Code gets the status code for the user email change conflict response
func (*UserEmailChangeConflict) Error ¶
func (o *UserEmailChangeConflict) Error() string
func (*UserEmailChangeConflict) IsClientError ¶
func (o *UserEmailChangeConflict) IsClientError() bool
IsClientError returns true when this user email change conflict response has a 4xx status code
func (*UserEmailChangeConflict) IsCode ¶
func (o *UserEmailChangeConflict) IsCode(code int) bool
IsCode returns true when this user email change conflict response a status code equal to that given
func (*UserEmailChangeConflict) IsRedirect ¶
func (o *UserEmailChangeConflict) IsRedirect() bool
IsRedirect returns true when this user email change conflict response has a 3xx status code
func (*UserEmailChangeConflict) IsServerError ¶
func (o *UserEmailChangeConflict) IsServerError() bool
IsServerError returns true when this user email change conflict response has a 5xx status code
func (*UserEmailChangeConflict) IsSuccess ¶
func (o *UserEmailChangeConflict) IsSuccess() bool
IsSuccess returns true when this user email change conflict response has a 2xx status code
func (*UserEmailChangeConflict) String ¶
func (o *UserEmailChangeConflict) String() string
type UserEmailChangeForbidden ¶
type UserEmailChangeForbidden struct {
}
UserEmailChangeForbidden describes a response with status code 403, with default header values.
forbidden
func NewUserEmailChangeForbidden ¶
func NewUserEmailChangeForbidden() *UserEmailChangeForbidden
NewUserEmailChangeForbidden creates a UserEmailChangeForbidden with default headers values
func (*UserEmailChangeForbidden) Code ¶
func (o *UserEmailChangeForbidden) Code() int
Code gets the status code for the user email change forbidden response
func (*UserEmailChangeForbidden) Error ¶
func (o *UserEmailChangeForbidden) Error() string
func (*UserEmailChangeForbidden) IsClientError ¶
func (o *UserEmailChangeForbidden) IsClientError() bool
IsClientError returns true when this user email change forbidden response has a 4xx status code
func (*UserEmailChangeForbidden) IsCode ¶
func (o *UserEmailChangeForbidden) IsCode(code int) bool
IsCode returns true when this user email change forbidden response a status code equal to that given
func (*UserEmailChangeForbidden) IsRedirect ¶
func (o *UserEmailChangeForbidden) IsRedirect() bool
IsRedirect returns true when this user email change forbidden response has a 3xx status code
func (*UserEmailChangeForbidden) IsServerError ¶
func (o *UserEmailChangeForbidden) IsServerError() bool
IsServerError returns true when this user email change forbidden response has a 5xx status code
func (*UserEmailChangeForbidden) IsSuccess ¶
func (o *UserEmailChangeForbidden) IsSuccess() bool
IsSuccess returns true when this user email change forbidden response has a 2xx status code
func (*UserEmailChangeForbidden) String ¶
func (o *UserEmailChangeForbidden) String() string
type UserEmailChangeInternalServerError ¶
type UserEmailChangeInternalServerError struct {
}
UserEmailChangeInternalServerError describes a response with status code 500, with default header values.
internal error
func NewUserEmailChangeInternalServerError ¶
func NewUserEmailChangeInternalServerError() *UserEmailChangeInternalServerError
NewUserEmailChangeInternalServerError creates a UserEmailChangeInternalServerError with default headers values
func (*UserEmailChangeInternalServerError) Code ¶
func (o *UserEmailChangeInternalServerError) Code() int
Code gets the status code for the user email change internal server error response
func (*UserEmailChangeInternalServerError) Error ¶
func (o *UserEmailChangeInternalServerError) Error() string
func (*UserEmailChangeInternalServerError) IsClientError ¶
func (o *UserEmailChangeInternalServerError) IsClientError() bool
IsClientError returns true when this user email change internal server error response has a 4xx status code
func (*UserEmailChangeInternalServerError) IsCode ¶
func (o *UserEmailChangeInternalServerError) IsCode(code int) bool
IsCode returns true when this user email change internal server error response a status code equal to that given
func (*UserEmailChangeInternalServerError) IsRedirect ¶
func (o *UserEmailChangeInternalServerError) IsRedirect() bool
IsRedirect returns true when this user email change internal server error response has a 3xx status code
func (*UserEmailChangeInternalServerError) IsServerError ¶
func (o *UserEmailChangeInternalServerError) IsServerError() bool
IsServerError returns true when this user email change internal server error response has a 5xx status code
func (*UserEmailChangeInternalServerError) IsSuccess ¶
func (o *UserEmailChangeInternalServerError) IsSuccess() bool
IsSuccess returns true when this user email change internal server error response has a 2xx status code
func (*UserEmailChangeInternalServerError) String ¶
func (o *UserEmailChangeInternalServerError) String() string
type UserEmailChangeNotAcceptable ¶
type UserEmailChangeNotAcceptable struct {
}
UserEmailChangeNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewUserEmailChangeNotAcceptable ¶
func NewUserEmailChangeNotAcceptable() *UserEmailChangeNotAcceptable
NewUserEmailChangeNotAcceptable creates a UserEmailChangeNotAcceptable with default headers values
func (*UserEmailChangeNotAcceptable) Code ¶
func (o *UserEmailChangeNotAcceptable) Code() int
Code gets the status code for the user email change not acceptable response
func (*UserEmailChangeNotAcceptable) Error ¶
func (o *UserEmailChangeNotAcceptable) Error() string
func (*UserEmailChangeNotAcceptable) IsClientError ¶
func (o *UserEmailChangeNotAcceptable) IsClientError() bool
IsClientError returns true when this user email change not acceptable response has a 4xx status code
func (*UserEmailChangeNotAcceptable) IsCode ¶
func (o *UserEmailChangeNotAcceptable) IsCode(code int) bool
IsCode returns true when this user email change not acceptable response a status code equal to that given
func (*UserEmailChangeNotAcceptable) IsRedirect ¶
func (o *UserEmailChangeNotAcceptable) IsRedirect() bool
IsRedirect returns true when this user email change not acceptable response has a 3xx status code
func (*UserEmailChangeNotAcceptable) IsServerError ¶
func (o *UserEmailChangeNotAcceptable) IsServerError() bool
IsServerError returns true when this user email change not acceptable response has a 5xx status code
func (*UserEmailChangeNotAcceptable) IsSuccess ¶
func (o *UserEmailChangeNotAcceptable) IsSuccess() bool
IsSuccess returns true when this user email change not acceptable response has a 2xx status code
func (*UserEmailChangeNotAcceptable) String ¶
func (o *UserEmailChangeNotAcceptable) String() string
type UserEmailChangeParams ¶
type UserEmailChangeParams struct {
/* NewEmail.
Desired new email address.
*/
NewEmail string
/* Password.
User's current password, for verification.
*/
Password string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UserEmailChangeParams contains all the parameters to send to the API endpoint
for the user email change operation. Typically these are written to a http.Request.
func NewUserEmailChangeParams ¶
func NewUserEmailChangeParams() *UserEmailChangeParams
NewUserEmailChangeParams creates a new UserEmailChangeParams 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 NewUserEmailChangeParamsWithContext ¶
func NewUserEmailChangeParamsWithContext(ctx context.Context) *UserEmailChangeParams
NewUserEmailChangeParamsWithContext creates a new UserEmailChangeParams object with the ability to set a context for a request.
func NewUserEmailChangeParamsWithHTTPClient ¶
func NewUserEmailChangeParamsWithHTTPClient(client *http.Client) *UserEmailChangeParams
NewUserEmailChangeParamsWithHTTPClient creates a new UserEmailChangeParams object with the ability to set a custom HTTPClient for a request.
func NewUserEmailChangeParamsWithTimeout ¶
func NewUserEmailChangeParamsWithTimeout(timeout time.Duration) *UserEmailChangeParams
NewUserEmailChangeParamsWithTimeout creates a new UserEmailChangeParams object with the ability to set a timeout on a request.
func (*UserEmailChangeParams) SetContext ¶
func (o *UserEmailChangeParams) SetContext(ctx context.Context)
SetContext adds the context to the user email change params
func (*UserEmailChangeParams) SetDefaults ¶
func (o *UserEmailChangeParams) SetDefaults()
SetDefaults hydrates default values in the user email change params (not the query body).
All values with no default are reset to their zero value.
func (*UserEmailChangeParams) SetHTTPClient ¶
func (o *UserEmailChangeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user email change params
func (*UserEmailChangeParams) SetNewEmail ¶
func (o *UserEmailChangeParams) SetNewEmail(newEmail string)
SetNewEmail adds the newEmail to the user email change params
func (*UserEmailChangeParams) SetPassword ¶
func (o *UserEmailChangeParams) SetPassword(password string)
SetPassword adds the password to the user email change params
func (*UserEmailChangeParams) SetTimeout ¶
func (o *UserEmailChangeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user email change params
func (*UserEmailChangeParams) WithContext ¶
func (o *UserEmailChangeParams) WithContext(ctx context.Context) *UserEmailChangeParams
WithContext adds the context to the user email change params
func (*UserEmailChangeParams) WithDefaults ¶
func (o *UserEmailChangeParams) WithDefaults() *UserEmailChangeParams
WithDefaults hydrates default values in the user email change params (not the query body).
All values with no default are reset to their zero value.
func (*UserEmailChangeParams) WithHTTPClient ¶
func (o *UserEmailChangeParams) WithHTTPClient(client *http.Client) *UserEmailChangeParams
WithHTTPClient adds the HTTPClient to the user email change params
func (*UserEmailChangeParams) WithNewEmail ¶
func (o *UserEmailChangeParams) WithNewEmail(newEmail string) *UserEmailChangeParams
WithNewEmail adds the newEmail to the user email change params
func (*UserEmailChangeParams) WithPassword ¶
func (o *UserEmailChangeParams) WithPassword(password string) *UserEmailChangeParams
WithPassword adds the password to the user email change params
func (*UserEmailChangeParams) WithTimeout ¶
func (o *UserEmailChangeParams) WithTimeout(timeout time.Duration) *UserEmailChangeParams
WithTimeout adds the timeout to the user email change params
func (*UserEmailChangeParams) WriteToRequest ¶
func (o *UserEmailChangeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserEmailChangeReader ¶
type UserEmailChangeReader struct {
// contains filtered or unexported fields
}
UserEmailChangeReader is a Reader for the UserEmailChange structure.
func (*UserEmailChangeReader) ReadResponse ¶
func (o *UserEmailChangeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserEmailChangeUnauthorized ¶
type UserEmailChangeUnauthorized struct {
}
UserEmailChangeUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewUserEmailChangeUnauthorized ¶
func NewUserEmailChangeUnauthorized() *UserEmailChangeUnauthorized
NewUserEmailChangeUnauthorized creates a UserEmailChangeUnauthorized with default headers values
func (*UserEmailChangeUnauthorized) Code ¶
func (o *UserEmailChangeUnauthorized) Code() int
Code gets the status code for the user email change unauthorized response
func (*UserEmailChangeUnauthorized) Error ¶
func (o *UserEmailChangeUnauthorized) Error() string
func (*UserEmailChangeUnauthorized) IsClientError ¶
func (o *UserEmailChangeUnauthorized) IsClientError() bool
IsClientError returns true when this user email change unauthorized response has a 4xx status code
func (*UserEmailChangeUnauthorized) IsCode ¶
func (o *UserEmailChangeUnauthorized) IsCode(code int) bool
IsCode returns true when this user email change unauthorized response a status code equal to that given
func (*UserEmailChangeUnauthorized) IsRedirect ¶
func (o *UserEmailChangeUnauthorized) IsRedirect() bool
IsRedirect returns true when this user email change unauthorized response has a 3xx status code
func (*UserEmailChangeUnauthorized) IsServerError ¶
func (o *UserEmailChangeUnauthorized) IsServerError() bool
IsServerError returns true when this user email change unauthorized response has a 5xx status code
func (*UserEmailChangeUnauthorized) IsSuccess ¶
func (o *UserEmailChangeUnauthorized) IsSuccess() bool
IsSuccess returns true when this user email change unauthorized response has a 2xx status code
func (*UserEmailChangeUnauthorized) String ¶
func (o *UserEmailChangeUnauthorized) String() string
type UserPasswordChangeBadRequest ¶
type UserPasswordChangeBadRequest struct {
}
UserPasswordChangeBadRequest describes a response with status code 400, with default header values.
bad request
func NewUserPasswordChangeBadRequest ¶
func NewUserPasswordChangeBadRequest() *UserPasswordChangeBadRequest
NewUserPasswordChangeBadRequest creates a UserPasswordChangeBadRequest with default headers values
func (*UserPasswordChangeBadRequest) Code ¶
func (o *UserPasswordChangeBadRequest) Code() int
Code gets the status code for the user password change bad request response
func (*UserPasswordChangeBadRequest) Error ¶
func (o *UserPasswordChangeBadRequest) Error() string
func (*UserPasswordChangeBadRequest) IsClientError ¶
func (o *UserPasswordChangeBadRequest) IsClientError() bool
IsClientError returns true when this user password change bad request response has a 4xx status code
func (*UserPasswordChangeBadRequest) IsCode ¶
func (o *UserPasswordChangeBadRequest) IsCode(code int) bool
IsCode returns true when this user password change bad request response a status code equal to that given
func (*UserPasswordChangeBadRequest) IsRedirect ¶
func (o *UserPasswordChangeBadRequest) IsRedirect() bool
IsRedirect returns true when this user password change bad request response has a 3xx status code
func (*UserPasswordChangeBadRequest) IsServerError ¶
func (o *UserPasswordChangeBadRequest) IsServerError() bool
IsServerError returns true when this user password change bad request response has a 5xx status code
func (*UserPasswordChangeBadRequest) IsSuccess ¶
func (o *UserPasswordChangeBadRequest) IsSuccess() bool
IsSuccess returns true when this user password change bad request response has a 2xx status code
func (*UserPasswordChangeBadRequest) String ¶
func (o *UserPasswordChangeBadRequest) String() string
type UserPasswordChangeForbidden ¶
type UserPasswordChangeForbidden struct {
}
UserPasswordChangeForbidden describes a response with status code 403, with default header values.
forbidden
func NewUserPasswordChangeForbidden ¶
func NewUserPasswordChangeForbidden() *UserPasswordChangeForbidden
NewUserPasswordChangeForbidden creates a UserPasswordChangeForbidden with default headers values
func (*UserPasswordChangeForbidden) Code ¶
func (o *UserPasswordChangeForbidden) Code() int
Code gets the status code for the user password change forbidden response
func (*UserPasswordChangeForbidden) Error ¶
func (o *UserPasswordChangeForbidden) Error() string
func (*UserPasswordChangeForbidden) IsClientError ¶
func (o *UserPasswordChangeForbidden) IsClientError() bool
IsClientError returns true when this user password change forbidden response has a 4xx status code
func (*UserPasswordChangeForbidden) IsCode ¶
func (o *UserPasswordChangeForbidden) IsCode(code int) bool
IsCode returns true when this user password change forbidden response a status code equal to that given
func (*UserPasswordChangeForbidden) IsRedirect ¶
func (o *UserPasswordChangeForbidden) IsRedirect() bool
IsRedirect returns true when this user password change forbidden response has a 3xx status code
func (*UserPasswordChangeForbidden) IsServerError ¶
func (o *UserPasswordChangeForbidden) IsServerError() bool
IsServerError returns true when this user password change forbidden response has a 5xx status code
func (*UserPasswordChangeForbidden) IsSuccess ¶
func (o *UserPasswordChangeForbidden) IsSuccess() bool
IsSuccess returns true when this user password change forbidden response has a 2xx status code
func (*UserPasswordChangeForbidden) String ¶
func (o *UserPasswordChangeForbidden) String() string
type UserPasswordChangeInternalServerError ¶
type UserPasswordChangeInternalServerError struct {
}
UserPasswordChangeInternalServerError describes a response with status code 500, with default header values.
internal error
func NewUserPasswordChangeInternalServerError ¶
func NewUserPasswordChangeInternalServerError() *UserPasswordChangeInternalServerError
NewUserPasswordChangeInternalServerError creates a UserPasswordChangeInternalServerError with default headers values
func (*UserPasswordChangeInternalServerError) Code ¶
func (o *UserPasswordChangeInternalServerError) Code() int
Code gets the status code for the user password change internal server error response
func (*UserPasswordChangeInternalServerError) Error ¶
func (o *UserPasswordChangeInternalServerError) Error() string
func (*UserPasswordChangeInternalServerError) IsClientError ¶
func (o *UserPasswordChangeInternalServerError) IsClientError() bool
IsClientError returns true when this user password change internal server error response has a 4xx status code
func (*UserPasswordChangeInternalServerError) IsCode ¶
func (o *UserPasswordChangeInternalServerError) IsCode(code int) bool
IsCode returns true when this user password change internal server error response a status code equal to that given
func (*UserPasswordChangeInternalServerError) IsRedirect ¶
func (o *UserPasswordChangeInternalServerError) IsRedirect() bool
IsRedirect returns true when this user password change internal server error response has a 3xx status code
func (*UserPasswordChangeInternalServerError) IsServerError ¶
func (o *UserPasswordChangeInternalServerError) IsServerError() bool
IsServerError returns true when this user password change internal server error response has a 5xx status code
func (*UserPasswordChangeInternalServerError) IsSuccess ¶
func (o *UserPasswordChangeInternalServerError) IsSuccess() bool
IsSuccess returns true when this user password change internal server error response has a 2xx status code
func (*UserPasswordChangeInternalServerError) String ¶
func (o *UserPasswordChangeInternalServerError) String() string
type UserPasswordChangeNotAcceptable ¶
type UserPasswordChangeNotAcceptable struct {
}
UserPasswordChangeNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewUserPasswordChangeNotAcceptable ¶
func NewUserPasswordChangeNotAcceptable() *UserPasswordChangeNotAcceptable
NewUserPasswordChangeNotAcceptable creates a UserPasswordChangeNotAcceptable with default headers values
func (*UserPasswordChangeNotAcceptable) Code ¶
func (o *UserPasswordChangeNotAcceptable) Code() int
Code gets the status code for the user password change not acceptable response
func (*UserPasswordChangeNotAcceptable) Error ¶
func (o *UserPasswordChangeNotAcceptable) Error() string
func (*UserPasswordChangeNotAcceptable) IsClientError ¶
func (o *UserPasswordChangeNotAcceptable) IsClientError() bool
IsClientError returns true when this user password change not acceptable response has a 4xx status code
func (*UserPasswordChangeNotAcceptable) IsCode ¶
func (o *UserPasswordChangeNotAcceptable) IsCode(code int) bool
IsCode returns true when this user password change not acceptable response a status code equal to that given
func (*UserPasswordChangeNotAcceptable) IsRedirect ¶
func (o *UserPasswordChangeNotAcceptable) IsRedirect() bool
IsRedirect returns true when this user password change not acceptable response has a 3xx status code
func (*UserPasswordChangeNotAcceptable) IsServerError ¶
func (o *UserPasswordChangeNotAcceptable) IsServerError() bool
IsServerError returns true when this user password change not acceptable response has a 5xx status code
func (*UserPasswordChangeNotAcceptable) IsSuccess ¶
func (o *UserPasswordChangeNotAcceptable) IsSuccess() bool
IsSuccess returns true when this user password change not acceptable response has a 2xx status code
func (*UserPasswordChangeNotAcceptable) String ¶
func (o *UserPasswordChangeNotAcceptable) String() string
type UserPasswordChangeOK ¶
type UserPasswordChangeOK struct {
}
UserPasswordChangeOK describes a response with status code 200, with default header values.
Change successful
func NewUserPasswordChangeOK ¶
func NewUserPasswordChangeOK() *UserPasswordChangeOK
NewUserPasswordChangeOK creates a UserPasswordChangeOK with default headers values
func (*UserPasswordChangeOK) Code ¶
func (o *UserPasswordChangeOK) Code() int
Code gets the status code for the user password change o k response
func (*UserPasswordChangeOK) Error ¶
func (o *UserPasswordChangeOK) Error() string
func (*UserPasswordChangeOK) IsClientError ¶
func (o *UserPasswordChangeOK) IsClientError() bool
IsClientError returns true when this user password change o k response has a 4xx status code
func (*UserPasswordChangeOK) IsCode ¶
func (o *UserPasswordChangeOK) IsCode(code int) bool
IsCode returns true when this user password change o k response a status code equal to that given
func (*UserPasswordChangeOK) IsRedirect ¶
func (o *UserPasswordChangeOK) IsRedirect() bool
IsRedirect returns true when this user password change o k response has a 3xx status code
func (*UserPasswordChangeOK) IsServerError ¶
func (o *UserPasswordChangeOK) IsServerError() bool
IsServerError returns true when this user password change o k response has a 5xx status code
func (*UserPasswordChangeOK) IsSuccess ¶
func (o *UserPasswordChangeOK) IsSuccess() bool
IsSuccess returns true when this user password change o k response has a 2xx status code
func (*UserPasswordChangeOK) String ¶
func (o *UserPasswordChangeOK) String() string
type UserPasswordChangeParams ¶
type UserPasswordChangeParams struct {
/* NewPassword.
Desired new password.
If the password does not have high enough entropy, it will be rejected.
See https://github.com/wagslane/go-password-validator
*/
NewPassword string
/* OldPassword.
User's previous password.
*/
OldPassword string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UserPasswordChangeParams contains all the parameters to send to the API endpoint
for the user password change operation. Typically these are written to a http.Request.
func NewUserPasswordChangeParams ¶
func NewUserPasswordChangeParams() *UserPasswordChangeParams
NewUserPasswordChangeParams creates a new UserPasswordChangeParams 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 NewUserPasswordChangeParamsWithContext ¶
func NewUserPasswordChangeParamsWithContext(ctx context.Context) *UserPasswordChangeParams
NewUserPasswordChangeParamsWithContext creates a new UserPasswordChangeParams object with the ability to set a context for a request.
func NewUserPasswordChangeParamsWithHTTPClient ¶
func NewUserPasswordChangeParamsWithHTTPClient(client *http.Client) *UserPasswordChangeParams
NewUserPasswordChangeParamsWithHTTPClient creates a new UserPasswordChangeParams object with the ability to set a custom HTTPClient for a request.
func NewUserPasswordChangeParamsWithTimeout ¶
func NewUserPasswordChangeParamsWithTimeout(timeout time.Duration) *UserPasswordChangeParams
NewUserPasswordChangeParamsWithTimeout creates a new UserPasswordChangeParams object with the ability to set a timeout on a request.
func (*UserPasswordChangeParams) SetContext ¶
func (o *UserPasswordChangeParams) SetContext(ctx context.Context)
SetContext adds the context to the user password change params
func (*UserPasswordChangeParams) SetDefaults ¶
func (o *UserPasswordChangeParams) SetDefaults()
SetDefaults hydrates default values in the user password change params (not the query body).
All values with no default are reset to their zero value.
func (*UserPasswordChangeParams) SetHTTPClient ¶
func (o *UserPasswordChangeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user password change params
func (*UserPasswordChangeParams) SetNewPassword ¶
func (o *UserPasswordChangeParams) SetNewPassword(newPassword string)
SetNewPassword adds the newPassword to the user password change params
func (*UserPasswordChangeParams) SetOldPassword ¶
func (o *UserPasswordChangeParams) SetOldPassword(oldPassword string)
SetOldPassword adds the oldPassword to the user password change params
func (*UserPasswordChangeParams) SetTimeout ¶
func (o *UserPasswordChangeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user password change params
func (*UserPasswordChangeParams) WithContext ¶
func (o *UserPasswordChangeParams) WithContext(ctx context.Context) *UserPasswordChangeParams
WithContext adds the context to the user password change params
func (*UserPasswordChangeParams) WithDefaults ¶
func (o *UserPasswordChangeParams) WithDefaults() *UserPasswordChangeParams
WithDefaults hydrates default values in the user password change params (not the query body).
All values with no default are reset to their zero value.
func (*UserPasswordChangeParams) WithHTTPClient ¶
func (o *UserPasswordChangeParams) WithHTTPClient(client *http.Client) *UserPasswordChangeParams
WithHTTPClient adds the HTTPClient to the user password change params
func (*UserPasswordChangeParams) WithNewPassword ¶
func (o *UserPasswordChangeParams) WithNewPassword(newPassword string) *UserPasswordChangeParams
WithNewPassword adds the newPassword to the user password change params
func (*UserPasswordChangeParams) WithOldPassword ¶
func (o *UserPasswordChangeParams) WithOldPassword(oldPassword string) *UserPasswordChangeParams
WithOldPassword adds the oldPassword to the user password change params
func (*UserPasswordChangeParams) WithTimeout ¶
func (o *UserPasswordChangeParams) WithTimeout(timeout time.Duration) *UserPasswordChangeParams
WithTimeout adds the timeout to the user password change params
func (*UserPasswordChangeParams) WriteToRequest ¶
func (o *UserPasswordChangeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserPasswordChangeReader ¶
type UserPasswordChangeReader struct {
// contains filtered or unexported fields
}
UserPasswordChangeReader is a Reader for the UserPasswordChange structure.
func (*UserPasswordChangeReader) ReadResponse ¶
func (o *UserPasswordChangeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserPasswordChangeUnauthorized ¶
type UserPasswordChangeUnauthorized struct {
}
UserPasswordChangeUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewUserPasswordChangeUnauthorized ¶
func NewUserPasswordChangeUnauthorized() *UserPasswordChangeUnauthorized
NewUserPasswordChangeUnauthorized creates a UserPasswordChangeUnauthorized with default headers values
func (*UserPasswordChangeUnauthorized) Code ¶
func (o *UserPasswordChangeUnauthorized) Code() int
Code gets the status code for the user password change unauthorized response
func (*UserPasswordChangeUnauthorized) Error ¶
func (o *UserPasswordChangeUnauthorized) Error() string
func (*UserPasswordChangeUnauthorized) IsClientError ¶
func (o *UserPasswordChangeUnauthorized) IsClientError() bool
IsClientError returns true when this user password change unauthorized response has a 4xx status code
func (*UserPasswordChangeUnauthorized) IsCode ¶
func (o *UserPasswordChangeUnauthorized) IsCode(code int) bool
IsCode returns true when this user password change unauthorized response a status code equal to that given
func (*UserPasswordChangeUnauthorized) IsRedirect ¶
func (o *UserPasswordChangeUnauthorized) IsRedirect() bool
IsRedirect returns true when this user password change unauthorized response has a 3xx status code
func (*UserPasswordChangeUnauthorized) IsServerError ¶
func (o *UserPasswordChangeUnauthorized) IsServerError() bool
IsServerError returns true when this user password change unauthorized response has a 5xx status code
func (*UserPasswordChangeUnauthorized) IsSuccess ¶
func (o *UserPasswordChangeUnauthorized) IsSuccess() bool
IsSuccess returns true when this user password change unauthorized response has a 2xx status code
func (*UserPasswordChangeUnauthorized) String ¶
func (o *UserPasswordChangeUnauthorized) String() string
type UserPasswordChangeUnprocessableEntity ¶
type UserPasswordChangeUnprocessableEntity struct {
}
UserPasswordChangeUnprocessableEntity describes a response with status code 422, with default header values.
unprocessable request because instance is running with OIDC backend
func NewUserPasswordChangeUnprocessableEntity ¶
func NewUserPasswordChangeUnprocessableEntity() *UserPasswordChangeUnprocessableEntity
NewUserPasswordChangeUnprocessableEntity creates a UserPasswordChangeUnprocessableEntity with default headers values
func (*UserPasswordChangeUnprocessableEntity) Code ¶
func (o *UserPasswordChangeUnprocessableEntity) Code() int
Code gets the status code for the user password change unprocessable entity response
func (*UserPasswordChangeUnprocessableEntity) Error ¶
func (o *UserPasswordChangeUnprocessableEntity) Error() string
func (*UserPasswordChangeUnprocessableEntity) IsClientError ¶
func (o *UserPasswordChangeUnprocessableEntity) IsClientError() bool
IsClientError returns true when this user password change unprocessable entity response has a 4xx status code
func (*UserPasswordChangeUnprocessableEntity) IsCode ¶
func (o *UserPasswordChangeUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this user password change unprocessable entity response a status code equal to that given
func (*UserPasswordChangeUnprocessableEntity) IsRedirect ¶
func (o *UserPasswordChangeUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this user password change unprocessable entity response has a 3xx status code
func (*UserPasswordChangeUnprocessableEntity) IsServerError ¶
func (o *UserPasswordChangeUnprocessableEntity) IsServerError() bool
IsServerError returns true when this user password change unprocessable entity response has a 5xx status code
func (*UserPasswordChangeUnprocessableEntity) IsSuccess ¶
func (o *UserPasswordChangeUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this user password change unprocessable entity response has a 2xx status code
func (*UserPasswordChangeUnprocessableEntity) String ¶
func (o *UserPasswordChangeUnprocessableEntity) String() string
Source Files
¶
- get_user_parameters.go
- get_user_responses.go
- two_factor_disable_post_parameters.go
- two_factor_disable_post_responses.go
- two_factor_enable_post_parameters.go
- two_factor_enable_post_responses.go
- two_factor_q_r_code_png_get_parameters.go
- two_factor_q_r_code_png_get_responses.go
- two_factor_q_r_code_uri_get_parameters.go
- two_factor_q_r_code_uri_get_responses.go
- user_client.go
- user_email_change_parameters.go
- user_email_change_responses.go
- user_password_change_parameters.go
- user_password_change_responses.go