month

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 month API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) TimesheetMonthApproveApprove

func (a *Client) TimesheetMonthApproveApprove(params *TimesheetMonthApproveApproveParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetMonthApproveApproveOK, error)

TimesheetMonthApproveApprove approves month s if id is provided the other args are ignored

func (*Client) TimesheetMonthByMonthNumberGetByMonthNumber

TimesheetMonthByMonthNumberGetByMonthNumber finds monthly status for given month

func (*Client) TimesheetMonthCompleteComplete

func (a *Client) TimesheetMonthCompleteComplete(params *TimesheetMonthCompleteCompleteParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetMonthCompleteCompleteOK, error)

TimesheetMonthCompleteComplete completes month s if id is provided the other args are ignored

func (*Client) TimesheetMonthGet

func (a *Client) TimesheetMonthGet(params *TimesheetMonthGetParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetMonthGetOK, error)

TimesheetMonthGet finds monthly status entry by ID

func (*Client) TimesheetMonthReopenReopen

func (a *Client) TimesheetMonthReopenReopen(params *TimesheetMonthReopenReopenParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetMonthReopenReopenOK, error)

TimesheetMonthReopenReopen reopens month s if id is provided the other args are ignored

func (*Client) TimesheetMonthUnapproveUnapprove

TimesheetMonthUnapproveUnapprove unapproves month s if id is provided the other args are ignored

type ClientService

