Documentation
¶
Index ¶
- type Client
- func (a *Client) EmployeeEmploymentLeaveOfAbsenceGet(params *EmployeeEmploymentLeaveOfAbsenceGetParams, ...) (*EmployeeEmploymentLeaveOfAbsenceGetOK, error)
- func (a *Client) EmployeeEmploymentLeaveOfAbsenceListPostList(params *EmployeeEmploymentLeaveOfAbsenceListPostListParams, ...) (*EmployeeEmploymentLeaveOfAbsenceListPostListCreated, error)
- func (a *Client) EmployeeEmploymentLeaveOfAbsencePost(params *EmployeeEmploymentLeaveOfAbsencePostParams, ...) (*EmployeeEmploymentLeaveOfAbsencePostCreated, error)
- func (a *Client) EmployeeEmploymentLeaveOfAbsencePut(params *EmployeeEmploymentLeaveOfAbsencePutParams, ...) (*EmployeeEmploymentLeaveOfAbsencePutOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type EmployeeEmploymentLeaveOfAbsenceGetOK
- type EmployeeEmploymentLeaveOfAbsenceGetParams
- func NewEmployeeEmploymentLeaveOfAbsenceGetParams() *EmployeeEmploymentLeaveOfAbsenceGetParams
- func NewEmployeeEmploymentLeaveOfAbsenceGetParamsWithContext(ctx context.Context) *EmployeeEmploymentLeaveOfAbsenceGetParams
- func NewEmployeeEmploymentLeaveOfAbsenceGetParamsWithHTTPClient(client *http.Client) *EmployeeEmploymentLeaveOfAbsenceGetParams
- func NewEmployeeEmploymentLeaveOfAbsenceGetParamsWithTimeout(timeout time.Duration) *EmployeeEmploymentLeaveOfAbsenceGetParams
- func (o *EmployeeEmploymentLeaveOfAbsenceGetParams) SetContext(ctx context.Context)
- func (o *EmployeeEmploymentLeaveOfAbsenceGetParams) SetFields(fields *string)
- func (o *EmployeeEmploymentLeaveOfAbsenceGetParams) SetHTTPClient(client *http.Client)
- func (o *EmployeeEmploymentLeaveOfAbsenceGetParams) SetID(id int32)
- func (o *EmployeeEmploymentLeaveOfAbsenceGetParams) SetTimeout(timeout time.Duration)
- func (o *EmployeeEmploymentLeaveOfAbsenceGetParams) WithContext(ctx context.Context) *EmployeeEmploymentLeaveOfAbsenceGetParams
- func (o *EmployeeEmploymentLeaveOfAbsenceGetParams) WithFields(fields *string) *EmployeeEmploymentLeaveOfAbsenceGetParams
- func (o *EmployeeEmploymentLeaveOfAbsenceGetParams) WithHTTPClient(client *http.Client) *EmployeeEmploymentLeaveOfAbsenceGetParams
- func (o *EmployeeEmploymentLeaveOfAbsenceGetParams) WithID(id int32) *EmployeeEmploymentLeaveOfAbsenceGetParams
- func (o *EmployeeEmploymentLeaveOfAbsenceGetParams) WithTimeout(timeout time.Duration) *EmployeeEmploymentLeaveOfAbsenceGetParams
- func (o *EmployeeEmploymentLeaveOfAbsenceGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EmployeeEmploymentLeaveOfAbsenceGetReader
- type EmployeeEmploymentLeaveOfAbsenceListPostListCreated
- type EmployeeEmploymentLeaveOfAbsenceListPostListParams
- func NewEmployeeEmploymentLeaveOfAbsenceListPostListParams() *EmployeeEmploymentLeaveOfAbsenceListPostListParams
- func NewEmployeeEmploymentLeaveOfAbsenceListPostListParamsWithContext(ctx context.Context) *EmployeeEmploymentLeaveOfAbsenceListPostListParams
- func NewEmployeeEmploymentLeaveOfAbsenceListPostListParamsWithHTTPClient(client *http.Client) *EmployeeEmploymentLeaveOfAbsenceListPostListParams
- func NewEmployeeEmploymentLeaveOfAbsenceListPostListParamsWithTimeout(timeout time.Duration) *EmployeeEmploymentLeaveOfAbsenceListPostListParams
- func (o *EmployeeEmploymentLeaveOfAbsenceListPostListParams) SetBody(body []*models.LeaveOfAbsence)
- func (o *EmployeeEmploymentLeaveOfAbsenceListPostListParams) SetContext(ctx context.Context)
- func (o *EmployeeEmploymentLeaveOfAbsenceListPostListParams) SetHTTPClient(client *http.Client)
- func (o *EmployeeEmploymentLeaveOfAbsenceListPostListParams) SetTimeout(timeout time.Duration)
- func (o *EmployeeEmploymentLeaveOfAbsenceListPostListParams) WithBody(body []*models.LeaveOfAbsence) *EmployeeEmploymentLeaveOfAbsenceListPostListParams
- func (o *EmployeeEmploymentLeaveOfAbsenceListPostListParams) WithContext(ctx context.Context) *EmployeeEmploymentLeaveOfAbsenceListPostListParams
- func (o *EmployeeEmploymentLeaveOfAbsenceListPostListParams) WithHTTPClient(client *http.Client) *EmployeeEmploymentLeaveOfAbsenceListPostListParams
- func (o *EmployeeEmploymentLeaveOfAbsenceListPostListParams) WithTimeout(timeout time.Duration) *EmployeeEmploymentLeaveOfAbsenceListPostListParams
- func (o *EmployeeEmploymentLeaveOfAbsenceListPostListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EmployeeEmploymentLeaveOfAbsenceListPostListReader
- type EmployeeEmploymentLeaveOfAbsencePostCreated
- type EmployeeEmploymentLeaveOfAbsencePostParams
- func NewEmployeeEmploymentLeaveOfAbsencePostParams() *EmployeeEmploymentLeaveOfAbsencePostParams
- func NewEmployeeEmploymentLeaveOfAbsencePostParamsWithContext(ctx context.Context) *EmployeeEmploymentLeaveOfAbsencePostParams
- func NewEmployeeEmploymentLeaveOfAbsencePostParamsWithHTTPClient(client *http.Client) *EmployeeEmploymentLeaveOfAbsencePostParams
- func NewEmployeeEmploymentLeaveOfAbsencePostParamsWithTimeout(timeout time.Duration) *EmployeeEmploymentLeaveOfAbsencePostParams
- func (o *EmployeeEmploymentLeaveOfAbsencePostParams) SetBody(body *models.LeaveOfAbsence)
- func (o *EmployeeEmploymentLeaveOfAbsencePostParams) SetContext(ctx context.Context)
- func (o *EmployeeEmploymentLeaveOfAbsencePostParams) SetHTTPClient(client *http.Client)
- func (o *EmployeeEmploymentLeaveOfAbsencePostParams) SetTimeout(timeout time.Duration)
- func (o *EmployeeEmploymentLeaveOfAbsencePostParams) WithBody(body *models.LeaveOfAbsence) *EmployeeEmploymentLeaveOfAbsencePostParams
- func (o *EmployeeEmploymentLeaveOfAbsencePostParams) WithContext(ctx context.Context) *EmployeeEmploymentLeaveOfAbsencePostParams
- func (o *EmployeeEmploymentLeaveOfAbsencePostParams) WithHTTPClient(client *http.Client) *EmployeeEmploymentLeaveOfAbsencePostParams
- func (o *EmployeeEmploymentLeaveOfAbsencePostParams) WithTimeout(timeout time.Duration) *EmployeeEmploymentLeaveOfAbsencePostParams
- func (o *EmployeeEmploymentLeaveOfAbsencePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EmployeeEmploymentLeaveOfAbsencePostReader
- type EmployeeEmploymentLeaveOfAbsencePutOK
- type EmployeeEmploymentLeaveOfAbsencePutParams
- func NewEmployeeEmploymentLeaveOfAbsencePutParams() *EmployeeEmploymentLeaveOfAbsencePutParams
- func NewEmployeeEmploymentLeaveOfAbsencePutParamsWithContext(ctx context.Context) *EmployeeEmploymentLeaveOfAbsencePutParams
- func NewEmployeeEmploymentLeaveOfAbsencePutParamsWithHTTPClient(client *http.Client) *EmployeeEmploymentLeaveOfAbsencePutParams
- func NewEmployeeEmploymentLeaveOfAbsencePutParamsWithTimeout(timeout time.Duration) *EmployeeEmploymentLeaveOfAbsencePutParams
- func (o *EmployeeEmploymentLeaveOfAbsencePutParams) SetBody(body *models.LeaveOfAbsence)
- func (o *EmployeeEmploymentLeaveOfAbsencePutParams) SetContext(ctx context.Context)
- func (o *EmployeeEmploymentLeaveOfAbsencePutParams) SetHTTPClient(client *http.Client)
- func (o *EmployeeEmploymentLeaveOfAbsencePutParams) SetID(id int32)
- func (o *EmployeeEmploymentLeaveOfAbsencePutParams) SetTimeout(timeout time.Duration)
- func (o *EmployeeEmploymentLeaveOfAbsencePutParams) WithBody(body *models.LeaveOfAbsence) *EmployeeEmploymentLeaveOfAbsencePutParams
- func (o *EmployeeEmploymentLeaveOfAbsencePutParams) WithContext(ctx context.Context) *EmployeeEmploymentLeaveOfAbsencePutParams
- func (o *EmployeeEmploymentLeaveOfAbsencePutParams) WithHTTPClient(client *http.Client) *EmployeeEmploymentLeaveOfAbsencePutParams
- func (o *EmployeeEmploymentLeaveOfAbsencePutParams) WithID(id int32) *EmployeeEmploymentLeaveOfAbsencePutParams
- func (o *EmployeeEmploymentLeaveOfAbsencePutParams) WithTimeout(timeout time.Duration) *EmployeeEmploymentLeaveOfAbsencePutParams
- func (o *EmployeeEmploymentLeaveOfAbsencePutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EmployeeEmploymentLeaveOfAbsencePutReader
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 API
func (*Client) EmployeeEmploymentLeaveOfAbsenceGet ¶
func (a *Client) EmployeeEmploymentLeaveOfAbsenceGet(params *EmployeeEmploymentLeaveOfAbsenceGetParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEmploymentLeaveOfAbsenceGetOK, error)
EmployeeEmploymentLeaveOfAbsenceGet bs e t a find leave of absence by ID
func (*Client) EmployeeEmploymentLeaveOfAbsenceListPostList ¶
func (a *Client) EmployeeEmploymentLeaveOfAbsenceListPostList(params *EmployeeEmploymentLeaveOfAbsenceListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEmploymentLeaveOfAbsenceListPostListCreated, error)
EmployeeEmploymentLeaveOfAbsenceListPostList bs e t a create multiple leave of absences
func (*Client) EmployeeEmploymentLeaveOfAbsencePost ¶
func (a *Client) EmployeeEmploymentLeaveOfAbsencePost(params *EmployeeEmploymentLeaveOfAbsencePostParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEmploymentLeaveOfAbsencePostCreated, error)
EmployeeEmploymentLeaveOfAbsencePost bs e t a create leave of absence
func (*Client) EmployeeEmploymentLeaveOfAbsencePut ¶
func (a *Client) EmployeeEmploymentLeaveOfAbsencePut(params *EmployeeEmploymentLeaveOfAbsencePutParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEmploymentLeaveOfAbsencePutOK, error)
EmployeeEmploymentLeaveOfAbsencePut bs e t a update leave of absence
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { EmployeeEmploymentLeaveOfAbsenceGet(params *EmployeeEmploymentLeaveOfAbsenceGetParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEmploymentLeaveOfAbsenceGetOK, error) EmployeeEmploymentLeaveOfAbsenceListPostList(params *EmployeeEmploymentLeaveOfAbsenceListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEmploymentLeaveOfAbsenceListPostListCreated, error) EmployeeEmploymentLeaveOfAbsencePost(params *EmployeeEmploymentLeaveOfAbsencePostParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEmploymentLeaveOfAbsencePostCreated, error) EmployeeEmploymentLeaveOfAbsencePut(params *EmployeeEmploymentLeaveOfAbsencePutParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEmploymentLeaveOfAbsencePutOK, 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 API client.
type EmployeeEmploymentLeaveOfAbsenceGetOK ¶
type EmployeeEmploymentLeaveOfAbsenceGetOK struct {
Payload *models.ResponseWrapperLeaveOfAbsence
}
EmployeeEmploymentLeaveOfAbsenceGetOK handles this case with default header values.
successful operation
func NewEmployeeEmploymentLeaveOfAbsenceGetOK ¶
func NewEmployeeEmploymentLeaveOfAbsenceGetOK() *EmployeeEmploymentLeaveOfAbsenceGetOK
NewEmployeeEmploymentLeaveOfAbsenceGetOK creates a EmployeeEmploymentLeaveOfAbsenceGetOK with default headers values
func (*EmployeeEmploymentLeaveOfAbsenceGetOK) Error ¶
func (o *EmployeeEmploymentLeaveOfAbsenceGetOK) Error() string
func (*EmployeeEmploymentLeaveOfAbsenceGetOK) GetPayload ¶
func (o *EmployeeEmploymentLeaveOfAbsenceGetOK) GetPayload() *models.ResponseWrapperLeaveOfAbsence
type EmployeeEmploymentLeaveOfAbsenceGetParams ¶
type EmployeeEmploymentLeaveOfAbsenceGetParams struct { /*Fields Fields filter pattern */ Fields *string /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EmployeeEmploymentLeaveOfAbsenceGetParams contains all the parameters to send to the API endpoint for the employee employment leave of absence get operation typically these are written to a http.Request
func NewEmployeeEmploymentLeaveOfAbsenceGetParams ¶
func NewEmployeeEmploymentLeaveOfAbsenceGetParams() *EmployeeEmploymentLeaveOfAbsenceGetParams
NewEmployeeEmploymentLeaveOfAbsenceGetParams creates a new EmployeeEmploymentLeaveOfAbsenceGetParams object with the default values initialized.
func NewEmployeeEmploymentLeaveOfAbsenceGetParamsWithContext ¶
func NewEmployeeEmploymentLeaveOfAbsenceGetParamsWithContext(ctx context.Context) *EmployeeEmploymentLeaveOfAbsenceGetParams
NewEmployeeEmploymentLeaveOfAbsenceGetParamsWithContext creates a new EmployeeEmploymentLeaveOfAbsenceGetParams object with the default values initialized, and the ability to set a context for a request
func NewEmployeeEmploymentLeaveOfAbsenceGetParamsWithHTTPClient ¶
func NewEmployeeEmploymentLeaveOfAbsenceGetParamsWithHTTPClient(client *http.Client) *EmployeeEmploymentLeaveOfAbsenceGetParams
NewEmployeeEmploymentLeaveOfAbsenceGetParamsWithHTTPClient creates a new EmployeeEmploymentLeaveOfAbsenceGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEmployeeEmploymentLeaveOfAbsenceGetParamsWithTimeout ¶
func NewEmployeeEmploymentLeaveOfAbsenceGetParamsWithTimeout(timeout time.Duration) *EmployeeEmploymentLeaveOfAbsenceGetParams
NewEmployeeEmploymentLeaveOfAbsenceGetParamsWithTimeout creates a new EmployeeEmploymentLeaveOfAbsenceGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*EmployeeEmploymentLeaveOfAbsenceGetParams) SetContext ¶
func (o *EmployeeEmploymentLeaveOfAbsenceGetParams) SetContext(ctx context.Context)
SetContext adds the context to the employee employment leave of absence get params
func (*EmployeeEmploymentLeaveOfAbsenceGetParams) SetFields ¶
func (o *EmployeeEmploymentLeaveOfAbsenceGetParams) SetFields(fields *string)
SetFields adds the fields to the employee employment leave of absence get params
func (*EmployeeEmploymentLeaveOfAbsenceGetParams) SetHTTPClient ¶
func (o *EmployeeEmploymentLeaveOfAbsenceGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the employee employment leave of absence get params
func (*EmployeeEmploymentLeaveOfAbsenceGetParams) SetID ¶
func (o *EmployeeEmploymentLeaveOfAbsenceGetParams) SetID(id int32)
SetID adds the id to the employee employment leave of absence get params
func (*EmployeeEmploymentLeaveOfAbsenceGetParams) SetTimeout ¶
func (o *EmployeeEmploymentLeaveOfAbsenceGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the employee employment leave of absence get params
func (*EmployeeEmploymentLeaveOfAbsenceGetParams) WithContext ¶
func (o *EmployeeEmploymentLeaveOfAbsenceGetParams) WithContext(ctx context.Context) *EmployeeEmploymentLeaveOfAbsenceGetParams
WithContext adds the context to the employee employment leave of absence get params
func (*EmployeeEmploymentLeaveOfAbsenceGetParams) WithFields ¶
func (o *EmployeeEmploymentLeaveOfAbsenceGetParams) WithFields(fields *string) *EmployeeEmploymentLeaveOfAbsenceGetParams
WithFields adds the fields to the employee employment leave of absence get params
func (*EmployeeEmploymentLeaveOfAbsenceGetParams) WithHTTPClient ¶
func (o *EmployeeEmploymentLeaveOfAbsenceGetParams) WithHTTPClient(client *http.Client) *EmployeeEmploymentLeaveOfAbsenceGetParams
WithHTTPClient adds the HTTPClient to the employee employment leave of absence get params
func (*EmployeeEmploymentLeaveOfAbsenceGetParams) WithID ¶
func (o *EmployeeEmploymentLeaveOfAbsenceGetParams) WithID(id int32) *EmployeeEmploymentLeaveOfAbsenceGetParams
WithID adds the id to the employee employment leave of absence get params
func (*EmployeeEmploymentLeaveOfAbsenceGetParams) WithTimeout ¶
func (o *EmployeeEmploymentLeaveOfAbsenceGetParams) WithTimeout(timeout time.Duration) *EmployeeEmploymentLeaveOfAbsenceGetParams
WithTimeout adds the timeout to the employee employment leave of absence get params
func (*EmployeeEmploymentLeaveOfAbsenceGetParams) WriteToRequest ¶
func (o *EmployeeEmploymentLeaveOfAbsenceGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EmployeeEmploymentLeaveOfAbsenceGetReader ¶
type EmployeeEmploymentLeaveOfAbsenceGetReader struct {
// contains filtered or unexported fields
}
EmployeeEmploymentLeaveOfAbsenceGetReader is a Reader for the EmployeeEmploymentLeaveOfAbsenceGet structure.
func (*EmployeeEmploymentLeaveOfAbsenceGetReader) ReadResponse ¶
func (o *EmployeeEmploymentLeaveOfAbsenceGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EmployeeEmploymentLeaveOfAbsenceListPostListCreated ¶
type EmployeeEmploymentLeaveOfAbsenceListPostListCreated struct {
Payload *models.ListResponseLeaveOfAbsence
}
EmployeeEmploymentLeaveOfAbsenceListPostListCreated handles this case with default header values.
successfully created
func NewEmployeeEmploymentLeaveOfAbsenceListPostListCreated ¶
func NewEmployeeEmploymentLeaveOfAbsenceListPostListCreated() *EmployeeEmploymentLeaveOfAbsenceListPostListCreated
NewEmployeeEmploymentLeaveOfAbsenceListPostListCreated creates a EmployeeEmploymentLeaveOfAbsenceListPostListCreated with default headers values
func (*EmployeeEmploymentLeaveOfAbsenceListPostListCreated) Error ¶
func (o *EmployeeEmploymentLeaveOfAbsenceListPostListCreated) Error() string
func (*EmployeeEmploymentLeaveOfAbsenceListPostListCreated) GetPayload ¶
func (o *EmployeeEmploymentLeaveOfAbsenceListPostListCreated) GetPayload() *models.ListResponseLeaveOfAbsence
type EmployeeEmploymentLeaveOfAbsenceListPostListParams ¶
type EmployeeEmploymentLeaveOfAbsenceListPostListParams struct { /*Body JSON representing a list of new object to be created. Should not have ID and version set. */ Body []*models.LeaveOfAbsence Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EmployeeEmploymentLeaveOfAbsenceListPostListParams contains all the parameters to send to the API endpoint for the employee employment leave of absence list post list operation typically these are written to a http.Request
func NewEmployeeEmploymentLeaveOfAbsenceListPostListParams ¶
func NewEmployeeEmploymentLeaveOfAbsenceListPostListParams() *EmployeeEmploymentLeaveOfAbsenceListPostListParams
NewEmployeeEmploymentLeaveOfAbsenceListPostListParams creates a new EmployeeEmploymentLeaveOfAbsenceListPostListParams object with the default values initialized.
func NewEmployeeEmploymentLeaveOfAbsenceListPostListParamsWithContext ¶
func NewEmployeeEmploymentLeaveOfAbsenceListPostListParamsWithContext(ctx context.Context) *EmployeeEmploymentLeaveOfAbsenceListPostListParams
NewEmployeeEmploymentLeaveOfAbsenceListPostListParamsWithContext creates a new EmployeeEmploymentLeaveOfAbsenceListPostListParams object with the default values initialized, and the ability to set a context for a request
func NewEmployeeEmploymentLeaveOfAbsenceListPostListParamsWithHTTPClient ¶
func NewEmployeeEmploymentLeaveOfAbsenceListPostListParamsWithHTTPClient(client *http.Client) *EmployeeEmploymentLeaveOfAbsenceListPostListParams
NewEmployeeEmploymentLeaveOfAbsenceListPostListParamsWithHTTPClient creates a new EmployeeEmploymentLeaveOfAbsenceListPostListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEmployeeEmploymentLeaveOfAbsenceListPostListParamsWithTimeout ¶
func NewEmployeeEmploymentLeaveOfAbsenceListPostListParamsWithTimeout(timeout time.Duration) *EmployeeEmploymentLeaveOfAbsenceListPostListParams
NewEmployeeEmploymentLeaveOfAbsenceListPostListParamsWithTimeout creates a new EmployeeEmploymentLeaveOfAbsenceListPostListParams object with the default values initialized, and the ability to set a timeout on a request
func (*EmployeeEmploymentLeaveOfAbsenceListPostListParams) SetBody ¶
func (o *EmployeeEmploymentLeaveOfAbsenceListPostListParams) SetBody(body []*models.LeaveOfAbsence)
SetBody adds the body to the employee employment leave of absence list post list params
func (*EmployeeEmploymentLeaveOfAbsenceListPostListParams) SetContext ¶
func (o *EmployeeEmploymentLeaveOfAbsenceListPostListParams) SetContext(ctx context.Context)
SetContext adds the context to the employee employment leave of absence list post list params
func (*EmployeeEmploymentLeaveOfAbsenceListPostListParams) SetHTTPClient ¶
func (o *EmployeeEmploymentLeaveOfAbsenceListPostListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the employee employment leave of absence list post list params
func (*EmployeeEmploymentLeaveOfAbsenceListPostListParams) SetTimeout ¶
func (o *EmployeeEmploymentLeaveOfAbsenceListPostListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the employee employment leave of absence list post list params
func (*EmployeeEmploymentLeaveOfAbsenceListPostListParams) WithBody ¶
func (o *EmployeeEmploymentLeaveOfAbsenceListPostListParams) WithBody(body []*models.LeaveOfAbsence) *EmployeeEmploymentLeaveOfAbsenceListPostListParams
WithBody adds the body to the employee employment leave of absence list post list params
func (*EmployeeEmploymentLeaveOfAbsenceListPostListParams) WithContext ¶
func (o *EmployeeEmploymentLeaveOfAbsenceListPostListParams) WithContext(ctx context.Context) *EmployeeEmploymentLeaveOfAbsenceListPostListParams
WithContext adds the context to the employee employment leave of absence list post list params
func (*EmployeeEmploymentLeaveOfAbsenceListPostListParams) WithHTTPClient ¶
func (o *EmployeeEmploymentLeaveOfAbsenceListPostListParams) WithHTTPClient(client *http.Client) *EmployeeEmploymentLeaveOfAbsenceListPostListParams
WithHTTPClient adds the HTTPClient to the employee employment leave of absence list post list params
func (*EmployeeEmploymentLeaveOfAbsenceListPostListParams) WithTimeout ¶
func (o *EmployeeEmploymentLeaveOfAbsenceListPostListParams) WithTimeout(timeout time.Duration) *EmployeeEmploymentLeaveOfAbsenceListPostListParams
WithTimeout adds the timeout to the employee employment leave of absence list post list params
func (*EmployeeEmploymentLeaveOfAbsenceListPostListParams) WriteToRequest ¶
func (o *EmployeeEmploymentLeaveOfAbsenceListPostListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EmployeeEmploymentLeaveOfAbsenceListPostListReader ¶
type EmployeeEmploymentLeaveOfAbsenceListPostListReader struct {
// contains filtered or unexported fields
}
EmployeeEmploymentLeaveOfAbsenceListPostListReader is a Reader for the EmployeeEmploymentLeaveOfAbsenceListPostList structure.
func (*EmployeeEmploymentLeaveOfAbsenceListPostListReader) ReadResponse ¶
func (o *EmployeeEmploymentLeaveOfAbsenceListPostListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EmployeeEmploymentLeaveOfAbsencePostCreated ¶
type EmployeeEmploymentLeaveOfAbsencePostCreated struct {
Payload *models.ResponseWrapperLeaveOfAbsence
}
EmployeeEmploymentLeaveOfAbsencePostCreated handles this case with default header values.
successfully created
func NewEmployeeEmploymentLeaveOfAbsencePostCreated ¶
func NewEmployeeEmploymentLeaveOfAbsencePostCreated() *EmployeeEmploymentLeaveOfAbsencePostCreated
NewEmployeeEmploymentLeaveOfAbsencePostCreated creates a EmployeeEmploymentLeaveOfAbsencePostCreated with default headers values
func (*EmployeeEmploymentLeaveOfAbsencePostCreated) Error ¶
func (o *EmployeeEmploymentLeaveOfAbsencePostCreated) Error() string
func (*EmployeeEmploymentLeaveOfAbsencePostCreated) GetPayload ¶
func (o *EmployeeEmploymentLeaveOfAbsencePostCreated) GetPayload() *models.ResponseWrapperLeaveOfAbsence
type EmployeeEmploymentLeaveOfAbsencePostParams ¶
type EmployeeEmploymentLeaveOfAbsencePostParams struct { /*Body JSON representing the new object to be created. Should not have ID and version set. */ Body *models.LeaveOfAbsence Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EmployeeEmploymentLeaveOfAbsencePostParams contains all the parameters to send to the API endpoint for the employee employment leave of absence post operation typically these are written to a http.Request
func NewEmployeeEmploymentLeaveOfAbsencePostParams ¶
func NewEmployeeEmploymentLeaveOfAbsencePostParams() *EmployeeEmploymentLeaveOfAbsencePostParams
NewEmployeeEmploymentLeaveOfAbsencePostParams creates a new EmployeeEmploymentLeaveOfAbsencePostParams object with the default values initialized.
func NewEmployeeEmploymentLeaveOfAbsencePostParamsWithContext ¶
func NewEmployeeEmploymentLeaveOfAbsencePostParamsWithContext(ctx context.Context) *EmployeeEmploymentLeaveOfAbsencePostParams
NewEmployeeEmploymentLeaveOfAbsencePostParamsWithContext creates a new EmployeeEmploymentLeaveOfAbsencePostParams object with the default values initialized, and the ability to set a context for a request
func NewEmployeeEmploymentLeaveOfAbsencePostParamsWithHTTPClient ¶
func NewEmployeeEmploymentLeaveOfAbsencePostParamsWithHTTPClient(client *http.Client) *EmployeeEmploymentLeaveOfAbsencePostParams
NewEmployeeEmploymentLeaveOfAbsencePostParamsWithHTTPClient creates a new EmployeeEmploymentLeaveOfAbsencePostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEmployeeEmploymentLeaveOfAbsencePostParamsWithTimeout ¶
func NewEmployeeEmploymentLeaveOfAbsencePostParamsWithTimeout(timeout time.Duration) *EmployeeEmploymentLeaveOfAbsencePostParams
NewEmployeeEmploymentLeaveOfAbsencePostParamsWithTimeout creates a new EmployeeEmploymentLeaveOfAbsencePostParams object with the default values initialized, and the ability to set a timeout on a request
func (*EmployeeEmploymentLeaveOfAbsencePostParams) SetBody ¶
func (o *EmployeeEmploymentLeaveOfAbsencePostParams) SetBody(body *models.LeaveOfAbsence)
SetBody adds the body to the employee employment leave of absence post params
func (*EmployeeEmploymentLeaveOfAbsencePostParams) SetContext ¶
func (o *EmployeeEmploymentLeaveOfAbsencePostParams) SetContext(ctx context.Context)
SetContext adds the context to the employee employment leave of absence post params
func (*EmployeeEmploymentLeaveOfAbsencePostParams) SetHTTPClient ¶
func (o *EmployeeEmploymentLeaveOfAbsencePostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the employee employment leave of absence post params
func (*EmployeeEmploymentLeaveOfAbsencePostParams) SetTimeout ¶
func (o *EmployeeEmploymentLeaveOfAbsencePostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the employee employment leave of absence post params
func (*EmployeeEmploymentLeaveOfAbsencePostParams) WithBody ¶
func (o *EmployeeEmploymentLeaveOfAbsencePostParams) WithBody(body *models.LeaveOfAbsence) *EmployeeEmploymentLeaveOfAbsencePostParams
WithBody adds the body to the employee employment leave of absence post params
func (*EmployeeEmploymentLeaveOfAbsencePostParams) WithContext ¶
func (o *EmployeeEmploymentLeaveOfAbsencePostParams) WithContext(ctx context.Context) *EmployeeEmploymentLeaveOfAbsencePostParams
WithContext adds the context to the employee employment leave of absence post params
func (*EmployeeEmploymentLeaveOfAbsencePostParams) WithHTTPClient ¶
func (o *EmployeeEmploymentLeaveOfAbsencePostParams) WithHTTPClient(client *http.Client) *EmployeeEmploymentLeaveOfAbsencePostParams
WithHTTPClient adds the HTTPClient to the employee employment leave of absence post params
func (*EmployeeEmploymentLeaveOfAbsencePostParams) WithTimeout ¶
func (o *EmployeeEmploymentLeaveOfAbsencePostParams) WithTimeout(timeout time.Duration) *EmployeeEmploymentLeaveOfAbsencePostParams
WithTimeout adds the timeout to the employee employment leave of absence post params
func (*EmployeeEmploymentLeaveOfAbsencePostParams) WriteToRequest ¶
func (o *EmployeeEmploymentLeaveOfAbsencePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EmployeeEmploymentLeaveOfAbsencePostReader ¶
type EmployeeEmploymentLeaveOfAbsencePostReader struct {
// contains filtered or unexported fields
}
EmployeeEmploymentLeaveOfAbsencePostReader is a Reader for the EmployeeEmploymentLeaveOfAbsencePost structure.
func (*EmployeeEmploymentLeaveOfAbsencePostReader) ReadResponse ¶
func (o *EmployeeEmploymentLeaveOfAbsencePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EmployeeEmploymentLeaveOfAbsencePutOK ¶
type EmployeeEmploymentLeaveOfAbsencePutOK struct {
Payload *models.ResponseWrapperLeaveOfAbsence
}
EmployeeEmploymentLeaveOfAbsencePutOK handles this case with default header values.
successful operation
func NewEmployeeEmploymentLeaveOfAbsencePutOK ¶
func NewEmployeeEmploymentLeaveOfAbsencePutOK() *EmployeeEmploymentLeaveOfAbsencePutOK
NewEmployeeEmploymentLeaveOfAbsencePutOK creates a EmployeeEmploymentLeaveOfAbsencePutOK with default headers values
func (*EmployeeEmploymentLeaveOfAbsencePutOK) Error ¶
func (o *EmployeeEmploymentLeaveOfAbsencePutOK) Error() string
func (*EmployeeEmploymentLeaveOfAbsencePutOK) GetPayload ¶
func (o *EmployeeEmploymentLeaveOfAbsencePutOK) GetPayload() *models.ResponseWrapperLeaveOfAbsence
type EmployeeEmploymentLeaveOfAbsencePutParams ¶
type EmployeeEmploymentLeaveOfAbsencePutParams struct { /*Body Partial object describing what should be updated */ Body *models.LeaveOfAbsence /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EmployeeEmploymentLeaveOfAbsencePutParams contains all the parameters to send to the API endpoint for the employee employment leave of absence put operation typically these are written to a http.Request
func NewEmployeeEmploymentLeaveOfAbsencePutParams ¶
func NewEmployeeEmploymentLeaveOfAbsencePutParams() *EmployeeEmploymentLeaveOfAbsencePutParams
NewEmployeeEmploymentLeaveOfAbsencePutParams creates a new EmployeeEmploymentLeaveOfAbsencePutParams object with the default values initialized.
func NewEmployeeEmploymentLeaveOfAbsencePutParamsWithContext ¶
func NewEmployeeEmploymentLeaveOfAbsencePutParamsWithContext(ctx context.Context) *EmployeeEmploymentLeaveOfAbsencePutParams
NewEmployeeEmploymentLeaveOfAbsencePutParamsWithContext creates a new EmployeeEmploymentLeaveOfAbsencePutParams object with the default values initialized, and the ability to set a context for a request
func NewEmployeeEmploymentLeaveOfAbsencePutParamsWithHTTPClient ¶
func NewEmployeeEmploymentLeaveOfAbsencePutParamsWithHTTPClient(client *http.Client) *EmployeeEmploymentLeaveOfAbsencePutParams
NewEmployeeEmploymentLeaveOfAbsencePutParamsWithHTTPClient creates a new EmployeeEmploymentLeaveOfAbsencePutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEmployeeEmploymentLeaveOfAbsencePutParamsWithTimeout ¶
func NewEmployeeEmploymentLeaveOfAbsencePutParamsWithTimeout(timeout time.Duration) *EmployeeEmploymentLeaveOfAbsencePutParams
NewEmployeeEmploymentLeaveOfAbsencePutParamsWithTimeout creates a new EmployeeEmploymentLeaveOfAbsencePutParams object with the default values initialized, and the ability to set a timeout on a request
func (*EmployeeEmploymentLeaveOfAbsencePutParams) SetBody ¶
func (o *EmployeeEmploymentLeaveOfAbsencePutParams) SetBody(body *models.LeaveOfAbsence)
SetBody adds the body to the employee employment leave of absence put params
func (*EmployeeEmploymentLeaveOfAbsencePutParams) SetContext ¶
func (o *EmployeeEmploymentLeaveOfAbsencePutParams) SetContext(ctx context.Context)
SetContext adds the context to the employee employment leave of absence put params
func (*EmployeeEmploymentLeaveOfAbsencePutParams) SetHTTPClient ¶
func (o *EmployeeEmploymentLeaveOfAbsencePutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the employee employment leave of absence put params
func (*EmployeeEmploymentLeaveOfAbsencePutParams) SetID ¶
func (o *EmployeeEmploymentLeaveOfAbsencePutParams) SetID(id int32)
SetID adds the id to the employee employment leave of absence put params
func (*EmployeeEmploymentLeaveOfAbsencePutParams) SetTimeout ¶
func (o *EmployeeEmploymentLeaveOfAbsencePutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the employee employment leave of absence put params
func (*EmployeeEmploymentLeaveOfAbsencePutParams) WithBody ¶
func (o *EmployeeEmploymentLeaveOfAbsencePutParams) WithBody(body *models.LeaveOfAbsence) *EmployeeEmploymentLeaveOfAbsencePutParams
WithBody adds the body to the employee employment leave of absence put params
func (*EmployeeEmploymentLeaveOfAbsencePutParams) WithContext ¶
func (o *EmployeeEmploymentLeaveOfAbsencePutParams) WithContext(ctx context.Context) *EmployeeEmploymentLeaveOfAbsencePutParams
WithContext adds the context to the employee employment leave of absence put params
func (*EmployeeEmploymentLeaveOfAbsencePutParams) WithHTTPClient ¶
func (o *EmployeeEmploymentLeaveOfAbsencePutParams) WithHTTPClient(client *http.Client) *EmployeeEmploymentLeaveOfAbsencePutParams
WithHTTPClient adds the HTTPClient to the employee employment leave of absence put params
func (*EmployeeEmploymentLeaveOfAbsencePutParams) WithID ¶
func (o *EmployeeEmploymentLeaveOfAbsencePutParams) WithID(id int32) *EmployeeEmploymentLeaveOfAbsencePutParams
WithID adds the id to the employee employment leave of absence put params
func (*EmployeeEmploymentLeaveOfAbsencePutParams) WithTimeout ¶
func (o *EmployeeEmploymentLeaveOfAbsencePutParams) WithTimeout(timeout time.Duration) *EmployeeEmploymentLeaveOfAbsencePutParams
WithTimeout adds the timeout to the employee employment leave of absence put params
func (*EmployeeEmploymentLeaveOfAbsencePutParams) WriteToRequest ¶
func (o *EmployeeEmploymentLeaveOfAbsencePutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EmployeeEmploymentLeaveOfAbsencePutReader ¶
type EmployeeEmploymentLeaveOfAbsencePutReader struct {
// contains filtered or unexported fields
}
EmployeeEmploymentLeaveOfAbsencePutReader is a Reader for the EmployeeEmploymentLeaveOfAbsencePut structure.
func (*EmployeeEmploymentLeaveOfAbsencePutReader) ReadResponse ¶
func (o *EmployeeEmploymentLeaveOfAbsencePutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- employee_employment_leave_of_absence_get_parameters.go
- employee_employment_leave_of_absence_get_responses.go
- employee_employment_leave_of_absence_list_post_list_parameters.go
- employee_employment_leave_of_absence_list_post_list_responses.go
- employee_employment_leave_of_absence_post_parameters.go
- employee_employment_leave_of_absence_post_responses.go
- employee_employment_leave_of_absence_put_parameters.go
- employee_employment_leave_of_absence_put_responses.go
- leave_of_absence_client.go