Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateUser(params *CreateUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateUserOK, error)
- func (a *Client) DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteUserOK, error)
- func (a *Client) GetUserDetails(params *GetUserDetailsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetUserDetailsOK, error)
- func (a *Client) ListUsers(params *ListUsersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListUsersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateUserPassword(params *UpdateUserPasswordParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateUserPasswordOK, error)
- func (a *Client) UpdateUserProfile(params *UpdateUserProfileParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateUserProfileOK, error)
- func (a *Client) UpdateUserRole(params *UpdateUserRoleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateUserRoleOK, error)
- type ClientOption
- type ClientService
- type CreateUserOK
- type CreateUserParams
- func (o *CreateUserParams) SetCUUID(cUUID strfmt.UUID)
- func (o *CreateUserParams) SetContext(ctx context.Context)
- func (o *CreateUserParams) SetDefaults()
- func (o *CreateUserParams) SetHTTPClient(client *http.Client)
- func (o *CreateUserParams) SetTimeout(timeout time.Duration)
- func (o *CreateUserParams) SetUser(user *models.UserRegistrationData)
- func (o *CreateUserParams) WithCUUID(cUUID strfmt.UUID) *CreateUserParams
- func (o *CreateUserParams) WithContext(ctx context.Context) *CreateUserParams
- func (o *CreateUserParams) WithDefaults() *CreateUserParams
- func (o *CreateUserParams) WithHTTPClient(client *http.Client) *CreateUserParams
- func (o *CreateUserParams) WithTimeout(timeout time.Duration) *CreateUserParams
- func (o *CreateUserParams) WithUser(user *models.UserRegistrationData) *CreateUserParams
- func (o *CreateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateUserReader
- type DeleteUserOK
- type DeleteUserParams
- func (o *DeleteUserParams) SetCUUID(cUUID strfmt.UUID)
- func (o *DeleteUserParams) SetContext(ctx context.Context)
- func (o *DeleteUserParams) SetDefaults()
- func (o *DeleteUserParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUserParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUserParams) SetUUUID(uUUID strfmt.UUID)
- func (o *DeleteUserParams) WithCUUID(cUUID strfmt.UUID) *DeleteUserParams
- func (o *DeleteUserParams) WithContext(ctx context.Context) *DeleteUserParams
- func (o *DeleteUserParams) WithDefaults() *DeleteUserParams
- func (o *DeleteUserParams) WithHTTPClient(client *http.Client) *DeleteUserParams
- func (o *DeleteUserParams) WithTimeout(timeout time.Duration) *DeleteUserParams
- func (o *DeleteUserParams) WithUUUID(uUUID strfmt.UUID) *DeleteUserParams
- func (o *DeleteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUserReader
- type GetUserDetailsOK
- type GetUserDetailsParams
- func NewGetUserDetailsParams() *GetUserDetailsParams
- func NewGetUserDetailsParamsWithContext(ctx context.Context) *GetUserDetailsParams
- func NewGetUserDetailsParamsWithHTTPClient(client *http.Client) *GetUserDetailsParams
- func NewGetUserDetailsParamsWithTimeout(timeout time.Duration) *GetUserDetailsParams
- func (o *GetUserDetailsParams) SetCUUID(cUUID strfmt.UUID)
- func (o *GetUserDetailsParams) SetContext(ctx context.Context)
- func (o *GetUserDetailsParams) SetDefaults()
- func (o *GetUserDetailsParams) SetHTTPClient(client *http.Client)
- func (o *GetUserDetailsParams) SetTimeout(timeout time.Duration)
- func (o *GetUserDetailsParams) SetUUUID(uUUID strfmt.UUID)
- func (o *GetUserDetailsParams) WithCUUID(cUUID strfmt.UUID) *GetUserDetailsParams
- func (o *GetUserDetailsParams) WithContext(ctx context.Context) *GetUserDetailsParams
- func (o *GetUserDetailsParams) WithDefaults() *GetUserDetailsParams
- func (o *GetUserDetailsParams) WithHTTPClient(client *http.Client) *GetUserDetailsParams
- func (o *GetUserDetailsParams) WithTimeout(timeout time.Duration) *GetUserDetailsParams
- func (o *GetUserDetailsParams) WithUUUID(uUUID strfmt.UUID) *GetUserDetailsParams
- func (o *GetUserDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserDetailsReader
- type ListUsersOK
- type ListUsersParams
- func (o *ListUsersParams) SetCUUID(cUUID strfmt.UUID)
- func (o *ListUsersParams) SetContext(ctx context.Context)
- func (o *ListUsersParams) SetDefaults()
- func (o *ListUsersParams) SetHTTPClient(client *http.Client)
- func (o *ListUsersParams) SetTimeout(timeout time.Duration)
- func (o *ListUsersParams) WithCUUID(cUUID strfmt.UUID) *ListUsersParams
- func (o *ListUsersParams) WithContext(ctx context.Context) *ListUsersParams
- func (o *ListUsersParams) WithDefaults() *ListUsersParams
- func (o *ListUsersParams) WithHTTPClient(client *http.Client) *ListUsersParams
- func (o *ListUsersParams) WithTimeout(timeout time.Duration) *ListUsersParams
- func (o *ListUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListUsersReader
- type UpdateUserPasswordOK
- type UpdateUserPasswordParams
- func NewUpdateUserPasswordParams() *UpdateUserPasswordParams
- func NewUpdateUserPasswordParamsWithContext(ctx context.Context) *UpdateUserPasswordParams
- func NewUpdateUserPasswordParamsWithHTTPClient(client *http.Client) *UpdateUserPasswordParams
- func NewUpdateUserPasswordParamsWithTimeout(timeout time.Duration) *UpdateUserPasswordParams
- func (o *UpdateUserPasswordParams) SetCUUID(cUUID strfmt.UUID)
- func (o *UpdateUserPasswordParams) SetContext(ctx context.Context)
- func (o *UpdateUserPasswordParams) SetDefaults()
- func (o *UpdateUserPasswordParams) SetHTTPClient(client *http.Client)
- func (o *UpdateUserPasswordParams) SetTimeout(timeout time.Duration)
- func (o *UpdateUserPasswordParams) SetUUUID(uUUID strfmt.UUID)
- func (o *UpdateUserPasswordParams) SetUsers(users *models.UserRegistrationData)
- func (o *UpdateUserPasswordParams) WithCUUID(cUUID strfmt.UUID) *UpdateUserPasswordParams
- func (o *UpdateUserPasswordParams) WithContext(ctx context.Context) *UpdateUserPasswordParams
- func (o *UpdateUserPasswordParams) WithDefaults() *UpdateUserPasswordParams
- func (o *UpdateUserPasswordParams) WithHTTPClient(client *http.Client) *UpdateUserPasswordParams
- func (o *UpdateUserPasswordParams) WithTimeout(timeout time.Duration) *UpdateUserPasswordParams
- func (o *UpdateUserPasswordParams) WithUUUID(uUUID strfmt.UUID) *UpdateUserPasswordParams
- func (o *UpdateUserPasswordParams) WithUsers(users *models.UserRegistrationData) *UpdateUserPasswordParams
- func (o *UpdateUserPasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUserPasswordReader
- type UpdateUserProfileOK
- type UpdateUserProfileParams
- func NewUpdateUserProfileParams() *UpdateUserProfileParams
- func NewUpdateUserProfileParamsWithContext(ctx context.Context) *UpdateUserProfileParams
- func NewUpdateUserProfileParamsWithHTTPClient(client *http.Client) *UpdateUserProfileParams
- func NewUpdateUserProfileParamsWithTimeout(timeout time.Duration) *UpdateUserProfileParams
- func (o *UpdateUserProfileParams) SetCUUID(cUUID strfmt.UUID)
- func (o *UpdateUserProfileParams) SetContext(ctx context.Context)
- func (o *UpdateUserProfileParams) SetDefaults()
- func (o *UpdateUserProfileParams) SetHTTPClient(client *http.Client)
- func (o *UpdateUserProfileParams) SetTimeout(timeout time.Duration)
- func (o *UpdateUserProfileParams) SetUUUID(uUUID strfmt.UUID)
- func (o *UpdateUserProfileParams) SetUsers(users *models.UserProfileData)
- func (o *UpdateUserProfileParams) WithCUUID(cUUID strfmt.UUID) *UpdateUserProfileParams
- func (o *UpdateUserProfileParams) WithContext(ctx context.Context) *UpdateUserProfileParams
- func (o *UpdateUserProfileParams) WithDefaults() *UpdateUserProfileParams
- func (o *UpdateUserProfileParams) WithHTTPClient(client *http.Client) *UpdateUserProfileParams
- func (o *UpdateUserProfileParams) WithTimeout(timeout time.Duration) *UpdateUserProfileParams
- func (o *UpdateUserProfileParams) WithUUUID(uUUID strfmt.UUID) *UpdateUserProfileParams
- func (o *UpdateUserProfileParams) WithUsers(users *models.UserProfileData) *UpdateUserProfileParams
- func (o *UpdateUserProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUserProfileReader
- type UpdateUserRoleOK
- type UpdateUserRoleParams
- func NewUpdateUserRoleParams() *UpdateUserRoleParams
- func NewUpdateUserRoleParamsWithContext(ctx context.Context) *UpdateUserRoleParams
- func NewUpdateUserRoleParamsWithHTTPClient(client *http.Client) *UpdateUserRoleParams
- func NewUpdateUserRoleParamsWithTimeout(timeout time.Duration) *UpdateUserRoleParams
- func (o *UpdateUserRoleParams) SetCUUID(cUUID strfmt.UUID)
- func (o *UpdateUserRoleParams) SetContext(ctx context.Context)
- func (o *UpdateUserRoleParams) SetDefaults()
- func (o *UpdateUserRoleParams) SetHTTPClient(client *http.Client)
- func (o *UpdateUserRoleParams) SetRole(role *string)
- func (o *UpdateUserRoleParams) SetTimeout(timeout time.Duration)
- func (o *UpdateUserRoleParams) SetUUUID(uUUID strfmt.UUID)
- func (o *UpdateUserRoleParams) WithCUUID(cUUID strfmt.UUID) *UpdateUserRoleParams
- func (o *UpdateUserRoleParams) WithContext(ctx context.Context) *UpdateUserRoleParams
- func (o *UpdateUserRoleParams) WithDefaults() *UpdateUserRoleParams
- func (o *UpdateUserRoleParams) WithHTTPClient(client *http.Client) *UpdateUserRoleParams
- func (o *UpdateUserRoleParams) WithRole(role *string) *UpdateUserRoleParams
- func (o *UpdateUserRoleParams) WithTimeout(timeout time.Duration) *UpdateUserRoleParams
- func (o *UpdateUserRoleParams) WithUUUID(uUUID strfmt.UUID) *UpdateUserRoleParams
- func (o *UpdateUserRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUserRoleReader
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 management API
func (*Client) CreateUser ¶
func (a *Client) CreateUser(params *CreateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUserOK, error)
CreateUser creates a user
func (*Client) DeleteUser ¶
func (a *Client) DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserOK, error)
DeleteUser deletes a user
Deletes the specified user. Note that you can't delete a customer's primary user.
func (*Client) GetUserDetails ¶
func (a *Client) GetUserDetails(params *GetUserDetailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserDetailsOK, error)
GetUserDetails gets a user s details
func (*Client) ListUsers ¶
func (a *Client) ListUsers(params *ListUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUsersOK, error)
ListUsers lists all users
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateUserPassword ¶
func (a *Client) UpdateUserPassword(params *UpdateUserPasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserPasswordOK, error)
UpdateUserPassword changes a user s password
func (*Client) UpdateUserProfile ¶
func (a *Client) UpdateUserProfile(params *UpdateUserProfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserProfileOK, error)
UpdateUserProfile updates a user s profile
func (*Client) UpdateUserRole ¶
func (a *Client) UpdateUserRole(params *UpdateUserRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserRoleOK, error)
UpdateUserRole changes a user s role
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { UpdateUserProfile(params *UpdateUserProfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserProfileOK, error) CreateUser(params *CreateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUserOK, error) DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserOK, error) GetUserDetails(params *GetUserDetailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserDetailsOK, error) ListUsers(params *ListUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUsersOK, error) UpdateUserPassword(params *UpdateUserPasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserPasswordOK, error) UpdateUserRole(params *UpdateUserRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserRoleOK, 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 management API client.
type CreateUserOK ¶
type CreateUserOK struct {
Payload *models.UserWithFeatures
}
CreateUserOK describes a response with status code 200, with default header values.
successful operation
func NewCreateUserOK ¶
func NewCreateUserOK() *CreateUserOK
NewCreateUserOK creates a CreateUserOK with default headers values
func (*CreateUserOK) Error ¶
func (o *CreateUserOK) Error() string
func (*CreateUserOK) GetPayload ¶
func (o *CreateUserOK) GetPayload() *models.UserWithFeatures
type CreateUserParams ¶
type CreateUserParams struct { /* User. Details of the new user */ User *models.UserRegistrationData // CUUID. // // Format: uuid CUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateUserParams contains all the parameters to send to the API endpoint
for the create user operation. Typically these are written to a http.Request.
func NewCreateUserParams ¶
func NewCreateUserParams() *CreateUserParams
NewCreateUserParams creates a new CreateUserParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateUserParamsWithContext ¶
func NewCreateUserParamsWithContext(ctx context.Context) *CreateUserParams
NewCreateUserParamsWithContext creates a new CreateUserParams object with the ability to set a context for a request.
func NewCreateUserParamsWithHTTPClient ¶
func NewCreateUserParamsWithHTTPClient(client *http.Client) *CreateUserParams
NewCreateUserParamsWithHTTPClient creates a new CreateUserParams object with the ability to set a custom HTTPClient for a request.
func NewCreateUserParamsWithTimeout ¶
func NewCreateUserParamsWithTimeout(timeout time.Duration) *CreateUserParams
NewCreateUserParamsWithTimeout creates a new CreateUserParams object with the ability to set a timeout on a request.
func (*CreateUserParams) SetCUUID ¶
func (o *CreateUserParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the create user params
func (*CreateUserParams) SetContext ¶
func (o *CreateUserParams) SetContext(ctx context.Context)
SetContext adds the context to the create user params
func (*CreateUserParams) SetDefaults ¶
func (o *CreateUserParams) SetDefaults()
SetDefaults hydrates default values in the create user params (not the query body).
All values with no default are reset to their zero value.
func (*CreateUserParams) SetHTTPClient ¶
func (o *CreateUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create user params
func (*CreateUserParams) SetTimeout ¶
func (o *CreateUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create user params
func (*CreateUserParams) SetUser ¶
func (o *CreateUserParams) SetUser(user *models.UserRegistrationData)
SetUser adds the user to the create user params
func (*CreateUserParams) WithCUUID ¶
func (o *CreateUserParams) WithCUUID(cUUID strfmt.UUID) *CreateUserParams
WithCUUID adds the cUUID to the create user params
func (*CreateUserParams) WithContext ¶
func (o *CreateUserParams) WithContext(ctx context.Context) *CreateUserParams
WithContext adds the context to the create user params
func (*CreateUserParams) WithDefaults ¶
func (o *CreateUserParams) WithDefaults() *CreateUserParams
WithDefaults hydrates default values in the create user params (not the query body).
All values with no default are reset to their zero value.
func (*CreateUserParams) WithHTTPClient ¶
func (o *CreateUserParams) WithHTTPClient(client *http.Client) *CreateUserParams
WithHTTPClient adds the HTTPClient to the create user params
func (*CreateUserParams) WithTimeout ¶
func (o *CreateUserParams) WithTimeout(timeout time.Duration) *CreateUserParams
WithTimeout adds the timeout to the create user params
func (*CreateUserParams) WithUser ¶
func (o *CreateUserParams) WithUser(user *models.UserRegistrationData) *CreateUserParams
WithUser adds the user to the create user params
func (*CreateUserParams) WriteToRequest ¶
func (o *CreateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateUserReader ¶
type CreateUserReader struct {
// contains filtered or unexported fields
}
CreateUserReader is a Reader for the CreateUser structure.
func (*CreateUserReader) ReadResponse ¶
func (o *CreateUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteUserOK ¶
type DeleteUserOK struct {
Payload *models.YBPSuccess
}
DeleteUserOK describes a response with status code 200, with default header values.
successful operation
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.YBPSuccess
type DeleteUserParams ¶
type DeleteUserParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID // UUUID. // // Format: uuid UUUID strfmt.UUID 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) SetCUUID ¶
func (o *DeleteUserParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the delete user params
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) SetTimeout ¶
func (o *DeleteUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete user params
func (*DeleteUserParams) SetUUUID ¶
func (o *DeleteUserParams) SetUUUID(uUUID strfmt.UUID)
SetUUUID adds the uUuid to the delete user params
func (*DeleteUserParams) WithCUUID ¶
func (o *DeleteUserParams) WithCUUID(cUUID strfmt.UUID) *DeleteUserParams
WithCUUID adds the cUUID 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) WithTimeout ¶
func (o *DeleteUserParams) WithTimeout(timeout time.Duration) *DeleteUserParams
WithTimeout adds the timeout to the delete user params
func (*DeleteUserParams) WithUUUID ¶
func (o *DeleteUserParams) WithUUUID(uUUID strfmt.UUID) *DeleteUserParams
WithUUUID adds the uUUID 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 GetUserDetailsOK ¶
type GetUserDetailsOK struct {
Payload *models.UserWithFeatures
}
GetUserDetailsOK describes a response with status code 200, with default header values.
successful operation
func NewGetUserDetailsOK ¶
func NewGetUserDetailsOK() *GetUserDetailsOK
NewGetUserDetailsOK creates a GetUserDetailsOK with default headers values
func (*GetUserDetailsOK) Error ¶
func (o *GetUserDetailsOK) Error() string
func (*GetUserDetailsOK) GetPayload ¶
func (o *GetUserDetailsOK) GetPayload() *models.UserWithFeatures
type GetUserDetailsParams ¶
type GetUserDetailsParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID // UUUID. // // Format: uuid UUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserDetailsParams contains all the parameters to send to the API endpoint
for the get user details operation. Typically these are written to a http.Request.
func NewGetUserDetailsParams ¶
func NewGetUserDetailsParams() *GetUserDetailsParams
NewGetUserDetailsParams creates a new GetUserDetailsParams 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 NewGetUserDetailsParamsWithContext ¶
func NewGetUserDetailsParamsWithContext(ctx context.Context) *GetUserDetailsParams
NewGetUserDetailsParamsWithContext creates a new GetUserDetailsParams object with the ability to set a context for a request.
func NewGetUserDetailsParamsWithHTTPClient ¶
func NewGetUserDetailsParamsWithHTTPClient(client *http.Client) *GetUserDetailsParams
NewGetUserDetailsParamsWithHTTPClient creates a new GetUserDetailsParams object with the ability to set a custom HTTPClient for a request.
func NewGetUserDetailsParamsWithTimeout ¶
func NewGetUserDetailsParamsWithTimeout(timeout time.Duration) *GetUserDetailsParams
NewGetUserDetailsParamsWithTimeout creates a new GetUserDetailsParams object with the ability to set a timeout on a request.
func (*GetUserDetailsParams) SetCUUID ¶
func (o *GetUserDetailsParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the get user details params
func (*GetUserDetailsParams) SetContext ¶
func (o *GetUserDetailsParams) SetContext(ctx context.Context)
SetContext adds the context to the get user details params
func (*GetUserDetailsParams) SetDefaults ¶
func (o *GetUserDetailsParams) SetDefaults()
SetDefaults hydrates default values in the get user details params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserDetailsParams) SetHTTPClient ¶
func (o *GetUserDetailsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user details params
func (*GetUserDetailsParams) SetTimeout ¶
func (o *GetUserDetailsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user details params
func (*GetUserDetailsParams) SetUUUID ¶
func (o *GetUserDetailsParams) SetUUUID(uUUID strfmt.UUID)
SetUUUID adds the uUuid to the get user details params
func (*GetUserDetailsParams) WithCUUID ¶
func (o *GetUserDetailsParams) WithCUUID(cUUID strfmt.UUID) *GetUserDetailsParams
WithCUUID adds the cUUID to the get user details params
func (*GetUserDetailsParams) WithContext ¶
func (o *GetUserDetailsParams) WithContext(ctx context.Context) *GetUserDetailsParams
WithContext adds the context to the get user details params
func (*GetUserDetailsParams) WithDefaults ¶
func (o *GetUserDetailsParams) WithDefaults() *GetUserDetailsParams
WithDefaults hydrates default values in the get user details params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserDetailsParams) WithHTTPClient ¶
func (o *GetUserDetailsParams) WithHTTPClient(client *http.Client) *GetUserDetailsParams
WithHTTPClient adds the HTTPClient to the get user details params
func (*GetUserDetailsParams) WithTimeout ¶
func (o *GetUserDetailsParams) WithTimeout(timeout time.Duration) *GetUserDetailsParams
WithTimeout adds the timeout to the get user details params
func (*GetUserDetailsParams) WithUUUID ¶
func (o *GetUserDetailsParams) WithUUUID(uUUID strfmt.UUID) *GetUserDetailsParams
WithUUUID adds the uUUID to the get user details params
func (*GetUserDetailsParams) WriteToRequest ¶
func (o *GetUserDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserDetailsReader ¶
type GetUserDetailsReader struct {
// contains filtered or unexported fields
}
GetUserDetailsReader is a Reader for the GetUserDetails structure.
func (*GetUserDetailsReader) ReadResponse ¶
func (o *GetUserDetailsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListUsersOK ¶
type ListUsersOK struct {
Payload []*models.UserWithFeatures
}
ListUsersOK describes a response with status code 200, with default header values.
successful operation
func NewListUsersOK ¶
func NewListUsersOK() *ListUsersOK
NewListUsersOK creates a ListUsersOK with default headers values
func (*ListUsersOK) Error ¶
func (o *ListUsersOK) Error() string
func (*ListUsersOK) GetPayload ¶
func (o *ListUsersOK) GetPayload() []*models.UserWithFeatures
type ListUsersParams ¶
type ListUsersParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListUsersParams contains all the parameters to send to the API endpoint
for the list users operation. Typically these are written to a http.Request.
func NewListUsersParams ¶
func NewListUsersParams() *ListUsersParams
NewListUsersParams creates a new ListUsersParams 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 NewListUsersParamsWithContext ¶
func NewListUsersParamsWithContext(ctx context.Context) *ListUsersParams
NewListUsersParamsWithContext creates a new ListUsersParams object with the ability to set a context for a request.
func NewListUsersParamsWithHTTPClient ¶
func NewListUsersParamsWithHTTPClient(client *http.Client) *ListUsersParams
NewListUsersParamsWithHTTPClient creates a new ListUsersParams object with the ability to set a custom HTTPClient for a request.
func NewListUsersParamsWithTimeout ¶
func NewListUsersParamsWithTimeout(timeout time.Duration) *ListUsersParams
NewListUsersParamsWithTimeout creates a new ListUsersParams object with the ability to set a timeout on a request.
func (*ListUsersParams) SetCUUID ¶
func (o *ListUsersParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the list users params
func (*ListUsersParams) SetContext ¶
func (o *ListUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the list users params
func (*ListUsersParams) SetDefaults ¶
func (o *ListUsersParams) SetDefaults()
SetDefaults hydrates default values in the list users params (not the query body).
All values with no default are reset to their zero value.
func (*ListUsersParams) SetHTTPClient ¶
func (o *ListUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list users params
func (*ListUsersParams) SetTimeout ¶
func (o *ListUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list users params
func (*ListUsersParams) WithCUUID ¶
func (o *ListUsersParams) WithCUUID(cUUID strfmt.UUID) *ListUsersParams
WithCUUID adds the cUUID to the list users params
func (*ListUsersParams) WithContext ¶
func (o *ListUsersParams) WithContext(ctx context.Context) *ListUsersParams
WithContext adds the context to the list users params
func (*ListUsersParams) WithDefaults ¶
func (o *ListUsersParams) WithDefaults() *ListUsersParams
WithDefaults hydrates default values in the list users params (not the query body).
All values with no default are reset to their zero value.
func (*ListUsersParams) WithHTTPClient ¶
func (o *ListUsersParams) WithHTTPClient(client *http.Client) *ListUsersParams
WithHTTPClient adds the HTTPClient to the list users params
func (*ListUsersParams) WithTimeout ¶
func (o *ListUsersParams) WithTimeout(timeout time.Duration) *ListUsersParams
WithTimeout adds the timeout to the list users params
func (*ListUsersParams) WriteToRequest ¶
func (o *ListUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListUsersReader ¶
type ListUsersReader struct {
// contains filtered or unexported fields
}
ListUsersReader is a Reader for the ListUsers structure.
func (*ListUsersReader) ReadResponse ¶
func (o *ListUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateUserPasswordOK ¶
type UpdateUserPasswordOK struct {
Payload *models.YBPSuccess
}
UpdateUserPasswordOK describes a response with status code 200, with default header values.
successful operation
func NewUpdateUserPasswordOK ¶
func NewUpdateUserPasswordOK() *UpdateUserPasswordOK
NewUpdateUserPasswordOK creates a UpdateUserPasswordOK with default headers values
func (*UpdateUserPasswordOK) Error ¶
func (o *UpdateUserPasswordOK) Error() string
func (*UpdateUserPasswordOK) GetPayload ¶
func (o *UpdateUserPasswordOK) GetPayload() *models.YBPSuccess
type UpdateUserPasswordParams ¶
type UpdateUserPasswordParams struct { /* Users. User data containing the new password */ Users *models.UserRegistrationData // CUUID. // // Format: uuid CUUID strfmt.UUID // UUUID. // // Format: uuid UUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateUserPasswordParams contains all the parameters to send to the API endpoint
for the update user password operation. Typically these are written to a http.Request.
func NewUpdateUserPasswordParams ¶
func NewUpdateUserPasswordParams() *UpdateUserPasswordParams
NewUpdateUserPasswordParams creates a new UpdateUserPasswordParams 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 NewUpdateUserPasswordParamsWithContext ¶
func NewUpdateUserPasswordParamsWithContext(ctx context.Context) *UpdateUserPasswordParams
NewUpdateUserPasswordParamsWithContext creates a new UpdateUserPasswordParams object with the ability to set a context for a request.
func NewUpdateUserPasswordParamsWithHTTPClient ¶
func NewUpdateUserPasswordParamsWithHTTPClient(client *http.Client) *UpdateUserPasswordParams
NewUpdateUserPasswordParamsWithHTTPClient creates a new UpdateUserPasswordParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateUserPasswordParamsWithTimeout ¶
func NewUpdateUserPasswordParamsWithTimeout(timeout time.Duration) *UpdateUserPasswordParams
NewUpdateUserPasswordParamsWithTimeout creates a new UpdateUserPasswordParams object with the ability to set a timeout on a request.
func (*UpdateUserPasswordParams) SetCUUID ¶
func (o *UpdateUserPasswordParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the update user password params
func (*UpdateUserPasswordParams) SetContext ¶
func (o *UpdateUserPasswordParams) SetContext(ctx context.Context)
SetContext adds the context to the update user password params
func (*UpdateUserPasswordParams) SetDefaults ¶
func (o *UpdateUserPasswordParams) SetDefaults()
SetDefaults hydrates default values in the update user password params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserPasswordParams) SetHTTPClient ¶
func (o *UpdateUserPasswordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update user password params
func (*UpdateUserPasswordParams) SetTimeout ¶
func (o *UpdateUserPasswordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update user password params
func (*UpdateUserPasswordParams) SetUUUID ¶
func (o *UpdateUserPasswordParams) SetUUUID(uUUID strfmt.UUID)
SetUUUID adds the uUuid to the update user password params
func (*UpdateUserPasswordParams) SetUsers ¶
func (o *UpdateUserPasswordParams) SetUsers(users *models.UserRegistrationData)
SetUsers adds the users to the update user password params
func (*UpdateUserPasswordParams) WithCUUID ¶
func (o *UpdateUserPasswordParams) WithCUUID(cUUID strfmt.UUID) *UpdateUserPasswordParams
WithCUUID adds the cUUID to the update user password params
func (*UpdateUserPasswordParams) WithContext ¶
func (o *UpdateUserPasswordParams) WithContext(ctx context.Context) *UpdateUserPasswordParams
WithContext adds the context to the update user password params
func (*UpdateUserPasswordParams) WithDefaults ¶
func (o *UpdateUserPasswordParams) WithDefaults() *UpdateUserPasswordParams
WithDefaults hydrates default values in the update user password params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserPasswordParams) WithHTTPClient ¶
func (o *UpdateUserPasswordParams) WithHTTPClient(client *http.Client) *UpdateUserPasswordParams
WithHTTPClient adds the HTTPClient to the update user password params
func (*UpdateUserPasswordParams) WithTimeout ¶
func (o *UpdateUserPasswordParams) WithTimeout(timeout time.Duration) *UpdateUserPasswordParams
WithTimeout adds the timeout to the update user password params
func (*UpdateUserPasswordParams) WithUUUID ¶
func (o *UpdateUserPasswordParams) WithUUUID(uUUID strfmt.UUID) *UpdateUserPasswordParams
WithUUUID adds the uUUID to the update user password params
func (*UpdateUserPasswordParams) WithUsers ¶
func (o *UpdateUserPasswordParams) WithUsers(users *models.UserRegistrationData) *UpdateUserPasswordParams
WithUsers adds the users to the update user password params
func (*UpdateUserPasswordParams) WriteToRequest ¶
func (o *UpdateUserPasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateUserPasswordReader ¶
type UpdateUserPasswordReader struct {
// contains filtered or unexported fields
}
UpdateUserPasswordReader is a Reader for the UpdateUserPassword structure.
func (*UpdateUserPasswordReader) ReadResponse ¶
func (o *UpdateUserPasswordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateUserProfileOK ¶
UpdateUserProfileOK describes a response with status code 200, with default header values.
successful operation
func NewUpdateUserProfileOK ¶
func NewUpdateUserProfileOK() *UpdateUserProfileOK
NewUpdateUserProfileOK creates a UpdateUserProfileOK with default headers values
func (*UpdateUserProfileOK) Error ¶
func (o *UpdateUserProfileOK) Error() string
func (*UpdateUserProfileOK) GetPayload ¶
func (o *UpdateUserProfileOK) GetPayload() *models.Users
type UpdateUserProfileParams ¶
type UpdateUserProfileParams struct { /* Users. User data in profile to be updated */ Users *models.UserProfileData // CUUID. // // Format: uuid CUUID strfmt.UUID // UUUID. // // Format: uuid UUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateUserProfileParams contains all the parameters to send to the API endpoint
for the update user profile operation. Typically these are written to a http.Request.
func NewUpdateUserProfileParams ¶
func NewUpdateUserProfileParams() *UpdateUserProfileParams
NewUpdateUserProfileParams creates a new UpdateUserProfileParams 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 NewUpdateUserProfileParamsWithContext ¶
func NewUpdateUserProfileParamsWithContext(ctx context.Context) *UpdateUserProfileParams
NewUpdateUserProfileParamsWithContext creates a new UpdateUserProfileParams object with the ability to set a context for a request.
func NewUpdateUserProfileParamsWithHTTPClient ¶
func NewUpdateUserProfileParamsWithHTTPClient(client *http.Client) *UpdateUserProfileParams
NewUpdateUserProfileParamsWithHTTPClient creates a new UpdateUserProfileParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateUserProfileParamsWithTimeout ¶
func NewUpdateUserProfileParamsWithTimeout(timeout time.Duration) *UpdateUserProfileParams
NewUpdateUserProfileParamsWithTimeout creates a new UpdateUserProfileParams object with the ability to set a timeout on a request.
func (*UpdateUserProfileParams) SetCUUID ¶
func (o *UpdateUserProfileParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the update user profile params
func (*UpdateUserProfileParams) SetContext ¶
func (o *UpdateUserProfileParams) SetContext(ctx context.Context)
SetContext adds the context to the update user profile params
func (*UpdateUserProfileParams) SetDefaults ¶
func (o *UpdateUserProfileParams) SetDefaults()
SetDefaults hydrates default values in the update user profile params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserProfileParams) SetHTTPClient ¶
func (o *UpdateUserProfileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update user profile params
func (*UpdateUserProfileParams) SetTimeout ¶
func (o *UpdateUserProfileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update user profile params
func (*UpdateUserProfileParams) SetUUUID ¶
func (o *UpdateUserProfileParams) SetUUUID(uUUID strfmt.UUID)
SetUUUID adds the uUuid to the update user profile params
func (*UpdateUserProfileParams) SetUsers ¶
func (o *UpdateUserProfileParams) SetUsers(users *models.UserProfileData)
SetUsers adds the users to the update user profile params
func (*UpdateUserProfileParams) WithCUUID ¶
func (o *UpdateUserProfileParams) WithCUUID(cUUID strfmt.UUID) *UpdateUserProfileParams
WithCUUID adds the cUUID to the update user profile params
func (*UpdateUserProfileParams) WithContext ¶
func (o *UpdateUserProfileParams) WithContext(ctx context.Context) *UpdateUserProfileParams
WithContext adds the context to the update user profile params
func (*UpdateUserProfileParams) WithDefaults ¶
func (o *UpdateUserProfileParams) WithDefaults() *UpdateUserProfileParams
WithDefaults hydrates default values in the update user profile params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserProfileParams) WithHTTPClient ¶
func (o *UpdateUserProfileParams) WithHTTPClient(client *http.Client) *UpdateUserProfileParams
WithHTTPClient adds the HTTPClient to the update user profile params
func (*UpdateUserProfileParams) WithTimeout ¶
func (o *UpdateUserProfileParams) WithTimeout(timeout time.Duration) *UpdateUserProfileParams
WithTimeout adds the timeout to the update user profile params
func (*UpdateUserProfileParams) WithUUUID ¶
func (o *UpdateUserProfileParams) WithUUUID(uUUID strfmt.UUID) *UpdateUserProfileParams
WithUUUID adds the uUUID to the update user profile params
func (*UpdateUserProfileParams) WithUsers ¶
func (o *UpdateUserProfileParams) WithUsers(users *models.UserProfileData) *UpdateUserProfileParams
WithUsers adds the users to the update user profile params
func (*UpdateUserProfileParams) WriteToRequest ¶
func (o *UpdateUserProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateUserProfileReader ¶
type UpdateUserProfileReader struct {
// contains filtered or unexported fields
}
UpdateUserProfileReader is a Reader for the UpdateUserProfile structure.
func (*UpdateUserProfileReader) ReadResponse ¶
func (o *UpdateUserProfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateUserRoleOK ¶
type UpdateUserRoleOK struct {
Payload *models.YBPSuccess
}
UpdateUserRoleOK describes a response with status code 200, with default header values.
successful operation
func NewUpdateUserRoleOK ¶
func NewUpdateUserRoleOK() *UpdateUserRoleOK
NewUpdateUserRoleOK creates a UpdateUserRoleOK with default headers values
func (*UpdateUserRoleOK) Error ¶
func (o *UpdateUserRoleOK) Error() string
func (*UpdateUserRoleOK) GetPayload ¶
func (o *UpdateUserRoleOK) GetPayload() *models.YBPSuccess
type UpdateUserRoleParams ¶
type UpdateUserRoleParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID // Role. Role *string // UUUID. // // Format: uuid UUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateUserRoleParams contains all the parameters to send to the API endpoint
for the update user role operation. Typically these are written to a http.Request.
func NewUpdateUserRoleParams ¶
func NewUpdateUserRoleParams() *UpdateUserRoleParams
NewUpdateUserRoleParams creates a new UpdateUserRoleParams 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 NewUpdateUserRoleParamsWithContext ¶
func NewUpdateUserRoleParamsWithContext(ctx context.Context) *UpdateUserRoleParams
NewUpdateUserRoleParamsWithContext creates a new UpdateUserRoleParams object with the ability to set a context for a request.
func NewUpdateUserRoleParamsWithHTTPClient ¶
func NewUpdateUserRoleParamsWithHTTPClient(client *http.Client) *UpdateUserRoleParams
NewUpdateUserRoleParamsWithHTTPClient creates a new UpdateUserRoleParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateUserRoleParamsWithTimeout ¶
func NewUpdateUserRoleParamsWithTimeout(timeout time.Duration) *UpdateUserRoleParams
NewUpdateUserRoleParamsWithTimeout creates a new UpdateUserRoleParams object with the ability to set a timeout on a request.
func (*UpdateUserRoleParams) SetCUUID ¶
func (o *UpdateUserRoleParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the update user role params
func (*UpdateUserRoleParams) SetContext ¶
func (o *UpdateUserRoleParams) SetContext(ctx context.Context)
SetContext adds the context to the update user role params
func (*UpdateUserRoleParams) SetDefaults ¶
func (o *UpdateUserRoleParams) SetDefaults()
SetDefaults hydrates default values in the update user role params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserRoleParams) SetHTTPClient ¶
func (o *UpdateUserRoleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update user role params
func (*UpdateUserRoleParams) SetRole ¶
func (o *UpdateUserRoleParams) SetRole(role *string)
SetRole adds the role to the update user role params
func (*UpdateUserRoleParams) SetTimeout ¶
func (o *UpdateUserRoleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update user role params
func (*UpdateUserRoleParams) SetUUUID ¶
func (o *UpdateUserRoleParams) SetUUUID(uUUID strfmt.UUID)
SetUUUID adds the uUuid to the update user role params
func (*UpdateUserRoleParams) WithCUUID ¶
func (o *UpdateUserRoleParams) WithCUUID(cUUID strfmt.UUID) *UpdateUserRoleParams
WithCUUID adds the cUUID to the update user role params
func (*UpdateUserRoleParams) WithContext ¶
func (o *UpdateUserRoleParams) WithContext(ctx context.Context) *UpdateUserRoleParams
WithContext adds the context to the update user role params
func (*UpdateUserRoleParams) WithDefaults ¶
func (o *UpdateUserRoleParams) WithDefaults() *UpdateUserRoleParams
WithDefaults hydrates default values in the update user role params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserRoleParams) WithHTTPClient ¶
func (o *UpdateUserRoleParams) WithHTTPClient(client *http.Client) *UpdateUserRoleParams
WithHTTPClient adds the HTTPClient to the update user role params
func (*UpdateUserRoleParams) WithRole ¶
func (o *UpdateUserRoleParams) WithRole(role *string) *UpdateUserRoleParams
WithRole adds the role to the update user role params
func (*UpdateUserRoleParams) WithTimeout ¶
func (o *UpdateUserRoleParams) WithTimeout(timeout time.Duration) *UpdateUserRoleParams
WithTimeout adds the timeout to the update user role params
func (*UpdateUserRoleParams) WithUUUID ¶
func (o *UpdateUserRoleParams) WithUUUID(uUUID strfmt.UUID) *UpdateUserRoleParams
WithUUUID adds the uUUID to the update user role params
func (*UpdateUserRoleParams) WriteToRequest ¶
func (o *UpdateUserRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateUserRoleReader ¶
type UpdateUserRoleReader struct {
// contains filtered or unexported fields
}
UpdateUserRoleReader is a Reader for the UpdateUserRole structure.
func (*UpdateUserRoleReader) ReadResponse ¶
func (o *UpdateUserRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_user_parameters.go
- create_user_responses.go
- delete_user_parameters.go
- delete_user_responses.go
- get_user_details_parameters.go
- get_user_details_responses.go
- list_users_parameters.go
- list_users_responses.go
- update_user_password_parameters.go
- update_user_password_responses.go
- update_user_profile_parameters.go
- update_user_profile_responses.go
- update_user_role_parameters.go
- update_user_role_responses.go
- user_management_client.go