Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteOrganisationAccountsID(params *DeleteOrganisationAccountsIDParams) (*DeleteOrganisationAccountsIDNoContent, error)
- func (a *Client) GetHealth(params *GetHealthParams) (*GetHealthOK, error)
- func (a *Client) GetOrganisationAccounts(params *GetOrganisationAccountsParams) (*GetOrganisationAccountsOK, error)
- func (a *Client) GetOrganisationAccountsID(params *GetOrganisationAccountsIDParams) (*GetOrganisationAccountsIDOK, error)
- func (a *Client) PostOrganisationAccounts(params *PostOrganisationAccountsParams) (*PostOrganisationAccountsCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteOrganisationAccountsIDBadRequest
- type DeleteOrganisationAccountsIDForbidden
- type DeleteOrganisationAccountsIDInternalServerError
- type DeleteOrganisationAccountsIDNoContent
- type DeleteOrganisationAccountsIDNotFound
- type DeleteOrganisationAccountsIDParams
- func NewDeleteOrganisationAccountsIDParams() *DeleteOrganisationAccountsIDParams
- func NewDeleteOrganisationAccountsIDParamsWithContext(ctx context.Context) *DeleteOrganisationAccountsIDParams
- func NewDeleteOrganisationAccountsIDParamsWithHTTPClient(client *http.Client) *DeleteOrganisationAccountsIDParams
- func NewDeleteOrganisationAccountsIDParamsWithTimeout(timeout time.Duration) *DeleteOrganisationAccountsIDParams
- func (o *DeleteOrganisationAccountsIDParams) SetContext(ctx context.Context)
- func (o *DeleteOrganisationAccountsIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteOrganisationAccountsIDParams) SetID(id strfmt.UUID)
- func (o *DeleteOrganisationAccountsIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteOrganisationAccountsIDParams) SetVersion(version int64)
- func (o *DeleteOrganisationAccountsIDParams) WithContext(ctx context.Context) *DeleteOrganisationAccountsIDParams
- func (o *DeleteOrganisationAccountsIDParams) WithHTTPClient(client *http.Client) *DeleteOrganisationAccountsIDParams
- func (o *DeleteOrganisationAccountsIDParams) WithID(id strfmt.UUID) *DeleteOrganisationAccountsIDParams
- func (o *DeleteOrganisationAccountsIDParams) WithTimeout(timeout time.Duration) *DeleteOrganisationAccountsIDParams
- func (o *DeleteOrganisationAccountsIDParams) WithVersion(version int64) *DeleteOrganisationAccountsIDParams
- func (o *DeleteOrganisationAccountsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteOrganisationAccountsIDReader
- type GetHealthInternalServerError
- type GetHealthOK
- type GetHealthParams
- func (o *GetHealthParams) SetContext(ctx context.Context)
- func (o *GetHealthParams) SetHTTPClient(client *http.Client)
- func (o *GetHealthParams) SetTimeout(timeout time.Duration)
- func (o *GetHealthParams) WithContext(ctx context.Context) *GetHealthParams
- func (o *GetHealthParams) WithHTTPClient(client *http.Client) *GetHealthParams
- func (o *GetHealthParams) WithTimeout(timeout time.Duration) *GetHealthParams
- func (o *GetHealthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHealthReader
- type GetOrganisationAccountsBadRequest
- type GetOrganisationAccountsForbidden
- type GetOrganisationAccountsIDBadRequest
- type GetOrganisationAccountsIDForbidden
- type GetOrganisationAccountsIDInternalServerError
- type GetOrganisationAccountsIDNotFound
- type GetOrganisationAccountsIDOK
- type GetOrganisationAccountsIDParams
- func NewGetOrganisationAccountsIDParams() *GetOrganisationAccountsIDParams
- func NewGetOrganisationAccountsIDParamsWithContext(ctx context.Context) *GetOrganisationAccountsIDParams
- func NewGetOrganisationAccountsIDParamsWithHTTPClient(client *http.Client) *GetOrganisationAccountsIDParams
- func NewGetOrganisationAccountsIDParamsWithTimeout(timeout time.Duration) *GetOrganisationAccountsIDParams
- func (o *GetOrganisationAccountsIDParams) SetContext(ctx context.Context)
- func (o *GetOrganisationAccountsIDParams) SetHTTPClient(client *http.Client)
- func (o *GetOrganisationAccountsIDParams) SetID(id strfmt.UUID)
- func (o *GetOrganisationAccountsIDParams) SetTimeout(timeout time.Duration)
- func (o *GetOrganisationAccountsIDParams) WithContext(ctx context.Context) *GetOrganisationAccountsIDParams
- func (o *GetOrganisationAccountsIDParams) WithHTTPClient(client *http.Client) *GetOrganisationAccountsIDParams
- func (o *GetOrganisationAccountsIDParams) WithID(id strfmt.UUID) *GetOrganisationAccountsIDParams
- func (o *GetOrganisationAccountsIDParams) WithTimeout(timeout time.Duration) *GetOrganisationAccountsIDParams
- func (o *GetOrganisationAccountsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganisationAccountsIDReader
- type GetOrganisationAccountsInternalServerError
- type GetOrganisationAccountsOK
- type GetOrganisationAccountsParams
- func NewGetOrganisationAccountsParams() *GetOrganisationAccountsParams
- func NewGetOrganisationAccountsParamsWithContext(ctx context.Context) *GetOrganisationAccountsParams
- func NewGetOrganisationAccountsParamsWithHTTPClient(client *http.Client) *GetOrganisationAccountsParams
- func NewGetOrganisationAccountsParamsWithTimeout(timeout time.Duration) *GetOrganisationAccountsParams
- func (o *GetOrganisationAccountsParams) SetContext(ctx context.Context)
- func (o *GetOrganisationAccountsParams) SetFilterOrganisationID(filterOrganisationID []strfmt.UUID)
- func (o *GetOrganisationAccountsParams) SetHTTPClient(client *http.Client)
- func (o *GetOrganisationAccountsParams) SetTimeout(timeout time.Duration)
- func (o *GetOrganisationAccountsParams) WithContext(ctx context.Context) *GetOrganisationAccountsParams
- func (o *GetOrganisationAccountsParams) WithFilterOrganisationID(filterOrganisationID []strfmt.UUID) *GetOrganisationAccountsParams
- func (o *GetOrganisationAccountsParams) WithHTTPClient(client *http.Client) *GetOrganisationAccountsParams
- func (o *GetOrganisationAccountsParams) WithTimeout(timeout time.Duration) *GetOrganisationAccountsParams
- func (o *GetOrganisationAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganisationAccountsReader
- type PostOrganisationAccountsBadRequest
- type PostOrganisationAccountsConflict
- type PostOrganisationAccountsCreated
- type PostOrganisationAccountsForbidden
- type PostOrganisationAccountsInternalServerError
- type PostOrganisationAccountsParams
- func NewPostOrganisationAccountsParams() *PostOrganisationAccountsParams
- func NewPostOrganisationAccountsParamsWithContext(ctx context.Context) *PostOrganisationAccountsParams
- func NewPostOrganisationAccountsParamsWithHTTPClient(client *http.Client) *PostOrganisationAccountsParams
- func NewPostOrganisationAccountsParamsWithTimeout(timeout time.Duration) *PostOrganisationAccountsParams
- func (o *PostOrganisationAccountsParams) SetContext(ctx context.Context)
- func (o *PostOrganisationAccountsParams) SetCreationRequest(creationRequest *models.AccountCreation)
- func (o *PostOrganisationAccountsParams) SetHTTPClient(client *http.Client)
- func (o *PostOrganisationAccountsParams) SetTimeout(timeout time.Duration)
- func (o *PostOrganisationAccountsParams) WithContext(ctx context.Context) *PostOrganisationAccountsParams
- func (o *PostOrganisationAccountsParams) WithCreationRequest(creationRequest *models.AccountCreation) *PostOrganisationAccountsParams
- func (o *PostOrganisationAccountsParams) WithHTTPClient(client *http.Client) *PostOrganisationAccountsParams
- func (o *PostOrganisationAccountsParams) WithTimeout(timeout time.Duration) *PostOrganisationAccountsParams
- func (o *PostOrganisationAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostOrganisationAccountsReader
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 ¶
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 ¶
func (o *DeleteOrganisationAccountsIDBadRequest) Error() string
type DeleteOrganisationAccountsIDForbidden ¶
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 ¶
func (o *DeleteOrganisationAccountsIDForbidden) Error() string
type DeleteOrganisationAccountsIDInternalServerError ¶
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 ¶
func (o *DeleteOrganisationAccountsIDInternalServerError) Error() string
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 ¶
func (o *DeleteOrganisationAccountsIDNoContent) Error() string
type DeleteOrganisationAccountsIDNotFound ¶
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 ¶
func (o *DeleteOrganisationAccountsIDNotFound) Error() string
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 ¶
func (o *DeleteOrganisationAccountsIDParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteOrganisationAccountsIDParams) SetID(id strfmt.UUID)
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 ¶
func (o *DeleteOrganisationAccountsIDParams) WithContext(ctx context.Context) *DeleteOrganisationAccountsIDParams
WithContext adds the context to the delete organisation accounts ID params
func (*DeleteOrganisationAccountsIDParams) WithHTTPClient ¶
func (o *DeleteOrganisationAccountsIDParams) WithHTTPClient(client *http.Client) *DeleteOrganisationAccountsIDParams
WithHTTPClient adds the HTTPClient to the delete organisation accounts ID params
func (*DeleteOrganisationAccountsIDParams) WithID ¶
func (o *DeleteOrganisationAccountsIDParams) WithID(id strfmt.UUID) *DeleteOrganisationAccountsIDParams
WithID adds the id to the delete organisation accounts ID params
func (*DeleteOrganisationAccountsIDParams) WithTimeout ¶
func (o *DeleteOrganisationAccountsIDParams) WithTimeout(timeout time.Duration) *DeleteOrganisationAccountsIDParams
WithTimeout adds the timeout to the delete organisation accounts ID params
func (*DeleteOrganisationAccountsIDParams) WithVersion ¶
func (o *DeleteOrganisationAccountsIDParams) WithVersion(version int64) *DeleteOrganisationAccountsIDParams
WithVersion adds the version to the delete organisation accounts ID params
func (*DeleteOrganisationAccountsIDParams) WriteToRequest ¶
func (o *DeleteOrganisationAccountsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetHealthInternalServerError) Error() string
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 ¶
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 ¶
func (o *GetOrganisationAccountsBadRequest) Error() string
type GetOrganisationAccountsForbidden ¶
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 ¶
func (o *GetOrganisationAccountsForbidden) Error() string
type GetOrganisationAccountsIDBadRequest ¶
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 ¶
func (o *GetOrganisationAccountsIDBadRequest) Error() string
type GetOrganisationAccountsIDForbidden ¶
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 ¶
func (o *GetOrganisationAccountsIDForbidden) Error() string
type GetOrganisationAccountsIDInternalServerError ¶
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 ¶
func (o *GetOrganisationAccountsIDInternalServerError) Error() string
type GetOrganisationAccountsIDNotFound ¶
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 ¶
func (o *GetOrganisationAccountsIDNotFound) Error() string
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 ¶
func (o *GetOrganisationAccountsIDOK) Error() string
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 ¶
func (o *GetOrganisationAccountsIDParams) SetID(id strfmt.UUID)
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 ¶
func (o *GetOrganisationAccountsIDParams) WithContext(ctx context.Context) *GetOrganisationAccountsIDParams
WithContext adds the context to the get organisation accounts ID params
func (*GetOrganisationAccountsIDParams) WithHTTPClient ¶
func (o *GetOrganisationAccountsIDParams) WithHTTPClient(client *http.Client) *GetOrganisationAccountsIDParams
WithHTTPClient adds the HTTPClient to the get organisation accounts ID params
func (*GetOrganisationAccountsIDParams) WithID ¶
func (o *GetOrganisationAccountsIDParams) WithID(id strfmt.UUID) *GetOrganisationAccountsIDParams
WithID adds the id to the get organisation accounts ID params
func (*GetOrganisationAccountsIDParams) WithTimeout ¶
func (o *GetOrganisationAccountsIDParams) WithTimeout(timeout time.Duration) *GetOrganisationAccountsIDParams
WithTimeout adds the timeout to the get organisation accounts ID params
func (*GetOrganisationAccountsIDParams) WriteToRequest ¶
func (o *GetOrganisationAccountsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetOrganisationAccountsInternalServerError) Error() string
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 ¶
func (o *GetOrganisationAccountsParams) WithContext(ctx context.Context) *GetOrganisationAccountsParams
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 ¶
func (o *GetOrganisationAccountsParams) WithHTTPClient(client *http.Client) *GetOrganisationAccountsParams
WithHTTPClient adds the HTTPClient to the get organisation accounts params
func (*GetOrganisationAccountsParams) WithTimeout ¶
func (o *GetOrganisationAccountsParams) WithTimeout(timeout time.Duration) *GetOrganisationAccountsParams
WithTimeout adds the timeout to the get organisation accounts params
func (*GetOrganisationAccountsParams) WriteToRequest ¶
func (o *GetOrganisationAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *PostOrganisationAccountsBadRequest) Error() string
type PostOrganisationAccountsConflict ¶
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 ¶
func (o *PostOrganisationAccountsConflict) Error() string
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 ¶
func (o *PostOrganisationAccountsCreated) Error() string
type PostOrganisationAccountsForbidden ¶
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 ¶
func (o *PostOrganisationAccountsForbidden) Error() string
type PostOrganisationAccountsInternalServerError ¶
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 ¶
func (o *PostOrganisationAccountsInternalServerError) Error() string
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 ¶
func (o *PostOrganisationAccountsParams) WithContext(ctx context.Context) *PostOrganisationAccountsParams
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 ¶
func (o *PostOrganisationAccountsParams) WithHTTPClient(client *http.Client) *PostOrganisationAccountsParams
WithHTTPClient adds the HTTPClient to the post organisation accounts params
func (*PostOrganisationAccountsParams) WithTimeout ¶
func (o *PostOrganisationAccountsParams) WithTimeout(timeout time.Duration) *PostOrganisationAccountsParams
WithTimeout adds the timeout to the post organisation accounts params
func (*PostOrganisationAccountsParams) WriteToRequest ¶
func (o *PostOrganisationAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- account_api_client.go
- delete_organisation_accounts_id_parameters.go
- delete_organisation_accounts_id_responses.go
- get_health_parameters.go
- get_health_responses.go
- get_organisation_accounts_id_parameters.go
- get_organisation_accounts_id_responses.go
- get_organisation_accounts_parameters.go
- get_organisation_accounts_responses.go
- post_organisation_accounts_parameters.go
- post_organisation_accounts_responses.go