rate_category_group

package
v2.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for rate category group API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) TravelExpenseRateCategoryGroupGet

TravelExpenseRateCategoryGroupGet bs e t a get travel report rate category group by ID

func (*Client) TravelExpenseRateCategoryGroupSearch

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 (*TravelExpenseRateCategoryGroupGetOK) GetPayload

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

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

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

WithContext adds the context to the travel expense rate category group get params

func (*TravelExpenseRateCategoryGroupGetParams) WithFields

WithFields adds the fields to the travel expense rate category group get params

func (*TravelExpenseRateCategoryGroupGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the travel expense rate category group get params

func (*TravelExpenseRateCategoryGroupGetParams) WithID

WithID adds the id to the travel expense rate category group get params

func (*TravelExpenseRateCategoryGroupGetParams) WithTimeout

WithTimeout adds the timeout to the travel expense rate category group get params

func (*TravelExpenseRateCategoryGroupGetParams) WriteToRequest

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 (*TravelExpenseRateCategoryGroupSearchOK) GetPayload

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

SetContext adds the context to the travel expense rate category group search params

func (*TravelExpenseRateCategoryGroupSearchParams) SetCount

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

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

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

SetTimeout adds the timeout to the travel expense rate category group search params

func (*TravelExpenseRateCategoryGroupSearchParams) WithContext

WithContext adds the context to the travel expense rate category group search params

func (*TravelExpenseRateCategoryGroupSearchParams) WithCount

WithCount adds the count to the travel expense rate category group search params

func (*TravelExpenseRateCategoryGroupSearchParams) WithDateFrom

WithDateFrom adds the dateFrom to the travel expense rate category group search params

func (*TravelExpenseRateCategoryGroupSearchParams) WithDateTo

WithDateTo adds the dateTo to the travel expense rate category group search params

func (*TravelExpenseRateCategoryGroupSearchParams) WithFields

WithFields adds the fields to the travel expense rate category group search params

func (*TravelExpenseRateCategoryGroupSearchParams) WithFrom

WithFrom adds the from to the travel expense rate category group search params

func (*TravelExpenseRateCategoryGroupSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the travel expense rate category group search params

func (*TravelExpenseRateCategoryGroupSearchParams) WithIsForeignTravel

WithIsForeignTravel adds the isForeignTravel to the travel expense rate category group search params

func (*TravelExpenseRateCategoryGroupSearchParams) WithName

WithName adds the name to the travel expense rate category group search params

func (*TravelExpenseRateCategoryGroupSearchParams) WithSorting

WithSorting adds the sorting to the travel expense rate category group search params

func (*TravelExpenseRateCategoryGroupSearchParams) WithTimeout

WithTimeout adds the timeout to the travel expense rate category group search params

func (*TravelExpenseRateCategoryGroupSearchParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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