organizations

package
v0.0.0-...-7b99a6d Latest Latest
Warning

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

Go to latest
Published: Jan 29, 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 Client

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

Client for organizations API

func (*Client) CreateOrganization

func (a *Client) CreateOrganization(params *CreateOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOrganizationCreated, error)

CreateOrganization creates organization

func (*Client) DeleteOrganization

func (a *Client) DeleteOrganization(params *DeleteOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrganizationNoContent, error)

DeleteOrganization deletes organization

Delete organization.

func (*Client) GetOrganization

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

GetOrganization gets organization

Get organization.

func (*Client) ListOrganizations

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

ListOrganizations lists organizations

List organizations.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateOrganization

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

UpdateOrganization updates organization

Update organization.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateOrganization(params *CreateOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOrganizationCreated, error)

	DeleteOrganization(params *DeleteOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrganizationNoContent, error)

	GetOrganization(params *GetOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationOK, 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 CreateOrganizationBadRequest

type CreateOrganizationBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewCreateOrganizationBadRequest

func NewCreateOrganizationBadRequest() *CreateOrganizationBadRequest

NewCreateOrganizationBadRequest creates a CreateOrganizationBadRequest with default headers values

func (*CreateOrganizationBadRequest) Code

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

func (*CreateOrganizationBadRequest) Error

func (*CreateOrganizationBadRequest) GetPayload

func (o *CreateOrganizationBadRequest) GetPayload() *models.Error

func (*CreateOrganizationBadRequest) IsClientError

func (o *CreateOrganizationBadRequest) IsClientError() bool

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

func (*CreateOrganizationBadRequest) IsCode

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

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

func (*CreateOrganizationBadRequest) IsRedirect

func (o *CreateOrganizationBadRequest) IsRedirect() bool

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

func (*CreateOrganizationBadRequest) IsServerError

func (o *CreateOrganizationBadRequest) IsServerError() bool

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

func (*CreateOrganizationBadRequest) IsSuccess

func (o *CreateOrganizationBadRequest) IsSuccess() bool

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

func (*CreateOrganizationBadRequest) String

type CreateOrganizationConflict

type CreateOrganizationConflict struct {
	Payload *models.Error
}

CreateOrganizationConflict describes a response with status code 409, with default header values.

Conflict

func NewCreateOrganizationConflict

func NewCreateOrganizationConflict() *CreateOrganizationConflict

NewCreateOrganizationConflict creates a CreateOrganizationConflict with default headers values

func (*CreateOrganizationConflict) Code

func (o *CreateOrganizationConflict) Code() int

Code gets the status code for the create organization conflict response

func (*CreateOrganizationConflict) Error

func (*CreateOrganizationConflict) GetPayload

func (o *CreateOrganizationConflict) GetPayload() *models.Error

func (*CreateOrganizationConflict) IsClientError

func (o *CreateOrganizationConflict) IsClientError() bool

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

func (*CreateOrganizationConflict) IsCode

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

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

func (*CreateOrganizationConflict) IsRedirect

func (o *CreateOrganizationConflict) IsRedirect() bool

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

func (*CreateOrganizationConflict) IsServerError

func (o *CreateOrganizationConflict) IsServerError() bool

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

func (*CreateOrganizationConflict) IsSuccess

func (o *CreateOrganizationConflict) IsSuccess() bool

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

func (*CreateOrganizationConflict) String

func (o *CreateOrganizationConflict) String() string

type CreateOrganizationCreated

type CreateOrganizationCreated struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.OrganizationResponse
}

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

Org

func NewCreateOrganizationCreated

func NewCreateOrganizationCreated() *CreateOrganizationCreated

NewCreateOrganizationCreated creates a CreateOrganizationCreated with default headers values

func (*CreateOrganizationCreated) Code

func (o *CreateOrganizationCreated) Code() int

Code gets the status code for the create organization created response

func (*CreateOrganizationCreated) Error

func (o *CreateOrganizationCreated) Error() string

func (*CreateOrganizationCreated) GetPayload

func (*CreateOrganizationCreated) IsClientError

func (o *CreateOrganizationCreated) IsClientError() bool

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

func (*CreateOrganizationCreated) IsCode

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

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

func (*CreateOrganizationCreated) IsRedirect

func (o *CreateOrganizationCreated) IsRedirect() bool

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

func (*CreateOrganizationCreated) IsServerError

func (o *CreateOrganizationCreated) IsServerError() bool

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

func (*CreateOrganizationCreated) IsSuccess

func (o *CreateOrganizationCreated) IsSuccess() bool

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

func (*CreateOrganizationCreated) String

func (o *CreateOrganizationCreated) String() string

type CreateOrganizationForbidden

type CreateOrganizationForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewCreateOrganizationForbidden

func NewCreateOrganizationForbidden() *CreateOrganizationForbidden

