Documentation ¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TravelExpenseApproveApprove(params *TravelExpenseApproveApproveParams, ...) (*TravelExpenseApproveApproveOK, error)
- func (a *Client) TravelExpenseAttachmentDeleteAttachment(params *TravelExpenseAttachmentDeleteAttachmentParams, ...) error
- func (a *Client) TravelExpenseAttachmentDownloadAttachment(params *TravelExpenseAttachmentDownloadAttachmentParams, ...) (*TravelExpenseAttachmentDownloadAttachmentOK, error)
- func (a *Client) TravelExpenseAttachmentListUploadAttachments(params *TravelExpenseAttachmentListUploadAttachmentsParams, ...) error
- func (a *Client) TravelExpenseAttachmentUploadAttachment(params *TravelExpenseAttachmentUploadAttachmentParams, ...) error
- func (a *Client) TravelExpenseCopyCopy(params *TravelExpenseCopyCopyParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseCopyCopyOK, error)
- func (a *Client) TravelExpenseCreateVouchersCreateVouchers(params *TravelExpenseCreateVouchersCreateVouchersParams, ...) (*TravelExpenseCreateVouchersCreateVouchersOK, error)
- func (a *Client) TravelExpenseDelete(params *TravelExpenseDeleteParams, authInfo runtime.ClientAuthInfoWriter) error
- func (a *Client) TravelExpenseDeliverDeliver(params *TravelExpenseDeliverDeliverParams, ...) (*TravelExpenseDeliverDeliverOK, error)
- func (a *Client) TravelExpenseGet(params *TravelExpenseGetParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseGetOK, error)
- func (a *Client) TravelExpensePost(params *TravelExpensePostParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpensePostCreated, error)
- func (a *Client) TravelExpensePut(params *TravelExpensePutParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpensePutOK, error)
- func (a *Client) TravelExpenseSearch(params *TravelExpenseSearchParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseSearchOK, error)
- func (a *Client) TravelExpenseUnapproveUnapprove(params *TravelExpenseUnapproveUnapproveParams, ...) (*TravelExpenseUnapproveUnapproveOK, error)
- func (a *Client) TravelExpenseUndeliverUndeliver(params *TravelExpenseUndeliverUndeliverParams, ...) (*TravelExpenseUndeliverUndeliverOK, error)
- type ClientService
- type TravelExpenseApproveApproveOK
- type TravelExpenseApproveApproveParams
- func NewTravelExpenseApproveApproveParams() *TravelExpenseApproveApproveParams
- func NewTravelExpenseApproveApproveParamsWithContext(ctx context.Context) *TravelExpenseApproveApproveParams
- func NewTravelExpenseApproveApproveParamsWithHTTPClient(client *http.Client) *TravelExpenseApproveApproveParams
- func NewTravelExpenseApproveApproveParamsWithTimeout(timeout time.Duration) *TravelExpenseApproveApproveParams
- func (o *TravelExpenseApproveApproveParams) SetContext(ctx context.Context)
- func (o *TravelExpenseApproveApproveParams) SetHTTPClient(client *http.Client)
- func (o *TravelExpenseApproveApproveParams) SetID(id *string)
- func (o *TravelExpenseApproveApproveParams) SetTimeout(timeout time.Duration)
- func (o *TravelExpenseApproveApproveParams) WithContext(ctx context.Context) *TravelExpenseApproveApproveParams
- func (o *TravelExpenseApproveApproveParams) WithHTTPClient(client *http.Client) *TravelExpenseApproveApproveParams
- func (o *TravelExpenseApproveApproveParams) WithID(id *string) *TravelExpenseApproveApproveParams
- func (o *TravelExpenseApproveApproveParams) WithTimeout(timeout time.Duration) *TravelExpenseApproveApproveParams
- func (o *TravelExpenseApproveApproveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TravelExpenseApproveApproveReader
- type TravelExpenseAttachmentDeleteAttachmentDefault
- type TravelExpenseAttachmentDeleteAttachmentParams
- func NewTravelExpenseAttachmentDeleteAttachmentParams() *TravelExpenseAttachmentDeleteAttachmentParams
- func NewTravelExpenseAttachmentDeleteAttachmentParamsWithContext(ctx context.Context) *TravelExpenseAttachmentDeleteAttachmentParams
- func NewTravelExpenseAttachmentDeleteAttachmentParamsWithHTTPClient(client *http.Client) *TravelExpenseAttachmentDeleteAttachmentParams
- func NewTravelExpenseAttachmentDeleteAttachmentParamsWithTimeout(timeout time.Duration) *TravelExpenseAttachmentDeleteAttachmentParams
- func (o *TravelExpenseAttachmentDeleteAttachmentParams) SetContext(ctx context.Context)
- func (o *TravelExpenseAttachmentDeleteAttachmentParams) SetHTTPClient(client *http.Client)
- func (o *TravelExpenseAttachmentDeleteAttachmentParams) SetSendToInbox(sendToInbox *bool)
- func (o *TravelExpenseAttachmentDeleteAttachmentParams) SetSplit(split *bool)
- func (o *TravelExpenseAttachmentDeleteAttachmentParams) SetTimeout(timeout time.Duration)
- func (o *TravelExpenseAttachmentDeleteAttachmentParams) SetTravelExpenseID(travelExpenseID int32)
- func (o *TravelExpenseAttachmentDeleteAttachmentParams) SetVersion(version *int32)
- func (o *TravelExpenseAttachmentDeleteAttachmentParams) WithContext(ctx context.Context) *TravelExpenseAttachmentDeleteAttachmentParams
- func (o *TravelExpenseAttachmentDeleteAttachmentParams) WithHTTPClient(client *http.Client) *TravelExpenseAttachmentDeleteAttachmentParams
- func (o *TravelExpenseAttachmentDeleteAttachmentParams) WithSendToInbox(sendToInbox *bool) *TravelExpenseAttachmentDeleteAttachmentParams
- func (o *TravelExpenseAttachmentDeleteAttachmentParams) WithSplit(split *bool) *TravelExpenseAttachmentDeleteAttachmentParams
- func (o *TravelExpenseAttachmentDeleteAttachmentParams) WithTimeout(timeout time.Duration) *TravelExpenseAttachmentDeleteAttachmentParams
- func (o *TravelExpenseAttachmentDeleteAttachmentParams) WithTravelExpenseID(travelExpenseID int32) *TravelExpenseAttachmentDeleteAttachmentParams
- func (o *TravelExpenseAttachmentDeleteAttachmentParams) WithVersion(version *int32) *TravelExpenseAttachmentDeleteAttachmentParams
- func (o *TravelExpenseAttachmentDeleteAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TravelExpenseAttachmentDeleteAttachmentReader
- type TravelExpenseAttachmentDownloadAttachmentOK
- type TravelExpenseAttachmentDownloadAttachmentParams
- func NewTravelExpenseAttachmentDownloadAttachmentParams() *TravelExpenseAttachmentDownloadAttachmentParams
- func NewTravelExpenseAttachmentDownloadAttachmentParamsWithContext(ctx context.Context) *TravelExpenseAttachmentDownloadAttachmentParams
- func NewTravelExpenseAttachmentDownloadAttachmentParamsWithHTTPClient(client *http.Client) *TravelExpenseAttachmentDownloadAttachmentParams
- func NewTravelExpenseAttachmentDownloadAttachmentParamsWithTimeout(timeout time.Duration) *TravelExpenseAttachmentDownloadAttachmentParams
- func (o *TravelExpenseAttachmentDownloadAttachmentParams) SetContext(ctx context.Context)
- func (o *TravelExpenseAttachmentDownloadAttachmentParams) SetHTTPClient(client *http.Client)
- func (o *TravelExpenseAttachmentDownloadAttachmentParams) SetTimeout(timeout time.Duration)
- func (o *TravelExpenseAttachmentDownloadAttachmentParams) SetTravelExpenseID(travelExpenseID int32)
- func (o *TravelExpenseAttachmentDownloadAttachmentParams) WithContext(ctx context.Context) *TravelExpenseAttachmentDownloadAttachmentParams
- func (o *TravelExpenseAttachmentDownloadAttachmentParams) WithHTTPClient(client *http.Client) *TravelExpenseAttachmentDownloadAttachmentParams
- func (o *TravelExpenseAttachmentDownloadAttachmentParams) WithTimeout(timeout time.Duration) *TravelExpenseAttachmentDownloadAttachmentParams
- func (o *TravelExpenseAttachmentDownloadAttachmentParams) WithTravelExpenseID(travelExpenseID int32) *TravelExpenseAttachmentDownloadAttachmentParams
- func (o *TravelExpenseAttachmentDownloadAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TravelExpenseAttachmentDownloadAttachmentReader
- type TravelExpenseAttachmentListUploadAttachmentsDefault
- type TravelExpenseAttachmentListUploadAttachmentsParams
- func NewTravelExpenseAttachmentListUploadAttachmentsParams() *TravelExpenseAttachmentListUploadAttachmentsParams
- func NewTravelExpenseAttachmentListUploadAttachmentsParamsWithContext(ctx context.Context) *TravelExpenseAttachmentListUploadAttachmentsParams
- func NewTravelExpenseAttachmentListUploadAttachmentsParamsWithHTTPClient(client *http.Client) *TravelExpenseAttachmentListUploadAttachmentsParams
- func NewTravelExpenseAttachmentListUploadAttachmentsParamsWithTimeout(timeout time.Duration) *TravelExpenseAttachmentListUploadAttachmentsParams
- func (o *TravelExpenseAttachmentListUploadAttachmentsParams) SetBody(body *models.FormDataMultiPart)
- func (o *TravelExpenseAttachmentListUploadAttachmentsParams) SetContext(ctx context.Context)
- func (o *TravelExpenseAttachmentListUploadAttachmentsParams) SetCreateNewCost(createNewCost *bool)
- func (o *TravelExpenseAttachmentListUploadAttachmentsParams) SetHTTPClient(client *http.Client)
- func (o *TravelExpenseAttachmentListUploadAttachmentsParams) SetTimeout(timeout time.Duration)
- func (o *TravelExpenseAttachmentListUploadAttachmentsParams) SetTravelExpenseID(travelExpenseID int32)
- func (o *TravelExpenseAttachmentListUploadAttachmentsParams) WithBody(body *models.FormDataMultiPart) *TravelExpenseAttachmentListUploadAttachmentsParams
- func (o *TravelExpenseAttachmentListUploadAttachmentsParams) WithContext(ctx context.Context) *TravelExpenseAttachmentListUploadAttachmentsParams
- func (o *TravelExpenseAttachmentListUploadAttachmentsParams) WithCreateNewCost(createNewCost *bool) *TravelExpenseAttachmentListUploadAttachmentsParams
- func (o *TravelExpenseAttachmentListUploadAttachmentsParams) WithHTTPClient(client *http.Client) *TravelExpenseAttachmentListUploadAttachmentsParams
- func (o *TravelExpenseAttachmentListUploadAttachmentsParams) WithTimeout(timeout time.Duration) *TravelExpenseAttachmentListUploadAttachmentsParams
- func (o *TravelExpenseAttachmentListUploadAttachmentsParams) WithTravelExpenseID(travelExpenseID int32) *TravelExpenseAttachmentListUploadAttachmentsParams
- func (o *TravelExpenseAttachmentListUploadAttachmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TravelExpenseAttachmentListUploadAttachmentsReader
- type TravelExpenseAttachmentUploadAttachmentDefault
- type TravelExpenseAttachmentUploadAttachmentParams
- func NewTravelExpenseAttachmentUploadAttachmentParams() *TravelExpenseAttachmentUploadAttachmentParams
- func NewTravelExpenseAttachmentUploadAttachmentParamsWithContext(ctx context.Context) *TravelExpenseAttachmentUploadAttachmentParams
- func NewTravelExpenseAttachmentUploadAttachmentParamsWithHTTPClient(client *http.Client) *TravelExpenseAttachmentUploadAttachmentParams
- func NewTravelExpenseAttachmentUploadAttachmentParamsWithTimeout(timeout time.Duration) *TravelExpenseAttachmentUploadAttachmentParams
- func (o *TravelExpenseAttachmentUploadAttachmentParams) SetContext(ctx context.Context)
- func (o *TravelExpenseAttachmentUploadAttachmentParams) SetCreateNewCost(createNewCost *bool)
- func (o *TravelExpenseAttachmentUploadAttachmentParams) SetFile(file runtime.NamedReadCloser)
- func (o *TravelExpenseAttachmentUploadAttachmentParams) SetHTTPClient(client *http.Client)
- func (o *TravelExpenseAttachmentUploadAttachmentParams) SetTimeout(timeout time.Duration)
- func (o *TravelExpenseAttachmentUploadAttachmentParams) SetTravelExpenseID(travelExpenseID int32)
- func (o *TravelExpenseAttachmentUploadAttachmentParams) WithContext(ctx context.Context) *TravelExpenseAttachmentUploadAttachmentParams
- func (o *TravelExpenseAttachmentUploadAttachmentParams) WithCreateNewCost(createNewCost *bool) *TravelExpenseAttachmentUploadAttachmentParams
- func (o *TravelExpenseAttachmentUploadAttachmentParams) WithFile(file runtime.NamedReadCloser) *TravelExpenseAttachmentUploadAttachmentParams
- func (o *TravelExpenseAttachmentUploadAttachmentParams) WithHTTPClient(client *http.Client) *TravelExpenseAttachmentUploadAttachmentParams
- func (o *TravelExpenseAttachmentUploadAttachmentParams) WithTimeout(timeout time.Duration) *TravelExpenseAttachmentUploadAttachmentParams
- func (o *TravelExpenseAttachmentUploadAttachmentParams) WithTravelExpenseID(travelExpenseID int32) *TravelExpenseAttachmentUploadAttachmentParams
- func (o *TravelExpenseAttachmentUploadAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TravelExpenseAttachmentUploadAttachmentReader
- type TravelExpenseCopyCopyOK
- type TravelExpenseCopyCopyParams
- func NewTravelExpenseCopyCopyParams() *TravelExpenseCopyCopyParams
- func NewTravelExpenseCopyCopyParamsWithContext(ctx context.Context) *TravelExpenseCopyCopyParams
- func NewTravelExpenseCopyCopyParamsWithHTTPClient(client *http.Client) *TravelExpenseCopyCopyParams
- func NewTravelExpenseCopyCopyParamsWithTimeout(timeout time.Duration) *TravelExpenseCopyCopyParams
- func (o *TravelExpenseCopyCopyParams) SetContext(ctx context.Context)
- func (o *TravelExpenseCopyCopyParams) SetHTTPClient(client *http.Client)
- func (o *TravelExpenseCopyCopyParams) SetID(id int32)
- func (o *TravelExpenseCopyCopyParams) SetTimeout(timeout time.Duration)
- func (o *TravelExpenseCopyCopyParams) WithContext(ctx context.Context) *TravelExpenseCopyCopyParams
- func (o *TravelExpenseCopyCopyParams) WithHTTPClient(client *http.Client) *TravelExpenseCopyCopyParams
- func (o *TravelExpenseCopyCopyParams) WithID(id int32) *TravelExpenseCopyCopyParams
- func (o *TravelExpenseCopyCopyParams) WithTimeout(timeout time.Duration) *TravelExpenseCopyCopyParams
- func (o *TravelExpenseCopyCopyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TravelExpenseCopyCopyReader
- type TravelExpenseCreateVouchersCreateVouchersOK
- type TravelExpenseCreateVouchersCreateVouchersParams
- func NewTravelExpenseCreateVouchersCreateVouchersParams() *TravelExpenseCreateVouchersCreateVouchersParams
- func NewTravelExpenseCreateVouchersCreateVouchersParamsWithContext(ctx context.Context) *TravelExpenseCreateVouchersCreateVouchersParams
- func NewTravelExpenseCreateVouchersCreateVouchersParamsWithHTTPClient(client *http.Client) *TravelExpenseCreateVouchersCreateVouchersParams
- func NewTravelExpenseCreateVouchersCreateVouchersParamsWithTimeout(timeout time.Duration) *TravelExpenseCreateVouchersCreateVouchersParams
- func (o *TravelExpenseCreateVouchersCreateVouchersParams) SetContext(ctx context.Context)
- func (o *TravelExpenseCreateVouchersCreateVouchersParams) SetDate(date string)
- func (o *TravelExpenseCreateVouchersCreateVouchersParams) SetHTTPClient(client *http.Client)
- func (o *TravelExpenseCreateVouchersCreateVouchersParams) SetID(id *string)
- func (o *TravelExpenseCreateVouchersCreateVouchersParams) SetTimeout(timeout time.Duration)
- func (o *TravelExpenseCreateVouchersCreateVouchersParams) WithContext(ctx context.Context) *TravelExpenseCreateVouchersCreateVouchersParams
- func (o *TravelExpenseCreateVouchersCreateVouchersParams) WithDate(date string) *TravelExpenseCreateVouchersCreateVouchersParams
- func (o *TravelExpenseCreateVouchersCreateVouchersParams) WithHTTPClient(client *http.Client) *TravelExpenseCreateVouchersCreateVouchersParams
- func (o *TravelExpenseCreateVouchersCreateVouchersParams) WithID(id *string) *TravelExpenseCreateVouchersCreateVouchersParams
- func (o *TravelExpenseCreateVouchersCreateVouchersParams) WithTimeout(timeout time.Duration) *TravelExpenseCreateVouchersCreateVouchersParams
- func (o *TravelExpenseCreateVouchersCreateVouchersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TravelExpenseCreateVouchersCreateVouchersReader
- type TravelExpenseDeleteDefault
- type TravelExpenseDeleteParams
- func NewTravelExpenseDeleteParams() *TravelExpenseDeleteParams
- func NewTravelExpenseDeleteParamsWithContext(ctx context.Context) *TravelExpenseDeleteParams
- func NewTravelExpenseDeleteParamsWithHTTPClient(client *http.Client) *TravelExpenseDeleteParams
- func NewTravelExpenseDeleteParamsWithTimeout(timeout time.Duration) *TravelExpenseDeleteParams
- func (o *TravelExpenseDeleteParams) SetContext(ctx context.Context)
- func (o *TravelExpenseDeleteParams) SetHTTPClient(client *http.Client)
- func (o *TravelExpenseDeleteParams) SetID(id int32)
- func (o *TravelExpenseDeleteParams) SetTimeout(timeout time.Duration)
- func (o *TravelExpenseDeleteParams) WithContext(ctx context.Context) *TravelExpenseDeleteParams
- func (o *TravelExpenseDeleteParams) WithHTTPClient(client *http.Client) *TravelExpenseDeleteParams
- func (o *TravelExpenseDeleteParams) WithID(id int32) *TravelExpenseDeleteParams
- func (o *TravelExpenseDeleteParams) WithTimeout(timeout time.Duration) *TravelExpenseDeleteParams
- func (o *TravelExpenseDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TravelExpenseDeleteReader
- type TravelExpenseDeliverDeliverOK
- type TravelExpenseDeliverDeliverParams
- func NewTravelExpenseDeliverDeliverParams() *TravelExpenseDeliverDeliverParams
- func NewTravelExpenseDeliverDeliverParamsWithContext(ctx context.Context) *TravelExpenseDeliverDeliverParams
- func NewTravelExpenseDeliverDeliverParamsWithHTTPClient(client *http.Client) *TravelExpenseDeliverDeliverParams
- func NewTravelExpenseDeliverDeliverParamsWithTimeout(timeout time.Duration) *TravelExpenseDeliverDeliverParams
- func (o *TravelExpenseDeliverDeliverParams) SetContext(ctx context.Context)
- func (o *TravelExpenseDeliverDeliverParams) SetHTTPClient(client *http.Client)
- func (o *TravelExpenseDeliverDeliverParams) SetID(id *string)
- func (o *TravelExpenseDeliverDeliverParams) SetTimeout(timeout time.Duration)
- func (o *TravelExpenseDeliverDeliverParams) WithContext(ctx context.Context) *TravelExpenseDeliverDeliverParams
- func (o *TravelExpenseDeliverDeliverParams) WithHTTPClient(client *http.Client) *TravelExpenseDeliverDeliverParams
- func (o *TravelExpenseDeliverDeliverParams) WithID(id *string) *TravelExpenseDeliverDeliverParams
- func (o *TravelExpenseDeliverDeliverParams) WithTimeout(timeout time.Duration) *TravelExpenseDeliverDeliverParams
- func (o *TravelExpenseDeliverDeliverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TravelExpenseDeliverDeliverReader
- type TravelExpenseGetOK
- type TravelExpenseGetParams
- func NewTravelExpenseGetParams() *TravelExpenseGetParams
- func NewTravelExpenseGetParamsWithContext(ctx context.Context) *TravelExpenseGetParams
- func NewTravelExpenseGetParamsWithHTTPClient(client *http.Client) *TravelExpenseGetParams
- func NewTravelExpenseGetParamsWithTimeout(timeout time.Duration) *TravelExpenseGetParams
- func (o *TravelExpenseGetParams) SetContext(ctx context.Context)
- func (o *TravelExpenseGetParams) SetFields(fields *string)
- func (o *TravelExpenseGetParams) SetHTTPClient(client *http.Client)
- func (o *TravelExpenseGetParams) SetID(id int32)
- func (o *TravelExpenseGetParams) SetTimeout(timeout time.Duration)
- func (o *TravelExpenseGetParams) WithContext(ctx context.Context) *TravelExpenseGetParams
- func (o *TravelExpenseGetParams) WithFields(fields *string) *TravelExpenseGetParams
- func (o *TravelExpenseGetParams) WithHTTPClient(client *http.Client) *TravelExpenseGetParams
- func (o *TravelExpenseGetParams) WithID(id int32) *TravelExpenseGetParams
- func (o *TravelExpenseGetParams) WithTimeout(timeout time.Duration) *TravelExpenseGetParams
- func (o *TravelExpenseGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TravelExpenseGetReader
- type TravelExpensePostCreated
- type TravelExpensePostParams
- func NewTravelExpensePostParams() *TravelExpensePostParams
- func NewTravelExpensePostParamsWithContext(ctx context.Context) *TravelExpensePostParams
- func NewTravelExpensePostParamsWithHTTPClient(client *http.Client) *TravelExpensePostParams
- func NewTravelExpensePostParamsWithTimeout(timeout time.Duration) *TravelExpensePostParams
- func (o *TravelExpensePostParams) SetBody(body *models.TravelExpense)
- func (o *TravelExpensePostParams) SetContext(ctx context.Context)
- func (o *TravelExpensePostParams) SetHTTPClient(client *http.Client)
- func (o *TravelExpensePostParams) SetTimeout(timeout time.Duration)
- func (o *TravelExpensePostParams) WithBody(body *models.TravelExpense) *TravelExpensePostParams
- func (o *TravelExpensePostParams) WithContext(ctx context.Context) *TravelExpensePostParams
- func (o *TravelExpensePostParams) WithHTTPClient(client *http.Client) *TravelExpensePostParams
- func (o *TravelExpensePostParams) WithTimeout(timeout time.Duration) *TravelExpensePostParams
- func (o *TravelExpensePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TravelExpensePostReader
- type TravelExpensePutOK
- type TravelExpensePutParams
- func NewTravelExpensePutParams() *TravelExpensePutParams
- func NewTravelExpensePutParamsWithContext(ctx context.Context) *TravelExpensePutParams
- func NewTravelExpensePutParamsWithHTTPClient(client *http.Client) *TravelExpensePutParams
- func NewTravelExpensePutParamsWithTimeout(timeout time.Duration) *TravelExpensePutParams
- func (o *TravelExpensePutParams) SetBody(body *models.TravelExpense)
- func (o *TravelExpensePutParams) SetContext(ctx context.Context)
- func (o *TravelExpensePutParams) SetHTTPClient(client *http.Client)
- func (o *TravelExpensePutParams) SetID(id int32)
- func (o *TravelExpensePutParams) SetTimeout(timeout time.Duration)
- func (o *TravelExpensePutParams) WithBody(body *models.TravelExpense) *TravelExpensePutParams
- func (o *TravelExpensePutParams) WithContext(ctx context.Context) *TravelExpensePutParams
- func (o *TravelExpensePutParams) WithHTTPClient(client *http.Client) *TravelExpensePutParams
- func (o *TravelExpensePutParams) WithID(id int32) *TravelExpensePutParams
- func (o *TravelExpensePutParams) WithTimeout(timeout time.Duration) *TravelExpensePutParams
- func (o *TravelExpensePutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TravelExpensePutReader
- type TravelExpenseSearchOK
- type TravelExpenseSearchParams
- func NewTravelExpenseSearchParams() *TravelExpenseSearchParams
- func NewTravelExpenseSearchParamsWithContext(ctx context.Context) *TravelExpenseSearchParams
- func NewTravelExpenseSearchParamsWithHTTPClient(client *http.Client) *TravelExpenseSearchParams
- func NewTravelExpenseSearchParamsWithTimeout(timeout time.Duration) *TravelExpenseSearchParams
- func (o *TravelExpenseSearchParams) SetContext(ctx context.Context)
- func (o *TravelExpenseSearchParams) SetCount(count *int64)
- func (o *TravelExpenseSearchParams) SetDepartmentID(departmentID *string)
- func (o *TravelExpenseSearchParams) SetDepartureDateFrom(departureDateFrom *string)
- func (o *TravelExpenseSearchParams) SetEmployeeID(employeeID *string)
- func (o *TravelExpenseSearchParams) SetFields(fields *string)
- func (o *TravelExpenseSearchParams) SetFrom(from *int64)
- func (o *TravelExpenseSearchParams) SetHTTPClient(client *http.Client)
- func (o *TravelExpenseSearchParams) SetProjectID(projectID *string)
- func (o *TravelExpenseSearchParams) SetProjectManagerID(projectManagerID *string)
- func (o *TravelExpenseSearchParams) SetReturnDateTo(returnDateTo *string)
- func (o *TravelExpenseSearchParams) SetSorting(sorting *string)
- func (o *TravelExpenseSearchParams) SetState(state *string)
- func (o *TravelExpenseSearchParams) SetTimeout(timeout time.Duration)
- func (o *TravelExpenseSearchParams) WithContext(ctx context.Context) *TravelExpenseSearchParams
- func (o *TravelExpenseSearchParams) WithCount(count *int64) *TravelExpenseSearchParams
- func (o *TravelExpenseSearchParams) WithDepartmentID(departmentID *string) *TravelExpenseSearchParams
- func (o *TravelExpenseSearchParams) WithDepartureDateFrom(departureDateFrom *string) *TravelExpenseSearchParams
- func (o *TravelExpenseSearchParams) WithEmployeeID(employeeID *string) *TravelExpenseSearchParams
- func (o *TravelExpenseSearchParams) WithFields(fields *string) *TravelExpenseSearchParams
- func (o *TravelExpenseSearchParams) WithFrom(from *int64) *TravelExpenseSearchParams
- func (o *TravelExpenseSearchParams) WithHTTPClient(client *http.Client) *TravelExpenseSearchParams
- func (o *TravelExpenseSearchParams) WithProjectID(projectID *string) *TravelExpenseSearchParams
- func (o *TravelExpenseSearchParams) WithProjectManagerID(projectManagerID *string) *TravelExpenseSearchParams
- func (o *TravelExpenseSearchParams) WithReturnDateTo(returnDateTo *string) *TravelExpenseSearchParams
- func (o *TravelExpenseSearchParams) WithSorting(sorting *string) *TravelExpenseSearchParams
- func (o *TravelExpenseSearchParams) WithState(state *string) *TravelExpenseSearchParams
- func (o *TravelExpenseSearchParams) WithTimeout(timeout time.Duration) *TravelExpenseSearchParams
- func (o *TravelExpenseSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TravelExpenseSearchReader
- type TravelExpenseUnapproveUnapproveOK
- type TravelExpenseUnapproveUnapproveParams
- func NewTravelExpenseUnapproveUnapproveParams() *TravelExpenseUnapproveUnapproveParams
- func NewTravelExpenseUnapproveUnapproveParamsWithContext(ctx context.Context) *TravelExpenseUnapproveUnapproveParams
- func NewTravelExpenseUnapproveUnapproveParamsWithHTTPClient(client *http.Client) *TravelExpenseUnapproveUnapproveParams
- func NewTravelExpenseUnapproveUnapproveParamsWithTimeout(timeout time.Duration) *TravelExpenseUnapproveUnapproveParams
- func (o *TravelExpenseUnapproveUnapproveParams) SetContext(ctx context.Context)
- func (o *TravelExpenseUnapproveUnapproveParams) SetHTTPClient(client *http.Client)
- func (o *TravelExpenseUnapproveUnapproveParams) SetID(id *string)
- func (o *TravelExpenseUnapproveUnapproveParams) SetTimeout(timeout time.Duration)
- func (o *TravelExpenseUnapproveUnapproveParams) WithContext(ctx context.Context) *TravelExpenseUnapproveUnapproveParams
- func (o *TravelExpenseUnapproveUnapproveParams) WithHTTPClient(client *http.Client) *TravelExpenseUnapproveUnapproveParams
- func (o *TravelExpenseUnapproveUnapproveParams) WithID(id *string) *TravelExpenseUnapproveUnapproveParams
- func (o *TravelExpenseUnapproveUnapproveParams) WithTimeout(timeout time.Duration) *TravelExpenseUnapproveUnapproveParams
- func (o *TravelExpenseUnapproveUnapproveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TravelExpenseUnapproveUnapproveReader
- type TravelExpenseUndeliverUndeliverOK
- type TravelExpenseUndeliverUndeliverParams
- func NewTravelExpenseUndeliverUndeliverParams() *TravelExpenseUndeliverUndeliverParams
- func NewTravelExpenseUndeliverUndeliverParamsWithContext(ctx context.Context) *TravelExpenseUndeliverUndeliverParams
- func NewTravelExpenseUndeliverUndeliverParamsWithHTTPClient(client *http.Client) *TravelExpenseUndeliverUndeliverParams
- func NewTravelExpenseUndeliverUndeliverParamsWithTimeout(timeout time.Duration) *TravelExpenseUndeliverUndeliverParams
- func (o *TravelExpenseUndeliverUndeliverParams) SetContext(ctx context.Context)
- func (o *TravelExpenseUndeliverUndeliverParams) SetHTTPClient(client *http.Client)
- func (o *TravelExpenseUndeliverUndeliverParams) SetID(id *string)
- func (o *TravelExpenseUndeliverUndeliverParams) SetTimeout(timeout time.Duration)
- func (o *TravelExpenseUndeliverUndeliverParams) WithContext(ctx context.Context) *TravelExpenseUndeliverUndeliverParams
- func (o *TravelExpenseUndeliverUndeliverParams) WithHTTPClient(client *http.Client) *TravelExpenseUndeliverUndeliverParams
- func (o *TravelExpenseUndeliverUndeliverParams) WithID(id *string) *TravelExpenseUndeliverUndeliverParams
- func (o *TravelExpenseUndeliverUndeliverParams) WithTimeout(timeout time.Duration) *TravelExpenseUndeliverUndeliverParams
- func (o *TravelExpenseUndeliverUndeliverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TravelExpenseUndeliverUndeliverReader
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 ¶
func (a *Client) TravelExpenseAttachmentDownloadAttachment(params *TravelExpenseAttachmentDownloadAttachmentParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseAttachmentDownloadAttachmentOK, error)
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 ¶
func (a *Client) TravelExpenseCreateVouchersCreateVouchers(params *TravelExpenseCreateVouchersCreateVouchersParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseCreateVouchersCreateVouchersOK, error)
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 (o *TravelExpenseApproveApproveOK) Error() string
func (*TravelExpenseApproveApproveOK) GetPayload ¶
func (o *TravelExpenseApproveApproveOK) GetPayload() *models.ListResponseTravelExpense
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 ¶
func (o *TravelExpenseApproveApproveParams) SetContext(ctx context.Context)
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 ¶
func (o *TravelExpenseApproveApproveParams) SetID(id *string)
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 ¶
func (o *TravelExpenseApproveApproveParams) WithContext(ctx context.Context) *TravelExpenseApproveApproveParams
WithContext adds the context to the travel expense approve approve params
func (*TravelExpenseApproveApproveParams) WithHTTPClient ¶
func (o *TravelExpenseApproveApproveParams) WithHTTPClient(client *http.Client) *TravelExpenseApproveApproveParams
WithHTTPClient adds the HTTPClient to the travel expense approve approve params
func (*TravelExpenseApproveApproveParams) WithID ¶
func (o *TravelExpenseApproveApproveParams) WithID(id *string) *TravelExpenseApproveApproveParams
WithID adds the id to the travel expense approve approve params
func (*TravelExpenseApproveApproveParams) WithTimeout ¶
func (o *TravelExpenseApproveApproveParams) WithTimeout(timeout time.Duration) *TravelExpenseApproveApproveParams
WithTimeout adds the timeout to the travel expense approve approve params
func (*TravelExpenseApproveApproveParams) WriteToRequest ¶
func (o *TravelExpenseApproveApproveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *TravelExpenseAttachmentDeleteAttachmentDefault) Code() int
Code gets the status code for the travel expense attachment delete attachment default response
func (*TravelExpenseAttachmentDeleteAttachmentDefault) Error ¶
func (o *TravelExpenseAttachmentDeleteAttachmentDefault) Error() string
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 ¶
func (o *TravelExpenseAttachmentDeleteAttachmentParams) SetContext(ctx context.Context)
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 ¶
func (o *TravelExpenseAttachmentDeleteAttachmentParams) SetSplit(split *bool)
SetSplit adds the split to the travel expense attachment delete attachment params
func (*TravelExpenseAttachmentDeleteAttachmentParams) SetTimeout ¶
func (o *TravelExpenseAttachmentDeleteAttachmentParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *TravelExpenseAttachmentDeleteAttachmentParams) WithContext(ctx context.Context) *TravelExpenseAttachmentDeleteAttachmentParams
WithContext adds the context to the travel expense attachment delete attachment params
func (*TravelExpenseAttachmentDeleteAttachmentParams) WithHTTPClient ¶
func (o *TravelExpenseAttachmentDeleteAttachmentParams) WithHTTPClient(client *http.Client) *TravelExpenseAttachmentDeleteAttachmentParams
WithHTTPClient adds the HTTPClient to the travel expense attachment delete attachment params
func (*TravelExpenseAttachmentDeleteAttachmentParams) WithSendToInbox ¶
func (o *TravelExpenseAttachmentDeleteAttachmentParams) WithSendToInbox(sendToInbox *bool) *TravelExpenseAttachmentDeleteAttachmentParams
WithSendToInbox adds the sendToInbox to the travel expense attachment delete attachment params
func (*TravelExpenseAttachmentDeleteAttachmentParams) WithSplit ¶
func (o *TravelExpenseAttachmentDeleteAttachmentParams) WithSplit(split *bool) *TravelExpenseAttachmentDeleteAttachmentParams
WithSplit adds the split to the travel expense attachment delete attachment params
func (*TravelExpenseAttachmentDeleteAttachmentParams) WithTimeout ¶
func (o *TravelExpenseAttachmentDeleteAttachmentParams) WithTimeout(timeout time.Duration) *TravelExpenseAttachmentDeleteAttachmentParams
WithTimeout adds the timeout to the travel expense attachment delete attachment params
func (*TravelExpenseAttachmentDeleteAttachmentParams) WithTravelExpenseID ¶
func (o *TravelExpenseAttachmentDeleteAttachmentParams) WithTravelExpenseID(travelExpenseID int32) *TravelExpenseAttachmentDeleteAttachmentParams
WithTravelExpenseID adds the travelExpenseID to the travel expense attachment delete attachment params
func (*TravelExpenseAttachmentDeleteAttachmentParams) WithVersion ¶
func (o *TravelExpenseAttachmentDeleteAttachmentParams) WithVersion(version *int32) *TravelExpenseAttachmentDeleteAttachmentParams
WithVersion adds the version to the travel expense attachment delete attachment params
func (*TravelExpenseAttachmentDeleteAttachmentParams) WriteToRequest ¶
func (o *TravelExpenseAttachmentDeleteAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *TravelExpenseAttachmentDownloadAttachmentOK) Error() string
func (*TravelExpenseAttachmentDownloadAttachmentOK) GetPayload ¶
func (o *TravelExpenseAttachmentDownloadAttachmentOK) GetPayload() strfmt.Base64
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 ¶
func (o *TravelExpenseAttachmentDownloadAttachmentParams) SetContext(ctx context.Context)
SetContext adds the context to the travel expense attachment download attachment params
func (*TravelExpenseAttachmentDownloadAttachmentParams) SetHTTPClient ¶
func (o *TravelExpenseAttachmentDownloadAttachmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the travel expense attachment download attachment params
func (*TravelExpenseAttachmentDownloadAttachmentParams) SetTimeout ¶
func (o *TravelExpenseAttachmentDownloadAttachmentParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *TravelExpenseAttachmentDownloadAttachmentParams) WithContext(ctx context.Context) *TravelExpenseAttachmentDownloadAttachmentParams
WithContext adds the context to the travel expense attachment download attachment params
func (*TravelExpenseAttachmentDownloadAttachmentParams) WithHTTPClient ¶
func (o *TravelExpenseAttachmentDownloadAttachmentParams) WithHTTPClient(client *http.Client) *TravelExpenseAttachmentDownloadAttachmentParams
WithHTTPClient adds the HTTPClient to the travel expense attachment download attachment params
func (*TravelExpenseAttachmentDownloadAttachmentParams) WithTimeout ¶
func (o *TravelExpenseAttachmentDownloadAttachmentParams) WithTimeout(timeout time.Duration) *TravelExpenseAttachmentDownloadAttachmentParams
WithTimeout adds the timeout to the travel expense attachment download attachment params
func (*TravelExpenseAttachmentDownloadAttachmentParams) WithTravelExpenseID ¶
func (o *TravelExpenseAttachmentDownloadAttachmentParams) WithTravelExpenseID(travelExpenseID int32) *TravelExpenseAttachmentDownloadAttachmentParams
WithTravelExpenseID adds the travelExpenseID to the travel expense attachment download attachment params
func (*TravelExpenseAttachmentDownloadAttachmentParams) WriteToRequest ¶
func (o *TravelExpenseAttachmentDownloadAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *TravelExpenseAttachmentListUploadAttachmentsDefault) Code() int
Code gets the status code for the travel expense attachment list upload attachments default response
func (*TravelExpenseAttachmentListUploadAttachmentsDefault) Error ¶
func (o *TravelExpenseAttachmentListUploadAttachmentsDefault) Error() string
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 ¶
func (o *TravelExpenseAttachmentListUploadAttachmentsParams) SetBody(body *models.FormDataMultiPart)
SetBody adds the body to the travel expense attachment list upload attachments params
func (*TravelExpenseAttachmentListUploadAttachmentsParams) SetContext ¶
func (o *TravelExpenseAttachmentListUploadAttachmentsParams) SetContext(ctx context.Context)
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 ¶
func (o *TravelExpenseAttachmentListUploadAttachmentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the travel expense attachment list upload attachments params
func (*TravelExpenseAttachmentListUploadAttachmentsParams) SetTimeout ¶
func (o *TravelExpenseAttachmentListUploadAttachmentsParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *TravelExpenseAttachmentListUploadAttachmentsParams) WithBody(body *models.FormDataMultiPart) *TravelExpenseAttachmentListUploadAttachmentsParams
WithBody adds the body to the travel expense attachment list upload attachments params
func (*TravelExpenseAttachmentListUploadAttachmentsParams) WithContext ¶
func (o *TravelExpenseAttachmentListUploadAttachmentsParams) WithContext(ctx context.Context) *TravelExpenseAttachmentListUploadAttachmentsParams
WithContext adds the context to the travel expense attachment list upload attachments params
func (*TravelExpenseAttachmentListUploadAttachmentsParams) WithCreateNewCost ¶
func (o *TravelExpenseAttachmentListUploadAttachmentsParams) WithCreateNewCost(createNewCost *bool) *TravelExpenseAttachmentListUploadAttachmentsParams
WithCreateNewCost adds the createNewCost to the travel expense attachment list upload attachments params
func (*TravelExpenseAttachmentListUploadAttachmentsParams) WithHTTPClient ¶
func (o *TravelExpenseAttachmentListUploadAttachmentsParams) WithHTTPClient(client *http.Client) *TravelExpenseAttachmentListUploadAttachmentsParams
WithHTTPClient adds the HTTPClient to the travel expense attachment list upload attachments params
func (*TravelExpenseAttachmentListUploadAttachmentsParams) WithTimeout ¶
func (o *TravelExpenseAttachmentListUploadAttachmentsParams) WithTimeout(timeout time.Duration) *TravelExpenseAttachmentListUploadAttachmentsParams
WithTimeout adds the timeout to the travel expense attachment list upload attachments params
func (*TravelExpenseAttachmentListUploadAttachmentsParams) WithTravelExpenseID ¶
func (o *TravelExpenseAttachmentListUploadAttachmentsParams) WithTravelExpenseID(travelExpenseID int32) *TravelExpenseAttachmentListUploadAttachmentsParams
WithTravelExpenseID adds the travelExpenseID to the travel expense attachment list upload attachments params
func (*TravelExpenseAttachmentListUploadAttachmentsParams) WriteToRequest ¶
func (o *TravelExpenseAttachmentListUploadAttachmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *TravelExpenseAttachmentUploadAttachmentDefault) Code() int
Code gets the status code for the travel expense attachment upload attachment default response
func (*TravelExpenseAttachmentUploadAttachmentDefault) Error ¶
func (o *TravelExpenseAttachmentUploadAttachmentDefault) Error() string
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 ¶
func (o *TravelExpenseAttachmentUploadAttachmentParams) SetContext(ctx context.Context)
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 ¶
func (o *TravelExpenseAttachmentUploadAttachmentParams) SetFile(file runtime.NamedReadCloser)
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 ¶
func (o *TravelExpenseAttachmentUploadAttachmentParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *TravelExpenseAttachmentUploadAttachmentParams) WithContext(ctx context.Context) *TravelExpenseAttachmentUploadAttachmentParams
WithContext adds the context to the travel expense attachment upload attachment params
func (*TravelExpenseAttachmentUploadAttachmentParams) WithCreateNewCost ¶
func (o *TravelExpenseAttachmentUploadAttachmentParams) WithCreateNewCost(createNewCost *bool) *TravelExpenseAttachmentUploadAttachmentParams
WithCreateNewCost adds the createNewCost to the travel expense attachment upload attachment params
func (*TravelExpenseAttachmentUploadAttachmentParams) WithFile ¶
func (o *TravelExpenseAttachmentUploadAttachmentParams) WithFile(file runtime.NamedReadCloser) *TravelExpenseAttachmentUploadAttachmentParams
WithFile adds the file to the travel expense attachment upload attachment params
func (*TravelExpenseAttachmentUploadAttachmentParams) WithHTTPClient ¶
func (o *TravelExpenseAttachmentUploadAttachmentParams) WithHTTPClient(client *http.Client) *TravelExpenseAttachmentUploadAttachmentParams
WithHTTPClient adds the HTTPClient to the travel expense attachment upload attachment params
func (*TravelExpenseAttachmentUploadAttachmentParams) WithTimeout ¶
func (o *TravelExpenseAttachmentUploadAttachmentParams) WithTimeout(timeout time.Duration) *TravelExpenseAttachmentUploadAttachmentParams
WithTimeout adds the timeout to the travel expense attachment upload attachment params
func (*TravelExpenseAttachmentUploadAttachmentParams) WithTravelExpenseID ¶
func (o *TravelExpenseAttachmentUploadAttachmentParams) WithTravelExpenseID(travelExpenseID int32) *TravelExpenseAttachmentUploadAttachmentParams
WithTravelExpenseID adds the travelExpenseID to the travel expense attachment upload attachment params
func (*TravelExpenseAttachmentUploadAttachmentParams) WriteToRequest ¶
func (o *TravelExpenseAttachmentUploadAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *TravelExpenseCopyCopyOK) GetPayload() *models.ResponseWrapperTravelExpense
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 ¶
func (o *TravelExpenseCopyCopyParams) WithContext(ctx context.Context) *TravelExpenseCopyCopyParams
WithContext adds the context to the travel expense copy copy params
func (*TravelExpenseCopyCopyParams) WithHTTPClient ¶
func (o *TravelExpenseCopyCopyParams) WithHTTPClient(client *http.Client) *TravelExpenseCopyCopyParams
WithHTTPClient adds the HTTPClient to the travel expense copy copy params
func (*TravelExpenseCopyCopyParams) WithID ¶
func (o *TravelExpenseCopyCopyParams) WithID(id int32) *TravelExpenseCopyCopyParams
WithID adds the id to the travel expense copy copy params
func (*TravelExpenseCopyCopyParams) WithTimeout ¶
func (o *TravelExpenseCopyCopyParams) WithTimeout(timeout time.Duration) *TravelExpenseCopyCopyParams
WithTimeout adds the timeout to the travel expense copy copy params
func (*TravelExpenseCopyCopyParams) WriteToRequest ¶
func (o *TravelExpenseCopyCopyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *TravelExpenseCreateVouchersCreateVouchersOK) Error() string
func (*TravelExpenseCreateVouchersCreateVouchersOK) GetPayload ¶
func (o *TravelExpenseCreateVouchersCreateVouchersOK) GetPayload() *models.ListResponseTravelExpense
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 ¶
func (o *TravelExpenseCreateVouchersCreateVouchersParams) SetContext(ctx context.Context)
SetContext adds the context to the travel expense create vouchers create vouchers params
func (*TravelExpenseCreateVouchersCreateVouchersParams) SetDate ¶
func (o *TravelExpenseCreateVouchersCreateVouchersParams) SetDate(date string)
SetDate adds the date to the travel expense create vouchers create vouchers params
func (*TravelExpenseCreateVouchersCreateVouchersParams) SetHTTPClient ¶
func (o *TravelExpenseCreateVouchersCreateVouchersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the travel expense create vouchers create vouchers params
func (*TravelExpenseCreateVouchersCreateVouchersParams) SetID ¶
func (o *TravelExpenseCreateVouchersCreateVouchersParams) SetID(id *string)
SetID adds the id to the travel expense create vouchers create vouchers params
func (*TravelExpenseCreateVouchersCreateVouchersParams) SetTimeout ¶
func (o *TravelExpenseCreateVouchersCreateVouchersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the travel expense create vouchers create vouchers params
func (*TravelExpenseCreateVouchersCreateVouchersParams) WithContext ¶
func (o *TravelExpenseCreateVouchersCreateVouchersParams) WithContext(ctx context.Context) *TravelExpenseCreateVouchersCreateVouchersParams
WithContext adds the context to the travel expense create vouchers create vouchers params
func (*TravelExpenseCreateVouchersCreateVouchersParams) WithDate ¶
func (o *TravelExpenseCreateVouchersCreateVouchersParams) WithDate(date string) *TravelExpenseCreateVouchersCreateVouchersParams
WithDate adds the date to the travel expense create vouchers create vouchers params
func (*TravelExpenseCreateVouchersCreateVouchersParams) WithHTTPClient ¶
func (o *TravelExpenseCreateVouchersCreateVouchersParams) WithHTTPClient(client *http.Client) *TravelExpenseCreateVouchersCreateVouchersParams
WithHTTPClient adds the HTTPClient to the travel expense create vouchers create vouchers params
func (*TravelExpenseCreateVouchersCreateVouchersParams) WithID ¶
func (o *TravelExpenseCreateVouchersCreateVouchersParams) WithID(id *string) *TravelExpenseCreateVouchersCreateVouchersParams
WithID adds the id to the travel expense create vouchers create vouchers params
func (*TravelExpenseCreateVouchersCreateVouchersParams) WithTimeout ¶
func (o *TravelExpenseCreateVouchersCreateVouchersParams) WithTimeout(timeout time.Duration) *TravelExpenseCreateVouchersCreateVouchersParams
WithTimeout adds the timeout to the travel expense create vouchers create vouchers params
func (*TravelExpenseCreateVouchersCreateVouchersParams) WriteToRequest ¶
func (o *TravelExpenseCreateVouchersCreateVouchersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *TravelExpenseDeleteDefault) Error() string
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 ¶
func (o *TravelExpenseDeleteParams) WithContext(ctx context.Context) *TravelExpenseDeleteParams
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 ¶
func (o *TravelExpenseDeleteParams) WithID(id int32) *TravelExpenseDeleteParams
WithID adds the id to the travel expense delete params
func (*TravelExpenseDeleteParams) WithTimeout ¶
func (o *TravelExpenseDeleteParams) WithTimeout(timeout time.Duration) *TravelExpenseDeleteParams
WithTimeout adds the timeout to the travel expense delete params
func (*TravelExpenseDeleteParams) WriteToRequest ¶
func (o *TravelExpenseDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *TravelExpenseDeliverDeliverOK) Error() string
func (*TravelExpenseDeliverDeliverOK) GetPayload ¶
func (o *TravelExpenseDeliverDeliverOK) GetPayload() *models.ListResponseTravelExpense
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 ¶
func (o *TravelExpenseDeliverDeliverParams) SetContext(ctx context.Context)
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 ¶
func (o *TravelExpenseDeliverDeliverParams) SetID(id *string)
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 ¶
func (o *TravelExpenseDeliverDeliverParams) WithContext(ctx context.Context) *TravelExpenseDeliverDeliverParams
WithContext adds the context to the travel expense deliver deliver params
func (*TravelExpenseDeliverDeliverParams) WithHTTPClient ¶
func (o *TravelExpenseDeliverDeliverParams) WithHTTPClient(client *http.Client) *TravelExpenseDeliverDeliverParams
WithHTTPClient adds the HTTPClient to the travel expense deliver deliver params
func (*TravelExpenseDeliverDeliverParams) WithID ¶
func (o *TravelExpenseDeliverDeliverParams) WithID(id *string) *TravelExpenseDeliverDeliverParams
WithID adds the id to the travel expense deliver deliver params
func (*TravelExpenseDeliverDeliverParams) WithTimeout ¶
func (o *TravelExpenseDeliverDeliverParams) WithTimeout(timeout time.Duration) *TravelExpenseDeliverDeliverParams
WithTimeout adds the timeout to the travel expense deliver deliver params
func (*TravelExpenseDeliverDeliverParams) WriteToRequest ¶
func (o *TravelExpenseDeliverDeliverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *TravelExpenseGetOK) GetPayload() *models.ResponseWrapperTravelExpense
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 ¶
func (o *TravelExpenseGetParams) WithContext(ctx context.Context) *TravelExpenseGetParams
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 ¶
func (o *TravelExpenseGetParams) WithID(id int32) *TravelExpenseGetParams
WithID adds the id to the travel expense get params
func (*TravelExpenseGetParams) WithTimeout ¶
func (o *TravelExpenseGetParams) WithTimeout(timeout time.Duration) *TravelExpenseGetParams
WithTimeout adds the timeout to the travel expense get params
func (*TravelExpenseGetParams) WriteToRequest ¶
func (o *TravelExpenseGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *TravelExpensePostCreated) GetPayload() *models.ResponseWrapperTravelExpense
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 ¶
func (o *TravelExpensePostParams) WithBody(body *models.TravelExpense) *TravelExpensePostParams
WithBody adds the body to the travel expense post params
func (*TravelExpensePostParams) WithContext ¶
func (o *TravelExpensePostParams) WithContext(ctx context.Context) *TravelExpensePostParams
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 ¶
func (o *TravelExpensePostParams) WithTimeout(timeout time.Duration) *TravelExpensePostParams
WithTimeout adds the timeout to the travel expense post params
func (*TravelExpensePostParams) WriteToRequest ¶
func (o *TravelExpensePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *TravelExpensePutOK) GetPayload() *models.ResponseWrapperTravelExpense
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 ¶
func (o *TravelExpensePutParams) WithBody(body *models.TravelExpense) *TravelExpensePutParams
WithBody adds the body to the travel expense put params
func (*TravelExpensePutParams) WithContext ¶
func (o *TravelExpensePutParams) WithContext(ctx context.Context) *TravelExpensePutParams
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 ¶
func (o *TravelExpensePutParams) WithID(id int32) *TravelExpensePutParams
WithID adds the id to the travel expense put params
func (*TravelExpensePutParams) WithTimeout ¶
func (o *TravelExpensePutParams) WithTimeout(timeout time.Duration) *TravelExpensePutParams
WithTimeout adds the timeout to the travel expense put params
func (*TravelExpensePutParams) WriteToRequest ¶
func (o *TravelExpensePutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *TravelExpenseSearchOK) GetPayload() *models.ListResponseTravelExpense
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 ¶
func (o *TravelExpenseSearchParams) WithContext(ctx context.Context) *TravelExpenseSearchParams
WithContext adds the context to the travel expense search params
func (*TravelExpenseSearchParams) WithCount ¶
func (o *TravelExpenseSearchParams) WithCount(count *int64) *TravelExpenseSearchParams
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 ¶
func (o *TravelExpenseSearchParams) WithFields(fields *string) *TravelExpenseSearchParams
WithFields adds the fields to the travel expense search params
func (*TravelExpenseSearchParams) WithFrom ¶
func (o *TravelExpenseSearchParams) WithFrom(from *int64) *TravelExpenseSearchParams
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 ¶
func (o *TravelExpenseSearchParams) WithSorting(sorting *string) *TravelExpenseSearchParams
WithSorting adds the sorting to the travel expense search params
func (*TravelExpenseSearchParams) WithState ¶
func (o *TravelExpenseSearchParams) WithState(state *string) *TravelExpenseSearchParams
WithState adds the state to the travel expense search params
func (*TravelExpenseSearchParams) WithTimeout ¶
func (o *TravelExpenseSearchParams) WithTimeout(timeout time.Duration) *TravelExpenseSearchParams
WithTimeout adds the timeout to the travel expense search params
func (*TravelExpenseSearchParams) WriteToRequest ¶
func (o *TravelExpenseSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *TravelExpenseUnapproveUnapproveOK) Error() string
func (*TravelExpenseUnapproveUnapproveOK) GetPayload ¶
func (o *TravelExpenseUnapproveUnapproveOK) GetPayload() *models.ListResponseTravelExpense
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 ¶
func (o *TravelExpenseUnapproveUnapproveParams) SetContext(ctx context.Context)
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 ¶
func (o *TravelExpenseUnapproveUnapproveParams) SetID(id *string)
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 ¶
func (o *TravelExpenseUnapproveUnapproveParams) WithContext(ctx context.Context) *TravelExpenseUnapproveUnapproveParams
WithContext adds the context to the travel expense unapprove unapprove params
func (*TravelExpenseUnapproveUnapproveParams) WithHTTPClient ¶
func (o *TravelExpenseUnapproveUnapproveParams) WithHTTPClient(client *http.Client) *TravelExpenseUnapproveUnapproveParams
WithHTTPClient adds the HTTPClient to the travel expense unapprove unapprove params
func (*TravelExpenseUnapproveUnapproveParams) WithID ¶
func (o *TravelExpenseUnapproveUnapproveParams) WithID(id *string) *TravelExpenseUnapproveUnapproveParams
WithID adds the id to the travel expense unapprove unapprove params
func (*TravelExpenseUnapproveUnapproveParams) WithTimeout ¶
func (o *TravelExpenseUnapproveUnapproveParams) WithTimeout(timeout time.Duration) *TravelExpenseUnapproveUnapproveParams
WithTimeout adds the timeout to the travel expense unapprove unapprove params
func (*TravelExpenseUnapproveUnapproveParams) WriteToRequest ¶
func (o *TravelExpenseUnapproveUnapproveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *TravelExpenseUndeliverUndeliverOK) Error() string
func (*TravelExpenseUndeliverUndeliverOK) GetPayload ¶
func (o *TravelExpenseUndeliverUndeliverOK) GetPayload() *models.ListResponseTravelExpense
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 ¶
func (o *TravelExpenseUndeliverUndeliverParams) SetContext(ctx context.Context)
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 ¶
func (o *TravelExpenseUndeliverUndeliverParams) SetID(id *string)
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 ¶
func (o *TravelExpenseUndeliverUndeliverParams) WithContext(ctx context.Context) *TravelExpenseUndeliverUndeliverParams
WithContext adds the context to the travel expense undeliver undeliver params
func (*TravelExpenseUndeliverUndeliverParams) WithHTTPClient ¶
func (o *TravelExpenseUndeliverUndeliverParams) WithHTTPClient(client *http.Client) *TravelExpenseUndeliverUndeliverParams
WithHTTPClient adds the HTTPClient to the travel expense undeliver undeliver params
func (*TravelExpenseUndeliverUndeliverParams) WithID ¶
func (o *TravelExpenseUndeliverUndeliverParams) WithID(id *string) *TravelExpenseUndeliverUndeliverParams
WithID adds the id to the travel expense undeliver undeliver params
func (*TravelExpenseUndeliverUndeliverParams) WithTimeout ¶
func (o *TravelExpenseUndeliverUndeliverParams) WithTimeout(timeout time.Duration) *TravelExpenseUndeliverUndeliverParams
WithTimeout adds the timeout to the travel expense undeliver undeliver params
func (*TravelExpenseUndeliverUndeliverParams) WriteToRequest ¶
func (o *TravelExpenseUndeliverUndeliverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- travel_expense_approve_approve_parameters.go
- travel_expense_approve_approve_responses.go
- travel_expense_attachment_delete_attachment_parameters.go
- travel_expense_attachment_delete_attachment_responses.go
- travel_expense_attachment_download_attachment_parameters.go
- travel_expense_attachment_download_attachment_responses.go
- travel_expense_attachment_list_upload_attachments_parameters.go
- travel_expense_attachment_list_upload_attachments_responses.go
- travel_expense_attachment_upload_attachment_parameters.go
- travel_expense_attachment_upload_attachment_responses.go
- travel_expense_client.go
- travel_expense_copy_copy_parameters.go
- travel_expense_copy_copy_responses.go
- travel_expense_create_vouchers_create_vouchers_parameters.go
- travel_expense_create_vouchers_create_vouchers_responses.go
- travel_expense_delete_parameters.go
- travel_expense_delete_responses.go
- travel_expense_deliver_deliver_parameters.go
- travel_expense_deliver_deliver_responses.go
- travel_expense_get_parameters.go
- travel_expense_get_responses.go
- travel_expense_post_parameters.go
- travel_expense_post_responses.go
- travel_expense_put_parameters.go
- travel_expense_put_responses.go
- travel_expense_search_parameters.go
- travel_expense_search_responses.go
- travel_expense_unapprove_unapprove_parameters.go
- travel_expense_unapprove_unapprove_responses.go
- travel_expense_undeliver_undeliver_parameters.go
- travel_expense_undeliver_undeliver_responses.go