Documentation ¶
Index ¶
- type Client
- func (a *Client) LedgerAnnualAccountGet(params *LedgerAnnualAccountGetParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAnnualAccountGetOK, error)
- func (a *Client) LedgerAnnualAccountSearch(params *LedgerAnnualAccountSearchParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAnnualAccountSearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type LedgerAnnualAccountGetOK
- type LedgerAnnualAccountGetParams
- func NewLedgerAnnualAccountGetParams() *LedgerAnnualAccountGetParams
- func NewLedgerAnnualAccountGetParamsWithContext(ctx context.Context) *LedgerAnnualAccountGetParams
- func NewLedgerAnnualAccountGetParamsWithHTTPClient(client *http.Client) *LedgerAnnualAccountGetParams
- func NewLedgerAnnualAccountGetParamsWithTimeout(timeout time.Duration) *LedgerAnnualAccountGetParams
- func (o *LedgerAnnualAccountGetParams) SetContext(ctx context.Context)
- func (o *LedgerAnnualAccountGetParams) SetFields(fields *string)
- func (o *LedgerAnnualAccountGetParams) SetHTTPClient(client *http.Client)
- func (o *LedgerAnnualAccountGetParams) SetID(id int32)
- func (o *LedgerAnnualAccountGetParams) SetTimeout(timeout time.Duration)
- func (o *LedgerAnnualAccountGetParams) WithContext(ctx context.Context) *LedgerAnnualAccountGetParams
- func (o *LedgerAnnualAccountGetParams) WithFields(fields *string) *LedgerAnnualAccountGetParams
- func (o *LedgerAnnualAccountGetParams) WithHTTPClient(client *http.Client) *LedgerAnnualAccountGetParams
- func (o *LedgerAnnualAccountGetParams) WithID(id int32) *LedgerAnnualAccountGetParams
- func (o *LedgerAnnualAccountGetParams) WithTimeout(timeout time.Duration) *LedgerAnnualAccountGetParams
- func (o *LedgerAnnualAccountGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerAnnualAccountGetReader
- type LedgerAnnualAccountSearchOK
- type LedgerAnnualAccountSearchParams
- func NewLedgerAnnualAccountSearchParams() *LedgerAnnualAccountSearchParams
- func NewLedgerAnnualAccountSearchParamsWithContext(ctx context.Context) *LedgerAnnualAccountSearchParams
- func NewLedgerAnnualAccountSearchParamsWithHTTPClient(client *http.Client) *LedgerAnnualAccountSearchParams
- func NewLedgerAnnualAccountSearchParamsWithTimeout(timeout time.Duration) *LedgerAnnualAccountSearchParams
- func (o *LedgerAnnualAccountSearchParams) SetContext(ctx context.Context)
- func (o *LedgerAnnualAccountSearchParams) SetCount(count *int64)
- func (o *LedgerAnnualAccountSearchParams) SetFields(fields *string)
- func (o *LedgerAnnualAccountSearchParams) SetFrom(from *int64)
- func (o *LedgerAnnualAccountSearchParams) SetHTTPClient(client *http.Client)
- func (o *LedgerAnnualAccountSearchParams) SetID(id *string)
- func (o *LedgerAnnualAccountSearchParams) SetSorting(sorting *string)
- func (o *LedgerAnnualAccountSearchParams) SetTimeout(timeout time.Duration)
- func (o *LedgerAnnualAccountSearchParams) SetYearFrom(yearFrom *int32)
- func (o *LedgerAnnualAccountSearchParams) SetYearTo(yearTo *int32)
- func (o *LedgerAnnualAccountSearchParams) WithContext(ctx context.Context) *LedgerAnnualAccountSearchParams
- func (o *LedgerAnnualAccountSearchParams) WithCount(count *int64) *LedgerAnnualAccountSearchParams
- func (o *LedgerAnnualAccountSearchParams) WithFields(fields *string) *LedgerAnnualAccountSearchParams
- func (o *LedgerAnnualAccountSearchParams) WithFrom(from *int64) *LedgerAnnualAccountSearchParams
- func (o *LedgerAnnualAccountSearchParams) WithHTTPClient(client *http.Client) *LedgerAnnualAccountSearchParams
- func (o *LedgerAnnualAccountSearchParams) WithID(id *string) *LedgerAnnualAccountSearchParams
- func (o *LedgerAnnualAccountSearchParams) WithSorting(sorting *string) *LedgerAnnualAccountSearchParams
- func (o *LedgerAnnualAccountSearchParams) WithTimeout(timeout time.Duration) *LedgerAnnualAccountSearchParams
- func (o *LedgerAnnualAccountSearchParams) WithYearFrom(yearFrom *int32) *LedgerAnnualAccountSearchParams
- func (o *LedgerAnnualAccountSearchParams) WithYearTo(yearTo *int32) *LedgerAnnualAccountSearchParams
- func (o *LedgerAnnualAccountSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerAnnualAccountSearchReader
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 annual account API
func (*Client) LedgerAnnualAccountGet ¶
func (a *Client) LedgerAnnualAccountGet(params *LedgerAnnualAccountGetParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAnnualAccountGetOK, error)
LedgerAnnualAccountGet gets annual account by ID
func (*Client) LedgerAnnualAccountSearch ¶
func (a *Client) LedgerAnnualAccountSearch(params *LedgerAnnualAccountSearchParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAnnualAccountSearchOK, error)
LedgerAnnualAccountSearch finds annual accounts 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 { LedgerAnnualAccountGet(params *LedgerAnnualAccountGetParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAnnualAccountGetOK, error) LedgerAnnualAccountSearch(params *LedgerAnnualAccountSearchParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAnnualAccountSearchOK, 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 annual account API client.
type LedgerAnnualAccountGetOK ¶
type LedgerAnnualAccountGetOK struct {
Payload *models.ResponseWrapperAnnualAccount
}
LedgerAnnualAccountGetOK handles this case with default header values.
successful operation
func NewLedgerAnnualAccountGetOK ¶
func NewLedgerAnnualAccountGetOK() *LedgerAnnualAccountGetOK
NewLedgerAnnualAccountGetOK creates a LedgerAnnualAccountGetOK with default headers values
func (*LedgerAnnualAccountGetOK) Error ¶
func (o *LedgerAnnualAccountGetOK) Error() string
func (*LedgerAnnualAccountGetOK) GetPayload ¶
func (o *LedgerAnnualAccountGetOK) GetPayload() *models.ResponseWrapperAnnualAccount
type LedgerAnnualAccountGetParams ¶
type LedgerAnnualAccountGetParams struct { /*Fields Fields filter pattern */ Fields *string /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerAnnualAccountGetParams contains all the parameters to send to the API endpoint for the ledger annual account get operation typically these are written to a http.Request
func NewLedgerAnnualAccountGetParams ¶
func NewLedgerAnnualAccountGetParams() *LedgerAnnualAccountGetParams
NewLedgerAnnualAccountGetParams creates a new LedgerAnnualAccountGetParams object with the default values initialized.
func NewLedgerAnnualAccountGetParamsWithContext ¶
func NewLedgerAnnualAccountGetParamsWithContext(ctx context.Context) *LedgerAnnualAccountGetParams
NewLedgerAnnualAccountGetParamsWithContext creates a new LedgerAnnualAccountGetParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerAnnualAccountGetParamsWithHTTPClient ¶
func NewLedgerAnnualAccountGetParamsWithHTTPClient(client *http.Client) *LedgerAnnualAccountGetParams
NewLedgerAnnualAccountGetParamsWithHTTPClient creates a new LedgerAnnualAccountGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerAnnualAccountGetParamsWithTimeout ¶
func NewLedgerAnnualAccountGetParamsWithTimeout(timeout time.Duration) *LedgerAnnualAccountGetParams
NewLedgerAnnualAccountGetParamsWithTimeout creates a new LedgerAnnualAccountGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerAnnualAccountGetParams) SetContext ¶
func (o *LedgerAnnualAccountGetParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger annual account get params
func (*LedgerAnnualAccountGetParams) SetFields ¶
func (o *LedgerAnnualAccountGetParams) SetFields(fields *string)
SetFields adds the fields to the ledger annual account get params
func (*LedgerAnnualAccountGetParams) SetHTTPClient ¶
func (o *LedgerAnnualAccountGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger annual account get params
func (*LedgerAnnualAccountGetParams) SetID ¶
func (o *LedgerAnnualAccountGetParams) SetID(id int32)
SetID adds the id to the ledger annual account get params
func (*LedgerAnnualAccountGetParams) SetTimeout ¶
func (o *LedgerAnnualAccountGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger annual account get params
func (*LedgerAnnualAccountGetParams) WithContext ¶
func (o *LedgerAnnualAccountGetParams) WithContext(ctx context.Context) *LedgerAnnualAccountGetParams
WithContext adds the context to the ledger annual account get params
func (*LedgerAnnualAccountGetParams) WithFields ¶
func (o *LedgerAnnualAccountGetParams) WithFields(fields *string) *LedgerAnnualAccountGetParams
WithFields adds the fields to the ledger annual account get params
func (*LedgerAnnualAccountGetParams) WithHTTPClient ¶
func (o *LedgerAnnualAccountGetParams) WithHTTPClient(client *http.Client) *LedgerAnnualAccountGetParams
WithHTTPClient adds the HTTPClient to the ledger annual account get params
func (*LedgerAnnualAccountGetParams) WithID ¶
func (o *LedgerAnnualAccountGetParams) WithID(id int32) *LedgerAnnualAccountGetParams
WithID adds the id to the ledger annual account get params
func (*LedgerAnnualAccountGetParams) WithTimeout ¶
func (o *LedgerAnnualAccountGetParams) WithTimeout(timeout time.Duration) *LedgerAnnualAccountGetParams
WithTimeout adds the timeout to the ledger annual account get params
func (*LedgerAnnualAccountGetParams) WriteToRequest ¶
func (o *LedgerAnnualAccountGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerAnnualAccountGetReader ¶
type LedgerAnnualAccountGetReader struct {
// contains filtered or unexported fields
}
LedgerAnnualAccountGetReader is a Reader for the LedgerAnnualAccountGet structure.
func (*LedgerAnnualAccountGetReader) ReadResponse ¶
func (o *LedgerAnnualAccountGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LedgerAnnualAccountSearchOK ¶
type LedgerAnnualAccountSearchOK struct {
Payload *models.ListResponseAnnualAccount
}
LedgerAnnualAccountSearchOK handles this case with default header values.
successful operation
func NewLedgerAnnualAccountSearchOK ¶
func NewLedgerAnnualAccountSearchOK() *LedgerAnnualAccountSearchOK
NewLedgerAnnualAccountSearchOK creates a LedgerAnnualAccountSearchOK with default headers values
func (*LedgerAnnualAccountSearchOK) Error ¶
func (o *LedgerAnnualAccountSearchOK) Error() string
func (*LedgerAnnualAccountSearchOK) GetPayload ¶
func (o *LedgerAnnualAccountSearchOK) GetPayload() *models.ListResponseAnnualAccount
type LedgerAnnualAccountSearchParams ¶
type LedgerAnnualAccountSearchParams 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 /*Sorting Sorting pattern */ Sorting *string /*YearFrom From and including */ YearFrom *int32 /*YearTo To and excluding */ YearTo *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerAnnualAccountSearchParams contains all the parameters to send to the API endpoint for the ledger annual account search operation typically these are written to a http.Request
func NewLedgerAnnualAccountSearchParams ¶
func NewLedgerAnnualAccountSearchParams() *LedgerAnnualAccountSearchParams
NewLedgerAnnualAccountSearchParams creates a new LedgerAnnualAccountSearchParams object with the default values initialized.
func NewLedgerAnnualAccountSearchParamsWithContext ¶
func NewLedgerAnnualAccountSearchParamsWithContext(ctx context.Context) *LedgerAnnualAccountSearchParams
NewLedgerAnnualAccountSearchParamsWithContext creates a new LedgerAnnualAccountSearchParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerAnnualAccountSearchParamsWithHTTPClient ¶
func NewLedgerAnnualAccountSearchParamsWithHTTPClient(client *http.Client) *LedgerAnnualAccountSearchParams
NewLedgerAnnualAccountSearchParamsWithHTTPClient creates a new LedgerAnnualAccountSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerAnnualAccountSearchParamsWithTimeout ¶
func NewLedgerAnnualAccountSearchParamsWithTimeout(timeout time.Duration) *LedgerAnnualAccountSearchParams
NewLedgerAnnualAccountSearchParamsWithTimeout creates a new LedgerAnnualAccountSearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerAnnualAccountSearchParams) SetContext ¶
func (o *LedgerAnnualAccountSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger annual account search params
func (*LedgerAnnualAccountSearchParams) SetCount ¶
func (o *LedgerAnnualAccountSearchParams) SetCount(count *int64)
SetCount adds the count to the ledger annual account search params
func (*LedgerAnnualAccountSearchParams) SetFields ¶
func (o *LedgerAnnualAccountSearchParams) SetFields(fields *string)
SetFields adds the fields to the ledger annual account search params
func (*LedgerAnnualAccountSearchParams) SetFrom ¶
func (o *LedgerAnnualAccountSearchParams) SetFrom(from *int64)
SetFrom adds the from to the ledger annual account search params
func (*LedgerAnnualAccountSearchParams) SetHTTPClient ¶
func (o *LedgerAnnualAccountSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger annual account search params
func (*LedgerAnnualAccountSearchParams) SetID ¶
func (o *LedgerAnnualAccountSearchParams) SetID(id *string)
SetID adds the id to the ledger annual account search params
func (*LedgerAnnualAccountSearchParams) SetSorting ¶
func (o *LedgerAnnualAccountSearchParams) SetSorting(sorting *string)
SetSorting adds the sorting to the ledger annual account search params
func (*LedgerAnnualAccountSearchParams) SetTimeout ¶
func (o *LedgerAnnualAccountSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger annual account search params
func (*LedgerAnnualAccountSearchParams) SetYearFrom ¶
func (o *LedgerAnnualAccountSearchParams) SetYearFrom(yearFrom *int32)
SetYearFrom adds the yearFrom to the ledger annual account search params
func (*LedgerAnnualAccountSearchParams) SetYearTo ¶
func (o *LedgerAnnualAccountSearchParams) SetYearTo(yearTo *int32)
SetYearTo adds the yearTo to the ledger annual account search params
func (*LedgerAnnualAccountSearchParams) WithContext ¶
func (o *LedgerAnnualAccountSearchParams) WithContext(ctx context.Context) *LedgerAnnualAccountSearchParams
WithContext adds the context to the ledger annual account search params
func (*LedgerAnnualAccountSearchParams) WithCount ¶
func (o *LedgerAnnualAccountSearchParams) WithCount(count *int64) *LedgerAnnualAccountSearchParams
WithCount adds the count to the ledger annual account search params
func (*LedgerAnnualAccountSearchParams) WithFields ¶
func (o *LedgerAnnualAccountSearchParams) WithFields(fields *string) *LedgerAnnualAccountSearchParams
WithFields adds the fields to the ledger annual account search params
func (*LedgerAnnualAccountSearchParams) WithFrom ¶
func (o *LedgerAnnualAccountSearchParams) WithFrom(from *int64) *LedgerAnnualAccountSearchParams
WithFrom adds the from to the ledger annual account search params
func (*LedgerAnnualAccountSearchParams) WithHTTPClient ¶
func (o *LedgerAnnualAccountSearchParams) WithHTTPClient(client *http.Client) *LedgerAnnualAccountSearchParams
WithHTTPClient adds the HTTPClient to the ledger annual account search params
func (*LedgerAnnualAccountSearchParams) WithID ¶
func (o *LedgerAnnualAccountSearchParams) WithID(id *string) *LedgerAnnualAccountSearchParams
WithID adds the id to the ledger annual account search params
func (*LedgerAnnualAccountSearchParams) WithSorting ¶
func (o *LedgerAnnualAccountSearchParams) WithSorting(sorting *string) *LedgerAnnualAccountSearchParams
WithSorting adds the sorting to the ledger annual account search params
func (*LedgerAnnualAccountSearchParams) WithTimeout ¶
func (o *LedgerAnnualAccountSearchParams) WithTimeout(timeout time.Duration) *LedgerAnnualAccountSearchParams
WithTimeout adds the timeout to the ledger annual account search params
func (*LedgerAnnualAccountSearchParams) WithYearFrom ¶
func (o *LedgerAnnualAccountSearchParams) WithYearFrom(yearFrom *int32) *LedgerAnnualAccountSearchParams
WithYearFrom adds the yearFrom to the ledger annual account search params
func (*LedgerAnnualAccountSearchParams) WithYearTo ¶
func (o *LedgerAnnualAccountSearchParams) WithYearTo(yearTo *int32) *LedgerAnnualAccountSearchParams
WithYearTo adds the yearTo to the ledger annual account search params
func (*LedgerAnnualAccountSearchParams) WriteToRequest ¶
func (o *LedgerAnnualAccountSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerAnnualAccountSearchReader ¶
type LedgerAnnualAccountSearchReader struct {
// contains filtered or unexported fields
}
LedgerAnnualAccountSearchReader is a Reader for the LedgerAnnualAccountSearch structure.
func (*LedgerAnnualAccountSearchReader) ReadResponse ¶
func (o *LedgerAnnualAccountSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.