mileage_allowance

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 mileage allowance API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) TravelExpenseMileageAllowanceDelete

func (a *Client) TravelExpenseMileageAllowanceDelete(params *TravelExpenseMileageAllowanceDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

TravelExpenseMileageAllowanceDelete bs e t a delete mileage allowance

func (*Client) TravelExpenseMileageAllowanceGet

TravelExpenseMileageAllowanceGet bs e t a get mileage allowance by ID

func (*Client) TravelExpenseMileageAllowancePost

TravelExpenseMileageAllowancePost bs e t a create mileage allowance

func (*Client) TravelExpenseMileageAllowancePut

TravelExpenseMileageAllowancePut bs e t a update mileage allowance

func (*Client) TravelExpenseMileageAllowanceSearch

TravelExpenseMileageAllowanceSearch bs e t a find mileage allowances corresponding with sent data

type ClientService

type ClientService interface {
	TravelExpenseMileageAllowanceDelete(params *TravelExpenseMileageAllowanceDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

	TravelExpenseMileageAllowanceGet(params *TravelExpenseMileageAllowanceGetParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseMileageAllowanceGetOK, error)

	TravelExpenseMileageAllowancePost(params *TravelExpenseMileageAllowancePostParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseMileageAllowancePostCreated, error)

	TravelExpenseMileageAllowancePut(params *TravelExpenseMileageAllowancePutParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseMileageAllowancePutOK, error)

	TravelExpenseMileageAllowanceSearch(params *TravelExpenseMileageAllowanceSearchParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseMileageAllowanceSearchOK, 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 mileage allowance API client.

type TravelExpenseMileageAllowanceDeleteDefault

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

TravelExpenseMileageAllowanceDeleteDefault handles this case with default header values.

successful operation

func NewTravelExpenseMileageAllowanceDeleteDefault

func NewTravelExpenseMileageAllowanceDeleteDefault(code int) *TravelExpenseMileageAllowanceDeleteDefault

NewTravelExpenseMileageAllowanceDeleteDefault creates a TravelExpenseMileageAllowanceDeleteDefault with default headers values

func (*TravelExpenseMileageAllowanceDeleteDefault) Code

Code gets the status code for the travel expense mileage allowance delete default response

func (*TravelExpenseMileageAllowanceDeleteDefault) Error

type TravelExpenseMileageAllowanceDeleteParams

type TravelExpenseMileageAllowanceDeleteParams struct {

	/*ID
	  Element ID

	*/
	ID int32

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

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

func NewTravelExpenseMileageAllowanceDeleteParams

func NewTravelExpenseMileageAllowanceDeleteParams() *TravelExpenseMileageAllowanceDeleteParams

NewTravelExpenseMileageAllowanceDeleteParams creates a new TravelExpenseMileageAllowanceDeleteParams object with the default values initialized.

func NewTravelExpenseMileageAllowanceDeleteParamsWithContext

func NewTravelExpenseMileageAllowanceDeleteParamsWithContext(ctx context.Context) *TravelExpenseMileageAllowanceDeleteParams

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

func NewTravelExpenseMileageAllowanceDeleteParamsWithHTTPClient

func NewTravelExpenseMileageAllowanceDeleteParamsWithHTTPClient(client *http.Client) *TravelExpenseMileageAllowanceDeleteParams

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

func NewTravelExpenseMileageAllowanceDeleteParamsWithTimeout

func NewTravelExpenseMileageAllowanceDeleteParamsWithTimeout(timeout time.Duration) *TravelExpenseMileageAllowanceDeleteParams

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

func (*TravelExpenseMileageAllowanceDeleteParams) SetContext

SetContext adds the context to the travel expense mileage allowance delete params

func (*TravelExpenseMileageAllowanceDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the travel expense mileage allowance delete params

func (*TravelExpenseMileageAllowanceDeleteParams) SetID

SetID adds the id to the travel expense mileage allowance delete params

func (*TravelExpenseMileageAllowanceDeleteParams) SetTimeout

SetTimeout adds the timeout to the travel expense mileage allowance delete params

func (*TravelExpenseMileageAllowanceDeleteParams) WithContext

WithContext adds the context to the travel expense mileage allowance delete params

func (*TravelExpenseMileageAllowanceDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the travel expense mileage allowance delete params

func (*TravelExpenseMileageAllowanceDeleteParams) WithID

WithID adds the id to the travel expense mileage allowance delete params

func (*TravelExpenseMileageAllowanceDeleteParams) WithTimeout

WithTimeout adds the timeout to the travel expense mileage allowance delete params

func (*TravelExpenseMileageAllowanceDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpenseMileageAllowanceDeleteReader

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

TravelExpenseMileageAllowanceDeleteReader is a Reader for the TravelExpenseMileageAllowanceDelete structure.

func (*TravelExpenseMileageAllowanceDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TravelExpenseMileageAllowanceGetOK

type TravelExpenseMileageAllowanceGetOK struct {
	Payload *models.ResponseWrapperMileageAllowance
}

TravelExpenseMileageAllowanceGetOK handles this case with default header values.

successful operation

func NewTravelExpenseMileageAllowanceGetOK

func NewTravelExpenseMileageAllowanceGetOK() *TravelExpenseMileageAllowanceGetOK

NewTravelExpenseMileageAllowanceGetOK creates a TravelExpenseMileageAllowanceGetOK with default headers values

func (*TravelExpenseMileageAllowanceGetOK) Error

func (*TravelExpenseMileageAllowanceGetOK) GetPayload

type TravelExpenseMileageAllowanceGetParams

type TravelExpenseMileageAllowanceGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

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

func NewTravelExpenseMileageAllowanceGetParams

func NewTravelExpenseMileageAllowanceGetParams() *TravelExpenseMileageAllowanceGetParams

NewTravelExpenseMileageAllowanceGetParams creates a new TravelExpenseMileageAllowanceGetParams object with the default values initialized.

func NewTravelExpenseMileageAllowanceGetParamsWithContext

func NewTravelExpenseMileageAllowanceGetParamsWithContext(ctx context.Context) *TravelExpenseMileageAllowanceGetParams

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

func NewTravelExpenseMileageAllowanceGetParamsWithHTTPClient

func NewTravelExpenseMileageAllowanceGetParamsWithHTTPClient(client *http.Client) *TravelExpenseMileageAllowanceGetParams

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

func NewTravelExpenseMileageAllowanceGetParamsWithTimeout

func NewTravelExpenseMileageAllowanceGetParamsWithTimeout(timeout time.Duration) *TravelExpenseMileageAllowanceGetParams

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

func (*TravelExpenseMileageAllowanceGetParams) SetContext

SetContext adds the context to the travel expense mileage allowance get params

func (*TravelExpenseMileageAllowanceGetParams) SetFields

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

SetFields adds the fields to the travel expense mileage allowance get params

func (*TravelExpenseMileageAllowanceGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the travel expense mileage allowance get params

func (*TravelExpenseMileageAllowanceGetParams) SetID

SetID adds the id to the travel expense mileage allowance get params

func (*TravelExpenseMileageAllowanceGetParams) SetTimeout

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

SetTimeout adds the timeout to the travel expense mileage allowance get params

func (*TravelExpenseMileageAllowanceGetParams) WithContext

WithContext adds the context to the travel expense mileage allowance get params

func (*TravelExpenseMileageAllowanceGetParams) WithFields

WithFields adds the fields to the travel expense mileage allowance get params

func (*TravelExpenseMileageAllowanceGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the travel expense mileage allowance get params

func (*TravelExpenseMileageAllowanceGetParams) WithID

WithID adds the id to the travel expense mileage allowance get params

func (*TravelExpenseMileageAllowanceGetParams) WithTimeout

WithTimeout adds the timeout to the travel expense mileage allowance get params

func (*TravelExpenseMileageAllowanceGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpenseMileageAllowanceGetReader

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

TravelExpenseMileageAllowanceGetReader is a Reader for the TravelExpenseMileageAllowanceGet structure.

func (*TravelExpenseMileageAllowanceGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TravelExpenseMileageAllowancePostCreated

type TravelExpenseMileageAllowancePostCreated struct {
	Payload *models.ResponseWrapperMileageAllowance
}

TravelExpenseMileageAllowancePostCreated handles this case with default header values.

successfully created

func NewTravelExpenseMileageAllowancePostCreated

func NewTravelExpenseMileageAllowancePostCreated() *TravelExpenseMileageAllowancePostCreated

NewTravelExpenseMileageAllowancePostCreated creates a TravelExpenseMileageAllowancePostCreated with default headers values

func (*TravelExpenseMileageAllowancePostCreated) Error

func (*TravelExpenseMileageAllowancePostCreated) GetPayload

type TravelExpenseMileageAllowancePostParams

type TravelExpenseMileageAllowancePostParams struct {

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

	*/
	Body *models.MileageAllowance

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

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

func NewTravelExpenseMileageAllowancePostParams

func NewTravelExpenseMileageAllowancePostParams() *TravelExpenseMileageAllowancePostParams

NewTravelExpenseMileageAllowancePostParams creates a new TravelExpenseMileageAllowancePostParams object with the default values initialized.

func NewTravelExpenseMileageAllowancePostParamsWithContext

func NewTravelExpenseMileageAllowancePostParamsWithContext(ctx context.Context) *TravelExpenseMileageAllowancePostParams

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

func NewTravelExpenseMileageAllowancePostParamsWithHTTPClient

func NewTravelExpenseMileageAllowancePostParamsWithHTTPClient(client *http.Client) *TravelExpenseMileageAllowancePostParams

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

func NewTravelExpenseMileageAllowancePostParamsWithTimeout

func NewTravelExpenseMileageAllowancePostParamsWithTimeout(timeout time.Duration) *TravelExpenseMileageAllowancePostParams

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

func (*TravelExpenseMileageAllowancePostParams) SetBody

SetBody adds the body to the travel expense mileage allowance post params

func (*TravelExpenseMileageAllowancePostParams) SetContext

SetContext adds the context to the travel expense mileage allowance post params

func (*TravelExpenseMileageAllowancePostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the travel expense mileage allowance post params

func (*TravelExpenseMileageAllowancePostParams) SetTimeout

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

SetTimeout adds the timeout to the travel expense mileage allowance post params

func (*TravelExpenseMileageAllowancePostParams) WithBody

WithBody adds the body to the travel expense mileage allowance post params

func (*TravelExpenseMileageAllowancePostParams) WithContext

WithContext adds the context to the travel expense mileage allowance post params

func (*TravelExpenseMileageAllowancePostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the travel expense mileage allowance post params

func (*TravelExpenseMileageAllowancePostParams) WithTimeout

WithTimeout adds the timeout to the travel expense mileage allowance post params

func (*TravelExpenseMileageAllowancePostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpenseMileageAllowancePostReader

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

TravelExpenseMileageAllowancePostReader is a Reader for the TravelExpenseMileageAllowancePost structure.

func (*TravelExpenseMileageAllowancePostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TravelExpenseMileageAllowancePutOK

type TravelExpenseMileageAllowancePutOK struct {
	Payload *models.ResponseWrapperMileageAllowance
}

TravelExpenseMileageAllowancePutOK handles this case with default header values.

successful operation

func NewTravelExpenseMileageAllowancePutOK

func NewTravelExpenseMileageAllowancePutOK() *TravelExpenseMileageAllowancePutOK

NewTravelExpenseMileageAllowancePutOK creates a TravelExpenseMileageAllowancePutOK with default headers values

func (*TravelExpenseMileageAllowancePutOK) Error

func (*TravelExpenseMileageAllowancePutOK) GetPayload

type TravelExpenseMileageAllowancePutParams

type TravelExpenseMileageAllowancePutParams struct {

	/*Body
	  Partial object describing what should be updated

	*/
	Body *models.MileageAllowance
	/*ID
	  Element ID

	*/
	ID int32

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

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

func NewTravelExpenseMileageAllowancePutParams

func NewTravelExpenseMileageAllowancePutParams() *TravelExpenseMileageAllowancePutParams

NewTravelExpenseMileageAllowancePutParams creates a new TravelExpenseMileageAllowancePutParams object with the default values initialized.

func NewTravelExpenseMileageAllowancePutParamsWithContext

func NewTravelExpenseMileageAllowancePutParamsWithContext(ctx context.Context) *TravelExpenseMileageAllowancePutParams

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

func NewTravelExpenseMileageAllowancePutParamsWithHTTPClient

func NewTravelExpenseMileageAllowancePutParamsWithHTTPClient(client *http.Client) *TravelExpenseMileageAllowancePutParams

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

func NewTravelExpenseMileageAllowancePutParamsWithTimeout

func NewTravelExpenseMileageAllowancePutParamsWithTimeout(timeout time.Duration) *TravelExpenseMileageAllowancePutParams

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

func (*TravelExpenseMileageAllowancePutParams) SetBody

SetBody adds the body to the travel expense mileage allowance put params

func (*TravelExpenseMileageAllowancePutParams) SetContext

SetContext adds the context to the travel expense mileage allowance put params

func (*TravelExpenseMileageAllowancePutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the travel expense mileage allowance put params

func (*TravelExpenseMileageAllowancePutParams) SetID

SetID adds the id to the travel expense mileage allowance put params

func (*TravelExpenseMileageAllowancePutParams) SetTimeout

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

SetTimeout adds the timeout to the travel expense mileage allowance put params

func (*TravelExpenseMileageAllowancePutParams) WithBody

WithBody adds the body to the travel expense mileage allowance put params

func (*TravelExpenseMileageAllowancePutParams) WithContext

WithContext adds the context to the travel expense mileage allowance put params

func (*TravelExpenseMileageAllowancePutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the travel expense mileage allowance put params

func (*TravelExpenseMileageAllowancePutParams) WithID

WithID adds the id to the travel expense mileage allowance put params

func (*TravelExpenseMileageAllowancePutParams) WithTimeout

WithTimeout adds the timeout to the travel expense mileage allowance put params

func (*TravelExpenseMileageAllowancePutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpenseMileageAllowancePutReader

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

TravelExpenseMileageAllowancePutReader is a Reader for the TravelExpenseMileageAllowancePut structure.

func (*TravelExpenseMileageAllowancePutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TravelExpenseMileageAllowanceSearchOK

type TravelExpenseMileageAllowanceSearchOK struct {
	Payload *models.ListResponseMileageAllowance
}

TravelExpenseMileageAllowanceSearchOK handles this case with default header values.

successful operation

func NewTravelExpenseMileageAllowanceSearchOK

func NewTravelExpenseMileageAllowanceSearchOK() *TravelExpenseMileageAllowanceSearchOK

NewTravelExpenseMileageAllowanceSearchOK creates a TravelExpenseMileageAllowanceSearchOK with default headers values

func (*TravelExpenseMileageAllowanceSearchOK) Error

func (*TravelExpenseMileageAllowanceSearchOK) GetPayload

type TravelExpenseMileageAllowanceSearchParams

type TravelExpenseMileageAllowanceSearchParams struct {

	/*AmountFrom
	  From and including

	*/
	AmountFrom *string
	/*AmountTo
	  To and excluding

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

	*/
	Count *int64
	/*DateFrom
	  From and including

	*/
	DateFrom *string
	/*DateTo
	  To and excluding

	*/
	DateTo *string
	/*DepartureLocation
	  Containing

	*/
	DepartureLocation *string
	/*Destination
	  Containing

	*/
	Destination *string
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*IsCompanyCar
	  Equals

	*/
	IsCompanyCar *bool
	/*KmFrom
	  From and including

	*/
	KmFrom *string
	/*KmTo
	  To and excluding

	*/
	KmTo *string
	/*RateCategoryID
	  Equals

	*/
	RateCategoryID *string
	/*RateFrom
	  From and including

	*/
	RateFrom *string
	/*RateTo
	  To and excluding

	*/
	RateTo *string
	/*RateTypeID
	  Equals

	*/
	RateTypeID *string
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string
	/*TravelExpenseID
	  Equals

	*/
	TravelExpenseID *string

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

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

func NewTravelExpenseMileageAllowanceSearchParams

func NewTravelExpenseMileageAllowanceSearchParams() *TravelExpenseMileageAllowanceSearchParams

NewTravelExpenseMileageAllowanceSearchParams creates a new TravelExpenseMileageAllowanceSearchParams object with the default values initialized.

func NewTravelExpenseMileageAllowanceSearchParamsWithContext

func NewTravelExpenseMileageAllowanceSearchParamsWithContext(ctx context.Context) *TravelExpenseMileageAllowanceSearchParams

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

func NewTravelExpenseMileageAllowanceSearchParamsWithHTTPClient

func NewTravelExpenseMileageAllowanceSearchParamsWithHTTPClient(client *http.Client) *TravelExpenseMileageAllowanceSearchParams

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

func NewTravelExpenseMileageAllowanceSearchParamsWithTimeout

func NewTravelExpenseMileageAllowanceSearchParamsWithTimeout(timeout time.Duration) *TravelExpenseMileageAllowanceSearchParams

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

func (*TravelExpenseMileageAllowanceSearchParams) SetAmountFrom

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

SetAmountFrom adds the amountFrom to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) SetAmountTo

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

SetAmountTo adds the amountTo to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) SetContext

SetContext adds the context to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) SetCount

SetCount adds the count to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) SetDateFrom

func (o *TravelExpenseMileageAllowanceSearchParams) SetDateFrom(dateFrom *string)

SetDateFrom adds the dateFrom to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) SetDateTo

func (o *TravelExpenseMileageAllowanceSearchParams) SetDateTo(dateTo *string)

SetDateTo adds the dateTo to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) SetDepartureLocation

func (o *TravelExpenseMileageAllowanceSearchParams) SetDepartureLocation(departureLocation *string)

SetDepartureLocation adds the departureLocation to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) SetDestination

func (o *TravelExpenseMileageAllowanceSearchParams) SetDestination(destination *string)

SetDestination adds the destination to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) SetFields

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

SetFields adds the fields to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) SetFrom

SetFrom adds the from to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) SetIsCompanyCar

func (o *TravelExpenseMileageAllowanceSearchParams) SetIsCompanyCar(isCompanyCar *bool)

SetIsCompanyCar adds the isCompanyCar to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) SetKmFrom

func (o *TravelExpenseMileageAllowanceSearchParams) SetKmFrom(kmFrom *string)

SetKmFrom adds the kmFrom to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) SetKmTo

SetKmTo adds the kmTo to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) SetRateCategoryID

func (o *TravelExpenseMileageAllowanceSearchParams) SetRateCategoryID(rateCategoryID *string)

SetRateCategoryID adds the rateCategoryId to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) SetRateFrom

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

SetRateFrom adds the rateFrom to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) SetRateTo

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

SetRateTo adds the rateTo to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) SetRateTypeID

func (o *TravelExpenseMileageAllowanceSearchParams) SetRateTypeID(rateTypeID *string)

SetRateTypeID adds the rateTypeId to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) SetSorting

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

SetSorting adds the sorting to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) SetTimeout

SetTimeout adds the timeout to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) SetTravelExpenseID

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

SetTravelExpenseID adds the travelExpenseId to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) WithAmountFrom

WithAmountFrom adds the amountFrom to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) WithAmountTo

WithAmountTo adds the amountTo to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) WithContext

WithContext adds the context to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) WithCount

WithCount adds the count to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) WithDateFrom

