Documentation ¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TravelExpenseMileageAllowanceDelete(params *TravelExpenseMileageAllowanceDeleteParams, ...) error
- func (a *Client) TravelExpenseMileageAllowanceGet(params *TravelExpenseMileageAllowanceGetParams, ...) (*TravelExpenseMileageAllowanceGetOK, error)
- func (a *Client) TravelExpenseMileageAllowancePost(params *TravelExpenseMileageAllowancePostParams, ...) (*TravelExpenseMileageAllowancePostCreated, error)
- func (a *Client) TravelExpenseMileageAllowancePut(params *TravelExpenseMileageAllowancePutParams, ...) (*TravelExpenseMileageAllowancePutOK, error)
- func (a *Client) TravelExpenseMileageAllowanceSearch(params *TravelExpenseMileageAllowanceSearchParams, ...) (*TravelExpenseMileageAllowanceSearchOK, error)
- type ClientService
- type TravelExpenseMileageAllowanceDeleteDefault
- type TravelExpenseMileageAllowanceDeleteParams
- func NewTravelExpenseMileageAllowanceDeleteParams() *TravelExpenseMileageAllowanceDeleteParams
- func NewTravelExpenseMileageAllowanceDeleteParamsWithContext(ctx context.Context) *TravelExpenseMileageAllowanceDeleteParams
- func NewTravelExpenseMileageAllowanceDeleteParamsWithHTTPClient(client *http.Client) *TravelExpenseMileageAllowanceDeleteParams
- func NewTravelExpenseMileageAllowanceDeleteParamsWithTimeout(timeout time.Duration) *TravelExpenseMileageAllowanceDeleteParams
- func (o *TravelExpenseMileageAllowanceDeleteParams) SetContext(ctx context.Context)
- func (o *TravelExpenseMileageAllowanceDeleteParams) SetHTTPClient(client *http.Client)
- func (o *TravelExpenseMileageAllowanceDeleteParams) SetID(id int32)
- func (o *TravelExpenseMileageAllowanceDeleteParams) SetTimeout(timeout time.Duration)
- func (o *TravelExpenseMileageAllowanceDeleteParams) WithContext(ctx context.Context) *TravelExpenseMileageAllowanceDeleteParams
- func (o *TravelExpenseMileageAllowanceDeleteParams) WithHTTPClient(client *http.Client) *TravelExpenseMileageAllowanceDeleteParams
- func (o *TravelExpenseMileageAllowanceDeleteParams) WithID(id int32) *TravelExpenseMileageAllowanceDeleteParams
- func (o *TravelExpenseMileageAllowanceDeleteParams) WithTimeout(timeout time.Duration) *TravelExpenseMileageAllowanceDeleteParams
- func (o *TravelExpenseMileageAllowanceDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TravelExpenseMileageAllowanceDeleteReader
- type TravelExpenseMileageAllowanceGetOK
- type TravelExpenseMileageAllowanceGetParams
- func NewTravelExpenseMileageAllowanceGetParams() *TravelExpenseMileageAllowanceGetParams
- func NewTravelExpenseMileageAllowanceGetParamsWithContext(ctx context.Context) *TravelExpenseMileageAllowanceGetParams
- func NewTravelExpenseMileageAllowanceGetParamsWithHTTPClient(client *http.Client) *TravelExpenseMileageAllowanceGetParams
- func NewTravelExpenseMileageAllowanceGetParamsWithTimeout(timeout time.Duration) *TravelExpenseMileageAllowanceGetParams
- func (o *TravelExpenseMileageAllowanceGetParams) SetContext(ctx context.Context)
- func (o *TravelExpenseMileageAllowanceGetParams) SetFields(fields *string)
- func (o *TravelExpenseMileageAllowanceGetParams) SetHTTPClient(client *http.Client)
- func (o *TravelExpenseMileageAllowanceGetParams) SetID(id int32)
- func (o *TravelExpenseMileageAllowanceGetParams) SetTimeout(timeout time.Duration)
- func (o *TravelExpenseMileageAllowanceGetParams) WithContext(ctx context.Context) *TravelExpenseMileageAllowanceGetParams
- func (o *TravelExpenseMileageAllowanceGetParams) WithFields(fields *string) *TravelExpenseMileageAllowanceGetParams
- func (o *TravelExpenseMileageAllowanceGetParams) WithHTTPClient(client *http.Client) *TravelExpenseMileageAllowanceGetParams
- func (o *TravelExpenseMileageAllowanceGetParams) WithID(id int32) *TravelExpenseMileageAllowanceGetParams
- func (o *TravelExpenseMileageAllowanceGetParams) WithTimeout(timeout time.Duration) *TravelExpenseMileageAllowanceGetParams
- func (o *TravelExpenseMileageAllowanceGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TravelExpenseMileageAllowanceGetReader
- type TravelExpenseMileageAllowancePostCreated
- type TravelExpenseMileageAllowancePostParams
- func NewTravelExpenseMileageAllowancePostParams() *TravelExpenseMileageAllowancePostParams
- func NewTravelExpenseMileageAllowancePostParamsWithContext(ctx context.Context) *TravelExpenseMileageAllowancePostParams
- func NewTravelExpenseMileageAllowancePostParamsWithHTTPClient(client *http.Client) *TravelExpenseMileageAllowancePostParams
- func NewTravelExpenseMileageAllowancePostParamsWithTimeout(timeout time.Duration) *TravelExpenseMileageAllowancePostParams
- func (o *TravelExpenseMileageAllowancePostParams) SetBody(body *models.MileageAllowance)
- func (o *TravelExpenseMileageAllowancePostParams) SetContext(ctx context.Context)
- func (o *TravelExpenseMileageAllowancePostParams) SetHTTPClient(client *http.Client)
- func (o *TravelExpenseMileageAllowancePostParams) SetTimeout(timeout time.Duration)
- func (o *TravelExpenseMileageAllowancePostParams) WithBody(body *models.MileageAllowance) *TravelExpenseMileageAllowancePostParams
- func (o *TravelExpenseMileageAllowancePostParams) WithContext(ctx context.Context) *TravelExpenseMileageAllowancePostParams
- func (o *TravelExpenseMileageAllowancePostParams) WithHTTPClient(client *http.Client) *TravelExpenseMileageAllowancePostParams
- func (o *TravelExpenseMileageAllowancePostParams) WithTimeout(timeout time.Duration) *TravelExpenseMileageAllowancePostParams
- func (o *TravelExpenseMileageAllowancePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TravelExpenseMileageAllowancePostReader
- type TravelExpenseMileageAllowancePutOK
- type TravelExpenseMileageAllowancePutParams
- func NewTravelExpenseMileageAllowancePutParams() *TravelExpenseMileageAllowancePutParams
- func NewTravelExpenseMileageAllowancePutParamsWithContext(ctx context.Context) *TravelExpenseMileageAllowancePutParams
- func NewTravelExpenseMileageAllowancePutParamsWithHTTPClient(client *http.Client) *TravelExpenseMileageAllowancePutParams
- func NewTravelExpenseMileageAllowancePutParamsWithTimeout(timeout time.Duration) *TravelExpenseMileageAllowancePutParams
- func (o *TravelExpenseMileageAllowancePutParams) SetBody(body *models.MileageAllowance)
- func (o *TravelExpenseMileageAllowancePutParams) SetContext(ctx context.Context)
- func (o *TravelExpenseMileageAllowancePutParams) SetHTTPClient(client *http.Client)
- func (o *TravelExpenseMileageAllowancePutParams) SetID(id int32)
- func (o *TravelExpenseMileageAllowancePutParams) SetTimeout(timeout time.Duration)
- func (o *TravelExpenseMileageAllowancePutParams) WithBody(body *models.MileageAllowance) *TravelExpenseMileageAllowancePutParams
- func (o *TravelExpenseMileageAllowancePutParams) WithContext(ctx context.Context) *TravelExpenseMileageAllowancePutParams
- func (o *TravelExpenseMileageAllowancePutParams) WithHTTPClient(client *http.Client) *TravelExpenseMileageAllowancePutParams
- func (o *TravelExpenseMileageAllowancePutParams) WithID(id int32) *TravelExpenseMileageAllowancePutParams
- func (o *TravelExpenseMileageAllowancePutParams) WithTimeout(timeout time.Duration) *TravelExpenseMileageAllowancePutParams
- func (o *TravelExpenseMileageAllowancePutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TravelExpenseMileageAllowancePutReader
- type TravelExpenseMileageAllowanceSearchOK
- type TravelExpenseMileageAllowanceSearchParams
- func NewTravelExpenseMileageAllowanceSearchParams() *TravelExpenseMileageAllowanceSearchParams
- func NewTravelExpenseMileageAllowanceSearchParamsWithContext(ctx context.Context) *TravelExpenseMileageAllowanceSearchParams
- func NewTravelExpenseMileageAllowanceSearchParamsWithHTTPClient(client *http.Client) *TravelExpenseMileageAllowanceSearchParams
- func NewTravelExpenseMileageAllowanceSearchParamsWithTimeout(timeout time.Duration) *TravelExpenseMileageAllowanceSearchParams
- func (o *TravelExpenseMileageAllowanceSearchParams) SetAmountFrom(amountFrom *string)
- func (o *TravelExpenseMileageAllowanceSearchParams) SetAmountTo(amountTo *string)
- func (o *TravelExpenseMileageAllowanceSearchParams) SetContext(ctx context.Context)
- func (o *TravelExpenseMileageAllowanceSearchParams) SetCount(count *int64)
- func (o *TravelExpenseMileageAllowanceSearchParams) SetDateFrom(dateFrom *string)
- func (o *TravelExpenseMileageAllowanceSearchParams) SetDateTo(dateTo *string)
- func (o *TravelExpenseMileageAllowanceSearchParams) SetDepartureLocation(departureLocation *string)
- func (o *TravelExpenseMileageAllowanceSearchParams) SetDestination(destination *string)
- func (o *TravelExpenseMileageAllowanceSearchParams) SetFields(fields *string)
- func (o *TravelExpenseMileageAllowanceSearchParams) SetFrom(from *int64)
- func (o *TravelExpenseMileageAllowanceSearchParams) SetHTTPClient(client *http.Client)
- func (o *TravelExpenseMileageAllowanceSearchParams) SetIsCompanyCar(isCompanyCar *bool)
- func (o *TravelExpenseMileageAllowanceSearchParams) SetKmFrom(kmFrom *string)
- func (o *TravelExpenseMileageAllowanceSearchParams) SetKmTo(kmTo *string)
- func (o *TravelExpenseMileageAllowanceSearchParams) SetRateCategoryID(rateCategoryID *string)
- func (o *TravelExpenseMileageAllowanceSearchParams) SetRateFrom(rateFrom *string)
- func (o *TravelExpenseMileageAllowanceSearchParams) SetRateTo(rateTo *string)
- func (o *TravelExpenseMileageAllowanceSearchParams) SetRateTypeID(rateTypeID *string)
- func (o *TravelExpenseMileageAllowanceSearchParams) SetSorting(sorting *string)
- func (o *TravelExpenseMileageAllowanceSearchParams) SetTimeout(timeout time.Duration)
- func (o *TravelExpenseMileageAllowanceSearchParams) SetTravelExpenseID(travelExpenseID *string)
- func (o *TravelExpenseMileageAllowanceSearchParams) WithAmountFrom(amountFrom *string) *TravelExpenseMileageAllowanceSearchParams
- func (o *TravelExpenseMileageAllowanceSearchParams) WithAmountTo(amountTo *string) *TravelExpenseMileageAllowanceSearchParams
- func (o *TravelExpenseMileageAllowanceSearchParams) WithContext(ctx context.Context) *TravelExpenseMileageAllowanceSearchParams
- func (o *TravelExpenseMileageAllowanceSearchParams) WithCount(count *int64) *TravelExpenseMileageAllowanceSearchParams
- func (o *TravelExpenseMileageAllowanceSearchParams) WithDateFrom(dateFrom *string) *TravelExpenseMileageAllowanceSearchParams
- func (o *TravelExpenseMileageAllowanceSearchParams) WithDateTo(dateTo *string) *TravelExpenseMileageAllowanceSearchParams
- func (o *TravelExpenseMileageAllowanceSearchParams) WithDepartureLocation(departureLocation *string) *TravelExpenseMileageAllowanceSearchParams
- func (o *TravelExpenseMileageAllowanceSearchParams) WithDestination(destination *string) *TravelExpenseMileageAllowanceSearchParams
- func (o *TravelExpenseMileageAllowanceSearchParams) WithFields(fields *string) *TravelExpenseMileageAllowanceSearchParams
- func (o *TravelExpenseMileageAllowanceSearchParams) WithFrom(from *int64) *TravelExpenseMileageAllowanceSearchParams
- func (o *TravelExpenseMileageAllowanceSearchParams) WithHTTPClient(client *http.Client) *TravelExpenseMileageAllowanceSearchParams
- func (o *TravelExpenseMileageAllowanceSearchParams) WithIsCompanyCar(isCompanyCar *bool) *TravelExpenseMileageAllowanceSearchParams
- func (o *TravelExpenseMileageAllowanceSearchParams) WithKmFrom(kmFrom *string) *TravelExpenseMileageAllowanceSearchParams
- func (o *TravelExpenseMileageAllowanceSearchParams) WithKmTo(kmTo *string) *TravelExpenseMileageAllowanceSearchParams
- func (o *TravelExpenseMileageAllowanceSearchParams) WithRateCategoryID(rateCategoryID *string) *TravelExpenseMileageAllowanceSearchParams
- func (o *TravelExpenseMileageAllowanceSearchParams) WithRateFrom(rateFrom *string) *TravelExpenseMileageAllowanceSearchParams
- func (o *TravelExpenseMileageAllowanceSearchParams) WithRateTo(rateTo *string) *TravelExpenseMileageAllowanceSearchParams
- func (o *TravelExpenseMileageAllowanceSearchParams) WithRateTypeID(rateTypeID *string) *TravelExpenseMileageAllowanceSearchParams
- func (o *TravelExpenseMileageAllowanceSearchParams) WithSorting(sorting *string) *TravelExpenseMileageAllowanceSearchParams
- func (o *TravelExpenseMileageAllowanceSearchParams) WithTimeout(timeout time.Duration) *TravelExpenseMileageAllowanceSearchParams
- func (o *TravelExpenseMileageAllowanceSearchParams) WithTravelExpenseID(travelExpenseID *string) *TravelExpenseMileageAllowanceSearchParams
- func (o *TravelExpenseMileageAllowanceSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TravelExpenseMileageAllowanceSearchReader
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 ¶
func (a *Client) TravelExpenseMileageAllowanceGet(params *TravelExpenseMileageAllowanceGetParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseMileageAllowanceGetOK, error)
TravelExpenseMileageAllowanceGet bs e t a get mileage allowance by ID
func (*Client) TravelExpenseMileageAllowancePost ¶
func (a *Client) TravelExpenseMileageAllowancePost(params *TravelExpenseMileageAllowancePostParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseMileageAllowancePostCreated, error)
TravelExpenseMileageAllowancePost bs e t a create mileage allowance
func (*Client) TravelExpenseMileageAllowancePut ¶
func (a *Client) TravelExpenseMileageAllowancePut(params *TravelExpenseMileageAllowancePutParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseMileageAllowancePutOK, error)
TravelExpenseMileageAllowancePut bs e t a update mileage allowance
func (*Client) TravelExpenseMileageAllowanceSearch ¶
func (a *Client) TravelExpenseMileageAllowanceSearch(params *TravelExpenseMileageAllowanceSearchParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseMileageAllowanceSearchOK, error)
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 ¶
func (o *TravelExpenseMileageAllowanceDeleteDefault) Code() int
Code gets the status code for the travel expense mileage allowance delete default response
func (*TravelExpenseMileageAllowanceDeleteDefault) Error ¶
func (o *TravelExpenseMileageAllowanceDeleteDefault) Error() string
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 ¶
func (o *TravelExpenseMileageAllowanceDeleteParams) SetContext(ctx context.Context)
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 ¶
func (o *TravelExpenseMileageAllowanceDeleteParams) SetID(id int32)
SetID adds the id to the travel expense mileage allowance delete params
func (*TravelExpenseMileageAllowanceDeleteParams) SetTimeout ¶
func (o *TravelExpenseMileageAllowanceDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the travel expense mileage allowance delete params
func (*TravelExpenseMileageAllowanceDeleteParams) WithContext ¶
func (o *TravelExpenseMileageAllowanceDeleteParams) WithContext(ctx context.Context) *TravelExpenseMileageAllowanceDeleteParams
WithContext adds the context to the travel expense mileage allowance delete params
func (*TravelExpenseMileageAllowanceDeleteParams) WithHTTPClient ¶
func (o *TravelExpenseMileageAllowanceDeleteParams) WithHTTPClient(client *http.Client) *TravelExpenseMileageAllowanceDeleteParams
WithHTTPClient adds the HTTPClient to the travel expense mileage allowance delete params
func (*TravelExpenseMileageAllowanceDeleteParams) WithID ¶
func (o *TravelExpenseMileageAllowanceDeleteParams) WithID(id int32) *TravelExpenseMileageAllowanceDeleteParams
WithID adds the id to the travel expense mileage allowance delete params
func (*TravelExpenseMileageAllowanceDeleteParams) WithTimeout ¶
func (o *TravelExpenseMileageAllowanceDeleteParams) WithTimeout(timeout time.Duration) *TravelExpenseMileageAllowanceDeleteParams
WithTimeout adds the timeout to the travel expense mileage allowance delete params
func (*TravelExpenseMileageAllowanceDeleteParams) WriteToRequest ¶
func (o *TravelExpenseMileageAllowanceDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *TravelExpenseMileageAllowanceGetOK) Error() string
func (*TravelExpenseMileageAllowanceGetOK) GetPayload ¶
func (o *TravelExpenseMileageAllowanceGetOK) GetPayload() *models.ResponseWrapperMileageAllowance
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 ¶
func (o *TravelExpenseMileageAllowanceGetParams) SetContext(ctx context.Context)
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 ¶
func (o *TravelExpenseMileageAllowanceGetParams) SetID(id int32)
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 ¶
func (o *TravelExpenseMileageAllowanceGetParams) WithContext(ctx context.Context) *TravelExpenseMileageAllowanceGetParams
WithContext adds the context to the travel expense mileage allowance get params
func (*TravelExpenseMileageAllowanceGetParams) WithFields ¶
func (o *TravelExpenseMileageAllowanceGetParams) WithFields(fields *string) *TravelExpenseMileageAllowanceGetParams
WithFields adds the fields to the travel expense mileage allowance get params
func (*TravelExpenseMileageAllowanceGetParams) WithHTTPClient ¶
func (o *TravelExpenseMileageAllowanceGetParams) WithHTTPClient(client *http.Client) *TravelExpenseMileageAllowanceGetParams
WithHTTPClient adds the HTTPClient to the travel expense mileage allowance get params
func (*TravelExpenseMileageAllowanceGetParams) WithID ¶
func (o *TravelExpenseMileageAllowanceGetParams) WithID(id int32) *TravelExpenseMileageAllowanceGetParams
WithID adds the id to the travel expense mileage allowance get params
func (*TravelExpenseMileageAllowanceGetParams) WithTimeout ¶
func (o *TravelExpenseMileageAllowanceGetParams) WithTimeout(timeout time.Duration) *TravelExpenseMileageAllowanceGetParams
WithTimeout adds the timeout to the travel expense mileage allowance get params
func (*TravelExpenseMileageAllowanceGetParams) WriteToRequest ¶
func (o *TravelExpenseMileageAllowanceGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *TravelExpenseMileageAllowancePostCreated) Error() string
func (*TravelExpenseMileageAllowancePostCreated) GetPayload ¶
func (o *TravelExpenseMileageAllowancePostCreated) GetPayload() *models.ResponseWrapperMileageAllowance
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 ¶
func (o *TravelExpenseMileageAllowancePostParams) SetBody(body *models.MileageAllowance)
SetBody adds the body to the travel expense mileage allowance post params
func (*TravelExpenseMileageAllowancePostParams) SetContext ¶
func (o *TravelExpenseMileageAllowancePostParams) SetContext(ctx context.Context)
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 ¶
func (o *TravelExpenseMileageAllowancePostParams) WithBody(body *models.MileageAllowance) *TravelExpenseMileageAllowancePostParams
WithBody adds the body to the travel expense mileage allowance post params
func (*TravelExpenseMileageAllowancePostParams) WithContext ¶
func (o *TravelExpenseMileageAllowancePostParams) WithContext(ctx context.Context) *TravelExpenseMileageAllowancePostParams
WithContext adds the context to the travel expense mileage allowance post params
func (*TravelExpenseMileageAllowancePostParams) WithHTTPClient ¶
func (o *TravelExpenseMileageAllowancePostParams) WithHTTPClient(client *http.Client) *TravelExpenseMileageAllowancePostParams
WithHTTPClient adds the HTTPClient to the travel expense mileage allowance post params
func (*TravelExpenseMileageAllowancePostParams) WithTimeout ¶
func (o *TravelExpenseMileageAllowancePostParams) WithTimeout(timeout time.Duration) *TravelExpenseMileageAllowancePostParams
WithTimeout adds the timeout to the travel expense mileage allowance post params
func (*TravelExpenseMileageAllowancePostParams) WriteToRequest ¶
func (o *TravelExpenseMileageAllowancePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *TravelExpenseMileageAllowancePutOK) Error() string
func (*TravelExpenseMileageAllowancePutOK) GetPayload ¶
func (o *TravelExpenseMileageAllowancePutOK) GetPayload() *models.ResponseWrapperMileageAllowance
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 ¶
func (o *TravelExpenseMileageAllowancePutParams) SetBody(body *models.MileageAllowance)
SetBody adds the body to the travel expense mileage allowance put params
func (*TravelExpenseMileageAllowancePutParams) SetContext ¶
func (o *TravelExpenseMileageAllowancePutParams) SetContext(ctx context.Context)
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 ¶
func (o *TravelExpenseMileageAllowancePutParams) SetID(id int32)
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 ¶
func (o *TravelExpenseMileageAllowancePutParams) WithBody(body *models.MileageAllowance) *TravelExpenseMileageAllowancePutParams
WithBody adds the body to the travel expense mileage allowance put params
func (*TravelExpenseMileageAllowancePutParams) WithContext ¶
func (o *TravelExpenseMileageAllowancePutParams) WithContext(ctx context.Context) *TravelExpenseMileageAllowancePutParams
WithContext adds the context to the travel expense mileage allowance put params
func (*TravelExpenseMileageAllowancePutParams) WithHTTPClient ¶
func (o *TravelExpenseMileageAllowancePutParams) WithHTTPClient(client *http.Client) *TravelExpenseMileageAllowancePutParams
WithHTTPClient adds the HTTPClient to the travel expense mileage allowance put params
func (*TravelExpenseMileageAllowancePutParams) WithID ¶
func (o *TravelExpenseMileageAllowancePutParams) WithID(id int32) *TravelExpenseMileageAllowancePutParams
WithID adds the id to the travel expense mileage allowance put params
func (*TravelExpenseMileageAllowancePutParams) WithTimeout ¶
func (o *TravelExpenseMileageAllowancePutParams) WithTimeout(timeout time.Duration) *TravelExpenseMileageAllowancePutParams
WithTimeout adds the timeout to the travel expense mileage allowance put params
func (*TravelExpenseMileageAllowancePutParams) WriteToRequest ¶
func (o *TravelExpenseMileageAllowancePutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *TravelExpenseMileageAllowanceSearchOK) Error() string
func (*TravelExpenseMileageAllowanceSearchOK) GetPayload ¶
func (o *TravelExpenseMileageAllowanceSearchOK) GetPayload() *models.ListResponseMileageAllowance
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 ¶
func (o *TravelExpenseMileageAllowanceSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the travel expense mileage allowance search params
func (*TravelExpenseMileageAllowanceSearchParams) SetCount ¶
func (o *TravelExpenseMileageAllowanceSearchParams) SetCount(count *int64)
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 ¶
func (o *TravelExpenseMileageAllowanceSearchParams) SetFrom(from *int64)
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 ¶
func (o *TravelExpenseMileageAllowanceSearchParams) SetKmTo(kmTo *string)
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 ¶
func (o *TravelExpenseMileageAllowanceSearchParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *TravelExpenseMileageAllowanceSearchParams) WithAmountFrom(amountFrom *string) *TravelExpenseMileageAllowanceSearchParams
WithAmountFrom adds the amountFrom to the travel expense mileage allowance search params
func (*TravelExpenseMileageAllowanceSearchParams) WithAmountTo ¶
func (o *TravelExpenseMileageAllowanceSearchParams) WithAmountTo(amountTo *string) *TravelExpenseMileageAllowanceSearchParams
WithAmountTo adds the amountTo to the travel expense mileage allowance search params
func (*TravelExpenseMileageAllowanceSearchParams) WithContext ¶
func (o *TravelExpenseMileageAllowanceSearchParams) WithContext(ctx context.Context) *TravelExpenseMileageAllowanceSearchParams
WithContext adds the context to the travel expense mileage allowance search params
func (*TravelExpenseMileageAllowanceSearchParams) WithCount ¶
func (o *TravelExpenseMileageAllowanceSearchParams) WithCount(count *int64) *TravelExpenseMileageAllowanceSearchParams
WithCount adds the count to the travel expense mileage allowance search params
func (*TravelExpenseMileageAllowanceSearchParams) WithDateFrom ¶
func (o *TravelExpenseMileageAllowanceSearchParams) WithDateFrom(dateFrom *string) *TravelExpenseMileageAllowanceSearchParams
WithDateFrom adds the dateFrom to the travel expense mileage allowance search params
func (*TravelExpenseMileageAllowanceSearchParams) WithDateTo ¶
func (o *TravelExpenseMileageAllowanceSearchParams) WithDateTo(dateTo *string) *TravelExpenseMileageAllowanceSearchParams
WithDateTo adds the dateTo to the travel expense mileage allowance search params
func (*TravelExpenseMileageAllowanceSearchParams) WithDepartureLocation ¶
func (o *TravelExpenseMileageAllowanceSearchParams) WithDepartureLocation(departureLocation *string) *TravelExpenseMileageAllowanceSearchParams
WithDepartureLocation adds the departureLocation to the travel expense mileage allowance search params
func (*TravelExpenseMileageAllowanceSearchParams) WithDestination ¶
func (o *TravelExpenseMileageAllowanceSearchParams) WithDestination(destination *string) *TravelExpenseMileageAllowanceSearchParams
WithDestination adds the destination to the travel expense mileage allowance search params
func (*TravelExpenseMileageAllowanceSearchParams) WithFields ¶
func (o *TravelExpenseMileageAllowanceSearchParams) WithFields(fields *string) *TravelExpenseMileageAllowanceSearchParams
WithFields adds the fields to the travel expense mileage allowance search params
func (*TravelExpenseMileageAllowanceSearchParams) WithFrom ¶
func (o *TravelExpenseMileageAllowanceSearchParams) WithFrom(from *int64) *TravelExpenseMileageAllowanceSearchParams
WithFrom adds the from to the travel expense mileage allowance search params
func (*TravelExpenseMileageAllowanceSearchParams) WithHTTPClient ¶
func (o *TravelExpenseMileageAllowanceSearchParams) WithHTTPClient(client *http.Client) *TravelExpenseMileageAllowanceSearchParams
WithHTTPClient adds the HTTPClient to the travel expense mileage allowance search params
func (*TravelExpenseMileageAllowanceSearchParams) WithIsCompanyCar ¶
func (o *TravelExpenseMileageAllowanceSearchParams) WithIsCompanyCar(isCompanyCar *bool) *TravelExpenseMileageAllowanceSearchParams
WithIsCompanyCar adds the isCompanyCar to the travel expense mileage allowance search params
func (*TravelExpenseMileageAllowanceSearchParams) WithKmFrom ¶
func (o *TravelExpenseMileageAllowanceSearchParams) WithKmFrom(kmFrom *string) *TravelExpenseMileageAllowanceSearchParams
WithKmFrom adds the kmFrom to the travel expense mileage allowance search params
func (*TravelExpenseMileageAllowanceSearchParams) WithKmTo ¶
func (o *TravelExpenseMileageAllowanceSearchParams) WithKmTo(kmTo *string) *TravelExpenseMileageAllowanceSearchParams
WithKmTo adds the kmTo to the travel expense mileage allowance search params
func (*TravelExpenseMileageAllowanceSearchParams) WithRateCategoryID ¶
func (o *TravelExpenseMileageAllowanceSearchParams) WithRateCategoryID(rateCategoryID *string) *TravelExpenseMileageAllowanceSearchParams
WithRateCategoryID adds the rateCategoryID to the travel expense mileage allowance search params
func (*TravelExpenseMileageAllowanceSearchParams) WithRateFrom ¶
func (o *TravelExpenseMileageAllowanceSearchParams) WithRateFrom(rateFrom *string) *TravelExpenseMileageAllowanceSearchParams
WithRateFrom adds the rateFrom to the travel expense mileage allowance search params
func (*TravelExpenseMileageAllowanceSearchParams) WithRateTo ¶
func (o *TravelExpenseMileageAllowanceSearchParams) WithRateTo(rateTo *string) *TravelExpenseMileageAllowanceSearchParams
WithRateTo adds the rateTo to the travel expense mileage allowance search params
func (*TravelExpenseMileageAllowanceSearchParams) WithRateTypeID ¶
func (o *TravelExpenseMileageAllowanceSearchParams) WithRateTypeID(rateTypeID *string) *TravelExpenseMileageAllowanceSearchParams
WithRateTypeID adds the rateTypeID to the travel expense mileage allowance search params
func (*TravelExpenseMileageAllowanceSearchParams) WithSorting ¶
func (o *TravelExpenseMileageAllowanceSearchParams) WithSorting(sorting *string) *TravelExpenseMileageAllowanceSearchParams
WithSorting adds the sorting to the travel expense mileage allowance search params
func (*TravelExpenseMileageAllowanceSearchParams) WithTimeout ¶
func (o *TravelExpenseMileageAllowanceSearchParams) WithTimeout(timeout time.Duration) *TravelExpenseMileageAllowanceSearchParams
WithTimeout adds the timeout to the travel expense mileage allowance search params
func (*TravelExpenseMileageAllowanceSearchParams) WithTravelExpenseID ¶
func (o *TravelExpenseMileageAllowanceSearchParams) WithTravelExpenseID(travelExpenseID *string) *TravelExpenseMileageAllowanceSearchParams
WithTravelExpenseID adds the travelExpenseID to the travel expense mileage allowance search params
func (*TravelExpenseMileageAllowanceSearchParams) WriteToRequest ¶
func (o *TravelExpenseMileageAllowanceSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- mileage_allowance_client.go
- travel_expense_mileage_allowance_delete_parameters.go
- travel_expense_mileage_allowance_delete_responses.go
- travel_expense_mileage_allowance_get_parameters.go
- travel_expense_mileage_allowance_get_responses.go
- travel_expense_mileage_allowance_post_parameters.go
- travel_expense_mileage_allowance_post_responses.go
- travel_expense_mileage_allowance_put_parameters.go
- travel_expense_mileage_allowance_put_responses.go
- travel_expense_mileage_allowance_search_parameters.go
- travel_expense_mileage_allowance_search_responses.go