Documentation ¶
Index ¶
- type Client
- func (a *Client) SalaryTypeGet(params *SalaryTypeGetParams, authInfo runtime.ClientAuthInfoWriter) (*SalaryTypeGetOK, error)
- func (a *Client) SalaryTypeSearch(params *SalaryTypeSearchParams, authInfo runtime.ClientAuthInfoWriter) (*SalaryTypeSearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type SalaryTypeGetOK
- type SalaryTypeGetParams
- func (o *SalaryTypeGetParams) SetContext(ctx context.Context)
- func (o *SalaryTypeGetParams) SetFields(fields *string)
- func (o *SalaryTypeGetParams) SetHTTPClient(client *http.Client)
- func (o *SalaryTypeGetParams) SetID(id int32)
- func (o *SalaryTypeGetParams) SetTimeout(timeout time.Duration)
- func (o *SalaryTypeGetParams) WithContext(ctx context.Context) *SalaryTypeGetParams
- func (o *SalaryTypeGetParams) WithFields(fields *string) *SalaryTypeGetParams
- func (o *SalaryTypeGetParams) WithHTTPClient(client *http.Client) *SalaryTypeGetParams
- func (o *SalaryTypeGetParams) WithID(id int32) *SalaryTypeGetParams
- func (o *SalaryTypeGetParams) WithTimeout(timeout time.Duration) *SalaryTypeGetParams
- func (o *SalaryTypeGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SalaryTypeGetReader
- type SalaryTypeSearchOK
- type SalaryTypeSearchParams
- func NewSalaryTypeSearchParams() *SalaryTypeSearchParams
- func NewSalaryTypeSearchParamsWithContext(ctx context.Context) *SalaryTypeSearchParams
- func NewSalaryTypeSearchParamsWithHTTPClient(client *http.Client) *SalaryTypeSearchParams
- func NewSalaryTypeSearchParamsWithTimeout(timeout time.Duration) *SalaryTypeSearchParams
- func (o *SalaryTypeSearchParams) SetContext(ctx context.Context)
- func (o *SalaryTypeSearchParams) SetCount(count *int64)
- func (o *SalaryTypeSearchParams) SetDescription(description *string)
- func (o *SalaryTypeSearchParams) SetEmployeeIds(employeeIds *string)
- func (o *SalaryTypeSearchParams) SetFields(fields *string)
- func (o *SalaryTypeSearchParams) SetFrom(from *int64)
- func (o *SalaryTypeSearchParams) SetHTTPClient(client *http.Client)
- func (o *SalaryTypeSearchParams) SetID(id *string)
- func (o *SalaryTypeSearchParams) SetIsInactive(isInactive *bool)
- func (o *SalaryTypeSearchParams) SetName(name *string)
- func (o *SalaryTypeSearchParams) SetNumber(number *string)
- func (o *SalaryTypeSearchParams) SetShowInTimesheet(showInTimesheet *bool)
- func (o *SalaryTypeSearchParams) SetSorting(sorting *string)
- func (o *SalaryTypeSearchParams) SetTimeout(timeout time.Duration)
- func (o *SalaryTypeSearchParams) WithContext(ctx context.Context) *SalaryTypeSearchParams
- func (o *SalaryTypeSearchParams) WithCount(count *int64) *SalaryTypeSearchParams
- func (o *SalaryTypeSearchParams) WithDescription(description *string) *SalaryTypeSearchParams
- func (o *SalaryTypeSearchParams) WithEmployeeIds(employeeIds *string) *SalaryTypeSearchParams
- func (o *SalaryTypeSearchParams) WithFields(fields *string) *SalaryTypeSearchParams
- func (o *SalaryTypeSearchParams) WithFrom(from *int64) *SalaryTypeSearchParams
- func (o *SalaryTypeSearchParams) WithHTTPClient(client *http.Client) *SalaryTypeSearchParams
- func (o *SalaryTypeSearchParams) WithID(id *string) *SalaryTypeSearchParams
- func (o *SalaryTypeSearchParams) WithIsInactive(isInactive *bool) *SalaryTypeSearchParams
- func (o *SalaryTypeSearchParams) WithName(name *string) *SalaryTypeSearchParams
- func (o *SalaryTypeSearchParams) WithNumber(number *string) *SalaryTypeSearchParams
- func (o *SalaryTypeSearchParams) WithShowInTimesheet(showInTimesheet *bool) *SalaryTypeSearchParams
- func (o *SalaryTypeSearchParams) WithSorting(sorting *string) *SalaryTypeSearchParams
- func (o *SalaryTypeSearchParams) WithTimeout(timeout time.Duration) *SalaryTypeSearchParams
- func (o *SalaryTypeSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SalaryTypeSearchReader
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 ¶
func (o *SalaryTypeGetOK) GetPayload() *models.ResponseWrapperSalaryType
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 ¶
func (o *SalaryTypeGetParams) WithContext(ctx context.Context) *SalaryTypeGetParams
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 ¶
func (o *SalaryTypeGetParams) WithID(id int32) *SalaryTypeGetParams
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 ¶
func (o *SalaryTypeSearchOK) GetPayload() *models.ListResponseSalaryType
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 ¶
func (o *SalaryTypeSearchParams) WithContext(ctx context.Context) *SalaryTypeSearchParams
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 ¶
func (o *SalaryTypeSearchParams) WithFrom(from *int64) *SalaryTypeSearchParams
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 ¶
func (o *SalaryTypeSearchParams) WithID(id *string) *SalaryTypeSearchParams
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 ¶
func (o *SalaryTypeSearchParams) WithName(name *string) *SalaryTypeSearchParams
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 ¶
func (o *SalaryTypeSearchParams) WithTimeout(timeout time.Duration) *SalaryTypeSearchParams
WithTimeout adds the timeout to the salary type search params
func (*SalaryTypeSearchParams) WriteToRequest ¶
func (o *SalaryTypeSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.