week

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 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 week API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) TimesheetWeekApproveApprove

func (a *Client) TimesheetWeekApproveApprove(params *TimesheetWeekApproveApproveParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetWeekApproveApproveOK, error)

TimesheetWeekApproveApprove approves week by ID or i s o 8601 week and employee Id combination

func (*Client) TimesheetWeekCompleteComplete

func (a *Client) TimesheetWeekCompleteComplete(params *TimesheetWeekCompleteCompleteParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetWeekCompleteCompleteOK, error)

TimesheetWeekCompleteComplete completes week by ID or i s o 8601 week and employee Id combination

func (*Client) TimesheetWeekReopenReopen

func (a *Client) TimesheetWeekReopenReopen(params *TimesheetWeekReopenReopenParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetWeekReopenReopenOK, error)

TimesheetWeekReopenReopen reopens week by ID or i s o 8601 week and employee Id combination

func (*Client) TimesheetWeekSearch

func (a *Client) TimesheetWeekSearch(params *TimesheetWeekSearchParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetWeekSearchOK, error)

TimesheetWeekSearch finds weekly status by ID week year combination employee Id or an approver

func (*Client) TimesheetWeekUnapproveUnapprove

func (a *Client) TimesheetWeekUnapproveUnapprove(params *TimesheetWeekUnapproveUnapproveParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetWeekUnapproveUnapproveOK, error)

TimesheetWeekUnapproveUnapprove unapproves week by ID or i s o 8601 week and employee Id combination

type ClientService

