Documentation
¶
Index ¶
- type Client
- func (a *Client) EmployeeEmploymentGet(params *EmployeeEmploymentGetParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEmploymentGetOK, error)
- func (a *Client) EmployeeEmploymentPost(params *EmployeeEmploymentPostParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEmploymentPostCreated, error)
- func (a *Client) EmployeeEmploymentPut(params *EmployeeEmploymentPutParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEmploymentPutOK, error)
- func (a *Client) EmployeeEmploymentSearch(params *EmployeeEmploymentSearchParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEmploymentSearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type EmployeeEmploymentGetOK
- type EmployeeEmploymentGetParams
- func NewEmployeeEmploymentGetParams() *EmployeeEmploymentGetParams
- func NewEmployeeEmploymentGetParamsWithContext(ctx context.Context) *EmployeeEmploymentGetParams
- func NewEmployeeEmploymentGetParamsWithHTTPClient(client *http.Client) *EmployeeEmploymentGetParams
- func NewEmployeeEmploymentGetParamsWithTimeout(timeout time.Duration) *EmployeeEmploymentGetParams
- func (o *EmployeeEmploymentGetParams) SetContext(ctx context.Context)
- func (o *EmployeeEmploymentGetParams) SetFields(fields *string)
- func (o *EmployeeEmploymentGetParams) SetHTTPClient(client *http.Client)
- func (o *EmployeeEmploymentGetParams) SetID(id int32)
- func (o *EmployeeEmploymentGetParams) SetTimeout(timeout time.Duration)
- func (o *EmployeeEmploymentGetParams) WithContext(ctx context.Context) *EmployeeEmploymentGetParams
- func (o *EmployeeEmploymentGetParams) WithFields(fields *string) *EmployeeEmploymentGetParams
- func (o *EmployeeEmploymentGetParams) WithHTTPClient(client *http.Client) *EmployeeEmploymentGetParams
- func (o *EmployeeEmploymentGetParams) WithID(id int32) *EmployeeEmploymentGetParams
- func (o *EmployeeEmploymentGetParams) WithTimeout(timeout time.Duration) *EmployeeEmploymentGetParams
- func (o *EmployeeEmploymentGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EmployeeEmploymentGetReader
- type EmployeeEmploymentPostCreated
- type EmployeeEmploymentPostParams
- func NewEmployeeEmploymentPostParams() *EmployeeEmploymentPostParams
- func NewEmployeeEmploymentPostParamsWithContext(ctx context.Context) *EmployeeEmploymentPostParams
- func NewEmployeeEmploymentPostParamsWithHTTPClient(client *http.Client) *EmployeeEmploymentPostParams
- func NewEmployeeEmploymentPostParamsWithTimeout(timeout time.Duration) *EmployeeEmploymentPostParams
- func (o *EmployeeEmploymentPostParams) SetBody(body *models.Employment)
- func (o *EmployeeEmploymentPostParams) SetContext(ctx context.Context)
- func (o *EmployeeEmploymentPostParams) SetHTTPClient(client *http.Client)
- func (o *EmployeeEmploymentPostParams) SetTimeout(timeout time.Duration)
- func (o *EmployeeEmploymentPostParams) WithBody(body *models.Employment) *EmployeeEmploymentPostParams
- func (o *EmployeeEmploymentPostParams) WithContext(ctx context.Context) *EmployeeEmploymentPostParams
- func (o *EmployeeEmploymentPostParams) WithHTTPClient(client *http.Client) *EmployeeEmploymentPostParams
- func (o *EmployeeEmploymentPostParams) WithTimeout(timeout time.Duration) *EmployeeEmploymentPostParams
- func (o *EmployeeEmploymentPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EmployeeEmploymentPostReader
- type EmployeeEmploymentPutOK
- type EmployeeEmploymentPutParams
- func NewEmployeeEmploymentPutParams() *EmployeeEmploymentPutParams
- func NewEmployeeEmploymentPutParamsWithContext(ctx context.Context) *EmployeeEmploymentPutParams
- func NewEmployeeEmploymentPutParamsWithHTTPClient(client *http.Client) *EmployeeEmploymentPutParams
- func NewEmployeeEmploymentPutParamsWithTimeout(timeout time.Duration) *EmployeeEmploymentPutParams
- func (o *EmployeeEmploymentPutParams) SetBody(body *models.Employment)
- func (o *EmployeeEmploymentPutParams) SetContext(ctx context.Context)
- func (o *EmployeeEmploymentPutParams) SetHTTPClient(client *http.Client)
- func (o *EmployeeEmploymentPutParams) SetID(id int32)
- func (o *EmployeeEmploymentPutParams) SetTimeout(timeout time.Duration)
- func (o *EmployeeEmploymentPutParams) WithBody(body *models.Employment) *EmployeeEmploymentPutParams
- func (o *EmployeeEmploymentPutParams) WithContext(ctx context.Context) *EmployeeEmploymentPutParams
- func (o *EmployeeEmploymentPutParams) WithHTTPClient(client *http.Client) *EmployeeEmploymentPutParams
- func (o *EmployeeEmploymentPutParams) WithID(id int32) *EmployeeEmploymentPutParams
- func (o *EmployeeEmploymentPutParams) WithTimeout(timeout time.Duration) *EmployeeEmploymentPutParams
- func (o *EmployeeEmploymentPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EmployeeEmploymentPutReader
- type EmployeeEmploymentSearchOK
- type EmployeeEmploymentSearchParams
- func NewEmployeeEmploymentSearchParams() *EmployeeEmploymentSearchParams
- func NewEmployeeEmploymentSearchParamsWithContext(ctx context.Context) *EmployeeEmploymentSearchParams
- func NewEmployeeEmploymentSearchParamsWithHTTPClient(client *http.Client) *EmployeeEmploymentSearchParams
- func NewEmployeeEmploymentSearchParamsWithTimeout(timeout time.Duration) *EmployeeEmploymentSearchParams
- func (o *EmployeeEmploymentSearchParams) SetContext(ctx context.Context)
- func (o *EmployeeEmploymentSearchParams) SetCount(count *int64)
- func (o *EmployeeEmploymentSearchParams) SetEmployeeID(employeeID *int32)
- func (o *EmployeeEmploymentSearchParams) SetFields(fields *string)
- func (o *EmployeeEmploymentSearchParams) SetFrom(from *int64)
- func (o *EmployeeEmploymentSearchParams) SetHTTPClient(client *http.Client)
- func (o *EmployeeEmploymentSearchParams) SetSorting(sorting *string)
- func (o *EmployeeEmploymentSearchParams) SetTimeout(timeout time.Duration)
- func (o *EmployeeEmploymentSearchParams) WithContext(ctx context.Context) *EmployeeEmploymentSearchParams
- func (o *EmployeeEmploymentSearchParams) WithCount(count *int64) *EmployeeEmploymentSearchParams
- func (o *EmployeeEmploymentSearchParams) WithEmployeeID(employeeID *int32) *EmployeeEmploymentSearchParams
- func (o *EmployeeEmploymentSearchParams) WithFields(fields *string) *EmployeeEmploymentSearchParams
- func (o *EmployeeEmploymentSearchParams) WithFrom(from *int64) *EmployeeEmploymentSearchParams
- func (o *EmployeeEmploymentSearchParams) WithHTTPClient(client *http.Client) *EmployeeEmploymentSearchParams
- func (o *EmployeeEmploymentSearchParams) WithSorting(sorting *string) *EmployeeEmploymentSearchParams
- func (o *EmployeeEmploymentSearchParams) WithTimeout(timeout time.Duration) *EmployeeEmploymentSearchParams
- func (o *EmployeeEmploymentSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EmployeeEmploymentSearchReader
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 ¶
func (a *Client) EmployeeEmploymentPost(params *EmployeeEmploymentPostParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEmploymentPostCreated, error)
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 ¶
func (o *EmployeeEmploymentGetOK) GetPayload() *models.ResponseWrapperEmployment
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 ¶
func (o *EmployeeEmploymentGetParams) WithContext(ctx context.Context) *EmployeeEmploymentGetParams
WithContext adds the context to the employee employment get params
func (*EmployeeEmploymentGetParams) WithFields ¶
func (o *EmployeeEmploymentGetParams) WithFields(fields *string) *EmployeeEmploymentGetParams
WithFields adds the fields to the employee employment get params
func (*EmployeeEmploymentGetParams) WithHTTPClient ¶
func (o *EmployeeEmploymentGetParams) WithHTTPClient(client *http.Client) *EmployeeEmploymentGetParams
WithHTTPClient adds the HTTPClient to the employee employment get params
func (*EmployeeEmploymentGetParams) WithID ¶
func (o *EmployeeEmploymentGetParams) WithID(id int32) *EmployeeEmploymentGetParams
WithID adds the id to the employee employment get params
func (*EmployeeEmploymentGetParams) WithTimeout ¶
func (o *EmployeeEmploymentGetParams) WithTimeout(timeout time.Duration) *EmployeeEmploymentGetParams
WithTimeout adds the timeout to the employee employment get params
func (*EmployeeEmploymentGetParams) WriteToRequest ¶
func (o *EmployeeEmploymentGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *EmployeeEmploymentPostCreated) Error() string
func (*EmployeeEmploymentPostCreated) GetPayload ¶
func (o *EmployeeEmploymentPostCreated) GetPayload() *models.ResponseWrapperEmployment
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 ¶
func (o *EmployeeEmploymentPostParams) SetBody(body *models.Employment)
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 ¶
func (o *EmployeeEmploymentPostParams) WithBody(body *models.Employment) *EmployeeEmploymentPostParams
WithBody adds the body to the employee employment post params
func (*EmployeeEmploymentPostParams) WithContext ¶
func (o *EmployeeEmploymentPostParams) WithContext(ctx context.Context) *EmployeeEmploymentPostParams
WithContext adds the context to the employee employment post params
func (*EmployeeEmploymentPostParams) WithHTTPClient ¶
func (o *EmployeeEmploymentPostParams) WithHTTPClient(client *http.Client) *EmployeeEmploymentPostParams
WithHTTPClient adds the HTTPClient to the employee employment post params
func (*EmployeeEmploymentPostParams) WithTimeout ¶
func (o *EmployeeEmploymentPostParams) WithTimeout(timeout time.Duration) *EmployeeEmploymentPostParams
WithTimeout adds the timeout to the employee employment post params
func (*EmployeeEmploymentPostParams) WriteToRequest ¶
func (o *EmployeeEmploymentPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *EmployeeEmploymentPutOK) GetPayload() *models.ResponseWrapperEmployment
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 ¶
func (o *EmployeeEmploymentPutParams) WithBody(body *models.Employment) *EmployeeEmploymentPutParams
WithBody adds the body to the employee employment put params
func (*EmployeeEmploymentPutParams) WithContext ¶
func (o *EmployeeEmploymentPutParams) WithContext(ctx context.Context) *EmployeeEmploymentPutParams
WithContext adds the context to the employee employment put params
func (*EmployeeEmploymentPutParams) WithHTTPClient ¶
func (o *EmployeeEmploymentPutParams) WithHTTPClient(client *http.Client) *EmployeeEmploymentPutParams
WithHTTPClient adds the HTTPClient to the employee employment put params
func (*EmployeeEmploymentPutParams) WithID ¶
func (o *EmployeeEmploymentPutParams) WithID(id int32) *EmployeeEmploymentPutParams
WithID adds the id to the employee employment put params
func (*EmployeeEmploymentPutParams) WithTimeout ¶
func (o *EmployeeEmploymentPutParams) WithTimeout(timeout time.Duration) *EmployeeEmploymentPutParams
WithTimeout adds the timeout to the employee employment put params
func (*EmployeeEmploymentPutParams) WriteToRequest ¶
func (o *EmployeeEmploymentPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *EmployeeEmploymentSearchOK) Error() string
func (*EmployeeEmploymentSearchOK) GetPayload ¶
func (o *EmployeeEmploymentSearchOK) GetPayload() *models.ListResponseEmployment
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 ¶
func (o *EmployeeEmploymentSearchParams) WithContext(ctx context.Context) *EmployeeEmploymentSearchParams
WithContext adds the context to the employee employment search params
func (*EmployeeEmploymentSearchParams) WithCount ¶
func (o *EmployeeEmploymentSearchParams) WithCount(count *int64) *EmployeeEmploymentSearchParams
WithCount adds the count to the employee employment search params
func (*EmployeeEmploymentSearchParams) WithEmployeeID ¶
func (o *EmployeeEmploymentSearchParams) WithEmployeeID(employeeID *int32) *EmployeeEmploymentSearchParams
WithEmployeeID adds the employeeID to the employee employment search params
func (*EmployeeEmploymentSearchParams) WithFields ¶
func (o *EmployeeEmploymentSearchParams) WithFields(fields *string) *EmployeeEmploymentSearchParams
WithFields adds the fields to the employee employment search params
func (*EmployeeEmploymentSearchParams) WithFrom ¶
func (o *EmployeeEmploymentSearchParams) WithFrom(from *int64) *EmployeeEmploymentSearchParams
WithFrom adds the from to the employee employment search params
func (*EmployeeEmploymentSearchParams) WithHTTPClient ¶
func (o *EmployeeEmploymentSearchParams) WithHTTPClient(client *http.Client) *EmployeeEmploymentSearchParams
WithHTTPClient adds the HTTPClient to the employee employment search params
func (*EmployeeEmploymentSearchParams) WithSorting ¶
func (o *EmployeeEmploymentSearchParams) WithSorting(sorting *string) *EmployeeEmploymentSearchParams
WithSorting adds the sorting to the employee employment search params
func (*EmployeeEmploymentSearchParams) WithTimeout ¶
func (o *EmployeeEmploymentSearchParams) WithTimeout(timeout time.Duration) *EmployeeEmploymentSearchParams
WithTimeout adds the timeout to the employee employment search params
func (*EmployeeEmploymentSearchParams) WriteToRequest ¶
func (o *EmployeeEmploymentSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- employee_employment_get_parameters.go
- employee_employment_get_responses.go
- employee_employment_post_parameters.go
- employee_employment_post_responses.go
- employee_employment_put_parameters.go
- employee_employment_put_responses.go
- employee_employment_search_parameters.go
- employee_employment_search_responses.go
- employment_client.go