Documentation ¶
Index ¶
- type AddOrganizationUsersOK
- type AddOrganizationUsersParams
- func NewAddOrganizationUsersParams() *AddOrganizationUsersParams
- func NewAddOrganizationUsersParamsWithContext(ctx context.Context) *AddOrganizationUsersParams
- func NewAddOrganizationUsersParamsWithHTTPClient(client *http.Client) *AddOrganizationUsersParams
- func NewAddOrganizationUsersParamsWithTimeout(timeout time.Duration) *AddOrganizationUsersParams
- func (o *AddOrganizationUsersParams) SetBody(body []*models_cloudbreak.ChangeOrganizationUsersJSON)
- func (o *AddOrganizationUsersParams) SetContext(ctx context.Context)
- func (o *AddOrganizationUsersParams) SetHTTPClient(client *http.Client)
- func (o *AddOrganizationUsersParams) SetName(name string)
- func (o *AddOrganizationUsersParams) SetTimeout(timeout time.Duration)
- func (o *AddOrganizationUsersParams) WithBody(body []*models_cloudbreak.ChangeOrganizationUsersJSON) *AddOrganizationUsersParams
- func (o *AddOrganizationUsersParams) WithContext(ctx context.Context) *AddOrganizationUsersParams
- func (o *AddOrganizationUsersParams) WithHTTPClient(client *http.Client) *AddOrganizationUsersParams
- func (o *AddOrganizationUsersParams) WithName(name string) *AddOrganizationUsersParams
- func (o *AddOrganizationUsersParams) WithTimeout(timeout time.Duration) *AddOrganizationUsersParams
- func (o *AddOrganizationUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddOrganizationUsersReader
- type ChangeOrganizationUsersOK
- type ChangeOrganizationUsersParams
- func NewChangeOrganizationUsersParams() *ChangeOrganizationUsersParams
- func NewChangeOrganizationUsersParamsWithContext(ctx context.Context) *ChangeOrganizationUsersParams
- func NewChangeOrganizationUsersParamsWithHTTPClient(client *http.Client) *ChangeOrganizationUsersParams
- func NewChangeOrganizationUsersParamsWithTimeout(timeout time.Duration) *ChangeOrganizationUsersParams
- func (o *ChangeOrganizationUsersParams) SetBody(body []*models_cloudbreak.ChangeOrganizationUsersJSON)
- func (o *ChangeOrganizationUsersParams) SetContext(ctx context.Context)
- func (o *ChangeOrganizationUsersParams) SetHTTPClient(client *http.Client)
- func (o *ChangeOrganizationUsersParams) SetName(name string)
- func (o *ChangeOrganizationUsersParams) SetTimeout(timeout time.Duration)
- func (o *ChangeOrganizationUsersParams) WithBody(body []*models_cloudbreak.ChangeOrganizationUsersJSON) *ChangeOrganizationUsersParams
- func (o *ChangeOrganizationUsersParams) WithContext(ctx context.Context) *ChangeOrganizationUsersParams
- func (o *ChangeOrganizationUsersParams) WithHTTPClient(client *http.Client) *ChangeOrganizationUsersParams
- func (o *ChangeOrganizationUsersParams) WithName(name string) *ChangeOrganizationUsersParams
- func (o *ChangeOrganizationUsersParams) WithTimeout(timeout time.Duration) *ChangeOrganizationUsersParams
- func (o *ChangeOrganizationUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangeOrganizationUsersReader
- type Client
- func (a *Client) AddOrganizationUsers(params *AddOrganizationUsersParams) (*AddOrganizationUsersOK, error)
- func (a *Client) ChangeOrganizationUsers(params *ChangeOrganizationUsersParams) (*ChangeOrganizationUsersOK, error)
- func (a *Client) CreateOrganization(params *CreateOrganizationParams) (*CreateOrganizationOK, error)
- func (a *Client) DeleteOrganizationByName(params *DeleteOrganizationByNameParams) (*DeleteOrganizationByNameOK, error)
- func (a *Client) GetOrganizationByName(params *GetOrganizationByNameParams) (*GetOrganizationByNameOK, error)
- func (a *Client) GetOrganizations(params *GetOrganizationsParams) (*GetOrganizationsOK, error)
- func (a *Client) RemoveOrganizationUsers(params *RemoveOrganizationUsersParams) (*RemoveOrganizationUsersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateOrganizationUsers(params *UpdateOrganizationUsersParams) (*UpdateOrganizationUsersOK, error)
- type CreateOrganizationOK
- type CreateOrganizationParams
- func NewCreateOrganizationParams() *CreateOrganizationParams
- func NewCreateOrganizationParamsWithContext(ctx context.Context) *CreateOrganizationParams
- func NewCreateOrganizationParamsWithHTTPClient(client *http.Client) *CreateOrganizationParams
- func NewCreateOrganizationParamsWithTimeout(timeout time.Duration) *CreateOrganizationParams
- func (o *CreateOrganizationParams) SetBody(body *models_cloudbreak.OrganizationRequest)
- func (o *CreateOrganizationParams) SetContext(ctx context.Context)
- func (o *CreateOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *CreateOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *CreateOrganizationParams) WithBody(body *models_cloudbreak.OrganizationRequest) *CreateOrganizationParams
- func (o *CreateOrganizationParams) WithContext(ctx context.Context) *CreateOrganizationParams
- func (o *CreateOrganizationParams) WithHTTPClient(client *http.Client) *CreateOrganizationParams
- func (o *CreateOrganizationParams) WithTimeout(timeout time.Duration) *CreateOrganizationParams
- func (o *CreateOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateOrganizationReader
- type DeleteOrganizationByNameOK
- type DeleteOrganizationByNameParams
- func NewDeleteOrganizationByNameParams() *DeleteOrganizationByNameParams
- func NewDeleteOrganizationByNameParamsWithContext(ctx context.Context) *DeleteOrganizationByNameParams
- func NewDeleteOrganizationByNameParamsWithHTTPClient(client *http.Client) *DeleteOrganizationByNameParams
- func NewDeleteOrganizationByNameParamsWithTimeout(timeout time.Duration) *DeleteOrganizationByNameParams
- func (o *DeleteOrganizationByNameParams) SetContext(ctx context.Context)
- func (o *DeleteOrganizationByNameParams) SetHTTPClient(client *http.Client)
- func (o *DeleteOrganizationByNameParams) SetName(name string)
- func (o *DeleteOrganizationByNameParams) SetTimeout(timeout time.Duration)
- func (o *DeleteOrganizationByNameParams) WithContext(ctx context.Context) *DeleteOrganizationByNameParams
- func (o *DeleteOrganizationByNameParams) WithHTTPClient(client *http.Client) *DeleteOrganizationByNameParams
- func (o *DeleteOrganizationByNameParams) WithName(name string) *DeleteOrganizationByNameParams
- func (o *DeleteOrganizationByNameParams) WithTimeout(timeout time.Duration) *DeleteOrganizationByNameParams
- func (o *DeleteOrganizationByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteOrganizationByNameReader
- type GetOrganizationByNameOK
- type GetOrganizationByNameParams
- func NewGetOrganizationByNameParams() *GetOrganizationByNameParams
- func NewGetOrganizationByNameParamsWithContext(ctx context.Context) *GetOrganizationByNameParams
- func NewGetOrganizationByNameParamsWithHTTPClient(client *http.Client) *GetOrganizationByNameParams
- func NewGetOrganizationByNameParamsWithTimeout(timeout time.Duration) *GetOrganizationByNameParams
- func (o *GetOrganizationByNameParams) SetContext(ctx context.Context)
- func (o *GetOrganizationByNameParams) SetHTTPClient(client *http.Client)
- func (o *GetOrganizationByNameParams) SetName(name string)
- func (o *GetOrganizationByNameParams) SetTimeout(timeout time.Duration)
- func (o *GetOrganizationByNameParams) WithContext(ctx context.Context) *GetOrganizationByNameParams
- func (o *GetOrganizationByNameParams) WithHTTPClient(client *http.Client) *GetOrganizationByNameParams
- func (o *GetOrganizationByNameParams) WithName(name string) *GetOrganizationByNameParams
- func (o *GetOrganizationByNameParams) WithTimeout(timeout time.Duration) *GetOrganizationByNameParams
- func (o *GetOrganizationByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganizationByNameReader
- type GetOrganizationsOK
- type GetOrganizationsParams
- func NewGetOrganizationsParams() *GetOrganizationsParams
- func NewGetOrganizationsParamsWithContext(ctx context.Context) *GetOrganizationsParams
- func NewGetOrganizationsParamsWithHTTPClient(client *http.Client) *GetOrganizationsParams
- func NewGetOrganizationsParamsWithTimeout(timeout time.Duration) *GetOrganizationsParams
- func (o *GetOrganizationsParams) SetContext(ctx context.Context)
- func (o *GetOrganizationsParams) SetHTTPClient(client *http.Client)
- func (o *GetOrganizationsParams) SetTimeout(timeout time.Duration)
- func (o *GetOrganizationsParams) WithContext(ctx context.Context) *GetOrganizationsParams
- func (o *GetOrganizationsParams) WithHTTPClient(client *http.Client) *GetOrganizationsParams
- func (o *GetOrganizationsParams) WithTimeout(timeout time.Duration) *GetOrganizationsParams
- func (o *GetOrganizationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganizationsReader
- type RemoveOrganizationUsersOK
- type RemoveOrganizationUsersParams
- func NewRemoveOrganizationUsersParams() *RemoveOrganizationUsersParams
- func NewRemoveOrganizationUsersParamsWithContext(ctx context.Context) *RemoveOrganizationUsersParams
- func NewRemoveOrganizationUsersParamsWithHTTPClient(client *http.Client) *RemoveOrganizationUsersParams
- func NewRemoveOrganizationUsersParamsWithTimeout(timeout time.Duration) *RemoveOrganizationUsersParams
- func (o *RemoveOrganizationUsersParams) SetBody(body []string)
- func (o *RemoveOrganizationUsersParams) SetContext(ctx context.Context)
- func (o *RemoveOrganizationUsersParams) SetHTTPClient(client *http.Client)
- func (o *RemoveOrganizationUsersParams) SetName(name string)
- func (o *RemoveOrganizationUsersParams) SetTimeout(timeout time.Duration)
- func (o *RemoveOrganizationUsersParams) WithBody(body []string) *RemoveOrganizationUsersParams
- func (o *RemoveOrganizationUsersParams) WithContext(ctx context.Context) *RemoveOrganizationUsersParams
- func (o *RemoveOrganizationUsersParams) WithHTTPClient(client *http.Client) *RemoveOrganizationUsersParams
- func (o *RemoveOrganizationUsersParams) WithName(name string) *RemoveOrganizationUsersParams
- func (o *RemoveOrganizationUsersParams) WithTimeout(timeout time.Duration) *RemoveOrganizationUsersParams
- func (o *RemoveOrganizationUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveOrganizationUsersReader
- type UpdateOrganizationUsersOK
- type UpdateOrganizationUsersParams
- func NewUpdateOrganizationUsersParams() *UpdateOrganizationUsersParams
- func NewUpdateOrganizationUsersParamsWithContext(ctx context.Context) *UpdateOrganizationUsersParams
- func NewUpdateOrganizationUsersParamsWithHTTPClient(client *http.Client) *UpdateOrganizationUsersParams
- func NewUpdateOrganizationUsersParamsWithTimeout(timeout time.Duration) *UpdateOrganizationUsersParams
- func (o *UpdateOrganizationUsersParams) SetBody(body []*models_cloudbreak.ChangeOrganizationUsersJSON)
- func (o *UpdateOrganizationUsersParams) SetContext(ctx context.Context)
- func (o *UpdateOrganizationUsersParams) SetHTTPClient(client *http.Client)
- func (o *UpdateOrganizationUsersParams) SetName(name string)
- func (o *UpdateOrganizationUsersParams) SetTimeout(timeout time.Duration)
- func (o *UpdateOrganizationUsersParams) WithBody(body []*models_cloudbreak.ChangeOrganizationUsersJSON) *UpdateOrganizationUsersParams
- func (o *UpdateOrganizationUsersParams) WithContext(ctx context.Context) *UpdateOrganizationUsersParams
- func (o *UpdateOrganizationUsersParams) WithHTTPClient(client *http.Client) *UpdateOrganizationUsersParams
- func (o *UpdateOrganizationUsersParams) WithName(name string) *UpdateOrganizationUsersParams
- func (o *UpdateOrganizationUsersParams) WithTimeout(timeout time.Duration) *UpdateOrganizationUsersParams
- func (o *UpdateOrganizationUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateOrganizationUsersReader
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 ¶
func (o *AddOrganizationUsersParams) SetBody(body []*models_cloudbreak.ChangeOrganizationUsersJSON)
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 ¶
func (o *AddOrganizationUsersParams) WithBody(body []*models_cloudbreak.ChangeOrganizationUsersJSON) *AddOrganizationUsersParams
WithBody adds the body to the add organization users params
func (*AddOrganizationUsersParams) WithContext ¶
func (o *AddOrganizationUsersParams) WithContext(ctx context.Context) *AddOrganizationUsersParams
WithContext adds the context to the add organization users params
func (*AddOrganizationUsersParams) WithHTTPClient ¶
func (o *AddOrganizationUsersParams) WithHTTPClient(client *http.Client) *AddOrganizationUsersParams
WithHTTPClient adds the HTTPClient to the add organization users params
func (*AddOrganizationUsersParams) WithName ¶
func (o *AddOrganizationUsersParams) WithName(name string) *AddOrganizationUsersParams
WithName adds the name to the add organization users params
func (*AddOrganizationUsersParams) WithTimeout ¶
func (o *AddOrganizationUsersParams) WithTimeout(timeout time.Duration) *AddOrganizationUsersParams
WithTimeout adds the timeout to the add organization users params
func (*AddOrganizationUsersParams) WriteToRequest ¶
func (o *AddOrganizationUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ChangeOrganizationUsersParams) SetBody(body []*models_cloudbreak.ChangeOrganizationUsersJSON)
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 ¶
func (o *ChangeOrganizationUsersParams) WithBody(body []*models_cloudbreak.ChangeOrganizationUsersJSON) *ChangeOrganizationUsersParams
WithBody adds the body to the change organization users params
func (*ChangeOrganizationUsersParams) WithContext ¶
func (o *ChangeOrganizationUsersParams) WithContext(ctx context.Context) *ChangeOrganizationUsersParams
WithContext adds the context to the change organization users params
func (*ChangeOrganizationUsersParams) WithHTTPClient ¶
func (o *ChangeOrganizationUsersParams) WithHTTPClient(client *http.Client) *ChangeOrganizationUsersParams
WithHTTPClient adds the HTTPClient to the change organization users params
func (*ChangeOrganizationUsersParams) WithName ¶
func (o *ChangeOrganizationUsersParams) WithName(name string) *ChangeOrganizationUsersParams
WithName adds the name to the change organization users params
func (*ChangeOrganizationUsersParams) WithTimeout ¶
func (o *ChangeOrganizationUsersParams) WithTimeout(timeout time.Duration) *ChangeOrganizationUsersParams
WithTimeout adds the timeout to the change organization users params
func (*ChangeOrganizationUsersParams) WriteToRequest ¶
func (o *ChangeOrganizationUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 v1organizations API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new v1organizations 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 ¶
func (o *CreateOrganizationParams) SetBody(body *models_cloudbreak.OrganizationRequest)
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 ¶
func (o *CreateOrganizationParams) WithBody(body *models_cloudbreak.OrganizationRequest) *CreateOrganizationParams
WithBody adds the body to the create organization params
func (*CreateOrganizationParams) WithContext ¶
func (o *CreateOrganizationParams) WithContext(ctx context.Context) *CreateOrganizationParams
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 ¶
func (o *CreateOrganizationParams) WithTimeout(timeout time.Duration) *CreateOrganizationParams
WithTimeout adds the timeout to the create organization params
func (*CreateOrganizationParams) WriteToRequest ¶
func (o *CreateOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteOrganizationByNameOK) Error() string
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 ¶
func (o *DeleteOrganizationByNameParams) WithContext(ctx context.Context) *DeleteOrganizationByNameParams
WithContext adds the context to the delete organization by name params
func (*DeleteOrganizationByNameParams) WithHTTPClient ¶
func (o *DeleteOrganizationByNameParams) WithHTTPClient(client *http.Client) *DeleteOrganizationByNameParams
WithHTTPClient adds the HTTPClient to the delete organization by name params
func (*DeleteOrganizationByNameParams) WithName ¶
func (o *DeleteOrganizationByNameParams) WithName(name string) *DeleteOrganizationByNameParams
WithName adds the name to the delete organization by name params
func (*DeleteOrganizationByNameParams) WithTimeout ¶
func (o *DeleteOrganizationByNameParams) WithTimeout(timeout time.Duration) *DeleteOrganizationByNameParams
WithTimeout adds the timeout to the delete organization by name params
func (*DeleteOrganizationByNameParams) WriteToRequest ¶
func (o *DeleteOrganizationByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetOrganizationByNameParams) WithContext(ctx context.Context) *GetOrganizationByNameParams
WithContext adds the context to the get organization by name params
func (*GetOrganizationByNameParams) WithHTTPClient ¶
func (o *GetOrganizationByNameParams) WithHTTPClient(client *http.Client) *GetOrganizationByNameParams
WithHTTPClient adds the HTTPClient to the get organization by name params
func (*GetOrganizationByNameParams) WithName ¶
func (o *GetOrganizationByNameParams) WithName(name string) *GetOrganizationByNameParams
WithName adds the name to the get organization by name params
func (*GetOrganizationByNameParams) WithTimeout ¶
func (o *GetOrganizationByNameParams) WithTimeout(timeout time.Duration) *GetOrganizationByNameParams
WithTimeout adds the timeout to the get organization by name params
func (*GetOrganizationByNameParams) WriteToRequest ¶
func (o *GetOrganizationByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetOrganizationsParams) WithContext(ctx context.Context) *GetOrganizationsParams
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 ¶
func (o *GetOrganizationsParams) WithTimeout(timeout time.Duration) *GetOrganizationsParams
WithTimeout adds the timeout to the get organizations params
func (*GetOrganizationsParams) WriteToRequest ¶
func (o *GetOrganizationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *RemoveOrganizationUsersParams) WithBody(body []string) *RemoveOrganizationUsersParams
WithBody adds the body to the remove organization users params
func (*RemoveOrganizationUsersParams) WithContext ¶
func (o *RemoveOrganizationUsersParams) WithContext(ctx context.Context) *RemoveOrganizationUsersParams
WithContext adds the context to the remove organization users params
func (*RemoveOrganizationUsersParams) WithHTTPClient ¶
func (o *RemoveOrganizationUsersParams) WithHTTPClient(client *http.Client) *RemoveOrganizationUsersParams
WithHTTPClient adds the HTTPClient to the remove organization users params
func (*RemoveOrganizationUsersParams) WithName ¶
func (o *RemoveOrganizationUsersParams) WithName(name string) *RemoveOrganizationUsersParams
WithName adds the name to the remove organization users params
func (*RemoveOrganizationUsersParams) WithTimeout ¶
func (o *RemoveOrganizationUsersParams) WithTimeout(timeout time.Duration) *RemoveOrganizationUsersParams
WithTimeout adds the timeout to the remove organization users params
func (*RemoveOrganizationUsersParams) WriteToRequest ¶
func (o *RemoveOrganizationUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateOrganizationUsersParams) SetBody(body []*models_cloudbreak.ChangeOrganizationUsersJSON)
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 ¶
func (o *UpdateOrganizationUsersParams) WithBody(body []*models_cloudbreak.ChangeOrganizationUsersJSON) *UpdateOrganizationUsersParams
WithBody adds the body to the update organization users params
func (*UpdateOrganizationUsersParams) WithContext ¶
func (o *UpdateOrganizationUsersParams) WithContext(ctx context.Context) *UpdateOrganizationUsersParams
WithContext adds the context to the update organization users params
func (*UpdateOrganizationUsersParams) WithHTTPClient ¶
func (o *UpdateOrganizationUsersParams) WithHTTPClient(client *http.Client) *UpdateOrganizationUsersParams
WithHTTPClient adds the HTTPClient to the update organization users params
func (*UpdateOrganizationUsersParams) WithName ¶
func (o *UpdateOrganizationUsersParams) WithName(name string) *UpdateOrganizationUsersParams
WithName adds the name to the update organization users params
func (*UpdateOrganizationUsersParams) WithTimeout ¶
func (o *UpdateOrganizationUsersParams) WithTimeout(timeout time.Duration) *UpdateOrganizationUsersParams
WithTimeout adds the timeout to the update organization users params
func (*UpdateOrganizationUsersParams) WriteToRequest ¶
func (o *UpdateOrganizationUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- add_organization_users_parameters.go
- add_organization_users_responses.go
- change_organization_users_parameters.go
- change_organization_users_responses.go
- create_organization_parameters.go
- create_organization_responses.go
- delete_organization_by_name_parameters.go
- delete_organization_by_name_responses.go
- get_organization_by_name_parameters.go
- get_organization_by_name_responses.go
- get_organizations_parameters.go
- get_organizations_responses.go
- remove_organization_users_parameters.go
- remove_organization_users_responses.go
- update_organization_users_parameters.go
- update_organization_users_responses.go
- v1organizations_client.go