Documentation
¶
Index ¶
- type Client
- type ClientService
- type EmployeeEmploymentLeaveOfAbsenceTypeSearchOK
- type EmployeeEmploymentLeaveOfAbsenceTypeSearchParams
- func NewEmployeeEmploymentLeaveOfAbsenceTypeSearchParams() *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams
- func NewEmployeeEmploymentLeaveOfAbsenceTypeSearchParamsWithContext(ctx context.Context) *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams
- func NewEmployeeEmploymentLeaveOfAbsenceTypeSearchParamsWithHTTPClient(client *http.Client) *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams
- func NewEmployeeEmploymentLeaveOfAbsenceTypeSearchParamsWithTimeout(timeout time.Duration) *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams
- func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) SetContext(ctx context.Context)
- func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) SetCount(count *int64)
- func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) SetFields(fields *string)
- func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) SetFrom(from *int64)
- func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) SetHTTPClient(client *http.Client)
- func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) SetSorting(sorting *string)
- func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) SetTimeout(timeout time.Duration)
- func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) WithContext(ctx context.Context) *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams
- func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) WithCount(count *int64) *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams
- func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) WithFields(fields *string) *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams
- func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) WithFrom(from *int64) *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams
- func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) WithHTTPClient(client *http.Client) *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams
- func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) WithSorting(sorting *string) *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams
- func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) WithTimeout(timeout time.Duration) *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams
- func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EmployeeEmploymentLeaveOfAbsenceTypeSearchReader
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 leave of absence type API
func (*Client) EmployeeEmploymentLeaveOfAbsenceTypeSearch ¶
func (a *Client) EmployeeEmploymentLeaveOfAbsenceTypeSearch(params *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEmploymentLeaveOfAbsenceTypeSearchOK, error)
EmployeeEmploymentLeaveOfAbsenceTypeSearch bs e t a find all leave of absence type i ds
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { EmployeeEmploymentLeaveOfAbsenceTypeSearch(params *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEmploymentLeaveOfAbsenceTypeSearchOK, 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 leave of absence type API client.
type EmployeeEmploymentLeaveOfAbsenceTypeSearchOK ¶
type EmployeeEmploymentLeaveOfAbsenceTypeSearchOK struct {
Payload *models.ListResponseLeaveOfAbsenceType
}
EmployeeEmploymentLeaveOfAbsenceTypeSearchOK handles this case with default header values.
successful operation
func NewEmployeeEmploymentLeaveOfAbsenceTypeSearchOK ¶
func NewEmployeeEmploymentLeaveOfAbsenceTypeSearchOK() *EmployeeEmploymentLeaveOfAbsenceTypeSearchOK
NewEmployeeEmploymentLeaveOfAbsenceTypeSearchOK creates a EmployeeEmploymentLeaveOfAbsenceTypeSearchOK with default headers values
func (*EmployeeEmploymentLeaveOfAbsenceTypeSearchOK) Error ¶
func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchOK) Error() string
func (*EmployeeEmploymentLeaveOfAbsenceTypeSearchOK) GetPayload ¶
func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchOK) GetPayload() *models.ListResponseLeaveOfAbsenceType
type EmployeeEmploymentLeaveOfAbsenceTypeSearchParams ¶
type EmployeeEmploymentLeaveOfAbsenceTypeSearchParams 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 }
EmployeeEmploymentLeaveOfAbsenceTypeSearchParams contains all the parameters to send to the API endpoint for the employee employment leave of absence type search operation typically these are written to a http.Request
func NewEmployeeEmploymentLeaveOfAbsenceTypeSearchParams ¶
func NewEmployeeEmploymentLeaveOfAbsenceTypeSearchParams() *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams
NewEmployeeEmploymentLeaveOfAbsenceTypeSearchParams creates a new EmployeeEmploymentLeaveOfAbsenceTypeSearchParams object with the default values initialized.
func NewEmployeeEmploymentLeaveOfAbsenceTypeSearchParamsWithContext ¶
func NewEmployeeEmploymentLeaveOfAbsenceTypeSearchParamsWithContext(ctx context.Context) *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams
NewEmployeeEmploymentLeaveOfAbsenceTypeSearchParamsWithContext creates a new EmployeeEmploymentLeaveOfAbsenceTypeSearchParams object with the default values initialized, and the ability to set a context for a request
func NewEmployeeEmploymentLeaveOfAbsenceTypeSearchParamsWithHTTPClient ¶
func NewEmployeeEmploymentLeaveOfAbsenceTypeSearchParamsWithHTTPClient(client *http.Client) *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams
NewEmployeeEmploymentLeaveOfAbsenceTypeSearchParamsWithHTTPClient creates a new EmployeeEmploymentLeaveOfAbsenceTypeSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEmployeeEmploymentLeaveOfAbsenceTypeSearchParamsWithTimeout ¶
func NewEmployeeEmploymentLeaveOfAbsenceTypeSearchParamsWithTimeout(timeout time.Duration) *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams
NewEmployeeEmploymentLeaveOfAbsenceTypeSearchParamsWithTimeout creates a new EmployeeEmploymentLeaveOfAbsenceTypeSearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) SetContext ¶
func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the employee employment leave of absence type search params
func (*EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) SetCount ¶
func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) SetCount(count *int64)
SetCount adds the count to the employee employment leave of absence type search params
func (*EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) SetFields ¶
func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) SetFields(fields *string)
SetFields adds the fields to the employee employment leave of absence type search params
func (*EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) SetFrom ¶
func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) SetFrom(from *int64)
SetFrom adds the from to the employee employment leave of absence type search params
func (*EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) SetHTTPClient ¶
func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the employee employment leave of absence type search params
func (*EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) SetSorting ¶
func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) SetSorting(sorting *string)
SetSorting adds the sorting to the employee employment leave of absence type search params
func (*EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) SetTimeout ¶
func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the employee employment leave of absence type search params
func (*EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) WithContext ¶
func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) WithContext(ctx context.Context) *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams
WithContext adds the context to the employee employment leave of absence type search params
func (*EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) WithCount ¶
func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) WithCount(count *int64) *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams
WithCount adds the count to the employee employment leave of absence type search params
func (*EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) WithFields ¶
func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) WithFields(fields *string) *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams
WithFields adds the fields to the employee employment leave of absence type search params
func (*EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) WithFrom ¶
func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) WithFrom(from *int64) *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams
WithFrom adds the from to the employee employment leave of absence type search params
func (*EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) WithHTTPClient ¶
func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) WithHTTPClient(client *http.Client) *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams
WithHTTPClient adds the HTTPClient to the employee employment leave of absence type search params
func (*EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) WithSorting ¶
func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) WithSorting(sorting *string) *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams
WithSorting adds the sorting to the employee employment leave of absence type search params
func (*EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) WithTimeout ¶
func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) WithTimeout(timeout time.Duration) *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams
WithTimeout adds the timeout to the employee employment leave of absence type search params
func (*EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) WriteToRequest ¶
func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EmployeeEmploymentLeaveOfAbsenceTypeSearchReader ¶
type EmployeeEmploymentLeaveOfAbsenceTypeSearchReader struct {
// contains filtered or unexported fields
}
EmployeeEmploymentLeaveOfAbsenceTypeSearchReader is a Reader for the EmployeeEmploymentLeaveOfAbsenceTypeSearch structure.
func (*EmployeeEmploymentLeaveOfAbsenceTypeSearchReader) ReadResponse ¶
func (o *EmployeeEmploymentLeaveOfAbsenceTypeSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.