type ClientService interface {
	TimesheetMonthApproveApprove(params *TimesheetMonthApproveApproveParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetMonthApproveApproveOK, error)

	TimesheetMonthByMonthNumberGetByMonthNumber(params *TimesheetMonthByMonthNumberGetByMonthNumberParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetMonthByMonthNumberGetByMonthNumberOK, error)

	TimesheetMonthCompleteComplete(params *TimesheetMonthCompleteCompleteParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetMonthCompleteCompleteOK, error)

	TimesheetMonthGet(params *TimesheetMonthGetParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetMonthGetOK, error)

	TimesheetMonthReopenReopen(params *TimesheetMonthReopenReopenParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetMonthReopenReopenOK, error)

	TimesheetMonthUnapproveUnapprove(params *TimesheetMonthUnapproveUnapproveParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetMonthUnapproveUnapproveOK, 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 month API client.

type TimesheetMonthApproveApproveOK

type TimesheetMonthApproveApproveOK struct {
	Payload *models.ListResponseMonthlyStatus
}

TimesheetMonthApproveApproveOK handles this case with default header values.

successful operation

func NewTimesheetMonthApproveApproveOK

func NewTimesheetMonthApproveApproveOK() *TimesheetMonthApproveApproveOK

NewTimesheetMonthApproveApproveOK creates a TimesheetMonthApproveApproveOK with default headers values

func (*TimesheetMonthApproveApproveOK) Error

func (*TimesheetMonthApproveApproveOK) GetPayload

type TimesheetMonthApproveApproveParams

type TimesheetMonthApproveApproveParams struct {

	/*ApprovedUntilDate
	  yyyy-MM-dd. Defaults to today.. Defaults to end of month

	*/
	ApprovedUntilDate *string
	/*EmployeeIds
	  List of IDs. Defaults to ID of token owner.

	*/
	EmployeeIds *string
	/*ID
	  Element ID

	*/
	ID *int32
	/*MonthYear
	  2020-01

	*/
	MonthYear *string

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

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

func NewTimesheetMonthApproveApproveParams

func NewTimesheetMonthApproveApproveParams() *TimesheetMonthApproveApproveParams

NewTimesheetMonthApproveApproveParams creates a new TimesheetMonthApproveApproveParams object with the default values initialized.

func NewTimesheetMonthApproveApproveParamsWithContext

func NewTimesheetMonthApproveApproveParamsWithContext(ctx context.Context) *TimesheetMonthApproveApproveParams

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

func NewTimesheetMonthApproveApproveParamsWithHTTPClient

func NewTimesheetMonthApproveApproveParamsWithHTTPClient(client *http.Client) *TimesheetMonthApproveApproveParams

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

func NewTimesheetMonthApproveApproveParamsWithTimeout

func NewTimesheetMonthApproveApproveParamsWithTimeout(timeout time.Duration) *TimesheetMonthApproveApproveParams

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

func (*TimesheetMonthApproveApproveParams) SetApprovedUntilDate

func (o *TimesheetMonthApproveApproveParams) SetApprovedUntilDate(approvedUntilDate *string)

SetApprovedUntilDate adds the approvedUntilDate to the timesheet month approve approve params

func (*TimesheetMonthApproveApproveParams) SetContext

SetContext adds the context to the timesheet month approve approve params

func (*TimesheetMonthApproveApproveParams) SetEmployeeIds

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

SetEmployeeIds adds the employeeIds to the timesheet month approve approve params

func (*TimesheetMonthApproveApproveParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the timesheet month approve approve params

func (*TimesheetMonthApproveApproveParams) SetID

SetID adds the id to the timesheet month approve approve params

func (*TimesheetMonthApproveApproveParams) SetMonthYear

func (o *TimesheetMonthApproveApproveParams) SetMonthYear(monthYear *string)

SetMonthYear adds the monthYear to the timesheet month approve approve params

func (*TimesheetMonthApproveApproveParams) SetTimeout

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

SetTimeout adds the timeout to the timesheet month approve approve params

func (*TimesheetMonthApproveApproveParams) WithApprovedUntilDate

func (o *TimesheetMonthApproveApproveParams) WithApprovedUntilDate(approvedUntilDate *string) *TimesheetMonthApproveApproveParams

WithApprovedUntilDate adds the approvedUntilDate to the timesheet month approve approve params

func (*TimesheetMonthApproveApproveParams) WithContext

WithContext adds the context to the timesheet month approve approve params

func (*TimesheetMonthApproveApproveParams) WithEmployeeIds

WithEmployeeIds adds the employeeIds to the timesheet month approve approve params

func (*TimesheetMonthApproveApproveParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the timesheet month approve approve params

func (*TimesheetMonthApproveApproveParams) WithID

WithID adds the id to the timesheet month approve approve params

func (*TimesheetMonthApproveApproveParams) WithMonthYear

WithMonthYear adds the monthYear to the timesheet month approve approve params

func (*TimesheetMonthApproveApproveParams) WithTimeout

WithTimeout adds the timeout to the timesheet month approve approve params

func (*TimesheetMonthApproveApproveParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TimesheetMonthApproveApproveReader

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

TimesheetMonthApproveApproveReader is a Reader for the TimesheetMonthApproveApprove structure.

func (*TimesheetMonthApproveApproveReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TimesheetMonthByMonthNumberGetByMonthNumberOK

type TimesheetMonthByMonthNumberGetByMonthNumberOK struct {
	Payload *models.ListResponseMonthlyStatus
}

TimesheetMonthByMonthNumberGetByMonthNumberOK handles this case with default header values.

successful operation

func NewTimesheetMonthByMonthNumberGetByMonthNumberOK

func NewTimesheetMonthByMonthNumberGetByMonthNumberOK() *TimesheetMonthByMonthNumberGetByMonthNumberOK

NewTimesheetMonthByMonthNumberGetByMonthNumberOK creates a TimesheetMonthByMonthNumberGetByMonthNumberOK with default headers values

func (*TimesheetMonthByMonthNumberGetByMonthNumberOK) Error

func (*TimesheetMonthByMonthNumberGetByMonthNumberOK) GetPayload

type TimesheetMonthByMonthNumberGetByMonthNumberParams

type TimesheetMonthByMonthNumberGetByMonthNumberParams struct {

	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*EmployeeIds
	  List of IDs. Defaults to ID of token owner.

	*/
	EmployeeIds string
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*MonthYear
	  2020-01

	*/
	MonthYear string
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string

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

TimesheetMonthByMonthNumberGetByMonthNumberParams contains all the parameters to send to the API endpoint for the timesheet month by month number get by month number operation typically these are written to a http.Request

func NewTimesheetMonthByMonthNumberGetByMonthNumberParams

func NewTimesheetMonthByMonthNumberGetByMonthNumberParams() *TimesheetMonthByMonthNumberGetByMonthNumberParams

NewTimesheetMonthByMonthNumberGetByMonthNumberParams creates a new TimesheetMonthByMonthNumberGetByMonthNumberParams object with the default values initialized.

func NewTimesheetMonthByMonthNumberGetByMonthNumberParamsWithContext

func NewTimesheetMonthByMonthNumberGetByMonthNumberParamsWithContext(ctx context.Context) *TimesheetMonthByMonthNumberGetByMonthNumberParams

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

func NewTimesheetMonthByMonthNumberGetByMonthNumberParamsWithHTTPClient

func NewTimesheetMonthByMonthNumberGetByMonthNumberParamsWithHTTPClient(client *http.Client) *TimesheetMonthByMonthNumberGetByMonthNumberParams

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

func NewTimesheetMonthByMonthNumberGetByMonthNumberParamsWithTimeout

func NewTimesheetMonthByMonthNumberGetByMonthNumberParamsWithTimeout(timeout time.Duration) *TimesheetMonthByMonthNumberGetByMonthNumberParams

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

func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) SetContext

SetContext adds the context to the timesheet month by month number get by month number params

func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) SetCount

SetCount adds the count to the timesheet month by month number get by month number params

func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) SetEmployeeIds

func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) SetEmployeeIds(employeeIds string)

SetEmployeeIds adds the employeeIds to the timesheet month by month number get by month number params

func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) SetFields

SetFields adds the fields to the timesheet month by month number get by month number params

func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) SetFrom

SetFrom adds the from to the timesheet month by month number get by month number params

func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the timesheet month by month number get by month number params

func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) SetMonthYear

func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) SetMonthYear(monthYear string)

