Documentation
¶
Index ¶
- type ActivateUserBadRequest
- func (o *ActivateUserBadRequest) Code() int
- func (o *ActivateUserBadRequest) Error() string
- func (o *ActivateUserBadRequest) GetPayload() *models.ErrorResponse
- func (o *ActivateUserBadRequest) IsClientError() bool
- func (o *ActivateUserBadRequest) IsCode(code int) bool
- func (o *ActivateUserBadRequest) IsRedirect() bool
- func (o *ActivateUserBadRequest) IsServerError() bool
- func (o *ActivateUserBadRequest) IsSuccess() bool
- func (o *ActivateUserBadRequest) String() string
- type ActivateUserConflict
- func (o *ActivateUserConflict) Code() int
- func (o *ActivateUserConflict) Error() string
- func (o *ActivateUserConflict) IsClientError() bool
- func (o *ActivateUserConflict) IsCode(code int) bool
- func (o *ActivateUserConflict) IsRedirect() bool
- func (o *ActivateUserConflict) IsServerError() bool
- func (o *ActivateUserConflict) IsSuccess() bool
- func (o *ActivateUserConflict) String() string
- type ActivateUserForbidden
- func (o *ActivateUserForbidden) Code() int
- func (o *ActivateUserForbidden) Error() string
- func (o *ActivateUserForbidden) GetPayload() *models.ErrorResponse
- func (o *ActivateUserForbidden) IsClientError() bool
- func (o *ActivateUserForbidden) IsCode(code int) bool
- func (o *ActivateUserForbidden) IsRedirect() bool
- func (o *ActivateUserForbidden) IsServerError() bool
- func (o *ActivateUserForbidden) IsSuccess() bool
- func (o *ActivateUserForbidden) String() string
- type ActivateUserInternalServerError
- func (o *ActivateUserInternalServerError) Code() int
- func (o *ActivateUserInternalServerError) Error() string
- func (o *ActivateUserInternalServerError) GetPayload() *models.ErrorResponse
- func (o *ActivateUserInternalServerError) IsClientError() bool
- func (o *ActivateUserInternalServerError) IsCode(code int) bool
- func (o *ActivateUserInternalServerError) IsRedirect() bool
- func (o *ActivateUserInternalServerError) IsServerError() bool
- func (o *ActivateUserInternalServerError) IsSuccess() bool
- func (o *ActivateUserInternalServerError) String() string
- type ActivateUserNotFound
- func (o *ActivateUserNotFound) Code() int
- func (o *ActivateUserNotFound) Error() string
- func (o *ActivateUserNotFound) IsClientError() bool
- func (o *ActivateUserNotFound) IsCode(code int) bool
- func (o *ActivateUserNotFound) IsRedirect() bool
- func (o *ActivateUserNotFound) IsServerError() bool
- func (o *ActivateUserNotFound) IsSuccess() bool
- func (o *ActivateUserNotFound) String() string
- type ActivateUserOK
- func (o *ActivateUserOK) Code() int
- func (o *ActivateUserOK) Error() string
- func (o *ActivateUserOK) IsClientError() bool
- func (o *ActivateUserOK) IsCode(code int) bool
- func (o *ActivateUserOK) IsRedirect() bool
- func (o *ActivateUserOK) IsServerError() bool
- func (o *ActivateUserOK) IsSuccess() bool
- func (o *ActivateUserOK) String() string
- type ActivateUserParams
- func (o *ActivateUserParams) SetContext(ctx context.Context)
- func (o *ActivateUserParams) SetDefaults()
- func (o *ActivateUserParams) SetHTTPClient(client *http.Client)
- func (o *ActivateUserParams) SetTimeout(timeout time.Duration)
- func (o *ActivateUserParams) SetUserID(userID string)
- func (o *ActivateUserParams) WithContext(ctx context.Context) *ActivateUserParams
- func (o *ActivateUserParams) WithDefaults() *ActivateUserParams
- func (o *ActivateUserParams) WithHTTPClient(client *http.Client) *ActivateUserParams
- func (o *ActivateUserParams) WithTimeout(timeout time.Duration) *ActivateUserParams
- func (o *ActivateUserParams) WithUserID(userID string) *ActivateUserParams
- func (o *ActivateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ActivateUserReader
- type ActivateUserUnauthorized
- func (o *ActivateUserUnauthorized) Code() int
- func (o *ActivateUserUnauthorized) Error() string
- func (o *ActivateUserUnauthorized) IsClientError() bool
- func (o *ActivateUserUnauthorized) IsCode(code int) bool
- func (o *ActivateUserUnauthorized) IsRedirect() bool
- func (o *ActivateUserUnauthorized) IsServerError() bool
- func (o *ActivateUserUnauthorized) IsSuccess() bool
- func (o *ActivateUserUnauthorized) String() string
- type ActivateUserUnprocessableEntity
- func (o *ActivateUserUnprocessableEntity) Code() int
- func (o *ActivateUserUnprocessableEntity) Error() string
- func (o *ActivateUserUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *ActivateUserUnprocessableEntity) IsClientError() bool
- func (o *ActivateUserUnprocessableEntity) IsCode(code int) bool
- func (o *ActivateUserUnprocessableEntity) IsRedirect() bool
- func (o *ActivateUserUnprocessableEntity) IsServerError() bool
- func (o *ActivateUserUnprocessableEntity) IsSuccess() bool
- func (o *ActivateUserUnprocessableEntity) String() string
- type Client
- func (a *Client) ActivateUser(params *ActivateUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ActivateUserOK, error)
- func (a *Client) CreateUser(params *CreateUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateUserCreated, error)
- func (a *Client) DeactivateUser(params *DeactivateUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeactivateUserOK, error)
- func (a *Client) DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteUserNoContent, error)
- func (a *Client) GetOwnInfo(params *GetOwnInfoParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetOwnInfoOK, error)
- func (a *Client) GetUserInfo(params *GetUserInfoParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetUserInfoOK, error)
- func (a *Client) ListAllUsers(params *ListAllUsersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListAllUsersOK, error)
- func (a *Client) RotateUserAPIKey(params *RotateUserAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RotateUserAPIKeyOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateUserBadRequest
- func (o *CreateUserBadRequest) Code() int
- func (o *CreateUserBadRequest) Error() string
- func (o *CreateUserBadRequest) GetPayload() *models.ErrorResponse
- func (o *CreateUserBadRequest) IsClientError() bool
- func (o *CreateUserBadRequest) IsCode(code int) bool
- func (o *CreateUserBadRequest) IsRedirect() bool
- func (o *CreateUserBadRequest) IsServerError() bool
- func (o *CreateUserBadRequest) IsSuccess() bool
- func (o *CreateUserBadRequest) String() string
- type CreateUserConflict
- func (o *CreateUserConflict) Code() int
- func (o *CreateUserConflict) Error() string
- func (o *CreateUserConflict) GetPayload() *models.ErrorResponse
- func (o *CreateUserConflict) IsClientError() bool
- func (o *CreateUserConflict) IsCode(code int) bool
- func (o *CreateUserConflict) IsRedirect() bool
- func (o *CreateUserConflict) IsServerError() bool
- func (o *CreateUserConflict) IsSuccess() bool
- func (o *CreateUserConflict) String() string
- type CreateUserCreated
- func (o *CreateUserCreated) Code() int
- func (o *CreateUserCreated) Error() string
- func (o *CreateUserCreated) GetPayload() *models.UserAPIKey
- func (o *CreateUserCreated) IsClientError() bool
- func (o *CreateUserCreated) IsCode(code int) bool
- func (o *CreateUserCreated) IsRedirect() bool
- func (o *CreateUserCreated) IsServerError() bool
- func (o *CreateUserCreated) IsSuccess() bool
- func (o *CreateUserCreated) String() string
- type CreateUserForbidden
- func (o *CreateUserForbidden) Code() int
- func (o *CreateUserForbidden) Error() string
- func (o *CreateUserForbidden) GetPayload() *models.ErrorResponse
- func (o *CreateUserForbidden) IsClientError() bool
- func (o *CreateUserForbidden) IsCode(code int) bool
- func (o *CreateUserForbidden) IsRedirect() bool
- func (o *CreateUserForbidden) IsServerError() bool
- func (o *CreateUserForbidden) IsSuccess() bool
- func (o *CreateUserForbidden) String() string
- type CreateUserInternalServerError
- func (o *CreateUserInternalServerError) Code() int
- func (o *CreateUserInternalServerError) Error() string
- func (o *CreateUserInternalServerError) GetPayload() *models.ErrorResponse
- func (o *CreateUserInternalServerError) IsClientError() bool
- func (o *CreateUserInternalServerError) IsCode(code int) bool
- func (o *CreateUserInternalServerError) IsRedirect() bool
- func (o *CreateUserInternalServerError) IsServerError() bool
- func (o *CreateUserInternalServerError) IsSuccess() bool
- func (o *CreateUserInternalServerError) String() string
- type CreateUserParams
- func (o *CreateUserParams) SetContext(ctx context.Context)
- func (o *CreateUserParams) SetDefaults()
- func (o *CreateUserParams) SetHTTPClient(client *http.Client)
- func (o *CreateUserParams) SetTimeout(timeout time.Duration)
- func (o *CreateUserParams) SetUserID(userID string)
- func (o *CreateUserParams) WithContext(ctx context.Context) *CreateUserParams
- func (o *CreateUserParams) WithDefaults() *CreateUserParams
- func (o *CreateUserParams) WithHTTPClient(client *http.Client) *CreateUserParams
- func (o *CreateUserParams) WithTimeout(timeout time.Duration) *CreateUserParams
- func (o *CreateUserParams) WithUserID(userID string) *CreateUserParams
- func (o *CreateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateUserReader
- type CreateUserUnauthorized
- func (o *CreateUserUnauthorized) Code() int
- func (o *CreateUserUnauthorized) Error() string
- func (o *CreateUserUnauthorized) IsClientError() bool
- func (o *CreateUserUnauthorized) IsCode(code int) bool
- func (o *CreateUserUnauthorized) IsRedirect() bool
- func (o *CreateUserUnauthorized) IsServerError() bool
- func (o *CreateUserUnauthorized) IsSuccess() bool
- func (o *CreateUserUnauthorized) String() string
- type CreateUserUnprocessableEntity
- func (o *CreateUserUnprocessableEntity) Code() int
- func (o *CreateUserUnprocessableEntity) Error() string
- func (o *CreateUserUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *CreateUserUnprocessableEntity) IsClientError() bool
- func (o *CreateUserUnprocessableEntity) IsCode(code int) bool
- func (o *CreateUserUnprocessableEntity) IsRedirect() bool
- func (o *CreateUserUnprocessableEntity) IsServerError() bool
- func (o *CreateUserUnprocessableEntity) IsSuccess() bool
- func (o *CreateUserUnprocessableEntity) String() string
- type DeactivateUserBadRequest
- func (o *DeactivateUserBadRequest) Code() int
- func (o *DeactivateUserBadRequest) Error() string
- func (o *DeactivateUserBadRequest) GetPayload() *models.ErrorResponse
- func (o *DeactivateUserBadRequest) IsClientError() bool
- func (o *DeactivateUserBadRequest) IsCode(code int) bool
- func (o *DeactivateUserBadRequest) IsRedirect() bool
- func (o *DeactivateUserBadRequest) IsServerError() bool
- func (o *DeactivateUserBadRequest) IsSuccess() bool
- func (o *DeactivateUserBadRequest) String() string
- type DeactivateUserBody
- type DeactivateUserConflict
- func (o *DeactivateUserConflict) Code() int
- func (o *DeactivateUserConflict) Error() string
- func (o *DeactivateUserConflict) IsClientError() bool
- func (o *DeactivateUserConflict) IsCode(code int) bool
- func (o *DeactivateUserConflict) IsRedirect() bool
- func (o *DeactivateUserConflict) IsServerError() bool
- func (o *DeactivateUserConflict) IsSuccess() bool
- func (o *DeactivateUserConflict) String() string
- type DeactivateUserForbidden
- func (o *DeactivateUserForbidden) Code() int
- func (o *DeactivateUserForbidden) Error() string
- func (o *DeactivateUserForbidden) GetPayload() *models.ErrorResponse
- func (o *DeactivateUserForbidden) IsClientError() bool
- func (o *DeactivateUserForbidden) IsCode(code int) bool
- func (o *DeactivateUserForbidden) IsRedirect() bool
- func (o *DeactivateUserForbidden) IsServerError() bool
- func (o *DeactivateUserForbidden) IsSuccess() bool
- func (o *DeactivateUserForbidden) String() string
- type DeactivateUserInternalServerError
- func (o *DeactivateUserInternalServerError) Code() int
- func (o *DeactivateUserInternalServerError) Error() string
- func (o *DeactivateUserInternalServerError) GetPayload() *models.ErrorResponse
- func (o *DeactivateUserInternalServerError) IsClientError() bool
- func (o *DeactivateUserInternalServerError) IsCode(code int) bool
- func (o *DeactivateUserInternalServerError) IsRedirect() bool
- func (o *DeactivateUserInternalServerError) IsServerError() bool
- func (o *DeactivateUserInternalServerError) IsSuccess() bool
- func (o *DeactivateUserInternalServerError) String() string
- type DeactivateUserNotFound
- func (o *DeactivateUserNotFound) Code() int
- func (o *DeactivateUserNotFound) Error() string
- func (o *DeactivateUserNotFound) IsClientError() bool
- func (o *DeactivateUserNotFound) IsCode(code int) bool
- func (o *DeactivateUserNotFound) IsRedirect() bool
- func (o *DeactivateUserNotFound) IsServerError() bool
- func (o *DeactivateUserNotFound) IsSuccess() bool
- func (o *DeactivateUserNotFound) String() string
- type DeactivateUserOK
- func (o *DeactivateUserOK) Code() int
- func (o *DeactivateUserOK) Error() string
- func (o *DeactivateUserOK) IsClientError() bool
- func (o *DeactivateUserOK) IsCode(code int) bool
- func (o *DeactivateUserOK) IsRedirect() bool
- func (o *DeactivateUserOK) IsServerError() bool
- func (o *DeactivateUserOK) IsSuccess() bool
- func (o *DeactivateUserOK) String() string
- type DeactivateUserParams
- func NewDeactivateUserParams() *DeactivateUserParams
- func NewDeactivateUserParamsWithContext(ctx context.Context) *DeactivateUserParams
- func NewDeactivateUserParamsWithHTTPClient(client *http.Client) *DeactivateUserParams
- func NewDeactivateUserParamsWithTimeout(timeout time.Duration) *DeactivateUserParams
- func (o *DeactivateUserParams) SetBody(body DeactivateUserBody)
- func (o *DeactivateUserParams) SetContext(ctx context.Context)
- func (o *DeactivateUserParams) SetDefaults()
- func (o *DeactivateUserParams) SetHTTPClient(client *http.Client)
- func (o *DeactivateUserParams) SetTimeout(timeout time.Duration)
- func (o *DeactivateUserParams) SetUserID(userID string)
- func (o *DeactivateUserParams) WithBody(body DeactivateUserBody) *DeactivateUserParams
- func (o *DeactivateUserParams) WithContext(ctx context.Context) *DeactivateUserParams
- func (o *DeactivateUserParams) WithDefaults() *DeactivateUserParams
- func (o *DeactivateUserParams) WithHTTPClient(client *http.Client) *DeactivateUserParams
- func (o *DeactivateUserParams) WithTimeout(timeout time.Duration) *DeactivateUserParams
- func (o *DeactivateUserParams) WithUserID(userID string) *DeactivateUserParams
- func (o *DeactivateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeactivateUserReader
- type DeactivateUserUnauthorized
- func (o *DeactivateUserUnauthorized) Code() int
- func (o *DeactivateUserUnauthorized) Error() string
- func (o *DeactivateUserUnauthorized) IsClientError() bool
- func (o *DeactivateUserUnauthorized) IsCode(code int) bool
- func (o *DeactivateUserUnauthorized) IsRedirect() bool
- func (o *DeactivateUserUnauthorized) IsServerError() bool
- func (o *DeactivateUserUnauthorized) IsSuccess() bool
- func (o *DeactivateUserUnauthorized) String() string
- type DeactivateUserUnprocessableEntity
- func (o *DeactivateUserUnprocessableEntity) Code() int
- func (o *DeactivateUserUnprocessableEntity) Error() string
- func (o *DeactivateUserUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *DeactivateUserUnprocessableEntity) IsClientError() bool
- func (o *DeactivateUserUnprocessableEntity) IsCode(code int) bool
- func (o *DeactivateUserUnprocessableEntity) IsRedirect() bool
- func (o *DeactivateUserUnprocessableEntity) IsServerError() bool
- func (o *DeactivateUserUnprocessableEntity) IsSuccess() bool
- func (o *DeactivateUserUnprocessableEntity) String() string
- type DeleteUserBadRequest
- func (o *DeleteUserBadRequest) Code() int
- func (o *DeleteUserBadRequest) Error() string
- func (o *DeleteUserBadRequest) GetPayload() *models.ErrorResponse
- func (o *DeleteUserBadRequest) IsClientError() bool
- func (o *DeleteUserBadRequest) IsCode(code int) bool
- func (o *DeleteUserBadRequest) IsRedirect() bool
- func (o *DeleteUserBadRequest) IsServerError() bool
- func (o *DeleteUserBadRequest) IsSuccess() bool
- func (o *DeleteUserBadRequest) String() string
- type DeleteUserForbidden
- func (o *DeleteUserForbidden) Code() int
- func (o *DeleteUserForbidden) Error() string
- func (o *DeleteUserForbidden) GetPayload() *models.ErrorResponse
- func (o *DeleteUserForbidden) IsClientError() bool
- func (o *DeleteUserForbidden) IsCode(code int) bool
- func (o *DeleteUserForbidden) IsRedirect() bool
- func (o *DeleteUserForbidden) IsServerError() bool
- func (o *DeleteUserForbidden) IsSuccess() bool
- func (o *DeleteUserForbidden) String() string
- type DeleteUserInternalServerError
- func (o *DeleteUserInternalServerError) Code() int
- func (o *DeleteUserInternalServerError) Error() string
- func (o *DeleteUserInternalServerError) GetPayload() *models.ErrorResponse
- func (o *DeleteUserInternalServerError) IsClientError() bool
- func (o *DeleteUserInternalServerError) IsCode(code int) bool
- func (o *DeleteUserInternalServerError) IsRedirect() bool
- func (o *DeleteUserInternalServerError) IsServerError() bool
- func (o *DeleteUserInternalServerError) IsSuccess() bool
- func (o *DeleteUserInternalServerError) String() string
- type DeleteUserNoContent
- func (o *DeleteUserNoContent) Code() int
- func (o *DeleteUserNoContent) Error() string
- func (o *DeleteUserNoContent) IsClientError() bool
- func (o *DeleteUserNoContent) IsCode(code int) bool
- func (o *DeleteUserNoContent) IsRedirect() bool
- func (o *DeleteUserNoContent) IsServerError() bool
- func (o *DeleteUserNoContent) IsSuccess() bool
- func (o *DeleteUserNoContent) String() string
- type DeleteUserNotFound
- func (o *DeleteUserNotFound) Code() int
- func (o *DeleteUserNotFound) Error() string
- func (o *DeleteUserNotFound) IsClientError() bool
- func (o *DeleteUserNotFound) IsCode(code int) bool
- func (o *DeleteUserNotFound) IsRedirect() bool
- func (o *DeleteUserNotFound) IsServerError() bool
- func (o *DeleteUserNotFound) IsSuccess() bool
- func (o *DeleteUserNotFound) String() string
- type DeleteUserParams
- func (o *DeleteUserParams) SetContext(ctx context.Context)
- func (o *DeleteUserParams) SetDefaults()
- func (o *DeleteUserParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUserParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUserParams) SetUserID(userID string)
- func (o *DeleteUserParams) WithContext(ctx context.Context) *DeleteUserParams
- func (o *DeleteUserParams) WithDefaults() *DeleteUserParams
- func (o *DeleteUserParams) WithHTTPClient(client *http.Client) *DeleteUserParams
- func (o *DeleteUserParams) WithTimeout(timeout time.Duration) *DeleteUserParams
- func (o *DeleteUserParams) WithUserID(userID string) *DeleteUserParams
- func (o *DeleteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUserReader
- type DeleteUserUnauthorized
- func (o *DeleteUserUnauthorized) Code() int
- func (o *DeleteUserUnauthorized) Error() string
- func (o *DeleteUserUnauthorized) IsClientError() bool
- func (o *DeleteUserUnauthorized) IsCode(code int) bool
- func (o *DeleteUserUnauthorized) IsRedirect() bool
- func (o *DeleteUserUnauthorized) IsServerError() bool
- func (o *DeleteUserUnauthorized) IsSuccess() bool
- func (o *DeleteUserUnauthorized) String() string
- type DeleteUserUnprocessableEntity
- func (o *DeleteUserUnprocessableEntity) Code() int
- func (o *DeleteUserUnprocessableEntity) Error() string
- func (o *DeleteUserUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *DeleteUserUnprocessableEntity) IsClientError() bool
- func (o *DeleteUserUnprocessableEntity) IsCode(code int) bool
- func (o *DeleteUserUnprocessableEntity) IsRedirect() bool
- func (o *DeleteUserUnprocessableEntity) IsServerError() bool
- func (o *DeleteUserUnprocessableEntity) IsSuccess() bool
- func (o *DeleteUserUnprocessableEntity) String() string
- type GetOwnInfoInternalServerError
- func (o *GetOwnInfoInternalServerError) Code() int
- func (o *GetOwnInfoInternalServerError) Error() string
- func (o *GetOwnInfoInternalServerError) GetPayload() *models.ErrorResponse
- func (o *GetOwnInfoInternalServerError) IsClientError() bool
- func (o *GetOwnInfoInternalServerError) IsCode(code int) bool
- func (o *GetOwnInfoInternalServerError) IsRedirect() bool
- func (o *GetOwnInfoInternalServerError) IsServerError() bool
- func (o *GetOwnInfoInternalServerError) IsSuccess() bool
- func (o *GetOwnInfoInternalServerError) String() string
- type GetOwnInfoOK
- func (o *GetOwnInfoOK) Code() int
- func (o *GetOwnInfoOK) Error() string
- func (o *GetOwnInfoOK) GetPayload() *models.UserOwnInfo
- func (o *GetOwnInfoOK) IsClientError() bool
- func (o *GetOwnInfoOK) IsCode(code int) bool
- func (o *GetOwnInfoOK) IsRedirect() bool
- func (o *GetOwnInfoOK) IsServerError() bool
- func (o *GetOwnInfoOK) IsSuccess() bool
- func (o *GetOwnInfoOK) String() string
- type GetOwnInfoParams
- func (o *GetOwnInfoParams) SetContext(ctx context.Context)
- func (o *GetOwnInfoParams) SetDefaults()
- func (o *GetOwnInfoParams) SetHTTPClient(client *http.Client)
- func (o *GetOwnInfoParams) SetTimeout(timeout time.Duration)
- func (o *GetOwnInfoParams) WithContext(ctx context.Context) *GetOwnInfoParams
- func (o *GetOwnInfoParams) WithDefaults() *GetOwnInfoParams
- func (o *GetOwnInfoParams) WithHTTPClient(client *http.Client) *GetOwnInfoParams
- func (o *GetOwnInfoParams) WithTimeout(timeout time.Duration) *GetOwnInfoParams
- func (o *GetOwnInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOwnInfoReader
- type GetOwnInfoUnauthorized
- func (o *GetOwnInfoUnauthorized) Code() int
- func (o *GetOwnInfoUnauthorized) Error() string
- func (o *GetOwnInfoUnauthorized) IsClientError() bool
- func (o *GetOwnInfoUnauthorized) IsCode(code int) bool
- func (o *GetOwnInfoUnauthorized) IsRedirect() bool
- func (o *GetOwnInfoUnauthorized) IsServerError() bool
- func (o *GetOwnInfoUnauthorized) IsSuccess() bool
- func (o *GetOwnInfoUnauthorized) String() string
- type GetUserInfoForbidden
- func (o *GetUserInfoForbidden) Code() int
- func (o *GetUserInfoForbidden) Error() string
- func (o *GetUserInfoForbidden) GetPayload() *models.ErrorResponse
- func (o *GetUserInfoForbidden) IsClientError() bool
- func (o *GetUserInfoForbidden) IsCode(code int) bool
- func (o *GetUserInfoForbidden) IsRedirect() bool
- func (o *GetUserInfoForbidden) IsServerError() bool
- func (o *GetUserInfoForbidden) IsSuccess() bool
- func (o *GetUserInfoForbidden) String() string
- type GetUserInfoInternalServerError
- func (o *GetUserInfoInternalServerError) Code() int
- func (o *GetUserInfoInternalServerError) Error() string
- func (o *GetUserInfoInternalServerError) GetPayload() *models.ErrorResponse
- func (o *GetUserInfoInternalServerError) IsClientError() bool
- func (o *GetUserInfoInternalServerError) IsCode(code int) bool
- func (o *GetUserInfoInternalServerError) IsRedirect() bool
- func (o *GetUserInfoInternalServerError) IsServerError() bool
- func (o *GetUserInfoInternalServerError) IsSuccess() bool
- func (o *GetUserInfoInternalServerError) String() string
- type GetUserInfoNotFound
- func (o *GetUserInfoNotFound) Code() int
- func (o *GetUserInfoNotFound) Error() string
- func (o *GetUserInfoNotFound) IsClientError() bool
- func (o *GetUserInfoNotFound) IsCode(code int) bool
- func (o *GetUserInfoNotFound) IsRedirect() bool
- func (o *GetUserInfoNotFound) IsServerError() bool
- func (o *GetUserInfoNotFound) IsSuccess() bool
- func (o *GetUserInfoNotFound) String() string
- type GetUserInfoOK
- func (o *GetUserInfoOK) Code() int
- func (o *GetUserInfoOK) Error() string
- func (o *GetUserInfoOK) GetPayload() *models.DBUserInfo
- func (o *GetUserInfoOK) IsClientError() bool
- func (o *GetUserInfoOK) IsCode(code int) bool
- func (o *GetUserInfoOK) IsRedirect() bool
- func (o *GetUserInfoOK) IsServerError() bool
- func (o *GetUserInfoOK) IsSuccess() bool
- func (o *GetUserInfoOK) String() string
- type GetUserInfoParams
- func (o *GetUserInfoParams) SetContext(ctx context.Context)
- func (o *GetUserInfoParams) SetDefaults()
- func (o *GetUserInfoParams) SetHTTPClient(client *http.Client)
- func (o *GetUserInfoParams) SetIncludeLastUsedTime(includeLastUsedTime *bool)
- func (o *GetUserInfoParams) SetTimeout(timeout time.Duration)
- func (o *GetUserInfoParams) SetUserID(userID string)
- func (o *GetUserInfoParams) WithContext(ctx context.Context) *GetUserInfoParams
- func (o *GetUserInfoParams) WithDefaults() *GetUserInfoParams
- func (o *GetUserInfoParams) WithHTTPClient(client *http.Client) *GetUserInfoParams
- func (o *GetUserInfoParams) WithIncludeLastUsedTime(includeLastUsedTime *bool) *GetUserInfoParams
- func (o *GetUserInfoParams) WithTimeout(timeout time.Duration) *GetUserInfoParams
- func (o *GetUserInfoParams) WithUserID(userID string) *GetUserInfoParams
- func (o *GetUserInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserInfoReader
- type GetUserInfoUnauthorized
- func (o *GetUserInfoUnauthorized) Code() int
- func (o *GetUserInfoUnauthorized) Error() string
- func (o *GetUserInfoUnauthorized) IsClientError() bool
- func (o *GetUserInfoUnauthorized) IsCode(code int) bool
- func (o *GetUserInfoUnauthorized) IsRedirect() bool
- func (o *GetUserInfoUnauthorized) IsServerError() bool
- func (o *GetUserInfoUnauthorized) IsSuccess() bool
- func (o *GetUserInfoUnauthorized) String() string
- type GetUserInfoUnprocessableEntity
- func (o *GetUserInfoUnprocessableEntity) Code() int
- func (o *GetUserInfoUnprocessableEntity) Error() string
- func (o *GetUserInfoUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *GetUserInfoUnprocessableEntity) IsClientError() bool
- func (o *GetUserInfoUnprocessableEntity) IsCode(code int) bool
- func (o *GetUserInfoUnprocessableEntity) IsRedirect() bool
- func (o *GetUserInfoUnprocessableEntity) IsServerError() bool
- func (o *GetUserInfoUnprocessableEntity) IsSuccess() bool
- func (o *GetUserInfoUnprocessableEntity) String() string
- type ListAllUsersForbidden
- func (o *ListAllUsersForbidden) Code() int
- func (o *ListAllUsersForbidden) Error() string
- func (o *ListAllUsersForbidden) GetPayload() *models.ErrorResponse
- func (o *ListAllUsersForbidden) IsClientError() bool
- func (o *ListAllUsersForbidden) IsCode(code int) bool
- func (o *ListAllUsersForbidden) IsRedirect() bool
- func (o *ListAllUsersForbidden) IsServerError() bool
- func (o *ListAllUsersForbidden) IsSuccess() bool
- func (o *ListAllUsersForbidden) String() string
- type ListAllUsersInternalServerError
- func (o *ListAllUsersInternalServerError) Code() int
- func (o *ListAllUsersInternalServerError) Error() string
- func (o *ListAllUsersInternalServerError) GetPayload() *models.ErrorResponse
- func (o *ListAllUsersInternalServerError) IsClientError() bool
- func (o *ListAllUsersInternalServerError) IsCode(code int) bool
- func (o *ListAllUsersInternalServerError) IsRedirect() bool
- func (o *ListAllUsersInternalServerError) IsServerError() bool
- func (o *ListAllUsersInternalServerError) IsSuccess() bool
- func (o *ListAllUsersInternalServerError) String() string
- type ListAllUsersOK
- func (o *ListAllUsersOK) Code() int
- func (o *ListAllUsersOK) Error() string
- func (o *ListAllUsersOK) GetPayload() []*models.DBUserInfo
- func (o *ListAllUsersOK) IsClientError() bool
- func (o *ListAllUsersOK) IsCode(code int) bool
- func (o *ListAllUsersOK) IsRedirect() bool
- func (o *ListAllUsersOK) IsServerError() bool
- func (o *ListAllUsersOK) IsSuccess() bool
- func (o *ListAllUsersOK) String() string
- type ListAllUsersParams
- func (o *ListAllUsersParams) SetContext(ctx context.Context)
- func (o *ListAllUsersParams) SetDefaults()
- func (o *ListAllUsersParams) SetHTTPClient(client *http.Client)
- func (o *ListAllUsersParams) SetIncludeLastUsedTime(includeLastUsedTime *bool)
- func (o *ListAllUsersParams) SetTimeout(timeout time.Duration)
- func (o *ListAllUsersParams) WithContext(ctx context.Context) *ListAllUsersParams
- func (o *ListAllUsersParams) WithDefaults() *ListAllUsersParams
- func (o *ListAllUsersParams) WithHTTPClient(client *http.Client) *ListAllUsersParams
- func (o *ListAllUsersParams) WithIncludeLastUsedTime(includeLastUsedTime *bool) *ListAllUsersParams
- func (o *ListAllUsersParams) WithTimeout(timeout time.Duration) *ListAllUsersParams
- func (o *ListAllUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAllUsersReader
- type ListAllUsersUnauthorized
- func (o *ListAllUsersUnauthorized) Code() int
- func (o *ListAllUsersUnauthorized) Error() string
- func (o *ListAllUsersUnauthorized) IsClientError() bool
- func (o *ListAllUsersUnauthorized) IsCode(code int) bool
- func (o *ListAllUsersUnauthorized) IsRedirect() bool
- func (o *ListAllUsersUnauthorized) IsServerError() bool
- func (o *ListAllUsersUnauthorized) IsSuccess() bool
- func (o *ListAllUsersUnauthorized) String() string
- type RotateUserAPIKeyBadRequest
- func (o *RotateUserAPIKeyBadRequest) Code() int
- func (o *RotateUserAPIKeyBadRequest) Error() string
- func (o *RotateUserAPIKeyBadRequest) GetPayload() *models.ErrorResponse
- func (o *RotateUserAPIKeyBadRequest) IsClientError() bool
- func (o *RotateUserAPIKeyBadRequest) IsCode(code int) bool
- func (o *RotateUserAPIKeyBadRequest) IsRedirect() bool
- func (o *RotateUserAPIKeyBadRequest) IsServerError() bool
- func (o *RotateUserAPIKeyBadRequest) IsSuccess() bool
- func (o *RotateUserAPIKeyBadRequest) String() string
- type RotateUserAPIKeyForbidden
- func (o *RotateUserAPIKeyForbidden) Code() int
- func (o *RotateUserAPIKeyForbidden) Error() string
- func (o *RotateUserAPIKeyForbidden) GetPayload() *models.ErrorResponse
- func (o *RotateUserAPIKeyForbidden) IsClientError() bool
- func (o *RotateUserAPIKeyForbidden) IsCode(code int) bool
- func (o *RotateUserAPIKeyForbidden) IsRedirect() bool
- func (o *RotateUserAPIKeyForbidden) IsServerError() bool
- func (o *RotateUserAPIKeyForbidden) IsSuccess() bool
- func (o *RotateUserAPIKeyForbidden) String() string
- type RotateUserAPIKeyInternalServerError
- func (o *RotateUserAPIKeyInternalServerError) Code() int
- func (o *RotateUserAPIKeyInternalServerError) Error() string
- func (o *RotateUserAPIKeyInternalServerError) GetPayload() *models.ErrorResponse
- func (o *RotateUserAPIKeyInternalServerError) IsClientError() bool
- func (o *RotateUserAPIKeyInternalServerError) IsCode(code int) bool
- func (o *RotateUserAPIKeyInternalServerError) IsRedirect() bool
- func (o *RotateUserAPIKeyInternalServerError) IsServerError() bool
- func (o *RotateUserAPIKeyInternalServerError) IsSuccess() bool
- func (o *RotateUserAPIKeyInternalServerError) String() string
- type RotateUserAPIKeyNotFound
- func (o *RotateUserAPIKeyNotFound) Code() int
- func (o *RotateUserAPIKeyNotFound) Error() string
- func (o *RotateUserAPIKeyNotFound) IsClientError() bool
- func (o *RotateUserAPIKeyNotFound) IsCode(code int) bool
- func (o *RotateUserAPIKeyNotFound) IsRedirect() bool
- func (o *RotateUserAPIKeyNotFound) IsServerError() bool
- func (o *RotateUserAPIKeyNotFound) IsSuccess() bool
- func (o *RotateUserAPIKeyNotFound) String() string
- type RotateUserAPIKeyOK
- func (o *RotateUserAPIKeyOK) Code() int
- func (o *RotateUserAPIKeyOK) Error() string
- func (o *RotateUserAPIKeyOK) GetPayload() *models.UserAPIKey
- func (o *RotateUserAPIKeyOK) IsClientError() bool
- func (o *RotateUserAPIKeyOK) IsCode(code int) bool
- func (o *RotateUserAPIKeyOK) IsRedirect() bool
- func (o *RotateUserAPIKeyOK) IsServerError() bool
- func (o *RotateUserAPIKeyOK) IsSuccess() bool
- func (o *RotateUserAPIKeyOK) String() string
- type RotateUserAPIKeyParams
- func NewRotateUserAPIKeyParams() *RotateUserAPIKeyParams
- func NewRotateUserAPIKeyParamsWithContext(ctx context.Context) *RotateUserAPIKeyParams
- func NewRotateUserAPIKeyParamsWithHTTPClient(client *http.Client) *RotateUserAPIKeyParams
- func NewRotateUserAPIKeyParamsWithTimeout(timeout time.Duration) *RotateUserAPIKeyParams
- func (o *RotateUserAPIKeyParams) SetContext(ctx context.Context)
- func (o *RotateUserAPIKeyParams) SetDefaults()
- func (o *RotateUserAPIKeyParams) SetHTTPClient(client *http.Client)
- func (o *RotateUserAPIKeyParams) SetTimeout(timeout time.Duration)
- func (o *RotateUserAPIKeyParams) SetUserID(userID string)
- func (o *RotateUserAPIKeyParams) WithContext(ctx context.Context) *RotateUserAPIKeyParams
- func (o *RotateUserAPIKeyParams) WithDefaults() *RotateUserAPIKeyParams
- func (o *RotateUserAPIKeyParams) WithHTTPClient(client *http.Client) *RotateUserAPIKeyParams
- func (o *RotateUserAPIKeyParams) WithTimeout(timeout time.Duration) *RotateUserAPIKeyParams
- func (o *RotateUserAPIKeyParams) WithUserID(userID string) *RotateUserAPIKeyParams
- func (o *RotateUserAPIKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RotateUserAPIKeyReader
- type RotateUserAPIKeyUnauthorized
- func (o *RotateUserAPIKeyUnauthorized) Code() int
- func (o *RotateUserAPIKeyUnauthorized) Error() string
- func (o *RotateUserAPIKeyUnauthorized) IsClientError() bool
- func (o *RotateUserAPIKeyUnauthorized) IsCode(code int) bool
- func (o *RotateUserAPIKeyUnauthorized) IsRedirect() bool
- func (o *RotateUserAPIKeyUnauthorized) IsServerError() bool
- func (o *RotateUserAPIKeyUnauthorized) IsSuccess() bool
- func (o *RotateUserAPIKeyUnauthorized) String() string
- type RotateUserAPIKeyUnprocessableEntity
- func (o *RotateUserAPIKeyUnprocessableEntity) Code() int
- func (o *RotateUserAPIKeyUnprocessableEntity) Error() string
- func (o *RotateUserAPIKeyUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *RotateUserAPIKeyUnprocessableEntity) IsClientError() bool
- func (o *RotateUserAPIKeyUnprocessableEntity) IsCode(code int) bool
- func (o *RotateUserAPIKeyUnprocessableEntity) IsRedirect() bool
- func (o *RotateUserAPIKeyUnprocessableEntity) IsServerError() bool
- func (o *RotateUserAPIKeyUnprocessableEntity) IsSuccess() bool
- func (o *RotateUserAPIKeyUnprocessableEntity) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivateUserBadRequest ¶ added in v1.30.0
type ActivateUserBadRequest struct {
Payload *models.ErrorResponse
}
ActivateUserBadRequest describes a response with status code 400, with default header values.
Malformed request.
func NewActivateUserBadRequest ¶ added in v1.30.0
func NewActivateUserBadRequest() *ActivateUserBadRequest
NewActivateUserBadRequest creates a ActivateUserBadRequest with default headers values
func (*ActivateUserBadRequest) Code ¶ added in v1.30.0
func (o *ActivateUserBadRequest) Code() int
Code gets the status code for the activate user bad request response
func (*ActivateUserBadRequest) Error ¶ added in v1.30.0
func (o *ActivateUserBadRequest) Error() string
func (*ActivateUserBadRequest) GetPayload ¶ added in v1.30.0
func (o *ActivateUserBadRequest) GetPayload() *models.ErrorResponse
func (*ActivateUserBadRequest) IsClientError ¶ added in v1.30.0
func (o *ActivateUserBadRequest) IsClientError() bool
IsClientError returns true when this activate user bad request response has a 4xx status code
func (*ActivateUserBadRequest) IsCode ¶ added in v1.30.0
func (o *ActivateUserBadRequest) IsCode(code int) bool
IsCode returns true when this activate user bad request response a status code equal to that given
func (*ActivateUserBadRequest) IsRedirect ¶ added in v1.30.0
func (o *ActivateUserBadRequest) IsRedirect() bool
IsRedirect returns true when this activate user bad request response has a 3xx status code
func (*ActivateUserBadRequest) IsServerError ¶ added in v1.30.0
func (o *ActivateUserBadRequest) IsServerError() bool
IsServerError returns true when this activate user bad request response has a 5xx status code
func (*ActivateUserBadRequest) IsSuccess ¶ added in v1.30.0
func (o *ActivateUserBadRequest) IsSuccess() bool
IsSuccess returns true when this activate user bad request response has a 2xx status code
func (*ActivateUserBadRequest) String ¶ added in v1.30.0
func (o *ActivateUserBadRequest) String() string
type ActivateUserConflict ¶ added in v1.30.0
type ActivateUserConflict struct {
}
ActivateUserConflict describes a response with status code 409, with default header values.
user already activated
func NewActivateUserConflict ¶ added in v1.30.0
func NewActivateUserConflict() *ActivateUserConflict
NewActivateUserConflict creates a ActivateUserConflict with default headers values
func (*ActivateUserConflict) Code ¶ added in v1.30.0
func (o *ActivateUserConflict) Code() int
Code gets the status code for the activate user conflict response
func (*ActivateUserConflict) Error ¶ added in v1.30.0
func (o *ActivateUserConflict) Error() string
func (*ActivateUserConflict) IsClientError ¶ added in v1.30.0
func (o *ActivateUserConflict) IsClientError() bool
IsClientError returns true when this activate user conflict response has a 4xx status code
func (*ActivateUserConflict) IsCode ¶ added in v1.30.0
func (o *ActivateUserConflict) IsCode(code int) bool
IsCode returns true when this activate user conflict response a status code equal to that given
func (*ActivateUserConflict) IsRedirect ¶ added in v1.30.0
func (o *ActivateUserConflict) IsRedirect() bool
IsRedirect returns true when this activate user conflict response has a 3xx status code
func (*ActivateUserConflict) IsServerError ¶ added in v1.30.0
func (o *ActivateUserConflict) IsServerError() bool
IsServerError returns true when this activate user conflict response has a 5xx status code
func (*ActivateUserConflict) IsSuccess ¶ added in v1.30.0
func (o *ActivateUserConflict) IsSuccess() bool
IsSuccess returns true when this activate user conflict response has a 2xx status code
func (*ActivateUserConflict) String ¶ added in v1.30.0
func (o *ActivateUserConflict) String() string
type ActivateUserForbidden ¶ added in v1.30.0
type ActivateUserForbidden struct {
Payload *models.ErrorResponse
}
ActivateUserForbidden describes a response with status code 403, with default header values.
Forbidden
func NewActivateUserForbidden ¶ added in v1.30.0
func NewActivateUserForbidden() *ActivateUserForbidden
NewActivateUserForbidden creates a ActivateUserForbidden with default headers values
func (*ActivateUserForbidden) Code ¶ added in v1.30.0
func (o *ActivateUserForbidden) Code() int
Code gets the status code for the activate user forbidden response
func (*ActivateUserForbidden) Error ¶ added in v1.30.0
func (o *ActivateUserForbidden) Error() string
func (*ActivateUserForbidden) GetPayload ¶ added in v1.30.0
func (o *ActivateUserForbidden) GetPayload() *models.ErrorResponse
func (*ActivateUserForbidden) IsClientError ¶ added in v1.30.0
func (o *ActivateUserForbidden) IsClientError() bool
IsClientError returns true when this activate user forbidden response has a 4xx status code
func (*ActivateUserForbidden) IsCode ¶ added in v1.30.0
func (o *ActivateUserForbidden) IsCode(code int) bool
IsCode returns true when this activate user forbidden response a status code equal to that given
func (*ActivateUserForbidden) IsRedirect ¶ added in v1.30.0
func (o *ActivateUserForbidden) IsRedirect() bool
IsRedirect returns true when this activate user forbidden response has a 3xx status code
func (*ActivateUserForbidden) IsServerError ¶ added in v1.30.0
func (o *ActivateUserForbidden) IsServerError() bool
IsServerError returns true when this activate user forbidden response has a 5xx status code
func (*ActivateUserForbidden) IsSuccess ¶ added in v1.30.0
func (o *ActivateUserForbidden) IsSuccess() bool
IsSuccess returns true when this activate user forbidden response has a 2xx status code
func (*ActivateUserForbidden) String ¶ added in v1.30.0
func (o *ActivateUserForbidden) String() string
type ActivateUserInternalServerError ¶ added in v1.30.0
type ActivateUserInternalServerError struct {
Payload *models.ErrorResponse
}
ActivateUserInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewActivateUserInternalServerError ¶ added in v1.30.0
func NewActivateUserInternalServerError() *ActivateUserInternalServerError
NewActivateUserInternalServerError creates a ActivateUserInternalServerError with default headers values
func (*ActivateUserInternalServerError) Code ¶ added in v1.30.0
func (o *ActivateUserInternalServerError) Code() int
Code gets the status code for the activate user internal server error response
func (*ActivateUserInternalServerError) Error ¶ added in v1.30.0
func (o *ActivateUserInternalServerError) Error() string
func (*ActivateUserInternalServerError) GetPayload ¶ added in v1.30.0
func (o *ActivateUserInternalServerError) GetPayload() *models.ErrorResponse
func (*ActivateUserInternalServerError) IsClientError ¶ added in v1.30.0
func (o *ActivateUserInternalServerError) IsClientError() bool
IsClientError returns true when this activate user internal server error response has a 4xx status code
func (*ActivateUserInternalServerError) IsCode ¶ added in v1.30.0
func (o *ActivateUserInternalServerError) IsCode(code int) bool
IsCode returns true when this activate user internal server error response a status code equal to that given
func (*ActivateUserInternalServerError) IsRedirect ¶ added in v1.30.0
func (o *ActivateUserInternalServerError) IsRedirect() bool
IsRedirect returns true when this activate user internal server error response has a 3xx status code
func (*ActivateUserInternalServerError) IsServerError ¶ added in v1.30.0
func (o *ActivateUserInternalServerError) IsServerError() bool
IsServerError returns true when this activate user internal server error response has a 5xx status code
func (*ActivateUserInternalServerError) IsSuccess ¶ added in v1.30.0
func (o *ActivateUserInternalServerError) IsSuccess() bool
IsSuccess returns true when this activate user internal server error response has a 2xx status code
func (*ActivateUserInternalServerError) String ¶ added in v1.30.0
func (o *ActivateUserInternalServerError) String() string
type ActivateUserNotFound ¶ added in v1.30.0
type ActivateUserNotFound struct {
}
ActivateUserNotFound describes a response with status code 404, with default header values.
user not found
func NewActivateUserNotFound ¶ added in v1.30.0
func NewActivateUserNotFound() *ActivateUserNotFound
NewActivateUserNotFound creates a ActivateUserNotFound with default headers values
func (*ActivateUserNotFound) Code ¶ added in v1.30.0
func (o *ActivateUserNotFound) Code() int
Code gets the status code for the activate user not found response
func (*ActivateUserNotFound) Error ¶ added in v1.30.0
func (o *ActivateUserNotFound) Error() string
func (*ActivateUserNotFound) IsClientError ¶ added in v1.30.0
func (o *ActivateUserNotFound) IsClientError() bool
IsClientError returns true when this activate user not found response has a 4xx status code
func (*ActivateUserNotFound) IsCode ¶ added in v1.30.0
func (o *ActivateUserNotFound) IsCode(code int) bool
IsCode returns true when this activate user not found response a status code equal to that given
func (*ActivateUserNotFound) IsRedirect ¶ added in v1.30.0
func (o *ActivateUserNotFound) IsRedirect() bool
IsRedirect returns true when this activate user not found response has a 3xx status code
func (*ActivateUserNotFound) IsServerError ¶ added in v1.30.0
func (o *ActivateUserNotFound) IsServerError() bool
IsServerError returns true when this activate user not found response has a 5xx status code
func (*ActivateUserNotFound) IsSuccess ¶ added in v1.30.0
func (o *ActivateUserNotFound) IsSuccess() bool
IsSuccess returns true when this activate user not found response has a 2xx status code
func (*ActivateUserNotFound) String ¶ added in v1.30.0
func (o *ActivateUserNotFound) String() string
type ActivateUserOK ¶ added in v1.30.0
type ActivateUserOK struct {
}
ActivateUserOK describes a response with status code 200, with default header values.
User successfully activated
func NewActivateUserOK ¶ added in v1.30.0
func NewActivateUserOK() *ActivateUserOK
NewActivateUserOK creates a ActivateUserOK with default headers values
func (*ActivateUserOK) Code ¶ added in v1.30.0
func (o *ActivateUserOK) Code() int
Code gets the status code for the activate user o k response
func (*ActivateUserOK) Error ¶ added in v1.30.0
func (o *ActivateUserOK) Error() string
func (*ActivateUserOK) IsClientError ¶ added in v1.30.0
func (o *ActivateUserOK) IsClientError() bool
IsClientError returns true when this activate user o k response has a 4xx status code
func (*ActivateUserOK) IsCode ¶ added in v1.30.0
func (o *ActivateUserOK) IsCode(code int) bool
IsCode returns true when this activate user o k response a status code equal to that given
func (*ActivateUserOK) IsRedirect ¶ added in v1.30.0
func (o *ActivateUserOK) IsRedirect() bool
IsRedirect returns true when this activate user o k response has a 3xx status code
func (*ActivateUserOK) IsServerError ¶ added in v1.30.0
func (o *ActivateUserOK) IsServerError() bool
IsServerError returns true when this activate user o k response has a 5xx status code
func (*ActivateUserOK) IsSuccess ¶ added in v1.30.0
func (o *ActivateUserOK) IsSuccess() bool
IsSuccess returns true when this activate user o k response has a 2xx status code
func (*ActivateUserOK) String ¶ added in v1.30.0
func (o *ActivateUserOK) String() string
type ActivateUserParams ¶ added in v1.30.0
type ActivateUserParams struct {
/* UserID.
user id
*/
UserID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ActivateUserParams contains all the parameters to send to the API endpoint
for the activate user operation. Typically these are written to a http.Request.
func NewActivateUserParams ¶ added in v1.30.0
func NewActivateUserParams() *ActivateUserParams
NewActivateUserParams creates a new ActivateUserParams 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 NewActivateUserParamsWithContext ¶ added in v1.30.0
func NewActivateUserParamsWithContext(ctx context.Context) *ActivateUserParams
NewActivateUserParamsWithContext creates a new ActivateUserParams object with the ability to set a context for a request.
func NewActivateUserParamsWithHTTPClient ¶ added in v1.30.0
func NewActivateUserParamsWithHTTPClient(client *http.Client) *ActivateUserParams
NewActivateUserParamsWithHTTPClient creates a new ActivateUserParams object with the ability to set a custom HTTPClient for a request.
func NewActivateUserParamsWithTimeout ¶ added in v1.30.0
func NewActivateUserParamsWithTimeout(timeout time.Duration) *ActivateUserParams
NewActivateUserParamsWithTimeout creates a new ActivateUserParams object with the ability to set a timeout on a request.
func (*ActivateUserParams) SetContext ¶ added in v1.30.0
func (o *ActivateUserParams) SetContext(ctx context.Context)
SetContext adds the context to the activate user params
func (*ActivateUserParams) SetDefaults ¶ added in v1.30.0
func (o *ActivateUserParams) SetDefaults()
SetDefaults hydrates default values in the activate user params (not the query body).
All values with no default are reset to their zero value.
func (*ActivateUserParams) SetHTTPClient ¶ added in v1.30.0
func (o *ActivateUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the activate user params
func (*ActivateUserParams) SetTimeout ¶ added in v1.30.0
func (o *ActivateUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the activate user params
func (*ActivateUserParams) SetUserID ¶ added in v1.30.0
func (o *ActivateUserParams) SetUserID(userID string)
SetUserID adds the userId to the activate user params
func (*ActivateUserParams) WithContext ¶ added in v1.30.0
func (o *ActivateUserParams) WithContext(ctx context.Context) *ActivateUserParams
WithContext adds the context to the activate user params
func (*ActivateUserParams) WithDefaults ¶ added in v1.30.0
func (o *ActivateUserParams) WithDefaults() *ActivateUserParams
WithDefaults hydrates default values in the activate user params (not the query body).
All values with no default are reset to their zero value.
func (*ActivateUserParams) WithHTTPClient ¶ added in v1.30.0
func (o *ActivateUserParams) WithHTTPClient(client *http.Client) *ActivateUserParams
WithHTTPClient adds the HTTPClient to the activate user params
func (*ActivateUserParams) WithTimeout ¶ added in v1.30.0
func (o *ActivateUserParams) WithTimeout(timeout time.Duration) *ActivateUserParams
WithTimeout adds the timeout to the activate user params
func (*ActivateUserParams) WithUserID ¶ added in v1.30.0
func (o *ActivateUserParams) WithUserID(userID string) *ActivateUserParams
WithUserID adds the userID to the activate user params
func (*ActivateUserParams) WriteToRequest ¶ added in v1.30.0
func (o *ActivateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ActivateUserReader ¶ added in v1.30.0
type ActivateUserReader struct {
// contains filtered or unexported fields
}
ActivateUserReader is a Reader for the ActivateUser structure.
func (*ActivateUserReader) ReadResponse ¶ added in v1.30.0
func (o *ActivateUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ActivateUserUnauthorized ¶ added in v1.30.0
type ActivateUserUnauthorized struct {
}
ActivateUserUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewActivateUserUnauthorized ¶ added in v1.30.0
func NewActivateUserUnauthorized() *ActivateUserUnauthorized
NewActivateUserUnauthorized creates a ActivateUserUnauthorized with default headers values
func (*ActivateUserUnauthorized) Code ¶ added in v1.30.0
func (o *ActivateUserUnauthorized) Code() int
Code gets the status code for the activate user unauthorized response
func (*ActivateUserUnauthorized) Error ¶ added in v1.30.0
func (o *ActivateUserUnauthorized) Error() string
func (*ActivateUserUnauthorized) IsClientError ¶ added in v1.30.0
func (o *ActivateUserUnauthorized) IsClientError() bool
IsClientError returns true when this activate user unauthorized response has a 4xx status code
func (*ActivateUserUnauthorized) IsCode ¶ added in v1.30.0
func (o *ActivateUserUnauthorized) IsCode(code int) bool
IsCode returns true when this activate user unauthorized response a status code equal to that given
func (*ActivateUserUnauthorized) IsRedirect ¶ added in v1.30.0
func (o *ActivateUserUnauthorized) IsRedirect() bool
IsRedirect returns true when this activate user unauthorized response has a 3xx status code
func (*ActivateUserUnauthorized) IsServerError ¶ added in v1.30.0
func (o *ActivateUserUnauthorized) IsServerError() bool
IsServerError returns true when this activate user unauthorized response has a 5xx status code
func (*ActivateUserUnauthorized) IsSuccess ¶ added in v1.30.0
func (o *ActivateUserUnauthorized) IsSuccess() bool
IsSuccess returns true when this activate user unauthorized response has a 2xx status code
func (*ActivateUserUnauthorized) String ¶ added in v1.30.0
func (o *ActivateUserUnauthorized) String() string
type ActivateUserUnprocessableEntity ¶ added in v1.30.0
type ActivateUserUnprocessableEntity struct {
Payload *models.ErrorResponse
}
ActivateUserUnprocessableEntity describes a response with status code 422, with default header values.
Request body is well-formed (i.e., syntactically correct), but semantically erroneous.
func NewActivateUserUnprocessableEntity ¶ added in v1.30.0
func NewActivateUserUnprocessableEntity() *ActivateUserUnprocessableEntity
NewActivateUserUnprocessableEntity creates a ActivateUserUnprocessableEntity with default headers values
func (*ActivateUserUnprocessableEntity) Code ¶ added in v1.30.0
func (o *ActivateUserUnprocessableEntity) Code() int
Code gets the status code for the activate user unprocessable entity response
func (*ActivateUserUnprocessableEntity) Error ¶ added in v1.30.0
func (o *ActivateUserUnprocessableEntity) Error() string
func (*ActivateUserUnprocessableEntity) GetPayload ¶ added in v1.30.0
func (o *ActivateUserUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*ActivateUserUnprocessableEntity) IsClientError ¶ added in v1.30.0
func (o *ActivateUserUnprocessableEntity) IsClientError() bool
IsClientError returns true when this activate user unprocessable entity response has a 4xx status code
func (*ActivateUserUnprocessableEntity) IsCode ¶ added in v1.30.0
func (o *ActivateUserUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this activate user unprocessable entity response a status code equal to that given
func (*ActivateUserUnprocessableEntity) IsRedirect ¶ added in v1.30.0
func (o *ActivateUserUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this activate user unprocessable entity response has a 3xx status code
func (*ActivateUserUnprocessableEntity) IsServerError ¶ added in v1.30.0
func (o *ActivateUserUnprocessableEntity) IsServerError() bool
IsServerError returns true when this activate user unprocessable entity response has a 5xx status code
func (*ActivateUserUnprocessableEntity) IsSuccess ¶ added in v1.30.0
func (o *ActivateUserUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this activate user unprocessable entity response has a 2xx status code
func (*ActivateUserUnprocessableEntity) String ¶ added in v1.30.0
func (o *ActivateUserUnprocessableEntity) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for users API
func (*Client) ActivateUser ¶ added in v1.30.0
func (a *Client) ActivateUser(params *ActivateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ActivateUserOK, error)
ActivateUser activates a deactivated user
func (*Client) CreateUser ¶ added in v1.30.0
func (a *Client) CreateUser(params *CreateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUserCreated, error)
CreateUser creates new user
func (*Client) DeactivateUser ¶ added in v1.30.0
func (a *Client) DeactivateUser(params *DeactivateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeactivateUserOK, error)
DeactivateUser deactivates a user
func (*Client) DeleteUser ¶ added in v1.30.0
func (a *Client) DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserNoContent, error)
DeleteUser deletes user
func (*Client) GetOwnInfo ¶
func (a *Client) GetOwnInfo(params *GetOwnInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOwnInfoOK, error)
GetOwnInfo gets info relevant to own user e g username roles
func (*Client) GetUserInfo ¶ added in v1.30.0
func (a *Client) GetUserInfo(params *GetUserInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserInfoOK, error)
GetUserInfo gets info relevant to user e g username roles
func (*Client) ListAllUsers ¶ added in v1.30.0
func (a *Client) ListAllUsers(params *ListAllUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAllUsersOK, error)
ListAllUsers lists all db users
func (*Client) RotateUserAPIKey ¶ added in v1.30.0
func (a *Client) RotateUserAPIKey(params *RotateUserAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RotateUserAPIKeyOK, error)
RotateUserAPIKey rotates user api key
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface {
ActivateUser(params *ActivateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ActivateUserOK, error)
CreateUser(params *CreateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUserCreated, error)
DeactivateUser(params *DeactivateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeactivateUserOK, error)
DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserNoContent, error)
GetOwnInfo(params *GetOwnInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOwnInfoOK, error)
GetUserInfo(params *GetUserInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserInfoOK, error)
ListAllUsers(params *ListAllUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAllUsersOK, error)
RotateUserAPIKey(params *RotateUserAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RotateUserAPIKeyOK, error)
SetTransport(transport runtime.ClientTransport)
}
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new users API client.
type CreateUserBadRequest ¶ added in v1.30.0
type CreateUserBadRequest struct {
Payload *models.ErrorResponse
}
CreateUserBadRequest describes a response with status code 400, with default header values.
Malformed request.
func NewCreateUserBadRequest ¶ added in v1.30.0
func NewCreateUserBadRequest() *CreateUserBadRequest
NewCreateUserBadRequest creates a CreateUserBadRequest with default headers values
func (*CreateUserBadRequest) Code ¶ added in v1.30.0
func (o *CreateUserBadRequest) Code() int
Code gets the status code for the create user bad request response
func (*CreateUserBadRequest) Error ¶ added in v1.30.0
func (o *CreateUserBadRequest) Error() string
func (*CreateUserBadRequest) GetPayload ¶ added in v1.30.0
func (o *CreateUserBadRequest) GetPayload() *models.ErrorResponse
func (*CreateUserBadRequest) IsClientError ¶ added in v1.30.0
func (o *CreateUserBadRequest) IsClientError() bool
IsClientError returns true when this create user bad request response has a 4xx status code
func (*CreateUserBadRequest) IsCode ¶ added in v1.30.0
func (o *CreateUserBadRequest) IsCode(code int) bool
IsCode returns true when this create user bad request response a status code equal to that given
func (*CreateUserBadRequest) IsRedirect ¶ added in v1.30.0
func (o *CreateUserBadRequest) IsRedirect() bool
IsRedirect returns true when this create user bad request response has a 3xx status code
func (*CreateUserBadRequest) IsServerError ¶ added in v1.30.0
func (o *CreateUserBadRequest) IsServerError() bool
IsServerError returns true when this create user bad request response has a 5xx status code
func (*CreateUserBadRequest) IsSuccess ¶ added in v1.30.0
func (o *CreateUserBadRequest) IsSuccess() bool
IsSuccess returns true when this create user bad request response has a 2xx status code
func (*CreateUserBadRequest) String ¶ added in v1.30.0
func (o *CreateUserBadRequest) String() string
type CreateUserConflict ¶ added in v1.30.0
type CreateUserConflict struct {
Payload *models.ErrorResponse
}
CreateUserConflict describes a response with status code 409, with default header values.
User already exists
func NewCreateUserConflict ¶ added in v1.30.0
func NewCreateUserConflict() *CreateUserConflict
NewCreateUserConflict creates a CreateUserConflict with default headers values
func (*CreateUserConflict) Code ¶ added in v1.30.0
func (o *CreateUserConflict) Code() int
Code gets the status code for the create user conflict response
func (*CreateUserConflict) Error ¶ added in v1.30.0
func (o *CreateUserConflict) Error() string
func (*CreateUserConflict) GetPayload ¶ added in v1.30.0
func (o *CreateUserConflict) GetPayload() *models.ErrorResponse
func (*CreateUserConflict) IsClientError ¶ added in v1.30.0
func (o *CreateUserConflict) IsClientError() bool
IsClientError returns true when this create user conflict response has a 4xx status code
func (*CreateUserConflict) IsCode ¶ added in v1.30.0
func (o *CreateUserConflict) IsCode(code int) bool
IsCode returns true when this create user conflict response a status code equal to that given
func (*CreateUserConflict) IsRedirect ¶ added in v1.30.0
func (o *CreateUserConflict) IsRedirect() bool
IsRedirect returns true when this create user conflict response has a 3xx status code
func (*CreateUserConflict) IsServerError ¶ added in v1.30.0
func (o *CreateUserConflict) IsServerError() bool
IsServerError returns true when this create user conflict response has a 5xx status code
func (*CreateUserConflict) IsSuccess ¶ added in v1.30.0
func (o *CreateUserConflict) IsSuccess() bool
IsSuccess returns true when this create user conflict response has a 2xx status code
func (*CreateUserConflict) String ¶ added in v1.30.0
func (o *CreateUserConflict) String() string
type CreateUserCreated ¶ added in v1.30.0
type CreateUserCreated struct {
Payload *models.UserAPIKey
}
CreateUserCreated describes a response with status code 201, with default header values.
User created successfully
func NewCreateUserCreated ¶ added in v1.30.0
func NewCreateUserCreated() *CreateUserCreated
NewCreateUserCreated creates a CreateUserCreated with default headers values
func (*CreateUserCreated) Code ¶ added in v1.30.0
func (o *CreateUserCreated) Code() int
Code gets the status code for the create user created response
func (*CreateUserCreated) Error ¶ added in v1.30.0
func (o *CreateUserCreated) Error() string
func (*CreateUserCreated) GetPayload ¶ added in v1.30.0
func (o *CreateUserCreated) GetPayload() *models.UserAPIKey
func (*CreateUserCreated) IsClientError ¶ added in v1.30.0
func (o *CreateUserCreated) IsClientError() bool
IsClientError returns true when this create user created response has a 4xx status code
func (*CreateUserCreated) IsCode ¶ added in v1.30.0
func (o *CreateUserCreated) IsCode(code int) bool
IsCode returns true when this create user created response a status code equal to that given
func (*CreateUserCreated) IsRedirect ¶ added in v1.30.0
func (o *CreateUserCreated) IsRedirect() bool
IsRedirect returns true when this create user created response has a 3xx status code
func (*CreateUserCreated) IsServerError ¶ added in v1.30.0
func (o *CreateUserCreated) IsServerError() bool
IsServerError returns true when this create user created response has a 5xx status code
func (*CreateUserCreated) IsSuccess ¶ added in v1.30.0
func (o *CreateUserCreated) IsSuccess() bool
IsSuccess returns true when this create user created response has a 2xx status code
func (*CreateUserCreated) String ¶ added in v1.30.0
func (o *CreateUserCreated) String() string
type CreateUserForbidden ¶ added in v1.30.0
type CreateUserForbidden struct {
Payload *models.ErrorResponse
}
CreateUserForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateUserForbidden ¶ added in v1.30.0
func NewCreateUserForbidden() *CreateUserForbidden
NewCreateUserForbidden creates a CreateUserForbidden with default headers values
func (*CreateUserForbidden) Code ¶ added in v1.30.0
func (o *CreateUserForbidden) Code() int
Code gets the status code for the create user forbidden response
func (*CreateUserForbidden) Error ¶ added in v1.30.0
func (o *CreateUserForbidden) Error() string
func (*CreateUserForbidden) GetPayload ¶ added in v1.30.0
func (o *CreateUserForbidden) GetPayload() *models.ErrorResponse
func (*CreateUserForbidden) IsClientError ¶ added in v1.30.0
func (o *CreateUserForbidden) IsClientError() bool
IsClientError returns true when this create user forbidden response has a 4xx status code
func (*CreateUserForbidden) IsCode ¶ added in v1.30.0
func (o *CreateUserForbidden) IsCode(code int) bool
IsCode returns true when this create user forbidden response a status code equal to that given
func (*CreateUserForbidden) IsRedirect ¶ added in v1.30.0
func (o *CreateUserForbidden) IsRedirect() bool
IsRedirect returns true when this create user forbidden response has a 3xx status code
func (*CreateUserForbidden) IsServerError ¶ added in v1.30.0
func (o *CreateUserForbidden) IsServerError() bool
IsServerError returns true when this create user forbidden response has a 5xx status code
func (*CreateUserForbidden) IsSuccess ¶ added in v1.30.0
func (o *CreateUserForbidden) IsSuccess() bool
IsSuccess returns true when this create user forbidden response has a 2xx status code
func (*CreateUserForbidden) String ¶ added in v1.30.0
func (o *CreateUserForbidden) String() string
type CreateUserInternalServerError ¶ added in v1.30.0
type CreateUserInternalServerError struct {
Payload *models.ErrorResponse
}
CreateUserInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewCreateUserInternalServerError ¶ added in v1.30.0
func NewCreateUserInternalServerError() *CreateUserInternalServerError
NewCreateUserInternalServerError creates a CreateUserInternalServerError with default headers values
func (*CreateUserInternalServerError) Code ¶ added in v1.30.0
func (o *CreateUserInternalServerError) Code() int
Code gets the status code for the create user internal server error response
func (*CreateUserInternalServerError) Error ¶ added in v1.30.0
func (o *CreateUserInternalServerError) Error() string
func (*CreateUserInternalServerError) GetPayload ¶ added in v1.30.0
func (o *CreateUserInternalServerError) GetPayload() *models.ErrorResponse
func (*CreateUserInternalServerError) IsClientError ¶ added in v1.30.0
func (o *CreateUserInternalServerError) IsClientError() bool
IsClientError returns true when this create user internal server error response has a 4xx status code
func (*CreateUserInternalServerError) IsCode ¶ added in v1.30.0
func (o *CreateUserInternalServerError) IsCode(code int) bool
IsCode returns true when this create user internal server error response a status code equal to that given
func (*CreateUserInternalServerError) IsRedirect ¶ added in v1.30.0
func (o *CreateUserInternalServerError) IsRedirect() bool
IsRedirect returns true when this create user internal server error response has a 3xx status code
func (*CreateUserInternalServerError) IsServerError ¶ added in v1.30.0
func (o *CreateUserInternalServerError) IsServerError() bool
IsServerError returns true when this create user internal server error response has a 5xx status code
func (*CreateUserInternalServerError) IsSuccess ¶ added in v1.30.0
func (o *CreateUserInternalServerError) IsSuccess() bool
IsSuccess returns true when this create user internal server error response has a 2xx status code
func (*CreateUserInternalServerError) String ¶ added in v1.30.0
func (o *CreateUserInternalServerError) String() string
type CreateUserParams ¶ added in v1.30.0
type CreateUserParams struct {
/* UserID.
user id
*/
UserID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateUserParams contains all the parameters to send to the API endpoint
for the create user operation. Typically these are written to a http.Request.
func NewCreateUserParams ¶ added in v1.30.0
func NewCreateUserParams() *CreateUserParams
NewCreateUserParams creates a new CreateUserParams 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 NewCreateUserParamsWithContext ¶ added in v1.30.0
func NewCreateUserParamsWithContext(ctx context.Context) *CreateUserParams
NewCreateUserParamsWithContext creates a new CreateUserParams object with the ability to set a context for a request.
func NewCreateUserParamsWithHTTPClient ¶ added in v1.30.0
func NewCreateUserParamsWithHTTPClient(client *http.Client) *CreateUserParams
NewCreateUserParamsWithHTTPClient creates a new CreateUserParams object with the ability to set a custom HTTPClient for a request.
func NewCreateUserParamsWithTimeout ¶ added in v1.30.0
func NewCreateUserParamsWithTimeout(timeout time.Duration) *CreateUserParams
NewCreateUserParamsWithTimeout creates a new CreateUserParams object with the ability to set a timeout on a request.
func (*CreateUserParams) SetContext ¶ added in v1.30.0
func (o *CreateUserParams) SetContext(ctx context.Context)
SetContext adds the context to the create user params
func (*CreateUserParams) SetDefaults ¶ added in v1.30.0
func (o *CreateUserParams) SetDefaults()
SetDefaults hydrates default values in the create user params (not the query body).
All values with no default are reset to their zero value.
func (*CreateUserParams) SetHTTPClient ¶ added in v1.30.0
func (o *CreateUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create user params
func (*CreateUserParams) SetTimeout ¶ added in v1.30.0
func (o *CreateUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create user params
func (*CreateUserParams) SetUserID ¶ added in v1.30.0
func (o *CreateUserParams) SetUserID(userID string)
SetUserID adds the userId to the create user params
func (*CreateUserParams) WithContext ¶ added in v1.30.0
func (o *CreateUserParams) WithContext(ctx context.Context) *CreateUserParams
WithContext adds the context to the create user params
func (*CreateUserParams) WithDefaults ¶ added in v1.30.0
func (o *CreateUserParams) WithDefaults() *CreateUserParams
WithDefaults hydrates default values in the create user params (not the query body).
All values with no default are reset to their zero value.
func (*CreateUserParams) WithHTTPClient ¶ added in v1.30.0
func (o *CreateUserParams) WithHTTPClient(client *http.Client) *CreateUserParams
WithHTTPClient adds the HTTPClient to the create user params
func (*CreateUserParams) WithTimeout ¶ added in v1.30.0
func (o *CreateUserParams) WithTimeout(timeout time.Duration) *CreateUserParams
WithTimeout adds the timeout to the create user params
func (*CreateUserParams) WithUserID ¶ added in v1.30.0
func (o *CreateUserParams) WithUserID(userID string) *CreateUserParams
WithUserID adds the userID to the create user params
func (*CreateUserParams) WriteToRequest ¶ added in v1.30.0
func (o *CreateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateUserReader ¶ added in v1.30.0
type CreateUserReader struct {
// contains filtered or unexported fields
}
CreateUserReader is a Reader for the CreateUser structure.
func (*CreateUserReader) ReadResponse ¶ added in v1.30.0
func (o *CreateUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateUserUnauthorized ¶ added in v1.30.0
type CreateUserUnauthorized struct {
}
CreateUserUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewCreateUserUnauthorized ¶ added in v1.30.0
func NewCreateUserUnauthorized() *CreateUserUnauthorized
NewCreateUserUnauthorized creates a CreateUserUnauthorized with default headers values
func (*CreateUserUnauthorized) Code ¶ added in v1.30.0
func (o *CreateUserUnauthorized) Code() int
Code gets the status code for the create user unauthorized response
func (*CreateUserUnauthorized) Error ¶ added in v1.30.0
func (o *CreateUserUnauthorized) Error() string
func (*CreateUserUnauthorized) IsClientError ¶ added in v1.30.0
func (o *CreateUserUnauthorized) IsClientError() bool
IsClientError returns true when this create user unauthorized response has a 4xx status code
func (*CreateUserUnauthorized) IsCode ¶ added in v1.30.0
func (o *CreateUserUnauthorized) IsCode(code int) bool
IsCode returns true when this create user unauthorized response a status code equal to that given
func (*CreateUserUnauthorized) IsRedirect ¶ added in v1.30.0
func (o *CreateUserUnauthorized) IsRedirect() bool
IsRedirect returns true when this create user unauthorized response has a 3xx status code
func (*CreateUserUnauthorized) IsServerError ¶ added in v1.30.0
func (o *CreateUserUnauthorized) IsServerError() bool
IsServerError returns true when this create user unauthorized response has a 5xx status code
func (*CreateUserUnauthorized) IsSuccess ¶ added in v1.30.0
func (o *CreateUserUnauthorized) IsSuccess() bool
IsSuccess returns true when this create user unauthorized response has a 2xx status code
func (*CreateUserUnauthorized) String ¶ added in v1.30.0
func (o *CreateUserUnauthorized) String() string
type CreateUserUnprocessableEntity ¶ added in v1.30.0
type CreateUserUnprocessableEntity struct {
Payload *models.ErrorResponse
}
CreateUserUnprocessableEntity describes a response with status code 422, with default header values.
Request body is well-formed (i.e., syntactically correct), but semantically erroneous.
func NewCreateUserUnprocessableEntity ¶ added in v1.30.0
func NewCreateUserUnprocessableEntity() *CreateUserUnprocessableEntity
NewCreateUserUnprocessableEntity creates a CreateUserUnprocessableEntity with default headers values
func (*CreateUserUnprocessableEntity) Code ¶ added in v1.30.0
func (o *CreateUserUnprocessableEntity) Code() int
Code gets the status code for the create user unprocessable entity response
func (*CreateUserUnprocessableEntity) Error ¶ added in v1.30.0
func (o *CreateUserUnprocessableEntity) Error() string
func (*CreateUserUnprocessableEntity) GetPayload ¶ added in v1.30.0
func (o *CreateUserUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*CreateUserUnprocessableEntity) IsClientError ¶ added in v1.30.0
func (o *CreateUserUnprocessableEntity) IsClientError() bool
IsClientError returns true when this create user unprocessable entity response has a 4xx status code
func (*CreateUserUnprocessableEntity) IsCode ¶ added in v1.30.0
func (o *CreateUserUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create user unprocessable entity response a status code equal to that given
func (*CreateUserUnprocessableEntity) IsRedirect ¶ added in v1.30.0
func (o *CreateUserUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this create user unprocessable entity response has a 3xx status code
func (*CreateUserUnprocessableEntity) IsServerError ¶ added in v1.30.0
func (o *CreateUserUnprocessableEntity) IsServerError() bool
IsServerError returns true when this create user unprocessable entity response has a 5xx status code
func (*CreateUserUnprocessableEntity) IsSuccess ¶ added in v1.30.0
func (o *CreateUserUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create user unprocessable entity response has a 2xx status code
func (*CreateUserUnprocessableEntity) String ¶ added in v1.30.0
func (o *CreateUserUnprocessableEntity) String() string
type DeactivateUserBadRequest ¶ added in v1.30.0
type DeactivateUserBadRequest struct {
Payload *models.ErrorResponse
}
DeactivateUserBadRequest describes a response with status code 400, with default header values.
Malformed request.
func NewDeactivateUserBadRequest ¶ added in v1.30.0
func NewDeactivateUserBadRequest() *DeactivateUserBadRequest
NewDeactivateUserBadRequest creates a DeactivateUserBadRequest with default headers values
func (*DeactivateUserBadRequest) Code ¶ added in v1.30.0
func (o *DeactivateUserBadRequest) Code() int
Code gets the status code for the deactivate user bad request response
func (*DeactivateUserBadRequest) Error ¶ added in v1.30.0
func (o *DeactivateUserBadRequest) Error() string
func (*DeactivateUserBadRequest) GetPayload ¶ added in v1.30.0
func (o *DeactivateUserBadRequest) GetPayload() *models.ErrorResponse
func (*DeactivateUserBadRequest) IsClientError ¶ added in v1.30.0
func (o *DeactivateUserBadRequest) IsClientError() bool
IsClientError returns true when this deactivate user bad request response has a 4xx status code
func (*DeactivateUserBadRequest) IsCode ¶ added in v1.30.0
func (o *DeactivateUserBadRequest) IsCode(code int) bool
IsCode returns true when this deactivate user bad request response a status code equal to that given
func (*DeactivateUserBadRequest) IsRedirect ¶ added in v1.30.0
func (o *DeactivateUserBadRequest) IsRedirect() bool
IsRedirect returns true when this deactivate user bad request response has a 3xx status code
func (*DeactivateUserBadRequest) IsServerError ¶ added in v1.30.0
func (o *DeactivateUserBadRequest) IsServerError() bool
IsServerError returns true when this deactivate user bad request response has a 5xx status code
func (*DeactivateUserBadRequest) IsSuccess ¶ added in v1.30.0
func (o *DeactivateUserBadRequest) IsSuccess() bool
IsSuccess returns true when this deactivate user bad request response has a 2xx status code
func (*DeactivateUserBadRequest) String ¶ added in v1.30.0
func (o *DeactivateUserBadRequest) String() string
type DeactivateUserBody ¶ added in v1.30.0
type DeactivateUserBody struct {
// if the key should be revoked when deactivating the user
RevokeKey *bool `json:"revoke_key,omitempty"`
}
DeactivateUserBody deactivate user body swagger:model DeactivateUserBody
func (*DeactivateUserBody) ContextValidate ¶ added in v1.30.0
ContextValidate validates this deactivate user body based on context it is used
func (*DeactivateUserBody) MarshalBinary ¶ added in v1.30.0
func (o *DeactivateUserBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeactivateUserBody) UnmarshalBinary ¶ added in v1.30.0
func (o *DeactivateUserBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeactivateUserConflict ¶ added in v1.30.0
type DeactivateUserConflict struct {
}
DeactivateUserConflict describes a response with status code 409, with default header values.
user already deactivated
func NewDeactivateUserConflict ¶ added in v1.30.0
func NewDeactivateUserConflict() *DeactivateUserConflict
NewDeactivateUserConflict creates a DeactivateUserConflict with default headers values
func (*DeactivateUserConflict) Code ¶ added in v1.30.0
func (o *DeactivateUserConflict) Code() int
Code gets the status code for the deactivate user conflict response
func (*DeactivateUserConflict) Error ¶ added in v1.30.0
func (o *DeactivateUserConflict) Error() string
func (*DeactivateUserConflict) IsClientError ¶ added in v1.30.0
func (o *DeactivateUserConflict) IsClientError() bool
IsClientError returns true when this deactivate user conflict response has a 4xx status code
func (*DeactivateUserConflict) IsCode ¶ added in v1.30.0
func (o *DeactivateUserConflict) IsCode(code int) bool
IsCode returns true when this deactivate user conflict response a status code equal to that given
func (*DeactivateUserConflict) IsRedirect ¶ added in v1.30.0
func (o *DeactivateUserConflict) IsRedirect() bool
IsRedirect returns true when this deactivate user conflict response has a 3xx status code
func (*DeactivateUserConflict) IsServerError ¶ added in v1.30.0
func (o *DeactivateUserConflict) IsServerError() bool
IsServerError returns true when this deactivate user conflict response has a 5xx status code
func (*DeactivateUserConflict) IsSuccess ¶ added in v1.30.0
func (o *DeactivateUserConflict) IsSuccess() bool
IsSuccess returns true when this deactivate user conflict response has a 2xx status code
func (*DeactivateUserConflict) String ¶ added in v1.30.0
func (o *DeactivateUserConflict) String() string
type DeactivateUserForbidden ¶ added in v1.30.0
type DeactivateUserForbidden struct {
Payload *models.ErrorResponse
}
DeactivateUserForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeactivateUserForbidden ¶ added in v1.30.0
func NewDeactivateUserForbidden() *DeactivateUserForbidden
NewDeactivateUserForbidden creates a DeactivateUserForbidden with default headers values
func (*DeactivateUserForbidden) Code ¶ added in v1.30.0
func (o *DeactivateUserForbidden) Code() int
Code gets the status code for the deactivate user forbidden response
func (*DeactivateUserForbidden) Error ¶ added in v1.30.0
func (o *DeactivateUserForbidden) Error() string
func (*DeactivateUserForbidden) GetPayload ¶ added in v1.30.0
func (o *DeactivateUserForbidden) GetPayload() *models.ErrorResponse
func (*DeactivateUserForbidden) IsClientError ¶ added in v1.30.0
func (o *DeactivateUserForbidden) IsClientError() bool
IsClientError returns true when this deactivate user forbidden response has a 4xx status code
func (*DeactivateUserForbidden) IsCode ¶ added in v1.30.0
func (o *DeactivateUserForbidden) IsCode(code int) bool
IsCode returns true when this deactivate user forbidden response a status code equal to that given
func (*DeactivateUserForbidden) IsRedirect ¶ added in v1.30.0
func (o *DeactivateUserForbidden) IsRedirect() bool
IsRedirect returns true when this deactivate user forbidden response has a 3xx status code
func (*DeactivateUserForbidden) IsServerError ¶ added in v1.30.0
func (o *DeactivateUserForbidden) IsServerError() bool
IsServerError returns true when this deactivate user forbidden response has a 5xx status code
func (*DeactivateUserForbidden) IsSuccess ¶ added in v1.30.0
func (o *DeactivateUserForbidden) IsSuccess() bool
IsSuccess returns true when this deactivate user forbidden response has a 2xx status code
func (*DeactivateUserForbidden) String ¶ added in v1.30.0
func (o *DeactivateUserForbidden) String() string
type DeactivateUserInternalServerError ¶ added in v1.30.0
type DeactivateUserInternalServerError struct {
Payload *models.ErrorResponse
}
DeactivateUserInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewDeactivateUserInternalServerError ¶ added in v1.30.0
func NewDeactivateUserInternalServerError() *DeactivateUserInternalServerError
NewDeactivateUserInternalServerError creates a DeactivateUserInternalServerError with default headers values
func (*DeactivateUserInternalServerError) Code ¶ added in v1.30.0
func (o *DeactivateUserInternalServerError) Code() int
Code gets the status code for the deactivate user internal server error response
func (*DeactivateUserInternalServerError) Error ¶ added in v1.30.0
func (o *DeactivateUserInternalServerError) Error() string
func (*DeactivateUserInternalServerError) GetPayload ¶ added in v1.30.0
func (o *DeactivateUserInternalServerError) GetPayload() *models.ErrorResponse
func (*DeactivateUserInternalServerError) IsClientError ¶ added in v1.30.0
func (o *DeactivateUserInternalServerError) IsClientError() bool
IsClientError returns true when this deactivate user internal server error response has a 4xx status code
func (*DeactivateUserInternalServerError) IsCode ¶ added in v1.30.0
func (o *DeactivateUserInternalServerError) IsCode(code int) bool
IsCode returns true when this deactivate user internal server error response a status code equal to that given
func (*DeactivateUserInternalServerError) IsRedirect ¶ added in v1.30.0
func (o *DeactivateUserInternalServerError) IsRedirect() bool
IsRedirect returns true when this deactivate user internal server error response has a 3xx status code
func (*DeactivateUserInternalServerError) IsServerError ¶ added in v1.30.0
func (o *DeactivateUserInternalServerError) IsServerError() bool
IsServerError returns true when this deactivate user internal server error response has a 5xx status code
func (*DeactivateUserInternalServerError) IsSuccess ¶ added in v1.30.0
func (o *DeactivateUserInternalServerError) IsSuccess() bool
IsSuccess returns true when this deactivate user internal server error response has a 2xx status code
func (*DeactivateUserInternalServerError) String ¶ added in v1.30.0
func (o *DeactivateUserInternalServerError) String() string
type DeactivateUserNotFound ¶ added in v1.30.0
type DeactivateUserNotFound struct {
}
DeactivateUserNotFound describes a response with status code 404, with default header values.
user not found
func NewDeactivateUserNotFound ¶ added in v1.30.0
func NewDeactivateUserNotFound() *DeactivateUserNotFound
NewDeactivateUserNotFound creates a DeactivateUserNotFound with default headers values
func (*DeactivateUserNotFound) Code ¶ added in v1.30.0
func (o *DeactivateUserNotFound) Code() int
Code gets the status code for the deactivate user not found response
func (*DeactivateUserNotFound) Error ¶ added in v1.30.0
func (o *DeactivateUserNotFound) Error() string
func (*DeactivateUserNotFound) IsClientError ¶ added in v1.30.0
func (o *DeactivateUserNotFound) IsClientError() bool
IsClientError returns true when this deactivate user not found response has a 4xx status code
func (*DeactivateUserNotFound) IsCode ¶ added in v1.30.0
func (o *DeactivateUserNotFound) IsCode(code int) bool
IsCode returns true when this deactivate user not found response a status code equal to that given
func (*DeactivateUserNotFound) IsRedirect ¶ added in v1.30.0
func (o *DeactivateUserNotFound) IsRedirect() bool
IsRedirect returns true when this deactivate user not found response has a 3xx status code
func (*DeactivateUserNotFound) IsServerError ¶ added in v1.30.0
func (o *DeactivateUserNotFound) IsServerError() bool
IsServerError returns true when this deactivate user not found response has a 5xx status code
func (*DeactivateUserNotFound) IsSuccess ¶ added in v1.30.0
func (o *DeactivateUserNotFound) IsSuccess() bool
IsSuccess returns true when this deactivate user not found response has a 2xx status code
func (*DeactivateUserNotFound) String ¶ added in v1.30.0
func (o *DeactivateUserNotFound) String() string
type DeactivateUserOK ¶ added in v1.30.0
type DeactivateUserOK struct {
}
DeactivateUserOK describes a response with status code 200, with default header values.
users successfully deactivated
func NewDeactivateUserOK ¶ added in v1.30.0
func NewDeactivateUserOK() *DeactivateUserOK
NewDeactivateUserOK creates a DeactivateUserOK with default headers values
func (*DeactivateUserOK) Code ¶ added in v1.30.0
func (o *DeactivateUserOK) Code() int
Code gets the status code for the deactivate user o k response
func (*DeactivateUserOK) Error ¶ added in v1.30.0
func (o *DeactivateUserOK) Error() string
func (*DeactivateUserOK) IsClientError ¶ added in v1.30.0
func (o *DeactivateUserOK) IsClientError() bool
IsClientError returns true when this deactivate user o k response has a 4xx status code
func (*DeactivateUserOK) IsCode ¶ added in v1.30.0
func (o *DeactivateUserOK) IsCode(code int) bool
IsCode returns true when this deactivate user o k response a status code equal to that given
func (*DeactivateUserOK) IsRedirect ¶ added in v1.30.0
func (o *DeactivateUserOK) IsRedirect() bool
IsRedirect returns true when this deactivate user o k response has a 3xx status code
func (*DeactivateUserOK) IsServerError ¶ added in v1.30.0
func (o *DeactivateUserOK) IsServerError() bool
IsServerError returns true when this deactivate user o k response has a 5xx status code
func (*DeactivateUserOK) IsSuccess ¶ added in v1.30.0
func (o *DeactivateUserOK) IsSuccess() bool
IsSuccess returns true when this deactivate user o k response has a 2xx status code
func (*DeactivateUserOK) String ¶ added in v1.30.0
func (o *DeactivateUserOK) String() string
type DeactivateUserParams ¶ added in v1.30.0
type DeactivateUserParams struct {
// Body.
Body DeactivateUserBody
/* UserID.
user id
*/
UserID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeactivateUserParams contains all the parameters to send to the API endpoint
for the deactivate user operation. Typically these are written to a http.Request.
func NewDeactivateUserParams ¶ added in v1.30.0
func NewDeactivateUserParams() *DeactivateUserParams
NewDeactivateUserParams creates a new DeactivateUserParams 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 NewDeactivateUserParamsWithContext ¶ added in v1.30.0
func NewDeactivateUserParamsWithContext(ctx context.Context) *DeactivateUserParams
NewDeactivateUserParamsWithContext creates a new DeactivateUserParams object with the ability to set a context for a request.
func NewDeactivateUserParamsWithHTTPClient ¶ added in v1.30.0
func NewDeactivateUserParamsWithHTTPClient(client *http.Client) *DeactivateUserParams
NewDeactivateUserParamsWithHTTPClient creates a new DeactivateUserParams object with the ability to set a custom HTTPClient for a request.
func NewDeactivateUserParamsWithTimeout ¶ added in v1.30.0
func NewDeactivateUserParamsWithTimeout(timeout time.Duration) *DeactivateUserParams
NewDeactivateUserParamsWithTimeout creates a new DeactivateUserParams object with the ability to set a timeout on a request.
func (*DeactivateUserParams) SetBody ¶ added in v1.30.0
func (o *DeactivateUserParams) SetBody(body DeactivateUserBody)
SetBody adds the body to the deactivate user params
func (*DeactivateUserParams) SetContext ¶ added in v1.30.0
func (o *DeactivateUserParams) SetContext(ctx context.Context)
SetContext adds the context to the deactivate user params
func (*DeactivateUserParams) SetDefaults ¶ added in v1.30.0
func (o *DeactivateUserParams) SetDefaults()
SetDefaults hydrates default values in the deactivate user params (not the query body).
All values with no default are reset to their zero value.
func (*DeactivateUserParams) SetHTTPClient ¶ added in v1.30.0
func (o *DeactivateUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the deactivate user params
func (*DeactivateUserParams) SetTimeout ¶ added in v1.30.0
func (o *DeactivateUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the deactivate user params
func (*DeactivateUserParams) SetUserID ¶ added in v1.30.0
func (o *DeactivateUserParams) SetUserID(userID string)
SetUserID adds the userId to the deactivate user params
func (*DeactivateUserParams) WithBody ¶ added in v1.30.0
func (o *DeactivateUserParams) WithBody(body DeactivateUserBody) *DeactivateUserParams
WithBody adds the body to the deactivate user params
func (*DeactivateUserParams) WithContext ¶ added in v1.30.0
func (o *DeactivateUserParams) WithContext(ctx context.Context) *DeactivateUserParams
WithContext adds the context to the deactivate user params
func (*DeactivateUserParams) WithDefaults ¶ added in v1.30.0
func (o *DeactivateUserParams) WithDefaults() *DeactivateUserParams
WithDefaults hydrates default values in the deactivate user params (not the query body).
All values with no default are reset to their zero value.
func (*DeactivateUserParams) WithHTTPClient ¶ added in v1.30.0
func (o *DeactivateUserParams) WithHTTPClient(client *http.Client) *DeactivateUserParams
WithHTTPClient adds the HTTPClient to the deactivate user params
func (*DeactivateUserParams) WithTimeout ¶ added in v1.30.0
func (o *DeactivateUserParams) WithTimeout(timeout time.Duration) *DeactivateUserParams
WithTimeout adds the timeout to the deactivate user params
func (*DeactivateUserParams) WithUserID ¶ added in v1.30.0
func (o *DeactivateUserParams) WithUserID(userID string) *DeactivateUserParams
WithUserID adds the userID to the deactivate user params
func (*DeactivateUserParams) WriteToRequest ¶ added in v1.30.0
func (o *DeactivateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeactivateUserReader ¶ added in v1.30.0
type DeactivateUserReader struct {
// contains filtered or unexported fields
}
DeactivateUserReader is a Reader for the DeactivateUser structure.
func (*DeactivateUserReader) ReadResponse ¶ added in v1.30.0
func (o *DeactivateUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeactivateUserUnauthorized ¶ added in v1.30.0
type DeactivateUserUnauthorized struct {
}
DeactivateUserUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewDeactivateUserUnauthorized ¶ added in v1.30.0
func NewDeactivateUserUnauthorized() *DeactivateUserUnauthorized
NewDeactivateUserUnauthorized creates a DeactivateUserUnauthorized with default headers values
func (*DeactivateUserUnauthorized) Code ¶ added in v1.30.0
func (o *DeactivateUserUnauthorized) Code() int
Code gets the status code for the deactivate user unauthorized response
func (*DeactivateUserUnauthorized) Error ¶ added in v1.30.0
func (o *DeactivateUserUnauthorized) Error() string
func (*DeactivateUserUnauthorized) IsClientError ¶ added in v1.30.0
func (o *DeactivateUserUnauthorized) IsClientError() bool
IsClientError returns true when this deactivate user unauthorized response has a 4xx status code
func (*DeactivateUserUnauthorized) IsCode ¶ added in v1.30.0
func (o *DeactivateUserUnauthorized) IsCode(code int) bool
IsCode returns true when this deactivate user unauthorized response a status code equal to that given
func (*DeactivateUserUnauthorized) IsRedirect ¶ added in v1.30.0
func (o *DeactivateUserUnauthorized) IsRedirect() bool
IsRedirect returns true when this deactivate user unauthorized response has a 3xx status code
func (*DeactivateUserUnauthorized) IsServerError ¶ added in v1.30.0
func (o *DeactivateUserUnauthorized) IsServerError() bool
IsServerError returns true when this deactivate user unauthorized response has a 5xx status code
func (*DeactivateUserUnauthorized) IsSuccess ¶ added in v1.30.0
func (o *DeactivateUserUnauthorized) IsSuccess() bool
IsSuccess returns true when this deactivate user unauthorized response has a 2xx status code
func (*DeactivateUserUnauthorized) String ¶ added in v1.30.0
func (o *DeactivateUserUnauthorized) String() string
type DeactivateUserUnprocessableEntity ¶ added in v1.30.0
type DeactivateUserUnprocessableEntity struct {
Payload *models.ErrorResponse
}
DeactivateUserUnprocessableEntity describes a response with status code 422, with default header values.
Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?
func NewDeactivateUserUnprocessableEntity ¶ added in v1.30.0
func NewDeactivateUserUnprocessableEntity() *DeactivateUserUnprocessableEntity
NewDeactivateUserUnprocessableEntity creates a DeactivateUserUnprocessableEntity with default headers values
func (*DeactivateUserUnprocessableEntity) Code ¶ added in v1.30.0
func (o *DeactivateUserUnprocessableEntity) Code() int
Code gets the status code for the deactivate user unprocessable entity response
func (*DeactivateUserUnprocessableEntity) Error ¶ added in v1.30.0
func (o *DeactivateUserUnprocessableEntity) Error() string
func (*DeactivateUserUnprocessableEntity) GetPayload ¶ added in v1.30.0
func (o *DeactivateUserUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*DeactivateUserUnprocessableEntity) IsClientError ¶ added in v1.30.0
func (o *DeactivateUserUnprocessableEntity) IsClientError() bool
IsClientError returns true when this deactivate user unprocessable entity response has a 4xx status code
func (*DeactivateUserUnprocessableEntity) IsCode ¶ added in v1.30.0
func (o *DeactivateUserUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this deactivate user unprocessable entity response a status code equal to that given
func (*DeactivateUserUnprocessableEntity) IsRedirect ¶ added in v1.30.0
func (o *DeactivateUserUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this deactivate user unprocessable entity response has a 3xx status code
func (*DeactivateUserUnprocessableEntity) IsServerError ¶ added in v1.30.0
func (o *DeactivateUserUnprocessableEntity) IsServerError() bool
IsServerError returns true when this deactivate user unprocessable entity response has a 5xx status code
func (*DeactivateUserUnprocessableEntity) IsSuccess ¶ added in v1.30.0
func (o *DeactivateUserUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this deactivate user unprocessable entity response has a 2xx status code
func (*DeactivateUserUnprocessableEntity) String ¶ added in v1.30.0
func (o *DeactivateUserUnprocessableEntity) String() string
type DeleteUserBadRequest ¶ added in v1.30.0
type DeleteUserBadRequest struct {
Payload *models.ErrorResponse
}
DeleteUserBadRequest describes a response with status code 400, with default header values.
Malformed request.
func NewDeleteUserBadRequest ¶ added in v1.30.0
func NewDeleteUserBadRequest() *DeleteUserBadRequest
NewDeleteUserBadRequest creates a DeleteUserBadRequest with default headers values
func (*DeleteUserBadRequest) Code ¶ added in v1.30.0
func (o *DeleteUserBadRequest) Code() int
Code gets the status code for the delete user bad request response
func (*DeleteUserBadRequest) Error ¶ added in v1.30.0
func (o *DeleteUserBadRequest) Error() string
func (*DeleteUserBadRequest) GetPayload ¶ added in v1.30.0
func (o *DeleteUserBadRequest) GetPayload() *models.ErrorResponse
func (*DeleteUserBadRequest) IsClientError ¶ added in v1.30.0
func (o *DeleteUserBadRequest) IsClientError() bool
IsClientError returns true when this delete user bad request response has a 4xx status code
func (*DeleteUserBadRequest) IsCode ¶ added in v1.30.0
func (o *DeleteUserBadRequest) IsCode(code int) bool
IsCode returns true when this delete user bad request response a status code equal to that given
func (*DeleteUserBadRequest) IsRedirect ¶ added in v1.30.0
func (o *DeleteUserBadRequest) IsRedirect() bool
IsRedirect returns true when this delete user bad request response has a 3xx status code
func (*DeleteUserBadRequest) IsServerError ¶ added in v1.30.0
func (o *DeleteUserBadRequest) IsServerError() bool
IsServerError returns true when this delete user bad request response has a 5xx status code
func (*DeleteUserBadRequest) IsSuccess ¶ added in v1.30.0
func (o *DeleteUserBadRequest) IsSuccess() bool
IsSuccess returns true when this delete user bad request response has a 2xx status code
func (*DeleteUserBadRequest) String ¶ added in v1.30.0
func (o *DeleteUserBadRequest) String() string
type DeleteUserForbidden ¶ added in v1.30.0
type DeleteUserForbidden struct {
Payload *models.ErrorResponse
}
DeleteUserForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteUserForbidden ¶ added in v1.30.0
func NewDeleteUserForbidden() *DeleteUserForbidden
NewDeleteUserForbidden creates a DeleteUserForbidden with default headers values
func (*DeleteUserForbidden) Code ¶ added in v1.30.0
func (o *DeleteUserForbidden) Code() int
Code gets the status code for the delete user forbidden response
func (*DeleteUserForbidden) Error ¶ added in v1.30.0
func (o *DeleteUserForbidden) Error() string
func (*DeleteUserForbidden) GetPayload ¶ added in v1.30.0
func (o *DeleteUserForbidden) GetPayload() *models.ErrorResponse
func (*DeleteUserForbidden) IsClientError ¶ added in v1.30.0
func (o *DeleteUserForbidden) IsClientError() bool
IsClientError returns true when this delete user forbidden response has a 4xx status code
func (*DeleteUserForbidden) IsCode ¶ added in v1.30.0
func (o *DeleteUserForbidden) IsCode(code int) bool
IsCode returns true when this delete user forbidden response a status code equal to that given
func (*DeleteUserForbidden) IsRedirect ¶ added in v1.30.0
func (o *DeleteUserForbidden) IsRedirect() bool
IsRedirect returns true when this delete user forbidden response has a 3xx status code
func (*DeleteUserForbidden) IsServerError ¶ added in v1.30.0
func (o *DeleteUserForbidden) IsServerError() bool
IsServerError returns true when this delete user forbidden response has a 5xx status code
func (*DeleteUserForbidden) IsSuccess ¶ added in v1.30.0
func (o *DeleteUserForbidden) IsSuccess() bool
IsSuccess returns true when this delete user forbidden response has a 2xx status code
func (*DeleteUserForbidden) String ¶ added in v1.30.0
func (o *DeleteUserForbidden) String() string
type DeleteUserInternalServerError ¶ added in v1.30.0
type DeleteUserInternalServerError struct {
Payload *models.ErrorResponse
}
DeleteUserInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewDeleteUserInternalServerError ¶ added in v1.30.0
func NewDeleteUserInternalServerError() *DeleteUserInternalServerError
NewDeleteUserInternalServerError creates a DeleteUserInternalServerError with default headers values
func (*DeleteUserInternalServerError) Code ¶ added in v1.30.0
func (o *DeleteUserInternalServerError) Code() int
Code gets the status code for the delete user internal server error response
func (*DeleteUserInternalServerError) Error ¶ added in v1.30.0
func (o *DeleteUserInternalServerError) Error() string
func (*DeleteUserInternalServerError) GetPayload ¶ added in v1.30.0
func (o *DeleteUserInternalServerError) GetPayload() *models.ErrorResponse
func (*DeleteUserInternalServerError) IsClientError ¶ added in v1.30.0
func (o *DeleteUserInternalServerError) IsClientError() bool
IsClientError returns true when this delete user internal server error response has a 4xx status code
func (*DeleteUserInternalServerError) IsCode ¶ added in v1.30.0
func (o *DeleteUserInternalServerError) IsCode(code int) bool
IsCode returns true when this delete user internal server error response a status code equal to that given
func (*DeleteUserInternalServerError) IsRedirect ¶ added in v1.30.0
func (o *DeleteUserInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete user internal server error response has a 3xx status code
func (*DeleteUserInternalServerError) IsServerError ¶ added in v1.30.0
func (o *DeleteUserInternalServerError) IsServerError() bool
IsServerError returns true when this delete user internal server error response has a 5xx status code
func (*DeleteUserInternalServerError) IsSuccess ¶ added in v1.30.0
func (o *DeleteUserInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete user internal server error response has a 2xx status code
func (*DeleteUserInternalServerError) String ¶ added in v1.30.0
func (o *DeleteUserInternalServerError) String() string
type DeleteUserNoContent ¶ added in v1.30.0
type DeleteUserNoContent struct {
}
DeleteUserNoContent describes a response with status code 204, with default header values.
Successfully deleted.
func NewDeleteUserNoContent ¶ added in v1.30.0
func NewDeleteUserNoContent() *DeleteUserNoContent
NewDeleteUserNoContent creates a DeleteUserNoContent with default headers values
func (*DeleteUserNoContent) Code ¶ added in v1.30.0
func (o *DeleteUserNoContent) Code() int
Code gets the status code for the delete user no content response
func (*DeleteUserNoContent) Error ¶ added in v1.30.0
func (o *DeleteUserNoContent) Error() string
func (*DeleteUserNoContent) IsClientError ¶ added in v1.30.0
func (o *DeleteUserNoContent) IsClientError() bool
IsClientError returns true when this delete user no content response has a 4xx status code
func (*DeleteUserNoContent) IsCode ¶ added in v1.30.0
func (o *DeleteUserNoContent) IsCode(code int) bool
IsCode returns true when this delete user no content response a status code equal to that given
func (*DeleteUserNoContent) IsRedirect ¶ added in v1.30.0
func (o *DeleteUserNoContent) IsRedirect() bool
IsRedirect returns true when this delete user no content response has a 3xx status code
func (*DeleteUserNoContent) IsServerError ¶ added in v1.30.0
func (o *DeleteUserNoContent) IsServerError() bool
IsServerError returns true when this delete user no content response has a 5xx status code
func (*DeleteUserNoContent) IsSuccess ¶ added in v1.30.0
func (o *DeleteUserNoContent) IsSuccess() bool
IsSuccess returns true when this delete user no content response has a 2xx status code
func (*DeleteUserNoContent) String ¶ added in v1.30.0
func (o *DeleteUserNoContent) String() string
type DeleteUserNotFound ¶ added in v1.30.0
type DeleteUserNotFound struct {
}
DeleteUserNotFound describes a response with status code 404, with default header values.
user not found
func NewDeleteUserNotFound ¶ added in v1.30.0
func NewDeleteUserNotFound() *DeleteUserNotFound
NewDeleteUserNotFound creates a DeleteUserNotFound with default headers values
func (*DeleteUserNotFound) Code ¶ added in v1.30.0
func (o *DeleteUserNotFound) Code() int
Code gets the status code for the delete user not found response
func (*DeleteUserNotFound) Error ¶ added in v1.30.0
func (o *DeleteUserNotFound) Error() string
func (*DeleteUserNotFound) IsClientError ¶ added in v1.30.0
func (o *DeleteUserNotFound) IsClientError() bool
IsClientError returns true when this delete user not found response has a 4xx status code
func (*DeleteUserNotFound) IsCode ¶ added in v1.30.0
func (o *DeleteUserNotFound) IsCode(code int) bool
IsCode returns true when this delete user not found response a status code equal to that given
func (*DeleteUserNotFound) IsRedirect ¶ added in v1.30.0
func (o *DeleteUserNotFound) IsRedirect() bool
IsRedirect returns true when this delete user not found response has a 3xx status code
func (*DeleteUserNotFound) IsServerError ¶ added in v1.30.0
func (o *DeleteUserNotFound) IsServerError() bool
IsServerError returns true when this delete user not found response has a 5xx status code
func (*DeleteUserNotFound) IsSuccess ¶ added in v1.30.0
func (o *DeleteUserNotFound) IsSuccess() bool
IsSuccess returns true when this delete user not found response has a 2xx status code
func (*DeleteUserNotFound) String ¶ added in v1.30.0
func (o *DeleteUserNotFound) String() string
type DeleteUserParams ¶ added in v1.30.0
type DeleteUserParams struct {
/* UserID.
user name
*/
UserID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteUserParams contains all the parameters to send to the API endpoint
for the delete user operation. Typically these are written to a http.Request.
func NewDeleteUserParams ¶ added in v1.30.0
func NewDeleteUserParams() *DeleteUserParams
NewDeleteUserParams creates a new DeleteUserParams 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 NewDeleteUserParamsWithContext ¶ added in v1.30.0
func NewDeleteUserParamsWithContext(ctx context.Context) *DeleteUserParams
NewDeleteUserParamsWithContext creates a new DeleteUserParams object with the ability to set a context for a request.
func NewDeleteUserParamsWithHTTPClient ¶ added in v1.30.0
func NewDeleteUserParamsWithHTTPClient(client *http.Client) *DeleteUserParams
NewDeleteUserParamsWithHTTPClient creates a new DeleteUserParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteUserParamsWithTimeout ¶ added in v1.30.0
func NewDeleteUserParamsWithTimeout(timeout time.Duration) *DeleteUserParams
NewDeleteUserParamsWithTimeout creates a new DeleteUserParams object with the ability to set a timeout on a request.
func (*DeleteUserParams) SetContext ¶ added in v1.30.0
func (o *DeleteUserParams) SetContext(ctx context.Context)
SetContext adds the context to the delete user params
func (*DeleteUserParams) SetDefaults ¶ added in v1.30.0
func (o *DeleteUserParams) SetDefaults()
SetDefaults hydrates default values in the delete user params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteUserParams) SetHTTPClient ¶ added in v1.30.0
func (o *DeleteUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete user params
func (*DeleteUserParams) SetTimeout ¶ added in v1.30.0
func (o *DeleteUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete user params
func (*DeleteUserParams) SetUserID ¶ added in v1.30.0
func (o *DeleteUserParams) SetUserID(userID string)
SetUserID adds the userId to the delete user params
func (*DeleteUserParams) WithContext ¶ added in v1.30.0
func (o *DeleteUserParams) WithContext(ctx context.Context) *DeleteUserParams
WithContext adds the context to the delete user params
func (*DeleteUserParams) WithDefaults ¶ added in v1.30.0
func (o *DeleteUserParams) WithDefaults() *DeleteUserParams
WithDefaults hydrates default values in the delete user params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteUserParams) WithHTTPClient ¶ added in v1.30.0
func (o *DeleteUserParams) WithHTTPClient(client *http.Client) *DeleteUserParams
WithHTTPClient adds the HTTPClient to the delete user params
func (*DeleteUserParams) WithTimeout ¶ added in v1.30.0
func (o *DeleteUserParams) WithTimeout(timeout time.Duration) *DeleteUserParams
WithTimeout adds the timeout to the delete user params
func (*DeleteUserParams) WithUserID ¶ added in v1.30.0
func (o *DeleteUserParams) WithUserID(userID string) *DeleteUserParams
WithUserID adds the userID to the delete user params
func (*DeleteUserParams) WriteToRequest ¶ added in v1.30.0
func (o *DeleteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteUserReader ¶ added in v1.30.0
type DeleteUserReader struct {
// contains filtered or unexported fields
}
DeleteUserReader is a Reader for the DeleteUser structure.
func (*DeleteUserReader) ReadResponse ¶ added in v1.30.0
func (o *DeleteUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteUserUnauthorized ¶ added in v1.30.0
type DeleteUserUnauthorized struct {
}
DeleteUserUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewDeleteUserUnauthorized ¶ added in v1.30.0
func NewDeleteUserUnauthorized() *DeleteUserUnauthorized
NewDeleteUserUnauthorized creates a DeleteUserUnauthorized with default headers values
func (*DeleteUserUnauthorized) Code ¶ added in v1.30.0
func (o *DeleteUserUnauthorized) Code() int
Code gets the status code for the delete user unauthorized response
func (*DeleteUserUnauthorized) Error ¶ added in v1.30.0
func (o *DeleteUserUnauthorized) Error() string
func (*DeleteUserUnauthorized) IsClientError ¶ added in v1.30.0
func (o *DeleteUserUnauthorized) IsClientError() bool
IsClientError returns true when this delete user unauthorized response has a 4xx status code
func (*DeleteUserUnauthorized) IsCode ¶ added in v1.30.0
func (o *DeleteUserUnauthorized) IsCode(code int) bool
IsCode returns true when this delete user unauthorized response a status code equal to that given
func (*DeleteUserUnauthorized) IsRedirect ¶ added in v1.30.0
func (o *DeleteUserUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete user unauthorized response has a 3xx status code
func (*DeleteUserUnauthorized) IsServerError ¶ added in v1.30.0
func (o *DeleteUserUnauthorized) IsServerError() bool
IsServerError returns true when this delete user unauthorized response has a 5xx status code
func (*DeleteUserUnauthorized) IsSuccess ¶ added in v1.30.0
func (o *DeleteUserUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete user unauthorized response has a 2xx status code
func (*DeleteUserUnauthorized) String ¶ added in v1.30.0
func (o *DeleteUserUnauthorized) String() string
type DeleteUserUnprocessableEntity ¶ added in v1.30.0
type DeleteUserUnprocessableEntity struct {
Payload *models.ErrorResponse
}
DeleteUserUnprocessableEntity describes a response with status code 422, with default header values.
Request body is well-formed (i.e., syntactically correct), but semantically erroneous.
func NewDeleteUserUnprocessableEntity ¶ added in v1.30.0
func NewDeleteUserUnprocessableEntity() *DeleteUserUnprocessableEntity
NewDeleteUserUnprocessableEntity creates a DeleteUserUnprocessableEntity with default headers values
func (*DeleteUserUnprocessableEntity) Code ¶ added in v1.30.0
func (o *DeleteUserUnprocessableEntity) Code() int
Code gets the status code for the delete user unprocessable entity response
func (*DeleteUserUnprocessableEntity) Error ¶ added in v1.30.0
func (o *DeleteUserUnprocessableEntity) Error() string
func (*DeleteUserUnprocessableEntity) GetPayload ¶ added in v1.30.0
func (o *DeleteUserUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*DeleteUserUnprocessableEntity) IsClientError ¶ added in v1.30.0
func (o *DeleteUserUnprocessableEntity) IsClientError() bool
IsClientError returns true when this delete user unprocessable entity response has a 4xx status code
func (*DeleteUserUnprocessableEntity) IsCode ¶ added in v1.30.0
func (o *DeleteUserUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this delete user unprocessable entity response a status code equal to that given
func (*DeleteUserUnprocessableEntity) IsRedirect ¶ added in v1.30.0
func (o *DeleteUserUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this delete user unprocessable entity response has a 3xx status code
func (*DeleteUserUnprocessableEntity) IsServerError ¶ added in v1.30.0
func (o *DeleteUserUnprocessableEntity) IsServerError() bool
IsServerError returns true when this delete user unprocessable entity response has a 5xx status code
func (*DeleteUserUnprocessableEntity) IsSuccess ¶ added in v1.30.0
func (o *DeleteUserUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this delete user unprocessable entity response has a 2xx status code
func (*DeleteUserUnprocessableEntity) String ¶ added in v1.30.0
func (o *DeleteUserUnprocessableEntity) String() string
type GetOwnInfoInternalServerError ¶
type GetOwnInfoInternalServerError struct {
Payload *models.ErrorResponse
}
GetOwnInfoInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewGetOwnInfoInternalServerError ¶
func NewGetOwnInfoInternalServerError() *GetOwnInfoInternalServerError
NewGetOwnInfoInternalServerError creates a GetOwnInfoInternalServerError with default headers values
func (*GetOwnInfoInternalServerError) Code ¶
func (o *GetOwnInfoInternalServerError) Code() int
Code gets the status code for the get own info internal server error response
func (*GetOwnInfoInternalServerError) Error ¶
func (o *GetOwnInfoInternalServerError) Error() string
func (*GetOwnInfoInternalServerError) GetPayload ¶
func (o *GetOwnInfoInternalServerError) GetPayload() *models.ErrorResponse
func (*GetOwnInfoInternalServerError) IsClientError ¶
func (o *GetOwnInfoInternalServerError) IsClientError() bool
IsClientError returns true when this get own info internal server error response has a 4xx status code
func (*GetOwnInfoInternalServerError) IsCode ¶
func (o *GetOwnInfoInternalServerError) IsCode(code int) bool
IsCode returns true when this get own info internal server error response a status code equal to that given
func (*GetOwnInfoInternalServerError) IsRedirect ¶
func (o *GetOwnInfoInternalServerError) IsRedirect() bool
IsRedirect returns true when this get own info internal server error response has a 3xx status code
func (*GetOwnInfoInternalServerError) IsServerError ¶
func (o *GetOwnInfoInternalServerError) IsServerError() bool
IsServerError returns true when this get own info internal server error response has a 5xx status code
func (*GetOwnInfoInternalServerError) IsSuccess ¶
func (o *GetOwnInfoInternalServerError) IsSuccess() bool
IsSuccess returns true when this get own info internal server error response has a 2xx status code
func (*GetOwnInfoInternalServerError) String ¶
func (o *GetOwnInfoInternalServerError) String() string
type GetOwnInfoOK ¶
type GetOwnInfoOK struct {
Payload *models.UserOwnInfo
}
GetOwnInfoOK describes a response with status code 200, with default header values.
Info about the user
func NewGetOwnInfoOK ¶
func NewGetOwnInfoOK() *GetOwnInfoOK
NewGetOwnInfoOK creates a GetOwnInfoOK with default headers values
func (*GetOwnInfoOK) Code ¶
func (o *GetOwnInfoOK) Code() int
Code gets the status code for the get own info o k response
func (*GetOwnInfoOK) Error ¶
func (o *GetOwnInfoOK) Error() string
func (*GetOwnInfoOK) GetPayload ¶
func (o *GetOwnInfoOK) GetPayload() *models.UserOwnInfo
func (*GetOwnInfoOK) IsClientError ¶
func (o *GetOwnInfoOK) IsClientError() bool
IsClientError returns true when this get own info o k response has a 4xx status code
func (*GetOwnInfoOK) IsCode ¶
func (o *GetOwnInfoOK) IsCode(code int) bool
IsCode returns true when this get own info o k response a status code equal to that given
func (*GetOwnInfoOK) IsRedirect ¶
func (o *GetOwnInfoOK) IsRedirect() bool
IsRedirect returns true when this get own info o k response has a 3xx status code
func (*GetOwnInfoOK) IsServerError ¶
func (o *GetOwnInfoOK) IsServerError() bool
IsServerError returns true when this get own info o k response has a 5xx status code
func (*GetOwnInfoOK) IsSuccess ¶
func (o *GetOwnInfoOK) IsSuccess() bool
IsSuccess returns true when this get own info o k response has a 2xx status code
func (*GetOwnInfoOK) String ¶
func (o *GetOwnInfoOK) String() string
type GetOwnInfoParams ¶
type GetOwnInfoParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetOwnInfoParams contains all the parameters to send to the API endpoint
for the get own info operation. Typically these are written to a http.Request.
func NewGetOwnInfoParams ¶
func NewGetOwnInfoParams() *GetOwnInfoParams
NewGetOwnInfoParams creates a new GetOwnInfoParams 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 NewGetOwnInfoParamsWithContext ¶
func NewGetOwnInfoParamsWithContext(ctx context.Context) *GetOwnInfoParams
NewGetOwnInfoParamsWithContext creates a new GetOwnInfoParams object with the ability to set a context for a request.
func NewGetOwnInfoParamsWithHTTPClient ¶
func NewGetOwnInfoParamsWithHTTPClient(client *http.Client) *GetOwnInfoParams
NewGetOwnInfoParamsWithHTTPClient creates a new GetOwnInfoParams object with the ability to set a custom HTTPClient for a request.
func NewGetOwnInfoParamsWithTimeout ¶
func NewGetOwnInfoParamsWithTimeout(timeout time.Duration) *GetOwnInfoParams
NewGetOwnInfoParamsWithTimeout creates a new GetOwnInfoParams object with the ability to set a timeout on a request.
func (*GetOwnInfoParams) SetContext ¶
func (o *GetOwnInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the get own info params
func (*GetOwnInfoParams) SetDefaults ¶
func (o *GetOwnInfoParams) SetDefaults()
SetDefaults hydrates default values in the get own info params (not the query body).
All values with no default are reset to their zero value.
func (*GetOwnInfoParams) SetHTTPClient ¶
func (o *GetOwnInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get own info params
func (*GetOwnInfoParams) SetTimeout ¶
func (o *GetOwnInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get own info params
func (*GetOwnInfoParams) WithContext ¶
func (o *GetOwnInfoParams) WithContext(ctx context.Context) *GetOwnInfoParams
WithContext adds the context to the get own info params
func (*GetOwnInfoParams) WithDefaults ¶
func (o *GetOwnInfoParams) WithDefaults() *GetOwnInfoParams
WithDefaults hydrates default values in the get own info params (not the query body).
All values with no default are reset to their zero value.
func (*GetOwnInfoParams) WithHTTPClient ¶
func (o *GetOwnInfoParams) WithHTTPClient(client *http.Client) *GetOwnInfoParams
WithHTTPClient adds the HTTPClient to the get own info params
func (*GetOwnInfoParams) WithTimeout ¶
func (o *GetOwnInfoParams) WithTimeout(timeout time.Duration) *GetOwnInfoParams
WithTimeout adds the timeout to the get own info params
func (*GetOwnInfoParams) WriteToRequest ¶
func (o *GetOwnInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOwnInfoReader ¶
type GetOwnInfoReader struct {
// contains filtered or unexported fields
}
GetOwnInfoReader is a Reader for the GetOwnInfo structure.
func (*GetOwnInfoReader) ReadResponse ¶
func (o *GetOwnInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOwnInfoUnauthorized ¶
type GetOwnInfoUnauthorized struct {
}
GetOwnInfoUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewGetOwnInfoUnauthorized ¶
func NewGetOwnInfoUnauthorized() *GetOwnInfoUnauthorized
NewGetOwnInfoUnauthorized creates a GetOwnInfoUnauthorized with default headers values
func (*GetOwnInfoUnauthorized) Code ¶
func (o *GetOwnInfoUnauthorized) Code() int
Code gets the status code for the get own info unauthorized response
func (*GetOwnInfoUnauthorized) Error ¶
func (o *GetOwnInfoUnauthorized) Error() string
func (*GetOwnInfoUnauthorized) IsClientError ¶
func (o *GetOwnInfoUnauthorized) IsClientError() bool
IsClientError returns true when this get own info unauthorized response has a 4xx status code
func (*GetOwnInfoUnauthorized) IsCode ¶
func (o *GetOwnInfoUnauthorized) IsCode(code int) bool
IsCode returns true when this get own info unauthorized response a status code equal to that given
func (*GetOwnInfoUnauthorized) IsRedirect ¶
func (o *GetOwnInfoUnauthorized) IsRedirect() bool
IsRedirect returns true when this get own info unauthorized response has a 3xx status code
func (*GetOwnInfoUnauthorized) IsServerError ¶
func (o *GetOwnInfoUnauthorized) IsServerError() bool
IsServerError returns true when this get own info unauthorized response has a 5xx status code
func (*GetOwnInfoUnauthorized) IsSuccess ¶
func (o *GetOwnInfoUnauthorized) IsSuccess() bool
IsSuccess returns true when this get own info unauthorized response has a 2xx status code
func (*GetOwnInfoUnauthorized) String ¶
func (o *GetOwnInfoUnauthorized) String() string
type GetUserInfoForbidden ¶ added in v1.30.0
type GetUserInfoForbidden struct {
Payload *models.ErrorResponse
}
GetUserInfoForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetUserInfoForbidden ¶ added in v1.30.0
func NewGetUserInfoForbidden() *GetUserInfoForbidden
NewGetUserInfoForbidden creates a GetUserInfoForbidden with default headers values
func (*GetUserInfoForbidden) Code ¶ added in v1.30.0
func (o *GetUserInfoForbidden) Code() int
Code gets the status code for the get user info forbidden response
func (*GetUserInfoForbidden) Error ¶ added in v1.30.0
func (o *GetUserInfoForbidden) Error() string
func (*GetUserInfoForbidden) GetPayload ¶ added in v1.30.0
func (o *GetUserInfoForbidden) GetPayload() *models.ErrorResponse
func (*GetUserInfoForbidden) IsClientError ¶ added in v1.30.0
func (o *GetUserInfoForbidden) IsClientError() bool
IsClientError returns true when this get user info forbidden response has a 4xx status code
func (*GetUserInfoForbidden) IsCode ¶ added in v1.30.0
func (o *GetUserInfoForbidden) IsCode(code int) bool
IsCode returns true when this get user info forbidden response a status code equal to that given
func (*GetUserInfoForbidden) IsRedirect ¶ added in v1.30.0
func (o *GetUserInfoForbidden) IsRedirect() bool
IsRedirect returns true when this get user info forbidden response has a 3xx status code
func (*GetUserInfoForbidden) IsServerError ¶ added in v1.30.0
func (o *GetUserInfoForbidden) IsServerError() bool
IsServerError returns true when this get user info forbidden response has a 5xx status code
func (*GetUserInfoForbidden) IsSuccess ¶ added in v1.30.0
func (o *GetUserInfoForbidden) IsSuccess() bool
IsSuccess returns true when this get user info forbidden response has a 2xx status code
func (*GetUserInfoForbidden) String ¶ added in v1.30.0
func (o *GetUserInfoForbidden) String() string
type GetUserInfoInternalServerError ¶ added in v1.30.0
type GetUserInfoInternalServerError struct {
Payload *models.ErrorResponse
}
GetUserInfoInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewGetUserInfoInternalServerError ¶ added in v1.30.0
func NewGetUserInfoInternalServerError() *GetUserInfoInternalServerError
NewGetUserInfoInternalServerError creates a GetUserInfoInternalServerError with default headers values
func (*GetUserInfoInternalServerError) Code ¶ added in v1.30.0
func (o *GetUserInfoInternalServerError) Code() int
Code gets the status code for the get user info internal server error response
func (*GetUserInfoInternalServerError) Error ¶ added in v1.30.0
func (o *GetUserInfoInternalServerError) Error() string
func (*GetUserInfoInternalServerError) GetPayload ¶ added in v1.30.0
func (o *GetUserInfoInternalServerError) GetPayload() *models.ErrorResponse
func (*GetUserInfoInternalServerError) IsClientError ¶ added in v1.30.0
func (o *GetUserInfoInternalServerError) IsClientError() bool
IsClientError returns true when this get user info internal server error response has a 4xx status code
func (*GetUserInfoInternalServerError) IsCode ¶ added in v1.30.0
func (o *GetUserInfoInternalServerError) IsCode(code int) bool
IsCode returns true when this get user info internal server error response a status code equal to that given
func (*GetUserInfoInternalServerError) IsRedirect ¶ added in v1.30.0
func (o *GetUserInfoInternalServerError) IsRedirect() bool
IsRedirect returns true when this get user info internal server error response has a 3xx status code
func (*GetUserInfoInternalServerError) IsServerError ¶ added in v1.30.0
func (o *GetUserInfoInternalServerError) IsServerError() bool
IsServerError returns true when this get user info internal server error response has a 5xx status code
func (*GetUserInfoInternalServerError) IsSuccess ¶ added in v1.30.0
func (o *GetUserInfoInternalServerError) IsSuccess() bool
IsSuccess returns true when this get user info internal server error response has a 2xx status code
func (*GetUserInfoInternalServerError) String ¶ added in v1.30.0
func (o *GetUserInfoInternalServerError) String() string
type GetUserInfoNotFound ¶ added in v1.30.0
type GetUserInfoNotFound struct {
}
GetUserInfoNotFound describes a response with status code 404, with default header values.
user not found
func NewGetUserInfoNotFound ¶ added in v1.30.0
func NewGetUserInfoNotFound() *GetUserInfoNotFound
NewGetUserInfoNotFound creates a GetUserInfoNotFound with default headers values
func (*GetUserInfoNotFound) Code ¶ added in v1.30.0
func (o *GetUserInfoNotFound) Code() int
Code gets the status code for the get user info not found response
func (*GetUserInfoNotFound) Error ¶ added in v1.30.0
func (o *GetUserInfoNotFound) Error() string
func (*GetUserInfoNotFound) IsClientError ¶ added in v1.30.0
func (o *GetUserInfoNotFound) IsClientError() bool
IsClientError returns true when this get user info not found response has a 4xx status code
func (*GetUserInfoNotFound) IsCode ¶ added in v1.30.0
func (o *GetUserInfoNotFound) IsCode(code int) bool
IsCode returns true when this get user info not found response a status code equal to that given
func (*GetUserInfoNotFound) IsRedirect ¶ added in v1.30.0
func (o *GetUserInfoNotFound) IsRedirect() bool
IsRedirect returns true when this get user info not found response has a 3xx status code
func (*GetUserInfoNotFound) IsServerError ¶ added in v1.30.0
func (o *GetUserInfoNotFound) IsServerError() bool
IsServerError returns true when this get user info not found response has a 5xx status code
func (*GetUserInfoNotFound) IsSuccess ¶ added in v1.30.0
func (o *GetUserInfoNotFound) IsSuccess() bool
IsSuccess returns true when this get user info not found response has a 2xx status code
func (*GetUserInfoNotFound) String ¶ added in v1.30.0
func (o *GetUserInfoNotFound) String() string
type GetUserInfoOK ¶ added in v1.30.0
type GetUserInfoOK struct {
Payload *models.DBUserInfo
}
GetUserInfoOK describes a response with status code 200, with default header values.
Info about the user
func NewGetUserInfoOK ¶ added in v1.30.0
func NewGetUserInfoOK() *GetUserInfoOK
NewGetUserInfoOK creates a GetUserInfoOK with default headers values
func (*GetUserInfoOK) Code ¶ added in v1.30.0
func (o *GetUserInfoOK) Code() int
Code gets the status code for the get user info o k response
func (*GetUserInfoOK) Error ¶ added in v1.30.0
func (o *GetUserInfoOK) Error() string
func (*GetUserInfoOK) GetPayload ¶ added in v1.30.0
func (o *GetUserInfoOK) GetPayload() *models.DBUserInfo
func (*GetUserInfoOK) IsClientError ¶ added in v1.30.0
func (o *GetUserInfoOK) IsClientError() bool
IsClientError returns true when this get user info o k response has a 4xx status code
func (*GetUserInfoOK) IsCode ¶ added in v1.30.0
func (o *GetUserInfoOK) IsCode(code int) bool
IsCode returns true when this get user info o k response a status code equal to that given
func (*GetUserInfoOK) IsRedirect ¶ added in v1.30.0
func (o *GetUserInfoOK) IsRedirect() bool
IsRedirect returns true when this get user info o k response has a 3xx status code
func (*GetUserInfoOK) IsServerError ¶ added in v1.30.0
func (o *GetUserInfoOK) IsServerError() bool
IsServerError returns true when this get user info o k response has a 5xx status code
func (*GetUserInfoOK) IsSuccess ¶ added in v1.30.0
func (o *GetUserInfoOK) IsSuccess() bool
IsSuccess returns true when this get user info o k response has a 2xx status code
func (*GetUserInfoOK) String ¶ added in v1.30.0
func (o *GetUserInfoOK) String() string
type GetUserInfoParams ¶ added in v1.30.0
type GetUserInfoParams struct {
/* IncludeLastUsedTime.
Whether to include the last used time of the given user
*/
IncludeLastUsedTime *bool
/* UserID.
user id
*/
UserID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetUserInfoParams contains all the parameters to send to the API endpoint
for the get user info operation. Typically these are written to a http.Request.
func NewGetUserInfoParams ¶ added in v1.30.0
func NewGetUserInfoParams() *GetUserInfoParams
NewGetUserInfoParams creates a new GetUserInfoParams 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 NewGetUserInfoParamsWithContext ¶ added in v1.30.0
func NewGetUserInfoParamsWithContext(ctx context.Context) *GetUserInfoParams
NewGetUserInfoParamsWithContext creates a new GetUserInfoParams object with the ability to set a context for a request.
func NewGetUserInfoParamsWithHTTPClient ¶ added in v1.30.0
func NewGetUserInfoParamsWithHTTPClient(client *http.Client) *GetUserInfoParams
NewGetUserInfoParamsWithHTTPClient creates a new GetUserInfoParams object with the ability to set a custom HTTPClient for a request.
func NewGetUserInfoParamsWithTimeout ¶ added in v1.30.0
func NewGetUserInfoParamsWithTimeout(timeout time.Duration) *GetUserInfoParams
NewGetUserInfoParamsWithTimeout creates a new GetUserInfoParams object with the ability to set a timeout on a request.
func (*GetUserInfoParams) SetContext ¶ added in v1.30.0
func (o *GetUserInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the get user info params
func (*GetUserInfoParams) SetDefaults ¶ added in v1.30.0
func (o *GetUserInfoParams) SetDefaults()
SetDefaults hydrates default values in the get user info params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserInfoParams) SetHTTPClient ¶ added in v1.30.0
func (o *GetUserInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user info params
func (*GetUserInfoParams) SetIncludeLastUsedTime ¶ added in v1.30.1
func (o *GetUserInfoParams) SetIncludeLastUsedTime(includeLastUsedTime *bool)
SetIncludeLastUsedTime adds the includeLastUsedTime to the get user info params
func (*GetUserInfoParams) SetTimeout ¶ added in v1.30.0
func (o *GetUserInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user info params
func (*GetUserInfoParams) SetUserID ¶ added in v1.30.0
func (o *GetUserInfoParams) SetUserID(userID string)
SetUserID adds the userId to the get user info params
func (*GetUserInfoParams) WithContext ¶ added in v1.30.0
func (o *GetUserInfoParams) WithContext(ctx context.Context) *GetUserInfoParams
WithContext adds the context to the get user info params
func (*GetUserInfoParams) WithDefaults ¶ added in v1.30.0
func (o *GetUserInfoParams) WithDefaults() *GetUserInfoParams
WithDefaults hydrates default values in the get user info params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserInfoParams) WithHTTPClient ¶ added in v1.30.0
func (o *GetUserInfoParams) WithHTTPClient(client *http.Client) *GetUserInfoParams
WithHTTPClient adds the HTTPClient to the get user info params
func (*GetUserInfoParams) WithIncludeLastUsedTime ¶ added in v1.30.1
func (o *GetUserInfoParams) WithIncludeLastUsedTime(includeLastUsedTime *bool) *GetUserInfoParams
WithIncludeLastUsedTime adds the includeLastUsedTime to the get user info params
func (*GetUserInfoParams) WithTimeout ¶ added in v1.30.0
func (o *GetUserInfoParams) WithTimeout(timeout time.Duration) *GetUserInfoParams
WithTimeout adds the timeout to the get user info params
func (*GetUserInfoParams) WithUserID ¶ added in v1.30.0
func (o *GetUserInfoParams) WithUserID(userID string) *GetUserInfoParams
WithUserID adds the userID to the get user info params
func (*GetUserInfoParams) WriteToRequest ¶ added in v1.30.0
func (o *GetUserInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserInfoReader ¶ added in v1.30.0
type GetUserInfoReader struct {
// contains filtered or unexported fields
}
GetUserInfoReader is a Reader for the GetUserInfo structure.
func (*GetUserInfoReader) ReadResponse ¶ added in v1.30.0
func (o *GetUserInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserInfoUnauthorized ¶ added in v1.30.0
type GetUserInfoUnauthorized struct {
}
GetUserInfoUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewGetUserInfoUnauthorized ¶ added in v1.30.0
func NewGetUserInfoUnauthorized() *GetUserInfoUnauthorized
NewGetUserInfoUnauthorized creates a GetUserInfoUnauthorized with default headers values
func (*GetUserInfoUnauthorized) Code ¶ added in v1.30.0
func (o *GetUserInfoUnauthorized) Code() int
Code gets the status code for the get user info unauthorized response
func (*GetUserInfoUnauthorized) Error ¶ added in v1.30.0
func (o *GetUserInfoUnauthorized) Error() string
func (*GetUserInfoUnauthorized) IsClientError ¶ added in v1.30.0
func (o *GetUserInfoUnauthorized) IsClientError() bool
IsClientError returns true when this get user info unauthorized response has a 4xx status code
func (*GetUserInfoUnauthorized) IsCode ¶ added in v1.30.0
func (o *GetUserInfoUnauthorized) IsCode(code int) bool
IsCode returns true when this get user info unauthorized response a status code equal to that given
func (*GetUserInfoUnauthorized) IsRedirect ¶ added in v1.30.0
func (o *GetUserInfoUnauthorized) IsRedirect() bool
IsRedirect returns true when this get user info unauthorized response has a 3xx status code
func (*GetUserInfoUnauthorized) IsServerError ¶ added in v1.30.0
func (o *GetUserInfoUnauthorized) IsServerError() bool
IsServerError returns true when this get user info unauthorized response has a 5xx status code
func (*GetUserInfoUnauthorized) IsSuccess ¶ added in v1.30.0
func (o *GetUserInfoUnauthorized) IsSuccess() bool
IsSuccess returns true when this get user info unauthorized response has a 2xx status code
func (*GetUserInfoUnauthorized) String ¶ added in v1.30.0
func (o *GetUserInfoUnauthorized) String() string
type GetUserInfoUnprocessableEntity ¶ added in v1.30.1
type GetUserInfoUnprocessableEntity struct {
Payload *models.ErrorResponse
}
GetUserInfoUnprocessableEntity describes a response with status code 422, with default header values.
Request body is well-formed (i.e., syntactically correct), but semantically erroneous.
func NewGetUserInfoUnprocessableEntity ¶ added in v1.30.1
func NewGetUserInfoUnprocessableEntity() *GetUserInfoUnprocessableEntity
NewGetUserInfoUnprocessableEntity creates a GetUserInfoUnprocessableEntity with default headers values
func (*GetUserInfoUnprocessableEntity) Code ¶ added in v1.30.1
func (o *GetUserInfoUnprocessableEntity) Code() int
Code gets the status code for the get user info unprocessable entity response
func (*GetUserInfoUnprocessableEntity) Error ¶ added in v1.30.1
func (o *GetUserInfoUnprocessableEntity) Error() string
func (*GetUserInfoUnprocessableEntity) GetPayload ¶ added in v1.30.1
func (o *GetUserInfoUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*GetUserInfoUnprocessableEntity) IsClientError ¶ added in v1.30.1
func (o *GetUserInfoUnprocessableEntity) IsClientError() bool
IsClientError returns true when this get user info unprocessable entity response has a 4xx status code
func (*GetUserInfoUnprocessableEntity) IsCode ¶ added in v1.30.1
func (o *GetUserInfoUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this get user info unprocessable entity response a status code equal to that given
func (*GetUserInfoUnprocessableEntity) IsRedirect ¶ added in v1.30.1
func (o *GetUserInfoUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this get user info unprocessable entity response has a 3xx status code
func (*GetUserInfoUnprocessableEntity) IsServerError ¶ added in v1.30.1
func (o *GetUserInfoUnprocessableEntity) IsServerError() bool
IsServerError returns true when this get user info unprocessable entity response has a 5xx status code
func (*GetUserInfoUnprocessableEntity) IsSuccess ¶ added in v1.30.1
func (o *GetUserInfoUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this get user info unprocessable entity response has a 2xx status code
func (*GetUserInfoUnprocessableEntity) String ¶ added in v1.30.1
func (o *GetUserInfoUnprocessableEntity) String() string
type ListAllUsersForbidden ¶ added in v1.30.0
type ListAllUsersForbidden struct {
Payload *models.ErrorResponse
}
ListAllUsersForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListAllUsersForbidden ¶ added in v1.30.0
func NewListAllUsersForbidden() *ListAllUsersForbidden
NewListAllUsersForbidden creates a ListAllUsersForbidden with default headers values
func (*ListAllUsersForbidden) Code ¶ added in v1.30.0
func (o *ListAllUsersForbidden) Code() int
Code gets the status code for the list all users forbidden response
func (*ListAllUsersForbidden) Error ¶ added in v1.30.0
func (o *ListAllUsersForbidden) Error() string
func (*ListAllUsersForbidden) GetPayload ¶ added in v1.30.0
func (o *ListAllUsersForbidden) GetPayload() *models.ErrorResponse
func (*ListAllUsersForbidden) IsClientError ¶ added in v1.30.0
func (o *ListAllUsersForbidden) IsClientError() bool
IsClientError returns true when this list all users forbidden response has a 4xx status code
func (*ListAllUsersForbidden) IsCode ¶ added in v1.30.0
func (o *ListAllUsersForbidden) IsCode(code int) bool
IsCode returns true when this list all users forbidden response a status code equal to that given
func (*ListAllUsersForbidden) IsRedirect ¶ added in v1.30.0
func (o *ListAllUsersForbidden) IsRedirect() bool
IsRedirect returns true when this list all users forbidden response has a 3xx status code
func (*ListAllUsersForbidden) IsServerError ¶ added in v1.30.0
func (o *ListAllUsersForbidden) IsServerError() bool
IsServerError returns true when this list all users forbidden response has a 5xx status code
func (*ListAllUsersForbidden) IsSuccess ¶ added in v1.30.0
func (o *ListAllUsersForbidden) IsSuccess() bool
IsSuccess returns true when this list all users forbidden response has a 2xx status code
func (*ListAllUsersForbidden) String ¶ added in v1.30.0
func (o *ListAllUsersForbidden) String() string
type ListAllUsersInternalServerError ¶ added in v1.30.0
type ListAllUsersInternalServerError struct {
Payload *models.ErrorResponse
}
ListAllUsersInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewListAllUsersInternalServerError ¶ added in v1.30.0
func NewListAllUsersInternalServerError() *ListAllUsersInternalServerError
NewListAllUsersInternalServerError creates a ListAllUsersInternalServerError with default headers values
func (*ListAllUsersInternalServerError) Code ¶ added in v1.30.0
func (o *ListAllUsersInternalServerError) Code() int
Code gets the status code for the list all users internal server error response
func (*ListAllUsersInternalServerError) Error ¶ added in v1.30.0
func (o *ListAllUsersInternalServerError) Error() string
func (*ListAllUsersInternalServerError) GetPayload ¶ added in v1.30.0
func (o *ListAllUsersInternalServerError) GetPayload() *models.ErrorResponse
func (*ListAllUsersInternalServerError) IsClientError ¶ added in v1.30.0
func (o *ListAllUsersInternalServerError) IsClientError() bool
IsClientError returns true when this list all users internal server error response has a 4xx status code
func (*ListAllUsersInternalServerError) IsCode ¶ added in v1.30.0
func (o *ListAllUsersInternalServerError) IsCode(code int) bool
IsCode returns true when this list all users internal server error response a status code equal to that given
func (*ListAllUsersInternalServerError) IsRedirect ¶ added in v1.30.0
func (o *ListAllUsersInternalServerError) IsRedirect() bool
IsRedirect returns true when this list all users internal server error response has a 3xx status code
func (*ListAllUsersInternalServerError) IsServerError ¶ added in v1.30.0
func (o *ListAllUsersInternalServerError) IsServerError() bool
IsServerError returns true when this list all users internal server error response has a 5xx status code
func (*ListAllUsersInternalServerError) IsSuccess ¶ added in v1.30.0
func (o *ListAllUsersInternalServerError) IsSuccess() bool
IsSuccess returns true when this list all users internal server error response has a 2xx status code
func (*ListAllUsersInternalServerError) String ¶ added in v1.30.0
func (o *ListAllUsersInternalServerError) String() string
type ListAllUsersOK ¶ added in v1.30.0
type ListAllUsersOK struct {
Payload []*models.DBUserInfo
}
ListAllUsersOK describes a response with status code 200, with default header values.
Info about the users
func NewListAllUsersOK ¶ added in v1.30.0
func NewListAllUsersOK() *ListAllUsersOK
NewListAllUsersOK creates a ListAllUsersOK with default headers values
func (*ListAllUsersOK) Code ¶ added in v1.30.0
func (o *ListAllUsersOK) Code() int
Code gets the status code for the list all users o k response
func (*ListAllUsersOK) Error ¶ added in v1.30.0
func (o *ListAllUsersOK) Error() string
func (*ListAllUsersOK) GetPayload ¶ added in v1.30.0
func (o *ListAllUsersOK) GetPayload() []*models.DBUserInfo
func (*ListAllUsersOK) IsClientError ¶ added in v1.30.0
func (o *ListAllUsersOK) IsClientError() bool
IsClientError returns true when this list all users o k response has a 4xx status code
func (*ListAllUsersOK) IsCode ¶ added in v1.30.0
func (o *ListAllUsersOK) IsCode(code int) bool
IsCode returns true when this list all users o k response a status code equal to that given
func (*ListAllUsersOK) IsRedirect ¶ added in v1.30.0
func (o *ListAllUsersOK) IsRedirect() bool
IsRedirect returns true when this list all users o k response has a 3xx status code
func (*ListAllUsersOK) IsServerError ¶ added in v1.30.0
func (o *ListAllUsersOK) IsServerError() bool
IsServerError returns true when this list all users o k response has a 5xx status code
func (*ListAllUsersOK) IsSuccess ¶ added in v1.30.0
func (o *ListAllUsersOK) IsSuccess() bool
IsSuccess returns true when this list all users o k response has a 2xx status code
func (*ListAllUsersOK) String ¶ added in v1.30.0
func (o *ListAllUsersOK) String() string
type ListAllUsersParams ¶ added in v1.30.0
type ListAllUsersParams struct {
/* IncludeLastUsedTime.
Whether to include the last used time of the users
*/
IncludeLastUsedTime *bool
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListAllUsersParams contains all the parameters to send to the API endpoint
for the list all users operation. Typically these are written to a http.Request.
func NewListAllUsersParams ¶ added in v1.30.0
func NewListAllUsersParams() *ListAllUsersParams
NewListAllUsersParams creates a new ListAllUsersParams 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 NewListAllUsersParamsWithContext ¶ added in v1.30.0
func NewListAllUsersParamsWithContext(ctx context.Context) *ListAllUsersParams
NewListAllUsersParamsWithContext creates a new ListAllUsersParams object with the ability to set a context for a request.
func NewListAllUsersParamsWithHTTPClient ¶ added in v1.30.0
func NewListAllUsersParamsWithHTTPClient(client *http.Client) *ListAllUsersParams
NewListAllUsersParamsWithHTTPClient creates a new ListAllUsersParams object with the ability to set a custom HTTPClient for a request.
func NewListAllUsersParamsWithTimeout ¶ added in v1.30.0
func NewListAllUsersParamsWithTimeout(timeout time.Duration) *ListAllUsersParams
NewListAllUsersParamsWithTimeout creates a new ListAllUsersParams object with the ability to set a timeout on a request.
func (*ListAllUsersParams) SetContext ¶ added in v1.30.0
func (o *ListAllUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the list all users params
func (*ListAllUsersParams) SetDefaults ¶ added in v1.30.0
func (o *ListAllUsersParams) SetDefaults()
SetDefaults hydrates default values in the list all users params (not the query body).
All values with no default are reset to their zero value.
func (*ListAllUsersParams) SetHTTPClient ¶ added in v1.30.0
func (o *ListAllUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list all users params
func (*ListAllUsersParams) SetIncludeLastUsedTime ¶ added in v1.30.1
func (o *ListAllUsersParams) SetIncludeLastUsedTime(includeLastUsedTime *bool)
SetIncludeLastUsedTime adds the includeLastUsedTime to the list all users params
func (*ListAllUsersParams) SetTimeout ¶ added in v1.30.0
func (o *ListAllUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list all users params
func (*ListAllUsersParams) WithContext ¶ added in v1.30.0
func (o *ListAllUsersParams) WithContext(ctx context.Context) *ListAllUsersParams
WithContext adds the context to the list all users params
func (*ListAllUsersParams) WithDefaults ¶ added in v1.30.0
func (o *ListAllUsersParams) WithDefaults() *ListAllUsersParams
WithDefaults hydrates default values in the list all users params (not the query body).
All values with no default are reset to their zero value.
func (*ListAllUsersParams) WithHTTPClient ¶ added in v1.30.0
func (o *ListAllUsersParams) WithHTTPClient(client *http.Client) *ListAllUsersParams
WithHTTPClient adds the HTTPClient to the list all users params
func (*ListAllUsersParams) WithIncludeLastUsedTime ¶ added in v1.30.1
func (o *ListAllUsersParams) WithIncludeLastUsedTime(includeLastUsedTime *bool) *ListAllUsersParams
WithIncludeLastUsedTime adds the includeLastUsedTime to the list all users params
func (*ListAllUsersParams) WithTimeout ¶ added in v1.30.0
func (o *ListAllUsersParams) WithTimeout(timeout time.Duration) *ListAllUsersParams
WithTimeout adds the timeout to the list all users params
func (*ListAllUsersParams) WriteToRequest ¶ added in v1.30.0
func (o *ListAllUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAllUsersReader ¶ added in v1.30.0
type ListAllUsersReader struct {
// contains filtered or unexported fields
}
ListAllUsersReader is a Reader for the ListAllUsers structure.
func (*ListAllUsersReader) ReadResponse ¶ added in v1.30.0
func (o *ListAllUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListAllUsersUnauthorized ¶ added in v1.30.0
type ListAllUsersUnauthorized struct {
}
ListAllUsersUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewListAllUsersUnauthorized ¶ added in v1.30.0
func NewListAllUsersUnauthorized() *ListAllUsersUnauthorized
NewListAllUsersUnauthorized creates a ListAllUsersUnauthorized with default headers values
func (*ListAllUsersUnauthorized) Code ¶ added in v1.30.0
func (o *ListAllUsersUnauthorized) Code() int
Code gets the status code for the list all users unauthorized response
func (*ListAllUsersUnauthorized) Error ¶ added in v1.30.0
func (o *ListAllUsersUnauthorized) Error() string
func (*ListAllUsersUnauthorized) IsClientError ¶ added in v1.30.0
func (o *ListAllUsersUnauthorized) IsClientError() bool
IsClientError returns true when this list all users unauthorized response has a 4xx status code
func (*ListAllUsersUnauthorized) IsCode ¶ added in v1.30.0
func (o *ListAllUsersUnauthorized) IsCode(code int) bool
IsCode returns true when this list all users unauthorized response a status code equal to that given
func (*ListAllUsersUnauthorized) IsRedirect ¶ added in v1.30.0
func (o *ListAllUsersUnauthorized) IsRedirect() bool
IsRedirect returns true when this list all users unauthorized response has a 3xx status code
func (*ListAllUsersUnauthorized) IsServerError ¶ added in v1.30.0
func (o *ListAllUsersUnauthorized) IsServerError() bool
IsServerError returns true when this list all users unauthorized response has a 5xx status code
func (*ListAllUsersUnauthorized) IsSuccess ¶ added in v1.30.0
func (o *ListAllUsersUnauthorized) IsSuccess() bool
IsSuccess returns true when this list all users unauthorized response has a 2xx status code
func (*ListAllUsersUnauthorized) String ¶ added in v1.30.0
func (o *ListAllUsersUnauthorized) String() string
type RotateUserAPIKeyBadRequest ¶ added in v1.30.0
type RotateUserAPIKeyBadRequest struct {
Payload *models.ErrorResponse
}
RotateUserAPIKeyBadRequest describes a response with status code 400, with default header values.
Malformed request.
func NewRotateUserAPIKeyBadRequest ¶ added in v1.30.0
func NewRotateUserAPIKeyBadRequest() *RotateUserAPIKeyBadRequest
NewRotateUserAPIKeyBadRequest creates a RotateUserAPIKeyBadRequest with default headers values
func (*RotateUserAPIKeyBadRequest) Code ¶ added in v1.30.0
func (o *RotateUserAPIKeyBadRequest) Code() int
Code gets the status code for the rotate user Api key bad request response
func (*RotateUserAPIKeyBadRequest) Error ¶ added in v1.30.0
func (o *RotateUserAPIKeyBadRequest) Error() string
func (*RotateUserAPIKeyBadRequest) GetPayload ¶ added in v1.30.0
func (o *RotateUserAPIKeyBadRequest) GetPayload() *models.ErrorResponse
func (*RotateUserAPIKeyBadRequest) IsClientError ¶ added in v1.30.0
func (o *RotateUserAPIKeyBadRequest) IsClientError() bool
IsClientError returns true when this rotate user Api key bad request response has a 4xx status code
func (*RotateUserAPIKeyBadRequest) IsCode ¶ added in v1.30.0
func (o *RotateUserAPIKeyBadRequest) IsCode(code int) bool
IsCode returns true when this rotate user Api key bad request response a status code equal to that given
func (*RotateUserAPIKeyBadRequest) IsRedirect ¶ added in v1.30.0
func (o *RotateUserAPIKeyBadRequest) IsRedirect() bool
IsRedirect returns true when this rotate user Api key bad request response has a 3xx status code
func (*RotateUserAPIKeyBadRequest) IsServerError ¶ added in v1.30.0
func (o *RotateUserAPIKeyBadRequest) IsServerError() bool
IsServerError returns true when this rotate user Api key bad request response has a 5xx status code
func (*RotateUserAPIKeyBadRequest) IsSuccess ¶ added in v1.30.0
func (o *RotateUserAPIKeyBadRequest) IsSuccess() bool
IsSuccess returns true when this rotate user Api key bad request response has a 2xx status code
func (*RotateUserAPIKeyBadRequest) String ¶ added in v1.30.0
func (o *RotateUserAPIKeyBadRequest) String() string
type RotateUserAPIKeyForbidden ¶ added in v1.30.0
type RotateUserAPIKeyForbidden struct {
Payload *models.ErrorResponse
}
RotateUserAPIKeyForbidden describes a response with status code 403, with default header values.
Forbidden
func NewRotateUserAPIKeyForbidden ¶ added in v1.30.0
func NewRotateUserAPIKeyForbidden() *RotateUserAPIKeyForbidden
NewRotateUserAPIKeyForbidden creates a RotateUserAPIKeyForbidden with default headers values
func (*RotateUserAPIKeyForbidden) Code ¶ added in v1.30.0
func (o *RotateUserAPIKeyForbidden) Code() int
Code gets the status code for the rotate user Api key forbidden response
func (*RotateUserAPIKeyForbidden) Error ¶ added in v1.30.0
func (o *RotateUserAPIKeyForbidden) Error() string
func (*RotateUserAPIKeyForbidden) GetPayload ¶ added in v1.30.0
func (o *RotateUserAPIKeyForbidden) GetPayload() *models.ErrorResponse
func (*RotateUserAPIKeyForbidden) IsClientError ¶ added in v1.30.0
func (o *RotateUserAPIKeyForbidden) IsClientError() bool
IsClientError returns true when this rotate user Api key forbidden response has a 4xx status code
func (*RotateUserAPIKeyForbidden) IsCode ¶ added in v1.30.0
func (o *RotateUserAPIKeyForbidden) IsCode(code int) bool
IsCode returns true when this rotate user Api key forbidden response a status code equal to that given
func (*RotateUserAPIKeyForbidden) IsRedirect ¶ added in v1.30.0
func (o *RotateUserAPIKeyForbidden) IsRedirect() bool
IsRedirect returns true when this rotate user Api key forbidden response has a 3xx status code
func (*RotateUserAPIKeyForbidden) IsServerError ¶ added in v1.30.0
func (o *RotateUserAPIKeyForbidden) IsServerError() bool
IsServerError returns true when this rotate user Api key forbidden response has a 5xx status code
func (*RotateUserAPIKeyForbidden) IsSuccess ¶ added in v1.30.0
func (o *RotateUserAPIKeyForbidden) IsSuccess() bool
IsSuccess returns true when this rotate user Api key forbidden response has a 2xx status code
func (*RotateUserAPIKeyForbidden) String ¶ added in v1.30.0
func (o *RotateUserAPIKeyForbidden) String() string
type RotateUserAPIKeyInternalServerError ¶ added in v1.30.0
type RotateUserAPIKeyInternalServerError struct {
Payload *models.ErrorResponse
}
RotateUserAPIKeyInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewRotateUserAPIKeyInternalServerError ¶ added in v1.30.0
func NewRotateUserAPIKeyInternalServerError() *RotateUserAPIKeyInternalServerError
NewRotateUserAPIKeyInternalServerError creates a RotateUserAPIKeyInternalServerError with default headers values
func (*RotateUserAPIKeyInternalServerError) Code ¶ added in v1.30.0
func (o *RotateUserAPIKeyInternalServerError) Code() int
Code gets the status code for the rotate user Api key internal server error response
func (*RotateUserAPIKeyInternalServerError) Error ¶ added in v1.30.0
func (o *RotateUserAPIKeyInternalServerError) Error() string
func (*RotateUserAPIKeyInternalServerError) GetPayload ¶ added in v1.30.0
func (o *RotateUserAPIKeyInternalServerError) GetPayload() *models.ErrorResponse
func (*RotateUserAPIKeyInternalServerError) IsClientError ¶ added in v1.30.0
func (o *RotateUserAPIKeyInternalServerError) IsClientError() bool
IsClientError returns true when this rotate user Api key internal server error response has a 4xx status code
func (*RotateUserAPIKeyInternalServerError) IsCode ¶ added in v1.30.0
func (o *RotateUserAPIKeyInternalServerError) IsCode(code int) bool
IsCode returns true when this rotate user Api key internal server error response a status code equal to that given
func (*RotateUserAPIKeyInternalServerError) IsRedirect ¶ added in v1.30.0
func (o *RotateUserAPIKeyInternalServerError) IsRedirect() bool
IsRedirect returns true when this rotate user Api key internal server error response has a 3xx status code
func (*RotateUserAPIKeyInternalServerError) IsServerError ¶ added in v1.30.0
func (o *RotateUserAPIKeyInternalServerError) IsServerError() bool
IsServerError returns true when this rotate user Api key internal server error response has a 5xx status code
func (*RotateUserAPIKeyInternalServerError) IsSuccess ¶ added in v1.30.0
func (o *RotateUserAPIKeyInternalServerError) IsSuccess() bool
IsSuccess returns true when this rotate user Api key internal server error response has a 2xx status code
func (*RotateUserAPIKeyInternalServerError) String ¶ added in v1.30.0
func (o *RotateUserAPIKeyInternalServerError) String() string
type RotateUserAPIKeyNotFound ¶ added in v1.30.0
type RotateUserAPIKeyNotFound struct {
}
RotateUserAPIKeyNotFound describes a response with status code 404, with default header values.
user not found
func NewRotateUserAPIKeyNotFound ¶ added in v1.30.0
func NewRotateUserAPIKeyNotFound() *RotateUserAPIKeyNotFound
NewRotateUserAPIKeyNotFound creates a RotateUserAPIKeyNotFound with default headers values
func (*RotateUserAPIKeyNotFound) Code ¶ added in v1.30.0
func (o *RotateUserAPIKeyNotFound) Code() int
Code gets the status code for the rotate user Api key not found response
func (*RotateUserAPIKeyNotFound) Error ¶ added in v1.30.0
func (o *RotateUserAPIKeyNotFound) Error() string
func (*RotateUserAPIKeyNotFound) IsClientError ¶ added in v1.30.0
func (o *RotateUserAPIKeyNotFound) IsClientError() bool
IsClientError returns true when this rotate user Api key not found response has a 4xx status code
func (*RotateUserAPIKeyNotFound) IsCode ¶ added in v1.30.0
func (o *RotateUserAPIKeyNotFound) IsCode(code int) bool
IsCode returns true when this rotate user Api key not found response a status code equal to that given
func (*RotateUserAPIKeyNotFound) IsRedirect ¶ added in v1.30.0
func (o *RotateUserAPIKeyNotFound) IsRedirect() bool
IsRedirect returns true when this rotate user Api key not found response has a 3xx status code
func (*RotateUserAPIKeyNotFound) IsServerError ¶ added in v1.30.0
func (o *RotateUserAPIKeyNotFound) IsServerError() bool
IsServerError returns true when this rotate user Api key not found response has a 5xx status code
func (*RotateUserAPIKeyNotFound) IsSuccess ¶ added in v1.30.0
func (o *RotateUserAPIKeyNotFound) IsSuccess() bool
IsSuccess returns true when this rotate user Api key not found response has a 2xx status code
func (*RotateUserAPIKeyNotFound) String ¶ added in v1.30.0
func (o *RotateUserAPIKeyNotFound) String() string
type RotateUserAPIKeyOK ¶ added in v1.30.0
type RotateUserAPIKeyOK struct {
Payload *models.UserAPIKey
}
RotateUserAPIKeyOK describes a response with status code 200, with default header values.
ApiKey successfully changed
func NewRotateUserAPIKeyOK ¶ added in v1.30.0
func NewRotateUserAPIKeyOK() *RotateUserAPIKeyOK
NewRotateUserAPIKeyOK creates a RotateUserAPIKeyOK with default headers values
func (*RotateUserAPIKeyOK) Code ¶ added in v1.30.0
func (o *RotateUserAPIKeyOK) Code() int
Code gets the status code for the rotate user Api key o k response
func (*RotateUserAPIKeyOK) Error ¶ added in v1.30.0
func (o *RotateUserAPIKeyOK) Error() string
func (*RotateUserAPIKeyOK) GetPayload ¶ added in v1.30.0
func (o *RotateUserAPIKeyOK) GetPayload() *models.UserAPIKey
func (*RotateUserAPIKeyOK) IsClientError ¶ added in v1.30.0
func (o *RotateUserAPIKeyOK) IsClientError() bool
IsClientError returns true when this rotate user Api key o k response has a 4xx status code
func (*RotateUserAPIKeyOK) IsCode ¶ added in v1.30.0
func (o *RotateUserAPIKeyOK) IsCode(code int) bool
IsCode returns true when this rotate user Api key o k response a status code equal to that given
func (*RotateUserAPIKeyOK) IsRedirect ¶ added in v1.30.0
func (o *RotateUserAPIKeyOK) IsRedirect() bool
IsRedirect returns true when this rotate user Api key o k response has a 3xx status code
func (*RotateUserAPIKeyOK) IsServerError ¶ added in v1.30.0
func (o *RotateUserAPIKeyOK) IsServerError() bool
IsServerError returns true when this rotate user Api key o k response has a 5xx status code
func (*RotateUserAPIKeyOK) IsSuccess ¶ added in v1.30.0
func (o *RotateUserAPIKeyOK) IsSuccess() bool
IsSuccess returns true when this rotate user Api key o k response has a 2xx status code
func (*RotateUserAPIKeyOK) String ¶ added in v1.30.0
func (o *RotateUserAPIKeyOK) String() string
type RotateUserAPIKeyParams ¶ added in v1.30.0
type RotateUserAPIKeyParams struct {
/* UserID.
user id
*/
UserID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
RotateUserAPIKeyParams contains all the parameters to send to the API endpoint
for the rotate user Api key operation. Typically these are written to a http.Request.
func NewRotateUserAPIKeyParams ¶ added in v1.30.0
func NewRotateUserAPIKeyParams() *RotateUserAPIKeyParams
NewRotateUserAPIKeyParams creates a new RotateUserAPIKeyParams 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 NewRotateUserAPIKeyParamsWithContext ¶ added in v1.30.0
func NewRotateUserAPIKeyParamsWithContext(ctx context.Context) *RotateUserAPIKeyParams
NewRotateUserAPIKeyParamsWithContext creates a new RotateUserAPIKeyParams object with the ability to set a context for a request.
func NewRotateUserAPIKeyParamsWithHTTPClient ¶ added in v1.30.0
func NewRotateUserAPIKeyParamsWithHTTPClient(client *http.Client) *RotateUserAPIKeyParams
NewRotateUserAPIKeyParamsWithHTTPClient creates a new RotateUserAPIKeyParams object with the ability to set a custom HTTPClient for a request.
func NewRotateUserAPIKeyParamsWithTimeout ¶ added in v1.30.0
func NewRotateUserAPIKeyParamsWithTimeout(timeout time.Duration) *RotateUserAPIKeyParams
NewRotateUserAPIKeyParamsWithTimeout creates a new RotateUserAPIKeyParams object with the ability to set a timeout on a request.
func (*RotateUserAPIKeyParams) SetContext ¶ added in v1.30.0
func (o *RotateUserAPIKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the rotate user Api key params
func (*RotateUserAPIKeyParams) SetDefaults ¶ added in v1.30.0
func (o *RotateUserAPIKeyParams) SetDefaults()
SetDefaults hydrates default values in the rotate user Api key params (not the query body).
All values with no default are reset to their zero value.
func (*RotateUserAPIKeyParams) SetHTTPClient ¶ added in v1.30.0
func (o *RotateUserAPIKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the rotate user Api key params
func (*RotateUserAPIKeyParams) SetTimeout ¶ added in v1.30.0
func (o *RotateUserAPIKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the rotate user Api key params
func (*RotateUserAPIKeyParams) SetUserID ¶ added in v1.30.0
func (o *RotateUserAPIKeyParams) SetUserID(userID string)
SetUserID adds the userId to the rotate user Api key params
func (*RotateUserAPIKeyParams) WithContext ¶ added in v1.30.0
func (o *RotateUserAPIKeyParams) WithContext(ctx context.Context) *RotateUserAPIKeyParams
WithContext adds the context to the rotate user Api key params
func (*RotateUserAPIKeyParams) WithDefaults ¶ added in v1.30.0
func (o *RotateUserAPIKeyParams) WithDefaults() *RotateUserAPIKeyParams
WithDefaults hydrates default values in the rotate user Api key params (not the query body).
All values with no default are reset to their zero value.
func (*RotateUserAPIKeyParams) WithHTTPClient ¶ added in v1.30.0
func (o *RotateUserAPIKeyParams) WithHTTPClient(client *http.Client) *RotateUserAPIKeyParams
WithHTTPClient adds the HTTPClient to the rotate user Api key params
func (*RotateUserAPIKeyParams) WithTimeout ¶ added in v1.30.0
func (o *RotateUserAPIKeyParams) WithTimeout(timeout time.Duration) *RotateUserAPIKeyParams
WithTimeout adds the timeout to the rotate user Api key params
func (*RotateUserAPIKeyParams) WithUserID ¶ added in v1.30.0
func (o *RotateUserAPIKeyParams) WithUserID(userID string) *RotateUserAPIKeyParams
WithUserID adds the userID to the rotate user Api key params
func (*RotateUserAPIKeyParams) WriteToRequest ¶ added in v1.30.0
func (o *RotateUserAPIKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RotateUserAPIKeyReader ¶ added in v1.30.0
type RotateUserAPIKeyReader struct {
// contains filtered or unexported fields
}
RotateUserAPIKeyReader is a Reader for the RotateUserAPIKey structure.
func (*RotateUserAPIKeyReader) ReadResponse ¶ added in v1.30.0
func (o *RotateUserAPIKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RotateUserAPIKeyUnauthorized ¶ added in v1.30.0
type RotateUserAPIKeyUnauthorized struct {
}
RotateUserAPIKeyUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewRotateUserAPIKeyUnauthorized ¶ added in v1.30.0
func NewRotateUserAPIKeyUnauthorized() *RotateUserAPIKeyUnauthorized
NewRotateUserAPIKeyUnauthorized creates a RotateUserAPIKeyUnauthorized with default headers values
func (*RotateUserAPIKeyUnauthorized) Code ¶ added in v1.30.0
func (o *RotateUserAPIKeyUnauthorized) Code() int
Code gets the status code for the rotate user Api key unauthorized response
func (*RotateUserAPIKeyUnauthorized) Error ¶ added in v1.30.0
func (o *RotateUserAPIKeyUnauthorized) Error() string
func (*RotateUserAPIKeyUnauthorized) IsClientError ¶ added in v1.30.0
func (o *RotateUserAPIKeyUnauthorized) IsClientError() bool
IsClientError returns true when this rotate user Api key unauthorized response has a 4xx status code
func (*RotateUserAPIKeyUnauthorized) IsCode ¶ added in v1.30.0
func (o *RotateUserAPIKeyUnauthorized) IsCode(code int) bool
IsCode returns true when this rotate user Api key unauthorized response a status code equal to that given
func (*RotateUserAPIKeyUnauthorized) IsRedirect ¶ added in v1.30.0
func (o *RotateUserAPIKeyUnauthorized) IsRedirect() bool
IsRedirect returns true when this rotate user Api key unauthorized response has a 3xx status code
func (*RotateUserAPIKeyUnauthorized) IsServerError ¶ added in v1.30.0
func (o *RotateUserAPIKeyUnauthorized) IsServerError() bool
IsServerError returns true when this rotate user Api key unauthorized response has a 5xx status code
func (*RotateUserAPIKeyUnauthorized) IsSuccess ¶ added in v1.30.0
func (o *RotateUserAPIKeyUnauthorized) IsSuccess() bool
IsSuccess returns true when this rotate user Api key unauthorized response has a 2xx status code
func (*RotateUserAPIKeyUnauthorized) String ¶ added in v1.30.0
func (o *RotateUserAPIKeyUnauthorized) String() string
type RotateUserAPIKeyUnprocessableEntity ¶ added in v1.30.0
type RotateUserAPIKeyUnprocessableEntity struct {
Payload *models.ErrorResponse
}
RotateUserAPIKeyUnprocessableEntity describes a response with status code 422, with default header values.
Request body is well-formed (i.e., syntactically correct), but semantically erroneous.
func NewRotateUserAPIKeyUnprocessableEntity ¶ added in v1.30.0
func NewRotateUserAPIKeyUnprocessableEntity() *RotateUserAPIKeyUnprocessableEntity
NewRotateUserAPIKeyUnprocessableEntity creates a RotateUserAPIKeyUnprocessableEntity with default headers values
func (*RotateUserAPIKeyUnprocessableEntity) Code ¶ added in v1.30.0
func (o *RotateUserAPIKeyUnprocessableEntity) Code() int
Code gets the status code for the rotate user Api key unprocessable entity response
func (*RotateUserAPIKeyUnprocessableEntity) Error ¶ added in v1.30.0
func (o *RotateUserAPIKeyUnprocessableEntity) Error() string
func (*RotateUserAPIKeyUnprocessableEntity) GetPayload ¶ added in v1.30.0
func (o *RotateUserAPIKeyUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*RotateUserAPIKeyUnprocessableEntity) IsClientError ¶ added in v1.30.0
func (o *RotateUserAPIKeyUnprocessableEntity) IsClientError() bool
IsClientError returns true when this rotate user Api key unprocessable entity response has a 4xx status code
func (*RotateUserAPIKeyUnprocessableEntity) IsCode ¶ added in v1.30.0
func (o *RotateUserAPIKeyUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this rotate user Api key unprocessable entity response a status code equal to that given
func (*RotateUserAPIKeyUnprocessableEntity) IsRedirect ¶ added in v1.30.0
func (o *RotateUserAPIKeyUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this rotate user Api key unprocessable entity response has a 3xx status code
func (*RotateUserAPIKeyUnprocessableEntity) IsServerError ¶ added in v1.30.0
func (o *RotateUserAPIKeyUnprocessableEntity) IsServerError() bool
IsServerError returns true when this rotate user Api key unprocessable entity response has a 5xx status code
func (*RotateUserAPIKeyUnprocessableEntity) IsSuccess ¶ added in v1.30.0
func (o *RotateUserAPIKeyUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this rotate user Api key unprocessable entity response has a 2xx status code
func (*RotateUserAPIKeyUnprocessableEntity) String ¶ added in v1.30.0
func (o *RotateUserAPIKeyUnprocessableEntity) String() string
Source Files
¶
- activate_user_parameters.go
- activate_user_responses.go
- create_user_parameters.go
- create_user_responses.go
- deactivate_user_parameters.go
- deactivate_user_responses.go
- delete_user_parameters.go
- delete_user_responses.go
- get_own_info_parameters.go
- get_own_info_responses.go
- get_user_info_parameters.go
- get_user_info_responses.go
- list_all_users_parameters.go
- list_all_users_responses.go
- rotate_user_api_key_parameters.go
- rotate_user_api_key_responses.go
- users_client.go