Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteAccountRoutingsID(params *DeleteAccountRoutingsIDParams) (*DeleteAccountRoutingsIDNoContent, error)
- func (a *Client) GetAccountRoutings(params *GetAccountRoutingsParams) (*GetAccountRoutingsOK, error)
- func (a *Client) GetAccountRoutingsID(params *GetAccountRoutingsIDParams) (*GetAccountRoutingsIDOK, error)
- func (a *Client) PostAccountRoutings(params *PostAccountRoutingsParams) (*PostAccountRoutingsCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteAccountRoutingsIDNoContent
- type DeleteAccountRoutingsIDParams
- func NewDeleteAccountRoutingsIDParams() *DeleteAccountRoutingsIDParams
- func NewDeleteAccountRoutingsIDParamsWithContext(ctx context.Context) *DeleteAccountRoutingsIDParams
- func NewDeleteAccountRoutingsIDParamsWithHTTPClient(client *http.Client) *DeleteAccountRoutingsIDParams
- func NewDeleteAccountRoutingsIDParamsWithTimeout(timeout time.Duration) *DeleteAccountRoutingsIDParams
- func (o *DeleteAccountRoutingsIDParams) SetContext(ctx context.Context)
- func (o *DeleteAccountRoutingsIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAccountRoutingsIDParams) SetID(id strfmt.UUID)
- func (o *DeleteAccountRoutingsIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAccountRoutingsIDParams) SetVersion(version int64)
- func (o *DeleteAccountRoutingsIDParams) WithContext(ctx context.Context) *DeleteAccountRoutingsIDParams
- func (o *DeleteAccountRoutingsIDParams) WithHTTPClient(client *http.Client) *DeleteAccountRoutingsIDParams
- func (o *DeleteAccountRoutingsIDParams) WithID(id strfmt.UUID) *DeleteAccountRoutingsIDParams
- func (o *DeleteAccountRoutingsIDParams) WithTimeout(timeout time.Duration) *DeleteAccountRoutingsIDParams
- func (o *DeleteAccountRoutingsIDParams) WithVersion(version int64) *DeleteAccountRoutingsIDParams
- func (o *DeleteAccountRoutingsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAccountRoutingsIDReader
- type GetAccountRoutingsIDOK
- type GetAccountRoutingsIDParams
- func NewGetAccountRoutingsIDParams() *GetAccountRoutingsIDParams
- func NewGetAccountRoutingsIDParamsWithContext(ctx context.Context) *GetAccountRoutingsIDParams
- func NewGetAccountRoutingsIDParamsWithHTTPClient(client *http.Client) *GetAccountRoutingsIDParams
- func NewGetAccountRoutingsIDParamsWithTimeout(timeout time.Duration) *GetAccountRoutingsIDParams
- func (o *GetAccountRoutingsIDParams) SetContext(ctx context.Context)
- func (o *GetAccountRoutingsIDParams) SetHTTPClient(client *http.Client)
- func (o *GetAccountRoutingsIDParams) SetID(id strfmt.UUID)
- func (o *GetAccountRoutingsIDParams) SetTimeout(timeout time.Duration)
- func (o *GetAccountRoutingsIDParams) WithContext(ctx context.Context) *GetAccountRoutingsIDParams
- func (o *GetAccountRoutingsIDParams) WithHTTPClient(client *http.Client) *GetAccountRoutingsIDParams
- func (o *GetAccountRoutingsIDParams) WithID(id strfmt.UUID) *GetAccountRoutingsIDParams
- func (o *GetAccountRoutingsIDParams) WithTimeout(timeout time.Duration) *GetAccountRoutingsIDParams
- func (o *GetAccountRoutingsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccountRoutingsIDReader
- type GetAccountRoutingsOK
- type GetAccountRoutingsParams
- func NewGetAccountRoutingsParams() *GetAccountRoutingsParams
- func NewGetAccountRoutingsParamsWithContext(ctx context.Context) *GetAccountRoutingsParams
- func NewGetAccountRoutingsParamsWithHTTPClient(client *http.Client) *GetAccountRoutingsParams
- func NewGetAccountRoutingsParamsWithTimeout(timeout time.Duration) *GetAccountRoutingsParams
- func (o *GetAccountRoutingsParams) SetContext(ctx context.Context)
- func (o *GetAccountRoutingsParams) SetFilterOrganisationID(filterOrganisationID []strfmt.UUID)
- func (o *GetAccountRoutingsParams) SetHTTPClient(client *http.Client)
- func (o *GetAccountRoutingsParams) SetPageNumber(pageNumber *string)
- func (o *GetAccountRoutingsParams) SetPageSize(pageSize *int64)
- func (o *GetAccountRoutingsParams) SetTimeout(timeout time.Duration)
- func (o *GetAccountRoutingsParams) WithContext(ctx context.Context) *GetAccountRoutingsParams
- func (o *GetAccountRoutingsParams) WithFilterOrganisationID(filterOrganisationID []strfmt.UUID) *GetAccountRoutingsParams
- func (o *GetAccountRoutingsParams) WithHTTPClient(client *http.Client) *GetAccountRoutingsParams
- func (o *GetAccountRoutingsParams) WithPageNumber(pageNumber *string) *GetAccountRoutingsParams
- func (o *GetAccountRoutingsParams) WithPageSize(pageSize *int64) *GetAccountRoutingsParams
- func (o *GetAccountRoutingsParams) WithTimeout(timeout time.Duration) *GetAccountRoutingsParams
- func (o *GetAccountRoutingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccountRoutingsReader
- type PostAccountRoutingsConflict
- type PostAccountRoutingsCreated
- type PostAccountRoutingsParams
- func NewPostAccountRoutingsParams() *PostAccountRoutingsParams
- func NewPostAccountRoutingsParamsWithContext(ctx context.Context) *PostAccountRoutingsParams
- func NewPostAccountRoutingsParamsWithHTTPClient(client *http.Client) *PostAccountRoutingsParams
- func NewPostAccountRoutingsParamsWithTimeout(timeout time.Duration) *PostAccountRoutingsParams
- func (o *PostAccountRoutingsParams) SetAccountRoutingCreationRequest(accountRoutingCreationRequest *models.AccountRoutingCreation)
- func (o *PostAccountRoutingsParams) SetContext(ctx context.Context)
- func (o *PostAccountRoutingsParams) SetHTTPClient(client *http.Client)
- func (o *PostAccountRoutingsParams) SetTimeout(timeout time.Duration)
- func (o *PostAccountRoutingsParams) WithAccountRoutingCreationRequest(accountRoutingCreationRequest *models.AccountRoutingCreation) *PostAccountRoutingsParams
- func (o *PostAccountRoutingsParams) WithContext(ctx context.Context) *PostAccountRoutingsParams
- func (o *PostAccountRoutingsParams) WithHTTPClient(client *http.Client) *PostAccountRoutingsParams
- func (o *PostAccountRoutingsParams) WithTimeout(timeout time.Duration) *PostAccountRoutingsParams
- func (o *PostAccountRoutingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAccountRoutingsReader
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 ¶
func (o *DeleteAccountRoutingsIDNoContent) Error() string
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 ¶
func (o *DeleteAccountRoutingsIDParams) SetID(id strfmt.UUID)
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 ¶
func (o *DeleteAccountRoutingsIDParams) WithContext(ctx context.Context) *DeleteAccountRoutingsIDParams
WithContext adds the context to the delete account routings ID params
func (*DeleteAccountRoutingsIDParams) WithHTTPClient ¶
func (o *DeleteAccountRoutingsIDParams) WithHTTPClient(client *http.Client) *DeleteAccountRoutingsIDParams
WithHTTPClient adds the HTTPClient to the delete account routings ID params
func (*DeleteAccountRoutingsIDParams) WithID ¶
func (o *DeleteAccountRoutingsIDParams) WithID(id strfmt.UUID) *DeleteAccountRoutingsIDParams
WithID adds the id to the delete account routings ID params
func (*DeleteAccountRoutingsIDParams) WithTimeout ¶
func (o *DeleteAccountRoutingsIDParams) WithTimeout(timeout time.Duration) *DeleteAccountRoutingsIDParams
WithTimeout adds the timeout to the delete account routings ID params
func (*DeleteAccountRoutingsIDParams) WithVersion ¶
func (o *DeleteAccountRoutingsIDParams) WithVersion(version int64) *DeleteAccountRoutingsIDParams
WithVersion adds the version to the delete account routings ID params
func (*DeleteAccountRoutingsIDParams) WriteToRequest ¶
func (o *DeleteAccountRoutingsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetAccountRoutingsIDParams) WithContext(ctx context.Context) *GetAccountRoutingsIDParams
WithContext adds the context to the get account routings ID params
func (*GetAccountRoutingsIDParams) WithHTTPClient ¶
func (o *GetAccountRoutingsIDParams) WithHTTPClient(client *http.Client) *GetAccountRoutingsIDParams
WithHTTPClient adds the HTTPClient to the get account routings ID params
func (*GetAccountRoutingsIDParams) WithID ¶
func (o *GetAccountRoutingsIDParams) WithID(id strfmt.UUID) *GetAccountRoutingsIDParams
WithID adds the id to the get account routings ID params
func (*GetAccountRoutingsIDParams) WithTimeout ¶
func (o *GetAccountRoutingsIDParams) WithTimeout(timeout time.Duration) *GetAccountRoutingsIDParams
WithTimeout adds the timeout to the get account routings ID params
func (*GetAccountRoutingsIDParams) WriteToRequest ¶
func (o *GetAccountRoutingsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetAccountRoutingsParams) WithContext(ctx context.Context) *GetAccountRoutingsParams
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 ¶
func (o *GetAccountRoutingsParams) WithTimeout(timeout time.Duration) *GetAccountRoutingsParams
WithTimeout adds the timeout to the get account routings params
func (*GetAccountRoutingsParams) WriteToRequest ¶
func (o *GetAccountRoutingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *PostAccountRoutingsConflict) Error() string
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 ¶
func (o *PostAccountRoutingsCreated) Error() string
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 ¶
func (o *PostAccountRoutingsParams) WithContext(ctx context.Context) *PostAccountRoutingsParams
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 ¶
func (o *PostAccountRoutingsParams) WithTimeout(timeout time.Duration) *PostAccountRoutingsParams
WithTimeout adds the timeout to the post account routings params
func (*PostAccountRoutingsParams) WriteToRequest ¶
func (o *PostAccountRoutingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- account_routings_client.go
- delete_account_routings_id_parameters.go
- delete_account_routings_id_responses.go
- get_account_routings_id_parameters.go
- get_account_routings_id_responses.go
- get_account_routings_parameters.go
- get_account_routings_responses.go
- post_account_routings_parameters.go
- post_account_routings_responses.go