Documentation
¶
Index ¶
- type AdminCreateUserBadRequest
- func (o *AdminCreateUserBadRequest) Code() int
- func (o *AdminCreateUserBadRequest) Error() string
- func (o *AdminCreateUserBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *AdminCreateUserBadRequest) IsClientError() bool
- func (o *AdminCreateUserBadRequest) IsCode(code int) bool
- func (o *AdminCreateUserBadRequest) IsRedirect() bool
- func (o *AdminCreateUserBadRequest) IsServerError() bool
- func (o *AdminCreateUserBadRequest) IsSuccess() bool
- func (o *AdminCreateUserBadRequest) String() string
- type AdminCreateUserForbidden
- func (o *AdminCreateUserForbidden) Code() int
- func (o *AdminCreateUserForbidden) Error() string
- func (o *AdminCreateUserForbidden) GetPayload() *models.ErrorResponseBody
- func (o *AdminCreateUserForbidden) IsClientError() bool
- func (o *AdminCreateUserForbidden) IsCode(code int) bool
- func (o *AdminCreateUserForbidden) IsRedirect() bool
- func (o *AdminCreateUserForbidden) IsServerError() bool
- func (o *AdminCreateUserForbidden) IsSuccess() bool
- func (o *AdminCreateUserForbidden) String() string
- type AdminCreateUserInternalServerError
- func (o *AdminCreateUserInternalServerError) Code() int
- func (o *AdminCreateUserInternalServerError) Error() string
- func (o *AdminCreateUserInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *AdminCreateUserInternalServerError) IsClientError() bool
- func (o *AdminCreateUserInternalServerError) IsCode(code int) bool
- func (o *AdminCreateUserInternalServerError) IsRedirect() bool
- func (o *AdminCreateUserInternalServerError) IsServerError() bool
- func (o *AdminCreateUserInternalServerError) IsSuccess() bool
- func (o *AdminCreateUserInternalServerError) String() string
- type AdminCreateUserOK
- func (o *AdminCreateUserOK) Code() int
- func (o *AdminCreateUserOK) Error() string
- func (o *AdminCreateUserOK) GetPayload() *models.AdminCreateUserResponse
- func (o *AdminCreateUserOK) IsClientError() bool
- func (o *AdminCreateUserOK) IsCode(code int) bool
- func (o *AdminCreateUserOK) IsRedirect() bool
- func (o *AdminCreateUserOK) IsServerError() bool
- func (o *AdminCreateUserOK) IsSuccess() bool
- func (o *AdminCreateUserOK) String() string
- type AdminCreateUserParams
- func NewAdminCreateUserParams() *AdminCreateUserParams
- func NewAdminCreateUserParamsWithContext(ctx context.Context) *AdminCreateUserParams
- func NewAdminCreateUserParamsWithHTTPClient(client *http.Client) *AdminCreateUserParams
- func NewAdminCreateUserParamsWithTimeout(timeout time.Duration) *AdminCreateUserParams
- func (o *AdminCreateUserParams) SetBody(body *models.AdminCreateUserForm)
- func (o *AdminCreateUserParams) SetContext(ctx context.Context)
- func (o *AdminCreateUserParams) SetDefaults()
- func (o *AdminCreateUserParams) SetHTTPClient(client *http.Client)
- func (o *AdminCreateUserParams) SetTimeout(timeout time.Duration)
- func (o *AdminCreateUserParams) WithBody(body *models.AdminCreateUserForm) *AdminCreateUserParams
- func (o *AdminCreateUserParams) WithContext(ctx context.Context) *AdminCreateUserParams
- func (o *AdminCreateUserParams) WithDefaults() *AdminCreateUserParams
- func (o *AdminCreateUserParams) WithHTTPClient(client *http.Client) *AdminCreateUserParams
- func (o *AdminCreateUserParams) WithTimeout(timeout time.Duration) *AdminCreateUserParams
- func (o *AdminCreateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminCreateUserPreconditionFailed
- func (o *AdminCreateUserPreconditionFailed) Code() int
- func (o *AdminCreateUserPreconditionFailed) Error() string
- func (o *AdminCreateUserPreconditionFailed) GetPayload() *models.ErrorResponseBody
- func (o *AdminCreateUserPreconditionFailed) IsClientError() bool
- func (o *AdminCreateUserPreconditionFailed) IsCode(code int) bool
- func (o *AdminCreateUserPreconditionFailed) IsRedirect() bool
- func (o *AdminCreateUserPreconditionFailed) IsServerError() bool
- func (o *AdminCreateUserPreconditionFailed) IsSuccess() bool
- func (o *AdminCreateUserPreconditionFailed) String() string
- type AdminCreateUserReader
- type AdminCreateUserUnauthorized
- func (o *AdminCreateUserUnauthorized) Code() int
- func (o *AdminCreateUserUnauthorized) Error() string
- func (o *AdminCreateUserUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *AdminCreateUserUnauthorized) IsClientError() bool
- func (o *AdminCreateUserUnauthorized) IsCode(code int) bool
- func (o *AdminCreateUserUnauthorized) IsRedirect() bool
- func (o *AdminCreateUserUnauthorized) IsServerError() bool
- func (o *AdminCreateUserUnauthorized) IsSuccess() bool
- func (o *AdminCreateUserUnauthorized) String() string
- type AdminDeleteUserForbidden
- func (o *AdminDeleteUserForbidden) Code() int
- func (o *AdminDeleteUserForbidden) Error() string
- func (o *AdminDeleteUserForbidden) GetPayload() *models.ErrorResponseBody
- func (o *AdminDeleteUserForbidden) IsClientError() bool
- func (o *AdminDeleteUserForbidden) IsCode(code int) bool
- func (o *AdminDeleteUserForbidden) IsRedirect() bool
- func (o *AdminDeleteUserForbidden) IsServerError() bool
- func (o *AdminDeleteUserForbidden) IsSuccess() bool
- func (o *AdminDeleteUserForbidden) String() string
- type AdminDeleteUserInternalServerError
- func (o *AdminDeleteUserInternalServerError) Code() int
- func (o *AdminDeleteUserInternalServerError) Error() string
- func (o *AdminDeleteUserInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *AdminDeleteUserInternalServerError) IsClientError() bool
- func (o *AdminDeleteUserInternalServerError) IsCode(code int) bool
- func (o *AdminDeleteUserInternalServerError) IsRedirect() bool
- func (o *AdminDeleteUserInternalServerError) IsServerError() bool
- func (o *AdminDeleteUserInternalServerError) IsSuccess() bool
- func (o *AdminDeleteUserInternalServerError) String() string
- type AdminDeleteUserNotFound
- func (o *AdminDeleteUserNotFound) Code() int
- func (o *AdminDeleteUserNotFound) Error() string
- func (o *AdminDeleteUserNotFound) GetPayload() *models.ErrorResponseBody
- func (o *AdminDeleteUserNotFound) IsClientError() bool
- func (o *AdminDeleteUserNotFound) IsCode(code int) bool
- func (o *AdminDeleteUserNotFound) IsRedirect() bool
- func (o *AdminDeleteUserNotFound) IsServerError() bool
- func (o *AdminDeleteUserNotFound) IsSuccess() bool
- func (o *AdminDeleteUserNotFound) String() string
- type AdminDeleteUserOK
- func (o *AdminDeleteUserOK) Code() int
- func (o *AdminDeleteUserOK) Error() string
- func (o *AdminDeleteUserOK) GetPayload() *models.SuccessResponseBody
- func (o *AdminDeleteUserOK) IsClientError() bool
- func (o *AdminDeleteUserOK) IsCode(code int) bool
- func (o *AdminDeleteUserOK) IsRedirect() bool
- func (o *AdminDeleteUserOK) IsServerError() bool
- func (o *AdminDeleteUserOK) IsSuccess() bool
- func (o *AdminDeleteUserOK) String() string
- type AdminDeleteUserParams
- func NewAdminDeleteUserParams() *AdminDeleteUserParams
- func NewAdminDeleteUserParamsWithContext(ctx context.Context) *AdminDeleteUserParams
- func NewAdminDeleteUserParamsWithHTTPClient(client *http.Client) *AdminDeleteUserParams
- func NewAdminDeleteUserParamsWithTimeout(timeout time.Duration) *AdminDeleteUserParams
- func (o *AdminDeleteUserParams) SetContext(ctx context.Context)
- func (o *AdminDeleteUserParams) SetDefaults()
- func (o *AdminDeleteUserParams) SetHTTPClient(client *http.Client)
- func (o *AdminDeleteUserParams) SetTimeout(timeout time.Duration)
- func (o *AdminDeleteUserParams) SetUserID(userID int64)
- func (o *AdminDeleteUserParams) WithContext(ctx context.Context) *AdminDeleteUserParams
- func (o *AdminDeleteUserParams) WithDefaults() *AdminDeleteUserParams
- func (o *AdminDeleteUserParams) WithHTTPClient(client *http.Client) *AdminDeleteUserParams
- func (o *AdminDeleteUserParams) WithTimeout(timeout time.Duration) *AdminDeleteUserParams
- func (o *AdminDeleteUserParams) WithUserID(userID int64) *AdminDeleteUserParams
- func (o *AdminDeleteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminDeleteUserReader
- type AdminDeleteUserUnauthorized
- func (o *AdminDeleteUserUnauthorized) Code() int
- func (o *AdminDeleteUserUnauthorized) Error() string
- func (o *AdminDeleteUserUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *AdminDeleteUserUnauthorized) IsClientError() bool
- func (o *AdminDeleteUserUnauthorized) IsCode(code int) bool
- func (o *AdminDeleteUserUnauthorized) IsRedirect() bool
- func (o *AdminDeleteUserUnauthorized) IsServerError() bool
- func (o *AdminDeleteUserUnauthorized) IsSuccess() bool
- func (o *AdminDeleteUserUnauthorized) String() string
- type AdminDisableUserForbidden
- func (o *AdminDisableUserForbidden) Code() int
- func (o *AdminDisableUserForbidden) Error() string
- func (o *AdminDisableUserForbidden) GetPayload() *models.ErrorResponseBody
- func (o *AdminDisableUserForbidden) IsClientError() bool
- func (o *AdminDisableUserForbidden) IsCode(code int) bool
- func (o *AdminDisableUserForbidden) IsRedirect() bool
- func (o *AdminDisableUserForbidden) IsServerError() bool
- func (o *AdminDisableUserForbidden) IsSuccess() bool
- func (o *AdminDisableUserForbidden) String() string
- type AdminDisableUserInternalServerError
- func (o *AdminDisableUserInternalServerError) Code() int
- func (o *AdminDisableUserInternalServerError) Error() string
- func (o *AdminDisableUserInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *AdminDisableUserInternalServerError) IsClientError() bool
- func (o *AdminDisableUserInternalServerError) IsCode(code int) bool
- func (o *AdminDisableUserInternalServerError) IsRedirect() bool
- func (o *AdminDisableUserInternalServerError) IsServerError() bool
- func (o *AdminDisableUserInternalServerError) IsSuccess() bool
- func (o *AdminDisableUserInternalServerError) String() string
- type AdminDisableUserNotFound
- func (o *AdminDisableUserNotFound) Code() int
- func (o *AdminDisableUserNotFound) Error() string
- func (o *AdminDisableUserNotFound) GetPayload() *models.ErrorResponseBody
- func (o *AdminDisableUserNotFound) IsClientError() bool
- func (o *AdminDisableUserNotFound) IsCode(code int) bool
- func (o *AdminDisableUserNotFound) IsRedirect() bool
- func (o *AdminDisableUserNotFound) IsServerError() bool
- func (o *AdminDisableUserNotFound) IsSuccess() bool
- func (o *AdminDisableUserNotFound) String() string
- type AdminDisableUserOK
- func (o *AdminDisableUserOK) Code() int
- func (o *AdminDisableUserOK) Error() string
- func (o *AdminDisableUserOK) GetPayload() *models.SuccessResponseBody
- func (o *AdminDisableUserOK) IsClientError() bool
- func (o *AdminDisableUserOK) IsCode(code int) bool
- func (o *AdminDisableUserOK) IsRedirect() bool
- func (o *AdminDisableUserOK) IsServerError() bool
- func (o *AdminDisableUserOK) IsSuccess() bool
- func (o *AdminDisableUserOK) String() string
- type AdminDisableUserParams
- func NewAdminDisableUserParams() *AdminDisableUserParams
- func NewAdminDisableUserParamsWithContext(ctx context.Context) *AdminDisableUserParams
- func NewAdminDisableUserParamsWithHTTPClient(client *http.Client) *AdminDisableUserParams
- func NewAdminDisableUserParamsWithTimeout(timeout time.Duration) *AdminDisableUserParams
- func (o *AdminDisableUserParams) SetContext(ctx context.Context)
- func (o *AdminDisableUserParams) SetDefaults()
- func (o *AdminDisableUserParams) SetHTTPClient(client *http.Client)
- func (o *AdminDisableUserParams) SetTimeout(timeout time.Duration)
- func (o *AdminDisableUserParams) SetUserID(userID int64)
- func (o *AdminDisableUserParams) WithContext(ctx context.Context) *AdminDisableUserParams
- func (o *AdminDisableUserParams) WithDefaults() *AdminDisableUserParams
- func (o *AdminDisableUserParams) WithHTTPClient(client *http.Client) *AdminDisableUserParams
- func (o *AdminDisableUserParams) WithTimeout(timeout time.Duration) *AdminDisableUserParams
- func (o *AdminDisableUserParams) WithUserID(userID int64) *AdminDisableUserParams
- func (o *AdminDisableUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminDisableUserReader
- type AdminDisableUserUnauthorized
- func (o *AdminDisableUserUnauthorized) Code() int
- func (o *AdminDisableUserUnauthorized) Error() string
- func (o *AdminDisableUserUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *AdminDisableUserUnauthorized) IsClientError() bool
- func (o *AdminDisableUserUnauthorized) IsCode(code int) bool
- func (o *AdminDisableUserUnauthorized) IsRedirect() bool
- func (o *AdminDisableUserUnauthorized) IsServerError() bool
- func (o *AdminDisableUserUnauthorized) IsSuccess() bool
- func (o *AdminDisableUserUnauthorized) String() string
- type AdminEnableUserForbidden
- func (o *AdminEnableUserForbidden) Code() int
- func (o *AdminEnableUserForbidden) Error() string
- func (o *AdminEnableUserForbidden) GetPayload() *models.ErrorResponseBody
- func (o *AdminEnableUserForbidden) IsClientError() bool
- func (o *AdminEnableUserForbidden) IsCode(code int) bool
- func (o *AdminEnableUserForbidden) IsRedirect() bool
- func (o *AdminEnableUserForbidden) IsServerError() bool
- func (o *AdminEnableUserForbidden) IsSuccess() bool
- func (o *AdminEnableUserForbidden) String() string
- type AdminEnableUserInternalServerError
- func (o *AdminEnableUserInternalServerError) Code() int
- func (o *AdminEnableUserInternalServerError) Error() string
- func (o *AdminEnableUserInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *AdminEnableUserInternalServerError) IsClientError() bool
- func (o *AdminEnableUserInternalServerError) IsCode(code int) bool
- func (o *AdminEnableUserInternalServerError) IsRedirect() bool
- func (o *AdminEnableUserInternalServerError) IsServerError() bool
- func (o *AdminEnableUserInternalServerError) IsSuccess() bool
- func (o *AdminEnableUserInternalServerError) String() string
- type AdminEnableUserNotFound
- func (o *AdminEnableUserNotFound) Code() int
- func (o *AdminEnableUserNotFound) Error() string
- func (o *AdminEnableUserNotFound) GetPayload() *models.ErrorResponseBody
- func (o *AdminEnableUserNotFound) IsClientError() bool
- func (o *AdminEnableUserNotFound) IsCode(code int) bool
- func (o *AdminEnableUserNotFound) IsRedirect() bool
- func (o *AdminEnableUserNotFound) IsServerError() bool
- func (o *AdminEnableUserNotFound) IsSuccess() bool
- func (o *AdminEnableUserNotFound) String() string
- type AdminEnableUserOK
- func (o *AdminEnableUserOK) Code() int
- func (o *AdminEnableUserOK) Error() string
- func (o *AdminEnableUserOK) GetPayload() *models.SuccessResponseBody
- func (o *AdminEnableUserOK) IsClientError() bool
- func (o *AdminEnableUserOK) IsCode(code int) bool
- func (o *AdminEnableUserOK) IsRedirect() bool
- func (o *AdminEnableUserOK) IsServerError() bool
- func (o *AdminEnableUserOK) IsSuccess() bool
- func (o *AdminEnableUserOK) String() string
- type AdminEnableUserParams
- func NewAdminEnableUserParams() *AdminEnableUserParams
- func NewAdminEnableUserParamsWithContext(ctx context.Context) *AdminEnableUserParams
- func NewAdminEnableUserParamsWithHTTPClient(client *http.Client) *AdminEnableUserParams
- func NewAdminEnableUserParamsWithTimeout(timeout time.Duration) *AdminEnableUserParams
- func (o *AdminEnableUserParams) SetContext(ctx context.Context)
- func (o *AdminEnableUserParams) SetDefaults()
- func (o *AdminEnableUserParams) SetHTTPClient(client *http.Client)
- func (o *AdminEnableUserParams) SetTimeout(timeout time.Duration)
- func (o *AdminEnableUserParams) SetUserID(userID int64)
- func (o *AdminEnableUserParams) WithContext(ctx context.Context) *AdminEnableUserParams
- func (o *AdminEnableUserParams) WithDefaults() *AdminEnableUserParams
- func (o *AdminEnableUserParams) WithHTTPClient(client *http.Client) *AdminEnableUserParams
- func (o *AdminEnableUserParams) WithTimeout(timeout time.Duration) *AdminEnableUserParams
- func (o *AdminEnableUserParams) WithUserID(userID int64) *AdminEnableUserParams
- func (o *AdminEnableUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminEnableUserReader
- type AdminEnableUserUnauthorized
- func (o *AdminEnableUserUnauthorized) Code() int
- func (o *AdminEnableUserUnauthorized) Error() string
- func (o *AdminEnableUserUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *AdminEnableUserUnauthorized) IsClientError() bool
- func (o *AdminEnableUserUnauthorized) IsCode(code int) bool
- func (o *AdminEnableUserUnauthorized) IsRedirect() bool
- func (o *AdminEnableUserUnauthorized) IsServerError() bool
- func (o *AdminEnableUserUnauthorized) IsSuccess() bool
- func (o *AdminEnableUserUnauthorized) String() string
- type AdminGetUserAuthTokensForbidden
- func (o *AdminGetUserAuthTokensForbidden) Code() int
- func (o *AdminGetUserAuthTokensForbidden) Error() string
- func (o *AdminGetUserAuthTokensForbidden) GetPayload() *models.ErrorResponseBody
- func (o *AdminGetUserAuthTokensForbidden) IsClientError() bool
- func (o *AdminGetUserAuthTokensForbidden) IsCode(code int) bool
- func (o *AdminGetUserAuthTokensForbidden) IsRedirect() bool
- func (o *AdminGetUserAuthTokensForbidden) IsServerError() bool
- func (o *AdminGetUserAuthTokensForbidden) IsSuccess() bool
- func (o *AdminGetUserAuthTokensForbidden) String() string
- type AdminGetUserAuthTokensInternalServerError
- func (o *AdminGetUserAuthTokensInternalServerError) Code() int
- func (o *AdminGetUserAuthTokensInternalServerError) Error() string
- func (o *AdminGetUserAuthTokensInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *AdminGetUserAuthTokensInternalServerError) IsClientError() bool
- func (o *AdminGetUserAuthTokensInternalServerError) IsCode(code int) bool
- func (o *AdminGetUserAuthTokensInternalServerError) IsRedirect() bool
- func (o *AdminGetUserAuthTokensInternalServerError) IsServerError() bool
- func (o *AdminGetUserAuthTokensInternalServerError) IsSuccess() bool
- func (o *AdminGetUserAuthTokensInternalServerError) String() string
- type AdminGetUserAuthTokensOK
- func (o *AdminGetUserAuthTokensOK) Code() int
- func (o *AdminGetUserAuthTokensOK) Error() string
- func (o *AdminGetUserAuthTokensOK) GetPayload() []*models.UserToken
- func (o *AdminGetUserAuthTokensOK) IsClientError() bool
- func (o *AdminGetUserAuthTokensOK) IsCode(code int) bool
- func (o *AdminGetUserAuthTokensOK) IsRedirect() bool
- func (o *AdminGetUserAuthTokensOK) IsServerError() bool
- func (o *AdminGetUserAuthTokensOK) IsSuccess() bool
- func (o *AdminGetUserAuthTokensOK) String() string
- type AdminGetUserAuthTokensParams
- func NewAdminGetUserAuthTokensParams() *AdminGetUserAuthTokensParams
- func NewAdminGetUserAuthTokensParamsWithContext(ctx context.Context) *AdminGetUserAuthTokensParams
- func NewAdminGetUserAuthTokensParamsWithHTTPClient(client *http.Client) *AdminGetUserAuthTokensParams
- func NewAdminGetUserAuthTokensParamsWithTimeout(timeout time.Duration) *AdminGetUserAuthTokensParams
- func (o *AdminGetUserAuthTokensParams) SetContext(ctx context.Context)
- func (o *AdminGetUserAuthTokensParams) SetDefaults()
- func (o *AdminGetUserAuthTokensParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetUserAuthTokensParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetUserAuthTokensParams) SetUserID(userID int64)
- func (o *AdminGetUserAuthTokensParams) WithContext(ctx context.Context) *AdminGetUserAuthTokensParams
- func (o *AdminGetUserAuthTokensParams) WithDefaults() *AdminGetUserAuthTokensParams
- func (o *AdminGetUserAuthTokensParams) WithHTTPClient(client *http.Client) *AdminGetUserAuthTokensParams
- func (o *AdminGetUserAuthTokensParams) WithTimeout(timeout time.Duration) *AdminGetUserAuthTokensParams
- func (o *AdminGetUserAuthTokensParams) WithUserID(userID int64) *AdminGetUserAuthTokensParams
- func (o *AdminGetUserAuthTokensParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetUserAuthTokensReader
- type AdminGetUserAuthTokensUnauthorized
- func (o *AdminGetUserAuthTokensUnauthorized) Code() int
- func (o *AdminGetUserAuthTokensUnauthorized) Error() string
- func (o *AdminGetUserAuthTokensUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *AdminGetUserAuthTokensUnauthorized) IsClientError() bool
- func (o *AdminGetUserAuthTokensUnauthorized) IsCode(code int) bool
- func (o *AdminGetUserAuthTokensUnauthorized) IsRedirect() bool
- func (o *AdminGetUserAuthTokensUnauthorized) IsServerError() bool
- func (o *AdminGetUserAuthTokensUnauthorized) IsSuccess() bool
- func (o *AdminGetUserAuthTokensUnauthorized) String() string
- type AdminLogoutUserBadRequest
- func (o *AdminLogoutUserBadRequest) Code() int
- func (o *AdminLogoutUserBadRequest) Error() string
- func (o *AdminLogoutUserBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *AdminLogoutUserBadRequest) IsClientError() bool
- func (o *AdminLogoutUserBadRequest) IsCode(code int) bool
- func (o *AdminLogoutUserBadRequest) IsRedirect() bool
- func (o *AdminLogoutUserBadRequest) IsServerError() bool
- func (o *AdminLogoutUserBadRequest) IsSuccess() bool
- func (o *AdminLogoutUserBadRequest) String() string
- type AdminLogoutUserForbidden
- func (o *AdminLogoutUserForbidden) Code() int
- func (o *AdminLogoutUserForbidden) Error() string
- func (o *AdminLogoutUserForbidden) GetPayload() *models.ErrorResponseBody
- func (o *AdminLogoutUserForbidden) IsClientError() bool
- func (o *AdminLogoutUserForbidden) IsCode(code int) bool
- func (o *AdminLogoutUserForbidden) IsRedirect() bool
- func (o *AdminLogoutUserForbidden) IsServerError() bool
- func (o *AdminLogoutUserForbidden) IsSuccess() bool
- func (o *AdminLogoutUserForbidden) String() string
- type AdminLogoutUserInternalServerError
- func (o *AdminLogoutUserInternalServerError) Code() int
- func (o *AdminLogoutUserInternalServerError) Error() string
- func (o *AdminLogoutUserInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *AdminLogoutUserInternalServerError) IsClientError() bool
- func (o *AdminLogoutUserInternalServerError) IsCode(code int) bool
- func (o *AdminLogoutUserInternalServerError) IsRedirect() bool
- func (o *AdminLogoutUserInternalServerError) IsServerError() bool
- func (o *AdminLogoutUserInternalServerError) IsSuccess() bool
- func (o *AdminLogoutUserInternalServerError) String() string
- type AdminLogoutUserNotFound
- func (o *AdminLogoutUserNotFound) Code() int
- func (o *AdminLogoutUserNotFound) Error() string
- func (o *AdminLogoutUserNotFound) GetPayload() *models.ErrorResponseBody
- func (o *AdminLogoutUserNotFound) IsClientError() bool
- func (o *AdminLogoutUserNotFound) IsCode(code int) bool
- func (o *AdminLogoutUserNotFound) IsRedirect() bool
- func (o *AdminLogoutUserNotFound) IsServerError() bool
- func (o *AdminLogoutUserNotFound) IsSuccess() bool
- func (o *AdminLogoutUserNotFound) String() string
- type AdminLogoutUserOK
- func (o *AdminLogoutUserOK) Code() int
- func (o *AdminLogoutUserOK) Error() string
- func (o *AdminLogoutUserOK) GetPayload() *models.SuccessResponseBody
- func (o *AdminLogoutUserOK) IsClientError() bool
- func (o *AdminLogoutUserOK) IsCode(code int) bool
- func (o *AdminLogoutUserOK) IsRedirect() bool
- func (o *AdminLogoutUserOK) IsServerError() bool
- func (o *AdminLogoutUserOK) IsSuccess() bool
- func (o *AdminLogoutUserOK) String() string
- type AdminLogoutUserParams
- func NewAdminLogoutUserParams() *AdminLogoutUserParams
- func NewAdminLogoutUserParamsWithContext(ctx context.Context) *AdminLogoutUserParams
- func NewAdminLogoutUserParamsWithHTTPClient(client *http.Client) *AdminLogoutUserParams
- func NewAdminLogoutUserParamsWithTimeout(timeout time.Duration) *AdminLogoutUserParams
- func (o *AdminLogoutUserParams) SetContext(ctx context.Context)
- func (o *AdminLogoutUserParams) SetDefaults()
- func (o *AdminLogoutUserParams) SetHTTPClient(client *http.Client)
- func (o *AdminLogoutUserParams) SetTimeout(timeout time.Duration)
- func (o *AdminLogoutUserParams) SetUserID(userID int64)
- func (o *AdminLogoutUserParams) WithContext(ctx context.Context) *AdminLogoutUserParams
- func (o *AdminLogoutUserParams) WithDefaults() *AdminLogoutUserParams
- func (o *AdminLogoutUserParams) WithHTTPClient(client *http.Client) *AdminLogoutUserParams
- func (o *AdminLogoutUserParams) WithTimeout(timeout time.Duration) *AdminLogoutUserParams
- func (o *AdminLogoutUserParams) WithUserID(userID int64) *AdminLogoutUserParams
- func (o *AdminLogoutUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminLogoutUserReader
- type AdminLogoutUserUnauthorized
- func (o *AdminLogoutUserUnauthorized) Code() int
- func (o *AdminLogoutUserUnauthorized) Error() string
- func (o *AdminLogoutUserUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *AdminLogoutUserUnauthorized) IsClientError() bool
- func (o *AdminLogoutUserUnauthorized) IsCode(code int) bool
- func (o *AdminLogoutUserUnauthorized) IsRedirect() bool
- func (o *AdminLogoutUserUnauthorized) IsServerError() bool
- func (o *AdminLogoutUserUnauthorized) IsSuccess() bool
- func (o *AdminLogoutUserUnauthorized) String() string
- type AdminRevokeUserAuthTokenBadRequest
- func (o *AdminRevokeUserAuthTokenBadRequest) Code() int
- func (o *AdminRevokeUserAuthTokenBadRequest) Error() string
- func (o *AdminRevokeUserAuthTokenBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *AdminRevokeUserAuthTokenBadRequest) IsClientError() bool
- func (o *AdminRevokeUserAuthTokenBadRequest) IsCode(code int) bool
- func (o *AdminRevokeUserAuthTokenBadRequest) IsRedirect() bool
- func (o *AdminRevokeUserAuthTokenBadRequest) IsServerError() bool
- func (o *AdminRevokeUserAuthTokenBadRequest) IsSuccess() bool
- func (o *AdminRevokeUserAuthTokenBadRequest) String() string
- type AdminRevokeUserAuthTokenForbidden
- func (o *AdminRevokeUserAuthTokenForbidden) Code() int
- func (o *AdminRevokeUserAuthTokenForbidden) Error() string
- func (o *AdminRevokeUserAuthTokenForbidden) GetPayload() *models.ErrorResponseBody
- func (o *AdminRevokeUserAuthTokenForbidden) IsClientError() bool
- func (o *AdminRevokeUserAuthTokenForbidden) IsCode(code int) bool
- func (o *AdminRevokeUserAuthTokenForbidden) IsRedirect() bool
- func (o *AdminRevokeUserAuthTokenForbidden) IsServerError() bool
- func (o *AdminRevokeUserAuthTokenForbidden) IsSuccess() bool
- func (o *AdminRevokeUserAuthTokenForbidden) String() string
- type AdminRevokeUserAuthTokenInternalServerError
- func (o *AdminRevokeUserAuthTokenInternalServerError) Code() int
- func (o *AdminRevokeUserAuthTokenInternalServerError) Error() string
- func (o *AdminRevokeUserAuthTokenInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *AdminRevokeUserAuthTokenInternalServerError) IsClientError() bool
- func (o *AdminRevokeUserAuthTokenInternalServerError) IsCode(code int) bool
- func (o *AdminRevokeUserAuthTokenInternalServerError) IsRedirect() bool
- func (o *AdminRevokeUserAuthTokenInternalServerError) IsServerError() bool
- func (o *AdminRevokeUserAuthTokenInternalServerError) IsSuccess() bool
- func (o *AdminRevokeUserAuthTokenInternalServerError) String() string
- type AdminRevokeUserAuthTokenNotFound
- func (o *AdminRevokeUserAuthTokenNotFound) Code() int
- func (o *AdminRevokeUserAuthTokenNotFound) Error() string
- func (o *AdminRevokeUserAuthTokenNotFound) GetPayload() *models.ErrorResponseBody
- func (o *AdminRevokeUserAuthTokenNotFound) IsClientError() bool
- func (o *AdminRevokeUserAuthTokenNotFound) IsCode(code int) bool
- func (o *AdminRevokeUserAuthTokenNotFound) IsRedirect() bool
- func (o *AdminRevokeUserAuthTokenNotFound) IsServerError() bool
- func (o *AdminRevokeUserAuthTokenNotFound) IsSuccess() bool
- func (o *AdminRevokeUserAuthTokenNotFound) String() string
- type AdminRevokeUserAuthTokenOK
- func (o *AdminRevokeUserAuthTokenOK) Code() int
- func (o *AdminRevokeUserAuthTokenOK) Error() string
- func (o *AdminRevokeUserAuthTokenOK) GetPayload() *models.SuccessResponseBody
- func (o *AdminRevokeUserAuthTokenOK) IsClientError() bool
- func (o *AdminRevokeUserAuthTokenOK) IsCode(code int) bool
- func (o *AdminRevokeUserAuthTokenOK) IsRedirect() bool
- func (o *AdminRevokeUserAuthTokenOK) IsServerError() bool
- func (o *AdminRevokeUserAuthTokenOK) IsSuccess() bool
- func (o *AdminRevokeUserAuthTokenOK) String() string
- type AdminRevokeUserAuthTokenParams
- func NewAdminRevokeUserAuthTokenParams() *AdminRevokeUserAuthTokenParams
- func NewAdminRevokeUserAuthTokenParamsWithContext(ctx context.Context) *AdminRevokeUserAuthTokenParams
- func NewAdminRevokeUserAuthTokenParamsWithHTTPClient(client *http.Client) *AdminRevokeUserAuthTokenParams
- func NewAdminRevokeUserAuthTokenParamsWithTimeout(timeout time.Duration) *AdminRevokeUserAuthTokenParams
- func (o *AdminRevokeUserAuthTokenParams) SetBody(body *models.RevokeAuthTokenCmd)
- func (o *AdminRevokeUserAuthTokenParams) SetContext(ctx context.Context)
- func (o *AdminRevokeUserAuthTokenParams) SetDefaults()
- func (o *AdminRevokeUserAuthTokenParams) SetHTTPClient(client *http.Client)
- func (o *AdminRevokeUserAuthTokenParams) SetTimeout(timeout time.Duration)
- func (o *AdminRevokeUserAuthTokenParams) SetUserID(userID int64)
- func (o *AdminRevokeUserAuthTokenParams) WithBody(body *models.RevokeAuthTokenCmd) *AdminRevokeUserAuthTokenParams
- func (o *AdminRevokeUserAuthTokenParams) WithContext(ctx context.Context) *AdminRevokeUserAuthTokenParams
- func (o *AdminRevokeUserAuthTokenParams) WithDefaults() *AdminRevokeUserAuthTokenParams
- func (o *AdminRevokeUserAuthTokenParams) WithHTTPClient(client *http.Client) *AdminRevokeUserAuthTokenParams
- func (o *AdminRevokeUserAuthTokenParams) WithTimeout(timeout time.Duration) *AdminRevokeUserAuthTokenParams
- func (o *AdminRevokeUserAuthTokenParams) WithUserID(userID int64) *AdminRevokeUserAuthTokenParams
- func (o *AdminRevokeUserAuthTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminRevokeUserAuthTokenReader
- type AdminRevokeUserAuthTokenUnauthorized
- func (o *AdminRevokeUserAuthTokenUnauthorized) Code() int
- func (o *AdminRevokeUserAuthTokenUnauthorized) Error() string
- func (o *AdminRevokeUserAuthTokenUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *AdminRevokeUserAuthTokenUnauthorized) IsClientError() bool
- func (o *AdminRevokeUserAuthTokenUnauthorized) IsCode(code int) bool
- func (o *AdminRevokeUserAuthTokenUnauthorized) IsRedirect() bool
- func (o *AdminRevokeUserAuthTokenUnauthorized) IsServerError() bool
- func (o *AdminRevokeUserAuthTokenUnauthorized) IsSuccess() bool
- func (o *AdminRevokeUserAuthTokenUnauthorized) String() string
- type AdminUpdateUserPasswordBadRequest
- func (o *AdminUpdateUserPasswordBadRequest) Code() int
- func (o *AdminUpdateUserPasswordBadRequest) Error() string
- func (o *AdminUpdateUserPasswordBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *AdminUpdateUserPasswordBadRequest) IsClientError() bool
- func (o *AdminUpdateUserPasswordBadRequest) IsCode(code int) bool
- func (o *AdminUpdateUserPasswordBadRequest) IsRedirect() bool
- func (o *AdminUpdateUserPasswordBadRequest) IsServerError() bool
- func (o *AdminUpdateUserPasswordBadRequest) IsSuccess() bool
- func (o *AdminUpdateUserPasswordBadRequest) String() string
- type AdminUpdateUserPasswordForbidden
- func (o *AdminUpdateUserPasswordForbidden) Code() int
- func (o *AdminUpdateUserPasswordForbidden) Error() string
- func (o *AdminUpdateUserPasswordForbidden) GetPayload() *models.ErrorResponseBody
- func (o *AdminUpdateUserPasswordForbidden) IsClientError() bool
- func (o *AdminUpdateUserPasswordForbidden) IsCode(code int) bool
- func (o *AdminUpdateUserPasswordForbidden) IsRedirect() bool
- func (o *AdminUpdateUserPasswordForbidden) IsServerError() bool
- func (o *AdminUpdateUserPasswordForbidden) IsSuccess() bool
- func (o *AdminUpdateUserPasswordForbidden) String() string
- type AdminUpdateUserPasswordInternalServerError
- func (o *AdminUpdateUserPasswordInternalServerError) Code() int
- func (o *AdminUpdateUserPasswordInternalServerError) Error() string
- func (o *AdminUpdateUserPasswordInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *AdminUpdateUserPasswordInternalServerError) IsClientError() bool
- func (o *AdminUpdateUserPasswordInternalServerError) IsCode(code int) bool
- func (o *AdminUpdateUserPasswordInternalServerError) IsRedirect() bool
- func (o *AdminUpdateUserPasswordInternalServerError) IsServerError() bool
- func (o *AdminUpdateUserPasswordInternalServerError) IsSuccess() bool
- func (o *AdminUpdateUserPasswordInternalServerError) String() string
- type AdminUpdateUserPasswordOK
- func (o *AdminUpdateUserPasswordOK) Code() int
- func (o *AdminUpdateUserPasswordOK) Error() string
- func (o *AdminUpdateUserPasswordOK) GetPayload() *models.SuccessResponseBody
- func (o *AdminUpdateUserPasswordOK) IsClientError() bool
- func (o *AdminUpdateUserPasswordOK) IsCode(code int) bool
- func (o *AdminUpdateUserPasswordOK) IsRedirect() bool
- func (o *AdminUpdateUserPasswordOK) IsServerError() bool
- func (o *AdminUpdateUserPasswordOK) IsSuccess() bool
- func (o *AdminUpdateUserPasswordOK) String() string
- type AdminUpdateUserPasswordParams
- func NewAdminUpdateUserPasswordParams() *AdminUpdateUserPasswordParams
- func NewAdminUpdateUserPasswordParamsWithContext(ctx context.Context) *AdminUpdateUserPasswordParams
- func NewAdminUpdateUserPasswordParamsWithHTTPClient(client *http.Client) *AdminUpdateUserPasswordParams
- func NewAdminUpdateUserPasswordParamsWithTimeout(timeout time.Duration) *AdminUpdateUserPasswordParams
- func (o *AdminUpdateUserPasswordParams) SetBody(body *models.AdminUpdateUserPasswordForm)
- func (o *AdminUpdateUserPasswordParams) SetContext(ctx context.Context)
- func (o *AdminUpdateUserPasswordParams) SetDefaults()
- func (o *AdminUpdateUserPasswordParams) SetHTTPClient(client *http.Client)
- func (o *AdminUpdateUserPasswordParams) SetTimeout(timeout time.Duration)
- func (o *AdminUpdateUserPasswordParams) SetUserID(userID int64)
- func (o *AdminUpdateUserPasswordParams) WithBody(body *models.AdminUpdateUserPasswordForm) *AdminUpdateUserPasswordParams
- func (o *AdminUpdateUserPasswordParams) WithContext(ctx context.Context) *AdminUpdateUserPasswordParams
- func (o *AdminUpdateUserPasswordParams) WithDefaults() *AdminUpdateUserPasswordParams
- func (o *AdminUpdateUserPasswordParams) WithHTTPClient(client *http.Client) *AdminUpdateUserPasswordParams
- func (o *AdminUpdateUserPasswordParams) WithTimeout(timeout time.Duration) *AdminUpdateUserPasswordParams
- func (o *AdminUpdateUserPasswordParams) WithUserID(userID int64) *AdminUpdateUserPasswordParams
- func (o *AdminUpdateUserPasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUpdateUserPasswordReader
- type AdminUpdateUserPasswordUnauthorized
- func (o *AdminUpdateUserPasswordUnauthorized) Code() int
- func (o *AdminUpdateUserPasswordUnauthorized) Error() string
- func (o *AdminUpdateUserPasswordUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *AdminUpdateUserPasswordUnauthorized) IsClientError() bool
- func (o *AdminUpdateUserPasswordUnauthorized) IsCode(code int) bool
- func (o *AdminUpdateUserPasswordUnauthorized) IsRedirect() bool
- func (o *AdminUpdateUserPasswordUnauthorized) IsServerError() bool
- func (o *AdminUpdateUserPasswordUnauthorized) IsSuccess() bool
- func (o *AdminUpdateUserPasswordUnauthorized) String() string
- type AdminUpdateUserPermissionsBadRequest
- func (o *AdminUpdateUserPermissionsBadRequest) Code() int
- func (o *AdminUpdateUserPermissionsBadRequest) Error() string
- func (o *AdminUpdateUserPermissionsBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *AdminUpdateUserPermissionsBadRequest) IsClientError() bool
- func (o *AdminUpdateUserPermissionsBadRequest) IsCode(code int) bool
- func (o *AdminUpdateUserPermissionsBadRequest) IsRedirect() bool
- func (o *AdminUpdateUserPermissionsBadRequest) IsServerError() bool
- func (o *AdminUpdateUserPermissionsBadRequest) IsSuccess() bool
- func (o *AdminUpdateUserPermissionsBadRequest) String() string
- type AdminUpdateUserPermissionsForbidden
- func (o *AdminUpdateUserPermissionsForbidden) Code() int
- func (o *AdminUpdateUserPermissionsForbidden) Error() string
- func (o *AdminUpdateUserPermissionsForbidden) GetPayload() *models.ErrorResponseBody
- func (o *AdminUpdateUserPermissionsForbidden) IsClientError() bool
- func (o *AdminUpdateUserPermissionsForbidden) IsCode(code int) bool
- func (o *AdminUpdateUserPermissionsForbidden) IsRedirect() bool
- func (o *AdminUpdateUserPermissionsForbidden) IsServerError() bool
- func (o *AdminUpdateUserPermissionsForbidden) IsSuccess() bool
- func (o *AdminUpdateUserPermissionsForbidden) String() string
- type AdminUpdateUserPermissionsInternalServerError
- func (o *AdminUpdateUserPermissionsInternalServerError) Code() int
- func (o *AdminUpdateUserPermissionsInternalServerError) Error() string
- func (o *AdminUpdateUserPermissionsInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *AdminUpdateUserPermissionsInternalServerError) IsClientError() bool
- func (o *AdminUpdateUserPermissionsInternalServerError) IsCode(code int) bool
- func (o *AdminUpdateUserPermissionsInternalServerError) IsRedirect() bool
- func (o *AdminUpdateUserPermissionsInternalServerError) IsServerError() bool
- func (o *AdminUpdateUserPermissionsInternalServerError) IsSuccess() bool
- func (o *AdminUpdateUserPermissionsInternalServerError) String() string
- type AdminUpdateUserPermissionsOK
- func (o *AdminUpdateUserPermissionsOK) Code() int
- func (o *AdminUpdateUserPermissionsOK) Error() string
- func (o *AdminUpdateUserPermissionsOK) GetPayload() *models.SuccessResponseBody
- func (o *AdminUpdateUserPermissionsOK) IsClientError() bool
- func (o *AdminUpdateUserPermissionsOK) IsCode(code int) bool
- func (o *AdminUpdateUserPermissionsOK) IsRedirect() bool
- func (o *AdminUpdateUserPermissionsOK) IsServerError() bool
- func (o *AdminUpdateUserPermissionsOK) IsSuccess() bool
- func (o *AdminUpdateUserPermissionsOK) String() string
- type AdminUpdateUserPermissionsParams
- func NewAdminUpdateUserPermissionsParams() *AdminUpdateUserPermissionsParams
- func NewAdminUpdateUserPermissionsParamsWithContext(ctx context.Context) *AdminUpdateUserPermissionsParams
- func NewAdminUpdateUserPermissionsParamsWithHTTPClient(client *http.Client) *AdminUpdateUserPermissionsParams
- func NewAdminUpdateUserPermissionsParamsWithTimeout(timeout time.Duration) *AdminUpdateUserPermissionsParams
- func (o *AdminUpdateUserPermissionsParams) SetBody(body *models.AdminUpdateUserPermissionsForm)
- func (o *AdminUpdateUserPermissionsParams) SetContext(ctx context.Context)
- func (o *AdminUpdateUserPermissionsParams) SetDefaults()
- func (o *AdminUpdateUserPermissionsParams) SetHTTPClient(client *http.Client)
- func (o *AdminUpdateUserPermissionsParams) SetTimeout(timeout time.Duration)
- func (o *AdminUpdateUserPermissionsParams) SetUserID(userID int64)
- func (o *AdminUpdateUserPermissionsParams) WithBody(body *models.AdminUpdateUserPermissionsForm) *AdminUpdateUserPermissionsParams
- func (o *AdminUpdateUserPermissionsParams) WithContext(ctx context.Context) *AdminUpdateUserPermissionsParams
- func (o *AdminUpdateUserPermissionsParams) WithDefaults() *AdminUpdateUserPermissionsParams
- func (o *AdminUpdateUserPermissionsParams) WithHTTPClient(client *http.Client) *AdminUpdateUserPermissionsParams
- func (o *AdminUpdateUserPermissionsParams) WithTimeout(timeout time.Duration) *AdminUpdateUserPermissionsParams
- func (o *AdminUpdateUserPermissionsParams) WithUserID(userID int64) *AdminUpdateUserPermissionsParams
- func (o *AdminUpdateUserPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUpdateUserPermissionsReader
- type AdminUpdateUserPermissionsUnauthorized
- func (o *AdminUpdateUserPermissionsUnauthorized) Code() int
- func (o *AdminUpdateUserPermissionsUnauthorized) Error() string
- func (o *AdminUpdateUserPermissionsUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *AdminUpdateUserPermissionsUnauthorized) IsClientError() bool
- func (o *AdminUpdateUserPermissionsUnauthorized) IsCode(code int) bool
- func (o *AdminUpdateUserPermissionsUnauthorized) IsRedirect() bool
- func (o *AdminUpdateUserPermissionsUnauthorized) IsServerError() bool
- func (o *AdminUpdateUserPermissionsUnauthorized) IsSuccess() bool
- func (o *AdminUpdateUserPermissionsUnauthorized) String() string
- type Client
- func (a *Client) AdminCreateUser(body *models.AdminCreateUserForm, opts ...ClientOption) (*AdminCreateUserOK, error)
- func (a *Client) AdminCreateUserWithParams(params *AdminCreateUserParams, opts ...ClientOption) (*AdminCreateUserOK, error)
- func (a *Client) AdminDeleteUser(userID int64, opts ...ClientOption) (*AdminDeleteUserOK, error)
- func (a *Client) AdminDeleteUserWithParams(params *AdminDeleteUserParams, opts ...ClientOption) (*AdminDeleteUserOK, error)
- func (a *Client) AdminDisableUser(userID int64, opts ...ClientOption) (*AdminDisableUserOK, error)
- func (a *Client) AdminDisableUserWithParams(params *AdminDisableUserParams, opts ...ClientOption) (*AdminDisableUserOK, error)
- func (a *Client) AdminEnableUser(userID int64, opts ...ClientOption) (*AdminEnableUserOK, error)
- func (a *Client) AdminEnableUserWithParams(params *AdminEnableUserParams, opts ...ClientOption) (*AdminEnableUserOK, error)
- func (a *Client) AdminGetUserAuthTokens(userID int64, opts ...ClientOption) (*AdminGetUserAuthTokensOK, error)
- func (a *Client) AdminGetUserAuthTokensWithParams(params *AdminGetUserAuthTokensParams, opts ...ClientOption) (*AdminGetUserAuthTokensOK, error)
- func (a *Client) AdminLogoutUser(userID int64, opts ...ClientOption) (*AdminLogoutUserOK, error)
- func (a *Client) AdminLogoutUserWithParams(params *AdminLogoutUserParams, opts ...ClientOption) (*AdminLogoutUserOK, error)
- func (a *Client) AdminRevokeUserAuthToken(userID int64, body *models.RevokeAuthTokenCmd, opts ...ClientOption) (*AdminRevokeUserAuthTokenOK, error)
- func (a *Client) AdminRevokeUserAuthTokenWithParams(params *AdminRevokeUserAuthTokenParams, opts ...ClientOption) (*AdminRevokeUserAuthTokenOK, error)
- func (a *Client) AdminUpdateUserPassword(userID int64, body *models.AdminUpdateUserPasswordForm, opts ...ClientOption) (*AdminUpdateUserPasswordOK, error)
- func (a *Client) AdminUpdateUserPasswordWithParams(params *AdminUpdateUserPasswordParams, opts ...ClientOption) (*AdminUpdateUserPasswordOK, error)
- func (a *Client) AdminUpdateUserPermissions(userID int64, body *models.AdminUpdateUserPermissionsForm, ...) (*AdminUpdateUserPermissionsOK, error)
- func (a *Client) AdminUpdateUserPermissionsWithParams(params *AdminUpdateUserPermissionsParams, opts ...ClientOption) (*AdminUpdateUserPermissionsOK, error)
- func (a *Client) GetUserQuota(userID int64, opts ...ClientOption) (*GetUserQuotaOK, error)
- func (a *Client) GetUserQuotaWithParams(params *GetUserQuotaParams, opts ...ClientOption) (*GetUserQuotaOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateUserQuota(params *UpdateUserQuotaParams, opts ...ClientOption) (*UpdateUserQuotaOK, error)
- type ClientOption
- type ClientService
- type GetUserQuotaForbidden
- func (o *GetUserQuotaForbidden) Code() int
- func (o *GetUserQuotaForbidden) Error() string
- func (o *GetUserQuotaForbidden) GetPayload() *models.ErrorResponseBody
- func (o *GetUserQuotaForbidden) IsClientError() bool
- func (o *GetUserQuotaForbidden) IsCode(code int) bool
- func (o *GetUserQuotaForbidden) IsRedirect() bool
- func (o *GetUserQuotaForbidden) IsServerError() bool
- func (o *GetUserQuotaForbidden) IsSuccess() bool
- func (o *GetUserQuotaForbidden) String() string
- type GetUserQuotaInternalServerError
- func (o *GetUserQuotaInternalServerError) Code() int
- func (o *GetUserQuotaInternalServerError) Error() string
- func (o *GetUserQuotaInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetUserQuotaInternalServerError) IsClientError() bool
- func (o *GetUserQuotaInternalServerError) IsCode(code int) bool
- func (o *GetUserQuotaInternalServerError) IsRedirect() bool
- func (o *GetUserQuotaInternalServerError) IsServerError() bool
- func (o *GetUserQuotaInternalServerError) IsSuccess() bool
- func (o *GetUserQuotaInternalServerError) String() string
- type GetUserQuotaNotFound
- func (o *GetUserQuotaNotFound) Code() int
- func (o *GetUserQuotaNotFound) Error() string
- func (o *GetUserQuotaNotFound) GetPayload() *models.ErrorResponseBody
- func (o *GetUserQuotaNotFound) IsClientError() bool
- func (o *GetUserQuotaNotFound) IsCode(code int) bool
- func (o *GetUserQuotaNotFound) IsRedirect() bool
- func (o *GetUserQuotaNotFound) IsServerError() bool
- func (o *GetUserQuotaNotFound) IsSuccess() bool
- func (o *GetUserQuotaNotFound) String() string
- type GetUserQuotaOK
- func (o *GetUserQuotaOK) Code() int
- func (o *GetUserQuotaOK) Error() string
- func (o *GetUserQuotaOK) GetPayload() []*models.QuotaDTO
- func (o *GetUserQuotaOK) IsClientError() bool
- func (o *GetUserQuotaOK) IsCode(code int) bool
- func (o *GetUserQuotaOK) IsRedirect() bool
- func (o *GetUserQuotaOK) IsServerError() bool
- func (o *GetUserQuotaOK) IsSuccess() bool
- func (o *GetUserQuotaOK) String() string
- type GetUserQuotaParams
- func (o *GetUserQuotaParams) SetContext(ctx context.Context)
- func (o *GetUserQuotaParams) SetDefaults()
- func (o *GetUserQuotaParams) SetHTTPClient(client *http.Client)
- func (o *GetUserQuotaParams) SetTimeout(timeout time.Duration)
- func (o *GetUserQuotaParams) SetUserID(userID int64)
- func (o *GetUserQuotaParams) WithContext(ctx context.Context) *GetUserQuotaParams
- func (o *GetUserQuotaParams) WithDefaults() *GetUserQuotaParams
- func (o *GetUserQuotaParams) WithHTTPClient(client *http.Client) *GetUserQuotaParams
- func (o *GetUserQuotaParams) WithTimeout(timeout time.Duration) *GetUserQuotaParams
- func (o *GetUserQuotaParams) WithUserID(userID int64) *GetUserQuotaParams
- func (o *GetUserQuotaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserQuotaReader
- type GetUserQuotaUnauthorized
- func (o *GetUserQuotaUnauthorized) Code() int
- func (o *GetUserQuotaUnauthorized) Error() string
- func (o *GetUserQuotaUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetUserQuotaUnauthorized) IsClientError() bool
- func (o *GetUserQuotaUnauthorized) IsCode(code int) bool
- func (o *GetUserQuotaUnauthorized) IsRedirect() bool
- func (o *GetUserQuotaUnauthorized) IsServerError() bool
- func (o *GetUserQuotaUnauthorized) IsSuccess() bool
- func (o *GetUserQuotaUnauthorized) String() string
- type UpdateUserQuotaForbidden
- func (o *UpdateUserQuotaForbidden) Code() int
- func (o *UpdateUserQuotaForbidden) Error() string
- func (o *UpdateUserQuotaForbidden) GetPayload() *models.ErrorResponseBody
- func (o *UpdateUserQuotaForbidden) IsClientError() bool
- func (o *UpdateUserQuotaForbidden) IsCode(code int) bool
- func (o *UpdateUserQuotaForbidden) IsRedirect() bool
- func (o *UpdateUserQuotaForbidden) IsServerError() bool
- func (o *UpdateUserQuotaForbidden) IsSuccess() bool
- func (o *UpdateUserQuotaForbidden) String() string
- type UpdateUserQuotaInternalServerError
- func (o *UpdateUserQuotaInternalServerError) Code() int
- func (o *UpdateUserQuotaInternalServerError) Error() string
- func (o *UpdateUserQuotaInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *UpdateUserQuotaInternalServerError) IsClientError() bool
- func (o *UpdateUserQuotaInternalServerError) IsCode(code int) bool
- func (o *UpdateUserQuotaInternalServerError) IsRedirect() bool
- func (o *UpdateUserQuotaInternalServerError) IsServerError() bool
- func (o *UpdateUserQuotaInternalServerError) IsSuccess() bool
- func (o *UpdateUserQuotaInternalServerError) String() string
- type UpdateUserQuotaNotFound
- func (o *UpdateUserQuotaNotFound) Code() int
- func (o *UpdateUserQuotaNotFound) Error() string
- func (o *UpdateUserQuotaNotFound) GetPayload() *models.ErrorResponseBody
- func (o *UpdateUserQuotaNotFound) IsClientError() bool
- func (o *UpdateUserQuotaNotFound) IsCode(code int) bool
- func (o *UpdateUserQuotaNotFound) IsRedirect() bool
- func (o *UpdateUserQuotaNotFound) IsServerError() bool
- func (o *UpdateUserQuotaNotFound) IsSuccess() bool
- func (o *UpdateUserQuotaNotFound) String() string
- type UpdateUserQuotaOK
- func (o *UpdateUserQuotaOK) Code() int
- func (o *UpdateUserQuotaOK) Error() string
- func (o *UpdateUserQuotaOK) GetPayload() *models.SuccessResponseBody
- func (o *UpdateUserQuotaOK) IsClientError() bool
- func (o *UpdateUserQuotaOK) IsCode(code int) bool
- func (o *UpdateUserQuotaOK) IsRedirect() bool
- func (o *UpdateUserQuotaOK) IsServerError() bool
- func (o *UpdateUserQuotaOK) IsSuccess() bool
- func (o *UpdateUserQuotaOK) String() string
- type UpdateUserQuotaParams
- func NewUpdateUserQuotaParams() *UpdateUserQuotaParams
- func NewUpdateUserQuotaParamsWithContext(ctx context.Context) *UpdateUserQuotaParams
- func NewUpdateUserQuotaParamsWithHTTPClient(client *http.Client) *UpdateUserQuotaParams
- func NewUpdateUserQuotaParamsWithTimeout(timeout time.Duration) *UpdateUserQuotaParams
- func (o *UpdateUserQuotaParams) SetBody(body *models.UpdateQuotaCmd)
- func (o *UpdateUserQuotaParams) SetContext(ctx context.Context)
- func (o *UpdateUserQuotaParams) SetDefaults()
- func (o *UpdateUserQuotaParams) SetHTTPClient(client *http.Client)
- func (o *UpdateUserQuotaParams) SetQuotaTarget(quotaTarget string)
- func (o *UpdateUserQuotaParams) SetTimeout(timeout time.Duration)
- func (o *UpdateUserQuotaParams) SetUserID(userID int64)
- func (o *UpdateUserQuotaParams) WithBody(body *models.UpdateQuotaCmd) *UpdateUserQuotaParams
- func (o *UpdateUserQuotaParams) WithContext(ctx context.Context) *UpdateUserQuotaParams
- func (o *UpdateUserQuotaParams) WithDefaults() *UpdateUserQuotaParams
- func (o *UpdateUserQuotaParams) WithHTTPClient(client *http.Client) *UpdateUserQuotaParams
- func (o *UpdateUserQuotaParams) WithQuotaTarget(quotaTarget string) *UpdateUserQuotaParams
- func (o *UpdateUserQuotaParams) WithTimeout(timeout time.Duration) *UpdateUserQuotaParams
- func (o *UpdateUserQuotaParams) WithUserID(userID int64) *UpdateUserQuotaParams
- func (o *UpdateUserQuotaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUserQuotaReader
- type UpdateUserQuotaUnauthorized
- func (o *UpdateUserQuotaUnauthorized) Code() int
- func (o *UpdateUserQuotaUnauthorized) Error() string
- func (o *UpdateUserQuotaUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *UpdateUserQuotaUnauthorized) IsClientError() bool
- func (o *UpdateUserQuotaUnauthorized) IsCode(code int) bool
- func (o *UpdateUserQuotaUnauthorized) IsRedirect() bool
- func (o *UpdateUserQuotaUnauthorized) IsServerError() bool
- func (o *UpdateUserQuotaUnauthorized) IsSuccess() bool
- func (o *UpdateUserQuotaUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminCreateUserBadRequest ¶
type AdminCreateUserBadRequest struct {
Payload *models.ErrorResponseBody
}
AdminCreateUserBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewAdminCreateUserBadRequest ¶
func NewAdminCreateUserBadRequest() *AdminCreateUserBadRequest
NewAdminCreateUserBadRequest creates a AdminCreateUserBadRequest with default headers values
func (*AdminCreateUserBadRequest) Code ¶
func (o *AdminCreateUserBadRequest) Code() int
Code gets the status code for the admin create user bad request response
func (*AdminCreateUserBadRequest) Error ¶
func (o *AdminCreateUserBadRequest) Error() string
func (*AdminCreateUserBadRequest) GetPayload ¶
func (o *AdminCreateUserBadRequest) GetPayload() *models.ErrorResponseBody
func (*AdminCreateUserBadRequest) IsClientError ¶
func (o *AdminCreateUserBadRequest) IsClientError() bool
IsClientError returns true when this admin create user bad request response has a 4xx status code
func (*AdminCreateUserBadRequest) IsCode ¶
func (o *AdminCreateUserBadRequest) IsCode(code int) bool
IsCode returns true when this admin create user bad request response a status code equal to that given
func (*AdminCreateUserBadRequest) IsRedirect ¶
func (o *AdminCreateUserBadRequest) IsRedirect() bool
IsRedirect returns true when this admin create user bad request response has a 3xx status code
func (*AdminCreateUserBadRequest) IsServerError ¶
func (o *AdminCreateUserBadRequest) IsServerError() bool
IsServerError returns true when this admin create user bad request response has a 5xx status code
func (*AdminCreateUserBadRequest) IsSuccess ¶
func (o *AdminCreateUserBadRequest) IsSuccess() bool
IsSuccess returns true when this admin create user bad request response has a 2xx status code
func (*AdminCreateUserBadRequest) String ¶
func (o *AdminCreateUserBadRequest) String() string
type AdminCreateUserForbidden ¶
type AdminCreateUserForbidden struct {
Payload *models.ErrorResponseBody
}
AdminCreateUserForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewAdminCreateUserForbidden ¶
func NewAdminCreateUserForbidden() *AdminCreateUserForbidden
NewAdminCreateUserForbidden creates a AdminCreateUserForbidden with default headers values
func (*AdminCreateUserForbidden) Code ¶
func (o *AdminCreateUserForbidden) Code() int
Code gets the status code for the admin create user forbidden response
func (*AdminCreateUserForbidden) Error ¶
func (o *AdminCreateUserForbidden) Error() string
func (*AdminCreateUserForbidden) GetPayload ¶
func (o *AdminCreateUserForbidden) GetPayload() *models.ErrorResponseBody
func (*AdminCreateUserForbidden) IsClientError ¶
func (o *AdminCreateUserForbidden) IsClientError() bool
IsClientError returns true when this admin create user forbidden response has a 4xx status code
func (*AdminCreateUserForbidden) IsCode ¶
func (o *AdminCreateUserForbidden) IsCode(code int) bool
IsCode returns true when this admin create user forbidden response a status code equal to that given
func (*AdminCreateUserForbidden) IsRedirect ¶
func (o *AdminCreateUserForbidden) IsRedirect() bool
IsRedirect returns true when this admin create user forbidden response has a 3xx status code
func (*AdminCreateUserForbidden) IsServerError ¶
func (o *AdminCreateUserForbidden) IsServerError() bool
IsServerError returns true when this admin create user forbidden response has a 5xx status code
func (*AdminCreateUserForbidden) IsSuccess ¶
func (o *AdminCreateUserForbidden) IsSuccess() bool
IsSuccess returns true when this admin create user forbidden response has a 2xx status code
func (*AdminCreateUserForbidden) String ¶
func (o *AdminCreateUserForbidden) String() string
type AdminCreateUserInternalServerError ¶
type AdminCreateUserInternalServerError struct {
Payload *models.ErrorResponseBody
}
AdminCreateUserInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewAdminCreateUserInternalServerError ¶
func NewAdminCreateUserInternalServerError() *AdminCreateUserInternalServerError
NewAdminCreateUserInternalServerError creates a AdminCreateUserInternalServerError with default headers values
func (*AdminCreateUserInternalServerError) Code ¶
func (o *AdminCreateUserInternalServerError) Code() int
Code gets the status code for the admin create user internal server error response
func (*AdminCreateUserInternalServerError) Error ¶
func (o *AdminCreateUserInternalServerError) Error() string
func (*AdminCreateUserInternalServerError) GetPayload ¶
func (o *AdminCreateUserInternalServerError) GetPayload() *models.ErrorResponseBody
func (*AdminCreateUserInternalServerError) IsClientError ¶
func (o *AdminCreateUserInternalServerError) IsClientError() bool
IsClientError returns true when this admin create user internal server error response has a 4xx status code
func (*AdminCreateUserInternalServerError) IsCode ¶
func (o *AdminCreateUserInternalServerError) IsCode(code int) bool
IsCode returns true when this admin create user internal server error response a status code equal to that given
func (*AdminCreateUserInternalServerError) IsRedirect ¶
func (o *AdminCreateUserInternalServerError) IsRedirect() bool
IsRedirect returns true when this admin create user internal server error response has a 3xx status code
func (*AdminCreateUserInternalServerError) IsServerError ¶
func (o *AdminCreateUserInternalServerError) IsServerError() bool
IsServerError returns true when this admin create user internal server error response has a 5xx status code
func (*AdminCreateUserInternalServerError) IsSuccess ¶
func (o *AdminCreateUserInternalServerError) IsSuccess() bool
IsSuccess returns true when this admin create user internal server error response has a 2xx status code
func (*AdminCreateUserInternalServerError) String ¶
func (o *AdminCreateUserInternalServerError) String() string
type AdminCreateUserOK ¶
type AdminCreateUserOK struct {
Payload *models.AdminCreateUserResponse
}
AdminCreateUserOK describes a response with status code 200, with default header values.
(empty)
func NewAdminCreateUserOK ¶
func NewAdminCreateUserOK() *AdminCreateUserOK
NewAdminCreateUserOK creates a AdminCreateUserOK with default headers values
func (*AdminCreateUserOK) Code ¶
func (o *AdminCreateUserOK) Code() int
Code gets the status code for the admin create user Ok response
func (*AdminCreateUserOK) Error ¶
func (o *AdminCreateUserOK) Error() string
func (*AdminCreateUserOK) GetPayload ¶
func (o *AdminCreateUserOK) GetPayload() *models.AdminCreateUserResponse
func (*AdminCreateUserOK) IsClientError ¶
func (o *AdminCreateUserOK) IsClientError() bool
IsClientError returns true when this admin create user Ok response has a 4xx status code
func (*AdminCreateUserOK) IsCode ¶
func (o *AdminCreateUserOK) IsCode(code int) bool
IsCode returns true when this admin create user Ok response a status code equal to that given
func (*AdminCreateUserOK) IsRedirect ¶
func (o *AdminCreateUserOK) IsRedirect() bool
IsRedirect returns true when this admin create user Ok response has a 3xx status code
func (*AdminCreateUserOK) IsServerError ¶
func (o *AdminCreateUserOK) IsServerError() bool
IsServerError returns true when this admin create user Ok response has a 5xx status code
func (*AdminCreateUserOK) IsSuccess ¶
func (o *AdminCreateUserOK) IsSuccess() bool
IsSuccess returns true when this admin create user Ok response has a 2xx status code
func (*AdminCreateUserOK) String ¶
func (o *AdminCreateUserOK) String() string
type AdminCreateUserParams ¶
type AdminCreateUserParams struct { // Body. Body *models.AdminCreateUserForm Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminCreateUserParams contains all the parameters to send to the API endpoint
for the admin create user operation. Typically these are written to a http.Request.
func NewAdminCreateUserParams ¶
func NewAdminCreateUserParams() *AdminCreateUserParams
NewAdminCreateUserParams creates a new AdminCreateUserParams 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 NewAdminCreateUserParamsWithContext ¶
func NewAdminCreateUserParamsWithContext(ctx context.Context) *AdminCreateUserParams
NewAdminCreateUserParamsWithContext creates a new AdminCreateUserParams object with the ability to set a context for a request.
func NewAdminCreateUserParamsWithHTTPClient ¶
func NewAdminCreateUserParamsWithHTTPClient(client *http.Client) *AdminCreateUserParams
NewAdminCreateUserParamsWithHTTPClient creates a new AdminCreateUserParams object with the ability to set a custom HTTPClient for a request.
func NewAdminCreateUserParamsWithTimeout ¶
func NewAdminCreateUserParamsWithTimeout(timeout time.Duration) *AdminCreateUserParams
NewAdminCreateUserParamsWithTimeout creates a new AdminCreateUserParams object with the ability to set a timeout on a request.
func (*AdminCreateUserParams) SetBody ¶
func (o *AdminCreateUserParams) SetBody(body *models.AdminCreateUserForm)
SetBody adds the body to the admin create user params
func (*AdminCreateUserParams) SetContext ¶
func (o *AdminCreateUserParams) SetContext(ctx context.Context)
SetContext adds the context to the admin create user params
func (*AdminCreateUserParams) SetDefaults ¶
func (o *AdminCreateUserParams) SetDefaults()
SetDefaults hydrates default values in the admin create user params (not the query body).
All values with no default are reset to their zero value.
func (*AdminCreateUserParams) SetHTTPClient ¶
func (o *AdminCreateUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin create user params
func (*AdminCreateUserParams) SetTimeout ¶
func (o *AdminCreateUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin create user params
func (*AdminCreateUserParams) WithBody ¶
func (o *AdminCreateUserParams) WithBody(body *models.AdminCreateUserForm) *AdminCreateUserParams
WithBody adds the body to the admin create user params
func (*AdminCreateUserParams) WithContext ¶
func (o *AdminCreateUserParams) WithContext(ctx context.Context) *AdminCreateUserParams
WithContext adds the context to the admin create user params
func (*AdminCreateUserParams) WithDefaults ¶
func (o *AdminCreateUserParams) WithDefaults() *AdminCreateUserParams
WithDefaults hydrates default values in the admin create user params (not the query body).
All values with no default are reset to their zero value.
func (*AdminCreateUserParams) WithHTTPClient ¶
func (o *AdminCreateUserParams) WithHTTPClient(client *http.Client) *AdminCreateUserParams
WithHTTPClient adds the HTTPClient to the admin create user params
func (*AdminCreateUserParams) WithTimeout ¶
func (o *AdminCreateUserParams) WithTimeout(timeout time.Duration) *AdminCreateUserParams
WithTimeout adds the timeout to the admin create user params
func (*AdminCreateUserParams) WriteToRequest ¶
func (o *AdminCreateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminCreateUserPreconditionFailed ¶
type AdminCreateUserPreconditionFailed struct {
Payload *models.ErrorResponseBody
}
AdminCreateUserPreconditionFailed describes a response with status code 412, with default header values.
PreconditionFailedError
func NewAdminCreateUserPreconditionFailed ¶
func NewAdminCreateUserPreconditionFailed() *AdminCreateUserPreconditionFailed
NewAdminCreateUserPreconditionFailed creates a AdminCreateUserPreconditionFailed with default headers values
func (*AdminCreateUserPreconditionFailed) Code ¶
func (o *AdminCreateUserPreconditionFailed) Code() int
Code gets the status code for the admin create user precondition failed response
func (*AdminCreateUserPreconditionFailed) Error ¶
func (o *AdminCreateUserPreconditionFailed) Error() string
func (*AdminCreateUserPreconditionFailed) GetPayload ¶
func (o *AdminCreateUserPreconditionFailed) GetPayload() *models.ErrorResponseBody
func (*AdminCreateUserPreconditionFailed) IsClientError ¶
func (o *AdminCreateUserPreconditionFailed) IsClientError() bool
IsClientError returns true when this admin create user precondition failed response has a 4xx status code
func (*AdminCreateUserPreconditionFailed) IsCode ¶
func (o *AdminCreateUserPreconditionFailed) IsCode(code int) bool
IsCode returns true when this admin create user precondition failed response a status code equal to that given
func (*AdminCreateUserPreconditionFailed) IsRedirect ¶
func (o *AdminCreateUserPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this admin create user precondition failed response has a 3xx status code
func (*AdminCreateUserPreconditionFailed) IsServerError ¶
func (o *AdminCreateUserPreconditionFailed) IsServerError() bool
IsServerError returns true when this admin create user precondition failed response has a 5xx status code
func (*AdminCreateUserPreconditionFailed) IsSuccess ¶
func (o *AdminCreateUserPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this admin create user precondition failed response has a 2xx status code
func (*AdminCreateUserPreconditionFailed) String ¶
func (o *AdminCreateUserPreconditionFailed) String() string
type AdminCreateUserReader ¶
type AdminCreateUserReader struct {
// contains filtered or unexported fields
}
AdminCreateUserReader is a Reader for the AdminCreateUser structure.
func (*AdminCreateUserReader) ReadResponse ¶
func (o *AdminCreateUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminCreateUserUnauthorized ¶
type AdminCreateUserUnauthorized struct {
}AdminCreateUserUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewAdminCreateUserUnauthorized ¶
func NewAdminCreateUserUnauthorized() *AdminCreateUserUnauthorized
NewAdminCreateUserUnauthorized creates a AdminCreateUserUnauthorized with default headers values
func (*AdminCreateUserUnauthorized) Code ¶
func (o *AdminCreateUserUnauthorized) Code() int
Code gets the status code for the admin create user unauthorized response
func (*AdminCreateUserUnauthorized) Error ¶
func (o *AdminCreateUserUnauthorized) Error() string
func (*AdminCreateUserUnauthorized) GetPayload ¶
func (o *AdminCreateUserUnauthorized) GetPayload() *models.ErrorResponseBody
func (*AdminCreateUserUnauthorized) IsClientError ¶
func (o *AdminCreateUserUnauthorized) IsClientError() bool
IsClientError returns true when this admin create user unauthorized response has a 4xx status code
func (*AdminCreateUserUnauthorized) IsCode ¶
func (o *AdminCreateUserUnauthorized) IsCode(code int) bool
IsCode returns true when this admin create user unauthorized response a status code equal to that given
func (*AdminCreateUserUnauthorized) IsRedirect ¶
func (o *AdminCreateUserUnauthorized) IsRedirect() bool
IsRedirect returns true when this admin create user unauthorized response has a 3xx status code
func (*AdminCreateUserUnauthorized) IsServerError ¶
func (o *AdminCreateUserUnauthorized) IsServerError() bool
IsServerError returns true when this admin create user unauthorized response has a 5xx status code
func (*AdminCreateUserUnauthorized) IsSuccess ¶
func (o *AdminCreateUserUnauthorized) IsSuccess() bool
IsSuccess returns true when this admin create user unauthorized response has a 2xx status code
func (*AdminCreateUserUnauthorized) String ¶
func (o *AdminCreateUserUnauthorized) String() string
type AdminDeleteUserForbidden ¶
type AdminDeleteUserForbidden struct {
Payload *models.ErrorResponseBody
}
AdminDeleteUserForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewAdminDeleteUserForbidden ¶
func NewAdminDeleteUserForbidden() *AdminDeleteUserForbidden
NewAdminDeleteUserForbidden creates a AdminDeleteUserForbidden with default headers values
func (*AdminDeleteUserForbidden) Code ¶
func (o *AdminDeleteUserForbidden) Code() int
Code gets the status code for the admin delete user forbidden response
func (*AdminDeleteUserForbidden) Error ¶
func (o *AdminDeleteUserForbidden) Error() string
func (*AdminDeleteUserForbidden) GetPayload ¶
func (o *AdminDeleteUserForbidden) GetPayload() *models.ErrorResponseBody
func (*AdminDeleteUserForbidden) IsClientError ¶
func (o *AdminDeleteUserForbidden) IsClientError() bool
IsClientError returns true when this admin delete user forbidden response has a 4xx status code
func (*AdminDeleteUserForbidden) IsCode ¶
func (o *AdminDeleteUserForbidden) IsCode(code int) bool
IsCode returns true when this admin delete user forbidden response a status code equal to that given
func (*AdminDeleteUserForbidden) IsRedirect ¶
func (o *AdminDeleteUserForbidden) IsRedirect() bool
IsRedirect returns true when this admin delete user forbidden response has a 3xx status code
func (*AdminDeleteUserForbidden) IsServerError ¶
func (o *AdminDeleteUserForbidden) IsServerError() bool
IsServerError returns true when this admin delete user forbidden response has a 5xx status code
func (*AdminDeleteUserForbidden) IsSuccess ¶
func (o *AdminDeleteUserForbidden) IsSuccess() bool
IsSuccess returns true when this admin delete user forbidden response has a 2xx status code
func (*AdminDeleteUserForbidden) String ¶
func (o *AdminDeleteUserForbidden) String() string
type AdminDeleteUserInternalServerError ¶
type AdminDeleteUserInternalServerError struct {
Payload *models.ErrorResponseBody
}
AdminDeleteUserInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewAdminDeleteUserInternalServerError ¶
func NewAdminDeleteUserInternalServerError() *AdminDeleteUserInternalServerError
NewAdminDeleteUserInternalServerError creates a AdminDeleteUserInternalServerError with default headers values
func (*AdminDeleteUserInternalServerError) Code ¶
func (o *AdminDeleteUserInternalServerError) Code() int
Code gets the status code for the admin delete user internal server error response
func (*AdminDeleteUserInternalServerError) Error ¶
func (o *AdminDeleteUserInternalServerError) Error() string
func (*AdminDeleteUserInternalServerError) GetPayload ¶
func (o *AdminDeleteUserInternalServerError) GetPayload() *models.ErrorResponseBody
func (*AdminDeleteUserInternalServerError) IsClientError ¶
func (o *AdminDeleteUserInternalServerError) IsClientError() bool
IsClientError returns true when this admin delete user internal server error response has a 4xx status code
func (*AdminDeleteUserInternalServerError) IsCode ¶
func (o *AdminDeleteUserInternalServerError) IsCode(code int) bool
IsCode returns true when this admin delete user internal server error response a status code equal to that given
func (*AdminDeleteUserInternalServerError) IsRedirect ¶
func (o *AdminDeleteUserInternalServerError) IsRedirect() bool
IsRedirect returns true when this admin delete user internal server error response has a 3xx status code
func (*AdminDeleteUserInternalServerError) IsServerError ¶
func (o *AdminDeleteUserInternalServerError) IsServerError() bool
IsServerError returns true when this admin delete user internal server error response has a 5xx status code
func (*AdminDeleteUserInternalServerError) IsSuccess ¶
func (o *AdminDeleteUserInternalServerError) IsSuccess() bool
IsSuccess returns true when this admin delete user internal server error response has a 2xx status code
func (*AdminDeleteUserInternalServerError) String ¶
func (o *AdminDeleteUserInternalServerError) String() string
type AdminDeleteUserNotFound ¶
type AdminDeleteUserNotFound struct {
Payload *models.ErrorResponseBody
}
AdminDeleteUserNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewAdminDeleteUserNotFound ¶
func NewAdminDeleteUserNotFound() *AdminDeleteUserNotFound
NewAdminDeleteUserNotFound creates a AdminDeleteUserNotFound with default headers values
func (*AdminDeleteUserNotFound) Code ¶
func (o *AdminDeleteUserNotFound) Code() int
Code gets the status code for the admin delete user not found response
func (*AdminDeleteUserNotFound) Error ¶
func (o *AdminDeleteUserNotFound) Error() string
func (*AdminDeleteUserNotFound) GetPayload ¶
func (o *AdminDeleteUserNotFound) GetPayload() *models.ErrorResponseBody
func (*AdminDeleteUserNotFound) IsClientError ¶
func (o *AdminDeleteUserNotFound) IsClientError() bool
IsClientError returns true when this admin delete user not found response has a 4xx status code
func (*AdminDeleteUserNotFound) IsCode ¶
func (o *AdminDeleteUserNotFound) IsCode(code int) bool
IsCode returns true when this admin delete user not found response a status code equal to that given
func (*AdminDeleteUserNotFound) IsRedirect ¶
func (o *AdminDeleteUserNotFound) IsRedirect() bool
IsRedirect returns true when this admin delete user not found response has a 3xx status code
func (*AdminDeleteUserNotFound) IsServerError ¶
func (o *AdminDeleteUserNotFound) IsServerError() bool
IsServerError returns true when this admin delete user not found response has a 5xx status code
func (*AdminDeleteUserNotFound) IsSuccess ¶
func (o *AdminDeleteUserNotFound) IsSuccess() bool
IsSuccess returns true when this admin delete user not found response has a 2xx status code
func (*AdminDeleteUserNotFound) String ¶
func (o *AdminDeleteUserNotFound) String() string
type AdminDeleteUserOK ¶
type AdminDeleteUserOK struct {
Payload *models.SuccessResponseBody
}
AdminDeleteUserOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewAdminDeleteUserOK ¶
func NewAdminDeleteUserOK() *AdminDeleteUserOK
NewAdminDeleteUserOK creates a AdminDeleteUserOK with default headers values
func (*AdminDeleteUserOK) Code ¶
func (o *AdminDeleteUserOK) Code() int
Code gets the status code for the admin delete user Ok response
func (*AdminDeleteUserOK) Error ¶
func (o *AdminDeleteUserOK) Error() string
func (*AdminDeleteUserOK) GetPayload ¶
func (o *AdminDeleteUserOK) GetPayload() *models.SuccessResponseBody
func (*AdminDeleteUserOK) IsClientError ¶
func (o *AdminDeleteUserOK) IsClientError() bool
IsClientError returns true when this admin delete user Ok response has a 4xx status code
func (*AdminDeleteUserOK) IsCode ¶
func (o *AdminDeleteUserOK) IsCode(code int) bool
IsCode returns true when this admin delete user Ok response a status code equal to that given
func (*AdminDeleteUserOK) IsRedirect ¶
func (o *AdminDeleteUserOK) IsRedirect() bool
IsRedirect returns true when this admin delete user Ok response has a 3xx status code
func (*AdminDeleteUserOK) IsServerError ¶
func (o *AdminDeleteUserOK) IsServerError() bool
IsServerError returns true when this admin delete user Ok response has a 5xx status code
func (*AdminDeleteUserOK) IsSuccess ¶
func (o *AdminDeleteUserOK) IsSuccess() bool
IsSuccess returns true when this admin delete user Ok response has a 2xx status code
func (*AdminDeleteUserOK) String ¶
func (o *AdminDeleteUserOK) String() string
type AdminDeleteUserParams ¶
type AdminDeleteUserParams struct { // UserID. // // Format: int64 UserID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminDeleteUserParams contains all the parameters to send to the API endpoint
for the admin delete user operation. Typically these are written to a http.Request.
func NewAdminDeleteUserParams ¶
func NewAdminDeleteUserParams() *AdminDeleteUserParams
NewAdminDeleteUserParams creates a new AdminDeleteUserParams 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 NewAdminDeleteUserParamsWithContext ¶
func NewAdminDeleteUserParamsWithContext(ctx context.Context) *AdminDeleteUserParams
NewAdminDeleteUserParamsWithContext creates a new AdminDeleteUserParams object with the ability to set a context for a request.
func NewAdminDeleteUserParamsWithHTTPClient ¶
func NewAdminDeleteUserParamsWithHTTPClient(client *http.Client) *AdminDeleteUserParams
NewAdminDeleteUserParamsWithHTTPClient creates a new AdminDeleteUserParams object with the ability to set a custom HTTPClient for a request.
func NewAdminDeleteUserParamsWithTimeout ¶
func NewAdminDeleteUserParamsWithTimeout(timeout time.Duration) *AdminDeleteUserParams
NewAdminDeleteUserParamsWithTimeout creates a new AdminDeleteUserParams object with the ability to set a timeout on a request.
func (*AdminDeleteUserParams) SetContext ¶
func (o *AdminDeleteUserParams) SetContext(ctx context.Context)
SetContext adds the context to the admin delete user params
func (*AdminDeleteUserParams) SetDefaults ¶
func (o *AdminDeleteUserParams) SetDefaults()
SetDefaults hydrates default values in the admin delete user params (not the query body).
All values with no default are reset to their zero value.
func (*AdminDeleteUserParams) SetHTTPClient ¶
func (o *AdminDeleteUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin delete user params
func (*AdminDeleteUserParams) SetTimeout ¶
func (o *AdminDeleteUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin delete user params
func (*AdminDeleteUserParams) SetUserID ¶
func (o *AdminDeleteUserParams) SetUserID(userID int64)
SetUserID adds the userId to the admin delete user params
func (*AdminDeleteUserParams) WithContext ¶
func (o *AdminDeleteUserParams) WithContext(ctx context.Context) *AdminDeleteUserParams
WithContext adds the context to the admin delete user params
func (*AdminDeleteUserParams) WithDefaults ¶
func (o *AdminDeleteUserParams) WithDefaults() *AdminDeleteUserParams
WithDefaults hydrates default values in the admin delete user params (not the query body).
All values with no default are reset to their zero value.
func (*AdminDeleteUserParams) WithHTTPClient ¶
func (o *AdminDeleteUserParams) WithHTTPClient(client *http.Client) *AdminDeleteUserParams
WithHTTPClient adds the HTTPClient to the admin delete user params
func (*AdminDeleteUserParams) WithTimeout ¶
func (o *AdminDeleteUserParams) WithTimeout(timeout time.Duration) *AdminDeleteUserParams
WithTimeout adds the timeout to the admin delete user params
func (*AdminDeleteUserParams) WithUserID ¶
func (o *AdminDeleteUserParams) WithUserID(userID int64) *AdminDeleteUserParams
WithUserID adds the userID to the admin delete user params
func (*AdminDeleteUserParams) WriteToRequest ¶
func (o *AdminDeleteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminDeleteUserReader ¶
type AdminDeleteUserReader struct {
// contains filtered or unexported fields
}
AdminDeleteUserReader is a Reader for the AdminDeleteUser structure.
func (*AdminDeleteUserReader) ReadResponse ¶
func (o *AdminDeleteUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminDeleteUserUnauthorized ¶
type AdminDeleteUserUnauthorized struct {
}AdminDeleteUserUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewAdminDeleteUserUnauthorized ¶
func NewAdminDeleteUserUnauthorized() *AdminDeleteUserUnauthorized
NewAdminDeleteUserUnauthorized creates a AdminDeleteUserUnauthorized with default headers values
func (*AdminDeleteUserUnauthorized) Code ¶
func (o *AdminDeleteUserUnauthorized) Code() int
Code gets the status code for the admin delete user unauthorized response
func (*AdminDeleteUserUnauthorized) Error ¶
func (o *AdminDeleteUserUnauthorized) Error() string
func (*AdminDeleteUserUnauthorized) GetPayload ¶
func (o *AdminDeleteUserUnauthorized) GetPayload() *models.ErrorResponseBody
func (*AdminDeleteUserUnauthorized) IsClientError ¶
func (o *AdminDeleteUserUnauthorized) IsClientError() bool
IsClientError returns true when this admin delete user unauthorized response has a 4xx status code
func (*AdminDeleteUserUnauthorized) IsCode ¶
func (o *AdminDeleteUserUnauthorized) IsCode(code int) bool
IsCode returns true when this admin delete user unauthorized response a status code equal to that given
func (*AdminDeleteUserUnauthorized) IsRedirect ¶
func (o *AdminDeleteUserUnauthorized) IsRedirect() bool
IsRedirect returns true when this admin delete user unauthorized response has a 3xx status code
func (*AdminDeleteUserUnauthorized) IsServerError ¶
func (o *AdminDeleteUserUnauthorized) IsServerError() bool
IsServerError returns true when this admin delete user unauthorized response has a 5xx status code
func (*AdminDeleteUserUnauthorized) IsSuccess ¶
func (o *AdminDeleteUserUnauthorized) IsSuccess() bool
IsSuccess returns true when this admin delete user unauthorized response has a 2xx status code
func (*AdminDeleteUserUnauthorized) String ¶
func (o *AdminDeleteUserUnauthorized) String() string
type AdminDisableUserForbidden ¶
type AdminDisableUserForbidden struct {
Payload *models.ErrorResponseBody
}
AdminDisableUserForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewAdminDisableUserForbidden ¶
func NewAdminDisableUserForbidden() *AdminDisableUserForbidden
NewAdminDisableUserForbidden creates a AdminDisableUserForbidden with default headers values
func (*AdminDisableUserForbidden) Code ¶
func (o *AdminDisableUserForbidden) Code() int
Code gets the status code for the admin disable user forbidden response
func (*AdminDisableUserForbidden) Error ¶
func (o *AdminDisableUserForbidden) Error() string
func (*AdminDisableUserForbidden) GetPayload ¶
func (o *AdminDisableUserForbidden) GetPayload() *models.ErrorResponseBody
func (*AdminDisableUserForbidden) IsClientError ¶
func (o *AdminDisableUserForbidden) IsClientError() bool
IsClientError returns true when this admin disable user forbidden response has a 4xx status code
func (*AdminDisableUserForbidden) IsCode ¶
func (o *AdminDisableUserForbidden) IsCode(code int) bool
IsCode returns true when this admin disable user forbidden response a status code equal to that given
func (*AdminDisableUserForbidden) IsRedirect ¶
func (o *AdminDisableUserForbidden) IsRedirect() bool
IsRedirect returns true when this admin disable user forbidden response has a 3xx status code
func (*AdminDisableUserForbidden) IsServerError ¶
func (o *AdminDisableUserForbidden) IsServerError() bool
IsServerError returns true when this admin disable user forbidden response has a 5xx status code
func (*AdminDisableUserForbidden) IsSuccess ¶
func (o *AdminDisableUserForbidden) IsSuccess() bool
IsSuccess returns true when this admin disable user forbidden response has a 2xx status code
func (*AdminDisableUserForbidden) String ¶
func (o *AdminDisableUserForbidden) String() string
type AdminDisableUserInternalServerError ¶
type AdminDisableUserInternalServerError struct {
Payload *models.ErrorResponseBody
}
AdminDisableUserInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewAdminDisableUserInternalServerError ¶
func NewAdminDisableUserInternalServerError() *AdminDisableUserInternalServerError
NewAdminDisableUserInternalServerError creates a AdminDisableUserInternalServerError with default headers values
func (*AdminDisableUserInternalServerError) Code ¶
func (o *AdminDisableUserInternalServerError) Code() int
Code gets the status code for the admin disable user internal server error response
func (*AdminDisableUserInternalServerError) Error ¶
func (o *AdminDisableUserInternalServerError) Error() string
func (*AdminDisableUserInternalServerError) GetPayload ¶
func (o *AdminDisableUserInternalServerError) GetPayload() *models.ErrorResponseBody
func (*AdminDisableUserInternalServerError) IsClientError ¶
func (o *AdminDisableUserInternalServerError) IsClientError() bool
IsClientError returns true when this admin disable user internal server error response has a 4xx status code
func (*AdminDisableUserInternalServerError) IsCode ¶
func (o *AdminDisableUserInternalServerError) IsCode(code int) bool
IsCode returns true when this admin disable user internal server error response a status code equal to that given
func (*AdminDisableUserInternalServerError) IsRedirect ¶
func (o *AdminDisableUserInternalServerError) IsRedirect() bool
IsRedirect returns true when this admin disable user internal server error response has a 3xx status code
func (*AdminDisableUserInternalServerError) IsServerError ¶
func (o *AdminDisableUserInternalServerError) IsServerError() bool
IsServerError returns true when this admin disable user internal server error response has a 5xx status code
func (*AdminDisableUserInternalServerError) IsSuccess ¶
func (o *AdminDisableUserInternalServerError) IsSuccess() bool
IsSuccess returns true when this admin disable user internal server error response has a 2xx status code
func (*AdminDisableUserInternalServerError) String ¶
func (o *AdminDisableUserInternalServerError) String() string
type AdminDisableUserNotFound ¶
type AdminDisableUserNotFound struct {
Payload *models.ErrorResponseBody
}
AdminDisableUserNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewAdminDisableUserNotFound ¶
func NewAdminDisableUserNotFound() *AdminDisableUserNotFound
NewAdminDisableUserNotFound creates a AdminDisableUserNotFound with default headers values
func (*AdminDisableUserNotFound) Code ¶
func (o *AdminDisableUserNotFound) Code() int
Code gets the status code for the admin disable user not found response
func (*AdminDisableUserNotFound) Error ¶
func (o *AdminDisableUserNotFound) Error() string
func (*AdminDisableUserNotFound) GetPayload ¶
func (o *AdminDisableUserNotFound) GetPayload() *models.ErrorResponseBody
func (*AdminDisableUserNotFound) IsClientError ¶
func (o *AdminDisableUserNotFound) IsClientError() bool
IsClientError returns true when this admin disable user not found response has a 4xx status code
func (*AdminDisableUserNotFound) IsCode ¶
func (o *AdminDisableUserNotFound) IsCode(code int) bool
IsCode returns true when this admin disable user not found response a status code equal to that given
func (*AdminDisableUserNotFound) IsRedirect ¶
func (o *AdminDisableUserNotFound) IsRedirect() bool
IsRedirect returns true when this admin disable user not found response has a 3xx status code
func (*AdminDisableUserNotFound) IsServerError ¶
func (o *AdminDisableUserNotFound) IsServerError() bool
IsServerError returns true when this admin disable user not found response has a 5xx status code
func (*AdminDisableUserNotFound) IsSuccess ¶
func (o *AdminDisableUserNotFound) IsSuccess() bool
IsSuccess returns true when this admin disable user not found response has a 2xx status code
func (*AdminDisableUserNotFound) String ¶
func (o *AdminDisableUserNotFound) String() string
type AdminDisableUserOK ¶
type AdminDisableUserOK struct {
Payload *models.SuccessResponseBody
}
AdminDisableUserOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewAdminDisableUserOK ¶
func NewAdminDisableUserOK() *AdminDisableUserOK
NewAdminDisableUserOK creates a AdminDisableUserOK with default headers values
func (*AdminDisableUserOK) Code ¶
func (o *AdminDisableUserOK) Code() int
Code gets the status code for the admin disable user Ok response
func (*AdminDisableUserOK) Error ¶
func (o *AdminDisableUserOK) Error() string
func (*AdminDisableUserOK) GetPayload ¶
func (o *AdminDisableUserOK) GetPayload() *models.SuccessResponseBody
func (*AdminDisableUserOK) IsClientError ¶
func (o *AdminDisableUserOK) IsClientError() bool
IsClientError returns true when this admin disable user Ok response has a 4xx status code
func (*AdminDisableUserOK) IsCode ¶
func (o *AdminDisableUserOK) IsCode(code int) bool
IsCode returns true when this admin disable user Ok response a status code equal to that given
func (*AdminDisableUserOK) IsRedirect ¶
func (o *AdminDisableUserOK) IsRedirect() bool
IsRedirect returns true when this admin disable user Ok response has a 3xx status code
func (*AdminDisableUserOK) IsServerError ¶
func (o *AdminDisableUserOK) IsServerError() bool
IsServerError returns true when this admin disable user Ok response has a 5xx status code
func (*AdminDisableUserOK) IsSuccess ¶
func (o *AdminDisableUserOK) IsSuccess() bool
IsSuccess returns true when this admin disable user Ok response has a 2xx status code
func (*AdminDisableUserOK) String ¶
func (o *AdminDisableUserOK) String() string
type AdminDisableUserParams ¶
type AdminDisableUserParams struct { // UserID. // // Format: int64 UserID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminDisableUserParams contains all the parameters to send to the API endpoint
for the admin disable user operation. Typically these are written to a http.Request.
func NewAdminDisableUserParams ¶
func NewAdminDisableUserParams() *AdminDisableUserParams
NewAdminDisableUserParams creates a new AdminDisableUserParams 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 NewAdminDisableUserParamsWithContext ¶
func NewAdminDisableUserParamsWithContext(ctx context.Context) *AdminDisableUserParams
NewAdminDisableUserParamsWithContext creates a new AdminDisableUserParams object with the ability to set a context for a request.
func NewAdminDisableUserParamsWithHTTPClient ¶
func NewAdminDisableUserParamsWithHTTPClient(client *http.Client) *AdminDisableUserParams
NewAdminDisableUserParamsWithHTTPClient creates a new AdminDisableUserParams object with the ability to set a custom HTTPClient for a request.
func NewAdminDisableUserParamsWithTimeout ¶
func NewAdminDisableUserParamsWithTimeout(timeout time.Duration) *AdminDisableUserParams
NewAdminDisableUserParamsWithTimeout creates a new AdminDisableUserParams object with the ability to set a timeout on a request.
func (*AdminDisableUserParams) SetContext ¶
func (o *AdminDisableUserParams) SetContext(ctx context.Context)
SetContext adds the context to the admin disable user params
func (*AdminDisableUserParams) SetDefaults ¶
func (o *AdminDisableUserParams) SetDefaults()
SetDefaults hydrates default values in the admin disable user params (not the query body).
All values with no default are reset to their zero value.
func (*AdminDisableUserParams) SetHTTPClient ¶
func (o *AdminDisableUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin disable user params
func (*AdminDisableUserParams) SetTimeout ¶
func (o *AdminDisableUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin disable user params
func (*AdminDisableUserParams) SetUserID ¶
func (o *AdminDisableUserParams) SetUserID(userID int64)
SetUserID adds the userId to the admin disable user params
func (*AdminDisableUserParams) WithContext ¶
func (o *AdminDisableUserParams) WithContext(ctx context.Context) *AdminDisableUserParams
WithContext adds the context to the admin disable user params
func (*AdminDisableUserParams) WithDefaults ¶
func (o *AdminDisableUserParams) WithDefaults() *AdminDisableUserParams
WithDefaults hydrates default values in the admin disable user params (not the query body).
All values with no default are reset to their zero value.
func (*AdminDisableUserParams) WithHTTPClient ¶
func (o *AdminDisableUserParams) WithHTTPClient(client *http.Client) *AdminDisableUserParams
WithHTTPClient adds the HTTPClient to the admin disable user params
func (*AdminDisableUserParams) WithTimeout ¶
func (o *AdminDisableUserParams) WithTimeout(timeout time.Duration) *AdminDisableUserParams
WithTimeout adds the timeout to the admin disable user params
func (*AdminDisableUserParams) WithUserID ¶
func (o *AdminDisableUserParams) WithUserID(userID int64) *AdminDisableUserParams
WithUserID adds the userID to the admin disable user params
func (*AdminDisableUserParams) WriteToRequest ¶
func (o *AdminDisableUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminDisableUserReader ¶
type AdminDisableUserReader struct {
// contains filtered or unexported fields
}
AdminDisableUserReader is a Reader for the AdminDisableUser structure.
func (*AdminDisableUserReader) ReadResponse ¶
func (o *AdminDisableUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminDisableUserUnauthorized ¶
type AdminDisableUserUnauthorized struct {
}AdminDisableUserUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewAdminDisableUserUnauthorized ¶
func NewAdminDisableUserUnauthorized() *AdminDisableUserUnauthorized
NewAdminDisableUserUnauthorized creates a AdminDisableUserUnauthorized with default headers values
func (*AdminDisableUserUnauthorized) Code ¶
func (o *AdminDisableUserUnauthorized) Code() int
Code gets the status code for the admin disable user unauthorized response
func (*AdminDisableUserUnauthorized) Error ¶
func (o *AdminDisableUserUnauthorized) Error() string
func (*AdminDisableUserUnauthorized) GetPayload ¶
func (o *AdminDisableUserUnauthorized) GetPayload() *models.ErrorResponseBody
func (*AdminDisableUserUnauthorized) IsClientError ¶
func (o *AdminDisableUserUnauthorized) IsClientError() bool
IsClientError returns true when this admin disable user unauthorized response has a 4xx status code
func (*AdminDisableUserUnauthorized) IsCode ¶
func (o *AdminDisableUserUnauthorized) IsCode(code int) bool
IsCode returns true when this admin disable user unauthorized response a status code equal to that given
func (*AdminDisableUserUnauthorized) IsRedirect ¶
func (o *AdminDisableUserUnauthorized) IsRedirect() bool
IsRedirect returns true when this admin disable user unauthorized response has a 3xx status code
func (*AdminDisableUserUnauthorized) IsServerError ¶
func (o *AdminDisableUserUnauthorized) IsServerError() bool
IsServerError returns true when this admin disable user unauthorized response has a 5xx status code
func (*AdminDisableUserUnauthorized) IsSuccess ¶
func (o *AdminDisableUserUnauthorized) IsSuccess() bool
IsSuccess returns true when this admin disable user unauthorized response has a 2xx status code
func (*AdminDisableUserUnauthorized) String ¶
func (o *AdminDisableUserUnauthorized) String() string
type AdminEnableUserForbidden ¶
type AdminEnableUserForbidden struct {
Payload *models.ErrorResponseBody
}
AdminEnableUserForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewAdminEnableUserForbidden ¶
func NewAdminEnableUserForbidden() *AdminEnableUserForbidden
NewAdminEnableUserForbidden creates a AdminEnableUserForbidden with default headers values
func (*AdminEnableUserForbidden) Code ¶
func (o *AdminEnableUserForbidden) Code() int
Code gets the status code for the admin enable user forbidden response
func (*AdminEnableUserForbidden) Error ¶
func (o *AdminEnableUserForbidden) Error() string
func (*AdminEnableUserForbidden) GetPayload ¶
func (o *AdminEnableUserForbidden) GetPayload() *models.ErrorResponseBody
func (*AdminEnableUserForbidden) IsClientError ¶
func (o *AdminEnableUserForbidden) IsClientError() bool
IsClientError returns true when this admin enable user forbidden response has a 4xx status code
func (*AdminEnableUserForbidden) IsCode ¶
func (o *AdminEnableUserForbidden) IsCode(code int) bool
IsCode returns true when this admin enable user forbidden response a status code equal to that given
func (*AdminEnableUserForbidden) IsRedirect ¶
func (o *AdminEnableUserForbidden) IsRedirect() bool
IsRedirect returns true when this admin enable user forbidden response has a 3xx status code
func (*AdminEnableUserForbidden) IsServerError ¶
func (o *AdminEnableUserForbidden) IsServerError() bool
IsServerError returns true when this admin enable user forbidden response has a 5xx status code
func (*AdminEnableUserForbidden) IsSuccess ¶
func (o *AdminEnableUserForbidden) IsSuccess() bool
IsSuccess returns true when this admin enable user forbidden response has a 2xx status code
func (*AdminEnableUserForbidden) String ¶
func (o *AdminEnableUserForbidden) String() string
type AdminEnableUserInternalServerError ¶
type AdminEnableUserInternalServerError struct {
Payload *models.ErrorResponseBody
}
AdminEnableUserInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewAdminEnableUserInternalServerError ¶
func NewAdminEnableUserInternalServerError() *AdminEnableUserInternalServerError
NewAdminEnableUserInternalServerError creates a AdminEnableUserInternalServerError with default headers values
func (*AdminEnableUserInternalServerError) Code ¶
func (o *AdminEnableUserInternalServerError) Code() int
Code gets the status code for the admin enable user internal server error response
func (*AdminEnableUserInternalServerError) Error ¶
func (o *AdminEnableUserInternalServerError) Error() string
func (*AdminEnableUserInternalServerError) GetPayload ¶
func (o *AdminEnableUserInternalServerError) GetPayload() *models.ErrorResponseBody
func (*AdminEnableUserInternalServerError) IsClientError ¶
func (o *AdminEnableUserInternalServerError) IsClientError() bool
IsClientError returns true when this admin enable user internal server error response has a 4xx status code
func (*AdminEnableUserInternalServerError) IsCode ¶
func (o *AdminEnableUserInternalServerError) IsCode(code int) bool
IsCode returns true when this admin enable user internal server error response a status code equal to that given
func (*AdminEnableUserInternalServerError) IsRedirect ¶
func (o *AdminEnableUserInternalServerError) IsRedirect() bool
IsRedirect returns true when this admin enable user internal server error response has a 3xx status code
func (*AdminEnableUserInternalServerError) IsServerError ¶
func (o *AdminEnableUserInternalServerError) IsServerError() bool
IsServerError returns true when this admin enable user internal server error response has a 5xx status code
func (*AdminEnableUserInternalServerError) IsSuccess ¶
func (o *AdminEnableUserInternalServerError) IsSuccess() bool
IsSuccess returns true when this admin enable user internal server error response has a 2xx status code
func (*AdminEnableUserInternalServerError) String ¶
func (o *AdminEnableUserInternalServerError) String() string
type AdminEnableUserNotFound ¶
type AdminEnableUserNotFound struct {
Payload *models.ErrorResponseBody
}
AdminEnableUserNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewAdminEnableUserNotFound ¶
func NewAdminEnableUserNotFound() *AdminEnableUserNotFound
NewAdminEnableUserNotFound creates a AdminEnableUserNotFound with default headers values
func (*AdminEnableUserNotFound) Code ¶
func (o *AdminEnableUserNotFound) Code() int
Code gets the status code for the admin enable user not found response
func (*AdminEnableUserNotFound) Error ¶
func (o *AdminEnableUserNotFound) Error() string
func (*AdminEnableUserNotFound) GetPayload ¶
func (o *AdminEnableUserNotFound) GetPayload() *models.ErrorResponseBody
func (*AdminEnableUserNotFound) IsClientError ¶
func (o *AdminEnableUserNotFound) IsClientError() bool
IsClientError returns true when this admin enable user not found response has a 4xx status code
func (*AdminEnableUserNotFound) IsCode ¶
func (o *AdminEnableUserNotFound) IsCode(code int) bool
IsCode returns true when this admin enable user not found response a status code equal to that given
func (*AdminEnableUserNotFound) IsRedirect ¶
func (o *AdminEnableUserNotFound) IsRedirect() bool
IsRedirect returns true when this admin enable user not found response has a 3xx status code
func (*AdminEnableUserNotFound) IsServerError ¶
func (o *AdminEnableUserNotFound) IsServerError() bool
IsServerError returns true when this admin enable user not found response has a 5xx status code
func (*AdminEnableUserNotFound) IsSuccess ¶
func (o *AdminEnableUserNotFound) IsSuccess() bool
IsSuccess returns true when this admin enable user not found response has a 2xx status code
func (*AdminEnableUserNotFound) String ¶
func (o *AdminEnableUserNotFound) String() string
type AdminEnableUserOK ¶
type AdminEnableUserOK struct {
Payload *models.SuccessResponseBody
}
AdminEnableUserOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewAdminEnableUserOK ¶
func NewAdminEnableUserOK() *AdminEnableUserOK
NewAdminEnableUserOK creates a AdminEnableUserOK with default headers values
func (*AdminEnableUserOK) Code ¶
func (o *AdminEnableUserOK) Code() int
Code gets the status code for the admin enable user Ok response
func (*AdminEnableUserOK) Error ¶
func (o *AdminEnableUserOK) Error() string
func (*AdminEnableUserOK) GetPayload ¶
func (o *AdminEnableUserOK) GetPayload() *models.SuccessResponseBody
func (*AdminEnableUserOK) IsClientError ¶
func (o *AdminEnableUserOK) IsClientError() bool
IsClientError returns true when this admin enable user Ok response has a 4xx status code
func (*AdminEnableUserOK) IsCode ¶
func (o *AdminEnableUserOK) IsCode(code int) bool
IsCode returns true when this admin enable user Ok response a status code equal to that given
func (*AdminEnableUserOK) IsRedirect ¶
func (o *AdminEnableUserOK) IsRedirect() bool
IsRedirect returns true when this admin enable user Ok response has a 3xx status code
func (*AdminEnableUserOK) IsServerError ¶
func (o *AdminEnableUserOK) IsServerError() bool
IsServerError returns true when this admin enable user Ok response has a 5xx status code
func (*AdminEnableUserOK) IsSuccess ¶
func (o *AdminEnableUserOK) IsSuccess() bool
IsSuccess returns true when this admin enable user Ok response has a 2xx status code
func (*AdminEnableUserOK) String ¶
func (o *AdminEnableUserOK) String() string
type AdminEnableUserParams ¶
type AdminEnableUserParams struct { // UserID. // // Format: int64 UserID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminEnableUserParams contains all the parameters to send to the API endpoint
for the admin enable user operation. Typically these are written to a http.Request.
func NewAdminEnableUserParams ¶
func NewAdminEnableUserParams() *AdminEnableUserParams
NewAdminEnableUserParams creates a new AdminEnableUserParams 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 NewAdminEnableUserParamsWithContext ¶
func NewAdminEnableUserParamsWithContext(ctx context.Context) *AdminEnableUserParams
NewAdminEnableUserParamsWithContext creates a new AdminEnableUserParams object with the ability to set a context for a request.
func NewAdminEnableUserParamsWithHTTPClient ¶
func NewAdminEnableUserParamsWithHTTPClient(client *http.Client) *AdminEnableUserParams
NewAdminEnableUserParamsWithHTTPClient creates a new AdminEnableUserParams object with the ability to set a custom HTTPClient for a request.
func NewAdminEnableUserParamsWithTimeout ¶
func NewAdminEnableUserParamsWithTimeout(timeout time.Duration) *AdminEnableUserParams
NewAdminEnableUserParamsWithTimeout creates a new AdminEnableUserParams object with the ability to set a timeout on a request.
func (*AdminEnableUserParams) SetContext ¶
func (o *AdminEnableUserParams) SetContext(ctx context.Context)
SetContext adds the context to the admin enable user params
func (*AdminEnableUserParams) SetDefaults ¶
func (o *AdminEnableUserParams) SetDefaults()
SetDefaults hydrates default values in the admin enable user params (not the query body).
All values with no default are reset to their zero value.
func (*AdminEnableUserParams) SetHTTPClient ¶
func (o *AdminEnableUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin enable user params
func (*AdminEnableUserParams) SetTimeout ¶
func (o *AdminEnableUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin enable user params
func (*AdminEnableUserParams) SetUserID ¶
func (o *AdminEnableUserParams) SetUserID(userID int64)
SetUserID adds the userId to the admin enable user params
func (*AdminEnableUserParams) WithContext ¶
func (o *AdminEnableUserParams) WithContext(ctx context.Context) *AdminEnableUserParams
WithContext adds the context to the admin enable user params
func (*AdminEnableUserParams) WithDefaults ¶
func (o *AdminEnableUserParams) WithDefaults() *AdminEnableUserParams
WithDefaults hydrates default values in the admin enable user params (not the query body).
All values with no default are reset to their zero value.
func (*AdminEnableUserParams) WithHTTPClient ¶
func (o *AdminEnableUserParams) WithHTTPClient(client *http.Client) *AdminEnableUserParams
WithHTTPClient adds the HTTPClient to the admin enable user params
func (*AdminEnableUserParams) WithTimeout ¶
func (o *AdminEnableUserParams) WithTimeout(timeout time.Duration) *AdminEnableUserParams
WithTimeout adds the timeout to the admin enable user params
func (*AdminEnableUserParams) WithUserID ¶
func (o *AdminEnableUserParams) WithUserID(userID int64) *AdminEnableUserParams
WithUserID adds the userID to the admin enable user params
func (*AdminEnableUserParams) WriteToRequest ¶
func (o *AdminEnableUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminEnableUserReader ¶
type AdminEnableUserReader struct {
// contains filtered or unexported fields
}
AdminEnableUserReader is a Reader for the AdminEnableUser structure.
func (*AdminEnableUserReader) ReadResponse ¶
func (o *AdminEnableUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminEnableUserUnauthorized ¶
type AdminEnableUserUnauthorized struct {
}AdminEnableUserUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewAdminEnableUserUnauthorized ¶
func NewAdminEnableUserUnauthorized() *AdminEnableUserUnauthorized
NewAdminEnableUserUnauthorized creates a AdminEnableUserUnauthorized with default headers values
func (*AdminEnableUserUnauthorized) Code ¶
func (o *AdminEnableUserUnauthorized) Code() int
Code gets the status code for the admin enable user unauthorized response
func (*AdminEnableUserUnauthorized) Error ¶
func (o *AdminEnableUserUnauthorized) Error() string
func (*AdminEnableUserUnauthorized) GetPayload ¶
func (o *AdminEnableUserUnauthorized) GetPayload() *models.ErrorResponseBody
func (*AdminEnableUserUnauthorized) IsClientError ¶
func (o *AdminEnableUserUnauthorized) IsClientError() bool
IsClientError returns true when this admin enable user unauthorized response has a 4xx status code
func (*AdminEnableUserUnauthorized) IsCode ¶
func (o *AdminEnableUserUnauthorized) IsCode(code int) bool
IsCode returns true when this admin enable user unauthorized response a status code equal to that given
func (*AdminEnableUserUnauthorized) IsRedirect ¶
func (o *AdminEnableUserUnauthorized) IsRedirect() bool
IsRedirect returns true when this admin enable user unauthorized response has a 3xx status code
func (*AdminEnableUserUnauthorized) IsServerError ¶
func (o *AdminEnableUserUnauthorized) IsServerError() bool
IsServerError returns true when this admin enable user unauthorized response has a 5xx status code
func (*AdminEnableUserUnauthorized) IsSuccess ¶
func (o *AdminEnableUserUnauthorized) IsSuccess() bool
IsSuccess returns true when this admin enable user unauthorized response has a 2xx status code
func (*AdminEnableUserUnauthorized) String ¶
func (o *AdminEnableUserUnauthorized) String() string
type AdminGetUserAuthTokensForbidden ¶
type AdminGetUserAuthTokensForbidden struct {
Payload *models.ErrorResponseBody
}
AdminGetUserAuthTokensForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewAdminGetUserAuthTokensForbidden ¶
func NewAdminGetUserAuthTokensForbidden() *AdminGetUserAuthTokensForbidden
NewAdminGetUserAuthTokensForbidden creates a AdminGetUserAuthTokensForbidden with default headers values
func (*AdminGetUserAuthTokensForbidden) Code ¶
func (o *AdminGetUserAuthTokensForbidden) Code() int
Code gets the status code for the admin get user auth tokens forbidden response
func (*AdminGetUserAuthTokensForbidden) Error ¶
func (o *AdminGetUserAuthTokensForbidden) Error() string
func (*AdminGetUserAuthTokensForbidden) GetPayload ¶
func (o *AdminGetUserAuthTokensForbidden) GetPayload() *models.ErrorResponseBody
func (*AdminGetUserAuthTokensForbidden) IsClientError ¶
func (o *AdminGetUserAuthTokensForbidden) IsClientError() bool
IsClientError returns true when this admin get user auth tokens forbidden response has a 4xx status code
func (*AdminGetUserAuthTokensForbidden) IsCode ¶
func (o *AdminGetUserAuthTokensForbidden) IsCode(code int) bool
IsCode returns true when this admin get user auth tokens forbidden response a status code equal to that given
func (*AdminGetUserAuthTokensForbidden) IsRedirect ¶
func (o *AdminGetUserAuthTokensForbidden) IsRedirect() bool
IsRedirect returns true when this admin get user auth tokens forbidden response has a 3xx status code
func (*AdminGetUserAuthTokensForbidden) IsServerError ¶
func (o *AdminGetUserAuthTokensForbidden) IsServerError() bool
IsServerError returns true when this admin get user auth tokens forbidden response has a 5xx status code
func (*AdminGetUserAuthTokensForbidden) IsSuccess ¶
func (o *AdminGetUserAuthTokensForbidden) IsSuccess() bool
IsSuccess returns true when this admin get user auth tokens forbidden response has a 2xx status code
func (*AdminGetUserAuthTokensForbidden) String ¶
func (o *AdminGetUserAuthTokensForbidden) String() string
type AdminGetUserAuthTokensInternalServerError ¶
type AdminGetUserAuthTokensInternalServerError struct {
Payload *models.ErrorResponseBody
}
AdminGetUserAuthTokensInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewAdminGetUserAuthTokensInternalServerError ¶
func NewAdminGetUserAuthTokensInternalServerError() *AdminGetUserAuthTokensInternalServerError
NewAdminGetUserAuthTokensInternalServerError creates a AdminGetUserAuthTokensInternalServerError with default headers values
func (*AdminGetUserAuthTokensInternalServerError) Code ¶
func (o *AdminGetUserAuthTokensInternalServerError) Code() int
Code gets the status code for the admin get user auth tokens internal server error response
func (*AdminGetUserAuthTokensInternalServerError) Error ¶
func (o *AdminGetUserAuthTokensInternalServerError) Error() string
func (*AdminGetUserAuthTokensInternalServerError) GetPayload ¶
func (o *AdminGetUserAuthTokensInternalServerError) GetPayload() *models.ErrorResponseBody
func (*AdminGetUserAuthTokensInternalServerError) IsClientError ¶
func (o *AdminGetUserAuthTokensInternalServerError) IsClientError() bool
IsClientError returns true when this admin get user auth tokens internal server error response has a 4xx status code
func (*AdminGetUserAuthTokensInternalServerError) IsCode ¶
func (o *AdminGetUserAuthTokensInternalServerError) IsCode(code int) bool
IsCode returns true when this admin get user auth tokens internal server error response a status code equal to that given
func (*AdminGetUserAuthTokensInternalServerError) IsRedirect ¶
func (o *AdminGetUserAuthTokensInternalServerError) IsRedirect() bool
IsRedirect returns true when this admin get user auth tokens internal server error response has a 3xx status code
func (*AdminGetUserAuthTokensInternalServerError) IsServerError ¶
func (o *AdminGetUserAuthTokensInternalServerError) IsServerError() bool
IsServerError returns true when this admin get user auth tokens internal server error response has a 5xx status code
func (*AdminGetUserAuthTokensInternalServerError) IsSuccess ¶
func (o *AdminGetUserAuthTokensInternalServerError) IsSuccess() bool
IsSuccess returns true when this admin get user auth tokens internal server error response has a 2xx status code
func (*AdminGetUserAuthTokensInternalServerError) String ¶
func (o *AdminGetUserAuthTokensInternalServerError) String() string
type AdminGetUserAuthTokensOK ¶
AdminGetUserAuthTokensOK describes a response with status code 200, with default header values.
(empty)
func NewAdminGetUserAuthTokensOK ¶
func NewAdminGetUserAuthTokensOK() *AdminGetUserAuthTokensOK
NewAdminGetUserAuthTokensOK creates a AdminGetUserAuthTokensOK with default headers values
func (*AdminGetUserAuthTokensOK) Code ¶
func (o *AdminGetUserAuthTokensOK) Code() int
Code gets the status code for the admin get user auth tokens Ok response
func (*AdminGetUserAuthTokensOK) Error ¶
func (o *AdminGetUserAuthTokensOK) Error() string
func (*AdminGetUserAuthTokensOK) GetPayload ¶
func (o *AdminGetUserAuthTokensOK) GetPayload() []*models.UserToken
func (*AdminGetUserAuthTokensOK) IsClientError ¶
func (o *AdminGetUserAuthTokensOK) IsClientError() bool
IsClientError returns true when this admin get user auth tokens Ok response has a 4xx status code
func (*AdminGetUserAuthTokensOK) IsCode ¶
func (o *AdminGetUserAuthTokensOK) IsCode(code int) bool
IsCode returns true when this admin get user auth tokens Ok response a status code equal to that given
func (*AdminGetUserAuthTokensOK) IsRedirect ¶
func (o *AdminGetUserAuthTokensOK) IsRedirect() bool
IsRedirect returns true when this admin get user auth tokens Ok response has a 3xx status code
func (*AdminGetUserAuthTokensOK) IsServerError ¶
func (o *AdminGetUserAuthTokensOK) IsServerError() bool
IsServerError returns true when this admin get user auth tokens Ok response has a 5xx status code
func (*AdminGetUserAuthTokensOK) IsSuccess ¶
func (o *AdminGetUserAuthTokensOK) IsSuccess() bool
IsSuccess returns true when this admin get user auth tokens Ok response has a 2xx status code
func (*AdminGetUserAuthTokensOK) String ¶
func (o *AdminGetUserAuthTokensOK) String() string
type AdminGetUserAuthTokensParams ¶
type AdminGetUserAuthTokensParams struct { // UserID. // // Format: int64 UserID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminGetUserAuthTokensParams contains all the parameters to send to the API endpoint
for the admin get user auth tokens operation. Typically these are written to a http.Request.
func NewAdminGetUserAuthTokensParams ¶
func NewAdminGetUserAuthTokensParams() *AdminGetUserAuthTokensParams
NewAdminGetUserAuthTokensParams creates a new AdminGetUserAuthTokensParams 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 NewAdminGetUserAuthTokensParamsWithContext ¶
func NewAdminGetUserAuthTokensParamsWithContext(ctx context.Context) *AdminGetUserAuthTokensParams
NewAdminGetUserAuthTokensParamsWithContext creates a new AdminGetUserAuthTokensParams object with the ability to set a context for a request.
func NewAdminGetUserAuthTokensParamsWithHTTPClient ¶
func NewAdminGetUserAuthTokensParamsWithHTTPClient(client *http.Client) *AdminGetUserAuthTokensParams
NewAdminGetUserAuthTokensParamsWithHTTPClient creates a new AdminGetUserAuthTokensParams object with the ability to set a custom HTTPClient for a request.
func NewAdminGetUserAuthTokensParamsWithTimeout ¶
func NewAdminGetUserAuthTokensParamsWithTimeout(timeout time.Duration) *AdminGetUserAuthTokensParams
NewAdminGetUserAuthTokensParamsWithTimeout creates a new AdminGetUserAuthTokensParams object with the ability to set a timeout on a request.
func (*AdminGetUserAuthTokensParams) SetContext ¶
func (o *AdminGetUserAuthTokensParams) SetContext(ctx context.Context)
SetContext adds the context to the admin get user auth tokens params
func (*AdminGetUserAuthTokensParams) SetDefaults ¶
func (o *AdminGetUserAuthTokensParams) SetDefaults()
SetDefaults hydrates default values in the admin get user auth tokens params (not the query body).
All values with no default are reset to their zero value.
func (*AdminGetUserAuthTokensParams) SetHTTPClient ¶
func (o *AdminGetUserAuthTokensParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get user auth tokens params
func (*AdminGetUserAuthTokensParams) SetTimeout ¶
func (o *AdminGetUserAuthTokensParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get user auth tokens params
func (*AdminGetUserAuthTokensParams) SetUserID ¶
func (o *AdminGetUserAuthTokensParams) SetUserID(userID int64)
SetUserID adds the userId to the admin get user auth tokens params
func (*AdminGetUserAuthTokensParams) WithContext ¶
func (o *AdminGetUserAuthTokensParams) WithContext(ctx context.Context) *AdminGetUserAuthTokensParams
WithContext adds the context to the admin get user auth tokens params
func (*AdminGetUserAuthTokensParams) WithDefaults ¶
func (o *AdminGetUserAuthTokensParams) WithDefaults() *AdminGetUserAuthTokensParams
WithDefaults hydrates default values in the admin get user auth tokens params (not the query body).
All values with no default are reset to their zero value.
func (*AdminGetUserAuthTokensParams) WithHTTPClient ¶
func (o *AdminGetUserAuthTokensParams) WithHTTPClient(client *http.Client) *AdminGetUserAuthTokensParams
WithHTTPClient adds the HTTPClient to the admin get user auth tokens params
func (*AdminGetUserAuthTokensParams) WithTimeout ¶
func (o *AdminGetUserAuthTokensParams) WithTimeout(timeout time.Duration) *AdminGetUserAuthTokensParams
WithTimeout adds the timeout to the admin get user auth tokens params
func (*AdminGetUserAuthTokensParams) WithUserID ¶
func (o *AdminGetUserAuthTokensParams) WithUserID(userID int64) *AdminGetUserAuthTokensParams
WithUserID adds the userID to the admin get user auth tokens params
func (*AdminGetUserAuthTokensParams) WriteToRequest ¶
func (o *AdminGetUserAuthTokensParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetUserAuthTokensReader ¶
type AdminGetUserAuthTokensReader struct {
// contains filtered or unexported fields
}
AdminGetUserAuthTokensReader is a Reader for the AdminGetUserAuthTokens structure.
func (*AdminGetUserAuthTokensReader) ReadResponse ¶
func (o *AdminGetUserAuthTokensReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetUserAuthTokensUnauthorized ¶
type AdminGetUserAuthTokensUnauthorized struct {
}AdminGetUserAuthTokensUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewAdminGetUserAuthTokensUnauthorized ¶
func NewAdminGetUserAuthTokensUnauthorized() *AdminGetUserAuthTokensUnauthorized
NewAdminGetUserAuthTokensUnauthorized creates a AdminGetUserAuthTokensUnauthorized with default headers values
func (*AdminGetUserAuthTokensUnauthorized) Code ¶
func (o *AdminGetUserAuthTokensUnauthorized) Code() int
Code gets the status code for the admin get user auth tokens unauthorized response
func (*AdminGetUserAuthTokensUnauthorized) Error ¶
func (o *AdminGetUserAuthTokensUnauthorized) Error() string
func (*AdminGetUserAuthTokensUnauthorized) GetPayload ¶
func (o *AdminGetUserAuthTokensUnauthorized) GetPayload() *models.ErrorResponseBody
func (*AdminGetUserAuthTokensUnauthorized) IsClientError ¶
func (o *AdminGetUserAuthTokensUnauthorized) IsClientError() bool
IsClientError returns true when this admin get user auth tokens unauthorized response has a 4xx status code
func (*AdminGetUserAuthTokensUnauthorized) IsCode ¶
func (o *AdminGetUserAuthTokensUnauthorized) IsCode(code int) bool
IsCode returns true when this admin get user auth tokens unauthorized response a status code equal to that given
func (*AdminGetUserAuthTokensUnauthorized) IsRedirect ¶
func (o *AdminGetUserAuthTokensUnauthorized) IsRedirect() bool
IsRedirect returns true when this admin get user auth tokens unauthorized response has a 3xx status code
func (*AdminGetUserAuthTokensUnauthorized) IsServerError ¶
func (o *AdminGetUserAuthTokensUnauthorized) IsServerError() bool
IsServerError returns true when this admin get user auth tokens unauthorized response has a 5xx status code
func (*AdminGetUserAuthTokensUnauthorized) IsSuccess ¶
func (o *AdminGetUserAuthTokensUnauthorized) IsSuccess() bool
IsSuccess returns true when this admin get user auth tokens unauthorized response has a 2xx status code
func (*AdminGetUserAuthTokensUnauthorized) String ¶
func (o *AdminGetUserAuthTokensUnauthorized) String() string
type AdminLogoutUserBadRequest ¶
type AdminLogoutUserBadRequest struct {
Payload *models.ErrorResponseBody
}
AdminLogoutUserBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewAdminLogoutUserBadRequest ¶
func NewAdminLogoutUserBadRequest() *AdminLogoutUserBadRequest
NewAdminLogoutUserBadRequest creates a AdminLogoutUserBadRequest with default headers values
func (*AdminLogoutUserBadRequest) Code ¶
func (o *AdminLogoutUserBadRequest) Code() int
Code gets the status code for the admin logout user bad request response
func (*AdminLogoutUserBadRequest) Error ¶
func (o *AdminLogoutUserBadRequest) Error() string
func (*AdminLogoutUserBadRequest) GetPayload ¶
func (o *AdminLogoutUserBadRequest) GetPayload() *models.ErrorResponseBody
func (*AdminLogoutUserBadRequest) IsClientError ¶
func (o *AdminLogoutUserBadRequest) IsClientError() bool
IsClientError returns true when this admin logout user bad request response has a 4xx status code
func (*AdminLogoutUserBadRequest) IsCode ¶
func (o *AdminLogoutUserBadRequest) IsCode(code int) bool
IsCode returns true when this admin logout user bad request response a status code equal to that given
func (*AdminLogoutUserBadRequest) IsRedirect ¶
func (o *AdminLogoutUserBadRequest) IsRedirect() bool
IsRedirect returns true when this admin logout user bad request response has a 3xx status code
func (*AdminLogoutUserBadRequest) IsServerError ¶
func (o *AdminLogoutUserBadRequest) IsServerError() bool
IsServerError returns true when this admin logout user bad request response has a 5xx status code
func (*AdminLogoutUserBadRequest) IsSuccess ¶
func (o *AdminLogoutUserBadRequest) IsSuccess() bool
IsSuccess returns true when this admin logout user bad request response has a 2xx status code
func (*AdminLogoutUserBadRequest) String ¶
func (o *AdminLogoutUserBadRequest) String() string
type AdminLogoutUserForbidden ¶
type AdminLogoutUserForbidden struct {
Payload *models.ErrorResponseBody
}
AdminLogoutUserForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewAdminLogoutUserForbidden ¶
func NewAdminLogoutUserForbidden() *AdminLogoutUserForbidden
NewAdminLogoutUserForbidden creates a AdminLogoutUserForbidden with default headers values
func (*AdminLogoutUserForbidden) Code ¶
func (o *AdminLogoutUserForbidden) Code() int
Code gets the status code for the admin logout user forbidden response
func (*AdminLogoutUserForbidden) Error ¶
func (o *AdminLogoutUserForbidden) Error() string
func (*AdminLogoutUserForbidden) GetPayload ¶
func (o *AdminLogoutUserForbidden) GetPayload() *models.ErrorResponseBody
func (*AdminLogoutUserForbidden) IsClientError ¶
func (o *AdminLogoutUserForbidden) IsClientError() bool
IsClientError returns true when this admin logout user forbidden response has a 4xx status code
func (*AdminLogoutUserForbidden) IsCode ¶
func (o *AdminLogoutUserForbidden) IsCode(code int) bool
IsCode returns true when this admin logout user forbidden response a status code equal to that given
func (*AdminLogoutUserForbidden) IsRedirect ¶
func (o *AdminLogoutUserForbidden) IsRedirect() bool
IsRedirect returns true when this admin logout user forbidden response has a 3xx status code
func (*AdminLogoutUserForbidden) IsServerError ¶
func (o *AdminLogoutUserForbidden) IsServerError() bool
IsServerError returns true when this admin logout user forbidden response has a 5xx status code
func (*AdminLogoutUserForbidden) IsSuccess ¶
func (o *AdminLogoutUserForbidden) IsSuccess() bool
IsSuccess returns true when this admin logout user forbidden response has a 2xx status code
func (*AdminLogoutUserForbidden) String ¶
func (o *AdminLogoutUserForbidden) String() string
type AdminLogoutUserInternalServerError ¶
type AdminLogoutUserInternalServerError struct {
Payload *models.ErrorResponseBody
}
AdminLogoutUserInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewAdminLogoutUserInternalServerError ¶
func NewAdminLogoutUserInternalServerError() *AdminLogoutUserInternalServerError
NewAdminLogoutUserInternalServerError creates a AdminLogoutUserInternalServerError with default headers values
func (*AdminLogoutUserInternalServerError) Code ¶
func (o *AdminLogoutUserInternalServerError) Code() int
Code gets the status code for the admin logout user internal server error response
func (*AdminLogoutUserInternalServerError) Error ¶
func (o *AdminLogoutUserInternalServerError) Error() string
func (*AdminLogoutUserInternalServerError) GetPayload ¶
func (o *AdminLogoutUserInternalServerError) GetPayload() *models.ErrorResponseBody
func (*AdminLogoutUserInternalServerError) IsClientError ¶
func (o *AdminLogoutUserInternalServerError) IsClientError() bool
IsClientError returns true when this admin logout user internal server error response has a 4xx status code
func (*AdminLogoutUserInternalServerError) IsCode ¶
func (o *AdminLogoutUserInternalServerError) IsCode(code int) bool
IsCode returns true when this admin logout user internal server error response a status code equal to that given
func (*AdminLogoutUserInternalServerError) IsRedirect ¶
func (o *AdminLogoutUserInternalServerError) IsRedirect() bool
IsRedirect returns true when this admin logout user internal server error response has a 3xx status code
func (*AdminLogoutUserInternalServerError) IsServerError ¶
func (o *AdminLogoutUserInternalServerError) IsServerError() bool
IsServerError returns true when this admin logout user internal server error response has a 5xx status code
func (*AdminLogoutUserInternalServerError) IsSuccess ¶
func (o *AdminLogoutUserInternalServerError) IsSuccess() bool
IsSuccess returns true when this admin logout user internal server error response has a 2xx status code
func (*AdminLogoutUserInternalServerError) String ¶
func (o *AdminLogoutUserInternalServerError) String() string
type AdminLogoutUserNotFound ¶
type AdminLogoutUserNotFound struct {
Payload *models.ErrorResponseBody
}
AdminLogoutUserNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewAdminLogoutUserNotFound ¶
func NewAdminLogoutUserNotFound() *AdminLogoutUserNotFound
NewAdminLogoutUserNotFound creates a AdminLogoutUserNotFound with default headers values
func (*AdminLogoutUserNotFound) Code ¶
func (o *AdminLogoutUserNotFound) Code() int
Code gets the status code for the admin logout user not found response
func (*AdminLogoutUserNotFound) Error ¶
func (o *AdminLogoutUserNotFound) Error() string
func (*AdminLogoutUserNotFound) GetPayload ¶
func (o *AdminLogoutUserNotFound) GetPayload() *models.ErrorResponseBody
func (*AdminLogoutUserNotFound) IsClientError ¶
func (o *AdminLogoutUserNotFound) IsClientError() bool
IsClientError returns true when this admin logout user not found response has a 4xx status code
func (*AdminLogoutUserNotFound) IsCode ¶
func (o *AdminLogoutUserNotFound) IsCode(code int) bool
IsCode returns true when this admin logout user not found response a status code equal to that given
func (*AdminLogoutUserNotFound) IsRedirect ¶
func (o *AdminLogoutUserNotFound) IsRedirect() bool
IsRedirect returns true when this admin logout user not found response has a 3xx status code
func (*AdminLogoutUserNotFound) IsServerError ¶
func (o *AdminLogoutUserNotFound) IsServerError() bool
IsServerError returns true when this admin logout user not found response has a 5xx status code
func (*AdminLogoutUserNotFound) IsSuccess ¶
func (o *AdminLogoutUserNotFound) IsSuccess() bool
IsSuccess returns true when this admin logout user not found response has a 2xx status code
func (*AdminLogoutUserNotFound) String ¶
func (o *AdminLogoutUserNotFound) String() string
type AdminLogoutUserOK ¶
type AdminLogoutUserOK struct {
Payload *models.SuccessResponseBody
}
AdminLogoutUserOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewAdminLogoutUserOK ¶
func NewAdminLogoutUserOK() *AdminLogoutUserOK
NewAdminLogoutUserOK creates a AdminLogoutUserOK with default headers values
func (*AdminLogoutUserOK) Code ¶
func (o *AdminLogoutUserOK) Code() int
Code gets the status code for the admin logout user Ok response
func (*AdminLogoutUserOK) Error ¶
func (o *AdminLogoutUserOK) Error() string
func (*AdminLogoutUserOK) GetPayload ¶
func (o *AdminLogoutUserOK) GetPayload() *models.SuccessResponseBody
func (*AdminLogoutUserOK) IsClientError ¶
func (o *AdminLogoutUserOK) IsClientError() bool
IsClientError returns true when this admin logout user Ok response has a 4xx status code
func (*AdminLogoutUserOK) IsCode ¶
func (o *AdminLogoutUserOK) IsCode(code int) bool
IsCode returns true when this admin logout user Ok response a status code equal to that given
func (*AdminLogoutUserOK) IsRedirect ¶
func (o *AdminLogoutUserOK) IsRedirect() bool
IsRedirect returns true when this admin logout user Ok response has a 3xx status code
func (*AdminLogoutUserOK) IsServerError ¶
func (o *AdminLogoutUserOK) IsServerError() bool
IsServerError returns true when this admin logout user Ok response has a 5xx status code
func (*AdminLogoutUserOK) IsSuccess ¶
func (o *AdminLogoutUserOK) IsSuccess() bool
IsSuccess returns true when this admin logout user Ok response has a 2xx status code
func (*AdminLogoutUserOK) String ¶
func (o *AdminLogoutUserOK) String() string
type AdminLogoutUserParams ¶
type AdminLogoutUserParams struct { // UserID. // // Format: int64 UserID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminLogoutUserParams contains all the parameters to send to the API endpoint
for the admin logout user operation. Typically these are written to a http.Request.
func NewAdminLogoutUserParams ¶
func NewAdminLogoutUserParams() *AdminLogoutUserParams
NewAdminLogoutUserParams creates a new AdminLogoutUserParams 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 NewAdminLogoutUserParamsWithContext ¶
func NewAdminLogoutUserParamsWithContext(ctx context.Context) *AdminLogoutUserParams
NewAdminLogoutUserParamsWithContext creates a new AdminLogoutUserParams object with the ability to set a context for a request.
func NewAdminLogoutUserParamsWithHTTPClient ¶
func NewAdminLogoutUserParamsWithHTTPClient(client *http.Client) *AdminLogoutUserParams
NewAdminLogoutUserParamsWithHTTPClient creates a new AdminLogoutUserParams object with the ability to set a custom HTTPClient for a request.
func NewAdminLogoutUserParamsWithTimeout ¶
func NewAdminLogoutUserParamsWithTimeout(timeout time.Duration) *AdminLogoutUserParams
NewAdminLogoutUserParamsWithTimeout creates a new AdminLogoutUserParams object with the ability to set a timeout on a request.
func (*AdminLogoutUserParams) SetContext ¶
func (o *AdminLogoutUserParams) SetContext(ctx context.Context)
SetContext adds the context to the admin logout user params
func (*AdminLogoutUserParams) SetDefaults ¶
func (o *AdminLogoutUserParams) SetDefaults()
SetDefaults hydrates default values in the admin logout user params (not the query body).
All values with no default are reset to their zero value.
func (*AdminLogoutUserParams) SetHTTPClient ¶
func (o *AdminLogoutUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin logout user params
func (*AdminLogoutUserParams) SetTimeout ¶
func (o *AdminLogoutUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin logout user params
func (*AdminLogoutUserParams) SetUserID ¶
func (o *AdminLogoutUserParams) SetUserID(userID int64)
SetUserID adds the userId to the admin logout user params
func (*AdminLogoutUserParams) WithContext ¶
func (o *AdminLogoutUserParams) WithContext(ctx context.Context) *AdminLogoutUserParams
WithContext adds the context to the admin logout user params
func (*AdminLogoutUserParams) WithDefaults ¶
func (o *AdminLogoutUserParams) WithDefaults() *AdminLogoutUserParams
WithDefaults hydrates default values in the admin logout user params (not the query body).
All values with no default are reset to their zero value.
func (*AdminLogoutUserParams) WithHTTPClient ¶
func (o *AdminLogoutUserParams) WithHTTPClient(client *http.Client) *AdminLogoutUserParams
WithHTTPClient adds the HTTPClient to the admin logout user params
func (*AdminLogoutUserParams) WithTimeout ¶
func (o *AdminLogoutUserParams) WithTimeout(timeout time.Duration) *AdminLogoutUserParams
WithTimeout adds the timeout to the admin logout user params
func (*AdminLogoutUserParams) WithUserID ¶
func (o *AdminLogoutUserParams) WithUserID(userID int64) *AdminLogoutUserParams
WithUserID adds the userID to the admin logout user params
func (*AdminLogoutUserParams) WriteToRequest ¶
func (o *AdminLogoutUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminLogoutUserReader ¶
type AdminLogoutUserReader struct {
// contains filtered or unexported fields
}
AdminLogoutUserReader is a Reader for the AdminLogoutUser structure.
func (*AdminLogoutUserReader) ReadResponse ¶
func (o *AdminLogoutUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminLogoutUserUnauthorized ¶
type AdminLogoutUserUnauthorized struct {
}AdminLogoutUserUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewAdminLogoutUserUnauthorized ¶
func NewAdminLogoutUserUnauthorized() *AdminLogoutUserUnauthorized
NewAdminLogoutUserUnauthorized creates a AdminLogoutUserUnauthorized with default headers values
func (*AdminLogoutUserUnauthorized) Code ¶
func (o *AdminLogoutUserUnauthorized) Code() int
Code gets the status code for the admin logout user unauthorized response
func (*AdminLogoutUserUnauthorized) Error ¶
func (o *AdminLogoutUserUnauthorized) Error() string
func (*AdminLogoutUserUnauthorized) GetPayload ¶
func (o *AdminLogoutUserUnauthorized) GetPayload() *models.ErrorResponseBody
func (*AdminLogoutUserUnauthorized) IsClientError ¶
func (o *AdminLogoutUserUnauthorized) IsClientError() bool
IsClientError returns true when this admin logout user unauthorized response has a 4xx status code
func (*AdminLogoutUserUnauthorized) IsCode ¶
func (o *AdminLogoutUserUnauthorized) IsCode(code int) bool
IsCode returns true when this admin logout user unauthorized response a status code equal to that given
func (*AdminLogoutUserUnauthorized) IsRedirect ¶
func (o *AdminLogoutUserUnauthorized) IsRedirect() bool
IsRedirect returns true when this admin logout user unauthorized response has a 3xx status code
func (*AdminLogoutUserUnauthorized) IsServerError ¶
func (o *AdminLogoutUserUnauthorized) IsServerError() bool
IsServerError returns true when this admin logout user unauthorized response has a 5xx status code
func (*AdminLogoutUserUnauthorized) IsSuccess ¶
func (o *AdminLogoutUserUnauthorized) IsSuccess() bool
IsSuccess returns true when this admin logout user unauthorized response has a 2xx status code
func (*AdminLogoutUserUnauthorized) String ¶
func (o *AdminLogoutUserUnauthorized) String() string
type AdminRevokeUserAuthTokenBadRequest ¶
type AdminRevokeUserAuthTokenBadRequest struct {
Payload *models.ErrorResponseBody
}
AdminRevokeUserAuthTokenBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewAdminRevokeUserAuthTokenBadRequest ¶
func NewAdminRevokeUserAuthTokenBadRequest() *AdminRevokeUserAuthTokenBadRequest
NewAdminRevokeUserAuthTokenBadRequest creates a AdminRevokeUserAuthTokenBadRequest with default headers values
func (*AdminRevokeUserAuthTokenBadRequest) Code ¶
func (o *AdminRevokeUserAuthTokenBadRequest) Code() int
Code gets the status code for the admin revoke user auth token bad request response
func (*AdminRevokeUserAuthTokenBadRequest) Error ¶
func (o *AdminRevokeUserAuthTokenBadRequest) Error() string
func (*AdminRevokeUserAuthTokenBadRequest) GetPayload ¶
func (o *AdminRevokeUserAuthTokenBadRequest) GetPayload() *models.ErrorResponseBody
func (*AdminRevokeUserAuthTokenBadRequest) IsClientError ¶
func (o *AdminRevokeUserAuthTokenBadRequest) IsClientError() bool
IsClientError returns true when this admin revoke user auth token bad request response has a 4xx status code
func (*AdminRevokeUserAuthTokenBadRequest) IsCode ¶
func (o *AdminRevokeUserAuthTokenBadRequest) IsCode(code int) bool
IsCode returns true when this admin revoke user auth token bad request response a status code equal to that given
func (*AdminRevokeUserAuthTokenBadRequest) IsRedirect ¶
func (o *AdminRevokeUserAuthTokenBadRequest) IsRedirect() bool
IsRedirect returns true when this admin revoke user auth token bad request response has a 3xx status code
func (*AdminRevokeUserAuthTokenBadRequest) IsServerError ¶
func (o *AdminRevokeUserAuthTokenBadRequest) IsServerError() bool
IsServerError returns true when this admin revoke user auth token bad request response has a 5xx status code
func (*AdminRevokeUserAuthTokenBadRequest) IsSuccess ¶
func (o *AdminRevokeUserAuthTokenBadRequest) IsSuccess() bool
IsSuccess returns true when this admin revoke user auth token bad request response has a 2xx status code
func (*AdminRevokeUserAuthTokenBadRequest) String ¶
func (o *AdminRevokeUserAuthTokenBadRequest) String() string
type AdminRevokeUserAuthTokenForbidden ¶
type AdminRevokeUserAuthTokenForbidden struct {
Payload *models.ErrorResponseBody
}
AdminRevokeUserAuthTokenForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewAdminRevokeUserAuthTokenForbidden ¶
func NewAdminRevokeUserAuthTokenForbidden() *AdminRevokeUserAuthTokenForbidden
NewAdminRevokeUserAuthTokenForbidden creates a AdminRevokeUserAuthTokenForbidden with default headers values
func (*AdminRevokeUserAuthTokenForbidden) Code ¶
func (o *AdminRevokeUserAuthTokenForbidden) Code() int
Code gets the status code for the admin revoke user auth token forbidden response
func (*AdminRevokeUserAuthTokenForbidden) Error ¶
func (o *AdminRevokeUserAuthTokenForbidden) Error() string
func (*AdminRevokeUserAuthTokenForbidden) GetPayload ¶
func (o *AdminRevokeUserAuthTokenForbidden) GetPayload() *models.ErrorResponseBody
func (*AdminRevokeUserAuthTokenForbidden) IsClientError ¶
func (o *AdminRevokeUserAuthTokenForbidden) IsClientError() bool
IsClientError returns true when this admin revoke user auth token forbidden response has a 4xx status code
func (*AdminRevokeUserAuthTokenForbidden) IsCode ¶
func (o *AdminRevokeUserAuthTokenForbidden) IsCode(code int) bool
IsCode returns true when this admin revoke user auth token forbidden response a status code equal to that given
func (*AdminRevokeUserAuthTokenForbidden) IsRedirect ¶
func (o *AdminRevokeUserAuthTokenForbidden) IsRedirect() bool
IsRedirect returns true when this admin revoke user auth token forbidden response has a 3xx status code
func (*AdminRevokeUserAuthTokenForbidden) IsServerError ¶
func (o *AdminRevokeUserAuthTokenForbidden) IsServerError() bool
IsServerError returns true when this admin revoke user auth token forbidden response has a 5xx status code
func (*AdminRevokeUserAuthTokenForbidden) IsSuccess ¶
func (o *AdminRevokeUserAuthTokenForbidden) IsSuccess() bool
IsSuccess returns true when this admin revoke user auth token forbidden response has a 2xx status code
func (*AdminRevokeUserAuthTokenForbidden) String ¶
func (o *AdminRevokeUserAuthTokenForbidden) String() string
type AdminRevokeUserAuthTokenInternalServerError ¶
type AdminRevokeUserAuthTokenInternalServerError struct {
Payload *models.ErrorResponseBody
}
AdminRevokeUserAuthTokenInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewAdminRevokeUserAuthTokenInternalServerError ¶
func NewAdminRevokeUserAuthTokenInternalServerError() *AdminRevokeUserAuthTokenInternalServerError
NewAdminRevokeUserAuthTokenInternalServerError creates a AdminRevokeUserAuthTokenInternalServerError with default headers values
func (*AdminRevokeUserAuthTokenInternalServerError) Code ¶
func (o *AdminRevokeUserAuthTokenInternalServerError) Code() int
Code gets the status code for the admin revoke user auth token internal server error response
func (*AdminRevokeUserAuthTokenInternalServerError) Error ¶
func (o *AdminRevokeUserAuthTokenInternalServerError) Error() string
func (*AdminRevokeUserAuthTokenInternalServerError) GetPayload ¶
func (o *AdminRevokeUserAuthTokenInternalServerError) GetPayload() *models.ErrorResponseBody
func (*AdminRevokeUserAuthTokenInternalServerError) IsClientError ¶
func (o *AdminRevokeUserAuthTokenInternalServerError) IsClientError() bool
IsClientError returns true when this admin revoke user auth token internal server error response has a 4xx status code
func (*AdminRevokeUserAuthTokenInternalServerError) IsCode ¶
func (o *AdminRevokeUserAuthTokenInternalServerError) IsCode(code int) bool
IsCode returns true when this admin revoke user auth token internal server error response a status code equal to that given
func (*AdminRevokeUserAuthTokenInternalServerError) IsRedirect ¶
func (o *AdminRevokeUserAuthTokenInternalServerError) IsRedirect() bool
IsRedirect returns true when this admin revoke user auth token internal server error response has a 3xx status code
func (*AdminRevokeUserAuthTokenInternalServerError) IsServerError ¶
func (o *AdminRevokeUserAuthTokenInternalServerError) IsServerError() bool
IsServerError returns true when this admin revoke user auth token internal server error response has a 5xx status code
func (*AdminRevokeUserAuthTokenInternalServerError) IsSuccess ¶
func (o *AdminRevokeUserAuthTokenInternalServerError) IsSuccess() bool
IsSuccess returns true when this admin revoke user auth token internal server error response has a 2xx status code
func (*AdminRevokeUserAuthTokenInternalServerError) String ¶
func (o *AdminRevokeUserAuthTokenInternalServerError) String() string
type AdminRevokeUserAuthTokenNotFound ¶
type AdminRevokeUserAuthTokenNotFound struct {
Payload *models.ErrorResponseBody
}
AdminRevokeUserAuthTokenNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewAdminRevokeUserAuthTokenNotFound ¶
func NewAdminRevokeUserAuthTokenNotFound() *AdminRevokeUserAuthTokenNotFound
NewAdminRevokeUserAuthTokenNotFound creates a AdminRevokeUserAuthTokenNotFound with default headers values
func (*AdminRevokeUserAuthTokenNotFound) Code ¶
func (o *AdminRevokeUserAuthTokenNotFound) Code() int
Code gets the status code for the admin revoke user auth token not found response
func (*AdminRevokeUserAuthTokenNotFound) Error ¶
func (o *AdminRevokeUserAuthTokenNotFound) Error() string
func (*AdminRevokeUserAuthTokenNotFound) GetPayload ¶
func (o *AdminRevokeUserAuthTokenNotFound) GetPayload() *models.ErrorResponseBody
func (*AdminRevokeUserAuthTokenNotFound) IsClientError ¶
func (o *AdminRevokeUserAuthTokenNotFound) IsClientError() bool
IsClientError returns true when this admin revoke user auth token not found response has a 4xx status code
func (*AdminRevokeUserAuthTokenNotFound) IsCode ¶
func (o *AdminRevokeUserAuthTokenNotFound) IsCode(code int) bool
IsCode returns true when this admin revoke user auth token not found response a status code equal to that given
func (*AdminRevokeUserAuthTokenNotFound) IsRedirect ¶
func (o *AdminRevokeUserAuthTokenNotFound) IsRedirect() bool
IsRedirect returns true when this admin revoke user auth token not found response has a 3xx status code
func (*AdminRevokeUserAuthTokenNotFound) IsServerError ¶
func (o *AdminRevokeUserAuthTokenNotFound) IsServerError() bool
IsServerError returns true when this admin revoke user auth token not found response has a 5xx status code
func (*AdminRevokeUserAuthTokenNotFound) IsSuccess ¶
func (o *AdminRevokeUserAuthTokenNotFound) IsSuccess() bool
IsSuccess returns true when this admin revoke user auth token not found response has a 2xx status code
func (*AdminRevokeUserAuthTokenNotFound) String ¶
func (o *AdminRevokeUserAuthTokenNotFound) String() string
type AdminRevokeUserAuthTokenOK ¶
type AdminRevokeUserAuthTokenOK struct {
Payload *models.SuccessResponseBody
}
AdminRevokeUserAuthTokenOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewAdminRevokeUserAuthTokenOK ¶
func NewAdminRevokeUserAuthTokenOK() *AdminRevokeUserAuthTokenOK
NewAdminRevokeUserAuthTokenOK creates a AdminRevokeUserAuthTokenOK with default headers values
func (*AdminRevokeUserAuthTokenOK) Code ¶
func (o *AdminRevokeUserAuthTokenOK) Code() int
Code gets the status code for the admin revoke user auth token Ok response
func (*AdminRevokeUserAuthTokenOK) Error ¶
func (o *AdminRevokeUserAuthTokenOK) Error() string
func (*AdminRevokeUserAuthTokenOK) GetPayload ¶
func (o *AdminRevokeUserAuthTokenOK) GetPayload() *models.SuccessResponseBody
func (*AdminRevokeUserAuthTokenOK) IsClientError ¶
func (o *AdminRevokeUserAuthTokenOK) IsClientError() bool
IsClientError returns true when this admin revoke user auth token Ok response has a 4xx status code
func (*AdminRevokeUserAuthTokenOK) IsCode ¶
func (o *AdminRevokeUserAuthTokenOK) IsCode(code int) bool
IsCode returns true when this admin revoke user auth token Ok response a status code equal to that given
func (*AdminRevokeUserAuthTokenOK) IsRedirect ¶
func (o *AdminRevokeUserAuthTokenOK) IsRedirect() bool
IsRedirect returns true when this admin revoke user auth token Ok response has a 3xx status code
func (*AdminRevokeUserAuthTokenOK) IsServerError ¶
func (o *AdminRevokeUserAuthTokenOK) IsServerError() bool
IsServerError returns true when this admin revoke user auth token Ok response has a 5xx status code
func (*AdminRevokeUserAuthTokenOK) IsSuccess ¶
func (o *AdminRevokeUserAuthTokenOK) IsSuccess() bool
IsSuccess returns true when this admin revoke user auth token Ok response has a 2xx status code
func (*AdminRevokeUserAuthTokenOK) String ¶
func (o *AdminRevokeUserAuthTokenOK) String() string
type AdminRevokeUserAuthTokenParams ¶
type AdminRevokeUserAuthTokenParams struct { // Body. Body *models.RevokeAuthTokenCmd // UserID. // // Format: int64 UserID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminRevokeUserAuthTokenParams contains all the parameters to send to the API endpoint
for the admin revoke user auth token operation. Typically these are written to a http.Request.
func NewAdminRevokeUserAuthTokenParams ¶
func NewAdminRevokeUserAuthTokenParams() *AdminRevokeUserAuthTokenParams
NewAdminRevokeUserAuthTokenParams creates a new AdminRevokeUserAuthTokenParams 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 NewAdminRevokeUserAuthTokenParamsWithContext ¶
func NewAdminRevokeUserAuthTokenParamsWithContext(ctx context.Context) *AdminRevokeUserAuthTokenParams
NewAdminRevokeUserAuthTokenParamsWithContext creates a new AdminRevokeUserAuthTokenParams object with the ability to set a context for a request.
func NewAdminRevokeUserAuthTokenParamsWithHTTPClient ¶
func NewAdminRevokeUserAuthTokenParamsWithHTTPClient(client *http.Client) *AdminRevokeUserAuthTokenParams
NewAdminRevokeUserAuthTokenParamsWithHTTPClient creates a new AdminRevokeUserAuthTokenParams object with the ability to set a custom HTTPClient for a request.
func NewAdminRevokeUserAuthTokenParamsWithTimeout ¶
func NewAdminRevokeUserAuthTokenParamsWithTimeout(timeout time.Duration) *AdminRevokeUserAuthTokenParams
NewAdminRevokeUserAuthTokenParamsWithTimeout creates a new AdminRevokeUserAuthTokenParams object with the ability to set a timeout on a request.
func (*AdminRevokeUserAuthTokenParams) SetBody ¶
func (o *AdminRevokeUserAuthTokenParams) SetBody(body *models.RevokeAuthTokenCmd)
SetBody adds the body to the admin revoke user auth token params
func (*AdminRevokeUserAuthTokenParams) SetContext ¶
func (o *AdminRevokeUserAuthTokenParams) SetContext(ctx context.Context)
SetContext adds the context to the admin revoke user auth token params
func (*AdminRevokeUserAuthTokenParams) SetDefaults ¶
func (o *AdminRevokeUserAuthTokenParams) SetDefaults()
SetDefaults hydrates default values in the admin revoke user auth token params (not the query body).
All values with no default are reset to their zero value.
func (*AdminRevokeUserAuthTokenParams) SetHTTPClient ¶
func (o *AdminRevokeUserAuthTokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin revoke user auth token params
func (*AdminRevokeUserAuthTokenParams) SetTimeout ¶
func (o *AdminRevokeUserAuthTokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin revoke user auth token params
func (*AdminRevokeUserAuthTokenParams) SetUserID ¶
func (o *AdminRevokeUserAuthTokenParams) SetUserID(userID int64)
SetUserID adds the userId to the admin revoke user auth token params
func (*AdminRevokeUserAuthTokenParams) WithBody ¶
func (o *AdminRevokeUserAuthTokenParams) WithBody(body *models.RevokeAuthTokenCmd) *AdminRevokeUserAuthTokenParams
WithBody adds the body to the admin revoke user auth token params
func (*AdminRevokeUserAuthTokenParams) WithContext ¶
func (o *AdminRevokeUserAuthTokenParams) WithContext(ctx context.Context) *AdminRevokeUserAuthTokenParams
WithContext adds the context to the admin revoke user auth token params
func (*AdminRevokeUserAuthTokenParams) WithDefaults ¶
func (o *AdminRevokeUserAuthTokenParams) WithDefaults() *AdminRevokeUserAuthTokenParams
WithDefaults hydrates default values in the admin revoke user auth token params (not the query body).
All values with no default are reset to their zero value.
func (*AdminRevokeUserAuthTokenParams) WithHTTPClient ¶
func (o *AdminRevokeUserAuthTokenParams) WithHTTPClient(client *http.Client) *AdminRevokeUserAuthTokenParams
WithHTTPClient adds the HTTPClient to the admin revoke user auth token params
func (*AdminRevokeUserAuthTokenParams) WithTimeout ¶
func (o *AdminRevokeUserAuthTokenParams) WithTimeout(timeout time.Duration) *AdminRevokeUserAuthTokenParams
WithTimeout adds the timeout to the admin revoke user auth token params
func (*AdminRevokeUserAuthTokenParams) WithUserID ¶
func (o *AdminRevokeUserAuthTokenParams) WithUserID(userID int64) *AdminRevokeUserAuthTokenParams
WithUserID adds the userID to the admin revoke user auth token params
func (*AdminRevokeUserAuthTokenParams) WriteToRequest ¶
func (o *AdminRevokeUserAuthTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminRevokeUserAuthTokenReader ¶
type AdminRevokeUserAuthTokenReader struct {
// contains filtered or unexported fields
}
AdminRevokeUserAuthTokenReader is a Reader for the AdminRevokeUserAuthToken structure.
func (*AdminRevokeUserAuthTokenReader) ReadResponse ¶
func (o *AdminRevokeUserAuthTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminRevokeUserAuthTokenUnauthorized ¶
type AdminRevokeUserAuthTokenUnauthorized struct {
}AdminRevokeUserAuthTokenUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewAdminRevokeUserAuthTokenUnauthorized ¶
func NewAdminRevokeUserAuthTokenUnauthorized() *AdminRevokeUserAuthTokenUnauthorized
NewAdminRevokeUserAuthTokenUnauthorized creates a AdminRevokeUserAuthTokenUnauthorized with default headers values
func (*AdminRevokeUserAuthTokenUnauthorized) Code ¶
func (o *AdminRevokeUserAuthTokenUnauthorized) Code() int
Code gets the status code for the admin revoke user auth token unauthorized response
func (*AdminRevokeUserAuthTokenUnauthorized) Error ¶
func (o *AdminRevokeUserAuthTokenUnauthorized) Error() string
func (*AdminRevokeUserAuthTokenUnauthorized) GetPayload ¶
func (o *AdminRevokeUserAuthTokenUnauthorized) GetPayload() *models.ErrorResponseBody
func (*AdminRevokeUserAuthTokenUnauthorized) IsClientError ¶
func (o *AdminRevokeUserAuthTokenUnauthorized) IsClientError() bool
IsClientError returns true when this admin revoke user auth token unauthorized response has a 4xx status code
func (*AdminRevokeUserAuthTokenUnauthorized) IsCode ¶
func (o *AdminRevokeUserAuthTokenUnauthorized) IsCode(code int) bool
IsCode returns true when this admin revoke user auth token unauthorized response a status code equal to that given
func (*AdminRevokeUserAuthTokenUnauthorized) IsRedirect ¶
func (o *AdminRevokeUserAuthTokenUnauthorized) IsRedirect() bool
IsRedirect returns true when this admin revoke user auth token unauthorized response has a 3xx status code
func (*AdminRevokeUserAuthTokenUnauthorized) IsServerError ¶
func (o *AdminRevokeUserAuthTokenUnauthorized) IsServerError() bool
IsServerError returns true when this admin revoke user auth token unauthorized response has a 5xx status code
func (*AdminRevokeUserAuthTokenUnauthorized) IsSuccess ¶
func (o *AdminRevokeUserAuthTokenUnauthorized) IsSuccess() bool
IsSuccess returns true when this admin revoke user auth token unauthorized response has a 2xx status code
func (*AdminRevokeUserAuthTokenUnauthorized) String ¶
func (o *AdminRevokeUserAuthTokenUnauthorized) String() string
type AdminUpdateUserPasswordBadRequest ¶
type AdminUpdateUserPasswordBadRequest struct {
Payload *models.ErrorResponseBody
}
AdminUpdateUserPasswordBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewAdminUpdateUserPasswordBadRequest ¶
func NewAdminUpdateUserPasswordBadRequest() *AdminUpdateUserPasswordBadRequest
NewAdminUpdateUserPasswordBadRequest creates a AdminUpdateUserPasswordBadRequest with default headers values
func (*AdminUpdateUserPasswordBadRequest) Code ¶
func (o *AdminUpdateUserPasswordBadRequest) Code() int
Code gets the status code for the admin update user password bad request response
func (*AdminUpdateUserPasswordBadRequest) Error ¶
func (o *AdminUpdateUserPasswordBadRequest) Error() string
func (*AdminUpdateUserPasswordBadRequest) GetPayload ¶
func (o *AdminUpdateUserPasswordBadRequest) GetPayload() *models.ErrorResponseBody
func (*AdminUpdateUserPasswordBadRequest) IsClientError ¶
func (o *AdminUpdateUserPasswordBadRequest) IsClientError() bool
IsClientError returns true when this admin update user password bad request response has a 4xx status code
func (*AdminUpdateUserPasswordBadRequest) IsCode ¶
func (o *AdminUpdateUserPasswordBadRequest) IsCode(code int) bool
IsCode returns true when this admin update user password bad request response a status code equal to that given
func (*AdminUpdateUserPasswordBadRequest) IsRedirect ¶
func (o *AdminUpdateUserPasswordBadRequest) IsRedirect() bool
IsRedirect returns true when this admin update user password bad request response has a 3xx status code
func (*AdminUpdateUserPasswordBadRequest) IsServerError ¶
func (o *AdminUpdateUserPasswordBadRequest) IsServerError() bool
IsServerError returns true when this admin update user password bad request response has a 5xx status code
func (*AdminUpdateUserPasswordBadRequest) IsSuccess ¶
func (o *AdminUpdateUserPasswordBadRequest) IsSuccess() bool
IsSuccess returns true when this admin update user password bad request response has a 2xx status code
func (*AdminUpdateUserPasswordBadRequest) String ¶
func (o *AdminUpdateUserPasswordBadRequest) String() string
type AdminUpdateUserPasswordForbidden ¶
type AdminUpdateUserPasswordForbidden struct {
Payload *models.ErrorResponseBody
}
AdminUpdateUserPasswordForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewAdminUpdateUserPasswordForbidden ¶
func NewAdminUpdateUserPasswordForbidden() *AdminUpdateUserPasswordForbidden
NewAdminUpdateUserPasswordForbidden creates a AdminUpdateUserPasswordForbidden with default headers values
func (*AdminUpdateUserPasswordForbidden) Code ¶
func (o *AdminUpdateUserPasswordForbidden) Code() int
Code gets the status code for the admin update user password forbidden response
func (*AdminUpdateUserPasswordForbidden) Error ¶
func (o *AdminUpdateUserPasswordForbidden) Error() string
func (*AdminUpdateUserPasswordForbidden) GetPayload ¶
func (o *AdminUpdateUserPasswordForbidden) GetPayload() *models.ErrorResponseBody
func (*AdminUpdateUserPasswordForbidden) IsClientError ¶
func (o *AdminUpdateUserPasswordForbidden) IsClientError() bool
IsClientError returns true when this admin update user password forbidden response has a 4xx status code
func (*AdminUpdateUserPasswordForbidden) IsCode ¶
func (o *AdminUpdateUserPasswordForbidden) IsCode(code int) bool
IsCode returns true when this admin update user password forbidden response a status code equal to that given
func (*AdminUpdateUserPasswordForbidden) IsRedirect ¶
func (o *AdminUpdateUserPasswordForbidden) IsRedirect() bool
IsRedirect returns true when this admin update user password forbidden response has a 3xx status code
func (*AdminUpdateUserPasswordForbidden) IsServerError ¶
func (o *AdminUpdateUserPasswordForbidden) IsServerError() bool
IsServerError returns true when this admin update user password forbidden response has a 5xx status code
func (*AdminUpdateUserPasswordForbidden) IsSuccess ¶
func (o *AdminUpdateUserPasswordForbidden) IsSuccess() bool
IsSuccess returns true when this admin update user password forbidden response has a 2xx status code
func (*AdminUpdateUserPasswordForbidden) String ¶
func (o *AdminUpdateUserPasswordForbidden) String() string
type AdminUpdateUserPasswordInternalServerError ¶
type AdminUpdateUserPasswordInternalServerError struct {
Payload *models.ErrorResponseBody
}
AdminUpdateUserPasswordInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewAdminUpdateUserPasswordInternalServerError ¶
func NewAdminUpdateUserPasswordInternalServerError() *AdminUpdateUserPasswordInternalServerError
NewAdminUpdateUserPasswordInternalServerError creates a AdminUpdateUserPasswordInternalServerError with default headers values
func (*AdminUpdateUserPasswordInternalServerError) Code ¶
func (o *AdminUpdateUserPasswordInternalServerError) Code() int
Code gets the status code for the admin update user password internal server error response
func (*AdminUpdateUserPasswordInternalServerError) Error ¶
func (o *AdminUpdateUserPasswordInternalServerError) Error() string
func (*AdminUpdateUserPasswordInternalServerError) GetPayload ¶
func (o *AdminUpdateUserPasswordInternalServerError) GetPayload() *models.ErrorResponseBody
func (*AdminUpdateUserPasswordInternalServerError) IsClientError ¶
func (o *AdminUpdateUserPasswordInternalServerError) IsClientError() bool
IsClientError returns true when this admin update user password internal server error response has a 4xx status code
func (*AdminUpdateUserPasswordInternalServerError) IsCode ¶
func (o *AdminUpdateUserPasswordInternalServerError) IsCode(code int) bool
IsCode returns true when this admin update user password internal server error response a status code equal to that given
func (*AdminUpdateUserPasswordInternalServerError) IsRedirect ¶
func (o *AdminUpdateUserPasswordInternalServerError) IsRedirect() bool
IsRedirect returns true when this admin update user password internal server error response has a 3xx status code
func (*AdminUpdateUserPasswordInternalServerError) IsServerError ¶
func (o *AdminUpdateUserPasswordInternalServerError) IsServerError() bool
IsServerError returns true when this admin update user password internal server error response has a 5xx status code
func (*AdminUpdateUserPasswordInternalServerError) IsSuccess ¶
func (o *AdminUpdateUserPasswordInternalServerError) IsSuccess() bool
IsSuccess returns true when this admin update user password internal server error response has a 2xx status code
func (*AdminUpdateUserPasswordInternalServerError) String ¶
func (o *AdminUpdateUserPasswordInternalServerError) String() string
type AdminUpdateUserPasswordOK ¶
type AdminUpdateUserPasswordOK struct {
Payload *models.SuccessResponseBody
}
AdminUpdateUserPasswordOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewAdminUpdateUserPasswordOK ¶
func NewAdminUpdateUserPasswordOK() *AdminUpdateUserPasswordOK
NewAdminUpdateUserPasswordOK creates a AdminUpdateUserPasswordOK with default headers values
func (*AdminUpdateUserPasswordOK) Code ¶
func (o *AdminUpdateUserPasswordOK) Code() int
Code gets the status code for the admin update user password Ok response
func (*AdminUpdateUserPasswordOK) Error ¶
func (o *AdminUpdateUserPasswordOK) Error() string
func (*AdminUpdateUserPasswordOK) GetPayload ¶
func (o *AdminUpdateUserPasswordOK) GetPayload() *models.SuccessResponseBody
func (*AdminUpdateUserPasswordOK) IsClientError ¶
func (o *AdminUpdateUserPasswordOK) IsClientError() bool
IsClientError returns true when this admin update user password Ok response has a 4xx status code
func (*AdminUpdateUserPasswordOK) IsCode ¶
func (o *AdminUpdateUserPasswordOK) IsCode(code int) bool
IsCode returns true when this admin update user password Ok response a status code equal to that given
func (*AdminUpdateUserPasswordOK) IsRedirect ¶
func (o *AdminUpdateUserPasswordOK) IsRedirect() bool
IsRedirect returns true when this admin update user password Ok response has a 3xx status code
func (*AdminUpdateUserPasswordOK) IsServerError ¶
func (o *AdminUpdateUserPasswordOK) IsServerError() bool
IsServerError returns true when this admin update user password Ok response has a 5xx status code
func (*AdminUpdateUserPasswordOK) IsSuccess ¶
func (o *AdminUpdateUserPasswordOK) IsSuccess() bool
IsSuccess returns true when this admin update user password Ok response has a 2xx status code
func (*AdminUpdateUserPasswordOK) String ¶
func (o *AdminUpdateUserPasswordOK) String() string
type AdminUpdateUserPasswordParams ¶
type AdminUpdateUserPasswordParams struct { // Body. Body *models.AdminUpdateUserPasswordForm // UserID. // // Format: int64 UserID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminUpdateUserPasswordParams contains all the parameters to send to the API endpoint
for the admin update user password operation. Typically these are written to a http.Request.
func NewAdminUpdateUserPasswordParams ¶
func NewAdminUpdateUserPasswordParams() *AdminUpdateUserPasswordParams
NewAdminUpdateUserPasswordParams creates a new AdminUpdateUserPasswordParams 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 NewAdminUpdateUserPasswordParamsWithContext ¶
func NewAdminUpdateUserPasswordParamsWithContext(ctx context.Context) *AdminUpdateUserPasswordParams
NewAdminUpdateUserPasswordParamsWithContext creates a new AdminUpdateUserPasswordParams object with the ability to set a context for a request.
func NewAdminUpdateUserPasswordParamsWithHTTPClient ¶
func NewAdminUpdateUserPasswordParamsWithHTTPClient(client *http.Client) *AdminUpdateUserPasswordParams
NewAdminUpdateUserPasswordParamsWithHTTPClient creates a new AdminUpdateUserPasswordParams object with the ability to set a custom HTTPClient for a request.
func NewAdminUpdateUserPasswordParamsWithTimeout ¶
func NewAdminUpdateUserPasswordParamsWithTimeout(timeout time.Duration) *AdminUpdateUserPasswordParams
NewAdminUpdateUserPasswordParamsWithTimeout creates a new AdminUpdateUserPasswordParams object with the ability to set a timeout on a request.
func (*AdminUpdateUserPasswordParams) SetBody ¶
func (o *AdminUpdateUserPasswordParams) SetBody(body *models.AdminUpdateUserPasswordForm)
SetBody adds the body to the admin update user password params
func (*AdminUpdateUserPasswordParams) SetContext ¶
func (o *AdminUpdateUserPasswordParams) SetContext(ctx context.Context)
SetContext adds the context to the admin update user password params
func (*AdminUpdateUserPasswordParams) SetDefaults ¶
func (o *AdminUpdateUserPasswordParams) SetDefaults()
SetDefaults hydrates default values in the admin update user password params (not the query body).
All values with no default are reset to their zero value.
func (*AdminUpdateUserPasswordParams) SetHTTPClient ¶
func (o *AdminUpdateUserPasswordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin update user password params
func (*AdminUpdateUserPasswordParams) SetTimeout ¶
func (o *AdminUpdateUserPasswordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin update user password params
func (*AdminUpdateUserPasswordParams) SetUserID ¶
func (o *AdminUpdateUserPasswordParams) SetUserID(userID int64)
SetUserID adds the userId to the admin update user password params
func (*AdminUpdateUserPasswordParams) WithBody ¶
func (o *AdminUpdateUserPasswordParams) WithBody(body *models.AdminUpdateUserPasswordForm) *AdminUpdateUserPasswordParams
WithBody adds the body to the admin update user password params
func (*AdminUpdateUserPasswordParams) WithContext ¶
func (o *AdminUpdateUserPasswordParams) WithContext(ctx context.Context) *AdminUpdateUserPasswordParams
WithContext adds the context to the admin update user password params
func (*AdminUpdateUserPasswordParams) WithDefaults ¶
func (o *AdminUpdateUserPasswordParams) WithDefaults() *AdminUpdateUserPasswordParams
WithDefaults hydrates default values in the admin update user password params (not the query body).
All values with no default are reset to their zero value.
func (*AdminUpdateUserPasswordParams) WithHTTPClient ¶
func (o *AdminUpdateUserPasswordParams) WithHTTPClient(client *http.Client) *AdminUpdateUserPasswordParams
WithHTTPClient adds the HTTPClient to the admin update user password params
func (*AdminUpdateUserPasswordParams) WithTimeout ¶
func (o *AdminUpdateUserPasswordParams) WithTimeout(timeout time.Duration) *AdminUpdateUserPasswordParams
WithTimeout adds the timeout to the admin update user password params
func (*AdminUpdateUserPasswordParams) WithUserID ¶
func (o *AdminUpdateUserPasswordParams) WithUserID(userID int64) *AdminUpdateUserPasswordParams
WithUserID adds the userID to the admin update user password params
func (*AdminUpdateUserPasswordParams) WriteToRequest ¶
func (o *AdminUpdateUserPasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminUpdateUserPasswordReader ¶
type AdminUpdateUserPasswordReader struct {
// contains filtered or unexported fields
}
AdminUpdateUserPasswordReader is a Reader for the AdminUpdateUserPassword structure.
func (*AdminUpdateUserPasswordReader) ReadResponse ¶
func (o *AdminUpdateUserPasswordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminUpdateUserPasswordUnauthorized ¶
type AdminUpdateUserPasswordUnauthorized struct {
}AdminUpdateUserPasswordUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewAdminUpdateUserPasswordUnauthorized ¶
func NewAdminUpdateUserPasswordUnauthorized() *AdminUpdateUserPasswordUnauthorized
NewAdminUpdateUserPasswordUnauthorized creates a AdminUpdateUserPasswordUnauthorized with default headers values
func (*AdminUpdateUserPasswordUnauthorized) Code ¶
func (o *AdminUpdateUserPasswordUnauthorized) Code() int
Code gets the status code for the admin update user password unauthorized response
func (*AdminUpdateUserPasswordUnauthorized) Error ¶
func (o *AdminUpdateUserPasswordUnauthorized) Error() string
func (*AdminUpdateUserPasswordUnauthorized) GetPayload ¶
func (o *AdminUpdateUserPasswordUnauthorized) GetPayload() *models.ErrorResponseBody
func (*AdminUpdateUserPasswordUnauthorized) IsClientError ¶
func (o *AdminUpdateUserPasswordUnauthorized) IsClientError() bool
IsClientError returns true when this admin update user password unauthorized response has a 4xx status code
func (*AdminUpdateUserPasswordUnauthorized) IsCode ¶
func (o *AdminUpdateUserPasswordUnauthorized) IsCode(code int) bool
IsCode returns true when this admin update user password unauthorized response a status code equal to that given
func (*AdminUpdateUserPasswordUnauthorized) IsRedirect ¶
func (o *AdminUpdateUserPasswordUnauthorized) IsRedirect() bool
IsRedirect returns true when this admin update user password unauthorized response has a 3xx status code
func (*AdminUpdateUserPasswordUnauthorized) IsServerError ¶
func (o *AdminUpdateUserPasswordUnauthorized) IsServerError() bool
IsServerError returns true when this admin update user password unauthorized response has a 5xx status code
func (*AdminUpdateUserPasswordUnauthorized) IsSuccess ¶
func (o *AdminUpdateUserPasswordUnauthorized) IsSuccess() bool
IsSuccess returns true when this admin update user password unauthorized response has a 2xx status code
func (*AdminUpdateUserPasswordUnauthorized) String ¶
func (o *AdminUpdateUserPasswordUnauthorized) String() string
type AdminUpdateUserPermissionsBadRequest ¶
type AdminUpdateUserPermissionsBadRequest struct {
Payload *models.ErrorResponseBody
}
AdminUpdateUserPermissionsBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewAdminUpdateUserPermissionsBadRequest ¶
func NewAdminUpdateUserPermissionsBadRequest() *AdminUpdateUserPermissionsBadRequest
NewAdminUpdateUserPermissionsBadRequest creates a AdminUpdateUserPermissionsBadRequest with default headers values
func (*AdminUpdateUserPermissionsBadRequest) Code ¶
func (o *AdminUpdateUserPermissionsBadRequest) Code() int
Code gets the status code for the admin update user permissions bad request response
func (*AdminUpdateUserPermissionsBadRequest) Error ¶
func (o *AdminUpdateUserPermissionsBadRequest) Error() string
func (*AdminUpdateUserPermissionsBadRequest) GetPayload ¶
func (o *AdminUpdateUserPermissionsBadRequest) GetPayload() *models.ErrorResponseBody
func (*AdminUpdateUserPermissionsBadRequest) IsClientError ¶
func (o *AdminUpdateUserPermissionsBadRequest) IsClientError() bool
IsClientError returns true when this admin update user permissions bad request response has a 4xx status code
func (*AdminUpdateUserPermissionsBadRequest) IsCode ¶
func (o *AdminUpdateUserPermissionsBadRequest) IsCode(code int) bool
IsCode returns true when this admin update user permissions bad request response a status code equal to that given
func (*AdminUpdateUserPermissionsBadRequest) IsRedirect ¶
func (o *AdminUpdateUserPermissionsBadRequest) IsRedirect() bool
IsRedirect returns true when this admin update user permissions bad request response has a 3xx status code
func (*AdminUpdateUserPermissionsBadRequest) IsServerError ¶
func (o *AdminUpdateUserPermissionsBadRequest) IsServerError() bool
IsServerError returns true when this admin update user permissions bad request response has a 5xx status code
func (*AdminUpdateUserPermissionsBadRequest) IsSuccess ¶
func (o *AdminUpdateUserPermissionsBadRequest) IsSuccess() bool
IsSuccess returns true when this admin update user permissions bad request response has a 2xx status code
func (*AdminUpdateUserPermissionsBadRequest) String ¶
func (o *AdminUpdateUserPermissionsBadRequest) String() string
type AdminUpdateUserPermissionsForbidden ¶
type AdminUpdateUserPermissionsForbidden struct {
Payload *models.ErrorResponseBody
}
AdminUpdateUserPermissionsForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewAdminUpdateUserPermissionsForbidden ¶
func NewAdminUpdateUserPermissionsForbidden() *AdminUpdateUserPermissionsForbidden
NewAdminUpdateUserPermissionsForbidden creates a AdminUpdateUserPermissionsForbidden with default headers values
func (*AdminUpdateUserPermissionsForbidden) Code ¶
func (o *AdminUpdateUserPermissionsForbidden) Code() int
Code gets the status code for the admin update user permissions forbidden response
func (*AdminUpdateUserPermissionsForbidden) Error ¶
func (o *AdminUpdateUserPermissionsForbidden) Error() string
func (*AdminUpdateUserPermissionsForbidden) GetPayload ¶
func (o *AdminUpdateUserPermissionsForbidden) GetPayload() *models.ErrorResponseBody
func (*AdminUpdateUserPermissionsForbidden) IsClientError ¶
func (o *AdminUpdateUserPermissionsForbidden) IsClientError() bool
IsClientError returns true when this admin update user permissions forbidden response has a 4xx status code
func (*AdminUpdateUserPermissionsForbidden) IsCode ¶
func (o *AdminUpdateUserPermissionsForbidden) IsCode(code int) bool
IsCode returns true when this admin update user permissions forbidden response a status code equal to that given
func (*AdminUpdateUserPermissionsForbidden) IsRedirect ¶
func (o *AdminUpdateUserPermissionsForbidden) IsRedirect() bool
IsRedirect returns true when this admin update user permissions forbidden response has a 3xx status code
func (*AdminUpdateUserPermissionsForbidden) IsServerError ¶
func (o *AdminUpdateUserPermissionsForbidden) IsServerError() bool
IsServerError returns true when this admin update user permissions forbidden response has a 5xx status code
func (*AdminUpdateUserPermissionsForbidden) IsSuccess ¶
func (o *AdminUpdateUserPermissionsForbidden) IsSuccess() bool
IsSuccess returns true when this admin update user permissions forbidden response has a 2xx status code
func (*AdminUpdateUserPermissionsForbidden) String ¶
func (o *AdminUpdateUserPermissionsForbidden) String() string
type AdminUpdateUserPermissionsInternalServerError ¶
type AdminUpdateUserPermissionsInternalServerError struct {
Payload *models.ErrorResponseBody
}
AdminUpdateUserPermissionsInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewAdminUpdateUserPermissionsInternalServerError ¶
func NewAdminUpdateUserPermissionsInternalServerError() *AdminUpdateUserPermissionsInternalServerError
NewAdminUpdateUserPermissionsInternalServerError creates a AdminUpdateUserPermissionsInternalServerError with default headers values
func (*AdminUpdateUserPermissionsInternalServerError) Code ¶
func (o *AdminUpdateUserPermissionsInternalServerError) Code() int
Code gets the status code for the admin update user permissions internal server error response
func (*AdminUpdateUserPermissionsInternalServerError) Error ¶
func (o *AdminUpdateUserPermissionsInternalServerError) Error() string
func (*AdminUpdateUserPermissionsInternalServerError) GetPayload ¶
func (o *AdminUpdateUserPermissionsInternalServerError) GetPayload() *models.ErrorResponseBody
func (*AdminUpdateUserPermissionsInternalServerError) IsClientError ¶
func (o *AdminUpdateUserPermissionsInternalServerError) IsClientError() bool
IsClientError returns true when this admin update user permissions internal server error response has a 4xx status code
func (*AdminUpdateUserPermissionsInternalServerError) IsCode ¶
func (o *AdminUpdateUserPermissionsInternalServerError) IsCode(code int) bool
IsCode returns true when this admin update user permissions internal server error response a status code equal to that given
func (*AdminUpdateUserPermissionsInternalServerError) IsRedirect ¶
func (o *AdminUpdateUserPermissionsInternalServerError) IsRedirect() bool
IsRedirect returns true when this admin update user permissions internal server error response has a 3xx status code
func (*AdminUpdateUserPermissionsInternalServerError) IsServerError ¶
func (o *AdminUpdateUserPermissionsInternalServerError) IsServerError() bool
IsServerError returns true when this admin update user permissions internal server error response has a 5xx status code
func (*AdminUpdateUserPermissionsInternalServerError) IsSuccess ¶
func (o *AdminUpdateUserPermissionsInternalServerError) IsSuccess() bool
IsSuccess returns true when this admin update user permissions internal server error response has a 2xx status code
func (*AdminUpdateUserPermissionsInternalServerError) String ¶
func (o *AdminUpdateUserPermissionsInternalServerError) String() string
type AdminUpdateUserPermissionsOK ¶
type AdminUpdateUserPermissionsOK struct {
Payload *models.SuccessResponseBody
}
AdminUpdateUserPermissionsOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewAdminUpdateUserPermissionsOK ¶
func NewAdminUpdateUserPermissionsOK() *AdminUpdateUserPermissionsOK
NewAdminUpdateUserPermissionsOK creates a AdminUpdateUserPermissionsOK with default headers values
func (*AdminUpdateUserPermissionsOK) Code ¶
func (o *AdminUpdateUserPermissionsOK) Code() int
Code gets the status code for the admin update user permissions Ok response
func (*AdminUpdateUserPermissionsOK) Error ¶
func (o *AdminUpdateUserPermissionsOK) Error() string
func (*AdminUpdateUserPermissionsOK) GetPayload ¶
func (o *AdminUpdateUserPermissionsOK) GetPayload() *models.SuccessResponseBody
func (*AdminUpdateUserPermissionsOK) IsClientError ¶
func (o *AdminUpdateUserPermissionsOK) IsClientError() bool
IsClientError returns true when this admin update user permissions Ok response has a 4xx status code
func (*AdminUpdateUserPermissionsOK) IsCode ¶
func (o *AdminUpdateUserPermissionsOK) IsCode(code int) bool
IsCode returns true when this admin update user permissions Ok response a status code equal to that given
func (*AdminUpdateUserPermissionsOK) IsRedirect ¶
func (o *AdminUpdateUserPermissionsOK) IsRedirect() bool
IsRedirect returns true when this admin update user permissions Ok response has a 3xx status code
func (*AdminUpdateUserPermissionsOK) IsServerError ¶
func (o *AdminUpdateUserPermissionsOK) IsServerError() bool
IsServerError returns true when this admin update user permissions Ok response has a 5xx status code
func (*AdminUpdateUserPermissionsOK) IsSuccess ¶
func (o *AdminUpdateUserPermissionsOK) IsSuccess() bool
IsSuccess returns true when this admin update user permissions Ok response has a 2xx status code
func (*AdminUpdateUserPermissionsOK) String ¶
func (o *AdminUpdateUserPermissionsOK) String() string
type AdminUpdateUserPermissionsParams ¶
type AdminUpdateUserPermissionsParams struct { // Body. Body *models.AdminUpdateUserPermissionsForm // UserID. // // Format: int64 UserID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminUpdateUserPermissionsParams contains all the parameters to send to the API endpoint
for the admin update user permissions operation. Typically these are written to a http.Request.
func NewAdminUpdateUserPermissionsParams ¶
func NewAdminUpdateUserPermissionsParams() *AdminUpdateUserPermissionsParams
NewAdminUpdateUserPermissionsParams creates a new AdminUpdateUserPermissionsParams 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 NewAdminUpdateUserPermissionsParamsWithContext ¶
func NewAdminUpdateUserPermissionsParamsWithContext(ctx context.Context) *AdminUpdateUserPermissionsParams
NewAdminUpdateUserPermissionsParamsWithContext creates a new AdminUpdateUserPermissionsParams object with the ability to set a context for a request.
func NewAdminUpdateUserPermissionsParamsWithHTTPClient ¶
func NewAdminUpdateUserPermissionsParamsWithHTTPClient(client *http.Client) *AdminUpdateUserPermissionsParams
NewAdminUpdateUserPermissionsParamsWithHTTPClient creates a new AdminUpdateUserPermissionsParams object with the ability to set a custom HTTPClient for a request.
func NewAdminUpdateUserPermissionsParamsWithTimeout ¶
func NewAdminUpdateUserPermissionsParamsWithTimeout(timeout time.Duration) *AdminUpdateUserPermissionsParams
NewAdminUpdateUserPermissionsParamsWithTimeout creates a new AdminUpdateUserPermissionsParams object with the ability to set a timeout on a request.
func (*AdminUpdateUserPermissionsParams) SetBody ¶
func (o *AdminUpdateUserPermissionsParams) SetBody(body *models.AdminUpdateUserPermissionsForm)
SetBody adds the body to the admin update user permissions params
func (*AdminUpdateUserPermissionsParams) SetContext ¶
func (o *AdminUpdateUserPermissionsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin update user permissions params
func (*AdminUpdateUserPermissionsParams) SetDefaults ¶
func (o *AdminUpdateUserPermissionsParams) SetDefaults()
SetDefaults hydrates default values in the admin update user permissions params (not the query body).
All values with no default are reset to their zero value.
func (*AdminUpdateUserPermissionsParams) SetHTTPClient ¶
func (o *AdminUpdateUserPermissionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin update user permissions params
func (*AdminUpdateUserPermissionsParams) SetTimeout ¶
func (o *AdminUpdateUserPermissionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin update user permissions params
func (*AdminUpdateUserPermissionsParams) SetUserID ¶
func (o *AdminUpdateUserPermissionsParams) SetUserID(userID int64)
SetUserID adds the userId to the admin update user permissions params
func (*AdminUpdateUserPermissionsParams) WithBody ¶
func (o *AdminUpdateUserPermissionsParams) WithBody(body *models.AdminUpdateUserPermissionsForm) *AdminUpdateUserPermissionsParams
WithBody adds the body to the admin update user permissions params
func (*AdminUpdateUserPermissionsParams) WithContext ¶
func (o *AdminUpdateUserPermissionsParams) WithContext(ctx context.Context) *AdminUpdateUserPermissionsParams
WithContext adds the context to the admin update user permissions params
func (*AdminUpdateUserPermissionsParams) WithDefaults ¶
func (o *AdminUpdateUserPermissionsParams) WithDefaults() *AdminUpdateUserPermissionsParams
WithDefaults hydrates default values in the admin update user permissions params (not the query body).
All values with no default are reset to their zero value.
func (*AdminUpdateUserPermissionsParams) WithHTTPClient ¶
func (o *AdminUpdateUserPermissionsParams) WithHTTPClient(client *http.Client) *AdminUpdateUserPermissionsParams
WithHTTPClient adds the HTTPClient to the admin update user permissions params
func (*AdminUpdateUserPermissionsParams) WithTimeout ¶
func (o *AdminUpdateUserPermissionsParams) WithTimeout(timeout time.Duration) *AdminUpdateUserPermissionsParams
WithTimeout adds the timeout to the admin update user permissions params
func (*AdminUpdateUserPermissionsParams) WithUserID ¶
func (o *AdminUpdateUserPermissionsParams) WithUserID(userID int64) *AdminUpdateUserPermissionsParams
WithUserID adds the userID to the admin update user permissions params
func (*AdminUpdateUserPermissionsParams) WriteToRequest ¶
func (o *AdminUpdateUserPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminUpdateUserPermissionsReader ¶
type AdminUpdateUserPermissionsReader struct {
// contains filtered or unexported fields
}
AdminUpdateUserPermissionsReader is a Reader for the AdminUpdateUserPermissions structure.
func (*AdminUpdateUserPermissionsReader) ReadResponse ¶
func (o *AdminUpdateUserPermissionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminUpdateUserPermissionsUnauthorized ¶
type AdminUpdateUserPermissionsUnauthorized struct {
}AdminUpdateUserPermissionsUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewAdminUpdateUserPermissionsUnauthorized ¶
func NewAdminUpdateUserPermissionsUnauthorized() *AdminUpdateUserPermissionsUnauthorized
NewAdminUpdateUserPermissionsUnauthorized creates a AdminUpdateUserPermissionsUnauthorized with default headers values
func (*AdminUpdateUserPermissionsUnauthorized) Code ¶
func (o *AdminUpdateUserPermissionsUnauthorized) Code() int
Code gets the status code for the admin update user permissions unauthorized response
func (*AdminUpdateUserPermissionsUnauthorized) Error ¶
func (o *AdminUpdateUserPermissionsUnauthorized) Error() string
func (*AdminUpdateUserPermissionsUnauthorized) GetPayload ¶
func (o *AdminUpdateUserPermissionsUnauthorized) GetPayload() *models.ErrorResponseBody
func (*AdminUpdateUserPermissionsUnauthorized) IsClientError ¶
func (o *AdminUpdateUserPermissionsUnauthorized) IsClientError() bool
IsClientError returns true when this admin update user permissions unauthorized response has a 4xx status code
func (*AdminUpdateUserPermissionsUnauthorized) IsCode ¶
func (o *AdminUpdateUserPermissionsUnauthorized) IsCode(code int) bool
IsCode returns true when this admin update user permissions unauthorized response a status code equal to that given
func (*AdminUpdateUserPermissionsUnauthorized) IsRedirect ¶
func (o *AdminUpdateUserPermissionsUnauthorized) IsRedirect() bool
IsRedirect returns true when this admin update user permissions unauthorized response has a 3xx status code
func (*AdminUpdateUserPermissionsUnauthorized) IsServerError ¶
func (o *AdminUpdateUserPermissionsUnauthorized) IsServerError() bool
IsServerError returns true when this admin update user permissions unauthorized response has a 5xx status code
func (*AdminUpdateUserPermissionsUnauthorized) IsSuccess ¶
func (o *AdminUpdateUserPermissionsUnauthorized) IsSuccess() bool
IsSuccess returns true when this admin update user permissions unauthorized response has a 2xx status code
func (*AdminUpdateUserPermissionsUnauthorized) String ¶
func (o *AdminUpdateUserPermissionsUnauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for admin users API
func (*Client) AdminCreateUser ¶
func (a *Client) AdminCreateUser(body *models.AdminCreateUserForm, opts ...ClientOption) (*AdminCreateUserOK, error)
AdminCreateUser creates new user
If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `users:create`. Note that OrgId is an optional parameter that can be used to assign a new user to a different organization when `auto_assign_org` is set to `true`.
func (*Client) AdminCreateUserWithParams ¶
func (a *Client) AdminCreateUserWithParams(params *AdminCreateUserParams, opts ...ClientOption) (*AdminCreateUserOK, error)
func (*Client) AdminDeleteUser ¶
func (a *Client) AdminDeleteUser(userID int64, opts ...ClientOption) (*AdminDeleteUserOK, error)
AdminDeleteUser deletes global user
If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `users:delete` and scope `global.users:*`.
func (*Client) AdminDeleteUserWithParams ¶
func (a *Client) AdminDeleteUserWithParams(params *AdminDeleteUserParams, opts ...ClientOption) (*AdminDeleteUserOK, error)
func (*Client) AdminDisableUser ¶
func (a *Client) AdminDisableUser(userID int64, opts ...ClientOption) (*AdminDisableUserOK, error)
AdminDisableUser disables user
If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `users:disable` and scope `global.users:1` (userIDScope).
func (*Client) AdminDisableUserWithParams ¶
func (a *Client) AdminDisableUserWithParams(params *AdminDisableUserParams, opts ...ClientOption) (*AdminDisableUserOK, error)
func (*Client) AdminEnableUser ¶
func (a *Client) AdminEnableUser(userID int64, opts ...ClientOption) (*AdminEnableUserOK, error)
AdminEnableUser enables user
If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `users:enable` and scope `global.users:1` (userIDScope).
func (*Client) AdminEnableUserWithParams ¶
func (a *Client) AdminEnableUserWithParams(params *AdminEnableUserParams, opts ...ClientOption) (*AdminEnableUserOK, error)
func (*Client) AdminGetUserAuthTokens ¶
func (a *Client) AdminGetUserAuthTokens(userID int64, opts ...ClientOption) (*AdminGetUserAuthTokensOK, error)
AdminGetUserAuthTokens returns a list of all auth tokens devices that the user currently have logged in from
If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `users.authtoken:list` and scope `global.users:*`.
func (*Client) AdminGetUserAuthTokensWithParams ¶
func (a *Client) AdminGetUserAuthTokensWithParams(params *AdminGetUserAuthTokensParams, opts ...ClientOption) (*AdminGetUserAuthTokensOK, error)
func (*Client) AdminLogoutUser ¶
func (a *Client) AdminLogoutUser(userID int64, opts ...ClientOption) (*AdminLogoutUserOK, error)
AdminLogoutUser logouts user revokes all auth tokens devices for the user user of issued auth tokens devices will no longer be logged in and will be required to authenticate again upon next activity
If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `users.logout` and scope `global.users:*`.
func (*Client) AdminLogoutUserWithParams ¶
func (a *Client) AdminLogoutUserWithParams(params *AdminLogoutUserParams, opts ...ClientOption) (*AdminLogoutUserOK, error)
func (*Client) AdminRevokeUserAuthToken ¶
func (a *Client) AdminRevokeUserAuthToken(userID int64, body *models.RevokeAuthTokenCmd, opts ...ClientOption) (*AdminRevokeUserAuthTokenOK, error)
AdminRevokeUserAuthToken revokes auth token for user
Revokes the given auth token (device) for the user. User of issued auth token (device) will no longer be logged in and will be required to authenticate again upon next activity. If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `users.authtoken:update` and scope `global.users:*`.
func (*Client) AdminRevokeUserAuthTokenWithParams ¶
func (a *Client) AdminRevokeUserAuthTokenWithParams(params *AdminRevokeUserAuthTokenParams, opts ...ClientOption) (*AdminRevokeUserAuthTokenOK, error)
func (*Client) AdminUpdateUserPassword ¶
func (a *Client) AdminUpdateUserPassword(userID int64, body *models.AdminUpdateUserPasswordForm, opts ...ClientOption) (*AdminUpdateUserPasswordOK, error)
AdminUpdateUserPassword sets password for user
If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `users.password:update` and scope `global.users:*`.
func (*Client) AdminUpdateUserPasswordWithParams ¶
func (a *Client) AdminUpdateUserPasswordWithParams(params *AdminUpdateUserPasswordParams, opts ...ClientOption) (*AdminUpdateUserPasswordOK, error)
func (*Client) AdminUpdateUserPermissions ¶
func (a *Client) AdminUpdateUserPermissions(userID int64, body *models.AdminUpdateUserPermissionsForm, opts ...ClientOption) (*AdminUpdateUserPermissionsOK, error)
AdminUpdateUserPermissions sets permissions for user
Only works with Basic Authentication (username and password). See introduction for an explanation. If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `users.permissions:update` and scope `global.users:*`.
func (*Client) AdminUpdateUserPermissionsWithParams ¶
func (a *Client) AdminUpdateUserPermissionsWithParams(params *AdminUpdateUserPermissionsParams, opts ...ClientOption) (*AdminUpdateUserPermissionsOK, error)
func (*Client) GetUserQuota ¶
func (a *Client) GetUserQuota(userID int64, opts ...ClientOption) (*GetUserQuotaOK, error)
GetUserQuota fetches user quota
If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `users.quotas:list` and scope `global.users:1` (userIDScope).
func (*Client) GetUserQuotaWithParams ¶
func (a *Client) GetUserQuotaWithParams(params *GetUserQuotaParams, opts ...ClientOption) (*GetUserQuotaOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateUserQuota ¶
func (a *Client) UpdateUserQuota(params *UpdateUserQuotaParams, opts ...ClientOption) (*UpdateUserQuotaOK, error)
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
func WithAuthInfo ¶
func WithAuthInfo(authInfo runtime.ClientAuthInfoWriter) ClientOption
WithAuthInfo changes the transport on the client
type ClientService ¶
type ClientService interface { AdminCreateUser(body *models.AdminCreateUserForm, opts ...ClientOption) (*AdminCreateUserOK, error) AdminCreateUserWithParams(params *AdminCreateUserParams, opts ...ClientOption) (*AdminCreateUserOK, error) AdminDeleteUser(userID int64, opts ...ClientOption) (*AdminDeleteUserOK, error) AdminDeleteUserWithParams(params *AdminDeleteUserParams, opts ...ClientOption) (*AdminDeleteUserOK, error) AdminDisableUser(userID int64, opts ...ClientOption) (*AdminDisableUserOK, error) AdminDisableUserWithParams(params *AdminDisableUserParams, opts ...ClientOption) (*AdminDisableUserOK, error) AdminEnableUser(userID int64, opts ...ClientOption) (*AdminEnableUserOK, error) AdminEnableUserWithParams(params *AdminEnableUserParams, opts ...ClientOption) (*AdminEnableUserOK, error) AdminGetUserAuthTokens(userID int64, opts ...ClientOption) (*AdminGetUserAuthTokensOK, error) AdminGetUserAuthTokensWithParams(params *AdminGetUserAuthTokensParams, opts ...ClientOption) (*AdminGetUserAuthTokensOK, error) AdminLogoutUser(userID int64, opts ...ClientOption) (*AdminLogoutUserOK, error) AdminLogoutUserWithParams(params *AdminLogoutUserParams, opts ...ClientOption) (*AdminLogoutUserOK, error) AdminRevokeUserAuthToken(userID int64, body *models.RevokeAuthTokenCmd, opts ...ClientOption) (*AdminRevokeUserAuthTokenOK, error) AdminRevokeUserAuthTokenWithParams(params *AdminRevokeUserAuthTokenParams, opts ...ClientOption) (*AdminRevokeUserAuthTokenOK, error) AdminUpdateUserPassword(userID int64, body *models.AdminUpdateUserPasswordForm, opts ...ClientOption) (*AdminUpdateUserPasswordOK, error) AdminUpdateUserPasswordWithParams(params *AdminUpdateUserPasswordParams, opts ...ClientOption) (*AdminUpdateUserPasswordOK, error) AdminUpdateUserPermissions(userID int64, body *models.AdminUpdateUserPermissionsForm, opts ...ClientOption) (*AdminUpdateUserPermissionsOK, error) AdminUpdateUserPermissionsWithParams(params *AdminUpdateUserPermissionsParams, opts ...ClientOption) (*AdminUpdateUserPermissionsOK, error) GetUserQuota(userID int64, opts ...ClientOption) (*GetUserQuotaOK, error) GetUserQuotaWithParams(params *GetUserQuotaParams, opts ...ClientOption) (*GetUserQuotaOK, error) UpdateUserQuota(params *UpdateUserQuotaParams, opts ...ClientOption) (*UpdateUserQuotaOK, 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 admin users API client.
type GetUserQuotaForbidden ¶
type GetUserQuotaForbidden struct {
Payload *models.ErrorResponseBody
}
GetUserQuotaForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewGetUserQuotaForbidden ¶
func NewGetUserQuotaForbidden() *GetUserQuotaForbidden
NewGetUserQuotaForbidden creates a GetUserQuotaForbidden with default headers values
func (*GetUserQuotaForbidden) Code ¶
func (o *GetUserQuotaForbidden) Code() int
Code gets the status code for the get user quota forbidden response
func (*GetUserQuotaForbidden) Error ¶
func (o *GetUserQuotaForbidden) Error() string
func (*GetUserQuotaForbidden) GetPayload ¶
func (o *GetUserQuotaForbidden) GetPayload() *models.ErrorResponseBody
func (*GetUserQuotaForbidden) IsClientError ¶
func (o *GetUserQuotaForbidden) IsClientError() bool
IsClientError returns true when this get user quota forbidden response has a 4xx status code
func (*GetUserQuotaForbidden) IsCode ¶
func (o *GetUserQuotaForbidden) IsCode(code int) bool
IsCode returns true when this get user quota forbidden response a status code equal to that given
func (*GetUserQuotaForbidden) IsRedirect ¶
func (o *GetUserQuotaForbidden) IsRedirect() bool
IsRedirect returns true when this get user quota forbidden response has a 3xx status code
func (*GetUserQuotaForbidden) IsServerError ¶
func (o *GetUserQuotaForbidden) IsServerError() bool
IsServerError returns true when this get user quota forbidden response has a 5xx status code
func (*GetUserQuotaForbidden) IsSuccess ¶
func (o *GetUserQuotaForbidden) IsSuccess() bool
IsSuccess returns true when this get user quota forbidden response has a 2xx status code
func (*GetUserQuotaForbidden) String ¶
func (o *GetUserQuotaForbidden) String() string
type GetUserQuotaInternalServerError ¶
type GetUserQuotaInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetUserQuotaInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetUserQuotaInternalServerError ¶
func NewGetUserQuotaInternalServerError() *GetUserQuotaInternalServerError
NewGetUserQuotaInternalServerError creates a GetUserQuotaInternalServerError with default headers values
func (*GetUserQuotaInternalServerError) Code ¶
func (o *GetUserQuotaInternalServerError) Code() int
Code gets the status code for the get user quota internal server error response
func (*GetUserQuotaInternalServerError) Error ¶
func (o *GetUserQuotaInternalServerError) Error() string
func (*GetUserQuotaInternalServerError) GetPayload ¶
func (o *GetUserQuotaInternalServerError) GetPayload() *models.ErrorResponseBody
func (*GetUserQuotaInternalServerError) IsClientError ¶
func (o *GetUserQuotaInternalServerError) IsClientError() bool
IsClientError returns true when this get user quota internal server error response has a 4xx status code
func (*GetUserQuotaInternalServerError) IsCode ¶
func (o *GetUserQuotaInternalServerError) IsCode(code int) bool
IsCode returns true when this get user quota internal server error response a status code equal to that given
func (*GetUserQuotaInternalServerError) IsRedirect ¶
func (o *GetUserQuotaInternalServerError) IsRedirect() bool
IsRedirect returns true when this get user quota internal server error response has a 3xx status code
func (*GetUserQuotaInternalServerError) IsServerError ¶
func (o *GetUserQuotaInternalServerError) IsServerError() bool
IsServerError returns true when this get user quota internal server error response has a 5xx status code
func (*GetUserQuotaInternalServerError) IsSuccess ¶
func (o *GetUserQuotaInternalServerError) IsSuccess() bool
IsSuccess returns true when this get user quota internal server error response has a 2xx status code
func (*GetUserQuotaInternalServerError) String ¶
func (o *GetUserQuotaInternalServerError) String() string
type GetUserQuotaNotFound ¶
type GetUserQuotaNotFound struct {
Payload *models.ErrorResponseBody
}
GetUserQuotaNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewGetUserQuotaNotFound ¶
func NewGetUserQuotaNotFound() *GetUserQuotaNotFound
NewGetUserQuotaNotFound creates a GetUserQuotaNotFound with default headers values
func (*GetUserQuotaNotFound) Code ¶
func (o *GetUserQuotaNotFound) Code() int
Code gets the status code for the get user quota not found response
func (*GetUserQuotaNotFound) Error ¶
func (o *GetUserQuotaNotFound) Error() string
func (*GetUserQuotaNotFound) GetPayload ¶
func (o *GetUserQuotaNotFound) GetPayload() *models.ErrorResponseBody
func (*GetUserQuotaNotFound) IsClientError ¶
func (o *GetUserQuotaNotFound) IsClientError() bool
IsClientError returns true when this get user quota not found response has a 4xx status code
func (*GetUserQuotaNotFound) IsCode ¶
func (o *GetUserQuotaNotFound) IsCode(code int) bool
IsCode returns true when this get user quota not found response a status code equal to that given
func (*GetUserQuotaNotFound) IsRedirect ¶
func (o *GetUserQuotaNotFound) IsRedirect() bool
IsRedirect returns true when this get user quota not found response has a 3xx status code
func (*GetUserQuotaNotFound) IsServerError ¶
func (o *GetUserQuotaNotFound) IsServerError() bool
IsServerError returns true when this get user quota not found response has a 5xx status code
func (*GetUserQuotaNotFound) IsSuccess ¶
func (o *GetUserQuotaNotFound) IsSuccess() bool
IsSuccess returns true when this get user quota not found response has a 2xx status code
func (*GetUserQuotaNotFound) String ¶
func (o *GetUserQuotaNotFound) String() string
type GetUserQuotaOK ¶
GetUserQuotaOK describes a response with status code 200, with default header values.
(empty)
func NewGetUserQuotaOK ¶
func NewGetUserQuotaOK() *GetUserQuotaOK
NewGetUserQuotaOK creates a GetUserQuotaOK with default headers values
func (*GetUserQuotaOK) Code ¶
func (o *GetUserQuotaOK) Code() int
Code gets the status code for the get user quota Ok response
func (*GetUserQuotaOK) Error ¶
func (o *GetUserQuotaOK) Error() string
func (*GetUserQuotaOK) GetPayload ¶
func (o *GetUserQuotaOK) GetPayload() []*models.QuotaDTO
func (*GetUserQuotaOK) IsClientError ¶
func (o *GetUserQuotaOK) IsClientError() bool
IsClientError returns true when this get user quota Ok response has a 4xx status code
func (*GetUserQuotaOK) IsCode ¶
func (o *GetUserQuotaOK) IsCode(code int) bool
IsCode returns true when this get user quota Ok response a status code equal to that given
func (*GetUserQuotaOK) IsRedirect ¶
func (o *GetUserQuotaOK) IsRedirect() bool
IsRedirect returns true when this get user quota Ok response has a 3xx status code
func (*GetUserQuotaOK) IsServerError ¶
func (o *GetUserQuotaOK) IsServerError() bool
IsServerError returns true when this get user quota Ok response has a 5xx status code
func (*GetUserQuotaOK) IsSuccess ¶
func (o *GetUserQuotaOK) IsSuccess() bool
IsSuccess returns true when this get user quota Ok response has a 2xx status code
func (*GetUserQuotaOK) String ¶
func (o *GetUserQuotaOK) String() string
type GetUserQuotaParams ¶
type GetUserQuotaParams struct { // UserID. // // Format: int64 UserID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserQuotaParams contains all the parameters to send to the API endpoint
for the get user quota operation. Typically these are written to a http.Request.
func NewGetUserQuotaParams ¶
func NewGetUserQuotaParams() *GetUserQuotaParams
NewGetUserQuotaParams creates a new GetUserQuotaParams 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 NewGetUserQuotaParamsWithContext ¶
func NewGetUserQuotaParamsWithContext(ctx context.Context) *GetUserQuotaParams
NewGetUserQuotaParamsWithContext creates a new GetUserQuotaParams object with the ability to set a context for a request.
func NewGetUserQuotaParamsWithHTTPClient ¶
func NewGetUserQuotaParamsWithHTTPClient(client *http.Client) *GetUserQuotaParams
NewGetUserQuotaParamsWithHTTPClient creates a new GetUserQuotaParams object with the ability to set a custom HTTPClient for a request.
func NewGetUserQuotaParamsWithTimeout ¶
func NewGetUserQuotaParamsWithTimeout(timeout time.Duration) *GetUserQuotaParams
NewGetUserQuotaParamsWithTimeout creates a new GetUserQuotaParams object with the ability to set a timeout on a request.
func (*GetUserQuotaParams) SetContext ¶
func (o *GetUserQuotaParams) SetContext(ctx context.Context)
SetContext adds the context to the get user quota params
func (*GetUserQuotaParams) SetDefaults ¶
func (o *GetUserQuotaParams) SetDefaults()
SetDefaults hydrates default values in the get user quota params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserQuotaParams) SetHTTPClient ¶
func (o *GetUserQuotaParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user quota params
func (*GetUserQuotaParams) SetTimeout ¶
func (o *GetUserQuotaParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user quota params
func (*GetUserQuotaParams) SetUserID ¶
func (o *GetUserQuotaParams) SetUserID(userID int64)
SetUserID adds the userId to the get user quota params
func (*GetUserQuotaParams) WithContext ¶
func (o *GetUserQuotaParams) WithContext(ctx context.Context) *GetUserQuotaParams
WithContext adds the context to the get user quota params
func (*GetUserQuotaParams) WithDefaults ¶
func (o *GetUserQuotaParams) WithDefaults() *GetUserQuotaParams
WithDefaults hydrates default values in the get user quota params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserQuotaParams) WithHTTPClient ¶
func (o *GetUserQuotaParams) WithHTTPClient(client *http.Client) *GetUserQuotaParams
WithHTTPClient adds the HTTPClient to the get user quota params
func (*GetUserQuotaParams) WithTimeout ¶
func (o *GetUserQuotaParams) WithTimeout(timeout time.Duration) *GetUserQuotaParams
WithTimeout adds the timeout to the get user quota params
func (*GetUserQuotaParams) WithUserID ¶
func (o *GetUserQuotaParams) WithUserID(userID int64) *GetUserQuotaParams
WithUserID adds the userID to the get user quota params
func (*GetUserQuotaParams) WriteToRequest ¶
func (o *GetUserQuotaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserQuotaReader ¶
type GetUserQuotaReader struct {
// contains filtered or unexported fields
}
GetUserQuotaReader is a Reader for the GetUserQuota structure.
func (*GetUserQuotaReader) ReadResponse ¶
func (o *GetUserQuotaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserQuotaUnauthorized ¶
type GetUserQuotaUnauthorized struct {
}GetUserQuotaUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetUserQuotaUnauthorized ¶
func NewGetUserQuotaUnauthorized() *GetUserQuotaUnauthorized
NewGetUserQuotaUnauthorized creates a GetUserQuotaUnauthorized with default headers values
func (*GetUserQuotaUnauthorized) Code ¶
func (o *GetUserQuotaUnauthorized) Code() int
Code gets the status code for the get user quota unauthorized response
func (*GetUserQuotaUnauthorized) Error ¶
func (o *GetUserQuotaUnauthorized) Error() string
func (*GetUserQuotaUnauthorized) GetPayload ¶
func (o *GetUserQuotaUnauthorized) GetPayload() *models.ErrorResponseBody
func (*GetUserQuotaUnauthorized) IsClientError ¶
func (o *GetUserQuotaUnauthorized) IsClientError() bool
IsClientError returns true when this get user quota unauthorized response has a 4xx status code
func (*GetUserQuotaUnauthorized) IsCode ¶
func (o *GetUserQuotaUnauthorized) IsCode(code int) bool
IsCode returns true when this get user quota unauthorized response a status code equal to that given
func (*GetUserQuotaUnauthorized) IsRedirect ¶
func (o *GetUserQuotaUnauthorized) IsRedirect() bool
IsRedirect returns true when this get user quota unauthorized response has a 3xx status code
func (*GetUserQuotaUnauthorized) IsServerError ¶
func (o *GetUserQuotaUnauthorized) IsServerError() bool
IsServerError returns true when this get user quota unauthorized response has a 5xx status code
func (*GetUserQuotaUnauthorized) IsSuccess ¶
func (o *GetUserQuotaUnauthorized) IsSuccess() bool
IsSuccess returns true when this get user quota unauthorized response has a 2xx status code
func (*GetUserQuotaUnauthorized) String ¶
func (o *GetUserQuotaUnauthorized) String() string
type UpdateUserQuotaForbidden ¶
type UpdateUserQuotaForbidden struct {
Payload *models.ErrorResponseBody
}
UpdateUserQuotaForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewUpdateUserQuotaForbidden ¶
func NewUpdateUserQuotaForbidden() *UpdateUserQuotaForbidden
NewUpdateUserQuotaForbidden creates a UpdateUserQuotaForbidden with default headers values
func (*UpdateUserQuotaForbidden) Code ¶
func (o *UpdateUserQuotaForbidden) Code() int
Code gets the status code for the update user quota forbidden response
func (*UpdateUserQuotaForbidden) Error ¶
func (o *UpdateUserQuotaForbidden) Error() string
func (*UpdateUserQuotaForbidden) GetPayload ¶
func (o *UpdateUserQuotaForbidden) GetPayload() *models.ErrorResponseBody
func (*UpdateUserQuotaForbidden) IsClientError ¶
func (o *UpdateUserQuotaForbidden) IsClientError() bool
IsClientError returns true when this update user quota forbidden response has a 4xx status code
func (*UpdateUserQuotaForbidden) IsCode ¶
func (o *UpdateUserQuotaForbidden) IsCode(code int) bool
IsCode returns true when this update user quota forbidden response a status code equal to that given
func (*UpdateUserQuotaForbidden) IsRedirect ¶
func (o *UpdateUserQuotaForbidden) IsRedirect() bool
IsRedirect returns true when this update user quota forbidden response has a 3xx status code
func (*UpdateUserQuotaForbidden) IsServerError ¶
func (o *UpdateUserQuotaForbidden) IsServerError() bool
IsServerError returns true when this update user quota forbidden response has a 5xx status code
func (*UpdateUserQuotaForbidden) IsSuccess ¶
func (o *UpdateUserQuotaForbidden) IsSuccess() bool
IsSuccess returns true when this update user quota forbidden response has a 2xx status code
func (*UpdateUserQuotaForbidden) String ¶
func (o *UpdateUserQuotaForbidden) String() string
type UpdateUserQuotaInternalServerError ¶
type UpdateUserQuotaInternalServerError struct {
Payload *models.ErrorResponseBody
}
UpdateUserQuotaInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewUpdateUserQuotaInternalServerError ¶
func NewUpdateUserQuotaInternalServerError() *UpdateUserQuotaInternalServerError
NewUpdateUserQuotaInternalServerError creates a UpdateUserQuotaInternalServerError with default headers values
func (*UpdateUserQuotaInternalServerError) Code ¶
func (o *UpdateUserQuotaInternalServerError) Code() int
Code gets the status code for the update user quota internal server error response
func (*UpdateUserQuotaInternalServerError) Error ¶
func (o *UpdateUserQuotaInternalServerError) Error() string
func (*UpdateUserQuotaInternalServerError) GetPayload ¶
func (o *UpdateUserQuotaInternalServerError) GetPayload() *models.ErrorResponseBody
func (*UpdateUserQuotaInternalServerError) IsClientError ¶
func (o *UpdateUserQuotaInternalServerError) IsClientError() bool
IsClientError returns true when this update user quota internal server error response has a 4xx status code
func (*UpdateUserQuotaInternalServerError) IsCode ¶
func (o *UpdateUserQuotaInternalServerError) IsCode(code int) bool
IsCode returns true when this update user quota internal server error response a status code equal to that given
func (*UpdateUserQuotaInternalServerError) IsRedirect ¶
func (o *UpdateUserQuotaInternalServerError) IsRedirect() bool
IsRedirect returns true when this update user quota internal server error response has a 3xx status code
func (*UpdateUserQuotaInternalServerError) IsServerError ¶
func (o *UpdateUserQuotaInternalServerError) IsServerError() bool
IsServerError returns true when this update user quota internal server error response has a 5xx status code
func (*UpdateUserQuotaInternalServerError) IsSuccess ¶
func (o *UpdateUserQuotaInternalServerError) IsSuccess() bool
IsSuccess returns true when this update user quota internal server error response has a 2xx status code
func (*UpdateUserQuotaInternalServerError) String ¶
func (o *UpdateUserQuotaInternalServerError) String() string
type UpdateUserQuotaNotFound ¶
type UpdateUserQuotaNotFound struct {
Payload *models.ErrorResponseBody
}
UpdateUserQuotaNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewUpdateUserQuotaNotFound ¶
func NewUpdateUserQuotaNotFound() *UpdateUserQuotaNotFound
NewUpdateUserQuotaNotFound creates a UpdateUserQuotaNotFound with default headers values
func (*UpdateUserQuotaNotFound) Code ¶
func (o *UpdateUserQuotaNotFound) Code() int
Code gets the status code for the update user quota not found response
func (*UpdateUserQuotaNotFound) Error ¶
func (o *UpdateUserQuotaNotFound) Error() string
func (*UpdateUserQuotaNotFound) GetPayload ¶
func (o *UpdateUserQuotaNotFound) GetPayload() *models.ErrorResponseBody
func (*UpdateUserQuotaNotFound) IsClientError ¶
func (o *UpdateUserQuotaNotFound) IsClientError() bool
IsClientError returns true when this update user quota not found response has a 4xx status code
func (*UpdateUserQuotaNotFound) IsCode ¶
func (o *UpdateUserQuotaNotFound) IsCode(code int) bool
IsCode returns true when this update user quota not found response a status code equal to that given
func (*UpdateUserQuotaNotFound) IsRedirect ¶
func (o *UpdateUserQuotaNotFound) IsRedirect() bool
IsRedirect returns true when this update user quota not found response has a 3xx status code
func (*UpdateUserQuotaNotFound) IsServerError ¶
func (o *UpdateUserQuotaNotFound) IsServerError() bool
IsServerError returns true when this update user quota not found response has a 5xx status code
func (*UpdateUserQuotaNotFound) IsSuccess ¶
func (o *UpdateUserQuotaNotFound) IsSuccess() bool
IsSuccess returns true when this update user quota not found response has a 2xx status code
func (*UpdateUserQuotaNotFound) String ¶
func (o *UpdateUserQuotaNotFound) String() string
type UpdateUserQuotaOK ¶
type UpdateUserQuotaOK struct {
Payload *models.SuccessResponseBody
}
UpdateUserQuotaOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewUpdateUserQuotaOK ¶
func NewUpdateUserQuotaOK() *UpdateUserQuotaOK
NewUpdateUserQuotaOK creates a UpdateUserQuotaOK with default headers values
func (*UpdateUserQuotaOK) Code ¶
func (o *UpdateUserQuotaOK) Code() int
Code gets the status code for the update user quota Ok response
func (*UpdateUserQuotaOK) Error ¶
func (o *UpdateUserQuotaOK) Error() string
func (*UpdateUserQuotaOK) GetPayload ¶
func (o *UpdateUserQuotaOK) GetPayload() *models.SuccessResponseBody
func (*UpdateUserQuotaOK) IsClientError ¶
func (o *UpdateUserQuotaOK) IsClientError() bool
IsClientError returns true when this update user quota Ok response has a 4xx status code
func (*UpdateUserQuotaOK) IsCode ¶
func (o *UpdateUserQuotaOK) IsCode(code int) bool
IsCode returns true when this update user quota Ok response a status code equal to that given
func (*UpdateUserQuotaOK) IsRedirect ¶
func (o *UpdateUserQuotaOK) IsRedirect() bool
IsRedirect returns true when this update user quota Ok response has a 3xx status code
func (*UpdateUserQuotaOK) IsServerError ¶
func (o *UpdateUserQuotaOK) IsServerError() bool
IsServerError returns true when this update user quota Ok response has a 5xx status code
func (*UpdateUserQuotaOK) IsSuccess ¶
func (o *UpdateUserQuotaOK) IsSuccess() bool
IsSuccess returns true when this update user quota Ok response has a 2xx status code
func (*UpdateUserQuotaOK) String ¶
func (o *UpdateUserQuotaOK) String() string
type UpdateUserQuotaParams ¶
type UpdateUserQuotaParams struct { // Body. Body *models.UpdateQuotaCmd // QuotaTarget. QuotaTarget string // UserID. // // Format: int64 UserID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateUserQuotaParams contains all the parameters to send to the API endpoint
for the update user quota operation. Typically these are written to a http.Request.
func NewUpdateUserQuotaParams ¶
func NewUpdateUserQuotaParams() *UpdateUserQuotaParams
NewUpdateUserQuotaParams creates a new UpdateUserQuotaParams 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 NewUpdateUserQuotaParamsWithContext ¶
func NewUpdateUserQuotaParamsWithContext(ctx context.Context) *UpdateUserQuotaParams
NewUpdateUserQuotaParamsWithContext creates a new UpdateUserQuotaParams object with the ability to set a context for a request.
func NewUpdateUserQuotaParamsWithHTTPClient ¶
func NewUpdateUserQuotaParamsWithHTTPClient(client *http.Client) *UpdateUserQuotaParams
NewUpdateUserQuotaParamsWithHTTPClient creates a new UpdateUserQuotaParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateUserQuotaParamsWithTimeout ¶
func NewUpdateUserQuotaParamsWithTimeout(timeout time.Duration) *UpdateUserQuotaParams
NewUpdateUserQuotaParamsWithTimeout creates a new UpdateUserQuotaParams object with the ability to set a timeout on a request.
func (*UpdateUserQuotaParams) SetBody ¶
func (o *UpdateUserQuotaParams) SetBody(body *models.UpdateQuotaCmd)
SetBody adds the body to the update user quota params
func (*UpdateUserQuotaParams) SetContext ¶
func (o *UpdateUserQuotaParams) SetContext(ctx context.Context)
SetContext adds the context to the update user quota params
func (*UpdateUserQuotaParams) SetDefaults ¶
func (o *UpdateUserQuotaParams) SetDefaults()
SetDefaults hydrates default values in the update user quota params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserQuotaParams) SetHTTPClient ¶
func (o *UpdateUserQuotaParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update user quota params
func (*UpdateUserQuotaParams) SetQuotaTarget ¶
func (o *UpdateUserQuotaParams) SetQuotaTarget(quotaTarget string)
SetQuotaTarget adds the quotaTarget to the update user quota params
func (*UpdateUserQuotaParams) SetTimeout ¶
func (o *UpdateUserQuotaParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update user quota params
func (*UpdateUserQuotaParams) SetUserID ¶
func (o *UpdateUserQuotaParams) SetUserID(userID int64)
SetUserID adds the userId to the update user quota params
func (*UpdateUserQuotaParams) WithBody ¶
func (o *UpdateUserQuotaParams) WithBody(body *models.UpdateQuotaCmd) *UpdateUserQuotaParams
WithBody adds the body to the update user quota params
func (*UpdateUserQuotaParams) WithContext ¶
func (o *UpdateUserQuotaParams) WithContext(ctx context.Context) *UpdateUserQuotaParams
WithContext adds the context to the update user quota params
func (*UpdateUserQuotaParams) WithDefaults ¶
func (o *UpdateUserQuotaParams) WithDefaults() *UpdateUserQuotaParams
WithDefaults hydrates default values in the update user quota params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserQuotaParams) WithHTTPClient ¶
func (o *UpdateUserQuotaParams) WithHTTPClient(client *http.Client) *UpdateUserQuotaParams
WithHTTPClient adds the HTTPClient to the update user quota params
func (*UpdateUserQuotaParams) WithQuotaTarget ¶
func (o *UpdateUserQuotaParams) WithQuotaTarget(quotaTarget string) *UpdateUserQuotaParams
WithQuotaTarget adds the quotaTarget to the update user quota params
func (*UpdateUserQuotaParams) WithTimeout ¶
func (o *UpdateUserQuotaParams) WithTimeout(timeout time.Duration) *UpdateUserQuotaParams
WithTimeout adds the timeout to the update user quota params
func (*UpdateUserQuotaParams) WithUserID ¶
func (o *UpdateUserQuotaParams) WithUserID(userID int64) *UpdateUserQuotaParams
WithUserID adds the userID to the update user quota params
func (*UpdateUserQuotaParams) WriteToRequest ¶
func (o *UpdateUserQuotaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateUserQuotaReader ¶
type UpdateUserQuotaReader struct {
// contains filtered or unexported fields
}
UpdateUserQuotaReader is a Reader for the UpdateUserQuota structure.
func (*UpdateUserQuotaReader) ReadResponse ¶
func (o *UpdateUserQuotaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateUserQuotaUnauthorized ¶
type UpdateUserQuotaUnauthorized struct {
}UpdateUserQuotaUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewUpdateUserQuotaUnauthorized ¶
func NewUpdateUserQuotaUnauthorized() *UpdateUserQuotaUnauthorized
NewUpdateUserQuotaUnauthorized creates a UpdateUserQuotaUnauthorized with default headers values
func (*UpdateUserQuotaUnauthorized) Code ¶
func (o *UpdateUserQuotaUnauthorized) Code() int
Code gets the status code for the update user quota unauthorized response
func (*UpdateUserQuotaUnauthorized) Error ¶
func (o *UpdateUserQuotaUnauthorized) Error() string
func (*UpdateUserQuotaUnauthorized) GetPayload ¶
func (o *UpdateUserQuotaUnauthorized) GetPayload() *models.ErrorResponseBody
func (*UpdateUserQuotaUnauthorized) IsClientError ¶
func (o *UpdateUserQuotaUnauthorized) IsClientError() bool
IsClientError returns true when this update user quota unauthorized response has a 4xx status code
func (*UpdateUserQuotaUnauthorized) IsCode ¶
func (o *UpdateUserQuotaUnauthorized) IsCode(code int) bool
IsCode returns true when this update user quota unauthorized response a status code equal to that given
func (*UpdateUserQuotaUnauthorized) IsRedirect ¶
func (o *UpdateUserQuotaUnauthorized) IsRedirect() bool
IsRedirect returns true when this update user quota unauthorized response has a 3xx status code
func (*UpdateUserQuotaUnauthorized) IsServerError ¶
func (o *UpdateUserQuotaUnauthorized) IsServerError() bool
IsServerError returns true when this update user quota unauthorized response has a 5xx status code
func (*UpdateUserQuotaUnauthorized) IsSuccess ¶
func (o *UpdateUserQuotaUnauthorized) IsSuccess() bool
IsSuccess returns true when this update user quota unauthorized response has a 2xx status code
func (*UpdateUserQuotaUnauthorized) String ¶
func (o *UpdateUserQuotaUnauthorized) String() string
Source Files
¶
- admin_create_user_parameters.go
- admin_create_user_responses.go
- admin_delete_user_parameters.go
- admin_delete_user_responses.go
- admin_disable_user_parameters.go
- admin_disable_user_responses.go
- admin_enable_user_parameters.go
- admin_enable_user_responses.go
- admin_get_user_auth_tokens_parameters.go
- admin_get_user_auth_tokens_responses.go
- admin_logout_user_parameters.go
- admin_logout_user_responses.go
- admin_revoke_user_auth_token_parameters.go
- admin_revoke_user_auth_token_responses.go
- admin_update_user_password_parameters.go
- admin_update_user_password_responses.go
- admin_update_user_permissions_parameters.go
- admin_update_user_permissions_responses.go
- admin_users_client.go
- get_user_quota_parameters.go
- get_user_quota_responses.go
- update_user_quota_parameters.go
- update_user_quota_responses.go