leave_of_absence

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 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 leave of absence API

func (*Client) EmployeeEmploymentLeaveOfAbsenceGet

EmployeeEmploymentLeaveOfAbsenceGet bs e t a find leave of absence by ID

func (*Client) EmployeeEmploymentLeaveOfAbsenceListPostList

EmployeeEmploymentLeaveOfAbsenceListPostList bs e t a create multiple leave of absences

func (*Client) EmployeeEmploymentLeaveOfAbsencePost

EmployeeEmploymentLeaveOfAbsencePost bs e t a create leave of absence

func (*Client) EmployeeEmploymentLeaveOfAbsencePut

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

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 (*EmployeeEmploymentLeaveOfAbsenceGetOK) GetPayload

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

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

SetID adds the id to the employee employment leave of absence get params

func (*EmployeeEmploymentLeaveOfAbsenceGetParams) SetTimeout

SetTimeout adds the timeout to the employee employment leave of absence get params

func (*EmployeeEmploymentLeaveOfAbsenceGetParams) WithContext

WithContext adds the context to the employee employment leave of absence get params

func (*EmployeeEmploymentLeaveOfAbsenceGetParams) WithFields

WithFields adds the fields to the employee employment leave of absence get params

func (*EmployeeEmploymentLeaveOfAbsenceGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the employee employment leave of absence get params

func (*EmployeeEmploymentLeaveOfAbsenceGetParams) WithID

WithID adds the id to the employee employment leave of absence get params

func (*EmployeeEmploymentLeaveOfAbsenceGetParams) WithTimeout

WithTimeout adds the timeout to the employee employment leave of absence get params

func (*EmployeeEmploymentLeaveOfAbsenceGetParams) WriteToRequest

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 (*EmployeeEmploymentLeaveOfAbsenceListPostListCreated) GetPayload

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

SetBody adds the body to the employee employment leave of absence list post list params

func (*EmployeeEmploymentLeaveOfAbsenceListPostListParams) SetContext

SetContext adds the context to the employee employment leave of absence list post list params

func (*EmployeeEmploymentLeaveOfAbsenceListPostListParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the employee employment leave of absence list post list params

func (*EmployeeEmploymentLeaveOfAbsenceListPostListParams) SetTimeout

SetTimeout adds the timeout to the employee employment leave of absence list post list params

func (*EmployeeEmploymentLeaveOfAbsenceListPostListParams) WithBody

WithBody adds the body to the employee employment leave of absence list post list params

func (*EmployeeEmploymentLeaveOfAbsenceListPostListParams) WithContext

WithContext adds the context to the employee employment leave of absence list post list params

func (*EmployeeEmploymentLeaveOfAbsenceListPostListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the employee employment leave of absence list post list params

func (*EmployeeEmploymentLeaveOfAbsenceListPostListParams) WithTimeout

WithTimeout adds the timeout to the employee employment leave of absence list post list params

func (*EmployeeEmploymentLeaveOfAbsenceListPostListParams) WriteToRequest

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 (*EmployeeEmploymentLeaveOfAbsencePostCreated) GetPayload

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

SetBody adds the body to the employee employment leave of absence post params

func (*EmployeeEmploymentLeaveOfAbsencePostParams) SetContext

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

SetTimeout adds the timeout to the employee employment leave of absence post params

func (*EmployeeEmploymentLeaveOfAbsencePostParams) WithBody

WithBody adds the body to the employee employment leave of absence post params

func (*EmployeeEmploymentLeaveOfAbsencePostParams) WithContext

WithContext adds the context to the employee employment leave of absence post params

func (*EmployeeEmploymentLeaveOfAbsencePostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the employee employment leave of absence post params

func (*EmployeeEmploymentLeaveOfAbsencePostParams) WithTimeout

WithTimeout adds the timeout to the employee employment leave of absence post params

func (*EmployeeEmploymentLeaveOfAbsencePostParams) WriteToRequest

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 (*EmployeeEmploymentLeaveOfAbsencePutOK) GetPayload

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

SetBody adds the body to the employee employment leave of absence put params

func (*EmployeeEmploymentLeaveOfAbsencePutParams) SetContext

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

SetID adds the id to the employee employment leave of absence put params

func (*EmployeeEmploymentLeaveOfAbsencePutParams) SetTimeout

SetTimeout adds the timeout to the employee employment leave of absence put params

func (*EmployeeEmploymentLeaveOfAbsencePutParams) WithBody

WithBody adds the body to the employee employment leave of absence put params

func (*EmployeeEmploymentLeaveOfAbsencePutParams) WithContext

WithContext adds the context to the employee employment leave of absence put params

func (*EmployeeEmploymentLeaveOfAbsencePutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the employee employment leave of absence put params

func (*EmployeeEmploymentLeaveOfAbsencePutParams) WithID

WithID adds the id to the employee employment leave of absence put params

func (*EmployeeEmploymentLeaveOfAbsencePutParams) WithTimeout

WithTimeout adds the timeout to the employee employment leave of absence put params

func (*EmployeeEmploymentLeaveOfAbsencePutParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL