Documentation ¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TravelExpenseRateCategoryGroupGet(params *TravelExpenseRateCategoryGroupGetParams, ...) (*TravelExpenseRateCategoryGroupGetOK, error)
- func (a *Client) TravelExpenseRateCategoryGroupSearch(params *TravelExpenseRateCategoryGroupSearchParams, ...) (*TravelExpenseRateCategoryGroupSearchOK, error)
- type ClientService
- type TravelExpenseRateCategoryGroupGetOK
- type TravelExpenseRateCategoryGroupGetParams
- func NewTravelExpenseRateCategoryGroupGetParams() *TravelExpenseRateCategoryGroupGetParams
- func NewTravelExpenseRateCategoryGroupGetParamsWithContext(ctx context.Context) *TravelExpenseRateCategoryGroupGetParams
- func NewTravelExpenseRateCategoryGroupGetParamsWithHTTPClient(client *http.Client) *TravelExpenseRateCategoryGroupGetParams
- func NewTravelExpenseRateCategoryGroupGetParamsWithTimeout(timeout time.Duration) *TravelExpenseRateCategoryGroupGetParams
- func (o *TravelExpenseRateCategoryGroupGetParams) SetContext(ctx context.Context)
- func (o *TravelExpenseRateCategoryGroupGetParams) SetFields(fields *string)
- func (o *TravelExpenseRateCategoryGroupGetParams) SetHTTPClient(client *http.Client)
- func (o *TravelExpenseRateCategoryGroupGetParams) SetID(id int32)
- func (o *TravelExpenseRateCategoryGroupGetParams) SetTimeout(timeout time.Duration)
- func (o *TravelExpenseRateCategoryGroupGetParams) WithContext(ctx context.Context) *TravelExpenseRateCategoryGroupGetParams
- func (o *TravelExpenseRateCategoryGroupGetParams) WithFields(fields *string) *TravelExpenseRateCategoryGroupGetParams
- func (o *TravelExpenseRateCategoryGroupGetParams) WithHTTPClient(client *http.Client) *TravelExpenseRateCategoryGroupGetParams
- func (o *TravelExpenseRateCategoryGroupGetParams) WithID(id int32) *TravelExpenseRateCategoryGroupGetParams
- func (o *TravelExpenseRateCategoryGroupGetParams) WithTimeout(timeout time.Duration) *TravelExpenseRateCategoryGroupGetParams
- func (o *TravelExpenseRateCategoryGroupGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TravelExpenseRateCategoryGroupGetReader
- type TravelExpenseRateCategoryGroupSearchOK
- type TravelExpenseRateCategoryGroupSearchParams
- func NewTravelExpenseRateCategoryGroupSearchParams() *TravelExpenseRateCategoryGroupSearchParams
- func NewTravelExpenseRateCategoryGroupSearchParamsWithContext(ctx context.Context) *TravelExpenseRateCategoryGroupSearchParams
- func NewTravelExpenseRateCategoryGroupSearchParamsWithHTTPClient(client *http.Client) *TravelExpenseRateCategoryGroupSearchParams
- func NewTravelExpenseRateCategoryGroupSearchParamsWithTimeout(timeout time.Duration) *TravelExpenseRateCategoryGroupSearchParams
- func (o *TravelExpenseRateCategoryGroupSearchParams) SetContext(ctx context.Context)
- func (o *TravelExpenseRateCategoryGroupSearchParams) SetCount(count *int64)
- func (o *TravelExpenseRateCategoryGroupSearchParams) SetDateFrom(dateFrom *string)
- func (o *TravelExpenseRateCategoryGroupSearchParams) SetDateTo(dateTo *string)
- func (o *TravelExpenseRateCategoryGroupSearchParams) SetFields(fields *string)
- func (o *TravelExpenseRateCategoryGroupSearchParams) SetFrom(from *int64)
- func (o *TravelExpenseRateCategoryGroupSearchParams) SetHTTPClient(client *http.Client)
- func (o *TravelExpenseRateCategoryGroupSearchParams) SetIsForeignTravel(isForeignTravel *bool)
- func (o *TravelExpenseRateCategoryGroupSearchParams) SetName(name *string)
- func (o *TravelExpenseRateCategoryGroupSearchParams) SetSorting(sorting *string)
- func (o *TravelExpenseRateCategoryGroupSearchParams) SetTimeout(timeout time.Duration)
- func (o *TravelExpenseRateCategoryGroupSearchParams) WithContext(ctx context.Context) *TravelExpenseRateCategoryGroupSearchParams
- func (o *TravelExpenseRateCategoryGroupSearchParams) WithCount(count *int64) *TravelExpenseRateCategoryGroupSearchParams
- func (o *TravelExpenseRateCategoryGroupSearchParams) WithDateFrom(dateFrom *string) *TravelExpenseRateCategoryGroupSearchParams
- func (o *TravelExpenseRateCategoryGroupSearchParams) WithDateTo(dateTo *string) *TravelExpenseRateCategoryGroupSearchParams
- func (o *TravelExpenseRateCategoryGroupSearchParams) WithFields(fields *string) *TravelExpenseRateCategoryGroupSearchParams
- func (o *TravelExpenseRateCategoryGroupSearchParams) WithFrom(from *int64) *TravelExpenseRateCategoryGroupSearchParams
- func (o *TravelExpenseRateCategoryGroupSearchParams) WithHTTPClient(client *http.Client) *TravelExpenseRateCategoryGroupSearchParams
- func (o *TravelExpenseRateCategoryGroupSearchParams) WithIsForeignTravel(isForeignTravel *bool) *TravelExpenseRateCategoryGroupSearchParams
- func (o *TravelExpenseRateCategoryGroupSearchParams) WithName(name *string) *TravelExpenseRateCategoryGroupSearchParams
- func (o *TravelExpenseRateCategoryGroupSearchParams) WithSorting(sorting *string) *TravelExpenseRateCategoryGroupSearchParams
- func (o *TravelExpenseRateCategoryGroupSearchParams) WithTimeout(timeout time.Duration) *TravelExpenseRateCategoryGroupSearchParams
- func (o *TravelExpenseRateCategoryGroupSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TravelExpenseRateCategoryGroupSearchReader
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 rate category group API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) TravelExpenseRateCategoryGroupGet ¶
func (a *Client) TravelExpenseRateCategoryGroupGet(params *TravelExpenseRateCategoryGroupGetParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseRateCategoryGroupGetOK, error)
TravelExpenseRateCategoryGroupGet bs e t a get travel report rate category group by ID
func (*Client) TravelExpenseRateCategoryGroupSearch ¶
func (a *Client) TravelExpenseRateCategoryGroupSearch(params *TravelExpenseRateCategoryGroupSearchParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseRateCategoryGroupSearchOK, error)
TravelExpenseRateCategoryGroupSearch bs e t a find rate categoriy groups corresponding with sent data
type ClientService ¶
type ClientService interface { TravelExpenseRateCategoryGroupGet(params *TravelExpenseRateCategoryGroupGetParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseRateCategoryGroupGetOK, error) TravelExpenseRateCategoryGroupSearch(params *TravelExpenseRateCategoryGroupSearchParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseRateCategoryGroupSearchOK, 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 rate category group API client.
type TravelExpenseRateCategoryGroupGetOK ¶
type TravelExpenseRateCategoryGroupGetOK struct {
Payload *models.ResponseWrapperTravelExpenseRateCategoryGroup
}
TravelExpenseRateCategoryGroupGetOK handles this case with default header values.
successful operation
func NewTravelExpenseRateCategoryGroupGetOK ¶
func NewTravelExpenseRateCategoryGroupGetOK() *TravelExpenseRateCategoryGroupGetOK
NewTravelExpenseRateCategoryGroupGetOK creates a TravelExpenseRateCategoryGroupGetOK with default headers values
func (*TravelExpenseRateCategoryGroupGetOK) Error ¶
func (o *TravelExpenseRateCategoryGroupGetOK) Error() string
func (*TravelExpenseRateCategoryGroupGetOK) GetPayload ¶
func (o *TravelExpenseRateCategoryGroupGetOK) GetPayload() *models.ResponseWrapperTravelExpenseRateCategoryGroup
type TravelExpenseRateCategoryGroupGetParams ¶
type TravelExpenseRateCategoryGroupGetParams struct { /*Fields Fields filter pattern */ Fields *string /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TravelExpenseRateCategoryGroupGetParams contains all the parameters to send to the API endpoint for the travel expense rate category group get operation typically these are written to a http.Request
func NewTravelExpenseRateCategoryGroupGetParams ¶
func NewTravelExpenseRateCategoryGroupGetParams() *TravelExpenseRateCategoryGroupGetParams
NewTravelExpenseRateCategoryGroupGetParams creates a new TravelExpenseRateCategoryGroupGetParams object with the default values initialized.
func NewTravelExpenseRateCategoryGroupGetParamsWithContext ¶
func NewTravelExpenseRateCategoryGroupGetParamsWithContext(ctx context.Context) *TravelExpenseRateCategoryGroupGetParams
NewTravelExpenseRateCategoryGroupGetParamsWithContext creates a new TravelExpenseRateCategoryGroupGetParams object with the default values initialized, and the ability to set a context for a request
func NewTravelExpenseRateCategoryGroupGetParamsWithHTTPClient ¶
func NewTravelExpenseRateCategoryGroupGetParamsWithHTTPClient(client *http.Client) *TravelExpenseRateCategoryGroupGetParams
NewTravelExpenseRateCategoryGroupGetParamsWithHTTPClient creates a new TravelExpenseRateCategoryGroupGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTravelExpenseRateCategoryGroupGetParamsWithTimeout ¶
func NewTravelExpenseRateCategoryGroupGetParamsWithTimeout(timeout time.Duration) *TravelExpenseRateCategoryGroupGetParams
NewTravelExpenseRateCategoryGroupGetParamsWithTimeout creates a new TravelExpenseRateCategoryGroupGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*TravelExpenseRateCategoryGroupGetParams) SetContext ¶
func (o *TravelExpenseRateCategoryGroupGetParams) SetContext(ctx context.Context)
SetContext adds the context to the travel expense rate category group get params
func (*TravelExpenseRateCategoryGroupGetParams) SetFields ¶
func (o *TravelExpenseRateCategoryGroupGetParams) SetFields(fields *string)
SetFields adds the fields to the travel expense rate category group get params
func (*TravelExpenseRateCategoryGroupGetParams) SetHTTPClient ¶
func (o *TravelExpenseRateCategoryGroupGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the travel expense rate category group get params
func (*TravelExpenseRateCategoryGroupGetParams) SetID ¶
func (o *TravelExpenseRateCategoryGroupGetParams) SetID(id int32)
SetID adds the id to the travel expense rate category group get params
func (*TravelExpenseRateCategoryGroupGetParams) SetTimeout ¶
func (o *TravelExpenseRateCategoryGroupGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the travel expense rate category group get params
func (*TravelExpenseRateCategoryGroupGetParams) WithContext ¶
func (o *TravelExpenseRateCategoryGroupGetParams) WithContext(ctx context.Context) *TravelExpenseRateCategoryGroupGetParams
WithContext adds the context to the travel expense rate category group get params
func (*TravelExpenseRateCategoryGroupGetParams) WithFields ¶
func (o *TravelExpenseRateCategoryGroupGetParams) WithFields(fields *string) *TravelExpenseRateCategoryGroupGetParams
WithFields adds the fields to the travel expense rate category group get params
func (*TravelExpenseRateCategoryGroupGetParams) WithHTTPClient ¶
func (o *TravelExpenseRateCategoryGroupGetParams) WithHTTPClient(client *http.Client) *TravelExpenseRateCategoryGroupGetParams
WithHTTPClient adds the HTTPClient to the travel expense rate category group get params
func (*TravelExpenseRateCategoryGroupGetParams) WithID ¶
func (o *TravelExpenseRateCategoryGroupGetParams) WithID(id int32) *TravelExpenseRateCategoryGroupGetParams
WithID adds the id to the travel expense rate category group get params
func (*TravelExpenseRateCategoryGroupGetParams) WithTimeout ¶
func (o *TravelExpenseRateCategoryGroupGetParams) WithTimeout(timeout time.Duration) *TravelExpenseRateCategoryGroupGetParams
WithTimeout adds the timeout to the travel expense rate category group get params
func (*TravelExpenseRateCategoryGroupGetParams) WriteToRequest ¶
func (o *TravelExpenseRateCategoryGroupGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TravelExpenseRateCategoryGroupGetReader ¶
type TravelExpenseRateCategoryGroupGetReader struct {
// contains filtered or unexported fields
}
TravelExpenseRateCategoryGroupGetReader is a Reader for the TravelExpenseRateCategoryGroupGet structure.
func (*TravelExpenseRateCategoryGroupGetReader) ReadResponse ¶
func (o *TravelExpenseRateCategoryGroupGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TravelExpenseRateCategoryGroupSearchOK ¶
type TravelExpenseRateCategoryGroupSearchOK struct {
Payload *models.ListResponseTravelExpenseRateCategoryGroup
}
TravelExpenseRateCategoryGroupSearchOK handles this case with default header values.
successful operation
func NewTravelExpenseRateCategoryGroupSearchOK ¶
func NewTravelExpenseRateCategoryGroupSearchOK() *TravelExpenseRateCategoryGroupSearchOK
NewTravelExpenseRateCategoryGroupSearchOK creates a TravelExpenseRateCategoryGroupSearchOK with default headers values
func (*TravelExpenseRateCategoryGroupSearchOK) Error ¶
func (o *TravelExpenseRateCategoryGroupSearchOK) Error() string
func (*TravelExpenseRateCategoryGroupSearchOK) GetPayload ¶
func (o *TravelExpenseRateCategoryGroupSearchOK) GetPayload() *models.ListResponseTravelExpenseRateCategoryGroup
type TravelExpenseRateCategoryGroupSearchParams ¶
type TravelExpenseRateCategoryGroupSearchParams struct { /*Count Number of elements to return */ Count *int64 /*DateFrom From and including */ DateFrom *string /*DateTo To and excluding */ DateTo *string /*Fields Fields filter pattern */ Fields *string /*From From index */ From *int64 /*IsForeignTravel Equals */ IsForeignTravel *bool /*Name Containing */ Name *string /*Sorting Sorting pattern */ Sorting *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TravelExpenseRateCategoryGroupSearchParams contains all the parameters to send to the API endpoint for the travel expense rate category group search operation typically these are written to a http.Request
func NewTravelExpenseRateCategoryGroupSearchParams ¶
func NewTravelExpenseRateCategoryGroupSearchParams() *TravelExpenseRateCategoryGroupSearchParams
NewTravelExpenseRateCategoryGroupSearchParams creates a new TravelExpenseRateCategoryGroupSearchParams object with the default values initialized.
func NewTravelExpenseRateCategoryGroupSearchParamsWithContext ¶
func NewTravelExpenseRateCategoryGroupSearchParamsWithContext(ctx context.Context) *TravelExpenseRateCategoryGroupSearchParams
NewTravelExpenseRateCategoryGroupSearchParamsWithContext creates a new TravelExpenseRateCategoryGroupSearchParams object with the default values initialized, and the ability to set a context for a request
func NewTravelExpenseRateCategoryGroupSearchParamsWithHTTPClient ¶
func NewTravelExpenseRateCategoryGroupSearchParamsWithHTTPClient(client *http.Client) *TravelExpenseRateCategoryGroupSearchParams
NewTravelExpenseRateCategoryGroupSearchParamsWithHTTPClient creates a new TravelExpenseRateCategoryGroupSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTravelExpenseRateCategoryGroupSearchParamsWithTimeout ¶
func NewTravelExpenseRateCategoryGroupSearchParamsWithTimeout(timeout time.Duration) *TravelExpenseRateCategoryGroupSearchParams
NewTravelExpenseRateCategoryGroupSearchParamsWithTimeout creates a new TravelExpenseRateCategoryGroupSearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*TravelExpenseRateCategoryGroupSearchParams) SetContext ¶
func (o *TravelExpenseRateCategoryGroupSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the travel expense rate category group search params
func (*TravelExpenseRateCategoryGroupSearchParams) SetCount ¶
func (o *TravelExpenseRateCategoryGroupSearchParams) SetCount(count *int64)
SetCount adds the count to the travel expense rate category group search params
func (*TravelExpenseRateCategoryGroupSearchParams) SetDateFrom ¶
func (o *TravelExpenseRateCategoryGroupSearchParams) SetDateFrom(dateFrom *string)
SetDateFrom adds the dateFrom to the travel expense rate category group search params
func (*TravelExpenseRateCategoryGroupSearchParams) SetDateTo ¶
func (o *TravelExpenseRateCategoryGroupSearchParams) SetDateTo(dateTo *string)
SetDateTo adds the dateTo to the travel expense rate category group search params
func (*TravelExpenseRateCategoryGroupSearchParams) SetFields ¶
func (o *TravelExpenseRateCategoryGroupSearchParams) SetFields(fields *string)
SetFields adds the fields to the travel expense rate category group search params
func (*TravelExpenseRateCategoryGroupSearchParams) SetFrom ¶
func (o *TravelExpenseRateCategoryGroupSearchParams) SetFrom(from *int64)
SetFrom adds the from to the travel expense rate category group search params
func (*TravelExpenseRateCategoryGroupSearchParams) SetHTTPClient ¶
func (o *TravelExpenseRateCategoryGroupSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the travel expense rate category group search params
func (*TravelExpenseRateCategoryGroupSearchParams) SetIsForeignTravel ¶
func (o *TravelExpenseRateCategoryGroupSearchParams) SetIsForeignTravel(isForeignTravel *bool)
SetIsForeignTravel adds the isForeignTravel to the travel expense rate category group search params
func (*TravelExpenseRateCategoryGroupSearchParams) SetName ¶
func (o *TravelExpenseRateCategoryGroupSearchParams) SetName(name *string)
SetName adds the name to the travel expense rate category group search params
func (*TravelExpenseRateCategoryGroupSearchParams) SetSorting ¶
func (o *TravelExpenseRateCategoryGroupSearchParams) SetSorting(sorting *string)
SetSorting adds the sorting to the travel expense rate category group search params
func (*TravelExpenseRateCategoryGroupSearchParams) SetTimeout ¶
func (o *TravelExpenseRateCategoryGroupSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the travel expense rate category group search params
func (*TravelExpenseRateCategoryGroupSearchParams) WithContext ¶
func (o *TravelExpenseRateCategoryGroupSearchParams) WithContext(ctx context.Context) *TravelExpenseRateCategoryGroupSearchParams
WithContext adds the context to the travel expense rate category group search params
func (*TravelExpenseRateCategoryGroupSearchParams) WithCount ¶
func (o *TravelExpenseRateCategoryGroupSearchParams) WithCount(count *int64) *TravelExpenseRateCategoryGroupSearchParams
WithCount adds the count to the travel expense rate category group search params
func (*TravelExpenseRateCategoryGroupSearchParams) WithDateFrom ¶
func (o *TravelExpenseRateCategoryGroupSearchParams) WithDateFrom(dateFrom *string) *TravelExpenseRateCategoryGroupSearchParams
WithDateFrom adds the dateFrom to the travel expense rate category group search params
func (*TravelExpenseRateCategoryGroupSearchParams) WithDateTo ¶
func (o *TravelExpenseRateCategoryGroupSearchParams) WithDateTo(dateTo *string) *TravelExpenseRateCategoryGroupSearchParams
WithDateTo adds the dateTo to the travel expense rate category group search params
func (*TravelExpenseRateCategoryGroupSearchParams) WithFields ¶
func (o *TravelExpenseRateCategoryGroupSearchParams) WithFields(fields *string) *TravelExpenseRateCategoryGroupSearchParams
WithFields adds the fields to the travel expense rate category group search params
func (*TravelExpenseRateCategoryGroupSearchParams) WithFrom ¶
func (o *TravelExpenseRateCategoryGroupSearchParams) WithFrom(from *int64) *TravelExpenseRateCategoryGroupSearchParams
WithFrom adds the from to the travel expense rate category group search params
func (*TravelExpenseRateCategoryGroupSearchParams) WithHTTPClient ¶
func (o *TravelExpenseRateCategoryGroupSearchParams) WithHTTPClient(client *http.Client) *TravelExpenseRateCategoryGroupSearchParams
WithHTTPClient adds the HTTPClient to the travel expense rate category group search params
func (*TravelExpenseRateCategoryGroupSearchParams) WithIsForeignTravel ¶
func (o *TravelExpenseRateCategoryGroupSearchParams) WithIsForeignTravel(isForeignTravel *bool) *TravelExpenseRateCategoryGroupSearchParams
WithIsForeignTravel adds the isForeignTravel to the travel expense rate category group search params
func (*TravelExpenseRateCategoryGroupSearchParams) WithName ¶
func (o *TravelExpenseRateCategoryGroupSearchParams) WithName(name *string) *TravelExpenseRateCategoryGroupSearchParams
WithName adds the name to the travel expense rate category group search params
func (*TravelExpenseRateCategoryGroupSearchParams) WithSorting ¶
func (o *TravelExpenseRateCategoryGroupSearchParams) WithSorting(sorting *string) *TravelExpenseRateCategoryGroupSearchParams
WithSorting adds the sorting to the travel expense rate category group search params
func (*TravelExpenseRateCategoryGroupSearchParams) WithTimeout ¶
func (o *TravelExpenseRateCategoryGroupSearchParams) WithTimeout(timeout time.Duration) *TravelExpenseRateCategoryGroupSearchParams
WithTimeout adds the timeout to the travel expense rate category group search params
func (*TravelExpenseRateCategoryGroupSearchParams) WriteToRequest ¶
func (o *TravelExpenseRateCategoryGroupSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TravelExpenseRateCategoryGroupSearchReader ¶
type TravelExpenseRateCategoryGroupSearchReader struct {
// contains filtered or unexported fields
}
TravelExpenseRateCategoryGroupSearchReader is a Reader for the TravelExpenseRateCategoryGroupSearch structure.
func (*TravelExpenseRateCategoryGroupSearchReader) ReadResponse ¶
func (o *TravelExpenseRateCategoryGroupSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.