compilation

package
Version: 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 compilation API

func (*Client) SalaryCompilationGet

func (a *Client) SalaryCompilationGet(params *SalaryCompilationGetParams, authInfo runtime.ClientAuthInfoWriter) (*SalaryCompilationGetOK, error)

SalaryCompilationGet bs e t a find salary compilation by employee

func (*Client) SalaryCompilationPdfDownloadPdf

func (a *Client) SalaryCompilationPdfDownloadPdf(params *SalaryCompilationPdfDownloadPdfParams, authInfo runtime.ClientAuthInfoWriter) (*SalaryCompilationPdfDownloadPdfOK, error)

SalaryCompilationPdfDownloadPdf bs e t a find salary compilation p d f document by employee

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	SalaryCompilationPdfDownloadPdf(params *SalaryCompilationPdfDownloadPdfParams, authInfo runtime.ClientAuthInfoWriter) (*SalaryCompilationPdfDownloadPdfOK, error)

	SalaryCompilationGet(params *SalaryCompilationGetParams, authInfo runtime.ClientAuthInfoWriter) (*SalaryCompilationGetOK, 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 compilation API client.

type SalaryCompilationGetOK

type SalaryCompilationGetOK struct {
	Payload *models.ResponseWrapperSalaryCompilation
}

SalaryCompilationGetOK handles this case with default header values.

successful operation

func NewSalaryCompilationGetOK

func NewSalaryCompilationGetOK() *SalaryCompilationGetOK

NewSalaryCompilationGetOK creates a SalaryCompilationGetOK with default headers values

func (*SalaryCompilationGetOK) Error

func (o *SalaryCompilationGetOK) Error() string

func (*SalaryCompilationGetOK) GetPayload

type SalaryCompilationGetParams

type SalaryCompilationGetParams struct {

	/*EmployeeID
	  Element ID

	*/
	EmployeeID int32
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*Year
	  Must be between 1900-2100. Defaults to previous year.

	*/
	Year *int32

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

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

func NewSalaryCompilationGetParams

func NewSalaryCompilationGetParams() *SalaryCompilationGetParams

NewSalaryCompilationGetParams creates a new SalaryCompilationGetParams object with the default values initialized.

func NewSalaryCompilationGetParamsWithContext

func NewSalaryCompilationGetParamsWithContext(ctx context.Context) *SalaryCompilationGetParams

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

func NewSalaryCompilationGetParamsWithHTTPClient

func NewSalaryCompilationGetParamsWithHTTPClient(client *http.Client) *SalaryCompilationGetParams

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

func NewSalaryCompilationGetParamsWithTimeout

func NewSalaryCompilationGetParamsWithTimeout(timeout time.Duration) *SalaryCompilationGetParams

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

func (*SalaryCompilationGetParams) SetContext

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

SetContext adds the context to the salary compilation get params

func (*SalaryCompilationGetParams) SetEmployeeID

func (o *SalaryCompilationGetParams) SetEmployeeID(employeeID int32)

SetEmployeeID adds the employeeId to the salary compilation get params

func (*SalaryCompilationGetParams) SetFields

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

SetFields adds the fields to the salary compilation get params

func (*SalaryCompilationGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the salary compilation get params

func (*SalaryCompilationGetParams) SetTimeout

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

SetTimeout adds the timeout to the salary compilation get params

func (*SalaryCompilationGetParams) SetYear

func (o *SalaryCompilationGetParams) SetYear(year *int32)

SetYear adds the year to the salary compilation get params

func (*SalaryCompilationGetParams) WithContext

WithContext adds the context to the salary compilation get params

func (*SalaryCompilationGetParams) WithEmployeeID

func (o *SalaryCompilationGetParams) WithEmployeeID(employeeID int32) *SalaryCompilationGetParams

WithEmployeeID adds the employeeID to the salary compilation get params

func (*SalaryCompilationGetParams) WithFields

WithFields adds the fields to the salary compilation get params

func (*SalaryCompilationGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the salary compilation get params

func (*SalaryCompilationGetParams) WithTimeout

WithTimeout adds the timeout to the salary compilation get params

func (*SalaryCompilationGetParams) WithYear

WithYear adds the year to the salary compilation get params

func (*SalaryCompilationGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SalaryCompilationGetReader

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

SalaryCompilationGetReader is a Reader for the SalaryCompilationGet structure.

func (*SalaryCompilationGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SalaryCompilationPdfDownloadPdfOK

type SalaryCompilationPdfDownloadPdfOK struct {
	Payload strfmt.Base64
}

SalaryCompilationPdfDownloadPdfOK handles this case with default header values.

successful operation

func NewSalaryCompilationPdfDownloadPdfOK

func NewSalaryCompilationPdfDownloadPdfOK() *SalaryCompilationPdfDownloadPdfOK

NewSalaryCompilationPdfDownloadPdfOK creates a SalaryCompilationPdfDownloadPdfOK with default headers values

func (*SalaryCompilationPdfDownloadPdfOK) Error

func (*SalaryCompilationPdfDownloadPdfOK) GetPayload

type SalaryCompilationPdfDownloadPdfParams

type SalaryCompilationPdfDownloadPdfParams struct {

	/*EmployeeID
	  Element ID

	*/
	EmployeeID int32
	/*Year
	  Must be between 1900-2100. Defaults to previous year.

	*/
	Year *int32

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

SalaryCompilationPdfDownloadPdfParams contains all the parameters to send to the API endpoint for the salary compilation pdf download pdf operation typically these are written to a http.Request

func NewSalaryCompilationPdfDownloadPdfParams

func NewSalaryCompilationPdfDownloadPdfParams() *SalaryCompilationPdfDownloadPdfParams

NewSalaryCompilationPdfDownloadPdfParams creates a new SalaryCompilationPdfDownloadPdfParams object with the default values initialized.

func NewSalaryCompilationPdfDownloadPdfParamsWithContext

func NewSalaryCompilationPdfDownloadPdfParamsWithContext(ctx context.Context) *SalaryCompilationPdfDownloadPdfParams

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

func NewSalaryCompilationPdfDownloadPdfParamsWithHTTPClient

func NewSalaryCompilationPdfDownloadPdfParamsWithHTTPClient(client *http.Client) *SalaryCompilationPdfDownloadPdfParams

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

func NewSalaryCompilationPdfDownloadPdfParamsWithTimeout

func NewSalaryCompilationPdfDownloadPdfParamsWithTimeout(timeout time.Duration) *SalaryCompilationPdfDownloadPdfParams

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

func (*SalaryCompilationPdfDownloadPdfParams) SetContext

SetContext adds the context to the salary compilation pdf download pdf params

func (*SalaryCompilationPdfDownloadPdfParams) SetEmployeeID

func (o *SalaryCompilationPdfDownloadPdfParams) SetEmployeeID(employeeID int32)

SetEmployeeID adds the employeeId to the salary compilation pdf download pdf params

func (*SalaryCompilationPdfDownloadPdfParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the salary compilation pdf download pdf params

func (*SalaryCompilationPdfDownloadPdfParams) SetTimeout

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

SetTimeout adds the timeout to the salary compilation pdf download pdf params

func (*SalaryCompilationPdfDownloadPdfParams) SetYear

func (o *SalaryCompilationPdfDownloadPdfParams) SetYear(year *int32)

SetYear adds the year to the salary compilation pdf download pdf params

func (*SalaryCompilationPdfDownloadPdfParams) WithContext

WithContext adds the context to the salary compilation pdf download pdf params

func (*SalaryCompilationPdfDownloadPdfParams) WithEmployeeID

WithEmployeeID adds the employeeID to the salary compilation pdf download pdf params

func (*SalaryCompilationPdfDownloadPdfParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the salary compilation pdf download pdf params

func (*SalaryCompilationPdfDownloadPdfParams) WithTimeout

WithTimeout adds the timeout to the salary compilation pdf download pdf params

func (*SalaryCompilationPdfDownloadPdfParams) WithYear

WithYear adds the year to the salary compilation pdf download pdf params

func (*SalaryCompilationPdfDownloadPdfParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SalaryCompilationPdfDownloadPdfReader

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

SalaryCompilationPdfDownloadPdfReader is a Reader for the SalaryCompilationPdfDownloadPdf structure.

func (*SalaryCompilationPdfDownloadPdfReader) ReadResponse

func (o *SalaryCompilationPdfDownloadPdfReader) 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
t or T : Toggle theme light dark auto
y or Y : Canonical URL