v3_workspace_id_users

package
v2.8.1-rc.25+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for v3 workspace id users API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new v3 workspace id users API client.

func (*Client) GetUserProfileInWorkspace

func (a *Client) GetUserProfileInWorkspace(params *GetUserProfileInWorkspaceParams) (*GetUserProfileInWorkspaceOK, error)

GetUserProfileInWorkspace users related profile in workspace

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

func (a *Client) ModifyUserProfileInWorkspace(params *ModifyUserProfileInWorkspaceParams) error

ModifyUserProfileInWorkspace modifies user related profile in workspace

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 GetUserProfileInWorkspaceOK

type GetUserProfileInWorkspaceOK struct {
	Payload *models_cloudbreak.UserProfileResponse
}

GetUserProfileInWorkspaceOK handles this case with default header values.

successful operation

func NewGetUserProfileInWorkspaceOK

func NewGetUserProfileInWorkspaceOK() *GetUserProfileInWorkspaceOK

NewGetUserProfileInWorkspaceOK creates a GetUserProfileInWorkspaceOK with default headers values

func (*GetUserProfileInWorkspaceOK) Error

type GetUserProfileInWorkspaceParams

type GetUserProfileInWorkspaceParams struct {

	/*WorkspaceID*/
	WorkspaceID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetUserProfileInWorkspaceParams contains all the parameters to send to the API endpoint for the get user profile in workspace operation typically these are written to a http.Request

func NewGetUserProfileInWorkspaceParams

func NewGetUserProfileInWorkspaceParams() *GetUserProfileInWorkspaceParams

NewGetUserProfileInWorkspaceParams creates a new GetUserProfileInWorkspaceParams object with the default values initialized.

func NewGetUserProfileInWorkspaceParamsWithContext

func NewGetUserProfileInWorkspaceParamsWithContext(ctx context.Context) *GetUserProfileInWorkspaceParams

NewGetUserProfileInWorkspaceParamsWithContext creates a new GetUserProfileInWorkspaceParams object with the default values initialized, and the ability to set a context for a request

func NewGetUserProfileInWorkspaceParamsWithHTTPClient

func NewGetUserProfileInWorkspaceParamsWithHTTPClient(client *http.Client) *GetUserProfileInWorkspaceParams

NewGetUserProfileInWorkspaceParamsWithHTTPClient creates a new GetUserProfileInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetUserProfileInWorkspaceParamsWithTimeout

func NewGetUserProfileInWorkspaceParamsWithTimeout(timeout time.Duration) *GetUserProfileInWorkspaceParams

NewGetUserProfileInWorkspaceParamsWithTimeout creates a new GetUserProfileInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetUserProfileInWorkspaceParams) SetContext

func (o *GetUserProfileInWorkspaceParams) SetContext(ctx context.Context)

SetContext adds the context to the get user profile in workspace params

func (*GetUserProfileInWorkspaceParams) SetHTTPClient

func (o *GetUserProfileInWorkspaceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get user profile in workspace params

func (*GetUserProfileInWorkspaceParams) SetTimeout

func (o *GetUserProfileInWorkspaceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get user profile in workspace params

func (*GetUserProfileInWorkspaceParams) SetWorkspaceID

func (o *GetUserProfileInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the get user profile in workspace params

func (*GetUserProfileInWorkspaceParams) WithContext

WithContext adds the context to the get user profile in workspace params

func (*GetUserProfileInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get user profile in workspace params

func (*GetUserProfileInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the get user profile in workspace params

func (*GetUserProfileInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the get user profile in workspace params

func (*GetUserProfileInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserProfileInWorkspaceReader

type GetUserProfileInWorkspaceReader struct {
	// contains filtered or unexported fields
}

GetUserProfileInWorkspaceReader is a Reader for the GetUserProfileInWorkspace structure.

func (*GetUserProfileInWorkspaceReader) ReadResponse

func (o *GetUserProfileInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ModifyUserProfileInWorkspaceDefault

type ModifyUserProfileInWorkspaceDefault struct {
	// contains filtered or unexported fields
}

ModifyUserProfileInWorkspaceDefault handles this case with default header values.

successful operation

func NewModifyUserProfileInWorkspaceDefault

func NewModifyUserProfileInWorkspaceDefault(code int) *ModifyUserProfileInWorkspaceDefault

NewModifyUserProfileInWorkspaceDefault creates a ModifyUserProfileInWorkspaceDefault with default headers values

func (*ModifyUserProfileInWorkspaceDefault) Code

Code gets the status code for the modify user profile in workspace default response

func (*ModifyUserProfileInWorkspaceDefault) Error

type ModifyUserProfileInWorkspaceParams

type ModifyUserProfileInWorkspaceParams struct {

	/*Body*/
	Body *models_cloudbreak.UserProfileRequest
	/*WorkspaceID*/
	WorkspaceID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ModifyUserProfileInWorkspaceParams contains all the parameters to send to the API endpoint for the modify user profile in workspace operation typically these are written to a http.Request

func NewModifyUserProfileInWorkspaceParams

func NewModifyUserProfileInWorkspaceParams() *ModifyUserProfileInWorkspaceParams

NewModifyUserProfileInWorkspaceParams creates a new ModifyUserProfileInWorkspaceParams object with the default values initialized.

func NewModifyUserProfileInWorkspaceParamsWithContext

func NewModifyUserProfileInWorkspaceParamsWithContext(ctx context.Context) *ModifyUserProfileInWorkspaceParams

NewModifyUserProfileInWorkspaceParamsWithContext creates a new ModifyUserProfileInWorkspaceParams object with the default values initialized, and the ability to set a context for a request

func NewModifyUserProfileInWorkspaceParamsWithHTTPClient

func NewModifyUserProfileInWorkspaceParamsWithHTTPClient(client *http.Client) *ModifyUserProfileInWorkspaceParams

NewModifyUserProfileInWorkspaceParamsWithHTTPClient creates a new ModifyUserProfileInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewModifyUserProfileInWorkspaceParamsWithTimeout

func NewModifyUserProfileInWorkspaceParamsWithTimeout(timeout time.Duration) *ModifyUserProfileInWorkspaceParams

NewModifyUserProfileInWorkspaceParamsWithTimeout creates a new ModifyUserProfileInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request

func (*ModifyUserProfileInWorkspaceParams) SetBody

SetBody adds the body to the modify user profile in workspace params

func (*ModifyUserProfileInWorkspaceParams) SetContext

SetContext adds the context to the modify user profile in workspace params

func (*ModifyUserProfileInWorkspaceParams) SetHTTPClient

func (o *ModifyUserProfileInWorkspaceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the modify user profile in workspace params

func (*ModifyUserProfileInWorkspaceParams) SetTimeout

func (o *ModifyUserProfileInWorkspaceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the modify user profile in workspace params

func (*ModifyUserProfileInWorkspaceParams) SetWorkspaceID

func (o *ModifyUserProfileInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the modify user profile in workspace params

func (*ModifyUserProfileInWorkspaceParams) WithBody

WithBody adds the body to the modify user profile in workspace params

func (*ModifyUserProfileInWorkspaceParams) WithContext

WithContext adds the context to the modify user profile in workspace params

func (*ModifyUserProfileInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the modify user profile in workspace params

func (*ModifyUserProfileInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the modify user profile in workspace params

func (*ModifyUserProfileInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the modify user profile in workspace params

func (*ModifyUserProfileInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ModifyUserProfileInWorkspaceReader

type ModifyUserProfileInWorkspaceReader struct {
	// contains filtered or unexported fields
}

ModifyUserProfileInWorkspaceReader is a Reader for the ModifyUserProfileInWorkspace structure.

func (*ModifyUserProfileInWorkspaceReader) ReadResponse

func (o *ModifyUserProfileInWorkspaceReader) 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