Documentation ¶
Index ¶
- type Client
- func (a *Client) SalaryCompilationGet(params *SalaryCompilationGetParams, authInfo runtime.ClientAuthInfoWriter) (*SalaryCompilationGetOK, error)
- func (a *Client) SalaryCompilationPdfDownloadPdf(params *SalaryCompilationPdfDownloadPdfParams, ...) (*SalaryCompilationPdfDownloadPdfOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type SalaryCompilationGetOK
- type SalaryCompilationGetParams
- func NewSalaryCompilationGetParams() *SalaryCompilationGetParams
- func NewSalaryCompilationGetParamsWithContext(ctx context.Context) *SalaryCompilationGetParams
- func NewSalaryCompilationGetParamsWithHTTPClient(client *http.Client) *SalaryCompilationGetParams
- func NewSalaryCompilationGetParamsWithTimeout(timeout time.Duration) *SalaryCompilationGetParams
- func (o *SalaryCompilationGetParams) SetContext(ctx context.Context)
- func (o *SalaryCompilationGetParams) SetEmployeeID(employeeID int32)
- func (o *SalaryCompilationGetParams) SetFields(fields *string)
- func (o *SalaryCompilationGetParams) SetHTTPClient(client *http.Client)
- func (o *SalaryCompilationGetParams) SetTimeout(timeout time.Duration)
- func (o *SalaryCompilationGetParams) SetYear(year *int32)
- func (o *SalaryCompilationGetParams) WithContext(ctx context.Context) *SalaryCompilationGetParams
- func (o *SalaryCompilationGetParams) WithEmployeeID(employeeID int32) *SalaryCompilationGetParams
- func (o *SalaryCompilationGetParams) WithFields(fields *string) *SalaryCompilationGetParams
- func (o *SalaryCompilationGetParams) WithHTTPClient(client *http.Client) *SalaryCompilationGetParams
- func (o *SalaryCompilationGetParams) WithTimeout(timeout time.Duration) *SalaryCompilationGetParams
- func (o *SalaryCompilationGetParams) WithYear(year *int32) *SalaryCompilationGetParams
- func (o *SalaryCompilationGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SalaryCompilationGetReader
- type SalaryCompilationPdfDownloadPdfOK
- type SalaryCompilationPdfDownloadPdfParams
- func NewSalaryCompilationPdfDownloadPdfParams() *SalaryCompilationPdfDownloadPdfParams
- func NewSalaryCompilationPdfDownloadPdfParamsWithContext(ctx context.Context) *SalaryCompilationPdfDownloadPdfParams
- func NewSalaryCompilationPdfDownloadPdfParamsWithHTTPClient(client *http.Client) *SalaryCompilationPdfDownloadPdfParams
- func NewSalaryCompilationPdfDownloadPdfParamsWithTimeout(timeout time.Duration) *SalaryCompilationPdfDownloadPdfParams
- func (o *SalaryCompilationPdfDownloadPdfParams) SetContext(ctx context.Context)
- func (o *SalaryCompilationPdfDownloadPdfParams) SetEmployeeID(employeeID int32)
- func (o *SalaryCompilationPdfDownloadPdfParams) SetHTTPClient(client *http.Client)
- func (o *SalaryCompilationPdfDownloadPdfParams) SetTimeout(timeout time.Duration)
- func (o *SalaryCompilationPdfDownloadPdfParams) SetYear(year *int32)
- func (o *SalaryCompilationPdfDownloadPdfParams) WithContext(ctx context.Context) *SalaryCompilationPdfDownloadPdfParams
- func (o *SalaryCompilationPdfDownloadPdfParams) WithEmployeeID(employeeID int32) *SalaryCompilationPdfDownloadPdfParams
- func (o *SalaryCompilationPdfDownloadPdfParams) WithHTTPClient(client *http.Client) *SalaryCompilationPdfDownloadPdfParams
- func (o *SalaryCompilationPdfDownloadPdfParams) WithTimeout(timeout time.Duration) *SalaryCompilationPdfDownloadPdfParams
- func (o *SalaryCompilationPdfDownloadPdfParams) WithYear(year *int32) *SalaryCompilationPdfDownloadPdfParams
- func (o *SalaryCompilationPdfDownloadPdfParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SalaryCompilationPdfDownloadPdfReader
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 ¶
func (o *SalaryCompilationGetOK) GetPayload() *models.ResponseWrapperSalaryCompilation
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 ¶
func (o *SalaryCompilationGetParams) WithContext(ctx context.Context) *SalaryCompilationGetParams
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 ¶
func (o *SalaryCompilationGetParams) WithFields(fields *string) *SalaryCompilationGetParams
WithFields adds the fields to the salary compilation get params
func (*SalaryCompilationGetParams) WithHTTPClient ¶
func (o *SalaryCompilationGetParams) WithHTTPClient(client *http.Client) *SalaryCompilationGetParams
WithHTTPClient adds the HTTPClient to the salary compilation get params
func (*SalaryCompilationGetParams) WithTimeout ¶
func (o *SalaryCompilationGetParams) WithTimeout(timeout time.Duration) *SalaryCompilationGetParams
WithTimeout adds the timeout to the salary compilation get params
func (*SalaryCompilationGetParams) WithYear ¶
func (o *SalaryCompilationGetParams) WithYear(year *int32) *SalaryCompilationGetParams
WithYear adds the year to the salary compilation get params
func (*SalaryCompilationGetParams) WriteToRequest ¶
func (o *SalaryCompilationGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *SalaryCompilationPdfDownloadPdfOK) Error() string
func (*SalaryCompilationPdfDownloadPdfOK) GetPayload ¶
func (o *SalaryCompilationPdfDownloadPdfOK) GetPayload() strfmt.Base64
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 ¶
func (o *SalaryCompilationPdfDownloadPdfParams) SetContext(ctx context.Context)
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 ¶
func (o *SalaryCompilationPdfDownloadPdfParams) WithContext(ctx context.Context) *SalaryCompilationPdfDownloadPdfParams
WithContext adds the context to the salary compilation pdf download pdf params
func (*SalaryCompilationPdfDownloadPdfParams) WithEmployeeID ¶
func (o *SalaryCompilationPdfDownloadPdfParams) WithEmployeeID(employeeID int32) *SalaryCompilationPdfDownloadPdfParams
WithEmployeeID adds the employeeID to the salary compilation pdf download pdf params
func (*SalaryCompilationPdfDownloadPdfParams) WithHTTPClient ¶
func (o *SalaryCompilationPdfDownloadPdfParams) WithHTTPClient(client *http.Client) *SalaryCompilationPdfDownloadPdfParams
WithHTTPClient adds the HTTPClient to the salary compilation pdf download pdf params
func (*SalaryCompilationPdfDownloadPdfParams) WithTimeout ¶
func (o *SalaryCompilationPdfDownloadPdfParams) WithTimeout(timeout time.Duration) *SalaryCompilationPdfDownloadPdfParams
WithTimeout adds the timeout to the salary compilation pdf download pdf params
func (*SalaryCompilationPdfDownloadPdfParams) WithYear ¶
func (o *SalaryCompilationPdfDownloadPdfParams) WithYear(year *int32) *SalaryCompilationPdfDownloadPdfParams
WithYear adds the year to the salary compilation pdf download pdf params
func (*SalaryCompilationPdfDownloadPdfParams) WriteToRequest ¶
func (o *SalaryCompilationPdfDownloadPdfParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.