Documentation
¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TravelExpenseCostDelete(params *TravelExpenseCostDeleteParams, authInfo runtime.ClientAuthInfoWriter) error
- func (a *Client) TravelExpenseCostGet(params *TravelExpenseCostGetParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseCostGetOK, error)
- func (a *Client) TravelExpenseCostPost(params *TravelExpenseCostPostParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseCostPostCreated, error)
- func (a *Client) TravelExpenseCostPut(params *TravelExpenseCostPutParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseCostPutOK, error)
- func (a *Client) TravelExpenseCostSearch(params *TravelExpenseCostSearchParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseCostSearchOK, error)
- type ClientService
- type TravelExpenseCostDeleteDefault
- type TravelExpenseCostDeleteParams
- func NewTravelExpenseCostDeleteParams() *TravelExpenseCostDeleteParams
- func NewTravelExpenseCostDeleteParamsWithContext(ctx context.Context) *TravelExpenseCostDeleteParams
- func NewTravelExpenseCostDeleteParamsWithHTTPClient(client *http.Client) *TravelExpenseCostDeleteParams
- func NewTravelExpenseCostDeleteParamsWithTimeout(timeout time.Duration) *TravelExpenseCostDeleteParams
- func (o *TravelExpenseCostDeleteParams) SetContext(ctx context.Context)
- func (o *TravelExpenseCostDeleteParams) SetHTTPClient(client *http.Client)
- func (o *TravelExpenseCostDeleteParams) SetID(id int32)
- func (o *TravelExpenseCostDeleteParams) SetTimeout(timeout time.Duration)
- func (o *TravelExpenseCostDeleteParams) WithContext(ctx context.Context) *TravelExpenseCostDeleteParams
- func (o *TravelExpenseCostDeleteParams) WithHTTPClient(client *http.Client) *TravelExpenseCostDeleteParams
- func (o *TravelExpenseCostDeleteParams) WithID(id int32) *TravelExpenseCostDeleteParams
- func (o *TravelExpenseCostDeleteParams) WithTimeout(timeout time.Duration) *TravelExpenseCostDeleteParams
- func (o *TravelExpenseCostDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TravelExpenseCostDeleteReader
- type TravelExpenseCostGetOK
- type TravelExpenseCostGetParams
- func NewTravelExpenseCostGetParams() *TravelExpenseCostGetParams
- func NewTravelExpenseCostGetParamsWithContext(ctx context.Context) *TravelExpenseCostGetParams
- func NewTravelExpenseCostGetParamsWithHTTPClient(client *http.Client) *TravelExpenseCostGetParams
- func NewTravelExpenseCostGetParamsWithTimeout(timeout time.Duration) *TravelExpenseCostGetParams
- func (o *TravelExpenseCostGetParams) SetContext(ctx context.Context)
- func (o *TravelExpenseCostGetParams) SetFields(fields *string)
- func (o *TravelExpenseCostGetParams) SetHTTPClient(client *http.Client)
- func (o *TravelExpenseCostGetParams) SetID(id int32)
- func (o *TravelExpenseCostGetParams) SetTimeout(timeout time.Duration)
- func (o *TravelExpenseCostGetParams) WithContext(ctx context.Context) *TravelExpenseCostGetParams
- func (o *TravelExpenseCostGetParams) WithFields(fields *string) *TravelExpenseCostGetParams
- func (o *TravelExpenseCostGetParams) WithHTTPClient(client *http.Client) *TravelExpenseCostGetParams
- func (o *TravelExpenseCostGetParams) WithID(id int32) *TravelExpenseCostGetParams
- func (o *TravelExpenseCostGetParams) WithTimeout(timeout time.Duration) *TravelExpenseCostGetParams
- func (o *TravelExpenseCostGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TravelExpenseCostGetReader
- type TravelExpenseCostPostCreated
- type TravelExpenseCostPostParams
- func NewTravelExpenseCostPostParams() *TravelExpenseCostPostParams
- func NewTravelExpenseCostPostParamsWithContext(ctx context.Context) *TravelExpenseCostPostParams
- func NewTravelExpenseCostPostParamsWithHTTPClient(client *http.Client) *TravelExpenseCostPostParams
- func NewTravelExpenseCostPostParamsWithTimeout(timeout time.Duration) *TravelExpenseCostPostParams
- func (o *TravelExpenseCostPostParams) SetBody(body *models.Cost)
- func (o *TravelExpenseCostPostParams) SetContext(ctx context.Context)
- func (o *TravelExpenseCostPostParams) SetHTTPClient(client *http.Client)
- func (o *TravelExpenseCostPostParams) SetTimeout(timeout time.Duration)
- func (o *TravelExpenseCostPostParams) WithBody(body *models.Cost) *TravelExpenseCostPostParams
- func (o *TravelExpenseCostPostParams) WithContext(ctx context.Context) *TravelExpenseCostPostParams
- func (o *TravelExpenseCostPostParams) WithHTTPClient(client *http.Client) *TravelExpenseCostPostParams
- func (o *TravelExpenseCostPostParams) WithTimeout(timeout time.Duration) *TravelExpenseCostPostParams
- func (o *TravelExpenseCostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TravelExpenseCostPostReader
- type TravelExpenseCostPutOK
- type TravelExpenseCostPutParams
- func NewTravelExpenseCostPutParams() *TravelExpenseCostPutParams
- func NewTravelExpenseCostPutParamsWithContext(ctx context.Context) *TravelExpenseCostPutParams
- func NewTravelExpenseCostPutParamsWithHTTPClient(client *http.Client) *TravelExpenseCostPutParams
- func NewTravelExpenseCostPutParamsWithTimeout(timeout time.Duration) *TravelExpenseCostPutParams
- func (o *TravelExpenseCostPutParams) SetBody(body *models.Cost)
- func (o *TravelExpenseCostPutParams) SetContext(ctx context.Context)
- func (o *TravelExpenseCostPutParams) SetHTTPClient(client *http.Client)
- func (o *TravelExpenseCostPutParams) SetID(id int32)
- func (o *TravelExpenseCostPutParams) SetTimeout(timeout time.Duration)
- func (o *TravelExpenseCostPutParams) WithBody(body *models.Cost) *TravelExpenseCostPutParams
- func (o *TravelExpenseCostPutParams) WithContext(ctx context.Context) *TravelExpenseCostPutParams
- func (o *TravelExpenseCostPutParams) WithHTTPClient(client *http.Client) *TravelExpenseCostPutParams
- func (o *TravelExpenseCostPutParams) WithID(id int32) *TravelExpenseCostPutParams
- func (o *TravelExpenseCostPutParams) WithTimeout(timeout time.Duration) *TravelExpenseCostPutParams
- func (o *TravelExpenseCostPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TravelExpenseCostPutReader
- type TravelExpenseCostSearchOK
- type TravelExpenseCostSearchParams
- func NewTravelExpenseCostSearchParams() *TravelExpenseCostSearchParams
- func NewTravelExpenseCostSearchParamsWithContext(ctx context.Context) *TravelExpenseCostSearchParams
- func NewTravelExpenseCostSearchParamsWithHTTPClient(client *http.Client) *TravelExpenseCostSearchParams
- func NewTravelExpenseCostSearchParamsWithTimeout(timeout time.Duration) *TravelExpenseCostSearchParams
- func (o *TravelExpenseCostSearchParams) SetAddress(address *string)
- func (o *TravelExpenseCostSearchParams) SetAmountFrom(amountFrom *string)
- func (o *TravelExpenseCostSearchParams) SetAmountTo(amountTo *string)
- func (o *TravelExpenseCostSearchParams) SetContext(ctx context.Context)
- func (o *TravelExpenseCostSearchParams) SetCount(count *int64)
- func (o *TravelExpenseCostSearchParams) SetCountFrom(countFrom *int32)
- func (o *TravelExpenseCostSearchParams) SetCountTo(countTo *int32)
- func (o *TravelExpenseCostSearchParams) SetCurrencyID(currencyID *string)
- func (o *TravelExpenseCostSearchParams) SetFields(fields *string)
- func (o *TravelExpenseCostSearchParams) SetFrom(from *int64)
- func (o *TravelExpenseCostSearchParams) SetHTTPClient(client *http.Client)
- func (o *TravelExpenseCostSearchParams) SetLocation(location *string)
- func (o *TravelExpenseCostSearchParams) SetRateFrom(rateFrom *string)
- func (o *TravelExpenseCostSearchParams) SetRateTo(rateTo *string)
- func (o *TravelExpenseCostSearchParams) SetSorting(sorting *string)
- func (o *TravelExpenseCostSearchParams) SetTimeout(timeout time.Duration)
- func (o *TravelExpenseCostSearchParams) SetTravelExpenseID(travelExpenseID *string)
- func (o *TravelExpenseCostSearchParams) SetVatTypeID(vatTypeID *string)
- func (o *TravelExpenseCostSearchParams) WithAddress(address *string) *TravelExpenseCostSearchParams
- func (o *TravelExpenseCostSearchParams) WithAmountFrom(amountFrom *string) *TravelExpenseCostSearchParams
- func (o *TravelExpenseCostSearchParams) WithAmountTo(amountTo *string) *TravelExpenseCostSearchParams
- func (o *TravelExpenseCostSearchParams) WithContext(ctx context.Context) *TravelExpenseCostSearchParams
- func (o *TravelExpenseCostSearchParams) WithCount(count *int64) *TravelExpenseCostSearchParams
- func (o *TravelExpenseCostSearchParams) WithCountFrom(countFrom *int32) *TravelExpenseCostSearchParams
- func (o *TravelExpenseCostSearchParams) WithCountTo(countTo *int32) *TravelExpenseCostSearchParams
- func (o *TravelExpenseCostSearchParams) WithCurrencyID(currencyID *string) *TravelExpenseCostSearchParams
- func (o *TravelExpenseCostSearchParams) WithFields(fields *string) *TravelExpenseCostSearchParams
- func (o *TravelExpenseCostSearchParams) WithFrom(from *int64) *TravelExpenseCostSearchParams
- func (o *TravelExpenseCostSearchParams) WithHTTPClient(client *http.Client) *TravelExpenseCostSearchParams
- func (o *TravelExpenseCostSearchParams) WithLocation(location *string) *TravelExpenseCostSearchParams
- func (o *TravelExpenseCostSearchParams) WithRateFrom(rateFrom *string) *TravelExpenseCostSearchParams
- func (o *TravelExpenseCostSearchParams) WithRateTo(rateTo *string) *TravelExpenseCostSearchParams
- func (o *TravelExpenseCostSearchParams) WithSorting(sorting *string) *TravelExpenseCostSearchParams
- func (o *TravelExpenseCostSearchParams) WithTimeout(timeout time.Duration) *TravelExpenseCostSearchParams
- func (o *TravelExpenseCostSearchParams) WithTravelExpenseID(travelExpenseID *string) *TravelExpenseCostSearchParams
- func (o *TravelExpenseCostSearchParams) WithVatTypeID(vatTypeID *string) *TravelExpenseCostSearchParams
- func (o *TravelExpenseCostSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TravelExpenseCostSearchReader
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 ¶
func (o *TravelExpenseCostDeleteDefault) Code() int
Code gets the status code for the travel expense cost delete default response
func (*TravelExpenseCostDeleteDefault) Error ¶
func (o *TravelExpenseCostDeleteDefault) Error() string
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 ¶
func (o *TravelExpenseCostDeleteParams) WithContext(ctx context.Context) *TravelExpenseCostDeleteParams
WithContext adds the context to the travel expense cost delete params
func (*TravelExpenseCostDeleteParams) WithHTTPClient ¶
func (o *TravelExpenseCostDeleteParams) WithHTTPClient(client *http.Client) *TravelExpenseCostDeleteParams
WithHTTPClient adds the HTTPClient to the travel expense cost delete params
func (*TravelExpenseCostDeleteParams) WithID ¶
func (o *TravelExpenseCostDeleteParams) WithID(id int32) *TravelExpenseCostDeleteParams
WithID adds the id to the travel expense cost delete params
func (*TravelExpenseCostDeleteParams) WithTimeout ¶
func (o *TravelExpenseCostDeleteParams) WithTimeout(timeout time.Duration) *TravelExpenseCostDeleteParams
WithTimeout adds the timeout to the travel expense cost delete params
func (*TravelExpenseCostDeleteParams) WriteToRequest ¶
func (o *TravelExpenseCostDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *TravelExpenseCostGetOK) GetPayload() *models.ResponseWrapperCost
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 ¶
func (o *TravelExpenseCostGetParams) WithContext(ctx context.Context) *TravelExpenseCostGetParams
WithContext adds the context to the travel expense cost get params
func (*TravelExpenseCostGetParams) WithFields ¶
func (o *TravelExpenseCostGetParams) WithFields(fields *string) *TravelExpenseCostGetParams
WithFields adds the fields to the travel expense cost get params
func (*TravelExpenseCostGetParams) WithHTTPClient ¶
func (o *TravelExpenseCostGetParams) WithHTTPClient(client *http.Client) *TravelExpenseCostGetParams
WithHTTPClient adds the HTTPClient to the travel expense cost get params
func (*TravelExpenseCostGetParams) WithID ¶
func (o *TravelExpenseCostGetParams) WithID(id int32) *TravelExpenseCostGetParams
WithID adds the id to the travel expense cost get params
func (*TravelExpenseCostGetParams) WithTimeout ¶
func (o *TravelExpenseCostGetParams) WithTimeout(timeout time.Duration) *TravelExpenseCostGetParams
WithTimeout adds the timeout to the travel expense cost get params
func (*TravelExpenseCostGetParams) WriteToRequest ¶
func (o *TravelExpenseCostGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *TravelExpenseCostPostCreated) Error() string
func (*TravelExpenseCostPostCreated) GetPayload ¶
func (o *TravelExpenseCostPostCreated) GetPayload() *models.ResponseWrapperCost
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 ¶
func (o *TravelExpenseCostPostParams) WithBody(body *models.Cost) *TravelExpenseCostPostParams
WithBody adds the body to the travel expense cost post params
func (*TravelExpenseCostPostParams) WithContext ¶
func (o *TravelExpenseCostPostParams) WithContext(ctx context.Context) *TravelExpenseCostPostParams
WithContext adds the context to the travel expense cost post params
func (*TravelExpenseCostPostParams) WithHTTPClient ¶
func (o *TravelExpenseCostPostParams) WithHTTPClient(client *http.Client) *TravelExpenseCostPostParams
WithHTTPClient adds the HTTPClient to the travel expense cost post params
func (*TravelExpenseCostPostParams) WithTimeout ¶
func (o *TravelExpenseCostPostParams) WithTimeout(timeout time.Duration) *TravelExpenseCostPostParams
WithTimeout adds the timeout to the travel expense cost post params
func (*TravelExpenseCostPostParams) WriteToRequest ¶
func (o *TravelExpenseCostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *TravelExpenseCostPutOK) GetPayload() *models.ResponseWrapperCost
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 ¶
func (o *TravelExpenseCostPutParams) WithBody(body *models.Cost) *TravelExpenseCostPutParams
WithBody adds the body to the travel expense cost put params
func (*TravelExpenseCostPutParams) WithContext ¶
func (o *TravelExpenseCostPutParams) WithContext(ctx context.Context) *TravelExpenseCostPutParams
WithContext adds the context to the travel expense cost put params
func (*TravelExpenseCostPutParams) WithHTTPClient ¶
func (o *TravelExpenseCostPutParams) WithHTTPClient(client *http.Client) *TravelExpenseCostPutParams
WithHTTPClient adds the HTTPClient to the travel expense cost put params
func (*TravelExpenseCostPutParams) WithID ¶
func (o *TravelExpenseCostPutParams) WithID(id int32) *TravelExpenseCostPutParams
WithID adds the id to the travel expense cost put params
func (*TravelExpenseCostPutParams) WithTimeout ¶
func (o *TravelExpenseCostPutParams) WithTimeout(timeout time.Duration) *TravelExpenseCostPutParams
WithTimeout adds the timeout to the travel expense cost put params
func (*TravelExpenseCostPutParams) WriteToRequest ¶
func (o *TravelExpenseCostPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *TravelExpenseCostSearchOK) GetPayload() *models.ListResponseCost
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 ¶
func (o *TravelExpenseCostSearchParams) WithAddress(address *string) *TravelExpenseCostSearchParams
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 ¶
func (o *TravelExpenseCostSearchParams) WithAmountTo(amountTo *string) *TravelExpenseCostSearchParams
WithAmountTo adds the amountTo to the travel expense cost search params
func (*TravelExpenseCostSearchParams) WithContext ¶
func (o *TravelExpenseCostSearchParams) WithContext(ctx context.Context) *TravelExpenseCostSearchParams
WithContext adds the context to the travel expense cost search params
func (*TravelExpenseCostSearchParams) WithCount ¶
func (o *TravelExpenseCostSearchParams) WithCount(count *int64) *TravelExpenseCostSearchParams
WithCount adds the count to the travel expense cost search params
func (*TravelExpenseCostSearchParams) WithCountFrom ¶
func (o *TravelExpenseCostSearchParams) WithCountFrom(countFrom *int32) *TravelExpenseCostSearchParams
WithCountFrom adds the countFrom to the travel expense cost search params
func (*TravelExpenseCostSearchParams) WithCountTo ¶
func (o *TravelExpenseCostSearchParams) WithCountTo(countTo *int32) *TravelExpenseCostSearchParams
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 ¶
func (o *TravelExpenseCostSearchParams) WithFields(fields *string) *TravelExpenseCostSearchParams
WithFields adds the fields to the travel expense cost search params
func (*TravelExpenseCostSearchParams) WithFrom ¶
func (o *TravelExpenseCostSearchParams) WithFrom(from *int64) *TravelExpenseCostSearchParams
WithFrom adds the from to the travel expense cost search params
func (*TravelExpenseCostSearchParams) WithHTTPClient ¶
func (o *TravelExpenseCostSearchParams) WithHTTPClient(client *http.Client) *TravelExpenseCostSearchParams
WithHTTPClient adds the HTTPClient to the travel expense cost search params
func (*TravelExpenseCostSearchParams) WithLocation ¶
func (o *TravelExpenseCostSearchParams) WithLocation(location *string) *TravelExpenseCostSearchParams
WithLocation adds the location to the travel expense cost search params
func (*TravelExpenseCostSearchParams) WithRateFrom ¶
func (o *TravelExpenseCostSearchParams) WithRateFrom(rateFrom *string) *TravelExpenseCostSearchParams
WithRateFrom adds the rateFrom to the travel expense cost search params
func (*TravelExpenseCostSearchParams) WithRateTo ¶
func (o *TravelExpenseCostSearchParams) WithRateTo(rateTo *string) *TravelExpenseCostSearchParams
WithRateTo adds the rateTo to the travel expense cost search params
func (*TravelExpenseCostSearchParams) WithSorting ¶
func (o *TravelExpenseCostSearchParams) WithSorting(sorting *string) *TravelExpenseCostSearchParams
WithSorting adds the sorting to the travel expense cost search params
func (*TravelExpenseCostSearchParams) WithTimeout ¶
func (o *TravelExpenseCostSearchParams) WithTimeout(timeout time.Duration) *TravelExpenseCostSearchParams
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 ¶
func (o *TravelExpenseCostSearchParams) WithVatTypeID(vatTypeID *string) *TravelExpenseCostSearchParams
WithVatTypeID adds the vatTypeID to the travel expense cost search params
func (*TravelExpenseCostSearchParams) WriteToRequest ¶
func (o *TravelExpenseCostSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- cost_client.go
- travel_expense_cost_delete_parameters.go
- travel_expense_cost_delete_responses.go
- travel_expense_cost_get_parameters.go
- travel_expense_cost_get_responses.go
- travel_expense_cost_post_parameters.go
- travel_expense_cost_post_responses.go
- travel_expense_cost_put_parameters.go
- travel_expense_cost_put_responses.go
- travel_expense_cost_search_parameters.go
- travel_expense_cost_search_responses.go