Documentation ¶
Index ¶
- type Client
- func (c *Client) CreateBranch() *CreateBranchRequest
- func (c *Client) DeleteBranch() *DeleteBranchRequest
- func (c *Client) GetBranch() *GetBranchRequest
- func (c *Client) ListBranches() *ListBranchesRequest
- func (c *Client) PatchBranch() *PatchBranchRequest
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateBranchConflict
- func (o *CreateBranchConflict) Code() int
- func (o *CreateBranchConflict) Error() string
- func (o *CreateBranchConflict) IsClientError() bool
- func (o *CreateBranchConflict) IsCode(code int) bool
- func (o *CreateBranchConflict) IsRedirect() bool
- func (o *CreateBranchConflict) IsServerError() bool
- func (o *CreateBranchConflict) IsSuccess() bool
- type CreateBranchCreated
- func (o *CreateBranchCreated) Code() int
- func (o *CreateBranchCreated) Error() string
- func (o *CreateBranchCreated) IsClientError() bool
- func (o *CreateBranchCreated) IsCode(code int) bool
- func (o *CreateBranchCreated) IsRedirect() bool
- func (o *CreateBranchCreated) IsServerError() bool
- func (o *CreateBranchCreated) IsSuccess() bool
- type CreateBranchReader
- type CreateBranchRequest
- func (a *CreateBranchRequest) Do() (*CreateBranchCreated, error)
- func (o *CreateBranchRequest) FromJson(j string) (*CreateBranchRequest, error)
- func (a *CreateBranchRequest) MustDo() *CreateBranchCreated
- func (o *CreateBranchRequest) WithBranchCreationRequest(branchCreationRequest models.BranchCreation) *CreateBranchRequest
- func (o *CreateBranchRequest) WithContext(ctx context.Context) *CreateBranchRequest
- func (o *CreateBranchRequest) WithHTTPClient(client *http.Client) *CreateBranchRequest
- func (o *CreateBranchRequest) WithoutBranchCreationRequest() *CreateBranchRequest
- func (o *CreateBranchRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteBranchNoContent
- func (o *DeleteBranchNoContent) Code() int
- func (o *DeleteBranchNoContent) Error() string
- func (o *DeleteBranchNoContent) IsClientError() bool
- func (o *DeleteBranchNoContent) IsCode(code int) bool
- func (o *DeleteBranchNoContent) IsRedirect() bool
- func (o *DeleteBranchNoContent) IsServerError() bool
- func (o *DeleteBranchNoContent) IsSuccess() bool
- type DeleteBranchReader
- type DeleteBranchRequest
- func (a *DeleteBranchRequest) Do() (*DeleteBranchNoContent, error)
- func (o *DeleteBranchRequest) FromJson(j string) (*DeleteBranchRequest, error)
- func (a *DeleteBranchRequest) MustDo() *DeleteBranchNoContent
- func (o *DeleteBranchRequest) WithContext(ctx context.Context) *DeleteBranchRequest
- func (o *DeleteBranchRequest) WithHTTPClient(client *http.Client) *DeleteBranchRequest
- func (o *DeleteBranchRequest) WithID(id strfmt.UUID) *DeleteBranchRequest
- func (o *DeleteBranchRequest) WithVersion(version int64) *DeleteBranchRequest
- func (o *DeleteBranchRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBranchOK
- type GetBranchReader
- type GetBranchRequest
- func (a *GetBranchRequest) Do() (*GetBranchOK, error)
- func (o *GetBranchRequest) FromJson(j string) (*GetBranchRequest, error)
- func (a *GetBranchRequest) MustDo() *GetBranchOK
- func (o *GetBranchRequest) WithContext(ctx context.Context) *GetBranchRequest
- func (o *GetBranchRequest) WithHTTPClient(client *http.Client) *GetBranchRequest
- func (o *GetBranchRequest) WithID(id strfmt.UUID) *GetBranchRequest
- func (o *GetBranchRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListBranchesOK
- type ListBranchesReader
- type ListBranchesRequest
- func (a *ListBranchesRequest) Do() (*ListBranchesOK, error)
- func (o *ListBranchesRequest) FromJson(j string) (*ListBranchesRequest, error)
- func (a *ListBranchesRequest) MustDo() *ListBranchesOK
- func (o *ListBranchesRequest) WithContext(ctx context.Context) *ListBranchesRequest
- func (o *ListBranchesRequest) WithFilterAcceptanceQualifier(filterAcceptanceQualifier []string) *ListBranchesRequest
- func (o *ListBranchesRequest) WithFilterBankID(filterBankID []string) *ListBranchesRequest
- func (o *ListBranchesRequest) WithFilterBankIDCode(filterBankIDCode []string) *ListBranchesRequest
- func (o *ListBranchesRequest) WithFilterOrganisationID(filterOrganisationID []strfmt.UUID) *ListBranchesRequest
- func (o *ListBranchesRequest) WithFilterReferenceMask(filterReferenceMask []string) *ListBranchesRequest
- func (o *ListBranchesRequest) WithFilterValidationType(filterValidationType []string) *ListBranchesRequest
- func (o *ListBranchesRequest) WithHTTPClient(client *http.Client) *ListBranchesRequest
- func (o *ListBranchesRequest) WithPageNumber(pageNumber string) *ListBranchesRequest
- func (o *ListBranchesRequest) WithPageSize(pageSize int64) *ListBranchesRequest
- func (o *ListBranchesRequest) WithoutFilterAcceptanceQualifier() *ListBranchesRequest
- func (o *ListBranchesRequest) WithoutFilterBankID() *ListBranchesRequest
- func (o *ListBranchesRequest) WithoutFilterBankIDCode() *ListBranchesRequest
- func (o *ListBranchesRequest) WithoutFilterOrganisationID() *ListBranchesRequest
- func (o *ListBranchesRequest) WithoutFilterReferenceMask() *ListBranchesRequest
- func (o *ListBranchesRequest) WithoutFilterValidationType() *ListBranchesRequest
- func (o *ListBranchesRequest) WithoutPageNumber() *ListBranchesRequest
- func (o *ListBranchesRequest) WithoutPageSize() *ListBranchesRequest
- func (o *ListBranchesRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchBranchOK
- type PatchBranchReader
- type PatchBranchRequest
- func (a *PatchBranchRequest) Do() (*PatchBranchOK, error)
- func (o *PatchBranchRequest) FromJson(j string) (*PatchBranchRequest, error)
- func (a *PatchBranchRequest) MustDo() *PatchBranchOK
- func (o *PatchBranchRequest) WithBranchAmendRequest(branchAmendRequest models.BranchAmendment) *PatchBranchRequest
- func (o *PatchBranchRequest) WithContext(ctx context.Context) *PatchBranchRequest
- func (o *PatchBranchRequest) WithHTTPClient(client *http.Client) *PatchBranchRequest
- func (o *PatchBranchRequest) WithID(id strfmt.UUID) *PatchBranchRequest
- func (o *PatchBranchRequest) WithoutBranchAmendRequest() *PatchBranchRequest
- func (o *PatchBranchRequest) 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) CreateBranch ¶
func (c *Client) CreateBranch() *CreateBranchRequest
Client.CreateBranch creates a new CreateBranchRequest object with the default values initialized.
func (*Client) DeleteBranch ¶
func (c *Client) DeleteBranch() *DeleteBranchRequest
Client.DeleteBranch creates a new DeleteBranchRequest object with the default values initialized.
func (*Client) GetBranch ¶
func (c *Client) GetBranch() *GetBranchRequest
Client.GetBranch creates a new GetBranchRequest object with the default values initialized.
func (*Client) ListBranches ¶
func (c *Client) ListBranches() *ListBranchesRequest
Client.ListBranches creates a new ListBranchesRequest object with the default values initialized.
func (*Client) PatchBranch ¶
func (c *Client) PatchBranch() *PatchBranchRequest
Client.PatchBranch creates a new PatchBranchRequest object with the default values initialized.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CreateBranchConflict ¶
CreateBranchConflict handles this case with default header values.
Branch creation error, constraint violation of organisation id and bank id
func NewCreateBranchConflict ¶
func NewCreateBranchConflict() *CreateBranchConflict
NewCreateBranchConflict creates a CreateBranchConflict with default headers values
func (*CreateBranchConflict) Code ¶
func (o *CreateBranchConflict) Code() int
Code gets the status code for the create branch conflict response
func (*CreateBranchConflict) Error ¶
func (o *CreateBranchConflict) Error() string
func (*CreateBranchConflict) IsClientError ¶
func (o *CreateBranchConflict) IsClientError() bool
IsClientError returns true when this create branch conflict response has a 4xx status code
func (*CreateBranchConflict) IsCode ¶
func (o *CreateBranchConflict) IsCode(code int) bool
IsCode returns true when this create branch conflict response a status code equal to that given
func (*CreateBranchConflict) IsRedirect ¶
func (o *CreateBranchConflict) IsRedirect() bool
IsRedirect returns true when this create branch conflict response has a 3xx status code
func (*CreateBranchConflict) IsServerError ¶
func (o *CreateBranchConflict) IsServerError() bool
IsServerError returns true when this create branch conflict response has a 5xx status code
func (*CreateBranchConflict) IsSuccess ¶
func (o *CreateBranchConflict) IsSuccess() bool
IsSuccess returns true when this create branch conflict response has a 2xx status code
type CreateBranchCreated ¶
type CreateBranchCreated struct { // isStream: false *models.BranchCreationResponse }
CreateBranchCreated handles this case with default header values.
Branch creation response
func NewCreateBranchCreated ¶
func NewCreateBranchCreated() *CreateBranchCreated
NewCreateBranchCreated creates a CreateBranchCreated with default headers values
func (*CreateBranchCreated) Code ¶
func (o *CreateBranchCreated) Code() int
Code gets the status code for the create branch created response
func (*CreateBranchCreated) Error ¶
func (o *CreateBranchCreated) Error() string
func (*CreateBranchCreated) IsClientError ¶
func (o *CreateBranchCreated) IsClientError() bool
IsClientError returns true when this create branch created response has a 4xx status code
func (*CreateBranchCreated) IsCode ¶
func (o *CreateBranchCreated) IsCode(code int) bool
IsCode returns true when this create branch created response a status code equal to that given
func (*CreateBranchCreated) IsRedirect ¶
func (o *CreateBranchCreated) IsRedirect() bool
IsRedirect returns true when this create branch created response has a 3xx status code
func (*CreateBranchCreated) IsServerError ¶
func (o *CreateBranchCreated) IsServerError() bool
IsServerError returns true when this create branch created response has a 5xx status code
func (*CreateBranchCreated) IsSuccess ¶
func (o *CreateBranchCreated) IsSuccess() bool
IsSuccess returns true when this create branch created response has a 2xx status code
type CreateBranchReader ¶
type CreateBranchReader struct {
// contains filtered or unexported fields
}
CreateBranchReader is a Reader for the CreateBranch structure.
func (*CreateBranchReader) ReadResponse ¶
func (o *CreateBranchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateBranchRequest ¶
type CreateBranchRequest struct { *models.BranchCreation Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*CreateBranchRequest) Do ¶
func (a *CreateBranchRequest) Do() (*CreateBranchCreated, error)
create branch API
func (*CreateBranchRequest) FromJson ¶
func (o *CreateBranchRequest) FromJson(j string) (*CreateBranchRequest, error)
func (*CreateBranchRequest) MustDo ¶
func (a *CreateBranchRequest) MustDo() *CreateBranchCreated
func (*CreateBranchRequest) WithBranchCreationRequest ¶
func (o *CreateBranchRequest) WithBranchCreationRequest(branchCreationRequest models.BranchCreation) *CreateBranchRequest
func (*CreateBranchRequest) WithContext ¶
func (o *CreateBranchRequest) WithContext(ctx context.Context) *CreateBranchRequest
//////////////// WithContext adds the context to the create branch Request
func (*CreateBranchRequest) WithHTTPClient ¶
func (o *CreateBranchRequest) WithHTTPClient(client *http.Client) *CreateBranchRequest
WithHTTPClient adds the HTTPClient to the create branch Request
func (*CreateBranchRequest) WithoutBranchCreationRequest ¶
func (o *CreateBranchRequest) WithoutBranchCreationRequest() *CreateBranchRequest
func (*CreateBranchRequest) WriteToRequest ¶
func (o *CreateBranchRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type DeleteBranchNoContent ¶
type DeleteBranchNoContent struct { }
DeleteBranchNoContent handles this case with default header values.
Branch deleted
func NewDeleteBranchNoContent ¶
func NewDeleteBranchNoContent() *DeleteBranchNoContent
NewDeleteBranchNoContent creates a DeleteBranchNoContent with default headers values
func (*DeleteBranchNoContent) Code ¶
func (o *DeleteBranchNoContent) Code() int
Code gets the status code for the delete branch no content response
func (*DeleteBranchNoContent) Error ¶
func (o *DeleteBranchNoContent) Error() string
func (*DeleteBranchNoContent) IsClientError ¶
func (o *DeleteBranchNoContent) IsClientError() bool
IsClientError returns true when this delete branch no content response has a 4xx status code
func (*DeleteBranchNoContent) IsCode ¶
func (o *DeleteBranchNoContent) IsCode(code int) bool
IsCode returns true when this delete branch no content response a status code equal to that given
func (*DeleteBranchNoContent) IsRedirect ¶
func (o *DeleteBranchNoContent) IsRedirect() bool
IsRedirect returns true when this delete branch no content response has a 3xx status code
func (*DeleteBranchNoContent) IsServerError ¶
func (o *DeleteBranchNoContent) IsServerError() bool
IsServerError returns true when this delete branch no content response has a 5xx status code
func (*DeleteBranchNoContent) IsSuccess ¶
func (o *DeleteBranchNoContent) IsSuccess() bool
IsSuccess returns true when this delete branch no content response has a 2xx status code
type DeleteBranchReader ¶
type DeleteBranchReader struct {
// contains filtered or unexported fields
}
DeleteBranchReader is a Reader for the DeleteBranch structure.
func (*DeleteBranchReader) ReadResponse ¶
func (o *DeleteBranchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteBranchRequest ¶
type DeleteBranchRequest struct { ID strfmt.UUID Version int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*DeleteBranchRequest) Do ¶
func (a *DeleteBranchRequest) Do() (*DeleteBranchNoContent, error)
delete branch API
func (*DeleteBranchRequest) FromJson ¶
func (o *DeleteBranchRequest) FromJson(j string) (*DeleteBranchRequest, error)
func (*DeleteBranchRequest) MustDo ¶
func (a *DeleteBranchRequest) MustDo() *DeleteBranchNoContent
func (*DeleteBranchRequest) WithContext ¶
func (o *DeleteBranchRequest) WithContext(ctx context.Context) *DeleteBranchRequest
//////////////// WithContext adds the context to the delete branch Request
func (*DeleteBranchRequest) WithHTTPClient ¶
func (o *DeleteBranchRequest) WithHTTPClient(client *http.Client) *DeleteBranchRequest
WithHTTPClient adds the HTTPClient to the delete branch Request
func (*DeleteBranchRequest) WithID ¶
func (o *DeleteBranchRequest) WithID(id strfmt.UUID) *DeleteBranchRequest
func (*DeleteBranchRequest) WithVersion ¶
func (o *DeleteBranchRequest) WithVersion(version int64) *DeleteBranchRequest
func (*DeleteBranchRequest) WriteToRequest ¶
func (o *DeleteBranchRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type GetBranchOK ¶
type GetBranchOK struct { // isStream: false *models.BranchDetailsResponse }
GetBranchOK handles this case with default header values.
Branch details
func NewGetBranchOK ¶
func NewGetBranchOK() *GetBranchOK
NewGetBranchOK creates a GetBranchOK with default headers values
func (*GetBranchOK) Code ¶
func (o *GetBranchOK) Code() int
Code gets the status code for the get branch o k response
func (*GetBranchOK) Error ¶
func (o *GetBranchOK) Error() string
func (*GetBranchOK) IsClientError ¶
func (o *GetBranchOK) IsClientError() bool
IsClientError returns true when this get branch o k response has a 4xx status code
func (*GetBranchOK) IsCode ¶
func (o *GetBranchOK) IsCode(code int) bool
IsCode returns true when this get branch o k response a status code equal to that given
func (*GetBranchOK) IsRedirect ¶
func (o *GetBranchOK) IsRedirect() bool
IsRedirect returns true when this get branch o k response has a 3xx status code
func (*GetBranchOK) IsServerError ¶
func (o *GetBranchOK) IsServerError() bool
IsServerError returns true when this get branch o k response has a 5xx status code
func (*GetBranchOK) IsSuccess ¶
func (o *GetBranchOK) IsSuccess() bool
IsSuccess returns true when this get branch o k response has a 2xx status code
type GetBranchReader ¶
type GetBranchReader struct {
// contains filtered or unexported fields
}
GetBranchReader is a Reader for the GetBranch structure.
func (*GetBranchReader) ReadResponse ¶
func (o *GetBranchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBranchRequest ¶
type GetBranchRequest struct { ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*GetBranchRequest) FromJson ¶
func (o *GetBranchRequest) FromJson(j string) (*GetBranchRequest, error)
func (*GetBranchRequest) MustDo ¶
func (a *GetBranchRequest) MustDo() *GetBranchOK
func (*GetBranchRequest) WithContext ¶
func (o *GetBranchRequest) WithContext(ctx context.Context) *GetBranchRequest
//////////////// WithContext adds the context to the get branch Request
func (*GetBranchRequest) WithHTTPClient ¶
func (o *GetBranchRequest) WithHTTPClient(client *http.Client) *GetBranchRequest
WithHTTPClient adds the HTTPClient to the get branch Request
func (*GetBranchRequest) WithID ¶
func (o *GetBranchRequest) WithID(id strfmt.UUID) *GetBranchRequest
func (*GetBranchRequest) WriteToRequest ¶
func (o *GetBranchRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type ListBranchesOK ¶
type ListBranchesOK struct { // isStream: false *models.BranchDetailsListResponse }
ListBranchesOK handles this case with default header values.
List of branch details
func NewListBranchesOK ¶
func NewListBranchesOK() *ListBranchesOK
NewListBranchesOK creates a ListBranchesOK with default headers values
func (*ListBranchesOK) Code ¶
func (o *ListBranchesOK) Code() int
Code gets the status code for the list branches o k response
func (*ListBranchesOK) Error ¶
func (o *ListBranchesOK) Error() string
func (*ListBranchesOK) IsClientError ¶
func (o *ListBranchesOK) IsClientError() bool
IsClientError returns true when this list branches o k response has a 4xx status code
func (*ListBranchesOK) IsCode ¶
func (o *ListBranchesOK) IsCode(code int) bool
IsCode returns true when this list branches o k response a status code equal to that given
func (*ListBranchesOK) IsRedirect ¶
func (o *ListBranchesOK) IsRedirect() bool
IsRedirect returns true when this list branches o k response has a 3xx status code
func (*ListBranchesOK) IsServerError ¶
func (o *ListBranchesOK) IsServerError() bool
IsServerError returns true when this list branches o k response has a 5xx status code
func (*ListBranchesOK) IsSuccess ¶
func (o *ListBranchesOK) IsSuccess() bool
IsSuccess returns true when this list branches o k response has a 2xx status code
type ListBranchesReader ¶
type ListBranchesReader struct {
// contains filtered or unexported fields
}
ListBranchesReader is a Reader for the ListBranches structure.
func (*ListBranchesReader) ReadResponse ¶
func (o *ListBranchesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListBranchesRequest ¶
type ListBranchesRequest 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 (*ListBranchesRequest) Do ¶
func (a *ListBranchesRequest) Do() (*ListBranchesOK, error)
list branches API
func (*ListBranchesRequest) FromJson ¶
func (o *ListBranchesRequest) FromJson(j string) (*ListBranchesRequest, error)
func (*ListBranchesRequest) MustDo ¶
func (a *ListBranchesRequest) MustDo() *ListBranchesOK
func (*ListBranchesRequest) WithContext ¶
func (o *ListBranchesRequest) WithContext(ctx context.Context) *ListBranchesRequest
//////////////// WithContext adds the context to the list branches Request
func (*ListBranchesRequest) WithFilterAcceptanceQualifier ¶
func (o *ListBranchesRequest) WithFilterAcceptanceQualifier(filterAcceptanceQualifier []string) *ListBranchesRequest
func (*ListBranchesRequest) WithFilterBankID ¶
func (o *ListBranchesRequest) WithFilterBankID(filterBankID []string) *ListBranchesRequest
func (*ListBranchesRequest) WithFilterBankIDCode ¶
func (o *ListBranchesRequest) WithFilterBankIDCode(filterBankIDCode []string) *ListBranchesRequest
func (*ListBranchesRequest) WithFilterOrganisationID ¶
func (o *ListBranchesRequest) WithFilterOrganisationID(filterOrganisationID []strfmt.UUID) *ListBranchesRequest
func (*ListBranchesRequest) WithFilterReferenceMask ¶
func (o *ListBranchesRequest) WithFilterReferenceMask(filterReferenceMask []string) *ListBranchesRequest
func (*ListBranchesRequest) WithFilterValidationType ¶
func (o *ListBranchesRequest) WithFilterValidationType(filterValidationType []string) *ListBranchesRequest
func (*ListBranchesRequest) WithHTTPClient ¶
func (o *ListBranchesRequest) WithHTTPClient(client *http.Client) *ListBranchesRequest
WithHTTPClient adds the HTTPClient to the list branches Request
func (*ListBranchesRequest) WithPageNumber ¶
func (o *ListBranchesRequest) WithPageNumber(pageNumber string) *ListBranchesRequest
func (*ListBranchesRequest) WithPageSize ¶
func (o *ListBranchesRequest) WithPageSize(pageSize int64) *ListBranchesRequest
func (*ListBranchesRequest) WithoutFilterAcceptanceQualifier ¶
func (o *ListBranchesRequest) WithoutFilterAcceptanceQualifier() *ListBranchesRequest
func (*ListBranchesRequest) WithoutFilterBankID ¶
func (o *ListBranchesRequest) WithoutFilterBankID() *ListBranchesRequest
func (*ListBranchesRequest) WithoutFilterBankIDCode ¶
func (o *ListBranchesRequest) WithoutFilterBankIDCode() *ListBranchesRequest
func (*ListBranchesRequest) WithoutFilterOrganisationID ¶
func (o *ListBranchesRequest) WithoutFilterOrganisationID() *ListBranchesRequest
func (*ListBranchesRequest) WithoutFilterReferenceMask ¶
func (o *ListBranchesRequest) WithoutFilterReferenceMask() *ListBranchesRequest
func (*ListBranchesRequest) WithoutFilterValidationType ¶
func (o *ListBranchesRequest) WithoutFilterValidationType() *ListBranchesRequest
func (*ListBranchesRequest) WithoutPageNumber ¶
func (o *ListBranchesRequest) WithoutPageNumber() *ListBranchesRequest
func (*ListBranchesRequest) WithoutPageSize ¶
func (o *ListBranchesRequest) WithoutPageSize() *ListBranchesRequest
func (*ListBranchesRequest) WriteToRequest ¶
func (o *ListBranchesRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type PatchBranchOK ¶
type PatchBranchOK struct { // isStream: false *models.BranchDetailsResponse }
PatchBranchOK handles this case with default header values.
Branch updated
func NewPatchBranchOK ¶
func NewPatchBranchOK() *PatchBranchOK
NewPatchBranchOK creates a PatchBranchOK with default headers values
func (*PatchBranchOK) Code ¶
func (o *PatchBranchOK) Code() int
Code gets the status code for the patch branch o k response
func (*PatchBranchOK) Error ¶
func (o *PatchBranchOK) Error() string
func (*PatchBranchOK) IsClientError ¶
func (o *PatchBranchOK) IsClientError() bool
IsClientError returns true when this patch branch o k response has a 4xx status code
func (*PatchBranchOK) IsCode ¶
func (o *PatchBranchOK) IsCode(code int) bool
IsCode returns true when this patch branch o k response a status code equal to that given
func (*PatchBranchOK) IsRedirect ¶
func (o *PatchBranchOK) IsRedirect() bool
IsRedirect returns true when this patch branch o k response has a 3xx status code
func (*PatchBranchOK) IsServerError ¶
func (o *PatchBranchOK) IsServerError() bool
IsServerError returns true when this patch branch o k response has a 5xx status code
func (*PatchBranchOK) IsSuccess ¶
func (o *PatchBranchOK) IsSuccess() bool
IsSuccess returns true when this patch branch o k response has a 2xx status code
type PatchBranchReader ¶
type PatchBranchReader struct {
// contains filtered or unexported fields
}
PatchBranchReader is a Reader for the PatchBranch structure.
func (*PatchBranchReader) ReadResponse ¶
func (o *PatchBranchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchBranchRequest ¶
type PatchBranchRequest struct { *models.BranchAmendment ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*PatchBranchRequest) Do ¶
func (a *PatchBranchRequest) Do() (*PatchBranchOK, error)
patch branch API
func (*PatchBranchRequest) FromJson ¶
func (o *PatchBranchRequest) FromJson(j string) (*PatchBranchRequest, error)
func (*PatchBranchRequest) MustDo ¶
func (a *PatchBranchRequest) MustDo() *PatchBranchOK
func (*PatchBranchRequest) WithBranchAmendRequest ¶
func (o *PatchBranchRequest) WithBranchAmendRequest(branchAmendRequest models.BranchAmendment) *PatchBranchRequest
func (*PatchBranchRequest) WithContext ¶
func (o *PatchBranchRequest) WithContext(ctx context.Context) *PatchBranchRequest
//////////////// WithContext adds the context to the patch branch Request
func (*PatchBranchRequest) WithHTTPClient ¶
func (o *PatchBranchRequest) WithHTTPClient(client *http.Client) *PatchBranchRequest
WithHTTPClient adds the HTTPClient to the patch branch Request
func (*PatchBranchRequest) WithID ¶
func (o *PatchBranchRequest) WithID(id strfmt.UUID) *PatchBranchRequest
func (*PatchBranchRequest) WithoutBranchAmendRequest ¶
func (o *PatchBranchRequest) WithoutBranchAmendRequest() *PatchBranchRequest
func (*PatchBranchRequest) WriteToRequest ¶
func (o *PatchBranchRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request