Documentation ¶
Index ¶
- type BankGetOK
- type BankGetParams
- func (o *BankGetParams) SetContext(ctx context.Context)
- func (o *BankGetParams) SetFields(fields *string)
- func (o *BankGetParams) SetHTTPClient(client *http.Client)
- func (o *BankGetParams) SetID(id int32)
- func (o *BankGetParams) SetTimeout(timeout time.Duration)
- func (o *BankGetParams) WithContext(ctx context.Context) *BankGetParams
- func (o *BankGetParams) WithFields(fields *string) *BankGetParams
- func (o *BankGetParams) WithHTTPClient(client *http.Client) *BankGetParams
- func (o *BankGetParams) WithID(id int32) *BankGetParams
- func (o *BankGetParams) WithTimeout(timeout time.Duration) *BankGetParams
- func (o *BankGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BankGetReader
- type BankSearchOK
- type BankSearchParams
- func (o *BankSearchParams) SetContext(ctx context.Context)
- func (o *BankSearchParams) SetCount(count *int64)
- func (o *BankSearchParams) SetFields(fields *string)
- func (o *BankSearchParams) SetFrom(from *int64)
- func (o *BankSearchParams) SetHTTPClient(client *http.Client)
- func (o *BankSearchParams) SetID(id *string)
- func (o *BankSearchParams) SetIsAutoPaySupported(isAutoPaySupported *bool)
- func (o *BankSearchParams) SetIsBankReconciliationSupport(isBankReconciliationSupport *bool)
- func (o *BankSearchParams) SetRegisterNumbers(registerNumbers *string)
- func (o *BankSearchParams) SetSorting(sorting *string)
- func (o *BankSearchParams) SetTimeout(timeout time.Duration)
- func (o *BankSearchParams) WithContext(ctx context.Context) *BankSearchParams
- func (o *BankSearchParams) WithCount(count *int64) *BankSearchParams
- func (o *BankSearchParams) WithFields(fields *string) *BankSearchParams
- func (o *BankSearchParams) WithFrom(from *int64) *BankSearchParams
- func (o *BankSearchParams) WithHTTPClient(client *http.Client) *BankSearchParams
- func (o *BankSearchParams) WithID(id *string) *BankSearchParams
- func (o *BankSearchParams) WithIsAutoPaySupported(isAutoPaySupported *bool) *BankSearchParams
- func (o *BankSearchParams) WithIsBankReconciliationSupport(isBankReconciliationSupport *bool) *BankSearchParams
- func (o *BankSearchParams) WithRegisterNumbers(registerNumbers *string) *BankSearchParams
- func (o *BankSearchParams) WithSorting(sorting *string) *BankSearchParams
- func (o *BankSearchParams) WithTimeout(timeout time.Duration) *BankSearchParams
- func (o *BankSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BankSearchReader
- type Client
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BankGetOK ¶
type BankGetOK struct {
Payload *models.ResponseWrapperBank
}
BankGetOK handles this case with default header values.
successful operation
func NewBankGetOK ¶
func NewBankGetOK() *BankGetOK
NewBankGetOK creates a BankGetOK with default headers values
func (*BankGetOK) GetPayload ¶
func (o *BankGetOK) GetPayload() *models.ResponseWrapperBank
type BankGetParams ¶
type BankGetParams struct { /*Fields Fields filter pattern */ Fields *string /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BankGetParams contains all the parameters to send to the API endpoint for the bank get operation typically these are written to a http.Request
func NewBankGetParams ¶
func NewBankGetParams() *BankGetParams
NewBankGetParams creates a new BankGetParams object with the default values initialized.
func NewBankGetParamsWithContext ¶
func NewBankGetParamsWithContext(ctx context.Context) *BankGetParams
NewBankGetParamsWithContext creates a new BankGetParams object with the default values initialized, and the ability to set a context for a request
func NewBankGetParamsWithHTTPClient ¶
func NewBankGetParamsWithHTTPClient(client *http.Client) *BankGetParams
NewBankGetParamsWithHTTPClient creates a new BankGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewBankGetParamsWithTimeout ¶
func NewBankGetParamsWithTimeout(timeout time.Duration) *BankGetParams
NewBankGetParamsWithTimeout creates a new BankGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*BankGetParams) SetContext ¶
func (o *BankGetParams) SetContext(ctx context.Context)
SetContext adds the context to the bank get params
func (*BankGetParams) SetFields ¶
func (o *BankGetParams) SetFields(fields *string)
SetFields adds the fields to the bank get params
func (*BankGetParams) SetHTTPClient ¶
func (o *BankGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the bank get params
func (*BankGetParams) SetID ¶
func (o *BankGetParams) SetID(id int32)
SetID adds the id to the bank get params
func (*BankGetParams) SetTimeout ¶
func (o *BankGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the bank get params
func (*BankGetParams) WithContext ¶
func (o *BankGetParams) WithContext(ctx context.Context) *BankGetParams
WithContext adds the context to the bank get params
func (*BankGetParams) WithFields ¶
func (o *BankGetParams) WithFields(fields *string) *BankGetParams
WithFields adds the fields to the bank get params
func (*BankGetParams) WithHTTPClient ¶
func (o *BankGetParams) WithHTTPClient(client *http.Client) *BankGetParams
WithHTTPClient adds the HTTPClient to the bank get params
func (*BankGetParams) WithID ¶
func (o *BankGetParams) WithID(id int32) *BankGetParams
WithID adds the id to the bank get params
func (*BankGetParams) WithTimeout ¶
func (o *BankGetParams) WithTimeout(timeout time.Duration) *BankGetParams
WithTimeout adds the timeout to the bank get params
func (*BankGetParams) WriteToRequest ¶
func (o *BankGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BankGetReader ¶
type BankGetReader struct {
// contains filtered or unexported fields
}
BankGetReader is a Reader for the BankGet structure.
func (*BankGetReader) ReadResponse ¶
func (o *BankGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BankSearchOK ¶
type BankSearchOK struct {
Payload *models.ListResponseBank
}
BankSearchOK handles this case with default header values.
successful operation
func NewBankSearchOK ¶
func NewBankSearchOK() *BankSearchOK
NewBankSearchOK creates a BankSearchOK with default headers values
func (*BankSearchOK) Error ¶
func (o *BankSearchOK) Error() string
func (*BankSearchOK) GetPayload ¶
func (o *BankSearchOK) GetPayload() *models.ListResponseBank
type BankSearchParams ¶
type BankSearchParams struct { /*Count Number of elements to return */ Count *int64 /*Fields Fields filter pattern */ Fields *string /*From From index */ From *int64 /*ID List of IDs */ ID *string /*IsAutoPaySupported Equals */ IsAutoPaySupported *bool /*IsBankReconciliationSupport Equals */ IsBankReconciliationSupport *bool /*RegisterNumbers Bank register number (four digits) */ RegisterNumbers *string /*Sorting Sorting pattern */ Sorting *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BankSearchParams contains all the parameters to send to the API endpoint for the bank search operation typically these are written to a http.Request
func NewBankSearchParams ¶
func NewBankSearchParams() *BankSearchParams
NewBankSearchParams creates a new BankSearchParams object with the default values initialized.
func NewBankSearchParamsWithContext ¶
func NewBankSearchParamsWithContext(ctx context.Context) *BankSearchParams
NewBankSearchParamsWithContext creates a new BankSearchParams object with the default values initialized, and the ability to set a context for a request
func NewBankSearchParamsWithHTTPClient ¶
func NewBankSearchParamsWithHTTPClient(client *http.Client) *BankSearchParams
NewBankSearchParamsWithHTTPClient creates a new BankSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewBankSearchParamsWithTimeout ¶
func NewBankSearchParamsWithTimeout(timeout time.Duration) *BankSearchParams
NewBankSearchParamsWithTimeout creates a new BankSearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*BankSearchParams) SetContext ¶
func (o *BankSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the bank search params
func (*BankSearchParams) SetCount ¶
func (o *BankSearchParams) SetCount(count *int64)
SetCount adds the count to the bank search params
func (*BankSearchParams) SetFields ¶
func (o *BankSearchParams) SetFields(fields *string)
SetFields adds the fields to the bank search params
func (*BankSearchParams) SetFrom ¶
func (o *BankSearchParams) SetFrom(from *int64)
SetFrom adds the from to the bank search params
func (*BankSearchParams) SetHTTPClient ¶
func (o *BankSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the bank search params
func (*BankSearchParams) SetID ¶
func (o *BankSearchParams) SetID(id *string)
SetID adds the id to the bank search params
func (*BankSearchParams) SetIsAutoPaySupported ¶
func (o *BankSearchParams) SetIsAutoPaySupported(isAutoPaySupported *bool)
SetIsAutoPaySupported adds the isAutoPaySupported to the bank search params
func (*BankSearchParams) SetIsBankReconciliationSupport ¶
func (o *BankSearchParams) SetIsBankReconciliationSupport(isBankReconciliationSupport *bool)
SetIsBankReconciliationSupport adds the isBankReconciliationSupport to the bank search params
func (*BankSearchParams) SetRegisterNumbers ¶
func (o *BankSearchParams) SetRegisterNumbers(registerNumbers *string)
SetRegisterNumbers adds the registerNumbers to the bank search params
func (*BankSearchParams) SetSorting ¶
func (o *BankSearchParams) SetSorting(sorting *string)
SetSorting adds the sorting to the bank search params
func (*BankSearchParams) SetTimeout ¶
func (o *BankSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the bank search params
func (*BankSearchParams) WithContext ¶
func (o *BankSearchParams) WithContext(ctx context.Context) *BankSearchParams
WithContext adds the context to the bank search params
func (*BankSearchParams) WithCount ¶
func (o *BankSearchParams) WithCount(count *int64) *BankSearchParams
WithCount adds the count to the bank search params
func (*BankSearchParams) WithFields ¶
func (o *BankSearchParams) WithFields(fields *string) *BankSearchParams
WithFields adds the fields to the bank search params
func (*BankSearchParams) WithFrom ¶
func (o *BankSearchParams) WithFrom(from *int64) *BankSearchParams
WithFrom adds the from to the bank search params
func (*BankSearchParams) WithHTTPClient ¶
func (o *BankSearchParams) WithHTTPClient(client *http.Client) *BankSearchParams
WithHTTPClient adds the HTTPClient to the bank search params
func (*BankSearchParams) WithID ¶
func (o *BankSearchParams) WithID(id *string) *BankSearchParams
WithID adds the id to the bank search params
func (*BankSearchParams) WithIsAutoPaySupported ¶
func (o *BankSearchParams) WithIsAutoPaySupported(isAutoPaySupported *bool) *BankSearchParams
WithIsAutoPaySupported adds the isAutoPaySupported to the bank search params
func (*BankSearchParams) WithIsBankReconciliationSupport ¶
func (o *BankSearchParams) WithIsBankReconciliationSupport(isBankReconciliationSupport *bool) *BankSearchParams
WithIsBankReconciliationSupport adds the isBankReconciliationSupport to the bank search params
func (*BankSearchParams) WithRegisterNumbers ¶
func (o *BankSearchParams) WithRegisterNumbers(registerNumbers *string) *BankSearchParams
WithRegisterNumbers adds the registerNumbers to the bank search params
func (*BankSearchParams) WithSorting ¶
func (o *BankSearchParams) WithSorting(sorting *string) *BankSearchParams
WithSorting adds the sorting to the bank search params
func (*BankSearchParams) WithTimeout ¶
func (o *BankSearchParams) WithTimeout(timeout time.Duration) *BankSearchParams
WithTimeout adds the timeout to the bank search params
func (*BankSearchParams) WriteToRequest ¶
func (o *BankSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BankSearchReader ¶
type BankSearchReader struct {
// contains filtered or unexported fields
}
BankSearchReader is a Reader for the BankSearch structure.
func (*BankSearchReader) ReadResponse ¶
func (o *BankSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for bank API
func (*Client) BankGet ¶
func (a *Client) BankGet(params *BankGetParams, authInfo runtime.ClientAuthInfoWriter) (*BankGetOK, error)
BankGet bs e t a get bank
func (*Client) BankSearch ¶
func (a *Client) BankSearch(params *BankSearchParams, authInfo runtime.ClientAuthInfoWriter) (*BankSearchOK, error)
BankSearch bs e t a find bank corresponding with sent data
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { BankGet(params *BankGetParams, authInfo runtime.ClientAuthInfoWriter) (*BankGetOK, error) BankSearch(params *BankSearchParams, authInfo runtime.ClientAuthInfoWriter) (*BankSearchOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new bank API client.