Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteUser(params *DeleteUserParams, opts ...ClientOption) (*DeleteUserOK, error)
- func (a *Client) GetUser(params *GetUserParams, opts ...ClientOption) (*GetUserOK, error)
- func (a *Client) PutRoles(params *PutRolesParams, opts ...ClientOption) (*PutRolesOK, error)
- func (a *Client) PutUser(params *PutUserParams, opts ...ClientOption) (*PutUserOK, error)
- func (a *Client) SearchUsers(params *SearchUsersParams, opts ...ClientOption) (*SearchUsersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteUserForbidden
- func (o *DeleteUserForbidden) Code() int
- func (o *DeleteUserForbidden) Error() string
- func (o *DeleteUserForbidden) GetPayload() *models.RestError
- func (o *DeleteUserForbidden) IsClientError() bool
- func (o *DeleteUserForbidden) IsCode(code int) bool
- func (o *DeleteUserForbidden) IsRedirect() bool
- func (o *DeleteUserForbidden) IsServerError() bool
- func (o *DeleteUserForbidden) IsSuccess() bool
- func (o *DeleteUserForbidden) String() string
- type DeleteUserInternalServerError
- func (o *DeleteUserInternalServerError) Code() int
- func (o *DeleteUserInternalServerError) Error() string
- func (o *DeleteUserInternalServerError) GetPayload() *models.RestError
- 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 DeleteUserNotFound
- func (o *DeleteUserNotFound) Code() int
- func (o *DeleteUserNotFound) Error() string
- func (o *DeleteUserNotFound) GetPayload() *models.RestError
- 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) Code() int
- func (o *DeleteUserOK) Error() string
- func (o *DeleteUserOK) GetPayload() *models.RestDeleteResponse
- 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) SetGroupLabel(groupLabel *string)
- func (o *DeleteUserParams) SetGroupPath(groupPath *string)
- func (o *DeleteUserParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUserParams) SetIsGroup(isGroup *bool)
- func (o *DeleteUserParams) SetLastConnected(lastConnected *int32)
- func (o *DeleteUserParams) SetLogin(login string)
- func (o *DeleteUserParams) SetOldPassword(oldPassword *string)
- func (o *DeleteUserParams) SetPassword(password *string)
- func (o *DeleteUserParams) SetPoliciesContextEditable(policiesContextEditable *bool)
- func (o *DeleteUserParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUserParams) SetUUID(uuid *string)
- func (o *DeleteUserParams) WithContext(ctx context.Context) *DeleteUserParams
- func (o *DeleteUserParams) WithDefaults() *DeleteUserParams
- func (o *DeleteUserParams) WithGroupLabel(groupLabel *string) *DeleteUserParams
- func (o *DeleteUserParams) WithGroupPath(groupPath *string) *DeleteUserParams
- func (o *DeleteUserParams) WithHTTPClient(client *http.Client) *DeleteUserParams
- func (o *DeleteUserParams) WithIsGroup(isGroup *bool) *DeleteUserParams
- func (o *DeleteUserParams) WithLastConnected(lastConnected *int32) *DeleteUserParams
- func (o *DeleteUserParams) WithLogin(login string) *DeleteUserParams
- func (o *DeleteUserParams) WithOldPassword(oldPassword *string) *DeleteUserParams
- func (o *DeleteUserParams) WithPassword(password *string) *DeleteUserParams
- func (o *DeleteUserParams) WithPoliciesContextEditable(policiesContextEditable *bool) *DeleteUserParams
- func (o *DeleteUserParams) WithTimeout(timeout time.Duration) *DeleteUserParams
- func (o *DeleteUserParams) WithUUID(uuid *string) *DeleteUserParams
- func (o *DeleteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUserReader
- type DeleteUserUnauthorized
- func (o *DeleteUserUnauthorized) Code() int
- func (o *DeleteUserUnauthorized) Error() string
- func (o *DeleteUserUnauthorized) IsClientError() bool
- func (o *DeleteUserUnauthorized) IsCode(code int) bool
- func (o *DeleteUserUnauthorized) IsRedirect() bool
- func (o *DeleteUserUnauthorized) IsServerError() bool
- func (o *DeleteUserUnauthorized) IsSuccess() bool
- func (o *DeleteUserUnauthorized) String() string
- type GetUserForbidden
- func (o *GetUserForbidden) Code() int
- func (o *GetUserForbidden) Error() string
- func (o *GetUserForbidden) GetPayload() *models.RestError
- func (o *GetUserForbidden) IsClientError() bool
- func (o *GetUserForbidden) IsCode(code int) bool
- func (o *GetUserForbidden) IsRedirect() bool
- func (o *GetUserForbidden) IsServerError() bool
- func (o *GetUserForbidden) IsSuccess() bool
- func (o *GetUserForbidden) String() string
- type GetUserInternalServerError
- func (o *GetUserInternalServerError) Code() int
- func (o *GetUserInternalServerError) Error() string
- func (o *GetUserInternalServerError) GetPayload() *models.RestError
- 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) Code() int
- func (o *GetUserNotFound) Error() string
- func (o *GetUserNotFound) GetPayload() *models.RestError
- 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) Code() int
- func (o *GetUserOK) Error() string
- func (o *GetUserOK) GetPayload() *models.IdmUser
- 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) SetGroupLabel(groupLabel *string)
- func (o *GetUserParams) SetGroupPath(groupPath *string)
- func (o *GetUserParams) SetHTTPClient(client *http.Client)
- func (o *GetUserParams) SetIsGroup(isGroup *bool)
- func (o *GetUserParams) SetLastConnected(lastConnected *int32)
- func (o *GetUserParams) SetLogin(login string)
- func (o *GetUserParams) SetOldPassword(oldPassword *string)
- func (o *GetUserParams) SetPassword(password *string)
- func (o *GetUserParams) SetPoliciesContextEditable(policiesContextEditable *bool)
- func (o *GetUserParams) SetTimeout(timeout time.Duration)
- func (o *GetUserParams) SetUUID(uuid *string)
- func (o *GetUserParams) WithContext(ctx context.Context) *GetUserParams
- func (o *GetUserParams) WithDefaults() *GetUserParams
- func (o *GetUserParams) WithGroupLabel(groupLabel *string) *GetUserParams
- func (o *GetUserParams) WithGroupPath(groupPath *string) *GetUserParams
- func (o *GetUserParams) WithHTTPClient(client *http.Client) *GetUserParams
- func (o *GetUserParams) WithIsGroup(isGroup *bool) *GetUserParams
- func (o *GetUserParams) WithLastConnected(lastConnected *int32) *GetUserParams
- func (o *GetUserParams) WithLogin(login string) *GetUserParams
- func (o *GetUserParams) WithOldPassword(oldPassword *string) *GetUserParams
- func (o *GetUserParams) WithPassword(password *string) *GetUserParams
- func (o *GetUserParams) WithPoliciesContextEditable(policiesContextEditable *bool) *GetUserParams
- func (o *GetUserParams) WithTimeout(timeout time.Duration) *GetUserParams
- func (o *GetUserParams) WithUUID(uuid *string) *GetUserParams
- func (o *GetUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserReader
- type GetUserUnauthorized
- func (o *GetUserUnauthorized) Code() int
- func (o *GetUserUnauthorized) Error() string
- func (o *GetUserUnauthorized) IsClientError() bool
- func (o *GetUserUnauthorized) IsCode(code int) bool
- func (o *GetUserUnauthorized) IsRedirect() bool
- func (o *GetUserUnauthorized) IsServerError() bool
- func (o *GetUserUnauthorized) IsSuccess() bool
- func (o *GetUserUnauthorized) String() string
- type PutRolesBody
- type PutRolesForbidden
- func (o *PutRolesForbidden) Code() int
- func (o *PutRolesForbidden) Error() string
- func (o *PutRolesForbidden) GetPayload() *models.RestError
- func (o *PutRolesForbidden) IsClientError() bool
- func (o *PutRolesForbidden) IsCode(code int) bool
- func (o *PutRolesForbidden) IsRedirect() bool
- func (o *PutRolesForbidden) IsServerError() bool
- func (o *PutRolesForbidden) IsSuccess() bool
- func (o *PutRolesForbidden) String() string
- type PutRolesInternalServerError
- func (o *PutRolesInternalServerError) Code() int
- func (o *PutRolesInternalServerError) Error() string
- func (o *PutRolesInternalServerError) GetPayload() *models.RestError
- func (o *PutRolesInternalServerError) IsClientError() bool
- func (o *PutRolesInternalServerError) IsCode(code int) bool
- func (o *PutRolesInternalServerError) IsRedirect() bool
- func (o *PutRolesInternalServerError) IsServerError() bool
- func (o *PutRolesInternalServerError) IsSuccess() bool
- func (o *PutRolesInternalServerError) String() string
- type PutRolesNotFound
- func (o *PutRolesNotFound) Code() int
- func (o *PutRolesNotFound) Error() string
- func (o *PutRolesNotFound) GetPayload() *models.RestError
- func (o *PutRolesNotFound) IsClientError() bool
- func (o *PutRolesNotFound) IsCode(code int) bool
- func (o *PutRolesNotFound) IsRedirect() bool
- func (o *PutRolesNotFound) IsServerError() bool
- func (o *PutRolesNotFound) IsSuccess() bool
- func (o *PutRolesNotFound) String() string
- type PutRolesOK
- func (o *PutRolesOK) Code() int
- func (o *PutRolesOK) Error() string
- func (o *PutRolesOK) GetPayload() *models.IdmUser
- func (o *PutRolesOK) IsClientError() bool
- func (o *PutRolesOK) IsCode(code int) bool
- func (o *PutRolesOK) IsRedirect() bool
- func (o *PutRolesOK) IsServerError() bool
- func (o *PutRolesOK) IsSuccess() bool
- func (o *PutRolesOK) String() string
- type PutRolesParams
- func (o *PutRolesParams) SetBody(body PutRolesBody)
- func (o *PutRolesParams) SetContext(ctx context.Context)
- func (o *PutRolesParams) SetDefaults()
- func (o *PutRolesParams) SetHTTPClient(client *http.Client)
- func (o *PutRolesParams) SetLogin(login string)
- func (o *PutRolesParams) SetTimeout(timeout time.Duration)
- func (o *PutRolesParams) WithBody(body PutRolesBody) *PutRolesParams
- func (o *PutRolesParams) WithContext(ctx context.Context) *PutRolesParams
- func (o *PutRolesParams) WithDefaults() *PutRolesParams
- func (o *PutRolesParams) WithHTTPClient(client *http.Client) *PutRolesParams
- func (o *PutRolesParams) WithLogin(login string) *PutRolesParams
- func (o *PutRolesParams) WithTimeout(timeout time.Duration) *PutRolesParams
- func (o *PutRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutRolesReader
- type PutRolesUnauthorized
- func (o *PutRolesUnauthorized) Code() int
- func (o *PutRolesUnauthorized) Error() string
- func (o *PutRolesUnauthorized) IsClientError() bool
- func (o *PutRolesUnauthorized) IsCode(code int) bool
- func (o *PutRolesUnauthorized) IsRedirect() bool
- func (o *PutRolesUnauthorized) IsServerError() bool
- func (o *PutRolesUnauthorized) IsSuccess() bool
- func (o *PutRolesUnauthorized) String() string
- type PutUserBody
- type PutUserForbidden
- func (o *PutUserForbidden) Code() int
- func (o *PutUserForbidden) Error() string
- func (o *PutUserForbidden) GetPayload() *models.RestError
- func (o *PutUserForbidden) IsClientError() bool
- func (o *PutUserForbidden) IsCode(code int) bool
- func (o *PutUserForbidden) IsRedirect() bool
- func (o *PutUserForbidden) IsServerError() bool
- func (o *PutUserForbidden) IsSuccess() bool
- func (o *PutUserForbidden) String() string
- type PutUserInternalServerError
- func (o *PutUserInternalServerError) Code() int
- func (o *PutUserInternalServerError) Error() string
- func (o *PutUserInternalServerError) GetPayload() *models.RestError
- func (o *PutUserInternalServerError) IsClientError() bool
- func (o *PutUserInternalServerError) IsCode(code int) bool
- func (o *PutUserInternalServerError) IsRedirect() bool
- func (o *PutUserInternalServerError) IsServerError() bool
- func (o *PutUserInternalServerError) IsSuccess() bool
- func (o *PutUserInternalServerError) String() string
- type PutUserNotFound
- func (o *PutUserNotFound) Code() int
- func (o *PutUserNotFound) Error() string
- func (o *PutUserNotFound) GetPayload() *models.RestError
- func (o *PutUserNotFound) IsClientError() bool
- func (o *PutUserNotFound) IsCode(code int) bool
- func (o *PutUserNotFound) IsRedirect() bool
- func (o *PutUserNotFound) IsServerError() bool
- func (o *PutUserNotFound) IsSuccess() bool
- func (o *PutUserNotFound) String() string
- type PutUserOK
- func (o *PutUserOK) Code() int
- func (o *PutUserOK) Error() string
- func (o *PutUserOK) GetPayload() *models.IdmUser
- func (o *PutUserOK) IsClientError() bool
- func (o *PutUserOK) IsCode(code int) bool
- func (o *PutUserOK) IsRedirect() bool
- func (o *PutUserOK) IsServerError() bool
- func (o *PutUserOK) IsSuccess() bool
- func (o *PutUserOK) String() string
- type PutUserParams
- func (o *PutUserParams) SetBody(body PutUserBody)
- func (o *PutUserParams) SetContext(ctx context.Context)
- func (o *PutUserParams) SetDefaults()
- func (o *PutUserParams) SetHTTPClient(client *http.Client)
- func (o *PutUserParams) SetLogin(login string)
- func (o *PutUserParams) SetTimeout(timeout time.Duration)
- func (o *PutUserParams) WithBody(body PutUserBody) *PutUserParams
- func (o *PutUserParams) WithContext(ctx context.Context) *PutUserParams
- func (o *PutUserParams) WithDefaults() *PutUserParams
- func (o *PutUserParams) WithHTTPClient(client *http.Client) *PutUserParams
- func (o *PutUserParams) WithLogin(login string) *PutUserParams
- func (o *PutUserParams) WithTimeout(timeout time.Duration) *PutUserParams
- func (o *PutUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutUserReader
- type PutUserUnauthorized
- func (o *PutUserUnauthorized) Code() int
- func (o *PutUserUnauthorized) Error() string
- func (o *PutUserUnauthorized) IsClientError() bool
- func (o *PutUserUnauthorized) IsCode(code int) bool
- func (o *PutUserUnauthorized) IsRedirect() bool
- func (o *PutUserUnauthorized) IsServerError() bool
- func (o *PutUserUnauthorized) IsSuccess() bool
- func (o *PutUserUnauthorized) String() string
- type SearchUsersForbidden
- func (o *SearchUsersForbidden) Code() int
- func (o *SearchUsersForbidden) Error() string
- func (o *SearchUsersForbidden) GetPayload() *models.RestError
- 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) Code() int
- func (o *SearchUsersInternalServerError) Error() string
- func (o *SearchUsersInternalServerError) GetPayload() *models.RestError
- 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 SearchUsersNotFound
- func (o *SearchUsersNotFound) Code() int
- func (o *SearchUsersNotFound) Error() string
- func (o *SearchUsersNotFound) GetPayload() *models.RestError
- func (o *SearchUsersNotFound) IsClientError() bool
- func (o *SearchUsersNotFound) IsCode(code int) bool
- func (o *SearchUsersNotFound) IsRedirect() bool
- func (o *SearchUsersNotFound) IsServerError() bool
- func (o *SearchUsersNotFound) IsSuccess() bool
- func (o *SearchUsersNotFound) String() string
- type SearchUsersOK
- func (o *SearchUsersOK) Code() int
- func (o *SearchUsersOK) Error() string
- func (o *SearchUsersOK) GetPayload() *models.RestUsersCollection
- 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) SetBody(body *models.RestSearchUserRequest)
- func (o *SearchUsersParams) SetContext(ctx context.Context)
- func (o *SearchUsersParams) SetDefaults()
- func (o *SearchUsersParams) SetHTTPClient(client *http.Client)
- func (o *SearchUsersParams) SetTimeout(timeout time.Duration)
- func (o *SearchUsersParams) WithBody(body *models.RestSearchUserRequest) *SearchUsersParams
- func (o *SearchUsersParams) WithContext(ctx context.Context) *SearchUsersParams
- func (o *SearchUsersParams) WithDefaults() *SearchUsersParams
- func (o *SearchUsersParams) WithHTTPClient(client *http.Client) *SearchUsersParams
- func (o *SearchUsersParams) WithTimeout(timeout time.Duration) *SearchUsersParams
- func (o *SearchUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchUsersReader
- type SearchUsersUnauthorized
- func (o *SearchUsersUnauthorized) Code() int
- func (o *SearchUsersUnauthorized) Error() string
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for user service API
func (*Client) DeleteUser ¶
func (a *Client) DeleteUser(params *DeleteUserParams, opts ...ClientOption) (*DeleteUserOK, error)
DeleteUser deletes a user
func (*Client) GetUser ¶
func (a *Client) GetUser(params *GetUserParams, opts ...ClientOption) (*GetUserOK, error)
GetUser gets a user by login
func (*Client) PutRoles ¶
func (a *Client) PutRoles(params *PutRolesParams, opts ...ClientOption) (*PutRolesOK, error)
PutRoles justs save a user roles without other datas
func (*Client) PutUser ¶
func (a *Client) PutUser(params *PutUserParams, opts ...ClientOption) (*PutUserOK, error)
PutUser creates or update a user
func (*Client) SearchUsers ¶
func (a *Client) SearchUsers(params *SearchUsersParams, opts ...ClientOption) (*SearchUsersOK, error)
SearchUsers lists search users
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeleteUser(params *DeleteUserParams, opts ...ClientOption) (*DeleteUserOK, error) GetUser(params *GetUserParams, opts ...ClientOption) (*GetUserOK, error) PutRoles(params *PutRolesParams, opts ...ClientOption) (*PutRolesOK, error) PutUser(params *PutUserParams, opts ...ClientOption) (*PutUserOK, error) SearchUsers(params *SearchUsersParams, opts ...ClientOption) (*SearchUsersOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new user service API client.
type DeleteUserForbidden ¶
DeleteUserForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewDeleteUserForbidden ¶
func NewDeleteUserForbidden() *DeleteUserForbidden
NewDeleteUserForbidden creates a DeleteUserForbidden with default headers values
func (*DeleteUserForbidden) Code ¶ added in v4.0.1
func (o *DeleteUserForbidden) Code() int
Code gets the status code for the delete user forbidden response
func (*DeleteUserForbidden) Error ¶
func (o *DeleteUserForbidden) Error() string
func (*DeleteUserForbidden) GetPayload ¶
func (o *DeleteUserForbidden) GetPayload() *models.RestError
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.
An internal error occurred in the backend
func NewDeleteUserInternalServerError ¶
func NewDeleteUserInternalServerError() *DeleteUserInternalServerError
NewDeleteUserInternalServerError creates a DeleteUserInternalServerError with default headers values
func (*DeleteUserInternalServerError) Code ¶ added in v4.0.1
func (o *DeleteUserInternalServerError) Code() int
Code gets the status code for the delete user internal server error response
func (*DeleteUserInternalServerError) Error ¶
func (o *DeleteUserInternalServerError) Error() string
func (*DeleteUserInternalServerError) GetPayload ¶
func (o *DeleteUserInternalServerError) GetPayload() *models.RestError
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 DeleteUserNotFound ¶
DeleteUserNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewDeleteUserNotFound ¶
func NewDeleteUserNotFound() *DeleteUserNotFound
NewDeleteUserNotFound creates a DeleteUserNotFound with default headers values
func (*DeleteUserNotFound) Code ¶ added in v4.0.1
func (o *DeleteUserNotFound) Code() int
Code gets the status code for the delete user not found response
func (*DeleteUserNotFound) Error ¶
func (o *DeleteUserNotFound) Error() string
func (*DeleteUserNotFound) GetPayload ¶
func (o *DeleteUserNotFound) GetPayload() *models.RestError
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.RestDeleteResponse
}
DeleteUserOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteUserOK ¶
func NewDeleteUserOK() *DeleteUserOK
NewDeleteUserOK creates a DeleteUserOK with default headers values
func (*DeleteUserOK) Code ¶ added in v4.0.1
func (o *DeleteUserOK) Code() int
Code gets the status code for the delete user o k response
func (*DeleteUserOK) Error ¶
func (o *DeleteUserOK) Error() string
func (*DeleteUserOK) GetPayload ¶
func (o *DeleteUserOK) GetPayload() *models.RestDeleteResponse
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 { /* GroupLabel. Label of the group, field is empty for users */ GroupLabel *string /* GroupPath. Path to the parent group */ GroupPath *string /* IsGroup. Whether this object is a group or a user */ IsGroup *bool /* LastConnected. Last successful connection timestamp Format: int32 */ LastConnected *int32 /* Login. User login is used to connect, field is empty for groups */ Login string /* OldPassword. OldPassword must be set when a user updates her own password */ OldPassword *string /* Password. Password can be passed to be updated (but never read back), field is empty for groups */ Password *string /* PoliciesContextEditable. Context-resolved to quickly check if user is editable or not. */ PoliciesContextEditable *bool /* UUID. User unique identifier */ UUID *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) SetGroupLabel ¶
func (o *DeleteUserParams) SetGroupLabel(groupLabel *string)
SetGroupLabel adds the groupLabel to the delete user params
func (*DeleteUserParams) SetGroupPath ¶
func (o *DeleteUserParams) SetGroupPath(groupPath *string)
SetGroupPath adds the groupPath 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) SetIsGroup ¶
func (o *DeleteUserParams) SetIsGroup(isGroup *bool)
SetIsGroup adds the isGroup to the delete user params
func (*DeleteUserParams) SetLastConnected ¶
func (o *DeleteUserParams) SetLastConnected(lastConnected *int32)
SetLastConnected adds the lastConnected to the delete user params
func (*DeleteUserParams) SetLogin ¶
func (o *DeleteUserParams) SetLogin(login string)
SetLogin adds the login to the delete user params
func (*DeleteUserParams) SetOldPassword ¶
func (o *DeleteUserParams) SetOldPassword(oldPassword *string)
SetOldPassword adds the oldPassword to the delete user params
func (*DeleteUserParams) SetPassword ¶
func (o *DeleteUserParams) SetPassword(password *string)
SetPassword adds the password to the delete user params
func (*DeleteUserParams) SetPoliciesContextEditable ¶
func (o *DeleteUserParams) SetPoliciesContextEditable(policiesContextEditable *bool)
SetPoliciesContextEditable adds the policiesContextEditable 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) SetUUID ¶
func (o *DeleteUserParams) SetUUID(uuid *string)
SetUUID adds the uuid 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) WithGroupLabel ¶
func (o *DeleteUserParams) WithGroupLabel(groupLabel *string) *DeleteUserParams
WithGroupLabel adds the groupLabel to the delete user params
func (*DeleteUserParams) WithGroupPath ¶
func (o *DeleteUserParams) WithGroupPath(groupPath *string) *DeleteUserParams
WithGroupPath adds the groupPath 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) WithIsGroup ¶
func (o *DeleteUserParams) WithIsGroup(isGroup *bool) *DeleteUserParams
WithIsGroup adds the isGroup to the delete user params
func (*DeleteUserParams) WithLastConnected ¶
func (o *DeleteUserParams) WithLastConnected(lastConnected *int32) *DeleteUserParams
WithLastConnected adds the lastConnected to the delete user params
func (*DeleteUserParams) WithLogin ¶
func (o *DeleteUserParams) WithLogin(login string) *DeleteUserParams
WithLogin adds the login to the delete user params
func (*DeleteUserParams) WithOldPassword ¶
func (o *DeleteUserParams) WithOldPassword(oldPassword *string) *DeleteUserParams
WithOldPassword adds the oldPassword to the delete user params
func (*DeleteUserParams) WithPassword ¶
func (o *DeleteUserParams) WithPassword(password *string) *DeleteUserParams
WithPassword adds the password to the delete user params
func (*DeleteUserParams) WithPoliciesContextEditable ¶
func (o *DeleteUserParams) WithPoliciesContextEditable(policiesContextEditable *bool) *DeleteUserParams
WithPoliciesContextEditable adds the policiesContextEditable 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) WithUUID ¶
func (o *DeleteUserParams) WithUUID(uuid *string) *DeleteUserParams
WithUUID adds the uuid 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.
User is not authenticated
func NewDeleteUserUnauthorized ¶
func NewDeleteUserUnauthorized() *DeleteUserUnauthorized
NewDeleteUserUnauthorized creates a DeleteUserUnauthorized with default headers values
func (*DeleteUserUnauthorized) Code ¶ added in v4.0.1
func (o *DeleteUserUnauthorized) Code() int
Code gets the status code for the delete user unauthorized response
func (*DeleteUserUnauthorized) Error ¶
func (o *DeleteUserUnauthorized) Error() string
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 GetUserForbidden ¶
GetUserForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewGetUserForbidden ¶
func NewGetUserForbidden() *GetUserForbidden
NewGetUserForbidden creates a GetUserForbidden with default headers values
func (*GetUserForbidden) Code ¶ added in v4.0.1
func (o *GetUserForbidden) Code() int
Code gets the status code for the get user forbidden response
func (*GetUserForbidden) Error ¶
func (o *GetUserForbidden) Error() string
func (*GetUserForbidden) GetPayload ¶
func (o *GetUserForbidden) GetPayload() *models.RestError
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.
An internal error occurred in the backend
func NewGetUserInternalServerError ¶
func NewGetUserInternalServerError() *GetUserInternalServerError
NewGetUserInternalServerError creates a GetUserInternalServerError with default headers values
func (*GetUserInternalServerError) Code ¶ added in v4.0.1
func (o *GetUserInternalServerError) Code() int
Code gets the status code for the get user internal server error response
func (*GetUserInternalServerError) Error ¶
func (o *GetUserInternalServerError) Error() string
func (*GetUserInternalServerError) GetPayload ¶
func (o *GetUserInternalServerError) GetPayload() *models.RestError
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.
Resource does not exist in the system
func NewGetUserNotFound ¶
func NewGetUserNotFound() *GetUserNotFound
NewGetUserNotFound creates a GetUserNotFound with default headers values
func (*GetUserNotFound) Code ¶ added in v4.0.1
func (o *GetUserNotFound) Code() int
Code gets the status code for the get user not found response
func (*GetUserNotFound) Error ¶
func (o *GetUserNotFound) Error() string
func (*GetUserNotFound) GetPayload ¶
func (o *GetUserNotFound) GetPayload() *models.RestError
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.
A successful response.
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 { /* GroupLabel. Label of the group, field is empty for users */ GroupLabel *string /* GroupPath. Path to the parent group */ GroupPath *string /* IsGroup. Whether this object is a group or a user */ IsGroup *bool /* LastConnected. Last successful connection timestamp Format: int32 */ LastConnected *int32 /* Login. User login is used to connect, field is empty for groups */ Login string /* OldPassword. OldPassword must be set when a user updates her own password */ OldPassword *string /* Password. Password can be passed to be updated (but never read back), field is empty for groups */ Password *string /* PoliciesContextEditable. Context-resolved to quickly check if user is editable or not. */ PoliciesContextEditable *bool /* UUID. User unique identifier */ UUID *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) SetGroupLabel ¶
func (o *GetUserParams) SetGroupLabel(groupLabel *string)
SetGroupLabel adds the groupLabel to the get user params
func (*GetUserParams) SetGroupPath ¶
func (o *GetUserParams) SetGroupPath(groupPath *string)
SetGroupPath adds the groupPath to the get user params
func (*GetUserParams) SetHTTPClient ¶
func (o *GetUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user params
func (*GetUserParams) SetIsGroup ¶
func (o *GetUserParams) SetIsGroup(isGroup *bool)
SetIsGroup adds the isGroup to the get user params
func (*GetUserParams) SetLastConnected ¶
func (o *GetUserParams) SetLastConnected(lastConnected *int32)
SetLastConnected adds the lastConnected to the get user params
func (*GetUserParams) SetLogin ¶
func (o *GetUserParams) SetLogin(login string)
SetLogin adds the login to the get user params
func (*GetUserParams) SetOldPassword ¶
func (o *GetUserParams) SetOldPassword(oldPassword *string)
SetOldPassword adds the oldPassword to the get user params
func (*GetUserParams) SetPassword ¶
func (o *GetUserParams) SetPassword(password *string)
SetPassword adds the password to the get user params
func (*GetUserParams) SetPoliciesContextEditable ¶
func (o *GetUserParams) SetPoliciesContextEditable(policiesContextEditable *bool)
SetPoliciesContextEditable adds the policiesContextEditable 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) SetUUID ¶
func (o *GetUserParams) SetUUID(uuid *string)
SetUUID adds the uuid 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) WithGroupLabel ¶
func (o *GetUserParams) WithGroupLabel(groupLabel *string) *GetUserParams
WithGroupLabel adds the groupLabel to the get user params
func (*GetUserParams) WithGroupPath ¶
func (o *GetUserParams) WithGroupPath(groupPath *string) *GetUserParams
WithGroupPath adds the groupPath to the get user params
func (*GetUserParams) WithHTTPClient ¶
func (o *GetUserParams) WithHTTPClient(client *http.Client) *GetUserParams
WithHTTPClient adds the HTTPClient to the get user params
func (*GetUserParams) WithIsGroup ¶
func (o *GetUserParams) WithIsGroup(isGroup *bool) *GetUserParams
WithIsGroup adds the isGroup to the get user params
func (*GetUserParams) WithLastConnected ¶
func (o *GetUserParams) WithLastConnected(lastConnected *int32) *GetUserParams
WithLastConnected adds the lastConnected to the get user params
func (*GetUserParams) WithLogin ¶
func (o *GetUserParams) WithLogin(login string) *GetUserParams
WithLogin adds the login to the get user params
func (*GetUserParams) WithOldPassword ¶
func (o *GetUserParams) WithOldPassword(oldPassword *string) *GetUserParams
WithOldPassword adds the oldPassword to the get user params
func (*GetUserParams) WithPassword ¶
func (o *GetUserParams) WithPassword(password *string) *GetUserParams
WithPassword adds the password to the get user params
func (*GetUserParams) WithPoliciesContextEditable ¶
func (o *GetUserParams) WithPoliciesContextEditable(policiesContextEditable *bool) *GetUserParams
WithPoliciesContextEditable adds the policiesContextEditable 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) WithUUID ¶
func (o *GetUserParams) WithUUID(uuid *string) *GetUserParams
WithUUID adds the uuid 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.
User is not authenticated
func NewGetUserUnauthorized ¶
func NewGetUserUnauthorized() *GetUserUnauthorized
NewGetUserUnauthorized creates a GetUserUnauthorized with default headers values
func (*GetUserUnauthorized) Code ¶ added in v4.0.1
func (o *GetUserUnauthorized) Code() int
Code gets the status code for the get user unauthorized response
func (*GetUserUnauthorized) Error ¶
func (o *GetUserUnauthorized) Error() string
func (*GetUserUnauthorized) IsClientError ¶
func (o *GetUserUnauthorized) IsClientError() bool
IsClientError returns true when this get user unauthorized response has a 4xx status code
func (*GetUserUnauthorized) IsCode ¶
func (o *GetUserUnauthorized) IsCode(code int) bool
IsCode returns true when this get user unauthorized response a status code equal to that given
func (*GetUserUnauthorized) IsRedirect ¶
func (o *GetUserUnauthorized) IsRedirect() bool
IsRedirect returns true when this get user unauthorized response has a 3xx status code
func (*GetUserUnauthorized) IsServerError ¶
func (o *GetUserUnauthorized) IsServerError() bool
IsServerError returns true when this get user unauthorized response has a 5xx status code
func (*GetUserUnauthorized) IsSuccess ¶
func (o *GetUserUnauthorized) IsSuccess() bool
IsSuccess returns true when this get user unauthorized response has a 2xx status code
func (*GetUserUnauthorized) String ¶
func (o *GetUserUnauthorized) String() string
type PutRolesBody ¶
type PutRolesBody struct { // A free list of attributes Attributes map[string]string `json:"Attributes,omitempty"` // Label of the group, field is empty for users GroupLabel string `json:"GroupLabel,omitempty"` // Path to the parent group GroupPath string `json:"GroupPath,omitempty"` // Whether this object is a group or a user IsGroup bool `json:"IsGroup,omitempty"` // Last successful connection timestamp LastConnected int32 `json:"LastConnected,omitempty"` // OldPassword must be set when a user updates her own password OldPassword string `json:"OldPassword,omitempty"` // Password can be passed to be updated (but never read back), field is empty for groups Password string `json:"Password,omitempty"` // Policies securing access to this user Policies []*models.ServiceResourcePolicy `json:"Policies"` // Context-resolved to quickly check if user is editable or not. PoliciesContextEditable bool `json:"PoliciesContextEditable,omitempty"` // List of roles applied to this user or group Roles []*models.IdmRole `json:"Roles"` // User unique identifier UUID string `json:"Uuid,omitempty"` }
PutRolesBody User can represent either a User or a Group swagger:model PutRolesBody
func (*PutRolesBody) ContextValidate ¶
ContextValidate validate this put roles body based on the context it is used
func (*PutRolesBody) MarshalBinary ¶
func (o *PutRolesBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PutRolesBody) UnmarshalBinary ¶
func (o *PutRolesBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PutRolesForbidden ¶
PutRolesForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewPutRolesForbidden ¶
func NewPutRolesForbidden() *PutRolesForbidden
NewPutRolesForbidden creates a PutRolesForbidden with default headers values
func (*PutRolesForbidden) Code ¶ added in v4.0.1
func (o *PutRolesForbidden) Code() int
Code gets the status code for the put roles forbidden response
func (*PutRolesForbidden) Error ¶
func (o *PutRolesForbidden) Error() string
func (*PutRolesForbidden) GetPayload ¶
func (o *PutRolesForbidden) GetPayload() *models.RestError
func (*PutRolesForbidden) IsClientError ¶
func (o *PutRolesForbidden) IsClientError() bool
IsClientError returns true when this put roles forbidden response has a 4xx status code
func (*PutRolesForbidden) IsCode ¶
func (o *PutRolesForbidden) IsCode(code int) bool
IsCode returns true when this put roles forbidden response a status code equal to that given
func (*PutRolesForbidden) IsRedirect ¶
func (o *PutRolesForbidden) IsRedirect() bool
IsRedirect returns true when this put roles forbidden response has a 3xx status code
func (*PutRolesForbidden) IsServerError ¶
func (o *PutRolesForbidden) IsServerError() bool
IsServerError returns true when this put roles forbidden response has a 5xx status code
func (*PutRolesForbidden) IsSuccess ¶
func (o *PutRolesForbidden) IsSuccess() bool
IsSuccess returns true when this put roles forbidden response has a 2xx status code
func (*PutRolesForbidden) String ¶
func (o *PutRolesForbidden) String() string
type PutRolesInternalServerError ¶
PutRolesInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewPutRolesInternalServerError ¶
func NewPutRolesInternalServerError() *PutRolesInternalServerError
NewPutRolesInternalServerError creates a PutRolesInternalServerError with default headers values
func (*PutRolesInternalServerError) Code ¶ added in v4.0.1
func (o *PutRolesInternalServerError) Code() int
Code gets the status code for the put roles internal server error response
func (*PutRolesInternalServerError) Error ¶
func (o *PutRolesInternalServerError) Error() string
func (*PutRolesInternalServerError) GetPayload ¶
func (o *PutRolesInternalServerError) GetPayload() *models.RestError
func (*PutRolesInternalServerError) IsClientError ¶
func (o *PutRolesInternalServerError) IsClientError() bool
IsClientError returns true when this put roles internal server error response has a 4xx status code
func (*PutRolesInternalServerError) IsCode ¶
func (o *PutRolesInternalServerError) IsCode(code int) bool
IsCode returns true when this put roles internal server error response a status code equal to that given
func (*PutRolesInternalServerError) IsRedirect ¶
func (o *PutRolesInternalServerError) IsRedirect() bool
IsRedirect returns true when this put roles internal server error response has a 3xx status code
func (*PutRolesInternalServerError) IsServerError ¶
func (o *PutRolesInternalServerError) IsServerError() bool
IsServerError returns true when this put roles internal server error response has a 5xx status code
func (*PutRolesInternalServerError) IsSuccess ¶
func (o *PutRolesInternalServerError) IsSuccess() bool
IsSuccess returns true when this put roles internal server error response has a 2xx status code
func (*PutRolesInternalServerError) String ¶
func (o *PutRolesInternalServerError) String() string
type PutRolesNotFound ¶
PutRolesNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewPutRolesNotFound ¶
func NewPutRolesNotFound() *PutRolesNotFound
NewPutRolesNotFound creates a PutRolesNotFound with default headers values
func (*PutRolesNotFound) Code ¶ added in v4.0.1
func (o *PutRolesNotFound) Code() int
Code gets the status code for the put roles not found response
func (*PutRolesNotFound) Error ¶
func (o *PutRolesNotFound) Error() string
func (*PutRolesNotFound) GetPayload ¶
func (o *PutRolesNotFound) GetPayload() *models.RestError
func (*PutRolesNotFound) IsClientError ¶
func (o *PutRolesNotFound) IsClientError() bool
IsClientError returns true when this put roles not found response has a 4xx status code
func (*PutRolesNotFound) IsCode ¶
func (o *PutRolesNotFound) IsCode(code int) bool
IsCode returns true when this put roles not found response a status code equal to that given
func (*PutRolesNotFound) IsRedirect ¶
func (o *PutRolesNotFound) IsRedirect() bool
IsRedirect returns true when this put roles not found response has a 3xx status code
func (*PutRolesNotFound) IsServerError ¶
func (o *PutRolesNotFound) IsServerError() bool
IsServerError returns true when this put roles not found response has a 5xx status code
func (*PutRolesNotFound) IsSuccess ¶
func (o *PutRolesNotFound) IsSuccess() bool
IsSuccess returns true when this put roles not found response has a 2xx status code
func (*PutRolesNotFound) String ¶
func (o *PutRolesNotFound) String() string
type PutRolesOK ¶
PutRolesOK describes a response with status code 200, with default header values.
A successful response.
func NewPutRolesOK ¶
func NewPutRolesOK() *PutRolesOK
NewPutRolesOK creates a PutRolesOK with default headers values
func (*PutRolesOK) Code ¶ added in v4.0.1
func (o *PutRolesOK) Code() int
Code gets the status code for the put roles o k response
func (*PutRolesOK) Error ¶
func (o *PutRolesOK) Error() string
func (*PutRolesOK) GetPayload ¶
func (o *PutRolesOK) GetPayload() *models.IdmUser
func (*PutRolesOK) IsClientError ¶
func (o *PutRolesOK) IsClientError() bool
IsClientError returns true when this put roles o k response has a 4xx status code
func (*PutRolesOK) IsCode ¶
func (o *PutRolesOK) IsCode(code int) bool
IsCode returns true when this put roles o k response a status code equal to that given
func (*PutRolesOK) IsRedirect ¶
func (o *PutRolesOK) IsRedirect() bool
IsRedirect returns true when this put roles o k response has a 3xx status code
func (*PutRolesOK) IsServerError ¶
func (o *PutRolesOK) IsServerError() bool
IsServerError returns true when this put roles o k response has a 5xx status code
func (*PutRolesOK) IsSuccess ¶
func (o *PutRolesOK) IsSuccess() bool
IsSuccess returns true when this put roles o k response has a 2xx status code
func (*PutRolesOK) String ¶
func (o *PutRolesOK) String() string
type PutRolesParams ¶
type PutRolesParams struct { /* Login. User login is used to connect, field is empty for groups */ Login string // Body. Body PutRolesBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutRolesParams contains all the parameters to send to the API endpoint
for the put roles operation. Typically these are written to a http.Request.
func NewPutRolesParams ¶
func NewPutRolesParams() *PutRolesParams
NewPutRolesParams creates a new PutRolesParams 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 NewPutRolesParamsWithContext ¶
func NewPutRolesParamsWithContext(ctx context.Context) *PutRolesParams
NewPutRolesParamsWithContext creates a new PutRolesParams object with the ability to set a context for a request.
func NewPutRolesParamsWithHTTPClient ¶
func NewPutRolesParamsWithHTTPClient(client *http.Client) *PutRolesParams
NewPutRolesParamsWithHTTPClient creates a new PutRolesParams object with the ability to set a custom HTTPClient for a request.
func NewPutRolesParamsWithTimeout ¶
func NewPutRolesParamsWithTimeout(timeout time.Duration) *PutRolesParams
NewPutRolesParamsWithTimeout creates a new PutRolesParams object with the ability to set a timeout on a request.
func (*PutRolesParams) SetBody ¶
func (o *PutRolesParams) SetBody(body PutRolesBody)
SetBody adds the body to the put roles params
func (*PutRolesParams) SetContext ¶
func (o *PutRolesParams) SetContext(ctx context.Context)
SetContext adds the context to the put roles params
func (*PutRolesParams) SetDefaults ¶
func (o *PutRolesParams) SetDefaults()
SetDefaults hydrates default values in the put roles params (not the query body).
All values with no default are reset to their zero value.
func (*PutRolesParams) SetHTTPClient ¶
func (o *PutRolesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put roles params
func (*PutRolesParams) SetLogin ¶
func (o *PutRolesParams) SetLogin(login string)
SetLogin adds the login to the put roles params
func (*PutRolesParams) SetTimeout ¶
func (o *PutRolesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put roles params
func (*PutRolesParams) WithBody ¶
func (o *PutRolesParams) WithBody(body PutRolesBody) *PutRolesParams
WithBody adds the body to the put roles params
func (*PutRolesParams) WithContext ¶
func (o *PutRolesParams) WithContext(ctx context.Context) *PutRolesParams
WithContext adds the context to the put roles params
func (*PutRolesParams) WithDefaults ¶
func (o *PutRolesParams) WithDefaults() *PutRolesParams
WithDefaults hydrates default values in the put roles params (not the query body).
All values with no default are reset to their zero value.
func (*PutRolesParams) WithHTTPClient ¶
func (o *PutRolesParams) WithHTTPClient(client *http.Client) *PutRolesParams
WithHTTPClient adds the HTTPClient to the put roles params
func (*PutRolesParams) WithLogin ¶
func (o *PutRolesParams) WithLogin(login string) *PutRolesParams
WithLogin adds the login to the put roles params
func (*PutRolesParams) WithTimeout ¶
func (o *PutRolesParams) WithTimeout(timeout time.Duration) *PutRolesParams
WithTimeout adds the timeout to the put roles params
func (*PutRolesParams) WriteToRequest ¶
func (o *PutRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutRolesReader ¶
type PutRolesReader struct {
// contains filtered or unexported fields
}
PutRolesReader is a Reader for the PutRoles structure.
func (*PutRolesReader) ReadResponse ¶
func (o *PutRolesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutRolesUnauthorized ¶
type PutRolesUnauthorized struct { }
PutRolesUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewPutRolesUnauthorized ¶
func NewPutRolesUnauthorized() *PutRolesUnauthorized
NewPutRolesUnauthorized creates a PutRolesUnauthorized with default headers values
func (*PutRolesUnauthorized) Code ¶ added in v4.0.1
func (o *PutRolesUnauthorized) Code() int
Code gets the status code for the put roles unauthorized response
func (*PutRolesUnauthorized) Error ¶
func (o *PutRolesUnauthorized) Error() string
func (*PutRolesUnauthorized) IsClientError ¶
func (o *PutRolesUnauthorized) IsClientError() bool
IsClientError returns true when this put roles unauthorized response has a 4xx status code
func (*PutRolesUnauthorized) IsCode ¶
func (o *PutRolesUnauthorized) IsCode(code int) bool
IsCode returns true when this put roles unauthorized response a status code equal to that given
func (*PutRolesUnauthorized) IsRedirect ¶
func (o *PutRolesUnauthorized) IsRedirect() bool
IsRedirect returns true when this put roles unauthorized response has a 3xx status code
func (*PutRolesUnauthorized) IsServerError ¶
func (o *PutRolesUnauthorized) IsServerError() bool
IsServerError returns true when this put roles unauthorized response has a 5xx status code
func (*PutRolesUnauthorized) IsSuccess ¶
func (o *PutRolesUnauthorized) IsSuccess() bool
IsSuccess returns true when this put roles unauthorized response has a 2xx status code
func (*PutRolesUnauthorized) String ¶
func (o *PutRolesUnauthorized) String() string
type PutUserBody ¶
type PutUserBody struct { // A free list of attributes Attributes map[string]string `json:"Attributes,omitempty"` // Label of the group, field is empty for users GroupLabel string `json:"GroupLabel,omitempty"` // Path to the parent group GroupPath string `json:"GroupPath,omitempty"` // Whether this object is a group or a user IsGroup bool `json:"IsGroup,omitempty"` // Last successful connection timestamp LastConnected int32 `json:"LastConnected,omitempty"` // OldPassword must be set when a user updates her own password OldPassword string `json:"OldPassword,omitempty"` // Password can be passed to be updated (but never read back), field is empty for groups Password string `json:"Password,omitempty"` // Policies securing access to this user Policies []*models.ServiceResourcePolicy `json:"Policies"` // Context-resolved to quickly check if user is editable or not. PoliciesContextEditable bool `json:"PoliciesContextEditable,omitempty"` // List of roles applied to this user or group Roles []*models.IdmRole `json:"Roles"` // User unique identifier UUID string `json:"Uuid,omitempty"` }
PutUserBody User can represent either a User or a Group swagger:model PutUserBody
func (*PutUserBody) ContextValidate ¶
ContextValidate validate this put user body based on the context it is used
func (*PutUserBody) MarshalBinary ¶
func (o *PutUserBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PutUserBody) UnmarshalBinary ¶
func (o *PutUserBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PutUserForbidden ¶
PutUserForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewPutUserForbidden ¶
func NewPutUserForbidden() *PutUserForbidden
NewPutUserForbidden creates a PutUserForbidden with default headers values
func (*PutUserForbidden) Code ¶ added in v4.0.1
func (o *PutUserForbidden) Code() int
Code gets the status code for the put user forbidden response
func (*PutUserForbidden) Error ¶
func (o *PutUserForbidden) Error() string
func (*PutUserForbidden) GetPayload ¶
func (o *PutUserForbidden) GetPayload() *models.RestError
func (*PutUserForbidden) IsClientError ¶
func (o *PutUserForbidden) IsClientError() bool
IsClientError returns true when this put user forbidden response has a 4xx status code
func (*PutUserForbidden) IsCode ¶
func (o *PutUserForbidden) IsCode(code int) bool
IsCode returns true when this put user forbidden response a status code equal to that given
func (*PutUserForbidden) IsRedirect ¶
func (o *PutUserForbidden) IsRedirect() bool
IsRedirect returns true when this put user forbidden response has a 3xx status code
func (*PutUserForbidden) IsServerError ¶
func (o *PutUserForbidden) IsServerError() bool
IsServerError returns true when this put user forbidden response has a 5xx status code
func (*PutUserForbidden) IsSuccess ¶
func (o *PutUserForbidden) IsSuccess() bool
IsSuccess returns true when this put user forbidden response has a 2xx status code
func (*PutUserForbidden) String ¶
func (o *PutUserForbidden) String() string
type PutUserInternalServerError ¶
PutUserInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewPutUserInternalServerError ¶
func NewPutUserInternalServerError() *PutUserInternalServerError
NewPutUserInternalServerError creates a PutUserInternalServerError with default headers values
func (*PutUserInternalServerError) Code ¶ added in v4.0.1
func (o *PutUserInternalServerError) Code() int
Code gets the status code for the put user internal server error response
func (*PutUserInternalServerError) Error ¶
func (o *PutUserInternalServerError) Error() string
func (*PutUserInternalServerError) GetPayload ¶
func (o *PutUserInternalServerError) GetPayload() *models.RestError
func (*PutUserInternalServerError) IsClientError ¶
func (o *PutUserInternalServerError) IsClientError() bool
IsClientError returns true when this put user internal server error response has a 4xx status code
func (*PutUserInternalServerError) IsCode ¶
func (o *PutUserInternalServerError) IsCode(code int) bool
IsCode returns true when this put user internal server error response a status code equal to that given
func (*PutUserInternalServerError) IsRedirect ¶
func (o *PutUserInternalServerError) IsRedirect() bool
IsRedirect returns true when this put user internal server error response has a 3xx status code
func (*PutUserInternalServerError) IsServerError ¶
func (o *PutUserInternalServerError) IsServerError() bool
IsServerError returns true when this put user internal server error response has a 5xx status code
func (*PutUserInternalServerError) IsSuccess ¶
func (o *PutUserInternalServerError) IsSuccess() bool
IsSuccess returns true when this put user internal server error response has a 2xx status code
func (*PutUserInternalServerError) String ¶
func (o *PutUserInternalServerError) String() string
type PutUserNotFound ¶
PutUserNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewPutUserNotFound ¶
func NewPutUserNotFound() *PutUserNotFound
NewPutUserNotFound creates a PutUserNotFound with default headers values
func (*PutUserNotFound) Code ¶ added in v4.0.1
func (o *PutUserNotFound) Code() int
Code gets the status code for the put user not found response
func (*PutUserNotFound) Error ¶
func (o *PutUserNotFound) Error() string
func (*PutUserNotFound) GetPayload ¶
func (o *PutUserNotFound) GetPayload() *models.RestError
func (*PutUserNotFound) IsClientError ¶
func (o *PutUserNotFound) IsClientError() bool
IsClientError returns true when this put user not found response has a 4xx status code
func (*PutUserNotFound) IsCode ¶
func (o *PutUserNotFound) IsCode(code int) bool
IsCode returns true when this put user not found response a status code equal to that given
func (*PutUserNotFound) IsRedirect ¶
func (o *PutUserNotFound) IsRedirect() bool
IsRedirect returns true when this put user not found response has a 3xx status code
func (*PutUserNotFound) IsServerError ¶
func (o *PutUserNotFound) IsServerError() bool
IsServerError returns true when this put user not found response has a 5xx status code
func (*PutUserNotFound) IsSuccess ¶
func (o *PutUserNotFound) IsSuccess() bool
IsSuccess returns true when this put user not found response has a 2xx status code
func (*PutUserNotFound) String ¶
func (o *PutUserNotFound) String() string
type PutUserOK ¶
PutUserOK describes a response with status code 200, with default header values.
A successful response.
func NewPutUserOK ¶
func NewPutUserOK() *PutUserOK
NewPutUserOK creates a PutUserOK with default headers values
func (*PutUserOK) GetPayload ¶
func (*PutUserOK) IsClientError ¶
IsClientError returns true when this put user o k response has a 4xx status code
func (*PutUserOK) IsCode ¶
IsCode returns true when this put user o k response a status code equal to that given
func (*PutUserOK) IsRedirect ¶
IsRedirect returns true when this put user o k response has a 3xx status code
func (*PutUserOK) IsServerError ¶
IsServerError returns true when this put user o k response has a 5xx status code
type PutUserParams ¶
type PutUserParams struct { /* Login. User login is used to connect, field is empty for groups */ Login string // Body. Body PutUserBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutUserParams contains all the parameters to send to the API endpoint
for the put user operation. Typically these are written to a http.Request.
func NewPutUserParams ¶
func NewPutUserParams() *PutUserParams
NewPutUserParams creates a new PutUserParams 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 NewPutUserParamsWithContext ¶
func NewPutUserParamsWithContext(ctx context.Context) *PutUserParams
NewPutUserParamsWithContext creates a new PutUserParams object with the ability to set a context for a request.
func NewPutUserParamsWithHTTPClient ¶
func NewPutUserParamsWithHTTPClient(client *http.Client) *PutUserParams
NewPutUserParamsWithHTTPClient creates a new PutUserParams object with the ability to set a custom HTTPClient for a request.
func NewPutUserParamsWithTimeout ¶
func NewPutUserParamsWithTimeout(timeout time.Duration) *PutUserParams
NewPutUserParamsWithTimeout creates a new PutUserParams object with the ability to set a timeout on a request.
func (*PutUserParams) SetBody ¶
func (o *PutUserParams) SetBody(body PutUserBody)
SetBody adds the body to the put user params
func (*PutUserParams) SetContext ¶
func (o *PutUserParams) SetContext(ctx context.Context)
SetContext adds the context to the put user params
func (*PutUserParams) SetDefaults ¶
func (o *PutUserParams) SetDefaults()
SetDefaults hydrates default values in the put user params (not the query body).
All values with no default are reset to their zero value.
func (*PutUserParams) SetHTTPClient ¶
func (o *PutUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put user params
func (*PutUserParams) SetLogin ¶
func (o *PutUserParams) SetLogin(login string)
SetLogin adds the login to the put user params
func (*PutUserParams) SetTimeout ¶
func (o *PutUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put user params
func (*PutUserParams) WithBody ¶
func (o *PutUserParams) WithBody(body PutUserBody) *PutUserParams
WithBody adds the body to the put user params
func (*PutUserParams) WithContext ¶
func (o *PutUserParams) WithContext(ctx context.Context) *PutUserParams
WithContext adds the context to the put user params
func (*PutUserParams) WithDefaults ¶
func (o *PutUserParams) WithDefaults() *PutUserParams
WithDefaults hydrates default values in the put user params (not the query body).
All values with no default are reset to their zero value.
func (*PutUserParams) WithHTTPClient ¶
func (o *PutUserParams) WithHTTPClient(client *http.Client) *PutUserParams
WithHTTPClient adds the HTTPClient to the put user params
func (*PutUserParams) WithLogin ¶
func (o *PutUserParams) WithLogin(login string) *PutUserParams
WithLogin adds the login to the put user params
func (*PutUserParams) WithTimeout ¶
func (o *PutUserParams) WithTimeout(timeout time.Duration) *PutUserParams
WithTimeout adds the timeout to the put user params
func (*PutUserParams) WriteToRequest ¶
func (o *PutUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutUserReader ¶
type PutUserReader struct {
// contains filtered or unexported fields
}
PutUserReader is a Reader for the PutUser structure.
func (*PutUserReader) ReadResponse ¶
func (o *PutUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutUserUnauthorized ¶
type PutUserUnauthorized struct { }
PutUserUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewPutUserUnauthorized ¶
func NewPutUserUnauthorized() *PutUserUnauthorized
NewPutUserUnauthorized creates a PutUserUnauthorized with default headers values
func (*PutUserUnauthorized) Code ¶ added in v4.0.1
func (o *PutUserUnauthorized) Code() int
Code gets the status code for the put user unauthorized response
func (*PutUserUnauthorized) Error ¶
func (o *PutUserUnauthorized) Error() string
func (*PutUserUnauthorized) IsClientError ¶
func (o *PutUserUnauthorized) IsClientError() bool
IsClientError returns true when this put user unauthorized response has a 4xx status code
func (*PutUserUnauthorized) IsCode ¶
func (o *PutUserUnauthorized) IsCode(code int) bool
IsCode returns true when this put user unauthorized response a status code equal to that given
func (*PutUserUnauthorized) IsRedirect ¶
func (o *PutUserUnauthorized) IsRedirect() bool
IsRedirect returns true when this put user unauthorized response has a 3xx status code
func (*PutUserUnauthorized) IsServerError ¶
func (o *PutUserUnauthorized) IsServerError() bool
IsServerError returns true when this put user unauthorized response has a 5xx status code
func (*PutUserUnauthorized) IsSuccess ¶
func (o *PutUserUnauthorized) IsSuccess() bool
IsSuccess returns true when this put user unauthorized response has a 2xx status code
func (*PutUserUnauthorized) String ¶
func (o *PutUserUnauthorized) String() string
type SearchUsersForbidden ¶
SearchUsersForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewSearchUsersForbidden ¶
func NewSearchUsersForbidden() *SearchUsersForbidden
NewSearchUsersForbidden creates a SearchUsersForbidden with default headers values
func (*SearchUsersForbidden) Code ¶ added in v4.0.1
func (o *SearchUsersForbidden) Code() int
Code gets the status code for the search users forbidden response
func (*SearchUsersForbidden) Error ¶
func (o *SearchUsersForbidden) Error() string
func (*SearchUsersForbidden) GetPayload ¶
func (o *SearchUsersForbidden) GetPayload() *models.RestError
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.
An internal error occurred in the backend
func NewSearchUsersInternalServerError ¶
func NewSearchUsersInternalServerError() *SearchUsersInternalServerError
NewSearchUsersInternalServerError creates a SearchUsersInternalServerError with default headers values
func (*SearchUsersInternalServerError) Code ¶ added in v4.0.1
func (o *SearchUsersInternalServerError) Code() int
Code gets the status code for the search users internal server error response
func (*SearchUsersInternalServerError) Error ¶
func (o *SearchUsersInternalServerError) Error() string
func (*SearchUsersInternalServerError) GetPayload ¶
func (o *SearchUsersInternalServerError) GetPayload() *models.RestError
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 SearchUsersNotFound ¶
SearchUsersNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewSearchUsersNotFound ¶
func NewSearchUsersNotFound() *SearchUsersNotFound
NewSearchUsersNotFound creates a SearchUsersNotFound with default headers values
func (*SearchUsersNotFound) Code ¶ added in v4.0.1
func (o *SearchUsersNotFound) Code() int
Code gets the status code for the search users not found response
func (*SearchUsersNotFound) Error ¶
func (o *SearchUsersNotFound) Error() string
func (*SearchUsersNotFound) GetPayload ¶
func (o *SearchUsersNotFound) GetPayload() *models.RestError
func (*SearchUsersNotFound) IsClientError ¶
func (o *SearchUsersNotFound) IsClientError() bool
IsClientError returns true when this search users not found response has a 4xx status code
func (*SearchUsersNotFound) IsCode ¶
func (o *SearchUsersNotFound) IsCode(code int) bool
IsCode returns true when this search users not found response a status code equal to that given
func (*SearchUsersNotFound) IsRedirect ¶
func (o *SearchUsersNotFound) IsRedirect() bool
IsRedirect returns true when this search users not found response has a 3xx status code
func (*SearchUsersNotFound) IsServerError ¶
func (o *SearchUsersNotFound) IsServerError() bool
IsServerError returns true when this search users not found response has a 5xx status code
func (*SearchUsersNotFound) IsSuccess ¶
func (o *SearchUsersNotFound) IsSuccess() bool
IsSuccess returns true when this search users not found response has a 2xx status code
func (*SearchUsersNotFound) String ¶
func (o *SearchUsersNotFound) String() string
type SearchUsersOK ¶
type SearchUsersOK struct {
Payload *models.RestUsersCollection
}
SearchUsersOK describes a response with status code 200, with default header values.
A successful response.
func NewSearchUsersOK ¶
func NewSearchUsersOK() *SearchUsersOK
NewSearchUsersOK creates a SearchUsersOK with default headers values
func (*SearchUsersOK) Code ¶ added in v4.0.1
func (o *SearchUsersOK) Code() int
Code gets the status code for the search users o k response
func (*SearchUsersOK) Error ¶
func (o *SearchUsersOK) Error() string
func (*SearchUsersOK) GetPayload ¶
func (o *SearchUsersOK) GetPayload() *models.RestUsersCollection
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 { // Body. Body *models.RestSearchUserRequest 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) SetBody ¶
func (o *SearchUsersParams) SetBody(body *models.RestSearchUserRequest)
SetBody adds the body 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) 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) SetHTTPClient ¶
func (o *SearchUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient 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) WithBody ¶
func (o *SearchUsersParams) WithBody(body *models.RestSearchUserRequest) *SearchUsersParams
WithBody adds the body 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) 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) WithHTTPClient ¶
func (o *SearchUsersParams) WithHTTPClient(client *http.Client) *SearchUsersParams
WithHTTPClient adds the HTTPClient 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) 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.
User is not authenticated
func NewSearchUsersUnauthorized ¶
func NewSearchUsersUnauthorized() *SearchUsersUnauthorized
NewSearchUsersUnauthorized creates a SearchUsersUnauthorized with default headers values
func (*SearchUsersUnauthorized) Code ¶ added in v4.0.1
func (o *SearchUsersUnauthorized) Code() int
Code gets the status code for the search users unauthorized response
func (*SearchUsersUnauthorized) Error ¶
func (o *SearchUsersUnauthorized) Error() string
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