account_api

package
v0.0.0-...-4043622 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 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 account api API

func New

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

New creates a new account api API client.

func (*Client) DeleteOrganisationAccountsID

func (a *Client) DeleteOrganisationAccountsID(params *DeleteOrganisationAccountsIDParams) (*DeleteOrganisationAccountsIDNoContent, error)

DeleteOrganisationAccountsID deletes organisation account

func (*Client) GetHealth

func (a *Client) GetHealth(params *GetHealthParams) (*GetHealthOK, error)

GetHealth gets health

func (*Client) GetOrganisationAccounts

func (a *Client) GetOrganisationAccounts(params *GetOrganisationAccountsParams) (*GetOrganisationAccountsOK, error)

GetOrganisationAccounts lists all organisation accounts

func (*Client) GetOrganisationAccountsID

func (a *Client) GetOrganisationAccountsID(params *GetOrganisationAccountsIDParams) (*GetOrganisationAccountsIDOK, error)

GetOrganisationAccountsID fetches organisation account

func (*Client) PostOrganisationAccounts

func (a *Client) PostOrganisationAccounts(params *PostOrganisationAccountsParams) (*PostOrganisationAccountsCreated, error)

PostOrganisationAccounts creates an account

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type DeleteOrganisationAccountsIDBadRequest

type DeleteOrganisationAccountsIDBadRequest struct {
	Payload *models.APIError
}

DeleteOrganisationAccountsIDBadRequest handles this case with default header values.

Bad Request

func NewDeleteOrganisationAccountsIDBadRequest

func NewDeleteOrganisationAccountsIDBadRequest() *DeleteOrganisationAccountsIDBadRequest

NewDeleteOrganisationAccountsIDBadRequest creates a DeleteOrganisationAccountsIDBadRequest with default headers values

func (*DeleteOrganisationAccountsIDBadRequest) Error

type DeleteOrganisationAccountsIDForbidden

type DeleteOrganisationAccountsIDForbidden struct {
	Payload *models.APIError
}

DeleteOrganisationAccountsIDForbidden handles this case with default header values.

Forbidden

func NewDeleteOrganisationAccountsIDForbidden

func NewDeleteOrganisationAccountsIDForbidden() *DeleteOrganisationAccountsIDForbidden

NewDeleteOrganisationAccountsIDForbidden creates a DeleteOrganisationAccountsIDForbidden with default headers values

func (*DeleteOrganisationAccountsIDForbidden) Error

type DeleteOrganisationAccountsIDInternalServerError

type DeleteOrganisationAccountsIDInternalServerError struct {
	Payload *models.APIError
}

DeleteOrganisationAccountsIDInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteOrganisationAccountsIDInternalServerError

func NewDeleteOrganisationAccountsIDInternalServerError() *DeleteOrganisationAccountsIDInternalServerError

NewDeleteOrganisationAccountsIDInternalServerError creates a DeleteOrganisationAccountsIDInternalServerError with default headers values

func (*DeleteOrganisationAccountsIDInternalServerError) Error

type DeleteOrganisationAccountsIDNoContent

type DeleteOrganisationAccountsIDNoContent struct {
}

DeleteOrganisationAccountsIDNoContent handles this case with default header values.

Account deleted

func NewDeleteOrganisationAccountsIDNoContent

func NewDeleteOrganisationAccountsIDNoContent() *DeleteOrganisationAccountsIDNoContent

NewDeleteOrganisationAccountsIDNoContent creates a DeleteOrganisationAccountsIDNoContent with default headers values

func (*DeleteOrganisationAccountsIDNoContent) Error

type DeleteOrganisationAccountsIDNotFound

type DeleteOrganisationAccountsIDNotFound struct {
	Payload *models.APIError
}

DeleteOrganisationAccountsIDNotFound handles this case with default header values.

Not Found

func NewDeleteOrganisationAccountsIDNotFound

func NewDeleteOrganisationAccountsIDNotFound() *DeleteOrganisationAccountsIDNotFound

NewDeleteOrganisationAccountsIDNotFound creates a DeleteOrganisationAccountsIDNotFound with default headers values

func (*DeleteOrganisationAccountsIDNotFound) Error

type DeleteOrganisationAccountsIDParams

