Documentation
¶
Index ¶
- 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) 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) 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 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 /*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) 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) 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) 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 { 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.