cost

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 cost API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) TravelExpenseCostDelete

func (a *Client) TravelExpenseCostDelete(params *TravelExpenseCostDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

TravelExpenseCostDelete bs e t a delete cost

func (*Client) TravelExpenseCostGet

func (a *Client) TravelExpenseCostGet(params *TravelExpenseCostGetParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseCostGetOK, error)

TravelExpenseCostGet bs e t a get cost by ID

func (*Client) TravelExpenseCostPost

func (a *Client) TravelExpenseCostPost(params *TravelExpenseCostPostParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseCostPostCreated, error)

TravelExpenseCostPost bs e t a create cost

func (*Client) TravelExpenseCostPut

func (a *Client) TravelExpenseCostPut(params *TravelExpenseCostPutParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseCostPutOK, error)

TravelExpenseCostPut bs e t a update cost

func (*Client) TravelExpenseCostSearch

func (a *Client) TravelExpenseCostSearch(params *TravelExpenseCostSearchParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseCostSearchOK, error)

TravelExpenseCostSearch bs e t a find costs corresponding with sent data

type ClientService

type ClientService interface {
	TravelExpenseCostDelete(params *TravelExpenseCostDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

	TravelExpenseCostGet(params *TravelExpenseCostGetParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseCostGetOK, error)

	TravelExpenseCostPost(params *TravelExpenseCostPostParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseCostPostCreated, error)

	TravelExpenseCostPut(params *TravelExpenseCostPutParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseCostPutOK, error)

	TravelExpenseCostSearch(params *TravelExpenseCostSearchParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseCostSearchOK, 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 cost API client.

type TravelExpenseCostDeleteDefault

type TravelExpenseCostDeleteDefault struct {
	// contains filtered or unexported fields
}

TravelExpenseCostDeleteDefault handles this case with default header values.

successful operation

func NewTravelExpenseCostDeleteDefault

func NewTravelExpenseCostDeleteDefault(code int) *TravelExpenseCostDeleteDefault

NewTravelExpenseCostDeleteDefault creates a TravelExpenseCostDeleteDefault with default headers values

func (*TravelExpenseCostDeleteDefault) Code

Code gets the status code for the travel expense cost delete default response

func (*TravelExpenseCostDeleteDefault) Error

type TravelExpenseCostDeleteParams

type TravelExpenseCostDeleteParams struct {

	/*ID
	  Element ID

	*/
	ID int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TravelExpenseCostDeleteParams contains all the parameters to send to the API endpoint for the travel expense cost delete operation typically these are written to a http.Request

func NewTravelExpenseCostDeleteParams

func NewTravelExpenseCostDeleteParams() *TravelExpenseCostDeleteParams

NewTravelExpenseCostDeleteParams creates a new TravelExpenseCostDeleteParams object with the default values initialized.

func NewTravelExpenseCostDeleteParamsWithContext

func NewTravelExpenseCostDeleteParamsWithContext(ctx context.Context) *TravelExpenseCostDeleteParams

NewTravelExpenseCostDeleteParamsWithContext creates a new TravelExpenseCostDeleteParams object with the default values initialized, and the ability to set a context for a request

func NewTravelExpenseCostDeleteParamsWithHTTPClient

func NewTravelExpenseCostDeleteParamsWithHTTPClient(client *http.Client) *TravelExpenseCostDeleteParams

NewTravelExpenseCostDeleteParamsWithHTTPClient creates a new TravelExpenseCostDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewTravelExpenseCostDeleteParamsWithTimeout

func NewTravelExpenseCostDeleteParamsWithTimeout(timeout time.Duration) *TravelExpenseCostDeleteParams

NewTravelExpenseCostDeleteParamsWithTimeout creates a new TravelExpenseCostDeleteParams object with the default values initialized, and the ability to set a timeout on a request

func (*TravelExpenseCostDeleteParams) SetContext

func (o *TravelExpenseCostDeleteParams) SetContext(ctx context.Context)

SetContext adds the context to the travel expense cost delete params

func (*TravelExpenseCostDeleteParams) SetHTTPClient

func (o *TravelExpenseCostDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the travel expense cost delete params

func (*TravelExpenseCostDeleteParams) SetID

func (o *TravelExpenseCostDeleteParams) SetID(id int32)

SetID adds the id to the travel expense cost delete params

func (*TravelExpenseCostDeleteParams) SetTimeout

func (o *TravelExpenseCostDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the travel expense cost delete params

func (*TravelExpenseCostDeleteParams) WithContext

WithContext adds the context to the travel expense cost delete params

func (*TravelExpenseCostDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the travel expense cost delete params

func (*TravelExpenseCostDeleteParams) WithID

WithID adds the id to the travel expense cost delete params

func (*TravelExpenseCostDeleteParams) WithTimeout

WithTimeout adds the timeout to the travel expense cost delete params

func (*TravelExpenseCostDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpenseCostDeleteReader

type TravelExpenseCostDeleteReader struct {
	// contains filtered or unexported fields
}

TravelExpenseCostDeleteReader is a Reader for the TravelExpenseCostDelete structure.

func (*TravelExpenseCostDeleteReader) ReadResponse

func (o *TravelExpenseCostDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TravelExpenseCostGetOK

type TravelExpenseCostGetOK struct {
	Payload *models.ResponseWrapperCost
}

TravelExpenseCostGetOK handles this case with default header values.

successful operation

func NewTravelExpenseCostGetOK

func NewTravelExpenseCostGetOK() *TravelExpenseCostGetOK

NewTravelExpenseCostGetOK creates a TravelExpenseCostGetOK with default headers values

func (*TravelExpenseCostGetOK) Error

func (o *TravelExpenseCostGetOK) Error() string

func (*TravelExpenseCostGetOK) GetPayload

type TravelExpenseCostGetParams

type TravelExpenseCostGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TravelExpenseCostGetParams contains all the parameters to send to the API endpoint for the travel expense cost get operation typically these are written to a http.Request

func NewTravelExpenseCostGetParams

func NewTravelExpenseCostGetParams() *TravelExpenseCostGetParams

NewTravelExpenseCostGetParams creates a new TravelExpenseCostGetParams object with the default values initialized.

func NewTravelExpenseCostGetParamsWithContext

func NewTravelExpenseCostGetParamsWithContext(ctx context.Context) *TravelExpenseCostGetParams

NewTravelExpenseCostGetParamsWithContext creates a new TravelExpenseCostGetParams object with the default values initialized, and the ability to set a context for a request

func NewTravelExpenseCostGetParamsWithHTTPClient

func NewTravelExpenseCostGetParamsWithHTTPClient(client *http.Client) *TravelExpenseCostGetParams

NewTravelExpenseCostGetParamsWithHTTPClient creates a new TravelExpenseCostGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewTravelExpenseCostGetParamsWithTimeout

func NewTravelExpenseCostGetParamsWithTimeout(timeout time.Duration) *TravelExpenseCostGetParams

NewTravelExpenseCostGetParamsWithTimeout creates a new TravelExpenseCostGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*TravelExpenseCostGetParams) SetContext

func (o *TravelExpenseCostGetParams) SetContext(ctx context.Context)

SetContext adds the context to the travel expense cost get params

func (*TravelExpenseCostGetParams) SetFields

func (o *TravelExpenseCostGetParams) SetFields(fields *string)

SetFields adds the fields to the travel expense cost get params

func (*TravelExpenseCostGetParams) SetHTTPClient

func (o *TravelExpenseCostGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the travel expense cost get params

func (*TravelExpenseCostGetParams) SetID

func (o *TravelExpenseCostGetParams) SetID(id int32)

SetID adds the id to the travel expense cost get params

func (*TravelExpenseCostGetParams) SetTimeout

func (o *TravelExpenseCostGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the travel expense cost get params

func (*TravelExpenseCostGetParams) WithContext

WithContext adds the context to the travel expense cost get params

func (*TravelExpenseCostGetParams) WithFields

WithFields adds the fields to the travel expense cost get params

func (*TravelExpenseCostGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the travel expense cost get params

func (*TravelExpenseCostGetParams) WithID

WithID adds the id to the travel expense cost get params

func (*TravelExpenseCostGetParams) WithTimeout

WithTimeout adds the timeout to the travel expense cost get params

func (*TravelExpenseCostGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpenseCostGetReader

type TravelExpenseCostGetReader struct {
	// contains filtered or unexported fields
}

TravelExpenseCostGetReader is a Reader for the TravelExpenseCostGet structure.

func (*TravelExpenseCostGetReader) ReadResponse

func (o *TravelExpenseCostGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TravelExpenseCostPostCreated

type TravelExpenseCostPostCreated struct {
	Payload *models.ResponseWrapperCost
}

TravelExpenseCostPostCreated handles this case with default header values.

successfully created

func NewTravelExpenseCostPostCreated

func NewTravelExpenseCostPostCreated() *TravelExpenseCostPostCreated

NewTravelExpenseCostPostCreated creates a TravelExpenseCostPostCreated with default headers values

func (*TravelExpenseCostPostCreated) Error

func (*TravelExpenseCostPostCreated) GetPayload

type TravelExpenseCostPostParams

type TravelExpenseCostPostParams struct {

	/*Body
	  JSON representing the new object to be created. Should not have ID and version set.

	*/
	Body *models.Cost

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TravelExpenseCostPostParams contains all the parameters to send to the API endpoint for the travel expense cost post operation typically these are written to a http.Request

func NewTravelExpenseCostPostParams

func NewTravelExpenseCostPostParams() *TravelExpenseCostPostParams

NewTravelExpenseCostPostParams creates a new TravelExpenseCostPostParams object with the default values initialized.

func NewTravelExpenseCostPostParamsWithContext

func NewTravelExpenseCostPostParamsWithContext(ctx context.Context) *TravelExpenseCostPostParams

NewTravelExpenseCostPostParamsWithContext creates a new TravelExpenseCostPostParams object with the default values initialized, and the ability to set a context for a request

func NewTravelExpenseCostPostParamsWithHTTPClient

func NewTravelExpenseCostPostParamsWithHTTPClient(client *http.Client) *TravelExpenseCostPostParams

NewTravelExpenseCostPostParamsWithHTTPClient creates a new TravelExpenseCostPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewTravelExpenseCostPostParamsWithTimeout

func NewTravelExpenseCostPostParamsWithTimeout(timeout time.Duration) *TravelExpenseCostPostParams

NewTravelExpenseCostPostParamsWithTimeout creates a new TravelExpenseCostPostParams object with the default values initialized, and the ability to set a timeout on a request

func (*TravelExpenseCostPostParams) SetBody

func (o *TravelExpenseCostPostParams) SetBody(body *models.Cost)

SetBody adds the body to the travel expense cost post params

func (*TravelExpenseCostPostParams) SetContext

func (o *TravelExpenseCostPostParams) SetContext(ctx context.Context)

SetContext adds the context to the travel expense cost post params

func (*TravelExpenseCostPostParams) SetHTTPClient

func (o *TravelExpenseCostPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the travel expense cost post params

func (*TravelExpenseCostPostParams) SetTimeout

func (o *TravelExpenseCostPostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the travel expense cost post params

func (*TravelExpenseCostPostParams) WithBody

WithBody adds the body to the travel expense cost post params

func (*TravelExpenseCostPostParams) WithContext

WithContext adds the context to the travel expense cost post params

func (*TravelExpenseCostPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the travel expense cost post params

func (*TravelExpenseCostPostParams) WithTimeout

WithTimeout adds the timeout to the travel expense cost post params

func (*TravelExpenseCostPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpenseCostPostReader

type TravelExpenseCostPostReader struct {
	// contains filtered or unexported fields
}

TravelExpenseCostPostReader is a Reader for the TravelExpenseCostPost structure.

func (*TravelExpenseCostPostReader) ReadResponse

func (o *TravelExpenseCostPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TravelExpenseCostPutOK

type TravelExpenseCostPutOK struct {
	Payload *models.ResponseWrapperCost
}

TravelExpenseCostPutOK handles this case with default header values.

successful operation

func NewTravelExpenseCostPutOK

func NewTravelExpenseCostPutOK() *TravelExpenseCostPutOK

NewTravelExpenseCostPutOK creates a TravelExpenseCostPutOK with default headers values

func (*TravelExpenseCostPutOK) Error

func (o *TravelExpenseCostPutOK) Error() string

func (*TravelExpenseCostPutOK) GetPayload

type TravelExpenseCostPutParams

type TravelExpenseCostPutParams struct {

	/*Body
	  Partial object describing what should be updated

	*/
	Body *models.Cost
	/*ID
	  Element ID

	*/
	ID int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TravelExpenseCostPutParams contains all the parameters to send to the API endpoint for the travel expense cost put operation typically these are written to a http.Request

func NewTravelExpenseCostPutParams

func NewTravelExpenseCostPutParams() *TravelExpenseCostPutParams

NewTravelExpenseCostPutParams creates a new TravelExpenseCostPutParams object with the default values initialized.

func NewTravelExpenseCostPutParamsWithContext

func NewTravelExpenseCostPutParamsWithContext(ctx context.Context) *TravelExpenseCostPutParams

NewTravelExpenseCostPutParamsWithContext creates a new TravelExpenseCostPutParams object with the default values initialized, and the ability to set a context for a request

func NewTravelExpenseCostPutParamsWithHTTPClient

func NewTravelExpenseCostPutParamsWithHTTPClient(client *http.Client) *TravelExpenseCostPutParams

NewTravelExpenseCostPutParamsWithHTTPClient creates a new TravelExpenseCostPutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewTravelExpenseCostPutParamsWithTimeout

func NewTravelExpenseCostPutParamsWithTimeout(timeout time.Duration) *TravelExpenseCostPutParams

NewTravelExpenseCostPutParamsWithTimeout creates a new TravelExpenseCostPutParams object with the default values initialized, and the ability to set a timeout on a request

func (*TravelExpenseCostPutParams) SetBody

func (o *TravelExpenseCostPutParams) SetBody(body *models.Cost)

SetBody adds the body to the travel expense cost put params

func (*TravelExpenseCostPutParams) SetContext

func (o *TravelExpenseCostPutParams) SetContext(ctx context.Context)

SetContext adds the context to the travel expense cost put params

func (*TravelExpenseCostPutParams) SetHTTPClient

func (o *TravelExpenseCostPutParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the travel expense cost put params

func (*TravelExpenseCostPutParams) SetID

func (o *TravelExpenseCostPutParams) SetID(id int32)

SetID adds the id to the travel expense cost put params

func (*TravelExpenseCostPutParams) SetTimeout

func (o *TravelExpenseCostPutParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the travel expense cost put params

func (*TravelExpenseCostPutParams) WithBody

WithBody adds the body to the travel expense cost put params

func (*TravelExpenseCostPutParams) WithContext

WithContext adds the context to the travel expense cost put params

func (*TravelExpenseCostPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the travel expense cost put params

func (*TravelExpenseCostPutParams) WithID

WithID adds the id to the travel expense cost put params

func (*TravelExpenseCostPutParams) WithTimeout

WithTimeout adds the timeout to the travel expense cost put params

func (*TravelExpenseCostPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpenseCostPutReader

type TravelExpenseCostPutReader struct {
	// contains filtered or unexported fields
}

TravelExpenseCostPutReader is a Reader for the TravelExpenseCostPut structure.

func (*TravelExpenseCostPutReader) ReadResponse

func (o *TravelExpenseCostPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TravelExpenseCostSearchOK

type TravelExpenseCostSearchOK struct {
	Payload *models.ListResponseCost
}

TravelExpenseCostSearchOK handles this case with default header values.

successful operation

func NewTravelExpenseCostSearchOK

func NewTravelExpenseCostSearchOK() *TravelExpenseCostSearchOK

NewTravelExpenseCostSearchOK creates a TravelExpenseCostSearchOK with default headers values

func (*TravelExpenseCostSearchOK) Error

func (o *TravelExpenseCostSearchOK) Error() string

func (*TravelExpenseCostSearchOK) GetPayload

type TravelExpenseCostSearchParams

type TravelExpenseCostSearchParams struct {

	/*Address
	  Containing

	*/
	Address *string
	/*AmountFrom
	  From and including

	*/
	AmountFrom *string
	/*AmountTo
	  To and excluding

	*/
	AmountTo *string
	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*CountFrom
	  From and including

	*/
	CountFrom *int32
	/*CountTo
	  To and excluding

	*/
	CountTo *int32
	/*CurrencyID
	  Equals

	*/
	CurrencyID *string
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*Location
	  Containing

	*/
	Location *string
	/*RateFrom
	  From and including

	*/
	RateFrom *string
	/*RateTo
	  To and excluding

	*/
	RateTo *string
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string
	/*TravelExpenseID
	  Equals

	*/
	TravelExpenseID *string
	/*VatTypeID
	  Equals

	*/
	VatTypeID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TravelExpenseCostSearchParams contains all the parameters to send to the API endpoint for the travel expense cost search operation typically these are written to a http.Request

func NewTravelExpenseCostSearchParams

func NewTravelExpenseCostSearchParams() *TravelExpenseCostSearchParams

NewTravelExpenseCostSearchParams creates a new TravelExpenseCostSearchParams object with the default values initialized.

func NewTravelExpenseCostSearchParamsWithContext

func NewTravelExpenseCostSearchParamsWithContext(ctx context.Context) *TravelExpenseCostSearchParams

NewTravelExpenseCostSearchParamsWithContext creates a new TravelExpenseCostSearchParams object with the default values initialized, and the ability to set a context for a request

func NewTravelExpenseCostSearchParamsWithHTTPClient

func NewTravelExpenseCostSearchParamsWithHTTPClient(client *http.Client) *TravelExpenseCostSearchParams

NewTravelExpenseCostSearchParamsWithHTTPClient creates a new TravelExpenseCostSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewTravelExpenseCostSearchParamsWithTimeout

func NewTravelExpenseCostSearchParamsWithTimeout(timeout time.Duration) *TravelExpenseCostSearchParams

NewTravelExpenseCostSearchParamsWithTimeout creates a new TravelExpenseCostSearchParams object with the default values initialized, and the ability to set a timeout on a request

func (*TravelExpenseCostSearchParams) SetAddress

func (o *TravelExpenseCostSearchParams) SetAddress(address *string)

SetAddress adds the address to the travel expense cost search params

func (*TravelExpenseCostSearchParams) SetAmountFrom

func (o *TravelExpenseCostSearchParams) SetAmountFrom(amountFrom *string)

SetAmountFrom adds the amountFrom to the travel expense cost search params

func (*TravelExpenseCostSearchParams) SetAmountTo

func (o *TravelExpenseCostSearchParams) SetAmountTo(amountTo *string)

SetAmountTo adds the amountTo to the travel expense cost search params

func (*TravelExpenseCostSearchParams) SetContext

func (o *TravelExpenseCostSearchParams) SetContext(ctx context.Context)

SetContext adds the context to the travel expense cost search params

func (*TravelExpenseCostSearchParams) SetCount

func (o *TravelExpenseCostSearchParams) SetCount(count *int64)

SetCount adds the count to the travel expense cost search params

func (*TravelExpenseCostSearchParams) SetCountFrom

func (o *TravelExpenseCostSearchParams) SetCountFrom(countFrom *int32)

SetCountFrom adds the countFrom to the travel expense cost search params

func (*TravelExpenseCostSearchParams) SetCountTo

func (o *TravelExpenseCostSearchParams) SetCountTo(countTo *int32)

SetCountTo adds the countTo to the travel expense cost search params

func (*TravelExpenseCostSearchParams) SetCurrencyID

func (o *TravelExpenseCostSearchParams) SetCurrencyID(currencyID *string)

SetCurrencyID adds the currencyId to the travel expense cost search params

func (*TravelExpenseCostSearchParams) SetFields

func (o *TravelExpenseCostSearchParams) SetFields(fields *string)

SetFields adds the fields to the travel expense cost search params

func (*TravelExpenseCostSearchParams) SetFrom

func (o *TravelExpenseCostSearchParams) SetFrom(from *int64)

SetFrom adds the from to the travel expense cost search params

func (*TravelExpenseCostSearchParams) SetHTTPClient

func (o *TravelExpenseCostSearchParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the travel expense cost search params

func (*TravelExpenseCostSearchParams) SetLocation

func (o *TravelExpenseCostSearchParams) SetLocation(location *string)

SetLocation adds the location to the travel expense cost search params

func (*TravelExpenseCostSearchParams) SetRateFrom

func (o *TravelExpenseCostSearchParams) SetRateFrom(rateFrom *string)

SetRateFrom adds the rateFrom to the travel expense cost search params

func (*TravelExpenseCostSearchParams) SetRateTo

func (o *TravelExpenseCostSearchParams) SetRateTo(rateTo *string)

SetRateTo adds the rateTo to the travel expense cost search params

func (*TravelExpenseCostSearchParams) SetSorting

func (o *TravelExpenseCostSearchParams) SetSorting(sorting *string)

SetSorting adds the sorting to the travel expense cost search params

func (*TravelExpenseCostSearchParams) SetTimeout

func (o *TravelExpenseCostSearchParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the travel expense cost search params

func (*TravelExpenseCostSearchParams) SetTravelExpenseID

func (o *TravelExpenseCostSearchParams) SetTravelExpenseID(travelExpenseID *string)

SetTravelExpenseID adds the travelExpenseId to the travel expense cost search params

func (*TravelExpenseCostSearchParams) SetVatTypeID

func (o *TravelExpenseCostSearchParams) SetVatTypeID(vatTypeID *string)

SetVatTypeID adds the vatTypeId to the travel expense cost search params

func (*TravelExpenseCostSearchParams) WithAddress

WithAddress adds the address to the travel expense cost search params

func (*TravelExpenseCostSearchParams) WithAmountFrom

func (o *TravelExpenseCostSearchParams) WithAmountFrom(amountFrom *string) *TravelExpenseCostSearchParams

WithAmountFrom adds the amountFrom to the travel expense cost search params

func (*TravelExpenseCostSearchParams) WithAmountTo

WithAmountTo adds the amountTo to the travel expense cost search params

func (*TravelExpenseCostSearchParams) WithContext

WithContext adds the context to the travel expense cost search params

func (*TravelExpenseCostSearchParams) WithCount

WithCount adds the count to the travel expense cost search params

func (*TravelExpenseCostSearchParams) WithCountFrom

WithCountFrom adds the countFrom to the travel expense cost search params

func (*TravelExpenseCostSearchParams) WithCountTo

WithCountTo adds the countTo to the travel expense cost search params

func (*TravelExpenseCostSearchParams) WithCurrencyID

func (o *TravelExpenseCostSearchParams) WithCurrencyID(currencyID *string) *TravelExpenseCostSearchParams

WithCurrencyID adds the currencyID to the travel expense cost search params

func (*TravelExpenseCostSearchParams) WithFields

WithFields adds the fields to the travel expense cost search params

func (*TravelExpenseCostSearchParams) WithFrom

WithFrom adds the from to the travel expense cost search params

func (*TravelExpenseCostSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the travel expense cost search params

func (*TravelExpenseCostSearchParams) WithLocation

WithLocation adds the location to the travel expense cost search params

func (*TravelExpenseCostSearchParams) WithRateFrom

WithRateFrom adds the rateFrom to the travel expense cost search params

func (*TravelExpenseCostSearchParams) WithRateTo

WithRateTo adds the rateTo to the travel expense cost search params

func (*TravelExpenseCostSearchParams) WithSorting

WithSorting adds the sorting to the travel expense cost search params

func (*TravelExpenseCostSearchParams) WithTimeout

WithTimeout adds the timeout to the travel expense cost search params

func (*TravelExpenseCostSearchParams) WithTravelExpenseID

func (o *TravelExpenseCostSearchParams) WithTravelExpenseID(travelExpenseID *string) *TravelExpenseCostSearchParams

WithTravelExpenseID adds the travelExpenseID to the travel expense cost search params

func (*TravelExpenseCostSearchParams) WithVatTypeID

WithVatTypeID adds the vatTypeID to the travel expense cost search params

func (*TravelExpenseCostSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpenseCostSearchReader

type TravelExpenseCostSearchReader struct {
	// contains filtered or unexported fields
}

TravelExpenseCostSearchReader is a Reader for the TravelExpenseCostSearch structure.

func (*TravelExpenseCostSearchReader) ReadResponse

func (o *TravelExpenseCostSearchReader) 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