user_service

package
v3.0.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2021 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

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 DeleteUserOK

type DeleteUserOK struct {
	Payload *models.RestDeleteResponse
}
DeleteUserOK describes a response with status code 200, 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

func (*DeleteUserOK) GetPayload

func (o *DeleteUserOK) GetPayload() *models.RestDeleteResponse

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 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) 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) 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) 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

type GetUserOK struct {
	Payload *models.IdmUser
}
GetUserOK describes a response with status code 200, with default header values.

GetUserOK get user o k

func NewGetUserOK

func NewGetUserOK() *GetUserOK

NewGetUserOK creates a GetUserOK with default headers values

func (*GetUserOK) Error

func (o *GetUserOK) Error() string

func (*GetUserOK) GetPayload

func (o *GetUserOK) GetPayload() *models.IdmUser

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.

	   Format: boolean
	*/
	IsGroup *bool

	/* LastConnected.

	   Last successful connection timestamp.

	   Format: int32
	*/
	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.

	   Format: boolean
	*/
	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 PutRolesOK

type PutRolesOK struct {
	Payload *models.IdmUser
}
PutRolesOK describes a response with status code 200, 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

func (*PutRolesOK) GetPayload

func (o *PutRolesOK) GetPayload() *models.IdmUser

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 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 *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) 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 *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) 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 PutUserOK

type PutUserOK struct {
	Payload *models.IdmUser
}
PutUserOK describes a response with status code 200, with default header values.

PutUserOK put user o k

func NewPutUserOK

func NewPutUserOK() *PutUserOK

NewPutUserOK creates a PutUserOK with default headers values

func (*PutUserOK) Error

func (o *PutUserOK) Error() string

func (*PutUserOK) GetPayload

func (o *PutUserOK) GetPayload() *models.IdmUser

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 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 *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) 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 *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) 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 SearchUsersOK

type SearchUsersOK struct {
	Payload *models.RestUsersCollection
}
SearchUsersOK describes a response with status code 200, 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

func (*SearchUsersOK) GetPayload

func (o *SearchUsersOK) GetPayload() *models.RestUsersCollection

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL