employment

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 employment API

func (*Client) EmployeeEmploymentGet

func (a *Client) EmployeeEmploymentGet(params *EmployeeEmploymentGetParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEmploymentGetOK, error)

EmployeeEmploymentGet finds employment by ID

func (*Client) EmployeeEmploymentPost

EmployeeEmploymentPost bs e t a create employment

func (*Client) EmployeeEmploymentPut

func (a *Client) EmployeeEmploymentPut(params *EmployeeEmploymentPutParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEmploymentPutOK, error)

EmployeeEmploymentPut bs e t a update employemnt

func (*Client) EmployeeEmploymentSearch

func (a *Client) EmployeeEmploymentSearch(params *EmployeeEmploymentSearchParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEmploymentSearchOK, error)

EmployeeEmploymentSearch finds all employments for employee

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	EmployeeEmploymentGet(params *EmployeeEmploymentGetParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEmploymentGetOK, error)

	EmployeeEmploymentPost(params *EmployeeEmploymentPostParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEmploymentPostCreated, error)

	EmployeeEmploymentPut(params *EmployeeEmploymentPutParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEmploymentPutOK, error)

	EmployeeEmploymentSearch(params *EmployeeEmploymentSearchParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEmploymentSearchOK, 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 employment API client.

type EmployeeEmploymentGetOK

type EmployeeEmploymentGetOK struct {
	Payload *models.ResponseWrapperEmployment
}

EmployeeEmploymentGetOK handles this case with default header values.

successful operation

func NewEmployeeEmploymentGetOK

func NewEmployeeEmploymentGetOK() *EmployeeEmploymentGetOK

NewEmployeeEmploymentGetOK creates a EmployeeEmploymentGetOK with default headers values

func (*EmployeeEmploymentGetOK) Error

func (o *EmployeeEmploymentGetOK) Error() string

func (*EmployeeEmploymentGetOK) GetPayload

type EmployeeEmploymentGetParams

type EmployeeEmploymentGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

EmployeeEmploymentGetParams contains all the parameters to send to the API endpoint for the employee employment get operation typically these are written to a http.Request

func NewEmployeeEmploymentGetParams

func NewEmployeeEmploymentGetParams() *EmployeeEmploymentGetParams

NewEmployeeEmploymentGetParams creates a new EmployeeEmploymentGetParams object with the default values initialized.

func NewEmployeeEmploymentGetParamsWithContext

func NewEmployeeEmploymentGetParamsWithContext(ctx context.Context) *EmployeeEmploymentGetParams

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

func NewEmployeeEmploymentGetParamsWithHTTPClient

func NewEmployeeEmploymentGetParamsWithHTTPClient(client *http.Client) *EmployeeEmploymentGetParams

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

func NewEmployeeEmploymentGetParamsWithTimeout

func NewEmployeeEmploymentGetParamsWithTimeout(timeout time.Duration) *EmployeeEmploymentGetParams

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

func (*EmployeeEmploymentGetParams) SetContext

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

SetContext adds the context to the employee employment get params

func (*EmployeeEmploymentGetParams) SetFields

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

SetFields adds the fields to the employee employment get params

func (*EmployeeEmploymentGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the employee employment get params

func (*EmployeeEmploymentGetParams) SetID

func (o *EmployeeEmploymentGetParams) SetID(id int32)

SetID adds the id to the employee employment get params

func (*EmployeeEmploymentGetParams) SetTimeout

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

SetTimeout adds the timeout to the employee employment get params

func (*EmployeeEmploymentGetParams) WithContext

WithContext adds the context to the employee employment get params

func (*EmployeeEmploymentGetParams) WithFields

WithFields adds the fields to the employee employment get params

func (*EmployeeEmploymentGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the employee employment get params

func (*EmployeeEmploymentGetParams) WithID

WithID adds the id to the employee employment get params

func (*EmployeeEmploymentGetParams) WithTimeout

WithTimeout adds the timeout to the employee employment get params

func (*EmployeeEmploymentGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EmployeeEmploymentGetReader

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

EmployeeEmploymentGetReader is a Reader for the EmployeeEmploymentGet structure.

func (*EmployeeEmploymentGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EmployeeEmploymentPostCreated

type EmployeeEmploymentPostCreated struct {
	Payload *models.ResponseWrapperEmployment
}

EmployeeEmploymentPostCreated handles this case with default header values.

successfully created

func NewEmployeeEmploymentPostCreated

func NewEmployeeEmploymentPostCreated() *EmployeeEmploymentPostCreated

NewEmployeeEmploymentPostCreated creates a EmployeeEmploymentPostCreated with default headers values

func (*EmployeeEmploymentPostCreated) Error

func (*EmployeeEmploymentPostCreated) GetPayload

type EmployeeEmploymentPostParams

type EmployeeEmploymentPostParams struct {

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

	*/
	Body *models.Employment

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

EmployeeEmploymentPostParams contains all the parameters to send to the API endpoint for the employee employment post operation typically these are written to a http.Request

func NewEmployeeEmploymentPostParams

func NewEmployeeEmploymentPostParams() *EmployeeEmploymentPostParams

NewEmployeeEmploymentPostParams creates a new EmployeeEmploymentPostParams object with the default values initialized.

func NewEmployeeEmploymentPostParamsWithContext

func NewEmployeeEmploymentPostParamsWithContext(ctx context.Context) *EmployeeEmploymentPostParams

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

func NewEmployeeEmploymentPostParamsWithHTTPClient

func NewEmployeeEmploymentPostParamsWithHTTPClient(client *http.Client) *EmployeeEmploymentPostParams

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

func NewEmployeeEmploymentPostParamsWithTimeout

func NewEmployeeEmploymentPostParamsWithTimeout(timeout time.Duration) *EmployeeEmploymentPostParams

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

func (*EmployeeEmploymentPostParams) SetBody

SetBody adds the body to the employee employment post params

func (*EmployeeEmploymentPostParams) SetContext

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

SetContext adds the context to the employee employment post params

func (*EmployeeEmploymentPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the employee employment post params

func (*EmployeeEmploymentPostParams) SetTimeout

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

SetTimeout adds the timeout to the employee employment post params

func (*EmployeeEmploymentPostParams) WithBody

WithBody adds the body to the employee employment post params

func (*EmployeeEmploymentPostParams) WithContext

WithContext adds the context to the employee employment post params

func (*EmployeeEmploymentPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the employee employment post params

func (*EmployeeEmploymentPostParams) WithTimeout

WithTimeout adds the timeout to the employee employment post params

func (*EmployeeEmploymentPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EmployeeEmploymentPostReader

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

EmployeeEmploymentPostReader is a Reader for the EmployeeEmploymentPost structure.

func (*EmployeeEmploymentPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EmployeeEmploymentPutOK

type EmployeeEmploymentPutOK struct {
	Payload *models.ResponseWrapperEmployment
}

EmployeeEmploymentPutOK handles this case with default header values.

successful operation

func NewEmployeeEmploymentPutOK

func NewEmployeeEmploymentPutOK() *EmployeeEmploymentPutOK

NewEmployeeEmploymentPutOK creates a EmployeeEmploymentPutOK with default headers values

func (*EmployeeEmploymentPutOK) Error

func (o *EmployeeEmploymentPutOK) Error() string

func (*EmployeeEmploymentPutOK) GetPayload

type EmployeeEmploymentPutParams

type EmployeeEmploymentPutParams struct {

	/*Body
	  Partial object describing what should be updated

	*/
	Body *models.Employment
	/*ID
	  Element ID

	*/
	ID int32

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

EmployeeEmploymentPutParams contains all the parameters to send to the API endpoint for the employee employment put operation typically these are written to a http.Request

func NewEmployeeEmploymentPutParams

func NewEmployeeEmploymentPutParams() *EmployeeEmploymentPutParams

NewEmployeeEmploymentPutParams creates a new EmployeeEmploymentPutParams object with the default values initialized.

func NewEmployeeEmploymentPutParamsWithContext

func NewEmployeeEmploymentPutParamsWithContext(ctx context.Context) *EmployeeEmploymentPutParams

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

func NewEmployeeEmploymentPutParamsWithHTTPClient

func NewEmployeeEmploymentPutParamsWithHTTPClient(client *http.Client) *EmployeeEmploymentPutParams

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

func NewEmployeeEmploymentPutParamsWithTimeout

func NewEmployeeEmploymentPutParamsWithTimeout(timeout time.Duration) *EmployeeEmploymentPutParams

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

func (*EmployeeEmploymentPutParams) SetBody

func (o *EmployeeEmploymentPutParams) SetBody(body *models.Employment)

SetBody adds the body to the employee employment put params

func (*EmployeeEmploymentPutParams) SetContext

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

SetContext adds the context to the employee employment put params

func (*EmployeeEmploymentPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the employee employment put params

func (*EmployeeEmploymentPutParams) SetID

func (o *EmployeeEmploymentPutParams) SetID(id int32)

SetID adds the id to the employee employment put params

func (*EmployeeEmploymentPutParams) SetTimeout

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

SetTimeout adds the timeout to the employee employment put params

func (*EmployeeEmploymentPutParams) WithBody

WithBody adds the body to the employee employment put params

func (*EmployeeEmploymentPutParams) WithContext

WithContext adds the context to the employee employment put params

func (*EmployeeEmploymentPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the employee employment put params

func (*EmployeeEmploymentPutParams) WithID

WithID adds the id to the employee employment put params

func (*EmployeeEmploymentPutParams) WithTimeout

WithTimeout adds the timeout to the employee employment put params

func (*EmployeeEmploymentPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EmployeeEmploymentPutReader

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

EmployeeEmploymentPutReader is a Reader for the EmployeeEmploymentPut structure.

func (*EmployeeEmploymentPutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EmployeeEmploymentSearchOK

type EmployeeEmploymentSearchOK struct {
	Payload *models.ListResponseEmployment
}

EmployeeEmploymentSearchOK handles this case with default header values.

successful operation

func NewEmployeeEmploymentSearchOK

func NewEmployeeEmploymentSearchOK() *EmployeeEmploymentSearchOK

NewEmployeeEmploymentSearchOK creates a EmployeeEmploymentSearchOK with default headers values

func (*EmployeeEmploymentSearchOK) Error

func (*EmployeeEmploymentSearchOK) GetPayload

type EmployeeEmploymentSearchParams

type EmployeeEmploymentSearchParams struct {

	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*EmployeeID
	  Element ID

	*/
	EmployeeID *int32
	/*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
}

EmployeeEmploymentSearchParams contains all the parameters to send to the API endpoint for the employee employment search operation typically these are written to a http.Request

func NewEmployeeEmploymentSearchParams

func NewEmployeeEmploymentSearchParams() *EmployeeEmploymentSearchParams

NewEmployeeEmploymentSearchParams creates a new EmployeeEmploymentSearchParams object with the default values initialized.

func NewEmployeeEmploymentSearchParamsWithContext

func NewEmployeeEmploymentSearchParamsWithContext(ctx context.Context) *EmployeeEmploymentSearchParams

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

func NewEmployeeEmploymentSearchParamsWithHTTPClient

func NewEmployeeEmploymentSearchParamsWithHTTPClient(client *http.Client) *EmployeeEmploymentSearchParams

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

func NewEmployeeEmploymentSearchParamsWithTimeout

func NewEmployeeEmploymentSearchParamsWithTimeout(timeout time.Duration) *EmployeeEmploymentSearchParams

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

func (*EmployeeEmploymentSearchParams) SetContext

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

SetContext adds the context to the employee employment search params

func (*EmployeeEmploymentSearchParams) SetCount

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

SetCount adds the count to the employee employment search params

func (*EmployeeEmploymentSearchParams) SetEmployeeID

func (o *EmployeeEmploymentSearchParams) SetEmployeeID(employeeID *int32)

SetEmployeeID adds the employeeId to the employee employment search params

func (*EmployeeEmploymentSearchParams) SetFields

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

SetFields adds the fields to the employee employment search params

func (*EmployeeEmploymentSearchParams) SetFrom

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

SetFrom adds the from to the employee employment search params

func (*EmployeeEmploymentSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the employee employment search params

func (*EmployeeEmploymentSearchParams) SetSorting

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

SetSorting adds the sorting to the employee employment search params

func (*EmployeeEmploymentSearchParams) SetTimeout

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

SetTimeout adds the timeout to the employee employment search params

func (*EmployeeEmploymentSearchParams) WithContext

WithContext adds the context to the employee employment search params

func (*EmployeeEmploymentSearchParams) WithCount

WithCount adds the count to the employee employment search params

func (*EmployeeEmploymentSearchParams) WithEmployeeID

WithEmployeeID adds the employeeID to the employee employment search params

func (*EmployeeEmploymentSearchParams) WithFields

WithFields adds the fields to the employee employment search params

func (*EmployeeEmploymentSearchParams) WithFrom

WithFrom adds the from to the employee employment search params

func (*EmployeeEmploymentSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the employee employment search params

func (*EmployeeEmploymentSearchParams) WithSorting

WithSorting adds the sorting to the employee employment search params

func (*EmployeeEmploymentSearchParams) WithTimeout

WithTimeout adds the timeout to the employee employment search params

func (*EmployeeEmploymentSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EmployeeEmploymentSearchReader

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

EmployeeEmploymentSearchReader is a Reader for the EmployeeEmploymentSearch structure.

func (*EmployeeEmploymentSearchReader) ReadResponse

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