NewCreateOrganizationForbidden creates a CreateOrganizationForbidden with default headers values

func (*CreateOrganizationForbidden) Code

func (o *CreateOrganizationForbidden) Code() int

Code gets the status code for the create organization forbidden response

func (*CreateOrganizationForbidden) Error

func (*CreateOrganizationForbidden) GetPayload

func (o *CreateOrganizationForbidden) GetPayload() *models.Error

func (*CreateOrganizationForbidden) IsClientError

func (o *CreateOrganizationForbidden) IsClientError() bool

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

func (*CreateOrganizationForbidden) IsCode

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

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

func (*CreateOrganizationForbidden) IsRedirect

func (o *CreateOrganizationForbidden) IsRedirect() bool

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

func (*CreateOrganizationForbidden) IsServerError

func (o *CreateOrganizationForbidden) IsServerError() bool

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

func (*CreateOrganizationForbidden) IsSuccess

func (o *CreateOrganizationForbidden) IsSuccess() bool

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

func (*CreateOrganizationForbidden) String

func (o *CreateOrganizationForbidden) String() string

type CreateOrganizationNotFound

type CreateOrganizationNotFound struct {
	Payload *models.Error
}

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

Not found

func NewCreateOrganizationNotFound

func NewCreateOrganizationNotFound() *CreateOrganizationNotFound

NewCreateOrganizationNotFound creates a CreateOrganizationNotFound with default headers values

func (*CreateOrganizationNotFound) Code

func (o *CreateOrganizationNotFound) Code() int

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

func (*CreateOrganizationNotFound) Error

func (*CreateOrganizationNotFound) GetPayload

func (o *CreateOrganizationNotFound) GetPayload() *models.Error

func (*CreateOrganizationNotFound) IsClientError

func (o *CreateOrganizationNotFound) IsClientError() bool

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

func (*CreateOrganizationNotFound) IsCode

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

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

func (*CreateOrganizationNotFound) IsRedirect

func (o *CreateOrganizationNotFound) IsRedirect() bool

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

func (*CreateOrganizationNotFound) IsServerError

func (o *CreateOrganizationNotFound) IsServerError() bool

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

func (*CreateOrganizationNotFound) IsSuccess

func (o *CreateOrganizationNotFound) IsSuccess() bool

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

func (*CreateOrganizationNotFound) String

func (o *CreateOrganizationNotFound) String() string

type CreateOrganizationParams

