v3workspaces

package
v2.9.0-dev.76+incompat... Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2018 License: Apache-2.0, BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

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

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

WithBody adds the body to the add workspace users params

func (*AddWorkspaceUsersParams) WithContext

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

WithName adds the name to the add workspace users params

func (*AddWorkspaceUsersParams) WithTimeout

WithTimeout adds the timeout to the add workspace users params

func (*AddWorkspaceUsersParams) WriteToRequest

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

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

WithBody adds the body to the change workspace users params

func (*ChangeWorkspaceUsersParams) WithContext

WithContext adds the context to the change workspace users params

func (*ChangeWorkspaceUsersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the change workspace users params

func (*ChangeWorkspaceUsersParams) WithName

WithName adds the name to the change workspace users params

func (*ChangeWorkspaceUsersParams) WithTimeout

WithTimeout adds the timeout to the change workspace users params

func (*ChangeWorkspaceUsersParams) WriteToRequest

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

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

WithBody adds the body to the create workspace params

func (*CreateWorkspaceParams) WithContext

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

WithContext adds the context to the delete workspace by name params

func (*DeleteWorkspaceByNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete workspace by name params

func (*DeleteWorkspaceByNameParams) WithName

WithName adds the name to the delete workspace by name params

func (*DeleteWorkspaceByNameParams) WithTimeout

WithTimeout adds the timeout to the delete workspace by name params

func (*DeleteWorkspaceByNameParams) WriteToRequest

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

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

WithName adds the name to the get workspace by name params

func (*GetWorkspaceByNameParams) WithTimeout

WithTimeout adds the timeout to the get workspace by name params

func (*GetWorkspaceByNameParams) WriteToRequest

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

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

WithBody adds the body to the remove workspace users params

func (*RemoveWorkspaceUsersParams) WithContext

WithContext adds the context to the remove workspace users params

func (*RemoveWorkspaceUsersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the remove workspace users params

func (*RemoveWorkspaceUsersParams) WithName

WithName adds the name to the remove workspace users params

func (*RemoveWorkspaceUsersParams) WithTimeout

WithTimeout adds the timeout to the remove workspace users params

func (*RemoveWorkspaceUsersParams) WriteToRequest

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

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

WithBody adds the body to the update workspace users params

func (*UpdateWorkspaceUsersParams) WithContext

WithContext adds the context to the update workspace users params

func (*UpdateWorkspaceUsersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update workspace users params

func (*UpdateWorkspaceUsersParams) WithName

WithName adds the name to the update workspace users params

func (*UpdateWorkspaceUsersParams) WithTimeout

WithTimeout adds the timeout to the update workspace users params

func (*UpdateWorkspaceUsersParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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