SetMonthYear adds the monthYear to the timesheet month by month number get by month number params

func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) SetSorting

SetSorting adds the sorting to the timesheet month by month number get by month number params

func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) SetTimeout

SetTimeout adds the timeout to the timesheet month by month number get by month number params

func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) WithContext

WithContext adds the context to the timesheet month by month number get by month number params

func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) WithCount

WithCount adds the count to the timesheet month by month number get by month number params

func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) WithEmployeeIds

WithEmployeeIds adds the employeeIds to the timesheet month by month number get by month number params

func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) WithFields

WithFields adds the fields to the timesheet month by month number get by month number params

func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) WithFrom

WithFrom adds the from to the timesheet month by month number get by month number params

func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the timesheet month by month number get by month number params

func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) WithMonthYear

WithMonthYear adds the monthYear to the timesheet month by month number get by month number params

func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) WithSorting

WithSorting adds the sorting to the timesheet month by month number get by month number params

func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) WithTimeout

WithTimeout adds the timeout to the timesheet month by month number get by month number params

func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TimesheetMonthByMonthNumberGetByMonthNumberReader

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

TimesheetMonthByMonthNumberGetByMonthNumberReader is a Reader for the TimesheetMonthByMonthNumberGetByMonthNumber structure.

func (*TimesheetMonthByMonthNumberGetByMonthNumberReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TimesheetMonthCompleteCompleteOK

type TimesheetMonthCompleteCompleteOK struct {
	Payload *models.ListResponseMonthlyStatus
}

TimesheetMonthCompleteCompleteOK handles this case with default header values.

successful operation

func NewTimesheetMonthCompleteCompleteOK

func NewTimesheetMonthCompleteCompleteOK() *TimesheetMonthCompleteCompleteOK

NewTimesheetMonthCompleteCompleteOK creates a TimesheetMonthCompleteCompleteOK with default headers values

func (*TimesheetMonthCompleteCompleteOK) Error

func (*TimesheetMonthCompleteCompleteOK) GetPayload

type TimesheetMonthCompleteCompleteParams

type TimesheetMonthCompleteCompleteParams struct {

	/*EmployeeIds
	  List of IDs. Defaults to ID of token owner.

	*/
	EmployeeIds *string
	/*ID
	  Element ID

	*/
	ID *int32
	/*MonthYear
	  2020-01

	*/
	MonthYear *string

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

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

func NewTimesheetMonthCompleteCompleteParams

func NewTimesheetMonthCompleteCompleteParams() *TimesheetMonthCompleteCompleteParams

NewTimesheetMonthCompleteCompleteParams creates a new TimesheetMonthCompleteCompleteParams object with the default values initialized.

func NewTimesheetMonthCompleteCompleteParamsWithContext

func NewTimesheetMonthCompleteCompleteParamsWithContext(ctx context.Context) *TimesheetMonthCompleteCompleteParams

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

func NewTimesheetMonthCompleteCompleteParamsWithHTTPClient

func NewTimesheetMonthCompleteCompleteParamsWithHTTPClient(client *http.Client) *TimesheetMonthCompleteCompleteParams

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

func NewTimesheetMonthCompleteCompleteParamsWithTimeout

func NewTimesheetMonthCompleteCompleteParamsWithTimeout(timeout time.Duration) *TimesheetMonthCompleteCompleteParams

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

func (*TimesheetMonthCompleteCompleteParams) SetContext

SetContext adds the context to the timesheet month complete complete params

func (*TimesheetMonthCompleteCompleteParams) SetEmployeeIds

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

SetEmployeeIds adds the employeeIds to the timesheet month complete complete params

func (*TimesheetMonthCompleteCompleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the timesheet month complete complete params

func (*TimesheetMonthCompleteCompleteParams) SetID

SetID adds the id to the timesheet month complete complete params

func (*TimesheetMonthCompleteCompleteParams) SetMonthYear

func (o *TimesheetMonthCompleteCompleteParams) SetMonthYear(monthYear *string)

SetMonthYear adds the monthYear to the timesheet month complete complete params

func (*TimesheetMonthCompleteCompleteParams) SetTimeout

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

SetTimeout adds the timeout to the timesheet month complete complete params

func (*TimesheetMonthCompleteCompleteParams) WithContext

WithContext adds the context to the timesheet month complete complete params

func (*TimesheetMonthCompleteCompleteParams) WithEmployeeIds

WithEmployeeIds adds the employeeIds to the timesheet month complete complete params

func (*TimesheetMonthCompleteCompleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the timesheet month complete complete params

func (*TimesheetMonthCompleteCompleteParams) WithID

WithID adds the id to the timesheet month complete complete params

func (*TimesheetMonthCompleteCompleteParams) WithMonthYear

WithMonthYear adds the monthYear to the timesheet month complete complete params

func (*TimesheetMonthCompleteCompleteParams) WithTimeout

WithTimeout adds the timeout to the timesheet month complete complete params

func (*TimesheetMonthCompleteCompleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TimesheetMonthCompleteCompleteReader

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

TimesheetMonthCompleteCompleteReader is a Reader for the TimesheetMonthCompleteComplete structure.

func (*TimesheetMonthCompleteCompleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TimesheetMonthGetOK

type TimesheetMonthGetOK struct {
	Payload *models.ResponseWrapperMonthlyStatus
}

TimesheetMonthGetOK handles this case with default header values.

successful operation

func NewTimesheetMonthGetOK

func NewTimesheetMonthGetOK() *TimesheetMonthGetOK

NewTimesheetMonthGetOK creates a TimesheetMonthGetOK with default headers values

func (*TimesheetMonthGetOK) Error

func (o *TimesheetMonthGetOK) Error() string

func (*TimesheetMonthGetOK) GetPayload

type TimesheetMonthGetParams

type TimesheetMonthGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

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

func NewTimesheetMonthGetParams

func NewTimesheetMonthGetParams() *TimesheetMonthGetParams

NewTimesheetMonthGetParams creates a new TimesheetMonthGetParams object with the default values initialized.

func NewTimesheetMonthGetParamsWithContext

func NewTimesheetMonthGetParamsWithContext(ctx context.Context) *TimesheetMonthGetParams

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

func NewTimesheetMonthGetParamsWithHTTPClient

func NewTimesheetMonthGetParamsWithHTTPClient(client *http.Client) *TimesheetMonthGetParams

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

func NewTimesheetMonthGetParamsWithTimeout

func NewTimesheetMonthGetParamsWithTimeout(timeout time.Duration) *TimesheetMonthGetParams

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

func (*TimesheetMonthGetParams) SetContext

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

SetContext adds the context to the timesheet month get params

func (*TimesheetMonthGetParams) SetFields

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

SetFields adds the fields to the timesheet month get params

func (*TimesheetMonthGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the timesheet month get params

func (*TimesheetMonthGetParams) SetID

func (o *TimesheetMonthGetParams) SetID(id int32)

SetID adds the id to the timesheet month get params

func (*TimesheetMonthGetParams) SetTimeout

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

SetTimeout adds the timeout to the timesheet month get params

func (*TimesheetMonthGetParams) WithContext

WithContext adds the context to the timesheet month get params

func (*TimesheetMonthGetParams) WithFields

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

WithFields adds the fields to the timesheet month get params

func (*TimesheetMonthGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the timesheet month get params

func (*TimesheetMonthGetParams) WithID

WithID adds the id to the timesheet month get params

func (*TimesheetMonthGetParams) WithTimeout

WithTimeout adds the timeout to the timesheet month get params

func (*TimesheetMonthGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TimesheetMonthGetReader

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

TimesheetMonthGetReader is a Reader for the TimesheetMonthGet structure.

func (*TimesheetMonthGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TimesheetMonthReopenReopenOK

type TimesheetMonthReopenReopenOK struct {
	Payload *models.ListResponseMonthlyStatus
}

TimesheetMonthReopenReopenOK handles this case with default header values.

successful operation

func NewTimesheetMonthReopenReopenOK

func NewTimesheetMonthReopenReopenOK() *TimesheetMonthReopenReopenOK

NewTimesheetMonthReopenReopenOK creates a TimesheetMonthReopenReopenOK with default headers values

func (*TimesheetMonthReopenReopenOK) Error

func (*TimesheetMonthReopenReopenOK) GetPayload

type TimesheetMonthReopenReopenParams

type TimesheetMonthReopenReopenParams struct {

	/*EmployeeIds
	  List of IDs. Defaults to ID of token owner.

	*/
	EmployeeIds *string
	/*ID
	  Element ID

	*/
	ID *int32
	/*MonthYear
	  2020-01

	*/
	MonthYear *string

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

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

func NewTimesheetMonthReopenReopenParams

func NewTimesheetMonthReopenReopenParams() *TimesheetMonthReopenReopenParams

NewTimesheetMonthReopenReopenParams creates a new TimesheetMonthReopenReopenParams object with the default values initialized.

func NewTimesheetMonthReopenReopenParamsWithContext

func NewTimesheetMonthReopenReopenParamsWithContext(ctx context.Context) *TimesheetMonthReopenReopenParams

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

func NewTimesheetMonthReopenReopenParamsWithHTTPClient

func NewTimesheetMonthReopenReopenParamsWithHTTPClient(client *http.Client) *TimesheetMonthReopenReopenParams

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

func NewTimesheetMonthReopenReopenParamsWithTimeout

func NewTimesheetMonthReopenReopenParamsWithTimeout(timeout time.Duration) *TimesheetMonthReopenReopenParams

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

func (*TimesheetMonthReopenReopenParams) SetContext

SetContext adds the context to the timesheet month reopen reopen params

func (*TimesheetMonthReopenReopenParams) SetEmployeeIds

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

SetEmployeeIds adds the employeeIds to the timesheet month reopen reopen params

func (*TimesheetMonthReopenReopenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the timesheet month reopen reopen params

func (*TimesheetMonthReopenReopenParams) SetID

SetID adds the id to the timesheet month reopen reopen params

func (*TimesheetMonthReopenReopenParams) SetMonthYear

func (o *TimesheetMonthReopenReopenParams) SetMonthYear(monthYear *string)

SetMonthYear adds the monthYear to the timesheet month reopen reopen params

func (*TimesheetMonthReopenReopenParams) SetTimeout

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

SetTimeout adds the timeout to the timesheet month reopen reopen params

func (*TimesheetMonthReopenReopenParams) WithContext

WithContext adds the context to the timesheet month reopen reopen params

func (*TimesheetMonthReopenReopenParams) WithEmployeeIds

WithEmployeeIds adds the employeeIds to the timesheet month reopen reopen params

func (*TimesheetMonthReopenReopenParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the timesheet month reopen reopen params

func (*TimesheetMonthReopenReopenParams) WithID

WithID adds the id to the timesheet month reopen reopen params

func (*TimesheetMonthReopenReopenParams) WithMonthYear

WithMonthYear adds the monthYear to the timesheet month reopen reopen params

func (*TimesheetMonthReopenReopenParams) WithTimeout

WithTimeout adds the timeout to the timesheet month reopen reopen params

func (*TimesheetMonthReopenReopenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TimesheetMonthReopenReopenReader

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

TimesheetMonthReopenReopenReader is a Reader for the TimesheetMonthReopenReopen structure.

func (*TimesheetMonthReopenReopenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TimesheetMonthUnapproveUnapproveOK

type TimesheetMonthUnapproveUnapproveOK struct {
	Payload *models.ListResponseMonthlyStatus
}

TimesheetMonthUnapproveUnapproveOK handles this case with default header values.

successful operation

func NewTimesheetMonthUnapproveUnapproveOK

func NewTimesheetMonthUnapproveUnapproveOK() *TimesheetMonthUnapproveUnapproveOK

NewTimesheetMonthUnapproveUnapproveOK creates a TimesheetMonthUnapproveUnapproveOK with default headers values

func (*TimesheetMonthUnapproveUnapproveOK) Error

func (*TimesheetMonthUnapproveUnapproveOK) GetPayload

type TimesheetMonthUnapproveUnapproveParams

type TimesheetMonthUnapproveUnapproveParams struct {

	/*EmployeeIds
	  List of IDs. Defaults to ID of token owner.

	*/
	EmployeeIds *string
	/*ID
	  Element ID

	*/
	ID *int32
	/*MonthYear
	  2020-01

	*/
	MonthYear *string

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

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

func NewTimesheetMonthUnapproveUnapproveParams

func NewTimesheetMonthUnapproveUnapproveParams() *TimesheetMonthUnapproveUnapproveParams

NewTimesheetMonthUnapproveUnapproveParams creates a new TimesheetMonthUnapproveUnapproveParams object with the default values initialized.

func NewTimesheetMonthUnapproveUnapproveParamsWithContext

func NewTimesheetMonthUnapproveUnapproveParamsWithContext(ctx context.Context) *TimesheetMonthUnapproveUnapproveParams

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

func NewTimesheetMonthUnapproveUnapproveParamsWithHTTPClient

func NewTimesheetMonthUnapproveUnapproveParamsWithHTTPClient(client *http.Client) *TimesheetMonthUnapproveUnapproveParams

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

func NewTimesheetMonthUnapproveUnapproveParamsWithTimeout

func NewTimesheetMonthUnapproveUnapproveParamsWithTimeout(timeout time.Duration) *TimesheetMonthUnapproveUnapproveParams

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

func (*TimesheetMonthUnapproveUnapproveParams) SetContext

SetContext adds the context to the timesheet month unapprove unapprove params

func (*TimesheetMonthUnapproveUnapproveParams) SetEmployeeIds

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

SetEmployeeIds adds the employeeIds to the timesheet month unapprove unapprove params

func (*TimesheetMonthUnapproveUnapproveParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the timesheet month unapprove unapprove params

func (*TimesheetMonthUnapproveUnapproveParams) SetID

SetID adds the id to the timesheet month unapprove unapprove params

func (*TimesheetMonthUnapproveUnapproveParams) SetMonthYear

func (o *TimesheetMonthUnapproveUnapproveParams) SetMonthYear(monthYear *string)

SetMonthYear adds the monthYear to the timesheet month unapprove unapprove params

func (*TimesheetMonthUnapproveUnapproveParams) SetTimeout

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

SetTimeout adds the timeout to the timesheet month unapprove unapprove params

func (*TimesheetMonthUnapproveUnapproveParams) WithContext

WithContext adds the context to the timesheet month unapprove unapprove params

func (*TimesheetMonthUnapproveUnapproveParams) WithEmployeeIds

WithEmployeeIds adds the employeeIds to the timesheet month unapprove unapprove params

func (*TimesheetMonthUnapproveUnapproveParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the timesheet month unapprove unapprove params

func (*TimesheetMonthUnapproveUnapproveParams) WithID

WithID adds the id to the timesheet month unapprove unapprove params

func (*TimesheetMonthUnapproveUnapproveParams) WithMonthYear

WithMonthYear adds the monthYear to the timesheet month unapprove unapprove params

func (*TimesheetMonthUnapproveUnapproveParams) WithTimeout

WithTimeout adds the timeout to the timesheet month unapprove unapprove params

func (*TimesheetMonthUnapproveUnapproveParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TimesheetMonthUnapproveUnapproveReader

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

TimesheetMonthUnapproveUnapproveReader is a Reader for the TimesheetMonthUnapproveUnapprove structure.

func (*TimesheetMonthUnapproveUnapproveReader) ReadResponse

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