branches

package
v6.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: Apache-2.0 Imports: 13 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 {
	Defaults client.Defaults
	// contains filtered or unexported fields
}

Client for branches API

func New

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

New creates a new branches API client.

func (*Client) DeleteOrganisationBranchesID

func (c *Client) DeleteOrganisationBranchesID() *DeleteOrganisationBranchesIDRequest

Client.DeleteOrganisationBranchesID creates a new DeleteOrganisationBranchesIDRequest object with the default values initialized.

func (*Client) GetOrganisationBranches

func (c *Client) GetOrganisationBranches() *GetOrganisationBranchesRequest

Client.GetOrganisationBranches creates a new GetOrganisationBranchesRequest object with the default values initialized.

func (*Client) GetOrganisationBranchesID

func (c *Client) GetOrganisationBranchesID() *GetOrganisationBranchesIDRequest

Client.GetOrganisationBranchesID creates a new GetOrganisationBranchesIDRequest object with the default values initialized.

func (*Client) PatchOrganisationBranchesID

func (c *Client) PatchOrganisationBranchesID() *PatchOrganisationBranchesIDRequest

Client.PatchOrganisationBranchesID creates a new PatchOrganisationBranchesIDRequest object with the default values initialized.

func (*Client) PostOrganisationBranches

func (c *Client) PostOrganisationBranches() *PostOrganisationBranchesRequest

Client.PostOrganisationBranches creates a new PostOrganisationBranchesRequest object with the default values initialized.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type DeleteOrganisationBranchesIDNoContent

type DeleteOrganisationBranchesIDNoContent struct {
}

DeleteOrganisationBranchesIDNoContent handles this case with default header values.

Branch deleted

func NewDeleteOrganisationBranchesIDNoContent

func NewDeleteOrganisationBranchesIDNoContent() *DeleteOrganisationBranchesIDNoContent

NewDeleteOrganisationBranchesIDNoContent creates a DeleteOrganisationBranchesIDNoContent with default headers values

func (*DeleteOrganisationBranchesIDNoContent) Error

type DeleteOrganisationBranchesIDReader

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

DeleteOrganisationBranchesIDReader is a Reader for the DeleteOrganisationBranchesID structure.

func (*DeleteOrganisationBranchesIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteOrganisationBranchesIDRequest

type DeleteOrganisationBranchesIDRequest struct {
	ID strfmt.UUID

	Version int64

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

func (*DeleteOrganisationBranchesIDRequest) Do

delete organisation branches ID API

func (*DeleteOrganisationBranchesIDRequest) FromJson

func (*DeleteOrganisationBranchesIDRequest) MustDo

func (*DeleteOrganisationBranchesIDRequest) WithContext

//////////////// WithContext adds the context to the delete organisation branches ID Request

func (*DeleteOrganisationBranchesIDRequest) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete organisation branches ID Request

func (*DeleteOrganisationBranchesIDRequest) WithID

func (*DeleteOrganisationBranchesIDRequest) WithVersion

func (*DeleteOrganisationBranchesIDRequest) WriteToRequest

WriteToRequest writes these Request to a swagger request

type GetOrganisationBranchesIDOK

type GetOrganisationBranchesIDOK struct {

	// isStream: false
	*models.BranchDetailsResponse
}

GetOrganisationBranchesIDOK handles this case with default header values.

Branch details

func NewGetOrganisationBranchesIDOK

func NewGetOrganisationBranchesIDOK() *GetOrganisationBranchesIDOK

NewGetOrganisationBranchesIDOK creates a GetOrganisationBranchesIDOK with default headers values

func (*GetOrganisationBranchesIDOK) Error

type GetOrganisationBranchesIDReader

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

GetOrganisationBranchesIDReader is a Reader for the GetOrganisationBranchesID structure.

func (*GetOrganisationBranchesIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrganisationBranchesIDRequest

type GetOrganisationBranchesIDRequest struct {
	ID strfmt.UUID

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

func (*GetOrganisationBranchesIDRequest) Do

get organisation branches ID API

func (*GetOrganisationBranchesIDRequest) FromJson

func (*GetOrganisationBranchesIDRequest) MustDo

func (*GetOrganisationBranchesIDRequest) WithContext

//////////////// WithContext adds the context to the get organisation branches ID Request

func (*GetOrganisationBranchesIDRequest) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get organisation branches ID Request

func (*GetOrganisationBranchesIDRequest) WithID

func (*GetOrganisationBranchesIDRequest) WriteToRequest

WriteToRequest writes these Request to a swagger request

type GetOrganisationBranchesOK

type GetOrganisationBranchesOK struct {

	// isStream: false
	*models.BranchDetailsListResponse
}

GetOrganisationBranchesOK handles this case with default header values.

List of branch details

func NewGetOrganisationBranchesOK

func NewGetOrganisationBranchesOK() *GetOrganisationBranchesOK

NewGetOrganisationBranchesOK creates a GetOrganisationBranchesOK with default headers values

func (*GetOrganisationBranchesOK) Error

func (o *GetOrganisationBranchesOK) Error() string

type GetOrganisationBranchesReader

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

GetOrganisationBranchesReader is a Reader for the GetOrganisationBranches structure.

func (*GetOrganisationBranchesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrganisationBranchesRequest

type GetOrganisationBranchesRequest struct {
	FilterAcceptanceQualifier []string

	FilterBankID []string

	FilterBankIDCode []string

	FilterOrganisationID []strfmt.UUID

	FilterReferenceMask []string

	FilterValidationType []string

	PageNumber *string

	PageSize *int64

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

func (*GetOrganisationBranchesRequest) Do

get organisation branches API

func (*GetOrganisationBranchesRequest) FromJson

func (*GetOrganisationBranchesRequest) MustDo

func (*GetOrganisationBranchesRequest) WithContext

//////////////// WithContext adds the context to the get organisation branches Request

func (*GetOrganisationBranchesRequest) WithFilterAcceptanceQualifier

func (o *GetOrganisationBranchesRequest) WithFilterAcceptanceQualifier(filterAcceptanceQualifier []string) *GetOrganisationBranchesRequest

func (*GetOrganisationBranchesRequest) WithFilterBankID

func (o *GetOrganisationBranchesRequest) WithFilterBankID(filterBankID []string) *GetOrganisationBranchesRequest

func (*GetOrganisationBranchesRequest) WithFilterBankIDCode

func (o *GetOrganisationBranchesRequest) WithFilterBankIDCode(filterBankIDCode []string) *GetOrganisationBranchesRequest

func (*GetOrganisationBranchesRequest) WithFilterOrganisationID

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

func (*GetOrganisationBranchesRequest) WithFilterReferenceMask

func (o *GetOrganisationBranchesRequest) WithFilterReferenceMask(filterReferenceMask []string) *GetOrganisationBranchesRequest

func (*GetOrganisationBranchesRequest) WithFilterValidationType

func (o *GetOrganisationBranchesRequest) WithFilterValidationType(filterValidationType []string) *GetOrganisationBranchesRequest

func (*GetOrganisationBranchesRequest) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get organisation branches Request

func (*GetOrganisationBranchesRequest) WithPageNumber

func (*GetOrganisationBranchesRequest) WithPageSize

func (*GetOrganisationBranchesRequest) WithoutFilterAcceptanceQualifier

func (o *GetOrganisationBranchesRequest) WithoutFilterAcceptanceQualifier() *GetOrganisationBranchesRequest

func (*GetOrganisationBranchesRequest) WithoutFilterBankID

func (*GetOrganisationBranchesRequest) WithoutFilterBankIDCode

func (o *GetOrganisationBranchesRequest) WithoutFilterBankIDCode() *GetOrganisationBranchesRequest

func (*GetOrganisationBranchesRequest) WithoutFilterOrganisationID

func (o *GetOrganisationBranchesRequest) WithoutFilterOrganisationID() *GetOrganisationBranchesRequest

func (*GetOrganisationBranchesRequest) WithoutFilterReferenceMask

func (o *GetOrganisationBranchesRequest) WithoutFilterReferenceMask() *GetOrganisationBranchesRequest

func (*GetOrganisationBranchesRequest) WithoutFilterValidationType

func (o *GetOrganisationBranchesRequest) WithoutFilterValidationType() *GetOrganisationBranchesRequest

func (*GetOrganisationBranchesRequest) WithoutPageNumber

func (*GetOrganisationBranchesRequest) WithoutPageSize

func (*GetOrganisationBranchesRequest) WriteToRequest

WriteToRequest writes these Request to a swagger request

type PatchOrganisationBranchesIDOK

type PatchOrganisationBranchesIDOK struct {

	// isStream: false
	*models.BranchDetailsResponse
}

PatchOrganisationBranchesIDOK handles this case with default header values.

Branch updated

func NewPatchOrganisationBranchesIDOK

func NewPatchOrganisationBranchesIDOK() *PatchOrganisationBranchesIDOK

NewPatchOrganisationBranchesIDOK creates a PatchOrganisationBranchesIDOK with default headers values

func (*PatchOrganisationBranchesIDOK) Error

type PatchOrganisationBranchesIDReader

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

PatchOrganisationBranchesIDReader is a Reader for the PatchOrganisationBranchesID structure.

func (*PatchOrganisationBranchesIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchOrganisationBranchesIDRequest

type PatchOrganisationBranchesIDRequest struct {
	*models.BranchAmendment

	ID strfmt.UUID

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

func (*PatchOrganisationBranchesIDRequest) Do

patch organisation branches ID API

func (*PatchOrganisationBranchesIDRequest) FromJson

func (*PatchOrganisationBranchesIDRequest) MustDo

func (*PatchOrganisationBranchesIDRequest) WithBranchAmendRequest

func (*PatchOrganisationBranchesIDRequest) WithContext

//////////////// WithContext adds the context to the patch organisation branches ID Request

func (*PatchOrganisationBranchesIDRequest) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch organisation branches ID Request

func (*PatchOrganisationBranchesIDRequest) WithID

func (*PatchOrganisationBranchesIDRequest) WithoutBranchAmendRequest

func (*PatchOrganisationBranchesIDRequest) WriteToRequest

WriteToRequest writes these Request to a swagger request

type PostOrganisationBranchesConflict

type PostOrganisationBranchesConflict struct {

	// isStream: false
	*models.APIError
}

PostOrganisationBranchesConflict handles this case with default header values.

Branch creation error, constraint violation of organisation id and bank id

func NewPostOrganisationBranchesConflict

func NewPostOrganisationBranchesConflict() *PostOrganisationBranchesConflict

NewPostOrganisationBranchesConflict creates a PostOrganisationBranchesConflict with default headers values

func (*PostOrganisationBranchesConflict) Error

type PostOrganisationBranchesCreated

type PostOrganisationBranchesCreated struct {

	// isStream: false
	*models.BranchCreationResponse
}

PostOrganisationBranchesCreated handles this case with default header values.

Branch creation response

func NewPostOrganisationBranchesCreated

func NewPostOrganisationBranchesCreated() *PostOrganisationBranchesCreated

NewPostOrganisationBranchesCreated creates a PostOrganisationBranchesCreated with default headers values

func (*PostOrganisationBranchesCreated) Error

type PostOrganisationBranchesReader

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

PostOrganisationBranchesReader is a Reader for the PostOrganisationBranches structure.

func (*PostOrganisationBranchesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostOrganisationBranchesRequest

type PostOrganisationBranchesRequest struct {
	*models.BranchCreation

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

func (*PostOrganisationBranchesRequest) Do

post organisation branches API

func (*PostOrganisationBranchesRequest) FromJson

func (*PostOrganisationBranchesRequest) MustDo

func (*PostOrganisationBranchesRequest) WithBranchCreationRequest

func (o *PostOrganisationBranchesRequest) WithBranchCreationRequest(branchCreationRequest models.BranchCreation) *PostOrganisationBranchesRequest

func (*PostOrganisationBranchesRequest) WithContext

//////////////// WithContext adds the context to the post organisation branches Request

func (*PostOrganisationBranchesRequest) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post organisation branches Request

func (*PostOrganisationBranchesRequest) WithoutBranchCreationRequest

func (o *PostOrganisationBranchesRequest) WithoutBranchCreationRequest() *PostOrganisationBranchesRequest

func (*PostOrganisationBranchesRequest) WriteToRequest

WriteToRequest writes these Request to a swagger request

Jump to

Keyboard shortcuts

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