holiday

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 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 holiday API

func (*Client) SalarySettingsHolidayListDeleteByIds

func (a *Client) SalarySettingsHolidayListDeleteByIds(params *SalarySettingsHolidayListDeleteByIdsParams, authInfo runtime.ClientAuthInfoWriter) error

SalarySettingsHolidayListDeleteByIds bs e t a delete multiple holiday settings of current logged in company

func (*Client) SalarySettingsHolidayListPostList

SalarySettingsHolidayListPostList bs e t a create multiple holiday settings of current logged in company

func (*Client) SalarySettingsHolidayListPutList

SalarySettingsHolidayListPutList bs e t a update multiple holiday settings of current logged in company

func (*Client) SalarySettingsHolidayPost

SalarySettingsHolidayPost bs e t a create a holiday setting of current logged in company

func (*Client) SalarySettingsHolidayPut

func (a *Client) SalarySettingsHolidayPut(params *SalarySettingsHolidayPutParams, authInfo runtime.ClientAuthInfoWriter) (*SalarySettingsHolidayPutOK, error)

SalarySettingsHolidayPut bs e t a update a holiday setting of current logged in company

func (*Client) SalarySettingsHolidaySearch

func (a *Client) SalarySettingsHolidaySearch(params *SalarySettingsHolidaySearchParams, authInfo runtime.ClientAuthInfoWriter) (*SalarySettingsHolidaySearchOK, error)

