Documentation ¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TimesheetMonthApproveApprove(params *TimesheetMonthApproveApproveParams, ...) (*TimesheetMonthApproveApproveOK, error)
- func (a *Client) TimesheetMonthByMonthNumberGetByMonthNumber(params *TimesheetMonthByMonthNumberGetByMonthNumberParams, ...) (*TimesheetMonthByMonthNumberGetByMonthNumberOK, error)
- func (a *Client) TimesheetMonthCompleteComplete(params *TimesheetMonthCompleteCompleteParams, ...) (*TimesheetMonthCompleteCompleteOK, error)
- func (a *Client) TimesheetMonthGet(params *TimesheetMonthGetParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetMonthGetOK, error)
- func (a *Client) TimesheetMonthReopenReopen(params *TimesheetMonthReopenReopenParams, ...) (*TimesheetMonthReopenReopenOK, error)
- func (a *Client) TimesheetMonthUnapproveUnapprove(params *TimesheetMonthUnapproveUnapproveParams, ...) (*TimesheetMonthUnapproveUnapproveOK, error)
- type ClientService
- type TimesheetMonthApproveApproveOK
- type TimesheetMonthApproveApproveParams
- func NewTimesheetMonthApproveApproveParams() *TimesheetMonthApproveApproveParams
- func NewTimesheetMonthApproveApproveParamsWithContext(ctx context.Context) *TimesheetMonthApproveApproveParams
- func NewTimesheetMonthApproveApproveParamsWithHTTPClient(client *http.Client) *TimesheetMonthApproveApproveParams
- func NewTimesheetMonthApproveApproveParamsWithTimeout(timeout time.Duration) *TimesheetMonthApproveApproveParams
- func (o *TimesheetMonthApproveApproveParams) SetApprovedUntilDate(approvedUntilDate *string)
- func (o *TimesheetMonthApproveApproveParams) SetContext(ctx context.Context)
- func (o *TimesheetMonthApproveApproveParams) SetEmployeeIds(employeeIds *string)
- func (o *TimesheetMonthApproveApproveParams) SetHTTPClient(client *http.Client)
- func (o *TimesheetMonthApproveApproveParams) SetID(id *int32)
- func (o *TimesheetMonthApproveApproveParams) SetMonthYear(monthYear *string)
- func (o *TimesheetMonthApproveApproveParams) SetTimeout(timeout time.Duration)
- func (o *TimesheetMonthApproveApproveParams) WithApprovedUntilDate(approvedUntilDate *string) *TimesheetMonthApproveApproveParams
- func (o *TimesheetMonthApproveApproveParams) WithContext(ctx context.Context) *TimesheetMonthApproveApproveParams
- func (o *TimesheetMonthApproveApproveParams) WithEmployeeIds(employeeIds *string) *TimesheetMonthApproveApproveParams
- func (o *TimesheetMonthApproveApproveParams) WithHTTPClient(client *http.Client) *TimesheetMonthApproveApproveParams
- func (o *TimesheetMonthApproveApproveParams) WithID(id *int32) *TimesheetMonthApproveApproveParams
- func (o *TimesheetMonthApproveApproveParams) WithMonthYear(monthYear *string) *TimesheetMonthApproveApproveParams
- func (o *TimesheetMonthApproveApproveParams) WithTimeout(timeout time.Duration) *TimesheetMonthApproveApproveParams
- func (o *TimesheetMonthApproveApproveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TimesheetMonthApproveApproveReader
- type TimesheetMonthByMonthNumberGetByMonthNumberOK
- type TimesheetMonthByMonthNumberGetByMonthNumberParams
- func NewTimesheetMonthByMonthNumberGetByMonthNumberParams() *TimesheetMonthByMonthNumberGetByMonthNumberParams
- func NewTimesheetMonthByMonthNumberGetByMonthNumberParamsWithContext(ctx context.Context) *TimesheetMonthByMonthNumberGetByMonthNumberParams
- func NewTimesheetMonthByMonthNumberGetByMonthNumberParamsWithHTTPClient(client *http.Client) *TimesheetMonthByMonthNumberGetByMonthNumberParams
- func NewTimesheetMonthByMonthNumberGetByMonthNumberParamsWithTimeout(timeout time.Duration) *TimesheetMonthByMonthNumberGetByMonthNumberParams
- func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) SetContext(ctx context.Context)
- func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) SetCount(count *int64)
- func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) SetEmployeeIds(employeeIds string)
- func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) SetFields(fields *string)
- func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) SetFrom(from *int64)
- func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) SetHTTPClient(client *http.Client)
- func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) SetMonthYear(monthYear string)
- func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) SetSorting(sorting *string)
- func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) SetTimeout(timeout time.Duration)
- func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) WithContext(ctx context.Context) *TimesheetMonthByMonthNumberGetByMonthNumberParams
- func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) WithCount(count *int64) *TimesheetMonthByMonthNumberGetByMonthNumberParams
- func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) WithEmployeeIds(employeeIds string) *TimesheetMonthByMonthNumberGetByMonthNumberParams
- func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) WithFields(fields *string) *TimesheetMonthByMonthNumberGetByMonthNumberParams
- func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) WithFrom(from *int64) *TimesheetMonthByMonthNumberGetByMonthNumberParams
- func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) WithHTTPClient(client *http.Client) *TimesheetMonthByMonthNumberGetByMonthNumberParams
- func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) WithMonthYear(monthYear string) *TimesheetMonthByMonthNumberGetByMonthNumberParams
- func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) WithSorting(sorting *string) *TimesheetMonthByMonthNumberGetByMonthNumberParams
- func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) WithTimeout(timeout time.Duration) *TimesheetMonthByMonthNumberGetByMonthNumberParams
- func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TimesheetMonthByMonthNumberGetByMonthNumberReader
- type TimesheetMonthCompleteCompleteOK
- type TimesheetMonthCompleteCompleteParams
- func NewTimesheetMonthCompleteCompleteParams() *TimesheetMonthCompleteCompleteParams
- func NewTimesheetMonthCompleteCompleteParamsWithContext(ctx context.Context) *TimesheetMonthCompleteCompleteParams
- func NewTimesheetMonthCompleteCompleteParamsWithHTTPClient(client *http.Client) *TimesheetMonthCompleteCompleteParams
- func NewTimesheetMonthCompleteCompleteParamsWithTimeout(timeout time.Duration) *TimesheetMonthCompleteCompleteParams
- func (o *TimesheetMonthCompleteCompleteParams) SetContext(ctx context.Context)
- func (o *TimesheetMonthCompleteCompleteParams) SetEmployeeIds(employeeIds *string)
- func (o *TimesheetMonthCompleteCompleteParams) SetHTTPClient(client *http.Client)
- func (o *TimesheetMonthCompleteCompleteParams) SetID(id *int32)
- func (o *TimesheetMonthCompleteCompleteParams) SetMonthYear(monthYear *string)
- func (o *TimesheetMonthCompleteCompleteParams) SetTimeout(timeout time.Duration)
- func (o *TimesheetMonthCompleteCompleteParams) WithContext(ctx context.Context) *TimesheetMonthCompleteCompleteParams
- func (o *TimesheetMonthCompleteCompleteParams) WithEmployeeIds(employeeIds *string) *TimesheetMonthCompleteCompleteParams
- func (o *TimesheetMonthCompleteCompleteParams) WithHTTPClient(client *http.Client) *TimesheetMonthCompleteCompleteParams
- func (o *TimesheetMonthCompleteCompleteParams) WithID(id *int32) *TimesheetMonthCompleteCompleteParams
- func (o *TimesheetMonthCompleteCompleteParams) WithMonthYear(monthYear *string) *TimesheetMonthCompleteCompleteParams
- func (o *TimesheetMonthCompleteCompleteParams) WithTimeout(timeout time.Duration) *TimesheetMonthCompleteCompleteParams
- func (o *TimesheetMonthCompleteCompleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TimesheetMonthCompleteCompleteReader
- type TimesheetMonthGetOK
- type TimesheetMonthGetParams
- func NewTimesheetMonthGetParams() *TimesheetMonthGetParams
- func NewTimesheetMonthGetParamsWithContext(ctx context.Context) *TimesheetMonthGetParams
- func NewTimesheetMonthGetParamsWithHTTPClient(client *http.Client) *TimesheetMonthGetParams
- func NewTimesheetMonthGetParamsWithTimeout(timeout time.Duration) *TimesheetMonthGetParams
- func (o *TimesheetMonthGetParams) SetContext(ctx context.Context)
- func (o *TimesheetMonthGetParams) SetFields(fields *string)
- func (o *TimesheetMonthGetParams) SetHTTPClient(client *http.Client)
- func (o *TimesheetMonthGetParams) SetID(id int32)
- func (o *TimesheetMonthGetParams) SetTimeout(timeout time.Duration)
- func (o *TimesheetMonthGetParams) WithContext(ctx context.Context) *TimesheetMonthGetParams
- func (o *TimesheetMonthGetParams) WithFields(fields *string) *TimesheetMonthGetParams
- func (o *TimesheetMonthGetParams) WithHTTPClient(client *http.Client) *TimesheetMonthGetParams
- func (o *TimesheetMonthGetParams) WithID(id int32) *TimesheetMonthGetParams
- func (o *TimesheetMonthGetParams) WithTimeout(timeout time.Duration) *TimesheetMonthGetParams
- func (o *TimesheetMonthGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TimesheetMonthGetReader
- type TimesheetMonthReopenReopenOK
- type TimesheetMonthReopenReopenParams
- func NewTimesheetMonthReopenReopenParams() *TimesheetMonthReopenReopenParams
- func NewTimesheetMonthReopenReopenParamsWithContext(ctx context.Context) *TimesheetMonthReopenReopenParams
- func NewTimesheetMonthReopenReopenParamsWithHTTPClient(client *http.Client) *TimesheetMonthReopenReopenParams
- func NewTimesheetMonthReopenReopenParamsWithTimeout(timeout time.Duration) *TimesheetMonthReopenReopenParams
- func (o *TimesheetMonthReopenReopenParams) SetContext(ctx context.Context)
- func (o *TimesheetMonthReopenReopenParams) SetEmployeeIds(employeeIds *string)
- func (o *TimesheetMonthReopenReopenParams) SetHTTPClient(client *http.Client)
- func (o *TimesheetMonthReopenReopenParams) SetID(id *int32)
- func (o *TimesheetMonthReopenReopenParams) SetMonthYear(monthYear *string)
- func (o *TimesheetMonthReopenReopenParams) SetTimeout(timeout time.Duration)
- func (o *TimesheetMonthReopenReopenParams) WithContext(ctx context.Context) *TimesheetMonthReopenReopenParams
- func (o *TimesheetMonthReopenReopenParams) WithEmployeeIds(employeeIds *string) *TimesheetMonthReopenReopenParams
- func (o *TimesheetMonthReopenReopenParams) WithHTTPClient(client *http.Client) *TimesheetMonthReopenReopenParams
- func (o *TimesheetMonthReopenReopenParams) WithID(id *int32) *TimesheetMonthReopenReopenParams
- func (o *TimesheetMonthReopenReopenParams) WithMonthYear(monthYear *string) *TimesheetMonthReopenReopenParams
- func (o *TimesheetMonthReopenReopenParams) WithTimeout(timeout time.Duration) *TimesheetMonthReopenReopenParams
- func (o *TimesheetMonthReopenReopenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TimesheetMonthReopenReopenReader
- type TimesheetMonthUnapproveUnapproveOK
- type TimesheetMonthUnapproveUnapproveParams
- func NewTimesheetMonthUnapproveUnapproveParams() *TimesheetMonthUnapproveUnapproveParams
- func NewTimesheetMonthUnapproveUnapproveParamsWithContext(ctx context.Context) *TimesheetMonthUnapproveUnapproveParams
- func NewTimesheetMonthUnapproveUnapproveParamsWithHTTPClient(client *http.Client) *TimesheetMonthUnapproveUnapproveParams
- func NewTimesheetMonthUnapproveUnapproveParamsWithTimeout(timeout time.Duration) *TimesheetMonthUnapproveUnapproveParams
- func (o *TimesheetMonthUnapproveUnapproveParams) SetContext(ctx context.Context)
- func (o *TimesheetMonthUnapproveUnapproveParams) SetEmployeeIds(employeeIds *string)
- func (o *TimesheetMonthUnapproveUnapproveParams) SetHTTPClient(client *http.Client)
- func (o *TimesheetMonthUnapproveUnapproveParams) SetID(id *int32)
- func (o *TimesheetMonthUnapproveUnapproveParams) SetMonthYear(monthYear *string)
- func (o *TimesheetMonthUnapproveUnapproveParams) SetTimeout(timeout time.Duration)
- func (o *TimesheetMonthUnapproveUnapproveParams) WithContext(ctx context.Context) *TimesheetMonthUnapproveUnapproveParams
- func (o *TimesheetMonthUnapproveUnapproveParams) WithEmployeeIds(employeeIds *string) *TimesheetMonthUnapproveUnapproveParams
- func (o *TimesheetMonthUnapproveUnapproveParams) WithHTTPClient(client *http.Client) *TimesheetMonthUnapproveUnapproveParams
- func (o *TimesheetMonthUnapproveUnapproveParams) WithID(id *int32) *TimesheetMonthUnapproveUnapproveParams
- func (o *TimesheetMonthUnapproveUnapproveParams) WithMonthYear(monthYear *string) *TimesheetMonthUnapproveUnapproveParams
- func (o *TimesheetMonthUnapproveUnapproveParams) WithTimeout(timeout time.Duration) *TimesheetMonthUnapproveUnapproveParams
- func (o *TimesheetMonthUnapproveUnapproveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TimesheetMonthUnapproveUnapproveReader
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 ¶
func (a *Client) TimesheetMonthByMonthNumberGetByMonthNumber(params *TimesheetMonthByMonthNumberGetByMonthNumberParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetMonthByMonthNumberGetByMonthNumberOK, error)
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 ¶
func (a *Client) TimesheetMonthUnapproveUnapprove(params *TimesheetMonthUnapproveUnapproveParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetMonthUnapproveUnapproveOK, error)
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 (o *TimesheetMonthApproveApproveOK) Error() string
func (*TimesheetMonthApproveApproveOK) GetPayload ¶
func (o *TimesheetMonthApproveApproveOK) GetPayload() *models.ListResponseMonthlyStatus
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 ¶
func (o *TimesheetMonthApproveApproveParams) SetContext(ctx context.Context)
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 ¶
func (o *TimesheetMonthApproveApproveParams) SetID(id *int32)
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 ¶
func (o *TimesheetMonthApproveApproveParams) WithContext(ctx context.Context) *TimesheetMonthApproveApproveParams
WithContext adds the context to the timesheet month approve approve params
func (*TimesheetMonthApproveApproveParams) WithEmployeeIds ¶
func (o *TimesheetMonthApproveApproveParams) WithEmployeeIds(employeeIds *string) *TimesheetMonthApproveApproveParams
WithEmployeeIds adds the employeeIds to the timesheet month approve approve params
func (*TimesheetMonthApproveApproveParams) WithHTTPClient ¶
func (o *TimesheetMonthApproveApproveParams) WithHTTPClient(client *http.Client) *TimesheetMonthApproveApproveParams
WithHTTPClient adds the HTTPClient to the timesheet month approve approve params
func (*TimesheetMonthApproveApproveParams) WithID ¶
func (o *TimesheetMonthApproveApproveParams) WithID(id *int32) *TimesheetMonthApproveApproveParams
WithID adds the id to the timesheet month approve approve params
func (*TimesheetMonthApproveApproveParams) WithMonthYear ¶
func (o *TimesheetMonthApproveApproveParams) WithMonthYear(monthYear *string) *TimesheetMonthApproveApproveParams
WithMonthYear adds the monthYear to the timesheet month approve approve params
func (*TimesheetMonthApproveApproveParams) WithTimeout ¶
func (o *TimesheetMonthApproveApproveParams) WithTimeout(timeout time.Duration) *TimesheetMonthApproveApproveParams
WithTimeout adds the timeout to the timesheet month approve approve params
func (*TimesheetMonthApproveApproveParams) WriteToRequest ¶
func (o *TimesheetMonthApproveApproveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *TimesheetMonthByMonthNumberGetByMonthNumberOK) Error() string
func (*TimesheetMonthByMonthNumberGetByMonthNumberOK) GetPayload ¶
func (o *TimesheetMonthByMonthNumberGetByMonthNumberOK) GetPayload() *models.ListResponseMonthlyStatus
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 ¶
func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) SetContext(ctx context.Context)
SetContext adds the context to the timesheet month by month number get by month number params
func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) SetCount ¶
func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) SetCount(count *int64)
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 ¶
func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) SetFields(fields *string)
SetFields adds the fields to the timesheet month by month number get by month number params
func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) SetFrom ¶
func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) SetFrom(from *int64)
SetFrom adds the from to the timesheet month by month number get by month number params
func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) SetHTTPClient ¶
func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) SetHTTPClient(client *http.Client)
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 ¶
func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) SetSorting(sorting *string)
SetSorting adds the sorting to the timesheet month by month number get by month number params
func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) SetTimeout ¶
func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the timesheet month by month number get by month number params
func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) WithContext ¶
func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) WithContext(ctx context.Context) *TimesheetMonthByMonthNumberGetByMonthNumberParams
WithContext adds the context to the timesheet month by month number get by month number params
func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) WithCount ¶
func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) WithCount(count *int64) *TimesheetMonthByMonthNumberGetByMonthNumberParams
WithCount adds the count to the timesheet month by month number get by month number params
func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) WithEmployeeIds ¶
func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) WithEmployeeIds(employeeIds string) *TimesheetMonthByMonthNumberGetByMonthNumberParams
WithEmployeeIds adds the employeeIds to the timesheet month by month number get by month number params
func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) WithFields ¶
func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) WithFields(fields *string) *TimesheetMonthByMonthNumberGetByMonthNumberParams
WithFields adds the fields to the timesheet month by month number get by month number params
func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) WithFrom ¶
func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) WithFrom(from *int64) *TimesheetMonthByMonthNumberGetByMonthNumberParams
WithFrom adds the from to the timesheet month by month number get by month number params
func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) WithHTTPClient ¶
func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) WithHTTPClient(client *http.Client) *TimesheetMonthByMonthNumberGetByMonthNumberParams
WithHTTPClient adds the HTTPClient to the timesheet month by month number get by month number params
func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) WithMonthYear ¶
func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) WithMonthYear(monthYear string) *TimesheetMonthByMonthNumberGetByMonthNumberParams
WithMonthYear adds the monthYear to the timesheet month by month number get by month number params
func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) WithSorting ¶
func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) WithSorting(sorting *string) *TimesheetMonthByMonthNumberGetByMonthNumberParams
WithSorting adds the sorting to the timesheet month by month number get by month number params
func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) WithTimeout ¶
func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) WithTimeout(timeout time.Duration) *TimesheetMonthByMonthNumberGetByMonthNumberParams
WithTimeout adds the timeout to the timesheet month by month number get by month number params
func (*TimesheetMonthByMonthNumberGetByMonthNumberParams) WriteToRequest ¶
func (o *TimesheetMonthByMonthNumberGetByMonthNumberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *TimesheetMonthCompleteCompleteOK) Error() string
func (*TimesheetMonthCompleteCompleteOK) GetPayload ¶
func (o *TimesheetMonthCompleteCompleteOK) GetPayload() *models.ListResponseMonthlyStatus
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 ¶
func (o *TimesheetMonthCompleteCompleteParams) SetContext(ctx context.Context)
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 ¶
func (o *TimesheetMonthCompleteCompleteParams) SetID(id *int32)
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 ¶
func (o *TimesheetMonthCompleteCompleteParams) WithContext(ctx context.Context) *TimesheetMonthCompleteCompleteParams
WithContext adds the context to the timesheet month complete complete params
func (*TimesheetMonthCompleteCompleteParams) WithEmployeeIds ¶
func (o *TimesheetMonthCompleteCompleteParams) WithEmployeeIds(employeeIds *string) *TimesheetMonthCompleteCompleteParams
WithEmployeeIds adds the employeeIds to the timesheet month complete complete params
func (*TimesheetMonthCompleteCompleteParams) WithHTTPClient ¶
func (o *TimesheetMonthCompleteCompleteParams) WithHTTPClient(client *http.Client) *TimesheetMonthCompleteCompleteParams
WithHTTPClient adds the HTTPClient to the timesheet month complete complete params
func (*TimesheetMonthCompleteCompleteParams) WithID ¶
func (o *TimesheetMonthCompleteCompleteParams) WithID(id *int32) *TimesheetMonthCompleteCompleteParams
WithID adds the id to the timesheet month complete complete params
func (*TimesheetMonthCompleteCompleteParams) WithMonthYear ¶
func (o *TimesheetMonthCompleteCompleteParams) WithMonthYear(monthYear *string) *TimesheetMonthCompleteCompleteParams
WithMonthYear adds the monthYear to the timesheet month complete complete params
func (*TimesheetMonthCompleteCompleteParams) WithTimeout ¶
func (o *TimesheetMonthCompleteCompleteParams) WithTimeout(timeout time.Duration) *TimesheetMonthCompleteCompleteParams
WithTimeout adds the timeout to the timesheet month complete complete params
func (*TimesheetMonthCompleteCompleteParams) WriteToRequest ¶
func (o *TimesheetMonthCompleteCompleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *TimesheetMonthGetOK) GetPayload() *models.ResponseWrapperMonthlyStatus
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 ¶
func (o *TimesheetMonthGetParams) WithContext(ctx context.Context) *TimesheetMonthGetParams
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 ¶
func (o *TimesheetMonthGetParams) WithID(id int32) *TimesheetMonthGetParams
WithID adds the id to the timesheet month get params
func (*TimesheetMonthGetParams) WithTimeout ¶
func (o *TimesheetMonthGetParams) WithTimeout(timeout time.Duration) *TimesheetMonthGetParams
WithTimeout adds the timeout to the timesheet month get params
func (*TimesheetMonthGetParams) WriteToRequest ¶
func (o *TimesheetMonthGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *TimesheetMonthReopenReopenOK) Error() string
func (*TimesheetMonthReopenReopenOK) GetPayload ¶
func (o *TimesheetMonthReopenReopenOK) GetPayload() *models.ListResponseMonthlyStatus
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 ¶
func (o *TimesheetMonthReopenReopenParams) SetContext(ctx context.Context)
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 ¶
func (o *TimesheetMonthReopenReopenParams) SetID(id *int32)
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 ¶
func (o *TimesheetMonthReopenReopenParams) WithContext(ctx context.Context) *TimesheetMonthReopenReopenParams
WithContext adds the context to the timesheet month reopen reopen params
func (*TimesheetMonthReopenReopenParams) WithEmployeeIds ¶
func (o *TimesheetMonthReopenReopenParams) WithEmployeeIds(employeeIds *string) *TimesheetMonthReopenReopenParams
WithEmployeeIds adds the employeeIds to the timesheet month reopen reopen params
func (*TimesheetMonthReopenReopenParams) WithHTTPClient ¶
func (o *TimesheetMonthReopenReopenParams) WithHTTPClient(client *http.Client) *TimesheetMonthReopenReopenParams
WithHTTPClient adds the HTTPClient to the timesheet month reopen reopen params
func (*TimesheetMonthReopenReopenParams) WithID ¶
func (o *TimesheetMonthReopenReopenParams) WithID(id *int32) *TimesheetMonthReopenReopenParams
WithID adds the id to the timesheet month reopen reopen params
func (*TimesheetMonthReopenReopenParams) WithMonthYear ¶
func (o *TimesheetMonthReopenReopenParams) WithMonthYear(monthYear *string) *TimesheetMonthReopenReopenParams
WithMonthYear adds the monthYear to the timesheet month reopen reopen params
func (*TimesheetMonthReopenReopenParams) WithTimeout ¶
func (o *TimesheetMonthReopenReopenParams) WithTimeout(timeout time.Duration) *TimesheetMonthReopenReopenParams
WithTimeout adds the timeout to the timesheet month reopen reopen params
func (*TimesheetMonthReopenReopenParams) WriteToRequest ¶
func (o *TimesheetMonthReopenReopenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *TimesheetMonthUnapproveUnapproveOK) Error() string
func (*TimesheetMonthUnapproveUnapproveOK) GetPayload ¶
func (o *TimesheetMonthUnapproveUnapproveOK) GetPayload() *models.ListResponseMonthlyStatus
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 ¶
func (o *TimesheetMonthUnapproveUnapproveParams) SetContext(ctx context.Context)
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 ¶
func (o *TimesheetMonthUnapproveUnapproveParams) SetID(id *int32)
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 ¶
func (o *TimesheetMonthUnapproveUnapproveParams) WithContext(ctx context.Context) *TimesheetMonthUnapproveUnapproveParams
WithContext adds the context to the timesheet month unapprove unapprove params
func (*TimesheetMonthUnapproveUnapproveParams) WithEmployeeIds ¶
func (o *TimesheetMonthUnapproveUnapproveParams) WithEmployeeIds(employeeIds *string) *TimesheetMonthUnapproveUnapproveParams
WithEmployeeIds adds the employeeIds to the timesheet month unapprove unapprove params
func (*TimesheetMonthUnapproveUnapproveParams) WithHTTPClient ¶
func (o *TimesheetMonthUnapproveUnapproveParams) WithHTTPClient(client *http.Client) *TimesheetMonthUnapproveUnapproveParams
WithHTTPClient adds the HTTPClient to the timesheet month unapprove unapprove params
func (*TimesheetMonthUnapproveUnapproveParams) WithID ¶
func (o *TimesheetMonthUnapproveUnapproveParams) WithID(id *int32) *TimesheetMonthUnapproveUnapproveParams
WithID adds the id to the timesheet month unapprove unapprove params
func (*TimesheetMonthUnapproveUnapproveParams) WithMonthYear ¶
func (o *TimesheetMonthUnapproveUnapproveParams) WithMonthYear(monthYear *string) *TimesheetMonthUnapproveUnapproveParams
WithMonthYear adds the monthYear to the timesheet month unapprove unapprove params
func (*TimesheetMonthUnapproveUnapproveParams) WithTimeout ¶
func (o *TimesheetMonthUnapproveUnapproveParams) WithTimeout(timeout time.Duration) *TimesheetMonthUnapproveUnapproveParams
WithTimeout adds the timeout to the timesheet month unapprove unapprove params
func (*TimesheetMonthUnapproveUnapproveParams) WriteToRequest ¶
func (o *TimesheetMonthUnapproveUnapproveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- month_client.go
- timesheet_month_approve_approve_parameters.go
- timesheet_month_approve_approve_responses.go
- timesheet_month_by_month_number_get_by_month_number_parameters.go
- timesheet_month_by_month_number_get_by_month_number_responses.go
- timesheet_month_complete_complete_parameters.go
- timesheet_month_complete_complete_responses.go
- timesheet_month_get_parameters.go
- timesheet_month_get_responses.go
- timesheet_month_reopen_reopen_parameters.go
- timesheet_month_reopen_reopen_responses.go
- timesheet_month_unapprove_unapprove_parameters.go
- timesheet_month_unapprove_unapprove_responses.go