travel_expense

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for travel expense API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) TravelExpenseApproveApprove

func (a *Client) TravelExpenseApproveApprove(params *TravelExpenseApproveApproveParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseApproveApproveOK, error)

TravelExpenseApproveApprove bs e t a approve travel expenses

func (*Client) TravelExpenseAttachmentDeleteAttachment

func (a *Client) TravelExpenseAttachmentDeleteAttachment(params *TravelExpenseAttachmentDeleteAttachmentParams, authInfo runtime.ClientAuthInfoWriter) error

TravelExpenseAttachmentDeleteAttachment bs e t a delete attachment

func (*Client) TravelExpenseAttachmentDownloadAttachment

TravelExpenseAttachmentDownloadAttachment gets attachment by travel expense ID

func (*Client) TravelExpenseAttachmentListUploadAttachments

func (a *Client) TravelExpenseAttachmentListUploadAttachments(params *TravelExpenseAttachmentListUploadAttachmentsParams, authInfo runtime.ClientAuthInfoWriter) error

TravelExpenseAttachmentListUploadAttachments uploads multiple attachments to travel expense

func (*Client) TravelExpenseAttachmentUploadAttachment

func (a *Client) TravelExpenseAttachmentUploadAttachment(params *TravelExpenseAttachmentUploadAttachmentParams, authInfo runtime.ClientAuthInfoWriter) error

TravelExpenseAttachmentUploadAttachment uploads attachment to travel expense

func (*Client) TravelExpenseCopyCopy

func (a *Client) TravelExpenseCopyCopy(params *TravelExpenseCopyCopyParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseCopyCopyOK, error)

TravelExpenseCopyCopy bs e t a copy travel expense

func (*Client) TravelExpenseCreateVouchersCreateVouchers

TravelExpenseCreateVouchersCreateVouchers bs e t a create vouchers

func (*Client) TravelExpenseDelete

