Documentation
¶
Index ¶
- type AddToGroupsBadRequest
- func (o *AddToGroupsBadRequest) Error() string
- func (o *AddToGroupsBadRequest) GetPayload() *models.HTTPError
- func (o *AddToGroupsBadRequest) IsClientError() bool
- func (o *AddToGroupsBadRequest) IsCode(code int) bool
- func (o *AddToGroupsBadRequest) IsRedirect() bool
- func (o *AddToGroupsBadRequest) IsServerError() bool
- func (o *AddToGroupsBadRequest) IsSuccess() bool
- func (o *AddToGroupsBadRequest) String() string
- type AddToGroupsForbidden
- func (o *AddToGroupsForbidden) Error() string
- func (o *AddToGroupsForbidden) GetPayload() *models.HTTPError
- func (o *AddToGroupsForbidden) IsClientError() bool
- func (o *AddToGroupsForbidden) IsCode(code int) bool
- func (o *AddToGroupsForbidden) IsRedirect() bool
- func (o *AddToGroupsForbidden) IsServerError() bool
- func (o *AddToGroupsForbidden) IsSuccess() bool
- func (o *AddToGroupsForbidden) String() string
- type AddToGroupsInternalServerError
- func (o *AddToGroupsInternalServerError) Error() string
- func (o *AddToGroupsInternalServerError) GetPayload() *models.HTTPError
- func (o *AddToGroupsInternalServerError) IsClientError() bool
- func (o *AddToGroupsInternalServerError) IsCode(code int) bool
- func (o *AddToGroupsInternalServerError) IsRedirect() bool
- func (o *AddToGroupsInternalServerError) IsServerError() bool
- func (o *AddToGroupsInternalServerError) IsSuccess() bool
- func (o *AddToGroupsInternalServerError) String() string
- type AddToGroupsNotFound
- func (o *AddToGroupsNotFound) Error() string
- func (o *AddToGroupsNotFound) GetPayload() *models.HTTPError
- func (o *AddToGroupsNotFound) IsClientError() bool
- func (o *AddToGroupsNotFound) IsCode(code int) bool
- func (o *AddToGroupsNotFound) IsRedirect() bool
- func (o *AddToGroupsNotFound) IsServerError() bool
- func (o *AddToGroupsNotFound) IsSuccess() bool
- func (o *AddToGroupsNotFound) String() string
- type AddToGroupsOK
- func (o *AddToGroupsOK) Error() string
- func (o *AddToGroupsOK) GetPayload() *models.AddToGroupsResponse
- func (o *AddToGroupsOK) IsClientError() bool
- func (o *AddToGroupsOK) IsCode(code int) bool
- func (o *AddToGroupsOK) IsRedirect() bool
- func (o *AddToGroupsOK) IsServerError() bool
- func (o *AddToGroupsOK) IsSuccess() bool
- func (o *AddToGroupsOK) String() string
- type AddToGroupsParams
- func (o *AddToGroupsParams) SetBody(body *models.AddToGroupsRequest)
- func (o *AddToGroupsParams) SetContext(ctx context.Context)
- func (o *AddToGroupsParams) SetDefaults()
- func (o *AddToGroupsParams) SetHTTPClient(client *http.Client)
- func (o *AddToGroupsParams) SetName(name string)
- func (o *AddToGroupsParams) SetTimeout(timeout time.Duration)
- func (o *AddToGroupsParams) WithBody(body *models.AddToGroupsRequest) *AddToGroupsParams
- func (o *AddToGroupsParams) WithContext(ctx context.Context) *AddToGroupsParams
- func (o *AddToGroupsParams) WithDefaults() *AddToGroupsParams
- func (o *AddToGroupsParams) WithHTTPClient(client *http.Client) *AddToGroupsParams
- func (o *AddToGroupsParams) WithName(name string) *AddToGroupsParams
- func (o *AddToGroupsParams) WithTimeout(timeout time.Duration) *AddToGroupsParams
- func (o *AddToGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddToGroupsReader
- type AddToGroupsUnauthorized
- func (o *AddToGroupsUnauthorized) Error() string
- func (o *AddToGroupsUnauthorized) GetPayload() *models.HTTPError
- func (o *AddToGroupsUnauthorized) IsClientError() bool
- func (o *AddToGroupsUnauthorized) IsCode(code int) bool
- func (o *AddToGroupsUnauthorized) IsRedirect() bool
- func (o *AddToGroupsUnauthorized) IsServerError() bool
- func (o *AddToGroupsUnauthorized) IsSuccess() bool
- func (o *AddToGroupsUnauthorized) String() string
- type ChangePasswordBadRequest
- func (o *ChangePasswordBadRequest) Error() string
- func (o *ChangePasswordBadRequest) GetPayload() *models.HTTPError
- func (o *ChangePasswordBadRequest) IsClientError() bool
- func (o *ChangePasswordBadRequest) IsCode(code int) bool
- func (o *ChangePasswordBadRequest) IsRedirect() bool
- func (o *ChangePasswordBadRequest) IsServerError() bool
- func (o *ChangePasswordBadRequest) IsSuccess() bool
- func (o *ChangePasswordBadRequest) String() string
- type ChangePasswordForbidden
- func (o *ChangePasswordForbidden) Error() string
- func (o *ChangePasswordForbidden) GetPayload() *models.HTTPError
- func (o *ChangePasswordForbidden) IsClientError() bool
- func (o *ChangePasswordForbidden) IsCode(code int) bool
- func (o *ChangePasswordForbidden) IsRedirect() bool
- func (o *ChangePasswordForbidden) IsServerError() bool
- func (o *ChangePasswordForbidden) IsSuccess() bool
- func (o *ChangePasswordForbidden) String() string
- type ChangePasswordInternalServerError
- func (o *ChangePasswordInternalServerError) Error() string
- func (o *ChangePasswordInternalServerError) GetPayload() *models.HTTPError
- func (o *ChangePasswordInternalServerError) IsClientError() bool
- func (o *ChangePasswordInternalServerError) IsCode(code int) bool
- func (o *ChangePasswordInternalServerError) IsRedirect() bool
- func (o *ChangePasswordInternalServerError) IsServerError() bool
- func (o *ChangePasswordInternalServerError) IsSuccess() bool
- func (o *ChangePasswordInternalServerError) String() string
- type ChangePasswordOK
- func (o *ChangePasswordOK) Error() string
- func (o *ChangePasswordOK) GetPayload() *models.MessageResponse
- func (o *ChangePasswordOK) IsClientError() bool
- func (o *ChangePasswordOK) IsCode(code int) bool
- func (o *ChangePasswordOK) IsRedirect() bool
- func (o *ChangePasswordOK) IsServerError() bool
- func (o *ChangePasswordOK) IsSuccess() bool
- func (o *ChangePasswordOK) String() string
- type ChangePasswordParams
- func NewChangePasswordParams() *ChangePasswordParams
- func NewChangePasswordParamsWithContext(ctx context.Context) *ChangePasswordParams
- func NewChangePasswordParamsWithHTTPClient(client *http.Client) *ChangePasswordParams
- func NewChangePasswordParamsWithTimeout(timeout time.Duration) *ChangePasswordParams
- func (o *ChangePasswordParams) SetBody(body *models.PasswordChange)
- func (o *ChangePasswordParams) SetContext(ctx context.Context)
- func (o *ChangePasswordParams) SetDefaults()
- func (o *ChangePasswordParams) SetHTTPClient(client *http.Client)
- func (o *ChangePasswordParams) SetName(name string)
- func (o *ChangePasswordParams) SetTimeout(timeout time.Duration)
- func (o *ChangePasswordParams) WithBody(body *models.PasswordChange) *ChangePasswordParams
- func (o *ChangePasswordParams) WithContext(ctx context.Context) *ChangePasswordParams
- func (o *ChangePasswordParams) WithDefaults() *ChangePasswordParams
- func (o *ChangePasswordParams) WithHTTPClient(client *http.Client) *ChangePasswordParams
- func (o *ChangePasswordParams) WithName(name string) *ChangePasswordParams
- func (o *ChangePasswordParams) WithTimeout(timeout time.Duration) *ChangePasswordParams
- func (o *ChangePasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangePasswordReader
- type ChangePasswordUnauthorized
- func (o *ChangePasswordUnauthorized) Error() string
- func (o *ChangePasswordUnauthorized) GetPayload() *models.HTTPError
- func (o *ChangePasswordUnauthorized) IsClientError() bool
- func (o *ChangePasswordUnauthorized) IsCode(code int) bool
- func (o *ChangePasswordUnauthorized) IsRedirect() bool
- func (o *ChangePasswordUnauthorized) IsServerError() bool
- func (o *ChangePasswordUnauthorized) IsSuccess() bool
- func (o *ChangePasswordUnauthorized) String() string
- type Client
- func (a *Client) AddToGroups(params *AddToGroupsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddToGroupsOK, error)
- func (a *Client) ChangePassword(params *ChangePasswordParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ChangePasswordOK, error)
- func (a *Client) CreateUser(params *CreateUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateUserCreated, error)
- func (a *Client) DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteUserOK, *DeleteUserNoContent, error)
- func (a *Client) GetMember(params *GetMemberParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetMemberOK, error)
- func (a *Client) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetUserOK, error)
- func (a *Client) GetUserByVersion(params *GetUserByVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetUserByVersionOK, error)
- func (a *Client) RestoreUser(params *RestoreUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RestoreUserOK, error)
- func (a *Client) SearchUsers(params *SearchUsersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SearchUsersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateUser(params *UpdateUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateUserOK, error)
- type ClientOption
- type ClientService
- type CreateUserBadRequest
- func (o *CreateUserBadRequest) Error() string
- func (o *CreateUserBadRequest) GetPayload() *models.HTTPError
- func (o *CreateUserBadRequest) IsClientError() bool
- func (o *CreateUserBadRequest) IsCode(code int) bool
- func (o *CreateUserBadRequest) IsRedirect() bool
- func (o *CreateUserBadRequest) IsServerError() bool
- func (o *CreateUserBadRequest) IsSuccess() bool
- func (o *CreateUserBadRequest) String() string
- type CreateUserCreated
- func (o *CreateUserCreated) Error() string
- func (o *CreateUserCreated) GetPayload() *models.User
- func (o *CreateUserCreated) IsClientError() bool
- func (o *CreateUserCreated) IsCode(code int) bool
- func (o *CreateUserCreated) IsRedirect() bool
- func (o *CreateUserCreated) IsServerError() bool
- func (o *CreateUserCreated) IsSuccess() bool
- func (o *CreateUserCreated) String() string
- type CreateUserForbidden
- func (o *CreateUserForbidden) Error() string
- func (o *CreateUserForbidden) GetPayload() *models.HTTPError
- func (o *CreateUserForbidden) IsClientError() bool
- func (o *CreateUserForbidden) IsCode(code int) bool
- func (o *CreateUserForbidden) IsRedirect() bool
- func (o *CreateUserForbidden) IsServerError() bool
- func (o *CreateUserForbidden) IsSuccess() bool
- func (o *CreateUserForbidden) String() string
- type CreateUserInternalServerError
- func (o *CreateUserInternalServerError) Error() string
- func (o *CreateUserInternalServerError) GetPayload() *models.HTTPError
- func (o *CreateUserInternalServerError) IsClientError() bool
- func (o *CreateUserInternalServerError) IsCode(code int) bool
- func (o *CreateUserInternalServerError) IsRedirect() bool
- func (o *CreateUserInternalServerError) IsServerError() bool
- func (o *CreateUserInternalServerError) IsSuccess() bool
- func (o *CreateUserInternalServerError) String() string
- type CreateUserParams
- func (o *CreateUserParams) SetBody(body *models.UserCreateModel)
- func (o *CreateUserParams) SetContext(ctx context.Context)
- func (o *CreateUserParams) SetDefaults()
- func (o *CreateUserParams) SetHTTPClient(client *http.Client)
- func (o *CreateUserParams) SetTimeout(timeout time.Duration)
- func (o *CreateUserParams) WithBody(body *models.UserCreateModel) *CreateUserParams
- func (o *CreateUserParams) WithContext(ctx context.Context) *CreateUserParams
- func (o *CreateUserParams) WithDefaults() *CreateUserParams
- func (o *CreateUserParams) WithHTTPClient(client *http.Client) *CreateUserParams
- func (o *CreateUserParams) WithTimeout(timeout time.Duration) *CreateUserParams
- func (o *CreateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateUserReader
- type CreateUserUnauthorized
- func (o *CreateUserUnauthorized) Error() string
- func (o *CreateUserUnauthorized) GetPayload() *models.HTTPError
- func (o *CreateUserUnauthorized) IsClientError() bool
- func (o *CreateUserUnauthorized) IsCode(code int) bool
- func (o *CreateUserUnauthorized) IsRedirect() bool
- func (o *CreateUserUnauthorized) IsServerError() bool
- func (o *CreateUserUnauthorized) IsSuccess() bool
- func (o *CreateUserUnauthorized) String() string
- type DeleteUserBadRequest
- func (o *DeleteUserBadRequest) Error() string
- func (o *DeleteUserBadRequest) GetPayload() *models.HTTPError
- func (o *DeleteUserBadRequest) IsClientError() bool
- func (o *DeleteUserBadRequest) IsCode(code int) bool
- func (o *DeleteUserBadRequest) IsRedirect() bool
- func (o *DeleteUserBadRequest) IsServerError() bool
- func (o *DeleteUserBadRequest) IsSuccess() bool
- func (o *DeleteUserBadRequest) String() string
- type DeleteUserForbidden
- func (o *DeleteUserForbidden) Error() string
- func (o *DeleteUserForbidden) GetPayload() *models.HTTPError
- func (o *DeleteUserForbidden) IsClientError() bool
- func (o *DeleteUserForbidden) IsCode(code int) bool
- func (o *DeleteUserForbidden) IsRedirect() bool
- func (o *DeleteUserForbidden) IsServerError() bool
- func (o *DeleteUserForbidden) IsSuccess() bool
- func (o *DeleteUserForbidden) String() string
- type DeleteUserInternalServerError
- func (o *DeleteUserInternalServerError) Error() string
- func (o *DeleteUserInternalServerError) GetPayload() *models.HTTPError
- func (o *DeleteUserInternalServerError) IsClientError() bool
- func (o *DeleteUserInternalServerError) IsCode(code int) bool
- func (o *DeleteUserInternalServerError) IsRedirect() bool
- func (o *DeleteUserInternalServerError) IsServerError() bool
- func (o *DeleteUserInternalServerError) IsSuccess() bool
- func (o *DeleteUserInternalServerError) String() string
- type DeleteUserNoContent
- func (o *DeleteUserNoContent) Error() string
- func (o *DeleteUserNoContent) IsClientError() bool
- func (o *DeleteUserNoContent) IsCode(code int) bool
- func (o *DeleteUserNoContent) IsRedirect() bool
- func (o *DeleteUserNoContent) IsServerError() bool
- func (o *DeleteUserNoContent) IsSuccess() bool
- func (o *DeleteUserNoContent) String() string
- type DeleteUserNotFound
- func (o *DeleteUserNotFound) Error() string
- func (o *DeleteUserNotFound) GetPayload() *models.HTTPError
- func (o *DeleteUserNotFound) IsClientError() bool
- func (o *DeleteUserNotFound) IsCode(code int) bool
- func (o *DeleteUserNotFound) IsRedirect() bool
- func (o *DeleteUserNotFound) IsServerError() bool
- func (o *DeleteUserNotFound) IsSuccess() bool
- func (o *DeleteUserNotFound) String() string
- type DeleteUserOK
- func (o *DeleteUserOK) Error() string
- func (o *DeleteUserOK) GetPayload() *models.MessageResponse
- func (o *DeleteUserOK) IsClientError() bool
- func (o *DeleteUserOK) IsCode(code int) bool
- func (o *DeleteUserOK) IsRedirect() bool
- func (o *DeleteUserOK) IsServerError() bool
- func (o *DeleteUserOK) IsSuccess() bool
- func (o *DeleteUserOK) String() string
- type DeleteUserParams
- func (o *DeleteUserParams) SetContext(ctx context.Context)
- func (o *DeleteUserParams) SetDefaults()
- func (o *DeleteUserParams) SetForce(force *bool)
- func (o *DeleteUserParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUserParams) SetName(name string)
- func (o *DeleteUserParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUserParams) WithContext(ctx context.Context) *DeleteUserParams
- func (o *DeleteUserParams) WithDefaults() *DeleteUserParams
- func (o *DeleteUserParams) WithForce(force *bool) *DeleteUserParams
- func (o *DeleteUserParams) WithHTTPClient(client *http.Client) *DeleteUserParams
- func (o *DeleteUserParams) WithName(name string) *DeleteUserParams
- func (o *DeleteUserParams) WithTimeout(timeout time.Duration) *DeleteUserParams
- func (o *DeleteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUserReader
- type DeleteUserUnauthorized
- func (o *DeleteUserUnauthorized) Error() string
- func (o *DeleteUserUnauthorized) GetPayload() *models.HTTPError
- func (o *DeleteUserUnauthorized) IsClientError() bool
- func (o *DeleteUserUnauthorized) IsCode(code int) bool
- func (o *DeleteUserUnauthorized) IsRedirect() bool
- func (o *DeleteUserUnauthorized) IsServerError() bool
- func (o *DeleteUserUnauthorized) IsSuccess() bool
- func (o *DeleteUserUnauthorized) String() string
- type GetMemberBadRequest
- func (o *GetMemberBadRequest) Error() string
- func (o *GetMemberBadRequest) GetPayload() *models.HTTPError
- func (o *GetMemberBadRequest) IsClientError() bool
- func (o *GetMemberBadRequest) IsCode(code int) bool
- func (o *GetMemberBadRequest) IsRedirect() bool
- func (o *GetMemberBadRequest) IsServerError() bool
- func (o *GetMemberBadRequest) IsSuccess() bool
- func (o *GetMemberBadRequest) String() string
- type GetMemberForbidden
- func (o *GetMemberForbidden) Error() string
- func (o *GetMemberForbidden) GetPayload() *models.HTTPError
- func (o *GetMemberForbidden) IsClientError() bool
- func (o *GetMemberForbidden) IsCode(code int) bool
- func (o *GetMemberForbidden) IsRedirect() bool
- func (o *GetMemberForbidden) IsServerError() bool
- func (o *GetMemberForbidden) IsSuccess() bool
- func (o *GetMemberForbidden) String() string
- type GetMemberInternalServerError
- func (o *GetMemberInternalServerError) Error() string
- func (o *GetMemberInternalServerError) GetPayload() *models.HTTPError
- func (o *GetMemberInternalServerError) IsClientError() bool
- func (o *GetMemberInternalServerError) IsCode(code int) bool
- func (o *GetMemberInternalServerError) IsRedirect() bool
- func (o *GetMemberInternalServerError) IsServerError() bool
- func (o *GetMemberInternalServerError) IsSuccess() bool
- func (o *GetMemberInternalServerError) String() string
- type GetMemberNotFound
- func (o *GetMemberNotFound) Error() string
- func (o *GetMemberNotFound) GetPayload() *models.HTTPError
- func (o *GetMemberNotFound) IsClientError() bool
- func (o *GetMemberNotFound) IsCode(code int) bool
- func (o *GetMemberNotFound) IsRedirect() bool
- func (o *GetMemberNotFound) IsServerError() bool
- func (o *GetMemberNotFound) IsSuccess() bool
- func (o *GetMemberNotFound) String() string
- type GetMemberOK
- func (o *GetMemberOK) Error() string
- func (o *GetMemberOK) GetPayload() *models.MemberResponse
- func (o *GetMemberOK) IsClientError() bool
- func (o *GetMemberOK) IsCode(code int) bool
- func (o *GetMemberOK) IsRedirect() bool
- func (o *GetMemberOK) IsServerError() bool
- func (o *GetMemberOK) IsSuccess() bool
- func (o *GetMemberOK) String() string
- type GetMemberParams
- func (o *GetMemberParams) SetContext(ctx context.Context)
- func (o *GetMemberParams) SetDefaults()
- func (o *GetMemberParams) SetHTTPClient(client *http.Client)
- func (o *GetMemberParams) SetName(name string)
- func (o *GetMemberParams) SetTimeout(timeout time.Duration)
- func (o *GetMemberParams) WithContext(ctx context.Context) *GetMemberParams
- func (o *GetMemberParams) WithDefaults() *GetMemberParams
- func (o *GetMemberParams) WithHTTPClient(client *http.Client) *GetMemberParams
- func (o *GetMemberParams) WithName(name string) *GetMemberParams
- func (o *GetMemberParams) WithTimeout(timeout time.Duration) *GetMemberParams
- func (o *GetMemberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMemberReader
- type GetMemberUnauthorized
- func (o *GetMemberUnauthorized) Error() string
- func (o *GetMemberUnauthorized) GetPayload() *models.HTTPError
- func (o *GetMemberUnauthorized) IsClientError() bool
- func (o *GetMemberUnauthorized) IsCode(code int) bool
- func (o *GetMemberUnauthorized) IsRedirect() bool
- func (o *GetMemberUnauthorized) IsServerError() bool
- func (o *GetMemberUnauthorized) IsSuccess() bool
- func (o *GetMemberUnauthorized) String() string
- type GetUserBadRequest
- func (o *GetUserBadRequest) Error() string
- func (o *GetUserBadRequest) GetPayload() *models.HTTPError
- func (o *GetUserBadRequest) IsClientError() bool
- func (o *GetUserBadRequest) IsCode(code int) bool
- func (o *GetUserBadRequest) IsRedirect() bool
- func (o *GetUserBadRequest) IsServerError() bool
- func (o *GetUserBadRequest) IsSuccess() bool
- func (o *GetUserBadRequest) String() string
- type GetUserByVersionBadRequest
- func (o *GetUserByVersionBadRequest) Error() string
- func (o *GetUserByVersionBadRequest) GetPayload() *models.HTTPError
- func (o *GetUserByVersionBadRequest) IsClientError() bool
- func (o *GetUserByVersionBadRequest) IsCode(code int) bool
- func (o *GetUserByVersionBadRequest) IsRedirect() bool
- func (o *GetUserByVersionBadRequest) IsServerError() bool
- func (o *GetUserByVersionBadRequest) IsSuccess() bool
- func (o *GetUserByVersionBadRequest) String() string
- type GetUserByVersionForbidden
- func (o *GetUserByVersionForbidden) Error() string
- func (o *GetUserByVersionForbidden) GetPayload() *models.HTTPError
- func (o *GetUserByVersionForbidden) IsClientError() bool
- func (o *GetUserByVersionForbidden) IsCode(code int) bool
- func (o *GetUserByVersionForbidden) IsRedirect() bool
- func (o *GetUserByVersionForbidden) IsServerError() bool
- func (o *GetUserByVersionForbidden) IsSuccess() bool
- func (o *GetUserByVersionForbidden) String() string
- type GetUserByVersionInternalServerError
- func (o *GetUserByVersionInternalServerError) Error() string
- func (o *GetUserByVersionInternalServerError) GetPayload() *models.HTTPError
- func (o *GetUserByVersionInternalServerError) IsClientError() bool
- func (o *GetUserByVersionInternalServerError) IsCode(code int) bool
- func (o *GetUserByVersionInternalServerError) IsRedirect() bool
- func (o *GetUserByVersionInternalServerError) IsServerError() bool
- func (o *GetUserByVersionInternalServerError) IsSuccess() bool
- func (o *GetUserByVersionInternalServerError) String() string
- type GetUserByVersionNotFound
- func (o *GetUserByVersionNotFound) Error() string
- func (o *GetUserByVersionNotFound) GetPayload() *models.HTTPError
- func (o *GetUserByVersionNotFound) IsClientError() bool
- func (o *GetUserByVersionNotFound) IsCode(code int) bool
- func (o *GetUserByVersionNotFound) IsRedirect() bool
- func (o *GetUserByVersionNotFound) IsServerError() bool
- func (o *GetUserByVersionNotFound) IsSuccess() bool
- func (o *GetUserByVersionNotFound) String() string
- type GetUserByVersionOK
- func (o *GetUserByVersionOK) Error() string
- func (o *GetUserByVersionOK) GetPayload() *models.UserVersionResponse
- func (o *GetUserByVersionOK) IsClientError() bool
- func (o *GetUserByVersionOK) IsCode(code int) bool
- func (o *GetUserByVersionOK) IsRedirect() bool
- func (o *GetUserByVersionOK) IsServerError() bool
- func (o *GetUserByVersionOK) IsSuccess() bool
- func (o *GetUserByVersionOK) String() string
- type GetUserByVersionParams
- func NewGetUserByVersionParams() *GetUserByVersionParams
- func NewGetUserByVersionParamsWithContext(ctx context.Context) *GetUserByVersionParams
- func NewGetUserByVersionParamsWithHTTPClient(client *http.Client) *GetUserByVersionParams
- func NewGetUserByVersionParamsWithTimeout(timeout time.Duration) *GetUserByVersionParams
- func (o *GetUserByVersionParams) SetContext(ctx context.Context)
- func (o *GetUserByVersionParams) SetDefaults()
- func (o *GetUserByVersionParams) SetHTTPClient(client *http.Client)
- func (o *GetUserByVersionParams) SetName(name string)
- func (o *GetUserByVersionParams) SetTimeout(timeout time.Duration)
- func (o *GetUserByVersionParams) SetVersion(version int64)
- func (o *GetUserByVersionParams) WithContext(ctx context.Context) *GetUserByVersionParams
- func (o *GetUserByVersionParams) WithDefaults() *GetUserByVersionParams
- func (o *GetUserByVersionParams) WithHTTPClient(client *http.Client) *GetUserByVersionParams
- func (o *GetUserByVersionParams) WithName(name string) *GetUserByVersionParams
- func (o *GetUserByVersionParams) WithTimeout(timeout time.Duration) *GetUserByVersionParams
- func (o *GetUserByVersionParams) WithVersion(version int64) *GetUserByVersionParams
- func (o *GetUserByVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserByVersionReader
- type GetUserByVersionUnauthorized
- func (o *GetUserByVersionUnauthorized) Error() string
- func (o *GetUserByVersionUnauthorized) GetPayload() *models.HTTPError
- func (o *GetUserByVersionUnauthorized) IsClientError() bool
- func (o *GetUserByVersionUnauthorized) IsCode(code int) bool
- func (o *GetUserByVersionUnauthorized) IsRedirect() bool
- func (o *GetUserByVersionUnauthorized) IsServerError() bool
- func (o *GetUserByVersionUnauthorized) IsSuccess() bool
- func (o *GetUserByVersionUnauthorized) String() string
- type GetUserForbidden
- func (o *GetUserForbidden) Error() string
- func (o *GetUserForbidden) GetPayload() *models.HTTPError
- func (o *GetUserForbidden) IsClientError() bool
- func (o *GetUserForbidden) IsCode(code int) bool
- func (o *GetUserForbidden) IsRedirect() bool
- func (o *GetUserForbidden) IsServerError() bool
- func (o *GetUserForbidden) IsSuccess() bool
- func (o *GetUserForbidden) String() string
- type GetUserInternalServerError
- func (o *GetUserInternalServerError) Error() string
- func (o *GetUserInternalServerError) GetPayload() *models.HTTPError
- func (o *GetUserInternalServerError) IsClientError() bool
- func (o *GetUserInternalServerError) IsCode(code int) bool
- func (o *GetUserInternalServerError) IsRedirect() bool
- func (o *GetUserInternalServerError) IsServerError() bool
- func (o *GetUserInternalServerError) IsSuccess() bool
- func (o *GetUserInternalServerError) String() string
- type GetUserNotFound
- func (o *GetUserNotFound) Error() string
- func (o *GetUserNotFound) GetPayload() *models.HTTPError
- func (o *GetUserNotFound) IsClientError() bool
- func (o *GetUserNotFound) IsCode(code int) bool
- func (o *GetUserNotFound) IsRedirect() bool
- func (o *GetUserNotFound) IsServerError() bool
- func (o *GetUserNotFound) IsSuccess() bool
- func (o *GetUserNotFound) String() string
- type GetUserOK
- func (o *GetUserOK) Error() string
- func (o *GetUserOK) GetPayload() *models.User
- func (o *GetUserOK) IsClientError() bool
- func (o *GetUserOK) IsCode(code int) bool
- func (o *GetUserOK) IsRedirect() bool
- func (o *GetUserOK) IsServerError() bool
- func (o *GetUserOK) IsSuccess() bool
- func (o *GetUserOK) String() string
- type GetUserParams
- func (o *GetUserParams) SetContext(ctx context.Context)
- func (o *GetUserParams) SetDefaults()
- func (o *GetUserParams) SetHTTPClient(client *http.Client)
- func (o *GetUserParams) SetName(name string)
- func (o *GetUserParams) SetTimeout(timeout time.Duration)
- func (o *GetUserParams) WithContext(ctx context.Context) *GetUserParams
- func (o *GetUserParams) WithDefaults() *GetUserParams
- func (o *GetUserParams) WithHTTPClient(client *http.Client) *GetUserParams
- func (o *GetUserParams) WithName(name string) *GetUserParams
- func (o *GetUserParams) WithTimeout(timeout time.Duration) *GetUserParams
- func (o *GetUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserReader
- type GetUserUnauthorized
- func (o *GetUserUnauthorized) Error() string
- func (o *GetUserUnauthorized) GetPayload() *models.HTTPError
- func (o *GetUserUnauthorized) IsClientError() bool
- func (o *GetUserUnauthorized) IsCode(code int) bool
- func (o *GetUserUnauthorized) IsRedirect() bool
- func (o *GetUserUnauthorized) IsServerError() bool
- func (o *GetUserUnauthorized) IsSuccess() bool
- func (o *GetUserUnauthorized) String() string
- type RestoreUserBadRequest
- func (o *RestoreUserBadRequest) Error() string
- func (o *RestoreUserBadRequest) GetPayload() *models.HTTPError
- func (o *RestoreUserBadRequest) IsClientError() bool
- func (o *RestoreUserBadRequest) IsCode(code int) bool
- func (o *RestoreUserBadRequest) IsRedirect() bool
- func (o *RestoreUserBadRequest) IsServerError() bool
- func (o *RestoreUserBadRequest) IsSuccess() bool
- func (o *RestoreUserBadRequest) String() string
- type RestoreUserForbidden
- func (o *RestoreUserForbidden) Error() string
- func (o *RestoreUserForbidden) GetPayload() *models.HTTPError
- func (o *RestoreUserForbidden) IsClientError() bool
- func (o *RestoreUserForbidden) IsCode(code int) bool
- func (o *RestoreUserForbidden) IsRedirect() bool
- func (o *RestoreUserForbidden) IsServerError() bool
- func (o *RestoreUserForbidden) IsSuccess() bool
- func (o *RestoreUserForbidden) String() string
- type RestoreUserInternalServerError
- func (o *RestoreUserInternalServerError) Error() string
- func (o *RestoreUserInternalServerError) GetPayload() *models.HTTPError
- func (o *RestoreUserInternalServerError) IsClientError() bool
- func (o *RestoreUserInternalServerError) IsCode(code int) bool
- func (o *RestoreUserInternalServerError) IsRedirect() bool
- func (o *RestoreUserInternalServerError) IsServerError() bool
- func (o *RestoreUserInternalServerError) IsSuccess() bool
- func (o *RestoreUserInternalServerError) String() string
- type RestoreUserNotFound
- func (o *RestoreUserNotFound) Error() string
- func (o *RestoreUserNotFound) GetPayload() *models.HTTPError
- func (o *RestoreUserNotFound) IsClientError() bool
- func (o *RestoreUserNotFound) IsCode(code int) bool
- func (o *RestoreUserNotFound) IsRedirect() bool
- func (o *RestoreUserNotFound) IsServerError() bool
- func (o *RestoreUserNotFound) IsSuccess() bool
- func (o *RestoreUserNotFound) String() string
- type RestoreUserOK
- type RestoreUserParams
- func (o *RestoreUserParams) SetContext(ctx context.Context)
- func (o *RestoreUserParams) SetDefaults()
- func (o *RestoreUserParams) SetHTTPClient(client *http.Client)
- func (o *RestoreUserParams) SetName(name string)
- func (o *RestoreUserParams) SetTimeout(timeout time.Duration)
- func (o *RestoreUserParams) WithContext(ctx context.Context) *RestoreUserParams
- func (o *RestoreUserParams) WithDefaults() *RestoreUserParams
- func (o *RestoreUserParams) WithHTTPClient(client *http.Client) *RestoreUserParams
- func (o *RestoreUserParams) WithName(name string) *RestoreUserParams
- func (o *RestoreUserParams) WithTimeout(timeout time.Duration) *RestoreUserParams
- func (o *RestoreUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestoreUserReader
- type RestoreUserUnauthorized
- func (o *RestoreUserUnauthorized) Error() string
- func (o *RestoreUserUnauthorized) GetPayload() *models.HTTPError
- func (o *RestoreUserUnauthorized) IsClientError() bool
- func (o *RestoreUserUnauthorized) IsCode(code int) bool
- func (o *RestoreUserUnauthorized) IsRedirect() bool
- func (o *RestoreUserUnauthorized) IsServerError() bool
- func (o *RestoreUserUnauthorized) IsSuccess() bool
- func (o *RestoreUserUnauthorized) String() string
- type SearchUsersBadRequest
- func (o *SearchUsersBadRequest) Error() string
- func (o *SearchUsersBadRequest) GetPayload() *models.HTTPError
- func (o *SearchUsersBadRequest) IsClientError() bool
- func (o *SearchUsersBadRequest) IsCode(code int) bool
- func (o *SearchUsersBadRequest) IsRedirect() bool
- func (o *SearchUsersBadRequest) IsServerError() bool
- func (o *SearchUsersBadRequest) IsSuccess() bool
- func (o *SearchUsersBadRequest) String() string
- type SearchUsersForbidden
- func (o *SearchUsersForbidden) Error() string
- func (o *SearchUsersForbidden) GetPayload() *models.HTTPError
- func (o *SearchUsersForbidden) IsClientError() bool
- func (o *SearchUsersForbidden) IsCode(code int) bool
- func (o *SearchUsersForbidden) IsRedirect() bool
- func (o *SearchUsersForbidden) IsServerError() bool
- func (o *SearchUsersForbidden) IsSuccess() bool
- func (o *SearchUsersForbidden) String() string
- type SearchUsersInternalServerError
- func (o *SearchUsersInternalServerError) Error() string
- func (o *SearchUsersInternalServerError) GetPayload() *models.HTTPError
- func (o *SearchUsersInternalServerError) IsClientError() bool
- func (o *SearchUsersInternalServerError) IsCode(code int) bool
- func (o *SearchUsersInternalServerError) IsRedirect() bool
- func (o *SearchUsersInternalServerError) IsServerError() bool
- func (o *SearchUsersInternalServerError) IsSuccess() bool
- func (o *SearchUsersInternalServerError) String() string
- type SearchUsersOK
- func (o *SearchUsersOK) Error() string
- func (o *SearchUsersOK) GetPayload() *models.ResponseModelSearch
- func (o *SearchUsersOK) IsClientError() bool
- func (o *SearchUsersOK) IsCode(code int) bool
- func (o *SearchUsersOK) IsRedirect() bool
- func (o *SearchUsersOK) IsServerError() bool
- func (o *SearchUsersOK) IsSuccess() bool
- func (o *SearchUsersOK) String() string
- type SearchUsersParams
- func (o *SearchUsersParams) SetComparison(searchComparison *string)
- func (o *SearchUsersParams) SetContext(ctx context.Context)
- func (o *SearchUsersParams) SetCursor(cursor *string)
- func (o *SearchUsersParams) SetDefaults()
- func (o *SearchUsersParams) SetField(searchField *string)
- func (o *SearchUsersParams) SetHTTPClient(client *http.Client)
- func (o *SearchUsersParams) SetLimit(limit *int64)
- func (o *SearchUsersParams) SetSearchTerm(searchTerm *string)
- func (o *SearchUsersParams) SetSort(sort *string)
- func (o *SearchUsersParams) SetSortedBy(sortedBy *string)
- func (o *SearchUsersParams) SetTimeout(timeout time.Duration)
- func (o *SearchUsersParams) SetUnderlyingType(searchType *string)
- func (o *SearchUsersParams) WithComparison(searchComparison *string) *SearchUsersParams
- func (o *SearchUsersParams) WithContext(ctx context.Context) *SearchUsersParams
- func (o *SearchUsersParams) WithCursor(cursor *string) *SearchUsersParams
- func (o *SearchUsersParams) WithDefaults() *SearchUsersParams
- func (o *SearchUsersParams) WithField(searchField *string) *SearchUsersParams
- func (o *SearchUsersParams) WithHTTPClient(client *http.Client) *SearchUsersParams
- func (o *SearchUsersParams) WithLimit(limit *int64) *SearchUsersParams
- func (o *SearchUsersParams) WithSearchTerm(searchTerm *string) *SearchUsersParams
- func (o *SearchUsersParams) WithSort(sort *string) *SearchUsersParams
- func (o *SearchUsersParams) WithSortedBy(sortedBy *string) *SearchUsersParams
- func (o *SearchUsersParams) WithTimeout(timeout time.Duration) *SearchUsersParams
- func (o *SearchUsersParams) WithUnderlyingType(searchType *string) *SearchUsersParams
- func (o *SearchUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchUsersReader
- type SearchUsersUnauthorized
- func (o *SearchUsersUnauthorized) Error() string
- func (o *SearchUsersUnauthorized) GetPayload() *models.HTTPError
- func (o *SearchUsersUnauthorized) IsClientError() bool
- func (o *SearchUsersUnauthorized) IsCode(code int) bool
- func (o *SearchUsersUnauthorized) IsRedirect() bool
- func (o *SearchUsersUnauthorized) IsServerError() bool
- func (o *SearchUsersUnauthorized) IsSuccess() bool
- func (o *SearchUsersUnauthorized) String() string
- type UpdateUserBadRequest
- func (o *UpdateUserBadRequest) Error() string
- func (o *UpdateUserBadRequest) GetPayload() *models.HTTPError
- func (o *UpdateUserBadRequest) IsClientError() bool
- func (o *UpdateUserBadRequest) IsCode(code int) bool
- func (o *UpdateUserBadRequest) IsRedirect() bool
- func (o *UpdateUserBadRequest) IsServerError() bool
- func (o *UpdateUserBadRequest) IsSuccess() bool
- func (o *UpdateUserBadRequest) String() string
- type UpdateUserForbidden
- func (o *UpdateUserForbidden) Error() string
- func (o *UpdateUserForbidden) GetPayload() *models.HTTPError
- func (o *UpdateUserForbidden) IsClientError() bool
- func (o *UpdateUserForbidden) IsCode(code int) bool
- func (o *UpdateUserForbidden) IsRedirect() bool
- func (o *UpdateUserForbidden) IsServerError() bool
- func (o *UpdateUserForbidden) IsSuccess() bool
- func (o *UpdateUserForbidden) String() string
- type UpdateUserInternalServerError
- func (o *UpdateUserInternalServerError) Error() string
- func (o *UpdateUserInternalServerError) GetPayload() *models.HTTPError
- func (o *UpdateUserInternalServerError) IsClientError() bool
- func (o *UpdateUserInternalServerError) IsCode(code int) bool
- func (o *UpdateUserInternalServerError) IsRedirect() bool
- func (o *UpdateUserInternalServerError) IsServerError() bool
- func (o *UpdateUserInternalServerError) IsSuccess() bool
- func (o *UpdateUserInternalServerError) String() string
- type UpdateUserOK
- func (o *UpdateUserOK) Error() string
- func (o *UpdateUserOK) GetPayload() *models.User
- func (o *UpdateUserOK) IsClientError() bool
- func (o *UpdateUserOK) IsCode(code int) bool
- func (o *UpdateUserOK) IsRedirect() bool
- func (o *UpdateUserOK) IsServerError() bool
- func (o *UpdateUserOK) IsSuccess() bool
- func (o *UpdateUserOK) String() string
- type UpdateUserParams
- func (o *UpdateUserParams) SetBody(body *models.UserUpdateModel)
- func (o *UpdateUserParams) SetContext(ctx context.Context)
- func (o *UpdateUserParams) SetDefaults()
- func (o *UpdateUserParams) SetHTTPClient(client *http.Client)
- func (o *UpdateUserParams) SetName(name string)
- func (o *UpdateUserParams) SetTimeout(timeout time.Duration)
- func (o *UpdateUserParams) WithBody(body *models.UserUpdateModel) *UpdateUserParams
- func (o *UpdateUserParams) WithContext(ctx context.Context) *UpdateUserParams
- func (o *UpdateUserParams) WithDefaults() *UpdateUserParams
- func (o *UpdateUserParams) WithHTTPClient(client *http.Client) *UpdateUserParams
- func (o *UpdateUserParams) WithName(name string) *UpdateUserParams
- func (o *UpdateUserParams) WithTimeout(timeout time.Duration) *UpdateUserParams
- func (o *UpdateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUserReader
- type UpdateUserUnauthorized
- func (o *UpdateUserUnauthorized) Error() string
- func (o *UpdateUserUnauthorized) GetPayload() *models.HTTPError
- func (o *UpdateUserUnauthorized) IsClientError() bool
- func (o *UpdateUserUnauthorized) IsCode(code int) bool
- func (o *UpdateUserUnauthorized) IsRedirect() bool
- func (o *UpdateUserUnauthorized) IsServerError() bool
- func (o *UpdateUserUnauthorized) IsSuccess() bool
- func (o *UpdateUserUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddToGroupsBadRequest ¶
AddToGroupsBadRequest describes a response with status code 400, with default header values.
bad request
func NewAddToGroupsBadRequest ¶
func NewAddToGroupsBadRequest() *AddToGroupsBadRequest
NewAddToGroupsBadRequest creates a AddToGroupsBadRequest with default headers values
func (*AddToGroupsBadRequest) Error ¶
func (o *AddToGroupsBadRequest) Error() string
func (*AddToGroupsBadRequest) GetPayload ¶
func (o *AddToGroupsBadRequest) GetPayload() *models.HTTPError
func (*AddToGroupsBadRequest) IsClientError ¶
func (o *AddToGroupsBadRequest) IsClientError() bool
IsClientError returns true when this add to groups bad request response has a 4xx status code
func (*AddToGroupsBadRequest) IsCode ¶
func (o *AddToGroupsBadRequest) IsCode(code int) bool
IsCode returns true when this add to groups bad request response a status code equal to that given
func (*AddToGroupsBadRequest) IsRedirect ¶
func (o *AddToGroupsBadRequest) IsRedirect() bool
IsRedirect returns true when this add to groups bad request response has a 3xx status code
func (*AddToGroupsBadRequest) IsServerError ¶
func (o *AddToGroupsBadRequest) IsServerError() bool
IsServerError returns true when this add to groups bad request response has a 5xx status code
func (*AddToGroupsBadRequest) IsSuccess ¶
func (o *AddToGroupsBadRequest) IsSuccess() bool
IsSuccess returns true when this add to groups bad request response has a 2xx status code
func (*AddToGroupsBadRequest) String ¶
func (o *AddToGroupsBadRequest) String() string
type AddToGroupsForbidden ¶
AddToGroupsForbidden describes a response with status code 403, with default header values.
forbidden
func NewAddToGroupsForbidden ¶
func NewAddToGroupsForbidden() *AddToGroupsForbidden
NewAddToGroupsForbidden creates a AddToGroupsForbidden with default headers values
func (*AddToGroupsForbidden) Error ¶
func (o *AddToGroupsForbidden) Error() string
func (*AddToGroupsForbidden) GetPayload ¶
func (o *AddToGroupsForbidden) GetPayload() *models.HTTPError
func (*AddToGroupsForbidden) IsClientError ¶
func (o *AddToGroupsForbidden) IsClientError() bool
IsClientError returns true when this add to groups forbidden response has a 4xx status code
func (*AddToGroupsForbidden) IsCode ¶
func (o *AddToGroupsForbidden) IsCode(code int) bool
IsCode returns true when this add to groups forbidden response a status code equal to that given
func (*AddToGroupsForbidden) IsRedirect ¶
func (o *AddToGroupsForbidden) IsRedirect() bool
IsRedirect returns true when this add to groups forbidden response has a 3xx status code
func (*AddToGroupsForbidden) IsServerError ¶
func (o *AddToGroupsForbidden) IsServerError() bool
IsServerError returns true when this add to groups forbidden response has a 5xx status code
func (*AddToGroupsForbidden) IsSuccess ¶
func (o *AddToGroupsForbidden) IsSuccess() bool
IsSuccess returns true when this add to groups forbidden response has a 2xx status code
func (*AddToGroupsForbidden) String ¶
func (o *AddToGroupsForbidden) String() string
type AddToGroupsInternalServerError ¶
AddToGroupsInternalServerError describes a response with status code 500, with default header values.
server error
func NewAddToGroupsInternalServerError ¶
func NewAddToGroupsInternalServerError() *AddToGroupsInternalServerError
NewAddToGroupsInternalServerError creates a AddToGroupsInternalServerError with default headers values
func (*AddToGroupsInternalServerError) Error ¶
func (o *AddToGroupsInternalServerError) Error() string
func (*AddToGroupsInternalServerError) GetPayload ¶
func (o *AddToGroupsInternalServerError) GetPayload() *models.HTTPError
func (*AddToGroupsInternalServerError) IsClientError ¶
func (o *AddToGroupsInternalServerError) IsClientError() bool
IsClientError returns true when this add to groups internal server error response has a 4xx status code
func (*AddToGroupsInternalServerError) IsCode ¶
func (o *AddToGroupsInternalServerError) IsCode(code int) bool
IsCode returns true when this add to groups internal server error response a status code equal to that given
func (*AddToGroupsInternalServerError) IsRedirect ¶
func (o *AddToGroupsInternalServerError) IsRedirect() bool
IsRedirect returns true when this add to groups internal server error response has a 3xx status code
func (*AddToGroupsInternalServerError) IsServerError ¶
func (o *AddToGroupsInternalServerError) IsServerError() bool
IsServerError returns true when this add to groups internal server error response has a 5xx status code
func (*AddToGroupsInternalServerError) IsSuccess ¶
func (o *AddToGroupsInternalServerError) IsSuccess() bool
IsSuccess returns true when this add to groups internal server error response has a 2xx status code
func (*AddToGroupsInternalServerError) String ¶
func (o *AddToGroupsInternalServerError) String() string
type AddToGroupsNotFound ¶
AddToGroupsNotFound describes a response with status code 404, with default header values.
not found
func NewAddToGroupsNotFound ¶
func NewAddToGroupsNotFound() *AddToGroupsNotFound
NewAddToGroupsNotFound creates a AddToGroupsNotFound with default headers values
func (*AddToGroupsNotFound) Error ¶
func (o *AddToGroupsNotFound) Error() string
func (*AddToGroupsNotFound) GetPayload ¶
func (o *AddToGroupsNotFound) GetPayload() *models.HTTPError
func (*AddToGroupsNotFound) IsClientError ¶
func (o *AddToGroupsNotFound) IsClientError() bool
IsClientError returns true when this add to groups not found response has a 4xx status code
func (*AddToGroupsNotFound) IsCode ¶
func (o *AddToGroupsNotFound) IsCode(code int) bool
IsCode returns true when this add to groups not found response a status code equal to that given
func (*AddToGroupsNotFound) IsRedirect ¶
func (o *AddToGroupsNotFound) IsRedirect() bool
IsRedirect returns true when this add to groups not found response has a 3xx status code
func (*AddToGroupsNotFound) IsServerError ¶
func (o *AddToGroupsNotFound) IsServerError() bool
IsServerError returns true when this add to groups not found response has a 5xx status code
func (*AddToGroupsNotFound) IsSuccess ¶
func (o *AddToGroupsNotFound) IsSuccess() bool
IsSuccess returns true when this add to groups not found response has a 2xx status code
func (*AddToGroupsNotFound) String ¶
func (o *AddToGroupsNotFound) String() string
type AddToGroupsOK ¶
type AddToGroupsOK struct {
Payload *models.AddToGroupsResponse
}
AddToGroupsOK describes a response with status code 200, with default header values.
no error
func NewAddToGroupsOK ¶
func NewAddToGroupsOK() *AddToGroupsOK
NewAddToGroupsOK creates a AddToGroupsOK with default headers values
func (*AddToGroupsOK) Error ¶
func (o *AddToGroupsOK) Error() string
func (*AddToGroupsOK) GetPayload ¶
func (o *AddToGroupsOK) GetPayload() *models.AddToGroupsResponse
func (*AddToGroupsOK) IsClientError ¶
func (o *AddToGroupsOK) IsClientError() bool
IsClientError returns true when this add to groups o k response has a 4xx status code
func (*AddToGroupsOK) IsCode ¶
func (o *AddToGroupsOK) IsCode(code int) bool
IsCode returns true when this add to groups o k response a status code equal to that given
func (*AddToGroupsOK) IsRedirect ¶
func (o *AddToGroupsOK) IsRedirect() bool
IsRedirect returns true when this add to groups o k response has a 3xx status code
func (*AddToGroupsOK) IsServerError ¶
func (o *AddToGroupsOK) IsServerError() bool
IsServerError returns true when this add to groups o k response has a 5xx status code
func (*AddToGroupsOK) IsSuccess ¶
func (o *AddToGroupsOK) IsSuccess() bool
IsSuccess returns true when this add to groups o k response has a 2xx status code
func (*AddToGroupsOK) String ¶
func (o *AddToGroupsOK) String() string
type AddToGroupsParams ¶
type AddToGroupsParams struct { // Body. Body *models.AddToGroupsRequest /* Name. Full user name to lookup user by */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddToGroupsParams contains all the parameters to send to the API endpoint
for the add to groups operation. Typically these are written to a http.Request.
func NewAddToGroupsParams ¶
func NewAddToGroupsParams() *AddToGroupsParams
NewAddToGroupsParams creates a new AddToGroupsParams 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 NewAddToGroupsParamsWithContext ¶
func NewAddToGroupsParamsWithContext(ctx context.Context) *AddToGroupsParams
NewAddToGroupsParamsWithContext creates a new AddToGroupsParams object with the ability to set a context for a request.
func NewAddToGroupsParamsWithHTTPClient ¶
func NewAddToGroupsParamsWithHTTPClient(client *http.Client) *AddToGroupsParams
NewAddToGroupsParamsWithHTTPClient creates a new AddToGroupsParams object with the ability to set a custom HTTPClient for a request.
func NewAddToGroupsParamsWithTimeout ¶
func NewAddToGroupsParamsWithTimeout(timeout time.Duration) *AddToGroupsParams
NewAddToGroupsParamsWithTimeout creates a new AddToGroupsParams object with the ability to set a timeout on a request.
func (*AddToGroupsParams) SetBody ¶
func (o *AddToGroupsParams) SetBody(body *models.AddToGroupsRequest)
SetBody adds the body to the add to groups params
func (*AddToGroupsParams) SetContext ¶
func (o *AddToGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the add to groups params
func (*AddToGroupsParams) SetDefaults ¶
func (o *AddToGroupsParams) SetDefaults()
SetDefaults hydrates default values in the add to groups params (not the query body).
All values with no default are reset to their zero value.
func (*AddToGroupsParams) SetHTTPClient ¶
func (o *AddToGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add to groups params
func (*AddToGroupsParams) SetName ¶
func (o *AddToGroupsParams) SetName(name string)
SetName adds the name to the add to groups params
func (*AddToGroupsParams) SetTimeout ¶
func (o *AddToGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add to groups params
func (*AddToGroupsParams) WithBody ¶
func (o *AddToGroupsParams) WithBody(body *models.AddToGroupsRequest) *AddToGroupsParams
WithBody adds the body to the add to groups params
func (*AddToGroupsParams) WithContext ¶
func (o *AddToGroupsParams) WithContext(ctx context.Context) *AddToGroupsParams
WithContext adds the context to the add to groups params
func (*AddToGroupsParams) WithDefaults ¶
func (o *AddToGroupsParams) WithDefaults() *AddToGroupsParams
WithDefaults hydrates default values in the add to groups params (not the query body).
All values with no default are reset to their zero value.
func (*AddToGroupsParams) WithHTTPClient ¶
func (o *AddToGroupsParams) WithHTTPClient(client *http.Client) *AddToGroupsParams
WithHTTPClient adds the HTTPClient to the add to groups params
func (*AddToGroupsParams) WithName ¶
func (o *AddToGroupsParams) WithName(name string) *AddToGroupsParams
WithName adds the name to the add to groups params
func (*AddToGroupsParams) WithTimeout ¶
func (o *AddToGroupsParams) WithTimeout(timeout time.Duration) *AddToGroupsParams
WithTimeout adds the timeout to the add to groups params
func (*AddToGroupsParams) WriteToRequest ¶
func (o *AddToGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddToGroupsReader ¶
type AddToGroupsReader struct {
// contains filtered or unexported fields
}
AddToGroupsReader is a Reader for the AddToGroups structure.
func (*AddToGroupsReader) ReadResponse ¶
func (o *AddToGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddToGroupsUnauthorized ¶
type AddToGroupsUnauthorized struct {
}AddToGroupsUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAddToGroupsUnauthorized ¶
func NewAddToGroupsUnauthorized() *AddToGroupsUnauthorized
NewAddToGroupsUnauthorized creates a AddToGroupsUnauthorized with default headers values
func (*AddToGroupsUnauthorized) Error ¶
func (o *AddToGroupsUnauthorized) Error() string
func (*AddToGroupsUnauthorized) GetPayload ¶
func (o *AddToGroupsUnauthorized) GetPayload() *models.HTTPError
func (*AddToGroupsUnauthorized) IsClientError ¶
func (o *AddToGroupsUnauthorized) IsClientError() bool
IsClientError returns true when this add to groups unauthorized response has a 4xx status code
func (*AddToGroupsUnauthorized) IsCode ¶
func (o *AddToGroupsUnauthorized) IsCode(code int) bool
IsCode returns true when this add to groups unauthorized response a status code equal to that given
func (*AddToGroupsUnauthorized) IsRedirect ¶
func (o *AddToGroupsUnauthorized) IsRedirect() bool
IsRedirect returns true when this add to groups unauthorized response has a 3xx status code
func (*AddToGroupsUnauthorized) IsServerError ¶
func (o *AddToGroupsUnauthorized) IsServerError() bool
IsServerError returns true when this add to groups unauthorized response has a 5xx status code
func (*AddToGroupsUnauthorized) IsSuccess ¶
func (o *AddToGroupsUnauthorized) IsSuccess() bool
IsSuccess returns true when this add to groups unauthorized response has a 2xx status code
func (*AddToGroupsUnauthorized) String ¶
func (o *AddToGroupsUnauthorized) String() string
type ChangePasswordBadRequest ¶
ChangePasswordBadRequest describes a response with status code 400, with default header values.
bad request
func NewChangePasswordBadRequest ¶
func NewChangePasswordBadRequest() *ChangePasswordBadRequest
NewChangePasswordBadRequest creates a ChangePasswordBadRequest with default headers values
func (*ChangePasswordBadRequest) Error ¶
func (o *ChangePasswordBadRequest) Error() string
func (*ChangePasswordBadRequest) GetPayload ¶
func (o *ChangePasswordBadRequest) GetPayload() *models.HTTPError
func (*ChangePasswordBadRequest) IsClientError ¶
func (o *ChangePasswordBadRequest) IsClientError() bool
IsClientError returns true when this change password bad request response has a 4xx status code
func (*ChangePasswordBadRequest) IsCode ¶
func (o *ChangePasswordBadRequest) IsCode(code int) bool
IsCode returns true when this change password bad request response a status code equal to that given
func (*ChangePasswordBadRequest) IsRedirect ¶
func (o *ChangePasswordBadRequest) IsRedirect() bool
IsRedirect returns true when this change password bad request response has a 3xx status code
func (*ChangePasswordBadRequest) IsServerError ¶
func (o *ChangePasswordBadRequest) IsServerError() bool
IsServerError returns true when this change password bad request response has a 5xx status code
func (*ChangePasswordBadRequest) IsSuccess ¶
func (o *ChangePasswordBadRequest) IsSuccess() bool
IsSuccess returns true when this change password bad request response has a 2xx status code
func (*ChangePasswordBadRequest) String ¶
func (o *ChangePasswordBadRequest) String() string
type ChangePasswordForbidden ¶
ChangePasswordForbidden describes a response with status code 403, with default header values.
forbidden
func NewChangePasswordForbidden ¶
func NewChangePasswordForbidden() *ChangePasswordForbidden
NewChangePasswordForbidden creates a ChangePasswordForbidden with default headers values
func (*ChangePasswordForbidden) Error ¶
func (o *ChangePasswordForbidden) Error() string
func (*ChangePasswordForbidden) GetPayload ¶
func (o *ChangePasswordForbidden) GetPayload() *models.HTTPError
func (*ChangePasswordForbidden) IsClientError ¶
func (o *ChangePasswordForbidden) IsClientError() bool
IsClientError returns true when this change password forbidden response has a 4xx status code
func (*ChangePasswordForbidden) IsCode ¶
func (o *ChangePasswordForbidden) IsCode(code int) bool
IsCode returns true when this change password forbidden response a status code equal to that given
func (*ChangePasswordForbidden) IsRedirect ¶
func (o *ChangePasswordForbidden) IsRedirect() bool
IsRedirect returns true when this change password forbidden response has a 3xx status code
func (*ChangePasswordForbidden) IsServerError ¶
func (o *ChangePasswordForbidden) IsServerError() bool
IsServerError returns true when this change password forbidden response has a 5xx status code
func (*ChangePasswordForbidden) IsSuccess ¶
func (o *ChangePasswordForbidden) IsSuccess() bool
IsSuccess returns true when this change password forbidden response has a 2xx status code
func (*ChangePasswordForbidden) String ¶
func (o *ChangePasswordForbidden) String() string
type ChangePasswordInternalServerError ¶
ChangePasswordInternalServerError describes a response with status code 500, with default header values.
server error
func NewChangePasswordInternalServerError ¶
func NewChangePasswordInternalServerError() *ChangePasswordInternalServerError
NewChangePasswordInternalServerError creates a ChangePasswordInternalServerError with default headers values
func (*ChangePasswordInternalServerError) Error ¶
func (o *ChangePasswordInternalServerError) Error() string
func (*ChangePasswordInternalServerError) GetPayload ¶
func (o *ChangePasswordInternalServerError) GetPayload() *models.HTTPError
func (*ChangePasswordInternalServerError) IsClientError ¶
func (o *ChangePasswordInternalServerError) IsClientError() bool
IsClientError returns true when this change password internal server error response has a 4xx status code
func (*ChangePasswordInternalServerError) IsCode ¶
func (o *ChangePasswordInternalServerError) IsCode(code int) bool
IsCode returns true when this change password internal server error response a status code equal to that given
func (*ChangePasswordInternalServerError) IsRedirect ¶
func (o *ChangePasswordInternalServerError) IsRedirect() bool
IsRedirect returns true when this change password internal server error response has a 3xx status code
func (*ChangePasswordInternalServerError) IsServerError ¶
func (o *ChangePasswordInternalServerError) IsServerError() bool
IsServerError returns true when this change password internal server error response has a 5xx status code
func (*ChangePasswordInternalServerError) IsSuccess ¶
func (o *ChangePasswordInternalServerError) IsSuccess() bool
IsSuccess returns true when this change password internal server error response has a 2xx status code
func (*ChangePasswordInternalServerError) String ¶
func (o *ChangePasswordInternalServerError) String() string
type ChangePasswordOK ¶
type ChangePasswordOK struct {
Payload *models.MessageResponse
}
ChangePasswordOK describes a response with status code 200, with default header values.
no error
func NewChangePasswordOK ¶
func NewChangePasswordOK() *ChangePasswordOK
NewChangePasswordOK creates a ChangePasswordOK with default headers values
func (*ChangePasswordOK) Error ¶
func (o *ChangePasswordOK) Error() string
func (*ChangePasswordOK) GetPayload ¶
func (o *ChangePasswordOK) GetPayload() *models.MessageResponse
func (*ChangePasswordOK) IsClientError ¶
func (o *ChangePasswordOK) IsClientError() bool
IsClientError returns true when this change password o k response has a 4xx status code
func (*ChangePasswordOK) IsCode ¶
func (o *ChangePasswordOK) IsCode(code int) bool
IsCode returns true when this change password o k response a status code equal to that given
func (*ChangePasswordOK) IsRedirect ¶
func (o *ChangePasswordOK) IsRedirect() bool
IsRedirect returns true when this change password o k response has a 3xx status code
func (*ChangePasswordOK) IsServerError ¶
func (o *ChangePasswordOK) IsServerError() bool
IsServerError returns true when this change password o k response has a 5xx status code
func (*ChangePasswordOK) IsSuccess ¶
func (o *ChangePasswordOK) IsSuccess() bool
IsSuccess returns true when this change password o k response has a 2xx status code
func (*ChangePasswordOK) String ¶
func (o *ChangePasswordOK) String() string
type ChangePasswordParams ¶
type ChangePasswordParams struct { // Body. Body *models.PasswordChange /* Name. Full user name to lookup user by */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ChangePasswordParams contains all the parameters to send to the API endpoint
for the change password operation. Typically these are written to a http.Request.
func NewChangePasswordParams ¶
func NewChangePasswordParams() *ChangePasswordParams
NewChangePasswordParams creates a new ChangePasswordParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewChangePasswordParamsWithContext ¶
func NewChangePasswordParamsWithContext(ctx context.Context) *ChangePasswordParams
NewChangePasswordParamsWithContext creates a new ChangePasswordParams object with the ability to set a context for a request.
func NewChangePasswordParamsWithHTTPClient ¶
func NewChangePasswordParamsWithHTTPClient(client *http.Client) *ChangePasswordParams
NewChangePasswordParamsWithHTTPClient creates a new ChangePasswordParams object with the ability to set a custom HTTPClient for a request.
func NewChangePasswordParamsWithTimeout ¶
func NewChangePasswordParamsWithTimeout(timeout time.Duration) *ChangePasswordParams
NewChangePasswordParamsWithTimeout creates a new ChangePasswordParams object with the ability to set a timeout on a request.
func (*ChangePasswordParams) SetBody ¶
func (o *ChangePasswordParams) SetBody(body *models.PasswordChange)
SetBody adds the body to the change password params
func (*ChangePasswordParams) SetContext ¶
func (o *ChangePasswordParams) SetContext(ctx context.Context)
SetContext adds the context to the change password params
func (*ChangePasswordParams) SetDefaults ¶
func (o *ChangePasswordParams) SetDefaults()
SetDefaults hydrates default values in the change password params (not the query body).
All values with no default are reset to their zero value.
func (*ChangePasswordParams) SetHTTPClient ¶
func (o *ChangePasswordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the change password params
func (*ChangePasswordParams) SetName ¶
func (o *ChangePasswordParams) SetName(name string)
SetName adds the name to the change password params
func (*ChangePasswordParams) SetTimeout ¶
func (o *ChangePasswordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the change password params
func (*ChangePasswordParams) WithBody ¶
func (o *ChangePasswordParams) WithBody(body *models.PasswordChange) *ChangePasswordParams
WithBody adds the body to the change password params
func (*ChangePasswordParams) WithContext ¶
func (o *ChangePasswordParams) WithContext(ctx context.Context) *ChangePasswordParams
WithContext adds the context to the change password params
func (*ChangePasswordParams) WithDefaults ¶
func (o *ChangePasswordParams) WithDefaults() *ChangePasswordParams
WithDefaults hydrates default values in the change password params (not the query body).
All values with no default are reset to their zero value.
func (*ChangePasswordParams) WithHTTPClient ¶
func (o *ChangePasswordParams) WithHTTPClient(client *http.Client) *ChangePasswordParams
WithHTTPClient adds the HTTPClient to the change password params
func (*ChangePasswordParams) WithName ¶
func (o *ChangePasswordParams) WithName(name string) *ChangePasswordParams
WithName adds the name to the change password params
func (*ChangePasswordParams) WithTimeout ¶
func (o *ChangePasswordParams) WithTimeout(timeout time.Duration) *ChangePasswordParams
WithTimeout adds the timeout to the change password params
func (*ChangePasswordParams) WriteToRequest ¶
func (o *ChangePasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ChangePasswordReader ¶
type ChangePasswordReader struct {
// contains filtered or unexported fields
}
ChangePasswordReader is a Reader for the ChangePassword structure.
func (*ChangePasswordReader) ReadResponse ¶
func (o *ChangePasswordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ChangePasswordUnauthorized ¶
type ChangePasswordUnauthorized struct {
}ChangePasswordUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewChangePasswordUnauthorized ¶
func NewChangePasswordUnauthorized() *ChangePasswordUnauthorized
NewChangePasswordUnauthorized creates a ChangePasswordUnauthorized with default headers values
func (*ChangePasswordUnauthorized) Error ¶
func (o *ChangePasswordUnauthorized) Error() string
func (*ChangePasswordUnauthorized) GetPayload ¶
func (o *ChangePasswordUnauthorized) GetPayload() *models.HTTPError
func (*ChangePasswordUnauthorized) IsClientError ¶
func (o *ChangePasswordUnauthorized) IsClientError() bool
IsClientError returns true when this change password unauthorized response has a 4xx status code
func (*ChangePasswordUnauthorized) IsCode ¶
func (o *ChangePasswordUnauthorized) IsCode(code int) bool
IsCode returns true when this change password unauthorized response a status code equal to that given
func (*ChangePasswordUnauthorized) IsRedirect ¶
func (o *ChangePasswordUnauthorized) IsRedirect() bool
IsRedirect returns true when this change password unauthorized response has a 3xx status code
func (*ChangePasswordUnauthorized) IsServerError ¶
func (o *ChangePasswordUnauthorized) IsServerError() bool
IsServerError returns true when this change password unauthorized response has a 5xx status code
func (*ChangePasswordUnauthorized) IsSuccess ¶
func (o *ChangePasswordUnauthorized) IsSuccess() bool
IsSuccess returns true when this change password unauthorized response has a 2xx status code
func (*ChangePasswordUnauthorized) String ¶
func (o *ChangePasswordUnauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for users API
func (*Client) AddToGroups ¶
func (a *Client) AddToGroups(params *AddToGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddToGroupsOK, error)
AddToGroups adds member to groups
Add a user to one or more groups.
func (*Client) ChangePassword ¶
func (a *Client) ChangePassword(params *ChangePasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChangePasswordOK, error)
ChangePassword changes password
Allows the user to change their own password.
func (*Client) CreateUser ¶
func (a *Client) CreateUser(params *CreateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUserCreated, error)
CreateUser creates a user
Create a new user.
func (*Client) DeleteUser ¶
func (a *Client) DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserOK, *DeleteUserNoContent, error)
DeleteUser deletes a user Retrieve an existing user by user name. For users linked to 3rd party providers, such as AWS or Azure, the user name
must be prefixed with the provider name from configuration in the format of <providername>:<username> i.e. aws-dev:db
func (*Client) GetMember ¶
func (a *Client) GetMember(params *GetMemberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMemberOK, error)
GetMember gets member group
Retrieve a member's group by member name.
func (*Client) GetUser ¶
func (a *Client) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserOK, error)
GetUser gets a user Retrieve an existing user by user name. For users linked to 3rd party providers, such as AWS or Azure, the user name
must be prefixed with the provider name from configuration in the format of <providername>:<username> i.e. aws-dev:db
func (*Client) GetUserByVersion ¶
func (a *Client) GetUserByVersion(params *GetUserByVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserByVersionOK, error)
GetUserByVersion gets a user by version Retrieve an existing user by user name and version. For users linked to 3rd party providers, such as AWS or Azure, the user name
must be prefixed with the provider name from configuration in the format of <providername>:<username> i.e. aws-dev:db
func (*Client) RestoreUser ¶
func (a *Client) RestoreUser(params *RestoreUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestoreUserOK, error)
RestoreUser restores a user
Restore a user by path.
func (*Client) SearchUsers ¶
func (a *Client) SearchUsers(params *SearchUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchUsersOK, error)
SearchUsers searches for users
Search for one or more users by their name.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateUser ¶
func (a *Client) UpdateUser(params *UpdateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserOK, error)
UpdateUser updates a user
Update an existing user.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { AddToGroups(params *AddToGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddToGroupsOK, error) ChangePassword(params *ChangePasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChangePasswordOK, error) CreateUser(params *CreateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUserCreated, error) DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserOK, *DeleteUserNoContent, error) GetMember(params *GetMemberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMemberOK, error) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserOK, error) GetUserByVersion(params *GetUserByVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserByVersionOK, error) RestoreUser(params *RestoreUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestoreUserOK, error) SearchUsers(params *SearchUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchUsersOK, error) UpdateUser(params *UpdateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new users API client.
type CreateUserBadRequest ¶
CreateUserBadRequest describes a response with status code 400, with default header values.
bad request
func NewCreateUserBadRequest ¶
func NewCreateUserBadRequest() *CreateUserBadRequest
NewCreateUserBadRequest creates a CreateUserBadRequest with default headers values
func (*CreateUserBadRequest) Error ¶
func (o *CreateUserBadRequest) Error() string
func (*CreateUserBadRequest) GetPayload ¶
func (o *CreateUserBadRequest) GetPayload() *models.HTTPError
func (*CreateUserBadRequest) IsClientError ¶
func (o *CreateUserBadRequest) IsClientError() bool
IsClientError returns true when this create user bad request response has a 4xx status code
func (*CreateUserBadRequest) IsCode ¶
func (o *CreateUserBadRequest) IsCode(code int) bool
IsCode returns true when this create user bad request response a status code equal to that given
func (*CreateUserBadRequest) IsRedirect ¶
func (o *CreateUserBadRequest) IsRedirect() bool
IsRedirect returns true when this create user bad request response has a 3xx status code
func (*CreateUserBadRequest) IsServerError ¶
func (o *CreateUserBadRequest) IsServerError() bool
IsServerError returns true when this create user bad request response has a 5xx status code
func (*CreateUserBadRequest) IsSuccess ¶
func (o *CreateUserBadRequest) IsSuccess() bool
IsSuccess returns true when this create user bad request response has a 2xx status code
func (*CreateUserBadRequest) String ¶
func (o *CreateUserBadRequest) String() string
type CreateUserCreated ¶
CreateUserCreated describes a response with status code 201, with default header values.
no error
func NewCreateUserCreated ¶
func NewCreateUserCreated() *CreateUserCreated
NewCreateUserCreated creates a CreateUserCreated with default headers values
func (*CreateUserCreated) Error ¶
func (o *CreateUserCreated) Error() string
func (*CreateUserCreated) GetPayload ¶
func (o *CreateUserCreated) GetPayload() *models.User
func (*CreateUserCreated) IsClientError ¶
func (o *CreateUserCreated) IsClientError() bool
IsClientError returns true when this create user created response has a 4xx status code
func (*CreateUserCreated) IsCode ¶
func (o *CreateUserCreated) IsCode(code int) bool
IsCode returns true when this create user created response a status code equal to that given
func (*CreateUserCreated) IsRedirect ¶
func (o *CreateUserCreated) IsRedirect() bool
IsRedirect returns true when this create user created response has a 3xx status code
func (*CreateUserCreated) IsServerError ¶
func (o *CreateUserCreated) IsServerError() bool
IsServerError returns true when this create user created response has a 5xx status code
func (*CreateUserCreated) IsSuccess ¶
func (o *CreateUserCreated) IsSuccess() bool
IsSuccess returns true when this create user created response has a 2xx status code
func (*CreateUserCreated) String ¶
func (o *CreateUserCreated) String() string
type CreateUserForbidden ¶
CreateUserForbidden describes a response with status code 403, with default header values.
forbidden
func NewCreateUserForbidden ¶
func NewCreateUserForbidden() *CreateUserForbidden
NewCreateUserForbidden creates a CreateUserForbidden with default headers values
func (*CreateUserForbidden) Error ¶
func (o *CreateUserForbidden) Error() string
func (*CreateUserForbidden) GetPayload ¶
func (o *CreateUserForbidden) GetPayload() *models.HTTPError
func (*CreateUserForbidden) IsClientError ¶
func (o *CreateUserForbidden) IsClientError() bool
IsClientError returns true when this create user forbidden response has a 4xx status code
func (*CreateUserForbidden) IsCode ¶
func (o *CreateUserForbidden) IsCode(code int) bool
IsCode returns true when this create user forbidden response a status code equal to that given
func (*CreateUserForbidden) IsRedirect ¶
func (o *CreateUserForbidden) IsRedirect() bool
IsRedirect returns true when this create user forbidden response has a 3xx status code
func (*CreateUserForbidden) IsServerError ¶
func (o *CreateUserForbidden) IsServerError() bool
IsServerError returns true when this create user forbidden response has a 5xx status code
func (*CreateUserForbidden) IsSuccess ¶
func (o *CreateUserForbidden) IsSuccess() bool
IsSuccess returns true when this create user forbidden response has a 2xx status code
func (*CreateUserForbidden) String ¶
func (o *CreateUserForbidden) String() string
type CreateUserInternalServerError ¶
CreateUserInternalServerError describes a response with status code 500, with default header values.
server error
func NewCreateUserInternalServerError ¶
func NewCreateUserInternalServerError() *CreateUserInternalServerError
NewCreateUserInternalServerError creates a CreateUserInternalServerError with default headers values
func (*CreateUserInternalServerError) Error ¶
func (o *CreateUserInternalServerError) Error() string
func (*CreateUserInternalServerError) GetPayload ¶
func (o *CreateUserInternalServerError) GetPayload() *models.HTTPError
func (*CreateUserInternalServerError) IsClientError ¶
func (o *CreateUserInternalServerError) IsClientError() bool
IsClientError returns true when this create user internal server error response has a 4xx status code
func (*CreateUserInternalServerError) IsCode ¶
func (o *CreateUserInternalServerError) IsCode(code int) bool
IsCode returns true when this create user internal server error response a status code equal to that given
func (*CreateUserInternalServerError) IsRedirect ¶
func (o *CreateUserInternalServerError) IsRedirect() bool
IsRedirect returns true when this create user internal server error response has a 3xx status code
func (*CreateUserInternalServerError) IsServerError ¶
func (o *CreateUserInternalServerError) IsServerError() bool
IsServerError returns true when this create user internal server error response has a 5xx status code
func (*CreateUserInternalServerError) IsSuccess ¶
func (o *CreateUserInternalServerError) IsSuccess() bool
IsSuccess returns true when this create user internal server error response has a 2xx status code
func (*CreateUserInternalServerError) String ¶
func (o *CreateUserInternalServerError) String() string
type CreateUserParams ¶
type CreateUserParams struct { // Body. Body *models.UserCreateModel Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateUserParams contains all the parameters to send to the API endpoint
for the create user operation. Typically these are written to a http.Request.
func NewCreateUserParams ¶
func NewCreateUserParams() *CreateUserParams
NewCreateUserParams creates a new CreateUserParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateUserParamsWithContext ¶
func NewCreateUserParamsWithContext(ctx context.Context) *CreateUserParams
NewCreateUserParamsWithContext creates a new CreateUserParams object with the ability to set a context for a request.
func NewCreateUserParamsWithHTTPClient ¶
func NewCreateUserParamsWithHTTPClient(client *http.Client) *CreateUserParams
NewCreateUserParamsWithHTTPClient creates a new CreateUserParams object with the ability to set a custom HTTPClient for a request.
func NewCreateUserParamsWithTimeout ¶
func NewCreateUserParamsWithTimeout(timeout time.Duration) *CreateUserParams
NewCreateUserParamsWithTimeout creates a new CreateUserParams object with the ability to set a timeout on a request.
func (*CreateUserParams) SetBody ¶
func (o *CreateUserParams) SetBody(body *models.UserCreateModel)
SetBody adds the body to the create user params
func (*CreateUserParams) SetContext ¶
func (o *CreateUserParams) SetContext(ctx context.Context)
SetContext adds the context to the create user params
func (*CreateUserParams) SetDefaults ¶
func (o *CreateUserParams) SetDefaults()
SetDefaults hydrates default values in the create user params (not the query body).
All values with no default are reset to their zero value.
func (*CreateUserParams) SetHTTPClient ¶
func (o *CreateUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create user params
func (*CreateUserParams) SetTimeout ¶
func (o *CreateUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create user params
func (*CreateUserParams) WithBody ¶
func (o *CreateUserParams) WithBody(body *models.UserCreateModel) *CreateUserParams
WithBody adds the body to the create user params
func (*CreateUserParams) WithContext ¶
func (o *CreateUserParams) WithContext(ctx context.Context) *CreateUserParams
WithContext adds the context to the create user params
func (*CreateUserParams) WithDefaults ¶
func (o *CreateUserParams) WithDefaults() *CreateUserParams
WithDefaults hydrates default values in the create user params (not the query body).
All values with no default are reset to their zero value.
func (*CreateUserParams) WithHTTPClient ¶
func (o *CreateUserParams) WithHTTPClient(client *http.Client) *CreateUserParams
WithHTTPClient adds the HTTPClient to the create user params
func (*CreateUserParams) WithTimeout ¶
func (o *CreateUserParams) WithTimeout(timeout time.Duration) *CreateUserParams
WithTimeout adds the timeout to the create user params
func (*CreateUserParams) WriteToRequest ¶
func (o *CreateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateUserReader ¶
type CreateUserReader struct {
// contains filtered or unexported fields
}
CreateUserReader is a Reader for the CreateUser structure.
func (*CreateUserReader) ReadResponse ¶
func (o *CreateUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateUserUnauthorized ¶
type CreateUserUnauthorized struct {
}CreateUserUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewCreateUserUnauthorized ¶
func NewCreateUserUnauthorized() *CreateUserUnauthorized
NewCreateUserUnauthorized creates a CreateUserUnauthorized with default headers values
func (*CreateUserUnauthorized) Error ¶
func (o *CreateUserUnauthorized) Error() string
func (*CreateUserUnauthorized) GetPayload ¶
func (o *CreateUserUnauthorized) GetPayload() *models.HTTPError
func (*CreateUserUnauthorized) IsClientError ¶
func (o *CreateUserUnauthorized) IsClientError() bool
IsClientError returns true when this create user unauthorized response has a 4xx status code
func (*CreateUserUnauthorized) IsCode ¶
func (o *CreateUserUnauthorized) IsCode(code int) bool
IsCode returns true when this create user unauthorized response a status code equal to that given
func (*CreateUserUnauthorized) IsRedirect ¶
func (o *CreateUserUnauthorized) IsRedirect() bool
IsRedirect returns true when this create user unauthorized response has a 3xx status code
func (*CreateUserUnauthorized) IsServerError ¶
func (o *CreateUserUnauthorized) IsServerError() bool
IsServerError returns true when this create user unauthorized response has a 5xx status code
func (*CreateUserUnauthorized) IsSuccess ¶
func (o *CreateUserUnauthorized) IsSuccess() bool
IsSuccess returns true when this create user unauthorized response has a 2xx status code
func (*CreateUserUnauthorized) String ¶
func (o *CreateUserUnauthorized) String() string
type DeleteUserBadRequest ¶
DeleteUserBadRequest describes a response with status code 400, with default header values.
bad request
func NewDeleteUserBadRequest ¶
func NewDeleteUserBadRequest() *DeleteUserBadRequest
NewDeleteUserBadRequest creates a DeleteUserBadRequest with default headers values
func (*DeleteUserBadRequest) Error ¶
func (o *DeleteUserBadRequest) Error() string
func (*DeleteUserBadRequest) GetPayload ¶
func (o *DeleteUserBadRequest) GetPayload() *models.HTTPError
func (*DeleteUserBadRequest) IsClientError ¶
func (o *DeleteUserBadRequest) IsClientError() bool
IsClientError returns true when this delete user bad request response has a 4xx status code
func (*DeleteUserBadRequest) IsCode ¶
func (o *DeleteUserBadRequest) IsCode(code int) bool
IsCode returns true when this delete user bad request response a status code equal to that given
func (*DeleteUserBadRequest) IsRedirect ¶
func (o *DeleteUserBadRequest) IsRedirect() bool
IsRedirect returns true when this delete user bad request response has a 3xx status code
func (*DeleteUserBadRequest) IsServerError ¶
func (o *DeleteUserBadRequest) IsServerError() bool
IsServerError returns true when this delete user bad request response has a 5xx status code
func (*DeleteUserBadRequest) IsSuccess ¶
func (o *DeleteUserBadRequest) IsSuccess() bool
IsSuccess returns true when this delete user bad request response has a 2xx status code
func (*DeleteUserBadRequest) String ¶
func (o *DeleteUserBadRequest) String() string
type DeleteUserForbidden ¶
DeleteUserForbidden describes a response with status code 403, with default header values.
forbidden
func NewDeleteUserForbidden ¶
func NewDeleteUserForbidden() *DeleteUserForbidden
NewDeleteUserForbidden creates a DeleteUserForbidden with default headers values
func (*DeleteUserForbidden) Error ¶
func (o *DeleteUserForbidden) Error() string
func (*DeleteUserForbidden) GetPayload ¶
func (o *DeleteUserForbidden) GetPayload() *models.HTTPError
func (*DeleteUserForbidden) IsClientError ¶
func (o *DeleteUserForbidden) IsClientError() bool
IsClientError returns true when this delete user forbidden response has a 4xx status code
func (*DeleteUserForbidden) IsCode ¶
func (o *DeleteUserForbidden) IsCode(code int) bool
IsCode returns true when this delete user forbidden response a status code equal to that given
func (*DeleteUserForbidden) IsRedirect ¶
func (o *DeleteUserForbidden) IsRedirect() bool
IsRedirect returns true when this delete user forbidden response has a 3xx status code
func (*DeleteUserForbidden) IsServerError ¶
func (o *DeleteUserForbidden) IsServerError() bool
IsServerError returns true when this delete user forbidden response has a 5xx status code
func (*DeleteUserForbidden) IsSuccess ¶
func (o *DeleteUserForbidden) IsSuccess() bool
IsSuccess returns true when this delete user forbidden response has a 2xx status code
func (*DeleteUserForbidden) String ¶
func (o *DeleteUserForbidden) String() string
type DeleteUserInternalServerError ¶
DeleteUserInternalServerError describes a response with status code 500, with default header values.
server error
func NewDeleteUserInternalServerError ¶
func NewDeleteUserInternalServerError() *DeleteUserInternalServerError
NewDeleteUserInternalServerError creates a DeleteUserInternalServerError with default headers values
func (*DeleteUserInternalServerError) Error ¶
func (o *DeleteUserInternalServerError) Error() string
func (*DeleteUserInternalServerError) GetPayload ¶
func (o *DeleteUserInternalServerError) GetPayload() *models.HTTPError
func (*DeleteUserInternalServerError) IsClientError ¶
func (o *DeleteUserInternalServerError) IsClientError() bool
IsClientError returns true when this delete user internal server error response has a 4xx status code
func (*DeleteUserInternalServerError) IsCode ¶
func (o *DeleteUserInternalServerError) IsCode(code int) bool
IsCode returns true when this delete user internal server error response a status code equal to that given
func (*DeleteUserInternalServerError) IsRedirect ¶
func (o *DeleteUserInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete user internal server error response has a 3xx status code
func (*DeleteUserInternalServerError) IsServerError ¶
func (o *DeleteUserInternalServerError) IsServerError() bool
IsServerError returns true when this delete user internal server error response has a 5xx status code
func (*DeleteUserInternalServerError) IsSuccess ¶
func (o *DeleteUserInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete user internal server error response has a 2xx status code
func (*DeleteUserInternalServerError) String ¶
func (o *DeleteUserInternalServerError) String() string
type DeleteUserNoContent ¶
type DeleteUserNoContent struct { }
DeleteUserNoContent describes a response with status code 204, with default header values.
no error
func NewDeleteUserNoContent ¶
func NewDeleteUserNoContent() *DeleteUserNoContent
NewDeleteUserNoContent creates a DeleteUserNoContent with default headers values
func (*DeleteUserNoContent) Error ¶
func (o *DeleteUserNoContent) Error() string
func (*DeleteUserNoContent) IsClientError ¶
func (o *DeleteUserNoContent) IsClientError() bool
IsClientError returns true when this delete user no content response has a 4xx status code
func (*DeleteUserNoContent) IsCode ¶
func (o *DeleteUserNoContent) IsCode(code int) bool
IsCode returns true when this delete user no content response a status code equal to that given
func (*DeleteUserNoContent) IsRedirect ¶
func (o *DeleteUserNoContent) IsRedirect() bool
IsRedirect returns true when this delete user no content response has a 3xx status code
func (*DeleteUserNoContent) IsServerError ¶
func (o *DeleteUserNoContent) IsServerError() bool
IsServerError returns true when this delete user no content response has a 5xx status code
func (*DeleteUserNoContent) IsSuccess ¶
func (o *DeleteUserNoContent) IsSuccess() bool
IsSuccess returns true when this delete user no content response has a 2xx status code
func (*DeleteUserNoContent) String ¶
func (o *DeleteUserNoContent) String() string
type DeleteUserNotFound ¶
DeleteUserNotFound describes a response with status code 404, with default header values.
not found
func NewDeleteUserNotFound ¶
func NewDeleteUserNotFound() *DeleteUserNotFound
NewDeleteUserNotFound creates a DeleteUserNotFound with default headers values
func (*DeleteUserNotFound) Error ¶
func (o *DeleteUserNotFound) Error() string
func (*DeleteUserNotFound) GetPayload ¶
func (o *DeleteUserNotFound) GetPayload() *models.HTTPError
func (*DeleteUserNotFound) IsClientError ¶
func (o *DeleteUserNotFound) IsClientError() bool
IsClientError returns true when this delete user not found response has a 4xx status code
func (*DeleteUserNotFound) IsCode ¶
func (o *DeleteUserNotFound) IsCode(code int) bool
IsCode returns true when this delete user not found response a status code equal to that given
func (*DeleteUserNotFound) IsRedirect ¶
func (o *DeleteUserNotFound) IsRedirect() bool
IsRedirect returns true when this delete user not found response has a 3xx status code
func (*DeleteUserNotFound) IsServerError ¶
func (o *DeleteUserNotFound) IsServerError() bool
IsServerError returns true when this delete user not found response has a 5xx status code
func (*DeleteUserNotFound) IsSuccess ¶
func (o *DeleteUserNotFound) IsSuccess() bool
IsSuccess returns true when this delete user not found response has a 2xx status code
func (*DeleteUserNotFound) String ¶
func (o *DeleteUserNotFound) String() string
type DeleteUserOK ¶
type DeleteUserOK struct {
Payload *models.MessageResponse
}
DeleteUserOK describes a response with status code 200, with default header values.
no error
func NewDeleteUserOK ¶
func NewDeleteUserOK() *DeleteUserOK
NewDeleteUserOK creates a DeleteUserOK with default headers values
func (*DeleteUserOK) Error ¶
func (o *DeleteUserOK) Error() string
func (*DeleteUserOK) GetPayload ¶
func (o *DeleteUserOK) GetPayload() *models.MessageResponse
func (*DeleteUserOK) IsClientError ¶
func (o *DeleteUserOK) IsClientError() bool
IsClientError returns true when this delete user o k response has a 4xx status code
func (*DeleteUserOK) IsCode ¶
func (o *DeleteUserOK) IsCode(code int) bool
IsCode returns true when this delete user o k response a status code equal to that given
func (*DeleteUserOK) IsRedirect ¶
func (o *DeleteUserOK) IsRedirect() bool
IsRedirect returns true when this delete user o k response has a 3xx status code
func (*DeleteUserOK) IsServerError ¶
func (o *DeleteUserOK) IsServerError() bool
IsServerError returns true when this delete user o k response has a 5xx status code
func (*DeleteUserOK) IsSuccess ¶
func (o *DeleteUserOK) IsSuccess() bool
IsSuccess returns true when this delete user o k response has a 2xx status code
func (*DeleteUserOK) String ¶
func (o *DeleteUserOK) String() string
type DeleteUserParams ¶
type DeleteUserParams struct { /* Force. Delete immediately */ Force *bool /* Name. Full user name to lookup user by */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteUserParams contains all the parameters to send to the API endpoint
for the delete user operation. Typically these are written to a http.Request.
func NewDeleteUserParams ¶
func NewDeleteUserParams() *DeleteUserParams
NewDeleteUserParams creates a new DeleteUserParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteUserParamsWithContext ¶
func NewDeleteUserParamsWithContext(ctx context.Context) *DeleteUserParams
NewDeleteUserParamsWithContext creates a new DeleteUserParams object with the ability to set a context for a request.
func NewDeleteUserParamsWithHTTPClient ¶
func NewDeleteUserParamsWithHTTPClient(client *http.Client) *DeleteUserParams
NewDeleteUserParamsWithHTTPClient creates a new DeleteUserParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteUserParamsWithTimeout ¶
func NewDeleteUserParamsWithTimeout(timeout time.Duration) *DeleteUserParams
NewDeleteUserParamsWithTimeout creates a new DeleteUserParams object with the ability to set a timeout on a request.
func (*DeleteUserParams) SetContext ¶
func (o *DeleteUserParams) SetContext(ctx context.Context)
SetContext adds the context to the delete user params
func (*DeleteUserParams) SetDefaults ¶
func (o *DeleteUserParams) SetDefaults()
SetDefaults hydrates default values in the delete user params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteUserParams) SetForce ¶
func (o *DeleteUserParams) SetForce(force *bool)
SetForce adds the force to the delete user params
func (*DeleteUserParams) SetHTTPClient ¶
func (o *DeleteUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete user params
func (*DeleteUserParams) SetName ¶
func (o *DeleteUserParams) SetName(name string)
SetName adds the name to the delete user params
func (*DeleteUserParams) SetTimeout ¶
func (o *DeleteUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete user params
func (*DeleteUserParams) WithContext ¶
func (o *DeleteUserParams) WithContext(ctx context.Context) *DeleteUserParams
WithContext adds the context to the delete user params
func (*DeleteUserParams) WithDefaults ¶
func (o *DeleteUserParams) WithDefaults() *DeleteUserParams
WithDefaults hydrates default values in the delete user params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteUserParams) WithForce ¶
func (o *DeleteUserParams) WithForce(force *bool) *DeleteUserParams
WithForce adds the force to the delete user params
func (*DeleteUserParams) WithHTTPClient ¶
func (o *DeleteUserParams) WithHTTPClient(client *http.Client) *DeleteUserParams
WithHTTPClient adds the HTTPClient to the delete user params
func (*DeleteUserParams) WithName ¶
func (o *DeleteUserParams) WithName(name string) *DeleteUserParams
WithName adds the name to the delete user params
func (*DeleteUserParams) WithTimeout ¶
func (o *DeleteUserParams) WithTimeout(timeout time.Duration) *DeleteUserParams
WithTimeout adds the timeout to the delete user params
func (*DeleteUserParams) WriteToRequest ¶
func (o *DeleteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteUserReader ¶
type DeleteUserReader struct {
// contains filtered or unexported fields
}
DeleteUserReader is a Reader for the DeleteUser structure.
func (*DeleteUserReader) ReadResponse ¶
func (o *DeleteUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteUserUnauthorized ¶
type DeleteUserUnauthorized struct {
}DeleteUserUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewDeleteUserUnauthorized ¶
func NewDeleteUserUnauthorized() *DeleteUserUnauthorized
NewDeleteUserUnauthorized creates a DeleteUserUnauthorized with default headers values
func (*DeleteUserUnauthorized) Error ¶
func (o *DeleteUserUnauthorized) Error() string
func (*DeleteUserUnauthorized) GetPayload ¶
func (o *DeleteUserUnauthorized) GetPayload() *models.HTTPError
func (*DeleteUserUnauthorized) IsClientError ¶
func (o *DeleteUserUnauthorized) IsClientError() bool
IsClientError returns true when this delete user unauthorized response has a 4xx status code
func (*DeleteUserUnauthorized) IsCode ¶
func (o *DeleteUserUnauthorized) IsCode(code int) bool
IsCode returns true when this delete user unauthorized response a status code equal to that given
func (*DeleteUserUnauthorized) IsRedirect ¶
func (o *DeleteUserUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete user unauthorized response has a 3xx status code
func (*DeleteUserUnauthorized) IsServerError ¶
func (o *DeleteUserUnauthorized) IsServerError() bool
IsServerError returns true when this delete user unauthorized response has a 5xx status code
func (*DeleteUserUnauthorized) IsSuccess ¶
func (o *DeleteUserUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete user unauthorized response has a 2xx status code
func (*DeleteUserUnauthorized) String ¶
func (o *DeleteUserUnauthorized) String() string
type GetMemberBadRequest ¶
GetMemberBadRequest describes a response with status code 400, with default header values.
bad request
func NewGetMemberBadRequest ¶
func NewGetMemberBadRequest() *GetMemberBadRequest
NewGetMemberBadRequest creates a GetMemberBadRequest with default headers values
func (*GetMemberBadRequest) Error ¶
func (o *GetMemberBadRequest) Error() string
func (*GetMemberBadRequest) GetPayload ¶
func (o *GetMemberBadRequest) GetPayload() *models.HTTPError
func (*GetMemberBadRequest) IsClientError ¶
func (o *GetMemberBadRequest) IsClientError() bool
IsClientError returns true when this get member bad request response has a 4xx status code
func (*GetMemberBadRequest) IsCode ¶
func (o *GetMemberBadRequest) IsCode(code int) bool
IsCode returns true when this get member bad request response a status code equal to that given
func (*GetMemberBadRequest) IsRedirect ¶
func (o *GetMemberBadRequest) IsRedirect() bool
IsRedirect returns true when this get member bad request response has a 3xx status code
func (*GetMemberBadRequest) IsServerError ¶
func (o *GetMemberBadRequest) IsServerError() bool
IsServerError returns true when this get member bad request response has a 5xx status code
func (*GetMemberBadRequest) IsSuccess ¶
func (o *GetMemberBadRequest) IsSuccess() bool
IsSuccess returns true when this get member bad request response has a 2xx status code
func (*GetMemberBadRequest) String ¶
func (o *GetMemberBadRequest) String() string
type GetMemberForbidden ¶
GetMemberForbidden describes a response with status code 403, with default header values.
forbidden
func NewGetMemberForbidden ¶
func NewGetMemberForbidden() *GetMemberForbidden
NewGetMemberForbidden creates a GetMemberForbidden with default headers values
func (*GetMemberForbidden) Error ¶
func (o *GetMemberForbidden) Error() string
func (*GetMemberForbidden) GetPayload ¶
func (o *GetMemberForbidden) GetPayload() *models.HTTPError
func (*GetMemberForbidden) IsClientError ¶
func (o *GetMemberForbidden) IsClientError() bool
IsClientError returns true when this get member forbidden response has a 4xx status code
func (*GetMemberForbidden) IsCode ¶
func (o *GetMemberForbidden) IsCode(code int) bool
IsCode returns true when this get member forbidden response a status code equal to that given
func (*GetMemberForbidden) IsRedirect ¶
func (o *GetMemberForbidden) IsRedirect() bool
IsRedirect returns true when this get member forbidden response has a 3xx status code
func (*GetMemberForbidden) IsServerError ¶
func (o *GetMemberForbidden) IsServerError() bool
IsServerError returns true when this get member forbidden response has a 5xx status code
func (*GetMemberForbidden) IsSuccess ¶
func (o *GetMemberForbidden) IsSuccess() bool
IsSuccess returns true when this get member forbidden response has a 2xx status code
func (*GetMemberForbidden) String ¶
func (o *GetMemberForbidden) String() string
type GetMemberInternalServerError ¶
GetMemberInternalServerError describes a response with status code 500, with default header values.
server error
func NewGetMemberInternalServerError ¶
func NewGetMemberInternalServerError() *GetMemberInternalServerError
NewGetMemberInternalServerError creates a GetMemberInternalServerError with default headers values
func (*GetMemberInternalServerError) Error ¶
func (o *GetMemberInternalServerError) Error() string
func (*GetMemberInternalServerError) GetPayload ¶
func (o *GetMemberInternalServerError) GetPayload() *models.HTTPError
func (*GetMemberInternalServerError) IsClientError ¶
func (o *GetMemberInternalServerError) IsClientError() bool
IsClientError returns true when this get member internal server error response has a 4xx status code
func (*GetMemberInternalServerError) IsCode ¶
func (o *GetMemberInternalServerError) IsCode(code int) bool
IsCode returns true when this get member internal server error response a status code equal to that given
func (*GetMemberInternalServerError) IsRedirect ¶
func (o *GetMemberInternalServerError) IsRedirect() bool
IsRedirect returns true when this get member internal server error response has a 3xx status code
func (*GetMemberInternalServerError) IsServerError ¶
func (o *GetMemberInternalServerError) IsServerError() bool
IsServerError returns true when this get member internal server error response has a 5xx status code
func (*GetMemberInternalServerError) IsSuccess ¶
func (o *GetMemberInternalServerError) IsSuccess() bool
IsSuccess returns true when this get member internal server error response has a 2xx status code
func (*GetMemberInternalServerError) String ¶
func (o *GetMemberInternalServerError) String() string
type GetMemberNotFound ¶
GetMemberNotFound describes a response with status code 404, with default header values.
not found
func NewGetMemberNotFound ¶
func NewGetMemberNotFound() *GetMemberNotFound
NewGetMemberNotFound creates a GetMemberNotFound with default headers values
func (*GetMemberNotFound) Error ¶
func (o *GetMemberNotFound) Error() string
func (*GetMemberNotFound) GetPayload ¶
func (o *GetMemberNotFound) GetPayload() *models.HTTPError
func (*GetMemberNotFound) IsClientError ¶
func (o *GetMemberNotFound) IsClientError() bool
IsClientError returns true when this get member not found response has a 4xx status code
func (*GetMemberNotFound) IsCode ¶
func (o *GetMemberNotFound) IsCode(code int) bool
IsCode returns true when this get member not found response a status code equal to that given
func (*GetMemberNotFound) IsRedirect ¶
func (o *GetMemberNotFound) IsRedirect() bool
IsRedirect returns true when this get member not found response has a 3xx status code
func (*GetMemberNotFound) IsServerError ¶
func (o *GetMemberNotFound) IsServerError() bool
IsServerError returns true when this get member not found response has a 5xx status code
func (*GetMemberNotFound) IsSuccess ¶
func (o *GetMemberNotFound) IsSuccess() bool
IsSuccess returns true when this get member not found response has a 2xx status code
func (*GetMemberNotFound) String ¶
func (o *GetMemberNotFound) String() string
type GetMemberOK ¶
type GetMemberOK struct {
Payload *models.MemberResponse
}
GetMemberOK describes a response with status code 200, with default header values.
no error
func NewGetMemberOK ¶
func NewGetMemberOK() *GetMemberOK
NewGetMemberOK creates a GetMemberOK with default headers values
func (*GetMemberOK) Error ¶
func (o *GetMemberOK) Error() string
func (*GetMemberOK) GetPayload ¶
func (o *GetMemberOK) GetPayload() *models.MemberResponse
func (*GetMemberOK) IsClientError ¶
func (o *GetMemberOK) IsClientError() bool
IsClientError returns true when this get member o k response has a 4xx status code
func (*GetMemberOK) IsCode ¶
func (o *GetMemberOK) IsCode(code int) bool
IsCode returns true when this get member o k response a status code equal to that given
func (*GetMemberOK) IsRedirect ¶
func (o *GetMemberOK) IsRedirect() bool
IsRedirect returns true when this get member o k response has a 3xx status code
func (*GetMemberOK) IsServerError ¶
func (o *GetMemberOK) IsServerError() bool
IsServerError returns true when this get member o k response has a 5xx status code
func (*GetMemberOK) IsSuccess ¶
func (o *GetMemberOK) IsSuccess() bool
IsSuccess returns true when this get member o k response has a 2xx status code
func (*GetMemberOK) String ¶
func (o *GetMemberOK) String() string
type GetMemberParams ¶
type GetMemberParams struct { /* Name. Member name to lookup member */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMemberParams contains all the parameters to send to the API endpoint
for the get member operation. Typically these are written to a http.Request.
func NewGetMemberParams ¶
func NewGetMemberParams() *GetMemberParams
NewGetMemberParams creates a new GetMemberParams 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 NewGetMemberParamsWithContext ¶
func NewGetMemberParamsWithContext(ctx context.Context) *GetMemberParams
NewGetMemberParamsWithContext creates a new GetMemberParams object with the ability to set a context for a request.
func NewGetMemberParamsWithHTTPClient ¶
func NewGetMemberParamsWithHTTPClient(client *http.Client) *GetMemberParams
NewGetMemberParamsWithHTTPClient creates a new GetMemberParams object with the ability to set a custom HTTPClient for a request.
func NewGetMemberParamsWithTimeout ¶
func NewGetMemberParamsWithTimeout(timeout time.Duration) *GetMemberParams
NewGetMemberParamsWithTimeout creates a new GetMemberParams object with the ability to set a timeout on a request.
func (*GetMemberParams) SetContext ¶
func (o *GetMemberParams) SetContext(ctx context.Context)
SetContext adds the context to the get member params
func (*GetMemberParams) SetDefaults ¶
func (o *GetMemberParams) SetDefaults()
SetDefaults hydrates default values in the get member params (not the query body).
All values with no default are reset to their zero value.
func (*GetMemberParams) SetHTTPClient ¶
func (o *GetMemberParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get member params
func (*GetMemberParams) SetName ¶
func (o *GetMemberParams) SetName(name string)
SetName adds the name to the get member params
func (*GetMemberParams) SetTimeout ¶
func (o *GetMemberParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get member params
func (*GetMemberParams) WithContext ¶
func (o *GetMemberParams) WithContext(ctx context.Context) *GetMemberParams
WithContext adds the context to the get member params
func (*GetMemberParams) WithDefaults ¶
func (o *GetMemberParams) WithDefaults() *GetMemberParams
WithDefaults hydrates default values in the get member params (not the query body).
All values with no default are reset to their zero value.
func (*GetMemberParams) WithHTTPClient ¶
func (o *GetMemberParams) WithHTTPClient(client *http.Client) *GetMemberParams
WithHTTPClient adds the HTTPClient to the get member params
func (*GetMemberParams) WithName ¶
func (o *GetMemberParams) WithName(name string) *GetMemberParams
WithName adds the name to the get member params
func (*GetMemberParams) WithTimeout ¶
func (o *GetMemberParams) WithTimeout(timeout time.Duration) *GetMemberParams
WithTimeout adds the timeout to the get member params
func (*GetMemberParams) WriteToRequest ¶
func (o *GetMemberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMemberReader ¶
type GetMemberReader struct {
// contains filtered or unexported fields
}
GetMemberReader is a Reader for the GetMember structure.
func (*GetMemberReader) ReadResponse ¶
func (o *GetMemberReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMemberUnauthorized ¶
type GetMemberUnauthorized struct {
}GetMemberUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewGetMemberUnauthorized ¶
func NewGetMemberUnauthorized() *GetMemberUnauthorized
NewGetMemberUnauthorized creates a GetMemberUnauthorized with default headers values
func (*GetMemberUnauthorized) Error ¶
func (o *GetMemberUnauthorized) Error() string
func (*GetMemberUnauthorized) GetPayload ¶
func (o *GetMemberUnauthorized) GetPayload() *models.HTTPError
func (*GetMemberUnauthorized) IsClientError ¶
func (o *GetMemberUnauthorized) IsClientError() bool
IsClientError returns true when this get member unauthorized response has a 4xx status code
func (*GetMemberUnauthorized) IsCode ¶
func (o *GetMemberUnauthorized) IsCode(code int) bool
IsCode returns true when this get member unauthorized response a status code equal to that given
func (*GetMemberUnauthorized) IsRedirect ¶
func (o *GetMemberUnauthorized) IsRedirect() bool
IsRedirect returns true when this get member unauthorized response has a 3xx status code
func (*GetMemberUnauthorized) IsServerError ¶
func (o *GetMemberUnauthorized) IsServerError() bool
IsServerError returns true when this get member unauthorized response has a 5xx status code
func (*GetMemberUnauthorized) IsSuccess ¶
func (o *GetMemberUnauthorized) IsSuccess() bool
IsSuccess returns true when this get member unauthorized response has a 2xx status code
func (*GetMemberUnauthorized) String ¶
func (o *GetMemberUnauthorized) String() string
type GetUserBadRequest ¶
GetUserBadRequest describes a response with status code 400, with default header values.
bad request
func NewGetUserBadRequest ¶
func NewGetUserBadRequest() *GetUserBadRequest
NewGetUserBadRequest creates a GetUserBadRequest with default headers values
func (*GetUserBadRequest) Error ¶
func (o *GetUserBadRequest) Error() string
func (*GetUserBadRequest) GetPayload ¶
func (o *GetUserBadRequest) GetPayload() *models.HTTPError
func (*GetUserBadRequest) IsClientError ¶
func (o *GetUserBadRequest) IsClientError() bool
IsClientError returns true when this get user bad request response has a 4xx status code
func (*GetUserBadRequest) IsCode ¶
func (o *GetUserBadRequest) IsCode(code int) bool
IsCode returns true when this get user bad request response a status code equal to that given
func (*GetUserBadRequest) IsRedirect ¶
func (o *GetUserBadRequest) IsRedirect() bool
IsRedirect returns true when this get user bad request response has a 3xx status code
func (*GetUserBadRequest) IsServerError ¶
func (o *GetUserBadRequest) IsServerError() bool
IsServerError returns true when this get user bad request response has a 5xx status code
func (*GetUserBadRequest) IsSuccess ¶
func (o *GetUserBadRequest) IsSuccess() bool
IsSuccess returns true when this get user bad request response has a 2xx status code
func (*GetUserBadRequest) String ¶
func (o *GetUserBadRequest) String() string
type GetUserByVersionBadRequest ¶
GetUserByVersionBadRequest describes a response with status code 400, with default header values.
bad request
func NewGetUserByVersionBadRequest ¶
func NewGetUserByVersionBadRequest() *GetUserByVersionBadRequest
NewGetUserByVersionBadRequest creates a GetUserByVersionBadRequest with default headers values
func (*GetUserByVersionBadRequest) Error ¶
func (o *GetUserByVersionBadRequest) Error() string
func (*GetUserByVersionBadRequest) GetPayload ¶
func (o *GetUserByVersionBadRequest) GetPayload() *models.HTTPError
func (*GetUserByVersionBadRequest) IsClientError ¶
func (o *GetUserByVersionBadRequest) IsClientError() bool
IsClientError returns true when this get user by version bad request response has a 4xx status code
func (*GetUserByVersionBadRequest) IsCode ¶
func (o *GetUserByVersionBadRequest) IsCode(code int) bool
IsCode returns true when this get user by version bad request response a status code equal to that given
func (*GetUserByVersionBadRequest) IsRedirect ¶
func (o *GetUserByVersionBadRequest) IsRedirect() bool
IsRedirect returns true when this get user by version bad request response has a 3xx status code
func (*GetUserByVersionBadRequest) IsServerError ¶
func (o *GetUserByVersionBadRequest) IsServerError() bool
IsServerError returns true when this get user by version bad request response has a 5xx status code
func (*GetUserByVersionBadRequest) IsSuccess ¶
func (o *GetUserByVersionBadRequest) IsSuccess() bool
IsSuccess returns true when this get user by version bad request response has a 2xx status code
func (*GetUserByVersionBadRequest) String ¶
func (o *GetUserByVersionBadRequest) String() string
type GetUserByVersionForbidden ¶
GetUserByVersionForbidden describes a response with status code 403, with default header values.
forbidden
func NewGetUserByVersionForbidden ¶
func NewGetUserByVersionForbidden() *GetUserByVersionForbidden
NewGetUserByVersionForbidden creates a GetUserByVersionForbidden with default headers values
func (*GetUserByVersionForbidden) Error ¶
func (o *GetUserByVersionForbidden) Error() string
func (*GetUserByVersionForbidden) GetPayload ¶
func (o *GetUserByVersionForbidden) GetPayload() *models.HTTPError
func (*GetUserByVersionForbidden) IsClientError ¶
func (o *GetUserByVersionForbidden) IsClientError() bool
IsClientError returns true when this get user by version forbidden response has a 4xx status code
func (*GetUserByVersionForbidden) IsCode ¶
func (o *GetUserByVersionForbidden) IsCode(code int) bool
IsCode returns true when this get user by version forbidden response a status code equal to that given
func (*GetUserByVersionForbidden) IsRedirect ¶
func (o *GetUserByVersionForbidden) IsRedirect() bool
IsRedirect returns true when this get user by version forbidden response has a 3xx status code
func (*GetUserByVersionForbidden) IsServerError ¶
func (o *GetUserByVersionForbidden) IsServerError() bool
IsServerError returns true when this get user by version forbidden response has a 5xx status code
func (*GetUserByVersionForbidden) IsSuccess ¶
func (o *GetUserByVersionForbidden) IsSuccess() bool
IsSuccess returns true when this get user by version forbidden response has a 2xx status code
func (*GetUserByVersionForbidden) String ¶
func (o *GetUserByVersionForbidden) String() string
type GetUserByVersionInternalServerError ¶
GetUserByVersionInternalServerError describes a response with status code 500, with default header values.
server error
func NewGetUserByVersionInternalServerError ¶
func NewGetUserByVersionInternalServerError() *GetUserByVersionInternalServerError
NewGetUserByVersionInternalServerError creates a GetUserByVersionInternalServerError with default headers values
func (*GetUserByVersionInternalServerError) Error ¶
func (o *GetUserByVersionInternalServerError) Error() string
func (*GetUserByVersionInternalServerError) GetPayload ¶
func (o *GetUserByVersionInternalServerError) GetPayload() *models.HTTPError
func (*GetUserByVersionInternalServerError) IsClientError ¶
func (o *GetUserByVersionInternalServerError) IsClientError() bool
IsClientError returns true when this get user by version internal server error response has a 4xx status code
func (*GetUserByVersionInternalServerError) IsCode ¶
func (o *GetUserByVersionInternalServerError) IsCode(code int) bool
IsCode returns true when this get user by version internal server error response a status code equal to that given
func (*GetUserByVersionInternalServerError) IsRedirect ¶
func (o *GetUserByVersionInternalServerError) IsRedirect() bool
IsRedirect returns true when this get user by version internal server error response has a 3xx status code
func (*GetUserByVersionInternalServerError) IsServerError ¶
func (o *GetUserByVersionInternalServerError) IsServerError() bool
IsServerError returns true when this get user by version internal server error response has a 5xx status code
func (*GetUserByVersionInternalServerError) IsSuccess ¶
func (o *GetUserByVersionInternalServerError) IsSuccess() bool
IsSuccess returns true when this get user by version internal server error response has a 2xx status code
func (*GetUserByVersionInternalServerError) String ¶
func (o *GetUserByVersionInternalServerError) String() string
type GetUserByVersionNotFound ¶
GetUserByVersionNotFound describes a response with status code 404, with default header values.
not found
func NewGetUserByVersionNotFound ¶
func NewGetUserByVersionNotFound() *GetUserByVersionNotFound
NewGetUserByVersionNotFound creates a GetUserByVersionNotFound with default headers values
func (*GetUserByVersionNotFound) Error ¶
func (o *GetUserByVersionNotFound) Error() string
func (*GetUserByVersionNotFound) GetPayload ¶
func (o *GetUserByVersionNotFound) GetPayload() *models.HTTPError
func (*GetUserByVersionNotFound) IsClientError ¶
func (o *GetUserByVersionNotFound) IsClientError() bool
IsClientError returns true when this get user by version not found response has a 4xx status code
func (*GetUserByVersionNotFound) IsCode ¶
func (o *GetUserByVersionNotFound) IsCode(code int) bool
IsCode returns true when this get user by version not found response a status code equal to that given
func (*GetUserByVersionNotFound) IsRedirect ¶
func (o *GetUserByVersionNotFound) IsRedirect() bool
IsRedirect returns true when this get user by version not found response has a 3xx status code
func (*GetUserByVersionNotFound) IsServerError ¶
func (o *GetUserByVersionNotFound) IsServerError() bool
IsServerError returns true when this get user by version not found response has a 5xx status code
func (*GetUserByVersionNotFound) IsSuccess ¶
func (o *GetUserByVersionNotFound) IsSuccess() bool
IsSuccess returns true when this get user by version not found response has a 2xx status code
func (*GetUserByVersionNotFound) String ¶
func (o *GetUserByVersionNotFound) String() string
type GetUserByVersionOK ¶
type GetUserByVersionOK struct {
Payload *models.UserVersionResponse
}
GetUserByVersionOK describes a response with status code 200, with default header values.
no error
func NewGetUserByVersionOK ¶
func NewGetUserByVersionOK() *GetUserByVersionOK
NewGetUserByVersionOK creates a GetUserByVersionOK with default headers values
func (*GetUserByVersionOK) Error ¶
func (o *GetUserByVersionOK) Error() string
func (*GetUserByVersionOK) GetPayload ¶
func (o *GetUserByVersionOK) GetPayload() *models.UserVersionResponse
func (*GetUserByVersionOK) IsClientError ¶
func (o *GetUserByVersionOK) IsClientError() bool
IsClientError returns true when this get user by version o k response has a 4xx status code
func (*GetUserByVersionOK) IsCode ¶
func (o *GetUserByVersionOK) IsCode(code int) bool
IsCode returns true when this get user by version o k response a status code equal to that given
func (*GetUserByVersionOK) IsRedirect ¶
func (o *GetUserByVersionOK) IsRedirect() bool
IsRedirect returns true when this get user by version o k response has a 3xx status code
func (*GetUserByVersionOK) IsServerError ¶
func (o *GetUserByVersionOK) IsServerError() bool
IsServerError returns true when this get user by version o k response has a 5xx status code
func (*GetUserByVersionOK) IsSuccess ¶
func (o *GetUserByVersionOK) IsSuccess() bool
IsSuccess returns true when this get user by version o k response has a 2xx status code
func (*GetUserByVersionOK) String ¶
func (o *GetUserByVersionOK) String() string
type GetUserByVersionParams ¶
type GetUserByVersionParams struct { /* Name. Full user name to lookup user by */ Name string /* Version. Versions to return Format: int64 */ Version int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserByVersionParams contains all the parameters to send to the API endpoint
for the get user by version operation. Typically these are written to a http.Request.
func NewGetUserByVersionParams ¶
func NewGetUserByVersionParams() *GetUserByVersionParams
NewGetUserByVersionParams creates a new GetUserByVersionParams 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 NewGetUserByVersionParamsWithContext ¶
func NewGetUserByVersionParamsWithContext(ctx context.Context) *GetUserByVersionParams
NewGetUserByVersionParamsWithContext creates a new GetUserByVersionParams object with the ability to set a context for a request.
func NewGetUserByVersionParamsWithHTTPClient ¶
func NewGetUserByVersionParamsWithHTTPClient(client *http.Client) *GetUserByVersionParams
NewGetUserByVersionParamsWithHTTPClient creates a new GetUserByVersionParams object with the ability to set a custom HTTPClient for a request.
func NewGetUserByVersionParamsWithTimeout ¶
func NewGetUserByVersionParamsWithTimeout(timeout time.Duration) *GetUserByVersionParams
NewGetUserByVersionParamsWithTimeout creates a new GetUserByVersionParams object with the ability to set a timeout on a request.
func (*GetUserByVersionParams) SetContext ¶
func (o *GetUserByVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the get user by version params
func (*GetUserByVersionParams) SetDefaults ¶
func (o *GetUserByVersionParams) SetDefaults()
SetDefaults hydrates default values in the get user by version params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserByVersionParams) SetHTTPClient ¶
func (o *GetUserByVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user by version params
func (*GetUserByVersionParams) SetName ¶
func (o *GetUserByVersionParams) SetName(name string)
SetName adds the name to the get user by version params
func (*GetUserByVersionParams) SetTimeout ¶
func (o *GetUserByVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user by version params
func (*GetUserByVersionParams) SetVersion ¶
func (o *GetUserByVersionParams) SetVersion(version int64)
SetVersion adds the version to the get user by version params
func (*GetUserByVersionParams) WithContext ¶
func (o *GetUserByVersionParams) WithContext(ctx context.Context) *GetUserByVersionParams
WithContext adds the context to the get user by version params
func (*GetUserByVersionParams) WithDefaults ¶
func (o *GetUserByVersionParams) WithDefaults() *GetUserByVersionParams
WithDefaults hydrates default values in the get user by version params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserByVersionParams) WithHTTPClient ¶
func (o *GetUserByVersionParams) WithHTTPClient(client *http.Client) *GetUserByVersionParams
WithHTTPClient adds the HTTPClient to the get user by version params
func (*GetUserByVersionParams) WithName ¶
func (o *GetUserByVersionParams) WithName(name string) *GetUserByVersionParams
WithName adds the name to the get user by version params
func (*GetUserByVersionParams) WithTimeout ¶
func (o *GetUserByVersionParams) WithTimeout(timeout time.Duration) *GetUserByVersionParams
WithTimeout adds the timeout to the get user by version params
func (*GetUserByVersionParams) WithVersion ¶
func (o *GetUserByVersionParams) WithVersion(version int64) *GetUserByVersionParams
WithVersion adds the version to the get user by version params
func (*GetUserByVersionParams) WriteToRequest ¶
func (o *GetUserByVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserByVersionReader ¶
type GetUserByVersionReader struct {
// contains filtered or unexported fields
}
GetUserByVersionReader is a Reader for the GetUserByVersion structure.
func (*GetUserByVersionReader) ReadResponse ¶
func (o *GetUserByVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserByVersionUnauthorized ¶
type GetUserByVersionUnauthorized struct {
}GetUserByVersionUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewGetUserByVersionUnauthorized ¶
func NewGetUserByVersionUnauthorized() *GetUserByVersionUnauthorized
NewGetUserByVersionUnauthorized creates a GetUserByVersionUnauthorized with default headers values
func (*GetUserByVersionUnauthorized) Error ¶
func (o *GetUserByVersionUnauthorized) Error() string
func (*GetUserByVersionUnauthorized) GetPayload ¶
func (o *GetUserByVersionUnauthorized) GetPayload() *models.HTTPError
func (*GetUserByVersionUnauthorized) IsClientError ¶
func (o *GetUserByVersionUnauthorized) IsClientError() bool
IsClientError returns true when this get user by version unauthorized response has a 4xx status code
func (*GetUserByVersionUnauthorized) IsCode ¶
func (o *GetUserByVersionUnauthorized) IsCode(code int) bool
IsCode returns true when this get user by version unauthorized response a status code equal to that given
func (*GetUserByVersionUnauthorized) IsRedirect ¶
func (o *GetUserByVersionUnauthorized) IsRedirect() bool
IsRedirect returns true when this get user by version unauthorized response has a 3xx status code
func (*GetUserByVersionUnauthorized) IsServerError ¶
func (o *GetUserByVersionUnauthorized) IsServerError() bool
IsServerError returns true when this get user by version unauthorized response has a 5xx status code
func (*GetUserByVersionUnauthorized) IsSuccess ¶
func (o *GetUserByVersionUnauthorized) IsSuccess() bool
IsSuccess returns true when this get user by version unauthorized response has a 2xx status code
func (*GetUserByVersionUnauthorized) String ¶
func (o *GetUserByVersionUnauthorized) String() string
type GetUserForbidden ¶
GetUserForbidden describes a response with status code 403, with default header values.
forbidden
func NewGetUserForbidden ¶
func NewGetUserForbidden() *GetUserForbidden
NewGetUserForbidden creates a GetUserForbidden with default headers values
func (*GetUserForbidden) Error ¶
func (o *GetUserForbidden) Error() string
func (*GetUserForbidden) GetPayload ¶
func (o *GetUserForbidden) GetPayload() *models.HTTPError
func (*GetUserForbidden) IsClientError ¶
func (o *GetUserForbidden) IsClientError() bool
IsClientError returns true when this get user forbidden response has a 4xx status code
func (*GetUserForbidden) IsCode ¶
func (o *GetUserForbidden) IsCode(code int) bool
IsCode returns true when this get user forbidden response a status code equal to that given
func (*GetUserForbidden) IsRedirect ¶
func (o *GetUserForbidden) IsRedirect() bool
IsRedirect returns true when this get user forbidden response has a 3xx status code
func (*GetUserForbidden) IsServerError ¶
func (o *GetUserForbidden) IsServerError() bool
IsServerError returns true when this get user forbidden response has a 5xx status code
func (*GetUserForbidden) IsSuccess ¶
func (o *GetUserForbidden) IsSuccess() bool
IsSuccess returns true when this get user forbidden response has a 2xx status code
func (*GetUserForbidden) String ¶
func (o *GetUserForbidden) String() string
type GetUserInternalServerError ¶
GetUserInternalServerError describes a response with status code 500, with default header values.
server error
func NewGetUserInternalServerError ¶
func NewGetUserInternalServerError() *GetUserInternalServerError
NewGetUserInternalServerError creates a GetUserInternalServerError with default headers values
func (*GetUserInternalServerError) Error ¶
func (o *GetUserInternalServerError) Error() string
func (*GetUserInternalServerError) GetPayload ¶
func (o *GetUserInternalServerError) GetPayload() *models.HTTPError
func (*GetUserInternalServerError) IsClientError ¶
func (o *GetUserInternalServerError) IsClientError() bool
IsClientError returns true when this get user internal server error response has a 4xx status code
func (*GetUserInternalServerError) IsCode ¶
func (o *GetUserInternalServerError) IsCode(code int) bool
IsCode returns true when this get user internal server error response a status code equal to that given
func (*GetUserInternalServerError) IsRedirect ¶
func (o *GetUserInternalServerError) IsRedirect() bool
IsRedirect returns true when this get user internal server error response has a 3xx status code
func (*GetUserInternalServerError) IsServerError ¶
func (o *GetUserInternalServerError) IsServerError() bool
IsServerError returns true when this get user internal server error response has a 5xx status code
func (*GetUserInternalServerError) IsSuccess ¶
func (o *GetUserInternalServerError) IsSuccess() bool
IsSuccess returns true when this get user internal server error response has a 2xx status code
func (*GetUserInternalServerError) String ¶
func (o *GetUserInternalServerError) String() string
type GetUserNotFound ¶
GetUserNotFound describes a response with status code 404, with default header values.
not found
func NewGetUserNotFound ¶
func NewGetUserNotFound() *GetUserNotFound
NewGetUserNotFound creates a GetUserNotFound with default headers values
func (*GetUserNotFound) Error ¶
func (o *GetUserNotFound) Error() string
func (*GetUserNotFound) GetPayload ¶
func (o *GetUserNotFound) GetPayload() *models.HTTPError
func (*GetUserNotFound) IsClientError ¶
func (o *GetUserNotFound) IsClientError() bool
IsClientError returns true when this get user not found response has a 4xx status code
func (*GetUserNotFound) IsCode ¶
func (o *GetUserNotFound) IsCode(code int) bool
IsCode returns true when this get user not found response a status code equal to that given
func (*GetUserNotFound) IsRedirect ¶
func (o *GetUserNotFound) IsRedirect() bool
IsRedirect returns true when this get user not found response has a 3xx status code
func (*GetUserNotFound) IsServerError ¶
func (o *GetUserNotFound) IsServerError() bool
IsServerError returns true when this get user not found response has a 5xx status code
func (*GetUserNotFound) IsSuccess ¶
func (o *GetUserNotFound) IsSuccess() bool
IsSuccess returns true when this get user not found response has a 2xx status code
func (*GetUserNotFound) String ¶
func (o *GetUserNotFound) String() string
type GetUserOK ¶
GetUserOK describes a response with status code 200, with default header values.
no error
func NewGetUserOK ¶
func NewGetUserOK() *GetUserOK
NewGetUserOK creates a GetUserOK with default headers values
func (*GetUserOK) GetPayload ¶
func (*GetUserOK) IsClientError ¶
IsClientError returns true when this get user o k response has a 4xx status code
func (*GetUserOK) IsCode ¶
IsCode returns true when this get user o k response a status code equal to that given
func (*GetUserOK) IsRedirect ¶
IsRedirect returns true when this get user o k response has a 3xx status code
func (*GetUserOK) IsServerError ¶
IsServerError returns true when this get user o k response has a 5xx status code
type GetUserParams ¶
type GetUserParams struct { /* Name. Full user name to lookup user by */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserParams contains all the parameters to send to the API endpoint
for the get user operation. Typically these are written to a http.Request.
func NewGetUserParams ¶
func NewGetUserParams() *GetUserParams
NewGetUserParams creates a new GetUserParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetUserParamsWithContext ¶
func NewGetUserParamsWithContext(ctx context.Context) *GetUserParams
NewGetUserParamsWithContext creates a new GetUserParams object with the ability to set a context for a request.
func NewGetUserParamsWithHTTPClient ¶
func NewGetUserParamsWithHTTPClient(client *http.Client) *GetUserParams
NewGetUserParamsWithHTTPClient creates a new GetUserParams object with the ability to set a custom HTTPClient for a request.
func NewGetUserParamsWithTimeout ¶
func NewGetUserParamsWithTimeout(timeout time.Duration) *GetUserParams
NewGetUserParamsWithTimeout creates a new GetUserParams object with the ability to set a timeout on a request.
func (*GetUserParams) SetContext ¶
func (o *GetUserParams) SetContext(ctx context.Context)
SetContext adds the context to the get user params
func (*GetUserParams) SetDefaults ¶
func (o *GetUserParams) SetDefaults()
SetDefaults hydrates default values in the get user params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserParams) SetHTTPClient ¶
func (o *GetUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user params
func (*GetUserParams) SetName ¶
func (o *GetUserParams) SetName(name string)
SetName adds the name to the get user params
func (*GetUserParams) SetTimeout ¶
func (o *GetUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user params
func (*GetUserParams) WithContext ¶
func (o *GetUserParams) WithContext(ctx context.Context) *GetUserParams
WithContext adds the context to the get user params
func (*GetUserParams) WithDefaults ¶
func (o *GetUserParams) WithDefaults() *GetUserParams
WithDefaults hydrates default values in the get user params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserParams) WithHTTPClient ¶
func (o *GetUserParams) WithHTTPClient(client *http.Client) *GetUserParams
WithHTTPClient adds the HTTPClient to the get user params
func (*GetUserParams) WithName ¶
func (o *GetUserParams) WithName(name string) *GetUserParams
WithName adds the name to the get user params
func (*GetUserParams) WithTimeout ¶
func (o *GetUserParams) WithTimeout(timeout time.Duration) *GetUserParams
WithTimeout adds the timeout to the get user params
func (*GetUserParams) WriteToRequest ¶
func (o *GetUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserReader ¶
type GetUserReader struct {
// contains filtered or unexported fields
}
GetUserReader is a Reader for the GetUser structure.
func (*GetUserReader) ReadResponse ¶
func (o *GetUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserUnauthorized ¶
type GetUserUnauthorized struct {
}GetUserUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewGetUserUnauthorized ¶
func NewGetUserUnauthorized() *GetUserUnauthorized
NewGetUserUnauthorized creates a GetUserUnauthorized with default headers values
func (*GetUserUnauthorized) Error ¶
func (o *GetUserUnauthorized) Error() string
func (*GetUserUnauthorized) GetPayload ¶
func (o *GetUserUnauthorized) GetPayload() *models.HTTPError
func (*GetUserUnauthorized) IsClientError ¶
func (o *GetUserUnauthorized) IsClientError() bool
IsClientError returns true when this get user unauthorized response has a 4xx status code
func (*GetUserUnauthorized) IsCode ¶
func (o *GetUserUnauthorized) IsCode(code int) bool
IsCode returns true when this get user unauthorized response a status code equal to that given
func (*GetUserUnauthorized) IsRedirect ¶
func (o *GetUserUnauthorized) IsRedirect() bool
IsRedirect returns true when this get user unauthorized response has a 3xx status code
func (*GetUserUnauthorized) IsServerError ¶
func (o *GetUserUnauthorized) IsServerError() bool
IsServerError returns true when this get user unauthorized response has a 5xx status code
func (*GetUserUnauthorized) IsSuccess ¶
func (o *GetUserUnauthorized) IsSuccess() bool
IsSuccess returns true when this get user unauthorized response has a 2xx status code
func (*GetUserUnauthorized) String ¶
func (o *GetUserUnauthorized) String() string
type RestoreUserBadRequest ¶
RestoreUserBadRequest describes a response with status code 400, with default header values.
bad request
func NewRestoreUserBadRequest ¶
func NewRestoreUserBadRequest() *RestoreUserBadRequest
NewRestoreUserBadRequest creates a RestoreUserBadRequest with default headers values
func (*RestoreUserBadRequest) Error ¶
func (o *RestoreUserBadRequest) Error() string
func (*RestoreUserBadRequest) GetPayload ¶
func (o *RestoreUserBadRequest) GetPayload() *models.HTTPError
func (*RestoreUserBadRequest) IsClientError ¶
func (o *RestoreUserBadRequest) IsClientError() bool
IsClientError returns true when this restore user bad request response has a 4xx status code
func (*RestoreUserBadRequest) IsCode ¶
func (o *RestoreUserBadRequest) IsCode(code int) bool
IsCode returns true when this restore user bad request response a status code equal to that given
func (*RestoreUserBadRequest) IsRedirect ¶
func (o *RestoreUserBadRequest) IsRedirect() bool
IsRedirect returns true when this restore user bad request response has a 3xx status code
func (*RestoreUserBadRequest) IsServerError ¶
func (o *RestoreUserBadRequest) IsServerError() bool
IsServerError returns true when this restore user bad request response has a 5xx status code
func (*RestoreUserBadRequest) IsSuccess ¶
func (o *RestoreUserBadRequest) IsSuccess() bool
IsSuccess returns true when this restore user bad request response has a 2xx status code
func (*RestoreUserBadRequest) String ¶
func (o *RestoreUserBadRequest) String() string
type RestoreUserForbidden ¶
RestoreUserForbidden describes a response with status code 403, with default header values.
forbidden
func NewRestoreUserForbidden ¶
func NewRestoreUserForbidden() *RestoreUserForbidden
NewRestoreUserForbidden creates a RestoreUserForbidden with default headers values
func (*RestoreUserForbidden) Error ¶
func (o *RestoreUserForbidden) Error() string
func (*RestoreUserForbidden) GetPayload ¶
func (o *RestoreUserForbidden) GetPayload() *models.HTTPError
func (*RestoreUserForbidden) IsClientError ¶
func (o *RestoreUserForbidden) IsClientError() bool
IsClientError returns true when this restore user forbidden response has a 4xx status code
func (*RestoreUserForbidden) IsCode ¶
func (o *RestoreUserForbidden) IsCode(code int) bool
IsCode returns true when this restore user forbidden response a status code equal to that given
func (*RestoreUserForbidden) IsRedirect ¶
func (o *RestoreUserForbidden) IsRedirect() bool
IsRedirect returns true when this restore user forbidden response has a 3xx status code
func (*RestoreUserForbidden) IsServerError ¶
func (o *RestoreUserForbidden) IsServerError() bool
IsServerError returns true when this restore user forbidden response has a 5xx status code
func (*RestoreUserForbidden) IsSuccess ¶
func (o *RestoreUserForbidden) IsSuccess() bool
IsSuccess returns true when this restore user forbidden response has a 2xx status code
func (*RestoreUserForbidden) String ¶
func (o *RestoreUserForbidden) String() string
type RestoreUserInternalServerError ¶
RestoreUserInternalServerError describes a response with status code 500, with default header values.
server error
func NewRestoreUserInternalServerError ¶
func NewRestoreUserInternalServerError() *RestoreUserInternalServerError
NewRestoreUserInternalServerError creates a RestoreUserInternalServerError with default headers values
func (*RestoreUserInternalServerError) Error ¶
func (o *RestoreUserInternalServerError) Error() string
func (*RestoreUserInternalServerError) GetPayload ¶
func (o *RestoreUserInternalServerError) GetPayload() *models.HTTPError
func (*RestoreUserInternalServerError) IsClientError ¶
func (o *RestoreUserInternalServerError) IsClientError() bool
IsClientError returns true when this restore user internal server error response has a 4xx status code
func (*RestoreUserInternalServerError) IsCode ¶
func (o *RestoreUserInternalServerError) IsCode(code int) bool
IsCode returns true when this restore user internal server error response a status code equal to that given
func (*RestoreUserInternalServerError) IsRedirect ¶
func (o *RestoreUserInternalServerError) IsRedirect() bool
IsRedirect returns true when this restore user internal server error response has a 3xx status code
func (*RestoreUserInternalServerError) IsServerError ¶
func (o *RestoreUserInternalServerError) IsServerError() bool
IsServerError returns true when this restore user internal server error response has a 5xx status code
func (*RestoreUserInternalServerError) IsSuccess ¶
func (o *RestoreUserInternalServerError) IsSuccess() bool
IsSuccess returns true when this restore user internal server error response has a 2xx status code
func (*RestoreUserInternalServerError) String ¶
func (o *RestoreUserInternalServerError) String() string
type RestoreUserNotFound ¶
RestoreUserNotFound describes a response with status code 404, with default header values.
not found
func NewRestoreUserNotFound ¶
func NewRestoreUserNotFound() *RestoreUserNotFound
NewRestoreUserNotFound creates a RestoreUserNotFound with default headers values
func (*RestoreUserNotFound) Error ¶
func (o *RestoreUserNotFound) Error() string
func (*RestoreUserNotFound) GetPayload ¶
func (o *RestoreUserNotFound) GetPayload() *models.HTTPError
func (*RestoreUserNotFound) IsClientError ¶
func (o *RestoreUserNotFound) IsClientError() bool
IsClientError returns true when this restore user not found response has a 4xx status code
func (*RestoreUserNotFound) IsCode ¶
func (o *RestoreUserNotFound) IsCode(code int) bool
IsCode returns true when this restore user not found response a status code equal to that given
func (*RestoreUserNotFound) IsRedirect ¶
func (o *RestoreUserNotFound) IsRedirect() bool
IsRedirect returns true when this restore user not found response has a 3xx status code
func (*RestoreUserNotFound) IsServerError ¶
func (o *RestoreUserNotFound) IsServerError() bool
IsServerError returns true when this restore user not found response has a 5xx status code
func (*RestoreUserNotFound) IsSuccess ¶
func (o *RestoreUserNotFound) IsSuccess() bool
IsSuccess returns true when this restore user not found response has a 2xx status code
func (*RestoreUserNotFound) String ¶
func (o *RestoreUserNotFound) String() string
type RestoreUserOK ¶
type RestoreUserOK struct { }
RestoreUserOK describes a response with status code 200, with default header values.
no error
func NewRestoreUserOK ¶
func NewRestoreUserOK() *RestoreUserOK
NewRestoreUserOK creates a RestoreUserOK with default headers values
func (*RestoreUserOK) Error ¶
func (o *RestoreUserOK) Error() string
func (*RestoreUserOK) IsClientError ¶
func (o *RestoreUserOK) IsClientError() bool
IsClientError returns true when this restore user o k response has a 4xx status code
func (*RestoreUserOK) IsCode ¶
func (o *RestoreUserOK) IsCode(code int) bool
IsCode returns true when this restore user o k response a status code equal to that given
func (*RestoreUserOK) IsRedirect ¶
func (o *RestoreUserOK) IsRedirect() bool
IsRedirect returns true when this restore user o k response has a 3xx status code
func (*RestoreUserOK) IsServerError ¶
func (o *RestoreUserOK) IsServerError() bool
IsServerError returns true when this restore user o k response has a 5xx status code
func (*RestoreUserOK) IsSuccess ¶
func (o *RestoreUserOK) IsSuccess() bool
IsSuccess returns true when this restore user o k response has a 2xx status code
func (*RestoreUserOK) String ¶
func (o *RestoreUserOK) String() string
type RestoreUserParams ¶
type RestoreUserParams struct { /* Name. Full user name to lookup user by */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RestoreUserParams contains all the parameters to send to the API endpoint
for the restore user operation. Typically these are written to a http.Request.
func NewRestoreUserParams ¶
func NewRestoreUserParams() *RestoreUserParams
NewRestoreUserParams creates a new RestoreUserParams 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 NewRestoreUserParamsWithContext ¶
func NewRestoreUserParamsWithContext(ctx context.Context) *RestoreUserParams
NewRestoreUserParamsWithContext creates a new RestoreUserParams object with the ability to set a context for a request.
func NewRestoreUserParamsWithHTTPClient ¶
func NewRestoreUserParamsWithHTTPClient(client *http.Client) *RestoreUserParams
NewRestoreUserParamsWithHTTPClient creates a new RestoreUserParams object with the ability to set a custom HTTPClient for a request.
func NewRestoreUserParamsWithTimeout ¶
func NewRestoreUserParamsWithTimeout(timeout time.Duration) *RestoreUserParams
NewRestoreUserParamsWithTimeout creates a new RestoreUserParams object with the ability to set a timeout on a request.
func (*RestoreUserParams) SetContext ¶
func (o *RestoreUserParams) SetContext(ctx context.Context)
SetContext adds the context to the restore user params
func (*RestoreUserParams) SetDefaults ¶
func (o *RestoreUserParams) SetDefaults()
SetDefaults hydrates default values in the restore user params (not the query body).
All values with no default are reset to their zero value.
func (*RestoreUserParams) SetHTTPClient ¶
func (o *RestoreUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the restore user params
func (*RestoreUserParams) SetName ¶
func (o *RestoreUserParams) SetName(name string)
SetName adds the name to the restore user params
func (*RestoreUserParams) SetTimeout ¶
func (o *RestoreUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the restore user params
func (*RestoreUserParams) WithContext ¶
func (o *RestoreUserParams) WithContext(ctx context.Context) *RestoreUserParams
WithContext adds the context to the restore user params
func (*RestoreUserParams) WithDefaults ¶
func (o *RestoreUserParams) WithDefaults() *RestoreUserParams
WithDefaults hydrates default values in the restore user params (not the query body).
All values with no default are reset to their zero value.
func (*RestoreUserParams) WithHTTPClient ¶
func (o *RestoreUserParams) WithHTTPClient(client *http.Client) *RestoreUserParams
WithHTTPClient adds the HTTPClient to the restore user params
func (*RestoreUserParams) WithName ¶
func (o *RestoreUserParams) WithName(name string) *RestoreUserParams
WithName adds the name to the restore user params
func (*RestoreUserParams) WithTimeout ¶
func (o *RestoreUserParams) WithTimeout(timeout time.Duration) *RestoreUserParams
WithTimeout adds the timeout to the restore user params
func (*RestoreUserParams) WriteToRequest ¶
func (o *RestoreUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RestoreUserReader ¶
type RestoreUserReader struct {
// contains filtered or unexported fields
}
RestoreUserReader is a Reader for the RestoreUser structure.
func (*RestoreUserReader) ReadResponse ¶
func (o *RestoreUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RestoreUserUnauthorized ¶
type RestoreUserUnauthorized struct {
}RestoreUserUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewRestoreUserUnauthorized ¶
func NewRestoreUserUnauthorized() *RestoreUserUnauthorized
NewRestoreUserUnauthorized creates a RestoreUserUnauthorized with default headers values
func (*RestoreUserUnauthorized) Error ¶
func (o *RestoreUserUnauthorized) Error() string
func (*RestoreUserUnauthorized) GetPayload ¶
func (o *RestoreUserUnauthorized) GetPayload() *models.HTTPError
func (*RestoreUserUnauthorized) IsClientError ¶
func (o *RestoreUserUnauthorized) IsClientError() bool
IsClientError returns true when this restore user unauthorized response has a 4xx status code
func (*RestoreUserUnauthorized) IsCode ¶
func (o *RestoreUserUnauthorized) IsCode(code int) bool
IsCode returns true when this restore user unauthorized response a status code equal to that given
func (*RestoreUserUnauthorized) IsRedirect ¶
func (o *RestoreUserUnauthorized) IsRedirect() bool
IsRedirect returns true when this restore user unauthorized response has a 3xx status code
func (*RestoreUserUnauthorized) IsServerError ¶
func (o *RestoreUserUnauthorized) IsServerError() bool
IsServerError returns true when this restore user unauthorized response has a 5xx status code
func (*RestoreUserUnauthorized) IsSuccess ¶
func (o *RestoreUserUnauthorized) IsSuccess() bool
IsSuccess returns true when this restore user unauthorized response has a 2xx status code
func (*RestoreUserUnauthorized) String ¶
func (o *RestoreUserUnauthorized) String() string
type SearchUsersBadRequest ¶
SearchUsersBadRequest describes a response with status code 400, with default header values.
bad request
func NewSearchUsersBadRequest ¶
func NewSearchUsersBadRequest() *SearchUsersBadRequest
NewSearchUsersBadRequest creates a SearchUsersBadRequest with default headers values
func (*SearchUsersBadRequest) Error ¶
func (o *SearchUsersBadRequest) Error() string
func (*SearchUsersBadRequest) GetPayload ¶
func (o *SearchUsersBadRequest) GetPayload() *models.HTTPError
func (*SearchUsersBadRequest) IsClientError ¶
func (o *SearchUsersBadRequest) IsClientError() bool
IsClientError returns true when this search users bad request response has a 4xx status code
func (*SearchUsersBadRequest) IsCode ¶
func (o *SearchUsersBadRequest) IsCode(code int) bool
IsCode returns true when this search users bad request response a status code equal to that given
func (*SearchUsersBadRequest) IsRedirect ¶
func (o *SearchUsersBadRequest) IsRedirect() bool
IsRedirect returns true when this search users bad request response has a 3xx status code
func (*SearchUsersBadRequest) IsServerError ¶
func (o *SearchUsersBadRequest) IsServerError() bool
IsServerError returns true when this search users bad request response has a 5xx status code
func (*SearchUsersBadRequest) IsSuccess ¶
func (o *SearchUsersBadRequest) IsSuccess() bool
IsSuccess returns true when this search users bad request response has a 2xx status code
func (*SearchUsersBadRequest) String ¶
func (o *SearchUsersBadRequest) String() string
type SearchUsersForbidden ¶
SearchUsersForbidden describes a response with status code 403, with default header values.
forbidden
func NewSearchUsersForbidden ¶
func NewSearchUsersForbidden() *SearchUsersForbidden
NewSearchUsersForbidden creates a SearchUsersForbidden with default headers values
func (*SearchUsersForbidden) Error ¶
func (o *SearchUsersForbidden) Error() string
func (*SearchUsersForbidden) GetPayload ¶
func (o *SearchUsersForbidden) GetPayload() *models.HTTPError
func (*SearchUsersForbidden) IsClientError ¶
func (o *SearchUsersForbidden) IsClientError() bool
IsClientError returns true when this search users forbidden response has a 4xx status code
func (*SearchUsersForbidden) IsCode ¶
func (o *SearchUsersForbidden) IsCode(code int) bool
IsCode returns true when this search users forbidden response a status code equal to that given
func (*SearchUsersForbidden) IsRedirect ¶
func (o *SearchUsersForbidden) IsRedirect() bool
IsRedirect returns true when this search users forbidden response has a 3xx status code
func (*SearchUsersForbidden) IsServerError ¶
func (o *SearchUsersForbidden) IsServerError() bool
IsServerError returns true when this search users forbidden response has a 5xx status code
func (*SearchUsersForbidden) IsSuccess ¶
func (o *SearchUsersForbidden) IsSuccess() bool
IsSuccess returns true when this search users forbidden response has a 2xx status code
func (*SearchUsersForbidden) String ¶
func (o *SearchUsersForbidden) String() string
type SearchUsersInternalServerError ¶
SearchUsersInternalServerError describes a response with status code 500, with default header values.
server error
func NewSearchUsersInternalServerError ¶
func NewSearchUsersInternalServerError() *SearchUsersInternalServerError
NewSearchUsersInternalServerError creates a SearchUsersInternalServerError with default headers values
func (*SearchUsersInternalServerError) Error ¶
func (o *SearchUsersInternalServerError) Error() string
func (*SearchUsersInternalServerError) GetPayload ¶
func (o *SearchUsersInternalServerError) GetPayload() *models.HTTPError
func (*SearchUsersInternalServerError) IsClientError ¶
func (o *SearchUsersInternalServerError) IsClientError() bool
IsClientError returns true when this search users internal server error response has a 4xx status code
func (*SearchUsersInternalServerError) IsCode ¶
func (o *SearchUsersInternalServerError) IsCode(code int) bool
IsCode returns true when this search users internal server error response a status code equal to that given
func (*SearchUsersInternalServerError) IsRedirect ¶
func (o *SearchUsersInternalServerError) IsRedirect() bool
IsRedirect returns true when this search users internal server error response has a 3xx status code
func (*SearchUsersInternalServerError) IsServerError ¶
func (o *SearchUsersInternalServerError) IsServerError() bool
IsServerError returns true when this search users internal server error response has a 5xx status code
func (*SearchUsersInternalServerError) IsSuccess ¶
func (o *SearchUsersInternalServerError) IsSuccess() bool
IsSuccess returns true when this search users internal server error response has a 2xx status code
func (*SearchUsersInternalServerError) String ¶
func (o *SearchUsersInternalServerError) String() string
type SearchUsersOK ¶
type SearchUsersOK struct {
Payload *models.ResponseModelSearch
}
SearchUsersOK describes a response with status code 200, with default header values.
no error
func NewSearchUsersOK ¶
func NewSearchUsersOK() *SearchUsersOK
NewSearchUsersOK creates a SearchUsersOK with default headers values
func (*SearchUsersOK) Error ¶
func (o *SearchUsersOK) Error() string
func (*SearchUsersOK) GetPayload ¶
func (o *SearchUsersOK) GetPayload() *models.ResponseModelSearch
func (*SearchUsersOK) IsClientError ¶
func (o *SearchUsersOK) IsClientError() bool
IsClientError returns true when this search users o k response has a 4xx status code
func (*SearchUsersOK) IsCode ¶
func (o *SearchUsersOK) IsCode(code int) bool
IsCode returns true when this search users o k response a status code equal to that given
func (*SearchUsersOK) IsRedirect ¶
func (o *SearchUsersOK) IsRedirect() bool
IsRedirect returns true when this search users o k response has a 3xx status code
func (*SearchUsersOK) IsServerError ¶
func (o *SearchUsersOK) IsServerError() bool
IsServerError returns true when this search users o k response has a 5xx status code
func (*SearchUsersOK) IsSuccess ¶
func (o *SearchUsersOK) IsSuccess() bool
IsSuccess returns true when this search users o k response has a 2xx status code
func (*SearchUsersOK) String ¶
func (o *SearchUsersOK) String() string
type SearchUsersParams ¶
type SearchUsersParams struct { /* Cursor. Cursor to next batch of results */ Cursor *string /* Limit. The maximum number of results per cursor Format: int64 */ Limit *int64 /* SearchComparison. Comparison type (equal, contains, begins_with) for advanced searching */ Comparison *string /* SearchField. User field for advanced searching */ Field *string /* SearchType. Attribute type (string, number) to search on */ UnderlyingType *string /* SearchTerm. Search pattern for names of users to look up */ SearchTerm *string /* Sort. Sort results ascending (asc) or descending (desc) order by lastModified attribute on field search. Default is desc */ Sort *string /* SortedBy. SortedBy order the result by name, created or lastModified attribute on field search. Default is lastModified */ SortedBy *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchUsersParams contains all the parameters to send to the API endpoint
for the search users operation. Typically these are written to a http.Request.
func NewSearchUsersParams ¶
func NewSearchUsersParams() *SearchUsersParams
NewSearchUsersParams creates a new SearchUsersParams 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 NewSearchUsersParamsWithContext ¶
func NewSearchUsersParamsWithContext(ctx context.Context) *SearchUsersParams
NewSearchUsersParamsWithContext creates a new SearchUsersParams object with the ability to set a context for a request.
func NewSearchUsersParamsWithHTTPClient ¶
func NewSearchUsersParamsWithHTTPClient(client *http.Client) *SearchUsersParams
NewSearchUsersParamsWithHTTPClient creates a new SearchUsersParams object with the ability to set a custom HTTPClient for a request.
func NewSearchUsersParamsWithTimeout ¶
func NewSearchUsersParamsWithTimeout(timeout time.Duration) *SearchUsersParams
NewSearchUsersParamsWithTimeout creates a new SearchUsersParams object with the ability to set a timeout on a request.
func (*SearchUsersParams) SetComparison ¶
func (o *SearchUsersParams) SetComparison(searchComparison *string)
SetComparison adds the searchComparison to the search users params
func (*SearchUsersParams) SetContext ¶
func (o *SearchUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the search users params
func (*SearchUsersParams) SetCursor ¶
func (o *SearchUsersParams) SetCursor(cursor *string)
SetCursor adds the cursor to the search users params
func (*SearchUsersParams) SetDefaults ¶
func (o *SearchUsersParams) SetDefaults()
SetDefaults hydrates default values in the search users params (not the query body).
All values with no default are reset to their zero value.
func (*SearchUsersParams) SetField ¶
func (o *SearchUsersParams) SetField(searchField *string)
SetField adds the searchField to the search users params
func (*SearchUsersParams) SetHTTPClient ¶
func (o *SearchUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search users params
func (*SearchUsersParams) SetLimit ¶
func (o *SearchUsersParams) SetLimit(limit *int64)
SetLimit adds the limit to the search users params
func (*SearchUsersParams) SetSearchTerm ¶
func (o *SearchUsersParams) SetSearchTerm(searchTerm *string)
SetSearchTerm adds the searchTerm to the search users params
func (*SearchUsersParams) SetSort ¶
func (o *SearchUsersParams) SetSort(sort *string)
SetSort adds the sort to the search users params
func (*SearchUsersParams) SetSortedBy ¶
func (o *SearchUsersParams) SetSortedBy(sortedBy *string)
SetSortedBy adds the sortedBy to the search users params
func (*SearchUsersParams) SetTimeout ¶
func (o *SearchUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search users params
func (*SearchUsersParams) SetUnderlyingType ¶
func (o *SearchUsersParams) SetUnderlyingType(searchType *string)
SetUnderlyingType adds the searchType to the search users params
func (*SearchUsersParams) WithComparison ¶
func (o *SearchUsersParams) WithComparison(searchComparison *string) *SearchUsersParams
WithComparison adds the searchComparison to the search users params
func (*SearchUsersParams) WithContext ¶
func (o *SearchUsersParams) WithContext(ctx context.Context) *SearchUsersParams
WithContext adds the context to the search users params
func (*SearchUsersParams) WithCursor ¶
func (o *SearchUsersParams) WithCursor(cursor *string) *SearchUsersParams
WithCursor adds the cursor to the search users params
func (*SearchUsersParams) WithDefaults ¶
func (o *SearchUsersParams) WithDefaults() *SearchUsersParams
WithDefaults hydrates default values in the search users params (not the query body).
All values with no default are reset to their zero value.
func (*SearchUsersParams) WithField ¶
func (o *SearchUsersParams) WithField(searchField *string) *SearchUsersParams
WithField adds the searchField to the search users params
func (*SearchUsersParams) WithHTTPClient ¶
func (o *SearchUsersParams) WithHTTPClient(client *http.Client) *SearchUsersParams
WithHTTPClient adds the HTTPClient to the search users params
func (*SearchUsersParams) WithLimit ¶
func (o *SearchUsersParams) WithLimit(limit *int64) *SearchUsersParams
WithLimit adds the limit to the search users params
func (*SearchUsersParams) WithSearchTerm ¶
func (o *SearchUsersParams) WithSearchTerm(searchTerm *string) *SearchUsersParams
WithSearchTerm adds the searchTerm to the search users params
func (*SearchUsersParams) WithSort ¶
func (o *SearchUsersParams) WithSort(sort *string) *SearchUsersParams
WithSort adds the sort to the search users params
func (*SearchUsersParams) WithSortedBy ¶
func (o *SearchUsersParams) WithSortedBy(sortedBy *string) *SearchUsersParams
WithSortedBy adds the sortedBy to the search users params
func (*SearchUsersParams) WithTimeout ¶
func (o *SearchUsersParams) WithTimeout(timeout time.Duration) *SearchUsersParams
WithTimeout adds the timeout to the search users params
func (*SearchUsersParams) WithUnderlyingType ¶
func (o *SearchUsersParams) WithUnderlyingType(searchType *string) *SearchUsersParams
WithUnderlyingType adds the searchType to the search users params
func (*SearchUsersParams) WriteToRequest ¶
func (o *SearchUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchUsersReader ¶
type SearchUsersReader struct {
// contains filtered or unexported fields
}
SearchUsersReader is a Reader for the SearchUsers structure.
func (*SearchUsersReader) ReadResponse ¶
func (o *SearchUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchUsersUnauthorized ¶
type SearchUsersUnauthorized struct {
}SearchUsersUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewSearchUsersUnauthorized ¶
func NewSearchUsersUnauthorized() *SearchUsersUnauthorized
NewSearchUsersUnauthorized creates a SearchUsersUnauthorized with default headers values
func (*SearchUsersUnauthorized) Error ¶
func (o *SearchUsersUnauthorized) Error() string
func (*SearchUsersUnauthorized) GetPayload ¶
func (o *SearchUsersUnauthorized) GetPayload() *models.HTTPError
func (*SearchUsersUnauthorized) IsClientError ¶
func (o *SearchUsersUnauthorized) IsClientError() bool
IsClientError returns true when this search users unauthorized response has a 4xx status code
func (*SearchUsersUnauthorized) IsCode ¶
func (o *SearchUsersUnauthorized) IsCode(code int) bool
IsCode returns true when this search users unauthorized response a status code equal to that given
func (*SearchUsersUnauthorized) IsRedirect ¶
func (o *SearchUsersUnauthorized) IsRedirect() bool
IsRedirect returns true when this search users unauthorized response has a 3xx status code
func (*SearchUsersUnauthorized) IsServerError ¶
func (o *SearchUsersUnauthorized) IsServerError() bool
IsServerError returns true when this search users unauthorized response has a 5xx status code
func (*SearchUsersUnauthorized) IsSuccess ¶
func (o *SearchUsersUnauthorized) IsSuccess() bool
IsSuccess returns true when this search users unauthorized response has a 2xx status code
func (*SearchUsersUnauthorized) String ¶
func (o *SearchUsersUnauthorized) String() string
type UpdateUserBadRequest ¶
UpdateUserBadRequest describes a response with status code 400, with default header values.
bad request
func NewUpdateUserBadRequest ¶
func NewUpdateUserBadRequest() *UpdateUserBadRequest
NewUpdateUserBadRequest creates a UpdateUserBadRequest with default headers values
func (*UpdateUserBadRequest) Error ¶
func (o *UpdateUserBadRequest) Error() string
func (*UpdateUserBadRequest) GetPayload ¶
func (o *UpdateUserBadRequest) GetPayload() *models.HTTPError
func (*UpdateUserBadRequest) IsClientError ¶
func (o *UpdateUserBadRequest) IsClientError() bool
IsClientError returns true when this update user bad request response has a 4xx status code
func (*UpdateUserBadRequest) IsCode ¶
func (o *UpdateUserBadRequest) IsCode(code int) bool
IsCode returns true when this update user bad request response a status code equal to that given
func (*UpdateUserBadRequest) IsRedirect ¶
func (o *UpdateUserBadRequest) IsRedirect() bool
IsRedirect returns true when this update user bad request response has a 3xx status code
func (*UpdateUserBadRequest) IsServerError ¶
func (o *UpdateUserBadRequest) IsServerError() bool
IsServerError returns true when this update user bad request response has a 5xx status code
func (*UpdateUserBadRequest) IsSuccess ¶
func (o *UpdateUserBadRequest) IsSuccess() bool
IsSuccess returns true when this update user bad request response has a 2xx status code
func (*UpdateUserBadRequest) String ¶
func (o *UpdateUserBadRequest) String() string
type UpdateUserForbidden ¶
UpdateUserForbidden describes a response with status code 403, with default header values.
forbidden
func NewUpdateUserForbidden ¶
func NewUpdateUserForbidden() *UpdateUserForbidden
NewUpdateUserForbidden creates a UpdateUserForbidden with default headers values
func (*UpdateUserForbidden) Error ¶
func (o *UpdateUserForbidden) Error() string
func (*UpdateUserForbidden) GetPayload ¶
func (o *UpdateUserForbidden) GetPayload() *models.HTTPError
func (*UpdateUserForbidden) IsClientError ¶
func (o *UpdateUserForbidden) IsClientError() bool
IsClientError returns true when this update user forbidden response has a 4xx status code
func (*UpdateUserForbidden) IsCode ¶
func (o *UpdateUserForbidden) IsCode(code int) bool
IsCode returns true when this update user forbidden response a status code equal to that given
func (*UpdateUserForbidden) IsRedirect ¶
func (o *UpdateUserForbidden) IsRedirect() bool
IsRedirect returns true when this update user forbidden response has a 3xx status code
func (*UpdateUserForbidden) IsServerError ¶
func (o *UpdateUserForbidden) IsServerError() bool
IsServerError returns true when this update user forbidden response has a 5xx status code
func (*UpdateUserForbidden) IsSuccess ¶
func (o *UpdateUserForbidden) IsSuccess() bool
IsSuccess returns true when this update user forbidden response has a 2xx status code
func (*UpdateUserForbidden) String ¶
func (o *UpdateUserForbidden) String() string
type UpdateUserInternalServerError ¶
UpdateUserInternalServerError describes a response with status code 500, with default header values.
server error
func NewUpdateUserInternalServerError ¶
func NewUpdateUserInternalServerError() *UpdateUserInternalServerError
NewUpdateUserInternalServerError creates a UpdateUserInternalServerError with default headers values
func (*UpdateUserInternalServerError) Error ¶
func (o *UpdateUserInternalServerError) Error() string
func (*UpdateUserInternalServerError) GetPayload ¶
func (o *UpdateUserInternalServerError) GetPayload() *models.HTTPError
func (*UpdateUserInternalServerError) IsClientError ¶
func (o *UpdateUserInternalServerError) IsClientError() bool
IsClientError returns true when this update user internal server error response has a 4xx status code
func (*UpdateUserInternalServerError) IsCode ¶
func (o *UpdateUserInternalServerError) IsCode(code int) bool
IsCode returns true when this update user internal server error response a status code equal to that given
func (*UpdateUserInternalServerError) IsRedirect ¶
func (o *UpdateUserInternalServerError) IsRedirect() bool
IsRedirect returns true when this update user internal server error response has a 3xx status code
func (*UpdateUserInternalServerError) IsServerError ¶
func (o *UpdateUserInternalServerError) IsServerError() bool
IsServerError returns true when this update user internal server error response has a 5xx status code
func (*UpdateUserInternalServerError) IsSuccess ¶
func (o *UpdateUserInternalServerError) IsSuccess() bool
IsSuccess returns true when this update user internal server error response has a 2xx status code
func (*UpdateUserInternalServerError) String ¶
func (o *UpdateUserInternalServerError) String() string
type UpdateUserOK ¶
UpdateUserOK describes a response with status code 200, with default header values.
no error
func NewUpdateUserOK ¶
func NewUpdateUserOK() *UpdateUserOK
NewUpdateUserOK creates a UpdateUserOK with default headers values
func (*UpdateUserOK) Error ¶
func (o *UpdateUserOK) Error() string
func (*UpdateUserOK) GetPayload ¶
func (o *UpdateUserOK) GetPayload() *models.User
func (*UpdateUserOK) IsClientError ¶
func (o *UpdateUserOK) IsClientError() bool
IsClientError returns true when this update user o k response has a 4xx status code
func (*UpdateUserOK) IsCode ¶
func (o *UpdateUserOK) IsCode(code int) bool
IsCode returns true when this update user o k response a status code equal to that given
func (*UpdateUserOK) IsRedirect ¶
func (o *UpdateUserOK) IsRedirect() bool
IsRedirect returns true when this update user o k response has a 3xx status code
func (*UpdateUserOK) IsServerError ¶
func (o *UpdateUserOK) IsServerError() bool
IsServerError returns true when this update user o k response has a 5xx status code
func (*UpdateUserOK) IsSuccess ¶
func (o *UpdateUserOK) IsSuccess() bool
IsSuccess returns true when this update user o k response has a 2xx status code
func (*UpdateUserOK) String ¶
func (o *UpdateUserOK) String() string
type UpdateUserParams ¶
type UpdateUserParams struct { // Body. Body *models.UserUpdateModel /* Name. Full user name to lookup user by */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateUserParams contains all the parameters to send to the API endpoint
for the update user operation. Typically these are written to a http.Request.
func NewUpdateUserParams ¶
func NewUpdateUserParams() *UpdateUserParams
NewUpdateUserParams creates a new UpdateUserParams 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 NewUpdateUserParamsWithContext ¶
func NewUpdateUserParamsWithContext(ctx context.Context) *UpdateUserParams
NewUpdateUserParamsWithContext creates a new UpdateUserParams object with the ability to set a context for a request.
func NewUpdateUserParamsWithHTTPClient ¶
func NewUpdateUserParamsWithHTTPClient(client *http.Client) *UpdateUserParams
NewUpdateUserParamsWithHTTPClient creates a new UpdateUserParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateUserParamsWithTimeout ¶
func NewUpdateUserParamsWithTimeout(timeout time.Duration) *UpdateUserParams
NewUpdateUserParamsWithTimeout creates a new UpdateUserParams object with the ability to set a timeout on a request.
func (*UpdateUserParams) SetBody ¶
func (o *UpdateUserParams) SetBody(body *models.UserUpdateModel)
SetBody adds the body to the update user params
func (*UpdateUserParams) SetContext ¶
func (o *UpdateUserParams) SetContext(ctx context.Context)
SetContext adds the context to the update user params
func (*UpdateUserParams) SetDefaults ¶
func (o *UpdateUserParams) SetDefaults()
SetDefaults hydrates default values in the update user params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserParams) SetHTTPClient ¶
func (o *UpdateUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update user params
func (*UpdateUserParams) SetName ¶
func (o *UpdateUserParams) SetName(name string)
SetName adds the name to the update user params
func (*UpdateUserParams) SetTimeout ¶
func (o *UpdateUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update user params
func (*UpdateUserParams) WithBody ¶
func (o *UpdateUserParams) WithBody(body *models.UserUpdateModel) *UpdateUserParams
WithBody adds the body to the update user params
func (*UpdateUserParams) WithContext ¶
func (o *UpdateUserParams) WithContext(ctx context.Context) *UpdateUserParams
WithContext adds the context to the update user params
func (*UpdateUserParams) WithDefaults ¶
func (o *UpdateUserParams) WithDefaults() *UpdateUserParams
WithDefaults hydrates default values in the update user params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserParams) WithHTTPClient ¶
func (o *UpdateUserParams) WithHTTPClient(client *http.Client) *UpdateUserParams
WithHTTPClient adds the HTTPClient to the update user params
func (*UpdateUserParams) WithName ¶
func (o *UpdateUserParams) WithName(name string) *UpdateUserParams
WithName adds the name to the update user params
func (*UpdateUserParams) WithTimeout ¶
func (o *UpdateUserParams) WithTimeout(timeout time.Duration) *UpdateUserParams
WithTimeout adds the timeout to the update user params
func (*UpdateUserParams) WriteToRequest ¶
func (o *UpdateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateUserReader ¶
type UpdateUserReader struct {
// contains filtered or unexported fields
}
UpdateUserReader is a Reader for the UpdateUser structure.
func (*UpdateUserReader) ReadResponse ¶
func (o *UpdateUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateUserUnauthorized ¶
type UpdateUserUnauthorized struct {
}UpdateUserUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewUpdateUserUnauthorized ¶
func NewUpdateUserUnauthorized() *UpdateUserUnauthorized
NewUpdateUserUnauthorized creates a UpdateUserUnauthorized with default headers values
func (*UpdateUserUnauthorized) Error ¶
func (o *UpdateUserUnauthorized) Error() string
func (*UpdateUserUnauthorized) GetPayload ¶
func (o *UpdateUserUnauthorized) GetPayload() *models.HTTPError
func (*UpdateUserUnauthorized) IsClientError ¶
func (o *UpdateUserUnauthorized) IsClientError() bool
IsClientError returns true when this update user unauthorized response has a 4xx status code
func (*UpdateUserUnauthorized) IsCode ¶
func (o *UpdateUserUnauthorized) IsCode(code int) bool
IsCode returns true when this update user unauthorized response a status code equal to that given
func (*UpdateUserUnauthorized) IsRedirect ¶
func (o *UpdateUserUnauthorized) IsRedirect() bool
IsRedirect returns true when this update user unauthorized response has a 3xx status code
func (*UpdateUserUnauthorized) IsServerError ¶
func (o *UpdateUserUnauthorized) IsServerError() bool
IsServerError returns true when this update user unauthorized response has a 5xx status code
func (*UpdateUserUnauthorized) IsSuccess ¶
func (o *UpdateUserUnauthorized) IsSuccess() bool
IsSuccess returns true when this update user unauthorized response has a 2xx status code
func (*UpdateUserUnauthorized) String ¶
func (o *UpdateUserUnauthorized) String() string
Source Files
¶
- add_to_groups_parameters.go
- add_to_groups_responses.go
- change_password_parameters.go
- change_password_responses.go
- create_user_parameters.go
- create_user_responses.go
- delete_user_parameters.go
- delete_user_responses.go
- get_member_parameters.go
- get_member_responses.go
- get_user_by_version_parameters.go
- get_user_by_version_responses.go
- get_user_parameters.go
- get_user_responses.go
- restore_user_parameters.go
- restore_user_responses.go
- search_users_parameters.go
- search_users_responses.go
- update_user_parameters.go
- update_user_responses.go
- users_client.go