Documentation ¶
Index ¶
- type Client
- func (a *Client) EvictCurrentUserDetails(params *EvictCurrentUserDetailsParams) (*EvictCurrentUserDetailsOK, error)
- func (a *Client) EvictUserDetails(params *EvictUserDetailsParams) (*EvictUserDetailsOK, error)
- func (a *Client) GetAllUsers(params *GetAllUsersParams) (*GetAllUsersOK, error)
- func (a *Client) GetUserProfile(params *GetUserProfileParams) (*GetUserProfileOK, error)
- func (a *Client) ModifyProfile(params *ModifyProfileParams) error
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type EvictCurrentUserDetailsOK
- type EvictCurrentUserDetailsParams
- func NewEvictCurrentUserDetailsParams() *EvictCurrentUserDetailsParams
- func NewEvictCurrentUserDetailsParamsWithContext(ctx context.Context) *EvictCurrentUserDetailsParams
- func NewEvictCurrentUserDetailsParamsWithHTTPClient(client *http.Client) *EvictCurrentUserDetailsParams
- func NewEvictCurrentUserDetailsParamsWithTimeout(timeout time.Duration) *EvictCurrentUserDetailsParams
- func (o *EvictCurrentUserDetailsParams) SetContext(ctx context.Context)
- func (o *EvictCurrentUserDetailsParams) SetHTTPClient(client *http.Client)
- func (o *EvictCurrentUserDetailsParams) SetTimeout(timeout time.Duration)
- func (o *EvictCurrentUserDetailsParams) WithContext(ctx context.Context) *EvictCurrentUserDetailsParams
- func (o *EvictCurrentUserDetailsParams) WithHTTPClient(client *http.Client) *EvictCurrentUserDetailsParams
- func (o *EvictCurrentUserDetailsParams) WithTimeout(timeout time.Duration) *EvictCurrentUserDetailsParams
- func (o *EvictCurrentUserDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EvictCurrentUserDetailsReader
- type EvictUserDetailsOK
- type EvictUserDetailsParams
- func NewEvictUserDetailsParams() *EvictUserDetailsParams
- func NewEvictUserDetailsParamsWithContext(ctx context.Context) *EvictUserDetailsParams
- func NewEvictUserDetailsParamsWithHTTPClient(client *http.Client) *EvictUserDetailsParams
- func NewEvictUserDetailsParamsWithTimeout(timeout time.Duration) *EvictUserDetailsParams
- func (o *EvictUserDetailsParams) SetBody(body *models_cloudbreak.User)
- func (o *EvictUserDetailsParams) SetContext(ctx context.Context)
- func (o *EvictUserDetailsParams) SetHTTPClient(client *http.Client)
- func (o *EvictUserDetailsParams) SetID(id string)
- func (o *EvictUserDetailsParams) SetTimeout(timeout time.Duration)
- func (o *EvictUserDetailsParams) WithBody(body *models_cloudbreak.User) *EvictUserDetailsParams
- func (o *EvictUserDetailsParams) WithContext(ctx context.Context) *EvictUserDetailsParams
- func (o *EvictUserDetailsParams) WithHTTPClient(client *http.Client) *EvictUserDetailsParams
- func (o *EvictUserDetailsParams) WithID(id string) *EvictUserDetailsParams
- func (o *EvictUserDetailsParams) WithTimeout(timeout time.Duration) *EvictUserDetailsParams
- func (o *EvictUserDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EvictUserDetailsReader
- type GetAllUsersOK
- type GetAllUsersParams
- func (o *GetAllUsersParams) SetContext(ctx context.Context)
- func (o *GetAllUsersParams) SetHTTPClient(client *http.Client)
- func (o *GetAllUsersParams) SetTimeout(timeout time.Duration)
- func (o *GetAllUsersParams) WithContext(ctx context.Context) *GetAllUsersParams
- func (o *GetAllUsersParams) WithHTTPClient(client *http.Client) *GetAllUsersParams
- func (o *GetAllUsersParams) WithTimeout(timeout time.Duration) *GetAllUsersParams
- func (o *GetAllUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAllUsersReader
- type GetUserProfileOK
- type GetUserProfileParams
- func NewGetUserProfileParams() *GetUserProfileParams
- func NewGetUserProfileParamsWithContext(ctx context.Context) *GetUserProfileParams
- func NewGetUserProfileParamsWithHTTPClient(client *http.Client) *GetUserProfileParams
- func NewGetUserProfileParamsWithTimeout(timeout time.Duration) *GetUserProfileParams
- func (o *GetUserProfileParams) SetContext(ctx context.Context)
- func (o *GetUserProfileParams) SetHTTPClient(client *http.Client)
- func (o *GetUserProfileParams) SetTimeout(timeout time.Duration)
- func (o *GetUserProfileParams) WithContext(ctx context.Context) *GetUserProfileParams
- func (o *GetUserProfileParams) WithHTTPClient(client *http.Client) *GetUserProfileParams
- func (o *GetUserProfileParams) WithTimeout(timeout time.Duration) *GetUserProfileParams
- func (o *GetUserProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserProfileReader
- type ModifyProfileDefault
- type ModifyProfileParams
- func (o *ModifyProfileParams) SetBody(body *models_cloudbreak.UserProfileRequest)
- func (o *ModifyProfileParams) SetContext(ctx context.Context)
- func (o *ModifyProfileParams) SetHTTPClient(client *http.Client)
- func (o *ModifyProfileParams) SetTimeout(timeout time.Duration)
- func (o *ModifyProfileParams) WithBody(body *models_cloudbreak.UserProfileRequest) *ModifyProfileParams
- func (o *ModifyProfileParams) WithContext(ctx context.Context) *ModifyProfileParams
- func (o *ModifyProfileParams) WithHTTPClient(client *http.Client) *ModifyProfileParams
- func (o *ModifyProfileParams) WithTimeout(timeout time.Duration) *ModifyProfileParams
- func (o *ModifyProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifyProfileReader
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 v1users API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new v1users API client.
func (*Client) EvictCurrentUserDetails ¶
func (a *Client) EvictCurrentUserDetails(params *EvictCurrentUserDetailsParams) (*EvictCurrentUserDetailsOK, error)
EvictCurrentUserDetails removes current user from cache
Users can be invited under an account by the administrator, and all resources (e.g. resources, networks, blueprints, credentials, clusters) can be shared across account users
func (*Client) EvictUserDetails ¶
func (a *Client) EvictUserDetails(params *EvictUserDetailsParams) (*EvictUserDetailsOK, error)
EvictUserDetails removes user from cache by username
Users can be invited under an account by the administrator, and all resources (e.g. resources, networks, blueprints, credentials, clusters) can be shared across account users
func (*Client) GetAllUsers ¶
func (a *Client) GetAllUsers(params *GetAllUsersParams) (*GetAllUsersOK, error)
GetAllUsers retrieves all users in the tenant
Users can be invited under an account by the administrator, and all resources (e.g. resources, networks, blueprints, credentials, clusters) can be shared across account users
func (*Client) GetUserProfile ¶
func (a *Client) GetUserProfile(params *GetUserProfileParams) (*GetUserProfileOK, error)
GetUserProfile users related profile
Users can be invited under an account by the administrator, and all resources (e.g. resources, networks, blueprints, credentials, clusters) can be shared across account users
func (*Client) ModifyProfile ¶
func (a *Client) ModifyProfile(params *ModifyProfileParams) error
ModifyProfile modifies user related profile
Users can be invited under an account by the administrator, and all resources (e.g. resources, networks, blueprints, credentials, clusters) can be shared across account users
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type EvictCurrentUserDetailsOK ¶
type EvictCurrentUserDetailsOK struct {
Payload *models_cloudbreak.User
}
EvictCurrentUserDetailsOK handles this case with default header values.
successful operation
func NewEvictCurrentUserDetailsOK ¶
func NewEvictCurrentUserDetailsOK() *EvictCurrentUserDetailsOK
NewEvictCurrentUserDetailsOK creates a EvictCurrentUserDetailsOK with default headers values
func (*EvictCurrentUserDetailsOK) Error ¶
func (o *EvictCurrentUserDetailsOK) Error() string
type EvictCurrentUserDetailsParams ¶
type EvictCurrentUserDetailsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EvictCurrentUserDetailsParams contains all the parameters to send to the API endpoint for the evict current user details operation typically these are written to a http.Request
func NewEvictCurrentUserDetailsParams ¶
func NewEvictCurrentUserDetailsParams() *EvictCurrentUserDetailsParams
NewEvictCurrentUserDetailsParams creates a new EvictCurrentUserDetailsParams object with the default values initialized.
func NewEvictCurrentUserDetailsParamsWithContext ¶
func NewEvictCurrentUserDetailsParamsWithContext(ctx context.Context) *EvictCurrentUserDetailsParams
NewEvictCurrentUserDetailsParamsWithContext creates a new EvictCurrentUserDetailsParams object with the default values initialized, and the ability to set a context for a request
func NewEvictCurrentUserDetailsParamsWithHTTPClient ¶
func NewEvictCurrentUserDetailsParamsWithHTTPClient(client *http.Client) *EvictCurrentUserDetailsParams
NewEvictCurrentUserDetailsParamsWithHTTPClient creates a new EvictCurrentUserDetailsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEvictCurrentUserDetailsParamsWithTimeout ¶
func NewEvictCurrentUserDetailsParamsWithTimeout(timeout time.Duration) *EvictCurrentUserDetailsParams
NewEvictCurrentUserDetailsParamsWithTimeout creates a new EvictCurrentUserDetailsParams object with the default values initialized, and the ability to set a timeout on a request
func (*EvictCurrentUserDetailsParams) SetContext ¶
func (o *EvictCurrentUserDetailsParams) SetContext(ctx context.Context)
SetContext adds the context to the evict current user details params
func (*EvictCurrentUserDetailsParams) SetHTTPClient ¶
func (o *EvictCurrentUserDetailsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the evict current user details params
func (*EvictCurrentUserDetailsParams) SetTimeout ¶
func (o *EvictCurrentUserDetailsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the evict current user details params
func (*EvictCurrentUserDetailsParams) WithContext ¶
func (o *EvictCurrentUserDetailsParams) WithContext(ctx context.Context) *EvictCurrentUserDetailsParams
WithContext adds the context to the evict current user details params
func (*EvictCurrentUserDetailsParams) WithHTTPClient ¶
func (o *EvictCurrentUserDetailsParams) WithHTTPClient(client *http.Client) *EvictCurrentUserDetailsParams
WithHTTPClient adds the HTTPClient to the evict current user details params
func (*EvictCurrentUserDetailsParams) WithTimeout ¶
func (o *EvictCurrentUserDetailsParams) WithTimeout(timeout time.Duration) *EvictCurrentUserDetailsParams
WithTimeout adds the timeout to the evict current user details params
func (*EvictCurrentUserDetailsParams) WriteToRequest ¶
func (o *EvictCurrentUserDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EvictCurrentUserDetailsReader ¶
type EvictCurrentUserDetailsReader struct {
// contains filtered or unexported fields
}
EvictCurrentUserDetailsReader is a Reader for the EvictCurrentUserDetails structure.
func (*EvictCurrentUserDetailsReader) ReadResponse ¶
func (o *EvictCurrentUserDetailsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EvictUserDetailsOK ¶
type EvictUserDetailsOK struct {
Payload string
}
EvictUserDetailsOK handles this case with default header values.
successful operation
func NewEvictUserDetailsOK ¶
func NewEvictUserDetailsOK() *EvictUserDetailsOK
NewEvictUserDetailsOK creates a EvictUserDetailsOK with default headers values
func (*EvictUserDetailsOK) Error ¶
func (o *EvictUserDetailsOK) Error() string
type EvictUserDetailsParams ¶
type EvictUserDetailsParams struct { /*Body*/ Body *models_cloudbreak.User /*ID*/ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EvictUserDetailsParams contains all the parameters to send to the API endpoint for the evict user details operation typically these are written to a http.Request
func NewEvictUserDetailsParams ¶
func NewEvictUserDetailsParams() *EvictUserDetailsParams
NewEvictUserDetailsParams creates a new EvictUserDetailsParams object with the default values initialized.
func NewEvictUserDetailsParamsWithContext ¶
func NewEvictUserDetailsParamsWithContext(ctx context.Context) *EvictUserDetailsParams
NewEvictUserDetailsParamsWithContext creates a new EvictUserDetailsParams object with the default values initialized, and the ability to set a context for a request
func NewEvictUserDetailsParamsWithHTTPClient ¶
func NewEvictUserDetailsParamsWithHTTPClient(client *http.Client) *EvictUserDetailsParams
NewEvictUserDetailsParamsWithHTTPClient creates a new EvictUserDetailsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEvictUserDetailsParamsWithTimeout ¶
func NewEvictUserDetailsParamsWithTimeout(timeout time.Duration) *EvictUserDetailsParams
NewEvictUserDetailsParamsWithTimeout creates a new EvictUserDetailsParams object with the default values initialized, and the ability to set a timeout on a request
func (*EvictUserDetailsParams) SetBody ¶
func (o *EvictUserDetailsParams) SetBody(body *models_cloudbreak.User)
SetBody adds the body to the evict user details params
func (*EvictUserDetailsParams) SetContext ¶
func (o *EvictUserDetailsParams) SetContext(ctx context.Context)
SetContext adds the context to the evict user details params
func (*EvictUserDetailsParams) SetHTTPClient ¶
func (o *EvictUserDetailsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the evict user details params
func (*EvictUserDetailsParams) SetID ¶
func (o *EvictUserDetailsParams) SetID(id string)
SetID adds the id to the evict user details params
func (*EvictUserDetailsParams) SetTimeout ¶
func (o *EvictUserDetailsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the evict user details params
func (*EvictUserDetailsParams) WithBody ¶
func (o *EvictUserDetailsParams) WithBody(body *models_cloudbreak.User) *EvictUserDetailsParams
WithBody adds the body to the evict user details params
func (*EvictUserDetailsParams) WithContext ¶
func (o *EvictUserDetailsParams) WithContext(ctx context.Context) *EvictUserDetailsParams
WithContext adds the context to the evict user details params
func (*EvictUserDetailsParams) WithHTTPClient ¶
func (o *EvictUserDetailsParams) WithHTTPClient(client *http.Client) *EvictUserDetailsParams
WithHTTPClient adds the HTTPClient to the evict user details params
func (*EvictUserDetailsParams) WithID ¶
func (o *EvictUserDetailsParams) WithID(id string) *EvictUserDetailsParams
WithID adds the id to the evict user details params
func (*EvictUserDetailsParams) WithTimeout ¶
func (o *EvictUserDetailsParams) WithTimeout(timeout time.Duration) *EvictUserDetailsParams
WithTimeout adds the timeout to the evict user details params
func (*EvictUserDetailsParams) WriteToRequest ¶
func (o *EvictUserDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EvictUserDetailsReader ¶
type EvictUserDetailsReader struct {
// contains filtered or unexported fields
}
EvictUserDetailsReader is a Reader for the EvictUserDetails structure.
func (*EvictUserDetailsReader) ReadResponse ¶
func (o *EvictUserDetailsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAllUsersOK ¶
type GetAllUsersOK struct {
Payload []*models_cloudbreak.UserResponseJSON
}
GetAllUsersOK handles this case with default header values.
successful operation
func NewGetAllUsersOK ¶
func NewGetAllUsersOK() *GetAllUsersOK
NewGetAllUsersOK creates a GetAllUsersOK with default headers values
func (*GetAllUsersOK) Error ¶
func (o *GetAllUsersOK) Error() string
type GetAllUsersParams ¶
type GetAllUsersParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAllUsersParams contains all the parameters to send to the API endpoint for the get all users operation typically these are written to a http.Request
func NewGetAllUsersParams ¶
func NewGetAllUsersParams() *GetAllUsersParams
NewGetAllUsersParams creates a new GetAllUsersParams object with the default values initialized.
func NewGetAllUsersParamsWithContext ¶
func NewGetAllUsersParamsWithContext(ctx context.Context) *GetAllUsersParams
NewGetAllUsersParamsWithContext creates a new GetAllUsersParams object with the default values initialized, and the ability to set a context for a request
func NewGetAllUsersParamsWithHTTPClient ¶
func NewGetAllUsersParamsWithHTTPClient(client *http.Client) *GetAllUsersParams
NewGetAllUsersParamsWithHTTPClient creates a new GetAllUsersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAllUsersParamsWithTimeout ¶
func NewGetAllUsersParamsWithTimeout(timeout time.Duration) *GetAllUsersParams
NewGetAllUsersParamsWithTimeout creates a new GetAllUsersParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAllUsersParams) SetContext ¶
func (o *GetAllUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the get all users params
func (*GetAllUsersParams) SetHTTPClient ¶
func (o *GetAllUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get all users params
func (*GetAllUsersParams) SetTimeout ¶
func (o *GetAllUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get all users params
func (*GetAllUsersParams) WithContext ¶
func (o *GetAllUsersParams) WithContext(ctx context.Context) *GetAllUsersParams
WithContext adds the context to the get all users params
func (*GetAllUsersParams) WithHTTPClient ¶
func (o *GetAllUsersParams) WithHTTPClient(client *http.Client) *GetAllUsersParams
WithHTTPClient adds the HTTPClient to the get all users params
func (*GetAllUsersParams) WithTimeout ¶
func (o *GetAllUsersParams) WithTimeout(timeout time.Duration) *GetAllUsersParams
WithTimeout adds the timeout to the get all users params
func (*GetAllUsersParams) WriteToRequest ¶
func (o *GetAllUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAllUsersReader ¶
type GetAllUsersReader struct {
// contains filtered or unexported fields
}
GetAllUsersReader is a Reader for the GetAllUsers structure.
func (*GetAllUsersReader) ReadResponse ¶
func (o *GetAllUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserProfileOK ¶
type GetUserProfileOK struct {
Payload *models_cloudbreak.UserProfileResponse
}
GetUserProfileOK handles this case with default header values.
successful operation
func NewGetUserProfileOK ¶
func NewGetUserProfileOK() *GetUserProfileOK
NewGetUserProfileOK creates a GetUserProfileOK with default headers values
func (*GetUserProfileOK) Error ¶
func (o *GetUserProfileOK) Error() string
type GetUserProfileParams ¶
type GetUserProfileParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserProfileParams contains all the parameters to send to the API endpoint for the get user profile operation typically these are written to a http.Request
func NewGetUserProfileParams ¶
func NewGetUserProfileParams() *GetUserProfileParams
NewGetUserProfileParams creates a new GetUserProfileParams object with the default values initialized.
func NewGetUserProfileParamsWithContext ¶
func NewGetUserProfileParamsWithContext(ctx context.Context) *GetUserProfileParams
NewGetUserProfileParamsWithContext creates a new GetUserProfileParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserProfileParamsWithHTTPClient ¶
func NewGetUserProfileParamsWithHTTPClient(client *http.Client) *GetUserProfileParams
NewGetUserProfileParamsWithHTTPClient creates a new GetUserProfileParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserProfileParamsWithTimeout ¶
func NewGetUserProfileParamsWithTimeout(timeout time.Duration) *GetUserProfileParams
NewGetUserProfileParamsWithTimeout creates a new GetUserProfileParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserProfileParams) SetContext ¶
func (o *GetUserProfileParams) SetContext(ctx context.Context)
SetContext adds the context to the get user profile params
func (*GetUserProfileParams) SetHTTPClient ¶
func (o *GetUserProfileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user profile params
func (*GetUserProfileParams) SetTimeout ¶
func (o *GetUserProfileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user profile params
func (*GetUserProfileParams) WithContext ¶
func (o *GetUserProfileParams) WithContext(ctx context.Context) *GetUserProfileParams
WithContext adds the context to the get user profile params
func (*GetUserProfileParams) WithHTTPClient ¶
func (o *GetUserProfileParams) WithHTTPClient(client *http.Client) *GetUserProfileParams
WithHTTPClient adds the HTTPClient to the get user profile params
func (*GetUserProfileParams) WithTimeout ¶
func (o *GetUserProfileParams) WithTimeout(timeout time.Duration) *GetUserProfileParams
WithTimeout adds the timeout to the get user profile params
func (*GetUserProfileParams) WriteToRequest ¶
func (o *GetUserProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserProfileReader ¶
type GetUserProfileReader struct {
// contains filtered or unexported fields
}
GetUserProfileReader is a Reader for the GetUserProfile structure.
func (*GetUserProfileReader) ReadResponse ¶
func (o *GetUserProfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ModifyProfileDefault ¶
type ModifyProfileDefault struct {
// contains filtered or unexported fields
}
ModifyProfileDefault handles this case with default header values.
successful operation
func NewModifyProfileDefault ¶
func NewModifyProfileDefault(code int) *ModifyProfileDefault
NewModifyProfileDefault creates a ModifyProfileDefault with default headers values
func (*ModifyProfileDefault) Code ¶
func (o *ModifyProfileDefault) Code() int
Code gets the status code for the modify profile default response
func (*ModifyProfileDefault) Error ¶
func (o *ModifyProfileDefault) Error() string
type ModifyProfileParams ¶
type ModifyProfileParams struct { /*Body*/ Body *models_cloudbreak.UserProfileRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ModifyProfileParams contains all the parameters to send to the API endpoint for the modify profile operation typically these are written to a http.Request
func NewModifyProfileParams ¶
func NewModifyProfileParams() *ModifyProfileParams
NewModifyProfileParams creates a new ModifyProfileParams object with the default values initialized.
func NewModifyProfileParamsWithContext ¶
func NewModifyProfileParamsWithContext(ctx context.Context) *ModifyProfileParams
NewModifyProfileParamsWithContext creates a new ModifyProfileParams object with the default values initialized, and the ability to set a context for a request
func NewModifyProfileParamsWithHTTPClient ¶
func NewModifyProfileParamsWithHTTPClient(client *http.Client) *ModifyProfileParams
NewModifyProfileParamsWithHTTPClient creates a new ModifyProfileParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewModifyProfileParamsWithTimeout ¶
func NewModifyProfileParamsWithTimeout(timeout time.Duration) *ModifyProfileParams
NewModifyProfileParamsWithTimeout creates a new ModifyProfileParams object with the default values initialized, and the ability to set a timeout on a request
func (*ModifyProfileParams) SetBody ¶
func (o *ModifyProfileParams) SetBody(body *models_cloudbreak.UserProfileRequest)
SetBody adds the body to the modify profile params
func (*ModifyProfileParams) SetContext ¶
func (o *ModifyProfileParams) SetContext(ctx context.Context)
SetContext adds the context to the modify profile params
func (*ModifyProfileParams) SetHTTPClient ¶
func (o *ModifyProfileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the modify profile params
func (*ModifyProfileParams) SetTimeout ¶
func (o *ModifyProfileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the modify profile params
func (*ModifyProfileParams) WithBody ¶
func (o *ModifyProfileParams) WithBody(body *models_cloudbreak.UserProfileRequest) *ModifyProfileParams
WithBody adds the body to the modify profile params
func (*ModifyProfileParams) WithContext ¶
func (o *ModifyProfileParams) WithContext(ctx context.Context) *ModifyProfileParams
WithContext adds the context to the modify profile params
func (*ModifyProfileParams) WithHTTPClient ¶
func (o *ModifyProfileParams) WithHTTPClient(client *http.Client) *ModifyProfileParams
WithHTTPClient adds the HTTPClient to the modify profile params
func (*ModifyProfileParams) WithTimeout ¶
func (o *ModifyProfileParams) WithTimeout(timeout time.Duration) *ModifyProfileParams
WithTimeout adds the timeout to the modify profile params
func (*ModifyProfileParams) WriteToRequest ¶
func (o *ModifyProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ModifyProfileReader ¶
type ModifyProfileReader struct {
// contains filtered or unexported fields
}
ModifyProfileReader is a Reader for the ModifyProfile structure.
func (*ModifyProfileReader) ReadResponse ¶
func (o *ModifyProfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- evict_current_user_details_parameters.go
- evict_current_user_details_responses.go
- evict_user_details_parameters.go
- evict_user_details_responses.go
- get_all_users_parameters.go
- get_all_users_responses.go
- get_user_profile_parameters.go
- get_user_profile_responses.go
- modify_profile_parameters.go
- modify_profile_responses.go
- v1users_client.go