WithDateFrom adds the dateFrom to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) WithDateTo

WithDateTo adds the dateTo to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) WithDepartureLocation

WithDepartureLocation adds the departureLocation to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) WithDestination

WithDestination adds the destination to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) WithFields

WithFields adds the fields to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) WithFrom

WithFrom adds the from to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) WithIsCompanyCar

WithIsCompanyCar adds the isCompanyCar to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) WithKmFrom

WithKmFrom adds the kmFrom to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) WithKmTo

WithKmTo adds the kmTo to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) WithRateCategoryID

WithRateCategoryID adds the rateCategoryID to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) WithRateFrom

WithRateFrom adds the rateFrom to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) WithRateTo

WithRateTo adds the rateTo to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) WithRateTypeID

WithRateTypeID adds the rateTypeID to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) WithSorting

WithSorting adds the sorting to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) WithTimeout

WithTimeout adds the timeout to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) WithTravelExpenseID

WithTravelExpenseID adds the travelExpenseID to the travel expense mileage allowance search params

func (*TravelExpenseMileageAllowanceSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpenseMileageAllowanceSearchReader

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

TravelExpenseMileageAllowanceSearchReader is a Reader for the TravelExpenseMileageAllowanceSearch structure.

func (*TravelExpenseMileageAllowanceSearchReader) ReadResponse

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