Documentation ¶
Index ¶
- type Client
- func (a *Client) LedgerCloseGroupGet(params *LedgerCloseGroupGetParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerCloseGroupGetOK, error)
- func (a *Client) LedgerCloseGroupSearch(params *LedgerCloseGroupSearchParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerCloseGroupSearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type LedgerCloseGroupGetOK
- type LedgerCloseGroupGetParams
- func NewLedgerCloseGroupGetParams() *LedgerCloseGroupGetParams
- func NewLedgerCloseGroupGetParamsWithContext(ctx context.Context) *LedgerCloseGroupGetParams
- func NewLedgerCloseGroupGetParamsWithHTTPClient(client *http.Client) *LedgerCloseGroupGetParams
- func NewLedgerCloseGroupGetParamsWithTimeout(timeout time.Duration) *LedgerCloseGroupGetParams
- func (o *LedgerCloseGroupGetParams) SetContext(ctx context.Context)
- func (o *LedgerCloseGroupGetParams) SetFields(fields *string)
- func (o *LedgerCloseGroupGetParams) SetHTTPClient(client *http.Client)
- func (o *LedgerCloseGroupGetParams) SetID(id int32)
- func (o *LedgerCloseGroupGetParams) SetTimeout(timeout time.Duration)
- func (o *LedgerCloseGroupGetParams) WithContext(ctx context.Context) *LedgerCloseGroupGetParams
- func (o *LedgerCloseGroupGetParams) WithFields(fields *string) *LedgerCloseGroupGetParams
- func (o *LedgerCloseGroupGetParams) WithHTTPClient(client *http.Client) *LedgerCloseGroupGetParams
- func (o *LedgerCloseGroupGetParams) WithID(id int32) *LedgerCloseGroupGetParams
- func (o *LedgerCloseGroupGetParams) WithTimeout(timeout time.Duration) *LedgerCloseGroupGetParams
- func (o *LedgerCloseGroupGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerCloseGroupGetReader
- type LedgerCloseGroupSearchOK
- type LedgerCloseGroupSearchParams
- func NewLedgerCloseGroupSearchParams() *LedgerCloseGroupSearchParams
- func NewLedgerCloseGroupSearchParamsWithContext(ctx context.Context) *LedgerCloseGroupSearchParams
- func NewLedgerCloseGroupSearchParamsWithHTTPClient(client *http.Client) *LedgerCloseGroupSearchParams
- func NewLedgerCloseGroupSearchParamsWithTimeout(timeout time.Duration) *LedgerCloseGroupSearchParams
- func (o *LedgerCloseGroupSearchParams) SetContext(ctx context.Context)
- func (o *LedgerCloseGroupSearchParams) SetCount(count *int64)
- func (o *LedgerCloseGroupSearchParams) SetDateFrom(dateFrom string)
- func (o *LedgerCloseGroupSearchParams) SetDateTo(dateTo string)
- func (o *LedgerCloseGroupSearchParams) SetFields(fields *string)
- func (o *LedgerCloseGroupSearchParams) SetFrom(from *int64)
- func (o *LedgerCloseGroupSearchParams) SetHTTPClient(client *http.Client)
- func (o *LedgerCloseGroupSearchParams) SetID(id *string)
- func (o *LedgerCloseGroupSearchParams) SetSorting(sorting *string)
- func (o *LedgerCloseGroupSearchParams) SetTimeout(timeout time.Duration)
- func (o *LedgerCloseGroupSearchParams) WithContext(ctx context.Context) *LedgerCloseGroupSearchParams
- func (o *LedgerCloseGroupSearchParams) WithCount(count *int64) *LedgerCloseGroupSearchParams
- func (o *LedgerCloseGroupSearchParams) WithDateFrom(dateFrom string) *LedgerCloseGroupSearchParams
- func (o *LedgerCloseGroupSearchParams) WithDateTo(dateTo string) *LedgerCloseGroupSearchParams
- func (o *LedgerCloseGroupSearchParams) WithFields(fields *string) *LedgerCloseGroupSearchParams
- func (o *LedgerCloseGroupSearchParams) WithFrom(from *int64) *LedgerCloseGroupSearchParams
- func (o *LedgerCloseGroupSearchParams) WithHTTPClient(client *http.Client) *LedgerCloseGroupSearchParams
- func (o *LedgerCloseGroupSearchParams) WithID(id *string) *LedgerCloseGroupSearchParams
- func (o *LedgerCloseGroupSearchParams) WithSorting(sorting *string) *LedgerCloseGroupSearchParams
- func (o *LedgerCloseGroupSearchParams) WithTimeout(timeout time.Duration) *LedgerCloseGroupSearchParams
- func (o *LedgerCloseGroupSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerCloseGroupSearchReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for close group API
func (*Client) LedgerCloseGroupGet ¶
func (a *Client) LedgerCloseGroupGet(params *LedgerCloseGroupGetParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerCloseGroupGetOK, error)
LedgerCloseGroupGet gets close group by ID
func (*Client) LedgerCloseGroupSearch ¶
func (a *Client) LedgerCloseGroupSearch(params *LedgerCloseGroupSearchParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerCloseGroupSearchOK, error)
LedgerCloseGroupSearch finds close groups 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 { LedgerCloseGroupGet(params *LedgerCloseGroupGetParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerCloseGroupGetOK, error) LedgerCloseGroupSearch(params *LedgerCloseGroupSearchParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerCloseGroupSearchOK, 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 close group API client.
type LedgerCloseGroupGetOK ¶
type LedgerCloseGroupGetOK struct {
Payload *models.ResponseWrapperCloseGroup
}
LedgerCloseGroupGetOK handles this case with default header values.
successful operation
func NewLedgerCloseGroupGetOK ¶
func NewLedgerCloseGroupGetOK() *LedgerCloseGroupGetOK
NewLedgerCloseGroupGetOK creates a LedgerCloseGroupGetOK with default headers values
func (*LedgerCloseGroupGetOK) Error ¶
func (o *LedgerCloseGroupGetOK) Error() string
func (*LedgerCloseGroupGetOK) GetPayload ¶
func (o *LedgerCloseGroupGetOK) GetPayload() *models.ResponseWrapperCloseGroup
type LedgerCloseGroupGetParams ¶
type LedgerCloseGroupGetParams struct { /*Fields Fields filter pattern */ Fields *string /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerCloseGroupGetParams contains all the parameters to send to the API endpoint for the ledger close group get operation typically these are written to a http.Request
func NewLedgerCloseGroupGetParams ¶
func NewLedgerCloseGroupGetParams() *LedgerCloseGroupGetParams
NewLedgerCloseGroupGetParams creates a new LedgerCloseGroupGetParams object with the default values initialized.
func NewLedgerCloseGroupGetParamsWithContext ¶
func NewLedgerCloseGroupGetParamsWithContext(ctx context.Context) *LedgerCloseGroupGetParams
NewLedgerCloseGroupGetParamsWithContext creates a new LedgerCloseGroupGetParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerCloseGroupGetParamsWithHTTPClient ¶
func NewLedgerCloseGroupGetParamsWithHTTPClient(client *http.Client) *LedgerCloseGroupGetParams
NewLedgerCloseGroupGetParamsWithHTTPClient creates a new LedgerCloseGroupGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerCloseGroupGetParamsWithTimeout ¶
func NewLedgerCloseGroupGetParamsWithTimeout(timeout time.Duration) *LedgerCloseGroupGetParams
NewLedgerCloseGroupGetParamsWithTimeout creates a new LedgerCloseGroupGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerCloseGroupGetParams) SetContext ¶
func (o *LedgerCloseGroupGetParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger close group get params
func (*LedgerCloseGroupGetParams) SetFields ¶
func (o *LedgerCloseGroupGetParams) SetFields(fields *string)
SetFields adds the fields to the ledger close group get params
func (*LedgerCloseGroupGetParams) SetHTTPClient ¶
func (o *LedgerCloseGroupGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger close group get params
func (*LedgerCloseGroupGetParams) SetID ¶
func (o *LedgerCloseGroupGetParams) SetID(id int32)
SetID adds the id to the ledger close group get params
func (*LedgerCloseGroupGetParams) SetTimeout ¶
func (o *LedgerCloseGroupGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger close group get params
func (*LedgerCloseGroupGetParams) WithContext ¶
func (o *LedgerCloseGroupGetParams) WithContext(ctx context.Context) *LedgerCloseGroupGetParams
WithContext adds the context to the ledger close group get params
func (*LedgerCloseGroupGetParams) WithFields ¶
func (o *LedgerCloseGroupGetParams) WithFields(fields *string) *LedgerCloseGroupGetParams
WithFields adds the fields to the ledger close group get params
func (*LedgerCloseGroupGetParams) WithHTTPClient ¶
func (o *LedgerCloseGroupGetParams) WithHTTPClient(client *http.Client) *LedgerCloseGroupGetParams
WithHTTPClient adds the HTTPClient to the ledger close group get params
func (*LedgerCloseGroupGetParams) WithID ¶
func (o *LedgerCloseGroupGetParams) WithID(id int32) *LedgerCloseGroupGetParams
WithID adds the id to the ledger close group get params
func (*LedgerCloseGroupGetParams) WithTimeout ¶
func (o *LedgerCloseGroupGetParams) WithTimeout(timeout time.Duration) *LedgerCloseGroupGetParams
WithTimeout adds the timeout to the ledger close group get params
func (*LedgerCloseGroupGetParams) WriteToRequest ¶
func (o *LedgerCloseGroupGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerCloseGroupGetReader ¶
type LedgerCloseGroupGetReader struct {
// contains filtered or unexported fields
}
LedgerCloseGroupGetReader is a Reader for the LedgerCloseGroupGet structure.
func (*LedgerCloseGroupGetReader) ReadResponse ¶
func (o *LedgerCloseGroupGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LedgerCloseGroupSearchOK ¶
type LedgerCloseGroupSearchOK struct {
Payload *models.ListResponseCloseGroup
}
LedgerCloseGroupSearchOK handles this case with default header values.
successful operation
func NewLedgerCloseGroupSearchOK ¶
func NewLedgerCloseGroupSearchOK() *LedgerCloseGroupSearchOK
NewLedgerCloseGroupSearchOK creates a LedgerCloseGroupSearchOK with default headers values
func (*LedgerCloseGroupSearchOK) Error ¶
func (o *LedgerCloseGroupSearchOK) Error() string
func (*LedgerCloseGroupSearchOK) GetPayload ¶
func (o *LedgerCloseGroupSearchOK) GetPayload() *models.ListResponseCloseGroup
type LedgerCloseGroupSearchParams ¶
type LedgerCloseGroupSearchParams struct { /*Count Number of elements to return */ Count *int64 /*DateFrom From and including */ DateFrom string /*DateTo To and excluding */ DateTo string /*Fields Fields filter pattern */ Fields *string /*From From index */ From *int64 /*ID List of IDs */ ID *string /*Sorting Sorting pattern */ Sorting *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerCloseGroupSearchParams contains all the parameters to send to the API endpoint for the ledger close group search operation typically these are written to a http.Request
func NewLedgerCloseGroupSearchParams ¶
func NewLedgerCloseGroupSearchParams() *LedgerCloseGroupSearchParams
NewLedgerCloseGroupSearchParams creates a new LedgerCloseGroupSearchParams object with the default values initialized.
func NewLedgerCloseGroupSearchParamsWithContext ¶
func NewLedgerCloseGroupSearchParamsWithContext(ctx context.Context) *LedgerCloseGroupSearchParams
NewLedgerCloseGroupSearchParamsWithContext creates a new LedgerCloseGroupSearchParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerCloseGroupSearchParamsWithHTTPClient ¶
func NewLedgerCloseGroupSearchParamsWithHTTPClient(client *http.Client) *LedgerCloseGroupSearchParams
NewLedgerCloseGroupSearchParamsWithHTTPClient creates a new LedgerCloseGroupSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerCloseGroupSearchParamsWithTimeout ¶
func NewLedgerCloseGroupSearchParamsWithTimeout(timeout time.Duration) *LedgerCloseGroupSearchParams
NewLedgerCloseGroupSearchParamsWithTimeout creates a new LedgerCloseGroupSearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerCloseGroupSearchParams) SetContext ¶
func (o *LedgerCloseGroupSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger close group search params
func (*LedgerCloseGroupSearchParams) SetCount ¶
func (o *LedgerCloseGroupSearchParams) SetCount(count *int64)
SetCount adds the count to the ledger close group search params
func (*LedgerCloseGroupSearchParams) SetDateFrom ¶
func (o *LedgerCloseGroupSearchParams) SetDateFrom(dateFrom string)
SetDateFrom adds the dateFrom to the ledger close group search params
func (*LedgerCloseGroupSearchParams) SetDateTo ¶
func (o *LedgerCloseGroupSearchParams) SetDateTo(dateTo string)
SetDateTo adds the dateTo to the ledger close group search params
func (*LedgerCloseGroupSearchParams) SetFields ¶
func (o *LedgerCloseGroupSearchParams) SetFields(fields *string)
SetFields adds the fields to the ledger close group search params
func (*LedgerCloseGroupSearchParams) SetFrom ¶
func (o *LedgerCloseGroupSearchParams) SetFrom(from *int64)
SetFrom adds the from to the ledger close group search params
func (*LedgerCloseGroupSearchParams) SetHTTPClient ¶
func (o *LedgerCloseGroupSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger close group search params
func (*LedgerCloseGroupSearchParams) SetID ¶
func (o *LedgerCloseGroupSearchParams) SetID(id *string)
SetID adds the id to the ledger close group search params
func (*LedgerCloseGroupSearchParams) SetSorting ¶
func (o *LedgerCloseGroupSearchParams) SetSorting(sorting *string)
SetSorting adds the sorting to the ledger close group search params
func (*LedgerCloseGroupSearchParams) SetTimeout ¶
func (o *LedgerCloseGroupSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger close group search params
func (*LedgerCloseGroupSearchParams) WithContext ¶
func (o *LedgerCloseGroupSearchParams) WithContext(ctx context.Context) *LedgerCloseGroupSearchParams
WithContext adds the context to the ledger close group search params
func (*LedgerCloseGroupSearchParams) WithCount ¶
func (o *LedgerCloseGroupSearchParams) WithCount(count *int64) *LedgerCloseGroupSearchParams
WithCount adds the count to the ledger close group search params
func (*LedgerCloseGroupSearchParams) WithDateFrom ¶
func (o *LedgerCloseGroupSearchParams) WithDateFrom(dateFrom string) *LedgerCloseGroupSearchParams
WithDateFrom adds the dateFrom to the ledger close group search params
func (*LedgerCloseGroupSearchParams) WithDateTo ¶
func (o *LedgerCloseGroupSearchParams) WithDateTo(dateTo string) *LedgerCloseGroupSearchParams
WithDateTo adds the dateTo to the ledger close group search params
func (*LedgerCloseGroupSearchParams) WithFields ¶
func (o *LedgerCloseGroupSearchParams) WithFields(fields *string) *LedgerCloseGroupSearchParams
WithFields adds the fields to the ledger close group search params
func (*LedgerCloseGroupSearchParams) WithFrom ¶
func (o *LedgerCloseGroupSearchParams) WithFrom(from *int64) *LedgerCloseGroupSearchParams
WithFrom adds the from to the ledger close group search params
func (*LedgerCloseGroupSearchParams) WithHTTPClient ¶
func (o *LedgerCloseGroupSearchParams) WithHTTPClient(client *http.Client) *LedgerCloseGroupSearchParams
WithHTTPClient adds the HTTPClient to the ledger close group search params
func (*LedgerCloseGroupSearchParams) WithID ¶
func (o *LedgerCloseGroupSearchParams) WithID(id *string) *LedgerCloseGroupSearchParams
WithID adds the id to the ledger close group search params
func (*LedgerCloseGroupSearchParams) WithSorting ¶
func (o *LedgerCloseGroupSearchParams) WithSorting(sorting *string) *LedgerCloseGroupSearchParams
WithSorting adds the sorting to the ledger close group search params
func (*LedgerCloseGroupSearchParams) WithTimeout ¶
func (o *LedgerCloseGroupSearchParams) WithTimeout(timeout time.Duration) *LedgerCloseGroupSearchParams
WithTimeout adds the timeout to the ledger close group search params
func (*LedgerCloseGroupSearchParams) WriteToRequest ¶
func (o *LedgerCloseGroupSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerCloseGroupSearchReader ¶
type LedgerCloseGroupSearchReader struct {
// contains filtered or unexported fields
}
LedgerCloseGroupSearchReader is a Reader for the LedgerCloseGroupSearch structure.
func (*LedgerCloseGroupSearchReader) ReadResponse ¶
func (o *LedgerCloseGroupSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.