organization

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2018 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 AddOrganizationBadRequest

type AddOrganizationBadRequest struct {
	Payload *v1.Error
}

AddOrganizationBadRequest handles this case with default header values.

Invalid input

func NewAddOrganizationBadRequest

func NewAddOrganizationBadRequest() *AddOrganizationBadRequest

NewAddOrganizationBadRequest creates a AddOrganizationBadRequest with default headers values

func (*AddOrganizationBadRequest) Error

func (o *AddOrganizationBadRequest) Error() string

type AddOrganizationConflict

type AddOrganizationConflict struct {
	Payload *v1.Error
}

AddOrganizationConflict handles this case with default header values.

Already Exists

func NewAddOrganizationConflict

func NewAddOrganizationConflict() *AddOrganizationConflict

NewAddOrganizationConflict creates a AddOrganizationConflict with default headers values

func (*AddOrganizationConflict) Error

func (o *AddOrganizationConflict) Error() string

type AddOrganizationCreated

type AddOrganizationCreated struct {
	Payload *v1.Organization
}

AddOrganizationCreated handles this case with default header values.

created

func NewAddOrganizationCreated

func NewAddOrganizationCreated() *AddOrganizationCreated

NewAddOrganizationCreated creates a AddOrganizationCreated with default headers values

func (*AddOrganizationCreated) Error

func (o *AddOrganizationCreated) Error() string

type AddOrganizationDefault

type AddOrganizationDefault struct {
	Payload *v1.Error
	// contains filtered or unexported fields
}

AddOrganizationDefault handles this case with default header values.

Generic error response

func NewAddOrganizationDefault

func NewAddOrganizationDefault(code int) *AddOrganizationDefault

NewAddOrganizationDefault creates a AddOrganizationDefault with default headers values

func (*AddOrganizationDefault) Code

func (o *AddOrganizationDefault) Code() int

Code gets the status code for the add organization default response

func (*AddOrganizationDefault) Error

func (o *AddOrganizationDefault) Error() string

type AddOrganizationForbidden added in v0.1.18

type AddOrganizationForbidden struct {
	Payload *v1.Error
}

AddOrganizationForbidden handles this case with default header values.

access to this resource is forbidden

func NewAddOrganizationForbidden added in v0.1.18

func NewAddOrganizationForbidden() *AddOrganizationForbidden

NewAddOrganizationForbidden creates a AddOrganizationForbidden with default headers values

func (*AddOrganizationForbidden) Error added in v0.1.18

func (o *AddOrganizationForbidden) Error() string

type AddOrganizationParams

