Versions in this module Expand all Collapse all v1 v1.1.0 Jul 2, 2020 v1.0.0 Jun 19, 2020 Changes in this version + type Client struct + func (a *Client) SetTransport(transport runtime.ClientTransport) + func (a *Client) TravelExpensePassengerDelete(params *TravelExpensePassengerDeleteParams, ...) error + func (a *Client) TravelExpensePassengerGet(params *TravelExpensePassengerGetParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpensePassengerGetOK, error) + func (a *Client) TravelExpensePassengerPost(params *TravelExpensePassengerPostParams, ...) (*TravelExpensePassengerPostCreated, error) + func (a *Client) TravelExpensePassengerPut(params *TravelExpensePassengerPutParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpensePassengerPutOK, error) + func (a *Client) TravelExpensePassengerSearch(params *TravelExpensePassengerSearchParams, ...) (*TravelExpensePassengerSearchOK, error) + type ClientService interface + SetTransport func(transport runtime.ClientTransport) + TravelExpensePassengerDelete func(params *TravelExpensePassengerDeleteParams, ...) error + TravelExpensePassengerGet func(params *TravelExpensePassengerGetParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpensePassengerGetOK, error) + TravelExpensePassengerPost func(params *TravelExpensePassengerPostParams, ...) (*TravelExpensePassengerPostCreated, error) + TravelExpensePassengerPut func(params *TravelExpensePassengerPutParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpensePassengerPutOK, error) + TravelExpensePassengerSearch func(params *TravelExpensePassengerSearchParams, ...) (*TravelExpensePassengerSearchOK, error) + func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService + type TravelExpensePassengerDeleteDefault struct + func NewTravelExpensePassengerDeleteDefault(code int) *TravelExpensePassengerDeleteDefault + func (o *TravelExpensePassengerDeleteDefault) Code() int + func (o *TravelExpensePassengerDeleteDefault) Error() string + type TravelExpensePassengerDeleteParams struct + Context context.Context + HTTPClient *http.Client + ID int32 + func NewTravelExpensePassengerDeleteParams() *TravelExpensePassengerDeleteParams + func NewTravelExpensePassengerDeleteParamsWithContext(ctx context.Context) *TravelExpensePassengerDeleteParams + func NewTravelExpensePassengerDeleteParamsWithHTTPClient(client *http.Client) *TravelExpensePassengerDeleteParams + func NewTravelExpensePassengerDeleteParamsWithTimeout(timeout time.Duration) *TravelExpensePassengerDeleteParams + func (o *TravelExpensePassengerDeleteParams) SetContext(ctx context.Context) + func (o *TravelExpensePassengerDeleteParams) SetHTTPClient(client *http.Client) + func (o *TravelExpensePassengerDeleteParams) SetID(id int32) + func (o *TravelExpensePassengerDeleteParams) SetTimeout(timeout time.Duration) + func (o *TravelExpensePassengerDeleteParams) WithContext(ctx context.Context) *TravelExpensePassengerDeleteParams + func (o *TravelExpensePassengerDeleteParams) WithHTTPClient(client *http.Client) *TravelExpensePassengerDeleteParams + func (o *TravelExpensePassengerDeleteParams) WithID(id int32) *TravelExpensePassengerDeleteParams + func (o *TravelExpensePassengerDeleteParams) WithTimeout(timeout time.Duration) *TravelExpensePassengerDeleteParams + func (o *TravelExpensePassengerDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type TravelExpensePassengerDeleteReader struct + func (o *TravelExpensePassengerDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type TravelExpensePassengerGetOK struct + Payload *models.ResponseWrapperPassenger + func NewTravelExpensePassengerGetOK() *TravelExpensePassengerGetOK + func (o *TravelExpensePassengerGetOK) Error() string + func (o *TravelExpensePassengerGetOK) GetPayload() *models.ResponseWrapperPassenger + type TravelExpensePassengerGetParams struct + Context context.Context + Fields *string + HTTPClient *http.Client + ID int32 + func NewTravelExpensePassengerGetParams() *TravelExpensePassengerGetParams + func NewTravelExpensePassengerGetParamsWithContext(ctx context.Context) *TravelExpensePassengerGetParams + func NewTravelExpensePassengerGetParamsWithHTTPClient(client *http.Client) *TravelExpensePassengerGetParams + func NewTravelExpensePassengerGetParamsWithTimeout(timeout time.Duration) *TravelExpensePassengerGetParams + func (o *TravelExpensePassengerGetParams) SetContext(ctx context.Context) + func (o *TravelExpensePassengerGetParams) SetFields(fields *string) + func (o *TravelExpensePassengerGetParams) SetHTTPClient(client *http.Client) + func (o *TravelExpensePassengerGetParams) SetID(id int32) + func (o *TravelExpensePassengerGetParams) SetTimeout(timeout time.Duration) + func (o *TravelExpensePassengerGetParams) WithContext(ctx context.Context) *TravelExpensePassengerGetParams + func (o *TravelExpensePassengerGetParams) WithFields(fields *string) *TravelExpensePassengerGetParams + func (o *TravelExpensePassengerGetParams) WithHTTPClient(client *http.Client) *TravelExpensePassengerGetParams + func (o *TravelExpensePassengerGetParams) WithID(id int32) *TravelExpensePassengerGetParams + func (o *TravelExpensePassengerGetParams) WithTimeout(timeout time.Duration) *TravelExpensePassengerGetParams + func (o *TravelExpensePassengerGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type TravelExpensePassengerGetReader struct + func (o *TravelExpensePassengerGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type TravelExpensePassengerPostCreated struct + Payload *models.ResponseWrapperPassenger + func NewTravelExpensePassengerPostCreated() *TravelExpensePassengerPostCreated + func (o *TravelExpensePassengerPostCreated) Error() string + func (o *TravelExpensePassengerPostCreated) GetPayload() *models.ResponseWrapperPassenger + type TravelExpensePassengerPostParams struct + Body *models.Passenger + Context context.Context + HTTPClient *http.Client + func NewTravelExpensePassengerPostParams() *TravelExpensePassengerPostParams + func NewTravelExpensePassengerPostParamsWithContext(ctx context.Context) *TravelExpensePassengerPostParams + func NewTravelExpensePassengerPostParamsWithHTTPClient(client *http.Client) *TravelExpensePassengerPostParams + func NewTravelExpensePassengerPostParamsWithTimeout(timeout time.Duration) *TravelExpensePassengerPostParams + func (o *TravelExpensePassengerPostParams) SetBody(body *models.Passenger) + func (o *TravelExpensePassengerPostParams) SetContext(ctx context.Context) + func (o *TravelExpensePassengerPostParams) SetHTTPClient(client *http.Client) + func (o *TravelExpensePassengerPostParams) SetTimeout(timeout time.Duration) + func (o *TravelExpensePassengerPostParams) WithBody(body *models.Passenger) *TravelExpensePassengerPostParams + func (o *TravelExpensePassengerPostParams) WithContext(ctx context.Context) *TravelExpensePassengerPostParams + func (o *TravelExpensePassengerPostParams) WithHTTPClient(client *http.Client) *TravelExpensePassengerPostParams + func (o *TravelExpensePassengerPostParams) WithTimeout(timeout time.Duration) *TravelExpensePassengerPostParams + func (o *TravelExpensePassengerPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type TravelExpensePassengerPostReader struct + func (o *TravelExpensePassengerPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type TravelExpensePassengerPutOK struct + Payload *models.ResponseWrapperPassenger + func NewTravelExpensePassengerPutOK() *TravelExpensePassengerPutOK + func (o *TravelExpensePassengerPutOK) Error() string + func (o *TravelExpensePassengerPutOK) GetPayload() *models.ResponseWrapperPassenger + type TravelExpensePassengerPutParams struct + Body *models.Passenger + Context context.Context + HTTPClient *http.Client + ID int32 + func NewTravelExpensePassengerPutParams() *TravelExpensePassengerPutParams + func NewTravelExpensePassengerPutParamsWithContext(ctx context.Context) *TravelExpensePassengerPutParams + func NewTravelExpensePassengerPutParamsWithHTTPClient(client *http.Client) *TravelExpensePassengerPutParams + func NewTravelExpensePassengerPutParamsWithTimeout(timeout time.Duration) *TravelExpensePassengerPutParams + func (o *TravelExpensePassengerPutParams) SetBody(body *models.Passenger) + func (o *TravelExpensePassengerPutParams) SetContext(ctx context.Context) + func (o *TravelExpensePassengerPutParams) SetHTTPClient(client *http.Client) + func (o *TravelExpensePassengerPutParams) SetID(id int32) + func (o *TravelExpensePassengerPutParams) SetTimeout(timeout time.Duration) + func (o *TravelExpensePassengerPutParams) WithBody(body *models.Passenger) *TravelExpensePassengerPutParams + func (o *TravelExpensePassengerPutParams) WithContext(ctx context.Context) *TravelExpensePassengerPutParams + func (o *TravelExpensePassengerPutParams) WithHTTPClient(client *http.Client) *TravelExpensePassengerPutParams + func (o *TravelExpensePassengerPutParams) WithID(id int32) *TravelExpensePassengerPutParams + func (o *TravelExpensePassengerPutParams) WithTimeout(timeout time.Duration) *TravelExpensePassengerPutParams + func (o *TravelExpensePassengerPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type TravelExpensePassengerPutReader struct + func (o *TravelExpensePassengerPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type TravelExpensePassengerSearchOK struct + Payload *models.ListResponsePassenger + func NewTravelExpensePassengerSearchOK() *TravelExpensePassengerSearchOK + func (o *TravelExpensePassengerSearchOK) Error() string + func (o *TravelExpensePassengerSearchOK) GetPayload() *models.ListResponsePassenger + type TravelExpensePassengerSearchParams struct + Context context.Context + Count *int64 + Fields *string + From *int64 + HTTPClient *http.Client + MileageAllowance *string + Name *string + Sorting *string + func NewTravelExpensePassengerSearchParams() *TravelExpensePassengerSearchParams + func NewTravelExpensePassengerSearchParamsWithContext(ctx context.Context) *TravelExpensePassengerSearchParams + func NewTravelExpensePassengerSearchParamsWithHTTPClient(client *http.Client) *TravelExpensePassengerSearchParams + func NewTravelExpensePassengerSearchParamsWithTimeout(timeout time.Duration) *TravelExpensePassengerSearchParams + func (o *TravelExpensePassengerSearchParams) SetContext(ctx context.Context) + func (o *TravelExpensePassengerSearchParams) SetCount(count *int64) + func (o *TravelExpensePassengerSearchParams) SetFields(fields *string) + func (o *TravelExpensePassengerSearchParams) SetFrom(from *int64) + func (o *TravelExpensePassengerSearchParams) SetHTTPClient(client *http.Client) + func (o *TravelExpensePassengerSearchParams) SetMileageAllowance(mileageAllowance *string) + func (o *TravelExpensePassengerSearchParams) SetName(name *string) + func (o *TravelExpensePassengerSearchParams) SetSorting(sorting *string) + func (o *TravelExpensePassengerSearchParams) SetTimeout(timeout time.Duration) + func (o *TravelExpensePassengerSearchParams) WithContext(ctx context.Context) *TravelExpensePassengerSearchParams + func (o *TravelExpensePassengerSearchParams) WithCount(count *int64) *TravelExpensePassengerSearchParams + func (o *TravelExpensePassengerSearchParams) WithFields(fields *string) *TravelExpensePassengerSearchParams + func (o *TravelExpensePassengerSearchParams) WithFrom(from *int64) *TravelExpensePassengerSearchParams + func (o *TravelExpensePassengerSearchParams) WithHTTPClient(client *http.Client) *TravelExpensePassengerSearchParams + func (o *TravelExpensePassengerSearchParams) WithMileageAllowance(mileageAllowance *string) *TravelExpensePassengerSearchParams + func (o *TravelExpensePassengerSearchParams) WithName(name *string) *TravelExpensePassengerSearchParams + func (o *TravelExpensePassengerSearchParams) WithSorting(sorting *string) *TravelExpensePassengerSearchParams + func (o *TravelExpensePassengerSearchParams) WithTimeout(timeout time.Duration) *TravelExpensePassengerSearchParams + func (o *TravelExpensePassengerSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type TravelExpensePassengerSearchReader struct + func (o *TravelExpensePassengerSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) Other modules containing this package github.com/bjerkio/tripletex-go/v2