SalarySettingsHolidaySearch bs e t a find holiday settings of current logged in company

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	SalarySettingsHolidayListDeleteByIds(params *SalarySettingsHolidayListDeleteByIdsParams, authInfo runtime.ClientAuthInfoWriter) error

	SalarySettingsHolidayListPostList(params *SalarySettingsHolidayListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*SalarySettingsHolidayListPostListCreated, error)

	SalarySettingsHolidayListPutList(params *SalarySettingsHolidayListPutListParams, authInfo runtime.ClientAuthInfoWriter) (*SalarySettingsHolidayListPutListOK, error)

	SalarySettingsHolidayPost(params *SalarySettingsHolidayPostParams, authInfo runtime.ClientAuthInfoWriter) (*SalarySettingsHolidayPostCreated, error)

	SalarySettingsHolidayPut(params *SalarySettingsHolidayPutParams, authInfo runtime.ClientAuthInfoWriter) (*SalarySettingsHolidayPutOK, error)

	SalarySettingsHolidaySearch(params *SalarySettingsHolidaySearchParams, authInfo runtime.ClientAuthInfoWriter) (*SalarySettingsHolidaySearchOK, 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 holiday API client.

type SalarySettingsHolidayListDeleteByIdsDefault

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

SalarySettingsHolidayListDeleteByIdsDefault handles this case with default header values.

successful operation

func NewSalarySettingsHolidayListDeleteByIdsDefault

func NewSalarySettingsHolidayListDeleteByIdsDefault(code int) *SalarySettingsHolidayListDeleteByIdsDefault

NewSalarySettingsHolidayListDeleteByIdsDefault creates a SalarySettingsHolidayListDeleteByIdsDefault with default headers values

func (*SalarySettingsHolidayListDeleteByIdsDefault) Code

Code gets the status code for the salary settings holiday list delete by ids default response

func (*SalarySettingsHolidayListDeleteByIdsDefault) Error

type SalarySettingsHolidayListDeleteByIdsParams

type SalarySettingsHolidayListDeleteByIdsParams struct {

	/*Ids
	  ID of the elements

	*/
	Ids string

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

SalarySettingsHolidayListDeleteByIdsParams contains all the parameters to send to the API endpoint for the salary settings holiday list delete by ids operation typically these are written to a http.Request

func NewSalarySettingsHolidayListDeleteByIdsParams

func NewSalarySettingsHolidayListDeleteByIdsParams() *SalarySettingsHolidayListDeleteByIdsParams

NewSalarySettingsHolidayListDeleteByIdsParams creates a new SalarySettingsHolidayListDeleteByIdsParams object with the default values initialized.

func NewSalarySettingsHolidayListDeleteByIdsParamsWithContext

func NewSalarySettingsHolidayListDeleteByIdsParamsWithContext(ctx context.Context) *SalarySettingsHolidayListDeleteByIdsParams

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

func NewSalarySettingsHolidayListDeleteByIdsParamsWithHTTPClient

func NewSalarySettingsHolidayListDeleteByIdsParamsWithHTTPClient(client *http.Client) *SalarySettingsHolidayListDeleteByIdsParams

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

func NewSalarySettingsHolidayListDeleteByIdsParamsWithTimeout

func NewSalarySettingsHolidayListDeleteByIdsParamsWithTimeout(timeout time.Duration) *SalarySettingsHolidayListDeleteByIdsParams

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

func (*SalarySettingsHolidayListDeleteByIdsParams) SetContext

SetContext adds the context to the salary settings holiday list delete by ids params

func (*SalarySettingsHolidayListDeleteByIdsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the salary settings holiday list delete by ids params

func (*SalarySettingsHolidayListDeleteByIdsParams) SetIds

SetIds adds the ids to the salary settings holiday list delete by ids params

func (*SalarySettingsHolidayListDeleteByIdsParams) SetTimeout

SetTimeout adds the timeout to the salary settings holiday list delete by ids params

func (*SalarySettingsHolidayListDeleteByIdsParams) WithContext

WithContext adds the context to the salary settings holiday list delete by ids params

func (*SalarySettingsHolidayListDeleteByIdsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the salary settings holiday list delete by ids params

func (*SalarySettingsHolidayListDeleteByIdsParams) WithIds

WithIds adds the ids to the salary settings holiday list delete by ids params

func (*SalarySettingsHolidayListDeleteByIdsParams) WithTimeout

WithTimeout adds the timeout to the salary settings holiday list delete by ids params

func (*SalarySettingsHolidayListDeleteByIdsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SalarySettingsHolidayListDeleteByIdsReader

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

SalarySettingsHolidayListDeleteByIdsReader is a Reader for the SalarySettingsHolidayListDeleteByIds structure.

func (*SalarySettingsHolidayListDeleteByIdsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SalarySettingsHolidayListPostListCreated

type SalarySettingsHolidayListPostListCreated struct {
	Payload *models.ListResponseCompanyHoliday
}

SalarySettingsHolidayListPostListCreated handles this case with default header values.

successfully created

func NewSalarySettingsHolidayListPostListCreated

func NewSalarySettingsHolidayListPostListCreated() *SalarySettingsHolidayListPostListCreated

NewSalarySettingsHolidayListPostListCreated creates a SalarySettingsHolidayListPostListCreated with default headers values

func (*SalarySettingsHolidayListPostListCreated) Error

func (*SalarySettingsHolidayListPostListCreated) GetPayload

type SalarySettingsHolidayListPostListParams

type SalarySettingsHolidayListPostListParams struct {

	/*Body
	  JSON representing a list of new object to be created. Should not have ID and version set.

	*/
	Body []*models.CompanyHoliday

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

SalarySettingsHolidayListPostListParams contains all the parameters to send to the API endpoint for the salary settings holiday list post list operation typically these are written to a http.Request

func NewSalarySettingsHolidayListPostListParams

func NewSalarySettingsHolidayListPostListParams() *SalarySettingsHolidayListPostListParams

NewSalarySettingsHolidayListPostListParams creates a new SalarySettingsHolidayListPostListParams object with the default values initialized.

func NewSalarySettingsHolidayListPostListParamsWithContext

func NewSalarySettingsHolidayListPostListParamsWithContext(ctx context.Context) *SalarySettingsHolidayListPostListParams

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

func NewSalarySettingsHolidayListPostListParamsWithHTTPClient

func NewSalarySettingsHolidayListPostListParamsWithHTTPClient(client *http.Client) *SalarySettingsHolidayListPostListParams

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

func NewSalarySettingsHolidayListPostListParamsWithTimeout

func NewSalarySettingsHolidayListPostListParamsWithTimeout(timeout time.Duration) *SalarySettingsHolidayListPostListParams

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

func (*SalarySettingsHolidayListPostListParams) SetBody

SetBody adds the body to the salary settings holiday list post list params

func (*SalarySettingsHolidayListPostListParams) SetContext

SetContext adds the context to the salary settings holiday list post list params

func (*SalarySettingsHolidayListPostListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the salary settings holiday list post list params

func (*SalarySettingsHolidayListPostListParams) SetTimeout

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

SetTimeout adds the timeout to the salary settings holiday list post list params

func (*SalarySettingsHolidayListPostListParams) WithBody

WithBody adds the body to the salary settings holiday list post list params

func (*SalarySettingsHolidayListPostListParams) WithContext

WithContext adds the context to the salary settings holiday list post list params

func (*SalarySettingsHolidayListPostListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the salary settings holiday list post list params

func (*SalarySettingsHolidayListPostListParams) WithTimeout

WithTimeout adds the timeout to the salary settings holiday list post list params

func (*SalarySettingsHolidayListPostListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SalarySettingsHolidayListPostListReader

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

SalarySettingsHolidayListPostListReader is a Reader for the SalarySettingsHolidayListPostList structure.

func (*SalarySettingsHolidayListPostListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SalarySettingsHolidayListPutListOK

type SalarySettingsHolidayListPutListOK struct {
	Payload *models.ListResponseCompanyHoliday
}

SalarySettingsHolidayListPutListOK handles this case with default header values.

successful operation

func NewSalarySettingsHolidayListPutListOK

func NewSalarySettingsHolidayListPutListOK() *SalarySettingsHolidayListPutListOK

NewSalarySettingsHolidayListPutListOK creates a SalarySettingsHolidayListPutListOK with default headers values

func (*SalarySettingsHolidayListPutListOK) Error

func (*SalarySettingsHolidayListPutListOK) GetPayload

type SalarySettingsHolidayListPutListParams

type SalarySettingsHolidayListPutListParams struct {

	/*Body
	  JSON representing updates to object. Should have ID and version set.

	*/
	Body []*models.CompanyHoliday

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

SalarySettingsHolidayListPutListParams contains all the parameters to send to the API endpoint for the salary settings holiday list put list operation typically these are written to a http.Request

func NewSalarySettingsHolidayListPutListParams

func NewSalarySettingsHolidayListPutListParams() *SalarySettingsHolidayListPutListParams

NewSalarySettingsHolidayListPutListParams creates a new SalarySettingsHolidayListPutListParams object with the default values initialized.

func NewSalarySettingsHolidayListPutListParamsWithContext

func NewSalarySettingsHolidayListPutListParamsWithContext(ctx context.Context) *SalarySettingsHolidayListPutListParams

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

func NewSalarySettingsHolidayListPutListParamsWithHTTPClient

func NewSalarySettingsHolidayListPutListParamsWithHTTPClient(client *http.Client) *SalarySettingsHolidayListPutListParams

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

func NewSalarySettingsHolidayListPutListParamsWithTimeout

func NewSalarySettingsHolidayListPutListParamsWithTimeout(timeout time.Duration) *SalarySettingsHolidayListPutListParams

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

func (*SalarySettingsHolidayListPutListParams) SetBody

SetBody adds the body to the salary settings holiday list put list params

func (*SalarySettingsHolidayListPutListParams) SetContext

SetContext adds the context to the salary settings holiday list put list params

func (*SalarySettingsHolidayListPutListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the salary settings holiday list put list params

func (*SalarySettingsHolidayListPutListParams) SetTimeout

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

SetTimeout adds the timeout to the salary settings holiday list put list params

func (*SalarySettingsHolidayListPutListParams) WithBody

WithBody adds the body to the salary settings holiday list put list params

func (*SalarySettingsHolidayListPutListParams) WithContext

WithContext adds the context to the salary settings holiday list put list params

func (*SalarySettingsHolidayListPutListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the salary settings holiday list put list params

func (*SalarySettingsHolidayListPutListParams) WithTimeout

WithTimeout adds the timeout to the salary settings holiday list put list params

func (*SalarySettingsHolidayListPutListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SalarySettingsHolidayListPutListReader

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

SalarySettingsHolidayListPutListReader is a Reader for the SalarySettingsHolidayListPutList structure.

func (*SalarySettingsHolidayListPutListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SalarySettingsHolidayPostCreated

type SalarySettingsHolidayPostCreated struct {
	Payload *models.ResponseWrapperCompanyHoliday
}

SalarySettingsHolidayPostCreated handles this case with default header values.

successfully created

func NewSalarySettingsHolidayPostCreated

func NewSalarySettingsHolidayPostCreated() *SalarySettingsHolidayPostCreated

NewSalarySettingsHolidayPostCreated creates a SalarySettingsHolidayPostCreated with default headers values

func (*SalarySettingsHolidayPostCreated) Error

func (*SalarySettingsHolidayPostCreated) GetPayload

type SalarySettingsHolidayPostParams

type SalarySettingsHolidayPostParams struct {

	/*Body
	  JSON representing the new object to be created. Should not have ID and version set.

	*/
	Body *models.CompanyHoliday

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

SalarySettingsHolidayPostParams contains all the parameters to send to the API endpoint for the salary settings holiday post operation typically these are written to a http.Request

func NewSalarySettingsHolidayPostParams

func NewSalarySettingsHolidayPostParams() *SalarySettingsHolidayPostParams

NewSalarySettingsHolidayPostParams creates a new SalarySettingsHolidayPostParams object with the default values initialized.

func NewSalarySettingsHolidayPostParamsWithContext

func NewSalarySettingsHolidayPostParamsWithContext(ctx context.Context) *SalarySettingsHolidayPostParams

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

func NewSalarySettingsHolidayPostParamsWithHTTPClient

func NewSalarySettingsHolidayPostParamsWithHTTPClient(client *http.Client) *SalarySettingsHolidayPostParams

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

func NewSalarySettingsHolidayPostParamsWithTimeout

func NewSalarySettingsHolidayPostParamsWithTimeout(timeout time.Duration) *SalarySettingsHolidayPostParams

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

func (*SalarySettingsHolidayPostParams) SetBody

SetBody adds the body to the salary settings holiday post params

func (*SalarySettingsHolidayPostParams) SetContext

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

SetContext adds the context to the salary settings holiday post params

func (*SalarySettingsHolidayPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the salary settings holiday post params

func (*SalarySettingsHolidayPostParams) SetTimeout

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

SetTimeout adds the timeout to the salary settings holiday post params

func (*SalarySettingsHolidayPostParams) WithBody

WithBody adds the body to the salary settings holiday post params

func (*SalarySettingsHolidayPostParams) WithContext

WithContext adds the context to the salary settings holiday post params

func (*SalarySettingsHolidayPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the salary settings holiday post params

func (*SalarySettingsHolidayPostParams) WithTimeout

WithTimeout adds the timeout to the salary settings holiday post params

func (*SalarySettingsHolidayPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SalarySettingsHolidayPostReader

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

SalarySettingsHolidayPostReader is a Reader for the SalarySettingsHolidayPost structure.

func (*SalarySettingsHolidayPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SalarySettingsHolidayPutOK

type SalarySettingsHolidayPutOK struct {
	Payload *models.ResponseWrapperCompanyHoliday
}

SalarySettingsHolidayPutOK handles this case with default header values.

successful operation

func NewSalarySettingsHolidayPutOK

func NewSalarySettingsHolidayPutOK() *SalarySettingsHolidayPutOK

NewSalarySettingsHolidayPutOK creates a SalarySettingsHolidayPutOK with default headers values

func (*SalarySettingsHolidayPutOK) Error

func (*SalarySettingsHolidayPutOK) GetPayload

type SalarySettingsHolidayPutParams

type SalarySettingsHolidayPutParams struct {

	/*Body
	  Partial object describing what should be updated

	*/
	Body *models.CompanyHoliday
	/*ID
	  Element ID

	*/
	ID int32

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

SalarySettingsHolidayPutParams contains all the parameters to send to the API endpoint for the salary settings holiday put operation typically these are written to a http.Request

func NewSalarySettingsHolidayPutParams

func NewSalarySettingsHolidayPutParams() *SalarySettingsHolidayPutParams

NewSalarySettingsHolidayPutParams creates a new SalarySettingsHolidayPutParams object with the default values initialized.

func NewSalarySettingsHolidayPutParamsWithContext

func NewSalarySettingsHolidayPutParamsWithContext(ctx context.Context) *SalarySettingsHolidayPutParams

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

func NewSalarySettingsHolidayPutParamsWithHTTPClient

func NewSalarySettingsHolidayPutParamsWithHTTPClient(client *http.Client) *SalarySettingsHolidayPutParams

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

func NewSalarySettingsHolidayPutParamsWithTimeout

func NewSalarySettingsHolidayPutParamsWithTimeout(timeout time.Duration) *SalarySettingsHolidayPutParams

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

func (*SalarySettingsHolidayPutParams) SetBody

SetBody adds the body to the salary settings holiday put params

func (*SalarySettingsHolidayPutParams) SetContext

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

SetContext adds the context to the salary settings holiday put params

func (*SalarySettingsHolidayPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the salary settings holiday put params

func (*SalarySettingsHolidayPutParams) SetID

SetID adds the id to the salary settings holiday put params

func (*SalarySettingsHolidayPutParams) SetTimeout

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

SetTimeout adds the timeout to the salary settings holiday put params

func (*SalarySettingsHolidayPutParams) WithBody

WithBody adds the body to the salary settings holiday put params

func (*SalarySettingsHolidayPutParams) WithContext

WithContext adds the context to the salary settings holiday put params

func (*SalarySettingsHolidayPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the salary settings holiday put params

func (*SalarySettingsHolidayPutParams) WithID

WithID adds the id to the salary settings holiday put params

func (*SalarySettingsHolidayPutParams) WithTimeout

WithTimeout adds the timeout to the salary settings holiday put params

func (*SalarySettingsHolidayPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SalarySettingsHolidayPutReader

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

SalarySettingsHolidayPutReader is a Reader for the SalarySettingsHolidayPut structure.

func (*SalarySettingsHolidayPutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SalarySettingsHolidaySearchOK

type SalarySettingsHolidaySearchOK struct {
	Payload *models.ListResponseCompanyHoliday
}

SalarySettingsHolidaySearchOK handles this case with default header values.

successful operation

func NewSalarySettingsHolidaySearchOK

func NewSalarySettingsHolidaySearchOK() *SalarySettingsHolidaySearchOK

NewSalarySettingsHolidaySearchOK creates a SalarySettingsHolidaySearchOK with default headers values

func (*SalarySettingsHolidaySearchOK) Error

func (*SalarySettingsHolidaySearchOK) GetPayload

type SalarySettingsHolidaySearchParams

type SalarySettingsHolidaySearchParams struct {

	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string

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

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

func NewSalarySettingsHolidaySearchParams

func NewSalarySettingsHolidaySearchParams() *SalarySettingsHolidaySearchParams

NewSalarySettingsHolidaySearchParams creates a new SalarySettingsHolidaySearchParams object with the default values initialized.

func NewSalarySettingsHolidaySearchParamsWithContext

func NewSalarySettingsHolidaySearchParamsWithContext(ctx context.Context) *SalarySettingsHolidaySearchParams

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

func NewSalarySettingsHolidaySearchParamsWithHTTPClient

func NewSalarySettingsHolidaySearchParamsWithHTTPClient(client *http.Client) *SalarySettingsHolidaySearchParams

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

func NewSalarySettingsHolidaySearchParamsWithTimeout

func NewSalarySettingsHolidaySearchParamsWithTimeout(timeout time.Duration) *SalarySettingsHolidaySearchParams

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

func (*SalarySettingsHolidaySearchParams) SetContext

SetContext adds the context to the salary settings holiday search params

func (*SalarySettingsHolidaySearchParams) SetCount

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

SetCount adds the count to the salary settings holiday search params

func (*SalarySettingsHolidaySearchParams) SetFields

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

SetFields adds the fields to the salary settings holiday search params

func (*SalarySettingsHolidaySearchParams) SetFrom

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

SetFrom adds the from to the salary settings holiday search params

func (*SalarySettingsHolidaySearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the salary settings holiday search params

func (*SalarySettingsHolidaySearchParams) SetSorting

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

SetSorting adds the sorting to the salary settings holiday search params

func (*SalarySettingsHolidaySearchParams) SetTimeout

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

SetTimeout adds the timeout to the salary settings holiday search params

func (*SalarySettingsHolidaySearchParams) WithContext

WithContext adds the context to the salary settings holiday search params

func (*SalarySettingsHolidaySearchParams) WithCount

WithCount adds the count to the salary settings holiday search params

func (*SalarySettingsHolidaySearchParams) WithFields

WithFields adds the fields to the salary settings holiday search params

func (*SalarySettingsHolidaySearchParams) WithFrom

WithFrom adds the from to the salary settings holiday search params

func (*SalarySettingsHolidaySearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the salary settings holiday search params

func (*SalarySettingsHolidaySearchParams) WithSorting

WithSorting adds the sorting to the salary settings holiday search params

func (*SalarySettingsHolidaySearchParams) WithTimeout

WithTimeout adds the timeout to the salary settings holiday search params

func (*SalarySettingsHolidaySearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SalarySettingsHolidaySearchReader

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

SalarySettingsHolidaySearchReader is a Reader for the SalarySettingsHolidaySearch structure.

func (*SalarySettingsHolidaySearchReader) ReadResponse

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