type CreateOrganizationParams struct {

	// Org.
	Org *models.CreateOrganizationRequest

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

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

CreateOrganizationParams contains all the parameters to send to the API endpoint

for the create organization operation.

Typically these are written to a http.Request.

func NewCreateOrganizationParams

func NewCreateOrganizationParams() *CreateOrganizationParams

NewCreateOrganizationParams creates a new CreateOrganizationParams object, with the default 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 NewCreateOrganizationParamsWithContext

func NewCreateOrganizationParamsWithContext(ctx context.Context) *CreateOrganizationParams

NewCreateOrganizationParamsWithContext creates a new CreateOrganizationParams object with the ability to set a context for a request.

func NewCreateOrganizationParamsWithHTTPClient

func NewCreateOrganizationParamsWithHTTPClient(client *http.Client) *CreateOrganizationParams

NewCreateOrganizationParamsWithHTTPClient creates a new CreateOrganizationParams object with the ability to set a custom HTTPClient for a request.

func NewCreateOrganizationParamsWithTimeout

func NewCreateOrganizationParamsWithTimeout(timeout time.Duration) *CreateOrganizationParams

NewCreateOrganizationParamsWithTimeout creates a new CreateOrganizationParams object with the ability to set a timeout on a request.

func (*CreateOrganizationParams) SetContext

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

SetContext adds the context to the create organization params

func (*CreateOrganizationParams) SetDefaults

func (o *CreateOrganizationParams) SetDefaults()

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

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

func (*CreateOrganizationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create organization params

func (*CreateOrganizationParams) SetIfMatch

func (o *CreateOrganizationParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the create organization params

func (*CreateOrganizationParams) SetOrg

SetOrg adds the org to the create organization params

func (*CreateOrganizationParams) SetTimeout

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

SetTimeout adds the timeout to the create organization params

func (*CreateOrganizationParams) WithContext

WithContext adds the context to the create organization params

func (*CreateOrganizationParams) WithDefaults

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

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

func (*CreateOrganizationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create organization params

func (*CreateOrganizationParams) WithIfMatch

func (o *CreateOrganizationParams) WithIfMatch(ifMatch *string) *CreateOrganizationParams

WithIfMatch adds the ifMatch to the create organization params

func (*CreateOrganizationParams) WithOrg

WithOrg adds the org to the create organization params

func (*CreateOrganizationParams) WithTimeout

WithTimeout adds the timeout to the create organization params

func (*CreateOrganizationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateOrganizationReader

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

CreateOrganizationReader is a Reader for the CreateOrganization structure.

func (*CreateOrganizationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateOrganizationTooManyRequests

type CreateOrganizationTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewCreateOrganizationTooManyRequests

func NewCreateOrganizationTooManyRequests() *CreateOrganizationTooManyRequests

NewCreateOrganizationTooManyRequests creates a CreateOrganizationTooManyRequests with default headers values

func (*CreateOrganizationTooManyRequests) Code

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

func (*CreateOrganizationTooManyRequests) Error

func (*CreateOrganizationTooManyRequests) GetPayload

func (*CreateOrganizationTooManyRequests) IsClientError

func (o *CreateOrganizationTooManyRequests) IsClientError() bool

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

func (*CreateOrganizationTooManyRequests) IsCode

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

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

func (*CreateOrganizationTooManyRequests) IsRedirect

func (o *CreateOrganizationTooManyRequests) IsRedirect() bool

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

func (*CreateOrganizationTooManyRequests) IsServerError

func (o *CreateOrganizationTooManyRequests) IsServerError() bool

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

func (*CreateOrganizationTooManyRequests) IsSuccess

func (o *CreateOrganizationTooManyRequests) IsSuccess() bool

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

func (*CreateOrganizationTooManyRequests) String

type CreateOrganizationUnauthorized

type CreateOrganizationUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewCreateOrganizationUnauthorized

func NewCreateOrganizationUnauthorized() *CreateOrganizationUnauthorized

NewCreateOrganizationUnauthorized creates a CreateOrganizationUnauthorized with default headers values

func (*CreateOrganizationUnauthorized) Code

Code gets the status code for the create organization unauthorized response

func (*CreateOrganizationUnauthorized) Error

func (*CreateOrganizationUnauthorized) GetPayload

func (o *CreateOrganizationUnauthorized) GetPayload() *models.Error

func (*CreateOrganizationUnauthorized) IsClientError

func (o *CreateOrganizationUnauthorized) IsClientError() bool

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

func (*CreateOrganizationUnauthorized) IsCode

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

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

func (*CreateOrganizationUnauthorized) IsRedirect

func (o *CreateOrganizationUnauthorized) IsRedirect() bool

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

func (*CreateOrganizationUnauthorized) IsServerError

func (o *CreateOrganizationUnauthorized) IsServerError() bool

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

func (*CreateOrganizationUnauthorized) IsSuccess

func (o *CreateOrganizationUnauthorized) IsSuccess() bool

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

func (*CreateOrganizationUnauthorized) String

type CreateOrganizationUnprocessableEntity

type CreateOrganizationUnprocessableEntity struct {
	Payload *models.Error
}

CreateOrganizationUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewCreateOrganizationUnprocessableEntity

func NewCreateOrganizationUnprocessableEntity() *CreateOrganizationUnprocessableEntity

NewCreateOrganizationUnprocessableEntity creates a CreateOrganizationUnprocessableEntity with default headers values

func (*CreateOrganizationUnprocessableEntity) Code

Code gets the status code for the create organization unprocessable entity response

func (*CreateOrganizationUnprocessableEntity) Error

func (*CreateOrganizationUnprocessableEntity) GetPayload

func (*CreateOrganizationUnprocessableEntity) IsClientError

func (o *CreateOrganizationUnprocessableEntity) IsClientError() bool

IsClientError returns true when this create organization unprocessable entity response has a 4xx status code

func (*CreateOrganizationUnprocessableEntity) IsCode

IsCode returns true when this create organization unprocessable entity response a status code equal to that given

func (*CreateOrganizationUnprocessableEntity) IsRedirect

IsRedirect returns true when this create organization unprocessable entity response has a 3xx status code

func (*CreateOrganizationUnprocessableEntity) IsServerError

func (o *CreateOrganizationUnprocessableEntity) IsServerError() bool

IsServerError returns true when this create organization unprocessable entity response has a 5xx status code

func (*CreateOrganizationUnprocessableEntity) IsSuccess

IsSuccess returns true when this create organization unprocessable entity response has a 2xx status code

func (*CreateOrganizationUnprocessableEntity) String

type DeleteOrganizationBadRequest

type DeleteOrganizationBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewDeleteOrganizationBadRequest

func NewDeleteOrganizationBadRequest() *DeleteOrganizationBadRequest

NewDeleteOrganizationBadRequest creates a DeleteOrganizationBadRequest with default headers values

func (*DeleteOrganizationBadRequest) Code

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

func (*DeleteOrganizationBadRequest) Error

func (*DeleteOrganizationBadRequest) GetPayload

func (o *DeleteOrganizationBadRequest) GetPayload() *models.Error

func (*DeleteOrganizationBadRequest) IsClientError

func (o *DeleteOrganizationBadRequest) IsClientError() bool

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

func (*DeleteOrganizationBadRequest) IsCode

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

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

func (*DeleteOrganizationBadRequest) IsRedirect

func (o *DeleteOrganizationBadRequest) IsRedirect() bool

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

func (*DeleteOrganizationBadRequest) IsServerError

func (o *DeleteOrganizationBadRequest) IsServerError() bool

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

func (*DeleteOrganizationBadRequest) IsSuccess

func (o *DeleteOrganizationBadRequest) IsSuccess() bool

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

func (*DeleteOrganizationBadRequest) String

type DeleteOrganizationForbidden

type DeleteOrganizationForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewDeleteOrganizationForbidden

func NewDeleteOrganizationForbidden() *DeleteOrganizationForbidden

NewDeleteOrganizationForbidden creates a DeleteOrganizationForbidden with default headers values

func (*DeleteOrganizationForbidden) Code

func (o *DeleteOrganizationForbidden) Code() int

Code gets the status code for the delete organization forbidden response

func (*DeleteOrganizationForbidden) Error

func (*DeleteOrganizationForbidden) GetPayload

func (o *DeleteOrganizationForbidden) GetPayload() *models.Error

func (*DeleteOrganizationForbidden) IsClientError

func (o *DeleteOrganizationForbidden) IsClientError() bool

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

func (*DeleteOrganizationForbidden) IsCode

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

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

func (*DeleteOrganizationForbidden) IsRedirect

func (o *DeleteOrganizationForbidden) IsRedirect() bool

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

func (*DeleteOrganizationForbidden) IsServerError

func (o *DeleteOrganizationForbidden) IsServerError() bool

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

func (*DeleteOrganizationForbidden) IsSuccess

func (o *DeleteOrganizationForbidden) IsSuccess() bool

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

func (*DeleteOrganizationForbidden) String

func (o *DeleteOrganizationForbidden) String() string

type DeleteOrganizationNoContent

type DeleteOrganizationNoContent struct {
}

DeleteOrganizationNoContent describes a response with status code 204, with default header values.

Organization has been deleted

func NewDeleteOrganizationNoContent

func NewDeleteOrganizationNoContent() *DeleteOrganizationNoContent

NewDeleteOrganizationNoContent creates a DeleteOrganizationNoContent with default headers values

func (*DeleteOrganizationNoContent) Code

func (o *DeleteOrganizationNoContent) Code() int

Code gets the status code for the delete organization no content response

func (*DeleteOrganizationNoContent) Error

func (*DeleteOrganizationNoContent) IsClientError

func (o *DeleteOrganizationNoContent) IsClientError() bool

IsClientError returns true when this delete organization no content response has a 4xx status code

func (*DeleteOrganizationNoContent) IsCode

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

IsCode returns true when this delete organization no content response a status code equal to that given

func (*DeleteOrganizationNoContent) IsRedirect

func (o *DeleteOrganizationNoContent) IsRedirect() bool

IsRedirect returns true when this delete organization no content response has a 3xx status code

func (*DeleteOrganizationNoContent) IsServerError

func (o *DeleteOrganizationNoContent) IsServerError() bool

IsServerError returns true when this delete organization no content response has a 5xx status code

func (*DeleteOrganizationNoContent) IsSuccess

func (o *DeleteOrganizationNoContent) IsSuccess() bool

IsSuccess returns true when this delete organization no content response has a 2xx status code

func (*DeleteOrganizationNoContent) String

func (o *DeleteOrganizationNoContent) String() string

type DeleteOrganizationNotFound

type DeleteOrganizationNotFound struct {
	Payload *models.Error
}

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

Not found

func NewDeleteOrganizationNotFound

func NewDeleteOrganizationNotFound() *DeleteOrganizationNotFound

NewDeleteOrganizationNotFound creates a DeleteOrganizationNotFound with default headers values

func (*DeleteOrganizationNotFound) Code

func (o *DeleteOrganizationNotFound) Code() int

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

func (*DeleteOrganizationNotFound) Error

func (*DeleteOrganizationNotFound) GetPayload

func (o *DeleteOrganizationNotFound) GetPayload() *models.Error

func (*DeleteOrganizationNotFound) IsClientError

func (o *DeleteOrganizationNotFound) IsClientError() bool

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

func (*DeleteOrganizationNotFound) IsCode

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

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

func (*DeleteOrganizationNotFound) IsRedirect

func (o *DeleteOrganizationNotFound) IsRedirect() bool

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

func (*DeleteOrganizationNotFound) IsServerError

func (o *DeleteOrganizationNotFound) IsServerError() bool

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

func (*DeleteOrganizationNotFound) IsSuccess

func (o *DeleteOrganizationNotFound) IsSuccess() bool

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

func (*DeleteOrganizationNotFound) String

func (o *DeleteOrganizationNotFound) String() string

type DeleteOrganizationParams

type DeleteOrganizationParams struct {

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	/* Wid.

	   Organization id

	   Default: "default"
	*/
	Wid string

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

DeleteOrganizationParams contains all the parameters to send to the API endpoint

for the delete organization operation.

Typically these are written to a http.Request.

func NewDeleteOrganizationParams

func NewDeleteOrganizationParams() *DeleteOrganizationParams

NewDeleteOrganizationParams creates a new DeleteOrganizationParams object, with the default 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 NewDeleteOrganizationParamsWithContext

func NewDeleteOrganizationParamsWithContext(ctx context.Context) *DeleteOrganizationParams

NewDeleteOrganizationParamsWithContext creates a new DeleteOrganizationParams object with the ability to set a context for a request.

func NewDeleteOrganizationParamsWithHTTPClient

func NewDeleteOrganizationParamsWithHTTPClient(client *http.Client) *DeleteOrganizationParams

NewDeleteOrganizationParamsWithHTTPClient creates a new DeleteOrganizationParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteOrganizationParamsWithTimeout

func NewDeleteOrganizationParamsWithTimeout(timeout time.Duration) *DeleteOrganizationParams

NewDeleteOrganizationParamsWithTimeout creates a new DeleteOrganizationParams object with the ability to set a timeout on a request.

func (*DeleteOrganizationParams) SetContext

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

SetContext adds the context to the delete organization params

func (*DeleteOrganizationParams) SetDefaults

func (o *DeleteOrganizationParams) SetDefaults()

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

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

func (*DeleteOrganizationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete organization params

func (*DeleteOrganizationParams) SetIfMatch

func (o *DeleteOrganizationParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the delete organization params

func (*DeleteOrganizationParams) SetTimeout

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

SetTimeout adds the timeout to the delete organization params

func (*DeleteOrganizationParams) SetWid

func (o *DeleteOrganizationParams) SetWid(wid string)

SetWid adds the wid to the delete organization params

func (*DeleteOrganizationParams) WithContext

WithContext adds the context to the delete organization params

func (*DeleteOrganizationParams) WithDefaults

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

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

func (*DeleteOrganizationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete organization params

func (*DeleteOrganizationParams) WithIfMatch

func (o *DeleteOrganizationParams) WithIfMatch(ifMatch *string) *DeleteOrganizationParams

WithIfMatch adds the ifMatch to the delete organization params

func (*DeleteOrganizationParams) WithTimeout

WithTimeout adds the timeout to the delete organization params

func (*DeleteOrganizationParams) WithWid

WithWid adds the wid to the delete organization params

func (*DeleteOrganizationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteOrganizationReader

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

DeleteOrganizationReader is a Reader for the DeleteOrganization structure.

func (*DeleteOrganizationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteOrganizationTooManyRequests

type DeleteOrganizationTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewDeleteOrganizationTooManyRequests

func NewDeleteOrganizationTooManyRequests() *DeleteOrganizationTooManyRequests

NewDeleteOrganizationTooManyRequests creates a DeleteOrganizationTooManyRequests with default headers values

func (*DeleteOrganizationTooManyRequests) Code

Code gets the status code for the delete organization too many requests response

func (*DeleteOrganizationTooManyRequests) Error

func (*DeleteOrganizationTooManyRequests) GetPayload

func (*DeleteOrganizationTooManyRequests) IsClientError

func (o *DeleteOrganizationTooManyRequests) IsClientError() bool

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

func (*DeleteOrganizationTooManyRequests) IsCode

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

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

func (*DeleteOrganizationTooManyRequests) IsRedirect

func (o *DeleteOrganizationTooManyRequests) IsRedirect() bool

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

func (*DeleteOrganizationTooManyRequests) IsServerError

func (o *DeleteOrganizationTooManyRequests) IsServerError() bool

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

func (*DeleteOrganizationTooManyRequests) IsSuccess

func (o *DeleteOrganizationTooManyRequests) IsSuccess() bool

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

func (*DeleteOrganizationTooManyRequests) String

type DeleteOrganizationUnauthorized

type DeleteOrganizationUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewDeleteOrganizationUnauthorized

func NewDeleteOrganizationUnauthorized() *DeleteOrganizationUnauthorized

NewDeleteOrganizationUnauthorized creates a DeleteOrganizationUnauthorized with default headers values

func (*DeleteOrganizationUnauthorized) Code

Code gets the status code for the delete organization unauthorized response

func (*DeleteOrganizationUnauthorized) Error

func (*DeleteOrganizationUnauthorized) GetPayload

func (o *DeleteOrganizationUnauthorized) GetPayload() *models.Error

func (*DeleteOrganizationUnauthorized) IsClientError

func (o *DeleteOrganizationUnauthorized) IsClientError() bool

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

func (*DeleteOrganizationUnauthorized) IsCode

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

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

func (*DeleteOrganizationUnauthorized) IsRedirect

func (o *DeleteOrganizationUnauthorized) IsRedirect() bool

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

func (*DeleteOrganizationUnauthorized) IsServerError

func (o *DeleteOrganizationUnauthorized) IsServerError() bool

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

func (*DeleteOrganizationUnauthorized) IsSuccess

func (o *DeleteOrganizationUnauthorized) IsSuccess() bool

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

func (*DeleteOrganizationUnauthorized) String

type GetOrganizationForbidden

type GetOrganizationForbidden struct {
	Payload *models.Error
}

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

Forbidden

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 (o *GetOrganizationForbidden) GetPayload() *models.Error

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 GetOrganizationNotFound

type GetOrganizationNotFound struct {
	Payload *models.Error
}

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

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 (o *GetOrganizationNotFound) GetPayload() *models.Error

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 {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.OrganizationResponse
}

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

Org

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 (*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 {

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	/* Wid.

	   Organization id

	   Default: "default"
	*/
	Wid 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) SetIfMatch

func (o *GetOrganizationParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch 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) SetWid

func (o *GetOrganizationParams) SetWid(wid string)

SetWid adds the wid 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) WithIfMatch

func (o *GetOrganizationParams) WithIfMatch(ifMatch *string) *GetOrganizationParams

WithIfMatch adds the ifMatch 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) WithWid

WithWid adds the wid 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 GetOrganizationTooManyRequests

type GetOrganizationTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewGetOrganizationTooManyRequests

func NewGetOrganizationTooManyRequests() *GetOrganizationTooManyRequests

NewGetOrganizationTooManyRequests creates a GetOrganizationTooManyRequests with default headers values

func (*GetOrganizationTooManyRequests) Code

Code gets the status code for the get organization too many requests response

func (*GetOrganizationTooManyRequests) Error

func (*GetOrganizationTooManyRequests) GetPayload

func (o *GetOrganizationTooManyRequests) GetPayload() *models.Error

func (*GetOrganizationTooManyRequests) IsClientError

func (o *GetOrganizationTooManyRequests) IsClientError() bool

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

func (*GetOrganizationTooManyRequests) IsCode

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

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

func (*GetOrganizationTooManyRequests) IsRedirect

func (o *GetOrganizationTooManyRequests) IsRedirect() bool

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

func (*GetOrganizationTooManyRequests) IsServerError

func (o *GetOrganizationTooManyRequests) IsServerError() bool

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

func (*GetOrganizationTooManyRequests) IsSuccess

func (o *GetOrganizationTooManyRequests) IsSuccess() bool

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

func (*GetOrganizationTooManyRequests) String

type GetOrganizationUnauthorized

type GetOrganizationUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

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 (o *GetOrganizationUnauthorized) GetPayload() *models.Error

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 ListOrganizationsForbidden

type ListOrganizationsForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewListOrganizationsForbidden

func NewListOrganizationsForbidden() *ListOrganizationsForbidden

NewListOrganizationsForbidden creates a ListOrganizationsForbidden with default headers values

func (*ListOrganizationsForbidden) Code

func (o *ListOrganizationsForbidden) Code() int

Code gets the status code for the list organizations forbidden response

func (*ListOrganizationsForbidden) Error

func (*ListOrganizationsForbidden) GetPayload

func (o *ListOrganizationsForbidden) GetPayload() *models.Error

func (*ListOrganizationsForbidden) IsClientError

func (o *ListOrganizationsForbidden) IsClientError() bool

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

func (*ListOrganizationsForbidden) IsCode

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

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

func (*ListOrganizationsForbidden) IsRedirect

func (o *ListOrganizationsForbidden) IsRedirect() bool

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

func (*ListOrganizationsForbidden) IsServerError

func (o *ListOrganizationsForbidden) IsServerError() bool

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

func (*ListOrganizationsForbidden) IsSuccess

func (o *ListOrganizationsForbidden) IsSuccess() bool

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

func (*ListOrganizationsForbidden) String

func (o *ListOrganizationsForbidden) String() string

type ListOrganizationsNotFound

type ListOrganizationsNotFound struct {
	Payload *models.Error
}

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

Not found

func NewListOrganizationsNotFound

func NewListOrganizationsNotFound() *ListOrganizationsNotFound

NewListOrganizationsNotFound creates a ListOrganizationsNotFound with default headers values

func (*ListOrganizationsNotFound) Code

func (o *ListOrganizationsNotFound) Code() int

Code gets the status code for the list organizations not found response

func (*ListOrganizationsNotFound) Error

func (o *ListOrganizationsNotFound) Error() string

func (*ListOrganizationsNotFound) GetPayload

func (o *ListOrganizationsNotFound) GetPayload() *models.Error

func (*ListOrganizationsNotFound) IsClientError

func (o *ListOrganizationsNotFound) IsClientError() bool

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

func (*ListOrganizationsNotFound) IsCode

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

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

func (*ListOrganizationsNotFound) IsRedirect

func (o *ListOrganizationsNotFound) IsRedirect() bool

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

func (*ListOrganizationsNotFound) IsServerError

func (o *ListOrganizationsNotFound) IsServerError() bool

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

func (*ListOrganizationsNotFound) IsSuccess

func (o *ListOrganizationsNotFound) IsSuccess() bool

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

func (*ListOrganizationsNotFound) String

func (o *ListOrganizationsNotFound) String() string

type ListOrganizationsOK

type ListOrganizationsOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.OrganizationsResponse
}

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

Orgs

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 (*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 {

	/* AfterOrganizationID.

	     optional list organizations after given id
	AfterServerID
	*/
	AfterOrganizationID *string

	/* BeforeOrganizationID.

	     optional list organizations before given id
	BeforeServerID
	*/
	BeforeOrganizationID *string

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	/* Limit.

	     optional limit results
	Limit

	     Format: int64
	     Default: 20
	*/
	Limit *int64

	/* Order.

	     optional order organizations by given direction
	Order
	*/
	Order *string

	/* SearchPhrase.

	     Optional search phrase: organization id OR organization name substring (case insensitive)
	SearchPhrase
	*/
	SearchPhrase *string

	/* Sort.

	     optional sort organizations by given field
	Sort
	*/
	Sort *string

	/* Template.

	   optional flag to filter by template
	*/
	Template *bool

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

func (o *ListOrganizationsParams) SetAfterOrganizationID(afterOrganizationID *string)

SetAfterOrganizationID adds the afterOrganizationId to the list organizations params

func (*ListOrganizationsParams) SetBeforeOrganizationID

func (o *ListOrganizationsParams) SetBeforeOrganizationID(beforeOrganizationID *string)

SetBeforeOrganizationID adds the beforeOrganizationId to the list organizations params

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

func (o *ListOrganizationsParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the list organizations params

func (*ListOrganizationsParams) SetLimit

func (o *ListOrganizationsParams) SetLimit(limit *int64)

SetLimit adds the limit to the list organizations params

func (*ListOrganizationsParams) SetOrder

func (o *ListOrganizationsParams) SetOrder(order *string)

SetOrder adds the order to the list organizations params

func (*ListOrganizationsParams) SetSearchPhrase

func (o *ListOrganizationsParams) SetSearchPhrase(searchPhrase *string)

SetSearchPhrase adds the searchPhrase to the list organizations params

func (*ListOrganizationsParams) SetSort

func (o *ListOrganizationsParams) SetSort(sort *string)

SetSort adds the sort to the list organizations params

func (*ListOrganizationsParams) SetTemplate

func (o *ListOrganizationsParams) SetTemplate(template *bool)

SetTemplate adds the template 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) WithAfterOrganizationID

func (o *ListOrganizationsParams) WithAfterOrganizationID(afterOrganizationID *string) *ListOrganizationsParams

WithAfterOrganizationID adds the afterOrganizationID to the list organizations params

func (*ListOrganizationsParams) WithBeforeOrganizationID

func (o *ListOrganizationsParams) WithBeforeOrganizationID(beforeOrganizationID *string) *ListOrganizationsParams

WithBeforeOrganizationID adds the beforeOrganizationID 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) WithIfMatch

func (o *ListOrganizationsParams) WithIfMatch(ifMatch *string) *ListOrganizationsParams

WithIfMatch adds the ifMatch to the list organizations params

func (*ListOrganizationsParams) WithLimit

WithLimit adds the limit to the list organizations params

func (*ListOrganizationsParams) WithOrder

WithOrder adds the order to the list organizations params

func (*ListOrganizationsParams) WithSearchPhrase

func (o *ListOrganizationsParams) WithSearchPhrase(searchPhrase *string) *ListOrganizationsParams

WithSearchPhrase adds the searchPhrase to the list organizations params

func (*ListOrganizationsParams) WithSort

WithSort adds the sort to the list organizations params

func (*ListOrganizationsParams) WithTemplate

func (o *ListOrganizationsParams) WithTemplate(template *bool) *ListOrganizationsParams

WithTemplate adds the template 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 ListOrganizationsTooManyRequests

type ListOrganizationsTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewListOrganizationsTooManyRequests

func NewListOrganizationsTooManyRequests() *ListOrganizationsTooManyRequests

NewListOrganizationsTooManyRequests creates a ListOrganizationsTooManyRequests with default headers values

func (*ListOrganizationsTooManyRequests) Code

Code gets the status code for the list organizations too many requests response

func (*ListOrganizationsTooManyRequests) Error

func (*ListOrganizationsTooManyRequests) GetPayload

func (*ListOrganizationsTooManyRequests) IsClientError

func (o *ListOrganizationsTooManyRequests) IsClientError() bool

IsClientError returns true when this list organizations too many requests response has a 4xx status code

func (*ListOrganizationsTooManyRequests) IsCode

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

IsCode returns true when this list organizations too many requests response a status code equal to that given

func (*ListOrganizationsTooManyRequests) IsRedirect

func (o *ListOrganizationsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list organizations too many requests response has a 3xx status code

func (*ListOrganizationsTooManyRequests) IsServerError

func (o *ListOrganizationsTooManyRequests) IsServerError() bool

IsServerError returns true when this list organizations too many requests response has a 5xx status code

func (*ListOrganizationsTooManyRequests) IsSuccess

func (o *ListOrganizationsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this list organizations too many requests response has a 2xx status code

func (*ListOrganizationsTooManyRequests) String

type ListOrganizationsUnauthorized

type ListOrganizationsUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

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 (o *ListOrganizationsUnauthorized) GetPayload() *models.Error

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 {
	Payload *models.Error
}

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

Bad request

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 (o *UpdateOrganizationBadRequest) GetPayload() *models.Error

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 {
	Payload *models.Error
}

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

Forbidden

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 (o *UpdateOrganizationForbidden) GetPayload() *models.Error

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 {
	Payload *models.Error
}

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

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 (o *UpdateOrganizationNotFound) GetPayload() *models.Error

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 {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.OrganizationResponse
}

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

Org

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 (*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 {

	// Org.
	Org *models.Org

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	/* Wid.

	   Organization id

	   Default: "default"
	*/
	Wid 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) 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) SetIfMatch

func (o *UpdateOrganizationParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the update organization params

func (*UpdateOrganizationParams) SetOrg

func (o *UpdateOrganizationParams) SetOrg(org *models.Org)

SetOrg adds the org 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) SetWid

func (o *UpdateOrganizationParams) SetWid(wid string)

SetWid adds the wid 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) WithIfMatch

func (o *UpdateOrganizationParams) WithIfMatch(ifMatch *string) *UpdateOrganizationParams

WithIfMatch adds the ifMatch to the update organization params

func (*UpdateOrganizationParams) WithOrg

WithOrg adds the org to the update organization params

func (*UpdateOrganizationParams) WithTimeout

WithTimeout adds the timeout to the update organization params

func (*UpdateOrganizationParams) WithWid

WithWid adds the wid 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 UpdateOrganizationTooManyRequests

type UpdateOrganizationTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewUpdateOrganizationTooManyRequests

func NewUpdateOrganizationTooManyRequests() *UpdateOrganizationTooManyRequests

NewUpdateOrganizationTooManyRequests creates a UpdateOrganizationTooManyRequests with default headers values

func (*UpdateOrganizationTooManyRequests) Code

Code gets the status code for the update organization too many requests response

func (*UpdateOrganizationTooManyRequests) Error

func (*UpdateOrganizationTooManyRequests) GetPayload

func (*UpdateOrganizationTooManyRequests) IsClientError

func (o *UpdateOrganizationTooManyRequests) IsClientError() bool

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

func (*UpdateOrganizationTooManyRequests) IsCode

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

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

func (*UpdateOrganizationTooManyRequests) IsRedirect

func (o *UpdateOrganizationTooManyRequests) IsRedirect() bool

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

func (*UpdateOrganizationTooManyRequests) IsServerError

func (o *UpdateOrganizationTooManyRequests) IsServerError() bool

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

func (*UpdateOrganizationTooManyRequests) IsSuccess

func (o *UpdateOrganizationTooManyRequests) IsSuccess() bool

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

func (*UpdateOrganizationTooManyRequests) String

type UpdateOrganizationUnauthorized

type UpdateOrganizationUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

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 (o *UpdateOrganizationUnauthorized) GetPayload() *models.Error

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

type UpdateOrganizationUnprocessableEntity

type UpdateOrganizationUnprocessableEntity struct {
	Payload *models.Error
}

UpdateOrganizationUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewUpdateOrganizationUnprocessableEntity

func NewUpdateOrganizationUnprocessableEntity() *UpdateOrganizationUnprocessableEntity

NewUpdateOrganizationUnprocessableEntity creates a UpdateOrganizationUnprocessableEntity with default headers values

func (*UpdateOrganizationUnprocessableEntity) Code

Code gets the status code for the update organization unprocessable entity response

func (*UpdateOrganizationUnprocessableEntity) Error

func (*UpdateOrganizationUnprocessableEntity) GetPayload

func (*UpdateOrganizationUnprocessableEntity) IsClientError

func (o *UpdateOrganizationUnprocessableEntity) IsClientError() bool

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

func (*UpdateOrganizationUnprocessableEntity) IsCode

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

func (*UpdateOrganizationUnprocessableEntity) IsRedirect

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

func (*UpdateOrganizationUnprocessableEntity) IsServerError

func (o *UpdateOrganizationUnprocessableEntity) IsServerError() bool

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

func (*UpdateOrganizationUnprocessableEntity) IsSuccess

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

func (*UpdateOrganizationUnprocessableEntity) String

Jump to

Keyboard shortcuts

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