account_routings

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2019 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 routings API

func New

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

New creates a new account routings API client.

func (*Client) DeleteAccountRoutingsID

func (a *Client) DeleteAccountRoutingsID(params *DeleteAccountRoutingsIDParams) (*DeleteAccountRoutingsIDNoContent, error)

DeleteAccountRoutingsID deletes account routing

func (*Client) GetAccountRoutings

func (a *Client) GetAccountRoutings(params *GetAccountRoutingsParams) (*GetAccountRoutingsOK, error)

GetAccountRoutings lists account routings

func (*Client) GetAccountRoutingsID

func (a *Client) GetAccountRoutingsID(params *GetAccountRoutingsIDParams) (*GetAccountRoutingsIDOK, error)

GetAccountRoutingsID fetches account routing

func (*Client) PostAccountRoutings

func (a *Client) PostAccountRoutings(params *PostAccountRoutingsParams) (*PostAccountRoutingsCreated, error)

PostAccountRoutings creates an account routing entry

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type DeleteAccountRoutingsIDNoContent

type DeleteAccountRoutingsIDNoContent struct {
}

DeleteAccountRoutingsIDNoContent handles this case with default header values.

Account Routing deleted

func NewDeleteAccountRoutingsIDNoContent

func NewDeleteAccountRoutingsIDNoContent() *DeleteAccountRoutingsIDNoContent

NewDeleteAccountRoutingsIDNoContent creates a DeleteAccountRoutingsIDNoContent with default headers values

func (*DeleteAccountRoutingsIDNoContent) Error

type DeleteAccountRoutingsIDParams

