organizations

package
v0.0.0-...-dff6c84 Latest Latest
Warning

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

Go to latest
Published: May 15, 2019 License: Apache-2.0 Imports: 10 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 organizations API

func New

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

New creates a new organizations API client.

func (*Client) PrototypeDomainOrganizationCreatePost

func (a *Client) PrototypeDomainOrganizationCreatePost(params *PrototypeDomainOrganizationCreatePostParams) (*PrototypeDomainOrganizationCreatePostOK, error)

PrototypeDomainOrganizationCreatePost creates new organization

Creates a new isolated environment. After creating organizations a domain admin user must switch contexts into the organization using the `Switch organization` endpoint.

func (*Client) PrototypeDomainOrganizationDeleteByOrganizationResourceIDDelete

PrototypeDomainOrganizationDeleteByOrganizationResourceIDDelete deletes organization

Deletes organization and deletes all cloud account and resource data as well as all users and bot data.

func (*Client) PrototypeDomainOrganizationUpdateByOrganizationResourceIDPost

PrototypeDomainOrganizationUpdateByOrganizationResourceIDPost edits organization name

Changes name of organization. Organization names are globally unique for installations. Conflicting names will raise an error.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type PrototypeDomainOrganizationCreatePostOK

type PrototypeDomainOrganizationCreatePostOK struct {
	Payload *models.DomainOrganizationCreateResponse
}

PrototypeDomainOrganizationCreatePostOK handles this case with default header values.

PrototypeDomainOrganizationCreatePostOK prototype domain organization create post o k

func NewPrototypeDomainOrganizationCreatePostOK

func NewPrototypeDomainOrganizationCreatePostOK() *PrototypeDomainOrganizationCreatePostOK

NewPrototypeDomainOrganizationCreatePostOK creates a PrototypeDomainOrganizationCreatePostOK with default headers values

func (*PrototypeDomainOrganizationCreatePostOK) Error

type PrototypeDomainOrganizationCreatePostParams