type AddOrganizationParams struct {

	/*XDispatchOrg*/
	XDispatchOrg *string
	/*Body
	  Organization Object

	*/
	Body *v1.Organization

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

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

func NewAddOrganizationParams

func NewAddOrganizationParams() *AddOrganizationParams

NewAddOrganizationParams creates a new AddOrganizationParams object with the default values initialized.

func NewAddOrganizationParamsWithContext

func NewAddOrganizationParamsWithContext(ctx context.Context) *AddOrganizationParams

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

func NewAddOrganizationParamsWithHTTPClient

func NewAddOrganizationParamsWithHTTPClient(client *http.Client) *AddOrganizationParams

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

func NewAddOrganizationParamsWithTimeout

func NewAddOrganizationParamsWithTimeout(timeout time.Duration) *AddOrganizationParams

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

func (*AddOrganizationParams) SetBody

func (o *AddOrganizationParams) SetBody(body *v1.Organization)

SetBody adds the body to the add organization params

func (*AddOrganizationParams) SetContext

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

SetContext adds the context to the add organization params

func (*AddOrganizationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add organization params

func (*AddOrganizationParams) SetTimeout

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

SetTimeout adds the timeout to the add organization params

func (*AddOrganizationParams) SetXDispatchOrg added in v0.1.18

func (o *AddOrganizationParams) SetXDispatchOrg(xDispatchOrg *string)

SetXDispatchOrg adds the xDispatchOrg to the add organization params

func (*AddOrganizationParams) WithBody

WithBody adds the body to the add organization params

func (*AddOrganizationParams) WithContext

WithContext adds the context to the add organization params

func (*AddOrganizationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add organization params

func (*AddOrganizationParams) WithTimeout

func (o *AddOrganizationParams) WithTimeout(timeout time.Duration) *AddOrganizationParams

WithTimeout adds the timeout to the add organization params

func (*AddOrganizationParams) WithXDispatchOrg added in v0.1.18

func (o *AddOrganizationParams) WithXDispatchOrg(xDispatchOrg *string) *AddOrganizationParams

WithXDispatchOrg adds the xDispatchOrg to the add organization params

func (*AddOrganizationParams) WriteToRequest

func (o *AddOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AddOrganizationReader

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

AddOrganizationReader is a Reader for the AddOrganization structure.

func (*AddOrganizationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddOrganizationUnauthorized added in v0.1.18

type AddOrganizationUnauthorized struct {
	Payload *v1.Error
}

AddOrganizationUnauthorized handles this case with default header values.

Unauthorized Request

func NewAddOrganizationUnauthorized added in v0.1.18

func NewAddOrganizationUnauthorized() *AddOrganizationUnauthorized

NewAddOrganizationUnauthorized creates a AddOrganizationUnauthorized with default headers values

func (*AddOrganizationUnauthorized) Error added in v0.1.18

type Client

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

Client for organization API

func New

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

New creates a new organization API client.

func (*Client) AddOrganization

func (a *Client) AddOrganization(params *AddOrganizationParams, authInfo runtime.ClientAuthInfoWriter) (*AddOrganizationCreated, error)

AddOrganization adds a new organization

func (*Client) DeleteOrganization

func (a *Client) DeleteOrganization(params *DeleteOrganizationParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteOrganizationOK, error)

DeleteOrganization deletes an organization

func (*Client) GetOrganization

func (a *Client) GetOrganization(params *GetOrganizationParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationOK, error)

GetOrganization finds organization by name

get an Organization by name

func (*Client) GetOrganizations

func (a *Client) GetOrganizations(params *GetOrganizationsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationsOK, error)

GetOrganizations lists all existing organizations

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateOrganization

func (a *Client) UpdateOrganization(params *UpdateOrganizationParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateOrganizationOK, error)

UpdateOrganization updates a organization

type DeleteOrganizationBadRequest

type DeleteOrganizationBadRequest struct {
	Payload *v1.Error
}

DeleteOrganizationBadRequest handles this case with default header values.

Invalid Name supplied

func NewDeleteOrganizationBadRequest

func NewDeleteOrganizationBadRequest() *DeleteOrganizationBadRequest

NewDeleteOrganizationBadRequest creates a DeleteOrganizationBadRequest with default headers values

func (*DeleteOrganizationBadRequest) Error

type DeleteOrganizationDefault added in v0.1.18

type DeleteOrganizationDefault struct {
	Payload *v1.Error
	// contains filtered or unexported fields
}

DeleteOrganizationDefault handles this case with default header values.

Unknown error

func NewDeleteOrganizationDefault added in v0.1.18

func NewDeleteOrganizationDefault(code int) *DeleteOrganizationDefault

NewDeleteOrganizationDefault creates a DeleteOrganizationDefault with default headers values

func (*DeleteOrganizationDefault) Code added in v0.1.18

func (o *DeleteOrganizationDefault) Code() int

Code gets the status code for the delete organization default response

func (*DeleteOrganizationDefault) Error added in v0.1.18

func (o *DeleteOrganizationDefault) Error() string

type DeleteOrganizationForbidden added in v0.1.18

type DeleteOrganizationForbidden struct {
	Payload *v1.Error
}

DeleteOrganizationForbidden handles this case with default header values.

access to this resource is forbidden

func NewDeleteOrganizationForbidden added in v0.1.18

func NewDeleteOrganizationForbidden() *DeleteOrganizationForbidden

NewDeleteOrganizationForbidden creates a DeleteOrganizationForbidden with default headers values

func (*DeleteOrganizationForbidden) Error added in v0.1.18

type DeleteOrganizationNotFound

type DeleteOrganizationNotFound struct {
	Payload *v1.Error
}

DeleteOrganizationNotFound handles this case with default header values.

Organization not found

func NewDeleteOrganizationNotFound

func NewDeleteOrganizationNotFound() *DeleteOrganizationNotFound

NewDeleteOrganizationNotFound creates a DeleteOrganizationNotFound with default headers values

func (*DeleteOrganizationNotFound) Error

type DeleteOrganizationOK

type DeleteOrganizationOK struct {
	Payload *v1.Organization
}

DeleteOrganizationOK handles this case with default header values.

Successful operation

func NewDeleteOrganizationOK

func NewDeleteOrganizationOK() *DeleteOrganizationOK

NewDeleteOrganizationOK creates a DeleteOrganizationOK with default headers values

func (*DeleteOrganizationOK) Error

func (o *DeleteOrganizationOK) Error() string

type DeleteOrganizationParams

type DeleteOrganizationParams struct {

	/*XDispatchOrg*/
	XDispatchOrg string
	/*OrganizationName
	  Name of Organization to work on

	*/
	OrganizationName string

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

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

func NewDeleteOrganizationParams

func NewDeleteOrganizationParams() *DeleteOrganizationParams

NewDeleteOrganizationParams creates a new DeleteOrganizationParams object with the default values initialized.

func NewDeleteOrganizationParamsWithContext

func NewDeleteOrganizationParamsWithContext(ctx context.Context) *DeleteOrganizationParams

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

func NewDeleteOrganizationParamsWithHTTPClient

func NewDeleteOrganizationParamsWithHTTPClient(client *http.Client) *DeleteOrganizationParams

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

func NewDeleteOrganizationParamsWithTimeout

func NewDeleteOrganizationParamsWithTimeout(timeout time.Duration) *DeleteOrganizationParams

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

func (*DeleteOrganizationParams) SetContext

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

SetContext adds the context to the delete organization params

func (*DeleteOrganizationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete organization params

func (*DeleteOrganizationParams) SetOrganizationName

func (o *DeleteOrganizationParams) SetOrganizationName(organizationName string)

SetOrganizationName adds the organizationName to the delete organization params

func (*DeleteOrganizationParams) SetTimeout

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

SetTimeout adds the timeout to the delete organization params

func (*DeleteOrganizationParams) SetXDispatchOrg added in v0.1.18

func (o *DeleteOrganizationParams) SetXDispatchOrg(xDispatchOrg string)

SetXDispatchOrg adds the xDispatchOrg to the delete organization params

func (*DeleteOrganizationParams) WithContext

WithContext adds the context to the delete organization params

func (*DeleteOrganizationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete organization params

func (*DeleteOrganizationParams) WithOrganizationName

func (o *DeleteOrganizationParams) WithOrganizationName(organizationName string) *DeleteOrganizationParams

WithOrganizationName adds the organizationName to the delete organization params

func (*DeleteOrganizationParams) WithTimeout

WithTimeout adds the timeout to the delete organization params

func (*DeleteOrganizationParams) WithXDispatchOrg added in v0.1.18

func (o *DeleteOrganizationParams) WithXDispatchOrg(xDispatchOrg string) *DeleteOrganizationParams

WithXDispatchOrg adds the xDispatchOrg to the delete organization params

func (*DeleteOrganizationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteOrganizationReader

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

DeleteOrganizationReader is a Reader for the DeleteOrganization structure.

func (*DeleteOrganizationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteOrganizationUnauthorized added in v0.1.18

type DeleteOrganizationUnauthorized struct {
	Payload *v1.Error
}

DeleteOrganizationUnauthorized handles this case with default header values.

Unauthorized Request

func NewDeleteOrganizationUnauthorized added in v0.1.18

func NewDeleteOrganizationUnauthorized() *DeleteOrganizationUnauthorized

NewDeleteOrganizationUnauthorized creates a DeleteOrganizationUnauthorized with default headers values

func (*DeleteOrganizationUnauthorized) Error added in v0.1.18

type GetOrganizationBadRequest

type GetOrganizationBadRequest struct {
	Payload *v1.Error
}

GetOrganizationBadRequest handles this case with default header values.

Invalid Name supplied

func NewGetOrganizationBadRequest

func NewGetOrganizationBadRequest() *GetOrganizationBadRequest

NewGetOrganizationBadRequest creates a GetOrganizationBadRequest with default headers values

func (*GetOrganizationBadRequest) Error

func (o *GetOrganizationBadRequest) Error() string

type GetOrganizationDefault added in v0.1.18

type GetOrganizationDefault struct {
	Payload *v1.Error
	// contains filtered or unexported fields
}

GetOrganizationDefault handles this case with default header values.

Unknown error

func NewGetOrganizationDefault added in v0.1.18

func NewGetOrganizationDefault(code int) *GetOrganizationDefault

NewGetOrganizationDefault creates a GetOrganizationDefault with default headers values

func (*GetOrganizationDefault) Code added in v0.1.18

func (o *GetOrganizationDefault) Code() int

Code gets the status code for the get organization default response

func (*GetOrganizationDefault) Error added in v0.1.18

func (o *GetOrganizationDefault) Error() string

type GetOrganizationForbidden added in v0.1.18

type GetOrganizationForbidden struct {
	Payload *v1.Error
}

GetOrganizationForbidden handles this case with default header values.

access to this resource is forbidden

func NewGetOrganizationForbidden added in v0.1.18

func NewGetOrganizationForbidden() *GetOrganizationForbidden

NewGetOrganizationForbidden creates a GetOrganizationForbidden with default headers values

func (*GetOrganizationForbidden) Error added in v0.1.18

func (o *GetOrganizationForbidden) Error() string

type GetOrganizationNotFound

type GetOrganizationNotFound struct {
	Payload *v1.Error
}

GetOrganizationNotFound handles this case with default header values.

Organization not found

func NewGetOrganizationNotFound

func NewGetOrganizationNotFound() *GetOrganizationNotFound

NewGetOrganizationNotFound creates a GetOrganizationNotFound with default headers values

func (*GetOrganizationNotFound) Error

func (o *GetOrganizationNotFound) Error() string

type GetOrganizationOK

type GetOrganizationOK struct {
	Payload *v1.Organization
}

GetOrganizationOK handles this case with default header values.

Successful operation

func NewGetOrganizationOK

func NewGetOrganizationOK() *GetOrganizationOK

NewGetOrganizationOK creates a GetOrganizationOK with default headers values

func (*GetOrganizationOK) Error

func (o *GetOrganizationOK) Error() string

type GetOrganizationParams

type GetOrganizationParams struct {

	/*XDispatchOrg*/
	XDispatchOrg string
	/*OrganizationName
	  Name of Organization to work on

	*/
	OrganizationName string

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

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

func NewGetOrganizationParams

func NewGetOrganizationParams() *GetOrganizationParams

NewGetOrganizationParams creates a new GetOrganizationParams object with the default values initialized.

func NewGetOrganizationParamsWithContext

func NewGetOrganizationParamsWithContext(ctx context.Context) *GetOrganizationParams

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

func NewGetOrganizationParamsWithHTTPClient

func NewGetOrganizationParamsWithHTTPClient(client *http.Client) *GetOrganizationParams

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

func NewGetOrganizationParamsWithTimeout

func NewGetOrganizationParamsWithTimeout(timeout time.Duration) *GetOrganizationParams

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

func (*GetOrganizationParams) SetContext

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

SetContext adds the context to the get organization params

func (*GetOrganizationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get organization params

func (*GetOrganizationParams) SetOrganizationName

func (o *GetOrganizationParams) SetOrganizationName(organizationName string)

SetOrganizationName adds the organizationName to the get organization params

func (*GetOrganizationParams) SetTimeout

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

SetTimeout adds the timeout to the get organization params

func (*GetOrganizationParams) SetXDispatchOrg added in v0.1.18

func (o *GetOrganizationParams) SetXDispatchOrg(xDispatchOrg string)

SetXDispatchOrg adds the xDispatchOrg to the get organization params

func (*GetOrganizationParams) WithContext

WithContext adds the context to the get organization params

func (*GetOrganizationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get organization params

func (*GetOrganizationParams) WithOrganizationName

func (o *GetOrganizationParams) WithOrganizationName(organizationName string) *GetOrganizationParams

WithOrganizationName adds the organizationName to the get organization params

func (*GetOrganizationParams) WithTimeout

func (o *GetOrganizationParams) WithTimeout(timeout time.Duration) *GetOrganizationParams

WithTimeout adds the timeout to the get organization params

func (*GetOrganizationParams) WithXDispatchOrg added in v0.1.18

func (o *GetOrganizationParams) WithXDispatchOrg(xDispatchOrg string) *GetOrganizationParams

WithXDispatchOrg adds the xDispatchOrg to the get organization params

func (*GetOrganizationParams) WriteToRequest

func (o *GetOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetOrganizationReader

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

GetOrganizationReader is a Reader for the GetOrganization structure.

func (*GetOrganizationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrganizationUnauthorized added in v0.1.18

type GetOrganizationUnauthorized struct {
	Payload *v1.Error
}

GetOrganizationUnauthorized handles this case with default header values.

Unauthorized Request

func NewGetOrganizationUnauthorized added in v0.1.18

func NewGetOrganizationUnauthorized() *GetOrganizationUnauthorized

NewGetOrganizationUnauthorized creates a GetOrganizationUnauthorized with default headers values

func (*GetOrganizationUnauthorized) Error added in v0.1.18

type GetOrganizationsDefault

type GetOrganizationsDefault struct {
	Payload *v1.Error
	// contains filtered or unexported fields
}

GetOrganizationsDefault handles this case with default header values.

Unexpected Error

func NewGetOrganizationsDefault

func NewGetOrganizationsDefault(code int) *GetOrganizationsDefault

NewGetOrganizationsDefault creates a GetOrganizationsDefault with default headers values

func (*GetOrganizationsDefault) Code

func (o *GetOrganizationsDefault) Code() int

Code gets the status code for the get organizations default response

func (*GetOrganizationsDefault) Error

func (o *GetOrganizationsDefault) Error() string

type GetOrganizationsForbidden added in v0.1.18

type GetOrganizationsForbidden struct {
	Payload *v1.Error
}

GetOrganizationsForbidden handles this case with default header values.

access to this resource is forbidden

func NewGetOrganizationsForbidden added in v0.1.18

func NewGetOrganizationsForbidden() *GetOrganizationsForbidden

NewGetOrganizationsForbidden creates a GetOrganizationsForbidden with default headers values

func (*GetOrganizationsForbidden) Error added in v0.1.18

func (o *GetOrganizationsForbidden) Error() string

type GetOrganizationsOK

type GetOrganizationsOK struct {
	Payload []*v1.Organization
}

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 {

	/*XDispatchOrg*/
	XDispatchOrg *string

	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) SetXDispatchOrg added in v0.1.18

func (o *GetOrganizationsParams) SetXDispatchOrg(xDispatchOrg *string)

SetXDispatchOrg adds the xDispatchOrg 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) WithXDispatchOrg added in v0.1.18

func (o *GetOrganizationsParams) WithXDispatchOrg(xDispatchOrg *string) *GetOrganizationsParams

WithXDispatchOrg adds the xDispatchOrg 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 GetOrganizationsUnauthorized added in v0.1.18

type GetOrganizationsUnauthorized struct {
	Payload *v1.Error
}

GetOrganizationsUnauthorized handles this case with default header values.

Unauthorized Request

func NewGetOrganizationsUnauthorized added in v0.1.18

func NewGetOrganizationsUnauthorized() *GetOrganizationsUnauthorized

NewGetOrganizationsUnauthorized creates a GetOrganizationsUnauthorized with default headers values

func (*GetOrganizationsUnauthorized) Error added in v0.1.18

type UpdateOrganizationBadRequest

type UpdateOrganizationBadRequest struct {
	Payload *v1.Error
}

UpdateOrganizationBadRequest handles this case with default header values.

Invalid input

func NewUpdateOrganizationBadRequest

func NewUpdateOrganizationBadRequest() *UpdateOrganizationBadRequest

NewUpdateOrganizationBadRequest creates a UpdateOrganizationBadRequest with default headers values

func (*UpdateOrganizationBadRequest) Error

type UpdateOrganizationDefault added in v0.1.18

type UpdateOrganizationDefault struct {
	Payload *v1.Error
	// contains filtered or unexported fields
}

UpdateOrganizationDefault handles this case with default header values.

Unknown error

func NewUpdateOrganizationDefault added in v0.1.18

func NewUpdateOrganizationDefault(code int) *UpdateOrganizationDefault

NewUpdateOrganizationDefault creates a UpdateOrganizationDefault with default headers values

func (*UpdateOrganizationDefault) Code added in v0.1.18

func (o *UpdateOrganizationDefault) Code() int

Code gets the status code for the update organization default response

func (*UpdateOrganizationDefault) Error added in v0.1.18

func (o *UpdateOrganizationDefault) Error() string

type UpdateOrganizationForbidden added in v0.1.18

type UpdateOrganizationForbidden struct {
	Payload *v1.Error
}

UpdateOrganizationForbidden handles this case with default header values.

access to this resource is forbidden

func NewUpdateOrganizationForbidden added in v0.1.18

func NewUpdateOrganizationForbidden() *UpdateOrganizationForbidden

NewUpdateOrganizationForbidden creates a UpdateOrganizationForbidden with default headers values

func (*UpdateOrganizationForbidden) Error added in v0.1.18

type UpdateOrganizationNotFound

type UpdateOrganizationNotFound struct {
	Payload *v1.Error
}

UpdateOrganizationNotFound handles this case with default header values.

Organization not found

func NewUpdateOrganizationNotFound

func NewUpdateOrganizationNotFound() *UpdateOrganizationNotFound

NewUpdateOrganizationNotFound creates a UpdateOrganizationNotFound with default headers values

func (*UpdateOrganizationNotFound) Error

type UpdateOrganizationOK

type UpdateOrganizationOK struct {
	Payload *v1.Organization
}

UpdateOrganizationOK handles this case with default header values.

Successful update

func NewUpdateOrganizationOK

func NewUpdateOrganizationOK() *UpdateOrganizationOK

NewUpdateOrganizationOK creates a UpdateOrganizationOK with default headers values

func (*UpdateOrganizationOK) Error

func (o *UpdateOrganizationOK) Error() string

type UpdateOrganizationParams

type UpdateOrganizationParams struct {

	/*XDispatchOrg*/
	XDispatchOrg string
	/*Body
	  Organization object

	*/
	Body *v1.Organization
	/*OrganizationName
	  Name of Organization to work on

	*/
	OrganizationName string

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

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

func NewUpdateOrganizationParams

func NewUpdateOrganizationParams() *UpdateOrganizationParams

NewUpdateOrganizationParams creates a new UpdateOrganizationParams object with the default values initialized.

func NewUpdateOrganizationParamsWithContext

func NewUpdateOrganizationParamsWithContext(ctx context.Context) *UpdateOrganizationParams

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

func NewUpdateOrganizationParamsWithHTTPClient

func NewUpdateOrganizationParamsWithHTTPClient(client *http.Client) *UpdateOrganizationParams

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

func NewUpdateOrganizationParamsWithTimeout

func NewUpdateOrganizationParamsWithTimeout(timeout time.Duration) *UpdateOrganizationParams

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

func (*UpdateOrganizationParams) SetBody

func (o *UpdateOrganizationParams) SetBody(body *v1.Organization)

SetBody adds the body to the update organization params

func (*UpdateOrganizationParams) SetContext

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

SetContext adds the context to the update organization params

func (*UpdateOrganizationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update organization params

func (*UpdateOrganizationParams) SetOrganizationName

func (o *UpdateOrganizationParams) SetOrganizationName(organizationName string)

SetOrganizationName adds the organizationName to the update organization params

func (*UpdateOrganizationParams) SetTimeout

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

SetTimeout adds the timeout to the update organization params

func (*UpdateOrganizationParams) SetXDispatchOrg added in v0.1.18

func (o *UpdateOrganizationParams) SetXDispatchOrg(xDispatchOrg string)

SetXDispatchOrg adds the xDispatchOrg to the update organization params

func (*UpdateOrganizationParams) WithBody

WithBody adds the body to the update organization params

func (*UpdateOrganizationParams) WithContext

WithContext adds the context to the update organization params

func (*UpdateOrganizationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update organization params

func (*UpdateOrganizationParams) WithOrganizationName

func (o *UpdateOrganizationParams) WithOrganizationName(organizationName string) *UpdateOrganizationParams

WithOrganizationName adds the organizationName to the update organization params

func (*UpdateOrganizationParams) WithTimeout

WithTimeout adds the timeout to the update organization params

func (*UpdateOrganizationParams) WithXDispatchOrg added in v0.1.18

func (o *UpdateOrganizationParams) WithXDispatchOrg(xDispatchOrg string) *UpdateOrganizationParams

WithXDispatchOrg adds the xDispatchOrg to the update organization params

func (*UpdateOrganizationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateOrganizationReader

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

UpdateOrganizationReader is a Reader for the UpdateOrganization structure.

func (*UpdateOrganizationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateOrganizationUnauthorized added in v0.1.18

type UpdateOrganizationUnauthorized struct {
	Payload *v1.Error
}

UpdateOrganizationUnauthorized handles this case with default header values.

Unauthorized Request

func NewUpdateOrganizationUnauthorized added in v0.1.18

func NewUpdateOrganizationUnauthorized() *UpdateOrganizationUnauthorized

NewUpdateOrganizationUnauthorized creates a UpdateOrganizationUnauthorized with default headers values

func (*UpdateOrganizationUnauthorized) Error added in v0.1.18

Jump to

Keyboard shortcuts

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