type_operations

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 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 type operations API

func (*Client) SalaryTypeGet

func (a *Client) SalaryTypeGet(params *SalaryTypeGetParams, authInfo runtime.ClientAuthInfoWriter) (*SalaryTypeGetOK, error)

SalaryTypeGet bs e t a find salary type by ID

func (*Client) SalaryTypeSearch

func (a *Client) SalaryTypeSearch(params *SalaryTypeSearchParams, authInfo runtime.ClientAuthInfoWriter) (*SalaryTypeSearchOK, error)

SalaryTypeSearch bs e t a find salary type corresponding with sent data

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	SalaryTypeGet(params *SalaryTypeGetParams, authInfo runtime.ClientAuthInfoWriter) (*SalaryTypeGetOK, error)

	SalaryTypeSearch(params *SalaryTypeSearchParams, authInfo runtime.ClientAuthInfoWriter) (*SalaryTypeSearchOK, 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 type operations API client.

type SalaryTypeGetOK

type SalaryTypeGetOK struct {
	Payload *models.ResponseWrapperSalaryType
}

SalaryTypeGetOK handles this case with default header values.

successful operation

func NewSalaryTypeGetOK

func NewSalaryTypeGetOK() *SalaryTypeGetOK

NewSalaryTypeGetOK creates a SalaryTypeGetOK with default headers values

func (*SalaryTypeGetOK) Error

func (o *SalaryTypeGetOK) Error() string

func (*SalaryTypeGetOK) GetPayload

type SalaryTypeGetParams

type SalaryTypeGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

SalaryTypeGetParams contains all the parameters to send to the API endpoint for the salary type get operation typically these are written to a http.Request

func NewSalaryTypeGetParams

func NewSalaryTypeGetParams() *SalaryTypeGetParams

NewSalaryTypeGetParams creates a new SalaryTypeGetParams object with the default values initialized.

func NewSalaryTypeGetParamsWithContext

func NewSalaryTypeGetParamsWithContext(ctx context.Context) *SalaryTypeGetParams

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

func NewSalaryTypeGetParamsWithHTTPClient

func NewSalaryTypeGetParamsWithHTTPClient(client *http.Client) *SalaryTypeGetParams

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

func NewSalaryTypeGetParamsWithTimeout

func NewSalaryTypeGetParamsWithTimeout(timeout time.Duration) *SalaryTypeGetParams

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

func (*SalaryTypeGetParams) SetContext

func (o *SalaryTypeGetParams) SetContext(ctx context.Context)

SetContext adds the context to the salary type get params

func (*SalaryTypeGetParams) SetFields

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

SetFields adds the fields to the salary type get params

func (*SalaryTypeGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the salary type get params

func (*SalaryTypeGetParams) SetID

func (o *SalaryTypeGetParams) SetID(id int32)

SetID adds the id to the salary type get params

func (*SalaryTypeGetParams) SetTimeout

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

SetTimeout adds the timeout to the salary type get params

func (*SalaryTypeGetParams) WithContext

WithContext adds the context to the salary type get params

func (*SalaryTypeGetParams) WithFields

func (o *SalaryTypeGetParams) WithFields(fields *string) *SalaryTypeGetParams

WithFields adds the fields to the salary type get params

func (*SalaryTypeGetParams) WithHTTPClient

func (o *SalaryTypeGetParams) WithHTTPClient(client *http.Client) *SalaryTypeGetParams

WithHTTPClient adds the HTTPClient to the salary type get params

func (*SalaryTypeGetParams) WithID

WithID adds the id to the salary type get params

func (*SalaryTypeGetParams) WithTimeout

func (o *SalaryTypeGetParams) WithTimeout(timeout time.Duration) *SalaryTypeGetParams

WithTimeout adds the timeout to the salary type get params

func (*SalaryTypeGetParams) WriteToRequest

func (o *SalaryTypeGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SalaryTypeGetReader

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

SalaryTypeGetReader is a Reader for the SalaryTypeGet structure.

func (*SalaryTypeGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SalaryTypeSearchOK

type SalaryTypeSearchOK struct {
	Payload *models.ListResponseSalaryType
}

SalaryTypeSearchOK handles this case with default header values.

successful operation

func NewSalaryTypeSearchOK

func NewSalaryTypeSearchOK() *SalaryTypeSearchOK

NewSalaryTypeSearchOK creates a SalaryTypeSearchOK with default headers values

func (*SalaryTypeSearchOK) Error

func (o *SalaryTypeSearchOK) Error() string

func (*SalaryTypeSearchOK) GetPayload

type SalaryTypeSearchParams

type SalaryTypeSearchParams struct {

	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*Description
	  Containing

	*/
	Description *string
	/*EmployeeIds
	  Equals

	*/
	EmployeeIds *string
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*ID
	  List of IDs

	*/
	ID *string
	/*IsInactive
	  Equals

	*/
	IsInactive *bool
	/*Name
	  Containing

	*/
	Name *string
	/*Number
	  Containing

	*/
	Number *string
	/*ShowInTimesheet
	  Equals

	*/
	ShowInTimesheet *bool
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string

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

SalaryTypeSearchParams contains all the parameters to send to the API endpoint for the salary type search operation typically these are written to a http.Request

func NewSalaryTypeSearchParams

func NewSalaryTypeSearchParams() *SalaryTypeSearchParams

NewSalaryTypeSearchParams creates a new SalaryTypeSearchParams object with the default values initialized.

func NewSalaryTypeSearchParamsWithContext

func NewSalaryTypeSearchParamsWithContext(ctx context.Context) *SalaryTypeSearchParams

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

func NewSalaryTypeSearchParamsWithHTTPClient

func NewSalaryTypeSearchParamsWithHTTPClient(client *http.Client) *SalaryTypeSearchParams

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

func NewSalaryTypeSearchParamsWithTimeout

func NewSalaryTypeSearchParamsWithTimeout(timeout time.Duration) *SalaryTypeSearchParams

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

func (*SalaryTypeSearchParams) SetContext

func (o *SalaryTypeSearchParams) SetContext(ctx context.Context)

SetContext adds the context to the salary type search params

func (*SalaryTypeSearchParams) SetCount

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

SetCount adds the count to the salary type search params

func (*SalaryTypeSearchParams) SetDescription

func (o *SalaryTypeSearchParams) SetDescription(description *string)

SetDescription adds the description to the salary type search params

func (*SalaryTypeSearchParams) SetEmployeeIds

func (o *SalaryTypeSearchParams) SetEmployeeIds(employeeIds *string)

SetEmployeeIds adds the employeeIds to the salary type search params

func (*SalaryTypeSearchParams) SetFields

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

SetFields adds the fields to the salary type search params

func (*SalaryTypeSearchParams) SetFrom

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

SetFrom adds the from to the salary type search params

func (*SalaryTypeSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the salary type search params

func (*SalaryTypeSearchParams) SetID

func (o *SalaryTypeSearchParams) SetID(id *string)

SetID adds the id to the salary type search params

func (*SalaryTypeSearchParams) SetIsInactive

func (o *SalaryTypeSearchParams) SetIsInactive(isInactive *bool)

SetIsInactive adds the isInactive to the salary type search params

func (*SalaryTypeSearchParams) SetName

func (o *SalaryTypeSearchParams) SetName(name *string)

SetName adds the name to the salary type search params

func (*SalaryTypeSearchParams) SetNumber

func (o *SalaryTypeSearchParams) SetNumber(number *string)

SetNumber adds the number to the salary type search params

func (*SalaryTypeSearchParams) SetShowInTimesheet

func (o *SalaryTypeSearchParams) SetShowInTimesheet(showInTimesheet *bool)

SetShowInTimesheet adds the showInTimesheet to the salary type search params

func (*SalaryTypeSearchParams) SetSorting

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

SetSorting adds the sorting to the salary type search params

func (*SalaryTypeSearchParams) SetTimeout

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

SetTimeout adds the timeout to the salary type search params

func (*SalaryTypeSearchParams) WithContext

WithContext adds the context to the salary type search params

func (*SalaryTypeSearchParams) WithCount

func (o *SalaryTypeSearchParams) WithCount(count *int64) *SalaryTypeSearchParams

WithCount adds the count to the salary type search params

func (*SalaryTypeSearchParams) WithDescription

func (o *SalaryTypeSearchParams) WithDescription(description *string) *SalaryTypeSearchParams

WithDescription adds the description to the salary type search params

func (*SalaryTypeSearchParams) WithEmployeeIds

func (o *SalaryTypeSearchParams) WithEmployeeIds(employeeIds *string) *SalaryTypeSearchParams

WithEmployeeIds adds the employeeIds to the salary type search params

func (*SalaryTypeSearchParams) WithFields

func (o *SalaryTypeSearchParams) WithFields(fields *string) *SalaryTypeSearchParams

WithFields adds the fields to the salary type search params

func (*SalaryTypeSearchParams) WithFrom

WithFrom adds the from to the salary type search params

func (*SalaryTypeSearchParams) WithHTTPClient

func (o *SalaryTypeSearchParams) WithHTTPClient(client *http.Client) *SalaryTypeSearchParams

WithHTTPClient adds the HTTPClient to the salary type search params

func (*SalaryTypeSearchParams) WithID

WithID adds the id to the salary type search params

func (*SalaryTypeSearchParams) WithIsInactive

func (o *SalaryTypeSearchParams) WithIsInactive(isInactive *bool) *SalaryTypeSearchParams

WithIsInactive adds the isInactive to the salary type search params

func (*SalaryTypeSearchParams) WithName

WithName adds the name to the salary type search params

func (*SalaryTypeSearchParams) WithNumber

func (o *SalaryTypeSearchParams) WithNumber(number *string) *SalaryTypeSearchParams

WithNumber adds the number to the salary type search params

func (*SalaryTypeSearchParams) WithShowInTimesheet

func (o *SalaryTypeSearchParams) WithShowInTimesheet(showInTimesheet *bool) *SalaryTypeSearchParams

WithShowInTimesheet adds the showInTimesheet to the salary type search params

func (*SalaryTypeSearchParams) WithSorting

func (o *SalaryTypeSearchParams) WithSorting(sorting *string) *SalaryTypeSearchParams

WithSorting adds the sorting to the salary type search params

func (*SalaryTypeSearchParams) WithTimeout

WithTimeout adds the timeout to the salary type search params

func (*SalaryTypeSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SalaryTypeSearchReader

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

SalaryTypeSearchReader is a Reader for the SalaryTypeSearch structure.

func (*SalaryTypeSearchReader) ReadResponse

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