Documentation ¶
Index ¶
- type AddWorkspaceUsersOK
- type AddWorkspaceUsersParams
- func NewAddWorkspaceUsersParams() *AddWorkspaceUsersParams
- func NewAddWorkspaceUsersParamsWithContext(ctx context.Context) *AddWorkspaceUsersParams
- func NewAddWorkspaceUsersParamsWithHTTPClient(client *http.Client) *AddWorkspaceUsersParams
- func NewAddWorkspaceUsersParamsWithTimeout(timeout time.Duration) *AddWorkspaceUsersParams
- func (o *AddWorkspaceUsersParams) SetBody(body []*models_cloudbreak.ChangeWorkspaceUsersJSON)
- func (o *AddWorkspaceUsersParams) SetContext(ctx context.Context)
- func (o *AddWorkspaceUsersParams) SetHTTPClient(client *http.Client)
- func (o *AddWorkspaceUsersParams) SetName(name string)
- func (o *AddWorkspaceUsersParams) SetTimeout(timeout time.Duration)
- func (o *AddWorkspaceUsersParams) WithBody(body []*models_cloudbreak.ChangeWorkspaceUsersJSON) *AddWorkspaceUsersParams
- func (o *AddWorkspaceUsersParams) WithContext(ctx context.Context) *AddWorkspaceUsersParams
- func (o *AddWorkspaceUsersParams) WithHTTPClient(client *http.Client) *AddWorkspaceUsersParams
- func (o *AddWorkspaceUsersParams) WithName(name string) *AddWorkspaceUsersParams
- func (o *AddWorkspaceUsersParams) WithTimeout(timeout time.Duration) *AddWorkspaceUsersParams
- func (o *AddWorkspaceUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddWorkspaceUsersReader
- type ChangeWorkspaceUsersOK
- type ChangeWorkspaceUsersParams
- func NewChangeWorkspaceUsersParams() *ChangeWorkspaceUsersParams
- func NewChangeWorkspaceUsersParamsWithContext(ctx context.Context) *ChangeWorkspaceUsersParams
- func NewChangeWorkspaceUsersParamsWithHTTPClient(client *http.Client) *ChangeWorkspaceUsersParams
- func NewChangeWorkspaceUsersParamsWithTimeout(timeout time.Duration) *ChangeWorkspaceUsersParams
- func (o *ChangeWorkspaceUsersParams) SetBody(body []*models_cloudbreak.ChangeWorkspaceUsersJSON)
- func (o *ChangeWorkspaceUsersParams) SetContext(ctx context.Context)
- func (o *ChangeWorkspaceUsersParams) SetHTTPClient(client *http.Client)
- func (o *ChangeWorkspaceUsersParams) SetName(name string)
- func (o *ChangeWorkspaceUsersParams) SetTimeout(timeout time.Duration)
- func (o *ChangeWorkspaceUsersParams) WithBody(body []*models_cloudbreak.ChangeWorkspaceUsersJSON) *ChangeWorkspaceUsersParams
- func (o *ChangeWorkspaceUsersParams) WithContext(ctx context.Context) *ChangeWorkspaceUsersParams
- func (o *ChangeWorkspaceUsersParams) WithHTTPClient(client *http.Client) *ChangeWorkspaceUsersParams
- func (o *ChangeWorkspaceUsersParams) WithName(name string) *ChangeWorkspaceUsersParams
- func (o *ChangeWorkspaceUsersParams) WithTimeout(timeout time.Duration) *ChangeWorkspaceUsersParams
- func (o *ChangeWorkspaceUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangeWorkspaceUsersReader
- type Client
- func (a *Client) AddWorkspaceUsers(params *AddWorkspaceUsersParams) (*AddWorkspaceUsersOK, error)
- func (a *Client) ChangeWorkspaceUsers(params *ChangeWorkspaceUsersParams) (*ChangeWorkspaceUsersOK, error)
- func (a *Client) CreateWorkspace(params *CreateWorkspaceParams) (*CreateWorkspaceOK, error)
- func (a *Client) DeleteWorkspaceByName(params *DeleteWorkspaceByNameParams) (*DeleteWorkspaceByNameOK, error)
- func (a *Client) GetWorkspaceByName(params *GetWorkspaceByNameParams) (*GetWorkspaceByNameOK, error)
- func (a *Client) GetWorkspaces(params *GetWorkspacesParams) (*GetWorkspacesOK, error)
- func (a *Client) RemoveWorkspaceUsers(params *RemoveWorkspaceUsersParams) (*RemoveWorkspaceUsersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateWorkspaceUsers(params *UpdateWorkspaceUsersParams) (*UpdateWorkspaceUsersOK, error)
- type CreateWorkspaceOK
- type CreateWorkspaceParams
- func NewCreateWorkspaceParams() *CreateWorkspaceParams
- func NewCreateWorkspaceParamsWithContext(ctx context.Context) *CreateWorkspaceParams
- func NewCreateWorkspaceParamsWithHTTPClient(client *http.Client) *CreateWorkspaceParams
- func NewCreateWorkspaceParamsWithTimeout(timeout time.Duration) *CreateWorkspaceParams
- func (o *CreateWorkspaceParams) SetBody(body *models_cloudbreak.WorkspaceRequest)
- func (o *CreateWorkspaceParams) SetContext(ctx context.Context)
- func (o *CreateWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *CreateWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *CreateWorkspaceParams) WithBody(body *models_cloudbreak.WorkspaceRequest) *CreateWorkspaceParams
- func (o *CreateWorkspaceParams) WithContext(ctx context.Context) *CreateWorkspaceParams
- func (o *CreateWorkspaceParams) WithHTTPClient(client *http.Client) *CreateWorkspaceParams
- func (o *CreateWorkspaceParams) WithTimeout(timeout time.Duration) *CreateWorkspaceParams
- func (o *CreateWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateWorkspaceReader
- type DeleteWorkspaceByNameOK
- type DeleteWorkspaceByNameParams
- func NewDeleteWorkspaceByNameParams() *DeleteWorkspaceByNameParams
- func NewDeleteWorkspaceByNameParamsWithContext(ctx context.Context) *DeleteWorkspaceByNameParams
- func NewDeleteWorkspaceByNameParamsWithHTTPClient(client *http.Client) *DeleteWorkspaceByNameParams
- func NewDeleteWorkspaceByNameParamsWithTimeout(timeout time.Duration) *DeleteWorkspaceByNameParams
- func (o *DeleteWorkspaceByNameParams) SetContext(ctx context.Context)
- func (o *DeleteWorkspaceByNameParams) SetHTTPClient(client *http.Client)
- func (o *DeleteWorkspaceByNameParams) SetName(name string)
- func (o *DeleteWorkspaceByNameParams) SetTimeout(timeout time.Duration)
- func (o *DeleteWorkspaceByNameParams) WithContext(ctx context.Context) *DeleteWorkspaceByNameParams
- func (o *DeleteWorkspaceByNameParams) WithHTTPClient(client *http.Client) *DeleteWorkspaceByNameParams
- func (o *DeleteWorkspaceByNameParams) WithName(name string) *DeleteWorkspaceByNameParams
- func (o *DeleteWorkspaceByNameParams) WithTimeout(timeout time.Duration) *DeleteWorkspaceByNameParams
- func (o *DeleteWorkspaceByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteWorkspaceByNameReader
- type GetWorkspaceByNameOK
- type GetWorkspaceByNameParams
- func NewGetWorkspaceByNameParams() *GetWorkspaceByNameParams
- func NewGetWorkspaceByNameParamsWithContext(ctx context.Context) *GetWorkspaceByNameParams
- func NewGetWorkspaceByNameParamsWithHTTPClient(client *http.Client) *GetWorkspaceByNameParams
- func NewGetWorkspaceByNameParamsWithTimeout(timeout time.Duration) *GetWorkspaceByNameParams
- func (o *GetWorkspaceByNameParams) SetContext(ctx context.Context)
- func (o *GetWorkspaceByNameParams) SetHTTPClient(client *http.Client)
- func (o *GetWorkspaceByNameParams) SetName(name string)
- func (o *GetWorkspaceByNameParams) SetTimeout(timeout time.Duration)
- func (o *GetWorkspaceByNameParams) WithContext(ctx context.Context) *GetWorkspaceByNameParams
- func (o *GetWorkspaceByNameParams) WithHTTPClient(client *http.Client) *GetWorkspaceByNameParams
- func (o *GetWorkspaceByNameParams) WithName(name string) *GetWorkspaceByNameParams
- func (o *GetWorkspaceByNameParams) WithTimeout(timeout time.Duration) *GetWorkspaceByNameParams
- func (o *GetWorkspaceByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWorkspaceByNameReader
- type GetWorkspacesOK
- type GetWorkspacesParams
- func (o *GetWorkspacesParams) SetContext(ctx context.Context)
- func (o *GetWorkspacesParams) SetHTTPClient(client *http.Client)
- func (o *GetWorkspacesParams) SetTimeout(timeout time.Duration)
- func (o *GetWorkspacesParams) WithContext(ctx context.Context) *GetWorkspacesParams
- func (o *GetWorkspacesParams) WithHTTPClient(client *http.Client) *GetWorkspacesParams
- func (o *GetWorkspacesParams) WithTimeout(timeout time.Duration) *GetWorkspacesParams
- func (o *GetWorkspacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWorkspacesReader
- type RemoveWorkspaceUsersOK
- type RemoveWorkspaceUsersParams
- func NewRemoveWorkspaceUsersParams() *RemoveWorkspaceUsersParams
- func NewRemoveWorkspaceUsersParamsWithContext(ctx context.Context) *RemoveWorkspaceUsersParams
- func NewRemoveWorkspaceUsersParamsWithHTTPClient(client *http.Client) *RemoveWorkspaceUsersParams
- func NewRemoveWorkspaceUsersParamsWithTimeout(timeout time.Duration) *RemoveWorkspaceUsersParams
- func (o *RemoveWorkspaceUsersParams) SetBody(body []string)
- func (o *RemoveWorkspaceUsersParams) SetContext(ctx context.Context)
- func (o *RemoveWorkspaceUsersParams) SetHTTPClient(client *http.Client)
- func (o *RemoveWorkspaceUsersParams) SetName(name string)
- func (o *RemoveWorkspaceUsersParams) SetTimeout(timeout time.Duration)
- func (o *RemoveWorkspaceUsersParams) WithBody(body []string) *RemoveWorkspaceUsersParams
- func (o *RemoveWorkspaceUsersParams) WithContext(ctx context.Context) *RemoveWorkspaceUsersParams
- func (o *RemoveWorkspaceUsersParams) WithHTTPClient(client *http.Client) *RemoveWorkspaceUsersParams
- func (o *RemoveWorkspaceUsersParams) WithName(name string) *RemoveWorkspaceUsersParams
- func (o *RemoveWorkspaceUsersParams) WithTimeout(timeout time.Duration) *RemoveWorkspaceUsersParams
- func (o *RemoveWorkspaceUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveWorkspaceUsersReader
- type UpdateWorkspaceUsersOK
- type UpdateWorkspaceUsersParams
- func NewUpdateWorkspaceUsersParams() *UpdateWorkspaceUsersParams
- func NewUpdateWorkspaceUsersParamsWithContext(ctx context.Context) *UpdateWorkspaceUsersParams
- func NewUpdateWorkspaceUsersParamsWithHTTPClient(client *http.Client) *UpdateWorkspaceUsersParams
- func NewUpdateWorkspaceUsersParamsWithTimeout(timeout time.Duration) *UpdateWorkspaceUsersParams
- func (o *UpdateWorkspaceUsersParams) SetBody(body []*models_cloudbreak.ChangeWorkspaceUsersJSON)
- func (o *UpdateWorkspaceUsersParams) SetContext(ctx context.Context)
- func (o *UpdateWorkspaceUsersParams) SetHTTPClient(client *http.Client)
- func (o *UpdateWorkspaceUsersParams) SetName(name string)
- func (o *UpdateWorkspaceUsersParams) SetTimeout(timeout time.Duration)
- func (o *UpdateWorkspaceUsersParams) WithBody(body []*models_cloudbreak.ChangeWorkspaceUsersJSON) *UpdateWorkspaceUsersParams
- func (o *UpdateWorkspaceUsersParams) WithContext(ctx context.Context) *UpdateWorkspaceUsersParams
- func (o *UpdateWorkspaceUsersParams) WithHTTPClient(client *http.Client) *UpdateWorkspaceUsersParams
- func (o *UpdateWorkspaceUsersParams) WithName(name string) *UpdateWorkspaceUsersParams
- func (o *UpdateWorkspaceUsersParams) WithTimeout(timeout time.Duration) *UpdateWorkspaceUsersParams
- func (o *UpdateWorkspaceUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateWorkspaceUsersReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddWorkspaceUsersOK ¶
type AddWorkspaceUsersOK struct {
Payload []*models_cloudbreak.UserResponseJSON
}
AddWorkspaceUsersOK handles this case with default header values.
successful operation
func NewAddWorkspaceUsersOK ¶
func NewAddWorkspaceUsersOK() *AddWorkspaceUsersOK
NewAddWorkspaceUsersOK creates a AddWorkspaceUsersOK with default headers values
func (*AddWorkspaceUsersOK) Error ¶
func (o *AddWorkspaceUsersOK) Error() string
type AddWorkspaceUsersParams ¶
type AddWorkspaceUsersParams struct { /*Body*/ Body []*models_cloudbreak.ChangeWorkspaceUsersJSON /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddWorkspaceUsersParams contains all the parameters to send to the API endpoint for the add workspace users operation typically these are written to a http.Request
func NewAddWorkspaceUsersParams ¶
func NewAddWorkspaceUsersParams() *AddWorkspaceUsersParams
NewAddWorkspaceUsersParams creates a new AddWorkspaceUsersParams object with the default values initialized.
func NewAddWorkspaceUsersParamsWithContext ¶
func NewAddWorkspaceUsersParamsWithContext(ctx context.Context) *AddWorkspaceUsersParams
NewAddWorkspaceUsersParamsWithContext creates a new AddWorkspaceUsersParams object with the default values initialized, and the ability to set a context for a request
func NewAddWorkspaceUsersParamsWithHTTPClient ¶
func NewAddWorkspaceUsersParamsWithHTTPClient(client *http.Client) *AddWorkspaceUsersParams
NewAddWorkspaceUsersParamsWithHTTPClient creates a new AddWorkspaceUsersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddWorkspaceUsersParamsWithTimeout ¶
func NewAddWorkspaceUsersParamsWithTimeout(timeout time.Duration) *AddWorkspaceUsersParams
NewAddWorkspaceUsersParamsWithTimeout creates a new AddWorkspaceUsersParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddWorkspaceUsersParams) SetBody ¶
func (o *AddWorkspaceUsersParams) SetBody(body []*models_cloudbreak.ChangeWorkspaceUsersJSON)
SetBody adds the body to the add workspace users params
func (*AddWorkspaceUsersParams) SetContext ¶
func (o *AddWorkspaceUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the add workspace users params
func (*AddWorkspaceUsersParams) SetHTTPClient ¶
func (o *AddWorkspaceUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add workspace users params
func (*AddWorkspaceUsersParams) SetName ¶
func (o *AddWorkspaceUsersParams) SetName(name string)
SetName adds the name to the add workspace users params
func (*AddWorkspaceUsersParams) SetTimeout ¶
func (o *AddWorkspaceUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add workspace users params
func (*AddWorkspaceUsersParams) WithBody ¶
func (o *AddWorkspaceUsersParams) WithBody(body []*models_cloudbreak.ChangeWorkspaceUsersJSON) *AddWorkspaceUsersParams
WithBody adds the body to the add workspace users params
func (*AddWorkspaceUsersParams) WithContext ¶
func (o *AddWorkspaceUsersParams) WithContext(ctx context.Context) *AddWorkspaceUsersParams
WithContext adds the context to the add workspace users params
func (*AddWorkspaceUsersParams) WithHTTPClient ¶
func (o *AddWorkspaceUsersParams) WithHTTPClient(client *http.Client) *AddWorkspaceUsersParams
WithHTTPClient adds the HTTPClient to the add workspace users params
func (*AddWorkspaceUsersParams) WithName ¶
func (o *AddWorkspaceUsersParams) WithName(name string) *AddWorkspaceUsersParams
WithName adds the name to the add workspace users params
func (*AddWorkspaceUsersParams) WithTimeout ¶
func (o *AddWorkspaceUsersParams) WithTimeout(timeout time.Duration) *AddWorkspaceUsersParams
WithTimeout adds the timeout to the add workspace users params
func (*AddWorkspaceUsersParams) WriteToRequest ¶
func (o *AddWorkspaceUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddWorkspaceUsersReader ¶
type AddWorkspaceUsersReader struct {
// contains filtered or unexported fields
}
AddWorkspaceUsersReader is a Reader for the AddWorkspaceUsers structure.
func (*AddWorkspaceUsersReader) ReadResponse ¶
func (o *AddWorkspaceUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ChangeWorkspaceUsersOK ¶
type ChangeWorkspaceUsersOK struct {
Payload []*models_cloudbreak.UserResponseJSON
}
ChangeWorkspaceUsersOK handles this case with default header values.
successful operation
func NewChangeWorkspaceUsersOK ¶
func NewChangeWorkspaceUsersOK() *ChangeWorkspaceUsersOK
NewChangeWorkspaceUsersOK creates a ChangeWorkspaceUsersOK with default headers values
func (*ChangeWorkspaceUsersOK) Error ¶
func (o *ChangeWorkspaceUsersOK) Error() string
type ChangeWorkspaceUsersParams ¶
type ChangeWorkspaceUsersParams struct { /*Body*/ Body []*models_cloudbreak.ChangeWorkspaceUsersJSON /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ChangeWorkspaceUsersParams contains all the parameters to send to the API endpoint for the change workspace users operation typically these are written to a http.Request
func NewChangeWorkspaceUsersParams ¶
func NewChangeWorkspaceUsersParams() *ChangeWorkspaceUsersParams
NewChangeWorkspaceUsersParams creates a new ChangeWorkspaceUsersParams object with the default values initialized.
func NewChangeWorkspaceUsersParamsWithContext ¶
func NewChangeWorkspaceUsersParamsWithContext(ctx context.Context) *ChangeWorkspaceUsersParams
NewChangeWorkspaceUsersParamsWithContext creates a new ChangeWorkspaceUsersParams object with the default values initialized, and the ability to set a context for a request
func NewChangeWorkspaceUsersParamsWithHTTPClient ¶
func NewChangeWorkspaceUsersParamsWithHTTPClient(client *http.Client) *ChangeWorkspaceUsersParams
NewChangeWorkspaceUsersParamsWithHTTPClient creates a new ChangeWorkspaceUsersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewChangeWorkspaceUsersParamsWithTimeout ¶
func NewChangeWorkspaceUsersParamsWithTimeout(timeout time.Duration) *ChangeWorkspaceUsersParams
NewChangeWorkspaceUsersParamsWithTimeout creates a new ChangeWorkspaceUsersParams object with the default values initialized, and the ability to set a timeout on a request
func (*ChangeWorkspaceUsersParams) SetBody ¶
func (o *ChangeWorkspaceUsersParams) SetBody(body []*models_cloudbreak.ChangeWorkspaceUsersJSON)
SetBody adds the body to the change workspace users params
func (*ChangeWorkspaceUsersParams) SetContext ¶
func (o *ChangeWorkspaceUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the change workspace users params
func (*ChangeWorkspaceUsersParams) SetHTTPClient ¶
func (o *ChangeWorkspaceUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the change workspace users params
func (*ChangeWorkspaceUsersParams) SetName ¶
func (o *ChangeWorkspaceUsersParams) SetName(name string)
SetName adds the name to the change workspace users params
func (*ChangeWorkspaceUsersParams) SetTimeout ¶
func (o *ChangeWorkspaceUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the change workspace users params
func (*ChangeWorkspaceUsersParams) WithBody ¶
func (o *ChangeWorkspaceUsersParams) WithBody(body []*models_cloudbreak.ChangeWorkspaceUsersJSON) *ChangeWorkspaceUsersParams
WithBody adds the body to the change workspace users params
func (*ChangeWorkspaceUsersParams) WithContext ¶
func (o *ChangeWorkspaceUsersParams) WithContext(ctx context.Context) *ChangeWorkspaceUsersParams
WithContext adds the context to the change workspace users params
func (*ChangeWorkspaceUsersParams) WithHTTPClient ¶
func (o *ChangeWorkspaceUsersParams) WithHTTPClient(client *http.Client) *ChangeWorkspaceUsersParams
WithHTTPClient adds the HTTPClient to the change workspace users params
func (*ChangeWorkspaceUsersParams) WithName ¶
func (o *ChangeWorkspaceUsersParams) WithName(name string) *ChangeWorkspaceUsersParams
WithName adds the name to the change workspace users params
func (*ChangeWorkspaceUsersParams) WithTimeout ¶
func (o *ChangeWorkspaceUsersParams) WithTimeout(timeout time.Duration) *ChangeWorkspaceUsersParams
WithTimeout adds the timeout to the change workspace users params
func (*ChangeWorkspaceUsersParams) WriteToRequest ¶
func (o *ChangeWorkspaceUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ChangeWorkspaceUsersReader ¶
type ChangeWorkspaceUsersReader struct {
// contains filtered or unexported fields
}
ChangeWorkspaceUsersReader is a Reader for the ChangeWorkspaceUsers structure.
func (*ChangeWorkspaceUsersReader) ReadResponse ¶
func (o *ChangeWorkspaceUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for v3workspaces API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new v3workspaces API client.
func (*Client) AddWorkspaceUsers ¶
func (a *Client) AddWorkspaceUsers(params *AddWorkspaceUsersParams) (*AddWorkspaceUsersOK, error)
AddWorkspaceUsers adds users to the given workspace
Workspaces are a way of grouping resources, workspace owners can add users to their workspaces with different permission sets
func (*Client) ChangeWorkspaceUsers ¶
func (a *Client) ChangeWorkspaceUsers(params *ChangeWorkspaceUsersParams) (*ChangeWorkspaceUsersOK, error)
ChangeWorkspaceUsers changes users and their permissions in the workspace
Workspaces are a way of grouping resources, workspace owners can add users to their workspaces with different permission sets
func (*Client) CreateWorkspace ¶
func (a *Client) CreateWorkspace(params *CreateWorkspaceParams) (*CreateWorkspaceOK, error)
CreateWorkspace creates an workspace
Workspaces are a way of grouping resources, workspace owners can add users to their workspaces with different permission sets
func (*Client) DeleteWorkspaceByName ¶
func (a *Client) DeleteWorkspaceByName(params *DeleteWorkspaceByNameParams) (*DeleteWorkspaceByNameOK, error)
DeleteWorkspaceByName deletes an workspace by name
Workspaces are a way of grouping resources, workspace owners can add users to their workspaces with different permission sets
func (*Client) GetWorkspaceByName ¶
func (a *Client) GetWorkspaceByName(params *GetWorkspaceByNameParams) (*GetWorkspaceByNameOK, error)
GetWorkspaceByName retrieves an workspace by name
Workspaces are a way of grouping resources, workspace owners can add users to their workspaces with different permission sets
func (*Client) GetWorkspaces ¶
func (a *Client) GetWorkspaces(params *GetWorkspacesParams) (*GetWorkspacesOK, error)
GetWorkspaces retrieves workspaces
Workspaces are a way of grouping resources, workspace owners can add users to their workspaces with different permission sets
func (*Client) RemoveWorkspaceUsers ¶
func (a *Client) RemoveWorkspaceUsers(params *RemoveWorkspaceUsersParams) (*RemoveWorkspaceUsersOK, error)
RemoveWorkspaceUsers removes users from the given workspace by their user ids
Workspaces are a way of grouping resources, workspace owners can add users to their workspaces with different permission sets
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateWorkspaceUsers ¶
func (a *Client) UpdateWorkspaceUsers(params *UpdateWorkspaceUsersParams) (*UpdateWorkspaceUsersOK, error)
UpdateWorkspaceUsers updates the users permissions in the given workspace
Workspaces are a way of grouping resources, workspace owners can add users to their workspaces with different permission sets
type CreateWorkspaceOK ¶
type CreateWorkspaceOK struct {
Payload *models_cloudbreak.WorkspaceResponse
}
CreateWorkspaceOK handles this case with default header values.
successful operation
func NewCreateWorkspaceOK ¶
func NewCreateWorkspaceOK() *CreateWorkspaceOK
NewCreateWorkspaceOK creates a CreateWorkspaceOK with default headers values
func (*CreateWorkspaceOK) Error ¶
func (o *CreateWorkspaceOK) Error() string
type CreateWorkspaceParams ¶
type CreateWorkspaceParams struct { /*Body*/ Body *models_cloudbreak.WorkspaceRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateWorkspaceParams contains all the parameters to send to the API endpoint for the create workspace operation typically these are written to a http.Request
func NewCreateWorkspaceParams ¶
func NewCreateWorkspaceParams() *CreateWorkspaceParams
NewCreateWorkspaceParams creates a new CreateWorkspaceParams object with the default values initialized.
func NewCreateWorkspaceParamsWithContext ¶
func NewCreateWorkspaceParamsWithContext(ctx context.Context) *CreateWorkspaceParams
NewCreateWorkspaceParamsWithContext creates a new CreateWorkspaceParams object with the default values initialized, and the ability to set a context for a request
func NewCreateWorkspaceParamsWithHTTPClient ¶
func NewCreateWorkspaceParamsWithHTTPClient(client *http.Client) *CreateWorkspaceParams
NewCreateWorkspaceParamsWithHTTPClient creates a new CreateWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateWorkspaceParamsWithTimeout ¶
func NewCreateWorkspaceParamsWithTimeout(timeout time.Duration) *CreateWorkspaceParams
NewCreateWorkspaceParamsWithTimeout creates a new CreateWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateWorkspaceParams) SetBody ¶
func (o *CreateWorkspaceParams) SetBody(body *models_cloudbreak.WorkspaceRequest)
SetBody adds the body to the create workspace params
func (*CreateWorkspaceParams) SetContext ¶
func (o *CreateWorkspaceParams) SetContext(ctx context.Context)
SetContext adds the context to the create workspace params
func (*CreateWorkspaceParams) SetHTTPClient ¶
func (o *CreateWorkspaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create workspace params
func (*CreateWorkspaceParams) SetTimeout ¶
func (o *CreateWorkspaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create workspace params
func (*CreateWorkspaceParams) WithBody ¶
func (o *CreateWorkspaceParams) WithBody(body *models_cloudbreak.WorkspaceRequest) *CreateWorkspaceParams
WithBody adds the body to the create workspace params
func (*CreateWorkspaceParams) WithContext ¶
func (o *CreateWorkspaceParams) WithContext(ctx context.Context) *CreateWorkspaceParams
WithContext adds the context to the create workspace params
func (*CreateWorkspaceParams) WithHTTPClient ¶
func (o *CreateWorkspaceParams) WithHTTPClient(client *http.Client) *CreateWorkspaceParams
WithHTTPClient adds the HTTPClient to the create workspace params
func (*CreateWorkspaceParams) WithTimeout ¶
func (o *CreateWorkspaceParams) WithTimeout(timeout time.Duration) *CreateWorkspaceParams
WithTimeout adds the timeout to the create workspace params
func (*CreateWorkspaceParams) WriteToRequest ¶
func (o *CreateWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateWorkspaceReader ¶
type CreateWorkspaceReader struct {
// contains filtered or unexported fields
}
CreateWorkspaceReader is a Reader for the CreateWorkspace structure.
func (*CreateWorkspaceReader) ReadResponse ¶
func (o *CreateWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteWorkspaceByNameOK ¶
type DeleteWorkspaceByNameOK struct {
Payload *models_cloudbreak.WorkspaceResponse
}
DeleteWorkspaceByNameOK handles this case with default header values.
successful operation
func NewDeleteWorkspaceByNameOK ¶
func NewDeleteWorkspaceByNameOK() *DeleteWorkspaceByNameOK
NewDeleteWorkspaceByNameOK creates a DeleteWorkspaceByNameOK with default headers values
func (*DeleteWorkspaceByNameOK) Error ¶
func (o *DeleteWorkspaceByNameOK) Error() string
type DeleteWorkspaceByNameParams ¶
type DeleteWorkspaceByNameParams struct { /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteWorkspaceByNameParams contains all the parameters to send to the API endpoint for the delete workspace by name operation typically these are written to a http.Request
func NewDeleteWorkspaceByNameParams ¶
func NewDeleteWorkspaceByNameParams() *DeleteWorkspaceByNameParams
NewDeleteWorkspaceByNameParams creates a new DeleteWorkspaceByNameParams object with the default values initialized.
func NewDeleteWorkspaceByNameParamsWithContext ¶
func NewDeleteWorkspaceByNameParamsWithContext(ctx context.Context) *DeleteWorkspaceByNameParams
NewDeleteWorkspaceByNameParamsWithContext creates a new DeleteWorkspaceByNameParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteWorkspaceByNameParamsWithHTTPClient ¶
func NewDeleteWorkspaceByNameParamsWithHTTPClient(client *http.Client) *DeleteWorkspaceByNameParams
NewDeleteWorkspaceByNameParamsWithHTTPClient creates a new DeleteWorkspaceByNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteWorkspaceByNameParamsWithTimeout ¶
func NewDeleteWorkspaceByNameParamsWithTimeout(timeout time.Duration) *DeleteWorkspaceByNameParams
NewDeleteWorkspaceByNameParamsWithTimeout creates a new DeleteWorkspaceByNameParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteWorkspaceByNameParams) SetContext ¶
func (o *DeleteWorkspaceByNameParams) SetContext(ctx context.Context)
SetContext adds the context to the delete workspace by name params
func (*DeleteWorkspaceByNameParams) SetHTTPClient ¶
func (o *DeleteWorkspaceByNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete workspace by name params
func (*DeleteWorkspaceByNameParams) SetName ¶
func (o *DeleteWorkspaceByNameParams) SetName(name string)
SetName adds the name to the delete workspace by name params
func (*DeleteWorkspaceByNameParams) SetTimeout ¶
func (o *DeleteWorkspaceByNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete workspace by name params
func (*DeleteWorkspaceByNameParams) WithContext ¶
func (o *DeleteWorkspaceByNameParams) WithContext(ctx context.Context) *DeleteWorkspaceByNameParams
WithContext adds the context to the delete workspace by name params
func (*DeleteWorkspaceByNameParams) WithHTTPClient ¶
func (o *DeleteWorkspaceByNameParams) WithHTTPClient(client *http.Client) *DeleteWorkspaceByNameParams
WithHTTPClient adds the HTTPClient to the delete workspace by name params
func (*DeleteWorkspaceByNameParams) WithName ¶
func (o *DeleteWorkspaceByNameParams) WithName(name string) *DeleteWorkspaceByNameParams
WithName adds the name to the delete workspace by name params
func (*DeleteWorkspaceByNameParams) WithTimeout ¶
func (o *DeleteWorkspaceByNameParams) WithTimeout(timeout time.Duration) *DeleteWorkspaceByNameParams
WithTimeout adds the timeout to the delete workspace by name params
func (*DeleteWorkspaceByNameParams) WriteToRequest ¶
func (o *DeleteWorkspaceByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteWorkspaceByNameReader ¶
type DeleteWorkspaceByNameReader struct {
// contains filtered or unexported fields
}
DeleteWorkspaceByNameReader is a Reader for the DeleteWorkspaceByName structure.
func (*DeleteWorkspaceByNameReader) ReadResponse ¶
func (o *DeleteWorkspaceByNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetWorkspaceByNameOK ¶
type GetWorkspaceByNameOK struct {
Payload *models_cloudbreak.WorkspaceResponse
}
GetWorkspaceByNameOK handles this case with default header values.
successful operation
func NewGetWorkspaceByNameOK ¶
func NewGetWorkspaceByNameOK() *GetWorkspaceByNameOK
NewGetWorkspaceByNameOK creates a GetWorkspaceByNameOK with default headers values
func (*GetWorkspaceByNameOK) Error ¶
func (o *GetWorkspaceByNameOK) Error() string
type GetWorkspaceByNameParams ¶
type GetWorkspaceByNameParams struct { /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetWorkspaceByNameParams contains all the parameters to send to the API endpoint for the get workspace by name operation typically these are written to a http.Request
func NewGetWorkspaceByNameParams ¶
func NewGetWorkspaceByNameParams() *GetWorkspaceByNameParams
NewGetWorkspaceByNameParams creates a new GetWorkspaceByNameParams object with the default values initialized.
func NewGetWorkspaceByNameParamsWithContext ¶
func NewGetWorkspaceByNameParamsWithContext(ctx context.Context) *GetWorkspaceByNameParams
NewGetWorkspaceByNameParamsWithContext creates a new GetWorkspaceByNameParams object with the default values initialized, and the ability to set a context for a request
func NewGetWorkspaceByNameParamsWithHTTPClient ¶
func NewGetWorkspaceByNameParamsWithHTTPClient(client *http.Client) *GetWorkspaceByNameParams
NewGetWorkspaceByNameParamsWithHTTPClient creates a new GetWorkspaceByNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetWorkspaceByNameParamsWithTimeout ¶
func NewGetWorkspaceByNameParamsWithTimeout(timeout time.Duration) *GetWorkspaceByNameParams
NewGetWorkspaceByNameParamsWithTimeout creates a new GetWorkspaceByNameParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetWorkspaceByNameParams) SetContext ¶
func (o *GetWorkspaceByNameParams) SetContext(ctx context.Context)
SetContext adds the context to the get workspace by name params
func (*GetWorkspaceByNameParams) SetHTTPClient ¶
func (o *GetWorkspaceByNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get workspace by name params
func (*GetWorkspaceByNameParams) SetName ¶
func (o *GetWorkspaceByNameParams) SetName(name string)
SetName adds the name to the get workspace by name params
func (*GetWorkspaceByNameParams) SetTimeout ¶
func (o *GetWorkspaceByNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get workspace by name params
func (*GetWorkspaceByNameParams) WithContext ¶
func (o *GetWorkspaceByNameParams) WithContext(ctx context.Context) *GetWorkspaceByNameParams
WithContext adds the context to the get workspace by name params
func (*GetWorkspaceByNameParams) WithHTTPClient ¶
func (o *GetWorkspaceByNameParams) WithHTTPClient(client *http.Client) *GetWorkspaceByNameParams
WithHTTPClient adds the HTTPClient to the get workspace by name params
func (*GetWorkspaceByNameParams) WithName ¶
func (o *GetWorkspaceByNameParams) WithName(name string) *GetWorkspaceByNameParams
WithName adds the name to the get workspace by name params
func (*GetWorkspaceByNameParams) WithTimeout ¶
func (o *GetWorkspaceByNameParams) WithTimeout(timeout time.Duration) *GetWorkspaceByNameParams
WithTimeout adds the timeout to the get workspace by name params
func (*GetWorkspaceByNameParams) WriteToRequest ¶
func (o *GetWorkspaceByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetWorkspaceByNameReader ¶
type GetWorkspaceByNameReader struct {
// contains filtered or unexported fields
}
GetWorkspaceByNameReader is a Reader for the GetWorkspaceByName structure.
func (*GetWorkspaceByNameReader) ReadResponse ¶
func (o *GetWorkspaceByNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetWorkspacesOK ¶
type GetWorkspacesOK struct {
Payload []*models_cloudbreak.WorkspaceResponse
}
GetWorkspacesOK handles this case with default header values.
successful operation
func NewGetWorkspacesOK ¶
func NewGetWorkspacesOK() *GetWorkspacesOK
NewGetWorkspacesOK creates a GetWorkspacesOK with default headers values
func (*GetWorkspacesOK) Error ¶
func (o *GetWorkspacesOK) Error() string
type GetWorkspacesParams ¶
type GetWorkspacesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetWorkspacesParams contains all the parameters to send to the API endpoint for the get workspaces operation typically these are written to a http.Request
func NewGetWorkspacesParams ¶
func NewGetWorkspacesParams() *GetWorkspacesParams
NewGetWorkspacesParams creates a new GetWorkspacesParams object with the default values initialized.
func NewGetWorkspacesParamsWithContext ¶
func NewGetWorkspacesParamsWithContext(ctx context.Context) *GetWorkspacesParams
NewGetWorkspacesParamsWithContext creates a new GetWorkspacesParams object with the default values initialized, and the ability to set a context for a request
func NewGetWorkspacesParamsWithHTTPClient ¶
func NewGetWorkspacesParamsWithHTTPClient(client *http.Client) *GetWorkspacesParams
NewGetWorkspacesParamsWithHTTPClient creates a new GetWorkspacesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetWorkspacesParamsWithTimeout ¶
func NewGetWorkspacesParamsWithTimeout(timeout time.Duration) *GetWorkspacesParams
NewGetWorkspacesParamsWithTimeout creates a new GetWorkspacesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetWorkspacesParams) SetContext ¶
func (o *GetWorkspacesParams) SetContext(ctx context.Context)
SetContext adds the context to the get workspaces params
func (*GetWorkspacesParams) SetHTTPClient ¶
func (o *GetWorkspacesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get workspaces params
func (*GetWorkspacesParams) SetTimeout ¶
func (o *GetWorkspacesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get workspaces params
func (*GetWorkspacesParams) WithContext ¶
func (o *GetWorkspacesParams) WithContext(ctx context.Context) *GetWorkspacesParams
WithContext adds the context to the get workspaces params
func (*GetWorkspacesParams) WithHTTPClient ¶
func (o *GetWorkspacesParams) WithHTTPClient(client *http.Client) *GetWorkspacesParams
WithHTTPClient adds the HTTPClient to the get workspaces params
func (*GetWorkspacesParams) WithTimeout ¶
func (o *GetWorkspacesParams) WithTimeout(timeout time.Duration) *GetWorkspacesParams
WithTimeout adds the timeout to the get workspaces params
func (*GetWorkspacesParams) WriteToRequest ¶
func (o *GetWorkspacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetWorkspacesReader ¶
type GetWorkspacesReader struct {
// contains filtered or unexported fields
}
GetWorkspacesReader is a Reader for the GetWorkspaces structure.
func (*GetWorkspacesReader) ReadResponse ¶
func (o *GetWorkspacesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveWorkspaceUsersOK ¶
type RemoveWorkspaceUsersOK struct {
Payload []*models_cloudbreak.UserResponseJSON
}
RemoveWorkspaceUsersOK handles this case with default header values.
successful operation
func NewRemoveWorkspaceUsersOK ¶
func NewRemoveWorkspaceUsersOK() *RemoveWorkspaceUsersOK
NewRemoveWorkspaceUsersOK creates a RemoveWorkspaceUsersOK with default headers values
func (*RemoveWorkspaceUsersOK) Error ¶
func (o *RemoveWorkspaceUsersOK) Error() string
type RemoveWorkspaceUsersParams ¶
type RemoveWorkspaceUsersParams struct { /*Body*/ Body []string /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveWorkspaceUsersParams contains all the parameters to send to the API endpoint for the remove workspace users operation typically these are written to a http.Request
func NewRemoveWorkspaceUsersParams ¶
func NewRemoveWorkspaceUsersParams() *RemoveWorkspaceUsersParams
NewRemoveWorkspaceUsersParams creates a new RemoveWorkspaceUsersParams object with the default values initialized.
func NewRemoveWorkspaceUsersParamsWithContext ¶
func NewRemoveWorkspaceUsersParamsWithContext(ctx context.Context) *RemoveWorkspaceUsersParams
NewRemoveWorkspaceUsersParamsWithContext creates a new RemoveWorkspaceUsersParams object with the default values initialized, and the ability to set a context for a request
func NewRemoveWorkspaceUsersParamsWithHTTPClient ¶
func NewRemoveWorkspaceUsersParamsWithHTTPClient(client *http.Client) *RemoveWorkspaceUsersParams
NewRemoveWorkspaceUsersParamsWithHTTPClient creates a new RemoveWorkspaceUsersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRemoveWorkspaceUsersParamsWithTimeout ¶
func NewRemoveWorkspaceUsersParamsWithTimeout(timeout time.Duration) *RemoveWorkspaceUsersParams
NewRemoveWorkspaceUsersParamsWithTimeout creates a new RemoveWorkspaceUsersParams object with the default values initialized, and the ability to set a timeout on a request
func (*RemoveWorkspaceUsersParams) SetBody ¶
func (o *RemoveWorkspaceUsersParams) SetBody(body []string)
SetBody adds the body to the remove workspace users params
func (*RemoveWorkspaceUsersParams) SetContext ¶
func (o *RemoveWorkspaceUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the remove workspace users params
func (*RemoveWorkspaceUsersParams) SetHTTPClient ¶
func (o *RemoveWorkspaceUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove workspace users params
func (*RemoveWorkspaceUsersParams) SetName ¶
func (o *RemoveWorkspaceUsersParams) SetName(name string)
SetName adds the name to the remove workspace users params
func (*RemoveWorkspaceUsersParams) SetTimeout ¶
func (o *RemoveWorkspaceUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove workspace users params
func (*RemoveWorkspaceUsersParams) WithBody ¶
func (o *RemoveWorkspaceUsersParams) WithBody(body []string) *RemoveWorkspaceUsersParams
WithBody adds the body to the remove workspace users params
func (*RemoveWorkspaceUsersParams) WithContext ¶
func (o *RemoveWorkspaceUsersParams) WithContext(ctx context.Context) *RemoveWorkspaceUsersParams
WithContext adds the context to the remove workspace users params
func (*RemoveWorkspaceUsersParams) WithHTTPClient ¶
func (o *RemoveWorkspaceUsersParams) WithHTTPClient(client *http.Client) *RemoveWorkspaceUsersParams
WithHTTPClient adds the HTTPClient to the remove workspace users params
func (*RemoveWorkspaceUsersParams) WithName ¶
func (o *RemoveWorkspaceUsersParams) WithName(name string) *RemoveWorkspaceUsersParams
WithName adds the name to the remove workspace users params
func (*RemoveWorkspaceUsersParams) WithTimeout ¶
func (o *RemoveWorkspaceUsersParams) WithTimeout(timeout time.Duration) *RemoveWorkspaceUsersParams
WithTimeout adds the timeout to the remove workspace users params
func (*RemoveWorkspaceUsersParams) WriteToRequest ¶
func (o *RemoveWorkspaceUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveWorkspaceUsersReader ¶
type RemoveWorkspaceUsersReader struct {
// contains filtered or unexported fields
}
RemoveWorkspaceUsersReader is a Reader for the RemoveWorkspaceUsers structure.
func (*RemoveWorkspaceUsersReader) ReadResponse ¶
func (o *RemoveWorkspaceUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateWorkspaceUsersOK ¶
type UpdateWorkspaceUsersOK struct {
Payload []*models_cloudbreak.UserResponseJSON
}
UpdateWorkspaceUsersOK handles this case with default header values.
successful operation
func NewUpdateWorkspaceUsersOK ¶
func NewUpdateWorkspaceUsersOK() *UpdateWorkspaceUsersOK
NewUpdateWorkspaceUsersOK creates a UpdateWorkspaceUsersOK with default headers values
func (*UpdateWorkspaceUsersOK) Error ¶
func (o *UpdateWorkspaceUsersOK) Error() string
type UpdateWorkspaceUsersParams ¶
type UpdateWorkspaceUsersParams struct { /*Body*/ Body []*models_cloudbreak.ChangeWorkspaceUsersJSON /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateWorkspaceUsersParams contains all the parameters to send to the API endpoint for the update workspace users operation typically these are written to a http.Request
func NewUpdateWorkspaceUsersParams ¶
func NewUpdateWorkspaceUsersParams() *UpdateWorkspaceUsersParams
NewUpdateWorkspaceUsersParams creates a new UpdateWorkspaceUsersParams object with the default values initialized.
func NewUpdateWorkspaceUsersParamsWithContext ¶
func NewUpdateWorkspaceUsersParamsWithContext(ctx context.Context) *UpdateWorkspaceUsersParams
NewUpdateWorkspaceUsersParamsWithContext creates a new UpdateWorkspaceUsersParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateWorkspaceUsersParamsWithHTTPClient ¶
func NewUpdateWorkspaceUsersParamsWithHTTPClient(client *http.Client) *UpdateWorkspaceUsersParams
NewUpdateWorkspaceUsersParamsWithHTTPClient creates a new UpdateWorkspaceUsersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateWorkspaceUsersParamsWithTimeout ¶
func NewUpdateWorkspaceUsersParamsWithTimeout(timeout time.Duration) *UpdateWorkspaceUsersParams
NewUpdateWorkspaceUsersParamsWithTimeout creates a new UpdateWorkspaceUsersParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateWorkspaceUsersParams) SetBody ¶
func (o *UpdateWorkspaceUsersParams) SetBody(body []*models_cloudbreak.ChangeWorkspaceUsersJSON)
SetBody adds the body to the update workspace users params
func (*UpdateWorkspaceUsersParams) SetContext ¶
func (o *UpdateWorkspaceUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the update workspace users params
func (*UpdateWorkspaceUsersParams) SetHTTPClient ¶
func (o *UpdateWorkspaceUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update workspace users params
func (*UpdateWorkspaceUsersParams) SetName ¶
func (o *UpdateWorkspaceUsersParams) SetName(name string)
SetName adds the name to the update workspace users params
func (*UpdateWorkspaceUsersParams) SetTimeout ¶
func (o *UpdateWorkspaceUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update workspace users params
func (*UpdateWorkspaceUsersParams) WithBody ¶
func (o *UpdateWorkspaceUsersParams) WithBody(body []*models_cloudbreak.ChangeWorkspaceUsersJSON) *UpdateWorkspaceUsersParams
WithBody adds the body to the update workspace users params
func (*UpdateWorkspaceUsersParams) WithContext ¶
func (o *UpdateWorkspaceUsersParams) WithContext(ctx context.Context) *UpdateWorkspaceUsersParams
WithContext adds the context to the update workspace users params
func (*UpdateWorkspaceUsersParams) WithHTTPClient ¶
func (o *UpdateWorkspaceUsersParams) WithHTTPClient(client *http.Client) *UpdateWorkspaceUsersParams
WithHTTPClient adds the HTTPClient to the update workspace users params
func (*UpdateWorkspaceUsersParams) WithName ¶
func (o *UpdateWorkspaceUsersParams) WithName(name string) *UpdateWorkspaceUsersParams
WithName adds the name to the update workspace users params
func (*UpdateWorkspaceUsersParams) WithTimeout ¶
func (o *UpdateWorkspaceUsersParams) WithTimeout(timeout time.Duration) *UpdateWorkspaceUsersParams
WithTimeout adds the timeout to the update workspace users params
func (*UpdateWorkspaceUsersParams) WriteToRequest ¶
func (o *UpdateWorkspaceUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateWorkspaceUsersReader ¶
type UpdateWorkspaceUsersReader struct {
// contains filtered or unexported fields
}
UpdateWorkspaceUsersReader is a Reader for the UpdateWorkspaceUsers structure.
func (*UpdateWorkspaceUsersReader) ReadResponse ¶
func (o *UpdateWorkspaceUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- add_workspace_users_parameters.go
- add_workspace_users_responses.go
- change_workspace_users_parameters.go
- change_workspace_users_responses.go
- create_workspace_parameters.go
- create_workspace_responses.go
- delete_workspace_by_name_parameters.go
- delete_workspace_by_name_responses.go
- get_workspace_by_name_parameters.go
- get_workspace_by_name_responses.go
- get_workspaces_parameters.go
- get_workspaces_responses.go
- remove_workspace_users_parameters.go
- remove_workspace_users_responses.go
- update_workspace_users_parameters.go
- update_workspace_users_responses.go
- v3workspaces_client.go