type ClientService interface {
	TimesheetWeekApproveApprove(params *TimesheetWeekApproveApproveParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetWeekApproveApproveOK, error)

	TimesheetWeekCompleteComplete(params *TimesheetWeekCompleteCompleteParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetWeekCompleteCompleteOK, error)

	TimesheetWeekReopenReopen(params *TimesheetWeekReopenReopenParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetWeekReopenReopenOK, error)

	TimesheetWeekUnapproveUnapprove(params *TimesheetWeekUnapproveUnapproveParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetWeekUnapproveUnapproveOK, error)

	TimesheetWeekSearch(params *TimesheetWeekSearchParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetWeekSearchOK, 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 week API client.

type TimesheetWeekApproveApproveOK

type TimesheetWeekApproveApproveOK struct {
	Payload *models.ResponseWrapperWeek
}

TimesheetWeekApproveApproveOK handles this case with default header values.

successful operation

func NewTimesheetWeekApproveApproveOK

func NewTimesheetWeekApproveApproveOK() *TimesheetWeekApproveApproveOK

NewTimesheetWeekApproveApproveOK creates a TimesheetWeekApproveApproveOK with default headers values

func (*TimesheetWeekApproveApproveOK) Error

func (*TimesheetWeekApproveApproveOK) GetPayload

type TimesheetWeekApproveApproveParams

type TimesheetWeekApproveApproveParams struct {

	/*EmployeeID
	  Equals

	*/
	EmployeeID *int32
	/*ID
	  Equals

	*/
	ID *int32
	/*WeekYear
	  ISO-8601 week-year

	*/
	WeekYear *string

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

TimesheetWeekApproveApproveParams contains all the parameters to send to the API endpoint for the timesheet week approve approve operation typically these are written to a http.Request

func NewTimesheetWeekApproveApproveParams

func NewTimesheetWeekApproveApproveParams() *TimesheetWeekApproveApproveParams

NewTimesheetWeekApproveApproveParams creates a new TimesheetWeekApproveApproveParams object with the default values initialized.

func NewTimesheetWeekApproveApproveParamsWithContext

func NewTimesheetWeekApproveApproveParamsWithContext(ctx context.Context) *TimesheetWeekApproveApproveParams

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

func NewTimesheetWeekApproveApproveParamsWithHTTPClient

func NewTimesheetWeekApproveApproveParamsWithHTTPClient(client *http.Client) *TimesheetWeekApproveApproveParams

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

func NewTimesheetWeekApproveApproveParamsWithTimeout

func NewTimesheetWeekApproveApproveParamsWithTimeout(timeout time.Duration) *TimesheetWeekApproveApproveParams

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

func (*TimesheetWeekApproveApproveParams) SetContext

SetContext adds the context to the timesheet week approve approve params

func (*TimesheetWeekApproveApproveParams) SetEmployeeID

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

SetEmployeeID adds the employeeId to the timesheet week approve approve params

func (*TimesheetWeekApproveApproveParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the timesheet week approve approve params

func (*TimesheetWeekApproveApproveParams) SetID

SetID adds the id to the timesheet week approve approve params

func (*TimesheetWeekApproveApproveParams) SetTimeout

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

SetTimeout adds the timeout to the timesheet week approve approve params

func (*TimesheetWeekApproveApproveParams) SetWeekYear

func (o *TimesheetWeekApproveApproveParams) SetWeekYear(weekYear *string)

SetWeekYear adds the weekYear to the timesheet week approve approve params

func (*TimesheetWeekApproveApproveParams) WithContext

WithContext adds the context to the timesheet week approve approve params

func (*TimesheetWeekApproveApproveParams) WithEmployeeID

WithEmployeeID adds the employeeID to the timesheet week approve approve params

func (*TimesheetWeekApproveApproveParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the timesheet week approve approve params

func (*TimesheetWeekApproveApproveParams) WithID

WithID adds the id to the timesheet week approve approve params

func (*TimesheetWeekApproveApproveParams) WithTimeout

WithTimeout adds the timeout to the timesheet week approve approve params

func (*TimesheetWeekApproveApproveParams) WithWeekYear

WithWeekYear adds the weekYear to the timesheet week approve approve params

func (*TimesheetWeekApproveApproveParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TimesheetWeekApproveApproveReader

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

TimesheetWeekApproveApproveReader is a Reader for the TimesheetWeekApproveApprove structure.

func (*TimesheetWeekApproveApproveReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TimesheetWeekCompleteCompleteOK

type TimesheetWeekCompleteCompleteOK struct {
	Payload *models.ResponseWrapperWeek
}

TimesheetWeekCompleteCompleteOK handles this case with default header values.

successful operation

func NewTimesheetWeekCompleteCompleteOK

func NewTimesheetWeekCompleteCompleteOK() *TimesheetWeekCompleteCompleteOK

NewTimesheetWeekCompleteCompleteOK creates a TimesheetWeekCompleteCompleteOK with default headers values

func (*TimesheetWeekCompleteCompleteOK) Error

func (*TimesheetWeekCompleteCompleteOK) GetPayload

type TimesheetWeekCompleteCompleteParams

type TimesheetWeekCompleteCompleteParams struct {

	/*EmployeeID
	  Equals

	*/
	EmployeeID *int32
	/*ID
	  Equals

	*/
	ID *int32
	/*WeekYear
	  ISO-8601 week-year

	*/
	WeekYear *string

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

TimesheetWeekCompleteCompleteParams contains all the parameters to send to the API endpoint for the timesheet week complete complete operation typically these are written to a http.Request

func NewTimesheetWeekCompleteCompleteParams

func NewTimesheetWeekCompleteCompleteParams() *TimesheetWeekCompleteCompleteParams

NewTimesheetWeekCompleteCompleteParams creates a new TimesheetWeekCompleteCompleteParams object with the default values initialized.

func NewTimesheetWeekCompleteCompleteParamsWithContext

func NewTimesheetWeekCompleteCompleteParamsWithContext(ctx context.Context) *TimesheetWeekCompleteCompleteParams

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

func NewTimesheetWeekCompleteCompleteParamsWithHTTPClient

func NewTimesheetWeekCompleteCompleteParamsWithHTTPClient(client *http.Client) *TimesheetWeekCompleteCompleteParams

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

func NewTimesheetWeekCompleteCompleteParamsWithTimeout

func NewTimesheetWeekCompleteCompleteParamsWithTimeout(timeout time.Duration) *TimesheetWeekCompleteCompleteParams

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

func (*TimesheetWeekCompleteCompleteParams) SetContext

SetContext adds the context to the timesheet week complete complete params

func (*TimesheetWeekCompleteCompleteParams) SetEmployeeID

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

SetEmployeeID adds the employeeId to the timesheet week complete complete params

func (*TimesheetWeekCompleteCompleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the timesheet week complete complete params

func (*TimesheetWeekCompleteCompleteParams) SetID

SetID adds the id to the timesheet week complete complete params

func (*TimesheetWeekCompleteCompleteParams) SetTimeout

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

SetTimeout adds the timeout to the timesheet week complete complete params

func (*TimesheetWeekCompleteCompleteParams) SetWeekYear

func (o *TimesheetWeekCompleteCompleteParams) SetWeekYear(weekYear *string)

SetWeekYear adds the weekYear to the timesheet week complete complete params

func (*TimesheetWeekCompleteCompleteParams) WithContext

WithContext adds the context to the timesheet week complete complete params

func (*TimesheetWeekCompleteCompleteParams) WithEmployeeID

WithEmployeeID adds the employeeID to the timesheet week complete complete params

func (*TimesheetWeekCompleteCompleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the timesheet week complete complete params

func (*TimesheetWeekCompleteCompleteParams) WithID

WithID adds the id to the timesheet week complete complete params

func (*TimesheetWeekCompleteCompleteParams) WithTimeout

WithTimeout adds the timeout to the timesheet week complete complete params

func (*TimesheetWeekCompleteCompleteParams) WithWeekYear

WithWeekYear adds the weekYear to the timesheet week complete complete params

func (*TimesheetWeekCompleteCompleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TimesheetWeekCompleteCompleteReader

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

TimesheetWeekCompleteCompleteReader is a Reader for the TimesheetWeekCompleteComplete structure.

func (*TimesheetWeekCompleteCompleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TimesheetWeekReopenReopenOK

type TimesheetWeekReopenReopenOK struct {
	Payload *models.ResponseWrapperWeek
}

TimesheetWeekReopenReopenOK handles this case with default header values.

successful operation

func NewTimesheetWeekReopenReopenOK

func NewTimesheetWeekReopenReopenOK() *TimesheetWeekReopenReopenOK

NewTimesheetWeekReopenReopenOK creates a TimesheetWeekReopenReopenOK with default headers values

func (*TimesheetWeekReopenReopenOK) Error

func (*TimesheetWeekReopenReopenOK) GetPayload

type TimesheetWeekReopenReopenParams

type TimesheetWeekReopenReopenParams struct {

	/*EmployeeID
	  Equals

	*/
	EmployeeID *int32
	/*ID
	  Equals

	*/
	ID *int32
	/*WeekYear
	  ISO-8601 week-year

	*/
	WeekYear *string

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

TimesheetWeekReopenReopenParams contains all the parameters to send to the API endpoint for the timesheet week reopen reopen operation typically these are written to a http.Request

func NewTimesheetWeekReopenReopenParams

func NewTimesheetWeekReopenReopenParams() *TimesheetWeekReopenReopenParams

NewTimesheetWeekReopenReopenParams creates a new TimesheetWeekReopenReopenParams object with the default values initialized.

func NewTimesheetWeekReopenReopenParamsWithContext

func NewTimesheetWeekReopenReopenParamsWithContext(ctx context.Context) *TimesheetWeekReopenReopenParams

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

func NewTimesheetWeekReopenReopenParamsWithHTTPClient

func NewTimesheetWeekReopenReopenParamsWithHTTPClient(client *http.Client) *TimesheetWeekReopenReopenParams

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

func NewTimesheetWeekReopenReopenParamsWithTimeout

func NewTimesheetWeekReopenReopenParamsWithTimeout(timeout time.Duration) *TimesheetWeekReopenReopenParams

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

func (*TimesheetWeekReopenReopenParams) SetContext

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

SetContext adds the context to the timesheet week reopen reopen params

func (*TimesheetWeekReopenReopenParams) SetEmployeeID

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

SetEmployeeID adds the employeeId to the timesheet week reopen reopen params

func (*TimesheetWeekReopenReopenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the timesheet week reopen reopen params

func (*TimesheetWeekReopenReopenParams) SetID

func (o *TimesheetWeekReopenReopenParams) SetID(id *int32)

SetID adds the id to the timesheet week reopen reopen params

func (*TimesheetWeekReopenReopenParams) SetTimeout

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

SetTimeout adds the timeout to the timesheet week reopen reopen params

func (*TimesheetWeekReopenReopenParams) SetWeekYear

func (o *TimesheetWeekReopenReopenParams) SetWeekYear(weekYear *string)

SetWeekYear adds the weekYear to the timesheet week reopen reopen params

func (*TimesheetWeekReopenReopenParams) WithContext

WithContext adds the context to the timesheet week reopen reopen params

func (*TimesheetWeekReopenReopenParams) WithEmployeeID

WithEmployeeID adds the employeeID to the timesheet week reopen reopen params

func (*TimesheetWeekReopenReopenParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the timesheet week reopen reopen params

func (*TimesheetWeekReopenReopenParams) WithID

WithID adds the id to the timesheet week reopen reopen params

func (*TimesheetWeekReopenReopenParams) WithTimeout

WithTimeout adds the timeout to the timesheet week reopen reopen params

func (*TimesheetWeekReopenReopenParams) WithWeekYear

WithWeekYear adds the weekYear to the timesheet week reopen reopen params

func (*TimesheetWeekReopenReopenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TimesheetWeekReopenReopenReader

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

TimesheetWeekReopenReopenReader is a Reader for the TimesheetWeekReopenReopen structure.

func (*TimesheetWeekReopenReopenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TimesheetWeekSearchOK

type TimesheetWeekSearchOK struct {
	Payload *models.ListResponseWeek
}

TimesheetWeekSearchOK handles this case with default header values.

successful operation

func NewTimesheetWeekSearchOK

func NewTimesheetWeekSearchOK() *TimesheetWeekSearchOK

NewTimesheetWeekSearchOK creates a TimesheetWeekSearchOK with default headers values

func (*TimesheetWeekSearchOK) Error

func (o *TimesheetWeekSearchOK) Error() string

func (*TimesheetWeekSearchOK) GetPayload

type TimesheetWeekSearchParams

type TimesheetWeekSearchParams struct {

	/*ApprovedBy
	  Equals

	*/
	ApprovedBy *int32
	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*EmployeeIds
	  List of IDs

	*/
	EmployeeIds *string
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*Ids
	  List of IDs

	*/
	Ids *string
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string
	/*WeekYear
	  ISO-8601 week-year

	*/
	WeekYear *string

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

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

func NewTimesheetWeekSearchParams

func NewTimesheetWeekSearchParams() *TimesheetWeekSearchParams

NewTimesheetWeekSearchParams creates a new TimesheetWeekSearchParams object with the default values initialized.

func NewTimesheetWeekSearchParamsWithContext

func NewTimesheetWeekSearchParamsWithContext(ctx context.Context) *TimesheetWeekSearchParams

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

func NewTimesheetWeekSearchParamsWithHTTPClient

func NewTimesheetWeekSearchParamsWithHTTPClient(client *http.Client) *TimesheetWeekSearchParams

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

func NewTimesheetWeekSearchParamsWithTimeout

func NewTimesheetWeekSearchParamsWithTimeout(timeout time.Duration) *TimesheetWeekSearchParams

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

func (*TimesheetWeekSearchParams) SetApprovedBy

func (o *TimesheetWeekSearchParams) SetApprovedBy(approvedBy *int32)

SetApprovedBy adds the approvedBy to the timesheet week search params

func (*TimesheetWeekSearchParams) SetContext

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

SetContext adds the context to the timesheet week search params

func (*TimesheetWeekSearchParams) SetCount

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

SetCount adds the count to the timesheet week search params

func (*TimesheetWeekSearchParams) SetEmployeeIds

func (o *TimesheetWeekSearchParams) SetEmployeeIds(employeeIds *string)

SetEmployeeIds adds the employeeIds to the timesheet week search params

func (*TimesheetWeekSearchParams) SetFields

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

SetFields adds the fields to the timesheet week search params

func (*TimesheetWeekSearchParams) SetFrom

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

SetFrom adds the from to the timesheet week search params

func (*TimesheetWeekSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the timesheet week search params

func (*TimesheetWeekSearchParams) SetIds

func (o *TimesheetWeekSearchParams) SetIds(ids *string)

SetIds adds the ids to the timesheet week search params

func (*TimesheetWeekSearchParams) SetSorting

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

SetSorting adds the sorting to the timesheet week search params

func (*TimesheetWeekSearchParams) SetTimeout

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

SetTimeout adds the timeout to the timesheet week search params

func (*TimesheetWeekSearchParams) SetWeekYear

func (o *TimesheetWeekSearchParams) SetWeekYear(weekYear *string)

SetWeekYear adds the weekYear to the timesheet week search params

func (*TimesheetWeekSearchParams) WithApprovedBy

func (o *TimesheetWeekSearchParams) WithApprovedBy(approvedBy *int32) *TimesheetWeekSearchParams

WithApprovedBy adds the approvedBy to the timesheet week search params

func (*TimesheetWeekSearchParams) WithContext

WithContext adds the context to the timesheet week search params

func (*TimesheetWeekSearchParams) WithCount

WithCount adds the count to the timesheet week search params

func (*TimesheetWeekSearchParams) WithEmployeeIds

func (o *TimesheetWeekSearchParams) WithEmployeeIds(employeeIds *string) *TimesheetWeekSearchParams

WithEmployeeIds adds the employeeIds to the timesheet week search params

func (*TimesheetWeekSearchParams) WithFields

WithFields adds the fields to the timesheet week search params

func (*TimesheetWeekSearchParams) WithFrom

WithFrom adds the from to the timesheet week search params

func (*TimesheetWeekSearchParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the timesheet week search params

func (*TimesheetWeekSearchParams) WithIds

WithIds adds the ids to the timesheet week search params

func (*TimesheetWeekSearchParams) WithSorting

WithSorting adds the sorting to the timesheet week search params

func (*TimesheetWeekSearchParams) WithTimeout

WithTimeout adds the timeout to the timesheet week search params

func (*TimesheetWeekSearchParams) WithWeekYear

func (o *TimesheetWeekSearchParams) WithWeekYear(weekYear *string) *TimesheetWeekSearchParams

WithWeekYear adds the weekYear to the timesheet week search params

func (*TimesheetWeekSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TimesheetWeekSearchReader

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

TimesheetWeekSearchReader is a Reader for the TimesheetWeekSearch structure.

func (*TimesheetWeekSearchReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TimesheetWeekUnapproveUnapproveOK

type TimesheetWeekUnapproveUnapproveOK struct {
	Payload *models.ResponseWrapperWeek
}

TimesheetWeekUnapproveUnapproveOK handles this case with default header values.

successful operation

func NewTimesheetWeekUnapproveUnapproveOK

func NewTimesheetWeekUnapproveUnapproveOK() *TimesheetWeekUnapproveUnapproveOK

NewTimesheetWeekUnapproveUnapproveOK creates a TimesheetWeekUnapproveUnapproveOK with default headers values

func (*TimesheetWeekUnapproveUnapproveOK) Error

func (*TimesheetWeekUnapproveUnapproveOK) GetPayload

type TimesheetWeekUnapproveUnapproveParams

type TimesheetWeekUnapproveUnapproveParams struct {

	/*EmployeeID
	  Equals

	*/
	EmployeeID *int32
	/*ID
	  Equals

	*/
	ID *int32
	/*WeekYear
	  ISO-8601 week-year

	*/
	WeekYear *string

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

TimesheetWeekUnapproveUnapproveParams contains all the parameters to send to the API endpoint for the timesheet week unapprove unapprove operation typically these are written to a http.Request

func NewTimesheetWeekUnapproveUnapproveParams

func NewTimesheetWeekUnapproveUnapproveParams() *TimesheetWeekUnapproveUnapproveParams

NewTimesheetWeekUnapproveUnapproveParams creates a new TimesheetWeekUnapproveUnapproveParams object with the default values initialized.

func NewTimesheetWeekUnapproveUnapproveParamsWithContext

func NewTimesheetWeekUnapproveUnapproveParamsWithContext(ctx context.Context) *TimesheetWeekUnapproveUnapproveParams

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

func NewTimesheetWeekUnapproveUnapproveParamsWithHTTPClient

func NewTimesheetWeekUnapproveUnapproveParamsWithHTTPClient(client *http.Client) *TimesheetWeekUnapproveUnapproveParams

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

func NewTimesheetWeekUnapproveUnapproveParamsWithTimeout

func NewTimesheetWeekUnapproveUnapproveParamsWithTimeout(timeout time.Duration) *TimesheetWeekUnapproveUnapproveParams

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

func (*TimesheetWeekUnapproveUnapproveParams) SetContext

SetContext adds the context to the timesheet week unapprove unapprove params

func (*TimesheetWeekUnapproveUnapproveParams) SetEmployeeID

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

SetEmployeeID adds the employeeId to the timesheet week unapprove unapprove params

func (*TimesheetWeekUnapproveUnapproveParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the timesheet week unapprove unapprove params

func (*TimesheetWeekUnapproveUnapproveParams) SetID

SetID adds the id to the timesheet week unapprove unapprove params

func (*TimesheetWeekUnapproveUnapproveParams) SetTimeout

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

SetTimeout adds the timeout to the timesheet week unapprove unapprove params

func (*TimesheetWeekUnapproveUnapproveParams) SetWeekYear

func (o *TimesheetWeekUnapproveUnapproveParams) SetWeekYear(weekYear *string)

SetWeekYear adds the weekYear to the timesheet week unapprove unapprove params

func (*TimesheetWeekUnapproveUnapproveParams) WithContext

WithContext adds the context to the timesheet week unapprove unapprove params

func (*TimesheetWeekUnapproveUnapproveParams) WithEmployeeID

WithEmployeeID adds the employeeID to the timesheet week unapprove unapprove params

func (*TimesheetWeekUnapproveUnapproveParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the timesheet week unapprove unapprove params

func (*TimesheetWeekUnapproveUnapproveParams) WithID

WithID adds the id to the timesheet week unapprove unapprove params

func (*TimesheetWeekUnapproveUnapproveParams) WithTimeout

WithTimeout adds the timeout to the timesheet week unapprove unapprove params

func (*TimesheetWeekUnapproveUnapproveParams) WithWeekYear

WithWeekYear adds the weekYear to the timesheet week unapprove unapprove params

func (*TimesheetWeekUnapproveUnapproveParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TimesheetWeekUnapproveUnapproveReader

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

TimesheetWeekUnapproveUnapproveReader is a Reader for the TimesheetWeekUnapproveUnapprove structure.

func (*TimesheetWeekUnapproveUnapproveReader) ReadResponse

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