Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteUser(params *DeleteUserParams) (*DeleteUserOK, error)
- func (a *Client) GetUser(params *GetUserParams) (*GetUserOK, error)
- func (a *Client) PutRoles(params *PutRolesParams) (*PutRolesOK, error)
- func (a *Client) PutUser(params *PutUserParams) (*PutUserOK, error)
- func (a *Client) SearchUsers(params *SearchUsersParams) (*SearchUsersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteUserOK
- type DeleteUserParams
- func (o *DeleteUserParams) SetContext(ctx context.Context)
- func (o *DeleteUserParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUserParams) SetLogin(login string)
- func (o *DeleteUserParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUserParams) WithContext(ctx context.Context) *DeleteUserParams
- func (o *DeleteUserParams) WithHTTPClient(client *http.Client) *DeleteUserParams
- func (o *DeleteUserParams) WithLogin(login string) *DeleteUserParams
- func (o *DeleteUserParams) WithTimeout(timeout time.Duration) *DeleteUserParams
- func (o *DeleteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUserReader
- type GetUserOK
- type GetUserParams
- func (o *GetUserParams) SetContext(ctx context.Context)
- 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) 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 PutRolesOK
- type PutRolesParams
- func (o *PutRolesParams) SetBody(body *models.IdmUser)
- func (o *PutRolesParams) SetContext(ctx context.Context)
- 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 *models.IdmUser) *PutRolesParams
- func (o *PutRolesParams) WithContext(ctx context.Context) *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 PutUserOK
- type PutUserParams
- func (o *PutUserParams) SetBody(body *models.IdmUser)
- func (o *PutUserParams) SetContext(ctx context.Context)
- 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 *models.IdmUser) *PutUserParams
- func (o *PutUserParams) WithContext(ctx context.Context) *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 SearchUsersOK
- type SearchUsersParams
- func (o *SearchUsersParams) SetBody(body *models.RestSearchUserRequest)
- func (o *SearchUsersParams) SetContext(ctx context.Context)
- 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) 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
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 New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new user service API client.
func (*Client) DeleteUser ¶
func (a *Client) DeleteUser(params *DeleteUserParams) (*DeleteUserOK, error)
DeleteUser deletes a user
func (*Client) GetUser ¶
func (a *Client) GetUser(params *GetUserParams) (*GetUserOK, error)
GetUser gets a user by login
func (*Client) PutRoles ¶
func (a *Client) PutRoles(params *PutRolesParams) (*PutRolesOK, error)
PutRoles justs save a user roles without other datas
func (*Client) PutUser ¶
func (a *Client) PutUser(params *PutUserParams) (*PutUserOK, error)
PutUser creates or update a user
func (*Client) SearchUsers ¶
func (a *Client) SearchUsers(params *SearchUsersParams) (*SearchUsersOK, error)
SearchUsers lists search users
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type DeleteUserOK ¶
type DeleteUserOK struct {
Payload *models.RestDeleteResponse
}
DeleteUserOK handles this case with default header values.
DeleteUserOK delete user o k
func NewDeleteUserOK ¶
func NewDeleteUserOK() *DeleteUserOK
NewDeleteUserOK creates a DeleteUserOK with default headers values
func (*DeleteUserOK) Error ¶
func (o *DeleteUserOK) Error() string
type DeleteUserParams ¶
type DeleteUserParams struct { /*Login*/ Login 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 values initialized.
func NewDeleteUserParamsWithContext ¶
func NewDeleteUserParamsWithContext(ctx context.Context) *DeleteUserParams
NewDeleteUserParamsWithContext creates a new DeleteUserParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetHTTPClient ¶
func (o *DeleteUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient 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) 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) WithHTTPClient ¶
func (o *DeleteUserParams) WithHTTPClient(client *http.Client) *DeleteUserParams
WithHTTPClient adds the HTTPClient 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) 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 GetUserOK ¶
GetUserOK handles this case with default header values.
GetUserOK get user o k
func NewGetUserOK ¶
func NewGetUserOK() *GetUserOK
NewGetUserOK creates a GetUserOK with default headers values
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. */ LastConnected *int32 /*Login*/ 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 values initialized.
func NewGetUserParamsWithContext ¶
func NewGetUserParamsWithContext(ctx context.Context) *GetUserParams
NewGetUserParamsWithContext creates a new GetUserParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PutRolesOK ¶
PutRolesOK handles this case with default header values.
PutRolesOK put roles o k
func NewPutRolesOK ¶
func NewPutRolesOK() *PutRolesOK
NewPutRolesOK creates a PutRolesOK with default headers values
func (*PutRolesOK) Error ¶
func (o *PutRolesOK) Error() string
type PutRolesParams ¶
type PutRolesParams struct { /*Login*/ Login string /*Body*/ Body *models.IdmUser 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 values initialized.
func NewPutRolesParamsWithContext ¶
func NewPutRolesParamsWithContext(ctx context.Context) *PutRolesParams
NewPutRolesParamsWithContext creates a new PutRolesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request
func (*PutRolesParams) SetBody ¶
func (o *PutRolesParams) SetBody(body *models.IdmUser)
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) 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 *models.IdmUser) *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) 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 PutUserOK ¶
PutUserOK handles this case with default header values.
PutUserOK put user o k
func NewPutUserOK ¶
func NewPutUserOK() *PutUserOK
NewPutUserOK creates a PutUserOK with default headers values
type PutUserParams ¶
type PutUserParams struct { /*Login*/ Login string /*Body*/ Body *models.IdmUser 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 values initialized.
func NewPutUserParamsWithContext ¶
func NewPutUserParamsWithContext(ctx context.Context) *PutUserParams
NewPutUserParamsWithContext creates a new PutUserParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request
func (*PutUserParams) SetBody ¶
func (o *PutUserParams) SetBody(body *models.IdmUser)
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) 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 *models.IdmUser) *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) 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 SearchUsersOK ¶
type SearchUsersOK struct {
Payload *models.RestUsersCollection
}
SearchUsersOK handles this case with default header values.
SearchUsersOK search users o k
func NewSearchUsersOK ¶
func NewSearchUsersOK() *SearchUsersOK
NewSearchUsersOK creates a SearchUsersOK with default headers values
func (*SearchUsersOK) Error ¶
func (o *SearchUsersOK) Error() 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 values initialized.
func NewSearchUsersParamsWithContext ¶
func NewSearchUsersParamsWithContext(ctx context.Context) *SearchUsersParams
NewSearchUsersParamsWithContext creates a new SearchUsersParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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.