type DeleteAccountRoutingsIDParams struct {

	/*ID
	  Account Routing Id

	*/
	ID strfmt.UUID
	/*Version
	  Version

	*/
	Version int64

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

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

func NewDeleteAccountRoutingsIDParams

func NewDeleteAccountRoutingsIDParams() *DeleteAccountRoutingsIDParams

NewDeleteAccountRoutingsIDParams creates a new DeleteAccountRoutingsIDParams object with the default values initialized.

func NewDeleteAccountRoutingsIDParamsWithContext

func NewDeleteAccountRoutingsIDParamsWithContext(ctx context.Context) *DeleteAccountRoutingsIDParams

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

func NewDeleteAccountRoutingsIDParamsWithHTTPClient

func NewDeleteAccountRoutingsIDParamsWithHTTPClient(client *http.Client) *DeleteAccountRoutingsIDParams

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

func NewDeleteAccountRoutingsIDParamsWithTimeout

func NewDeleteAccountRoutingsIDParamsWithTimeout(timeout time.Duration) *DeleteAccountRoutingsIDParams

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

func (*DeleteAccountRoutingsIDParams) SetContext

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

SetContext adds the context to the delete account routings ID params

func (*DeleteAccountRoutingsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete account routings ID params

func (*DeleteAccountRoutingsIDParams) SetID

SetID adds the id to the delete account routings ID params

func (*DeleteAccountRoutingsIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete account routings ID params

func (*DeleteAccountRoutingsIDParams) SetVersion

func (o *DeleteAccountRoutingsIDParams) SetVersion(version int64)

SetVersion adds the version to the delete account routings ID params

func (*DeleteAccountRoutingsIDParams) WithContext

WithContext adds the context to the delete account routings ID params

func (*DeleteAccountRoutingsIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete account routings ID params

func (*DeleteAccountRoutingsIDParams) WithID

WithID adds the id to the delete account routings ID params

func (*DeleteAccountRoutingsIDParams) WithTimeout

WithTimeout adds the timeout to the delete account routings ID params

func (*DeleteAccountRoutingsIDParams) WithVersion

WithVersion adds the version to the delete account routings ID params

func (*DeleteAccountRoutingsIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAccountRoutingsIDReader

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

DeleteAccountRoutingsIDReader is a Reader for the DeleteAccountRoutingsID structure.

func (*DeleteAccountRoutingsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountRoutingsIDOK

type GetAccountRoutingsIDOK struct {
	Payload *models.AccountRoutingDetailsResponse
}

GetAccountRoutingsIDOK handles this case with default header values.

Account Routing details

func NewGetAccountRoutingsIDOK

func NewGetAccountRoutingsIDOK() *GetAccountRoutingsIDOK

NewGetAccountRoutingsIDOK creates a GetAccountRoutingsIDOK with default headers values

func (*GetAccountRoutingsIDOK) Error

func (o *GetAccountRoutingsIDOK) Error() string

type GetAccountRoutingsIDParams

type GetAccountRoutingsIDParams struct {

	/*ID
	  Account Routing Id

	*/
	ID strfmt.UUID

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

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

func NewGetAccountRoutingsIDParams

func NewGetAccountRoutingsIDParams() *GetAccountRoutingsIDParams

NewGetAccountRoutingsIDParams creates a new GetAccountRoutingsIDParams object with the default values initialized.

func NewGetAccountRoutingsIDParamsWithContext

func NewGetAccountRoutingsIDParamsWithContext(ctx context.Context) *GetAccountRoutingsIDParams

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

func NewGetAccountRoutingsIDParamsWithHTTPClient

func NewGetAccountRoutingsIDParamsWithHTTPClient(client *http.Client) *GetAccountRoutingsIDParams

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

func NewGetAccountRoutingsIDParamsWithTimeout

func NewGetAccountRoutingsIDParamsWithTimeout(timeout time.Duration) *GetAccountRoutingsIDParams

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

func (*GetAccountRoutingsIDParams) SetContext

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

SetContext adds the context to the get account routings ID params

func (*GetAccountRoutingsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get account routings ID params

func (*GetAccountRoutingsIDParams) SetID

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

SetID adds the id to the get account routings ID params

func (*GetAccountRoutingsIDParams) SetTimeout

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

SetTimeout adds the timeout to the get account routings ID params

func (*GetAccountRoutingsIDParams) WithContext

WithContext adds the context to the get account routings ID params

func (*GetAccountRoutingsIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get account routings ID params

func (*GetAccountRoutingsIDParams) WithID

WithID adds the id to the get account routings ID params

func (*GetAccountRoutingsIDParams) WithTimeout

WithTimeout adds the timeout to the get account routings ID params

func (*GetAccountRoutingsIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountRoutingsIDReader

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

GetAccountRoutingsIDReader is a Reader for the GetAccountRoutingsID structure.

func (*GetAccountRoutingsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountRoutingsOK

type GetAccountRoutingsOK struct {
	Payload *models.AccountRoutingDetailsListResponse
}

GetAccountRoutingsOK handles this case with default header values.

List of account routing details

func NewGetAccountRoutingsOK

func NewGetAccountRoutingsOK() *GetAccountRoutingsOK

NewGetAccountRoutingsOK creates a GetAccountRoutingsOK with default headers values

func (*GetAccountRoutingsOK) Error

func (o *GetAccountRoutingsOK) Error() string

type GetAccountRoutingsParams

type GetAccountRoutingsParams struct {

	/*FilterOrganisationID
	  Filter by organisation id

	*/
	FilterOrganisationID []strfmt.UUID
	/*PageNumber
	  Which page to select

	*/
	PageNumber *string
	/*PageSize
	  Number of items to select

	*/
	PageSize *int64

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

GetAccountRoutingsParams contains all the parameters to send to the API endpoint for the get account routings operation typically these are written to a http.Request

func NewGetAccountRoutingsParams

func NewGetAccountRoutingsParams() *GetAccountRoutingsParams

NewGetAccountRoutingsParams creates a new GetAccountRoutingsParams object with the default values initialized.

func NewGetAccountRoutingsParamsWithContext

func NewGetAccountRoutingsParamsWithContext(ctx context.Context) *GetAccountRoutingsParams

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

func NewGetAccountRoutingsParamsWithHTTPClient

func NewGetAccountRoutingsParamsWithHTTPClient(client *http.Client) *GetAccountRoutingsParams

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

func NewGetAccountRoutingsParamsWithTimeout

func NewGetAccountRoutingsParamsWithTimeout(timeout time.Duration) *GetAccountRoutingsParams

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

func (*GetAccountRoutingsParams) SetContext

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

SetContext adds the context to the get account routings params

func (*GetAccountRoutingsParams) SetFilterOrganisationID

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

SetFilterOrganisationID adds the filterOrganisationId to the get account routings params

func (*GetAccountRoutingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get account routings params

func (*GetAccountRoutingsParams) SetPageNumber

func (o *GetAccountRoutingsParams) SetPageNumber(pageNumber *string)

SetPageNumber adds the pageNumber to the get account routings params

func (*GetAccountRoutingsParams) SetPageSize

func (o *GetAccountRoutingsParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the get account routings params

func (*GetAccountRoutingsParams) SetTimeout

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

SetTimeout adds the timeout to the get account routings params

func (*GetAccountRoutingsParams) WithContext

WithContext adds the context to the get account routings params

func (*GetAccountRoutingsParams) WithFilterOrganisationID

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

WithFilterOrganisationID adds the filterOrganisationID to the get account routings params

func (*GetAccountRoutingsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get account routings params

func (*GetAccountRoutingsParams) WithPageNumber

func (o *GetAccountRoutingsParams) WithPageNumber(pageNumber *string) *GetAccountRoutingsParams

WithPageNumber adds the pageNumber to the get account routings params

func (*GetAccountRoutingsParams) WithPageSize

func (o *GetAccountRoutingsParams) WithPageSize(pageSize *int64) *GetAccountRoutingsParams

WithPageSize adds the pageSize to the get account routings params

func (*GetAccountRoutingsParams) WithTimeout

WithTimeout adds the timeout to the get account routings params

func (*GetAccountRoutingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountRoutingsReader

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

GetAccountRoutingsReader is a Reader for the GetAccountRoutings structure.

func (*GetAccountRoutingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAccountRoutingsConflict

type PostAccountRoutingsConflict struct {
	Payload *models.APIError
}

PostAccountRoutingsConflict handles this case with default header values.

Account routing creation error, constraint violation

func NewPostAccountRoutingsConflict

func NewPostAccountRoutingsConflict() *PostAccountRoutingsConflict

NewPostAccountRoutingsConflict creates a PostAccountRoutingsConflict with default headers values

func (*PostAccountRoutingsConflict) Error

type PostAccountRoutingsCreated

type PostAccountRoutingsCreated struct {
	Payload *models.AccountRoutingCreationResponse
}

PostAccountRoutingsCreated handles this case with default header values.

Account routing creation response success

func NewPostAccountRoutingsCreated

func NewPostAccountRoutingsCreated() *PostAccountRoutingsCreated

NewPostAccountRoutingsCreated creates a PostAccountRoutingsCreated with default headers values

func (*PostAccountRoutingsCreated) Error

type PostAccountRoutingsParams

type PostAccountRoutingsParams struct {

	/*AccountRoutingCreationRequest*/
	AccountRoutingCreationRequest *models.AccountRoutingCreation

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

PostAccountRoutingsParams contains all the parameters to send to the API endpoint for the post account routings operation typically these are written to a http.Request

func NewPostAccountRoutingsParams

func NewPostAccountRoutingsParams() *PostAccountRoutingsParams

NewPostAccountRoutingsParams creates a new PostAccountRoutingsParams object with the default values initialized.

func NewPostAccountRoutingsParamsWithContext

func NewPostAccountRoutingsParamsWithContext(ctx context.Context) *PostAccountRoutingsParams

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

func NewPostAccountRoutingsParamsWithHTTPClient

func NewPostAccountRoutingsParamsWithHTTPClient(client *http.Client) *PostAccountRoutingsParams

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

func NewPostAccountRoutingsParamsWithTimeout

func NewPostAccountRoutingsParamsWithTimeout(timeout time.Duration) *PostAccountRoutingsParams

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

func (*PostAccountRoutingsParams) SetAccountRoutingCreationRequest

func (o *PostAccountRoutingsParams) SetAccountRoutingCreationRequest(accountRoutingCreationRequest *models.AccountRoutingCreation)

SetAccountRoutingCreationRequest adds the accountRoutingCreationRequest to the post account routings params

func (*PostAccountRoutingsParams) SetContext

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

SetContext adds the context to the post account routings params

func (*PostAccountRoutingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post account routings params

func (*PostAccountRoutingsParams) SetTimeout

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

SetTimeout adds the timeout to the post account routings params

func (*PostAccountRoutingsParams) WithAccountRoutingCreationRequest

func (o *PostAccountRoutingsParams) WithAccountRoutingCreationRequest(accountRoutingCreationRequest *models.AccountRoutingCreation) *PostAccountRoutingsParams

WithAccountRoutingCreationRequest adds the accountRoutingCreationRequest to the post account routings params

func (*PostAccountRoutingsParams) WithContext

WithContext adds the context to the post account routings params

func (*PostAccountRoutingsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post account routings params

func (*PostAccountRoutingsParams) WithTimeout

WithTimeout adds the timeout to the post account routings params

func (*PostAccountRoutingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAccountRoutingsReader

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

PostAccountRoutingsReader is a Reader for the PostAccountRoutings structure.

func (*PostAccountRoutingsReader) ReadResponse

func (o *PostAccountRoutingsReader) 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