annual_account

package
v2.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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

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

WithContext adds the context to the ledger annual account get params

func (*LedgerAnnualAccountGetParams) WithFields

WithFields adds the fields to the ledger annual account get params

func (*LedgerAnnualAccountGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the ledger annual account get params

func (*LedgerAnnualAccountGetParams) WithID

WithID adds the id to the ledger annual account get params

func (*LedgerAnnualAccountGetParams) WithTimeout

WithTimeout adds the timeout to the ledger annual account get params

func (*LedgerAnnualAccountGetParams) WriteToRequest

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 (*LedgerAnnualAccountSearchOK) GetPayload

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

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

WithContext adds the context to the ledger annual account search params

func (*LedgerAnnualAccountSearchParams) WithCount

WithCount adds the count to the ledger annual account search params

func (*LedgerAnnualAccountSearchParams) WithFields

WithFields adds the fields to the ledger annual account search params

func (*LedgerAnnualAccountSearchParams) WithFrom

WithFrom adds the from to the ledger annual account search params

func (*LedgerAnnualAccountSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the ledger annual account search params

func (*LedgerAnnualAccountSearchParams) WithID

WithID adds the id to the ledger annual account search params

func (*LedgerAnnualAccountSearchParams) WithSorting

WithSorting adds the sorting to the ledger annual account search params

func (*LedgerAnnualAccountSearchParams) WithTimeout

WithTimeout adds the timeout to the ledger annual account search params

func (*LedgerAnnualAccountSearchParams) WithYearFrom

WithYearFrom adds the yearFrom to the ledger annual account search params

func (*LedgerAnnualAccountSearchParams) WithYearTo

WithYearTo adds the yearTo to the ledger annual account search params

func (*LedgerAnnualAccountSearchParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL