Documentation ¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TimesheetTimeClockGet(params *TimesheetTimeClockGetParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetTimeClockGetOK, error)
- func (a *Client) TimesheetTimeClockPresentGetPresent(params *TimesheetTimeClockPresentGetPresentParams, ...) (*TimesheetTimeClockPresentGetPresentOK, error)
- func (a *Client) TimesheetTimeClockPut(params *TimesheetTimeClockPutParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetTimeClockPutOK, error)
- func (a *Client) TimesheetTimeClockSearch(params *TimesheetTimeClockSearchParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetTimeClockSearchOK, error)
- func (a *Client) TimesheetTimeClockStartStart(params *TimesheetTimeClockStartStartParams, ...) (*TimesheetTimeClockStartStartOK, error)
- func (a *Client) TimesheetTimeClockStopStop(params *TimesheetTimeClockStopStopParams, ...) error
- type ClientService
- type TimesheetTimeClockGetOK
- type TimesheetTimeClockGetParams
- func NewTimesheetTimeClockGetParams() *TimesheetTimeClockGetParams
- func NewTimesheetTimeClockGetParamsWithContext(ctx context.Context) *TimesheetTimeClockGetParams
- func NewTimesheetTimeClockGetParamsWithHTTPClient(client *http.Client) *TimesheetTimeClockGetParams
- func NewTimesheetTimeClockGetParamsWithTimeout(timeout time.Duration) *TimesheetTimeClockGetParams
- func (o *TimesheetTimeClockGetParams) SetContext(ctx context.Context)
- func (o *TimesheetTimeClockGetParams) SetFields(fields *string)
- func (o *TimesheetTimeClockGetParams) SetHTTPClient(client *http.Client)
- func (o *TimesheetTimeClockGetParams) SetID(id int32)
- func (o *TimesheetTimeClockGetParams) SetTimeout(timeout time.Duration)
- func (o *TimesheetTimeClockGetParams) WithContext(ctx context.Context) *TimesheetTimeClockGetParams
- func (o *TimesheetTimeClockGetParams) WithFields(fields *string) *TimesheetTimeClockGetParams
- func (o *TimesheetTimeClockGetParams) WithHTTPClient(client *http.Client) *TimesheetTimeClockGetParams
- func (o *TimesheetTimeClockGetParams) WithID(id int32) *TimesheetTimeClockGetParams
- func (o *TimesheetTimeClockGetParams) WithTimeout(timeout time.Duration) *TimesheetTimeClockGetParams
- func (o *TimesheetTimeClockGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TimesheetTimeClockGetReader
- type TimesheetTimeClockPresentGetPresentOK
- type TimesheetTimeClockPresentGetPresentParams
- func NewTimesheetTimeClockPresentGetPresentParams() *TimesheetTimeClockPresentGetPresentParams
- func NewTimesheetTimeClockPresentGetPresentParamsWithContext(ctx context.Context) *TimesheetTimeClockPresentGetPresentParams
- func NewTimesheetTimeClockPresentGetPresentParamsWithHTTPClient(client *http.Client) *TimesheetTimeClockPresentGetPresentParams
- func NewTimesheetTimeClockPresentGetPresentParamsWithTimeout(timeout time.Duration) *TimesheetTimeClockPresentGetPresentParams
- func (o *TimesheetTimeClockPresentGetPresentParams) SetContext(ctx context.Context)
- func (o *TimesheetTimeClockPresentGetPresentParams) SetEmployeeID(employeeID *int32)
- func (o *TimesheetTimeClockPresentGetPresentParams) SetFields(fields *string)
- func (o *TimesheetTimeClockPresentGetPresentParams) SetHTTPClient(client *http.Client)
- func (o *TimesheetTimeClockPresentGetPresentParams) SetTimeout(timeout time.Duration)
- func (o *TimesheetTimeClockPresentGetPresentParams) WithContext(ctx context.Context) *TimesheetTimeClockPresentGetPresentParams
- func (o *TimesheetTimeClockPresentGetPresentParams) WithEmployeeID(employeeID *int32) *TimesheetTimeClockPresentGetPresentParams
- func (o *TimesheetTimeClockPresentGetPresentParams) WithFields(fields *string) *TimesheetTimeClockPresentGetPresentParams
- func (o *TimesheetTimeClockPresentGetPresentParams) WithHTTPClient(client *http.Client) *TimesheetTimeClockPresentGetPresentParams
- func (o *TimesheetTimeClockPresentGetPresentParams) WithTimeout(timeout time.Duration) *TimesheetTimeClockPresentGetPresentParams
- func (o *TimesheetTimeClockPresentGetPresentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TimesheetTimeClockPresentGetPresentReader
- type TimesheetTimeClockPutOK
- type TimesheetTimeClockPutParams
- func NewTimesheetTimeClockPutParams() *TimesheetTimeClockPutParams
- func NewTimesheetTimeClockPutParamsWithContext(ctx context.Context) *TimesheetTimeClockPutParams
- func NewTimesheetTimeClockPutParamsWithHTTPClient(client *http.Client) *TimesheetTimeClockPutParams
- func NewTimesheetTimeClockPutParamsWithTimeout(timeout time.Duration) *TimesheetTimeClockPutParams
- func (o *TimesheetTimeClockPutParams) SetBody(body *models.TimeClock)
- func (o *TimesheetTimeClockPutParams) SetContext(ctx context.Context)
- func (o *TimesheetTimeClockPutParams) SetHTTPClient(client *http.Client)
- func (o *TimesheetTimeClockPutParams) SetID(id int32)
- func (o *TimesheetTimeClockPutParams) SetTimeout(timeout time.Duration)
- func (o *TimesheetTimeClockPutParams) WithBody(body *models.TimeClock) *TimesheetTimeClockPutParams
- func (o *TimesheetTimeClockPutParams) WithContext(ctx context.Context) *TimesheetTimeClockPutParams
- func (o *TimesheetTimeClockPutParams) WithHTTPClient(client *http.Client) *TimesheetTimeClockPutParams
- func (o *TimesheetTimeClockPutParams) WithID(id int32) *TimesheetTimeClockPutParams
- func (o *TimesheetTimeClockPutParams) WithTimeout(timeout time.Duration) *TimesheetTimeClockPutParams
- func (o *TimesheetTimeClockPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TimesheetTimeClockPutReader
- type TimesheetTimeClockSearchOK
- type TimesheetTimeClockSearchParams
- func NewTimesheetTimeClockSearchParams() *TimesheetTimeClockSearchParams
- func NewTimesheetTimeClockSearchParamsWithContext(ctx context.Context) *TimesheetTimeClockSearchParams
- func NewTimesheetTimeClockSearchParamsWithHTTPClient(client *http.Client) *TimesheetTimeClockSearchParams
- func NewTimesheetTimeClockSearchParamsWithTimeout(timeout time.Duration) *TimesheetTimeClockSearchParams
- func (o *TimesheetTimeClockSearchParams) SetActivityID(activityID *string)
- func (o *TimesheetTimeClockSearchParams) SetContext(ctx context.Context)
- func (o *TimesheetTimeClockSearchParams) SetCount(count *int64)
- func (o *TimesheetTimeClockSearchParams) SetDateFrom(dateFrom *string)
- func (o *TimesheetTimeClockSearchParams) SetDateTo(dateTo *string)
- func (o *TimesheetTimeClockSearchParams) SetEmployeeID(employeeID *string)
- func (o *TimesheetTimeClockSearchParams) SetFields(fields *string)
- func (o *TimesheetTimeClockSearchParams) SetFrom(from *int64)
- func (o *TimesheetTimeClockSearchParams) SetHTTPClient(client *http.Client)
- func (o *TimesheetTimeClockSearchParams) SetHourID(hourID *string)
- func (o *TimesheetTimeClockSearchParams) SetID(id *string)
- func (o *TimesheetTimeClockSearchParams) SetIsRunning(isRunning *bool)
- func (o *TimesheetTimeClockSearchParams) SetProjectID(projectID *string)
- func (o *TimesheetTimeClockSearchParams) SetSorting(sorting *string)
- func (o *TimesheetTimeClockSearchParams) SetTimeout(timeout time.Duration)
- func (o *TimesheetTimeClockSearchParams) WithActivityID(activityID *string) *TimesheetTimeClockSearchParams
- func (o *TimesheetTimeClockSearchParams) WithContext(ctx context.Context) *TimesheetTimeClockSearchParams
- func (o *TimesheetTimeClockSearchParams) WithCount(count *int64) *TimesheetTimeClockSearchParams
- func (o *TimesheetTimeClockSearchParams) WithDateFrom(dateFrom *string) *TimesheetTimeClockSearchParams
- func (o *TimesheetTimeClockSearchParams) WithDateTo(dateTo *string) *TimesheetTimeClockSearchParams
- func (o *TimesheetTimeClockSearchParams) WithEmployeeID(employeeID *string) *TimesheetTimeClockSearchParams
- func (o *TimesheetTimeClockSearchParams) WithFields(fields *string) *TimesheetTimeClockSearchParams
- func (o *TimesheetTimeClockSearchParams) WithFrom(from *int64) *TimesheetTimeClockSearchParams
- func (o *TimesheetTimeClockSearchParams) WithHTTPClient(client *http.Client) *TimesheetTimeClockSearchParams
- func (o *TimesheetTimeClockSearchParams) WithHourID(hourID *string) *TimesheetTimeClockSearchParams
- func (o *TimesheetTimeClockSearchParams) WithID(id *string) *TimesheetTimeClockSearchParams
- func (o *TimesheetTimeClockSearchParams) WithIsRunning(isRunning *bool) *TimesheetTimeClockSearchParams
- func (o *TimesheetTimeClockSearchParams) WithProjectID(projectID *string) *TimesheetTimeClockSearchParams
- func (o *TimesheetTimeClockSearchParams) WithSorting(sorting *string) *TimesheetTimeClockSearchParams
- func (o *TimesheetTimeClockSearchParams) WithTimeout(timeout time.Duration) *TimesheetTimeClockSearchParams
- func (o *TimesheetTimeClockSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TimesheetTimeClockSearchReader
- type TimesheetTimeClockStartStartOK
- type TimesheetTimeClockStartStartParams
- func NewTimesheetTimeClockStartStartParams() *TimesheetTimeClockStartStartParams
- func NewTimesheetTimeClockStartStartParamsWithContext(ctx context.Context) *TimesheetTimeClockStartStartParams
- func NewTimesheetTimeClockStartStartParamsWithHTTPClient(client *http.Client) *TimesheetTimeClockStartStartParams
- func NewTimesheetTimeClockStartStartParamsWithTimeout(timeout time.Duration) *TimesheetTimeClockStartStartParams
- func (o *TimesheetTimeClockStartStartParams) SetActivityID(activityID int32)
- func (o *TimesheetTimeClockStartStartParams) SetContext(ctx context.Context)
- func (o *TimesheetTimeClockStartStartParams) SetDate(date *string)
- func (o *TimesheetTimeClockStartStartParams) SetEmployeeID(employeeID *int32)
- func (o *TimesheetTimeClockStartStartParams) SetHTTPClient(client *http.Client)
- func (o *TimesheetTimeClockStartStartParams) SetProjectID(projectID *int32)
- func (o *TimesheetTimeClockStartStartParams) SetTimeout(timeout time.Duration)
- func (o *TimesheetTimeClockStartStartParams) WithActivityID(activityID int32) *TimesheetTimeClockStartStartParams
- func (o *TimesheetTimeClockStartStartParams) WithContext(ctx context.Context) *TimesheetTimeClockStartStartParams
- func (o *TimesheetTimeClockStartStartParams) WithDate(date *string) *TimesheetTimeClockStartStartParams
- func (o *TimesheetTimeClockStartStartParams) WithEmployeeID(employeeID *int32) *TimesheetTimeClockStartStartParams
- func (o *TimesheetTimeClockStartStartParams) WithHTTPClient(client *http.Client) *TimesheetTimeClockStartStartParams
- func (o *TimesheetTimeClockStartStartParams) WithProjectID(projectID *int32) *TimesheetTimeClockStartStartParams
- func (o *TimesheetTimeClockStartStartParams) WithTimeout(timeout time.Duration) *TimesheetTimeClockStartStartParams
- func (o *TimesheetTimeClockStartStartParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TimesheetTimeClockStartStartReader
- type TimesheetTimeClockStopStopDefault
- type TimesheetTimeClockStopStopParams
- func NewTimesheetTimeClockStopStopParams() *TimesheetTimeClockStopStopParams
- func NewTimesheetTimeClockStopStopParamsWithContext(ctx context.Context) *TimesheetTimeClockStopStopParams
- func NewTimesheetTimeClockStopStopParamsWithHTTPClient(client *http.Client) *TimesheetTimeClockStopStopParams
- func NewTimesheetTimeClockStopStopParamsWithTimeout(timeout time.Duration) *TimesheetTimeClockStopStopParams
- func (o *TimesheetTimeClockStopStopParams) SetContext(ctx context.Context)
- func (o *TimesheetTimeClockStopStopParams) SetHTTPClient(client *http.Client)
- func (o *TimesheetTimeClockStopStopParams) SetID(id int32)
- func (o *TimesheetTimeClockStopStopParams) SetTimeout(timeout time.Duration)
- func (o *TimesheetTimeClockStopStopParams) SetVersion(version *int32)
- func (o *TimesheetTimeClockStopStopParams) WithContext(ctx context.Context) *TimesheetTimeClockStopStopParams
- func (o *TimesheetTimeClockStopStopParams) WithHTTPClient(client *http.Client) *TimesheetTimeClockStopStopParams
- func (o *TimesheetTimeClockStopStopParams) WithID(id int32) *TimesheetTimeClockStopStopParams
- func (o *TimesheetTimeClockStopStopParams) WithTimeout(timeout time.Duration) *TimesheetTimeClockStopStopParams
- func (o *TimesheetTimeClockStopStopParams) WithVersion(version *int32) *TimesheetTimeClockStopStopParams
- func (o *TimesheetTimeClockStopStopParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TimesheetTimeClockStopStopReader
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 time clock API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) TimesheetTimeClockGet ¶
func (a *Client) TimesheetTimeClockGet(params *TimesheetTimeClockGetParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetTimeClockGetOK, error)
TimesheetTimeClockGet finds time clock entry by ID
func (*Client) TimesheetTimeClockPresentGetPresent ¶
func (a *Client) TimesheetTimeClockPresentGetPresent(params *TimesheetTimeClockPresentGetPresentParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetTimeClockPresentGetPresentOK, error)
TimesheetTimeClockPresentGetPresent finds a user s present running time clock
func (*Client) TimesheetTimeClockPut ¶
func (a *Client) TimesheetTimeClockPut(params *TimesheetTimeClockPutParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetTimeClockPutOK, error)
TimesheetTimeClockPut updates time clock by ID
func (*Client) TimesheetTimeClockSearch ¶
func (a *Client) TimesheetTimeClockSearch(params *TimesheetTimeClockSearchParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetTimeClockSearchOK, error)
TimesheetTimeClockSearch finds time clock entries corresponding with sent data
func (*Client) TimesheetTimeClockStartStart ¶
func (a *Client) TimesheetTimeClockStartStart(params *TimesheetTimeClockStartStartParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetTimeClockStartStartOK, error)
TimesheetTimeClockStartStart starts time clock
func (*Client) TimesheetTimeClockStopStop ¶
func (a *Client) TimesheetTimeClockStopStop(params *TimesheetTimeClockStopStopParams, authInfo runtime.ClientAuthInfoWriter) error
TimesheetTimeClockStopStop stops time clock
type ClientService ¶
type ClientService interface { TimesheetTimeClockPresentGetPresent(params *TimesheetTimeClockPresentGetPresentParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetTimeClockPresentGetPresentOK, error) TimesheetTimeClockStartStart(params *TimesheetTimeClockStartStartParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetTimeClockStartStartOK, error) TimesheetTimeClockStopStop(params *TimesheetTimeClockStopStopParams, authInfo runtime.ClientAuthInfoWriter) error TimesheetTimeClockGet(params *TimesheetTimeClockGetParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetTimeClockGetOK, error) TimesheetTimeClockPut(params *TimesheetTimeClockPutParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetTimeClockPutOK, error) TimesheetTimeClockSearch(params *TimesheetTimeClockSearchParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetTimeClockSearchOK, 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 time clock API client.
type TimesheetTimeClockGetOK ¶
type TimesheetTimeClockGetOK struct {
Payload *models.ResponseWrapperTimeClock
}
TimesheetTimeClockGetOK handles this case with default header values.
successful operation
func NewTimesheetTimeClockGetOK ¶
func NewTimesheetTimeClockGetOK() *TimesheetTimeClockGetOK
NewTimesheetTimeClockGetOK creates a TimesheetTimeClockGetOK with default headers values
func (*TimesheetTimeClockGetOK) Error ¶
func (o *TimesheetTimeClockGetOK) Error() string
func (*TimesheetTimeClockGetOK) GetPayload ¶
func (o *TimesheetTimeClockGetOK) GetPayload() *models.ResponseWrapperTimeClock
type TimesheetTimeClockGetParams ¶
type TimesheetTimeClockGetParams struct { /*Fields Fields filter pattern */ Fields *string /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TimesheetTimeClockGetParams contains all the parameters to send to the API endpoint for the timesheet time clock get operation typically these are written to a http.Request
func NewTimesheetTimeClockGetParams ¶
func NewTimesheetTimeClockGetParams() *TimesheetTimeClockGetParams
NewTimesheetTimeClockGetParams creates a new TimesheetTimeClockGetParams object with the default values initialized.
func NewTimesheetTimeClockGetParamsWithContext ¶
func NewTimesheetTimeClockGetParamsWithContext(ctx context.Context) *TimesheetTimeClockGetParams
NewTimesheetTimeClockGetParamsWithContext creates a new TimesheetTimeClockGetParams object with the default values initialized, and the ability to set a context for a request
func NewTimesheetTimeClockGetParamsWithHTTPClient ¶
func NewTimesheetTimeClockGetParamsWithHTTPClient(client *http.Client) *TimesheetTimeClockGetParams
NewTimesheetTimeClockGetParamsWithHTTPClient creates a new TimesheetTimeClockGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTimesheetTimeClockGetParamsWithTimeout ¶
func NewTimesheetTimeClockGetParamsWithTimeout(timeout time.Duration) *TimesheetTimeClockGetParams
NewTimesheetTimeClockGetParamsWithTimeout creates a new TimesheetTimeClockGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*TimesheetTimeClockGetParams) SetContext ¶
func (o *TimesheetTimeClockGetParams) SetContext(ctx context.Context)
SetContext adds the context to the timesheet time clock get params
func (*TimesheetTimeClockGetParams) SetFields ¶
func (o *TimesheetTimeClockGetParams) SetFields(fields *string)
SetFields adds the fields to the timesheet time clock get params
func (*TimesheetTimeClockGetParams) SetHTTPClient ¶
func (o *TimesheetTimeClockGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the timesheet time clock get params
func (*TimesheetTimeClockGetParams) SetID ¶
func (o *TimesheetTimeClockGetParams) SetID(id int32)
SetID adds the id to the timesheet time clock get params
func (*TimesheetTimeClockGetParams) SetTimeout ¶
func (o *TimesheetTimeClockGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the timesheet time clock get params
func (*TimesheetTimeClockGetParams) WithContext ¶
func (o *TimesheetTimeClockGetParams) WithContext(ctx context.Context) *TimesheetTimeClockGetParams
WithContext adds the context to the timesheet time clock get params
func (*TimesheetTimeClockGetParams) WithFields ¶
func (o *TimesheetTimeClockGetParams) WithFields(fields *string) *TimesheetTimeClockGetParams
WithFields adds the fields to the timesheet time clock get params
func (*TimesheetTimeClockGetParams) WithHTTPClient ¶
func (o *TimesheetTimeClockGetParams) WithHTTPClient(client *http.Client) *TimesheetTimeClockGetParams
WithHTTPClient adds the HTTPClient to the timesheet time clock get params
func (*TimesheetTimeClockGetParams) WithID ¶
func (o *TimesheetTimeClockGetParams) WithID(id int32) *TimesheetTimeClockGetParams
WithID adds the id to the timesheet time clock get params
func (*TimesheetTimeClockGetParams) WithTimeout ¶
func (o *TimesheetTimeClockGetParams) WithTimeout(timeout time.Duration) *TimesheetTimeClockGetParams
WithTimeout adds the timeout to the timesheet time clock get params
func (*TimesheetTimeClockGetParams) WriteToRequest ¶
func (o *TimesheetTimeClockGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TimesheetTimeClockGetReader ¶
type TimesheetTimeClockGetReader struct {
// contains filtered or unexported fields
}
TimesheetTimeClockGetReader is a Reader for the TimesheetTimeClockGet structure.
func (*TimesheetTimeClockGetReader) ReadResponse ¶
func (o *TimesheetTimeClockGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TimesheetTimeClockPresentGetPresentOK ¶
type TimesheetTimeClockPresentGetPresentOK struct {
Payload *models.ResponseWrapperTimeClock
}
TimesheetTimeClockPresentGetPresentOK handles this case with default header values.
successful operation
func NewTimesheetTimeClockPresentGetPresentOK ¶
func NewTimesheetTimeClockPresentGetPresentOK() *TimesheetTimeClockPresentGetPresentOK
NewTimesheetTimeClockPresentGetPresentOK creates a TimesheetTimeClockPresentGetPresentOK with default headers values
func (*TimesheetTimeClockPresentGetPresentOK) Error ¶
func (o *TimesheetTimeClockPresentGetPresentOK) Error() string
func (*TimesheetTimeClockPresentGetPresentOK) GetPayload ¶
func (o *TimesheetTimeClockPresentGetPresentOK) GetPayload() *models.ResponseWrapperTimeClock
type TimesheetTimeClockPresentGetPresentParams ¶
type TimesheetTimeClockPresentGetPresentParams struct { /*EmployeeID Employee ID. Defaults to ID of token owner. */ EmployeeID *int32 /*Fields Fields filter pattern */ Fields *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TimesheetTimeClockPresentGetPresentParams contains all the parameters to send to the API endpoint for the timesheet time clock present get present operation typically these are written to a http.Request
func NewTimesheetTimeClockPresentGetPresentParams ¶
func NewTimesheetTimeClockPresentGetPresentParams() *TimesheetTimeClockPresentGetPresentParams
NewTimesheetTimeClockPresentGetPresentParams creates a new TimesheetTimeClockPresentGetPresentParams object with the default values initialized.
func NewTimesheetTimeClockPresentGetPresentParamsWithContext ¶
func NewTimesheetTimeClockPresentGetPresentParamsWithContext(ctx context.Context) *TimesheetTimeClockPresentGetPresentParams
NewTimesheetTimeClockPresentGetPresentParamsWithContext creates a new TimesheetTimeClockPresentGetPresentParams object with the default values initialized, and the ability to set a context for a request
func NewTimesheetTimeClockPresentGetPresentParamsWithHTTPClient ¶
func NewTimesheetTimeClockPresentGetPresentParamsWithHTTPClient(client *http.Client) *TimesheetTimeClockPresentGetPresentParams
NewTimesheetTimeClockPresentGetPresentParamsWithHTTPClient creates a new TimesheetTimeClockPresentGetPresentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTimesheetTimeClockPresentGetPresentParamsWithTimeout ¶
func NewTimesheetTimeClockPresentGetPresentParamsWithTimeout(timeout time.Duration) *TimesheetTimeClockPresentGetPresentParams
NewTimesheetTimeClockPresentGetPresentParamsWithTimeout creates a new TimesheetTimeClockPresentGetPresentParams object with the default values initialized, and the ability to set a timeout on a request
func (*TimesheetTimeClockPresentGetPresentParams) SetContext ¶
func (o *TimesheetTimeClockPresentGetPresentParams) SetContext(ctx context.Context)
SetContext adds the context to the timesheet time clock present get present params
func (*TimesheetTimeClockPresentGetPresentParams) SetEmployeeID ¶
func (o *TimesheetTimeClockPresentGetPresentParams) SetEmployeeID(employeeID *int32)
SetEmployeeID adds the employeeId to the timesheet time clock present get present params
func (*TimesheetTimeClockPresentGetPresentParams) SetFields ¶
func (o *TimesheetTimeClockPresentGetPresentParams) SetFields(fields *string)
SetFields adds the fields to the timesheet time clock present get present params
func (*TimesheetTimeClockPresentGetPresentParams) SetHTTPClient ¶
func (o *TimesheetTimeClockPresentGetPresentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the timesheet time clock present get present params
func (*TimesheetTimeClockPresentGetPresentParams) SetTimeout ¶
func (o *TimesheetTimeClockPresentGetPresentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the timesheet time clock present get present params
func (*TimesheetTimeClockPresentGetPresentParams) WithContext ¶
func (o *TimesheetTimeClockPresentGetPresentParams) WithContext(ctx context.Context) *TimesheetTimeClockPresentGetPresentParams
WithContext adds the context to the timesheet time clock present get present params
func (*TimesheetTimeClockPresentGetPresentParams) WithEmployeeID ¶
func (o *TimesheetTimeClockPresentGetPresentParams) WithEmployeeID(employeeID *int32) *TimesheetTimeClockPresentGetPresentParams
WithEmployeeID adds the employeeID to the timesheet time clock present get present params
func (*TimesheetTimeClockPresentGetPresentParams) WithFields ¶
func (o *TimesheetTimeClockPresentGetPresentParams) WithFields(fields *string) *TimesheetTimeClockPresentGetPresentParams
WithFields adds the fields to the timesheet time clock present get present params
func (*TimesheetTimeClockPresentGetPresentParams) WithHTTPClient ¶
func (o *TimesheetTimeClockPresentGetPresentParams) WithHTTPClient(client *http.Client) *TimesheetTimeClockPresentGetPresentParams
WithHTTPClient adds the HTTPClient to the timesheet time clock present get present params
func (*TimesheetTimeClockPresentGetPresentParams) WithTimeout ¶
func (o *TimesheetTimeClockPresentGetPresentParams) WithTimeout(timeout time.Duration) *TimesheetTimeClockPresentGetPresentParams
WithTimeout adds the timeout to the timesheet time clock present get present params
func (*TimesheetTimeClockPresentGetPresentParams) WriteToRequest ¶
func (o *TimesheetTimeClockPresentGetPresentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TimesheetTimeClockPresentGetPresentReader ¶
type TimesheetTimeClockPresentGetPresentReader struct {
// contains filtered or unexported fields
}
TimesheetTimeClockPresentGetPresentReader is a Reader for the TimesheetTimeClockPresentGetPresent structure.
func (*TimesheetTimeClockPresentGetPresentReader) ReadResponse ¶
func (o *TimesheetTimeClockPresentGetPresentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TimesheetTimeClockPutOK ¶
type TimesheetTimeClockPutOK struct {
Payload *models.ResponseWrapperTimeClock
}
TimesheetTimeClockPutOK handles this case with default header values.
successful operation
func NewTimesheetTimeClockPutOK ¶
func NewTimesheetTimeClockPutOK() *TimesheetTimeClockPutOK
NewTimesheetTimeClockPutOK creates a TimesheetTimeClockPutOK with default headers values
func (*TimesheetTimeClockPutOK) Error ¶
func (o *TimesheetTimeClockPutOK) Error() string
func (*TimesheetTimeClockPutOK) GetPayload ¶
func (o *TimesheetTimeClockPutOK) GetPayload() *models.ResponseWrapperTimeClock
type TimesheetTimeClockPutParams ¶
type TimesheetTimeClockPutParams struct { /*Body Partial object describing what should be updated */ Body *models.TimeClock /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TimesheetTimeClockPutParams contains all the parameters to send to the API endpoint for the timesheet time clock put operation typically these are written to a http.Request
func NewTimesheetTimeClockPutParams ¶
func NewTimesheetTimeClockPutParams() *TimesheetTimeClockPutParams
NewTimesheetTimeClockPutParams creates a new TimesheetTimeClockPutParams object with the default values initialized.
func NewTimesheetTimeClockPutParamsWithContext ¶
func NewTimesheetTimeClockPutParamsWithContext(ctx context.Context) *TimesheetTimeClockPutParams
NewTimesheetTimeClockPutParamsWithContext creates a new TimesheetTimeClockPutParams object with the default values initialized, and the ability to set a context for a request
func NewTimesheetTimeClockPutParamsWithHTTPClient ¶
func NewTimesheetTimeClockPutParamsWithHTTPClient(client *http.Client) *TimesheetTimeClockPutParams
NewTimesheetTimeClockPutParamsWithHTTPClient creates a new TimesheetTimeClockPutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTimesheetTimeClockPutParamsWithTimeout ¶
func NewTimesheetTimeClockPutParamsWithTimeout(timeout time.Duration) *TimesheetTimeClockPutParams
NewTimesheetTimeClockPutParamsWithTimeout creates a new TimesheetTimeClockPutParams object with the default values initialized, and the ability to set a timeout on a request
func (*TimesheetTimeClockPutParams) SetBody ¶
func (o *TimesheetTimeClockPutParams) SetBody(body *models.TimeClock)
SetBody adds the body to the timesheet time clock put params
func (*TimesheetTimeClockPutParams) SetContext ¶
func (o *TimesheetTimeClockPutParams) SetContext(ctx context.Context)
SetContext adds the context to the timesheet time clock put params
func (*TimesheetTimeClockPutParams) SetHTTPClient ¶
func (o *TimesheetTimeClockPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the timesheet time clock put params
func (*TimesheetTimeClockPutParams) SetID ¶
func (o *TimesheetTimeClockPutParams) SetID(id int32)
SetID adds the id to the timesheet time clock put params
func (*TimesheetTimeClockPutParams) SetTimeout ¶
func (o *TimesheetTimeClockPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the timesheet time clock put params
func (*TimesheetTimeClockPutParams) WithBody ¶
func (o *TimesheetTimeClockPutParams) WithBody(body *models.TimeClock) *TimesheetTimeClockPutParams
WithBody adds the body to the timesheet time clock put params
func (*TimesheetTimeClockPutParams) WithContext ¶
func (o *TimesheetTimeClockPutParams) WithContext(ctx context.Context) *TimesheetTimeClockPutParams
WithContext adds the context to the timesheet time clock put params
func (*TimesheetTimeClockPutParams) WithHTTPClient ¶
func (o *TimesheetTimeClockPutParams) WithHTTPClient(client *http.Client) *TimesheetTimeClockPutParams
WithHTTPClient adds the HTTPClient to the timesheet time clock put params
func (*TimesheetTimeClockPutParams) WithID ¶
func (o *TimesheetTimeClockPutParams) WithID(id int32) *TimesheetTimeClockPutParams
WithID adds the id to the timesheet time clock put params
func (*TimesheetTimeClockPutParams) WithTimeout ¶
func (o *TimesheetTimeClockPutParams) WithTimeout(timeout time.Duration) *TimesheetTimeClockPutParams
WithTimeout adds the timeout to the timesheet time clock put params
func (*TimesheetTimeClockPutParams) WriteToRequest ¶
func (o *TimesheetTimeClockPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TimesheetTimeClockPutReader ¶
type TimesheetTimeClockPutReader struct {
// contains filtered or unexported fields
}
TimesheetTimeClockPutReader is a Reader for the TimesheetTimeClockPut structure.
func (*TimesheetTimeClockPutReader) ReadResponse ¶
func (o *TimesheetTimeClockPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TimesheetTimeClockSearchOK ¶
type TimesheetTimeClockSearchOK struct {
Payload *models.ListResponseTimeClock
}
TimesheetTimeClockSearchOK handles this case with default header values.
successful operation
func NewTimesheetTimeClockSearchOK ¶
func NewTimesheetTimeClockSearchOK() *TimesheetTimeClockSearchOK
NewTimesheetTimeClockSearchOK creates a TimesheetTimeClockSearchOK with default headers values
func (*TimesheetTimeClockSearchOK) Error ¶
func (o *TimesheetTimeClockSearchOK) Error() string
func (*TimesheetTimeClockSearchOK) GetPayload ¶
func (o *TimesheetTimeClockSearchOK) GetPayload() *models.ListResponseTimeClock
type TimesheetTimeClockSearchParams ¶
type TimesheetTimeClockSearchParams struct { /*ActivityID List of IDs */ ActivityID *string /*Count Number of elements to return */ Count *int64 /*DateFrom From and including */ DateFrom *string /*DateTo To and excluding */ DateTo *string /*EmployeeID List of IDs */ EmployeeID *string /*Fields Fields filter pattern */ Fields *string /*From From index */ From *int64 /*HourID List of IDs */ HourID *string /*ID List of IDs */ ID *string /*IsRunning Equals */ IsRunning *bool /*ProjectID List of IDs */ ProjectID *string /*Sorting Sorting pattern */ Sorting *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TimesheetTimeClockSearchParams contains all the parameters to send to the API endpoint for the timesheet time clock search operation typically these are written to a http.Request
func NewTimesheetTimeClockSearchParams ¶
func NewTimesheetTimeClockSearchParams() *TimesheetTimeClockSearchParams
NewTimesheetTimeClockSearchParams creates a new TimesheetTimeClockSearchParams object with the default values initialized.
func NewTimesheetTimeClockSearchParamsWithContext ¶
func NewTimesheetTimeClockSearchParamsWithContext(ctx context.Context) *TimesheetTimeClockSearchParams
NewTimesheetTimeClockSearchParamsWithContext creates a new TimesheetTimeClockSearchParams object with the default values initialized, and the ability to set a context for a request
func NewTimesheetTimeClockSearchParamsWithHTTPClient ¶
func NewTimesheetTimeClockSearchParamsWithHTTPClient(client *http.Client) *TimesheetTimeClockSearchParams
NewTimesheetTimeClockSearchParamsWithHTTPClient creates a new TimesheetTimeClockSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTimesheetTimeClockSearchParamsWithTimeout ¶
func NewTimesheetTimeClockSearchParamsWithTimeout(timeout time.Duration) *TimesheetTimeClockSearchParams
NewTimesheetTimeClockSearchParamsWithTimeout creates a new TimesheetTimeClockSearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*TimesheetTimeClockSearchParams) SetActivityID ¶
func (o *TimesheetTimeClockSearchParams) SetActivityID(activityID *string)
SetActivityID adds the activityId to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) SetContext ¶
func (o *TimesheetTimeClockSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) SetCount ¶
func (o *TimesheetTimeClockSearchParams) SetCount(count *int64)
SetCount adds the count to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) SetDateFrom ¶
func (o *TimesheetTimeClockSearchParams) SetDateFrom(dateFrom *string)
SetDateFrom adds the dateFrom to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) SetDateTo ¶
func (o *TimesheetTimeClockSearchParams) SetDateTo(dateTo *string)
SetDateTo adds the dateTo to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) SetEmployeeID ¶
func (o *TimesheetTimeClockSearchParams) SetEmployeeID(employeeID *string)
SetEmployeeID adds the employeeId to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) SetFields ¶
func (o *TimesheetTimeClockSearchParams) SetFields(fields *string)
SetFields adds the fields to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) SetFrom ¶
func (o *TimesheetTimeClockSearchParams) SetFrom(from *int64)
SetFrom adds the from to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) SetHTTPClient ¶
func (o *TimesheetTimeClockSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) SetHourID ¶
func (o *TimesheetTimeClockSearchParams) SetHourID(hourID *string)
SetHourID adds the hourId to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) SetID ¶
func (o *TimesheetTimeClockSearchParams) SetID(id *string)
SetID adds the id to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) SetIsRunning ¶
func (o *TimesheetTimeClockSearchParams) SetIsRunning(isRunning *bool)
SetIsRunning adds the isRunning to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) SetProjectID ¶
func (o *TimesheetTimeClockSearchParams) SetProjectID(projectID *string)
SetProjectID adds the projectId to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) SetSorting ¶
func (o *TimesheetTimeClockSearchParams) SetSorting(sorting *string)
SetSorting adds the sorting to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) SetTimeout ¶
func (o *TimesheetTimeClockSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) WithActivityID ¶
func (o *TimesheetTimeClockSearchParams) WithActivityID(activityID *string) *TimesheetTimeClockSearchParams
WithActivityID adds the activityID to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) WithContext ¶
func (o *TimesheetTimeClockSearchParams) WithContext(ctx context.Context) *TimesheetTimeClockSearchParams
WithContext adds the context to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) WithCount ¶
func (o *TimesheetTimeClockSearchParams) WithCount(count *int64) *TimesheetTimeClockSearchParams
WithCount adds the count to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) WithDateFrom ¶
func (o *TimesheetTimeClockSearchParams) WithDateFrom(dateFrom *string) *TimesheetTimeClockSearchParams
WithDateFrom adds the dateFrom to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) WithDateTo ¶
func (o *TimesheetTimeClockSearchParams) WithDateTo(dateTo *string) *TimesheetTimeClockSearchParams
WithDateTo adds the dateTo to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) WithEmployeeID ¶
func (o *TimesheetTimeClockSearchParams) WithEmployeeID(employeeID *string) *TimesheetTimeClockSearchParams
WithEmployeeID adds the employeeID to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) WithFields ¶
func (o *TimesheetTimeClockSearchParams) WithFields(fields *string) *TimesheetTimeClockSearchParams
WithFields adds the fields to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) WithFrom ¶
func (o *TimesheetTimeClockSearchParams) WithFrom(from *int64) *TimesheetTimeClockSearchParams
WithFrom adds the from to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) WithHTTPClient ¶
func (o *TimesheetTimeClockSearchParams) WithHTTPClient(client *http.Client) *TimesheetTimeClockSearchParams
WithHTTPClient adds the HTTPClient to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) WithHourID ¶
func (o *TimesheetTimeClockSearchParams) WithHourID(hourID *string) *TimesheetTimeClockSearchParams
WithHourID adds the hourID to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) WithID ¶
func (o *TimesheetTimeClockSearchParams) WithID(id *string) *TimesheetTimeClockSearchParams
WithID adds the id to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) WithIsRunning ¶
func (o *TimesheetTimeClockSearchParams) WithIsRunning(isRunning *bool) *TimesheetTimeClockSearchParams
WithIsRunning adds the isRunning to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) WithProjectID ¶
func (o *TimesheetTimeClockSearchParams) WithProjectID(projectID *string) *TimesheetTimeClockSearchParams
WithProjectID adds the projectID to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) WithSorting ¶
func (o *TimesheetTimeClockSearchParams) WithSorting(sorting *string) *TimesheetTimeClockSearchParams
WithSorting adds the sorting to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) WithTimeout ¶
func (o *TimesheetTimeClockSearchParams) WithTimeout(timeout time.Duration) *TimesheetTimeClockSearchParams
WithTimeout adds the timeout to the timesheet time clock search params
func (*TimesheetTimeClockSearchParams) WriteToRequest ¶
func (o *TimesheetTimeClockSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TimesheetTimeClockSearchReader ¶
type TimesheetTimeClockSearchReader struct {
// contains filtered or unexported fields
}
TimesheetTimeClockSearchReader is a Reader for the TimesheetTimeClockSearch structure.
func (*TimesheetTimeClockSearchReader) ReadResponse ¶
func (o *TimesheetTimeClockSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TimesheetTimeClockStartStartOK ¶
type TimesheetTimeClockStartStartOK struct {
Payload *models.ResponseWrapperTimeClock
}
TimesheetTimeClockStartStartOK handles this case with default header values.
successful operation
func NewTimesheetTimeClockStartStartOK ¶
func NewTimesheetTimeClockStartStartOK() *TimesheetTimeClockStartStartOK
NewTimesheetTimeClockStartStartOK creates a TimesheetTimeClockStartStartOK with default headers values
func (*TimesheetTimeClockStartStartOK) Error ¶
func (o *TimesheetTimeClockStartStartOK) Error() string
func (*TimesheetTimeClockStartStartOK) GetPayload ¶
func (o *TimesheetTimeClockStartStartOK) GetPayload() *models.ResponseWrapperTimeClock
type TimesheetTimeClockStartStartParams ¶
type TimesheetTimeClockStartStartParams struct { /*ActivityID Activity ID */ ActivityID int32 /*Date Optional. Default is today’s date */ Date *string /*EmployeeID Employee ID. Defaults to ID of token owner. */ EmployeeID *int32 /*ProjectID Project ID */ ProjectID *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TimesheetTimeClockStartStartParams contains all the parameters to send to the API endpoint for the timesheet time clock start start operation typically these are written to a http.Request
func NewTimesheetTimeClockStartStartParams ¶
func NewTimesheetTimeClockStartStartParams() *TimesheetTimeClockStartStartParams
NewTimesheetTimeClockStartStartParams creates a new TimesheetTimeClockStartStartParams object with the default values initialized.
func NewTimesheetTimeClockStartStartParamsWithContext ¶
func NewTimesheetTimeClockStartStartParamsWithContext(ctx context.Context) *TimesheetTimeClockStartStartParams
NewTimesheetTimeClockStartStartParamsWithContext creates a new TimesheetTimeClockStartStartParams object with the default values initialized, and the ability to set a context for a request
func NewTimesheetTimeClockStartStartParamsWithHTTPClient ¶
func NewTimesheetTimeClockStartStartParamsWithHTTPClient(client *http.Client) *TimesheetTimeClockStartStartParams
NewTimesheetTimeClockStartStartParamsWithHTTPClient creates a new TimesheetTimeClockStartStartParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTimesheetTimeClockStartStartParamsWithTimeout ¶
func NewTimesheetTimeClockStartStartParamsWithTimeout(timeout time.Duration) *TimesheetTimeClockStartStartParams
NewTimesheetTimeClockStartStartParamsWithTimeout creates a new TimesheetTimeClockStartStartParams object with the default values initialized, and the ability to set a timeout on a request
func (*TimesheetTimeClockStartStartParams) SetActivityID ¶
func (o *TimesheetTimeClockStartStartParams) SetActivityID(activityID int32)
SetActivityID adds the activityId to the timesheet time clock start start params
func (*TimesheetTimeClockStartStartParams) SetContext ¶
func (o *TimesheetTimeClockStartStartParams) SetContext(ctx context.Context)
SetContext adds the context to the timesheet time clock start start params
func (*TimesheetTimeClockStartStartParams) SetDate ¶
func (o *TimesheetTimeClockStartStartParams) SetDate(date *string)
SetDate adds the date to the timesheet time clock start start params
func (*TimesheetTimeClockStartStartParams) SetEmployeeID ¶
func (o *TimesheetTimeClockStartStartParams) SetEmployeeID(employeeID *int32)
SetEmployeeID adds the employeeId to the timesheet time clock start start params
func (*TimesheetTimeClockStartStartParams) SetHTTPClient ¶
func (o *TimesheetTimeClockStartStartParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the timesheet time clock start start params
func (*TimesheetTimeClockStartStartParams) SetProjectID ¶
func (o *TimesheetTimeClockStartStartParams) SetProjectID(projectID *int32)
SetProjectID adds the projectId to the timesheet time clock start start params
func (*TimesheetTimeClockStartStartParams) SetTimeout ¶
func (o *TimesheetTimeClockStartStartParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the timesheet time clock start start params
func (*TimesheetTimeClockStartStartParams) WithActivityID ¶
func (o *TimesheetTimeClockStartStartParams) WithActivityID(activityID int32) *TimesheetTimeClockStartStartParams
WithActivityID adds the activityID to the timesheet time clock start start params
func (*TimesheetTimeClockStartStartParams) WithContext ¶
func (o *TimesheetTimeClockStartStartParams) WithContext(ctx context.Context) *TimesheetTimeClockStartStartParams
WithContext adds the context to the timesheet time clock start start params
func (*TimesheetTimeClockStartStartParams) WithDate ¶
func (o *TimesheetTimeClockStartStartParams) WithDate(date *string) *TimesheetTimeClockStartStartParams
WithDate adds the date to the timesheet time clock start start params
func (*TimesheetTimeClockStartStartParams) WithEmployeeID ¶
func (o *TimesheetTimeClockStartStartParams) WithEmployeeID(employeeID *int32) *TimesheetTimeClockStartStartParams
WithEmployeeID adds the employeeID to the timesheet time clock start start params
func (*TimesheetTimeClockStartStartParams) WithHTTPClient ¶
func (o *TimesheetTimeClockStartStartParams) WithHTTPClient(client *http.Client) *TimesheetTimeClockStartStartParams
WithHTTPClient adds the HTTPClient to the timesheet time clock start start params
func (*TimesheetTimeClockStartStartParams) WithProjectID ¶
func (o *TimesheetTimeClockStartStartParams) WithProjectID(projectID *int32) *TimesheetTimeClockStartStartParams
WithProjectID adds the projectID to the timesheet time clock start start params
func (*TimesheetTimeClockStartStartParams) WithTimeout ¶
func (o *TimesheetTimeClockStartStartParams) WithTimeout(timeout time.Duration) *TimesheetTimeClockStartStartParams
WithTimeout adds the timeout to the timesheet time clock start start params
func (*TimesheetTimeClockStartStartParams) WriteToRequest ¶
func (o *TimesheetTimeClockStartStartParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TimesheetTimeClockStartStartReader ¶
type TimesheetTimeClockStartStartReader struct {
// contains filtered or unexported fields
}
TimesheetTimeClockStartStartReader is a Reader for the TimesheetTimeClockStartStart structure.
func (*TimesheetTimeClockStartStartReader) ReadResponse ¶
func (o *TimesheetTimeClockStartStartReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TimesheetTimeClockStopStopDefault ¶
type TimesheetTimeClockStopStopDefault struct {
// contains filtered or unexported fields
}
TimesheetTimeClockStopStopDefault handles this case with default header values.
successful operation
func NewTimesheetTimeClockStopStopDefault ¶
func NewTimesheetTimeClockStopStopDefault(code int) *TimesheetTimeClockStopStopDefault
NewTimesheetTimeClockStopStopDefault creates a TimesheetTimeClockStopStopDefault with default headers values
func (*TimesheetTimeClockStopStopDefault) Code ¶
func (o *TimesheetTimeClockStopStopDefault) Code() int
Code gets the status code for the timesheet time clock stop stop default response
func (*TimesheetTimeClockStopStopDefault) Error ¶
func (o *TimesheetTimeClockStopStopDefault) Error() string
type TimesheetTimeClockStopStopParams ¶
type TimesheetTimeClockStopStopParams struct { /*ID Element ID */ ID int32 /*Version Number of current version */ Version *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TimesheetTimeClockStopStopParams contains all the parameters to send to the API endpoint for the timesheet time clock stop stop operation typically these are written to a http.Request
func NewTimesheetTimeClockStopStopParams ¶
func NewTimesheetTimeClockStopStopParams() *TimesheetTimeClockStopStopParams
NewTimesheetTimeClockStopStopParams creates a new TimesheetTimeClockStopStopParams object with the default values initialized.
func NewTimesheetTimeClockStopStopParamsWithContext ¶
func NewTimesheetTimeClockStopStopParamsWithContext(ctx context.Context) *TimesheetTimeClockStopStopParams
NewTimesheetTimeClockStopStopParamsWithContext creates a new TimesheetTimeClockStopStopParams object with the default values initialized, and the ability to set a context for a request
func NewTimesheetTimeClockStopStopParamsWithHTTPClient ¶
func NewTimesheetTimeClockStopStopParamsWithHTTPClient(client *http.Client) *TimesheetTimeClockStopStopParams
NewTimesheetTimeClockStopStopParamsWithHTTPClient creates a new TimesheetTimeClockStopStopParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTimesheetTimeClockStopStopParamsWithTimeout ¶
func NewTimesheetTimeClockStopStopParamsWithTimeout(timeout time.Duration) *TimesheetTimeClockStopStopParams
NewTimesheetTimeClockStopStopParamsWithTimeout creates a new TimesheetTimeClockStopStopParams object with the default values initialized, and the ability to set a timeout on a request
func (*TimesheetTimeClockStopStopParams) SetContext ¶
func (o *TimesheetTimeClockStopStopParams) SetContext(ctx context.Context)
SetContext adds the context to the timesheet time clock stop stop params
func (*TimesheetTimeClockStopStopParams) SetHTTPClient ¶
func (o *TimesheetTimeClockStopStopParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the timesheet time clock stop stop params
func (*TimesheetTimeClockStopStopParams) SetID ¶
func (o *TimesheetTimeClockStopStopParams) SetID(id int32)
SetID adds the id to the timesheet time clock stop stop params
func (*TimesheetTimeClockStopStopParams) SetTimeout ¶
func (o *TimesheetTimeClockStopStopParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the timesheet time clock stop stop params
func (*TimesheetTimeClockStopStopParams) SetVersion ¶
func (o *TimesheetTimeClockStopStopParams) SetVersion(version *int32)
SetVersion adds the version to the timesheet time clock stop stop params
func (*TimesheetTimeClockStopStopParams) WithContext ¶
func (o *TimesheetTimeClockStopStopParams) WithContext(ctx context.Context) *TimesheetTimeClockStopStopParams
WithContext adds the context to the timesheet time clock stop stop params
func (*TimesheetTimeClockStopStopParams) WithHTTPClient ¶
func (o *TimesheetTimeClockStopStopParams) WithHTTPClient(client *http.Client) *TimesheetTimeClockStopStopParams
WithHTTPClient adds the HTTPClient to the timesheet time clock stop stop params
func (*TimesheetTimeClockStopStopParams) WithID ¶
func (o *TimesheetTimeClockStopStopParams) WithID(id int32) *TimesheetTimeClockStopStopParams
WithID adds the id to the timesheet time clock stop stop params
func (*TimesheetTimeClockStopStopParams) WithTimeout ¶
func (o *TimesheetTimeClockStopStopParams) WithTimeout(timeout time.Duration) *TimesheetTimeClockStopStopParams
WithTimeout adds the timeout to the timesheet time clock stop stop params
func (*TimesheetTimeClockStopStopParams) WithVersion ¶
func (o *TimesheetTimeClockStopStopParams) WithVersion(version *int32) *TimesheetTimeClockStopStopParams
WithVersion adds the version to the timesheet time clock stop stop params
func (*TimesheetTimeClockStopStopParams) WriteToRequest ¶
func (o *TimesheetTimeClockStopStopParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TimesheetTimeClockStopStopReader ¶
type TimesheetTimeClockStopStopReader struct {
// contains filtered or unexported fields
}
TimesheetTimeClockStopStopReader is a Reader for the TimesheetTimeClockStopStop structure.
func (*TimesheetTimeClockStopStopReader) ReadResponse ¶
func (o *TimesheetTimeClockStopStopReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- time_clock_client.go
- timesheet_time_clock_get_parameters.go
- timesheet_time_clock_get_responses.go
- timesheet_time_clock_present_get_present_parameters.go
- timesheet_time_clock_present_get_present_responses.go
- timesheet_time_clock_put_parameters.go
- timesheet_time_clock_put_responses.go
- timesheet_time_clock_search_parameters.go
- timesheet_time_clock_search_responses.go
- timesheet_time_clock_start_start_parameters.go
- timesheet_time_clock_start_start_responses.go
- timesheet_time_clock_stop_stop_parameters.go
- timesheet_time_clock_stop_stop_responses.go