type DeleteOrganisationAccountsIDParams struct {

	/*ID
	  Account Id

	*/
	ID strfmt.UUID
	/*Version
	  Version

	*/
	Version int64

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

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

func NewDeleteOrganisationAccountsIDParams

func NewDeleteOrganisationAccountsIDParams() *DeleteOrganisationAccountsIDParams

NewDeleteOrganisationAccountsIDParams creates a new DeleteOrganisationAccountsIDParams object with the default values initialized.

func NewDeleteOrganisationAccountsIDParamsWithContext

func NewDeleteOrganisationAccountsIDParamsWithContext(ctx context.Context) *DeleteOrganisationAccountsIDParams

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

func NewDeleteOrganisationAccountsIDParamsWithHTTPClient

func NewDeleteOrganisationAccountsIDParamsWithHTTPClient(client *http.Client) *DeleteOrganisationAccountsIDParams

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

func NewDeleteOrganisationAccountsIDParamsWithTimeout

func NewDeleteOrganisationAccountsIDParamsWithTimeout(timeout time.Duration) *DeleteOrganisationAccountsIDParams

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

func (*DeleteOrganisationAccountsIDParams) SetContext

SetContext adds the context to the delete organisation accounts ID params

func (*DeleteOrganisationAccountsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete organisation accounts ID params

func (*DeleteOrganisationAccountsIDParams) SetID

SetID adds the id to the delete organisation accounts ID params

func (*DeleteOrganisationAccountsIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete organisation accounts ID params

func (*DeleteOrganisationAccountsIDParams) SetVersion

func (o *DeleteOrganisationAccountsIDParams) SetVersion(version int64)

SetVersion adds the version to the delete organisation accounts ID params

func (*DeleteOrganisationAccountsIDParams) WithContext

WithContext adds the context to the delete organisation accounts ID params

func (*DeleteOrganisationAccountsIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete organisation accounts ID params

func (*DeleteOrganisationAccountsIDParams) WithID

WithID adds the id to the delete organisation accounts ID params

func (*DeleteOrganisationAccountsIDParams) WithTimeout

WithTimeout adds the timeout to the delete organisation accounts ID params

func (*DeleteOrganisationAccountsIDParams) WithVersion

WithVersion adds the version to the delete organisation accounts ID params

func (*DeleteOrganisationAccountsIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteOrganisationAccountsIDReader

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

DeleteOrganisationAccountsIDReader is a Reader for the DeleteOrganisationAccountsID structure.

func (*DeleteOrganisationAccountsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetHealthInternalServerError

type GetHealthInternalServerError struct {
	Payload *models.APIError
}

GetHealthInternalServerError handles this case with default header values.

Internal Server Error

func NewGetHealthInternalServerError

func NewGetHealthInternalServerError() *GetHealthInternalServerError

NewGetHealthInternalServerError creates a GetHealthInternalServerError with default headers values

func (*GetHealthInternalServerError) Error

type GetHealthOK

type GetHealthOK struct {
	Payload interface{}
}

GetHealthOK handles this case with default header values.

healthy

func NewGetHealthOK

func NewGetHealthOK() *GetHealthOK

NewGetHealthOK creates a GetHealthOK with default headers values

func (*GetHealthOK) Error

func (o *GetHealthOK) Error() string

type GetHealthParams

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

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

func NewGetHealthParams

func NewGetHealthParams() *GetHealthParams

NewGetHealthParams creates a new GetHealthParams object with the default values initialized.

func NewGetHealthParamsWithContext

func NewGetHealthParamsWithContext(ctx context.Context) *GetHealthParams

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

func NewGetHealthParamsWithHTTPClient

func NewGetHealthParamsWithHTTPClient(client *http.Client) *GetHealthParams

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

func NewGetHealthParamsWithTimeout

func NewGetHealthParamsWithTimeout(timeout time.Duration) *GetHealthParams

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

func (*GetHealthParams) SetContext

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

SetContext adds the context to the get health params

func (*GetHealthParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get health params

func (*GetHealthParams) SetTimeout

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

SetTimeout adds the timeout to the get health params

func (*GetHealthParams) WithContext

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

WithContext adds the context to the get health params

func (*GetHealthParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get health params

func (*GetHealthParams) WithTimeout

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

WithTimeout adds the timeout to the get health params

func (*GetHealthParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetHealthReader

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

GetHealthReader is a Reader for the GetHealth structure.

func (*GetHealthReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrganisationAccountsBadRequest

type GetOrganisationAccountsBadRequest struct {
	Payload *models.APIError
}

GetOrganisationAccountsBadRequest handles this case with default header values.

Bad Request

func NewGetOrganisationAccountsBadRequest

func NewGetOrganisationAccountsBadRequest() *GetOrganisationAccountsBadRequest

NewGetOrganisationAccountsBadRequest creates a GetOrganisationAccountsBadRequest with default headers values

func (*GetOrganisationAccountsBadRequest) Error

type GetOrganisationAccountsForbidden

type GetOrganisationAccountsForbidden struct {
	Payload *models.APIError
}

GetOrganisationAccountsForbidden handles this case with default header values.

Forbidden

func NewGetOrganisationAccountsForbidden

func NewGetOrganisationAccountsForbidden() *GetOrganisationAccountsForbidden

NewGetOrganisationAccountsForbidden creates a GetOrganisationAccountsForbidden with default headers values

func (*GetOrganisationAccountsForbidden) Error

type GetOrganisationAccountsIDBadRequest

type GetOrganisationAccountsIDBadRequest struct {
	Payload *models.APIError
}

GetOrganisationAccountsIDBadRequest handles this case with default header values.

Bad Request

func NewGetOrganisationAccountsIDBadRequest

func NewGetOrganisationAccountsIDBadRequest() *GetOrganisationAccountsIDBadRequest

NewGetOrganisationAccountsIDBadRequest creates a GetOrganisationAccountsIDBadRequest with default headers values

func (*GetOrganisationAccountsIDBadRequest) Error

type GetOrganisationAccountsIDForbidden

type GetOrganisationAccountsIDForbidden struct {
	Payload *models.APIError
}

GetOrganisationAccountsIDForbidden handles this case with default header values.

Forbidden

func NewGetOrganisationAccountsIDForbidden

func NewGetOrganisationAccountsIDForbidden() *GetOrganisationAccountsIDForbidden

NewGetOrganisationAccountsIDForbidden creates a GetOrganisationAccountsIDForbidden with default headers values

func (*GetOrganisationAccountsIDForbidden) Error

type GetOrganisationAccountsIDInternalServerError

type GetOrganisationAccountsIDInternalServerError struct {
	Payload *models.APIError
}

GetOrganisationAccountsIDInternalServerError handles this case with default header values.

Internal Server Error

func NewGetOrganisationAccountsIDInternalServerError

func NewGetOrganisationAccountsIDInternalServerError() *GetOrganisationAccountsIDInternalServerError

NewGetOrganisationAccountsIDInternalServerError creates a GetOrganisationAccountsIDInternalServerError with default headers values

func (*GetOrganisationAccountsIDInternalServerError) Error

type GetOrganisationAccountsIDNotFound

type GetOrganisationAccountsIDNotFound struct {
	Payload *models.APIError
}

GetOrganisationAccountsIDNotFound handles this case with default header values.

Not Found

func NewGetOrganisationAccountsIDNotFound

func NewGetOrganisationAccountsIDNotFound() *GetOrganisationAccountsIDNotFound

NewGetOrganisationAccountsIDNotFound creates a GetOrganisationAccountsIDNotFound with default headers values

func (*GetOrganisationAccountsIDNotFound) Error

type GetOrganisationAccountsIDOK

type GetOrganisationAccountsIDOK struct {
	Payload *models.AccountDetailsResponse
}

GetOrganisationAccountsIDOK handles this case with default header values.

Accounts details

func NewGetOrganisationAccountsIDOK

func NewGetOrganisationAccountsIDOK() *GetOrganisationAccountsIDOK

NewGetOrganisationAccountsIDOK creates a GetOrganisationAccountsIDOK with default headers values

func (*GetOrganisationAccountsIDOK) Error

type GetOrganisationAccountsIDParams

type GetOrganisationAccountsIDParams struct {

	/*ID
	  Account Id

	*/
	ID strfmt.UUID

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

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

func NewGetOrganisationAccountsIDParams

func NewGetOrganisationAccountsIDParams() *GetOrganisationAccountsIDParams

NewGetOrganisationAccountsIDParams creates a new GetOrganisationAccountsIDParams object with the default values initialized.

func NewGetOrganisationAccountsIDParamsWithContext

func NewGetOrganisationAccountsIDParamsWithContext(ctx context.Context) *GetOrganisationAccountsIDParams

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

func NewGetOrganisationAccountsIDParamsWithHTTPClient

func NewGetOrganisationAccountsIDParamsWithHTTPClient(client *http.Client) *GetOrganisationAccountsIDParams

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

func NewGetOrganisationAccountsIDParamsWithTimeout

func NewGetOrganisationAccountsIDParamsWithTimeout(timeout time.Duration) *GetOrganisationAccountsIDParams

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

func (*GetOrganisationAccountsIDParams) SetContext

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

SetContext adds the context to the get organisation accounts ID params

func (*GetOrganisationAccountsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get organisation accounts ID params

func (*GetOrganisationAccountsIDParams) SetID

SetID adds the id to the get organisation accounts ID params

func (*GetOrganisationAccountsIDParams) SetTimeout

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

SetTimeout adds the timeout to the get organisation accounts ID params

func (*GetOrganisationAccountsIDParams) WithContext

WithContext adds the context to the get organisation accounts ID params

func (*GetOrganisationAccountsIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get organisation accounts ID params

func (*GetOrganisationAccountsIDParams) WithID

WithID adds the id to the get organisation accounts ID params

func (*GetOrganisationAccountsIDParams) WithTimeout

WithTimeout adds the timeout to the get organisation accounts ID params

func (*GetOrganisationAccountsIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOrganisationAccountsIDReader

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

GetOrganisationAccountsIDReader is a Reader for the GetOrganisationAccountsID structure.

func (*GetOrganisationAccountsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrganisationAccountsInternalServerError

type GetOrganisationAccountsInternalServerError struct {
	Payload *models.APIError
}

GetOrganisationAccountsInternalServerError handles this case with default header values.

Internal Server Error

func NewGetOrganisationAccountsInternalServerError

func NewGetOrganisationAccountsInternalServerError() *GetOrganisationAccountsInternalServerError

NewGetOrganisationAccountsInternalServerError creates a GetOrganisationAccountsInternalServerError with default headers values

func (*GetOrganisationAccountsInternalServerError) Error

type GetOrganisationAccountsOK

type GetOrganisationAccountsOK struct {
	Payload *models.AccountDetailsListResponse
}

GetOrganisationAccountsOK handles this case with default header values.

List of accounts

func NewGetOrganisationAccountsOK

func NewGetOrganisationAccountsOK() *GetOrganisationAccountsOK

NewGetOrganisationAccountsOK creates a GetOrganisationAccountsOK with default headers values

func (*GetOrganisationAccountsOK) Error

func (o *GetOrganisationAccountsOK) Error() string

type GetOrganisationAccountsParams

type GetOrganisationAccountsParams struct {

	/*FilterOrganisationID
	  Organisation id

	*/
	FilterOrganisationID []strfmt.UUID

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

GetOrganisationAccountsParams contains all the parameters to send to the API endpoint for the get organisation accounts operation typically these are written to a http.Request

func NewGetOrganisationAccountsParams

func NewGetOrganisationAccountsParams() *GetOrganisationAccountsParams

NewGetOrganisationAccountsParams creates a new GetOrganisationAccountsParams object with the default values initialized.

func NewGetOrganisationAccountsParamsWithContext

func NewGetOrganisationAccountsParamsWithContext(ctx context.Context) *GetOrganisationAccountsParams

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

func NewGetOrganisationAccountsParamsWithHTTPClient

func NewGetOrganisationAccountsParamsWithHTTPClient(client *http.Client) *GetOrganisationAccountsParams

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

func NewGetOrganisationAccountsParamsWithTimeout

func NewGetOrganisationAccountsParamsWithTimeout(timeout time.Duration) *GetOrganisationAccountsParams

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

func (*GetOrganisationAccountsParams) SetContext

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

SetContext adds the context to the get organisation accounts params

func (*GetOrganisationAccountsParams) SetFilterOrganisationID

func (o *GetOrganisationAccountsParams) SetFilterOrganisationID(filterOrganisationID []strfmt.UUID)

SetFilterOrganisationID adds the filterOrganisationId to the get organisation accounts params

func (*GetOrganisationAccountsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get organisation accounts params

func (*GetOrganisationAccountsParams) SetTimeout

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

SetTimeout adds the timeout to the get organisation accounts params

func (*GetOrganisationAccountsParams) WithContext

WithContext adds the context to the get organisation accounts params

func (*GetOrganisationAccountsParams) WithFilterOrganisationID

func (o *GetOrganisationAccountsParams) WithFilterOrganisationID(filterOrganisationID []strfmt.UUID) *GetOrganisationAccountsParams

WithFilterOrganisationID adds the filterOrganisationID to the get organisation accounts params

func (*GetOrganisationAccountsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get organisation accounts params

func (*GetOrganisationAccountsParams) WithTimeout

WithTimeout adds the timeout to the get organisation accounts params

func (*GetOrganisationAccountsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOrganisationAccountsReader

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

GetOrganisationAccountsReader is a Reader for the GetOrganisationAccounts structure.

func (*GetOrganisationAccountsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostOrganisationAccountsBadRequest

type PostOrganisationAccountsBadRequest struct {
	Payload *models.APIError
}

PostOrganisationAccountsBadRequest handles this case with default header values.

Bad Request

func NewPostOrganisationAccountsBadRequest

func NewPostOrganisationAccountsBadRequest() *PostOrganisationAccountsBadRequest

NewPostOrganisationAccountsBadRequest creates a PostOrganisationAccountsBadRequest with default headers values

func (*PostOrganisationAccountsBadRequest) Error

type PostOrganisationAccountsConflict

type PostOrganisationAccountsConflict struct {
	Payload *models.APIError
}

PostOrganisationAccountsConflict handles this case with default header values.

Conflict

func NewPostOrganisationAccountsConflict

func NewPostOrganisationAccountsConflict() *PostOrganisationAccountsConflict

NewPostOrganisationAccountsConflict creates a PostOrganisationAccountsConflict with default headers values

func (*PostOrganisationAccountsConflict) Error

type PostOrganisationAccountsCreated

type PostOrganisationAccountsCreated struct {
	Payload *models.AccountCreationResponse
}

PostOrganisationAccountsCreated handles this case with default header values.

creation response

func NewPostOrganisationAccountsCreated

func NewPostOrganisationAccountsCreated() *PostOrganisationAccountsCreated

NewPostOrganisationAccountsCreated creates a PostOrganisationAccountsCreated with default headers values

func (*PostOrganisationAccountsCreated) Error

type PostOrganisationAccountsForbidden

type PostOrganisationAccountsForbidden struct {
	Payload *models.APIError
}

PostOrganisationAccountsForbidden handles this case with default header values.

Forbidden

func NewPostOrganisationAccountsForbidden

func NewPostOrganisationAccountsForbidden() *PostOrganisationAccountsForbidden

NewPostOrganisationAccountsForbidden creates a PostOrganisationAccountsForbidden with default headers values

func (*PostOrganisationAccountsForbidden) Error

type PostOrganisationAccountsInternalServerError

type PostOrganisationAccountsInternalServerError struct {
	Payload *models.APIError
}

PostOrganisationAccountsInternalServerError handles this case with default header values.

Internal Server Error

func NewPostOrganisationAccountsInternalServerError

func NewPostOrganisationAccountsInternalServerError() *PostOrganisationAccountsInternalServerError

NewPostOrganisationAccountsInternalServerError creates a PostOrganisationAccountsInternalServerError with default headers values

func (*PostOrganisationAccountsInternalServerError) Error

type PostOrganisationAccountsParams

type PostOrganisationAccountsParams struct {

	/*CreationRequest*/
	CreationRequest *models.AccountCreation

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

PostOrganisationAccountsParams contains all the parameters to send to the API endpoint for the post organisation accounts operation typically these are written to a http.Request

func NewPostOrganisationAccountsParams

func NewPostOrganisationAccountsParams() *PostOrganisationAccountsParams

NewPostOrganisationAccountsParams creates a new PostOrganisationAccountsParams object with the default values initialized.

func NewPostOrganisationAccountsParamsWithContext

func NewPostOrganisationAccountsParamsWithContext(ctx context.Context) *PostOrganisationAccountsParams

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

func NewPostOrganisationAccountsParamsWithHTTPClient

func NewPostOrganisationAccountsParamsWithHTTPClient(client *http.Client) *PostOrganisationAccountsParams

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

func NewPostOrganisationAccountsParamsWithTimeout

func NewPostOrganisationAccountsParamsWithTimeout(timeout time.Duration) *PostOrganisationAccountsParams

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

func (*PostOrganisationAccountsParams) SetContext

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

SetContext adds the context to the post organisation accounts params

func (*PostOrganisationAccountsParams) SetCreationRequest

func (o *PostOrganisationAccountsParams) SetCreationRequest(creationRequest *models.AccountCreation)

SetCreationRequest adds the creationRequest to the post organisation accounts params

func (*PostOrganisationAccountsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post organisation accounts params

func (*PostOrganisationAccountsParams) SetTimeout

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

SetTimeout adds the timeout to the post organisation accounts params

func (*PostOrganisationAccountsParams) WithContext

WithContext adds the context to the post organisation accounts params

func (*PostOrganisationAccountsParams) WithCreationRequest

func (o *PostOrganisationAccountsParams) WithCreationRequest(creationRequest *models.AccountCreation) *PostOrganisationAccountsParams

WithCreationRequest adds the creationRequest to the post organisation accounts params

func (*PostOrganisationAccountsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post organisation accounts params

func (*PostOrganisationAccountsParams) WithTimeout

WithTimeout adds the timeout to the post organisation accounts params

func (*PostOrganisationAccountsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostOrganisationAccountsReader

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

PostOrganisationAccountsReader is a Reader for the PostOrganisationAccounts structure.

func (*PostOrganisationAccountsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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