Documentation ¶
Index ¶
- type Client
- func (a *Client) LedgerAccountingPeriodGet(params *LedgerAccountingPeriodGetParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAccountingPeriodGetOK, error)
- func (a *Client) LedgerAccountingPeriodSearch(params *LedgerAccountingPeriodSearchParams, ...) (*LedgerAccountingPeriodSearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type LedgerAccountingPeriodGetOK
- type LedgerAccountingPeriodGetParams
- func NewLedgerAccountingPeriodGetParams() *LedgerAccountingPeriodGetParams
- func NewLedgerAccountingPeriodGetParamsWithContext(ctx context.Context) *LedgerAccountingPeriodGetParams
- func NewLedgerAccountingPeriodGetParamsWithHTTPClient(client *http.Client) *LedgerAccountingPeriodGetParams
- func NewLedgerAccountingPeriodGetParamsWithTimeout(timeout time.Duration) *LedgerAccountingPeriodGetParams
- func (o *LedgerAccountingPeriodGetParams) SetContext(ctx context.Context)
- func (o *LedgerAccountingPeriodGetParams) SetFields(fields *string)
- func (o *LedgerAccountingPeriodGetParams) SetHTTPClient(client *http.Client)
- func (o *LedgerAccountingPeriodGetParams) SetID(id int32)
- func (o *LedgerAccountingPeriodGetParams) SetTimeout(timeout time.Duration)
- func (o *LedgerAccountingPeriodGetParams) WithContext(ctx context.Context) *LedgerAccountingPeriodGetParams
- func (o *LedgerAccountingPeriodGetParams) WithFields(fields *string) *LedgerAccountingPeriodGetParams
- func (o *LedgerAccountingPeriodGetParams) WithHTTPClient(client *http.Client) *LedgerAccountingPeriodGetParams
- func (o *LedgerAccountingPeriodGetParams) WithID(id int32) *LedgerAccountingPeriodGetParams
- func (o *LedgerAccountingPeriodGetParams) WithTimeout(timeout time.Duration) *LedgerAccountingPeriodGetParams
- func (o *LedgerAccountingPeriodGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerAccountingPeriodGetReader
- type LedgerAccountingPeriodSearchOK
- type LedgerAccountingPeriodSearchParams
- func NewLedgerAccountingPeriodSearchParams() *LedgerAccountingPeriodSearchParams
- func NewLedgerAccountingPeriodSearchParamsWithContext(ctx context.Context) *LedgerAccountingPeriodSearchParams
- func NewLedgerAccountingPeriodSearchParamsWithHTTPClient(client *http.Client) *LedgerAccountingPeriodSearchParams
- func NewLedgerAccountingPeriodSearchParamsWithTimeout(timeout time.Duration) *LedgerAccountingPeriodSearchParams
- func (o *LedgerAccountingPeriodSearchParams) SetContext(ctx context.Context)
- func (o *LedgerAccountingPeriodSearchParams) SetCount(count *int32)
- func (o *LedgerAccountingPeriodSearchParams) SetEndFrom(endFrom *string)
- func (o *LedgerAccountingPeriodSearchParams) SetEndTo(endTo *string)
- func (o *LedgerAccountingPeriodSearchParams) SetFields(fields *string)
- func (o *LedgerAccountingPeriodSearchParams) SetFrom(from *int64)
- func (o *LedgerAccountingPeriodSearchParams) SetHTTPClient(client *http.Client)
- func (o *LedgerAccountingPeriodSearchParams) SetID(id *string)
- func (o *LedgerAccountingPeriodSearchParams) SetNumberFrom(numberFrom *int32)
- func (o *LedgerAccountingPeriodSearchParams) SetNumberTo(numberTo *int32)
- func (o *LedgerAccountingPeriodSearchParams) SetSorting(sorting *string)
- func (o *LedgerAccountingPeriodSearchParams) SetStartFrom(startFrom *string)
- func (o *LedgerAccountingPeriodSearchParams) SetStartTo(startTo *string)
- func (o *LedgerAccountingPeriodSearchParams) SetTimeout(timeout time.Duration)
- func (o *LedgerAccountingPeriodSearchParams) WithContext(ctx context.Context) *LedgerAccountingPeriodSearchParams
- func (o *LedgerAccountingPeriodSearchParams) WithCount(count *int32) *LedgerAccountingPeriodSearchParams
- func (o *LedgerAccountingPeriodSearchParams) WithEndFrom(endFrom *string) *LedgerAccountingPeriodSearchParams
- func (o *LedgerAccountingPeriodSearchParams) WithEndTo(endTo *string) *LedgerAccountingPeriodSearchParams
- func (o *LedgerAccountingPeriodSearchParams) WithFields(fields *string) *LedgerAccountingPeriodSearchParams
- func (o *LedgerAccountingPeriodSearchParams) WithFrom(from *int64) *LedgerAccountingPeriodSearchParams
- func (o *LedgerAccountingPeriodSearchParams) WithHTTPClient(client *http.Client) *LedgerAccountingPeriodSearchParams
- func (o *LedgerAccountingPeriodSearchParams) WithID(id *string) *LedgerAccountingPeriodSearchParams
- func (o *LedgerAccountingPeriodSearchParams) WithNumberFrom(numberFrom *int32) *LedgerAccountingPeriodSearchParams
- func (o *LedgerAccountingPeriodSearchParams) WithNumberTo(numberTo *int32) *LedgerAccountingPeriodSearchParams
- func (o *LedgerAccountingPeriodSearchParams) WithSorting(sorting *string) *LedgerAccountingPeriodSearchParams
- func (o *LedgerAccountingPeriodSearchParams) WithStartFrom(startFrom *string) *LedgerAccountingPeriodSearchParams
- func (o *LedgerAccountingPeriodSearchParams) WithStartTo(startTo *string) *LedgerAccountingPeriodSearchParams
- func (o *LedgerAccountingPeriodSearchParams) WithTimeout(timeout time.Duration) *LedgerAccountingPeriodSearchParams
- func (o *LedgerAccountingPeriodSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerAccountingPeriodSearchReader
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 accounting period API
func (*Client) LedgerAccountingPeriodGet ¶
func (a *Client) LedgerAccountingPeriodGet(params *LedgerAccountingPeriodGetParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAccountingPeriodGetOK, error)
LedgerAccountingPeriodGet gets accounting period by ID
func (*Client) LedgerAccountingPeriodSearch ¶
func (a *Client) LedgerAccountingPeriodSearch(params *LedgerAccountingPeriodSearchParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAccountingPeriodSearchOK, error)
LedgerAccountingPeriodSearch finds accounting periods 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 { LedgerAccountingPeriodGet(params *LedgerAccountingPeriodGetParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAccountingPeriodGetOK, error) LedgerAccountingPeriodSearch(params *LedgerAccountingPeriodSearchParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAccountingPeriodSearchOK, 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 accounting period API client.
type LedgerAccountingPeriodGetOK ¶
type LedgerAccountingPeriodGetOK struct {
Payload *models.ResponseWrapperAccountingPeriod
}
LedgerAccountingPeriodGetOK handles this case with default header values.
successful operation
func NewLedgerAccountingPeriodGetOK ¶
func NewLedgerAccountingPeriodGetOK() *LedgerAccountingPeriodGetOK
NewLedgerAccountingPeriodGetOK creates a LedgerAccountingPeriodGetOK with default headers values
func (*LedgerAccountingPeriodGetOK) Error ¶
func (o *LedgerAccountingPeriodGetOK) Error() string
func (*LedgerAccountingPeriodGetOK) GetPayload ¶
func (o *LedgerAccountingPeriodGetOK) GetPayload() *models.ResponseWrapperAccountingPeriod
type LedgerAccountingPeriodGetParams ¶
type LedgerAccountingPeriodGetParams struct { /*Fields Fields filter pattern */ Fields *string /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerAccountingPeriodGetParams contains all the parameters to send to the API endpoint for the ledger accounting period get operation typically these are written to a http.Request
func NewLedgerAccountingPeriodGetParams ¶
func NewLedgerAccountingPeriodGetParams() *LedgerAccountingPeriodGetParams
NewLedgerAccountingPeriodGetParams creates a new LedgerAccountingPeriodGetParams object with the default values initialized.
func NewLedgerAccountingPeriodGetParamsWithContext ¶
func NewLedgerAccountingPeriodGetParamsWithContext(ctx context.Context) *LedgerAccountingPeriodGetParams
NewLedgerAccountingPeriodGetParamsWithContext creates a new LedgerAccountingPeriodGetParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerAccountingPeriodGetParamsWithHTTPClient ¶
func NewLedgerAccountingPeriodGetParamsWithHTTPClient(client *http.Client) *LedgerAccountingPeriodGetParams
NewLedgerAccountingPeriodGetParamsWithHTTPClient creates a new LedgerAccountingPeriodGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerAccountingPeriodGetParamsWithTimeout ¶
func NewLedgerAccountingPeriodGetParamsWithTimeout(timeout time.Duration) *LedgerAccountingPeriodGetParams
NewLedgerAccountingPeriodGetParamsWithTimeout creates a new LedgerAccountingPeriodGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerAccountingPeriodGetParams) SetContext ¶
func (o *LedgerAccountingPeriodGetParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger accounting period get params
func (*LedgerAccountingPeriodGetParams) SetFields ¶
func (o *LedgerAccountingPeriodGetParams) SetFields(fields *string)
SetFields adds the fields to the ledger accounting period get params
func (*LedgerAccountingPeriodGetParams) SetHTTPClient ¶
func (o *LedgerAccountingPeriodGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger accounting period get params
func (*LedgerAccountingPeriodGetParams) SetID ¶
func (o *LedgerAccountingPeriodGetParams) SetID(id int32)
SetID adds the id to the ledger accounting period get params
func (*LedgerAccountingPeriodGetParams) SetTimeout ¶
func (o *LedgerAccountingPeriodGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger accounting period get params
func (*LedgerAccountingPeriodGetParams) WithContext ¶
func (o *LedgerAccountingPeriodGetParams) WithContext(ctx context.Context) *LedgerAccountingPeriodGetParams
WithContext adds the context to the ledger accounting period get params
func (*LedgerAccountingPeriodGetParams) WithFields ¶
func (o *LedgerAccountingPeriodGetParams) WithFields(fields *string) *LedgerAccountingPeriodGetParams
WithFields adds the fields to the ledger accounting period get params
func (*LedgerAccountingPeriodGetParams) WithHTTPClient ¶
func (o *LedgerAccountingPeriodGetParams) WithHTTPClient(client *http.Client) *LedgerAccountingPeriodGetParams
WithHTTPClient adds the HTTPClient to the ledger accounting period get params
func (*LedgerAccountingPeriodGetParams) WithID ¶
func (o *LedgerAccountingPeriodGetParams) WithID(id int32) *LedgerAccountingPeriodGetParams
WithID adds the id to the ledger accounting period get params
func (*LedgerAccountingPeriodGetParams) WithTimeout ¶
func (o *LedgerAccountingPeriodGetParams) WithTimeout(timeout time.Duration) *LedgerAccountingPeriodGetParams
WithTimeout adds the timeout to the ledger accounting period get params
func (*LedgerAccountingPeriodGetParams) WriteToRequest ¶
func (o *LedgerAccountingPeriodGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerAccountingPeriodGetReader ¶
type LedgerAccountingPeriodGetReader struct {
// contains filtered or unexported fields
}
LedgerAccountingPeriodGetReader is a Reader for the LedgerAccountingPeriodGet structure.
func (*LedgerAccountingPeriodGetReader) ReadResponse ¶
func (o *LedgerAccountingPeriodGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LedgerAccountingPeriodSearchOK ¶
type LedgerAccountingPeriodSearchOK struct {
Payload *models.ListResponseAccountingPeriod
}
LedgerAccountingPeriodSearchOK handles this case with default header values.
successful operation
func NewLedgerAccountingPeriodSearchOK ¶
func NewLedgerAccountingPeriodSearchOK() *LedgerAccountingPeriodSearchOK
NewLedgerAccountingPeriodSearchOK creates a LedgerAccountingPeriodSearchOK with default headers values
func (*LedgerAccountingPeriodSearchOK) Error ¶
func (o *LedgerAccountingPeriodSearchOK) Error() string
func (*LedgerAccountingPeriodSearchOK) GetPayload ¶
func (o *LedgerAccountingPeriodSearchOK) GetPayload() *models.ListResponseAccountingPeriod
type LedgerAccountingPeriodSearchParams ¶
type LedgerAccountingPeriodSearchParams struct { /*Count Number of elements to return */ Count *int32 /*EndFrom From and including */ EndFrom *string /*EndTo To and excluding */ EndTo *string /*Fields Fields filter pattern */ Fields *string /*From From index */ From *int64 /*ID List of IDs */ ID *string /*NumberFrom From and including */ NumberFrom *int32 /*NumberTo To and excluding */ NumberTo *int32 /*Sorting Sorting pattern */ Sorting *string /*StartFrom From and including */ StartFrom *string /*StartTo To and excluding */ StartTo *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerAccountingPeriodSearchParams contains all the parameters to send to the API endpoint for the ledger accounting period search operation typically these are written to a http.Request
func NewLedgerAccountingPeriodSearchParams ¶
func NewLedgerAccountingPeriodSearchParams() *LedgerAccountingPeriodSearchParams
NewLedgerAccountingPeriodSearchParams creates a new LedgerAccountingPeriodSearchParams object with the default values initialized.
func NewLedgerAccountingPeriodSearchParamsWithContext ¶
func NewLedgerAccountingPeriodSearchParamsWithContext(ctx context.Context) *LedgerAccountingPeriodSearchParams
NewLedgerAccountingPeriodSearchParamsWithContext creates a new LedgerAccountingPeriodSearchParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerAccountingPeriodSearchParamsWithHTTPClient ¶
func NewLedgerAccountingPeriodSearchParamsWithHTTPClient(client *http.Client) *LedgerAccountingPeriodSearchParams
NewLedgerAccountingPeriodSearchParamsWithHTTPClient creates a new LedgerAccountingPeriodSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerAccountingPeriodSearchParamsWithTimeout ¶
func NewLedgerAccountingPeriodSearchParamsWithTimeout(timeout time.Duration) *LedgerAccountingPeriodSearchParams
NewLedgerAccountingPeriodSearchParamsWithTimeout creates a new LedgerAccountingPeriodSearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerAccountingPeriodSearchParams) SetContext ¶
func (o *LedgerAccountingPeriodSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger accounting period search params
func (*LedgerAccountingPeriodSearchParams) SetCount ¶
func (o *LedgerAccountingPeriodSearchParams) SetCount(count *int32)
SetCount adds the count to the ledger accounting period search params
func (*LedgerAccountingPeriodSearchParams) SetEndFrom ¶
func (o *LedgerAccountingPeriodSearchParams) SetEndFrom(endFrom *string)
SetEndFrom adds the endFrom to the ledger accounting period search params
func (*LedgerAccountingPeriodSearchParams) SetEndTo ¶
func (o *LedgerAccountingPeriodSearchParams) SetEndTo(endTo *string)
SetEndTo adds the endTo to the ledger accounting period search params
func (*LedgerAccountingPeriodSearchParams) SetFields ¶
func (o *LedgerAccountingPeriodSearchParams) SetFields(fields *string)
SetFields adds the fields to the ledger accounting period search params
func (*LedgerAccountingPeriodSearchParams) SetFrom ¶
func (o *LedgerAccountingPeriodSearchParams) SetFrom(from *int64)
SetFrom adds the from to the ledger accounting period search params
func (*LedgerAccountingPeriodSearchParams) SetHTTPClient ¶
func (o *LedgerAccountingPeriodSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger accounting period search params
func (*LedgerAccountingPeriodSearchParams) SetID ¶
func (o *LedgerAccountingPeriodSearchParams) SetID(id *string)
SetID adds the id to the ledger accounting period search params
func (*LedgerAccountingPeriodSearchParams) SetNumberFrom ¶
func (o *LedgerAccountingPeriodSearchParams) SetNumberFrom(numberFrom *int32)
SetNumberFrom adds the numberFrom to the ledger accounting period search params
func (*LedgerAccountingPeriodSearchParams) SetNumberTo ¶
func (o *LedgerAccountingPeriodSearchParams) SetNumberTo(numberTo *int32)
SetNumberTo adds the numberTo to the ledger accounting period search params
func (*LedgerAccountingPeriodSearchParams) SetSorting ¶
func (o *LedgerAccountingPeriodSearchParams) SetSorting(sorting *string)
SetSorting adds the sorting to the ledger accounting period search params
func (*LedgerAccountingPeriodSearchParams) SetStartFrom ¶
func (o *LedgerAccountingPeriodSearchParams) SetStartFrom(startFrom *string)
SetStartFrom adds the startFrom to the ledger accounting period search params
func (*LedgerAccountingPeriodSearchParams) SetStartTo ¶
func (o *LedgerAccountingPeriodSearchParams) SetStartTo(startTo *string)
SetStartTo adds the startTo to the ledger accounting period search params
func (*LedgerAccountingPeriodSearchParams) SetTimeout ¶
func (o *LedgerAccountingPeriodSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger accounting period search params
func (*LedgerAccountingPeriodSearchParams) WithContext ¶
func (o *LedgerAccountingPeriodSearchParams) WithContext(ctx context.Context) *LedgerAccountingPeriodSearchParams
WithContext adds the context to the ledger accounting period search params
func (*LedgerAccountingPeriodSearchParams) WithCount ¶
func (o *LedgerAccountingPeriodSearchParams) WithCount(count *int32) *LedgerAccountingPeriodSearchParams
WithCount adds the count to the ledger accounting period search params
func (*LedgerAccountingPeriodSearchParams) WithEndFrom ¶
func (o *LedgerAccountingPeriodSearchParams) WithEndFrom(endFrom *string) *LedgerAccountingPeriodSearchParams
WithEndFrom adds the endFrom to the ledger accounting period search params
func (*LedgerAccountingPeriodSearchParams) WithEndTo ¶
func (o *LedgerAccountingPeriodSearchParams) WithEndTo(endTo *string) *LedgerAccountingPeriodSearchParams
WithEndTo adds the endTo to the ledger accounting period search params
func (*LedgerAccountingPeriodSearchParams) WithFields ¶
func (o *LedgerAccountingPeriodSearchParams) WithFields(fields *string) *LedgerAccountingPeriodSearchParams
WithFields adds the fields to the ledger accounting period search params
func (*LedgerAccountingPeriodSearchParams) WithFrom ¶
func (o *LedgerAccountingPeriodSearchParams) WithFrom(from *int64) *LedgerAccountingPeriodSearchParams
WithFrom adds the from to the ledger accounting period search params
func (*LedgerAccountingPeriodSearchParams) WithHTTPClient ¶
func (o *LedgerAccountingPeriodSearchParams) WithHTTPClient(client *http.Client) *LedgerAccountingPeriodSearchParams
WithHTTPClient adds the HTTPClient to the ledger accounting period search params
func (*LedgerAccountingPeriodSearchParams) WithID ¶
func (o *LedgerAccountingPeriodSearchParams) WithID(id *string) *LedgerAccountingPeriodSearchParams
WithID adds the id to the ledger accounting period search params
func (*LedgerAccountingPeriodSearchParams) WithNumberFrom ¶
func (o *LedgerAccountingPeriodSearchParams) WithNumberFrom(numberFrom *int32) *LedgerAccountingPeriodSearchParams
WithNumberFrom adds the numberFrom to the ledger accounting period search params
func (*LedgerAccountingPeriodSearchParams) WithNumberTo ¶
func (o *LedgerAccountingPeriodSearchParams) WithNumberTo(numberTo *int32) *LedgerAccountingPeriodSearchParams
WithNumberTo adds the numberTo to the ledger accounting period search params
func (*LedgerAccountingPeriodSearchParams) WithSorting ¶
func (o *LedgerAccountingPeriodSearchParams) WithSorting(sorting *string) *LedgerAccountingPeriodSearchParams
WithSorting adds the sorting to the ledger accounting period search params
func (*LedgerAccountingPeriodSearchParams) WithStartFrom ¶
func (o *LedgerAccountingPeriodSearchParams) WithStartFrom(startFrom *string) *LedgerAccountingPeriodSearchParams
WithStartFrom adds the startFrom to the ledger accounting period search params
func (*LedgerAccountingPeriodSearchParams) WithStartTo ¶
func (o *LedgerAccountingPeriodSearchParams) WithStartTo(startTo *string) *LedgerAccountingPeriodSearchParams
WithStartTo adds the startTo to the ledger accounting period search params
func (*LedgerAccountingPeriodSearchParams) WithTimeout ¶
func (o *LedgerAccountingPeriodSearchParams) WithTimeout(timeout time.Duration) *LedgerAccountingPeriodSearchParams
WithTimeout adds the timeout to the ledger accounting period search params
func (*LedgerAccountingPeriodSearchParams) WriteToRequest ¶
func (o *LedgerAccountingPeriodSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerAccountingPeriodSearchReader ¶
type LedgerAccountingPeriodSearchReader struct {
// contains filtered or unexported fields
}
LedgerAccountingPeriodSearchReader is a Reader for the LedgerAccountingPeriodSearch structure.
func (*LedgerAccountingPeriodSearchReader) ReadResponse ¶
func (o *LedgerAccountingPeriodSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.