Documentation ¶
Index ¶
- type Client
- func (a *Client) LedgerVatTypeGet(params *LedgerVatTypeGetParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVatTypeGetOK, error)
- func (a *Client) LedgerVatTypeSearch(params *LedgerVatTypeSearchParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVatTypeSearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type LedgerVatTypeGetOK
- type LedgerVatTypeGetParams
- func NewLedgerVatTypeGetParams() *LedgerVatTypeGetParams
- func NewLedgerVatTypeGetParamsWithContext(ctx context.Context) *LedgerVatTypeGetParams
- func NewLedgerVatTypeGetParamsWithHTTPClient(client *http.Client) *LedgerVatTypeGetParams
- func NewLedgerVatTypeGetParamsWithTimeout(timeout time.Duration) *LedgerVatTypeGetParams
- func (o *LedgerVatTypeGetParams) SetContext(ctx context.Context)
- func (o *LedgerVatTypeGetParams) SetFields(fields *string)
- func (o *LedgerVatTypeGetParams) SetHTTPClient(client *http.Client)
- func (o *LedgerVatTypeGetParams) SetID(id int32)
- func (o *LedgerVatTypeGetParams) SetTimeout(timeout time.Duration)
- func (o *LedgerVatTypeGetParams) WithContext(ctx context.Context) *LedgerVatTypeGetParams
- func (o *LedgerVatTypeGetParams) WithFields(fields *string) *LedgerVatTypeGetParams
- func (o *LedgerVatTypeGetParams) WithHTTPClient(client *http.Client) *LedgerVatTypeGetParams
- func (o *LedgerVatTypeGetParams) WithID(id int32) *LedgerVatTypeGetParams
- func (o *LedgerVatTypeGetParams) WithTimeout(timeout time.Duration) *LedgerVatTypeGetParams
- func (o *LedgerVatTypeGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerVatTypeGetReader
- type LedgerVatTypeSearchOK
- type LedgerVatTypeSearchParams
- func NewLedgerVatTypeSearchParams() *LedgerVatTypeSearchParams
- func NewLedgerVatTypeSearchParamsWithContext(ctx context.Context) *LedgerVatTypeSearchParams
- func NewLedgerVatTypeSearchParamsWithHTTPClient(client *http.Client) *LedgerVatTypeSearchParams
- func NewLedgerVatTypeSearchParamsWithTimeout(timeout time.Duration) *LedgerVatTypeSearchParams
- func (o *LedgerVatTypeSearchParams) SetContext(ctx context.Context)
- func (o *LedgerVatTypeSearchParams) SetCount(count *int64)
- func (o *LedgerVatTypeSearchParams) SetFields(fields *string)
- func (o *LedgerVatTypeSearchParams) SetFrom(from *int64)
- func (o *LedgerVatTypeSearchParams) SetHTTPClient(client *http.Client)
- func (o *LedgerVatTypeSearchParams) SetID(id *string)
- func (o *LedgerVatTypeSearchParams) SetNumber(number *string)
- func (o *LedgerVatTypeSearchParams) SetSorting(sorting *string)
- func (o *LedgerVatTypeSearchParams) SetTimeout(timeout time.Duration)
- func (o *LedgerVatTypeSearchParams) WithContext(ctx context.Context) *LedgerVatTypeSearchParams
- func (o *LedgerVatTypeSearchParams) WithCount(count *int64) *LedgerVatTypeSearchParams
- func (o *LedgerVatTypeSearchParams) WithFields(fields *string) *LedgerVatTypeSearchParams
- func (o *LedgerVatTypeSearchParams) WithFrom(from *int64) *LedgerVatTypeSearchParams
- func (o *LedgerVatTypeSearchParams) WithHTTPClient(client *http.Client) *LedgerVatTypeSearchParams
- func (o *LedgerVatTypeSearchParams) WithID(id *string) *LedgerVatTypeSearchParams
- func (o *LedgerVatTypeSearchParams) WithNumber(number *string) *LedgerVatTypeSearchParams
- func (o *LedgerVatTypeSearchParams) WithSorting(sorting *string) *LedgerVatTypeSearchParams
- func (o *LedgerVatTypeSearchParams) WithTimeout(timeout time.Duration) *LedgerVatTypeSearchParams
- func (o *LedgerVatTypeSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerVatTypeSearchReader
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 vat type API
func (*Client) LedgerVatTypeGet ¶
func (a *Client) LedgerVatTypeGet(params *LedgerVatTypeGetParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVatTypeGetOK, error)
LedgerVatTypeGet gets vat type by ID
func (*Client) LedgerVatTypeSearch ¶
func (a *Client) LedgerVatTypeSearch(params *LedgerVatTypeSearchParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVatTypeSearchOK, error)
LedgerVatTypeSearch finds vat types 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 { LedgerVatTypeGet(params *LedgerVatTypeGetParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVatTypeGetOK, error) LedgerVatTypeSearch(params *LedgerVatTypeSearchParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVatTypeSearchOK, 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 vat type API client.
type LedgerVatTypeGetOK ¶
type LedgerVatTypeGetOK struct {
Payload *models.ResponseWrapperVatType
}
LedgerVatTypeGetOK handles this case with default header values.
successful operation
func NewLedgerVatTypeGetOK ¶
func NewLedgerVatTypeGetOK() *LedgerVatTypeGetOK
NewLedgerVatTypeGetOK creates a LedgerVatTypeGetOK with default headers values
func (*LedgerVatTypeGetOK) Error ¶
func (o *LedgerVatTypeGetOK) Error() string
func (*LedgerVatTypeGetOK) GetPayload ¶
func (o *LedgerVatTypeGetOK) GetPayload() *models.ResponseWrapperVatType
type LedgerVatTypeGetParams ¶
type LedgerVatTypeGetParams struct { /*Fields Fields filter pattern */ Fields *string /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerVatTypeGetParams contains all the parameters to send to the API endpoint for the ledger vat type get operation typically these are written to a http.Request
func NewLedgerVatTypeGetParams ¶
func NewLedgerVatTypeGetParams() *LedgerVatTypeGetParams
NewLedgerVatTypeGetParams creates a new LedgerVatTypeGetParams object with the default values initialized.
func NewLedgerVatTypeGetParamsWithContext ¶
func NewLedgerVatTypeGetParamsWithContext(ctx context.Context) *LedgerVatTypeGetParams
NewLedgerVatTypeGetParamsWithContext creates a new LedgerVatTypeGetParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerVatTypeGetParamsWithHTTPClient ¶
func NewLedgerVatTypeGetParamsWithHTTPClient(client *http.Client) *LedgerVatTypeGetParams
NewLedgerVatTypeGetParamsWithHTTPClient creates a new LedgerVatTypeGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerVatTypeGetParamsWithTimeout ¶
func NewLedgerVatTypeGetParamsWithTimeout(timeout time.Duration) *LedgerVatTypeGetParams
NewLedgerVatTypeGetParamsWithTimeout creates a new LedgerVatTypeGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerVatTypeGetParams) SetContext ¶
func (o *LedgerVatTypeGetParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger vat type get params
func (*LedgerVatTypeGetParams) SetFields ¶
func (o *LedgerVatTypeGetParams) SetFields(fields *string)
SetFields adds the fields to the ledger vat type get params
func (*LedgerVatTypeGetParams) SetHTTPClient ¶
func (o *LedgerVatTypeGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger vat type get params
func (*LedgerVatTypeGetParams) SetID ¶
func (o *LedgerVatTypeGetParams) SetID(id int32)
SetID adds the id to the ledger vat type get params
func (*LedgerVatTypeGetParams) SetTimeout ¶
func (o *LedgerVatTypeGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger vat type get params
func (*LedgerVatTypeGetParams) WithContext ¶
func (o *LedgerVatTypeGetParams) WithContext(ctx context.Context) *LedgerVatTypeGetParams
WithContext adds the context to the ledger vat type get params
func (*LedgerVatTypeGetParams) WithFields ¶
func (o *LedgerVatTypeGetParams) WithFields(fields *string) *LedgerVatTypeGetParams
WithFields adds the fields to the ledger vat type get params
func (*LedgerVatTypeGetParams) WithHTTPClient ¶
func (o *LedgerVatTypeGetParams) WithHTTPClient(client *http.Client) *LedgerVatTypeGetParams
WithHTTPClient adds the HTTPClient to the ledger vat type get params
func (*LedgerVatTypeGetParams) WithID ¶
func (o *LedgerVatTypeGetParams) WithID(id int32) *LedgerVatTypeGetParams
WithID adds the id to the ledger vat type get params
func (*LedgerVatTypeGetParams) WithTimeout ¶
func (o *LedgerVatTypeGetParams) WithTimeout(timeout time.Duration) *LedgerVatTypeGetParams
WithTimeout adds the timeout to the ledger vat type get params
func (*LedgerVatTypeGetParams) WriteToRequest ¶
func (o *LedgerVatTypeGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerVatTypeGetReader ¶
type LedgerVatTypeGetReader struct {
// contains filtered or unexported fields
}
LedgerVatTypeGetReader is a Reader for the LedgerVatTypeGet structure.
func (*LedgerVatTypeGetReader) ReadResponse ¶
func (o *LedgerVatTypeGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LedgerVatTypeSearchOK ¶
type LedgerVatTypeSearchOK struct {
Payload *models.ListResponseVatType
}
LedgerVatTypeSearchOK handles this case with default header values.
successful operation
func NewLedgerVatTypeSearchOK ¶
func NewLedgerVatTypeSearchOK() *LedgerVatTypeSearchOK
NewLedgerVatTypeSearchOK creates a LedgerVatTypeSearchOK with default headers values
func (*LedgerVatTypeSearchOK) Error ¶
func (o *LedgerVatTypeSearchOK) Error() string
func (*LedgerVatTypeSearchOK) GetPayload ¶
func (o *LedgerVatTypeSearchOK) GetPayload() *models.ListResponseVatType
type LedgerVatTypeSearchParams ¶
type LedgerVatTypeSearchParams 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 /*Number List of IDs */ Number *string /*Sorting Sorting pattern */ Sorting *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerVatTypeSearchParams contains all the parameters to send to the API endpoint for the ledger vat type search operation typically these are written to a http.Request
func NewLedgerVatTypeSearchParams ¶
func NewLedgerVatTypeSearchParams() *LedgerVatTypeSearchParams
NewLedgerVatTypeSearchParams creates a new LedgerVatTypeSearchParams object with the default values initialized.
func NewLedgerVatTypeSearchParamsWithContext ¶
func NewLedgerVatTypeSearchParamsWithContext(ctx context.Context) *LedgerVatTypeSearchParams
NewLedgerVatTypeSearchParamsWithContext creates a new LedgerVatTypeSearchParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerVatTypeSearchParamsWithHTTPClient ¶
func NewLedgerVatTypeSearchParamsWithHTTPClient(client *http.Client) *LedgerVatTypeSearchParams
NewLedgerVatTypeSearchParamsWithHTTPClient creates a new LedgerVatTypeSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerVatTypeSearchParamsWithTimeout ¶
func NewLedgerVatTypeSearchParamsWithTimeout(timeout time.Duration) *LedgerVatTypeSearchParams
NewLedgerVatTypeSearchParamsWithTimeout creates a new LedgerVatTypeSearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerVatTypeSearchParams) SetContext ¶
func (o *LedgerVatTypeSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger vat type search params
func (*LedgerVatTypeSearchParams) SetCount ¶
func (o *LedgerVatTypeSearchParams) SetCount(count *int64)
SetCount adds the count to the ledger vat type search params
func (*LedgerVatTypeSearchParams) SetFields ¶
func (o *LedgerVatTypeSearchParams) SetFields(fields *string)
SetFields adds the fields to the ledger vat type search params
func (*LedgerVatTypeSearchParams) SetFrom ¶
func (o *LedgerVatTypeSearchParams) SetFrom(from *int64)
SetFrom adds the from to the ledger vat type search params
func (*LedgerVatTypeSearchParams) SetHTTPClient ¶
func (o *LedgerVatTypeSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger vat type search params
func (*LedgerVatTypeSearchParams) SetID ¶
func (o *LedgerVatTypeSearchParams) SetID(id *string)
SetID adds the id to the ledger vat type search params
func (*LedgerVatTypeSearchParams) SetNumber ¶
func (o *LedgerVatTypeSearchParams) SetNumber(number *string)
SetNumber adds the number to the ledger vat type search params
func (*LedgerVatTypeSearchParams) SetSorting ¶
func (o *LedgerVatTypeSearchParams) SetSorting(sorting *string)
SetSorting adds the sorting to the ledger vat type search params
func (*LedgerVatTypeSearchParams) SetTimeout ¶
func (o *LedgerVatTypeSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger vat type search params
func (*LedgerVatTypeSearchParams) WithContext ¶
func (o *LedgerVatTypeSearchParams) WithContext(ctx context.Context) *LedgerVatTypeSearchParams
WithContext adds the context to the ledger vat type search params
func (*LedgerVatTypeSearchParams) WithCount ¶
func (o *LedgerVatTypeSearchParams) WithCount(count *int64) *LedgerVatTypeSearchParams
WithCount adds the count to the ledger vat type search params
func (*LedgerVatTypeSearchParams) WithFields ¶
func (o *LedgerVatTypeSearchParams) WithFields(fields *string) *LedgerVatTypeSearchParams
WithFields adds the fields to the ledger vat type search params
func (*LedgerVatTypeSearchParams) WithFrom ¶
func (o *LedgerVatTypeSearchParams) WithFrom(from *int64) *LedgerVatTypeSearchParams
WithFrom adds the from to the ledger vat type search params
func (*LedgerVatTypeSearchParams) WithHTTPClient ¶
func (o *LedgerVatTypeSearchParams) WithHTTPClient(client *http.Client) *LedgerVatTypeSearchParams
WithHTTPClient adds the HTTPClient to the ledger vat type search params
func (*LedgerVatTypeSearchParams) WithID ¶
func (o *LedgerVatTypeSearchParams) WithID(id *string) *LedgerVatTypeSearchParams
WithID adds the id to the ledger vat type search params
func (*LedgerVatTypeSearchParams) WithNumber ¶
func (o *LedgerVatTypeSearchParams) WithNumber(number *string) *LedgerVatTypeSearchParams
WithNumber adds the number to the ledger vat type search params
func (*LedgerVatTypeSearchParams) WithSorting ¶
func (o *LedgerVatTypeSearchParams) WithSorting(sorting *string) *LedgerVatTypeSearchParams
WithSorting adds the sorting to the ledger vat type search params
func (*LedgerVatTypeSearchParams) WithTimeout ¶
func (o *LedgerVatTypeSearchParams) WithTimeout(timeout time.Duration) *LedgerVatTypeSearchParams
WithTimeout adds the timeout to the ledger vat type search params
func (*LedgerVatTypeSearchParams) WriteToRequest ¶
func (o *LedgerVatTypeSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerVatTypeSearchReader ¶
type LedgerVatTypeSearchReader struct {
// contains filtered or unexported fields
}
LedgerVatTypeSearchReader is a Reader for the LedgerVatTypeSearch structure.
func (*LedgerVatTypeSearchReader) ReadResponse ¶
func (o *LedgerVatTypeSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.