organizations

package
v1.2.30 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptOrganizationInvitationBadRequest

type AcceptOrganizationInvitationBadRequest struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

AcceptOrganizationInvitationBadRequest describes a response with status code 400, with default header values.

User already belongs to organization. (code: `organization.user_organization_already_belongs`)

func NewAcceptOrganizationInvitationBadRequest

func NewAcceptOrganizationInvitationBadRequest() *AcceptOrganizationInvitationBadRequest

NewAcceptOrganizationInvitationBadRequest creates a AcceptOrganizationInvitationBadRequest with default headers values

func (*AcceptOrganizationInvitationBadRequest) Code

Code gets the status code for the accept organization invitation bad request response

func (*AcceptOrganizationInvitationBadRequest) Error

func (*AcceptOrganizationInvitationBadRequest) GetPayload

func (*AcceptOrganizationInvitationBadRequest) IsClientError

func (o *AcceptOrganizationInvitationBadRequest) IsClientError() bool

IsClientError returns true when this accept organization invitation bad request response has a 4xx status code

func (*AcceptOrganizationInvitationBadRequest) IsCode

IsCode returns true when this accept organization invitation bad request response a status code equal to that given

func (*AcceptOrganizationInvitationBadRequest) IsRedirect

IsRedirect returns true when this accept organization invitation bad request response has a 3xx status code

func (*AcceptOrganizationInvitationBadRequest) IsServerError

func (o *AcceptOrganizationInvitationBadRequest) IsServerError() bool

IsServerError returns true when this accept organization invitation bad request response has a 5xx status code

func (*AcceptOrganizationInvitationBadRequest) IsSuccess

IsSuccess returns true when this accept organization invitation bad request response has a 2xx status code

func (*AcceptOrganizationInvitationBadRequest) String

type AcceptOrganizationInvitationForbidden

type AcceptOrganizationInvitationForbidden struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

AcceptOrganizationInvitationForbidden describes a response with status code 403, with default header values.

The current user authentication is not valid. (code: `root.invalid_authentication`)

func NewAcceptOrganizationInvitationForbidden

func NewAcceptOrganizationInvitationForbidden() *AcceptOrganizationInvitationForbidden

NewAcceptOrganizationInvitationForbidden creates a AcceptOrganizationInvitationForbidden with default headers values

func (*AcceptOrganizationInvitationForbidden) Code

Code gets the status code for the accept organization invitation forbidden response

func (*AcceptOrganizationInvitationForbidden) Error

func (*AcceptOrganizationInvitationForbidden) GetPayload

func (*AcceptOrganizationInvitationForbidden) IsClientError

func (o *AcceptOrganizationInvitationForbidden) IsClientError() bool

IsClientError returns true when this accept organization invitation forbidden response has a 4xx status code

func (*AcceptOrganizationInvitationForbidden) IsCode

IsCode returns true when this accept organization invitation forbidden response a status code equal to that given

func (*AcceptOrganizationInvitationForbidden) IsRedirect

IsRedirect returns true when this accept organization invitation forbidden response has a 3xx status code

func (*AcceptOrganizationInvitationForbidden) IsServerError

func (o *AcceptOrganizationInvitationForbidden) IsServerError() bool

IsServerError returns true when this accept organization invitation forbidden response has a 5xx status code

func (*AcceptOrganizationInvitationForbidden) IsSuccess

IsSuccess returns true when this accept organization invitation forbidden response has a 2xx status code

func (*AcceptOrganizationInvitationForbidden) String

type AcceptOrganizationInvitationNotFound

type AcceptOrganizationInvitationNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
AcceptOrganizationInvitationNotFound describes a response with status code 404, with default header values.

* Organization not found. (code: `organization.not_found`)

* User not found. (code: `user.not_found`) * Invitation not found. (code: `organization.invitation_not_found`)

func NewAcceptOrganizationInvitationNotFound

func NewAcceptOrganizationInvitationNotFound() *AcceptOrganizationInvitationNotFound

NewAcceptOrganizationInvitationNotFound creates a AcceptOrganizationInvitationNotFound with default headers values

func (*AcceptOrganizationInvitationNotFound) Code

Code gets the status code for the accept organization invitation not found response

func (*AcceptOrganizationInvitationNotFound) Error

func (*AcceptOrganizationInvitationNotFound) GetPayload

func (*AcceptOrganizationInvitationNotFound) IsClientError

func (o *AcceptOrganizationInvitationNotFound) IsClientError() bool

IsClientError returns true when this accept organization invitation not found response has a 4xx status code

func (*AcceptOrganizationInvitationNotFound) IsCode

IsCode returns true when this accept organization invitation not found response a status code equal to that given

func (*AcceptOrganizationInvitationNotFound) IsRedirect

IsRedirect returns true when this accept organization invitation not found response has a 3xx status code

func (*AcceptOrganizationInvitationNotFound) IsServerError

func (o *AcceptOrganizationInvitationNotFound) IsServerError() bool

IsServerError returns true when this accept organization invitation not found response has a 5xx status code

func (*AcceptOrganizationInvitationNotFound) IsSuccess

IsSuccess returns true when this accept organization invitation not found response has a 2xx status code

func (*AcceptOrganizationInvitationNotFound) String

type AcceptOrganizationInvitationOK

type AcceptOrganizationInvitationOK struct {
	Payload models.EmptyResponse
}

AcceptOrganizationInvitationOK describes a response with status code 200, with default header values.

Organization invitation accepted successfully

func NewAcceptOrganizationInvitationOK

func NewAcceptOrganizationInvitationOK() *AcceptOrganizationInvitationOK

NewAcceptOrganizationInvitationOK creates a AcceptOrganizationInvitationOK with default headers values

func (*AcceptOrganizationInvitationOK) Code

Code gets the status code for the accept organization invitation o k response

func (*AcceptOrganizationInvitationOK) Error

func (*AcceptOrganizationInvitationOK) GetPayload

func (*AcceptOrganizationInvitationOK) IsClientError

func (o *AcceptOrganizationInvitationOK) IsClientError() bool

IsClientError returns true when this accept organization invitation o k response has a 4xx status code

func (*AcceptOrganizationInvitationOK) IsCode

func (o *AcceptOrganizationInvitationOK) IsCode(code int) bool

IsCode returns true when this accept organization invitation o k response a status code equal to that given

func (*AcceptOrganizationInvitationOK) IsRedirect

func (o *AcceptOrganizationInvitationOK) IsRedirect() bool

IsRedirect returns true when this accept organization invitation o k response has a 3xx status code

func (*AcceptOrganizationInvitationOK) IsServerError

func (o *AcceptOrganizationInvitationOK) IsServerError() bool

IsServerError returns true when this accept organization invitation o k response has a 5xx status code

func (*AcceptOrganizationInvitationOK) IsSuccess

func (o *AcceptOrganizationInvitationOK) IsSuccess() bool

IsSuccess returns true when this accept organization invitation o k response has a 2xx status code

func (*AcceptOrganizationInvitationOK) String

type AcceptOrganizationInvitationParams

type AcceptOrganizationInvitationParams struct {

	/* InvitationToken.

	   Organization invitation token
	*/
	InvitationToken string

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

AcceptOrganizationInvitationParams contains all the parameters to send to the API endpoint

for the accept organization invitation operation.

Typically these are written to a http.Request.

func NewAcceptOrganizationInvitationParams

func NewAcceptOrganizationInvitationParams() *AcceptOrganizationInvitationParams

NewAcceptOrganizationInvitationParams creates a new AcceptOrganizationInvitationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAcceptOrganizationInvitationParamsWithContext

func NewAcceptOrganizationInvitationParamsWithContext(ctx context.Context) *AcceptOrganizationInvitationParams

NewAcceptOrganizationInvitationParamsWithContext creates a new AcceptOrganizationInvitationParams object with the ability to set a context for a request.

func NewAcceptOrganizationInvitationParamsWithHTTPClient

func NewAcceptOrganizationInvitationParamsWithHTTPClient(client *http.Client) *AcceptOrganizationInvitationParams

NewAcceptOrganizationInvitationParamsWithHTTPClient creates a new AcceptOrganizationInvitationParams object with the ability to set a custom HTTPClient for a request.

func NewAcceptOrganizationInvitationParamsWithTimeout

func NewAcceptOrganizationInvitationParamsWithTimeout(timeout time.Duration) *AcceptOrganizationInvitationParams

NewAcceptOrganizationInvitationParamsWithTimeout creates a new AcceptOrganizationInvitationParams object with the ability to set a timeout on a request.

func (*AcceptOrganizationInvitationParams) SetContext

SetContext adds the context to the accept organization invitation params

func (*AcceptOrganizationInvitationParams) SetDefaults

func (o *AcceptOrganizationInvitationParams) SetDefaults()

SetDefaults hydrates default values in the accept organization invitation params (not the query body).

All values with no default are reset to their zero value.

func (*AcceptOrganizationInvitationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the accept organization invitation params

func (*AcceptOrganizationInvitationParams) SetInvitationToken

func (o *AcceptOrganizationInvitationParams) SetInvitationToken(invitationToken string)

SetInvitationToken adds the invitationToken to the accept organization invitation params

func (*AcceptOrganizationInvitationParams) SetTimeout

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

SetTimeout adds the timeout to the accept organization invitation params

func (*AcceptOrganizationInvitationParams) WithContext

WithContext adds the context to the accept organization invitation params

func (*AcceptOrganizationInvitationParams) WithDefaults

WithDefaults hydrates default values in the accept organization invitation params (not the query body).

All values with no default are reset to their zero value.

func (*AcceptOrganizationInvitationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the accept organization invitation params

func (*AcceptOrganizationInvitationParams) WithInvitationToken

func (o *AcceptOrganizationInvitationParams) WithInvitationToken(invitationToken string) *AcceptOrganizationInvitationParams

WithInvitationToken adds the invitationToken to the accept organization invitation params

func (*AcceptOrganizationInvitationParams) WithTimeout

WithTimeout adds the timeout to the accept organization invitation params

func (*AcceptOrganizationInvitationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AcceptOrganizationInvitationReader

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

AcceptOrganizationInvitationReader is a Reader for the AcceptOrganizationInvitation structure.

func (*AcceptOrganizationInvitationReader) ReadResponse

func (o *AcceptOrganizationInvitationReader) 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 organizations API

func (*Client) AcceptOrganizationInvitation

func (a *Client) AcceptOrganizationInvitation(params *AcceptOrganizationInvitationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AcceptOrganizationInvitationOK, error)

AcceptOrganizationInvitation accepts an organization invitation

Accepts an organization invitation. Currently unavailable in self-hosted ECE.

func (*Client) CreateOrganizationInvitations

CreateOrganizationInvitations creates organization invitations

Creates or refreshes organization invitations. Currently unavailable in self-hosted ECE.

func (*Client) DeleteOrganizationInvitations

func (a *Client) DeleteOrganizationInvitations(params *DeleteOrganizationInvitationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrganizationInvitationsOK, error)

DeleteOrganizationInvitations deletes organization invitations

Deletes one or more organization invitations. Currently unavailable in self-hosted ECE.

func (*Client) DeleteOrganizationMemberships

func (a *Client) DeleteOrganizationMemberships(params *DeleteOrganizationMembershipsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrganizationMembershipsOK, error)

DeleteOrganizationMemberships deletes organization memberships

Deletes one or more organization memberships. Currently unavailable in self-hosted ECE.

func (*Client) GetOrganization

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

GetOrganization fetches organization information

Fetch a single organization by id. Currently unavailable in self-hosted ECE.

func (*Client) GetOrganizationInvitation

func (a *Client) GetOrganizationInvitation(params *GetOrganizationInvitationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationInvitationOK, error)

GetOrganizationInvitation gets organization invitation

Gets a single invitation to an organization by token. Currently unavailable in self-hosted ECE.

func (*Client) ListOrganizationInvitations

func (a *Client) ListOrganizationInvitations(params *ListOrganizationInvitationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrganizationInvitationsOK, error)

ListOrganizationInvitations lists organization invitations

Fetch open invitations to the selected organization. Currently unavailable in self-hosted ECE.

func (*Client) ListOrganizationMembers

func (a *Client) ListOrganizationMembers(params *ListOrganizationMembersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrganizationMembersOK, error)

ListOrganizationMembers lists organization members

Fetch users belonging to the selected organization. Currently unavailable in self-hosted ECE.

func (*Client) ListOrganizations

func (a *Client) ListOrganizations(params *ListOrganizationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrganizationsOK, error)

ListOrganizations lists organizations

Fetch organizations available to the current user. Currently unavailable in self-hosted ECE.

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, opts ...ClientOption) (*UpdateOrganizationOK, error)
UpdateOrganization updates organization

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version.

Updates an existing organization. Currently unavailable in self-hosted ECE.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AcceptOrganizationInvitation(params *AcceptOrganizationInvitationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AcceptOrganizationInvitationOK, error)

	CreateOrganizationInvitations(params *CreateOrganizationInvitationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOrganizationInvitationsCreated, error)

	DeleteOrganizationInvitations(params *DeleteOrganizationInvitationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrganizationInvitationsOK, error)

	DeleteOrganizationMemberships(params *DeleteOrganizationMembershipsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrganizationMembershipsOK, error)

	GetOrganization(params *GetOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationOK, error)

	GetOrganizationInvitation(params *GetOrganizationInvitationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationInvitationOK, error)

	ListOrganizationInvitations(params *ListOrganizationInvitationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrganizationInvitationsOK, error)

	ListOrganizationMembers(params *ListOrganizationMembersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrganizationMembersOK, error)

	ListOrganizations(params *ListOrganizationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrganizationsOK, error)

	UpdateOrganization(params *UpdateOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrganizationOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new organizations API client.

type CreateOrganizationInvitationsBadRequest

type CreateOrganizationInvitationsBadRequest struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
CreateOrganizationInvitationsBadRequest describes a response with status code 400, with default header values.

* Invitation email was not valid. (code: `organization.invitation_invalid_email`)

* Invitation already sent. (code: `organization.invitation_already_exists`) * User already belongs to organization. (code: `organization.user_organization_already_belongs`)

func NewCreateOrganizationInvitationsBadRequest

func NewCreateOrganizationInvitationsBadRequest() *CreateOrganizationInvitationsBadRequest

NewCreateOrganizationInvitationsBadRequest creates a CreateOrganizationInvitationsBadRequest with default headers values

func (*CreateOrganizationInvitationsBadRequest) Code

Code gets the status code for the create organization invitations bad request response

func (*CreateOrganizationInvitationsBadRequest) Error

func (*CreateOrganizationInvitationsBadRequest) GetPayload

func (*CreateOrganizationInvitationsBadRequest) IsClientError

func (o *CreateOrganizationInvitationsBadRequest) IsClientError() bool

IsClientError returns true when this create organization invitations bad request response has a 4xx status code

func (*CreateOrganizationInvitationsBadRequest) IsCode

IsCode returns true when this create organization invitations bad request response a status code equal to that given

func (*CreateOrganizationInvitationsBadRequest) IsRedirect

IsRedirect returns true when this create organization invitations bad request response has a 3xx status code

func (*CreateOrganizationInvitationsBadRequest) IsServerError

func (o *CreateOrganizationInvitationsBadRequest) IsServerError() bool

IsServerError returns true when this create organization invitations bad request response has a 5xx status code

func (*CreateOrganizationInvitationsBadRequest) IsSuccess

IsSuccess returns true when this create organization invitations bad request response has a 2xx status code

func (*CreateOrganizationInvitationsBadRequest) String

type CreateOrganizationInvitationsCreated

type CreateOrganizationInvitationsCreated struct {
	Payload *models.OrganizationInvitations
}

CreateOrganizationInvitationsCreated describes a response with status code 201, with default header values.

Organization invitations created successfully

func NewCreateOrganizationInvitationsCreated

func NewCreateOrganizationInvitationsCreated() *CreateOrganizationInvitationsCreated

NewCreateOrganizationInvitationsCreated creates a CreateOrganizationInvitationsCreated with default headers values

func (*CreateOrganizationInvitationsCreated) Code

Code gets the status code for the create organization invitations created response

func (*CreateOrganizationInvitationsCreated) Error

func (*CreateOrganizationInvitationsCreated) GetPayload

func (*CreateOrganizationInvitationsCreated) IsClientError

func (o *CreateOrganizationInvitationsCreated) IsClientError() bool

IsClientError returns true when this create organization invitations created response has a 4xx status code

func (*CreateOrganizationInvitationsCreated) IsCode

IsCode returns true when this create organization invitations created response a status code equal to that given

func (*CreateOrganizationInvitationsCreated) IsRedirect

IsRedirect returns true when this create organization invitations created response has a 3xx status code

func (*CreateOrganizationInvitationsCreated) IsServerError

func (o *CreateOrganizationInvitationsCreated) IsServerError() bool

IsServerError returns true when this create organization invitations created response has a 5xx status code

func (*CreateOrganizationInvitationsCreated) IsSuccess

IsSuccess returns true when this create organization invitations created response has a 2xx status code

func (*CreateOrganizationInvitationsCreated) String

type CreateOrganizationInvitationsForbidden

type CreateOrganizationInvitationsForbidden struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

CreateOrganizationInvitationsForbidden describes a response with status code 403, with default header values.

The current user authentication is not valid. (code: `root.invalid_authentication`)

func NewCreateOrganizationInvitationsForbidden

func NewCreateOrganizationInvitationsForbidden() *CreateOrganizationInvitationsForbidden

NewCreateOrganizationInvitationsForbidden creates a CreateOrganizationInvitationsForbidden with default headers values

func (*CreateOrganizationInvitationsForbidden) Code

Code gets the status code for the create organization invitations forbidden response

func (*CreateOrganizationInvitationsForbidden) Error

func (*CreateOrganizationInvitationsForbidden) GetPayload

func (*CreateOrganizationInvitationsForbidden) IsClientError

func (o *CreateOrganizationInvitationsForbidden) IsClientError() bool

IsClientError returns true when this create organization invitations forbidden response has a 4xx status code

func (*CreateOrganizationInvitationsForbidden) IsCode

IsCode returns true when this create organization invitations forbidden response a status code equal to that given

func (*CreateOrganizationInvitationsForbidden) IsRedirect

IsRedirect returns true when this create organization invitations forbidden response has a 3xx status code

func (*CreateOrganizationInvitationsForbidden) IsServerError

func (o *CreateOrganizationInvitationsForbidden) IsServerError() bool

IsServerError returns true when this create organization invitations forbidden response has a 5xx status code

func (*CreateOrganizationInvitationsForbidden) IsSuccess

IsSuccess returns true when this create organization invitations forbidden response has a 2xx status code

func (*CreateOrganizationInvitationsForbidden) String

type CreateOrganizationInvitationsNotFound

type CreateOrganizationInvitationsNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
CreateOrganizationInvitationsNotFound describes a response with status code 404, with default header values.

* Organization not found. (code: `organization.not_found`)

* User not found. (code: `user.not_found`) * Invitation sender does not belong to organization. (code: `organization.user_organization_does_not_belong`)

func NewCreateOrganizationInvitationsNotFound

func NewCreateOrganizationInvitationsNotFound() *CreateOrganizationInvitationsNotFound

NewCreateOrganizationInvitationsNotFound creates a CreateOrganizationInvitationsNotFound with default headers values

func (*CreateOrganizationInvitationsNotFound) Code

Code gets the status code for the create organization invitations not found response

func (*CreateOrganizationInvitationsNotFound) Error

func (*CreateOrganizationInvitationsNotFound) GetPayload

func (*CreateOrganizationInvitationsNotFound) IsClientError

func (o *CreateOrganizationInvitationsNotFound) IsClientError() bool

IsClientError returns true when this create organization invitations not found response has a 4xx status code

func (*CreateOrganizationInvitationsNotFound) IsCode

IsCode returns true when this create organization invitations not found response a status code equal to that given

func (*CreateOrganizationInvitationsNotFound) IsRedirect

IsRedirect returns true when this create organization invitations not found response has a 3xx status code

func (*CreateOrganizationInvitationsNotFound) IsServerError

func (o *CreateOrganizationInvitationsNotFound) IsServerError() bool

IsServerError returns true when this create organization invitations not found response has a 5xx status code

func (*CreateOrganizationInvitationsNotFound) IsSuccess

IsSuccess returns true when this create organization invitations not found response has a 2xx status code

func (*CreateOrganizationInvitationsNotFound) String

type CreateOrganizationInvitationsParams

type CreateOrganizationInvitationsParams struct {

	/* Body.

	   The organization invitations to create or refresh
	*/
	Body *models.OrganizationInvitationRequest

	/* OrganizationID.

	   Identifier for the Organization
	*/
	OrganizationID string

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

CreateOrganizationInvitationsParams contains all the parameters to send to the API endpoint

for the create organization invitations operation.

Typically these are written to a http.Request.

func NewCreateOrganizationInvitationsParams

func NewCreateOrganizationInvitationsParams() *CreateOrganizationInvitationsParams

NewCreateOrganizationInvitationsParams creates a new CreateOrganizationInvitationsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateOrganizationInvitationsParamsWithContext

func NewCreateOrganizationInvitationsParamsWithContext(ctx context.Context) *CreateOrganizationInvitationsParams

NewCreateOrganizationInvitationsParamsWithContext creates a new CreateOrganizationInvitationsParams object with the ability to set a context for a request.

func NewCreateOrganizationInvitationsParamsWithHTTPClient

func NewCreateOrganizationInvitationsParamsWithHTTPClient(client *http.Client) *CreateOrganizationInvitationsParams

NewCreateOrganizationInvitationsParamsWithHTTPClient creates a new CreateOrganizationInvitationsParams object with the ability to set a custom HTTPClient for a request.

func NewCreateOrganizationInvitationsParamsWithTimeout

func NewCreateOrganizationInvitationsParamsWithTimeout(timeout time.Duration) *CreateOrganizationInvitationsParams

NewCreateOrganizationInvitationsParamsWithTimeout creates a new CreateOrganizationInvitationsParams object with the ability to set a timeout on a request.

func (*CreateOrganizationInvitationsParams) SetBody

SetBody adds the body to the create organization invitations params

func (*CreateOrganizationInvitationsParams) SetContext

SetContext adds the context to the create organization invitations params

func (*CreateOrganizationInvitationsParams) SetDefaults

func (o *CreateOrganizationInvitationsParams) SetDefaults()

SetDefaults hydrates default values in the create organization invitations params (not the query body).

All values with no default are reset to their zero value.

func (*CreateOrganizationInvitationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create organization invitations params

func (*CreateOrganizationInvitationsParams) SetOrganizationID

func (o *CreateOrganizationInvitationsParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the create organization invitations params

func (*CreateOrganizationInvitationsParams) SetTimeout

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

SetTimeout adds the timeout to the create organization invitations params

func (*CreateOrganizationInvitationsParams) WithBody

WithBody adds the body to the create organization invitations params

func (*CreateOrganizationInvitationsParams) WithContext

WithContext adds the context to the create organization invitations params

func (*CreateOrganizationInvitationsParams) WithDefaults

WithDefaults hydrates default values in the create organization invitations params (not the query body).

All values with no default are reset to their zero value.

func (*CreateOrganizationInvitationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create organization invitations params

func (*CreateOrganizationInvitationsParams) WithOrganizationID

WithOrganizationID adds the organizationID to the create organization invitations params

func (*CreateOrganizationInvitationsParams) WithTimeout

WithTimeout adds the timeout to the create organization invitations params

func (*CreateOrganizationInvitationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateOrganizationInvitationsReader

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

CreateOrganizationInvitationsReader is a Reader for the CreateOrganizationInvitations structure.

func (*CreateOrganizationInvitationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateOrganizationInvitationsTooManyRequests

type CreateOrganizationInvitationsTooManyRequests struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

CreateOrganizationInvitationsTooManyRequests describes a response with status code 429, with default header values.

Request exceeds organization invitation creation rate limits. (code: `organization.invitations_rate_limit_exceeded`)

func NewCreateOrganizationInvitationsTooManyRequests

func NewCreateOrganizationInvitationsTooManyRequests() *CreateOrganizationInvitationsTooManyRequests

NewCreateOrganizationInvitationsTooManyRequests creates a CreateOrganizationInvitationsTooManyRequests with default headers values

func (*CreateOrganizationInvitationsTooManyRequests) Code

Code gets the status code for the create organization invitations too many requests response

func (*CreateOrganizationInvitationsTooManyRequests) Error

func (*CreateOrganizationInvitationsTooManyRequests) GetPayload

func (*CreateOrganizationInvitationsTooManyRequests) IsClientError

IsClientError returns true when this create organization invitations too many requests response has a 4xx status code

func (*CreateOrganizationInvitationsTooManyRequests) IsCode

IsCode returns true when this create organization invitations too many requests response a status code equal to that given

func (*CreateOrganizationInvitationsTooManyRequests) IsRedirect

IsRedirect returns true when this create organization invitations too many requests response has a 3xx status code

func (*CreateOrganizationInvitationsTooManyRequests) IsServerError

IsServerError returns true when this create organization invitations too many requests response has a 5xx status code

func (*CreateOrganizationInvitationsTooManyRequests) IsSuccess

IsSuccess returns true when this create organization invitations too many requests response has a 2xx status code

func (*CreateOrganizationInvitationsTooManyRequests) String

type DeleteOrganizationInvitationsBadRequest

type DeleteOrganizationInvitationsBadRequest struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DeleteOrganizationInvitationsBadRequest describes a response with status code 400, with default header values.

No valid invitation token was supplied. (code: `root.invalid_data`)

func NewDeleteOrganizationInvitationsBadRequest

func NewDeleteOrganizationInvitationsBadRequest() *DeleteOrganizationInvitationsBadRequest

NewDeleteOrganizationInvitationsBadRequest creates a DeleteOrganizationInvitationsBadRequest with default headers values

func (*DeleteOrganizationInvitationsBadRequest) Code

Code gets the status code for the delete organization invitations bad request response

func (*DeleteOrganizationInvitationsBadRequest) Error

func (*DeleteOrganizationInvitationsBadRequest) GetPayload

func (*DeleteOrganizationInvitationsBadRequest) IsClientError

func (o *DeleteOrganizationInvitationsBadRequest) IsClientError() bool

IsClientError returns true when this delete organization invitations bad request response has a 4xx status code

func (*DeleteOrganizationInvitationsBadRequest) IsCode

IsCode returns true when this delete organization invitations bad request response a status code equal to that given

func (*DeleteOrganizationInvitationsBadRequest) IsRedirect

IsRedirect returns true when this delete organization invitations bad request response has a 3xx status code

func (*DeleteOrganizationInvitationsBadRequest) IsServerError

func (o *DeleteOrganizationInvitationsBadRequest) IsServerError() bool

IsServerError returns true when this delete organization invitations bad request response has a 5xx status code

func (*DeleteOrganizationInvitationsBadRequest) IsSuccess

IsSuccess returns true when this delete organization invitations bad request response has a 2xx status code

func (*DeleteOrganizationInvitationsBadRequest) String

type DeleteOrganizationInvitationsNotFound

type DeleteOrganizationInvitationsNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
DeleteOrganizationInvitationsNotFound describes a response with status code 404, with default header values.

* Organization not found. (code: `organization.not_found`)

* Invitation not found. (code: `organization.invitation_not_found`)

func NewDeleteOrganizationInvitationsNotFound

func NewDeleteOrganizationInvitationsNotFound() *DeleteOrganizationInvitationsNotFound

NewDeleteOrganizationInvitationsNotFound creates a DeleteOrganizationInvitationsNotFound with default headers values

func (*DeleteOrganizationInvitationsNotFound) Code

Code gets the status code for the delete organization invitations not found response

func (*DeleteOrganizationInvitationsNotFound) Error

func (*DeleteOrganizationInvitationsNotFound) GetPayload

func (*DeleteOrganizationInvitationsNotFound) IsClientError

func (o *DeleteOrganizationInvitationsNotFound) IsClientError() bool

IsClientError returns true when this delete organization invitations not found response has a 4xx status code

func (*DeleteOrganizationInvitationsNotFound) IsCode

IsCode returns true when this delete organization invitations not found response a status code equal to that given

func (*DeleteOrganizationInvitationsNotFound) IsRedirect

IsRedirect returns true when this delete organization invitations not found response has a 3xx status code

func (*DeleteOrganizationInvitationsNotFound) IsServerError

func (o *DeleteOrganizationInvitationsNotFound) IsServerError() bool

IsServerError returns true when this delete organization invitations not found response has a 5xx status code

func (*DeleteOrganizationInvitationsNotFound) IsSuccess

IsSuccess returns true when this delete organization invitations not found response has a 2xx status code

func (*DeleteOrganizationInvitationsNotFound) String

type DeleteOrganizationInvitationsOK

type DeleteOrganizationInvitationsOK struct {
	Payload models.EmptyResponse
}

DeleteOrganizationInvitationsOK describes a response with status code 200, with default header values.

Organization invitations deleted successfully

func NewDeleteOrganizationInvitationsOK

func NewDeleteOrganizationInvitationsOK() *DeleteOrganizationInvitationsOK

NewDeleteOrganizationInvitationsOK creates a DeleteOrganizationInvitationsOK with default headers values

func (*DeleteOrganizationInvitationsOK) Code

Code gets the status code for the delete organization invitations o k response

func (*DeleteOrganizationInvitationsOK) Error

func (*DeleteOrganizationInvitationsOK) GetPayload

func (*DeleteOrganizationInvitationsOK) IsClientError

func (o *DeleteOrganizationInvitationsOK) IsClientError() bool

IsClientError returns true when this delete organization invitations o k response has a 4xx status code

func (*DeleteOrganizationInvitationsOK) IsCode

func (o *DeleteOrganizationInvitationsOK) IsCode(code int) bool

IsCode returns true when this delete organization invitations o k response a status code equal to that given

func (*DeleteOrganizationInvitationsOK) IsRedirect

func (o *DeleteOrganizationInvitationsOK) IsRedirect() bool

IsRedirect returns true when this delete organization invitations o k response has a 3xx status code

func (*DeleteOrganizationInvitationsOK) IsServerError

func (o *DeleteOrganizationInvitationsOK) IsServerError() bool

IsServerError returns true when this delete organization invitations o k response has a 5xx status code

func (*DeleteOrganizationInvitationsOK) IsSuccess

func (o *DeleteOrganizationInvitationsOK) IsSuccess() bool

IsSuccess returns true when this delete organization invitations o k response has a 2xx status code

func (*DeleteOrganizationInvitationsOK) String

type DeleteOrganizationInvitationsParams

type DeleteOrganizationInvitationsParams struct {

	/* InvitationTokens.

	   CSV list of Invitation tokens
	*/
	InvitationTokens string

	/* OrganizationID.

	   Identifier for the Organization
	*/
	OrganizationID string

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

DeleteOrganizationInvitationsParams contains all the parameters to send to the API endpoint

for the delete organization invitations operation.

Typically these are written to a http.Request.

func NewDeleteOrganizationInvitationsParams

func NewDeleteOrganizationInvitationsParams() *DeleteOrganizationInvitationsParams

NewDeleteOrganizationInvitationsParams creates a new DeleteOrganizationInvitationsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteOrganizationInvitationsParamsWithContext

func NewDeleteOrganizationInvitationsParamsWithContext(ctx context.Context) *DeleteOrganizationInvitationsParams

NewDeleteOrganizationInvitationsParamsWithContext creates a new DeleteOrganizationInvitationsParams object with the ability to set a context for a request.

func NewDeleteOrganizationInvitationsParamsWithHTTPClient

func NewDeleteOrganizationInvitationsParamsWithHTTPClient(client *http.Client) *DeleteOrganizationInvitationsParams

NewDeleteOrganizationInvitationsParamsWithHTTPClient creates a new DeleteOrganizationInvitationsParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteOrganizationInvitationsParamsWithTimeout

func NewDeleteOrganizationInvitationsParamsWithTimeout(timeout time.Duration) *DeleteOrganizationInvitationsParams

NewDeleteOrganizationInvitationsParamsWithTimeout creates a new DeleteOrganizationInvitationsParams object with the ability to set a timeout on a request.

func (*DeleteOrganizationInvitationsParams) SetContext

SetContext adds the context to the delete organization invitations params

func (*DeleteOrganizationInvitationsParams) SetDefaults

func (o *DeleteOrganizationInvitationsParams) SetDefaults()

SetDefaults hydrates default values in the delete organization invitations params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteOrganizationInvitationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete organization invitations params

func (*DeleteOrganizationInvitationsParams) SetInvitationTokens

func (o *DeleteOrganizationInvitationsParams) SetInvitationTokens(invitationTokens string)

SetInvitationTokens adds the invitationTokens to the delete organization invitations params

func (*DeleteOrganizationInvitationsParams) SetOrganizationID

func (o *DeleteOrganizationInvitationsParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the delete organization invitations params

func (*DeleteOrganizationInvitationsParams) SetTimeout

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

SetTimeout adds the timeout to the delete organization invitations params

func (*DeleteOrganizationInvitationsParams) WithContext

WithContext adds the context to the delete organization invitations params

func (*DeleteOrganizationInvitationsParams) WithDefaults

WithDefaults hydrates default values in the delete organization invitations params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteOrganizationInvitationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete organization invitations params

func (*DeleteOrganizationInvitationsParams) WithInvitationTokens

func (o *DeleteOrganizationInvitationsParams) WithInvitationTokens(invitationTokens string) *DeleteOrganizationInvitationsParams

WithInvitationTokens adds the invitationTokens to the delete organization invitations params

func (*DeleteOrganizationInvitationsParams) WithOrganizationID

WithOrganizationID adds the organizationID to the delete organization invitations params

func (*DeleteOrganizationInvitationsParams) WithTimeout

WithTimeout adds the timeout to the delete organization invitations params

func (*DeleteOrganizationInvitationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteOrganizationInvitationsReader

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

DeleteOrganizationInvitationsReader is a Reader for the DeleteOrganizationInvitations structure.

func (*DeleteOrganizationInvitationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteOrganizationMembershipsNotFound

type DeleteOrganizationMembershipsNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
DeleteOrganizationMembershipsNotFound describes a response with status code 404, with default header values.

* User not found. (code: `user.not_found`)

* Organization not found. (code: `organization.not_found`) * Organization membership not found. (code: `organization.membership_not_found`)

func NewDeleteOrganizationMembershipsNotFound

func NewDeleteOrganizationMembershipsNotFound() *DeleteOrganizationMembershipsNotFound

NewDeleteOrganizationMembershipsNotFound creates a DeleteOrganizationMembershipsNotFound with default headers values

func (*DeleteOrganizationMembershipsNotFound) Code

Code gets the status code for the delete organization memberships not found response

func (*DeleteOrganizationMembershipsNotFound) Error

func (*DeleteOrganizationMembershipsNotFound) GetPayload

func (*DeleteOrganizationMembershipsNotFound) IsClientError

func (o *DeleteOrganizationMembershipsNotFound) IsClientError() bool

IsClientError returns true when this delete organization memberships not found response has a 4xx status code

func (*DeleteOrganizationMembershipsNotFound) IsCode

IsCode returns true when this delete organization memberships not found response a status code equal to that given

func (*DeleteOrganizationMembershipsNotFound) IsRedirect

IsRedirect returns true when this delete organization memberships not found response has a 3xx status code

func (*DeleteOrganizationMembershipsNotFound) IsServerError

func (o *DeleteOrganizationMembershipsNotFound) IsServerError() bool

IsServerError returns true when this delete organization memberships not found response has a 5xx status code

func (*DeleteOrganizationMembershipsNotFound) IsSuccess

IsSuccess returns true when this delete organization memberships not found response has a 2xx status code

func (*DeleteOrganizationMembershipsNotFound) String

type DeleteOrganizationMembershipsOK

type DeleteOrganizationMembershipsOK struct {
	Payload models.EmptyResponse
}

DeleteOrganizationMembershipsOK describes a response with status code 200, with default header values.

Organization membership deleted successfully

func NewDeleteOrganizationMembershipsOK

func NewDeleteOrganizationMembershipsOK() *DeleteOrganizationMembershipsOK

NewDeleteOrganizationMembershipsOK creates a DeleteOrganizationMembershipsOK with default headers values

func (*DeleteOrganizationMembershipsOK) Code

Code gets the status code for the delete organization memberships o k response

func (*DeleteOrganizationMembershipsOK) Error

func (*DeleteOrganizationMembershipsOK) GetPayload

func (*DeleteOrganizationMembershipsOK) IsClientError

func (o *DeleteOrganizationMembershipsOK) IsClientError() bool

IsClientError returns true when this delete organization memberships o k response has a 4xx status code

func (*DeleteOrganizationMembershipsOK) IsCode

func (o *DeleteOrganizationMembershipsOK) IsCode(code int) bool

IsCode returns true when this delete organization memberships o k response a status code equal to that given

func (*DeleteOrganizationMembershipsOK) IsRedirect

func (o *DeleteOrganizationMembershipsOK) IsRedirect() bool

IsRedirect returns true when this delete organization memberships o k response has a 3xx status code

func (*DeleteOrganizationMembershipsOK) IsServerError

func (o *DeleteOrganizationMembershipsOK) IsServerError() bool

IsServerError returns true when this delete organization memberships o k response has a 5xx status code

func (*DeleteOrganizationMembershipsOK) IsSuccess

func (o *DeleteOrganizationMembershipsOK) IsSuccess() bool

IsSuccess returns true when this delete organization memberships o k response has a 2xx status code

func (*DeleteOrganizationMembershipsOK) String

type DeleteOrganizationMembershipsParams

type DeleteOrganizationMembershipsParams struct {

	/* Force.

	   Whether or not to force the removal of Org memberships (effective only for Platform Admins)
	*/
	Force *bool

	/* OrganizationID.

	   Identifier for the Organization
	*/
	OrganizationID string

	/* UserIds.

	   CSV list of User identifiers
	*/
	UserIds string

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

DeleteOrganizationMembershipsParams contains all the parameters to send to the API endpoint

for the delete organization memberships operation.

Typically these are written to a http.Request.

func NewDeleteOrganizationMembershipsParams

func NewDeleteOrganizationMembershipsParams() *DeleteOrganizationMembershipsParams

NewDeleteOrganizationMembershipsParams creates a new DeleteOrganizationMembershipsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteOrganizationMembershipsParamsWithContext

func NewDeleteOrganizationMembershipsParamsWithContext(ctx context.Context) *DeleteOrganizationMembershipsParams

NewDeleteOrganizationMembershipsParamsWithContext creates a new DeleteOrganizationMembershipsParams object with the ability to set a context for a request.

func NewDeleteOrganizationMembershipsParamsWithHTTPClient

func NewDeleteOrganizationMembershipsParamsWithHTTPClient(client *http.Client) *DeleteOrganizationMembershipsParams

NewDeleteOrganizationMembershipsParamsWithHTTPClient creates a new DeleteOrganizationMembershipsParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteOrganizationMembershipsParamsWithTimeout

func NewDeleteOrganizationMembershipsParamsWithTimeout(timeout time.Duration) *DeleteOrganizationMembershipsParams

NewDeleteOrganizationMembershipsParamsWithTimeout creates a new DeleteOrganizationMembershipsParams object with the ability to set a timeout on a request.

func (*DeleteOrganizationMembershipsParams) SetContext

SetContext adds the context to the delete organization memberships params

func (*DeleteOrganizationMembershipsParams) SetDefaults

func (o *DeleteOrganizationMembershipsParams) SetDefaults()

SetDefaults hydrates default values in the delete organization memberships params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteOrganizationMembershipsParams) SetForce

func (o *DeleteOrganizationMembershipsParams) SetForce(force *bool)

SetForce adds the force to the delete organization memberships params

func (*DeleteOrganizationMembershipsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete organization memberships params

func (*DeleteOrganizationMembershipsParams) SetOrganizationID

func (o *DeleteOrganizationMembershipsParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the delete organization memberships params

func (*DeleteOrganizationMembershipsParams) SetTimeout

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

SetTimeout adds the timeout to the delete organization memberships params

func (*DeleteOrganizationMembershipsParams) SetUserIds

func (o *DeleteOrganizationMembershipsParams) SetUserIds(userIds string)

SetUserIds adds the userIds to the delete organization memberships params

func (*DeleteOrganizationMembershipsParams) WithContext

WithContext adds the context to the delete organization memberships params

func (*DeleteOrganizationMembershipsParams) WithDefaults

WithDefaults hydrates default values in the delete organization memberships params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteOrganizationMembershipsParams) WithForce

WithForce adds the force to the delete organization memberships params

func (*DeleteOrganizationMembershipsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete organization memberships params

func (*DeleteOrganizationMembershipsParams) WithOrganizationID

WithOrganizationID adds the organizationID to the delete organization memberships params

func (*DeleteOrganizationMembershipsParams) WithTimeout

WithTimeout adds the timeout to the delete organization memberships params

func (*DeleteOrganizationMembershipsParams) WithUserIds

WithUserIds adds the userIds to the delete organization memberships params

func (*DeleteOrganizationMembershipsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteOrganizationMembershipsReader

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

DeleteOrganizationMembershipsReader is a Reader for the DeleteOrganizationMemberships structure.

func (*DeleteOrganizationMembershipsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrganizationForbidden

type GetOrganizationForbidden struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

GetOrganizationForbidden describes a response with status code 403, with default header values.

The current user does not have access to the requested organization. (code: `organization.invalid_access`)

func NewGetOrganizationForbidden

func NewGetOrganizationForbidden() *GetOrganizationForbidden

NewGetOrganizationForbidden creates a GetOrganizationForbidden with default headers values

func (*GetOrganizationForbidden) Code

func (o *GetOrganizationForbidden) Code() int

Code gets the status code for the get organization forbidden response

func (*GetOrganizationForbidden) Error

func (o *GetOrganizationForbidden) Error() string

func (*GetOrganizationForbidden) GetPayload

func (*GetOrganizationForbidden) IsClientError

func (o *GetOrganizationForbidden) IsClientError() bool

IsClientError returns true when this get organization forbidden response has a 4xx status code

func (*GetOrganizationForbidden) IsCode

func (o *GetOrganizationForbidden) IsCode(code int) bool

IsCode returns true when this get organization forbidden response a status code equal to that given

func (*GetOrganizationForbidden) IsRedirect

func (o *GetOrganizationForbidden) IsRedirect() bool

IsRedirect returns true when this get organization forbidden response has a 3xx status code

func (*GetOrganizationForbidden) IsServerError

func (o *GetOrganizationForbidden) IsServerError() bool

IsServerError returns true when this get organization forbidden response has a 5xx status code

func (*GetOrganizationForbidden) IsSuccess

func (o *GetOrganizationForbidden) IsSuccess() bool

IsSuccess returns true when this get organization forbidden response has a 2xx status code

func (*GetOrganizationForbidden) String

func (o *GetOrganizationForbidden) String() string

type GetOrganizationInvitationNotFound

type GetOrganizationInvitationNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

GetOrganizationInvitationNotFound describes a response with status code 404, with default header values.

Invitation not found. (code: `organization.invitation_not_found`)

func NewGetOrganizationInvitationNotFound

func NewGetOrganizationInvitationNotFound() *GetOrganizationInvitationNotFound

NewGetOrganizationInvitationNotFound creates a GetOrganizationInvitationNotFound with default headers values

func (*GetOrganizationInvitationNotFound) Code

Code gets the status code for the get organization invitation not found response

func (*GetOrganizationInvitationNotFound) Error

func (*GetOrganizationInvitationNotFound) GetPayload

func (*GetOrganizationInvitationNotFound) IsClientError

func (o *GetOrganizationInvitationNotFound) IsClientError() bool

IsClientError returns true when this get organization invitation not found response has a 4xx status code

func (*GetOrganizationInvitationNotFound) IsCode

func (o *GetOrganizationInvitationNotFound) IsCode(code int) bool

IsCode returns true when this get organization invitation not found response a status code equal to that given

func (*GetOrganizationInvitationNotFound) IsRedirect

func (o *GetOrganizationInvitationNotFound) IsRedirect() bool

IsRedirect returns true when this get organization invitation not found response has a 3xx status code

func (*GetOrganizationInvitationNotFound) IsServerError

func (o *GetOrganizationInvitationNotFound) IsServerError() bool

IsServerError returns true when this get organization invitation not found response has a 5xx status code

func (*GetOrganizationInvitationNotFound) IsSuccess

func (o *GetOrganizationInvitationNotFound) IsSuccess() bool

IsSuccess returns true when this get organization invitation not found response has a 2xx status code

func (*GetOrganizationInvitationNotFound) String

type GetOrganizationInvitationOK

type GetOrganizationInvitationOK struct {
	Payload *models.OrganizationInvitation
}

GetOrganizationInvitationOK describes a response with status code 200, with default header values.

Organization invitation fetched successfully

func NewGetOrganizationInvitationOK

func NewGetOrganizationInvitationOK() *GetOrganizationInvitationOK

NewGetOrganizationInvitationOK creates a GetOrganizationInvitationOK with default headers values

func (*GetOrganizationInvitationOK) Code

func (o *GetOrganizationInvitationOK) Code() int

Code gets the status code for the get organization invitation o k response

func (*GetOrganizationInvitationOK) Error

func (*GetOrganizationInvitationOK) GetPayload

func (*GetOrganizationInvitationOK) IsClientError

func (o *GetOrganizationInvitationOK) IsClientError() bool

IsClientError returns true when this get organization invitation o k response has a 4xx status code

func (*GetOrganizationInvitationOK) IsCode

func (o *GetOrganizationInvitationOK) IsCode(code int) bool

IsCode returns true when this get organization invitation o k response a status code equal to that given

func (*GetOrganizationInvitationOK) IsRedirect

func (o *GetOrganizationInvitationOK) IsRedirect() bool

IsRedirect returns true when this get organization invitation o k response has a 3xx status code

func (*GetOrganizationInvitationOK) IsServerError

func (o *GetOrganizationInvitationOK) IsServerError() bool

IsServerError returns true when this get organization invitation o k response has a 5xx status code

func (*GetOrganizationInvitationOK) IsSuccess

func (o *GetOrganizationInvitationOK) IsSuccess() bool

IsSuccess returns true when this get organization invitation o k response has a 2xx status code

func (*GetOrganizationInvitationOK) String

func (o *GetOrganizationInvitationOK) String() string

type GetOrganizationInvitationParams

type GetOrganizationInvitationParams struct {

	/* InvitationToken.

	   Organization invitation token
	*/
	InvitationToken string

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

GetOrganizationInvitationParams contains all the parameters to send to the API endpoint

for the get organization invitation operation.

Typically these are written to a http.Request.

func NewGetOrganizationInvitationParams

func NewGetOrganizationInvitationParams() *GetOrganizationInvitationParams

NewGetOrganizationInvitationParams creates a new GetOrganizationInvitationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetOrganizationInvitationParamsWithContext

func NewGetOrganizationInvitationParamsWithContext(ctx context.Context) *GetOrganizationInvitationParams

NewGetOrganizationInvitationParamsWithContext creates a new GetOrganizationInvitationParams object with the ability to set a context for a request.

func NewGetOrganizationInvitationParamsWithHTTPClient

func NewGetOrganizationInvitationParamsWithHTTPClient(client *http.Client) *GetOrganizationInvitationParams

NewGetOrganizationInvitationParamsWithHTTPClient creates a new GetOrganizationInvitationParams object with the ability to set a custom HTTPClient for a request.

func NewGetOrganizationInvitationParamsWithTimeout

func NewGetOrganizationInvitationParamsWithTimeout(timeout time.Duration) *GetOrganizationInvitationParams

NewGetOrganizationInvitationParamsWithTimeout creates a new GetOrganizationInvitationParams object with the ability to set a timeout on a request.

func (*GetOrganizationInvitationParams) SetContext

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

SetContext adds the context to the get organization invitation params

func (*GetOrganizationInvitationParams) SetDefaults

func (o *GetOrganizationInvitationParams) SetDefaults()

SetDefaults hydrates default values in the get organization invitation params (not the query body).

All values with no default are reset to their zero value.

func (*GetOrganizationInvitationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get organization invitation params

func (*GetOrganizationInvitationParams) SetInvitationToken

func (o *GetOrganizationInvitationParams) SetInvitationToken(invitationToken string)

SetInvitationToken adds the invitationToken to the get organization invitation params

func (*GetOrganizationInvitationParams) SetTimeout

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

SetTimeout adds the timeout to the get organization invitation params

func (*GetOrganizationInvitationParams) WithContext

WithContext adds the context to the get organization invitation params

func (*GetOrganizationInvitationParams) WithDefaults

WithDefaults hydrates default values in the get organization invitation params (not the query body).

All values with no default are reset to their zero value.

func (*GetOrganizationInvitationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get organization invitation params

func (*GetOrganizationInvitationParams) WithInvitationToken

func (o *GetOrganizationInvitationParams) WithInvitationToken(invitationToken string) *GetOrganizationInvitationParams

WithInvitationToken adds the invitationToken to the get organization invitation params

func (*GetOrganizationInvitationParams) WithTimeout

WithTimeout adds the timeout to the get organization invitation params

func (*GetOrganizationInvitationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOrganizationInvitationReader

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

GetOrganizationInvitationReader is a Reader for the GetOrganizationInvitation structure.

func (*GetOrganizationInvitationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrganizationNotFound

type GetOrganizationNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

GetOrganizationNotFound describes a response with status code 404, with default header values.

Organization not found. (code: `organization.not_found`)

func NewGetOrganizationNotFound

func NewGetOrganizationNotFound() *GetOrganizationNotFound

NewGetOrganizationNotFound creates a GetOrganizationNotFound with default headers values

func (*GetOrganizationNotFound) Code

func (o *GetOrganizationNotFound) Code() int

Code gets the status code for the get organization not found response

func (*GetOrganizationNotFound) Error

func (o *GetOrganizationNotFound) Error() string

func (*GetOrganizationNotFound) GetPayload

func (*GetOrganizationNotFound) IsClientError

func (o *GetOrganizationNotFound) IsClientError() bool

IsClientError returns true when this get organization not found response has a 4xx status code

func (*GetOrganizationNotFound) IsCode

func (o *GetOrganizationNotFound) IsCode(code int) bool

IsCode returns true when this get organization not found response a status code equal to that given

func (*GetOrganizationNotFound) IsRedirect

func (o *GetOrganizationNotFound) IsRedirect() bool

IsRedirect returns true when this get organization not found response has a 3xx status code

func (*GetOrganizationNotFound) IsServerError

func (o *GetOrganizationNotFound) IsServerError() bool

IsServerError returns true when this get organization not found response has a 5xx status code

func (*GetOrganizationNotFound) IsSuccess

func (o *GetOrganizationNotFound) IsSuccess() bool

IsSuccess returns true when this get organization not found response has a 2xx status code

func (*GetOrganizationNotFound) String

func (o *GetOrganizationNotFound) String() string

type GetOrganizationOK

type GetOrganizationOK struct {
	Payload *models.Organization
}

GetOrganizationOK describes a response with status code 200, with default header values.

Organization fetched successfully

func NewGetOrganizationOK

func NewGetOrganizationOK() *GetOrganizationOK

NewGetOrganizationOK creates a GetOrganizationOK with default headers values

func (*GetOrganizationOK) Code

func (o *GetOrganizationOK) Code() int

Code gets the status code for the get organization o k response

func (*GetOrganizationOK) Error

func (o *GetOrganizationOK) Error() string

func (*GetOrganizationOK) GetPayload

func (o *GetOrganizationOK) GetPayload() *models.Organization

func (*GetOrganizationOK) IsClientError

func (o *GetOrganizationOK) IsClientError() bool

IsClientError returns true when this get organization o k response has a 4xx status code

func (*GetOrganizationOK) IsCode

func (o *GetOrganizationOK) IsCode(code int) bool

IsCode returns true when this get organization o k response a status code equal to that given

func (*GetOrganizationOK) IsRedirect

func (o *GetOrganizationOK) IsRedirect() bool

IsRedirect returns true when this get organization o k response has a 3xx status code

func (*GetOrganizationOK) IsServerError

func (o *GetOrganizationOK) IsServerError() bool

IsServerError returns true when this get organization o k response has a 5xx status code

func (*GetOrganizationOK) IsSuccess

func (o *GetOrganizationOK) IsSuccess() bool

IsSuccess returns true when this get organization o k response has a 2xx status code

func (*GetOrganizationOK) String

func (o *GetOrganizationOK) String() string

type GetOrganizationParams

type GetOrganizationParams struct {

	/* OrganizationID.

	   Identifier for the Organization
	*/
	OrganizationID 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetOrganizationParamsWithContext

func NewGetOrganizationParamsWithContext(ctx context.Context) *GetOrganizationParams

NewGetOrganizationParamsWithContext creates a new GetOrganizationParams object with 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 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 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) SetDefaults

func (o *GetOrganizationParams) SetDefaults()

SetDefaults hydrates default values in the get organization params (not the query body).

All values with no default are reset to their zero value.

func (*GetOrganizationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get organization params

func (*GetOrganizationParams) SetOrganizationID

func (o *GetOrganizationParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId 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) WithContext

WithContext adds the context to the get organization params

func (*GetOrganizationParams) WithDefaults

func (o *GetOrganizationParams) WithDefaults() *GetOrganizationParams

WithDefaults hydrates default values in the get organization params (not the query body).

All values with no default are reset to their zero value.

func (*GetOrganizationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get organization params

func (*GetOrganizationParams) WithOrganizationID

func (o *GetOrganizationParams) WithOrganizationID(organizationID string) *GetOrganizationParams

WithOrganizationID adds the organizationID 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) 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

type GetOrganizationUnauthorized struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

GetOrganizationUnauthorized describes a response with status code 401, with default header values.

User not found. (code: `user.not_found`)

func NewGetOrganizationUnauthorized

func NewGetOrganizationUnauthorized() *GetOrganizationUnauthorized

NewGetOrganizationUnauthorized creates a GetOrganizationUnauthorized with default headers values

func (*GetOrganizationUnauthorized) Code

func (o *GetOrganizationUnauthorized) Code() int

Code gets the status code for the get organization unauthorized response

func (*GetOrganizationUnauthorized) Error

func (*GetOrganizationUnauthorized) GetPayload

func (*GetOrganizationUnauthorized) IsClientError

func (o *GetOrganizationUnauthorized) IsClientError() bool

IsClientError returns true when this get organization unauthorized response has a 4xx status code

func (*GetOrganizationUnauthorized) IsCode

func (o *GetOrganizationUnauthorized) IsCode(code int) bool

IsCode returns true when this get organization unauthorized response a status code equal to that given

func (*GetOrganizationUnauthorized) IsRedirect

func (o *GetOrganizationUnauthorized) IsRedirect() bool

IsRedirect returns true when this get organization unauthorized response has a 3xx status code

func (*GetOrganizationUnauthorized) IsServerError

func (o *GetOrganizationUnauthorized) IsServerError() bool

IsServerError returns true when this get organization unauthorized response has a 5xx status code

func (*GetOrganizationUnauthorized) IsSuccess

func (o *GetOrganizationUnauthorized) IsSuccess() bool

IsSuccess returns true when this get organization unauthorized response has a 2xx status code

func (*GetOrganizationUnauthorized) String

func (o *GetOrganizationUnauthorized) String() string

type ListOrganizationInvitationsNotFound

type ListOrganizationInvitationsNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

ListOrganizationInvitationsNotFound describes a response with status code 404, with default header values.

Organization not found. (code: `organization.not_found`)

func NewListOrganizationInvitationsNotFound

func NewListOrganizationInvitationsNotFound() *ListOrganizationInvitationsNotFound

NewListOrganizationInvitationsNotFound creates a ListOrganizationInvitationsNotFound with default headers values

func (*ListOrganizationInvitationsNotFound) Code

Code gets the status code for the list organization invitations not found response

func (*ListOrganizationInvitationsNotFound) Error

func (*ListOrganizationInvitationsNotFound) GetPayload

func (*ListOrganizationInvitationsNotFound) IsClientError

func (o *ListOrganizationInvitationsNotFound) IsClientError() bool

IsClientError returns true when this list organization invitations not found response has a 4xx status code

func (*ListOrganizationInvitationsNotFound) IsCode

IsCode returns true when this list organization invitations not found response a status code equal to that given

func (*ListOrganizationInvitationsNotFound) IsRedirect

func (o *ListOrganizationInvitationsNotFound) IsRedirect() bool

IsRedirect returns true when this list organization invitations not found response has a 3xx status code

func (*ListOrganizationInvitationsNotFound) IsServerError

func (o *ListOrganizationInvitationsNotFound) IsServerError() bool

IsServerError returns true when this list organization invitations not found response has a 5xx status code

func (*ListOrganizationInvitationsNotFound) IsSuccess

IsSuccess returns true when this list organization invitations not found response has a 2xx status code

func (*ListOrganizationInvitationsNotFound) String

type ListOrganizationInvitationsOK

type ListOrganizationInvitationsOK struct {
	Payload *models.OrganizationInvitations
}

ListOrganizationInvitationsOK describes a response with status code 200, with default header values.

Organization invitations fetched successfully

func NewListOrganizationInvitationsOK

func NewListOrganizationInvitationsOK() *ListOrganizationInvitationsOK

NewListOrganizationInvitationsOK creates a ListOrganizationInvitationsOK with default headers values

func (*ListOrganizationInvitationsOK) Code

Code gets the status code for the list organization invitations o k response

func (*ListOrganizationInvitationsOK) Error

func (*ListOrganizationInvitationsOK) GetPayload

func (*ListOrganizationInvitationsOK) IsClientError

func (o *ListOrganizationInvitationsOK) IsClientError() bool

IsClientError returns true when this list organization invitations o k response has a 4xx status code

func (*ListOrganizationInvitationsOK) IsCode

func (o *ListOrganizationInvitationsOK) IsCode(code int) bool

IsCode returns true when this list organization invitations o k response a status code equal to that given

func (*ListOrganizationInvitationsOK) IsRedirect

func (o *ListOrganizationInvitationsOK) IsRedirect() bool

IsRedirect returns true when this list organization invitations o k response has a 3xx status code

func (*ListOrganizationInvitationsOK) IsServerError

func (o *ListOrganizationInvitationsOK) IsServerError() bool

IsServerError returns true when this list organization invitations o k response has a 5xx status code

func (*ListOrganizationInvitationsOK) IsSuccess

func (o *ListOrganizationInvitationsOK) IsSuccess() bool

IsSuccess returns true when this list organization invitations o k response has a 2xx status code

func (*ListOrganizationInvitationsOK) String

type ListOrganizationInvitationsParams

type ListOrganizationInvitationsParams struct {

	/* OrganizationID.

	   Identifier for the Organization
	*/
	OrganizationID string

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

ListOrganizationInvitationsParams contains all the parameters to send to the API endpoint

for the list organization invitations operation.

Typically these are written to a http.Request.

func NewListOrganizationInvitationsParams

func NewListOrganizationInvitationsParams() *ListOrganizationInvitationsParams

NewListOrganizationInvitationsParams creates a new ListOrganizationInvitationsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListOrganizationInvitationsParamsWithContext

func NewListOrganizationInvitationsParamsWithContext(ctx context.Context) *ListOrganizationInvitationsParams

NewListOrganizationInvitationsParamsWithContext creates a new ListOrganizationInvitationsParams object with the ability to set a context for a request.

func NewListOrganizationInvitationsParamsWithHTTPClient

func NewListOrganizationInvitationsParamsWithHTTPClient(client *http.Client) *ListOrganizationInvitationsParams

NewListOrganizationInvitationsParamsWithHTTPClient creates a new ListOrganizationInvitationsParams object with the ability to set a custom HTTPClient for a request.

func NewListOrganizationInvitationsParamsWithTimeout

func NewListOrganizationInvitationsParamsWithTimeout(timeout time.Duration) *ListOrganizationInvitationsParams

NewListOrganizationInvitationsParamsWithTimeout creates a new ListOrganizationInvitationsParams object with the ability to set a timeout on a request.

func (*ListOrganizationInvitationsParams) SetContext

SetContext adds the context to the list organization invitations params

func (*ListOrganizationInvitationsParams) SetDefaults

func (o *ListOrganizationInvitationsParams) SetDefaults()

SetDefaults hydrates default values in the list organization invitations params (not the query body).

All values with no default are reset to their zero value.

func (*ListOrganizationInvitationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list organization invitations params

func (*ListOrganizationInvitationsParams) SetOrganizationID

func (o *ListOrganizationInvitationsParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the list organization invitations params

func (*ListOrganizationInvitationsParams) SetTimeout

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

SetTimeout adds the timeout to the list organization invitations params

func (*ListOrganizationInvitationsParams) WithContext

WithContext adds the context to the list organization invitations params

func (*ListOrganizationInvitationsParams) WithDefaults

WithDefaults hydrates default values in the list organization invitations params (not the query body).

All values with no default are reset to their zero value.

func (*ListOrganizationInvitationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list organization invitations params

func (*ListOrganizationInvitationsParams) WithOrganizationID

func (o *ListOrganizationInvitationsParams) WithOrganizationID(organizationID string) *ListOrganizationInvitationsParams

WithOrganizationID adds the organizationID to the list organization invitations params

func (*ListOrganizationInvitationsParams) WithTimeout

WithTimeout adds the timeout to the list organization invitations params

func (*ListOrganizationInvitationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListOrganizationInvitationsReader

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

ListOrganizationInvitationsReader is a Reader for the ListOrganizationInvitations structure.

func (*ListOrganizationInvitationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListOrganizationMembersNotFound

type ListOrganizationMembersNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

ListOrganizationMembersNotFound describes a response with status code 404, with default header values.

Organization not found. (code: `organization.not_found`)

func NewListOrganizationMembersNotFound

func NewListOrganizationMembersNotFound() *ListOrganizationMembersNotFound

NewListOrganizationMembersNotFound creates a ListOrganizationMembersNotFound with default headers values

func (*ListOrganizationMembersNotFound) Code

Code gets the status code for the list organization members not found response

func (*ListOrganizationMembersNotFound) Error

func (*ListOrganizationMembersNotFound) GetPayload

func (*ListOrganizationMembersNotFound) IsClientError

func (o *ListOrganizationMembersNotFound) IsClientError() bool

IsClientError returns true when this list organization members not found response has a 4xx status code

func (*ListOrganizationMembersNotFound) IsCode

func (o *ListOrganizationMembersNotFound) IsCode(code int) bool

IsCode returns true when this list organization members not found response a status code equal to that given

func (*ListOrganizationMembersNotFound) IsRedirect

func (o *ListOrganizationMembersNotFound) IsRedirect() bool

IsRedirect returns true when this list organization members not found response has a 3xx status code

func (*ListOrganizationMembersNotFound) IsServerError

func (o *ListOrganizationMembersNotFound) IsServerError() bool

IsServerError returns true when this list organization members not found response has a 5xx status code

func (*ListOrganizationMembersNotFound) IsSuccess

func (o *ListOrganizationMembersNotFound) IsSuccess() bool

IsSuccess returns true when this list organization members not found response has a 2xx status code

func (*ListOrganizationMembersNotFound) String

type ListOrganizationMembersOK

type ListOrganizationMembersOK struct {
	Payload *models.OrganizationMemberships
}

ListOrganizationMembersOK describes a response with status code 200, with default header values.

Organization members fetched successfully

func NewListOrganizationMembersOK

func NewListOrganizationMembersOK() *ListOrganizationMembersOK

NewListOrganizationMembersOK creates a ListOrganizationMembersOK with default headers values

func (*ListOrganizationMembersOK) Code

func (o *ListOrganizationMembersOK) Code() int

Code gets the status code for the list organization members o k response

func (*ListOrganizationMembersOK) Error

func (o *ListOrganizationMembersOK) Error() string

func (*ListOrganizationMembersOK) GetPayload

func (*ListOrganizationMembersOK) IsClientError

func (o *ListOrganizationMembersOK) IsClientError() bool

IsClientError returns true when this list organization members o k response has a 4xx status code

func (*ListOrganizationMembersOK) IsCode

func (o *ListOrganizationMembersOK) IsCode(code int) bool

IsCode returns true when this list organization members o k response a status code equal to that given

func (*ListOrganizationMembersOK) IsRedirect

func (o *ListOrganizationMembersOK) IsRedirect() bool

IsRedirect returns true when this list organization members o k response has a 3xx status code

func (*ListOrganizationMembersOK) IsServerError

func (o *ListOrganizationMembersOK) IsServerError() bool

IsServerError returns true when this list organization members o k response has a 5xx status code

func (*ListOrganizationMembersOK) IsSuccess

func (o *ListOrganizationMembersOK) IsSuccess() bool

IsSuccess returns true when this list organization members o k response has a 2xx status code

func (*ListOrganizationMembersOK) String

func (o *ListOrganizationMembersOK) String() string

type ListOrganizationMembersParams

type ListOrganizationMembersParams struct {

	/* OrganizationID.

	   Identifier for the Organization
	*/
	OrganizationID string

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

ListOrganizationMembersParams contains all the parameters to send to the API endpoint

for the list organization members operation.

Typically these are written to a http.Request.

func NewListOrganizationMembersParams

func NewListOrganizationMembersParams() *ListOrganizationMembersParams

NewListOrganizationMembersParams creates a new ListOrganizationMembersParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListOrganizationMembersParamsWithContext

func NewListOrganizationMembersParamsWithContext(ctx context.Context) *ListOrganizationMembersParams

NewListOrganizationMembersParamsWithContext creates a new ListOrganizationMembersParams object with the ability to set a context for a request.

func NewListOrganizationMembersParamsWithHTTPClient

func NewListOrganizationMembersParamsWithHTTPClient(client *http.Client) *ListOrganizationMembersParams

NewListOrganizationMembersParamsWithHTTPClient creates a new ListOrganizationMembersParams object with the ability to set a custom HTTPClient for a request.

func NewListOrganizationMembersParamsWithTimeout

func NewListOrganizationMembersParamsWithTimeout(timeout time.Duration) *ListOrganizationMembersParams

NewListOrganizationMembersParamsWithTimeout creates a new ListOrganizationMembersParams object with the ability to set a timeout on a request.

func (*ListOrganizationMembersParams) SetContext

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

SetContext adds the context to the list organization members params

func (*ListOrganizationMembersParams) SetDefaults

func (o *ListOrganizationMembersParams) SetDefaults()

SetDefaults hydrates default values in the list organization members params (not the query body).

All values with no default are reset to their zero value.

func (*ListOrganizationMembersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list organization members params

func (*ListOrganizationMembersParams) SetOrganizationID

func (o *ListOrganizationMembersParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the list organization members params

func (*ListOrganizationMembersParams) SetTimeout

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

SetTimeout adds the timeout to the list organization members params

func (*ListOrganizationMembersParams) WithContext

WithContext adds the context to the list organization members params

func (*ListOrganizationMembersParams) WithDefaults

WithDefaults hydrates default values in the list organization members params (not the query body).

All values with no default are reset to their zero value.

func (*ListOrganizationMembersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list organization members params

func (*ListOrganizationMembersParams) WithOrganizationID

func (o *ListOrganizationMembersParams) WithOrganizationID(organizationID string) *ListOrganizationMembersParams

WithOrganizationID adds the organizationID to the list organization members params

func (*ListOrganizationMembersParams) WithTimeout

WithTimeout adds the timeout to the list organization members params

func (*ListOrganizationMembersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListOrganizationMembersReader

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

ListOrganizationMembersReader is a Reader for the ListOrganizationMembers structure.

func (*ListOrganizationMembersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListOrganizationsOK

type ListOrganizationsOK struct {
	Payload *models.OrganizationList
}

ListOrganizationsOK describes a response with status code 200, with default header values.

Organizations fetched successfully

func NewListOrganizationsOK

func NewListOrganizationsOK() *ListOrganizationsOK

NewListOrganizationsOK creates a ListOrganizationsOK with default headers values

func (*ListOrganizationsOK) Code

func (o *ListOrganizationsOK) Code() int

Code gets the status code for the list organizations o k response

func (*ListOrganizationsOK) Error

func (o *ListOrganizationsOK) Error() string

func (*ListOrganizationsOK) GetPayload

func (o *ListOrganizationsOK) GetPayload() *models.OrganizationList

func (*ListOrganizationsOK) IsClientError

func (o *ListOrganizationsOK) IsClientError() bool

IsClientError returns true when this list organizations o k response has a 4xx status code

func (*ListOrganizationsOK) IsCode

func (o *ListOrganizationsOK) IsCode(code int) bool

IsCode returns true when this list organizations o k response a status code equal to that given

func (*ListOrganizationsOK) IsRedirect

func (o *ListOrganizationsOK) IsRedirect() bool

IsRedirect returns true when this list organizations o k response has a 3xx status code

func (*ListOrganizationsOK) IsServerError

func (o *ListOrganizationsOK) IsServerError() bool

IsServerError returns true when this list organizations o k response has a 5xx status code

func (*ListOrganizationsOK) IsSuccess

func (o *ListOrganizationsOK) IsSuccess() bool

IsSuccess returns true when this list organizations o k response has a 2xx status code

func (*ListOrganizationsOK) String

func (o *ListOrganizationsOK) String() string

type ListOrganizationsParams

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

ListOrganizationsParams contains all the parameters to send to the API endpoint

for the list organizations operation.

Typically these are written to a http.Request.

func NewListOrganizationsParams

func NewListOrganizationsParams() *ListOrganizationsParams

NewListOrganizationsParams creates a new ListOrganizationsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListOrganizationsParamsWithContext

func NewListOrganizationsParamsWithContext(ctx context.Context) *ListOrganizationsParams

NewListOrganizationsParamsWithContext creates a new ListOrganizationsParams object with the ability to set a context for a request.

func NewListOrganizationsParamsWithHTTPClient

func NewListOrganizationsParamsWithHTTPClient(client *http.Client) *ListOrganizationsParams

NewListOrganizationsParamsWithHTTPClient creates a new ListOrganizationsParams object with the ability to set a custom HTTPClient for a request.

func NewListOrganizationsParamsWithTimeout

func NewListOrganizationsParamsWithTimeout(timeout time.Duration) *ListOrganizationsParams

NewListOrganizationsParamsWithTimeout creates a new ListOrganizationsParams object with the ability to set a timeout on a request.

func (*ListOrganizationsParams) SetContext

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

SetContext adds the context to the list organizations params

func (*ListOrganizationsParams) SetDefaults

func (o *ListOrganizationsParams) SetDefaults()

SetDefaults hydrates default values in the list organizations params (not the query body).

All values with no default are reset to their zero value.

func (*ListOrganizationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list organizations params

func (*ListOrganizationsParams) SetTimeout

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

SetTimeout adds the timeout to the list organizations params

func (*ListOrganizationsParams) WithContext

WithContext adds the context to the list organizations params

func (*ListOrganizationsParams) WithDefaults

WithDefaults hydrates default values in the list organizations params (not the query body).

All values with no default are reset to their zero value.

func (*ListOrganizationsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list organizations params

func (*ListOrganizationsParams) WithTimeout

WithTimeout adds the timeout to the list organizations params

func (*ListOrganizationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListOrganizationsReader

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

ListOrganizationsReader is a Reader for the ListOrganizations structure.

func (*ListOrganizationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListOrganizationsUnauthorized

type ListOrganizationsUnauthorized struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

ListOrganizationsUnauthorized describes a response with status code 401, with default header values.

User not found. (code: `user.not_found`)

func NewListOrganizationsUnauthorized

func NewListOrganizationsUnauthorized() *ListOrganizationsUnauthorized

NewListOrganizationsUnauthorized creates a ListOrganizationsUnauthorized with default headers values

func (*ListOrganizationsUnauthorized) Code

Code gets the status code for the list organizations unauthorized response

func (*ListOrganizationsUnauthorized) Error

func (*ListOrganizationsUnauthorized) GetPayload

func (*ListOrganizationsUnauthorized) IsClientError

func (o *ListOrganizationsUnauthorized) IsClientError() bool

IsClientError returns true when this list organizations unauthorized response has a 4xx status code

func (*ListOrganizationsUnauthorized) IsCode

func (o *ListOrganizationsUnauthorized) IsCode(code int) bool

IsCode returns true when this list organizations unauthorized response a status code equal to that given

func (*ListOrganizationsUnauthorized) IsRedirect

func (o *ListOrganizationsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list organizations unauthorized response has a 3xx status code

func (*ListOrganizationsUnauthorized) IsServerError

func (o *ListOrganizationsUnauthorized) IsServerError() bool

IsServerError returns true when this list organizations unauthorized response has a 5xx status code

func (*ListOrganizationsUnauthorized) IsSuccess

func (o *ListOrganizationsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list organizations unauthorized response has a 2xx status code

func (*ListOrganizationsUnauthorized) String

type UpdateOrganizationBadRequest

type UpdateOrganizationBadRequest struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
UpdateOrganizationBadRequest describes a response with status code 400, with default header values.

* Name must be between 2 and 30 characters. (code: `organization.invalid_name`)

* User already has an organization. (code: `organization.user_organization_already_exists`)

func NewUpdateOrganizationBadRequest

func NewUpdateOrganizationBadRequest() *UpdateOrganizationBadRequest

NewUpdateOrganizationBadRequest creates a UpdateOrganizationBadRequest with default headers values

func (*UpdateOrganizationBadRequest) Code

Code gets the status code for the update organization bad request response

func (*UpdateOrganizationBadRequest) Error

func (*UpdateOrganizationBadRequest) GetPayload

func (*UpdateOrganizationBadRequest) IsClientError

func (o *UpdateOrganizationBadRequest) IsClientError() bool

IsClientError returns true when this update organization bad request response has a 4xx status code

func (*UpdateOrganizationBadRequest) IsCode

func (o *UpdateOrganizationBadRequest) IsCode(code int) bool

IsCode returns true when this update organization bad request response a status code equal to that given

func (*UpdateOrganizationBadRequest) IsRedirect

func (o *UpdateOrganizationBadRequest) IsRedirect() bool

IsRedirect returns true when this update organization bad request response has a 3xx status code

func (*UpdateOrganizationBadRequest) IsServerError

func (o *UpdateOrganizationBadRequest) IsServerError() bool

IsServerError returns true when this update organization bad request response has a 5xx status code

func (*UpdateOrganizationBadRequest) IsSuccess

func (o *UpdateOrganizationBadRequest) IsSuccess() bool

IsSuccess returns true when this update organization bad request response has a 2xx status code

func (*UpdateOrganizationBadRequest) String

type UpdateOrganizationForbidden

type UpdateOrganizationForbidden struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

UpdateOrganizationForbidden describes a response with status code 403, with default header values.

The current user does not have access to the requested organization. (code: `organization.invalid_access`)

func NewUpdateOrganizationForbidden

func NewUpdateOrganizationForbidden() *UpdateOrganizationForbidden

NewUpdateOrganizationForbidden creates a UpdateOrganizationForbidden with default headers values

func (*UpdateOrganizationForbidden) Code

func (o *UpdateOrganizationForbidden) Code() int

Code gets the status code for the update organization forbidden response

func (*UpdateOrganizationForbidden) Error

func (*UpdateOrganizationForbidden) GetPayload

func (*UpdateOrganizationForbidden) IsClientError

func (o *UpdateOrganizationForbidden) IsClientError() bool

IsClientError returns true when this update organization forbidden response has a 4xx status code

func (*UpdateOrganizationForbidden) IsCode

func (o *UpdateOrganizationForbidden) IsCode(code int) bool

IsCode returns true when this update organization forbidden response a status code equal to that given

func (*UpdateOrganizationForbidden) IsRedirect

func (o *UpdateOrganizationForbidden) IsRedirect() bool

IsRedirect returns true when this update organization forbidden response has a 3xx status code

func (*UpdateOrganizationForbidden) IsServerError

func (o *UpdateOrganizationForbidden) IsServerError() bool

IsServerError returns true when this update organization forbidden response has a 5xx status code

func (*UpdateOrganizationForbidden) IsSuccess

func (o *UpdateOrganizationForbidden) IsSuccess() bool

IsSuccess returns true when this update organization forbidden response has a 2xx status code

func (*UpdateOrganizationForbidden) String

func (o *UpdateOrganizationForbidden) String() string

type UpdateOrganizationNotFound

type UpdateOrganizationNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

UpdateOrganizationNotFound describes a response with status code 404, with default header values.

Organization not found. (code: `organization.not_found`)

func NewUpdateOrganizationNotFound

func NewUpdateOrganizationNotFound() *UpdateOrganizationNotFound

NewUpdateOrganizationNotFound creates a UpdateOrganizationNotFound with default headers values

func (*UpdateOrganizationNotFound) Code

func (o *UpdateOrganizationNotFound) Code() int

Code gets the status code for the update organization not found response

func (*UpdateOrganizationNotFound) Error

func (*UpdateOrganizationNotFound) GetPayload

func (*UpdateOrganizationNotFound) IsClientError

func (o *UpdateOrganizationNotFound) IsClientError() bool

IsClientError returns true when this update organization not found response has a 4xx status code

func (*UpdateOrganizationNotFound) IsCode

func (o *UpdateOrganizationNotFound) IsCode(code int) bool

IsCode returns true when this update organization not found response a status code equal to that given

func (*UpdateOrganizationNotFound) IsRedirect

func (o *UpdateOrganizationNotFound) IsRedirect() bool

IsRedirect returns true when this update organization not found response has a 3xx status code

func (*UpdateOrganizationNotFound) IsServerError

func (o *UpdateOrganizationNotFound) IsServerError() bool

IsServerError returns true when this update organization not found response has a 5xx status code

func (*UpdateOrganizationNotFound) IsSuccess

func (o *UpdateOrganizationNotFound) IsSuccess() bool

IsSuccess returns true when this update organization not found response has a 2xx status code

func (*UpdateOrganizationNotFound) String

func (o *UpdateOrganizationNotFound) String() string

type UpdateOrganizationOK

type UpdateOrganizationOK struct {
	Payload *models.Organization
}

UpdateOrganizationOK describes a response with status code 200, with default header values.

Organization updated successfully

func NewUpdateOrganizationOK

func NewUpdateOrganizationOK() *UpdateOrganizationOK

NewUpdateOrganizationOK creates a UpdateOrganizationOK with default headers values

func (*UpdateOrganizationOK) Code

func (o *UpdateOrganizationOK) Code() int

Code gets the status code for the update organization o k response

func (*UpdateOrganizationOK) Error

func (o *UpdateOrganizationOK) Error() string

func (*UpdateOrganizationOK) GetPayload

func (o *UpdateOrganizationOK) GetPayload() *models.Organization

func (*UpdateOrganizationOK) IsClientError

func (o *UpdateOrganizationOK) IsClientError() bool

IsClientError returns true when this update organization o k response has a 4xx status code

func (*UpdateOrganizationOK) IsCode

func (o *UpdateOrganizationOK) IsCode(code int) bool

IsCode returns true when this update organization o k response a status code equal to that given

func (*UpdateOrganizationOK) IsRedirect

func (o *UpdateOrganizationOK) IsRedirect() bool

IsRedirect returns true when this update organization o k response has a 3xx status code

func (*UpdateOrganizationOK) IsServerError

func (o *UpdateOrganizationOK) IsServerError() bool

IsServerError returns true when this update organization o k response has a 5xx status code

func (*UpdateOrganizationOK) IsSuccess

func (o *UpdateOrganizationOK) IsSuccess() bool

IsSuccess returns true when this update organization o k response has a 2xx status code

func (*UpdateOrganizationOK) String

func (o *UpdateOrganizationOK) String() string

type UpdateOrganizationParams

type UpdateOrganizationParams struct {

	/* Body.

	   The organization to update
	*/
	Body *models.OrganizationRequest

	/* OrganizationID.

	   Identifier for the Organization
	*/
	OrganizationID 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateOrganizationParamsWithContext

func NewUpdateOrganizationParamsWithContext(ctx context.Context) *UpdateOrganizationParams

NewUpdateOrganizationParamsWithContext creates a new UpdateOrganizationParams object with 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 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 ability to set a timeout on a request.

func (*UpdateOrganizationParams) SetBody

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

func (o *UpdateOrganizationParams) SetDefaults()

SetDefaults hydrates default values in the update organization params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateOrganizationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update organization params

func (*UpdateOrganizationParams) SetOrganizationID

func (o *UpdateOrganizationParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId 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) WithBody

WithBody adds the body to the update organization params

func (*UpdateOrganizationParams) WithContext

WithContext adds the context to the update organization params

func (*UpdateOrganizationParams) WithDefaults

WithDefaults hydrates default values in the update organization params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateOrganizationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update organization params

func (*UpdateOrganizationParams) WithOrganizationID

func (o *UpdateOrganizationParams) WithOrganizationID(organizationID string) *UpdateOrganizationParams

WithOrganizationID adds the organizationID to the update organization params

func (*UpdateOrganizationParams) WithTimeout

WithTimeout adds the timeout 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

type UpdateOrganizationUnauthorized struct {
	Payload *models.BasicFailedReply
}

UpdateOrganizationUnauthorized describes a response with status code 401, with default header values.

You are not authorized to perform this action

func NewUpdateOrganizationUnauthorized

func NewUpdateOrganizationUnauthorized() *UpdateOrganizationUnauthorized

NewUpdateOrganizationUnauthorized creates a UpdateOrganizationUnauthorized with default headers values

func (*UpdateOrganizationUnauthorized) Code

Code gets the status code for the update organization unauthorized response

func (*UpdateOrganizationUnauthorized) Error

func (*UpdateOrganizationUnauthorized) GetPayload

func (*UpdateOrganizationUnauthorized) IsClientError

func (o *UpdateOrganizationUnauthorized) IsClientError() bool

IsClientError returns true when this update organization unauthorized response has a 4xx status code

func (*UpdateOrganizationUnauthorized) IsCode

func (o *UpdateOrganizationUnauthorized) IsCode(code int) bool

IsCode returns true when this update organization unauthorized response a status code equal to that given

func (*UpdateOrganizationUnauthorized) IsRedirect

func (o *UpdateOrganizationUnauthorized) IsRedirect() bool

IsRedirect returns true when this update organization unauthorized response has a 3xx status code

func (*UpdateOrganizationUnauthorized) IsServerError

func (o *UpdateOrganizationUnauthorized) IsServerError() bool

IsServerError returns true when this update organization unauthorized response has a 5xx status code

func (*UpdateOrganizationUnauthorized) IsSuccess

func (o *UpdateOrganizationUnauthorized) IsSuccess() bool

IsSuccess returns true when this update organization unauthorized response has a 2xx status code

func (*UpdateOrganizationUnauthorized) String

Jump to

Keyboard shortcuts

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