Documentation ¶
Index ¶
- type Client
- func (a *Client) EmployeeStandardTimeGet(params *EmployeeStandardTimeGetParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeStandardTimeGetOK, error)
- func (a *Client) EmployeeStandardTimePost(params *EmployeeStandardTimePostParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeStandardTimePostCreated, error)
- func (a *Client) EmployeeStandardTimePut(params *EmployeeStandardTimePutParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeStandardTimePutOK, error)
- func (a *Client) EmployeeStandardTimeSearch(params *EmployeeStandardTimeSearchParams, ...) (*EmployeeStandardTimeSearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type EmployeeStandardTimeGetOK
- type EmployeeStandardTimeGetParams
- func NewEmployeeStandardTimeGetParams() *EmployeeStandardTimeGetParams
- func NewEmployeeStandardTimeGetParamsWithContext(ctx context.Context) *EmployeeStandardTimeGetParams
- func NewEmployeeStandardTimeGetParamsWithHTTPClient(client *http.Client) *EmployeeStandardTimeGetParams
- func NewEmployeeStandardTimeGetParamsWithTimeout(timeout time.Duration) *EmployeeStandardTimeGetParams
- func (o *EmployeeStandardTimeGetParams) SetContext(ctx context.Context)
- func (o *EmployeeStandardTimeGetParams) SetFields(fields *string)
- func (o *EmployeeStandardTimeGetParams) SetHTTPClient(client *http.Client)
- func (o *EmployeeStandardTimeGetParams) SetID(id int32)
- func (o *EmployeeStandardTimeGetParams) SetTimeout(timeout time.Duration)
- func (o *EmployeeStandardTimeGetParams) WithContext(ctx context.Context) *EmployeeStandardTimeGetParams
- func (o *EmployeeStandardTimeGetParams) WithFields(fields *string) *EmployeeStandardTimeGetParams
- func (o *EmployeeStandardTimeGetParams) WithHTTPClient(client *http.Client) *EmployeeStandardTimeGetParams
- func (o *EmployeeStandardTimeGetParams) WithID(id int32) *EmployeeStandardTimeGetParams
- func (o *EmployeeStandardTimeGetParams) WithTimeout(timeout time.Duration) *EmployeeStandardTimeGetParams
- func (o *EmployeeStandardTimeGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EmployeeStandardTimeGetReader
- type EmployeeStandardTimePostCreated
- type EmployeeStandardTimePostParams
- func NewEmployeeStandardTimePostParams() *EmployeeStandardTimePostParams
- func NewEmployeeStandardTimePostParamsWithContext(ctx context.Context) *EmployeeStandardTimePostParams
- func NewEmployeeStandardTimePostParamsWithHTTPClient(client *http.Client) *EmployeeStandardTimePostParams
- func NewEmployeeStandardTimePostParamsWithTimeout(timeout time.Duration) *EmployeeStandardTimePostParams
- func (o *EmployeeStandardTimePostParams) SetBody(body *models.StandardTime)
- func (o *EmployeeStandardTimePostParams) SetContext(ctx context.Context)
- func (o *EmployeeStandardTimePostParams) SetHTTPClient(client *http.Client)
- func (o *EmployeeStandardTimePostParams) SetTimeout(timeout time.Duration)
- func (o *EmployeeStandardTimePostParams) WithBody(body *models.StandardTime) *EmployeeStandardTimePostParams
- func (o *EmployeeStandardTimePostParams) WithContext(ctx context.Context) *EmployeeStandardTimePostParams
- func (o *EmployeeStandardTimePostParams) WithHTTPClient(client *http.Client) *EmployeeStandardTimePostParams
- func (o *EmployeeStandardTimePostParams) WithTimeout(timeout time.Duration) *EmployeeStandardTimePostParams
- func (o *EmployeeStandardTimePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EmployeeStandardTimePostReader
- type EmployeeStandardTimePutOK
- type EmployeeStandardTimePutParams
- func NewEmployeeStandardTimePutParams() *EmployeeStandardTimePutParams
- func NewEmployeeStandardTimePutParamsWithContext(ctx context.Context) *EmployeeStandardTimePutParams
- func NewEmployeeStandardTimePutParamsWithHTTPClient(client *http.Client) *EmployeeStandardTimePutParams
- func NewEmployeeStandardTimePutParamsWithTimeout(timeout time.Duration) *EmployeeStandardTimePutParams
- func (o *EmployeeStandardTimePutParams) SetBody(body *models.StandardTime)
- func (o *EmployeeStandardTimePutParams) SetContext(ctx context.Context)
- func (o *EmployeeStandardTimePutParams) SetHTTPClient(client *http.Client)
- func (o *EmployeeStandardTimePutParams) SetID(id int32)
- func (o *EmployeeStandardTimePutParams) SetTimeout(timeout time.Duration)
- func (o *EmployeeStandardTimePutParams) WithBody(body *models.StandardTime) *EmployeeStandardTimePutParams
- func (o *EmployeeStandardTimePutParams) WithContext(ctx context.Context) *EmployeeStandardTimePutParams
- func (o *EmployeeStandardTimePutParams) WithHTTPClient(client *http.Client) *EmployeeStandardTimePutParams
- func (o *EmployeeStandardTimePutParams) WithID(id int32) *EmployeeStandardTimePutParams
- func (o *EmployeeStandardTimePutParams) WithTimeout(timeout time.Duration) *EmployeeStandardTimePutParams
- func (o *EmployeeStandardTimePutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EmployeeStandardTimePutReader
- type EmployeeStandardTimeSearchOK
- type EmployeeStandardTimeSearchParams
- func NewEmployeeStandardTimeSearchParams() *EmployeeStandardTimeSearchParams
- func NewEmployeeStandardTimeSearchParamsWithContext(ctx context.Context) *EmployeeStandardTimeSearchParams
- func NewEmployeeStandardTimeSearchParamsWithHTTPClient(client *http.Client) *EmployeeStandardTimeSearchParams
- func NewEmployeeStandardTimeSearchParamsWithTimeout(timeout time.Duration) *EmployeeStandardTimeSearchParams
- func (o *EmployeeStandardTimeSearchParams) SetContext(ctx context.Context)
- func (o *EmployeeStandardTimeSearchParams) SetCount(count *int64)
- func (o *EmployeeStandardTimeSearchParams) SetEmployeeID(employeeID *int32)
- func (o *EmployeeStandardTimeSearchParams) SetFields(fields *string)
- func (o *EmployeeStandardTimeSearchParams) SetFrom(from *int64)
- func (o *EmployeeStandardTimeSearchParams) SetHTTPClient(client *http.Client)
- func (o *EmployeeStandardTimeSearchParams) SetSorting(sorting *string)
- func (o *EmployeeStandardTimeSearchParams) SetTimeout(timeout time.Duration)
- func (o *EmployeeStandardTimeSearchParams) WithContext(ctx context.Context) *EmployeeStandardTimeSearchParams
- func (o *EmployeeStandardTimeSearchParams) WithCount(count *int64) *EmployeeStandardTimeSearchParams
- func (o *EmployeeStandardTimeSearchParams) WithEmployeeID(employeeID *int32) *EmployeeStandardTimeSearchParams
- func (o *EmployeeStandardTimeSearchParams) WithFields(fields *string) *EmployeeStandardTimeSearchParams
- func (o *EmployeeStandardTimeSearchParams) WithFrom(from *int64) *EmployeeStandardTimeSearchParams
- func (o *EmployeeStandardTimeSearchParams) WithHTTPClient(client *http.Client) *EmployeeStandardTimeSearchParams
- func (o *EmployeeStandardTimeSearchParams) WithSorting(sorting *string) *EmployeeStandardTimeSearchParams
- func (o *EmployeeStandardTimeSearchParams) WithTimeout(timeout time.Duration) *EmployeeStandardTimeSearchParams
- func (o *EmployeeStandardTimeSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EmployeeStandardTimeSearchReader
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 standard time API
func (*Client) EmployeeStandardTimeGet ¶
func (a *Client) EmployeeStandardTimeGet(params *EmployeeStandardTimeGetParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeStandardTimeGetOK, error)
EmployeeStandardTimeGet bs e t a find standard time by ID
func (*Client) EmployeeStandardTimePost ¶
func (a *Client) EmployeeStandardTimePost(params *EmployeeStandardTimePostParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeStandardTimePostCreated, error)
EmployeeStandardTimePost bs e t a create standard time
func (*Client) EmployeeStandardTimePut ¶
func (a *Client) EmployeeStandardTimePut(params *EmployeeStandardTimePutParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeStandardTimePutOK, error)
EmployeeStandardTimePut bs e t a update standard time
func (*Client) EmployeeStandardTimeSearch ¶
func (a *Client) EmployeeStandardTimeSearch(params *EmployeeStandardTimeSearchParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeStandardTimeSearchOK, error)
EmployeeStandardTimeSearch bs e t a find all standard times for employee
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { EmployeeStandardTimeGet(params *EmployeeStandardTimeGetParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeStandardTimeGetOK, error) EmployeeStandardTimePost(params *EmployeeStandardTimePostParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeStandardTimePostCreated, error) EmployeeStandardTimePut(params *EmployeeStandardTimePutParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeStandardTimePutOK, error) EmployeeStandardTimeSearch(params *EmployeeStandardTimeSearchParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeStandardTimeSearchOK, 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 standard time API client.
type EmployeeStandardTimeGetOK ¶
type EmployeeStandardTimeGetOK struct {
Payload *models.ResponseWrapperStandardTime
}
EmployeeStandardTimeGetOK handles this case with default header values.
successful operation
func NewEmployeeStandardTimeGetOK ¶
func NewEmployeeStandardTimeGetOK() *EmployeeStandardTimeGetOK
NewEmployeeStandardTimeGetOK creates a EmployeeStandardTimeGetOK with default headers values
func (*EmployeeStandardTimeGetOK) Error ¶
func (o *EmployeeStandardTimeGetOK) Error() string
func (*EmployeeStandardTimeGetOK) GetPayload ¶
func (o *EmployeeStandardTimeGetOK) GetPayload() *models.ResponseWrapperStandardTime
type EmployeeStandardTimeGetParams ¶
type EmployeeStandardTimeGetParams struct { /*Fields Fields filter pattern */ Fields *string /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EmployeeStandardTimeGetParams contains all the parameters to send to the API endpoint for the employee standard time get operation typically these are written to a http.Request
func NewEmployeeStandardTimeGetParams ¶
func NewEmployeeStandardTimeGetParams() *EmployeeStandardTimeGetParams
NewEmployeeStandardTimeGetParams creates a new EmployeeStandardTimeGetParams object with the default values initialized.
func NewEmployeeStandardTimeGetParamsWithContext ¶
func NewEmployeeStandardTimeGetParamsWithContext(ctx context.Context) *EmployeeStandardTimeGetParams
NewEmployeeStandardTimeGetParamsWithContext creates a new EmployeeStandardTimeGetParams object with the default values initialized, and the ability to set a context for a request
func NewEmployeeStandardTimeGetParamsWithHTTPClient ¶
func NewEmployeeStandardTimeGetParamsWithHTTPClient(client *http.Client) *EmployeeStandardTimeGetParams
NewEmployeeStandardTimeGetParamsWithHTTPClient creates a new EmployeeStandardTimeGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEmployeeStandardTimeGetParamsWithTimeout ¶
func NewEmployeeStandardTimeGetParamsWithTimeout(timeout time.Duration) *EmployeeStandardTimeGetParams
NewEmployeeStandardTimeGetParamsWithTimeout creates a new EmployeeStandardTimeGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*EmployeeStandardTimeGetParams) SetContext ¶
func (o *EmployeeStandardTimeGetParams) SetContext(ctx context.Context)
SetContext adds the context to the employee standard time get params
func (*EmployeeStandardTimeGetParams) SetFields ¶
func (o *EmployeeStandardTimeGetParams) SetFields(fields *string)
SetFields adds the fields to the employee standard time get params
func (*EmployeeStandardTimeGetParams) SetHTTPClient ¶
func (o *EmployeeStandardTimeGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the employee standard time get params
func (*EmployeeStandardTimeGetParams) SetID ¶
func (o *EmployeeStandardTimeGetParams) SetID(id int32)
SetID adds the id to the employee standard time get params
func (*EmployeeStandardTimeGetParams) SetTimeout ¶
func (o *EmployeeStandardTimeGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the employee standard time get params
func (*EmployeeStandardTimeGetParams) WithContext ¶
func (o *EmployeeStandardTimeGetParams) WithContext(ctx context.Context) *EmployeeStandardTimeGetParams
WithContext adds the context to the employee standard time get params
func (*EmployeeStandardTimeGetParams) WithFields ¶
func (o *EmployeeStandardTimeGetParams) WithFields(fields *string) *EmployeeStandardTimeGetParams
WithFields adds the fields to the employee standard time get params
func (*EmployeeStandardTimeGetParams) WithHTTPClient ¶
func (o *EmployeeStandardTimeGetParams) WithHTTPClient(client *http.Client) *EmployeeStandardTimeGetParams
WithHTTPClient adds the HTTPClient to the employee standard time get params
func (*EmployeeStandardTimeGetParams) WithID ¶
func (o *EmployeeStandardTimeGetParams) WithID(id int32) *EmployeeStandardTimeGetParams
WithID adds the id to the employee standard time get params
func (*EmployeeStandardTimeGetParams) WithTimeout ¶
func (o *EmployeeStandardTimeGetParams) WithTimeout(timeout time.Duration) *EmployeeStandardTimeGetParams
WithTimeout adds the timeout to the employee standard time get params
func (*EmployeeStandardTimeGetParams) WriteToRequest ¶
func (o *EmployeeStandardTimeGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EmployeeStandardTimeGetReader ¶
type EmployeeStandardTimeGetReader struct {
// contains filtered or unexported fields
}
EmployeeStandardTimeGetReader is a Reader for the EmployeeStandardTimeGet structure.
func (*EmployeeStandardTimeGetReader) ReadResponse ¶
func (o *EmployeeStandardTimeGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EmployeeStandardTimePostCreated ¶
type EmployeeStandardTimePostCreated struct {
Payload *models.ResponseWrapperStandardTime
}
EmployeeStandardTimePostCreated handles this case with default header values.
successfully created
func NewEmployeeStandardTimePostCreated ¶
func NewEmployeeStandardTimePostCreated() *EmployeeStandardTimePostCreated
NewEmployeeStandardTimePostCreated creates a EmployeeStandardTimePostCreated with default headers values
func (*EmployeeStandardTimePostCreated) Error ¶
func (o *EmployeeStandardTimePostCreated) Error() string
func (*EmployeeStandardTimePostCreated) GetPayload ¶
func (o *EmployeeStandardTimePostCreated) GetPayload() *models.ResponseWrapperStandardTime
type EmployeeStandardTimePostParams ¶
type EmployeeStandardTimePostParams struct { /*Body JSON representing the new object to be created. Should not have ID and version set. */ Body *models.StandardTime Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EmployeeStandardTimePostParams contains all the parameters to send to the API endpoint for the employee standard time post operation typically these are written to a http.Request
func NewEmployeeStandardTimePostParams ¶
func NewEmployeeStandardTimePostParams() *EmployeeStandardTimePostParams
NewEmployeeStandardTimePostParams creates a new EmployeeStandardTimePostParams object with the default values initialized.
func NewEmployeeStandardTimePostParamsWithContext ¶
func NewEmployeeStandardTimePostParamsWithContext(ctx context.Context) *EmployeeStandardTimePostParams
NewEmployeeStandardTimePostParamsWithContext creates a new EmployeeStandardTimePostParams object with the default values initialized, and the ability to set a context for a request
func NewEmployeeStandardTimePostParamsWithHTTPClient ¶
func NewEmployeeStandardTimePostParamsWithHTTPClient(client *http.Client) *EmployeeStandardTimePostParams
NewEmployeeStandardTimePostParamsWithHTTPClient creates a new EmployeeStandardTimePostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEmployeeStandardTimePostParamsWithTimeout ¶
func NewEmployeeStandardTimePostParamsWithTimeout(timeout time.Duration) *EmployeeStandardTimePostParams
NewEmployeeStandardTimePostParamsWithTimeout creates a new EmployeeStandardTimePostParams object with the default values initialized, and the ability to set a timeout on a request
func (*EmployeeStandardTimePostParams) SetBody ¶
func (o *EmployeeStandardTimePostParams) SetBody(body *models.StandardTime)
SetBody adds the body to the employee standard time post params
func (*EmployeeStandardTimePostParams) SetContext ¶
func (o *EmployeeStandardTimePostParams) SetContext(ctx context.Context)
SetContext adds the context to the employee standard time post params
func (*EmployeeStandardTimePostParams) SetHTTPClient ¶
func (o *EmployeeStandardTimePostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the employee standard time post params
func (*EmployeeStandardTimePostParams) SetTimeout ¶
func (o *EmployeeStandardTimePostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the employee standard time post params
func (*EmployeeStandardTimePostParams) WithBody ¶
func (o *EmployeeStandardTimePostParams) WithBody(body *models.StandardTime) *EmployeeStandardTimePostParams
WithBody adds the body to the employee standard time post params
func (*EmployeeStandardTimePostParams) WithContext ¶
func (o *EmployeeStandardTimePostParams) WithContext(ctx context.Context) *EmployeeStandardTimePostParams
WithContext adds the context to the employee standard time post params
func (*EmployeeStandardTimePostParams) WithHTTPClient ¶
func (o *EmployeeStandardTimePostParams) WithHTTPClient(client *http.Client) *EmployeeStandardTimePostParams
WithHTTPClient adds the HTTPClient to the employee standard time post params
func (*EmployeeStandardTimePostParams) WithTimeout ¶
func (o *EmployeeStandardTimePostParams) WithTimeout(timeout time.Duration) *EmployeeStandardTimePostParams
WithTimeout adds the timeout to the employee standard time post params
func (*EmployeeStandardTimePostParams) WriteToRequest ¶
func (o *EmployeeStandardTimePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EmployeeStandardTimePostReader ¶
type EmployeeStandardTimePostReader struct {
// contains filtered or unexported fields
}
EmployeeStandardTimePostReader is a Reader for the EmployeeStandardTimePost structure.
func (*EmployeeStandardTimePostReader) ReadResponse ¶
func (o *EmployeeStandardTimePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EmployeeStandardTimePutOK ¶
type EmployeeStandardTimePutOK struct {
Payload *models.ResponseWrapperStandardTime
}
EmployeeStandardTimePutOK handles this case with default header values.
successful operation
func NewEmployeeStandardTimePutOK ¶
func NewEmployeeStandardTimePutOK() *EmployeeStandardTimePutOK
NewEmployeeStandardTimePutOK creates a EmployeeStandardTimePutOK with default headers values
func (*EmployeeStandardTimePutOK) Error ¶
func (o *EmployeeStandardTimePutOK) Error() string
func (*EmployeeStandardTimePutOK) GetPayload ¶
func (o *EmployeeStandardTimePutOK) GetPayload() *models.ResponseWrapperStandardTime
type EmployeeStandardTimePutParams ¶
type EmployeeStandardTimePutParams struct { /*Body Partial object describing what should be updated */ Body *models.StandardTime /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EmployeeStandardTimePutParams contains all the parameters to send to the API endpoint for the employee standard time put operation typically these are written to a http.Request
func NewEmployeeStandardTimePutParams ¶
func NewEmployeeStandardTimePutParams() *EmployeeStandardTimePutParams
NewEmployeeStandardTimePutParams creates a new EmployeeStandardTimePutParams object with the default values initialized.
func NewEmployeeStandardTimePutParamsWithContext ¶
func NewEmployeeStandardTimePutParamsWithContext(ctx context.Context) *EmployeeStandardTimePutParams
NewEmployeeStandardTimePutParamsWithContext creates a new EmployeeStandardTimePutParams object with the default values initialized, and the ability to set a context for a request
func NewEmployeeStandardTimePutParamsWithHTTPClient ¶
func NewEmployeeStandardTimePutParamsWithHTTPClient(client *http.Client) *EmployeeStandardTimePutParams
NewEmployeeStandardTimePutParamsWithHTTPClient creates a new EmployeeStandardTimePutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEmployeeStandardTimePutParamsWithTimeout ¶
func NewEmployeeStandardTimePutParamsWithTimeout(timeout time.Duration) *EmployeeStandardTimePutParams
NewEmployeeStandardTimePutParamsWithTimeout creates a new EmployeeStandardTimePutParams object with the default values initialized, and the ability to set a timeout on a request
func (*EmployeeStandardTimePutParams) SetBody ¶
func (o *EmployeeStandardTimePutParams) SetBody(body *models.StandardTime)
SetBody adds the body to the employee standard time put params
func (*EmployeeStandardTimePutParams) SetContext ¶
func (o *EmployeeStandardTimePutParams) SetContext(ctx context.Context)
SetContext adds the context to the employee standard time put params
func (*EmployeeStandardTimePutParams) SetHTTPClient ¶
func (o *EmployeeStandardTimePutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the employee standard time put params
func (*EmployeeStandardTimePutParams) SetID ¶
func (o *EmployeeStandardTimePutParams) SetID(id int32)
SetID adds the id to the employee standard time put params
func (*EmployeeStandardTimePutParams) SetTimeout ¶
func (o *EmployeeStandardTimePutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the employee standard time put params
func (*EmployeeStandardTimePutParams) WithBody ¶
func (o *EmployeeStandardTimePutParams) WithBody(body *models.StandardTime) *EmployeeStandardTimePutParams
WithBody adds the body to the employee standard time put params
func (*EmployeeStandardTimePutParams) WithContext ¶
func (o *EmployeeStandardTimePutParams) WithContext(ctx context.Context) *EmployeeStandardTimePutParams
WithContext adds the context to the employee standard time put params
func (*EmployeeStandardTimePutParams) WithHTTPClient ¶
func (o *EmployeeStandardTimePutParams) WithHTTPClient(client *http.Client) *EmployeeStandardTimePutParams
WithHTTPClient adds the HTTPClient to the employee standard time put params
func (*EmployeeStandardTimePutParams) WithID ¶
func (o *EmployeeStandardTimePutParams) WithID(id int32) *EmployeeStandardTimePutParams
WithID adds the id to the employee standard time put params
func (*EmployeeStandardTimePutParams) WithTimeout ¶
func (o *EmployeeStandardTimePutParams) WithTimeout(timeout time.Duration) *EmployeeStandardTimePutParams
WithTimeout adds the timeout to the employee standard time put params
func (*EmployeeStandardTimePutParams) WriteToRequest ¶
func (o *EmployeeStandardTimePutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EmployeeStandardTimePutReader ¶
type EmployeeStandardTimePutReader struct {
// contains filtered or unexported fields
}
EmployeeStandardTimePutReader is a Reader for the EmployeeStandardTimePut structure.
func (*EmployeeStandardTimePutReader) ReadResponse ¶
func (o *EmployeeStandardTimePutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EmployeeStandardTimeSearchOK ¶
type EmployeeStandardTimeSearchOK struct {
Payload *models.ListResponseStandardTime
}
EmployeeStandardTimeSearchOK handles this case with default header values.
successful operation
func NewEmployeeStandardTimeSearchOK ¶
func NewEmployeeStandardTimeSearchOK() *EmployeeStandardTimeSearchOK
NewEmployeeStandardTimeSearchOK creates a EmployeeStandardTimeSearchOK with default headers values
func (*EmployeeStandardTimeSearchOK) Error ¶
func (o *EmployeeStandardTimeSearchOK) Error() string
func (*EmployeeStandardTimeSearchOK) GetPayload ¶
func (o *EmployeeStandardTimeSearchOK) GetPayload() *models.ListResponseStandardTime
type EmployeeStandardTimeSearchParams ¶
type EmployeeStandardTimeSearchParams struct { /*Count Number of elements to return */ Count *int64 /*EmployeeID Employee ID. Defaults to ID of token owner. */ 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 }
EmployeeStandardTimeSearchParams contains all the parameters to send to the API endpoint for the employee standard time search operation typically these are written to a http.Request
func NewEmployeeStandardTimeSearchParams ¶
func NewEmployeeStandardTimeSearchParams() *EmployeeStandardTimeSearchParams
NewEmployeeStandardTimeSearchParams creates a new EmployeeStandardTimeSearchParams object with the default values initialized.
func NewEmployeeStandardTimeSearchParamsWithContext ¶
func NewEmployeeStandardTimeSearchParamsWithContext(ctx context.Context) *EmployeeStandardTimeSearchParams
NewEmployeeStandardTimeSearchParamsWithContext creates a new EmployeeStandardTimeSearchParams object with the default values initialized, and the ability to set a context for a request
func NewEmployeeStandardTimeSearchParamsWithHTTPClient ¶
func NewEmployeeStandardTimeSearchParamsWithHTTPClient(client *http.Client) *EmployeeStandardTimeSearchParams
NewEmployeeStandardTimeSearchParamsWithHTTPClient creates a new EmployeeStandardTimeSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEmployeeStandardTimeSearchParamsWithTimeout ¶
func NewEmployeeStandardTimeSearchParamsWithTimeout(timeout time.Duration) *EmployeeStandardTimeSearchParams
NewEmployeeStandardTimeSearchParamsWithTimeout creates a new EmployeeStandardTimeSearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*EmployeeStandardTimeSearchParams) SetContext ¶
func (o *EmployeeStandardTimeSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the employee standard time search params
func (*EmployeeStandardTimeSearchParams) SetCount ¶
func (o *EmployeeStandardTimeSearchParams) SetCount(count *int64)
SetCount adds the count to the employee standard time search params
func (*EmployeeStandardTimeSearchParams) SetEmployeeID ¶
func (o *EmployeeStandardTimeSearchParams) SetEmployeeID(employeeID *int32)
SetEmployeeID adds the employeeId to the employee standard time search params
func (*EmployeeStandardTimeSearchParams) SetFields ¶
func (o *EmployeeStandardTimeSearchParams) SetFields(fields *string)
SetFields adds the fields to the employee standard time search params
func (*EmployeeStandardTimeSearchParams) SetFrom ¶
func (o *EmployeeStandardTimeSearchParams) SetFrom(from *int64)
SetFrom adds the from to the employee standard time search params
func (*EmployeeStandardTimeSearchParams) SetHTTPClient ¶
func (o *EmployeeStandardTimeSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the employee standard time search params
func (*EmployeeStandardTimeSearchParams) SetSorting ¶
func (o *EmployeeStandardTimeSearchParams) SetSorting(sorting *string)
SetSorting adds the sorting to the employee standard time search params
func (*EmployeeStandardTimeSearchParams) SetTimeout ¶
func (o *EmployeeStandardTimeSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the employee standard time search params
func (*EmployeeStandardTimeSearchParams) WithContext ¶
func (o *EmployeeStandardTimeSearchParams) WithContext(ctx context.Context) *EmployeeStandardTimeSearchParams
WithContext adds the context to the employee standard time search params
func (*EmployeeStandardTimeSearchParams) WithCount ¶
func (o *EmployeeStandardTimeSearchParams) WithCount(count *int64) *EmployeeStandardTimeSearchParams
WithCount adds the count to the employee standard time search params
func (*EmployeeStandardTimeSearchParams) WithEmployeeID ¶
func (o *EmployeeStandardTimeSearchParams) WithEmployeeID(employeeID *int32) *EmployeeStandardTimeSearchParams
WithEmployeeID adds the employeeID to the employee standard time search params
func (*EmployeeStandardTimeSearchParams) WithFields ¶
func (o *EmployeeStandardTimeSearchParams) WithFields(fields *string) *EmployeeStandardTimeSearchParams
WithFields adds the fields to the employee standard time search params
func (*EmployeeStandardTimeSearchParams) WithFrom ¶
func (o *EmployeeStandardTimeSearchParams) WithFrom(from *int64) *EmployeeStandardTimeSearchParams
WithFrom adds the from to the employee standard time search params
func (*EmployeeStandardTimeSearchParams) WithHTTPClient ¶
func (o *EmployeeStandardTimeSearchParams) WithHTTPClient(client *http.Client) *EmployeeStandardTimeSearchParams
WithHTTPClient adds the HTTPClient to the employee standard time search params
func (*EmployeeStandardTimeSearchParams) WithSorting ¶
func (o *EmployeeStandardTimeSearchParams) WithSorting(sorting *string) *EmployeeStandardTimeSearchParams
WithSorting adds the sorting to the employee standard time search params
func (*EmployeeStandardTimeSearchParams) WithTimeout ¶
func (o *EmployeeStandardTimeSearchParams) WithTimeout(timeout time.Duration) *EmployeeStandardTimeSearchParams
WithTimeout adds the timeout to the employee standard time search params
func (*EmployeeStandardTimeSearchParams) WriteToRequest ¶
func (o *EmployeeStandardTimeSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EmployeeStandardTimeSearchReader ¶
type EmployeeStandardTimeSearchReader struct {
// contains filtered or unexported fields
}
EmployeeStandardTimeSearchReader is a Reader for the EmployeeStandardTimeSearch structure.
func (*EmployeeStandardTimeSearchReader) ReadResponse ¶
func (o *EmployeeStandardTimeSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- employee_standard_time_get_parameters.go
- employee_standard_time_get_responses.go
- employee_standard_time_post_parameters.go
- employee_standard_time_post_responses.go
- employee_standard_time_put_parameters.go
- employee_standard_time_put_responses.go
- employee_standard_time_search_parameters.go
- employee_standard_time_search_responses.go
- standard_time_client.go