v3organizations

package
v2.8.0-rc.38+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 31, 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 AddOrganizationUsersOK

type AddOrganizationUsersOK struct {
	Payload []*models_cloudbreak.UserResponseJSON
}

AddOrganizationUsersOK handles this case with default header values.

successful operation

func NewAddOrganizationUsersOK

func NewAddOrganizationUsersOK() *AddOrganizationUsersOK

NewAddOrganizationUsersOK creates a AddOrganizationUsersOK with default headers values

func (*AddOrganizationUsersOK) Error

func (o *AddOrganizationUsersOK) Error() string

type AddOrganizationUsersParams

type AddOrganizationUsersParams struct {

	/*Body*/
	Body []*models_cloudbreak.ChangeOrganizationUsersJSON
	/*Name*/
	Name string

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

AddOrganizationUsersParams contains all the parameters to send to the API endpoint for the add organization users operation typically these are written to a http.Request

func NewAddOrganizationUsersParams

func NewAddOrganizationUsersParams() *AddOrganizationUsersParams

NewAddOrganizationUsersParams creates a new AddOrganizationUsersParams object with the default values initialized.

func NewAddOrganizationUsersParamsWithContext

func NewAddOrganizationUsersParamsWithContext(ctx context.Context) *AddOrganizationUsersParams

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

func NewAddOrganizationUsersParamsWithHTTPClient

func NewAddOrganizationUsersParamsWithHTTPClient(client *http.Client) *AddOrganizationUsersParams

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

func NewAddOrganizationUsersParamsWithTimeout

func NewAddOrganizationUsersParamsWithTimeout(timeout time.Duration) *AddOrganizationUsersParams

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

func (*AddOrganizationUsersParams) SetBody

SetBody adds the body to the add organization users params

func (*AddOrganizationUsersParams) SetContext

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

SetContext adds the context to the add organization users params

func (*AddOrganizationUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add organization users params

func (*AddOrganizationUsersParams) SetName

func (o *AddOrganizationUsersParams) SetName(name string)

SetName adds the name to the add organization users params

func (*AddOrganizationUsersParams) SetTimeout

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

SetTimeout adds the timeout to the add organization users params

func (*AddOrganizationUsersParams) WithBody

WithBody adds the body to the add organization users params

func (*AddOrganizationUsersParams) WithContext

WithContext adds the context to the add organization users params

func (*AddOrganizationUsersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the add organization users params

func (*AddOrganizationUsersParams) WithName

WithName adds the name to the add organization users params

func (*AddOrganizationUsersParams) WithTimeout

WithTimeout adds the timeout to the add organization users params

func (*AddOrganizationUsersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddOrganizationUsersReader

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

AddOrganizationUsersReader is a Reader for the AddOrganizationUsers structure.

func (*AddOrganizationUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChangeOrganizationUsersOK

type ChangeOrganizationUsersOK struct {
	Payload []*models_cloudbreak.UserResponseJSON
}

ChangeOrganizationUsersOK handles this case with default header values.

successful operation

func NewChangeOrganizationUsersOK

func NewChangeOrganizationUsersOK() *ChangeOrganizationUsersOK

NewChangeOrganizationUsersOK creates a ChangeOrganizationUsersOK with default headers values

func (*ChangeOrganizationUsersOK) Error

func (o *ChangeOrganizationUsersOK) Error() string

type ChangeOrganizationUsersParams

type ChangeOrganizationUsersParams struct {

	/*Body*/
	Body []*models_cloudbreak.ChangeOrganizationUsersJSON
	/*Name*/
	Name string

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

ChangeOrganizationUsersParams contains all the parameters to send to the API endpoint for the change organization users operation typically these are written to a http.Request

func NewChangeOrganizationUsersParams

func NewChangeOrganizationUsersParams() *ChangeOrganizationUsersParams

NewChangeOrganizationUsersParams creates a new ChangeOrganizationUsersParams object with the default values initialized.

func NewChangeOrganizationUsersParamsWithContext

func NewChangeOrganizationUsersParamsWithContext(ctx context.Context) *ChangeOrganizationUsersParams

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

func NewChangeOrganizationUsersParamsWithHTTPClient

func NewChangeOrganizationUsersParamsWithHTTPClient(client *http.Client) *ChangeOrganizationUsersParams

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

func NewChangeOrganizationUsersParamsWithTimeout

func NewChangeOrganizationUsersParamsWithTimeout(timeout time.Duration) *ChangeOrganizationUsersParams

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

func (*ChangeOrganizationUsersParams) SetBody

SetBody adds the body to the change organization users params

func (*ChangeOrganizationUsersParams) SetContext

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

SetContext adds the context to the change organization users params

func (*ChangeOrganizationUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the change organization users params

func (*ChangeOrganizationUsersParams) SetName

func (o *ChangeOrganizationUsersParams) SetName(name string)

SetName adds the name to the change organization users params

func (*ChangeOrganizationUsersParams) SetTimeout

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

SetTimeout adds the timeout to the change organization users params

func (*ChangeOrganizationUsersParams) WithBody

WithBody adds the body to the change organization users params

func (*ChangeOrganizationUsersParams) WithContext

WithContext adds the context to the change organization users params

func (*ChangeOrganizationUsersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the change organization users params

func (*ChangeOrganizationUsersParams) WithName

WithName adds the name to the change organization users params

func (*ChangeOrganizationUsersParams) WithTimeout

WithTimeout adds the timeout to the change organization users params

func (*ChangeOrganizationUsersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChangeOrganizationUsersReader

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

ChangeOrganizationUsersReader is a Reader for the ChangeOrganizationUsers structure.

func (*ChangeOrganizationUsersReader) ReadResponse

func (o *ChangeOrganizationUsersReader) 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 v3organizations API

func New

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

New creates a new v3organizations API client.

func (*Client) AddOrganizationUsers

func (a *Client) AddOrganizationUsers(params *AddOrganizationUsersParams) (*AddOrganizationUsersOK, error)

AddOrganizationUsers adds users to the given organization

Organizations are a way of grouping resources, organization owners can add users to their organizations with different permission sets

func (*Client) ChangeOrganizationUsers

func (a *Client) ChangeOrganizationUsers(params *ChangeOrganizationUsersParams) (*ChangeOrganizationUsersOK, error)

ChangeOrganizationUsers changes users and their permissions in the organization

Organizations are a way of grouping resources, organization owners can add users to their organizations with different permission sets

func (*Client) CreateOrganization

func (a *Client) CreateOrganization(params *CreateOrganizationParams) (*CreateOrganizationOK, error)

CreateOrganization creates an organization

Organizations are a way of grouping resources, organization owners can add users to their organizations with different permission sets

func (*Client) DeleteOrganizationByName

func (a *Client) DeleteOrganizationByName(params *DeleteOrganizationByNameParams) (*DeleteOrganizationByNameOK, error)

DeleteOrganizationByName deletes an organization by name

Organizations are a way of grouping resources, organization owners can add users to their organizations with different permission sets

func (*Client) GetOrganizationByName

func (a *Client) GetOrganizationByName(params *GetOrganizationByNameParams) (*GetOrganizationByNameOK, error)

GetOrganizationByName retrieves an organization by name

Organizations are a way of grouping resources, organization owners can add users to their organizations with different permission sets

func (*Client) GetOrganizations

func (a *Client) GetOrganizations(params *GetOrganizationsParams) (*GetOrganizationsOK, error)

GetOrganizations retrieves organizations

Organizations are a way of grouping resources, organization owners can add users to their organizations with different permission sets

func (*Client) RemoveOrganizationUsers

func (a *Client) RemoveOrganizationUsers(params *RemoveOrganizationUsersParams) (*RemoveOrganizationUsersOK, error)

RemoveOrganizationUsers removes users from the given organization by their user ids

Organizations are a way of grouping resources, organization owners can add users to their organizations with different permission sets

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateOrganizationUsers

func (a *Client) UpdateOrganizationUsers(params *UpdateOrganizationUsersParams) (*UpdateOrganizationUsersOK, error)

UpdateOrganizationUsers updates the users permissions in the given organization

Organizations are a way of grouping resources, organization owners can add users to their organizations with different permission sets

type CreateOrganizationOK

type CreateOrganizationOK struct {
	Payload *models_cloudbreak.OrganizationResponse
}

CreateOrganizationOK handles this case with default header values.

successful operation

func NewCreateOrganizationOK

func NewCreateOrganizationOK() *CreateOrganizationOK

NewCreateOrganizationOK creates a CreateOrganizationOK with default headers values

func (*CreateOrganizationOK) Error

func (o *CreateOrganizationOK) Error() string

type CreateOrganizationParams

type CreateOrganizationParams struct {

	/*Body*/
	Body *models_cloudbreak.OrganizationRequest

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

CreateOrganizationParams contains all the parameters to send to the API endpoint for the create organization operation typically these are written to a http.Request

func NewCreateOrganizationParams

func NewCreateOrganizationParams() *CreateOrganizationParams

NewCreateOrganizationParams creates a new CreateOrganizationParams object with the default values initialized.

func NewCreateOrganizationParamsWithContext

func NewCreateOrganizationParamsWithContext(ctx context.Context) *CreateOrganizationParams

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

func NewCreateOrganizationParamsWithHTTPClient

func NewCreateOrganizationParamsWithHTTPClient(client *http.Client) *CreateOrganizationParams

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

func NewCreateOrganizationParamsWithTimeout

func NewCreateOrganizationParamsWithTimeout(timeout time.Duration) *CreateOrganizationParams

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

func (*CreateOrganizationParams) SetBody

SetBody adds the body to the create organization params

func (*CreateOrganizationParams) SetContext

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

SetContext adds the context to the create organization params

func (*CreateOrganizationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create organization params

func (*CreateOrganizationParams) SetTimeout

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

SetTimeout adds the timeout to the create organization params

func (*CreateOrganizationParams) WithBody

WithBody adds the body to the create organization params

func (*CreateOrganizationParams) WithContext

WithContext adds the context to the create organization params

func (*CreateOrganizationParams) WithHTTPClient

func (o *CreateOrganizationParams) WithHTTPClient(client *http.Client) *CreateOrganizationParams

WithHTTPClient adds the HTTPClient to the create organization params

func (*CreateOrganizationParams) WithTimeout

WithTimeout adds the timeout to the create organization params

func (*CreateOrganizationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateOrganizationReader

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

CreateOrganizationReader is a Reader for the CreateOrganization structure.

func (*CreateOrganizationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteOrganizationByNameOK

type DeleteOrganizationByNameOK struct {
	Payload *models_cloudbreak.OrganizationResponse
}

DeleteOrganizationByNameOK handles this case with default header values.

successful operation

func NewDeleteOrganizationByNameOK

func NewDeleteOrganizationByNameOK() *DeleteOrganizationByNameOK

NewDeleteOrganizationByNameOK creates a DeleteOrganizationByNameOK with default headers values

func (*DeleteOrganizationByNameOK) Error

type DeleteOrganizationByNameParams

type DeleteOrganizationByNameParams struct {

	/*Name*/
	Name string

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

DeleteOrganizationByNameParams contains all the parameters to send to the API endpoint for the delete organization by name operation typically these are written to a http.Request

func NewDeleteOrganizationByNameParams

func NewDeleteOrganizationByNameParams() *DeleteOrganizationByNameParams

NewDeleteOrganizationByNameParams creates a new DeleteOrganizationByNameParams object with the default values initialized.

func NewDeleteOrganizationByNameParamsWithContext

func NewDeleteOrganizationByNameParamsWithContext(ctx context.Context) *DeleteOrganizationByNameParams

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

func NewDeleteOrganizationByNameParamsWithHTTPClient

func NewDeleteOrganizationByNameParamsWithHTTPClient(client *http.Client) *DeleteOrganizationByNameParams

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

func NewDeleteOrganizationByNameParamsWithTimeout

func NewDeleteOrganizationByNameParamsWithTimeout(timeout time.Duration) *DeleteOrganizationByNameParams

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

func (*DeleteOrganizationByNameParams) SetContext

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

SetContext adds the context to the delete organization by name params

func (*DeleteOrganizationByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete organization by name params

func (*DeleteOrganizationByNameParams) SetName

func (o *DeleteOrganizationByNameParams) SetName(name string)

SetName adds the name to the delete organization by name params

func (*DeleteOrganizationByNameParams) SetTimeout

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

SetTimeout adds the timeout to the delete organization by name params

func (*DeleteOrganizationByNameParams) WithContext

WithContext adds the context to the delete organization by name params

func (*DeleteOrganizationByNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete organization by name params

func (*DeleteOrganizationByNameParams) WithName

WithName adds the name to the delete organization by name params

func (*DeleteOrganizationByNameParams) WithTimeout

WithTimeout adds the timeout to the delete organization by name params

func (*DeleteOrganizationByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteOrganizationByNameReader

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

DeleteOrganizationByNameReader is a Reader for the DeleteOrganizationByName structure.

func (*DeleteOrganizationByNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrganizationByNameOK

type GetOrganizationByNameOK struct {
	Payload *models_cloudbreak.OrganizationResponse
}

GetOrganizationByNameOK handles this case with default header values.

successful operation

func NewGetOrganizationByNameOK

func NewGetOrganizationByNameOK() *GetOrganizationByNameOK

NewGetOrganizationByNameOK creates a GetOrganizationByNameOK with default headers values

func (*GetOrganizationByNameOK) Error

func (o *GetOrganizationByNameOK) Error() string

type GetOrganizationByNameParams

type GetOrganizationByNameParams struct {

	/*Name*/
	Name string

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

GetOrganizationByNameParams contains all the parameters to send to the API endpoint for the get organization by name operation typically these are written to a http.Request

func NewGetOrganizationByNameParams

func NewGetOrganizationByNameParams() *GetOrganizationByNameParams

NewGetOrganizationByNameParams creates a new GetOrganizationByNameParams object with the default values initialized.

func NewGetOrganizationByNameParamsWithContext

func NewGetOrganizationByNameParamsWithContext(ctx context.Context) *GetOrganizationByNameParams

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

func NewGetOrganizationByNameParamsWithHTTPClient

func NewGetOrganizationByNameParamsWithHTTPClient(client *http.Client) *GetOrganizationByNameParams

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

func NewGetOrganizationByNameParamsWithTimeout

func NewGetOrganizationByNameParamsWithTimeout(timeout time.Duration) *GetOrganizationByNameParams

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

func (*GetOrganizationByNameParams) SetContext

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

SetContext adds the context to the get organization by name params

func (*GetOrganizationByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get organization by name params

func (*GetOrganizationByNameParams) SetName

func (o *GetOrganizationByNameParams) SetName(name string)

SetName adds the name to the get organization by name params

func (*GetOrganizationByNameParams) SetTimeout

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

SetTimeout adds the timeout to the get organization by name params

func (*GetOrganizationByNameParams) WithContext

WithContext adds the context to the get organization by name params

func (*GetOrganizationByNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get organization by name params

func (*GetOrganizationByNameParams) WithName

WithName adds the name to the get organization by name params

func (*GetOrganizationByNameParams) WithTimeout

WithTimeout adds the timeout to the get organization by name params

func (*GetOrganizationByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOrganizationByNameReader

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

GetOrganizationByNameReader is a Reader for the GetOrganizationByName structure.

func (*GetOrganizationByNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrganizationsOK

type GetOrganizationsOK struct {
	Payload []*models_cloudbreak.OrganizationResponse
}

GetOrganizationsOK handles this case with default header values.

successful operation

func NewGetOrganizationsOK

func NewGetOrganizationsOK() *GetOrganizationsOK

NewGetOrganizationsOK creates a GetOrganizationsOK with default headers values

func (*GetOrganizationsOK) Error

func (o *GetOrganizationsOK) Error() string

type GetOrganizationsParams

type GetOrganizationsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetOrganizationsParams contains all the parameters to send to the API endpoint for the get organizations operation typically these are written to a http.Request

func NewGetOrganizationsParams

func NewGetOrganizationsParams() *GetOrganizationsParams

NewGetOrganizationsParams creates a new GetOrganizationsParams object with the default values initialized.

func NewGetOrganizationsParamsWithContext

func NewGetOrganizationsParamsWithContext(ctx context.Context) *GetOrganizationsParams

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

func NewGetOrganizationsParamsWithHTTPClient

func NewGetOrganizationsParamsWithHTTPClient(client *http.Client) *GetOrganizationsParams

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

func NewGetOrganizationsParamsWithTimeout

func NewGetOrganizationsParamsWithTimeout(timeout time.Duration) *GetOrganizationsParams

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

func (*GetOrganizationsParams) SetContext

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

SetContext adds the context to the get organizations params

func (*GetOrganizationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get organizations params

func (*GetOrganizationsParams) SetTimeout

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

SetTimeout adds the timeout to the get organizations params

func (*GetOrganizationsParams) WithContext

WithContext adds the context to the get organizations params

func (*GetOrganizationsParams) WithHTTPClient

func (o *GetOrganizationsParams) WithHTTPClient(client *http.Client) *GetOrganizationsParams

WithHTTPClient adds the HTTPClient to the get organizations params

func (*GetOrganizationsParams) WithTimeout

WithTimeout adds the timeout to the get organizations params

func (*GetOrganizationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOrganizationsReader

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

GetOrganizationsReader is a Reader for the GetOrganizations structure.

func (*GetOrganizationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemoveOrganizationUsersOK

type RemoveOrganizationUsersOK struct {
	Payload []*models_cloudbreak.UserResponseJSON
}

RemoveOrganizationUsersOK handles this case with default header values.

successful operation

func NewRemoveOrganizationUsersOK

func NewRemoveOrganizationUsersOK() *RemoveOrganizationUsersOK

NewRemoveOrganizationUsersOK creates a RemoveOrganizationUsersOK with default headers values

func (*RemoveOrganizationUsersOK) Error

func (o *RemoveOrganizationUsersOK) Error() string

type RemoveOrganizationUsersParams

type RemoveOrganizationUsersParams struct {

	/*Body*/
	Body []string
	/*Name*/
	Name string

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

RemoveOrganizationUsersParams contains all the parameters to send to the API endpoint for the remove organization users operation typically these are written to a http.Request

func NewRemoveOrganizationUsersParams

func NewRemoveOrganizationUsersParams() *RemoveOrganizationUsersParams

NewRemoveOrganizationUsersParams creates a new RemoveOrganizationUsersParams object with the default values initialized.

func NewRemoveOrganizationUsersParamsWithContext

func NewRemoveOrganizationUsersParamsWithContext(ctx context.Context) *RemoveOrganizationUsersParams

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

func NewRemoveOrganizationUsersParamsWithHTTPClient

func NewRemoveOrganizationUsersParamsWithHTTPClient(client *http.Client) *RemoveOrganizationUsersParams

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

func NewRemoveOrganizationUsersParamsWithTimeout

func NewRemoveOrganizationUsersParamsWithTimeout(timeout time.Duration) *RemoveOrganizationUsersParams

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

func (*RemoveOrganizationUsersParams) SetBody

func (o *RemoveOrganizationUsersParams) SetBody(body []string)

SetBody adds the body to the remove organization users params

func (*RemoveOrganizationUsersParams) SetContext

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

SetContext adds the context to the remove organization users params

func (*RemoveOrganizationUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove organization users params

func (*RemoveOrganizationUsersParams) SetName

func (o *RemoveOrganizationUsersParams) SetName(name string)

SetName adds the name to the remove organization users params

func (*RemoveOrganizationUsersParams) SetTimeout

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

SetTimeout adds the timeout to the remove organization users params

func (*RemoveOrganizationUsersParams) WithBody

WithBody adds the body to the remove organization users params

func (*RemoveOrganizationUsersParams) WithContext

WithContext adds the context to the remove organization users params

func (*RemoveOrganizationUsersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the remove organization users params

func (*RemoveOrganizationUsersParams) WithName

WithName adds the name to the remove organization users params

func (*RemoveOrganizationUsersParams) WithTimeout

WithTimeout adds the timeout to the remove organization users params

func (*RemoveOrganizationUsersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RemoveOrganizationUsersReader

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

RemoveOrganizationUsersReader is a Reader for the RemoveOrganizationUsers structure.

func (*RemoveOrganizationUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateOrganizationUsersOK

type UpdateOrganizationUsersOK struct {
	Payload []*models_cloudbreak.UserResponseJSON
}

UpdateOrganizationUsersOK handles this case with default header values.

successful operation

func NewUpdateOrganizationUsersOK

func NewUpdateOrganizationUsersOK() *UpdateOrganizationUsersOK

NewUpdateOrganizationUsersOK creates a UpdateOrganizationUsersOK with default headers values

func (*UpdateOrganizationUsersOK) Error

func (o *UpdateOrganizationUsersOK) Error() string

type UpdateOrganizationUsersParams

type UpdateOrganizationUsersParams struct {

	/*Body*/
	Body []*models_cloudbreak.ChangeOrganizationUsersJSON
	/*Name*/
	Name string

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

UpdateOrganizationUsersParams contains all the parameters to send to the API endpoint for the update organization users operation typically these are written to a http.Request

func NewUpdateOrganizationUsersParams

func NewUpdateOrganizationUsersParams() *UpdateOrganizationUsersParams

NewUpdateOrganizationUsersParams creates a new UpdateOrganizationUsersParams object with the default values initialized.

func NewUpdateOrganizationUsersParamsWithContext

func NewUpdateOrganizationUsersParamsWithContext(ctx context.Context) *UpdateOrganizationUsersParams

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

func NewUpdateOrganizationUsersParamsWithHTTPClient

func NewUpdateOrganizationUsersParamsWithHTTPClient(client *http.Client) *UpdateOrganizationUsersParams

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

func NewUpdateOrganizationUsersParamsWithTimeout

func NewUpdateOrganizationUsersParamsWithTimeout(timeout time.Duration) *UpdateOrganizationUsersParams

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

func (*UpdateOrganizationUsersParams) SetBody

SetBody adds the body to the update organization users params

func (*UpdateOrganizationUsersParams) SetContext

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

SetContext adds the context to the update organization users params

func (*UpdateOrganizationUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update organization users params

func (*UpdateOrganizationUsersParams) SetName

func (o *UpdateOrganizationUsersParams) SetName(name string)

SetName adds the name to the update organization users params

func (*UpdateOrganizationUsersParams) SetTimeout

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

SetTimeout adds the timeout to the update organization users params

func (*UpdateOrganizationUsersParams) WithBody

WithBody adds the body to the update organization users params

func (*UpdateOrganizationUsersParams) WithContext

WithContext adds the context to the update organization users params

func (*UpdateOrganizationUsersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update organization users params

func (*UpdateOrganizationUsersParams) WithName

WithName adds the name to the update organization users params

func (*UpdateOrganizationUsersParams) WithTimeout

WithTimeout adds the timeout to the update organization users params

func (*UpdateOrganizationUsersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateOrganizationUsersReader

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

UpdateOrganizationUsersReader is a Reader for the UpdateOrganizationUsers structure.

func (*UpdateOrganizationUsersReader) ReadResponse

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