rate_category

package
v2.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for rate category API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) TravelExpenseRateCategoryGet

func (a *Client) TravelExpenseRateCategoryGet(params *TravelExpenseRateCategoryGetParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseRateCategoryGetOK, error)

TravelExpenseRateCategoryGet bs e t a get travel expense rate category by ID

func (*Client) TravelExpenseRateCategorySearch

func (a *Client) TravelExpenseRateCategorySearch(params *TravelExpenseRateCategorySearchParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseRateCategorySearchOK, error)

TravelExpenseRateCategorySearch bs e t a find rate categories corresponding with sent data

type ClientService

type ClientService interface {
	TravelExpenseRateCategoryGet(params *TravelExpenseRateCategoryGetParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseRateCategoryGetOK, error)

	TravelExpenseRateCategorySearch(params *TravelExpenseRateCategorySearchParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseRateCategorySearchOK, 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 API client.

type TravelExpenseRateCategoryGetOK

type TravelExpenseRateCategoryGetOK struct {
	Payload *models.ResponseWrapperTravelExpenseRateCategory
}

TravelExpenseRateCategoryGetOK handles this case with default header values.

successful operation

func NewTravelExpenseRateCategoryGetOK

func NewTravelExpenseRateCategoryGetOK() *TravelExpenseRateCategoryGetOK

NewTravelExpenseRateCategoryGetOK creates a TravelExpenseRateCategoryGetOK with default headers values

func (*TravelExpenseRateCategoryGetOK) Error

func (*TravelExpenseRateCategoryGetOK) GetPayload

type TravelExpenseRateCategoryGetParams

type TravelExpenseRateCategoryGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

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

func NewTravelExpenseRateCategoryGetParams

func NewTravelExpenseRateCategoryGetParams() *TravelExpenseRateCategoryGetParams

NewTravelExpenseRateCategoryGetParams creates a new TravelExpenseRateCategoryGetParams object with the default values initialized.

func NewTravelExpenseRateCategoryGetParamsWithContext

func NewTravelExpenseRateCategoryGetParamsWithContext(ctx context.Context) *TravelExpenseRateCategoryGetParams

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

func NewTravelExpenseRateCategoryGetParamsWithHTTPClient

func NewTravelExpenseRateCategoryGetParamsWithHTTPClient(client *http.Client) *TravelExpenseRateCategoryGetParams

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

func NewTravelExpenseRateCategoryGetParamsWithTimeout

func NewTravelExpenseRateCategoryGetParamsWithTimeout(timeout time.Duration) *TravelExpenseRateCategoryGetParams

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

func (*TravelExpenseRateCategoryGetParams) SetContext

SetContext adds the context to the travel expense rate category get params

func (*TravelExpenseRateCategoryGetParams) SetFields

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

SetFields adds the fields to the travel expense rate category get params

func (*TravelExpenseRateCategoryGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the travel expense rate category get params

func (*TravelExpenseRateCategoryGetParams) SetID

SetID adds the id to the travel expense rate category get params

func (*TravelExpenseRateCategoryGetParams) SetTimeout

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

SetTimeout adds the timeout to the travel expense rate category get params

func (*TravelExpenseRateCategoryGetParams) WithContext

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

func (*TravelExpenseRateCategoryGetParams) WithFields

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

func (*TravelExpenseRateCategoryGetParams) WithHTTPClient

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

func (*TravelExpenseRateCategoryGetParams) WithID

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

func (*TravelExpenseRateCategoryGetParams) WithTimeout

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

func (*TravelExpenseRateCategoryGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpenseRateCategoryGetReader

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

TravelExpenseRateCategoryGetReader is a Reader for the TravelExpenseRateCategoryGet structure.

func (*TravelExpenseRateCategoryGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TravelExpenseRateCategorySearchOK

type TravelExpenseRateCategorySearchOK struct {
	Payload *models.ListResponseTravelExpenseRateCategory
}

TravelExpenseRateCategorySearchOK handles this case with default header values.

successful operation

func NewTravelExpenseRateCategorySearchOK

func NewTravelExpenseRateCategorySearchOK() *TravelExpenseRateCategorySearchOK

NewTravelExpenseRateCategorySearchOK creates a TravelExpenseRateCategorySearchOK with default headers values

func (*TravelExpenseRateCategorySearchOK) Error

func (*TravelExpenseRateCategorySearchOK) GetPayload

type TravelExpenseRateCategorySearchParams

type TravelExpenseRateCategorySearchParams struct {

	/*AmeldingWageCode
	  Containing

	*/
	AmeldingWageCode *string
	/*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
	/*IsRequiresOvernightAccommodation
	  Equals

	*/
	IsRequiresOvernightAccommodation *bool
	/*IsValidAccommodation
	  Equals

	*/
	IsValidAccommodation *bool
	/*IsValidDayTrip
	  Equals

	*/
	IsValidDayTrip *bool
	/*IsValidDomestic
	  Equals

	*/
	IsValidDomestic *bool
	/*Name
	  Containing

	*/
	Name *string
	/*RequiresZone
	  Equals

	*/
	RequiresZone *bool
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string
	/*TravelReportRateCategoryGroupID
	  Equals

	*/
	TravelReportRateCategoryGroupID *int32
	/*Type
	  Equals

	*/
	Type *string
	/*WageCodeNumber
	  Equals

	*/
	WageCodeNumber *string

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

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

func NewTravelExpenseRateCategorySearchParams

func NewTravelExpenseRateCategorySearchParams() *TravelExpenseRateCategorySearchParams

NewTravelExpenseRateCategorySearchParams creates a new TravelExpenseRateCategorySearchParams object with the default values initialized.

func NewTravelExpenseRateCategorySearchParamsWithContext

func NewTravelExpenseRateCategorySearchParamsWithContext(ctx context.Context) *TravelExpenseRateCategorySearchParams

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

func NewTravelExpenseRateCategorySearchParamsWithHTTPClient

func NewTravelExpenseRateCategorySearchParamsWithHTTPClient(client *http.Client) *TravelExpenseRateCategorySearchParams

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

func NewTravelExpenseRateCategorySearchParamsWithTimeout

func NewTravelExpenseRateCategorySearchParamsWithTimeout(timeout time.Duration) *TravelExpenseRateCategorySearchParams

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

func (*TravelExpenseRateCategorySearchParams) SetAmeldingWageCode

func (o *TravelExpenseRateCategorySearchParams) SetAmeldingWageCode(ameldingWageCode *string)

SetAmeldingWageCode adds the ameldingWageCode to the travel expense rate category search params

func (*TravelExpenseRateCategorySearchParams) SetContext

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

func (*TravelExpenseRateCategorySearchParams) SetCount

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

SetCount adds the count to the travel expense rate category search params

func (*TravelExpenseRateCategorySearchParams) SetDateFrom

func (o *TravelExpenseRateCategorySearchParams) SetDateFrom(dateFrom *string)

SetDateFrom adds the dateFrom to the travel expense rate category search params

func (*TravelExpenseRateCategorySearchParams) SetDateTo

func (o *TravelExpenseRateCategorySearchParams) SetDateTo(dateTo *string)

SetDateTo adds the dateTo to the travel expense rate category search params

func (*TravelExpenseRateCategorySearchParams) SetFields

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

SetFields adds the fields to the travel expense rate category search params

func (*TravelExpenseRateCategorySearchParams) SetFrom

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

SetFrom adds the from to the travel expense rate category search params

func (*TravelExpenseRateCategorySearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the travel expense rate category search params

func (*TravelExpenseRateCategorySearchParams) SetIsRequiresOvernightAccommodation

func (o *TravelExpenseRateCategorySearchParams) SetIsRequiresOvernightAccommodation(isRequiresOvernightAccommodation *bool)

SetIsRequiresOvernightAccommodation adds the isRequiresOvernightAccommodation to the travel expense rate category search params

func (*TravelExpenseRateCategorySearchParams) SetIsValidAccommodation

func (o *TravelExpenseRateCategorySearchParams) SetIsValidAccommodation(isValidAccommodation *bool)

SetIsValidAccommodation adds the isValidAccommodation to the travel expense rate category search params

func (*TravelExpenseRateCategorySearchParams) SetIsValidDayTrip

func (o *TravelExpenseRateCategorySearchParams) SetIsValidDayTrip(isValidDayTrip *bool)

SetIsValidDayTrip adds the isValidDayTrip to the travel expense rate category search params

func (*TravelExpenseRateCategorySearchParams) SetIsValidDomestic

func (o *TravelExpenseRateCategorySearchParams) SetIsValidDomestic(isValidDomestic *bool)

SetIsValidDomestic adds the isValidDomestic to the travel expense rate category search params

func (*TravelExpenseRateCategorySearchParams) SetName

SetName adds the name to the travel expense rate category search params

func (*TravelExpenseRateCategorySearchParams) SetRequiresZone

func (o *TravelExpenseRateCategorySearchParams) SetRequiresZone(requiresZone *bool)

SetRequiresZone adds the requiresZone to the travel expense rate category search params

func (*TravelExpenseRateCategorySearchParams) SetSorting

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

SetSorting adds the sorting to the travel expense rate category search params

func (*TravelExpenseRateCategorySearchParams) SetTimeout

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

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

func (*TravelExpenseRateCategorySearchParams) SetTravelReportRateCategoryGroupID

func (o *TravelExpenseRateCategorySearchParams) SetTravelReportRateCategoryGroupID(travelReportRateCategoryGroupID *int32)

SetTravelReportRateCategoryGroupID adds the travelReportRateCategoryGroupId to the travel expense rate category search params

func (*TravelExpenseRateCategorySearchParams) SetType

func (o *TravelExpenseRateCategorySearchParams) SetType(typeVar *string)

SetType adds the type to the travel expense rate category search params

func (*TravelExpenseRateCategorySearchParams) SetWageCodeNumber

func (o *TravelExpenseRateCategorySearchParams) SetWageCodeNumber(wageCodeNumber *string)

SetWageCodeNumber adds the wageCodeNumber to the travel expense rate category search params

func (*TravelExpenseRateCategorySearchParams) WithAmeldingWageCode

func (o *TravelExpenseRateCategorySearchParams) WithAmeldingWageCode(ameldingWageCode *string) *TravelExpenseRateCategorySearchParams

WithAmeldingWageCode adds the ameldingWageCode to the travel expense rate category search params

func (*TravelExpenseRateCategorySearchParams) WithContext

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

func (*TravelExpenseRateCategorySearchParams) WithCount

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

func (*TravelExpenseRateCategorySearchParams) WithDateFrom

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

func (*TravelExpenseRateCategorySearchParams) WithDateTo

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

func (*TravelExpenseRateCategorySearchParams) WithFields

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

func (*TravelExpenseRateCategorySearchParams) WithFrom

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

func (*TravelExpenseRateCategorySearchParams) WithHTTPClient

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

func (*TravelExpenseRateCategorySearchParams) WithIsRequiresOvernightAccommodation

func (o *TravelExpenseRateCategorySearchParams) WithIsRequiresOvernightAccommodation(isRequiresOvernightAccommodation *bool) *TravelExpenseRateCategorySearchParams

WithIsRequiresOvernightAccommodation adds the isRequiresOvernightAccommodation to the travel expense rate category search params

func (*TravelExpenseRateCategorySearchParams) WithIsValidAccommodation

func (o *TravelExpenseRateCategorySearchParams) WithIsValidAccommodation(isValidAccommodation *bool) *TravelExpenseRateCategorySearchParams

WithIsValidAccommodation adds the isValidAccommodation to the travel expense rate category search params

func (*TravelExpenseRateCategorySearchParams) WithIsValidDayTrip

WithIsValidDayTrip adds the isValidDayTrip to the travel expense rate category search params

func (*TravelExpenseRateCategorySearchParams) WithIsValidDomestic

func (o *TravelExpenseRateCategorySearchParams) WithIsValidDomestic(isValidDomestic *bool) *TravelExpenseRateCategorySearchParams

WithIsValidDomestic adds the isValidDomestic to the travel expense rate category search params

func (*TravelExpenseRateCategorySearchParams) WithName

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

func (*TravelExpenseRateCategorySearchParams) WithRequiresZone

WithRequiresZone adds the requiresZone to the travel expense rate category search params

func (*TravelExpenseRateCategorySearchParams) WithSorting

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

func (*TravelExpenseRateCategorySearchParams) WithTimeout

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

func (*TravelExpenseRateCategorySearchParams) WithTravelReportRateCategoryGroupID

func (o *TravelExpenseRateCategorySearchParams) WithTravelReportRateCategoryGroupID(travelReportRateCategoryGroupID *int32) *TravelExpenseRateCategorySearchParams

WithTravelReportRateCategoryGroupID adds the travelReportRateCategoryGroupID to the travel expense rate category search params

func (*TravelExpenseRateCategorySearchParams) WithType

WithType adds the typeVar to the travel expense rate category search params

func (*TravelExpenseRateCategorySearchParams) WithWageCodeNumber

WithWageCodeNumber adds the wageCodeNumber to the travel expense rate category search params

func (*TravelExpenseRateCategorySearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpenseRateCategorySearchReader

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

TravelExpenseRateCategorySearchReader is a Reader for the TravelExpenseRateCategorySearch structure.

func (*TravelExpenseRateCategorySearchReader) ReadResponse

func (o *TravelExpenseRateCategorySearchReader) 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