entry

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for entry API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) TimesheetEntryDelete

func (a *Client) TimesheetEntryDelete(params *TimesheetEntryDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

TimesheetEntryDelete deletes timesheet entry by ID

func (*Client) TimesheetEntryGet

func (a *Client) TimesheetEntryGet(params *TimesheetEntryGetParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetEntryGetOK, error)

TimesheetEntryGet finds timesheet entry by ID

func (*Client) TimesheetEntryListPostList

TimesheetEntryListPostList adds new timesheet entry multiple objects for several users can be sent in the same request

func (*Client) TimesheetEntryListPutList

func (a *Client) TimesheetEntryListPutList(params *TimesheetEntryListPutListParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetEntryListPutListOK, error)

TimesheetEntryListPutList updates timesheet entry multiple objects for different users can be sent in the same request

func (*Client) TimesheetEntryPost

func (a *Client) TimesheetEntryPost(params *TimesheetEntryPostParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetEntryPostCreated, error)

TimesheetEntryPost adds new timesheet entry only one entry per employee date activity project combination is supported

func (*Client) TimesheetEntryPut

func (a *Client) TimesheetEntryPut(params *TimesheetEntryPutParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetEntryPutOK, error)

TimesheetEntryPut updates timesheet entry by ID note timesheet entry object fields which are present but not set or set to 0 will be nulled

func (*Client) TimesheetEntryRecentActivitiesGetRecentActivities

TimesheetEntryRecentActivitiesGetRecentActivities finds recently used timesheet activities

func (*Client) TimesheetEntryRecentProjectsGetRecentProjects

TimesheetEntryRecentProjectsGetRecentProjects finds projects with recent activities timesheet entry registered

func (*Client) TimesheetEntrySearch

func (a *Client) TimesheetEntrySearch(params *TimesheetEntrySearchParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetEntrySearchOK, error)

TimesheetEntrySearch finds timesheet entry corresponding with sent data

func (*Client) TimesheetEntryTotalHoursGetTotalHours

TimesheetEntryTotalHoursGetTotalHours finds total hours registered on an employee in a specific period

type ClientService

type ClientService interface {
	TimesheetEntryDelete(params *TimesheetEntryDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

	TimesheetEntryGet(params *TimesheetEntryGetParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetEntryGetOK, error)

	TimesheetEntryListPostList(params *TimesheetEntryListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetEntryListPostListCreated, error)

	TimesheetEntryListPutList(params *TimesheetEntryListPutListParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetEntryListPutListOK, error)

	TimesheetEntryPost(params *TimesheetEntryPostParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetEntryPostCreated, error)

	TimesheetEntryPut(params *TimesheetEntryPutParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetEntryPutOK, error)

	TimesheetEntryRecentActivitiesGetRecentActivities(params *TimesheetEntryRecentActivitiesGetRecentActivitiesParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetEntryRecentActivitiesGetRecentActivitiesOK, error)

	TimesheetEntryRecentProjectsGetRecentProjects(params *TimesheetEntryRecentProjectsGetRecentProjectsParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetEntryRecentProjectsGetRecentProjectsOK, error)

	TimesheetEntrySearch(params *TimesheetEntrySearchParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetEntrySearchOK, error)

	TimesheetEntryTotalHoursGetTotalHours(params *TimesheetEntryTotalHoursGetTotalHoursParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetEntryTotalHoursGetTotalHoursOK, 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 entry API client.

type TimesheetEntryDeleteDefault

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

TimesheetEntryDeleteDefault handles this case with default header values.

successful operation

func NewTimesheetEntryDeleteDefault

func NewTimesheetEntryDeleteDefault(code int) *TimesheetEntryDeleteDefault

NewTimesheetEntryDeleteDefault creates a TimesheetEntryDeleteDefault with default headers values

func (*TimesheetEntryDeleteDefault) Code

func (o *TimesheetEntryDeleteDefault) Code() int

Code gets the status code for the timesheet entry delete default response

func (*TimesheetEntryDeleteDefault) Error

type TimesheetEntryDeleteParams

type TimesheetEntryDeleteParams struct {

	/*ID
	  Element ID

	*/
	ID int32
	/*Version
	  Number of current version

	*/
	Version *int32

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

TimesheetEntryDeleteParams contains all the parameters to send to the API endpoint for the timesheet entry delete operation typically these are written to a http.Request

func NewTimesheetEntryDeleteParams

func NewTimesheetEntryDeleteParams() *TimesheetEntryDeleteParams

NewTimesheetEntryDeleteParams creates a new TimesheetEntryDeleteParams object with the default values initialized.

func NewTimesheetEntryDeleteParamsWithContext

func NewTimesheetEntryDeleteParamsWithContext(ctx context.Context) *TimesheetEntryDeleteParams

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

func NewTimesheetEntryDeleteParamsWithHTTPClient

func NewTimesheetEntryDeleteParamsWithHTTPClient(client *http.Client) *TimesheetEntryDeleteParams

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

func NewTimesheetEntryDeleteParamsWithTimeout

func NewTimesheetEntryDeleteParamsWithTimeout(timeout time.Duration) *TimesheetEntryDeleteParams

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

func (*TimesheetEntryDeleteParams) SetContext

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

SetContext adds the context to the timesheet entry delete params

func (*TimesheetEntryDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the timesheet entry delete params

func (*TimesheetEntryDeleteParams) SetID

func (o *TimesheetEntryDeleteParams) SetID(id int32)

SetID adds the id to the timesheet entry delete params

func (*TimesheetEntryDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the timesheet entry delete params

func (*TimesheetEntryDeleteParams) SetVersion

func (o *TimesheetEntryDeleteParams) SetVersion(version *int32)

SetVersion adds the version to the timesheet entry delete params

func (*TimesheetEntryDeleteParams) WithContext

WithContext adds the context to the timesheet entry delete params

func (*TimesheetEntryDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the timesheet entry delete params

func (*TimesheetEntryDeleteParams) WithID

WithID adds the id to the timesheet entry delete params

func (*TimesheetEntryDeleteParams) WithTimeout

WithTimeout adds the timeout to the timesheet entry delete params

func (*TimesheetEntryDeleteParams) WithVersion

WithVersion adds the version to the timesheet entry delete params

func (*TimesheetEntryDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TimesheetEntryDeleteReader

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

TimesheetEntryDeleteReader is a Reader for the TimesheetEntryDelete structure.

func (*TimesheetEntryDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TimesheetEntryGetOK

type TimesheetEntryGetOK struct {
	Payload *models.ResponseWrapperTimesheetEntry
}

TimesheetEntryGetOK handles this case with default header values.

successful operation

func NewTimesheetEntryGetOK

func NewTimesheetEntryGetOK() *TimesheetEntryGetOK

NewTimesheetEntryGetOK creates a TimesheetEntryGetOK with default headers values

func (*TimesheetEntryGetOK) Error

func (o *TimesheetEntryGetOK) Error() string

func (*TimesheetEntryGetOK) GetPayload

type TimesheetEntryGetParams

type TimesheetEntryGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

TimesheetEntryGetParams contains all the parameters to send to the API endpoint for the timesheet entry get operation typically these are written to a http.Request

func NewTimesheetEntryGetParams

func NewTimesheetEntryGetParams() *TimesheetEntryGetParams

NewTimesheetEntryGetParams creates a new TimesheetEntryGetParams object with the default values initialized.

func NewTimesheetEntryGetParamsWithContext

func NewTimesheetEntryGetParamsWithContext(ctx context.Context) *TimesheetEntryGetParams

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

func NewTimesheetEntryGetParamsWithHTTPClient

func NewTimesheetEntryGetParamsWithHTTPClient(client *http.Client) *TimesheetEntryGetParams

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

func NewTimesheetEntryGetParamsWithTimeout

func NewTimesheetEntryGetParamsWithTimeout(timeout time.Duration) *TimesheetEntryGetParams

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

func (*TimesheetEntryGetParams) SetContext

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

SetContext adds the context to the timesheet entry get params

func (*TimesheetEntryGetParams) SetFields

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

SetFields adds the fields to the timesheet entry get params

func (*TimesheetEntryGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the timesheet entry get params

func (*TimesheetEntryGetParams) SetID

func (o *TimesheetEntryGetParams) SetID(id int32)

SetID adds the id to the timesheet entry get params

func (*TimesheetEntryGetParams) SetTimeout

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

SetTimeout adds the timeout to the timesheet entry get params

func (*TimesheetEntryGetParams) WithContext

WithContext adds the context to the timesheet entry get params

func (*TimesheetEntryGetParams) WithFields

func (o *TimesheetEntryGetParams) WithFields(fields *string) *TimesheetEntryGetParams

WithFields adds the fields to the timesheet entry get params

func (*TimesheetEntryGetParams) WithHTTPClient

func (o *TimesheetEntryGetParams) WithHTTPClient(client *http.Client) *TimesheetEntryGetParams

WithHTTPClient adds the HTTPClient to the timesheet entry get params

func (*TimesheetEntryGetParams) WithID

WithID adds the id to the timesheet entry get params

func (*TimesheetEntryGetParams) WithTimeout

WithTimeout adds the timeout to the timesheet entry get params

func (*TimesheetEntryGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TimesheetEntryGetReader

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

TimesheetEntryGetReader is a Reader for the TimesheetEntryGet structure.

func (*TimesheetEntryGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TimesheetEntryListPostListCreated

type TimesheetEntryListPostListCreated struct {
	Payload *models.ListResponseTimesheetEntry
}

TimesheetEntryListPostListCreated handles this case with default header values.

successfully created

func NewTimesheetEntryListPostListCreated

func NewTimesheetEntryListPostListCreated() *TimesheetEntryListPostListCreated

NewTimesheetEntryListPostListCreated creates a TimesheetEntryListPostListCreated with default headers values

func (*TimesheetEntryListPostListCreated) Error

func (*TimesheetEntryListPostListCreated) GetPayload

type TimesheetEntryListPostListParams

type TimesheetEntryListPostListParams struct {

	/*Body
	  List of timesheet entry objects

	*/
	Body []*models.TimesheetEntry

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

TimesheetEntryListPostListParams contains all the parameters to send to the API endpoint for the timesheet entry list post list operation typically these are written to a http.Request

func NewTimesheetEntryListPostListParams

func NewTimesheetEntryListPostListParams() *TimesheetEntryListPostListParams

NewTimesheetEntryListPostListParams creates a new TimesheetEntryListPostListParams object with the default values initialized.

func NewTimesheetEntryListPostListParamsWithContext

func NewTimesheetEntryListPostListParamsWithContext(ctx context.Context) *TimesheetEntryListPostListParams

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

func NewTimesheetEntryListPostListParamsWithHTTPClient

func NewTimesheetEntryListPostListParamsWithHTTPClient(client *http.Client) *TimesheetEntryListPostListParams

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

func NewTimesheetEntryListPostListParamsWithTimeout

func NewTimesheetEntryListPostListParamsWithTimeout(timeout time.Duration) *TimesheetEntryListPostListParams

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

func (*TimesheetEntryListPostListParams) SetBody

SetBody adds the body to the timesheet entry list post list params

func (*TimesheetEntryListPostListParams) SetContext

SetContext adds the context to the timesheet entry list post list params

func (*TimesheetEntryListPostListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the timesheet entry list post list params

func (*TimesheetEntryListPostListParams) SetTimeout

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

SetTimeout adds the timeout to the timesheet entry list post list params

func (*TimesheetEntryListPostListParams) WithBody

WithBody adds the body to the timesheet entry list post list params

func (*TimesheetEntryListPostListParams) WithContext

WithContext adds the context to the timesheet entry list post list params

func (*TimesheetEntryListPostListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the timesheet entry list post list params

func (*TimesheetEntryListPostListParams) WithTimeout

WithTimeout adds the timeout to the timesheet entry list post list params

func (*TimesheetEntryListPostListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TimesheetEntryListPostListReader

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

TimesheetEntryListPostListReader is a Reader for the TimesheetEntryListPostList structure.

func (*TimesheetEntryListPostListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TimesheetEntryListPutListOK

type TimesheetEntryListPutListOK struct {
	Payload *models.ListResponseTimesheetEntry
}

TimesheetEntryListPutListOK handles this case with default header values.

successful operation

func NewTimesheetEntryListPutListOK

func NewTimesheetEntryListPutListOK() *TimesheetEntryListPutListOK

NewTimesheetEntryListPutListOK creates a TimesheetEntryListPutListOK with default headers values

func (*TimesheetEntryListPutListOK) Error

func (*TimesheetEntryListPutListOK) GetPayload

type TimesheetEntryListPutListParams

type TimesheetEntryListPutListParams struct {

	/*Body
	  List of timesheet entry objects to update

	*/
	Body []*models.TimesheetEntry

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

TimesheetEntryListPutListParams contains all the parameters to send to the API endpoint for the timesheet entry list put list operation typically these are written to a http.Request

func NewTimesheetEntryListPutListParams

func NewTimesheetEntryListPutListParams() *TimesheetEntryListPutListParams

NewTimesheetEntryListPutListParams creates a new TimesheetEntryListPutListParams object with the default values initialized.

func NewTimesheetEntryListPutListParamsWithContext

func NewTimesheetEntryListPutListParamsWithContext(ctx context.Context) *TimesheetEntryListPutListParams

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

func NewTimesheetEntryListPutListParamsWithHTTPClient

func NewTimesheetEntryListPutListParamsWithHTTPClient(client *http.Client) *TimesheetEntryListPutListParams

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

func NewTimesheetEntryListPutListParamsWithTimeout

func NewTimesheetEntryListPutListParamsWithTimeout(timeout time.Duration) *TimesheetEntryListPutListParams

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

func (*TimesheetEntryListPutListParams) SetBody

SetBody adds the body to the timesheet entry list put list params

func (*TimesheetEntryListPutListParams) SetContext

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

SetContext adds the context to the timesheet entry list put list params

func (*TimesheetEntryListPutListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the timesheet entry list put list params

func (*TimesheetEntryListPutListParams) SetTimeout

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

SetTimeout adds the timeout to the timesheet entry list put list params

func (*TimesheetEntryListPutListParams) WithBody

WithBody adds the body to the timesheet entry list put list params

func (*TimesheetEntryListPutListParams) WithContext

WithContext adds the context to the timesheet entry list put list params

func (*TimesheetEntryListPutListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the timesheet entry list put list params

func (*TimesheetEntryListPutListParams) WithTimeout

WithTimeout adds the timeout to the timesheet entry list put list params

func (*TimesheetEntryListPutListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TimesheetEntryListPutListReader

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

TimesheetEntryListPutListReader is a Reader for the TimesheetEntryListPutList structure.

func (*TimesheetEntryListPutListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TimesheetEntryPostCreated

type TimesheetEntryPostCreated struct {
	Payload *models.ResponseWrapperTimesheetEntry
}

TimesheetEntryPostCreated handles this case with default header values.

successfully created

func NewTimesheetEntryPostCreated

func NewTimesheetEntryPostCreated() *TimesheetEntryPostCreated

NewTimesheetEntryPostCreated creates a TimesheetEntryPostCreated with default headers values

func (*TimesheetEntryPostCreated) Error

func (o *TimesheetEntryPostCreated) Error() string

func (*TimesheetEntryPostCreated) GetPayload

type TimesheetEntryPostParams

type TimesheetEntryPostParams struct {

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

	*/
	Body *models.TimesheetEntry

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

TimesheetEntryPostParams contains all the parameters to send to the API endpoint for the timesheet entry post operation typically these are written to a http.Request

func NewTimesheetEntryPostParams

func NewTimesheetEntryPostParams() *TimesheetEntryPostParams

NewTimesheetEntryPostParams creates a new TimesheetEntryPostParams object with the default values initialized.

func NewTimesheetEntryPostParamsWithContext

func NewTimesheetEntryPostParamsWithContext(ctx context.Context) *TimesheetEntryPostParams

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

func NewTimesheetEntryPostParamsWithHTTPClient

func NewTimesheetEntryPostParamsWithHTTPClient(client *http.Client) *TimesheetEntryPostParams

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

func NewTimesheetEntryPostParamsWithTimeout

func NewTimesheetEntryPostParamsWithTimeout(timeout time.Duration) *TimesheetEntryPostParams

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

func (*TimesheetEntryPostParams) SetBody

SetBody adds the body to the timesheet entry post params

func (*TimesheetEntryPostParams) SetContext

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

SetContext adds the context to the timesheet entry post params

func (*TimesheetEntryPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the timesheet entry post params

func (*TimesheetEntryPostParams) SetTimeout

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

SetTimeout adds the timeout to the timesheet entry post params

func (*TimesheetEntryPostParams) WithBody

WithBody adds the body to the timesheet entry post params

func (*TimesheetEntryPostParams) WithContext

WithContext adds the context to the timesheet entry post params

func (*TimesheetEntryPostParams) WithHTTPClient

func (o *TimesheetEntryPostParams) WithHTTPClient(client *http.Client) *TimesheetEntryPostParams

WithHTTPClient adds the HTTPClient to the timesheet entry post params

func (*TimesheetEntryPostParams) WithTimeout

WithTimeout adds the timeout to the timesheet entry post params

func (*TimesheetEntryPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TimesheetEntryPostReader

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

TimesheetEntryPostReader is a Reader for the TimesheetEntryPost structure.

func (*TimesheetEntryPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TimesheetEntryPutOK

type TimesheetEntryPutOK struct {
	Payload *models.ResponseWrapperTimesheetEntry
}

TimesheetEntryPutOK handles this case with default header values.

successful operation

func NewTimesheetEntryPutOK

func NewTimesheetEntryPutOK() *TimesheetEntryPutOK

NewTimesheetEntryPutOK creates a TimesheetEntryPutOK with default headers values

func (*TimesheetEntryPutOK) Error

func (o *TimesheetEntryPutOK) Error() string

func (*TimesheetEntryPutOK) GetPayload

type TimesheetEntryPutParams

type TimesheetEntryPutParams struct {

	/*Body
	  Partial object describing what should be updated

	*/
	Body *models.TimesheetEntry
	/*ID
	  Element ID

	*/
	ID int32

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

TimesheetEntryPutParams contains all the parameters to send to the API endpoint for the timesheet entry put operation typically these are written to a http.Request

func NewTimesheetEntryPutParams

func NewTimesheetEntryPutParams() *TimesheetEntryPutParams

NewTimesheetEntryPutParams creates a new TimesheetEntryPutParams object with the default values initialized.

func NewTimesheetEntryPutParamsWithContext

func NewTimesheetEntryPutParamsWithContext(ctx context.Context) *TimesheetEntryPutParams

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

func NewTimesheetEntryPutParamsWithHTTPClient

func NewTimesheetEntryPutParamsWithHTTPClient(client *http.Client) *TimesheetEntryPutParams

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

func NewTimesheetEntryPutParamsWithTimeout

func NewTimesheetEntryPutParamsWithTimeout(timeout time.Duration) *TimesheetEntryPutParams

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

func (*TimesheetEntryPutParams) SetBody

func (o *TimesheetEntryPutParams) SetBody(body *models.TimesheetEntry)

SetBody adds the body to the timesheet entry put params

func (*TimesheetEntryPutParams) SetContext

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

SetContext adds the context to the timesheet entry put params

func (*TimesheetEntryPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the timesheet entry put params

func (*TimesheetEntryPutParams) SetID

func (o *TimesheetEntryPutParams) SetID(id int32)

SetID adds the id to the timesheet entry put params

func (*TimesheetEntryPutParams) SetTimeout

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

SetTimeout adds the timeout to the timesheet entry put params

func (*TimesheetEntryPutParams) WithBody

WithBody adds the body to the timesheet entry put params

func (*TimesheetEntryPutParams) WithContext

WithContext adds the context to the timesheet entry put params

func (*TimesheetEntryPutParams) WithHTTPClient

func (o *TimesheetEntryPutParams) WithHTTPClient(client *http.Client) *TimesheetEntryPutParams

WithHTTPClient adds the HTTPClient to the timesheet entry put params

func (*TimesheetEntryPutParams) WithID

WithID adds the id to the timesheet entry put params

func (*TimesheetEntryPutParams) WithTimeout

WithTimeout adds the timeout to the timesheet entry put params

func (*TimesheetEntryPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TimesheetEntryPutReader

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

TimesheetEntryPutReader is a Reader for the TimesheetEntryPut structure.

func (*TimesheetEntryPutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TimesheetEntryRecentActivitiesGetRecentActivitiesOK

type TimesheetEntryRecentActivitiesGetRecentActivitiesOK struct {
	Payload *models.ListResponseActivity
}

TimesheetEntryRecentActivitiesGetRecentActivitiesOK handles this case with default header values.

successful operation

func NewTimesheetEntryRecentActivitiesGetRecentActivitiesOK

func NewTimesheetEntryRecentActivitiesGetRecentActivitiesOK() *TimesheetEntryRecentActivitiesGetRecentActivitiesOK

NewTimesheetEntryRecentActivitiesGetRecentActivitiesOK creates a TimesheetEntryRecentActivitiesGetRecentActivitiesOK with default headers values

func (*TimesheetEntryRecentActivitiesGetRecentActivitiesOK) Error

func (*TimesheetEntryRecentActivitiesGetRecentActivitiesOK) GetPayload

type TimesheetEntryRecentActivitiesGetRecentActivitiesParams

type TimesheetEntryRecentActivitiesGetRecentActivitiesParams struct {

	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*EmployeeID
	  ID of employee to find activities for. Defaults to ID of token owner.

	*/
	EmployeeID *int32
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*ProjectID
	  ID of project to find activities for

	*/
	ProjectID int32
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string

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

TimesheetEntryRecentActivitiesGetRecentActivitiesParams contains all the parameters to send to the API endpoint for the timesheet entry recent activities get recent activities operation typically these are written to a http.Request

func NewTimesheetEntryRecentActivitiesGetRecentActivitiesParams

func NewTimesheetEntryRecentActivitiesGetRecentActivitiesParams() *TimesheetEntryRecentActivitiesGetRecentActivitiesParams

NewTimesheetEntryRecentActivitiesGetRecentActivitiesParams creates a new TimesheetEntryRecentActivitiesGetRecentActivitiesParams object with the default values initialized.

func NewTimesheetEntryRecentActivitiesGetRecentActivitiesParamsWithContext

func NewTimesheetEntryRecentActivitiesGetRecentActivitiesParamsWithContext(ctx context.Context) *TimesheetEntryRecentActivitiesGetRecentActivitiesParams

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

func NewTimesheetEntryRecentActivitiesGetRecentActivitiesParamsWithHTTPClient

func NewTimesheetEntryRecentActivitiesGetRecentActivitiesParamsWithHTTPClient(client *http.Client) *TimesheetEntryRecentActivitiesGetRecentActivitiesParams

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

func NewTimesheetEntryRecentActivitiesGetRecentActivitiesParamsWithTimeout

func NewTimesheetEntryRecentActivitiesGetRecentActivitiesParamsWithTimeout(timeout time.Duration) *TimesheetEntryRecentActivitiesGetRecentActivitiesParams

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

func (*TimesheetEntryRecentActivitiesGetRecentActivitiesParams) SetContext

SetContext adds the context to the timesheet entry recent activities get recent activities params

func (*TimesheetEntryRecentActivitiesGetRecentActivitiesParams) SetCount

SetCount adds the count to the timesheet entry recent activities get recent activities params

func (*TimesheetEntryRecentActivitiesGetRecentActivitiesParams) SetEmployeeID

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

SetEmployeeID adds the employeeId to the timesheet entry recent activities get recent activities params

func (*TimesheetEntryRecentActivitiesGetRecentActivitiesParams) SetFields

SetFields adds the fields to the timesheet entry recent activities get recent activities params

func (*TimesheetEntryRecentActivitiesGetRecentActivitiesParams) SetFrom

SetFrom adds the from to the timesheet entry recent activities get recent activities params

func (*TimesheetEntryRecentActivitiesGetRecentActivitiesParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the timesheet entry recent activities get recent activities params

func (*TimesheetEntryRecentActivitiesGetRecentActivitiesParams) SetProjectID

SetProjectID adds the projectId to the timesheet entry recent activities get recent activities params

func (*TimesheetEntryRecentActivitiesGetRecentActivitiesParams) SetSorting

SetSorting adds the sorting to the timesheet entry recent activities get recent activities params

func (*TimesheetEntryRecentActivitiesGetRecentActivitiesParams) SetTimeout

SetTimeout adds the timeout to the timesheet entry recent activities get recent activities params

func (*TimesheetEntryRecentActivitiesGetRecentActivitiesParams) WithContext

WithContext adds the context to the timesheet entry recent activities get recent activities params

func (*TimesheetEntryRecentActivitiesGetRecentActivitiesParams) WithCount

WithCount adds the count to the timesheet entry recent activities get recent activities params

func (*TimesheetEntryRecentActivitiesGetRecentActivitiesParams) WithEmployeeID

WithEmployeeID adds the employeeID to the timesheet entry recent activities get recent activities params

func (*TimesheetEntryRecentActivitiesGetRecentActivitiesParams) WithFields

WithFields adds the fields to the timesheet entry recent activities get recent activities params

func (*TimesheetEntryRecentActivitiesGetRecentActivitiesParams) WithFrom

WithFrom adds the from to the timesheet entry recent activities get recent activities params

func (*TimesheetEntryRecentActivitiesGetRecentActivitiesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the timesheet entry recent activities get recent activities params

func (*TimesheetEntryRecentActivitiesGetRecentActivitiesParams) WithProjectID

WithProjectID adds the projectID to the timesheet entry recent activities get recent activities params

func (*TimesheetEntryRecentActivitiesGetRecentActivitiesParams) WithSorting

WithSorting adds the sorting to the timesheet entry recent activities get recent activities params

func (*TimesheetEntryRecentActivitiesGetRecentActivitiesParams) WithTimeout

WithTimeout adds the timeout to the timesheet entry recent activities get recent activities params

func (*TimesheetEntryRecentActivitiesGetRecentActivitiesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TimesheetEntryRecentActivitiesGetRecentActivitiesReader

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

TimesheetEntryRecentActivitiesGetRecentActivitiesReader is a Reader for the TimesheetEntryRecentActivitiesGetRecentActivities structure.

func (*TimesheetEntryRecentActivitiesGetRecentActivitiesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TimesheetEntryRecentProjectsGetRecentProjectsOK

type TimesheetEntryRecentProjectsGetRecentProjectsOK struct {
	Payload *models.ListResponseProject
}

TimesheetEntryRecentProjectsGetRecentProjectsOK handles this case with default header values.

successful operation

func NewTimesheetEntryRecentProjectsGetRecentProjectsOK

func NewTimesheetEntryRecentProjectsGetRecentProjectsOK() *TimesheetEntryRecentProjectsGetRecentProjectsOK

NewTimesheetEntryRecentProjectsGetRecentProjectsOK creates a TimesheetEntryRecentProjectsGetRecentProjectsOK with default headers values

func (*TimesheetEntryRecentProjectsGetRecentProjectsOK) Error

func (*TimesheetEntryRecentProjectsGetRecentProjectsOK) GetPayload

type TimesheetEntryRecentProjectsGetRecentProjectsParams

type TimesheetEntryRecentProjectsGetRecentProjectsParams struct {

	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*EmployeeID
	  ID of employee with recent project hours 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
}

TimesheetEntryRecentProjectsGetRecentProjectsParams contains all the parameters to send to the API endpoint for the timesheet entry recent projects get recent projects operation typically these are written to a http.Request

func NewTimesheetEntryRecentProjectsGetRecentProjectsParams

func NewTimesheetEntryRecentProjectsGetRecentProjectsParams() *TimesheetEntryRecentProjectsGetRecentProjectsParams

NewTimesheetEntryRecentProjectsGetRecentProjectsParams creates a new TimesheetEntryRecentProjectsGetRecentProjectsParams object with the default values initialized.

func NewTimesheetEntryRecentProjectsGetRecentProjectsParamsWithContext

func NewTimesheetEntryRecentProjectsGetRecentProjectsParamsWithContext(ctx context.Context) *TimesheetEntryRecentProjectsGetRecentProjectsParams

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

func NewTimesheetEntryRecentProjectsGetRecentProjectsParamsWithHTTPClient

func NewTimesheetEntryRecentProjectsGetRecentProjectsParamsWithHTTPClient(client *http.Client) *TimesheetEntryRecentProjectsGetRecentProjectsParams

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

func NewTimesheetEntryRecentProjectsGetRecentProjectsParamsWithTimeout

func NewTimesheetEntryRecentProjectsGetRecentProjectsParamsWithTimeout(timeout time.Duration) *TimesheetEntryRecentProjectsGetRecentProjectsParams

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

func (*TimesheetEntryRecentProjectsGetRecentProjectsParams) SetContext

SetContext adds the context to the timesheet entry recent projects get recent projects params

func (*TimesheetEntryRecentProjectsGetRecentProjectsParams) SetCount

SetCount adds the count to the timesheet entry recent projects get recent projects params

func (*TimesheetEntryRecentProjectsGetRecentProjectsParams) SetEmployeeID

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

SetEmployeeID adds the employeeId to the timesheet entry recent projects get recent projects params

func (*TimesheetEntryRecentProjectsGetRecentProjectsParams) SetFields

SetFields adds the fields to the timesheet entry recent projects get recent projects params

func (*TimesheetEntryRecentProjectsGetRecentProjectsParams) SetFrom

SetFrom adds the from to the timesheet entry recent projects get recent projects params

func (*TimesheetEntryRecentProjectsGetRecentProjectsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the timesheet entry recent projects get recent projects params

func (*TimesheetEntryRecentProjectsGetRecentProjectsParams) SetSorting

SetSorting adds the sorting to the timesheet entry recent projects get recent projects params

func (*TimesheetEntryRecentProjectsGetRecentProjectsParams) SetTimeout

SetTimeout adds the timeout to the timesheet entry recent projects get recent projects params

func (*TimesheetEntryRecentProjectsGetRecentProjectsParams) WithContext

WithContext adds the context to the timesheet entry recent projects get recent projects params

func (*TimesheetEntryRecentProjectsGetRecentProjectsParams) WithCount

WithCount adds the count to the timesheet entry recent projects get recent projects params

func (*TimesheetEntryRecentProjectsGetRecentProjectsParams) WithEmployeeID

WithEmployeeID adds the employeeID to the timesheet entry recent projects get recent projects params

func (*TimesheetEntryRecentProjectsGetRecentProjectsParams) WithFields

WithFields adds the fields to the timesheet entry recent projects get recent projects params

func (*TimesheetEntryRecentProjectsGetRecentProjectsParams) WithFrom

WithFrom adds the from to the timesheet entry recent projects get recent projects params

func (*TimesheetEntryRecentProjectsGetRecentProjectsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the timesheet entry recent projects get recent projects params

func (*TimesheetEntryRecentProjectsGetRecentProjectsParams) WithSorting

WithSorting adds the sorting to the timesheet entry recent projects get recent projects params

func (*TimesheetEntryRecentProjectsGetRecentProjectsParams) WithTimeout

WithTimeout adds the timeout to the timesheet entry recent projects get recent projects params

func (*TimesheetEntryRecentProjectsGetRecentProjectsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TimesheetEntryRecentProjectsGetRecentProjectsReader

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

TimesheetEntryRecentProjectsGetRecentProjectsReader is a Reader for the TimesheetEntryRecentProjectsGetRecentProjects structure.

func (*TimesheetEntryRecentProjectsGetRecentProjectsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TimesheetEntrySearchOK

type TimesheetEntrySearchOK struct {
	Payload *models.TimesheetEntrySearchResponse
}

TimesheetEntrySearchOK handles this case with default header values.

successful operation

func NewTimesheetEntrySearchOK

func NewTimesheetEntrySearchOK() *TimesheetEntrySearchOK

NewTimesheetEntrySearchOK creates a TimesheetEntrySearchOK with default headers values

func (*TimesheetEntrySearchOK) Error

func (o *TimesheetEntrySearchOK) Error() string

func (*TimesheetEntrySearchOK) GetPayload

type TimesheetEntrySearchParams

type TimesheetEntrySearchParams struct {

	/*ActivityID
	  List of IDs

	*/
	ActivityID *string
	/*Comment
	  Containing

	*/
	Comment *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
	/*ID
	  List of IDs

	*/
	ID *string
	/*ProjectID
	  List of IDs

	*/
	ProjectID *string
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string

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

TimesheetEntrySearchParams contains all the parameters to send to the API endpoint for the timesheet entry search operation typically these are written to a http.Request

func NewTimesheetEntrySearchParams

func NewTimesheetEntrySearchParams() *TimesheetEntrySearchParams

NewTimesheetEntrySearchParams creates a new TimesheetEntrySearchParams object with the default values initialized.

func NewTimesheetEntrySearchParamsWithContext

func NewTimesheetEntrySearchParamsWithContext(ctx context.Context) *TimesheetEntrySearchParams

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

func NewTimesheetEntrySearchParamsWithHTTPClient

func NewTimesheetEntrySearchParamsWithHTTPClient(client *http.Client) *TimesheetEntrySearchParams

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

func NewTimesheetEntrySearchParamsWithTimeout

func NewTimesheetEntrySearchParamsWithTimeout(timeout time.Duration) *TimesheetEntrySearchParams

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

func (*TimesheetEntrySearchParams) SetActivityID

func (o *TimesheetEntrySearchParams) SetActivityID(activityID *string)

SetActivityID adds the activityId to the timesheet entry search params

func (*TimesheetEntrySearchParams) SetComment

func (o *TimesheetEntrySearchParams) SetComment(comment *string)

SetComment adds the comment to the timesheet entry search params

func (*TimesheetEntrySearchParams) SetContext

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

SetContext adds the context to the timesheet entry search params

func (*TimesheetEntrySearchParams) SetCount

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

SetCount adds the count to the timesheet entry search params

func (*TimesheetEntrySearchParams) SetDateFrom

func (o *TimesheetEntrySearchParams) SetDateFrom(dateFrom string)

SetDateFrom adds the dateFrom to the timesheet entry search params

func (*TimesheetEntrySearchParams) SetDateTo

func (o *TimesheetEntrySearchParams) SetDateTo(dateTo string)

SetDateTo adds the dateTo to the timesheet entry search params

func (*TimesheetEntrySearchParams) SetEmployeeID

func (o *TimesheetEntrySearchParams) SetEmployeeID(employeeID *string)

SetEmployeeID adds the employeeId to the timesheet entry search params

func (*TimesheetEntrySearchParams) SetFields

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

SetFields adds the fields to the timesheet entry search params

func (*TimesheetEntrySearchParams) SetFrom

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

SetFrom adds the from to the timesheet entry search params

func (*TimesheetEntrySearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the timesheet entry search params

func (*TimesheetEntrySearchParams) SetID

func (o *TimesheetEntrySearchParams) SetID(id *string)

SetID adds the id to the timesheet entry search params

func (*TimesheetEntrySearchParams) SetProjectID

func (o *TimesheetEntrySearchParams) SetProjectID(projectID *string)

SetProjectID adds the projectId to the timesheet entry search params

func (*TimesheetEntrySearchParams) SetSorting

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

SetSorting adds the sorting to the timesheet entry search params

func (*TimesheetEntrySearchParams) SetTimeout

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

SetTimeout adds the timeout to the timesheet entry search params

func (*TimesheetEntrySearchParams) WithActivityID

func (o *TimesheetEntrySearchParams) WithActivityID(activityID *string) *TimesheetEntrySearchParams

WithActivityID adds the activityID to the timesheet entry search params

func (*TimesheetEntrySearchParams) WithComment

WithComment adds the comment to the timesheet entry search params

func (*TimesheetEntrySearchParams) WithContext

WithContext adds the context to the timesheet entry search params

func (*TimesheetEntrySearchParams) WithCount

WithCount adds the count to the timesheet entry search params

func (*TimesheetEntrySearchParams) WithDateFrom

WithDateFrom adds the dateFrom to the timesheet entry search params

func (*TimesheetEntrySearchParams) WithDateTo

WithDateTo adds the dateTo to the timesheet entry search params

func (*TimesheetEntrySearchParams) WithEmployeeID

func (o *TimesheetEntrySearchParams) WithEmployeeID(employeeID *string) *TimesheetEntrySearchParams

WithEmployeeID adds the employeeID to the timesheet entry search params

func (*TimesheetEntrySearchParams) WithFields

WithFields adds the fields to the timesheet entry search params

func (*TimesheetEntrySearchParams) WithFrom

WithFrom adds the from to the timesheet entry search params

func (*TimesheetEntrySearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the timesheet entry search params

func (*TimesheetEntrySearchParams) WithID

WithID adds the id to the timesheet entry search params

func (*TimesheetEntrySearchParams) WithProjectID

func (o *TimesheetEntrySearchParams) WithProjectID(projectID *string) *TimesheetEntrySearchParams

WithProjectID adds the projectID to the timesheet entry search params

func (*TimesheetEntrySearchParams) WithSorting

WithSorting adds the sorting to the timesheet entry search params

func (*TimesheetEntrySearchParams) WithTimeout

WithTimeout adds the timeout to the timesheet entry search params

func (*TimesheetEntrySearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TimesheetEntrySearchReader

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

TimesheetEntrySearchReader is a Reader for the TimesheetEntrySearch structure.

func (*TimesheetEntrySearchReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TimesheetEntryTotalHoursGetTotalHoursOK

type TimesheetEntryTotalHoursGetTotalHoursOK struct {
	Payload *models.ResponseWrapperDouble
}

TimesheetEntryTotalHoursGetTotalHoursOK handles this case with default header values.

successful operation

func NewTimesheetEntryTotalHoursGetTotalHoursOK

func NewTimesheetEntryTotalHoursGetTotalHoursOK() *TimesheetEntryTotalHoursGetTotalHoursOK

NewTimesheetEntryTotalHoursGetTotalHoursOK creates a TimesheetEntryTotalHoursGetTotalHoursOK with default headers values

func (*TimesheetEntryTotalHoursGetTotalHoursOK) Error

func (*TimesheetEntryTotalHoursGetTotalHoursOK) GetPayload

type TimesheetEntryTotalHoursGetTotalHoursParams

type TimesheetEntryTotalHoursGetTotalHoursParams struct {

	/*EmployeeID
	  ID of employee to find hours for. Defaults to ID of token owner.

	*/
	EmployeeID *int32
	/*EndDate
	  Format is yyyy-MM-dd (to and excl.). Defaults to tomorrow.

	*/
	EndDate *string
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*StartDate
	  Format is yyyy-MM-dd (from and incl.). Defaults to today.

	*/
	StartDate *string

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

TimesheetEntryTotalHoursGetTotalHoursParams contains all the parameters to send to the API endpoint for the timesheet entry total hours get total hours operation typically these are written to a http.Request

func NewTimesheetEntryTotalHoursGetTotalHoursParams

func NewTimesheetEntryTotalHoursGetTotalHoursParams() *TimesheetEntryTotalHoursGetTotalHoursParams

NewTimesheetEntryTotalHoursGetTotalHoursParams creates a new TimesheetEntryTotalHoursGetTotalHoursParams object with the default values initialized.

func NewTimesheetEntryTotalHoursGetTotalHoursParamsWithContext

func NewTimesheetEntryTotalHoursGetTotalHoursParamsWithContext(ctx context.Context) *TimesheetEntryTotalHoursGetTotalHoursParams

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

func NewTimesheetEntryTotalHoursGetTotalHoursParamsWithHTTPClient

func NewTimesheetEntryTotalHoursGetTotalHoursParamsWithHTTPClient(client *http.Client) *TimesheetEntryTotalHoursGetTotalHoursParams

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

func NewTimesheetEntryTotalHoursGetTotalHoursParamsWithTimeout

func NewTimesheetEntryTotalHoursGetTotalHoursParamsWithTimeout(timeout time.Duration) *TimesheetEntryTotalHoursGetTotalHoursParams

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

func (*TimesheetEntryTotalHoursGetTotalHoursParams) SetContext

SetContext adds the context to the timesheet entry total hours get total hours params

func (*TimesheetEntryTotalHoursGetTotalHoursParams) SetEmployeeID

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

SetEmployeeID adds the employeeId to the timesheet entry total hours get total hours params

func (*TimesheetEntryTotalHoursGetTotalHoursParams) SetEndDate

func (o *TimesheetEntryTotalHoursGetTotalHoursParams) SetEndDate(endDate *string)

SetEndDate adds the endDate to the timesheet entry total hours get total hours params

func (*TimesheetEntryTotalHoursGetTotalHoursParams) SetFields

SetFields adds the fields to the timesheet entry total hours get total hours params

func (*TimesheetEntryTotalHoursGetTotalHoursParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the timesheet entry total hours get total hours params

func (*TimesheetEntryTotalHoursGetTotalHoursParams) SetStartDate

func (o *TimesheetEntryTotalHoursGetTotalHoursParams) SetStartDate(startDate *string)

SetStartDate adds the startDate to the timesheet entry total hours get total hours params

func (*TimesheetEntryTotalHoursGetTotalHoursParams) SetTimeout

SetTimeout adds the timeout to the timesheet entry total hours get total hours params

func (*TimesheetEntryTotalHoursGetTotalHoursParams) WithContext

WithContext adds the context to the timesheet entry total hours get total hours params

func (*TimesheetEntryTotalHoursGetTotalHoursParams) WithEmployeeID

WithEmployeeID adds the employeeID to the timesheet entry total hours get total hours params

func (*TimesheetEntryTotalHoursGetTotalHoursParams) WithEndDate

WithEndDate adds the endDate to the timesheet entry total hours get total hours params

func (*TimesheetEntryTotalHoursGetTotalHoursParams) WithFields

WithFields adds the fields to the timesheet entry total hours get total hours params

func (*TimesheetEntryTotalHoursGetTotalHoursParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the timesheet entry total hours get total hours params

func (*TimesheetEntryTotalHoursGetTotalHoursParams) WithStartDate

WithStartDate adds the startDate to the timesheet entry total hours get total hours params

func (*TimesheetEntryTotalHoursGetTotalHoursParams) WithTimeout

WithTimeout adds the timeout to the timesheet entry total hours get total hours params

func (*TimesheetEntryTotalHoursGetTotalHoursParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TimesheetEntryTotalHoursGetTotalHoursReader

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

TimesheetEntryTotalHoursGetTotalHoursReader is a Reader for the TimesheetEntryTotalHoursGetTotalHours structure.

func (*TimesheetEntryTotalHoursGetTotalHoursReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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