func (a *Client) TravelExpenseDelete(params *TravelExpenseDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

TravelExpenseDelete bs e t a delete travel expense

func (*Client) TravelExpenseDeliverDeliver

func (a *Client) TravelExpenseDeliverDeliver(params *TravelExpenseDeliverDeliverParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseDeliverDeliverOK, error)

TravelExpenseDeliverDeliver bs e t a deliver travel expenses

func (*Client) TravelExpenseGet

func (a *Client) TravelExpenseGet(params *TravelExpenseGetParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseGetOK, error)

TravelExpenseGet bs e t a get travel expense by ID

func (*Client) TravelExpensePost

func (a *Client) TravelExpensePost(params *TravelExpensePostParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpensePostCreated, error)

TravelExpensePost bs e t a create travel expense

func (*Client) TravelExpensePut

func (a *Client) TravelExpensePut(params *TravelExpensePutParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpensePutOK, error)

TravelExpensePut bs e t a update travel expense

func (*Client) TravelExpenseSearch

func (a *Client) TravelExpenseSearch(params *TravelExpenseSearchParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseSearchOK, error)

TravelExpenseSearch bs e t a find travel expenses corresponding with sent data

func (*Client) TravelExpenseUnapproveUnapprove

func (a *Client) TravelExpenseUnapproveUnapprove(params *TravelExpenseUnapproveUnapproveParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseUnapproveUnapproveOK, error)

TravelExpenseUnapproveUnapprove bs e t a unapprove travel expenses

func (*Client) TravelExpenseUndeliverUndeliver

func (a *Client) TravelExpenseUndeliverUndeliver(params *TravelExpenseUndeliverUndeliverParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseUndeliverUndeliverOK, error)

TravelExpenseUndeliverUndeliver bs e t a undeliver travel expenses

type ClientService

type ClientService interface {
	TravelExpenseApproveApprove(params *TravelExpenseApproveApproveParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseApproveApproveOK, error)

	TravelExpenseAttachmentListUploadAttachments(params *TravelExpenseAttachmentListUploadAttachmentsParams, authInfo runtime.ClientAuthInfoWriter) error

	TravelExpenseAttachmentDeleteAttachment(params *TravelExpenseAttachmentDeleteAttachmentParams, authInfo runtime.ClientAuthInfoWriter) error

	TravelExpenseAttachmentDownloadAttachment(params *TravelExpenseAttachmentDownloadAttachmentParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseAttachmentDownloadAttachmentOK, error)

	TravelExpenseAttachmentUploadAttachment(params *TravelExpenseAttachmentUploadAttachmentParams, authInfo runtime.ClientAuthInfoWriter) error

	TravelExpenseCopyCopy(params *TravelExpenseCopyCopyParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseCopyCopyOK, error)

	TravelExpenseCreateVouchersCreateVouchers(params *TravelExpenseCreateVouchersCreateVouchersParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseCreateVouchersCreateVouchersOK, error)

	TravelExpenseDeliverDeliver(params *TravelExpenseDeliverDeliverParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseDeliverDeliverOK, error)

	TravelExpenseUnapproveUnapprove(params *TravelExpenseUnapproveUnapproveParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseUnapproveUnapproveOK, error)

	TravelExpenseUndeliverUndeliver(params *TravelExpenseUndeliverUndeliverParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseUndeliverUndeliverOK, error)

	TravelExpenseDelete(params *TravelExpenseDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

	TravelExpenseGet(params *TravelExpenseGetParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseGetOK, error)

	TravelExpensePost(params *TravelExpensePostParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpensePostCreated, error)

	TravelExpensePut(params *TravelExpensePutParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpensePutOK, error)

	TravelExpenseSearch(params *TravelExpenseSearchParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseSearchOK, 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 travel expense API client.

type TravelExpenseApproveApproveOK

type TravelExpenseApproveApproveOK struct {
	Payload *models.ListResponseTravelExpense
}

TravelExpenseApproveApproveOK handles this case with default header values.

successful operation

func NewTravelExpenseApproveApproveOK

func NewTravelExpenseApproveApproveOK() *TravelExpenseApproveApproveOK

NewTravelExpenseApproveApproveOK creates a TravelExpenseApproveApproveOK with default headers values

func (*TravelExpenseApproveApproveOK) Error

func (*TravelExpenseApproveApproveOK) GetPayload

type TravelExpenseApproveApproveParams

type TravelExpenseApproveApproveParams struct {

	/*ID
	  ID of the elements

	*/
	ID *string

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

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

func NewTravelExpenseApproveApproveParams

func NewTravelExpenseApproveApproveParams() *TravelExpenseApproveApproveParams

NewTravelExpenseApproveApproveParams creates a new TravelExpenseApproveApproveParams object with the default values initialized.

func NewTravelExpenseApproveApproveParamsWithContext

func NewTravelExpenseApproveApproveParamsWithContext(ctx context.Context) *TravelExpenseApproveApproveParams

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

func NewTravelExpenseApproveApproveParamsWithHTTPClient

func NewTravelExpenseApproveApproveParamsWithHTTPClient(client *http.Client) *TravelExpenseApproveApproveParams

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

func NewTravelExpenseApproveApproveParamsWithTimeout

func NewTravelExpenseApproveApproveParamsWithTimeout(timeout time.Duration) *TravelExpenseApproveApproveParams

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

func (*TravelExpenseApproveApproveParams) SetContext

SetContext adds the context to the travel expense approve approve params

func (*TravelExpenseApproveApproveParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the travel expense approve approve params

func (*TravelExpenseApproveApproveParams) SetID

SetID adds the id to the travel expense approve approve params

func (*TravelExpenseApproveApproveParams) SetTimeout

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

SetTimeout adds the timeout to the travel expense approve approve params

func (*TravelExpenseApproveApproveParams) WithContext

WithContext adds the context to the travel expense approve approve params

func (*TravelExpenseApproveApproveParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the travel expense approve approve params

func (*TravelExpenseApproveApproveParams) WithID

WithID adds the id to the travel expense approve approve params

func (*TravelExpenseApproveApproveParams) WithTimeout

WithTimeout adds the timeout to the travel expense approve approve params

func (*TravelExpenseApproveApproveParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpenseApproveApproveReader

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

TravelExpenseApproveApproveReader is a Reader for the TravelExpenseApproveApprove structure.

func (*TravelExpenseApproveApproveReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TravelExpenseAttachmentDeleteAttachmentDefault

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

TravelExpenseAttachmentDeleteAttachmentDefault handles this case with default header values.

successful operation

func NewTravelExpenseAttachmentDeleteAttachmentDefault

func NewTravelExpenseAttachmentDeleteAttachmentDefault(code int) *TravelExpenseAttachmentDeleteAttachmentDefault

NewTravelExpenseAttachmentDeleteAttachmentDefault creates a TravelExpenseAttachmentDeleteAttachmentDefault with default headers values

func (*TravelExpenseAttachmentDeleteAttachmentDefault) Code

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

func (*TravelExpenseAttachmentDeleteAttachmentDefault) Error

type TravelExpenseAttachmentDeleteAttachmentParams

type TravelExpenseAttachmentDeleteAttachmentParams struct {

	/*SendToInbox
	  Should the attachment be sent to inbox rather than deleted?

	*/
	SendToInbox *bool
	/*Split
	  If sendToInbox is true, should the attachment be split into one voucher per page?

	*/
	Split *bool
	/*TravelExpenseID
	  ID of attachment containing the attachment to delete.

	*/
	TravelExpenseID int32
	/*Version
	  Version of voucher containing the attachment to delete.

	*/
	Version *int32

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

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

func NewTravelExpenseAttachmentDeleteAttachmentParams

func NewTravelExpenseAttachmentDeleteAttachmentParams() *TravelExpenseAttachmentDeleteAttachmentParams

NewTravelExpenseAttachmentDeleteAttachmentParams creates a new TravelExpenseAttachmentDeleteAttachmentParams object with the default values initialized.

func NewTravelExpenseAttachmentDeleteAttachmentParamsWithContext

func NewTravelExpenseAttachmentDeleteAttachmentParamsWithContext(ctx context.Context) *TravelExpenseAttachmentDeleteAttachmentParams

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

func NewTravelExpenseAttachmentDeleteAttachmentParamsWithHTTPClient

func NewTravelExpenseAttachmentDeleteAttachmentParamsWithHTTPClient(client *http.Client) *TravelExpenseAttachmentDeleteAttachmentParams

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

func NewTravelExpenseAttachmentDeleteAttachmentParamsWithTimeout

func NewTravelExpenseAttachmentDeleteAttachmentParamsWithTimeout(timeout time.Duration) *TravelExpenseAttachmentDeleteAttachmentParams

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

func (*TravelExpenseAttachmentDeleteAttachmentParams) SetContext

SetContext adds the context to the travel expense attachment delete attachment params

func (*TravelExpenseAttachmentDeleteAttachmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the travel expense attachment delete attachment params

func (*TravelExpenseAttachmentDeleteAttachmentParams) SetSendToInbox

func (o *TravelExpenseAttachmentDeleteAttachmentParams) SetSendToInbox(sendToInbox *bool)

SetSendToInbox adds the sendToInbox to the travel expense attachment delete attachment params

func (*TravelExpenseAttachmentDeleteAttachmentParams) SetSplit

SetSplit adds the split to the travel expense attachment delete attachment params

func (*TravelExpenseAttachmentDeleteAttachmentParams) SetTimeout

SetTimeout adds the timeout to the travel expense attachment delete attachment params

func (*TravelExpenseAttachmentDeleteAttachmentParams) SetTravelExpenseID

func (o *TravelExpenseAttachmentDeleteAttachmentParams) SetTravelExpenseID(travelExpenseID int32)

SetTravelExpenseID adds the travelExpenseId to the travel expense attachment delete attachment params

func (*TravelExpenseAttachmentDeleteAttachmentParams) SetVersion

func (o *TravelExpenseAttachmentDeleteAttachmentParams) SetVersion(version *int32)

SetVersion adds the version to the travel expense attachment delete attachment params

func (*TravelExpenseAttachmentDeleteAttachmentParams) WithContext

WithContext adds the context to the travel expense attachment delete attachment params

func (*TravelExpenseAttachmentDeleteAttachmentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the travel expense attachment delete attachment params

func (*TravelExpenseAttachmentDeleteAttachmentParams) WithSendToInbox

WithSendToInbox adds the sendToInbox to the travel expense attachment delete attachment params

func (*TravelExpenseAttachmentDeleteAttachmentParams) WithSplit

WithSplit adds the split to the travel expense attachment delete attachment params

func (*TravelExpenseAttachmentDeleteAttachmentParams) WithTimeout

WithTimeout adds the timeout to the travel expense attachment delete attachment params

func (*TravelExpenseAttachmentDeleteAttachmentParams) WithTravelExpenseID

WithTravelExpenseID adds the travelExpenseID to the travel expense attachment delete attachment params

func (*TravelExpenseAttachmentDeleteAttachmentParams) WithVersion

WithVersion adds the version to the travel expense attachment delete attachment params

func (*TravelExpenseAttachmentDeleteAttachmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpenseAttachmentDeleteAttachmentReader

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

TravelExpenseAttachmentDeleteAttachmentReader is a Reader for the TravelExpenseAttachmentDeleteAttachment structure.

func (*TravelExpenseAttachmentDeleteAttachmentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TravelExpenseAttachmentDownloadAttachmentOK

type TravelExpenseAttachmentDownloadAttachmentOK struct {
	Payload strfmt.Base64
}

TravelExpenseAttachmentDownloadAttachmentOK handles this case with default header values.

successful operation

func NewTravelExpenseAttachmentDownloadAttachmentOK

func NewTravelExpenseAttachmentDownloadAttachmentOK() *TravelExpenseAttachmentDownloadAttachmentOK

NewTravelExpenseAttachmentDownloadAttachmentOK creates a TravelExpenseAttachmentDownloadAttachmentOK with default headers values

func (*TravelExpenseAttachmentDownloadAttachmentOK) Error

func (*TravelExpenseAttachmentDownloadAttachmentOK) GetPayload

type TravelExpenseAttachmentDownloadAttachmentParams

type TravelExpenseAttachmentDownloadAttachmentParams struct {

	/*TravelExpenseID
	  Travel Expense ID from which PDF is downloaded.

	*/
	TravelExpenseID int32

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

TravelExpenseAttachmentDownloadAttachmentParams contains all the parameters to send to the API endpoint for the travel expense attachment download attachment operation typically these are written to a http.Request

func NewTravelExpenseAttachmentDownloadAttachmentParams

func NewTravelExpenseAttachmentDownloadAttachmentParams() *TravelExpenseAttachmentDownloadAttachmentParams

NewTravelExpenseAttachmentDownloadAttachmentParams creates a new TravelExpenseAttachmentDownloadAttachmentParams object with the default values initialized.

func NewTravelExpenseAttachmentDownloadAttachmentParamsWithContext

func NewTravelExpenseAttachmentDownloadAttachmentParamsWithContext(ctx context.Context) *TravelExpenseAttachmentDownloadAttachmentParams

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

func NewTravelExpenseAttachmentDownloadAttachmentParamsWithHTTPClient

func NewTravelExpenseAttachmentDownloadAttachmentParamsWithHTTPClient(client *http.Client) *TravelExpenseAttachmentDownloadAttachmentParams

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

func NewTravelExpenseAttachmentDownloadAttachmentParamsWithTimeout

func NewTravelExpenseAttachmentDownloadAttachmentParamsWithTimeout(timeout time.Duration) *TravelExpenseAttachmentDownloadAttachmentParams

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

func (*TravelExpenseAttachmentDownloadAttachmentParams) SetContext

SetContext adds the context to the travel expense attachment download attachment params

func (*TravelExpenseAttachmentDownloadAttachmentParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the travel expense attachment download attachment params

func (*TravelExpenseAttachmentDownloadAttachmentParams) SetTimeout

SetTimeout adds the timeout to the travel expense attachment download attachment params

func (*TravelExpenseAttachmentDownloadAttachmentParams) SetTravelExpenseID

func (o *TravelExpenseAttachmentDownloadAttachmentParams) SetTravelExpenseID(travelExpenseID int32)

SetTravelExpenseID adds the travelExpenseId to the travel expense attachment download attachment params

func (*TravelExpenseAttachmentDownloadAttachmentParams) WithContext

WithContext adds the context to the travel expense attachment download attachment params

func (*TravelExpenseAttachmentDownloadAttachmentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the travel expense attachment download attachment params

func (*TravelExpenseAttachmentDownloadAttachmentParams) WithTimeout

WithTimeout adds the timeout to the travel expense attachment download attachment params

func (*TravelExpenseAttachmentDownloadAttachmentParams) WithTravelExpenseID

WithTravelExpenseID adds the travelExpenseID to the travel expense attachment download attachment params

func (*TravelExpenseAttachmentDownloadAttachmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpenseAttachmentDownloadAttachmentReader

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

TravelExpenseAttachmentDownloadAttachmentReader is a Reader for the TravelExpenseAttachmentDownloadAttachment structure.

func (*TravelExpenseAttachmentDownloadAttachmentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TravelExpenseAttachmentListUploadAttachmentsDefault

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

TravelExpenseAttachmentListUploadAttachmentsDefault handles this case with default header values.

successful operation

func NewTravelExpenseAttachmentListUploadAttachmentsDefault

func NewTravelExpenseAttachmentListUploadAttachmentsDefault(code int) *TravelExpenseAttachmentListUploadAttachmentsDefault

NewTravelExpenseAttachmentListUploadAttachmentsDefault creates a TravelExpenseAttachmentListUploadAttachmentsDefault with default headers values

func (*TravelExpenseAttachmentListUploadAttachmentsDefault) Code

Code gets the status code for the travel expense attachment list upload attachments default response

func (*TravelExpenseAttachmentListUploadAttachmentsDefault) Error

type TravelExpenseAttachmentListUploadAttachmentsParams

type TravelExpenseAttachmentListUploadAttachmentsParams struct {

	/*Body
	  Multipart files

	*/
	Body *models.FormDataMultiPart
	/*CreateNewCost
	  Create new cost row when you add the attachment

	*/
	CreateNewCost *bool
	/*TravelExpenseID
	  Travel Expense ID to upload attachment to.

	*/
	TravelExpenseID int32

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

TravelExpenseAttachmentListUploadAttachmentsParams contains all the parameters to send to the API endpoint for the travel expense attachment list upload attachments operation typically these are written to a http.Request

func NewTravelExpenseAttachmentListUploadAttachmentsParams

func NewTravelExpenseAttachmentListUploadAttachmentsParams() *TravelExpenseAttachmentListUploadAttachmentsParams

NewTravelExpenseAttachmentListUploadAttachmentsParams creates a new TravelExpenseAttachmentListUploadAttachmentsParams object with the default values initialized.

func NewTravelExpenseAttachmentListUploadAttachmentsParamsWithContext

func NewTravelExpenseAttachmentListUploadAttachmentsParamsWithContext(ctx context.Context) *TravelExpenseAttachmentListUploadAttachmentsParams

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

func NewTravelExpenseAttachmentListUploadAttachmentsParamsWithHTTPClient

func NewTravelExpenseAttachmentListUploadAttachmentsParamsWithHTTPClient(client *http.Client) *TravelExpenseAttachmentListUploadAttachmentsParams

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

func NewTravelExpenseAttachmentListUploadAttachmentsParamsWithTimeout

func NewTravelExpenseAttachmentListUploadAttachmentsParamsWithTimeout(timeout time.Duration) *TravelExpenseAttachmentListUploadAttachmentsParams

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

func (*TravelExpenseAttachmentListUploadAttachmentsParams) SetBody

SetBody adds the body to the travel expense attachment list upload attachments params

func (*TravelExpenseAttachmentListUploadAttachmentsParams) SetContext

SetContext adds the context to the travel expense attachment list upload attachments params

func (*TravelExpenseAttachmentListUploadAttachmentsParams) SetCreateNewCost

func (o *TravelExpenseAttachmentListUploadAttachmentsParams) SetCreateNewCost(createNewCost *bool)

SetCreateNewCost adds the createNewCost to the travel expense attachment list upload attachments params

func (*TravelExpenseAttachmentListUploadAttachmentsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the travel expense attachment list upload attachments params

func (*TravelExpenseAttachmentListUploadAttachmentsParams) SetTimeout

SetTimeout adds the timeout to the travel expense attachment list upload attachments params

func (*TravelExpenseAttachmentListUploadAttachmentsParams) SetTravelExpenseID

func (o *TravelExpenseAttachmentListUploadAttachmentsParams) SetTravelExpenseID(travelExpenseID int32)

SetTravelExpenseID adds the travelExpenseId to the travel expense attachment list upload attachments params

func (*TravelExpenseAttachmentListUploadAttachmentsParams) WithBody

WithBody adds the body to the travel expense attachment list upload attachments params

func (*TravelExpenseAttachmentListUploadAttachmentsParams) WithContext

WithContext adds the context to the travel expense attachment list upload attachments params

func (*TravelExpenseAttachmentListUploadAttachmentsParams) WithCreateNewCost

WithCreateNewCost adds the createNewCost to the travel expense attachment list upload attachments params

func (*TravelExpenseAttachmentListUploadAttachmentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the travel expense attachment list upload attachments params

func (*TravelExpenseAttachmentListUploadAttachmentsParams) WithTimeout

WithTimeout adds the timeout to the travel expense attachment list upload attachments params

func (*TravelExpenseAttachmentListUploadAttachmentsParams) WithTravelExpenseID

WithTravelExpenseID adds the travelExpenseID to the travel expense attachment list upload attachments params

func (*TravelExpenseAttachmentListUploadAttachmentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpenseAttachmentListUploadAttachmentsReader

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

TravelExpenseAttachmentListUploadAttachmentsReader is a Reader for the TravelExpenseAttachmentListUploadAttachments structure.

func (*TravelExpenseAttachmentListUploadAttachmentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TravelExpenseAttachmentUploadAttachmentDefault

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

TravelExpenseAttachmentUploadAttachmentDefault handles this case with default header values.

successful operation

func NewTravelExpenseAttachmentUploadAttachmentDefault

func NewTravelExpenseAttachmentUploadAttachmentDefault(code int) *TravelExpenseAttachmentUploadAttachmentDefault

NewTravelExpenseAttachmentUploadAttachmentDefault creates a TravelExpenseAttachmentUploadAttachmentDefault with default headers values

func (*TravelExpenseAttachmentUploadAttachmentDefault) Code

Code gets the status code for the travel expense attachment upload attachment default response

func (*TravelExpenseAttachmentUploadAttachmentDefault) Error

type TravelExpenseAttachmentUploadAttachmentParams

type TravelExpenseAttachmentUploadAttachmentParams struct {

	/*CreateNewCost
	  Create new cost row when you add the attachment

	*/
	CreateNewCost *bool
	/*File
	  The file

	*/
	File runtime.NamedReadCloser
	/*TravelExpenseID
	  Travel Expense ID to upload attachment to.

	*/
	TravelExpenseID int32

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

TravelExpenseAttachmentUploadAttachmentParams contains all the parameters to send to the API endpoint for the travel expense attachment upload attachment operation typically these are written to a http.Request

func NewTravelExpenseAttachmentUploadAttachmentParams

func NewTravelExpenseAttachmentUploadAttachmentParams() *TravelExpenseAttachmentUploadAttachmentParams

NewTravelExpenseAttachmentUploadAttachmentParams creates a new TravelExpenseAttachmentUploadAttachmentParams object with the default values initialized.

func NewTravelExpenseAttachmentUploadAttachmentParamsWithContext

func NewTravelExpenseAttachmentUploadAttachmentParamsWithContext(ctx context.Context) *TravelExpenseAttachmentUploadAttachmentParams

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

func NewTravelExpenseAttachmentUploadAttachmentParamsWithHTTPClient

func NewTravelExpenseAttachmentUploadAttachmentParamsWithHTTPClient(client *http.Client) *TravelExpenseAttachmentUploadAttachmentParams

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

func NewTravelExpenseAttachmentUploadAttachmentParamsWithTimeout

func NewTravelExpenseAttachmentUploadAttachmentParamsWithTimeout(timeout time.Duration) *TravelExpenseAttachmentUploadAttachmentParams

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

func (*TravelExpenseAttachmentUploadAttachmentParams) SetContext

SetContext adds the context to the travel expense attachment upload attachment params

func (*TravelExpenseAttachmentUploadAttachmentParams) SetCreateNewCost

func (o *TravelExpenseAttachmentUploadAttachmentParams) SetCreateNewCost(createNewCost *bool)

SetCreateNewCost adds the createNewCost to the travel expense attachment upload attachment params

func (*TravelExpenseAttachmentUploadAttachmentParams) SetFile

SetFile adds the file to the travel expense attachment upload attachment params

func (*TravelExpenseAttachmentUploadAttachmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the travel expense attachment upload attachment params

func (*TravelExpenseAttachmentUploadAttachmentParams) SetTimeout

SetTimeout adds the timeout to the travel expense attachment upload attachment params

func (*TravelExpenseAttachmentUploadAttachmentParams) SetTravelExpenseID

func (o *TravelExpenseAttachmentUploadAttachmentParams) SetTravelExpenseID(travelExpenseID int32)

SetTravelExpenseID adds the travelExpenseId to the travel expense attachment upload attachment params

func (*TravelExpenseAttachmentUploadAttachmentParams) WithContext

WithContext adds the context to the travel expense attachment upload attachment params

func (*TravelExpenseAttachmentUploadAttachmentParams) WithCreateNewCost

WithCreateNewCost adds the createNewCost to the travel expense attachment upload attachment params

func (*TravelExpenseAttachmentUploadAttachmentParams) WithFile

WithFile adds the file to the travel expense attachment upload attachment params

func (*TravelExpenseAttachmentUploadAttachmentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the travel expense attachment upload attachment params

func (*TravelExpenseAttachmentUploadAttachmentParams) WithTimeout

WithTimeout adds the timeout to the travel expense attachment upload attachment params

func (*TravelExpenseAttachmentUploadAttachmentParams) WithTravelExpenseID

WithTravelExpenseID adds the travelExpenseID to the travel expense attachment upload attachment params

func (*TravelExpenseAttachmentUploadAttachmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpenseAttachmentUploadAttachmentReader

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

TravelExpenseAttachmentUploadAttachmentReader is a Reader for the TravelExpenseAttachmentUploadAttachment structure.

func (*TravelExpenseAttachmentUploadAttachmentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TravelExpenseCopyCopyOK

type TravelExpenseCopyCopyOK struct {
	Payload *models.ResponseWrapperTravelExpense
}

TravelExpenseCopyCopyOK handles this case with default header values.

successful operation

func NewTravelExpenseCopyCopyOK

func NewTravelExpenseCopyCopyOK() *TravelExpenseCopyCopyOK

NewTravelExpenseCopyCopyOK creates a TravelExpenseCopyCopyOK with default headers values

func (*TravelExpenseCopyCopyOK) Error

func (o *TravelExpenseCopyCopyOK) Error() string

func (*TravelExpenseCopyCopyOK) GetPayload

type TravelExpenseCopyCopyParams

type TravelExpenseCopyCopyParams struct {

	/*ID
	  Element ID

	*/
	ID int32

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

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

func NewTravelExpenseCopyCopyParams

func NewTravelExpenseCopyCopyParams() *TravelExpenseCopyCopyParams

NewTravelExpenseCopyCopyParams creates a new TravelExpenseCopyCopyParams object with the default values initialized.

func NewTravelExpenseCopyCopyParamsWithContext

func NewTravelExpenseCopyCopyParamsWithContext(ctx context.Context) *TravelExpenseCopyCopyParams

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

func NewTravelExpenseCopyCopyParamsWithHTTPClient

func NewTravelExpenseCopyCopyParamsWithHTTPClient(client *http.Client) *TravelExpenseCopyCopyParams

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

func NewTravelExpenseCopyCopyParamsWithTimeout

func NewTravelExpenseCopyCopyParamsWithTimeout(timeout time.Duration) *TravelExpenseCopyCopyParams

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

func (*TravelExpenseCopyCopyParams) SetContext

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

SetContext adds the context to the travel expense copy copy params

func (*TravelExpenseCopyCopyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the travel expense copy copy params

func (*TravelExpenseCopyCopyParams) SetID

func (o *TravelExpenseCopyCopyParams) SetID(id int32)

SetID adds the id to the travel expense copy copy params

func (*TravelExpenseCopyCopyParams) SetTimeout

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

SetTimeout adds the timeout to the travel expense copy copy params

func (*TravelExpenseCopyCopyParams) WithContext

WithContext adds the context to the travel expense copy copy params

func (*TravelExpenseCopyCopyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the travel expense copy copy params

func (*TravelExpenseCopyCopyParams) WithID

WithID adds the id to the travel expense copy copy params

func (*TravelExpenseCopyCopyParams) WithTimeout

WithTimeout adds the timeout to the travel expense copy copy params

func (*TravelExpenseCopyCopyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpenseCopyCopyReader

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

TravelExpenseCopyCopyReader is a Reader for the TravelExpenseCopyCopy structure.

func (*TravelExpenseCopyCopyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TravelExpenseCreateVouchersCreateVouchersOK

type TravelExpenseCreateVouchersCreateVouchersOK struct {
	Payload *models.ListResponseTravelExpense
}

TravelExpenseCreateVouchersCreateVouchersOK handles this case with default header values.

successful operation

func NewTravelExpenseCreateVouchersCreateVouchersOK

func NewTravelExpenseCreateVouchersCreateVouchersOK() *TravelExpenseCreateVouchersCreateVouchersOK

NewTravelExpenseCreateVouchersCreateVouchersOK creates a TravelExpenseCreateVouchersCreateVouchersOK with default headers values

func (*TravelExpenseCreateVouchersCreateVouchersOK) Error

func (*TravelExpenseCreateVouchersCreateVouchersOK) GetPayload

type TravelExpenseCreateVouchersCreateVouchersParams

type TravelExpenseCreateVouchersCreateVouchersParams struct {

	/*Date
	  yyyy-MM-dd. Defaults to today.

	*/
	Date string
	/*ID
	  ID of the elements

	*/
	ID *string

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

TravelExpenseCreateVouchersCreateVouchersParams contains all the parameters to send to the API endpoint for the travel expense create vouchers create vouchers operation typically these are written to a http.Request

func NewTravelExpenseCreateVouchersCreateVouchersParams

func NewTravelExpenseCreateVouchersCreateVouchersParams() *TravelExpenseCreateVouchersCreateVouchersParams

NewTravelExpenseCreateVouchersCreateVouchersParams creates a new TravelExpenseCreateVouchersCreateVouchersParams object with the default values initialized.

func NewTravelExpenseCreateVouchersCreateVouchersParamsWithContext

func NewTravelExpenseCreateVouchersCreateVouchersParamsWithContext(ctx context.Context) *TravelExpenseCreateVouchersCreateVouchersParams

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

func NewTravelExpenseCreateVouchersCreateVouchersParamsWithHTTPClient

func NewTravelExpenseCreateVouchersCreateVouchersParamsWithHTTPClient(client *http.Client) *TravelExpenseCreateVouchersCreateVouchersParams

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

func NewTravelExpenseCreateVouchersCreateVouchersParamsWithTimeout

func NewTravelExpenseCreateVouchersCreateVouchersParamsWithTimeout(timeout time.Duration) *TravelExpenseCreateVouchersCreateVouchersParams

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

func (*TravelExpenseCreateVouchersCreateVouchersParams) SetContext

SetContext adds the context to the travel expense create vouchers create vouchers params

func (*TravelExpenseCreateVouchersCreateVouchersParams) SetDate

SetDate adds the date to the travel expense create vouchers create vouchers params

func (*TravelExpenseCreateVouchersCreateVouchersParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the travel expense create vouchers create vouchers params

func (*TravelExpenseCreateVouchersCreateVouchersParams) SetID

SetID adds the id to the travel expense create vouchers create vouchers params

func (*TravelExpenseCreateVouchersCreateVouchersParams) SetTimeout

SetTimeout adds the timeout to the travel expense create vouchers create vouchers params

func (*TravelExpenseCreateVouchersCreateVouchersParams) WithContext

WithContext adds the context to the travel expense create vouchers create vouchers params

func (*TravelExpenseCreateVouchersCreateVouchersParams) WithDate

WithDate adds the date to the travel expense create vouchers create vouchers params

func (*TravelExpenseCreateVouchersCreateVouchersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the travel expense create vouchers create vouchers params

func (*TravelExpenseCreateVouchersCreateVouchersParams) WithID

WithID adds the id to the travel expense create vouchers create vouchers params

func (*TravelExpenseCreateVouchersCreateVouchersParams) WithTimeout

WithTimeout adds the timeout to the travel expense create vouchers create vouchers params

func (*TravelExpenseCreateVouchersCreateVouchersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpenseCreateVouchersCreateVouchersReader

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

TravelExpenseCreateVouchersCreateVouchersReader is a Reader for the TravelExpenseCreateVouchersCreateVouchers structure.

func (*TravelExpenseCreateVouchersCreateVouchersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TravelExpenseDeleteDefault

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

TravelExpenseDeleteDefault handles this case with default header values.

successful operation

func NewTravelExpenseDeleteDefault

func NewTravelExpenseDeleteDefault(code int) *TravelExpenseDeleteDefault

NewTravelExpenseDeleteDefault creates a TravelExpenseDeleteDefault with default headers values

func (*TravelExpenseDeleteDefault) Code

func (o *TravelExpenseDeleteDefault) Code() int

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

func (*TravelExpenseDeleteDefault) Error

type TravelExpenseDeleteParams

type TravelExpenseDeleteParams struct {

	/*ID
	  Element ID

	*/
	ID int32

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

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

func NewTravelExpenseDeleteParams

func NewTravelExpenseDeleteParams() *TravelExpenseDeleteParams

NewTravelExpenseDeleteParams creates a new TravelExpenseDeleteParams object with the default values initialized.

func NewTravelExpenseDeleteParamsWithContext

func NewTravelExpenseDeleteParamsWithContext(ctx context.Context) *TravelExpenseDeleteParams

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

func NewTravelExpenseDeleteParamsWithHTTPClient

func NewTravelExpenseDeleteParamsWithHTTPClient(client *http.Client) *TravelExpenseDeleteParams

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

func NewTravelExpenseDeleteParamsWithTimeout

func NewTravelExpenseDeleteParamsWithTimeout(timeout time.Duration) *TravelExpenseDeleteParams

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

func (*TravelExpenseDeleteParams) SetContext

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

SetContext adds the context to the travel expense delete params

func (*TravelExpenseDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the travel expense delete params

func (*TravelExpenseDeleteParams) SetID

func (o *TravelExpenseDeleteParams) SetID(id int32)

SetID adds the id to the travel expense delete params

func (*TravelExpenseDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the travel expense delete params

func (*TravelExpenseDeleteParams) WithContext

WithContext adds the context to the travel expense delete params

func (*TravelExpenseDeleteParams) WithHTTPClient

func (o *TravelExpenseDeleteParams) WithHTTPClient(client *http.Client) *TravelExpenseDeleteParams

WithHTTPClient adds the HTTPClient to the travel expense delete params

func (*TravelExpenseDeleteParams) WithID

WithID adds the id to the travel expense delete params

func (*TravelExpenseDeleteParams) WithTimeout

WithTimeout adds the timeout to the travel expense delete params

func (*TravelExpenseDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpenseDeleteReader

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

TravelExpenseDeleteReader is a Reader for the TravelExpenseDelete structure.

func (*TravelExpenseDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TravelExpenseDeliverDeliverOK

type TravelExpenseDeliverDeliverOK struct {
	Payload *models.ListResponseTravelExpense
}

TravelExpenseDeliverDeliverOK handles this case with default header values.

successful operation

func NewTravelExpenseDeliverDeliverOK

func NewTravelExpenseDeliverDeliverOK() *TravelExpenseDeliverDeliverOK

NewTravelExpenseDeliverDeliverOK creates a TravelExpenseDeliverDeliverOK with default headers values

func (*TravelExpenseDeliverDeliverOK) Error

func (*TravelExpenseDeliverDeliverOK) GetPayload

type TravelExpenseDeliverDeliverParams

type TravelExpenseDeliverDeliverParams struct {

	/*ID
	  ID of the elements

	*/
	ID *string

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

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

func NewTravelExpenseDeliverDeliverParams

func NewTravelExpenseDeliverDeliverParams() *TravelExpenseDeliverDeliverParams

NewTravelExpenseDeliverDeliverParams creates a new TravelExpenseDeliverDeliverParams object with the default values initialized.

func NewTravelExpenseDeliverDeliverParamsWithContext

func NewTravelExpenseDeliverDeliverParamsWithContext(ctx context.Context) *TravelExpenseDeliverDeliverParams

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

func NewTravelExpenseDeliverDeliverParamsWithHTTPClient

func NewTravelExpenseDeliverDeliverParamsWithHTTPClient(client *http.Client) *TravelExpenseDeliverDeliverParams

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

func NewTravelExpenseDeliverDeliverParamsWithTimeout

func NewTravelExpenseDeliverDeliverParamsWithTimeout(timeout time.Duration) *TravelExpenseDeliverDeliverParams

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

func (*TravelExpenseDeliverDeliverParams) SetContext

SetContext adds the context to the travel expense deliver deliver params

func (*TravelExpenseDeliverDeliverParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the travel expense deliver deliver params

func (*TravelExpenseDeliverDeliverParams) SetID

SetID adds the id to the travel expense deliver deliver params

func (*TravelExpenseDeliverDeliverParams) SetTimeout

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

SetTimeout adds the timeout to the travel expense deliver deliver params

func (*TravelExpenseDeliverDeliverParams) WithContext

WithContext adds the context to the travel expense deliver deliver params

func (*TravelExpenseDeliverDeliverParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the travel expense deliver deliver params

func (*TravelExpenseDeliverDeliverParams) WithID

WithID adds the id to the travel expense deliver deliver params

func (*TravelExpenseDeliverDeliverParams) WithTimeout

WithTimeout adds the timeout to the travel expense deliver deliver params

func (*TravelExpenseDeliverDeliverParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpenseDeliverDeliverReader

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

TravelExpenseDeliverDeliverReader is a Reader for the TravelExpenseDeliverDeliver structure.

func (*TravelExpenseDeliverDeliverReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TravelExpenseGetOK

type TravelExpenseGetOK struct {
	Payload *models.ResponseWrapperTravelExpense
}

TravelExpenseGetOK handles this case with default header values.

successful operation

func NewTravelExpenseGetOK

func NewTravelExpenseGetOK() *TravelExpenseGetOK

NewTravelExpenseGetOK creates a TravelExpenseGetOK with default headers values

func (*TravelExpenseGetOK) Error

func (o *TravelExpenseGetOK) Error() string

func (*TravelExpenseGetOK) GetPayload

type TravelExpenseGetParams

type TravelExpenseGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

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

func NewTravelExpenseGetParams

func NewTravelExpenseGetParams() *TravelExpenseGetParams

NewTravelExpenseGetParams creates a new TravelExpenseGetParams object with the default values initialized.

func NewTravelExpenseGetParamsWithContext

func NewTravelExpenseGetParamsWithContext(ctx context.Context) *TravelExpenseGetParams

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

func NewTravelExpenseGetParamsWithHTTPClient

func NewTravelExpenseGetParamsWithHTTPClient(client *http.Client) *TravelExpenseGetParams

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

func NewTravelExpenseGetParamsWithTimeout

func NewTravelExpenseGetParamsWithTimeout(timeout time.Duration) *TravelExpenseGetParams

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

func (*TravelExpenseGetParams) SetContext

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

SetContext adds the context to the travel expense get params

func (*TravelExpenseGetParams) SetFields

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

SetFields adds the fields to the travel expense get params

func (*TravelExpenseGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the travel expense get params

func (*TravelExpenseGetParams) SetID

func (o *TravelExpenseGetParams) SetID(id int32)

SetID adds the id to the travel expense get params

func (*TravelExpenseGetParams) SetTimeout

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

SetTimeout adds the timeout to the travel expense get params

func (*TravelExpenseGetParams) WithContext

WithContext adds the context to the travel expense get params

func (*TravelExpenseGetParams) WithFields

func (o *TravelExpenseGetParams) WithFields(fields *string) *TravelExpenseGetParams

WithFields adds the fields to the travel expense get params

func (*TravelExpenseGetParams) WithHTTPClient

func (o *TravelExpenseGetParams) WithHTTPClient(client *http.Client) *TravelExpenseGetParams

WithHTTPClient adds the HTTPClient to the travel expense get params

func (*TravelExpenseGetParams) WithID

WithID adds the id to the travel expense get params

func (*TravelExpenseGetParams) WithTimeout

WithTimeout adds the timeout to the travel expense get params

func (*TravelExpenseGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpenseGetReader

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

TravelExpenseGetReader is a Reader for the TravelExpenseGet structure.

func (*TravelExpenseGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TravelExpensePostCreated

type TravelExpensePostCreated struct {
	Payload *models.ResponseWrapperTravelExpense
}

TravelExpensePostCreated handles this case with default header values.

successfully created

func NewTravelExpensePostCreated

func NewTravelExpensePostCreated() *TravelExpensePostCreated

NewTravelExpensePostCreated creates a TravelExpensePostCreated with default headers values

func (*TravelExpensePostCreated) Error

func (o *TravelExpensePostCreated) Error() string

func (*TravelExpensePostCreated) GetPayload

type TravelExpensePostParams

type TravelExpensePostParams struct {

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

	*/
	Body *models.TravelExpense

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

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

func NewTravelExpensePostParams

func NewTravelExpensePostParams() *TravelExpensePostParams

NewTravelExpensePostParams creates a new TravelExpensePostParams object with the default values initialized.

func NewTravelExpensePostParamsWithContext

func NewTravelExpensePostParamsWithContext(ctx context.Context) *TravelExpensePostParams

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

func NewTravelExpensePostParamsWithHTTPClient

func NewTravelExpensePostParamsWithHTTPClient(client *http.Client) *TravelExpensePostParams

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

func NewTravelExpensePostParamsWithTimeout

func NewTravelExpensePostParamsWithTimeout(timeout time.Duration) *TravelExpensePostParams

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

func (*TravelExpensePostParams) SetBody

func (o *TravelExpensePostParams) SetBody(body *models.TravelExpense)

SetBody adds the body to the travel expense post params

func (*TravelExpensePostParams) SetContext

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

SetContext adds the context to the travel expense post params

func (*TravelExpensePostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the travel expense post params

func (*TravelExpensePostParams) SetTimeout

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

SetTimeout adds the timeout to the travel expense post params

func (*TravelExpensePostParams) WithBody

WithBody adds the body to the travel expense post params

func (*TravelExpensePostParams) WithContext

WithContext adds the context to the travel expense post params

func (*TravelExpensePostParams) WithHTTPClient

func (o *TravelExpensePostParams) WithHTTPClient(client *http.Client) *TravelExpensePostParams

WithHTTPClient adds the HTTPClient to the travel expense post params

func (*TravelExpensePostParams) WithTimeout

WithTimeout adds the timeout to the travel expense post params

func (*TravelExpensePostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpensePostReader

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

TravelExpensePostReader is a Reader for the TravelExpensePost structure.

func (*TravelExpensePostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TravelExpensePutOK

type TravelExpensePutOK struct {
	Payload *models.ResponseWrapperTravelExpense
}

TravelExpensePutOK handles this case with default header values.

successful operation

func NewTravelExpensePutOK

func NewTravelExpensePutOK() *TravelExpensePutOK

NewTravelExpensePutOK creates a TravelExpensePutOK with default headers values

func (*TravelExpensePutOK) Error

func (o *TravelExpensePutOK) Error() string

func (*TravelExpensePutOK) GetPayload

type TravelExpensePutParams

type TravelExpensePutParams struct {

	/*Body
	  Partial object describing what should be updated

	*/
	Body *models.TravelExpense
	/*ID
	  Element ID

	*/
	ID int32

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

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

func NewTravelExpensePutParams

func NewTravelExpensePutParams() *TravelExpensePutParams

NewTravelExpensePutParams creates a new TravelExpensePutParams object with the default values initialized.

func NewTravelExpensePutParamsWithContext

func NewTravelExpensePutParamsWithContext(ctx context.Context) *TravelExpensePutParams

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

func NewTravelExpensePutParamsWithHTTPClient

func NewTravelExpensePutParamsWithHTTPClient(client *http.Client) *TravelExpensePutParams

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

func NewTravelExpensePutParamsWithTimeout

func NewTravelExpensePutParamsWithTimeout(timeout time.Duration) *TravelExpensePutParams

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

func (*TravelExpensePutParams) SetBody

func (o *TravelExpensePutParams) SetBody(body *models.TravelExpense)

SetBody adds the body to the travel expense put params

func (*TravelExpensePutParams) SetContext

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

SetContext adds the context to the travel expense put params

func (*TravelExpensePutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the travel expense put params

func (*TravelExpensePutParams) SetID

func (o *TravelExpensePutParams) SetID(id int32)

SetID adds the id to the travel expense put params

func (*TravelExpensePutParams) SetTimeout

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

SetTimeout adds the timeout to the travel expense put params

func (*TravelExpensePutParams) WithBody

WithBody adds the body to the travel expense put params

func (*TravelExpensePutParams) WithContext

WithContext adds the context to the travel expense put params

func (*TravelExpensePutParams) WithHTTPClient

func (o *TravelExpensePutParams) WithHTTPClient(client *http.Client) *TravelExpensePutParams

WithHTTPClient adds the HTTPClient to the travel expense put params

func (*TravelExpensePutParams) WithID

WithID adds the id to the travel expense put params

func (*TravelExpensePutParams) WithTimeout

WithTimeout adds the timeout to the travel expense put params

func (*TravelExpensePutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpensePutReader

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

TravelExpensePutReader is a Reader for the TravelExpensePut structure.

func (*TravelExpensePutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TravelExpenseSearchOK

type TravelExpenseSearchOK struct {
	Payload *models.ListResponseTravelExpense
}

TravelExpenseSearchOK handles this case with default header values.

successful operation

func NewTravelExpenseSearchOK

func NewTravelExpenseSearchOK() *TravelExpenseSearchOK

NewTravelExpenseSearchOK creates a TravelExpenseSearchOK with default headers values

func (*TravelExpenseSearchOK) Error

func (o *TravelExpenseSearchOK) Error() string

func (*TravelExpenseSearchOK) GetPayload

type TravelExpenseSearchParams

type TravelExpenseSearchParams struct {

	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*DepartmentID
	  Equals

	*/
	DepartmentID *string
	/*DepartureDateFrom
	  From and including

	*/
	DepartureDateFrom *string
	/*EmployeeID
	  Equals

	*/
	EmployeeID *string
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*ProjectID
	  Equals

	*/
	ProjectID *string
	/*ProjectManagerID
	  Equals

	*/
	ProjectManagerID *string
	/*ReturnDateTo
	  To and excluding

	*/
	ReturnDateTo *string
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string
	/*State
	  category

	*/
	State *string

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

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

func NewTravelExpenseSearchParams

func NewTravelExpenseSearchParams() *TravelExpenseSearchParams

NewTravelExpenseSearchParams creates a new TravelExpenseSearchParams object with the default values initialized.

func NewTravelExpenseSearchParamsWithContext

func NewTravelExpenseSearchParamsWithContext(ctx context.Context) *TravelExpenseSearchParams

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

func NewTravelExpenseSearchParamsWithHTTPClient

func NewTravelExpenseSearchParamsWithHTTPClient(client *http.Client) *TravelExpenseSearchParams

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

func NewTravelExpenseSearchParamsWithTimeout

func NewTravelExpenseSearchParamsWithTimeout(timeout time.Duration) *TravelExpenseSearchParams

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

func (*TravelExpenseSearchParams) SetContext

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

SetContext adds the context to the travel expense search params

func (*TravelExpenseSearchParams) SetCount

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

SetCount adds the count to the travel expense search params

func (*TravelExpenseSearchParams) SetDepartmentID

func (o *TravelExpenseSearchParams) SetDepartmentID(departmentID *string)

SetDepartmentID adds the departmentId to the travel expense search params

func (*TravelExpenseSearchParams) SetDepartureDateFrom

func (o *TravelExpenseSearchParams) SetDepartureDateFrom(departureDateFrom *string)

SetDepartureDateFrom adds the departureDateFrom to the travel expense search params

func (*TravelExpenseSearchParams) SetEmployeeID

func (o *TravelExpenseSearchParams) SetEmployeeID(employeeID *string)

SetEmployeeID adds the employeeId to the travel expense search params

func (*TravelExpenseSearchParams) SetFields

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

SetFields adds the fields to the travel expense search params

func (*TravelExpenseSearchParams) SetFrom

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

SetFrom adds the from to the travel expense search params

func (*TravelExpenseSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the travel expense search params

func (*TravelExpenseSearchParams) SetProjectID

func (o *TravelExpenseSearchParams) SetProjectID(projectID *string)

SetProjectID adds the projectId to the travel expense search params

func (*TravelExpenseSearchParams) SetProjectManagerID

func (o *TravelExpenseSearchParams) SetProjectManagerID(projectManagerID *string)

SetProjectManagerID adds the projectManagerId to the travel expense search params

func (*TravelExpenseSearchParams) SetReturnDateTo

func (o *TravelExpenseSearchParams) SetReturnDateTo(returnDateTo *string)

SetReturnDateTo adds the returnDateTo to the travel expense search params

func (*TravelExpenseSearchParams) SetSorting

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

SetSorting adds the sorting to the travel expense search params

func (*TravelExpenseSearchParams) SetState

func (o *TravelExpenseSearchParams) SetState(state *string)

SetState adds the state to the travel expense search params

func (*TravelExpenseSearchParams) SetTimeout

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

SetTimeout adds the timeout to the travel expense search params

func (*TravelExpenseSearchParams) WithContext

WithContext adds the context to the travel expense search params

func (*TravelExpenseSearchParams) WithCount

WithCount adds the count to the travel expense search params

func (*TravelExpenseSearchParams) WithDepartmentID

func (o *TravelExpenseSearchParams) WithDepartmentID(departmentID *string) *TravelExpenseSearchParams

WithDepartmentID adds the departmentID to the travel expense search params

func (*TravelExpenseSearchParams) WithDepartureDateFrom

func (o *TravelExpenseSearchParams) WithDepartureDateFrom(departureDateFrom *string) *TravelExpenseSearchParams

WithDepartureDateFrom adds the departureDateFrom to the travel expense search params

func (*TravelExpenseSearchParams) WithEmployeeID

func (o *TravelExpenseSearchParams) WithEmployeeID(employeeID *string) *TravelExpenseSearchParams

WithEmployeeID adds the employeeID to the travel expense search params

func (*TravelExpenseSearchParams) WithFields

WithFields adds the fields to the travel expense search params

func (*TravelExpenseSearchParams) WithFrom

WithFrom adds the from to the travel expense search params

func (*TravelExpenseSearchParams) WithHTTPClient

func (o *TravelExpenseSearchParams) WithHTTPClient(client *http.Client) *TravelExpenseSearchParams

WithHTTPClient adds the HTTPClient to the travel expense search params

func (*TravelExpenseSearchParams) WithProjectID

func (o *TravelExpenseSearchParams) WithProjectID(projectID *string) *TravelExpenseSearchParams

WithProjectID adds the projectID to the travel expense search params

func (*TravelExpenseSearchParams) WithProjectManagerID

func (o *TravelExpenseSearchParams) WithProjectManagerID(projectManagerID *string) *TravelExpenseSearchParams

WithProjectManagerID adds the projectManagerID to the travel expense search params

func (*TravelExpenseSearchParams) WithReturnDateTo

func (o *TravelExpenseSearchParams) WithReturnDateTo(returnDateTo *string) *TravelExpenseSearchParams

WithReturnDateTo adds the returnDateTo to the travel expense search params

func (*TravelExpenseSearchParams) WithSorting

WithSorting adds the sorting to the travel expense search params

func (*TravelExpenseSearchParams) WithState

WithState adds the state to the travel expense search params

func (*TravelExpenseSearchParams) WithTimeout

WithTimeout adds the timeout to the travel expense search params

func (*TravelExpenseSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpenseSearchReader

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

TravelExpenseSearchReader is a Reader for the TravelExpenseSearch structure.

func (*TravelExpenseSearchReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TravelExpenseUnapproveUnapproveOK

type TravelExpenseUnapproveUnapproveOK struct {
	Payload *models.ListResponseTravelExpense
}

TravelExpenseUnapproveUnapproveOK handles this case with default header values.

successful operation

func NewTravelExpenseUnapproveUnapproveOK

func NewTravelExpenseUnapproveUnapproveOK() *TravelExpenseUnapproveUnapproveOK

NewTravelExpenseUnapproveUnapproveOK creates a TravelExpenseUnapproveUnapproveOK with default headers values

func (*TravelExpenseUnapproveUnapproveOK) Error

func (*TravelExpenseUnapproveUnapproveOK) GetPayload

type TravelExpenseUnapproveUnapproveParams

type TravelExpenseUnapproveUnapproveParams struct {

	/*ID
	  ID of the elements

	*/
	ID *string

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

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

func NewTravelExpenseUnapproveUnapproveParams

func NewTravelExpenseUnapproveUnapproveParams() *TravelExpenseUnapproveUnapproveParams

NewTravelExpenseUnapproveUnapproveParams creates a new TravelExpenseUnapproveUnapproveParams object with the default values initialized.

func NewTravelExpenseUnapproveUnapproveParamsWithContext

func NewTravelExpenseUnapproveUnapproveParamsWithContext(ctx context.Context) *TravelExpenseUnapproveUnapproveParams

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

func NewTravelExpenseUnapproveUnapproveParamsWithHTTPClient

func NewTravelExpenseUnapproveUnapproveParamsWithHTTPClient(client *http.Client) *TravelExpenseUnapproveUnapproveParams

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

func NewTravelExpenseUnapproveUnapproveParamsWithTimeout

func NewTravelExpenseUnapproveUnapproveParamsWithTimeout(timeout time.Duration) *TravelExpenseUnapproveUnapproveParams

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

func (*TravelExpenseUnapproveUnapproveParams) SetContext

SetContext adds the context to the travel expense unapprove unapprove params

func (*TravelExpenseUnapproveUnapproveParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the travel expense unapprove unapprove params

func (*TravelExpenseUnapproveUnapproveParams) SetID

SetID adds the id to the travel expense unapprove unapprove params

func (*TravelExpenseUnapproveUnapproveParams) SetTimeout

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

SetTimeout adds the timeout to the travel expense unapprove unapprove params

func (*TravelExpenseUnapproveUnapproveParams) WithContext

WithContext adds the context to the travel expense unapprove unapprove params

func (*TravelExpenseUnapproveUnapproveParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the travel expense unapprove unapprove params

func (*TravelExpenseUnapproveUnapproveParams) WithID

WithID adds the id to the travel expense unapprove unapprove params

func (*TravelExpenseUnapproveUnapproveParams) WithTimeout

WithTimeout adds the timeout to the travel expense unapprove unapprove params

func (*TravelExpenseUnapproveUnapproveParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpenseUnapproveUnapproveReader

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

TravelExpenseUnapproveUnapproveReader is a Reader for the TravelExpenseUnapproveUnapprove structure.

func (*TravelExpenseUnapproveUnapproveReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TravelExpenseUndeliverUndeliverOK

type TravelExpenseUndeliverUndeliverOK struct {
	Payload *models.ListResponseTravelExpense
}

TravelExpenseUndeliverUndeliverOK handles this case with default header values.

successful operation

func NewTravelExpenseUndeliverUndeliverOK

func NewTravelExpenseUndeliverUndeliverOK() *TravelExpenseUndeliverUndeliverOK

NewTravelExpenseUndeliverUndeliverOK creates a TravelExpenseUndeliverUndeliverOK with default headers values

func (*TravelExpenseUndeliverUndeliverOK) Error

func (*TravelExpenseUndeliverUndeliverOK) GetPayload

type TravelExpenseUndeliverUndeliverParams

type TravelExpenseUndeliverUndeliverParams struct {

	/*ID
	  ID of the elements

	*/
	ID *string

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

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

func NewTravelExpenseUndeliverUndeliverParams

func NewTravelExpenseUndeliverUndeliverParams() *TravelExpenseUndeliverUndeliverParams

NewTravelExpenseUndeliverUndeliverParams creates a new TravelExpenseUndeliverUndeliverParams object with the default values initialized.

func NewTravelExpenseUndeliverUndeliverParamsWithContext

func NewTravelExpenseUndeliverUndeliverParamsWithContext(ctx context.Context) *TravelExpenseUndeliverUndeliverParams

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

func NewTravelExpenseUndeliverUndeliverParamsWithHTTPClient

func NewTravelExpenseUndeliverUndeliverParamsWithHTTPClient(client *http.Client) *TravelExpenseUndeliverUndeliverParams

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

func NewTravelExpenseUndeliverUndeliverParamsWithTimeout

func NewTravelExpenseUndeliverUndeliverParamsWithTimeout(timeout time.Duration) *TravelExpenseUndeliverUndeliverParams

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

func (*TravelExpenseUndeliverUndeliverParams) SetContext

SetContext adds the context to the travel expense undeliver undeliver params

func (*TravelExpenseUndeliverUndeliverParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the travel expense undeliver undeliver params

func (*TravelExpenseUndeliverUndeliverParams) SetID

SetID adds the id to the travel expense undeliver undeliver params

func (*TravelExpenseUndeliverUndeliverParams) SetTimeout

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

SetTimeout adds the timeout to the travel expense undeliver undeliver params

func (*TravelExpenseUndeliverUndeliverParams) WithContext

WithContext adds the context to the travel expense undeliver undeliver params

func (*TravelExpenseUndeliverUndeliverParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the travel expense undeliver undeliver params

func (*TravelExpenseUndeliverUndeliverParams) WithID

WithID adds the id to the travel expense undeliver undeliver params

func (*TravelExpenseUndeliverUndeliverParams) WithTimeout

WithTimeout adds the timeout to the travel expense undeliver undeliver params

func (*TravelExpenseUndeliverUndeliverParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpenseUndeliverUndeliverReader

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

TravelExpenseUndeliverUndeliverReader is a Reader for the TravelExpenseUndeliverUndeliver structure.

func (*TravelExpenseUndeliverUndeliverReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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