vat_type

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 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 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

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

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

WithID adds the id to the ledger vat type get params

func (*LedgerVatTypeGetParams) WithTimeout

WithTimeout adds the timeout to the ledger vat type get params

func (*LedgerVatTypeGetParams) WriteToRequest

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

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

WithContext adds the context to the ledger vat type search params

func (*LedgerVatTypeSearchParams) WithCount

WithCount adds the count to the ledger vat type search params

func (*LedgerVatTypeSearchParams) WithFields

WithFields adds the fields to the ledger vat type search params

func (*LedgerVatTypeSearchParams) WithFrom

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

WithID adds the id to the ledger vat type search params

func (*LedgerVatTypeSearchParams) WithNumber

WithNumber adds the number to the ledger vat type search params

func (*LedgerVatTypeSearchParams) WithSorting

WithSorting adds the sorting to the ledger vat type search params

func (*LedgerVatTypeSearchParams) WithTimeout

WithTimeout adds the timeout to the ledger vat type search params

func (*LedgerVatTypeSearchParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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