type PrototypeDomainOrganizationCreatePostParams struct {

	/*Body*/
	Body *models.CreateneworganizationRequest
	/*ContentType*/
	ContentType string
	/*XAuthToken*/
	XAuthToken string

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

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

func NewPrototypeDomainOrganizationCreatePostParams

func NewPrototypeDomainOrganizationCreatePostParams() *PrototypeDomainOrganizationCreatePostParams

NewPrototypeDomainOrganizationCreatePostParams creates a new PrototypeDomainOrganizationCreatePostParams object with the default values initialized.

func NewPrototypeDomainOrganizationCreatePostParamsWithContext

func NewPrototypeDomainOrganizationCreatePostParamsWithContext(ctx context.Context) *PrototypeDomainOrganizationCreatePostParams

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

func NewPrototypeDomainOrganizationCreatePostParamsWithHTTPClient

func NewPrototypeDomainOrganizationCreatePostParamsWithHTTPClient(client *http.Client) *PrototypeDomainOrganizationCreatePostParams

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

func NewPrototypeDomainOrganizationCreatePostParamsWithTimeout

func NewPrototypeDomainOrganizationCreatePostParamsWithTimeout(timeout time.Duration) *PrototypeDomainOrganizationCreatePostParams

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

func (*PrototypeDomainOrganizationCreatePostParams) SetBody

SetBody adds the body to the prototype domain organization create post params

func (*PrototypeDomainOrganizationCreatePostParams) SetContentType

func (o *PrototypeDomainOrganizationCreatePostParams) SetContentType(contentType string)

SetContentType adds the contentType to the prototype domain organization create post params

func (*PrototypeDomainOrganizationCreatePostParams) SetContext

SetContext adds the context to the prototype domain organization create post params

func (*PrototypeDomainOrganizationCreatePostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the prototype domain organization create post params

func (*PrototypeDomainOrganizationCreatePostParams) SetTimeout

SetTimeout adds the timeout to the prototype domain organization create post params

func (*PrototypeDomainOrganizationCreatePostParams) SetXAuthToken

func (o *PrototypeDomainOrganizationCreatePostParams) SetXAuthToken(xAuthToken string)

SetXAuthToken adds the xAuthToken to the prototype domain organization create post params

func (*PrototypeDomainOrganizationCreatePostParams) WithBody

WithBody adds the body to the prototype domain organization create post params

func (*PrototypeDomainOrganizationCreatePostParams) WithContentType

WithContentType adds the contentType to the prototype domain organization create post params

func (*PrototypeDomainOrganizationCreatePostParams) WithContext

WithContext adds the context to the prototype domain organization create post params

func (*PrototypeDomainOrganizationCreatePostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the prototype domain organization create post params

func (*PrototypeDomainOrganizationCreatePostParams) WithTimeout

WithTimeout adds the timeout to the prototype domain organization create post params

func (*PrototypeDomainOrganizationCreatePostParams) WithXAuthToken

WithXAuthToken adds the xAuthToken to the prototype domain organization create post params

func (*PrototypeDomainOrganizationCreatePostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PrototypeDomainOrganizationCreatePostReader

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

PrototypeDomainOrganizationCreatePostReader is a Reader for the PrototypeDomainOrganizationCreatePost structure.

func (*PrototypeDomainOrganizationCreatePostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteOK

type PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteOK struct {
}

PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteOK handles this case with default header values.

PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteOK prototype domain organization delete by organization resource Id delete o k

func NewPrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteOK

func NewPrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteOK() *PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteOK

NewPrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteOK creates a PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteOK with default headers values

func (*PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteOK) Error

type PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParams

type PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParams struct {

	/*ContentType*/
	ContentType string
	/*XAuthToken*/
	XAuthToken string
	/*OrganizationResourceID*/
	OrganizationResourceID string

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

PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParams contains all the parameters to send to the API endpoint for the prototype domain organization delete by organization resource Id delete operation typically these are written to a http.Request

func NewPrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParams

func NewPrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParams() *PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParams

NewPrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParams creates a new PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParams object with the default values initialized.

func NewPrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParamsWithContext

func NewPrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParamsWithContext(ctx context.Context) *PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParams

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

func NewPrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParamsWithHTTPClient

func NewPrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParamsWithHTTPClient(client *http.Client) *PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParams

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

func NewPrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParamsWithTimeout

func NewPrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParamsWithTimeout(timeout time.Duration) *PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParams

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

func (*PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParams) SetContentType

SetContentType adds the contentType to the prototype domain organization delete by organization resource Id delete params

func (*PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParams) SetContext

SetContext adds the context to the prototype domain organization delete by organization resource Id delete params

func (*PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the prototype domain organization delete by organization resource Id delete params

func (*PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParams) SetOrganizationResourceID

func (o *PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParams) SetOrganizationResourceID(organizationResourceID string)

SetOrganizationResourceID adds the organizationResourceId to the prototype domain organization delete by organization resource Id delete params

func (*PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParams) SetTimeout

SetTimeout adds the timeout to the prototype domain organization delete by organization resource Id delete params

func (*PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParams) SetXAuthToken

SetXAuthToken adds the xAuthToken to the prototype domain organization delete by organization resource Id delete params

func (*PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParams) WithContentType

WithContentType adds the contentType to the prototype domain organization delete by organization resource Id delete params

func (*PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParams) WithContext

WithContext adds the context to the prototype domain organization delete by organization resource Id delete params

func (*PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the prototype domain organization delete by organization resource Id delete params

func (*PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParams) WithOrganizationResourceID

WithOrganizationResourceID adds the organizationResourceID to the prototype domain organization delete by organization resource Id delete params

func (*PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParams) WithTimeout

WithTimeout adds the timeout to the prototype domain organization delete by organization resource Id delete params

func (*PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParams) WithXAuthToken

WithXAuthToken adds the xAuthToken to the prototype domain organization delete by organization resource Id delete params

func (*PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteReader

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

PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteReader is a Reader for the PrototypeDomainOrganizationDeleteByOrganizationResourceIDDelete structure.

func (*PrototypeDomainOrganizationDeleteByOrganizationResourceIDDeleteReader) ReadResponse

ReadResponse reads a server response into the received o.

type PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostOK

type PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostOK struct {
}

PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostOK handles this case with default header values.

PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostOK prototype domain organization update by organization resource Id post o k

func NewPrototypeDomainOrganizationUpdateByOrganizationResourceIDPostOK

func NewPrototypeDomainOrganizationUpdateByOrganizationResourceIDPostOK() *PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostOK

NewPrototypeDomainOrganizationUpdateByOrganizationResourceIDPostOK creates a PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostOK with default headers values

func (*PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostOK) Error

type PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParams

type PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParams struct {

	/*Body*/
	Body *models.EditorganizationnameRequest
	/*ContentType*/
	ContentType string
	/*XAuthToken*/
	XAuthToken string
	/*OrganizationResourceID*/
	OrganizationResourceID string

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

PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParams contains all the parameters to send to the API endpoint for the prototype domain organization update by organization resource Id post operation typically these are written to a http.Request

func NewPrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParams

func NewPrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParams() *PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParams

NewPrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParams creates a new PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParams object with the default values initialized.

func NewPrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParamsWithContext

func NewPrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParamsWithContext(ctx context.Context) *PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParams

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

func NewPrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParamsWithHTTPClient

func NewPrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParamsWithHTTPClient(client *http.Client) *PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParams

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

func NewPrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParamsWithTimeout

func NewPrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParamsWithTimeout(timeout time.Duration) *PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParams

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

func (*PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParams) SetBody

SetBody adds the body to the prototype domain organization update by organization resource Id post params

func (*PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParams) SetContentType

SetContentType adds the contentType to the prototype domain organization update by organization resource Id post params

func (*PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParams) SetContext

SetContext adds the context to the prototype domain organization update by organization resource Id post params

func (*PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the prototype domain organization update by organization resource Id post params

func (*PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParams) SetOrganizationResourceID

func (o *PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParams) SetOrganizationResourceID(organizationResourceID string)

SetOrganizationResourceID adds the organizationResourceId to the prototype domain organization update by organization resource Id post params

func (*PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParams) SetTimeout

SetTimeout adds the timeout to the prototype domain organization update by organization resource Id post params

func (*PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParams) SetXAuthToken

SetXAuthToken adds the xAuthToken to the prototype domain organization update by organization resource Id post params

func (*PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParams) WithBody

WithBody adds the body to the prototype domain organization update by organization resource Id post params

func (*PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParams) WithContentType

WithContentType adds the contentType to the prototype domain organization update by organization resource Id post params

func (*PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParams) WithContext

WithContext adds the context to the prototype domain organization update by organization resource Id post params

func (*PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the prototype domain organization update by organization resource Id post params

func (*PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParams) WithOrganizationResourceID

WithOrganizationResourceID adds the organizationResourceID to the prototype domain organization update by organization resource Id post params

func (*PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParams) WithTimeout

WithTimeout adds the timeout to the prototype domain organization update by organization resource Id post params

func (*PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParams) WithXAuthToken

WithXAuthToken adds the xAuthToken to the prototype domain organization update by organization resource Id post params

func (*PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostReader

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

PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostReader is a Reader for the PrototypeDomainOrganizationUpdateByOrganizationResourceIDPost structure.

func (*PrototypeDomainOrganizationUpdateByOrganizationResourceIDPostReader) ReadResponse

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