organisations

package
v0.44.37 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 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 organisations API

func (*Client) DeleteUnitsID

func (a *Client) DeleteUnitsID(params *DeleteUnitsIDParams) (*DeleteUnitsIDNoContent, error)

DeleteUnitsID deletes organisation

func (*Client) GetUnits

func (a *Client) GetUnits(params *GetUnitsParams) (*GetUnitsOK, error)

GetUnits lists all organisations

func (*Client) GetUnitsID

func (a *Client) GetUnitsID(params *GetUnitsIDParams) (*GetUnitsIDOK, error)

GetUnitsID fetches organisation

func (*Client) PatchUnitsID

func (a *Client) PatchUnitsID(params *PatchUnitsIDParams) (*PatchUnitsIDOK, error)

PatchUnitsID updates organisation

func (*Client) PostUnits

func (a *Client) PostUnits(params *PostUnitsParams) (*PostUnitsCreated, error)

PostUnits creates organisation

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService added in v0.43.0

type ClientService interface {
	DeleteUnitsID(params *DeleteUnitsIDParams) (*DeleteUnitsIDNoContent, error)

	GetUnits(params *GetUnitsParams) (*GetUnitsOK, error)

	GetUnitsID(params *GetUnitsIDParams) (*GetUnitsIDOK, error)

	PatchUnitsID(params *PatchUnitsIDParams) (*PatchUnitsIDOK, error)

	PostUnits(params *PostUnitsParams) (*PostUnitsCreated, 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 organisations API client.

type DeleteUnitsIDBadRequest added in v0.43.0

type DeleteUnitsIDBadRequest struct {
	Payload *models.APIError
}

DeleteUnitsIDBadRequest handles this case with default header values.

Bad Request

func NewDeleteUnitsIDBadRequest added in v0.43.0

func NewDeleteUnitsIDBadRequest() *DeleteUnitsIDBadRequest

NewDeleteUnitsIDBadRequest creates a DeleteUnitsIDBadRequest with default headers values

func (*DeleteUnitsIDBadRequest) Error added in v0.43.0

func (o *DeleteUnitsIDBadRequest) Error() string

func (*DeleteUnitsIDBadRequest) GetPayload added in v0.43.0

func (o *DeleteUnitsIDBadRequest) GetPayload() *models.APIError

type DeleteUnitsIDConflict added in v0.43.0

type DeleteUnitsIDConflict struct {
	Payload *models.APIError
}

DeleteUnitsIDConflict handles this case with default header values.

Conflict

func NewDeleteUnitsIDConflict added in v0.43.0

func NewDeleteUnitsIDConflict() *DeleteUnitsIDConflict

NewDeleteUnitsIDConflict creates a DeleteUnitsIDConflict with default headers values

func (*DeleteUnitsIDConflict) Error added in v0.43.0

func (o *DeleteUnitsIDConflict) Error() string

func (*DeleteUnitsIDConflict) GetPayload added in v0.43.0

func (o *DeleteUnitsIDConflict) GetPayload() *models.APIError

type DeleteUnitsIDForbidden added in v0.43.0

type DeleteUnitsIDForbidden struct {
	Payload *models.APIError
}

DeleteUnitsIDForbidden handles this case with default header values.

Forbidden

func NewDeleteUnitsIDForbidden added in v0.43.0

func NewDeleteUnitsIDForbidden() *DeleteUnitsIDForbidden

NewDeleteUnitsIDForbidden creates a DeleteUnitsIDForbidden with default headers values

func (*DeleteUnitsIDForbidden) Error added in v0.43.0

func (o *DeleteUnitsIDForbidden) Error() string

func (*DeleteUnitsIDForbidden) GetPayload added in v0.43.0

func (o *DeleteUnitsIDForbidden) GetPayload() *models.APIError

type DeleteUnitsIDInternalServerError added in v0.43.0

type DeleteUnitsIDInternalServerError struct {
	Payload *models.APIError
}

DeleteUnitsIDInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteUnitsIDInternalServerError added in v0.43.0

func NewDeleteUnitsIDInternalServerError() *DeleteUnitsIDInternalServerError

NewDeleteUnitsIDInternalServerError creates a DeleteUnitsIDInternalServerError with default headers values

func (*DeleteUnitsIDInternalServerError) Error added in v0.43.0

func (*DeleteUnitsIDInternalServerError) GetPayload added in v0.43.0

type DeleteUnitsIDNoContent

type DeleteUnitsIDNoContent struct {
}

DeleteUnitsIDNoContent handles this case with default header values.

Organisation deleted

func NewDeleteUnitsIDNoContent

func NewDeleteUnitsIDNoContent() *DeleteUnitsIDNoContent

NewDeleteUnitsIDNoContent creates a DeleteUnitsIDNoContent with default headers values

func (*DeleteUnitsIDNoContent) Error

func (o *DeleteUnitsIDNoContent) Error() string

type DeleteUnitsIDNotFound added in v0.43.0

type DeleteUnitsIDNotFound struct {
	Payload *models.APIError
}

DeleteUnitsIDNotFound handles this case with default header values.

Record not found

func NewDeleteUnitsIDNotFound added in v0.43.0

func NewDeleteUnitsIDNotFound() *DeleteUnitsIDNotFound

NewDeleteUnitsIDNotFound creates a DeleteUnitsIDNotFound with default headers values

func (*DeleteUnitsIDNotFound) Error added in v0.43.0

func (o *DeleteUnitsIDNotFound) Error() string

func (*DeleteUnitsIDNotFound) GetPayload added in v0.43.0

func (o *DeleteUnitsIDNotFound) GetPayload() *models.APIError

type DeleteUnitsIDParams

type DeleteUnitsIDParams struct {

	/*ID
	  Organisation Id

	*/
	ID strfmt.UUID
	/*Version
	  Version

	*/
	Version int64

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

DeleteUnitsIDParams contains all the parameters to send to the API endpoint for the delete units ID operation typically these are written to a http.Request

func NewDeleteUnitsIDParams

func NewDeleteUnitsIDParams() *DeleteUnitsIDParams

NewDeleteUnitsIDParams creates a new DeleteUnitsIDParams object with the default values initialized.

func NewDeleteUnitsIDParamsWithContext

func NewDeleteUnitsIDParamsWithContext(ctx context.Context) *DeleteUnitsIDParams

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

func NewDeleteUnitsIDParamsWithHTTPClient

func NewDeleteUnitsIDParamsWithHTTPClient(client *http.Client) *DeleteUnitsIDParams

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

func NewDeleteUnitsIDParamsWithTimeout

func NewDeleteUnitsIDParamsWithTimeout(timeout time.Duration) *DeleteUnitsIDParams

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

func (*DeleteUnitsIDParams) SetContext

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

SetContext adds the context to the delete units ID params

func (*DeleteUnitsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete units ID params

func (*DeleteUnitsIDParams) SetID

func (o *DeleteUnitsIDParams) SetID(id strfmt.UUID)

SetID adds the id to the delete units ID params

func (*DeleteUnitsIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete units ID params

func (*DeleteUnitsIDParams) SetVersion

func (o *DeleteUnitsIDParams) SetVersion(version int64)

SetVersion adds the version to the delete units ID params

func (*DeleteUnitsIDParams) WithContext

WithContext adds the context to the delete units ID params

func (*DeleteUnitsIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete units ID params

func (*DeleteUnitsIDParams) WithID

WithID adds the id to the delete units ID params

func (*DeleteUnitsIDParams) WithTimeout

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

WithTimeout adds the timeout to the delete units ID params

func (*DeleteUnitsIDParams) WithVersion

func (o *DeleteUnitsIDParams) WithVersion(version int64) *DeleteUnitsIDParams

WithVersion adds the version to the delete units ID params

func (*DeleteUnitsIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteUnitsIDReader

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

DeleteUnitsIDReader is a Reader for the DeleteUnitsID structure.

func (*DeleteUnitsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUnitsIDServiceUnavailable added in v0.43.0

type DeleteUnitsIDServiceUnavailable struct {
	Payload *models.APIError
}

DeleteUnitsIDServiceUnavailable handles this case with default header values.

The server is up, but overloaded with requests. Try again later.

func NewDeleteUnitsIDServiceUnavailable added in v0.43.0

func NewDeleteUnitsIDServiceUnavailable() *DeleteUnitsIDServiceUnavailable

NewDeleteUnitsIDServiceUnavailable creates a DeleteUnitsIDServiceUnavailable with default headers values

func (*DeleteUnitsIDServiceUnavailable) Error added in v0.43.0

func (*DeleteUnitsIDServiceUnavailable) GetPayload added in v0.43.0

type DeleteUnitsIDTooManyRequests added in v0.43.0

type DeleteUnitsIDTooManyRequests struct {
	Payload *models.APIError
}

DeleteUnitsIDTooManyRequests handles this case with default header values.

The request cannot be served due to the application’s rate limit

func NewDeleteUnitsIDTooManyRequests added in v0.43.0

func NewDeleteUnitsIDTooManyRequests() *DeleteUnitsIDTooManyRequests

NewDeleteUnitsIDTooManyRequests creates a DeleteUnitsIDTooManyRequests with default headers values

func (*DeleteUnitsIDTooManyRequests) Error added in v0.43.0

func (*DeleteUnitsIDTooManyRequests) GetPayload added in v0.43.0

func (o *DeleteUnitsIDTooManyRequests) GetPayload() *models.APIError

type DeleteUnitsIDUnauthorized added in v0.43.0

type DeleteUnitsIDUnauthorized struct {
	Payload *models.APIError
}

DeleteUnitsIDUnauthorized handles this case with default header values.

Authentication credentials were missing or incorrect

func NewDeleteUnitsIDUnauthorized added in v0.43.0

func NewDeleteUnitsIDUnauthorized() *DeleteUnitsIDUnauthorized

NewDeleteUnitsIDUnauthorized creates a DeleteUnitsIDUnauthorized with default headers values

func (*DeleteUnitsIDUnauthorized) Error added in v0.43.0

func (o *DeleteUnitsIDUnauthorized) Error() string

func (*DeleteUnitsIDUnauthorized) GetPayload added in v0.43.0

func (o *DeleteUnitsIDUnauthorized) GetPayload() *models.APIError

type GetUnitsBadRequest added in v0.43.0

type GetUnitsBadRequest struct {
	Payload *models.APIError
}

GetUnitsBadRequest handles this case with default header values.

Bad Request

func NewGetUnitsBadRequest added in v0.43.0

func NewGetUnitsBadRequest() *GetUnitsBadRequest

NewGetUnitsBadRequest creates a GetUnitsBadRequest with default headers values

func (*GetUnitsBadRequest) Error added in v0.43.0

func (o *GetUnitsBadRequest) Error() string

func (*GetUnitsBadRequest) GetPayload added in v0.43.0

func (o *GetUnitsBadRequest) GetPayload() *models.APIError

type GetUnitsConflict added in v0.43.0

type GetUnitsConflict struct {
	Payload *models.APIError
}

GetUnitsConflict handles this case with default header values.

Conflict

func NewGetUnitsConflict added in v0.43.0

func NewGetUnitsConflict() *GetUnitsConflict

NewGetUnitsConflict creates a GetUnitsConflict with default headers values

func (*GetUnitsConflict) Error added in v0.43.0

func (o *GetUnitsConflict) Error() string

func (*GetUnitsConflict) GetPayload added in v0.43.0

func (o *GetUnitsConflict) GetPayload() *models.APIError

type GetUnitsForbidden added in v0.43.0

type GetUnitsForbidden struct {
	Payload *models.APIError
}

GetUnitsForbidden handles this case with default header values.

Forbidden

func NewGetUnitsForbidden added in v0.43.0

func NewGetUnitsForbidden() *GetUnitsForbidden

NewGetUnitsForbidden creates a GetUnitsForbidden with default headers values

func (*GetUnitsForbidden) Error added in v0.43.0

func (o *GetUnitsForbidden) Error() string

func (*GetUnitsForbidden) GetPayload added in v0.43.0

func (o *GetUnitsForbidden) GetPayload() *models.APIError

type GetUnitsIDBadRequest added in v0.43.0

type GetUnitsIDBadRequest struct {
	Payload *models.APIError
}

GetUnitsIDBadRequest handles this case with default header values.

Bad Request

func NewGetUnitsIDBadRequest added in v0.43.0

func NewGetUnitsIDBadRequest() *GetUnitsIDBadRequest

NewGetUnitsIDBadRequest creates a GetUnitsIDBadRequest with default headers values

func (*GetUnitsIDBadRequest) Error added in v0.43.0

func (o *GetUnitsIDBadRequest) Error() string

func (*GetUnitsIDBadRequest) GetPayload added in v0.43.0

func (o *GetUnitsIDBadRequest) GetPayload() *models.APIError

type GetUnitsIDConflict added in v0.43.0

type GetUnitsIDConflict struct {
	Payload *models.APIError
}

GetUnitsIDConflict handles this case with default header values.

Conflict

func NewGetUnitsIDConflict added in v0.43.0

func NewGetUnitsIDConflict() *GetUnitsIDConflict

NewGetUnitsIDConflict creates a GetUnitsIDConflict with default headers values

func (*GetUnitsIDConflict) Error added in v0.43.0

func (o *GetUnitsIDConflict) Error() string

func (*GetUnitsIDConflict) GetPayload added in v0.43.0

func (o *GetUnitsIDConflict) GetPayload() *models.APIError

type GetUnitsIDForbidden added in v0.43.0

type GetUnitsIDForbidden struct {
	Payload *models.APIError
}

GetUnitsIDForbidden handles this case with default header values.

Forbidden

func NewGetUnitsIDForbidden added in v0.43.0

func NewGetUnitsIDForbidden() *GetUnitsIDForbidden

NewGetUnitsIDForbidden creates a GetUnitsIDForbidden with default headers values

func (*GetUnitsIDForbidden) Error added in v0.43.0

func (o *GetUnitsIDForbidden) Error() string

func (*GetUnitsIDForbidden) GetPayload added in v0.43.0

func (o *GetUnitsIDForbidden) GetPayload() *models.APIError

type GetUnitsIDInternalServerError added in v0.43.0

type GetUnitsIDInternalServerError struct {
	Payload *models.APIError
}

GetUnitsIDInternalServerError handles this case with default header values.

Internal Server Error

func NewGetUnitsIDInternalServerError added in v0.43.0

func NewGetUnitsIDInternalServerError() *GetUnitsIDInternalServerError

NewGetUnitsIDInternalServerError creates a GetUnitsIDInternalServerError with default headers values

func (*GetUnitsIDInternalServerError) Error added in v0.43.0

func (*GetUnitsIDInternalServerError) GetPayload added in v0.43.0

type GetUnitsIDNotFound added in v0.43.0

type GetUnitsIDNotFound struct {
	Payload *models.APIError
}

GetUnitsIDNotFound handles this case with default header values.

Record not found

func NewGetUnitsIDNotFound added in v0.43.0

func NewGetUnitsIDNotFound() *GetUnitsIDNotFound

NewGetUnitsIDNotFound creates a GetUnitsIDNotFound with default headers values

func (*GetUnitsIDNotFound) Error added in v0.43.0

func (o *GetUnitsIDNotFound) Error() string

func (*GetUnitsIDNotFound) GetPayload added in v0.43.0

func (o *GetUnitsIDNotFound) GetPayload() *models.APIError

type GetUnitsIDOK

type GetUnitsIDOK struct {
	Payload *models.OrganisationDetailsResponse
}

GetUnitsIDOK handles this case with default header values.

Organisation details

func NewGetUnitsIDOK

func NewGetUnitsIDOK() *GetUnitsIDOK

NewGetUnitsIDOK creates a GetUnitsIDOK with default headers values

func (*GetUnitsIDOK) Error

func (o *GetUnitsIDOK) Error() string

func (*GetUnitsIDOK) GetPayload added in v0.43.0

type GetUnitsIDParams

type GetUnitsIDParams struct {

	/*ID
	  Organisation Id

	*/
	ID strfmt.UUID

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

GetUnitsIDParams contains all the parameters to send to the API endpoint for the get units ID operation typically these are written to a http.Request

func NewGetUnitsIDParams

func NewGetUnitsIDParams() *GetUnitsIDParams

NewGetUnitsIDParams creates a new GetUnitsIDParams object with the default values initialized.

func NewGetUnitsIDParamsWithContext

func NewGetUnitsIDParamsWithContext(ctx context.Context) *GetUnitsIDParams

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

func NewGetUnitsIDParamsWithHTTPClient

func NewGetUnitsIDParamsWithHTTPClient(client *http.Client) *GetUnitsIDParams

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

func NewGetUnitsIDParamsWithTimeout

func NewGetUnitsIDParamsWithTimeout(timeout time.Duration) *GetUnitsIDParams

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

func (*GetUnitsIDParams) SetContext

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

SetContext adds the context to the get units ID params

func (*GetUnitsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get units ID params

func (*GetUnitsIDParams) SetID

func (o *GetUnitsIDParams) SetID(id strfmt.UUID)

SetID adds the id to the get units ID params

func (*GetUnitsIDParams) SetTimeout

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

SetTimeout adds the timeout to the get units ID params

func (*GetUnitsIDParams) WithContext

func (o *GetUnitsIDParams) WithContext(ctx context.Context) *GetUnitsIDParams

WithContext adds the context to the get units ID params

func (*GetUnitsIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get units ID params

func (*GetUnitsIDParams) WithID

WithID adds the id to the get units ID params

func (*GetUnitsIDParams) WithTimeout

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

WithTimeout adds the timeout to the get units ID params

func (*GetUnitsIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUnitsIDReader

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

GetUnitsIDReader is a Reader for the GetUnitsID structure.

func (*GetUnitsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUnitsIDServiceUnavailable added in v0.43.0

type GetUnitsIDServiceUnavailable struct {
	Payload *models.APIError
}

GetUnitsIDServiceUnavailable handles this case with default header values.

The server is up, but overloaded with requests. Try again later.

func NewGetUnitsIDServiceUnavailable added in v0.43.0

func NewGetUnitsIDServiceUnavailable() *GetUnitsIDServiceUnavailable

NewGetUnitsIDServiceUnavailable creates a GetUnitsIDServiceUnavailable with default headers values

func (*GetUnitsIDServiceUnavailable) Error added in v0.43.0

func (*GetUnitsIDServiceUnavailable) GetPayload added in v0.43.0

func (o *GetUnitsIDServiceUnavailable) GetPayload() *models.APIError

type GetUnitsIDTooManyRequests added in v0.43.0

type GetUnitsIDTooManyRequests struct {
	Payload *models.APIError
}

GetUnitsIDTooManyRequests handles this case with default header values.

The request cannot be served due to the application’s rate limit

func NewGetUnitsIDTooManyRequests added in v0.43.0

func NewGetUnitsIDTooManyRequests() *GetUnitsIDTooManyRequests

NewGetUnitsIDTooManyRequests creates a GetUnitsIDTooManyRequests with default headers values

func (*GetUnitsIDTooManyRequests) Error added in v0.43.0

func (o *GetUnitsIDTooManyRequests) Error() string

func (*GetUnitsIDTooManyRequests) GetPayload added in v0.43.0

func (o *GetUnitsIDTooManyRequests) GetPayload() *models.APIError

type GetUnitsIDUnauthorized added in v0.43.0

type GetUnitsIDUnauthorized struct {
	Payload *models.APIError
}

GetUnitsIDUnauthorized handles this case with default header values.

Authentication credentials were missing or incorrect

func NewGetUnitsIDUnauthorized added in v0.43.0

func NewGetUnitsIDUnauthorized() *GetUnitsIDUnauthorized

NewGetUnitsIDUnauthorized creates a GetUnitsIDUnauthorized with default headers values

func (*GetUnitsIDUnauthorized) Error added in v0.43.0

func (o *GetUnitsIDUnauthorized) Error() string

func (*GetUnitsIDUnauthorized) GetPayload added in v0.43.0

func (o *GetUnitsIDUnauthorized) GetPayload() *models.APIError

type GetUnitsInternalServerError added in v0.43.0

type GetUnitsInternalServerError struct {
	Payload *models.APIError
}

GetUnitsInternalServerError handles this case with default header values.

Internal Server Error

func NewGetUnitsInternalServerError added in v0.43.0

func NewGetUnitsInternalServerError() *GetUnitsInternalServerError

NewGetUnitsInternalServerError creates a GetUnitsInternalServerError with default headers values

func (*GetUnitsInternalServerError) Error added in v0.43.0

func (*GetUnitsInternalServerError) GetPayload added in v0.43.0

func (o *GetUnitsInternalServerError) GetPayload() *models.APIError

type GetUnitsNotFound added in v0.43.0

type GetUnitsNotFound struct {
	Payload *models.APIError
}

GetUnitsNotFound handles this case with default header values.

Record not found

func NewGetUnitsNotFound added in v0.43.0

func NewGetUnitsNotFound() *GetUnitsNotFound

NewGetUnitsNotFound creates a GetUnitsNotFound with default headers values

func (*GetUnitsNotFound) Error added in v0.43.0

func (o *GetUnitsNotFound) Error() string

func (*GetUnitsNotFound) GetPayload added in v0.43.0

func (o *GetUnitsNotFound) GetPayload() *models.APIError

type GetUnitsOK

type GetUnitsOK struct {
	Payload *models.OrganisationDetailsListResponse
}

GetUnitsOK handles this case with default header values.

List of organisation details

func NewGetUnitsOK

func NewGetUnitsOK() *GetUnitsOK

NewGetUnitsOK creates a GetUnitsOK with default headers values

func (*GetUnitsOK) Error

func (o *GetUnitsOK) Error() string

func (*GetUnitsOK) GetPayload added in v0.43.0

type GetUnitsParams

type GetUnitsParams struct {

	/*FilterChildOrganisationID
	  Child org id

	*/
	FilterChildOrganisationID *strfmt.UUID

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

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

func NewGetUnitsParams

func NewGetUnitsParams() *GetUnitsParams

NewGetUnitsParams creates a new GetUnitsParams object with the default values initialized.

func NewGetUnitsParamsWithContext

func NewGetUnitsParamsWithContext(ctx context.Context) *GetUnitsParams

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

func NewGetUnitsParamsWithHTTPClient

func NewGetUnitsParamsWithHTTPClient(client *http.Client) *GetUnitsParams

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

func NewGetUnitsParamsWithTimeout

func NewGetUnitsParamsWithTimeout(timeout time.Duration) *GetUnitsParams

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

func (*GetUnitsParams) SetContext

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

SetContext adds the context to the get units params

func (*GetUnitsParams) SetFilterChildOrganisationID

func (o *GetUnitsParams) SetFilterChildOrganisationID(filterChildOrganisationID *strfmt.UUID)

SetFilterChildOrganisationID adds the filterChildOrganisationId to the get units params

func (*GetUnitsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get units params

func (*GetUnitsParams) SetTimeout

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

SetTimeout adds the timeout to the get units params

func (*GetUnitsParams) WithContext

func (o *GetUnitsParams) WithContext(ctx context.Context) *GetUnitsParams

WithContext adds the context to the get units params

func (*GetUnitsParams) WithFilterChildOrganisationID

func (o *GetUnitsParams) WithFilterChildOrganisationID(filterChildOrganisationID *strfmt.UUID) *GetUnitsParams

WithFilterChildOrganisationID adds the filterChildOrganisationID to the get units params

func (*GetUnitsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get units params

func (*GetUnitsParams) WithTimeout

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

WithTimeout adds the timeout to the get units params

func (*GetUnitsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUnitsReader

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

GetUnitsReader is a Reader for the GetUnits structure.

func (*GetUnitsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUnitsServiceUnavailable added in v0.43.0

type GetUnitsServiceUnavailable struct {
	Payload *models.APIError
}

GetUnitsServiceUnavailable handles this case with default header values.

The server is up, but overloaded with requests. Try again later.

func NewGetUnitsServiceUnavailable added in v0.43.0

func NewGetUnitsServiceUnavailable() *GetUnitsServiceUnavailable

NewGetUnitsServiceUnavailable creates a GetUnitsServiceUnavailable with default headers values

func (*GetUnitsServiceUnavailable) Error added in v0.43.0

func (*GetUnitsServiceUnavailable) GetPayload added in v0.43.0

func (o *GetUnitsServiceUnavailable) GetPayload() *models.APIError

type GetUnitsTooManyRequests added in v0.43.0

type GetUnitsTooManyRequests struct {
	Payload *models.APIError
}

GetUnitsTooManyRequests handles this case with default header values.

The request cannot be served due to the application’s rate limit

func NewGetUnitsTooManyRequests added in v0.43.0

func NewGetUnitsTooManyRequests() *GetUnitsTooManyRequests

NewGetUnitsTooManyRequests creates a GetUnitsTooManyRequests with default headers values

func (*GetUnitsTooManyRequests) Error added in v0.43.0

func (o *GetUnitsTooManyRequests) Error() string

func (*GetUnitsTooManyRequests) GetPayload added in v0.43.0

func (o *GetUnitsTooManyRequests) GetPayload() *models.APIError

type GetUnitsUnauthorized added in v0.43.0

type GetUnitsUnauthorized struct {
	Payload *models.APIError
}

GetUnitsUnauthorized handles this case with default header values.

Authentication credentials were missing or incorrect

func NewGetUnitsUnauthorized added in v0.43.0

func NewGetUnitsUnauthorized() *GetUnitsUnauthorized

NewGetUnitsUnauthorized creates a GetUnitsUnauthorized with default headers values

func (*GetUnitsUnauthorized) Error added in v0.43.0

func (o *GetUnitsUnauthorized) Error() string

func (*GetUnitsUnauthorized) GetPayload added in v0.43.0

func (o *GetUnitsUnauthorized) GetPayload() *models.APIError

type PatchUnitsIDBadRequest added in v0.43.0

type PatchUnitsIDBadRequest struct {
	Payload *models.APIError
}

PatchUnitsIDBadRequest handles this case with default header values.

Bad Request

func NewPatchUnitsIDBadRequest added in v0.43.0

func NewPatchUnitsIDBadRequest() *PatchUnitsIDBadRequest

NewPatchUnitsIDBadRequest creates a PatchUnitsIDBadRequest with default headers values

func (*PatchUnitsIDBadRequest) Error added in v0.43.0

func (o *PatchUnitsIDBadRequest) Error() string

func (*PatchUnitsIDBadRequest) GetPayload added in v0.43.0

func (o *PatchUnitsIDBadRequest) GetPayload() *models.APIError

type PatchUnitsIDConflict added in v0.43.0

type PatchUnitsIDConflict struct {
	Payload *models.APIError
}

PatchUnitsIDConflict handles this case with default header values.

Conflict

func NewPatchUnitsIDConflict added in v0.43.0

func NewPatchUnitsIDConflict() *PatchUnitsIDConflict

NewPatchUnitsIDConflict creates a PatchUnitsIDConflict with default headers values

func (*PatchUnitsIDConflict) Error added in v0.43.0

func (o *PatchUnitsIDConflict) Error() string

func (*PatchUnitsIDConflict) GetPayload added in v0.43.0

func (o *PatchUnitsIDConflict) GetPayload() *models.APIError

type PatchUnitsIDForbidden added in v0.43.0

type PatchUnitsIDForbidden struct {
	Payload *models.APIError
}

PatchUnitsIDForbidden handles this case with default header values.

Forbidden

func NewPatchUnitsIDForbidden added in v0.43.0

func NewPatchUnitsIDForbidden() *PatchUnitsIDForbidden

NewPatchUnitsIDForbidden creates a PatchUnitsIDForbidden with default headers values

func (*PatchUnitsIDForbidden) Error added in v0.43.0

func (o *PatchUnitsIDForbidden) Error() string

func (*PatchUnitsIDForbidden) GetPayload added in v0.43.0

func (o *PatchUnitsIDForbidden) GetPayload() *models.APIError

type PatchUnitsIDInternalServerError added in v0.43.0

type PatchUnitsIDInternalServerError struct {
	Payload *models.APIError
}

PatchUnitsIDInternalServerError handles this case with default header values.

Internal Server Error

func NewPatchUnitsIDInternalServerError added in v0.43.0

func NewPatchUnitsIDInternalServerError() *PatchUnitsIDInternalServerError

NewPatchUnitsIDInternalServerError creates a PatchUnitsIDInternalServerError with default headers values

func (*PatchUnitsIDInternalServerError) Error added in v0.43.0

func (*PatchUnitsIDInternalServerError) GetPayload added in v0.43.0

type PatchUnitsIDNotFound added in v0.43.0

type PatchUnitsIDNotFound struct {
	Payload *models.APIError
}

PatchUnitsIDNotFound handles this case with default header values.

Record not found

func NewPatchUnitsIDNotFound added in v0.43.0

func NewPatchUnitsIDNotFound() *PatchUnitsIDNotFound

NewPatchUnitsIDNotFound creates a PatchUnitsIDNotFound with default headers values

func (*PatchUnitsIDNotFound) Error added in v0.43.0

func (o *PatchUnitsIDNotFound) Error() string

func (*PatchUnitsIDNotFound) GetPayload added in v0.43.0

func (o *PatchUnitsIDNotFound) GetPayload() *models.APIError

type PatchUnitsIDOK

type PatchUnitsIDOK struct {
	Payload *models.OrganisationDetailsResponse
}

PatchUnitsIDOK handles this case with default header values.

Organisation details

func NewPatchUnitsIDOK

func NewPatchUnitsIDOK() *PatchUnitsIDOK

NewPatchUnitsIDOK creates a PatchUnitsIDOK with default headers values

func (*PatchUnitsIDOK) Error

func (o *PatchUnitsIDOK) Error() string

func (*PatchUnitsIDOK) GetPayload added in v0.43.0

type PatchUnitsIDParams

type PatchUnitsIDParams struct {

	/*OrganisationUpdateRequest*/
	OrganisationUpdateRequest *models.OrganisationUpdate
	/*ID
	  Organisation Id

	*/
	ID strfmt.UUID

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

PatchUnitsIDParams contains all the parameters to send to the API endpoint for the patch units ID operation typically these are written to a http.Request

func NewPatchUnitsIDParams

func NewPatchUnitsIDParams() *PatchUnitsIDParams

NewPatchUnitsIDParams creates a new PatchUnitsIDParams object with the default values initialized.

func NewPatchUnitsIDParamsWithContext

func NewPatchUnitsIDParamsWithContext(ctx context.Context) *PatchUnitsIDParams

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

func NewPatchUnitsIDParamsWithHTTPClient

func NewPatchUnitsIDParamsWithHTTPClient(client *http.Client) *PatchUnitsIDParams

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

func NewPatchUnitsIDParamsWithTimeout

func NewPatchUnitsIDParamsWithTimeout(timeout time.Duration) *PatchUnitsIDParams

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

func (*PatchUnitsIDParams) SetContext

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

SetContext adds the context to the patch units ID params

func (*PatchUnitsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch units ID params

func (*PatchUnitsIDParams) SetID

func (o *PatchUnitsIDParams) SetID(id strfmt.UUID)

SetID adds the id to the patch units ID params

func (*PatchUnitsIDParams) SetOrganisationUpdateRequest

func (o *PatchUnitsIDParams) SetOrganisationUpdateRequest(organisationUpdateRequest *models.OrganisationUpdate)

SetOrganisationUpdateRequest adds the organisationUpdateRequest to the patch units ID params

func (*PatchUnitsIDParams) SetTimeout

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

SetTimeout adds the timeout to the patch units ID params

func (*PatchUnitsIDParams) WithContext

WithContext adds the context to the patch units ID params

func (*PatchUnitsIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch units ID params

func (*PatchUnitsIDParams) WithID

WithID adds the id to the patch units ID params

func (*PatchUnitsIDParams) WithOrganisationUpdateRequest

func (o *PatchUnitsIDParams) WithOrganisationUpdateRequest(organisationUpdateRequest *models.OrganisationUpdate) *PatchUnitsIDParams

WithOrganisationUpdateRequest adds the organisationUpdateRequest to the patch units ID params

func (*PatchUnitsIDParams) WithTimeout

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

WithTimeout adds the timeout to the patch units ID params

func (*PatchUnitsIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PatchUnitsIDReader

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

PatchUnitsIDReader is a Reader for the PatchUnitsID structure.

func (*PatchUnitsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchUnitsIDServiceUnavailable added in v0.43.0

type PatchUnitsIDServiceUnavailable struct {
	Payload *models.APIError
}

PatchUnitsIDServiceUnavailable handles this case with default header values.

The server is up, but overloaded with requests. Try again later.

func NewPatchUnitsIDServiceUnavailable added in v0.43.0

func NewPatchUnitsIDServiceUnavailable() *PatchUnitsIDServiceUnavailable

NewPatchUnitsIDServiceUnavailable creates a PatchUnitsIDServiceUnavailable with default headers values

func (*PatchUnitsIDServiceUnavailable) Error added in v0.43.0

func (*PatchUnitsIDServiceUnavailable) GetPayload added in v0.43.0

type PatchUnitsIDTooManyRequests added in v0.43.0

type PatchUnitsIDTooManyRequests struct {
	Payload *models.APIError
}

PatchUnitsIDTooManyRequests handles this case with default header values.

The request cannot be served due to the application’s rate limit

func NewPatchUnitsIDTooManyRequests added in v0.43.0

func NewPatchUnitsIDTooManyRequests() *PatchUnitsIDTooManyRequests

NewPatchUnitsIDTooManyRequests creates a PatchUnitsIDTooManyRequests with default headers values

func (*PatchUnitsIDTooManyRequests) Error added in v0.43.0

func (*PatchUnitsIDTooManyRequests) GetPayload added in v0.43.0

func (o *PatchUnitsIDTooManyRequests) GetPayload() *models.APIError

type PatchUnitsIDUnauthorized added in v0.43.0

type PatchUnitsIDUnauthorized struct {
	Payload *models.APIError
}

PatchUnitsIDUnauthorized handles this case with default header values.

Authentication credentials were missing or incorrect

func NewPatchUnitsIDUnauthorized added in v0.43.0

func NewPatchUnitsIDUnauthorized() *PatchUnitsIDUnauthorized

NewPatchUnitsIDUnauthorized creates a PatchUnitsIDUnauthorized with default headers values

func (*PatchUnitsIDUnauthorized) Error added in v0.43.0

func (o *PatchUnitsIDUnauthorized) Error() string

func (*PatchUnitsIDUnauthorized) GetPayload added in v0.43.0

func (o *PatchUnitsIDUnauthorized) GetPayload() *models.APIError

type PostUnitsBadRequest added in v0.43.0

type PostUnitsBadRequest struct {
	Payload *models.APIError
}

PostUnitsBadRequest handles this case with default header values.

Bad Request

func NewPostUnitsBadRequest added in v0.43.0

func NewPostUnitsBadRequest() *PostUnitsBadRequest

NewPostUnitsBadRequest creates a PostUnitsBadRequest with default headers values

func (*PostUnitsBadRequest) Error added in v0.43.0

func (o *PostUnitsBadRequest) Error() string

func (*PostUnitsBadRequest) GetPayload added in v0.43.0

func (o *PostUnitsBadRequest) GetPayload() *models.APIError

type PostUnitsConflict added in v0.43.0

type PostUnitsConflict struct {
	Payload *models.APIError
}

PostUnitsConflict handles this case with default header values.

Conflict

func NewPostUnitsConflict added in v0.43.0

func NewPostUnitsConflict() *PostUnitsConflict

NewPostUnitsConflict creates a PostUnitsConflict with default headers values

func (*PostUnitsConflict) Error added in v0.43.0

func (o *PostUnitsConflict) Error() string

func (*PostUnitsConflict) GetPayload added in v0.43.0

func (o *PostUnitsConflict) GetPayload() *models.APIError

type PostUnitsCreated

type PostUnitsCreated struct {
	Payload *models.OrganisationCreationResponse
}

PostUnitsCreated handles this case with default header values.

Organisation creation response

func NewPostUnitsCreated

func NewPostUnitsCreated() *PostUnitsCreated

NewPostUnitsCreated creates a PostUnitsCreated with default headers values

func (*PostUnitsCreated) Error

func (o *PostUnitsCreated) Error() string

func (*PostUnitsCreated) GetPayload added in v0.43.0

type PostUnitsForbidden added in v0.43.0

type PostUnitsForbidden struct {
	Payload *models.APIError
}

PostUnitsForbidden handles this case with default header values.

Forbidden

func NewPostUnitsForbidden added in v0.43.0

func NewPostUnitsForbidden() *PostUnitsForbidden

NewPostUnitsForbidden creates a PostUnitsForbidden with default headers values

func (*PostUnitsForbidden) Error added in v0.43.0

func (o *PostUnitsForbidden) Error() string

func (*PostUnitsForbidden) GetPayload added in v0.43.0

func (o *PostUnitsForbidden) GetPayload() *models.APIError

type PostUnitsInternalServerError added in v0.43.0

type PostUnitsInternalServerError struct {
	Payload *models.APIError
}

PostUnitsInternalServerError handles this case with default header values.

Internal Server Error

func NewPostUnitsInternalServerError added in v0.43.0

func NewPostUnitsInternalServerError() *PostUnitsInternalServerError

NewPostUnitsInternalServerError creates a PostUnitsInternalServerError with default headers values

func (*PostUnitsInternalServerError) Error added in v0.43.0

func (*PostUnitsInternalServerError) GetPayload added in v0.43.0

func (o *PostUnitsInternalServerError) GetPayload() *models.APIError

type PostUnitsNotFound added in v0.43.0

type PostUnitsNotFound struct {
	Payload *models.APIError
}

PostUnitsNotFound handles this case with default header values.

Record not found

func NewPostUnitsNotFound added in v0.43.0

func NewPostUnitsNotFound() *PostUnitsNotFound

NewPostUnitsNotFound creates a PostUnitsNotFound with default headers values

func (*PostUnitsNotFound) Error added in v0.43.0

func (o *PostUnitsNotFound) Error() string

func (*PostUnitsNotFound) GetPayload added in v0.43.0

func (o *PostUnitsNotFound) GetPayload() *models.APIError

type PostUnitsParams

type PostUnitsParams struct {

	/*OrganisationCreationRequest*/
	OrganisationCreationRequest *models.OrganisationCreation

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

PostUnitsParams contains all the parameters to send to the API endpoint for the post units operation typically these are written to a http.Request

func NewPostUnitsParams

func NewPostUnitsParams() *PostUnitsParams

NewPostUnitsParams creates a new PostUnitsParams object with the default values initialized.

func NewPostUnitsParamsWithContext

func NewPostUnitsParamsWithContext(ctx context.Context) *PostUnitsParams

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

func NewPostUnitsParamsWithHTTPClient

func NewPostUnitsParamsWithHTTPClient(client *http.Client) *PostUnitsParams

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

func NewPostUnitsParamsWithTimeout

func NewPostUnitsParamsWithTimeout(timeout time.Duration) *PostUnitsParams

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

func (*PostUnitsParams) SetContext

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

SetContext adds the context to the post units params

func (*PostUnitsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post units params

func (*PostUnitsParams) SetOrganisationCreationRequest

func (o *PostUnitsParams) SetOrganisationCreationRequest(organisationCreationRequest *models.OrganisationCreation)

SetOrganisationCreationRequest adds the organisationCreationRequest to the post units params

func (*PostUnitsParams) SetTimeout

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

SetTimeout adds the timeout to the post units params

func (*PostUnitsParams) WithContext

func (o *PostUnitsParams) WithContext(ctx context.Context) *PostUnitsParams

WithContext adds the context to the post units params

func (*PostUnitsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post units params

func (*PostUnitsParams) WithOrganisationCreationRequest

func (o *PostUnitsParams) WithOrganisationCreationRequest(organisationCreationRequest *models.OrganisationCreation) *PostUnitsParams

WithOrganisationCreationRequest adds the organisationCreationRequest to the post units params

func (*PostUnitsParams) WithTimeout

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

WithTimeout adds the timeout to the post units params

func (*PostUnitsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostUnitsReader

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

PostUnitsReader is a Reader for the PostUnits structure.

func (*PostUnitsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostUnitsServiceUnavailable added in v0.43.0

type PostUnitsServiceUnavailable struct {
	Payload *models.APIError
}

PostUnitsServiceUnavailable handles this case with default header values.

The server is up, but overloaded with requests. Try again later.

func NewPostUnitsServiceUnavailable added in v0.43.0

func NewPostUnitsServiceUnavailable() *PostUnitsServiceUnavailable

NewPostUnitsServiceUnavailable creates a PostUnitsServiceUnavailable with default headers values

func (*PostUnitsServiceUnavailable) Error added in v0.43.0

func (*PostUnitsServiceUnavailable) GetPayload added in v0.43.0

func (o *PostUnitsServiceUnavailable) GetPayload() *models.APIError

type PostUnitsTooManyRequests added in v0.43.0

type PostUnitsTooManyRequests struct {
	Payload *models.APIError
}

PostUnitsTooManyRequests handles this case with default header values.

The request cannot be served due to the application’s rate limit

func NewPostUnitsTooManyRequests added in v0.43.0

func NewPostUnitsTooManyRequests() *PostUnitsTooManyRequests

NewPostUnitsTooManyRequests creates a PostUnitsTooManyRequests with default headers values

func (*PostUnitsTooManyRequests) Error added in v0.43.0

func (o *PostUnitsTooManyRequests) Error() string

func (*PostUnitsTooManyRequests) GetPayload added in v0.43.0

func (o *PostUnitsTooManyRequests) GetPayload() *models.APIError

type PostUnitsUnauthorized added in v0.43.0

type PostUnitsUnauthorized struct {
	Payload *models.APIError
}

PostUnitsUnauthorized handles this case with default header values.

Authentication credentials were missing or incorrect

func NewPostUnitsUnauthorized added in v0.43.0

func NewPostUnitsUnauthorized() *PostUnitsUnauthorized

NewPostUnitsUnauthorized creates a PostUnitsUnauthorized with default headers values

func (*PostUnitsUnauthorized) Error added in v0.43.0

func (o *PostUnitsUnauthorized) Error() string

func (*PostUnitsUnauthorized) GetPayload added in v0.43.0

func (o *PostUnitsUnauthorized) GetPayload() *models.APIError

Jump to

Keyboard shortcuts

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