Documentation
¶
Index ¶
- type Client
- func (c *Client) DeleteOrganisationBranchesID() *DeleteOrganisationBranchesIDRequest
- func (c *Client) GetOrganisationBranches() *GetOrganisationBranchesRequest
- func (c *Client) GetOrganisationBranchesID() *GetOrganisationBranchesIDRequest
- func (c *Client) PatchOrganisationBranchesID() *PatchOrganisationBranchesIDRequest
- func (c *Client) PostOrganisationBranches() *PostOrganisationBranchesRequest
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteOrganisationBranchesIDNoContent
- type DeleteOrganisationBranchesIDReader
- type DeleteOrganisationBranchesIDRequest
- func (a *DeleteOrganisationBranchesIDRequest) Do() (*DeleteOrganisationBranchesIDNoContent, error)
- func (o *DeleteOrganisationBranchesIDRequest) FromJson(j string) (*DeleteOrganisationBranchesIDRequest, error)
- func (a *DeleteOrganisationBranchesIDRequest) MustDo() *DeleteOrganisationBranchesIDNoContent
- func (o *DeleteOrganisationBranchesIDRequest) WithContext(ctx context.Context) *DeleteOrganisationBranchesIDRequest
- func (o *DeleteOrganisationBranchesIDRequest) WithHTTPClient(client *http.Client) *DeleteOrganisationBranchesIDRequest
- func (o *DeleteOrganisationBranchesIDRequest) WithID(id strfmt.UUID) *DeleteOrganisationBranchesIDRequest
- func (o *DeleteOrganisationBranchesIDRequest) WithVersion(version int64) *DeleteOrganisationBranchesIDRequest
- func (o *DeleteOrganisationBranchesIDRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganisationBranchesIDOK
- type GetOrganisationBranchesIDReader
- type GetOrganisationBranchesIDRequest
- func (a *GetOrganisationBranchesIDRequest) Do() (*GetOrganisationBranchesIDOK, error)
- func (o *GetOrganisationBranchesIDRequest) FromJson(j string) (*GetOrganisationBranchesIDRequest, error)
- func (a *GetOrganisationBranchesIDRequest) MustDo() *GetOrganisationBranchesIDOK
- func (o *GetOrganisationBranchesIDRequest) WithContext(ctx context.Context) *GetOrganisationBranchesIDRequest
- func (o *GetOrganisationBranchesIDRequest) WithHTTPClient(client *http.Client) *GetOrganisationBranchesIDRequest
- func (o *GetOrganisationBranchesIDRequest) WithID(id strfmt.UUID) *GetOrganisationBranchesIDRequest
- func (o *GetOrganisationBranchesIDRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganisationBranchesOK
- type GetOrganisationBranchesReader
- type GetOrganisationBranchesRequest
- func (a *GetOrganisationBranchesRequest) Do() (*GetOrganisationBranchesOK, error)
- func (o *GetOrganisationBranchesRequest) FromJson(j string) (*GetOrganisationBranchesRequest, error)
- func (a *GetOrganisationBranchesRequest) MustDo() *GetOrganisationBranchesOK
- func (o *GetOrganisationBranchesRequest) WithContext(ctx context.Context) *GetOrganisationBranchesRequest
- func (o *GetOrganisationBranchesRequest) WithFilterAcceptanceQualifier(filterAcceptanceQualifier []string) *GetOrganisationBranchesRequest
- func (o *GetOrganisationBranchesRequest) WithFilterBankID(filterBankID []string) *GetOrganisationBranchesRequest
- func (o *GetOrganisationBranchesRequest) WithFilterBankIDCode(filterBankIDCode []string) *GetOrganisationBranchesRequest
- func (o *GetOrganisationBranchesRequest) WithFilterOrganisationID(filterOrganisationID []strfmt.UUID) *GetOrganisationBranchesRequest
- func (o *GetOrganisationBranchesRequest) WithFilterReferenceMask(filterReferenceMask []string) *GetOrganisationBranchesRequest
- func (o *GetOrganisationBranchesRequest) WithFilterValidationType(filterValidationType []string) *GetOrganisationBranchesRequest
- func (o *GetOrganisationBranchesRequest) WithHTTPClient(client *http.Client) *GetOrganisationBranchesRequest
- func (o *GetOrganisationBranchesRequest) WithPageNumber(pageNumber string) *GetOrganisationBranchesRequest
- func (o *GetOrganisationBranchesRequest) WithPageSize(pageSize int64) *GetOrganisationBranchesRequest
- func (o *GetOrganisationBranchesRequest) WithoutFilterAcceptanceQualifier() *GetOrganisationBranchesRequest
- func (o *GetOrganisationBranchesRequest) WithoutFilterBankID() *GetOrganisationBranchesRequest
- func (o *GetOrganisationBranchesRequest) WithoutFilterBankIDCode() *GetOrganisationBranchesRequest
- func (o *GetOrganisationBranchesRequest) WithoutFilterOrganisationID() *GetOrganisationBranchesRequest
- func (o *GetOrganisationBranchesRequest) WithoutFilterReferenceMask() *GetOrganisationBranchesRequest
- func (o *GetOrganisationBranchesRequest) WithoutFilterValidationType() *GetOrganisationBranchesRequest
- func (o *GetOrganisationBranchesRequest) WithoutPageNumber() *GetOrganisationBranchesRequest
- func (o *GetOrganisationBranchesRequest) WithoutPageSize() *GetOrganisationBranchesRequest
- func (o *GetOrganisationBranchesRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchOrganisationBranchesIDOK
- type PatchOrganisationBranchesIDReader
- type PatchOrganisationBranchesIDRequest
- func (a *PatchOrganisationBranchesIDRequest) Do() (*PatchOrganisationBranchesIDOK, error)
- func (o *PatchOrganisationBranchesIDRequest) FromJson(j string) (*PatchOrganisationBranchesIDRequest, error)
- func (a *PatchOrganisationBranchesIDRequest) MustDo() *PatchOrganisationBranchesIDOK
- func (o *PatchOrganisationBranchesIDRequest) WithBranchAmendRequest(branchAmendRequest models.BranchAmendment) *PatchOrganisationBranchesIDRequest
- func (o *PatchOrganisationBranchesIDRequest) WithContext(ctx context.Context) *PatchOrganisationBranchesIDRequest
- func (o *PatchOrganisationBranchesIDRequest) WithHTTPClient(client *http.Client) *PatchOrganisationBranchesIDRequest
- func (o *PatchOrganisationBranchesIDRequest) WithID(id strfmt.UUID) *PatchOrganisationBranchesIDRequest
- func (o *PatchOrganisationBranchesIDRequest) WithoutBranchAmendRequest() *PatchOrganisationBranchesIDRequest
- func (o *PatchOrganisationBranchesIDRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostOrganisationBranchesConflict
- type PostOrganisationBranchesCreated
- type PostOrganisationBranchesReader
- type PostOrganisationBranchesRequest
- func (a *PostOrganisationBranchesRequest) Do() (*PostOrganisationBranchesCreated, error)
- func (o *PostOrganisationBranchesRequest) FromJson(j string) (*PostOrganisationBranchesRequest, error)
- func (a *PostOrganisationBranchesRequest) MustDo() *PostOrganisationBranchesCreated
- func (o *PostOrganisationBranchesRequest) WithBranchCreationRequest(branchCreationRequest models.BranchCreation) *PostOrganisationBranchesRequest
- func (o *PostOrganisationBranchesRequest) WithContext(ctx context.Context) *PostOrganisationBranchesRequest
- func (o *PostOrganisationBranchesRequest) WithHTTPClient(client *http.Client) *PostOrganisationBranchesRequest
- func (o *PostOrganisationBranchesRequest) WithoutBranchCreationRequest() *PostOrganisationBranchesRequest
- func (o *PostOrganisationBranchesRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
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 ¶
func (o *DeleteOrganisationBranchesIDNoContent) Error() string
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 ¶
func (a *DeleteOrganisationBranchesIDRequest) Do() (*DeleteOrganisationBranchesIDNoContent, error)
delete organisation branches ID API
func (*DeleteOrganisationBranchesIDRequest) FromJson ¶
func (o *DeleteOrganisationBranchesIDRequest) FromJson(j string) (*DeleteOrganisationBranchesIDRequest, error)
func (*DeleteOrganisationBranchesIDRequest) MustDo ¶
func (a *DeleteOrganisationBranchesIDRequest) MustDo() *DeleteOrganisationBranchesIDNoContent
func (*DeleteOrganisationBranchesIDRequest) WithContext ¶
func (o *DeleteOrganisationBranchesIDRequest) WithContext(ctx context.Context) *DeleteOrganisationBranchesIDRequest
//////////////// WithContext adds the context to the delete organisation branches ID Request
func (*DeleteOrganisationBranchesIDRequest) WithHTTPClient ¶
func (o *DeleteOrganisationBranchesIDRequest) WithHTTPClient(client *http.Client) *DeleteOrganisationBranchesIDRequest
WithHTTPClient adds the HTTPClient to the delete organisation branches ID Request
func (*DeleteOrganisationBranchesIDRequest) WithID ¶
func (o *DeleteOrganisationBranchesIDRequest) WithID(id strfmt.UUID) *DeleteOrganisationBranchesIDRequest
func (*DeleteOrganisationBranchesIDRequest) WithVersion ¶
func (o *DeleteOrganisationBranchesIDRequest) WithVersion(version int64) *DeleteOrganisationBranchesIDRequest
func (*DeleteOrganisationBranchesIDRequest) WriteToRequest ¶
func (o *DeleteOrganisationBranchesIDRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetOrganisationBranchesIDOK) Error() string
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 ¶
func (a *GetOrganisationBranchesIDRequest) Do() (*GetOrganisationBranchesIDOK, error)
get organisation branches ID API
func (*GetOrganisationBranchesIDRequest) FromJson ¶
func (o *GetOrganisationBranchesIDRequest) FromJson(j string) (*GetOrganisationBranchesIDRequest, error)
func (*GetOrganisationBranchesIDRequest) MustDo ¶
func (a *GetOrganisationBranchesIDRequest) MustDo() *GetOrganisationBranchesIDOK
func (*GetOrganisationBranchesIDRequest) WithContext ¶
func (o *GetOrganisationBranchesIDRequest) WithContext(ctx context.Context) *GetOrganisationBranchesIDRequest
//////////////// WithContext adds the context to the get organisation branches ID Request
func (*GetOrganisationBranchesIDRequest) WithHTTPClient ¶
func (o *GetOrganisationBranchesIDRequest) WithHTTPClient(client *http.Client) *GetOrganisationBranchesIDRequest
WithHTTPClient adds the HTTPClient to the get organisation branches ID Request
func (*GetOrganisationBranchesIDRequest) WithID ¶
func (o *GetOrganisationBranchesIDRequest) WithID(id strfmt.UUID) *GetOrganisationBranchesIDRequest
func (*GetOrganisationBranchesIDRequest) WriteToRequest ¶
func (o *GetOrganisationBranchesIDRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (a *GetOrganisationBranchesRequest) Do() (*GetOrganisationBranchesOK, error)
get organisation branches API
func (*GetOrganisationBranchesRequest) FromJson ¶
func (o *GetOrganisationBranchesRequest) FromJson(j string) (*GetOrganisationBranchesRequest, error)
func (*GetOrganisationBranchesRequest) MustDo ¶
func (a *GetOrganisationBranchesRequest) MustDo() *GetOrganisationBranchesOK
func (*GetOrganisationBranchesRequest) WithContext ¶
func (o *GetOrganisationBranchesRequest) WithContext(ctx context.Context) *GetOrganisationBranchesRequest
//////////////// 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 ¶
func (o *GetOrganisationBranchesRequest) WithHTTPClient(client *http.Client) *GetOrganisationBranchesRequest
WithHTTPClient adds the HTTPClient to the get organisation branches Request
func (*GetOrganisationBranchesRequest) WithPageNumber ¶
func (o *GetOrganisationBranchesRequest) WithPageNumber(pageNumber string) *GetOrganisationBranchesRequest
func (*GetOrganisationBranchesRequest) WithPageSize ¶
func (o *GetOrganisationBranchesRequest) WithPageSize(pageSize int64) *GetOrganisationBranchesRequest
func (*GetOrganisationBranchesRequest) WithoutFilterAcceptanceQualifier ¶
func (o *GetOrganisationBranchesRequest) WithoutFilterAcceptanceQualifier() *GetOrganisationBranchesRequest
func (*GetOrganisationBranchesRequest) WithoutFilterBankID ¶
func (o *GetOrganisationBranchesRequest) WithoutFilterBankID() *GetOrganisationBranchesRequest
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 (o *GetOrganisationBranchesRequest) WithoutPageNumber() *GetOrganisationBranchesRequest
func (*GetOrganisationBranchesRequest) WithoutPageSize ¶
func (o *GetOrganisationBranchesRequest) WithoutPageSize() *GetOrganisationBranchesRequest
func (*GetOrganisationBranchesRequest) WriteToRequest ¶
func (o *GetOrganisationBranchesRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PatchOrganisationBranchesIDOK) Error() string
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 ¶
func (a *PatchOrganisationBranchesIDRequest) Do() (*PatchOrganisationBranchesIDOK, error)
patch organisation branches ID API
func (*PatchOrganisationBranchesIDRequest) FromJson ¶
func (o *PatchOrganisationBranchesIDRequest) FromJson(j string) (*PatchOrganisationBranchesIDRequest, error)
func (*PatchOrganisationBranchesIDRequest) MustDo ¶
func (a *PatchOrganisationBranchesIDRequest) MustDo() *PatchOrganisationBranchesIDOK
func (*PatchOrganisationBranchesIDRequest) WithBranchAmendRequest ¶
func (o *PatchOrganisationBranchesIDRequest) WithBranchAmendRequest(branchAmendRequest models.BranchAmendment) *PatchOrganisationBranchesIDRequest
func (*PatchOrganisationBranchesIDRequest) WithContext ¶
func (o *PatchOrganisationBranchesIDRequest) WithContext(ctx context.Context) *PatchOrganisationBranchesIDRequest
//////////////// WithContext adds the context to the patch organisation branches ID Request
func (*PatchOrganisationBranchesIDRequest) WithHTTPClient ¶
func (o *PatchOrganisationBranchesIDRequest) WithHTTPClient(client *http.Client) *PatchOrganisationBranchesIDRequest
WithHTTPClient adds the HTTPClient to the patch organisation branches ID Request
func (*PatchOrganisationBranchesIDRequest) WithID ¶
func (o *PatchOrganisationBranchesIDRequest) WithID(id strfmt.UUID) *PatchOrganisationBranchesIDRequest
func (*PatchOrganisationBranchesIDRequest) WithoutBranchAmendRequest ¶
func (o *PatchOrganisationBranchesIDRequest) WithoutBranchAmendRequest() *PatchOrganisationBranchesIDRequest
func (*PatchOrganisationBranchesIDRequest) WriteToRequest ¶
func (o *PatchOrganisationBranchesIDRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type PostOrganisationBranchesConflict ¶
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 ¶
func (o *PostOrganisationBranchesConflict) Error() string
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 ¶
func (o *PostOrganisationBranchesCreated) Error() string
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 ¶
func (a *PostOrganisationBranchesRequest) Do() (*PostOrganisationBranchesCreated, error)
post organisation branches API
func (*PostOrganisationBranchesRequest) FromJson ¶
func (o *PostOrganisationBranchesRequest) FromJson(j string) (*PostOrganisationBranchesRequest, error)
func (*PostOrganisationBranchesRequest) MustDo ¶
func (a *PostOrganisationBranchesRequest) MustDo() *PostOrganisationBranchesCreated
func (*PostOrganisationBranchesRequest) WithBranchCreationRequest ¶
func (o *PostOrganisationBranchesRequest) WithBranchCreationRequest(branchCreationRequest models.BranchCreation) *PostOrganisationBranchesRequest
func (*PostOrganisationBranchesRequest) WithContext ¶
func (o *PostOrganisationBranchesRequest) WithContext(ctx context.Context) *PostOrganisationBranchesRequest
//////////////// WithContext adds the context to the post organisation branches Request
func (*PostOrganisationBranchesRequest) WithHTTPClient ¶
func (o *PostOrganisationBranchesRequest) WithHTTPClient(client *http.Client) *PostOrganisationBranchesRequest
WithHTTPClient adds the HTTPClient to the post organisation branches Request
func (*PostOrganisationBranchesRequest) WithoutBranchCreationRequest ¶
func (o *PostOrganisationBranchesRequest) WithoutBranchCreationRequest() *PostOrganisationBranchesRequest
func (*PostOrganisationBranchesRequest) WriteToRequest ¶
func (o *PostOrganisationBranchesRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
Source Files
¶
- branches_client.go
- delete_organisation_branches_id_requests.go
- delete_organisation_branches_id_responses.go
- get_organisation_branches_id_requests.go
- get_organisation_branches_id_responses.go
- get_organisation_branches_requests.go
- get_organisation_branches_responses.go
- patch_organisation_branches_id_requests.go
- patch_organisation_branches_id_responses.go
- post_organisation_branches_requests.go
- post_organisation_branches_responses.go