Documentation
¶
Overview ¶
Package freeloapi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.7.0 DO NOT EDIT.
Package freeloapi contains the oapi-codegen-generated Freelo API client.
Regenerate with `make gen` from the repo root. See spec/freelo-api.yaml for the vendored OpenAPI document that drives generation.
Index ¶
- Constants
- func NewActivateProjectRequest(server string, projectId ProjectIdParam) (*http.Request, error)
- func NewActivateTaskRequest(server string, taskId TaskIdParam, body ActivateTaskJSONRequestBody) (*http.Request, error)
- func NewActivateTaskRequestWithBody(server string, taskId TaskIdParam, contentType string, body io.Reader) (*http.Request, error)
- func NewActivateTaskcheckRequest(server string, taskcheckId TaskcheckIdParam) (*http.Request, error)
- func NewAddOrEditCustomFieldValueRequest(server string, body AddOrEditCustomFieldValueJSONRequestBody) (*http.Request, error)
- func NewAddOrEditCustomFieldValueRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAddOrEditEnumValueRequest(server string, body AddOrEditEnumValueJSONRequestBody) (*http.Request, error)
- func NewAddOrEditEnumValueRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAddProjectLabelToProjectRequest(server string, projectId int, body AddProjectLabelToProjectJSONRequestBody) (*http.Request, error)
- func NewAddProjectLabelToProjectRequestWithBody(server string, projectId int, contentType string, body io.Reader) (*http.Request, error)
- func NewAddTaskLabelsToTaskRequest(server string, taskId TaskIdParam, body AddTaskLabelsToTaskJSONRequestBody) (*http.Request, error)
- func NewAddTaskLabelsToTaskRequestWithBody(server string, taskId TaskIdParam, contentType string, body io.Reader) (*http.Request, error)
- func NewArchiveProjectRequest(server string, projectId ProjectIdParam) (*http.Request, error)
- func NewAssignTaskToProjectRequest(server string, taskId TaskIdParam, body AssignTaskToProjectJSONRequestBody) (*http.Request, error)
- func NewAssignTaskToProjectRequestWithBody(server string, taskId TaskIdParam, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateCommentRequest(server string, taskId TaskIdParam, body CreateCommentJSONRequestBody) (*http.Request, error)
- func NewCreateCommentRequestWithBody(server string, taskId TaskIdParam, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateCustomFieldRequest(server string, projectId ProjectIdParam, body CreateCustomFieldJSONRequestBody) (*http.Request, error)
- func NewCreateCustomFieldRequestWithBody(server string, projectId ProjectIdParam, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateEnumOptionRequest(server string, customFieldUuid openapi_types.UUID, ...) (*http.Request, error)
- func NewCreateEnumOptionRequestWithBody(server string, customFieldUuid openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewCreateNoteRequest(server string, projectId ProjectIdParam, body CreateNoteJSONRequestBody) (*http.Request, error)
- func NewCreateNoteRequestWithBody(server string, projectId ProjectIdParam, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateProjectFromTemplateRequest(server string, templateId int, body CreateProjectFromTemplateJSONRequestBody) (*http.Request, error)
- func NewCreateProjectFromTemplateRequestWithBody(server string, templateId int, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateProjectRequest(server string, body CreateProjectJSONRequestBody) (*http.Request, error)
- func NewCreateProjectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSubtaskRequest(server string, taskId TaskIdParam, body CreateSubtaskJSONRequestBody) (*http.Request, error)
- func NewCreateSubtaskRequestWithBody(server string, taskId TaskIdParam, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateTaskFromTemplateRequest(server string, templateId int, body CreateTaskFromTemplateJSONRequestBody) (*http.Request, error)
- func NewCreateTaskFromTemplateRequestWithBody(server string, templateId int, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateTaskLabelsRequest(server string, body CreateTaskLabelsJSONRequestBody) (*http.Request, error)
- func NewCreateTaskLabelsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateTaskReminderRequest(server string, taskId TaskIdParam, body CreateTaskReminderJSONRequestBody) (*http.Request, error)
- func NewCreateTaskReminderRequestWithBody(server string, taskId TaskIdParam, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateTaskRequest(server string, projectId ProjectIdParam, tasklistId TasklistIdParam, ...) (*http.Request, error)
- func NewCreateTaskRequestWithBody(server string, projectId ProjectIdParam, tasklistId TasklistIdParam, ...) (*http.Request, error)
- func NewCreateTasklistFromTemplateRequest(server string, templateId int, body CreateTasklistFromTemplateJSONRequestBody) (*http.Request, error)
- func NewCreateTasklistFromTemplateRequestWithBody(server string, templateId int, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateTasklistRequest(server string, projectId ProjectIdParam, body CreateTasklistJSONRequestBody) (*http.Request, error)
- func NewCreateTasklistRequestWithBody(server string, projectId ProjectIdParam, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateWorkReportRequest(server string, taskId TaskIdParam, body CreateWorkReportJSONRequestBody) (*http.Request, error)
- func NewCreateWorkReportRequestWithBody(server string, taskId TaskIdParam, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteCommentRequest(server string, commentId int) (*http.Request, error)
- func NewDeleteCustomFieldRequest(server string, uuid openapi_types.UUID) (*http.Request, error)
- func NewDeleteCustomFieldValueRequest(server string, uuid openapi_types.UUID) (*http.Request, error)
- func NewDeleteDocOrFileByUuidRequest(server string, fileUuid openapi_types.UUID) (*http.Request, error)
- func NewDeleteEnumOptionRequest(server string, customFieldEnumUuid openapi_types.UUID) (*http.Request, error)
- func NewDeleteNoteRequest(server string, noteId NoteIdParam) (*http.Request, error)
- func NewDeletePinnedItemRequest(server string, pinnedItemId int) (*http.Request, error)
- func NewDeleteProjectLabelRequest(server string, labelId int) (*http.Request, error)
- func NewDeleteProjectRequest(server string, projectId ProjectIdParam) (*http.Request, error)
- func NewDeletePublicLinkToTaskRequest(server string, taskId TaskIdParam) (*http.Request, error)
- func NewDeleteTaskReminderRequest(server string, taskId TaskIdParam) (*http.Request, error)
- func NewDeleteTaskRequest(server string, taskId TaskIdParam) (*http.Request, error)
- func NewDeleteTaskcheckRequest(server string, taskcheckId TaskcheckIdParam) (*http.Request, error)
- func NewDeleteTotalTimeEstimateRequest(server string, taskId TaskIdParam) (*http.Request, error)
- func NewDeleteUserTimeEstimateRequest(server string, taskId TaskIdParam, userId int) (*http.Request, error)
- func NewDeleteWorkReportRequest(server string, workReportId int) (*http.Request, error)
- func NewDisableOutOfOfficeRequest(server string, userId int) (*http.Request, error)
- func NewDownloadFileRequest(server string, fileUuid openapi_types.UUID) (*http.Request, error)
- func NewDownloadIssuedInvoiceReportsRequest(server string, invoiceId int) (*http.Request, error)
- func NewEditCommentRequest(server string, commentId int, body EditCommentJSONRequestBody) (*http.Request, error)
- func NewEditCommentRequestWithBody(server string, commentId int, contentType string, body io.Reader) (*http.Request, error)
- func NewEditEnumOptionRequest(server string, customFieldEnumUuid openapi_types.UUID, ...) (*http.Request, error)
- func NewEditEnumOptionRequestWithBody(server string, customFieldEnumUuid openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewEditNoteRequest(server string, noteId NoteIdParam, body EditNoteJSONRequestBody) (*http.Request, error)
- func NewEditNoteRequestWithBody(server string, noteId NoteIdParam, contentType string, body io.Reader) (*http.Request, error)
- func NewEditProjectLabelRequest(server string, labelId int, body EditProjectLabelJSONRequestBody) (*http.Request, error)
- func NewEditProjectLabelRequestWithBody(server string, labelId int, contentType string, body io.Reader) (*http.Request, error)
- func NewEditTaskDescriptionRequest(server string, taskId TaskIdParam, body EditTaskDescriptionJSONRequestBody) (*http.Request, error)
- func NewEditTaskDescriptionRequestWithBody(server string, taskId TaskIdParam, contentType string, body io.Reader) (*http.Request, error)
- func NewEditTaskRequest(server string, taskId TaskIdParam, body EditTaskJSONRequestBody) (*http.Request, error)
- func NewEditTaskRequestWithBody(server string, taskId TaskIdParam, contentType string, body io.Reader) (*http.Request, error)
- func NewEditTaskcheckRequest(server string, taskcheckId TaskcheckIdParam, body EditTaskcheckJSONRequestBody) (*http.Request, error)
- func NewEditTaskcheckRequestWithBody(server string, taskcheckId TaskcheckIdParam, contentType string, ...) (*http.Request, error)
- func NewEditTasklistRequest(server string, tasklistId int, body EditTasklistJSONRequestBody) (*http.Request, error)
- func NewEditTasklistRequestWithBody(server string, tasklistId int, contentType string, body io.Reader) (*http.Request, error)
- func NewEditTimeTrackingRequest(server string, body EditTimeTrackingJSONRequestBody) (*http.Request, error)
- func NewEditTimeTrackingRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewEditWorkReportRequest(server string, workReportId int, body EditWorkReportJSONRequestBody) (*http.Request, error)
- func NewEditWorkReportRequestWithBody(server string, workReportId int, contentType string, body io.Reader) (*http.Request, error)
- func NewEnableOutOfOfficeRequest(server string, userId int, body EnableOutOfOfficeJSONRequestBody) (*http.Request, error)
- func NewEnableOutOfOfficeRequestWithBody(server string, userId int, contentType string, body io.Reader) (*http.Request, error)
- func NewFindAvailableProjectLabelsRequest(server string) (*http.Request, error)
- func NewFindAvailableTaskLabelsRequest(server string, params *FindAvailableTaskLabelsParams) (*http.Request, error)
- func NewFindCustomFieldsByProjectRequest(server string, projectId ProjectIdParam) (*http.Request, error)
- func NewFindTaskRelationsBulkRequest(server string, body FindTaskRelationsBulkJSONRequestBody) (*http.Request, error)
- func NewFindTaskRelationsBulkRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewFinishTaskRequest(server string, taskId TaskIdParam, body FinishTaskJSONRequestBody) (*http.Request, error)
- func NewFinishTaskRequestWithBody(server string, taskId TaskIdParam, contentType string, body io.Reader) (*http.Request, error)
- func NewFinishTaskcheckRequest(server string, taskcheckId TaskcheckIdParam, ...) (*http.Request, error)
- func NewFinishTaskcheckRequestWithBody(server string, taskcheckId TaskcheckIdParam, contentType string, ...) (*http.Request, error)
- func NewForceDeleteEnumOptionRequest(server string, customFieldEnumUuid openapi_types.UUID) (*http.Request, error)
- func NewGetAllCommentsRequest(server string, params *GetAllCommentsParams) (*http.Request, error)
- func NewGetAllDocsAndFilesRequest(server string, params *GetAllDocsAndFilesParams) (*http.Request, error)
- func NewGetAllEventsRequest(server string, params *GetAllEventsParams) (*http.Request, error)
- func NewGetAllNotificationsRequest(server string, params *GetAllNotificationsParams) (*http.Request, error)
- func NewGetAllProjectsRequest(server string, params *GetAllProjectsParams) (*http.Request, error)
- func NewGetAllStatesRequest(server string) (*http.Request, error)
- func NewGetAllTasklistsRequest(server string, params *GetAllTasklistsParams) (*http.Request, error)
- func NewGetAllTasksRequest(server string, params *GetAllTasksParams) (*http.Request, error)
- func NewGetAllUsersRequest(server string, params *GetAllUsersParams) (*http.Request, error)
- func NewGetArchivedProjectsRequest(server string, params *GetArchivedProjectsParams) (*http.Request, error)
- func NewGetAssignableWorkersRequest(server string, projectId ProjectIdParam, tasklistId TasklistIdParam) (*http.Request, error)
- func NewGetCustomFieldTypesRequest(server string) (*http.Request, error)
- func NewGetEnumOptionsForCustomFieldRequest(server string, customFieldUuid openapi_types.UUID) (*http.Request, error)
- func NewGetFinishedTasksRequest(server string, tasklistId TasklistIdParam, params *GetFinishedTasksParams) (*http.Request, error)
- func NewGetInvitedProjectsRequest(server string, params *GetInvitedProjectsParams) (*http.Request, error)
- func NewGetIssuedInvoiceDetailRequest(server string, invoiceId int) (*http.Request, error)
- func NewGetIssuedInvoiceReportsJsonRequest(server string, invoiceId int) (*http.Request, error)
- func NewGetIssuedInvoicesRequest(server string, params *GetIssuedInvoicesParams) (*http.Request, error)
- func NewGetNoteRequest(server string, noteId NoteIdParam) (*http.Request, error)
- func NewGetOutOfOfficeRequest(server string, userId int) (*http.Request, error)
- func NewGetPinnedItemsRequest(server string, projectId ProjectIdParam) (*http.Request, error)
- func NewGetProjectManagerOfRequest(server string) (*http.Request, error)
- func NewGetProjectRequest(server string, projectId ProjectIdParam) (*http.Request, error)
- func NewGetProjectWorkersRequest(server string, projectId ProjectIdParam, params *GetProjectWorkersParams) (*http.Request, error)
- func NewGetProjectsRequest(server string, params *GetProjectsParams) (*http.Request, error)
- func NewGetPublicLinkToTaskRequest(server string, taskId TaskIdParam) (*http.Request, error)
- func NewGetSubtasksInTaskRequest(server string, taskId TaskIdParam, params *GetSubtasksInTaskParams) (*http.Request, error)
- func NewGetTaskDescriptionRequest(server string, taskId TaskIdParam) (*http.Request, error)
- func NewGetTaskLabelColorsRequest(server string) (*http.Request, error)
- func NewGetTaskRelationsRequest(server string, taskId TaskIdParam) (*http.Request, error)
- func NewGetTaskRequest(server string, taskId TaskIdParam, params *GetTaskParams) (*http.Request, error)
- func NewGetTasklistRequest(server string, tasklistId TasklistIdParam) (*http.Request, error)
- func NewGetTasksInTasklistRequest(server string, projectId ProjectIdParam, tasklistId TasklistIdParam, ...) (*http.Request, error)
- func NewGetTemplateProjectsRequest(server string, params *GetTemplateProjectsParams) (*http.Request, error)
- func NewGetTimeTrackingStatusRequest(server string) (*http.Request, error)
- func NewGetUserProjectsRequest(server string, userId int, params *GetUserProjectsParams) (*http.Request, error)
- func NewGetUsersMeRequest(server string) (*http.Request, error)
- func NewGetWorkReportsRequest(server string, params *GetWorkReportsParams) (*http.Request, error)
- func NewInviteUsersToProjectsRequest(server string, body InviteUsersToProjectsJSONRequestBody) (*http.Request, error)
- func NewInviteUsersToProjectsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewMarkAsInvoicedRequest(server string, invoiceId int, body MarkAsInvoicedJSONRequestBody) (*http.Request, error)
- func NewMarkAsInvoicedRequestWithBody(server string, invoiceId int, contentType string, body io.Reader) (*http.Request, error)
- func NewMarkNotificationAsReadRequest(server string, notificationId int) (*http.Request, error)
- func NewMarkNotificationAsUnreadRequest(server string, notificationId int) (*http.Request, error)
- func NewMergeTaskLabelsRequest(server string, body MergeTaskLabelsJSONRequestBody) (*http.Request, error)
- func NewMergeTaskLabelsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewMoveTaskRequest(server string, taskId TaskIdParam, tasklistId TasklistIdParam, ...) (*http.Request, error)
- func NewMoveTaskRequestWithBody(server string, taskId TaskIdParam, tasklistId TasklistIdParam, ...) (*http.Request, error)
- func NewPinItemToProjectRequest(server string, projectId ProjectIdParam, body PinItemToProjectJSONRequestBody) (*http.Request, error)
- func NewPinItemToProjectRequestWithBody(server string, projectId ProjectIdParam, contentType string, body io.Reader) (*http.Request, error)
- func NewRemoveProjectLabelFromProjectRequest(server string, projectId int, ...) (*http.Request, error)
- func NewRemoveProjectLabelFromProjectRequestWithBody(server string, projectId int, contentType string, body io.Reader) (*http.Request, error)
- func NewRemoveProjectWorkersByEmailsRequest(server string, projectId ProjectIdParam, ...) (*http.Request, error)
- func NewRemoveProjectWorkersByEmailsRequestWithBody(server string, projectId ProjectIdParam, contentType string, body io.Reader) (*http.Request, error)
- func NewRemoveProjectWorkersByIdsRequest(server string, projectId ProjectIdParam, ...) (*http.Request, error)
- func NewRemoveProjectWorkersByIdsRequestWithBody(server string, projectId ProjectIdParam, contentType string, body io.Reader) (*http.Request, error)
- func NewRemoveTaskFromProjectRequest(server string, taskId TaskIdParam, projectId ProjectIdParam) (*http.Request, error)
- func NewRemoveTaskLabelsFromTaskRequest(server string, taskId TaskIdParam, ...) (*http.Request, error)
- func NewRemoveTaskLabelsFromTaskRequestWithBody(server string, taskId TaskIdParam, contentType string, body io.Reader) (*http.Request, error)
- func NewRenameCustomFieldRequest(server string, uuid openapi_types.UUID, body RenameCustomFieldJSONRequestBody) (*http.Request, error)
- func NewRenameCustomFieldRequestWithBody(server string, uuid openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewRestoreCustomFieldRequest(server string, uuid openapi_types.UUID) (*http.Request, error)
- func NewSearchRequest(server string, body SearchJSONRequestBody) (*http.Request, error)
- func NewSearchRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSetTotalTimeEstimateRequest(server string, taskId TaskIdParam, body SetTotalTimeEstimateJSONRequestBody) (*http.Request, error)
- func NewSetTotalTimeEstimateRequestWithBody(server string, taskId TaskIdParam, contentType string, body io.Reader) (*http.Request, error)
- func NewSetUserTimeEstimateRequest(server string, taskId TaskIdParam, userId int, ...) (*http.Request, error)
- func NewSetUserTimeEstimateRequestWithBody(server string, taskId TaskIdParam, userId int, contentType string, ...) (*http.Request, error)
- func NewStartTimeTrackingRequest(server string, body StartTimeTrackingJSONRequestBody) (*http.Request, error)
- func NewStartTimeTrackingRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewStopTimeTrackingRequest(server string) (*http.Request, error)
- func NewUploadFileRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- type ActivateProjectResponse
- type ActivateTaskJSONBody
- type ActivateTaskJSONRequestBody
- type ActivateTaskResponse
- type ActivateTaskcheckResponse
- type AddOrEditCustomFieldValueJSONBody
- type AddOrEditCustomFieldValueJSONRequestBody
- type AddOrEditCustomFieldValueResponse
- type AddOrEditEnumValueJSONBody
- type AddOrEditEnumValueJSONRequestBody
- type AddOrEditEnumValueResponse
- type AddProjectLabelToProjectJSONBody
- type AddProjectLabelToProjectJSONRequestBody
- type AddProjectLabelToProjectResponse
- type AddTaskLabelsToTaskJSONBody
- type AddTaskLabelsToTaskJSONRequestBody
- type AddTaskLabelsToTaskResponse
- type ArchiveProjectResponse
- type AssignTaskToProjectJSONBody
- type AssignTaskToProjectJSONRequestBody
- type AssignTaskToProjectResponse
- type BusinessClient
- type Client
- func (c *Client) ActivateProject(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ActivateTask(ctx context.Context, taskId TaskIdParam, body ActivateTaskJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ActivateTaskWithBody(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ActivateTaskcheck(ctx context.Context, taskcheckId TaskcheckIdParam, ...) (*http.Response, error)
- func (c *Client) AddOrEditCustomFieldValue(ctx context.Context, body AddOrEditCustomFieldValueJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AddOrEditCustomFieldValueWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AddOrEditEnumValue(ctx context.Context, body AddOrEditEnumValueJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AddOrEditEnumValueWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AddProjectLabelToProject(ctx context.Context, projectId int, ...) (*http.Response, error)
- func (c *Client) AddProjectLabelToProjectWithBody(ctx context.Context, projectId int, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AddTaskLabelsToTask(ctx context.Context, taskId TaskIdParam, ...) (*http.Response, error)
- func (c *Client) AddTaskLabelsToTaskWithBody(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ArchiveProject(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AssignTaskToProject(ctx context.Context, taskId TaskIdParam, ...) (*http.Response, error)
- func (c *Client) AssignTaskToProjectWithBody(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateComment(ctx context.Context, taskId TaskIdParam, body CreateCommentJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateCommentWithBody(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateCustomField(ctx context.Context, projectId ProjectIdParam, ...) (*http.Response, error)
- func (c *Client) CreateCustomFieldWithBody(ctx context.Context, projectId ProjectIdParam, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateEnumOption(ctx context.Context, customFieldUuid openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateEnumOptionWithBody(ctx context.Context, customFieldUuid openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateNote(ctx context.Context, projectId ProjectIdParam, body CreateNoteJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateNoteWithBody(ctx context.Context, projectId ProjectIdParam, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateProject(ctx context.Context, body CreateProjectJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateProjectFromTemplate(ctx context.Context, templateId int, ...) (*http.Response, error)
- func (c *Client) CreateProjectFromTemplateWithBody(ctx context.Context, templateId int, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateSubtask(ctx context.Context, taskId TaskIdParam, body CreateSubtaskJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateSubtaskWithBody(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateTask(ctx context.Context, projectId ProjectIdParam, tasklistId TasklistIdParam, ...) (*http.Response, error)
- func (c *Client) CreateTaskFromTemplate(ctx context.Context, templateId int, ...) (*http.Response, error)
- func (c *Client) CreateTaskFromTemplateWithBody(ctx context.Context, templateId int, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateTaskLabels(ctx context.Context, body CreateTaskLabelsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateTaskLabelsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateTaskReminder(ctx context.Context, taskId TaskIdParam, ...) (*http.Response, error)
- func (c *Client) CreateTaskReminderWithBody(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateTaskWithBody(ctx context.Context, projectId ProjectIdParam, tasklistId TasklistIdParam, ...) (*http.Response, error)
- func (c *Client) CreateTasklist(ctx context.Context, projectId ProjectIdParam, ...) (*http.Response, error)
- func (c *Client) CreateTasklistFromTemplate(ctx context.Context, templateId int, ...) (*http.Response, error)
- func (c *Client) CreateTasklistFromTemplateWithBody(ctx context.Context, templateId int, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateTasklistWithBody(ctx context.Context, projectId ProjectIdParam, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateWorkReport(ctx context.Context, taskId TaskIdParam, body CreateWorkReportJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateWorkReportWithBody(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteComment(ctx context.Context, commentId int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteCustomField(ctx context.Context, uuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteCustomFieldValue(ctx context.Context, uuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteDocOrFileByUuid(ctx context.Context, fileUuid openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteEnumOption(ctx context.Context, customFieldEnumUuid openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteNote(ctx context.Context, noteId NoteIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeletePinnedItem(ctx context.Context, pinnedItemId int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteProject(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteProjectLabel(ctx context.Context, labelId int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeletePublicLinkToTask(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteTask(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteTaskReminder(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteTaskcheck(ctx context.Context, taskcheckId TaskcheckIdParam, ...) (*http.Response, error)
- func (c *Client) DeleteTotalTimeEstimate(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteUserTimeEstimate(ctx context.Context, taskId TaskIdParam, userId int, ...) (*http.Response, error)
- func (c *Client) DeleteWorkReport(ctx context.Context, workReportId int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DisableOutOfOffice(ctx context.Context, userId int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DownloadFile(ctx context.Context, fileUuid openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DownloadIssuedInvoiceReports(ctx context.Context, invoiceId int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) EditComment(ctx context.Context, commentId int, body EditCommentJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) EditCommentWithBody(ctx context.Context, commentId int, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) EditEnumOption(ctx context.Context, customFieldEnumUuid openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) EditEnumOptionWithBody(ctx context.Context, customFieldEnumUuid openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) EditNote(ctx context.Context, noteId NoteIdParam, body EditNoteJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) EditNoteWithBody(ctx context.Context, noteId NoteIdParam, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) EditProjectLabel(ctx context.Context, labelId int, body EditProjectLabelJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) EditProjectLabelWithBody(ctx context.Context, labelId int, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) EditTask(ctx context.Context, taskId TaskIdParam, body EditTaskJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) EditTaskDescription(ctx context.Context, taskId TaskIdParam, ...) (*http.Response, error)
- func (c *Client) EditTaskDescriptionWithBody(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) EditTaskWithBody(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) EditTaskcheck(ctx context.Context, taskcheckId TaskcheckIdParam, ...) (*http.Response, error)
- func (c *Client) EditTaskcheckWithBody(ctx context.Context, taskcheckId TaskcheckIdParam, contentType string, ...) (*http.Response, error)
- func (c *Client) EditTasklist(ctx context.Context, tasklistId int, body EditTasklistJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) EditTasklistWithBody(ctx context.Context, tasklistId int, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) EditTimeTracking(ctx context.Context, body EditTimeTrackingJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) EditTimeTrackingWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) EditWorkReport(ctx context.Context, workReportId int, body EditWorkReportJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) EditWorkReportWithBody(ctx context.Context, workReportId int, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) EnableOutOfOffice(ctx context.Context, userId int, body EnableOutOfOfficeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) EnableOutOfOfficeWithBody(ctx context.Context, userId int, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) FindAvailableProjectLabels(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) FindAvailableTaskLabels(ctx context.Context, params *FindAvailableTaskLabelsParams, ...) (*http.Response, error)
- func (c *Client) FindCustomFieldsByProject(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) FindTaskRelationsBulk(ctx context.Context, body FindTaskRelationsBulkJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) FindTaskRelationsBulkWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) FinishTask(ctx context.Context, taskId TaskIdParam, body FinishTaskJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) FinishTaskWithBody(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) FinishTaskcheck(ctx context.Context, taskcheckId TaskcheckIdParam, ...) (*http.Response, error)
- func (c *Client) FinishTaskcheckWithBody(ctx context.Context, taskcheckId TaskcheckIdParam, contentType string, ...) (*http.Response, error)
- func (c *Client) ForceDeleteEnumOption(ctx context.Context, customFieldEnumUuid openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetAllComments(ctx context.Context, params *GetAllCommentsParams, ...) (*http.Response, error)
- func (c *Client) GetAllDocsAndFiles(ctx context.Context, params *GetAllDocsAndFilesParams, ...) (*http.Response, error)
- func (c *Client) GetAllEvents(ctx context.Context, params *GetAllEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllNotifications(ctx context.Context, params *GetAllNotificationsParams, ...) (*http.Response, error)
- func (c *Client) GetAllProjects(ctx context.Context, params *GetAllProjectsParams, ...) (*http.Response, error)
- func (c *Client) GetAllStates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllTasklists(ctx context.Context, params *GetAllTasklistsParams, ...) (*http.Response, error)
- func (c *Client) GetAllTasks(ctx context.Context, params *GetAllTasksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllUsers(ctx context.Context, params *GetAllUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetArchivedProjects(ctx context.Context, params *GetArchivedProjectsParams, ...) (*http.Response, error)
- func (c *Client) GetAssignableWorkers(ctx context.Context, projectId ProjectIdParam, tasklistId TasklistIdParam, ...) (*http.Response, error)
- func (c *Client) GetCustomFieldTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetEnumOptionsForCustomField(ctx context.Context, customFieldUuid openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetFinishedTasks(ctx context.Context, tasklistId TasklistIdParam, ...) (*http.Response, error)
- func (c *Client) GetInvitedProjects(ctx context.Context, params *GetInvitedProjectsParams, ...) (*http.Response, error)
- func (c *Client) GetIssuedInvoiceDetail(ctx context.Context, invoiceId int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIssuedInvoiceReportsJson(ctx context.Context, invoiceId int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIssuedInvoices(ctx context.Context, params *GetIssuedInvoicesParams, ...) (*http.Response, error)
- func (c *Client) GetNote(ctx context.Context, noteId NoteIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOutOfOffice(ctx context.Context, userId int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPinnedItems(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetProject(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetProjectManagerOf(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetProjectWorkers(ctx context.Context, projectId ProjectIdParam, params *GetProjectWorkersParams, ...) (*http.Response, error)
- func (c *Client) GetProjects(ctx context.Context, params *GetProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPublicLinkToTask(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSubtasksInTask(ctx context.Context, taskId TaskIdParam, params *GetSubtasksInTaskParams, ...) (*http.Response, error)
- func (c *Client) GetTask(ctx context.Context, taskId TaskIdParam, params *GetTaskParams, ...) (*http.Response, error)
- func (c *Client) GetTaskDescription(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTaskLabelColors(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTaskRelations(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTasklist(ctx context.Context, tasklistId TasklistIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTasksInTasklist(ctx context.Context, projectId ProjectIdParam, tasklistId TasklistIdParam, ...) (*http.Response, error)
- func (c *Client) GetTemplateProjects(ctx context.Context, params *GetTemplateProjectsParams, ...) (*http.Response, error)
- func (c *Client) GetTimeTrackingStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetUserProjects(ctx context.Context, userId int, params *GetUserProjectsParams, ...) (*http.Response, error)
- func (c *Client) GetUsersMe(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWorkReports(ctx context.Context, params *GetWorkReportsParams, ...) (*http.Response, error)
- func (c *Client) InviteUsersToProjects(ctx context.Context, body InviteUsersToProjectsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) InviteUsersToProjectsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) MarkAsInvoiced(ctx context.Context, invoiceId int, body MarkAsInvoicedJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) MarkAsInvoicedWithBody(ctx context.Context, invoiceId int, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) MarkNotificationAsRead(ctx context.Context, notificationId int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MarkNotificationAsUnread(ctx context.Context, notificationId int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MergeTaskLabels(ctx context.Context, body MergeTaskLabelsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) MergeTaskLabelsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) MoveTask(ctx context.Context, taskId TaskIdParam, tasklistId TasklistIdParam, ...) (*http.Response, error)
- func (c *Client) MoveTaskWithBody(ctx context.Context, taskId TaskIdParam, tasklistId TasklistIdParam, ...) (*http.Response, error)
- func (c *Client) PinItemToProject(ctx context.Context, projectId ProjectIdParam, ...) (*http.Response, error)
- func (c *Client) PinItemToProjectWithBody(ctx context.Context, projectId ProjectIdParam, contentType string, ...) (*http.Response, error)
- func (c *Client) RemoveProjectLabelFromProject(ctx context.Context, projectId int, ...) (*http.Response, error)
- func (c *Client) RemoveProjectLabelFromProjectWithBody(ctx context.Context, projectId int, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RemoveProjectWorkersByEmails(ctx context.Context, projectId ProjectIdParam, ...) (*http.Response, error)
- func (c *Client) RemoveProjectWorkersByEmailsWithBody(ctx context.Context, projectId ProjectIdParam, contentType string, ...) (*http.Response, error)
- func (c *Client) RemoveProjectWorkersByIds(ctx context.Context, projectId ProjectIdParam, ...) (*http.Response, error)
- func (c *Client) RemoveProjectWorkersByIdsWithBody(ctx context.Context, projectId ProjectIdParam, contentType string, ...) (*http.Response, error)
- func (c *Client) RemoveTaskFromProject(ctx context.Context, taskId TaskIdParam, projectId ProjectIdParam, ...) (*http.Response, error)
- func (c *Client) RemoveTaskLabelsFromTask(ctx context.Context, taskId TaskIdParam, ...) (*http.Response, error)
- func (c *Client) RemoveTaskLabelsFromTaskWithBody(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RenameCustomField(ctx context.Context, uuid openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) RenameCustomFieldWithBody(ctx context.Context, uuid openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) RestoreCustomField(ctx context.Context, uuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) Search(ctx context.Context, body SearchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SearchWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SetTotalTimeEstimate(ctx context.Context, taskId TaskIdParam, ...) (*http.Response, error)
- func (c *Client) SetTotalTimeEstimateWithBody(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SetUserTimeEstimate(ctx context.Context, taskId TaskIdParam, userId int, ...) (*http.Response, error)
- func (c *Client) SetUserTimeEstimateWithBody(ctx context.Context, taskId TaskIdParam, userId int, contentType string, ...) (*http.Response, error)
- func (c *Client) StartTimeTracking(ctx context.Context, body StartTimeTrackingJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) StartTimeTrackingWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) StopTimeTracking(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UploadFileWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) ActivateProjectWithResponse(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*ActivateProjectResponse, error)
- func (c *ClientWithResponses) ActivateTaskWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, ...) (*ActivateTaskResponse, error)
- func (c *ClientWithResponses) ActivateTaskWithResponse(ctx context.Context, taskId TaskIdParam, body ActivateTaskJSONRequestBody, ...) (*ActivateTaskResponse, error)
- func (c *ClientWithResponses) ActivateTaskcheckWithResponse(ctx context.Context, taskcheckId TaskcheckIdParam, ...) (*ActivateTaskcheckResponse, error)
- func (c *ClientWithResponses) AddOrEditCustomFieldValueWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AddOrEditCustomFieldValueResponse, error)
- func (c *ClientWithResponses) AddOrEditCustomFieldValueWithResponse(ctx context.Context, body AddOrEditCustomFieldValueJSONRequestBody, ...) (*AddOrEditCustomFieldValueResponse, error)
- func (c *ClientWithResponses) AddOrEditEnumValueWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AddOrEditEnumValueResponse, error)
- func (c *ClientWithResponses) AddOrEditEnumValueWithResponse(ctx context.Context, body AddOrEditEnumValueJSONRequestBody, ...) (*AddOrEditEnumValueResponse, error)
- func (c *ClientWithResponses) AddProjectLabelToProjectWithBodyWithResponse(ctx context.Context, projectId int, contentType string, body io.Reader, ...) (*AddProjectLabelToProjectResponse, error)
- func (c *ClientWithResponses) AddProjectLabelToProjectWithResponse(ctx context.Context, projectId int, ...) (*AddProjectLabelToProjectResponse, error)
- func (c *ClientWithResponses) AddTaskLabelsToTaskWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, ...) (*AddTaskLabelsToTaskResponse, error)
- func (c *ClientWithResponses) AddTaskLabelsToTaskWithResponse(ctx context.Context, taskId TaskIdParam, ...) (*AddTaskLabelsToTaskResponse, error)
- func (c *ClientWithResponses) ArchiveProjectWithResponse(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*ArchiveProjectResponse, error)
- func (c *ClientWithResponses) AssignTaskToProjectWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, ...) (*AssignTaskToProjectResponse, error)
- func (c *ClientWithResponses) AssignTaskToProjectWithResponse(ctx context.Context, taskId TaskIdParam, ...) (*AssignTaskToProjectResponse, error)
- func (c *ClientWithResponses) CreateCommentWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, ...) (*CreateCommentResponse, error)
- func (c *ClientWithResponses) CreateCommentWithResponse(ctx context.Context, taskId TaskIdParam, body CreateCommentJSONRequestBody, ...) (*CreateCommentResponse, error)
- func (c *ClientWithResponses) CreateCustomFieldWithBodyWithResponse(ctx context.Context, projectId ProjectIdParam, contentType string, ...) (*CreateCustomFieldResponse, error)
- func (c *ClientWithResponses) CreateCustomFieldWithResponse(ctx context.Context, projectId ProjectIdParam, ...) (*CreateCustomFieldResponse, error)
- func (c *ClientWithResponses) CreateEnumOptionWithBodyWithResponse(ctx context.Context, customFieldUuid openapi_types.UUID, contentType string, ...) (*CreateEnumOptionResponse, error)
- func (c *ClientWithResponses) CreateEnumOptionWithResponse(ctx context.Context, customFieldUuid openapi_types.UUID, ...) (*CreateEnumOptionResponse, error)
- func (c *ClientWithResponses) CreateNoteWithBodyWithResponse(ctx context.Context, projectId ProjectIdParam, contentType string, ...) (*CreateNoteResponse, error)
- func (c *ClientWithResponses) CreateNoteWithResponse(ctx context.Context, projectId ProjectIdParam, body CreateNoteJSONRequestBody, ...) (*CreateNoteResponse, error)
- func (c *ClientWithResponses) CreateProjectFromTemplateWithBodyWithResponse(ctx context.Context, templateId int, contentType string, body io.Reader, ...) (*CreateProjectFromTemplateResponse, error)
- func (c *ClientWithResponses) CreateProjectFromTemplateWithResponse(ctx context.Context, templateId int, ...) (*CreateProjectFromTemplateResponse, error)
- func (c *ClientWithResponses) CreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateProjectResponse, error)
- func (c *ClientWithResponses) CreateProjectWithResponse(ctx context.Context, body CreateProjectJSONRequestBody, ...) (*CreateProjectResponse, error)
- func (c *ClientWithResponses) CreateSubtaskWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, ...) (*CreateSubtaskResponse, error)
- func (c *ClientWithResponses) CreateSubtaskWithResponse(ctx context.Context, taskId TaskIdParam, body CreateSubtaskJSONRequestBody, ...) (*CreateSubtaskResponse, error)
- func (c *ClientWithResponses) CreateTaskFromTemplateWithBodyWithResponse(ctx context.Context, templateId int, contentType string, body io.Reader, ...) (*CreateTaskFromTemplateResponse, error)
- func (c *ClientWithResponses) CreateTaskFromTemplateWithResponse(ctx context.Context, templateId int, ...) (*CreateTaskFromTemplateResponse, error)
- func (c *ClientWithResponses) CreateTaskLabelsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateTaskLabelsResponse, error)
- func (c *ClientWithResponses) CreateTaskLabelsWithResponse(ctx context.Context, body CreateTaskLabelsJSONRequestBody, ...) (*CreateTaskLabelsResponse, error)
- func (c *ClientWithResponses) CreateTaskReminderWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, ...) (*CreateTaskReminderResponse, error)
- func (c *ClientWithResponses) CreateTaskReminderWithResponse(ctx context.Context, taskId TaskIdParam, ...) (*CreateTaskReminderResponse, error)
- func (c *ClientWithResponses) CreateTaskWithBodyWithResponse(ctx context.Context, projectId ProjectIdParam, tasklistId TasklistIdParam, ...) (*CreateTaskResponse, error)
- func (c *ClientWithResponses) CreateTaskWithResponse(ctx context.Context, projectId ProjectIdParam, tasklistId TasklistIdParam, ...) (*CreateTaskResponse, error)
- func (c *ClientWithResponses) CreateTasklistFromTemplateWithBodyWithResponse(ctx context.Context, templateId int, contentType string, body io.Reader, ...) (*CreateTasklistFromTemplateResponse, error)
- func (c *ClientWithResponses) CreateTasklistFromTemplateWithResponse(ctx context.Context, templateId int, ...) (*CreateTasklistFromTemplateResponse, error)
- func (c *ClientWithResponses) CreateTasklistWithBodyWithResponse(ctx context.Context, projectId ProjectIdParam, contentType string, ...) (*CreateTasklistResponse, error)
- func (c *ClientWithResponses) CreateTasklistWithResponse(ctx context.Context, projectId ProjectIdParam, ...) (*CreateTasklistResponse, error)
- func (c *ClientWithResponses) CreateWorkReportWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, ...) (*CreateWorkReportResponse, error)
- func (c *ClientWithResponses) CreateWorkReportWithResponse(ctx context.Context, taskId TaskIdParam, body CreateWorkReportJSONRequestBody, ...) (*CreateWorkReportResponse, error)
- func (c *ClientWithResponses) DeleteCommentWithResponse(ctx context.Context, commentId int, reqEditors ...RequestEditorFn) (*DeleteCommentResponse, error)
- func (c *ClientWithResponses) DeleteCustomFieldValueWithResponse(ctx context.Context, uuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteCustomFieldValueResponse, error)
- func (c *ClientWithResponses) DeleteCustomFieldWithResponse(ctx context.Context, uuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteCustomFieldResponse, error)
- func (c *ClientWithResponses) DeleteDocOrFileByUuidWithResponse(ctx context.Context, fileUuid openapi_types.UUID, ...) (*DeleteDocOrFileByUuidResponse, error)
- func (c *ClientWithResponses) DeleteEnumOptionWithResponse(ctx context.Context, customFieldEnumUuid openapi_types.UUID, ...) (*DeleteEnumOptionResponse, error)
- func (c *ClientWithResponses) DeleteNoteWithResponse(ctx context.Context, noteId NoteIdParam, reqEditors ...RequestEditorFn) (*DeleteNoteResponse, error)
- func (c *ClientWithResponses) DeletePinnedItemWithResponse(ctx context.Context, pinnedItemId int, reqEditors ...RequestEditorFn) (*DeletePinnedItemResponse, error)
- func (c *ClientWithResponses) DeleteProjectLabelWithResponse(ctx context.Context, labelId int, reqEditors ...RequestEditorFn) (*DeleteProjectLabelResponse, error)
- func (c *ClientWithResponses) DeleteProjectWithResponse(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)
- func (c *ClientWithResponses) DeletePublicLinkToTaskWithResponse(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*DeletePublicLinkToTaskResponse, error)
- func (c *ClientWithResponses) DeleteTaskReminderWithResponse(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*DeleteTaskReminderResponse, error)
- func (c *ClientWithResponses) DeleteTaskWithResponse(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*DeleteTaskResponse, error)
- func (c *ClientWithResponses) DeleteTaskcheckWithResponse(ctx context.Context, taskcheckId TaskcheckIdParam, ...) (*DeleteTaskcheckResponse, error)
- func (c *ClientWithResponses) DeleteTotalTimeEstimateWithResponse(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*DeleteTotalTimeEstimateResponse, error)
- func (c *ClientWithResponses) DeleteUserTimeEstimateWithResponse(ctx context.Context, taskId TaskIdParam, userId int, ...) (*DeleteUserTimeEstimateResponse, error)
- func (c *ClientWithResponses) DeleteWorkReportWithResponse(ctx context.Context, workReportId int, reqEditors ...RequestEditorFn) (*DeleteWorkReportResponse, error)
- func (c *ClientWithResponses) DisableOutOfOfficeWithResponse(ctx context.Context, userId int, reqEditors ...RequestEditorFn) (*DisableOutOfOfficeResponse, error)
- func (c *ClientWithResponses) DownloadFileWithResponse(ctx context.Context, fileUuid openapi_types.UUID, ...) (*DownloadFileResponse, error)
- func (c *ClientWithResponses) DownloadIssuedInvoiceReportsWithResponse(ctx context.Context, invoiceId int, reqEditors ...RequestEditorFn) (*DownloadIssuedInvoiceReportsResponse, error)
- func (c *ClientWithResponses) EditCommentWithBodyWithResponse(ctx context.Context, commentId int, contentType string, body io.Reader, ...) (*EditCommentResponse, error)
- func (c *ClientWithResponses) EditCommentWithResponse(ctx context.Context, commentId int, body EditCommentJSONRequestBody, ...) (*EditCommentResponse, error)
- func (c *ClientWithResponses) EditEnumOptionWithBodyWithResponse(ctx context.Context, customFieldEnumUuid openapi_types.UUID, ...) (*EditEnumOptionResponse, error)
- func (c *ClientWithResponses) EditEnumOptionWithResponse(ctx context.Context, customFieldEnumUuid openapi_types.UUID, ...) (*EditEnumOptionResponse, error)
- func (c *ClientWithResponses) EditNoteWithBodyWithResponse(ctx context.Context, noteId NoteIdParam, contentType string, body io.Reader, ...) (*EditNoteResponse, error)
- func (c *ClientWithResponses) EditNoteWithResponse(ctx context.Context, noteId NoteIdParam, body EditNoteJSONRequestBody, ...) (*EditNoteResponse, error)
- func (c *ClientWithResponses) EditProjectLabelWithBodyWithResponse(ctx context.Context, labelId int, contentType string, body io.Reader, ...) (*EditProjectLabelResponse, error)
- func (c *ClientWithResponses) EditProjectLabelWithResponse(ctx context.Context, labelId int, body EditProjectLabelJSONRequestBody, ...) (*EditProjectLabelResponse, error)
- func (c *ClientWithResponses) EditTaskDescriptionWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, ...) (*EditTaskDescriptionResponse, error)
- func (c *ClientWithResponses) EditTaskDescriptionWithResponse(ctx context.Context, taskId TaskIdParam, ...) (*EditTaskDescriptionResponse, error)
- func (c *ClientWithResponses) EditTaskWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, ...) (*EditTaskResponse, error)
- func (c *ClientWithResponses) EditTaskWithResponse(ctx context.Context, taskId TaskIdParam, body EditTaskJSONRequestBody, ...) (*EditTaskResponse, error)
- func (c *ClientWithResponses) EditTaskcheckWithBodyWithResponse(ctx context.Context, taskcheckId TaskcheckIdParam, contentType string, ...) (*EditTaskcheckResponse, error)
- func (c *ClientWithResponses) EditTaskcheckWithResponse(ctx context.Context, taskcheckId TaskcheckIdParam, ...) (*EditTaskcheckResponse, error)
- func (c *ClientWithResponses) EditTasklistWithBodyWithResponse(ctx context.Context, tasklistId int, contentType string, body io.Reader, ...) (*EditTasklistResponse, error)
- func (c *ClientWithResponses) EditTasklistWithResponse(ctx context.Context, tasklistId int, body EditTasklistJSONRequestBody, ...) (*EditTasklistResponse, error)
- func (c *ClientWithResponses) EditTimeTrackingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*EditTimeTrackingResponse, error)
- func (c *ClientWithResponses) EditTimeTrackingWithResponse(ctx context.Context, body EditTimeTrackingJSONRequestBody, ...) (*EditTimeTrackingResponse, error)
- func (c *ClientWithResponses) EditWorkReportWithBodyWithResponse(ctx context.Context, workReportId int, contentType string, body io.Reader, ...) (*EditWorkReportResponse, error)
- func (c *ClientWithResponses) EditWorkReportWithResponse(ctx context.Context, workReportId int, body EditWorkReportJSONRequestBody, ...) (*EditWorkReportResponse, error)
- func (c *ClientWithResponses) EnableOutOfOfficeWithBodyWithResponse(ctx context.Context, userId int, contentType string, body io.Reader, ...) (*EnableOutOfOfficeResponse, error)
- func (c *ClientWithResponses) EnableOutOfOfficeWithResponse(ctx context.Context, userId int, body EnableOutOfOfficeJSONRequestBody, ...) (*EnableOutOfOfficeResponse, error)
- func (c *ClientWithResponses) FindAvailableProjectLabelsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*FindAvailableProjectLabelsResponse, error)
- func (c *ClientWithResponses) FindAvailableTaskLabelsWithResponse(ctx context.Context, params *FindAvailableTaskLabelsParams, ...) (*FindAvailableTaskLabelsResponse, error)
- func (c *ClientWithResponses) FindCustomFieldsByProjectWithResponse(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*FindCustomFieldsByProjectResponse, error)
- func (c *ClientWithResponses) FindTaskRelationsBulkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*FindTaskRelationsBulkResponse, error)
- func (c *ClientWithResponses) FindTaskRelationsBulkWithResponse(ctx context.Context, body FindTaskRelationsBulkJSONRequestBody, ...) (*FindTaskRelationsBulkResponse, error)
- func (c *ClientWithResponses) FinishTaskWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, ...) (*FinishTaskResponse, error)
- func (c *ClientWithResponses) FinishTaskWithResponse(ctx context.Context, taskId TaskIdParam, body FinishTaskJSONRequestBody, ...) (*FinishTaskResponse, error)
- func (c *ClientWithResponses) FinishTaskcheckWithBodyWithResponse(ctx context.Context, taskcheckId TaskcheckIdParam, contentType string, ...) (*FinishTaskcheckResponse, error)
- func (c *ClientWithResponses) FinishTaskcheckWithResponse(ctx context.Context, taskcheckId TaskcheckIdParam, ...) (*FinishTaskcheckResponse, error)
- func (c *ClientWithResponses) ForceDeleteEnumOptionWithResponse(ctx context.Context, customFieldEnumUuid openapi_types.UUID, ...) (*ForceDeleteEnumOptionResponse, error)
- func (c *ClientWithResponses) GetAllCommentsWithResponse(ctx context.Context, params *GetAllCommentsParams, ...) (*GetAllCommentsResponse, error)
- func (c *ClientWithResponses) GetAllDocsAndFilesWithResponse(ctx context.Context, params *GetAllDocsAndFilesParams, ...) (*GetAllDocsAndFilesResponse, error)
- func (c *ClientWithResponses) GetAllEventsWithResponse(ctx context.Context, params *GetAllEventsParams, reqEditors ...RequestEditorFn) (*GetAllEventsResponse, error)
- func (c *ClientWithResponses) GetAllNotificationsWithResponse(ctx context.Context, params *GetAllNotificationsParams, ...) (*GetAllNotificationsResponse, error)
- func (c *ClientWithResponses) GetAllProjectsWithResponse(ctx context.Context, params *GetAllProjectsParams, ...) (*GetAllProjectsResponse, error)
- func (c *ClientWithResponses) GetAllStatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllStatesResponse, error)
- func (c *ClientWithResponses) GetAllTasklistsWithResponse(ctx context.Context, params *GetAllTasklistsParams, ...) (*GetAllTasklistsResponse, error)
- func (c *ClientWithResponses) GetAllTasksWithResponse(ctx context.Context, params *GetAllTasksParams, reqEditors ...RequestEditorFn) (*GetAllTasksResponse, error)
- func (c *ClientWithResponses) GetAllUsersWithResponse(ctx context.Context, params *GetAllUsersParams, reqEditors ...RequestEditorFn) (*GetAllUsersResponse, error)
- func (c *ClientWithResponses) GetArchivedProjectsWithResponse(ctx context.Context, params *GetArchivedProjectsParams, ...) (*GetArchivedProjectsResponse, error)
- func (c *ClientWithResponses) GetAssignableWorkersWithResponse(ctx context.Context, projectId ProjectIdParam, tasklistId TasklistIdParam, ...) (*GetAssignableWorkersResponse, error)
- func (c *ClientWithResponses) GetCustomFieldTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCustomFieldTypesResponse, error)
- func (c *ClientWithResponses) GetEnumOptionsForCustomFieldWithResponse(ctx context.Context, customFieldUuid openapi_types.UUID, ...) (*GetEnumOptionsForCustomFieldResponse, error)
- func (c *ClientWithResponses) GetFinishedTasksWithResponse(ctx context.Context, tasklistId TasklistIdParam, ...) (*GetFinishedTasksResponse, error)
- func (c *ClientWithResponses) GetInvitedProjectsWithResponse(ctx context.Context, params *GetInvitedProjectsParams, ...) (*GetInvitedProjectsResponse, error)
- func (c *ClientWithResponses) GetIssuedInvoiceDetailWithResponse(ctx context.Context, invoiceId int, reqEditors ...RequestEditorFn) (*GetIssuedInvoiceDetailResponse, error)
- func (c *ClientWithResponses) GetIssuedInvoiceReportsJsonWithResponse(ctx context.Context, invoiceId int, reqEditors ...RequestEditorFn) (*GetIssuedInvoiceReportsJsonResponse, error)
- func (c *ClientWithResponses) GetIssuedInvoicesWithResponse(ctx context.Context, params *GetIssuedInvoicesParams, ...) (*GetIssuedInvoicesResponse, error)
- func (c *ClientWithResponses) GetNoteWithResponse(ctx context.Context, noteId NoteIdParam, reqEditors ...RequestEditorFn) (*GetNoteResponse, error)
- func (c *ClientWithResponses) GetOutOfOfficeWithResponse(ctx context.Context, userId int, reqEditors ...RequestEditorFn) (*GetOutOfOfficeResponse, error)
- func (c *ClientWithResponses) GetPinnedItemsWithResponse(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*GetPinnedItemsResponse, error)
- func (c *ClientWithResponses) GetProjectManagerOfWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetProjectManagerOfResponse, error)
- func (c *ClientWithResponses) GetProjectWithResponse(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)
- func (c *ClientWithResponses) GetProjectWorkersWithResponse(ctx context.Context, projectId ProjectIdParam, params *GetProjectWorkersParams, ...) (*GetProjectWorkersResponse, error)
- func (c *ClientWithResponses) GetProjectsWithResponse(ctx context.Context, params *GetProjectsParams, reqEditors ...RequestEditorFn) (*GetProjectsResponse, error)
- func (c *ClientWithResponses) GetPublicLinkToTaskWithResponse(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*GetPublicLinkToTaskResponse, error)
- func (c *ClientWithResponses) GetSubtasksInTaskWithResponse(ctx context.Context, taskId TaskIdParam, params *GetSubtasksInTaskParams, ...) (*GetSubtasksInTaskResponse, error)
- func (c *ClientWithResponses) GetTaskDescriptionWithResponse(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*GetTaskDescriptionResponse, error)
- func (c *ClientWithResponses) GetTaskLabelColorsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTaskLabelColorsResponse, error)
- func (c *ClientWithResponses) GetTaskRelationsWithResponse(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*GetTaskRelationsResponse, error)
- func (c *ClientWithResponses) GetTaskWithResponse(ctx context.Context, taskId TaskIdParam, params *GetTaskParams, ...) (*GetTaskResponse, error)
- func (c *ClientWithResponses) GetTasklistWithResponse(ctx context.Context, tasklistId TasklistIdParam, reqEditors ...RequestEditorFn) (*GetTasklistResponse, error)
- func (c *ClientWithResponses) GetTasksInTasklistWithResponse(ctx context.Context, projectId ProjectIdParam, tasklistId TasklistIdParam, ...) (*GetTasksInTasklistResponse, error)
- func (c *ClientWithResponses) GetTemplateProjectsWithResponse(ctx context.Context, params *GetTemplateProjectsParams, ...) (*GetTemplateProjectsResponse, error)
- func (c *ClientWithResponses) GetTimeTrackingStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTimeTrackingStatusResponse, error)
- func (c *ClientWithResponses) GetUserProjectsWithResponse(ctx context.Context, userId int, params *GetUserProjectsParams, ...) (*GetUserProjectsResponse, error)
- func (c *ClientWithResponses) GetUsersMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUsersMeResponse, error)
- func (c *ClientWithResponses) GetWorkReportsWithResponse(ctx context.Context, params *GetWorkReportsParams, ...) (*GetWorkReportsResponse, error)
- func (c *ClientWithResponses) InviteUsersToProjectsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*InviteUsersToProjectsResponse, error)
- func (c *ClientWithResponses) InviteUsersToProjectsWithResponse(ctx context.Context, body InviteUsersToProjectsJSONRequestBody, ...) (*InviteUsersToProjectsResponse, error)
- func (c *ClientWithResponses) MarkAsInvoicedWithBodyWithResponse(ctx context.Context, invoiceId int, contentType string, body io.Reader, ...) (*MarkAsInvoicedResponse, error)
- func (c *ClientWithResponses) MarkAsInvoicedWithResponse(ctx context.Context, invoiceId int, body MarkAsInvoicedJSONRequestBody, ...) (*MarkAsInvoicedResponse, error)
- func (c *ClientWithResponses) MarkNotificationAsReadWithResponse(ctx context.Context, notificationId int, reqEditors ...RequestEditorFn) (*MarkNotificationAsReadResponse, error)
- func (c *ClientWithResponses) MarkNotificationAsUnreadWithResponse(ctx context.Context, notificationId int, reqEditors ...RequestEditorFn) (*MarkNotificationAsUnreadResponse, error)
- func (c *ClientWithResponses) MergeTaskLabelsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*MergeTaskLabelsResponse, error)
- func (c *ClientWithResponses) MergeTaskLabelsWithResponse(ctx context.Context, body MergeTaskLabelsJSONRequestBody, ...) (*MergeTaskLabelsResponse, error)
- func (c *ClientWithResponses) MoveTaskWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, tasklistId TasklistIdParam, ...) (*MoveTaskResponse, error)
- func (c *ClientWithResponses) MoveTaskWithResponse(ctx context.Context, taskId TaskIdParam, tasklistId TasklistIdParam, ...) (*MoveTaskResponse, error)
- func (c *ClientWithResponses) PinItemToProjectWithBodyWithResponse(ctx context.Context, projectId ProjectIdParam, contentType string, ...) (*PinItemToProjectResponse, error)
- func (c *ClientWithResponses) PinItemToProjectWithResponse(ctx context.Context, projectId ProjectIdParam, ...) (*PinItemToProjectResponse, error)
- func (c *ClientWithResponses) RemoveProjectLabelFromProjectWithBodyWithResponse(ctx context.Context, projectId int, contentType string, body io.Reader, ...) (*RemoveProjectLabelFromProjectResponse, error)
- func (c *ClientWithResponses) RemoveProjectLabelFromProjectWithResponse(ctx context.Context, projectId int, ...) (*RemoveProjectLabelFromProjectResponse, error)
- func (c *ClientWithResponses) RemoveProjectWorkersByEmailsWithBodyWithResponse(ctx context.Context, projectId ProjectIdParam, contentType string, ...) (*RemoveProjectWorkersByEmailsResponse, error)
- func (c *ClientWithResponses) RemoveProjectWorkersByEmailsWithResponse(ctx context.Context, projectId ProjectIdParam, ...) (*RemoveProjectWorkersByEmailsResponse, error)
- func (c *ClientWithResponses) RemoveProjectWorkersByIdsWithBodyWithResponse(ctx context.Context, projectId ProjectIdParam, contentType string, ...) (*RemoveProjectWorkersByIdsResponse, error)
- func (c *ClientWithResponses) RemoveProjectWorkersByIdsWithResponse(ctx context.Context, projectId ProjectIdParam, ...) (*RemoveProjectWorkersByIdsResponse, error)
- func (c *ClientWithResponses) RemoveTaskFromProjectWithResponse(ctx context.Context, taskId TaskIdParam, projectId ProjectIdParam, ...) (*RemoveTaskFromProjectResponse, error)
- func (c *ClientWithResponses) RemoveTaskLabelsFromTaskWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, ...) (*RemoveTaskLabelsFromTaskResponse, error)
- func (c *ClientWithResponses) RemoveTaskLabelsFromTaskWithResponse(ctx context.Context, taskId TaskIdParam, ...) (*RemoveTaskLabelsFromTaskResponse, error)
- func (c *ClientWithResponses) RenameCustomFieldWithBodyWithResponse(ctx context.Context, uuid openapi_types.UUID, contentType string, ...) (*RenameCustomFieldResponse, error)
- func (c *ClientWithResponses) RenameCustomFieldWithResponse(ctx context.Context, uuid openapi_types.UUID, ...) (*RenameCustomFieldResponse, error)
- func (c *ClientWithResponses) RestoreCustomFieldWithResponse(ctx context.Context, uuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*RestoreCustomFieldResponse, error)
- func (c *ClientWithResponses) SearchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SearchResponse, error)
- func (c *ClientWithResponses) SearchWithResponse(ctx context.Context, body SearchJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchResponse, error)
- func (c *ClientWithResponses) SetTotalTimeEstimateWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, ...) (*SetTotalTimeEstimateResponse, error)
- func (c *ClientWithResponses) SetTotalTimeEstimateWithResponse(ctx context.Context, taskId TaskIdParam, ...) (*SetTotalTimeEstimateResponse, error)
- func (c *ClientWithResponses) SetUserTimeEstimateWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, userId int, contentType string, ...) (*SetUserTimeEstimateResponse, error)
- func (c *ClientWithResponses) SetUserTimeEstimateWithResponse(ctx context.Context, taskId TaskIdParam, userId int, ...) (*SetUserTimeEstimateResponse, error)
- func (c *ClientWithResponses) StartTimeTrackingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*StartTimeTrackingResponse, error)
- func (c *ClientWithResponses) StartTimeTrackingWithResponse(ctx context.Context, body StartTimeTrackingJSONRequestBody, ...) (*StartTimeTrackingResponse, error)
- func (c *ClientWithResponses) StopTimeTrackingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*StopTimeTrackingResponse, error)
- func (c *ClientWithResponses) UploadFileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UploadFileResponse, error)
- type ClientWithResponsesInterface
- type Comment
- type CommentFull
- type CommentWithFiles
- type CreateCommentJSONBody
- type CreateCommentJSONRequestBody
- type CreateCommentResponse
- type CreateCustomFieldJSONBody
- type CreateCustomFieldJSONRequestBody
- type CreateCustomFieldResponse
- type CreateEnumOptionJSONBody
- type CreateEnumOptionJSONRequestBody
- type CreateEnumOptionResponse
- type CreateNoteJSONBody
- type CreateNoteJSONRequestBody
- type CreateNoteResponse
- type CreateProjectFromTemplateJSONBody
- type CreateProjectFromTemplateJSONBodyCurrencyIso
- type CreateProjectFromTemplateJSONBodyGeneralSettingsLayout
- type CreateProjectFromTemplateJSONRequestBody
- type CreateProjectFromTemplateResponse
- type CreateProjectJSONBody
- type CreateProjectJSONBodyCurrencyIso
- type CreateProjectJSONRequestBody
- type CreateProjectResponse
- type CreateSubtaskJSONRequestBody
- type CreateSubtaskResponse
- type CreateTaskFromTemplateJSONBody
- type CreateTaskFromTemplateJSONRequestBody
- type CreateTaskFromTemplateResponse
- type CreateTaskJSONRequestBody
- type CreateTaskLabelsJSONBody
- type CreateTaskLabelsJSONRequestBody
- type CreateTaskLabelsResponse
- type CreateTaskReminderJSONBody
- type CreateTaskReminderJSONRequestBody
- type CreateTaskReminderResponse
- type CreateTaskResponse
- type CreateTasklistFromTemplateJSONBody
- type CreateTasklistFromTemplateJSONRequestBody
- type CreateTasklistFromTemplateResponse
- type CreateTasklistJSONBody
- type CreateTasklistJSONRequestBody
- type CreateTasklistResponse
- type CreateWorkReportJSONBody
- type CreateWorkReportJSONRequestBody
- type CreateWorkReportResponse
- type Currency
- type CurrencyCurrency
- type CustomField
- type CustomFieldEnumOption
- type CustomFieldEnumValue
- type CustomFieldValue
- type CustomFieldWithValue
- type DeleteCommentResponse
- type DeleteCustomFieldResponse
- type DeleteCustomFieldValueResponse
- type DeleteDocOrFileByUuidResponse
- type DeleteEnumOptionResponse
- type DeleteNoteResponse
- type DeletePinnedItemResponse
- type DeleteProjectLabelResponse
- type DeleteProjectResponse
- type DeletePublicLinkToTaskResponse
- type DeleteTaskReminderResponse
- type DeleteTaskResponse
- type DeleteTaskcheckResponse
- type DeleteTotalTimeEstimateResponse
- type DeleteUserTimeEstimateResponse
- type DeleteWorkReportResponse
- type DisableOutOfOfficeResponse
- type DownloadFileResponse
- type DownloadIssuedInvoiceReportsResponse
- type EditCommentJSONBody
- type EditCommentJSONRequestBody
- type EditCommentResponse
- type EditEnumOptionJSONBody
- type EditEnumOptionJSONRequestBody
- type EditEnumOptionResponse
- type EditNoteJSONBody
- type EditNoteJSONRequestBody
- type EditNoteResponse
- type EditProjectLabelJSONBody
- type EditProjectLabelJSONRequestBody
- type EditProjectLabelResponse
- type EditTaskDescriptionJSONBody
- type EditTaskDescriptionJSONRequestBody
- type EditTaskDescriptionResponse
- type EditTaskJSONBody
- type EditTaskJSONBodyPriorityEnum
- type EditTaskJSONRequestBody
- type EditTaskResponse
- type EditTaskcheckJSONBody
- type EditTaskcheckJSONRequestBody
- type EditTaskcheckResponse
- type EditTasklistJSONBody
- type EditTasklistJSONRequestBody
- type EditTasklistResponse
- type EditTimeTrackingJSONBody
- type EditTimeTrackingJSONRequestBody
- type EditTimeTrackingResponse
- type EditWorkReportJSONBody
- type EditWorkReportJSONRequestBody
- type EditWorkReportResponse
- type EnableOutOfOfficeJSONBody
- type EnableOutOfOfficeJSONRequestBody
- type EnableOutOfOfficeResponse
- type ErrorResponse
- type Event
- type FileBasic
- type FileFull
- type FileItem
- type FileItemType
- type FileUpload
- func (t FileUpload) AsFileUploadByUrl() (FileUploadByUrl, error)
- func (t FileUpload) AsFileUploadByUuid() (FileUploadByUuid, error)
- func (t *FileUpload) FromFileUploadByUrl(v FileUploadByUrl) error
- func (t *FileUpload) FromFileUploadByUuid(v FileUploadByUuid) error
- func (t FileUpload) MarshalJSON() ([]byte, error)
- func (t *FileUpload) MergeFileUploadByUrl(v FileUploadByUrl) error
- func (t *FileUpload) MergeFileUploadByUuid(v FileUploadByUuid) error
- func (t *FileUpload) UnmarshalJSON(b []byte) error
- type FileUploadByUrl
- type FileUploadByUuid
- type FindAvailableProjectLabelsResponse
- type FindAvailableTaskLabelsParams
- type FindAvailableTaskLabelsResponse
- type FindCustomFieldsByProjectResponse
- type FindTaskRelationsBulkJSONBody
- type FindTaskRelationsBulkJSONRequestBody
- type FindTaskRelationsBulkResponse
- type FinishTaskJSONBody
- type FinishTaskJSONRequestBody
- type FinishTaskResponse
- type FinishTaskcheckJSONBody
- type FinishTaskcheckJSONRequestBody
- type FinishTaskcheckResponse
- type ForceDeleteEnumOptionResponse
- type GetAllCommentsParams
- type GetAllCommentsParamsOrder
- type GetAllCommentsParamsOrderBy
- type GetAllCommentsParamsType
- type GetAllCommentsResponse
- type GetAllDocsAndFilesParams
- type GetAllDocsAndFilesParamsType
- type GetAllDocsAndFilesResponse
- type GetAllEventsParams
- type GetAllEventsParamsOrder
- type GetAllEventsResponse
- type GetAllNotificationsParams
- type GetAllNotificationsParamsOnlyUnread
- type GetAllNotificationsParamsOrder
- type GetAllNotificationsResponse
- type GetAllProjectsParams
- type GetAllProjectsParamsOrder
- type GetAllProjectsParamsOrderBy
- type GetAllProjectsParamsStatesIds
- type GetAllProjectsResponse
- type GetAllStatesResponse
- type GetAllTasklistsParams
- type GetAllTasklistsParamsOrder
- type GetAllTasklistsParamsOrderBy
- type GetAllTasklistsParamsStates
- type GetAllTasklistsResponse
- type GetAllTasksParams
- type GetAllTasksParamsFinishedOverdue
- type GetAllTasksParamsMyPriorities
- type GetAllTasksParamsNoDueDate
- type GetAllTasksParamsOrder
- type GetAllTasksParamsOrderBy
- type GetAllTasksParamsPriorityEnum
- type GetAllTasksResponse
- type GetAllUsersParams
- type GetAllUsersResponse
- type GetArchivedProjectsParams
- type GetArchivedProjectsResponse
- type GetAssignableWorkersResponse
- type GetCustomFieldTypesResponse
- type GetEnumOptionsForCustomFieldResponse
- type GetFinishedTasksParams
- type GetFinishedTasksResponse
- type GetInvitedProjectsParams
- type GetInvitedProjectsResponse
- type GetIssuedInvoiceDetailResponse
- type GetIssuedInvoiceReportsJsonResponse
- type GetIssuedInvoicesParams
- type GetIssuedInvoicesResponse
- type GetNoteResponse
- type GetOutOfOfficeResponse
- type GetPinnedItemsResponse
- type GetProjectManagerOfResponse
- type GetProjectResponse
- type GetProjectWorkersParams
- type GetProjectWorkersResponse
- type GetProjectsParams
- type GetProjectsParamsOrder
- type GetProjectsParamsOrderBy
- type GetProjectsResponse
- type GetPublicLinkToTaskResponse
- type GetSubtasksInTaskParams
- type GetSubtasksInTaskResponse
- type GetTaskDescriptionResponse
- type GetTaskLabelColorsResponse
- type GetTaskParams
- type GetTaskParamsCommentsOrder
- type GetTaskRelationsResponse
- type GetTaskResponse
- type GetTasklistResponse
- type GetTasksInTasklistParams
- type GetTasksInTasklistParamsOrder
- type GetTasksInTasklistParamsOrderBy
- type GetTasksInTasklistResponse
- type GetTemplateProjectsParams
- type GetTemplateProjectsParamsOrder
- type GetTemplateProjectsParamsOrderBy
- type GetTemplateProjectsResponse
- type GetTimeTrackingStatusResponse
- type GetUserProjectsParams
- type GetUserProjectsParamsOrder
- type GetUserProjectsParamsOrderBy
- type GetUserProjectsParamsStatesIds
- type GetUserProjectsResponse
- type GetUsersMeResponse
- type GetWorkReportsParams
- type GetWorkReportsParamsWithOwnTaskless
- type GetWorkReportsResponse
- type HttpRequestDoer
- type InviteUsersToProjectsJSONBody
- type InviteUsersToProjectsJSONRequestBody
- type InviteUsersToProjectsResponse
- type IssuedInvoice
- type IssuedInvoiceCurrency
- type IssuedInvoiceDetail
- type IssuedInvoiceDetailCurrency
- type MarkAsInvoicedJSONBody
- type MarkAsInvoicedJSONRequestBody
- type MarkAsInvoicedResponse
- type MarkNotificationAsReadResponse
- type MarkNotificationAsUnreadResponse
- type MergeTaskLabelsJSONBody
- type MergeTaskLabelsJSONRequestBody
- type MergeTaskLabelsResponse
- type MoveTaskJSONBody
- type MoveTaskJSONBodyCustomFieldsAction
- type MoveTaskJSONBodyWorkReportsAction
- type MoveTaskJSONRequestBody
- type MoveTaskResponse
- type Note
- type NoteIdParam
- type Notification
- type PageAliasParam
- type PageParam
- type PaginatedResponse
- type PinItemToProjectJSONBody
- type PinItemToProjectJSONRequestBody
- type PinItemToProjectResponse
- type PinnedItem
- type ProjectBasic
- type ProjectDetail
- type ProjectFull
- type ProjectIdParam
- type ProjectLabel
- type ProjectWithTasklists
- type RemoveProjectLabelFromProjectJSONBody
- type RemoveProjectLabelFromProjectJSONRequestBody
- type RemoveProjectLabelFromProjectResponse
- type RemoveProjectWorkersByEmailsJSONBody
- type RemoveProjectWorkersByEmailsJSONRequestBody
- type RemoveProjectWorkersByEmailsResponse
- type RemoveProjectWorkersByIdsJSONBody
- type RemoveProjectWorkersByIdsJSONRequestBody
- type RemoveProjectWorkersByIdsResponse
- type RemoveTaskFromProjectResponse
- type RemoveTaskLabelsFromTaskJSONBody
- type RemoveTaskLabelsFromTaskJSONRequestBody
- type RemoveTaskLabelsFromTaskResponse
- type RenameCustomFieldJSONBody
- type RenameCustomFieldJSONRequestBody
- type RenameCustomFieldResponse
- type RequestEditorFn
- type RestoreCustomFieldResponse
- type SearchJSONBody
- type SearchJSONBodyEntityType
- type SearchJSONBodyExcludeEntityTypes
- type SearchJSONBodyLang
- type SearchJSONBodySortOrder
- type SearchJSONBodySortOrderBy
- type SearchJSONBodyStateIds
- type SearchJSONRequestBody
- type SearchResponse
- type SearchResult
- type SearchResultType
- type SetTotalTimeEstimateJSONBody
- type SetTotalTimeEstimateJSONRequestBody
- type SetTotalTimeEstimateResponse
- type SetUserTimeEstimateJSONBody
- type SetUserTimeEstimateJSONRequestBody
- type SetUserTimeEstimateResponse
- type StartTimeTrackingJSONBody
- type StartTimeTrackingJSONRequestBody
- type StartTimeTrackingResponse
- type State
- type StateState
- type StopTimeTrackingResponse
- type Subtask
- type SubtaskCreate
- type SubtaskCreatePriorityEnum
- type SubtaskType
- type SuccessResponse
- type TaskCreate
- type TaskCreatePriorityEnum
- type TaskCreated
- type TaskDetail
- type TaskFinished
- type TaskFull
- type TaskFullPriorityEnum
- type TaskFullType
- type TaskIdParam
- type TaskLabel
- type TaskLabelAddInput
- func (t TaskLabelAddInput) AsTaskLabelAddInput0() (TaskLabelAddInput0, error)
- func (t TaskLabelAddInput) AsTaskLabelAddInput1() (TaskLabelAddInput1, error)
- func (t *TaskLabelAddInput) FromTaskLabelAddInput0(v TaskLabelAddInput0) error
- func (t *TaskLabelAddInput) FromTaskLabelAddInput1(v TaskLabelAddInput1) error
- func (t TaskLabelAddInput) MarshalJSON() ([]byte, error)
- func (t *TaskLabelAddInput) MergeTaskLabelAddInput0(v TaskLabelAddInput0) error
- func (t *TaskLabelAddInput) MergeTaskLabelAddInput1(v TaskLabelAddInput1) error
- func (t *TaskLabelAddInput) UnmarshalJSON(b []byte) error
- type TaskLabelAddInput0
- type TaskLabelAddInput1
- type TaskLabelColor
- type TaskLabelRemoveInput
- func (t TaskLabelRemoveInput) AsTaskLabelRemoveInput0() (TaskLabelRemoveInput0, error)
- func (t TaskLabelRemoveInput) AsTaskLabelRemoveInput1() (TaskLabelRemoveInput1, error)
- func (t TaskLabelRemoveInput) AsTaskLabelRemoveInput2() (TaskLabelRemoveInput2, error)
- func (t *TaskLabelRemoveInput) FromTaskLabelRemoveInput0(v TaskLabelRemoveInput0) error
- func (t *TaskLabelRemoveInput) FromTaskLabelRemoveInput1(v TaskLabelRemoveInput1) error
- func (t *TaskLabelRemoveInput) FromTaskLabelRemoveInput2(v TaskLabelRemoveInput2) error
- func (t TaskLabelRemoveInput) MarshalJSON() ([]byte, error)
- func (t *TaskLabelRemoveInput) MergeTaskLabelRemoveInput0(v TaskLabelRemoveInput0) error
- func (t *TaskLabelRemoveInput) MergeTaskLabelRemoveInput1(v TaskLabelRemoveInput1) error
- func (t *TaskLabelRemoveInput) MergeTaskLabelRemoveInput2(v TaskLabelRemoveInput2) error
- func (t *TaskLabelRemoveInput) UnmarshalJSON(b []byte) error
- type TaskLabelRemoveInput0
- type TaskLabelRemoveInput1
- type TaskLabelRemoveInput2
- type TaskRelation
- type TaskRelationType
- type TaskSummary
- type TaskcheckIdParam
- type TasklistBasic
- type TasklistDetail
- type TasklistFull
- type TasklistIdParam
- type TasklistWithBudget
- type TimeEstimate
- type UploadFileMultipartBody
- type UploadFileMultipartRequestBody
- type UploadFileResponse
- type UserBasic
- type UserTimeEstimate
- type UserWithEmail
- type WorkReport
- type WorkReportExtended
- type WorkReportFull
Constants ¶
const (
BasicAuthScopes basicAuthContextKey = "basicAuth.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func NewActivateProjectRequest ¶
func NewActivateProjectRequest(server string, projectId ProjectIdParam) (*http.Request, error)
NewActivateProjectRequest generates requests for ActivateProject
func NewActivateTaskRequest ¶
func NewActivateTaskRequest(server string, taskId TaskIdParam, body ActivateTaskJSONRequestBody) (*http.Request, error)
NewActivateTaskRequest calls the generic ActivateTask builder with application/json body
func NewActivateTaskRequestWithBody ¶ added in v0.3.1
func NewActivateTaskRequestWithBody(server string, taskId TaskIdParam, contentType string, body io.Reader) (*http.Request, error)
NewActivateTaskRequestWithBody generates requests for ActivateTask with any type of body
func NewActivateTaskcheckRequest ¶ added in v0.2.0
func NewActivateTaskcheckRequest(server string, taskcheckId TaskcheckIdParam) (*http.Request, error)
NewActivateTaskcheckRequest generates requests for ActivateTaskcheck
func NewAddOrEditCustomFieldValueRequest ¶
func NewAddOrEditCustomFieldValueRequest(server string, body AddOrEditCustomFieldValueJSONRequestBody) (*http.Request, error)
NewAddOrEditCustomFieldValueRequest calls the generic AddOrEditCustomFieldValue builder with application/json body
func NewAddOrEditCustomFieldValueRequestWithBody ¶
func NewAddOrEditCustomFieldValueRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAddOrEditCustomFieldValueRequestWithBody generates requests for AddOrEditCustomFieldValue with any type of body
func NewAddOrEditEnumValueRequest ¶
func NewAddOrEditEnumValueRequest(server string, body AddOrEditEnumValueJSONRequestBody) (*http.Request, error)
NewAddOrEditEnumValueRequest calls the generic AddOrEditEnumValue builder with application/json body
func NewAddOrEditEnumValueRequestWithBody ¶
func NewAddOrEditEnumValueRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAddOrEditEnumValueRequestWithBody generates requests for AddOrEditEnumValue with any type of body
func NewAddProjectLabelToProjectRequest ¶
func NewAddProjectLabelToProjectRequest(server string, projectId int, body AddProjectLabelToProjectJSONRequestBody) (*http.Request, error)
NewAddProjectLabelToProjectRequest calls the generic AddProjectLabelToProject builder with application/json body
func NewAddProjectLabelToProjectRequestWithBody ¶
func NewAddProjectLabelToProjectRequestWithBody(server string, projectId int, contentType string, body io.Reader) (*http.Request, error)
NewAddProjectLabelToProjectRequestWithBody generates requests for AddProjectLabelToProject with any type of body
func NewAddTaskLabelsToTaskRequest ¶
func NewAddTaskLabelsToTaskRequest(server string, taskId TaskIdParam, body AddTaskLabelsToTaskJSONRequestBody) (*http.Request, error)
NewAddTaskLabelsToTaskRequest calls the generic AddTaskLabelsToTask builder with application/json body
func NewAddTaskLabelsToTaskRequestWithBody ¶
func NewAddTaskLabelsToTaskRequestWithBody(server string, taskId TaskIdParam, contentType string, body io.Reader) (*http.Request, error)
NewAddTaskLabelsToTaskRequestWithBody generates requests for AddTaskLabelsToTask with any type of body
func NewArchiveProjectRequest ¶
func NewArchiveProjectRequest(server string, projectId ProjectIdParam) (*http.Request, error)
NewArchiveProjectRequest generates requests for ArchiveProject
func NewAssignTaskToProjectRequest ¶
func NewAssignTaskToProjectRequest(server string, taskId TaskIdParam, body AssignTaskToProjectJSONRequestBody) (*http.Request, error)
NewAssignTaskToProjectRequest calls the generic AssignTaskToProject builder with application/json body
func NewAssignTaskToProjectRequestWithBody ¶
func NewAssignTaskToProjectRequestWithBody(server string, taskId TaskIdParam, contentType string, body io.Reader) (*http.Request, error)
NewAssignTaskToProjectRequestWithBody generates requests for AssignTaskToProject with any type of body
func NewCreateCommentRequest ¶
func NewCreateCommentRequest(server string, taskId TaskIdParam, body CreateCommentJSONRequestBody) (*http.Request, error)
NewCreateCommentRequest calls the generic CreateComment builder with application/json body
func NewCreateCommentRequestWithBody ¶
func NewCreateCommentRequestWithBody(server string, taskId TaskIdParam, contentType string, body io.Reader) (*http.Request, error)
NewCreateCommentRequestWithBody generates requests for CreateComment with any type of body
func NewCreateCustomFieldRequest ¶
func NewCreateCustomFieldRequest(server string, projectId ProjectIdParam, body CreateCustomFieldJSONRequestBody) (*http.Request, error)
NewCreateCustomFieldRequest calls the generic CreateCustomField builder with application/json body
func NewCreateCustomFieldRequestWithBody ¶
func NewCreateCustomFieldRequestWithBody(server string, projectId ProjectIdParam, contentType string, body io.Reader) (*http.Request, error)
NewCreateCustomFieldRequestWithBody generates requests for CreateCustomField with any type of body
func NewCreateEnumOptionRequest ¶
func NewCreateEnumOptionRequest(server string, customFieldUuid openapi_types.UUID, body CreateEnumOptionJSONRequestBody) (*http.Request, error)
NewCreateEnumOptionRequest calls the generic CreateEnumOption builder with application/json body
func NewCreateEnumOptionRequestWithBody ¶
func NewCreateEnumOptionRequestWithBody(server string, customFieldUuid openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewCreateEnumOptionRequestWithBody generates requests for CreateEnumOption with any type of body
func NewCreateNoteRequest ¶
func NewCreateNoteRequest(server string, projectId ProjectIdParam, body CreateNoteJSONRequestBody) (*http.Request, error)
NewCreateNoteRequest calls the generic CreateNote builder with application/json body
func NewCreateNoteRequestWithBody ¶
func NewCreateNoteRequestWithBody(server string, projectId ProjectIdParam, contentType string, body io.Reader) (*http.Request, error)
NewCreateNoteRequestWithBody generates requests for CreateNote with any type of body
func NewCreateProjectFromTemplateRequest ¶
func NewCreateProjectFromTemplateRequest(server string, templateId int, body CreateProjectFromTemplateJSONRequestBody) (*http.Request, error)
NewCreateProjectFromTemplateRequest calls the generic CreateProjectFromTemplate builder with application/json body
func NewCreateProjectFromTemplateRequestWithBody ¶
func NewCreateProjectFromTemplateRequestWithBody(server string, templateId int, contentType string, body io.Reader) (*http.Request, error)
NewCreateProjectFromTemplateRequestWithBody generates requests for CreateProjectFromTemplate with any type of body
func NewCreateProjectRequest ¶
func NewCreateProjectRequest(server string, body CreateProjectJSONRequestBody) (*http.Request, error)
NewCreateProjectRequest calls the generic CreateProject builder with application/json body
func NewCreateProjectRequestWithBody ¶
func NewCreateProjectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateProjectRequestWithBody generates requests for CreateProject with any type of body
func NewCreateSubtaskRequest ¶
func NewCreateSubtaskRequest(server string, taskId TaskIdParam, body CreateSubtaskJSONRequestBody) (*http.Request, error)
NewCreateSubtaskRequest calls the generic CreateSubtask builder with application/json body
func NewCreateSubtaskRequestWithBody ¶
func NewCreateSubtaskRequestWithBody(server string, taskId TaskIdParam, contentType string, body io.Reader) (*http.Request, error)
NewCreateSubtaskRequestWithBody generates requests for CreateSubtask with any type of body
func NewCreateTaskFromTemplateRequest ¶
func NewCreateTaskFromTemplateRequest(server string, templateId int, body CreateTaskFromTemplateJSONRequestBody) (*http.Request, error)
NewCreateTaskFromTemplateRequest calls the generic CreateTaskFromTemplate builder with application/json body
func NewCreateTaskFromTemplateRequestWithBody ¶
func NewCreateTaskFromTemplateRequestWithBody(server string, templateId int, contentType string, body io.Reader) (*http.Request, error)
NewCreateTaskFromTemplateRequestWithBody generates requests for CreateTaskFromTemplate with any type of body
func NewCreateTaskLabelsRequest ¶
func NewCreateTaskLabelsRequest(server string, body CreateTaskLabelsJSONRequestBody) (*http.Request, error)
NewCreateTaskLabelsRequest calls the generic CreateTaskLabels builder with application/json body
func NewCreateTaskLabelsRequestWithBody ¶
func NewCreateTaskLabelsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateTaskLabelsRequestWithBody generates requests for CreateTaskLabels with any type of body
func NewCreateTaskReminderRequest ¶
func NewCreateTaskReminderRequest(server string, taskId TaskIdParam, body CreateTaskReminderJSONRequestBody) (*http.Request, error)
NewCreateTaskReminderRequest calls the generic CreateTaskReminder builder with application/json body
func NewCreateTaskReminderRequestWithBody ¶
func NewCreateTaskReminderRequestWithBody(server string, taskId TaskIdParam, contentType string, body io.Reader) (*http.Request, error)
NewCreateTaskReminderRequestWithBody generates requests for CreateTaskReminder with any type of body
func NewCreateTaskRequest ¶
func NewCreateTaskRequest(server string, projectId ProjectIdParam, tasklistId TasklistIdParam, body CreateTaskJSONRequestBody) (*http.Request, error)
NewCreateTaskRequest calls the generic CreateTask builder with application/json body
func NewCreateTaskRequestWithBody ¶
func NewCreateTaskRequestWithBody(server string, projectId ProjectIdParam, tasklistId TasklistIdParam, contentType string, body io.Reader) (*http.Request, error)
NewCreateTaskRequestWithBody generates requests for CreateTask with any type of body
func NewCreateTasklistFromTemplateRequest ¶
func NewCreateTasklistFromTemplateRequest(server string, templateId int, body CreateTasklistFromTemplateJSONRequestBody) (*http.Request, error)
NewCreateTasklistFromTemplateRequest calls the generic CreateTasklistFromTemplate builder with application/json body
func NewCreateTasklistFromTemplateRequestWithBody ¶
func NewCreateTasklistFromTemplateRequestWithBody(server string, templateId int, contentType string, body io.Reader) (*http.Request, error)
NewCreateTasklistFromTemplateRequestWithBody generates requests for CreateTasklistFromTemplate with any type of body
func NewCreateTasklistRequest ¶
func NewCreateTasklistRequest(server string, projectId ProjectIdParam, body CreateTasklistJSONRequestBody) (*http.Request, error)
NewCreateTasklistRequest calls the generic CreateTasklist builder with application/json body
func NewCreateTasklistRequestWithBody ¶
func NewCreateTasklistRequestWithBody(server string, projectId ProjectIdParam, contentType string, body io.Reader) (*http.Request, error)
NewCreateTasklistRequestWithBody generates requests for CreateTasklist with any type of body
func NewCreateWorkReportRequest ¶
func NewCreateWorkReportRequest(server string, taskId TaskIdParam, body CreateWorkReportJSONRequestBody) (*http.Request, error)
NewCreateWorkReportRequest calls the generic CreateWorkReport builder with application/json body
func NewCreateWorkReportRequestWithBody ¶
func NewCreateWorkReportRequestWithBody(server string, taskId TaskIdParam, contentType string, body io.Reader) (*http.Request, error)
NewCreateWorkReportRequestWithBody generates requests for CreateWorkReport with any type of body
func NewDeleteCommentRequest ¶ added in v0.3.0
NewDeleteCommentRequest generates requests for DeleteComment
func NewDeleteCustomFieldRequest ¶
NewDeleteCustomFieldRequest generates requests for DeleteCustomField
func NewDeleteCustomFieldValueRequest ¶
func NewDeleteCustomFieldValueRequest(server string, uuid openapi_types.UUID) (*http.Request, error)
NewDeleteCustomFieldValueRequest generates requests for DeleteCustomFieldValue
func NewDeleteDocOrFileByUuidRequest ¶ added in v0.3.0
func NewDeleteDocOrFileByUuidRequest(server string, fileUuid openapi_types.UUID) (*http.Request, error)
NewDeleteDocOrFileByUuidRequest generates requests for DeleteDocOrFileByUuid
func NewDeleteEnumOptionRequest ¶
func NewDeleteEnumOptionRequest(server string, customFieldEnumUuid openapi_types.UUID) (*http.Request, error)
NewDeleteEnumOptionRequest generates requests for DeleteEnumOption
func NewDeleteNoteRequest ¶
func NewDeleteNoteRequest(server string, noteId NoteIdParam) (*http.Request, error)
NewDeleteNoteRequest generates requests for DeleteNote
func NewDeletePinnedItemRequest ¶
NewDeletePinnedItemRequest generates requests for DeletePinnedItem
func NewDeleteProjectLabelRequest ¶
NewDeleteProjectLabelRequest generates requests for DeleteProjectLabel
func NewDeleteProjectRequest ¶
func NewDeleteProjectRequest(server string, projectId ProjectIdParam) (*http.Request, error)
NewDeleteProjectRequest generates requests for DeleteProject
func NewDeletePublicLinkToTaskRequest ¶
func NewDeletePublicLinkToTaskRequest(server string, taskId TaskIdParam) (*http.Request, error)
NewDeletePublicLinkToTaskRequest generates requests for DeletePublicLinkToTask
func NewDeleteTaskReminderRequest ¶
func NewDeleteTaskReminderRequest(server string, taskId TaskIdParam) (*http.Request, error)
NewDeleteTaskReminderRequest generates requests for DeleteTaskReminder
func NewDeleteTaskRequest ¶
func NewDeleteTaskRequest(server string, taskId TaskIdParam) (*http.Request, error)
NewDeleteTaskRequest generates requests for DeleteTask
func NewDeleteTaskcheckRequest ¶ added in v0.2.0
func NewDeleteTaskcheckRequest(server string, taskcheckId TaskcheckIdParam) (*http.Request, error)
NewDeleteTaskcheckRequest generates requests for DeleteTaskcheck
func NewDeleteTotalTimeEstimateRequest ¶
func NewDeleteTotalTimeEstimateRequest(server string, taskId TaskIdParam) (*http.Request, error)
NewDeleteTotalTimeEstimateRequest generates requests for DeleteTotalTimeEstimate
func NewDeleteUserTimeEstimateRequest ¶
func NewDeleteUserTimeEstimateRequest(server string, taskId TaskIdParam, userId int) (*http.Request, error)
NewDeleteUserTimeEstimateRequest generates requests for DeleteUserTimeEstimate
func NewDeleteWorkReportRequest ¶
NewDeleteWorkReportRequest generates requests for DeleteWorkReport
func NewDisableOutOfOfficeRequest ¶
NewDisableOutOfOfficeRequest generates requests for DisableOutOfOffice
func NewDownloadFileRequest ¶
NewDownloadFileRequest generates requests for DownloadFile
func NewDownloadIssuedInvoiceReportsRequest ¶
NewDownloadIssuedInvoiceReportsRequest generates requests for DownloadIssuedInvoiceReports
func NewEditCommentRequest ¶
func NewEditCommentRequest(server string, commentId int, body EditCommentJSONRequestBody) (*http.Request, error)
NewEditCommentRequest calls the generic EditComment builder with application/json body
func NewEditCommentRequestWithBody ¶
func NewEditCommentRequestWithBody(server string, commentId int, contentType string, body io.Reader) (*http.Request, error)
NewEditCommentRequestWithBody generates requests for EditComment with any type of body
func NewEditEnumOptionRequest ¶
func NewEditEnumOptionRequest(server string, customFieldEnumUuid openapi_types.UUID, body EditEnumOptionJSONRequestBody) (*http.Request, error)
NewEditEnumOptionRequest calls the generic EditEnumOption builder with application/json body
func NewEditEnumOptionRequestWithBody ¶
func NewEditEnumOptionRequestWithBody(server string, customFieldEnumUuid openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewEditEnumOptionRequestWithBody generates requests for EditEnumOption with any type of body
func NewEditNoteRequest ¶
func NewEditNoteRequest(server string, noteId NoteIdParam, body EditNoteJSONRequestBody) (*http.Request, error)
NewEditNoteRequest calls the generic EditNote builder with application/json body
func NewEditNoteRequestWithBody ¶
func NewEditNoteRequestWithBody(server string, noteId NoteIdParam, contentType string, body io.Reader) (*http.Request, error)
NewEditNoteRequestWithBody generates requests for EditNote with any type of body
func NewEditProjectLabelRequest ¶
func NewEditProjectLabelRequest(server string, labelId int, body EditProjectLabelJSONRequestBody) (*http.Request, error)
NewEditProjectLabelRequest calls the generic EditProjectLabel builder with application/json body
func NewEditProjectLabelRequestWithBody ¶
func NewEditProjectLabelRequestWithBody(server string, labelId int, contentType string, body io.Reader) (*http.Request, error)
NewEditProjectLabelRequestWithBody generates requests for EditProjectLabel with any type of body
func NewEditTaskDescriptionRequest ¶
func NewEditTaskDescriptionRequest(server string, taskId TaskIdParam, body EditTaskDescriptionJSONRequestBody) (*http.Request, error)
NewEditTaskDescriptionRequest calls the generic EditTaskDescription builder with application/json body
func NewEditTaskDescriptionRequestWithBody ¶
func NewEditTaskDescriptionRequestWithBody(server string, taskId TaskIdParam, contentType string, body io.Reader) (*http.Request, error)
NewEditTaskDescriptionRequestWithBody generates requests for EditTaskDescription with any type of body
func NewEditTaskRequest ¶
func NewEditTaskRequest(server string, taskId TaskIdParam, body EditTaskJSONRequestBody) (*http.Request, error)
NewEditTaskRequest calls the generic EditTask builder with application/json body
func NewEditTaskRequestWithBody ¶
func NewEditTaskRequestWithBody(server string, taskId TaskIdParam, contentType string, body io.Reader) (*http.Request, error)
NewEditTaskRequestWithBody generates requests for EditTask with any type of body
func NewEditTaskcheckRequest ¶ added in v0.2.0
func NewEditTaskcheckRequest(server string, taskcheckId TaskcheckIdParam, body EditTaskcheckJSONRequestBody) (*http.Request, error)
NewEditTaskcheckRequest calls the generic EditTaskcheck builder with application/json body
func NewEditTaskcheckRequestWithBody ¶ added in v0.2.0
func NewEditTaskcheckRequestWithBody(server string, taskcheckId TaskcheckIdParam, contentType string, body io.Reader) (*http.Request, error)
NewEditTaskcheckRequestWithBody generates requests for EditTaskcheck with any type of body
func NewEditTasklistRequest ¶ added in v0.2.0
func NewEditTasklistRequest(server string, tasklistId int, body EditTasklistJSONRequestBody) (*http.Request, error)
NewEditTasklistRequest calls the generic EditTasklist builder with application/json body
func NewEditTasklistRequestWithBody ¶ added in v0.2.0
func NewEditTasklistRequestWithBody(server string, tasklistId int, contentType string, body io.Reader) (*http.Request, error)
NewEditTasklistRequestWithBody generates requests for EditTasklist with any type of body
func NewEditTimeTrackingRequest ¶
func NewEditTimeTrackingRequest(server string, body EditTimeTrackingJSONRequestBody) (*http.Request, error)
NewEditTimeTrackingRequest calls the generic EditTimeTracking builder with application/json body
func NewEditTimeTrackingRequestWithBody ¶
func NewEditTimeTrackingRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewEditTimeTrackingRequestWithBody generates requests for EditTimeTracking with any type of body
func NewEditWorkReportRequest ¶
func NewEditWorkReportRequest(server string, workReportId int, body EditWorkReportJSONRequestBody) (*http.Request, error)
NewEditWorkReportRequest calls the generic EditWorkReport builder with application/json body
func NewEditWorkReportRequestWithBody ¶
func NewEditWorkReportRequestWithBody(server string, workReportId int, contentType string, body io.Reader) (*http.Request, error)
NewEditWorkReportRequestWithBody generates requests for EditWorkReport with any type of body
func NewEnableOutOfOfficeRequest ¶
func NewEnableOutOfOfficeRequest(server string, userId int, body EnableOutOfOfficeJSONRequestBody) (*http.Request, error)
NewEnableOutOfOfficeRequest calls the generic EnableOutOfOffice builder with application/json body
func NewEnableOutOfOfficeRequestWithBody ¶
func NewEnableOutOfOfficeRequestWithBody(server string, userId int, contentType string, body io.Reader) (*http.Request, error)
NewEnableOutOfOfficeRequestWithBody generates requests for EnableOutOfOffice with any type of body
func NewFindAvailableProjectLabelsRequest ¶
NewFindAvailableProjectLabelsRequest generates requests for FindAvailableProjectLabels
func NewFindAvailableTaskLabelsRequest ¶ added in v0.2.0
func NewFindAvailableTaskLabelsRequest(server string, params *FindAvailableTaskLabelsParams) (*http.Request, error)
NewFindAvailableTaskLabelsRequest generates requests for FindAvailableTaskLabels
func NewFindCustomFieldsByProjectRequest ¶
func NewFindCustomFieldsByProjectRequest(server string, projectId ProjectIdParam) (*http.Request, error)
NewFindCustomFieldsByProjectRequest generates requests for FindCustomFieldsByProject
func NewFindTaskRelationsBulkRequest ¶
func NewFindTaskRelationsBulkRequest(server string, body FindTaskRelationsBulkJSONRequestBody) (*http.Request, error)
NewFindTaskRelationsBulkRequest calls the generic FindTaskRelationsBulk builder with application/json body
func NewFindTaskRelationsBulkRequestWithBody ¶
func NewFindTaskRelationsBulkRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewFindTaskRelationsBulkRequestWithBody generates requests for FindTaskRelationsBulk with any type of body
func NewFinishTaskRequest ¶
func NewFinishTaskRequest(server string, taskId TaskIdParam, body FinishTaskJSONRequestBody) (*http.Request, error)
NewFinishTaskRequest calls the generic FinishTask builder with application/json body
func NewFinishTaskRequestWithBody ¶ added in v0.3.1
func NewFinishTaskRequestWithBody(server string, taskId TaskIdParam, contentType string, body io.Reader) (*http.Request, error)
NewFinishTaskRequestWithBody generates requests for FinishTask with any type of body
func NewFinishTaskcheckRequest ¶ added in v0.2.0
func NewFinishTaskcheckRequest(server string, taskcheckId TaskcheckIdParam, body FinishTaskcheckJSONRequestBody) (*http.Request, error)
NewFinishTaskcheckRequest calls the generic FinishTaskcheck builder with application/json body
func NewFinishTaskcheckRequestWithBody ¶ added in v0.3.1
func NewFinishTaskcheckRequestWithBody(server string, taskcheckId TaskcheckIdParam, contentType string, body io.Reader) (*http.Request, error)
NewFinishTaskcheckRequestWithBody generates requests for FinishTaskcheck with any type of body
func NewForceDeleteEnumOptionRequest ¶
func NewForceDeleteEnumOptionRequest(server string, customFieldEnumUuid openapi_types.UUID) (*http.Request, error)
NewForceDeleteEnumOptionRequest generates requests for ForceDeleteEnumOption
func NewGetAllCommentsRequest ¶
func NewGetAllCommentsRequest(server string, params *GetAllCommentsParams) (*http.Request, error)
NewGetAllCommentsRequest generates requests for GetAllComments
func NewGetAllDocsAndFilesRequest ¶
func NewGetAllDocsAndFilesRequest(server string, params *GetAllDocsAndFilesParams) (*http.Request, error)
NewGetAllDocsAndFilesRequest generates requests for GetAllDocsAndFiles
func NewGetAllEventsRequest ¶
func NewGetAllEventsRequest(server string, params *GetAllEventsParams) (*http.Request, error)
NewGetAllEventsRequest generates requests for GetAllEvents
func NewGetAllNotificationsRequest ¶
func NewGetAllNotificationsRequest(server string, params *GetAllNotificationsParams) (*http.Request, error)
NewGetAllNotificationsRequest generates requests for GetAllNotifications
func NewGetAllProjectsRequest ¶
func NewGetAllProjectsRequest(server string, params *GetAllProjectsParams) (*http.Request, error)
NewGetAllProjectsRequest generates requests for GetAllProjects
func NewGetAllStatesRequest ¶
NewGetAllStatesRequest generates requests for GetAllStates
func NewGetAllTasklistsRequest ¶
func NewGetAllTasklistsRequest(server string, params *GetAllTasklistsParams) (*http.Request, error)
NewGetAllTasklistsRequest generates requests for GetAllTasklists
func NewGetAllTasksRequest ¶
func NewGetAllTasksRequest(server string, params *GetAllTasksParams) (*http.Request, error)
NewGetAllTasksRequest generates requests for GetAllTasks
func NewGetAllUsersRequest ¶
func NewGetAllUsersRequest(server string, params *GetAllUsersParams) (*http.Request, error)
NewGetAllUsersRequest generates requests for GetAllUsers
func NewGetArchivedProjectsRequest ¶
func NewGetArchivedProjectsRequest(server string, params *GetArchivedProjectsParams) (*http.Request, error)
NewGetArchivedProjectsRequest generates requests for GetArchivedProjects
func NewGetAssignableWorkersRequest ¶
func NewGetAssignableWorkersRequest(server string, projectId ProjectIdParam, tasklistId TasklistIdParam) (*http.Request, error)
NewGetAssignableWorkersRequest generates requests for GetAssignableWorkers
func NewGetCustomFieldTypesRequest ¶
NewGetCustomFieldTypesRequest generates requests for GetCustomFieldTypes
func NewGetEnumOptionsForCustomFieldRequest ¶
func NewGetEnumOptionsForCustomFieldRequest(server string, customFieldUuid openapi_types.UUID) (*http.Request, error)
NewGetEnumOptionsForCustomFieldRequest generates requests for GetEnumOptionsForCustomField
func NewGetFinishedTasksRequest ¶
func NewGetFinishedTasksRequest(server string, tasklistId TasklistIdParam, params *GetFinishedTasksParams) (*http.Request, error)
NewGetFinishedTasksRequest generates requests for GetFinishedTasks
func NewGetInvitedProjectsRequest ¶
func NewGetInvitedProjectsRequest(server string, params *GetInvitedProjectsParams) (*http.Request, error)
NewGetInvitedProjectsRequest generates requests for GetInvitedProjects
func NewGetIssuedInvoiceDetailRequest ¶
NewGetIssuedInvoiceDetailRequest generates requests for GetIssuedInvoiceDetail
func NewGetIssuedInvoiceReportsJsonRequest ¶
NewGetIssuedInvoiceReportsJsonRequest generates requests for GetIssuedInvoiceReportsJson
func NewGetIssuedInvoicesRequest ¶
func NewGetIssuedInvoicesRequest(server string, params *GetIssuedInvoicesParams) (*http.Request, error)
NewGetIssuedInvoicesRequest generates requests for GetIssuedInvoices
func NewGetNoteRequest ¶
func NewGetNoteRequest(server string, noteId NoteIdParam) (*http.Request, error)
NewGetNoteRequest generates requests for GetNote
func NewGetOutOfOfficeRequest ¶
NewGetOutOfOfficeRequest generates requests for GetOutOfOffice
func NewGetPinnedItemsRequest ¶
func NewGetPinnedItemsRequest(server string, projectId ProjectIdParam) (*http.Request, error)
NewGetPinnedItemsRequest generates requests for GetPinnedItems
func NewGetProjectManagerOfRequest ¶
NewGetProjectManagerOfRequest generates requests for GetProjectManagerOf
func NewGetProjectRequest ¶
func NewGetProjectRequest(server string, projectId ProjectIdParam) (*http.Request, error)
NewGetProjectRequest generates requests for GetProject
func NewGetProjectWorkersRequest ¶
func NewGetProjectWorkersRequest(server string, projectId ProjectIdParam, params *GetProjectWorkersParams) (*http.Request, error)
NewGetProjectWorkersRequest generates requests for GetProjectWorkers
func NewGetProjectsRequest ¶
func NewGetProjectsRequest(server string, params *GetProjectsParams) (*http.Request, error)
NewGetProjectsRequest generates requests for GetProjects
func NewGetPublicLinkToTaskRequest ¶
func NewGetPublicLinkToTaskRequest(server string, taskId TaskIdParam) (*http.Request, error)
NewGetPublicLinkToTaskRequest generates requests for GetPublicLinkToTask
func NewGetSubtasksInTaskRequest ¶
func NewGetSubtasksInTaskRequest(server string, taskId TaskIdParam, params *GetSubtasksInTaskParams) (*http.Request, error)
NewGetSubtasksInTaskRequest generates requests for GetSubtasksInTask
func NewGetTaskDescriptionRequest ¶
func NewGetTaskDescriptionRequest(server string, taskId TaskIdParam) (*http.Request, error)
NewGetTaskDescriptionRequest generates requests for GetTaskDescription
func NewGetTaskLabelColorsRequest ¶ added in v0.2.1
NewGetTaskLabelColorsRequest generates requests for GetTaskLabelColors
func NewGetTaskRelationsRequest ¶
func NewGetTaskRelationsRequest(server string, taskId TaskIdParam) (*http.Request, error)
NewGetTaskRelationsRequest generates requests for GetTaskRelations
func NewGetTaskRequest ¶
func NewGetTaskRequest(server string, taskId TaskIdParam, params *GetTaskParams) (*http.Request, error)
NewGetTaskRequest generates requests for GetTask
func NewGetTasklistRequest ¶
func NewGetTasklistRequest(server string, tasklistId TasklistIdParam) (*http.Request, error)
NewGetTasklistRequest generates requests for GetTasklist
func NewGetTasksInTasklistRequest ¶
func NewGetTasksInTasklistRequest(server string, projectId ProjectIdParam, tasklistId TasklistIdParam, params *GetTasksInTasklistParams) (*http.Request, error)
NewGetTasksInTasklistRequest generates requests for GetTasksInTasklist
func NewGetTemplateProjectsRequest ¶
func NewGetTemplateProjectsRequest(server string, params *GetTemplateProjectsParams) (*http.Request, error)
NewGetTemplateProjectsRequest generates requests for GetTemplateProjects
func NewGetTimeTrackingStatusRequest ¶
NewGetTimeTrackingStatusRequest generates requests for GetTimeTrackingStatus
func NewGetUserProjectsRequest ¶
func NewGetUserProjectsRequest(server string, userId int, params *GetUserProjectsParams) (*http.Request, error)
NewGetUserProjectsRequest generates requests for GetUserProjects
func NewGetUsersMeRequest ¶
NewGetUsersMeRequest generates requests for GetUsersMe
func NewGetWorkReportsRequest ¶
func NewGetWorkReportsRequest(server string, params *GetWorkReportsParams) (*http.Request, error)
NewGetWorkReportsRequest generates requests for GetWorkReports
func NewInviteUsersToProjectsRequest ¶
func NewInviteUsersToProjectsRequest(server string, body InviteUsersToProjectsJSONRequestBody) (*http.Request, error)
NewInviteUsersToProjectsRequest calls the generic InviteUsersToProjects builder with application/json body
func NewInviteUsersToProjectsRequestWithBody ¶
func NewInviteUsersToProjectsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewInviteUsersToProjectsRequestWithBody generates requests for InviteUsersToProjects with any type of body
func NewMarkAsInvoicedRequest ¶
func NewMarkAsInvoicedRequest(server string, invoiceId int, body MarkAsInvoicedJSONRequestBody) (*http.Request, error)
NewMarkAsInvoicedRequest calls the generic MarkAsInvoiced builder with application/json body
func NewMarkAsInvoicedRequestWithBody ¶
func NewMarkAsInvoicedRequestWithBody(server string, invoiceId int, contentType string, body io.Reader) (*http.Request, error)
NewMarkAsInvoicedRequestWithBody generates requests for MarkAsInvoiced with any type of body
func NewMarkNotificationAsReadRequest ¶
NewMarkNotificationAsReadRequest generates requests for MarkNotificationAsRead
func NewMarkNotificationAsUnreadRequest ¶
NewMarkNotificationAsUnreadRequest generates requests for MarkNotificationAsUnread
func NewMergeTaskLabelsRequest ¶ added in v0.3.1
func NewMergeTaskLabelsRequest(server string, body MergeTaskLabelsJSONRequestBody) (*http.Request, error)
NewMergeTaskLabelsRequest calls the generic MergeTaskLabels builder with application/json body
func NewMergeTaskLabelsRequestWithBody ¶ added in v0.3.1
func NewMergeTaskLabelsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewMergeTaskLabelsRequestWithBody generates requests for MergeTaskLabels with any type of body
func NewMoveTaskRequest ¶
func NewMoveTaskRequest(server string, taskId TaskIdParam, tasklistId TasklistIdParam, body MoveTaskJSONRequestBody) (*http.Request, error)
NewMoveTaskRequest calls the generic MoveTask builder with application/json body
func NewMoveTaskRequestWithBody ¶
func NewMoveTaskRequestWithBody(server string, taskId TaskIdParam, tasklistId TasklistIdParam, contentType string, body io.Reader) (*http.Request, error)
NewMoveTaskRequestWithBody generates requests for MoveTask with any type of body
func NewPinItemToProjectRequest ¶
func NewPinItemToProjectRequest(server string, projectId ProjectIdParam, body PinItemToProjectJSONRequestBody) (*http.Request, error)
NewPinItemToProjectRequest calls the generic PinItemToProject builder with application/json body
func NewPinItemToProjectRequestWithBody ¶
func NewPinItemToProjectRequestWithBody(server string, projectId ProjectIdParam, contentType string, body io.Reader) (*http.Request, error)
NewPinItemToProjectRequestWithBody generates requests for PinItemToProject with any type of body
func NewRemoveProjectLabelFromProjectRequest ¶
func NewRemoveProjectLabelFromProjectRequest(server string, projectId int, body RemoveProjectLabelFromProjectJSONRequestBody) (*http.Request, error)
NewRemoveProjectLabelFromProjectRequest calls the generic RemoveProjectLabelFromProject builder with application/json body
func NewRemoveProjectLabelFromProjectRequestWithBody ¶
func NewRemoveProjectLabelFromProjectRequestWithBody(server string, projectId int, contentType string, body io.Reader) (*http.Request, error)
NewRemoveProjectLabelFromProjectRequestWithBody generates requests for RemoveProjectLabelFromProject with any type of body
func NewRemoveProjectWorkersByEmailsRequest ¶
func NewRemoveProjectWorkersByEmailsRequest(server string, projectId ProjectIdParam, body RemoveProjectWorkersByEmailsJSONRequestBody) (*http.Request, error)
NewRemoveProjectWorkersByEmailsRequest calls the generic RemoveProjectWorkersByEmails builder with application/json body
func NewRemoveProjectWorkersByEmailsRequestWithBody ¶
func NewRemoveProjectWorkersByEmailsRequestWithBody(server string, projectId ProjectIdParam, contentType string, body io.Reader) (*http.Request, error)
NewRemoveProjectWorkersByEmailsRequestWithBody generates requests for RemoveProjectWorkersByEmails with any type of body
func NewRemoveProjectWorkersByIdsRequest ¶
func NewRemoveProjectWorkersByIdsRequest(server string, projectId ProjectIdParam, body RemoveProjectWorkersByIdsJSONRequestBody) (*http.Request, error)
NewRemoveProjectWorkersByIdsRequest calls the generic RemoveProjectWorkersByIds builder with application/json body
func NewRemoveProjectWorkersByIdsRequestWithBody ¶
func NewRemoveProjectWorkersByIdsRequestWithBody(server string, projectId ProjectIdParam, contentType string, body io.Reader) (*http.Request, error)
NewRemoveProjectWorkersByIdsRequestWithBody generates requests for RemoveProjectWorkersByIds with any type of body
func NewRemoveTaskFromProjectRequest ¶
func NewRemoveTaskFromProjectRequest(server string, taskId TaskIdParam, projectId ProjectIdParam) (*http.Request, error)
NewRemoveTaskFromProjectRequest generates requests for RemoveTaskFromProject
func NewRemoveTaskLabelsFromTaskRequest ¶
func NewRemoveTaskLabelsFromTaskRequest(server string, taskId TaskIdParam, body RemoveTaskLabelsFromTaskJSONRequestBody) (*http.Request, error)
NewRemoveTaskLabelsFromTaskRequest calls the generic RemoveTaskLabelsFromTask builder with application/json body
func NewRemoveTaskLabelsFromTaskRequestWithBody ¶
func NewRemoveTaskLabelsFromTaskRequestWithBody(server string, taskId TaskIdParam, contentType string, body io.Reader) (*http.Request, error)
NewRemoveTaskLabelsFromTaskRequestWithBody generates requests for RemoveTaskLabelsFromTask with any type of body
func NewRenameCustomFieldRequest ¶
func NewRenameCustomFieldRequest(server string, uuid openapi_types.UUID, body RenameCustomFieldJSONRequestBody) (*http.Request, error)
NewRenameCustomFieldRequest calls the generic RenameCustomField builder with application/json body
func NewRenameCustomFieldRequestWithBody ¶
func NewRenameCustomFieldRequestWithBody(server string, uuid openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewRenameCustomFieldRequestWithBody generates requests for RenameCustomField with any type of body
func NewRestoreCustomFieldRequest ¶
NewRestoreCustomFieldRequest generates requests for RestoreCustomField
func NewSearchRequest ¶
func NewSearchRequest(server string, body SearchJSONRequestBody) (*http.Request, error)
NewSearchRequest calls the generic Search builder with application/json body
func NewSearchRequestWithBody ¶
func NewSearchRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSearchRequestWithBody generates requests for Search with any type of body
func NewSetTotalTimeEstimateRequest ¶
func NewSetTotalTimeEstimateRequest(server string, taskId TaskIdParam, body SetTotalTimeEstimateJSONRequestBody) (*http.Request, error)
NewSetTotalTimeEstimateRequest calls the generic SetTotalTimeEstimate builder with application/json body
func NewSetTotalTimeEstimateRequestWithBody ¶
func NewSetTotalTimeEstimateRequestWithBody(server string, taskId TaskIdParam, contentType string, body io.Reader) (*http.Request, error)
NewSetTotalTimeEstimateRequestWithBody generates requests for SetTotalTimeEstimate with any type of body
func NewSetUserTimeEstimateRequest ¶
func NewSetUserTimeEstimateRequest(server string, taskId TaskIdParam, userId int, body SetUserTimeEstimateJSONRequestBody) (*http.Request, error)
NewSetUserTimeEstimateRequest calls the generic SetUserTimeEstimate builder with application/json body
func NewSetUserTimeEstimateRequestWithBody ¶
func NewSetUserTimeEstimateRequestWithBody(server string, taskId TaskIdParam, userId int, contentType string, body io.Reader) (*http.Request, error)
NewSetUserTimeEstimateRequestWithBody generates requests for SetUserTimeEstimate with any type of body
func NewStartTimeTrackingRequest ¶
func NewStartTimeTrackingRequest(server string, body StartTimeTrackingJSONRequestBody) (*http.Request, error)
NewStartTimeTrackingRequest calls the generic StartTimeTracking builder with application/json body
func NewStartTimeTrackingRequestWithBody ¶
func NewStartTimeTrackingRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewStartTimeTrackingRequestWithBody generates requests for StartTimeTracking with any type of body
func NewStopTimeTrackingRequest ¶
NewStopTimeTrackingRequest generates requests for StopTimeTracking
Types ¶
type ActivateProjectResponse ¶
type ActivateProjectResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseActivateProjectResponse ¶
func ParseActivateProjectResponse(rsp *http.Response) (*ActivateProjectResponse, error)
ParseActivateProjectResponse parses an HTTP response from a ActivateProjectWithResponse call
func (ActivateProjectResponse) ContentType ¶ added in v0.2.0
func (r ActivateProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ActivateProjectResponse) Status ¶
func (r ActivateProjectResponse) Status() string
Status returns HTTPResponse.Status
func (ActivateProjectResponse) StatusCode ¶
func (r ActivateProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ActivateTaskJSONBody ¶ added in v0.3.1
type ActivateTaskJSONBody struct {
// NotifyAuthor When true, the authenticated caller (the action author) is kept in the notification recipients even though they triggered the action. Useful for automations acting under your own token. Only takes effect if you are otherwise a subscriber/worker/tracking user of the target.
NotifyAuthor *bool `json:"notify_author,omitempty"`
}
ActivateTaskJSONBody defines parameters for ActivateTask.
type ActivateTaskJSONRequestBody ¶ added in v0.3.1
type ActivateTaskJSONRequestBody ActivateTaskJSONBody
ActivateTaskJSONRequestBody defines body for ActivateTask for application/json ContentType.
type ActivateTaskResponse ¶
type ActivateTaskResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseActivateTaskResponse ¶
func ParseActivateTaskResponse(rsp *http.Response) (*ActivateTaskResponse, error)
ParseActivateTaskResponse parses an HTTP response from a ActivateTaskWithResponse call
func (ActivateTaskResponse) ContentType ¶ added in v0.2.0
func (r ActivateTaskResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ActivateTaskResponse) Status ¶
func (r ActivateTaskResponse) Status() string
Status returns HTTPResponse.Status
func (ActivateTaskResponse) StatusCode ¶
func (r ActivateTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ActivateTaskcheckResponse ¶ added in v0.2.0
type ActivateTaskcheckResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseActivateTaskcheckResponse ¶ added in v0.2.0
func ParseActivateTaskcheckResponse(rsp *http.Response) (*ActivateTaskcheckResponse, error)
ParseActivateTaskcheckResponse parses an HTTP response from a ActivateTaskcheckWithResponse call
func (ActivateTaskcheckResponse) ContentType ¶ added in v0.2.0
func (r ActivateTaskcheckResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ActivateTaskcheckResponse) Status ¶ added in v0.2.0
func (r ActivateTaskcheckResponse) Status() string
Status returns HTTPResponse.Status
func (ActivateTaskcheckResponse) StatusCode ¶ added in v0.2.0
func (r ActivateTaskcheckResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddOrEditCustomFieldValueJSONBody ¶
type AddOrEditCustomFieldValueJSONBody struct {
CustomFieldUuid openapi_types.UUID `json:"custom_field_uuid"`
TaskId int `json:"task_id"`
Value string `json:"value"`
}
AddOrEditCustomFieldValueJSONBody defines parameters for AddOrEditCustomFieldValue.
type AddOrEditCustomFieldValueJSONRequestBody ¶
type AddOrEditCustomFieldValueJSONRequestBody AddOrEditCustomFieldValueJSONBody
AddOrEditCustomFieldValueJSONRequestBody defines body for AddOrEditCustomFieldValue for application/json ContentType.
type AddOrEditCustomFieldValueResponse ¶
type AddOrEditCustomFieldValueResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
CustomFieldValue *CustomFieldValue `json:"custom_field_value,omitempty"`
}
}
func ParseAddOrEditCustomFieldValueResponse ¶
func ParseAddOrEditCustomFieldValueResponse(rsp *http.Response) (*AddOrEditCustomFieldValueResponse, error)
ParseAddOrEditCustomFieldValueResponse parses an HTTP response from a AddOrEditCustomFieldValueWithResponse call
func (AddOrEditCustomFieldValueResponse) ContentType ¶ added in v0.2.0
func (r AddOrEditCustomFieldValueResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddOrEditCustomFieldValueResponse) Status ¶
func (r AddOrEditCustomFieldValueResponse) Status() string
Status returns HTTPResponse.Status
func (AddOrEditCustomFieldValueResponse) StatusCode ¶
func (r AddOrEditCustomFieldValueResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddOrEditEnumValueJSONBody ¶
type AddOrEditEnumValueJSONBody struct {
CustomFieldUuid openapi_types.UUID `json:"customFieldUuid"`
TaskId int `json:"task_id"`
// Value UUID of enum option
Value openapi_types.UUID `json:"value"`
}
AddOrEditEnumValueJSONBody defines parameters for AddOrEditEnumValue.
type AddOrEditEnumValueJSONRequestBody ¶
type AddOrEditEnumValueJSONRequestBody AddOrEditEnumValueJSONBody
AddOrEditEnumValueJSONRequestBody defines body for AddOrEditEnumValue for application/json ContentType.
type AddOrEditEnumValueResponse ¶
type AddOrEditEnumValueResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
CustomFieldEnum *CustomFieldEnumValue `json:"customFieldEnum,omitempty"`
}
}
func ParseAddOrEditEnumValueResponse ¶
func ParseAddOrEditEnumValueResponse(rsp *http.Response) (*AddOrEditEnumValueResponse, error)
ParseAddOrEditEnumValueResponse parses an HTTP response from a AddOrEditEnumValueWithResponse call
func (AddOrEditEnumValueResponse) ContentType ¶ added in v0.2.0
func (r AddOrEditEnumValueResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddOrEditEnumValueResponse) Status ¶
func (r AddOrEditEnumValueResponse) Status() string
Status returns HTTPResponse.Status
func (AddOrEditEnumValueResponse) StatusCode ¶
func (r AddOrEditEnumValueResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddProjectLabelToProjectJSONBody ¶
type AddProjectLabelToProjectJSONBody struct {
// Color Hex color or named color from the server enum. Used only when `id` is omitted.
Color *string `json:"color,omitempty"`
// Id ID of an existing label. When present, `name`/`color`/`is_private` are ignored.
Id *int `json:"id,omitempty"`
// IsPrivate Whether the label is private to its owner. Used only when `id` is omitted. Required in data mode.
IsPrivate *bool `json:"is_private,omitempty"`
// Name Label name. Used only when `id` is omitted.
Name *string `json:"name,omitempty"`
}
AddProjectLabelToProjectJSONBody defines parameters for AddProjectLabelToProject.
type AddProjectLabelToProjectJSONRequestBody ¶
type AddProjectLabelToProjectJSONRequestBody AddProjectLabelToProjectJSONBody
AddProjectLabelToProjectJSONRequestBody defines body for AddProjectLabelToProject for application/json ContentType.
type AddProjectLabelToProjectResponse ¶
type AddProjectLabelToProjectResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseAddProjectLabelToProjectResponse ¶
func ParseAddProjectLabelToProjectResponse(rsp *http.Response) (*AddProjectLabelToProjectResponse, error)
ParseAddProjectLabelToProjectResponse parses an HTTP response from a AddProjectLabelToProjectWithResponse call
func (AddProjectLabelToProjectResponse) ContentType ¶ added in v0.2.0
func (r AddProjectLabelToProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddProjectLabelToProjectResponse) Status ¶
func (r AddProjectLabelToProjectResponse) Status() string
Status returns HTTPResponse.Status
func (AddProjectLabelToProjectResponse) StatusCode ¶
func (r AddProjectLabelToProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddTaskLabelsToTaskJSONBody ¶
type AddTaskLabelsToTaskJSONBody struct {
Labels []TaskLabelAddInput `json:"labels"`
}
AddTaskLabelsToTaskJSONBody defines parameters for AddTaskLabelsToTask.
type AddTaskLabelsToTaskJSONRequestBody ¶
type AddTaskLabelsToTaskJSONRequestBody AddTaskLabelsToTaskJSONBody
AddTaskLabelsToTaskJSONRequestBody defines body for AddTaskLabelsToTask for application/json ContentType.
type AddTaskLabelsToTaskResponse ¶
type AddTaskLabelsToTaskResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseAddTaskLabelsToTaskResponse ¶
func ParseAddTaskLabelsToTaskResponse(rsp *http.Response) (*AddTaskLabelsToTaskResponse, error)
ParseAddTaskLabelsToTaskResponse parses an HTTP response from a AddTaskLabelsToTaskWithResponse call
func (AddTaskLabelsToTaskResponse) ContentType ¶ added in v0.2.0
func (r AddTaskLabelsToTaskResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddTaskLabelsToTaskResponse) Status ¶
func (r AddTaskLabelsToTaskResponse) Status() string
Status returns HTTPResponse.Status
func (AddTaskLabelsToTaskResponse) StatusCode ¶
func (r AddTaskLabelsToTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ArchiveProjectResponse ¶
type ArchiveProjectResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseArchiveProjectResponse ¶
func ParseArchiveProjectResponse(rsp *http.Response) (*ArchiveProjectResponse, error)
ParseArchiveProjectResponse parses an HTTP response from a ArchiveProjectWithResponse call
func (ArchiveProjectResponse) ContentType ¶ added in v0.2.0
func (r ArchiveProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ArchiveProjectResponse) Status ¶
func (r ArchiveProjectResponse) Status() string
Status returns HTTPResponse.Status
func (ArchiveProjectResponse) StatusCode ¶
func (r ArchiveProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AssignTaskToProjectJSONBody ¶
type AssignTaskToProjectJSONBody struct {
// TasklistId Target tasklist ID (the project is derived from it)
TasklistId int `json:"tasklist_id"`
}
AssignTaskToProjectJSONBody defines parameters for AssignTaskToProject.
type AssignTaskToProjectJSONRequestBody ¶
type AssignTaskToProjectJSONRequestBody AssignTaskToProjectJSONBody
AssignTaskToProjectJSONRequestBody defines body for AssignTaskToProject for application/json ContentType.
type AssignTaskToProjectResponse ¶
type AssignTaskToProjectResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Task *struct {
Id *int `json:"id,omitempty"`
Uuid *string `json:"uuid,omitempty"`
} `json:"task,omitempty"`
}
}
func ParseAssignTaskToProjectResponse ¶
func ParseAssignTaskToProjectResponse(rsp *http.Response) (*AssignTaskToProjectResponse, error)
ParseAssignTaskToProjectResponse parses an HTTP response from a AssignTaskToProjectWithResponse call
func (AssignTaskToProjectResponse) ContentType ¶ added in v0.2.0
func (r AssignTaskToProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AssignTaskToProjectResponse) Status ¶
func (r AssignTaskToProjectResponse) Status() string
Status returns HTTPResponse.Status
func (AssignTaskToProjectResponse) StatusCode ¶
func (r AssignTaskToProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BusinessClient ¶
type BusinessClient struct {
Company *string `json:"company,omitempty"`
CompanyId *string `json:"company_id,omitempty"`
CompanyTaxId *string `json:"company_tax_id,omitempty"`
Email *string `json:"email,omitempty"`
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Street *string `json:"street,omitempty"`
Town *string `json:"town,omitempty"`
Zip *string `json:"zip,omitempty"`
}
BusinessClient defines model for BusinessClient.
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) ActivateProject ¶
func (c *Client) ActivateProject(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ActivateTask ¶
func (c *Client) ActivateTask(ctx context.Context, taskId TaskIdParam, body ActivateTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ActivateTaskWithBody ¶ added in v0.3.1
func (*Client) ActivateTaskcheck ¶ added in v0.2.0
func (c *Client) ActivateTaskcheck(ctx context.Context, taskcheckId TaskcheckIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddOrEditCustomFieldValue ¶
func (c *Client) AddOrEditCustomFieldValue(ctx context.Context, body AddOrEditCustomFieldValueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddOrEditCustomFieldValueWithBody ¶
func (*Client) AddOrEditEnumValue ¶
func (c *Client) AddOrEditEnumValue(ctx context.Context, body AddOrEditEnumValueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddOrEditEnumValueWithBody ¶
func (*Client) AddProjectLabelToProject ¶
func (c *Client) AddProjectLabelToProject(ctx context.Context, projectId int, body AddProjectLabelToProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddProjectLabelToProjectWithBody ¶
func (*Client) AddTaskLabelsToTask ¶
func (c *Client) AddTaskLabelsToTask(ctx context.Context, taskId TaskIdParam, body AddTaskLabelsToTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddTaskLabelsToTaskWithBody ¶
func (*Client) ArchiveProject ¶
func (c *Client) ArchiveProject(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AssignTaskToProject ¶
func (c *Client) AssignTaskToProject(ctx context.Context, taskId TaskIdParam, body AssignTaskToProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AssignTaskToProjectWithBody ¶
func (*Client) CreateComment ¶
func (c *Client) CreateComment(ctx context.Context, taskId TaskIdParam, body CreateCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateCommentWithBody ¶
func (*Client) CreateCustomField ¶
func (c *Client) CreateCustomField(ctx context.Context, projectId ProjectIdParam, body CreateCustomFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateCustomFieldWithBody ¶
func (*Client) CreateEnumOption ¶
func (c *Client) CreateEnumOption(ctx context.Context, customFieldUuid openapi_types.UUID, body CreateEnumOptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateEnumOptionWithBody ¶
func (*Client) CreateNote ¶
func (c *Client) CreateNote(ctx context.Context, projectId ProjectIdParam, body CreateNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateNoteWithBody ¶
func (*Client) CreateProject ¶
func (c *Client) CreateProject(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateProjectFromTemplate ¶
func (c *Client) CreateProjectFromTemplate(ctx context.Context, templateId int, body CreateProjectFromTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateProjectFromTemplateWithBody ¶
func (*Client) CreateProjectWithBody ¶
func (*Client) CreateSubtask ¶
func (c *Client) CreateSubtask(ctx context.Context, taskId TaskIdParam, body CreateSubtaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateSubtaskWithBody ¶
func (*Client) CreateTask ¶
func (c *Client) CreateTask(ctx context.Context, projectId ProjectIdParam, tasklistId TasklistIdParam, body CreateTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateTaskFromTemplate ¶
func (c *Client) CreateTaskFromTemplate(ctx context.Context, templateId int, body CreateTaskFromTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateTaskFromTemplateWithBody ¶
func (*Client) CreateTaskLabels ¶
func (c *Client) CreateTaskLabels(ctx context.Context, body CreateTaskLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateTaskLabelsWithBody ¶
func (*Client) CreateTaskReminder ¶
func (c *Client) CreateTaskReminder(ctx context.Context, taskId TaskIdParam, body CreateTaskReminderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateTaskReminderWithBody ¶
func (*Client) CreateTaskWithBody ¶
func (c *Client) CreateTaskWithBody(ctx context.Context, projectId ProjectIdParam, tasklistId TasklistIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateTasklist ¶
func (c *Client) CreateTasklist(ctx context.Context, projectId ProjectIdParam, body CreateTasklistJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateTasklistFromTemplate ¶
func (c *Client) CreateTasklistFromTemplate(ctx context.Context, templateId int, body CreateTasklistFromTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateTasklistFromTemplateWithBody ¶
func (*Client) CreateTasklistWithBody ¶
func (*Client) CreateWorkReport ¶
func (c *Client) CreateWorkReport(ctx context.Context, taskId TaskIdParam, body CreateWorkReportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateWorkReportWithBody ¶
func (*Client) DeleteComment ¶ added in v0.3.0
func (*Client) DeleteCustomField ¶
func (c *Client) DeleteCustomField(ctx context.Context, uuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteCustomFieldValue ¶
func (c *Client) DeleteCustomFieldValue(ctx context.Context, uuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteDocOrFileByUuid ¶ added in v0.3.0
func (c *Client) DeleteDocOrFileByUuid(ctx context.Context, fileUuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteEnumOption ¶
func (c *Client) DeleteEnumOption(ctx context.Context, customFieldEnumUuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteNote ¶
func (c *Client) DeleteNote(ctx context.Context, noteId NoteIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeletePinnedItem ¶
func (*Client) DeleteProject ¶
func (c *Client) DeleteProject(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteProjectLabel ¶
func (*Client) DeletePublicLinkToTask ¶
func (c *Client) DeletePublicLinkToTask(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteTask ¶
func (c *Client) DeleteTask(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteTaskReminder ¶
func (c *Client) DeleteTaskReminder(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteTaskcheck ¶ added in v0.2.0
func (c *Client) DeleteTaskcheck(ctx context.Context, taskcheckId TaskcheckIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteTotalTimeEstimate ¶
func (c *Client) DeleteTotalTimeEstimate(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteUserTimeEstimate ¶
func (c *Client) DeleteUserTimeEstimate(ctx context.Context, taskId TaskIdParam, userId int, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteWorkReport ¶
func (*Client) DisableOutOfOffice ¶
func (*Client) DownloadFile ¶
func (c *Client) DownloadFile(ctx context.Context, fileUuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DownloadIssuedInvoiceReports ¶
func (*Client) EditComment ¶
func (c *Client) EditComment(ctx context.Context, commentId int, body EditCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) EditCommentWithBody ¶
func (*Client) EditEnumOption ¶
func (c *Client) EditEnumOption(ctx context.Context, customFieldEnumUuid openapi_types.UUID, body EditEnumOptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) EditEnumOptionWithBody ¶
func (*Client) EditNote ¶
func (c *Client) EditNote(ctx context.Context, noteId NoteIdParam, body EditNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) EditNoteWithBody ¶
func (*Client) EditProjectLabel ¶
func (c *Client) EditProjectLabel(ctx context.Context, labelId int, body EditProjectLabelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) EditProjectLabelWithBody ¶
func (*Client) EditTask ¶
func (c *Client) EditTask(ctx context.Context, taskId TaskIdParam, body EditTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) EditTaskDescription ¶
func (c *Client) EditTaskDescription(ctx context.Context, taskId TaskIdParam, body EditTaskDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) EditTaskDescriptionWithBody ¶
func (*Client) EditTaskWithBody ¶
func (*Client) EditTaskcheck ¶ added in v0.2.0
func (c *Client) EditTaskcheck(ctx context.Context, taskcheckId TaskcheckIdParam, body EditTaskcheckJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) EditTaskcheckWithBody ¶ added in v0.2.0
func (*Client) EditTasklist ¶ added in v0.2.0
func (c *Client) EditTasklist(ctx context.Context, tasklistId int, body EditTasklistJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) EditTasklistWithBody ¶ added in v0.2.0
func (*Client) EditTimeTracking ¶
func (c *Client) EditTimeTracking(ctx context.Context, body EditTimeTrackingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) EditTimeTrackingWithBody ¶
func (*Client) EditWorkReport ¶
func (c *Client) EditWorkReport(ctx context.Context, workReportId int, body EditWorkReportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) EditWorkReportWithBody ¶
func (*Client) EnableOutOfOffice ¶
func (c *Client) EnableOutOfOffice(ctx context.Context, userId int, body EnableOutOfOfficeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) EnableOutOfOfficeWithBody ¶
func (*Client) FindAvailableProjectLabels ¶
func (*Client) FindAvailableTaskLabels ¶ added in v0.2.0
func (c *Client) FindAvailableTaskLabels(ctx context.Context, params *FindAvailableTaskLabelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) FindCustomFieldsByProject ¶
func (c *Client) FindCustomFieldsByProject(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) FindTaskRelationsBulk ¶
func (c *Client) FindTaskRelationsBulk(ctx context.Context, body FindTaskRelationsBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) FindTaskRelationsBulkWithBody ¶
func (*Client) FinishTask ¶
func (c *Client) FinishTask(ctx context.Context, taskId TaskIdParam, body FinishTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) FinishTaskWithBody ¶ added in v0.3.1
func (*Client) FinishTaskcheck ¶ added in v0.2.0
func (c *Client) FinishTaskcheck(ctx context.Context, taskcheckId TaskcheckIdParam, body FinishTaskcheckJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) FinishTaskcheckWithBody ¶ added in v0.3.1
func (*Client) ForceDeleteEnumOption ¶
func (c *Client) ForceDeleteEnumOption(ctx context.Context, customFieldEnumUuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAllComments ¶
func (c *Client) GetAllComments(ctx context.Context, params *GetAllCommentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAllDocsAndFiles ¶
func (c *Client) GetAllDocsAndFiles(ctx context.Context, params *GetAllDocsAndFilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAllEvents ¶
func (c *Client) GetAllEvents(ctx context.Context, params *GetAllEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAllNotifications ¶
func (c *Client) GetAllNotifications(ctx context.Context, params *GetAllNotificationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAllProjects ¶
func (c *Client) GetAllProjects(ctx context.Context, params *GetAllProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAllStates ¶
func (*Client) GetAllTasklists ¶
func (c *Client) GetAllTasklists(ctx context.Context, params *GetAllTasklistsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAllTasks ¶
func (c *Client) GetAllTasks(ctx context.Context, params *GetAllTasksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAllUsers ¶
func (c *Client) GetAllUsers(ctx context.Context, params *GetAllUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetArchivedProjects ¶
func (c *Client) GetArchivedProjects(ctx context.Context, params *GetArchivedProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAssignableWorkers ¶
func (c *Client) GetAssignableWorkers(ctx context.Context, projectId ProjectIdParam, tasklistId TasklistIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCustomFieldTypes ¶
func (*Client) GetEnumOptionsForCustomField ¶
func (c *Client) GetEnumOptionsForCustomField(ctx context.Context, customFieldUuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetFinishedTasks ¶
func (c *Client) GetFinishedTasks(ctx context.Context, tasklistId TasklistIdParam, params *GetFinishedTasksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetInvitedProjects ¶
func (c *Client) GetInvitedProjects(ctx context.Context, params *GetInvitedProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetIssuedInvoiceDetail ¶
func (*Client) GetIssuedInvoiceReportsJson ¶
func (*Client) GetIssuedInvoices ¶
func (c *Client) GetIssuedInvoices(ctx context.Context, params *GetIssuedInvoicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetNote ¶
func (c *Client) GetNote(ctx context.Context, noteId NoteIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetOutOfOffice ¶
func (*Client) GetPinnedItems ¶
func (c *Client) GetPinnedItems(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetProject ¶
func (c *Client) GetProject(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetProjectManagerOf ¶
func (*Client) GetProjectWorkers ¶
func (c *Client) GetProjectWorkers(ctx context.Context, projectId ProjectIdParam, params *GetProjectWorkersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetProjects ¶
func (c *Client) GetProjects(ctx context.Context, params *GetProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetPublicLinkToTask ¶
func (c *Client) GetPublicLinkToTask(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetSubtasksInTask ¶
func (c *Client) GetSubtasksInTask(ctx context.Context, taskId TaskIdParam, params *GetSubtasksInTaskParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetTask ¶
func (c *Client) GetTask(ctx context.Context, taskId TaskIdParam, params *GetTaskParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetTaskDescription ¶
func (c *Client) GetTaskDescription(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetTaskLabelColors ¶ added in v0.2.1
func (*Client) GetTaskRelations ¶
func (c *Client) GetTaskRelations(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetTasklist ¶
func (c *Client) GetTasklist(ctx context.Context, tasklistId TasklistIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetTasksInTasklist ¶
func (c *Client) GetTasksInTasklist(ctx context.Context, projectId ProjectIdParam, tasklistId TasklistIdParam, params *GetTasksInTasklistParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetTemplateProjects ¶
func (c *Client) GetTemplateProjects(ctx context.Context, params *GetTemplateProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetTimeTrackingStatus ¶
func (*Client) GetUserProjects ¶
func (c *Client) GetUserProjects(ctx context.Context, userId int, params *GetUserProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetUsersMe ¶
func (*Client) GetWorkReports ¶
func (c *Client) GetWorkReports(ctx context.Context, params *GetWorkReportsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InviteUsersToProjects ¶
func (c *Client) InviteUsersToProjects(ctx context.Context, body InviteUsersToProjectsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InviteUsersToProjectsWithBody ¶
func (*Client) MarkAsInvoiced ¶
func (c *Client) MarkAsInvoiced(ctx context.Context, invoiceId int, body MarkAsInvoicedJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MarkAsInvoicedWithBody ¶
func (*Client) MarkNotificationAsRead ¶
func (*Client) MarkNotificationAsUnread ¶
func (*Client) MergeTaskLabels ¶ added in v0.3.1
func (c *Client) MergeTaskLabels(ctx context.Context, body MergeTaskLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MergeTaskLabelsWithBody ¶ added in v0.3.1
func (*Client) MoveTask ¶
func (c *Client) MoveTask(ctx context.Context, taskId TaskIdParam, tasklistId TasklistIdParam, body MoveTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MoveTaskWithBody ¶
func (c *Client) MoveTaskWithBody(ctx context.Context, taskId TaskIdParam, tasklistId TasklistIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PinItemToProject ¶
func (c *Client) PinItemToProject(ctx context.Context, projectId ProjectIdParam, body PinItemToProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PinItemToProjectWithBody ¶
func (*Client) RemoveProjectLabelFromProject ¶
func (c *Client) RemoveProjectLabelFromProject(ctx context.Context, projectId int, body RemoveProjectLabelFromProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RemoveProjectLabelFromProjectWithBody ¶
func (*Client) RemoveProjectWorkersByEmails ¶
func (c *Client) RemoveProjectWorkersByEmails(ctx context.Context, projectId ProjectIdParam, body RemoveProjectWorkersByEmailsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RemoveProjectWorkersByEmailsWithBody ¶
func (*Client) RemoveProjectWorkersByIds ¶
func (c *Client) RemoveProjectWorkersByIds(ctx context.Context, projectId ProjectIdParam, body RemoveProjectWorkersByIdsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RemoveProjectWorkersByIdsWithBody ¶
func (*Client) RemoveTaskFromProject ¶
func (c *Client) RemoveTaskFromProject(ctx context.Context, taskId TaskIdParam, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RemoveTaskLabelsFromTask ¶
func (c *Client) RemoveTaskLabelsFromTask(ctx context.Context, taskId TaskIdParam, body RemoveTaskLabelsFromTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RemoveTaskLabelsFromTaskWithBody ¶
func (*Client) RenameCustomField ¶
func (c *Client) RenameCustomField(ctx context.Context, uuid openapi_types.UUID, body RenameCustomFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RenameCustomFieldWithBody ¶
func (*Client) RestoreCustomField ¶
func (c *Client) RestoreCustomField(ctx context.Context, uuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) Search ¶
func (c *Client) Search(ctx context.Context, body SearchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SearchWithBody ¶
func (*Client) SetTotalTimeEstimate ¶
func (c *Client) SetTotalTimeEstimate(ctx context.Context, taskId TaskIdParam, body SetTotalTimeEstimateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SetTotalTimeEstimateWithBody ¶
func (*Client) SetUserTimeEstimate ¶
func (c *Client) SetUserTimeEstimate(ctx context.Context, taskId TaskIdParam, userId int, body SetUserTimeEstimateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SetUserTimeEstimateWithBody ¶
func (*Client) StartTimeTracking ¶
func (c *Client) StartTimeTracking(ctx context.Context, body StartTimeTrackingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) StartTimeTrackingWithBody ¶
func (*Client) StopTimeTracking ¶
type ClientInterface ¶
type ClientInterface interface {
// GetAllComments request
GetAllComments(ctx context.Context, params *GetAllCommentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllDocsAndFiles request
GetAllDocsAndFiles(ctx context.Context, params *GetAllDocsAndFilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllNotifications request
GetAllNotifications(ctx context.Context, params *GetAllNotificationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllProjects request
GetAllProjects(ctx context.Context, params *GetAllProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllTasklists request
GetAllTasklists(ctx context.Context, params *GetAllTasklistsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllTasks request
GetAllTasks(ctx context.Context, params *GetAllTasksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetArchivedProjects request
GetArchivedProjects(ctx context.Context, params *GetArchivedProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteComment request
DeleteComment(ctx context.Context, commentId int, reqEditors ...RequestEditorFn) (*http.Response, error)
// EditCommentWithBody request with any body
EditCommentWithBody(ctx context.Context, commentId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EditComment(ctx context.Context, commentId int, body EditCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// EditEnumOptionWithBody request with any body
EditEnumOptionWithBody(ctx context.Context, customFieldEnumUuid openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EditEnumOption(ctx context.Context, customFieldEnumUuid openapi_types.UUID, body EditEnumOptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateEnumOptionWithBody request with any body
CreateEnumOptionWithBody(ctx context.Context, customFieldUuid openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateEnumOption(ctx context.Context, customFieldUuid openapi_types.UUID, body CreateEnumOptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteEnumOption request
DeleteEnumOption(ctx context.Context, customFieldEnumUuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ForceDeleteEnumOption request
ForceDeleteEnumOption(ctx context.Context, customFieldEnumUuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEnumOptionsForCustomField request
GetEnumOptionsForCustomField(ctx context.Context, customFieldUuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddOrEditEnumValueWithBody request with any body
AddOrEditEnumValueWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddOrEditEnumValue(ctx context.Context, body AddOrEditEnumValueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddOrEditCustomFieldValueWithBody request with any body
AddOrEditCustomFieldValueWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddOrEditCustomFieldValue(ctx context.Context, body AddOrEditCustomFieldValueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateCustomFieldWithBody request with any body
CreateCustomFieldWithBody(ctx context.Context, projectId ProjectIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateCustomField(ctx context.Context, projectId ProjectIdParam, body CreateCustomFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteCustomFieldValue request
DeleteCustomFieldValue(ctx context.Context, uuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteCustomField request
DeleteCustomField(ctx context.Context, uuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// FindCustomFieldsByProject request
FindCustomFieldsByProject(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCustomFieldTypes request
GetCustomFieldTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// RenameCustomFieldWithBody request with any body
RenameCustomFieldWithBody(ctx context.Context, uuid openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RenameCustomField(ctx context.Context, uuid openapi_types.UUID, body RenameCustomFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RestoreCustomField request
RestoreCustomField(ctx context.Context, uuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllEvents request
GetAllEvents(ctx context.Context, params *GetAllEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadFileWithBody request with any body
UploadFileWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteDocOrFileByUuid request
DeleteDocOrFileByUuid(ctx context.Context, fileUuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadFile request
DownloadFile(ctx context.Context, fileUuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetInvitedProjects request
GetInvitedProjects(ctx context.Context, params *GetInvitedProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIssuedInvoiceDetail request
GetIssuedInvoiceDetail(ctx context.Context, invoiceId int, reqEditors ...RequestEditorFn) (*http.Response, error)
// MarkAsInvoicedWithBody request with any body
MarkAsInvoicedWithBody(ctx context.Context, invoiceId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
MarkAsInvoiced(ctx context.Context, invoiceId int, body MarkAsInvoicedJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadIssuedInvoiceReports request
DownloadIssuedInvoiceReports(ctx context.Context, invoiceId int, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIssuedInvoiceReportsJson request
GetIssuedInvoiceReportsJson(ctx context.Context, invoiceId int, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIssuedInvoices request
GetIssuedInvoices(ctx context.Context, params *GetIssuedInvoicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteNote request
DeleteNote(ctx context.Context, noteId NoteIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNote request
GetNote(ctx context.Context, noteId NoteIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
// EditNoteWithBody request with any body
EditNoteWithBody(ctx context.Context, noteId NoteIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EditNote(ctx context.Context, noteId NoteIdParam, body EditNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// MarkNotificationAsRead request
MarkNotificationAsRead(ctx context.Context, notificationId int, reqEditors ...RequestEditorFn) (*http.Response, error)
// MarkNotificationAsUnread request
MarkNotificationAsUnread(ctx context.Context, notificationId int, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeletePinnedItem request
DeletePinnedItem(ctx context.Context, pinnedItemId int, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddProjectLabelToProjectWithBody request with any body
AddProjectLabelToProjectWithBody(ctx context.Context, projectId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddProjectLabelToProject(ctx context.Context, projectId int, body AddProjectLabelToProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// FindAvailableProjectLabels request
FindAvailableProjectLabels(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveProjectLabelFromProjectWithBody request with any body
RemoveProjectLabelFromProjectWithBody(ctx context.Context, projectId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RemoveProjectLabelFromProject(ctx context.Context, projectId int, body RemoveProjectLabelFromProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteProjectLabel request
DeleteProjectLabel(ctx context.Context, labelId int, reqEditors ...RequestEditorFn) (*http.Response, error)
// EditProjectLabelWithBody request with any body
EditProjectLabelWithBody(ctx context.Context, labelId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EditProjectLabel(ctx context.Context, labelId int, body EditProjectLabelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateProjectFromTemplateWithBody request with any body
CreateProjectFromTemplateWithBody(ctx context.Context, templateId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateProjectFromTemplate(ctx context.Context, templateId int, body CreateProjectFromTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteProject request
DeleteProject(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetProject request
GetProject(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
// ActivateProject request
ActivateProject(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
// ArchiveProject request
ArchiveProject(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateNoteWithBody request with any body
CreateNoteWithBody(ctx context.Context, projectId ProjectIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateNote(ctx context.Context, projectId ProjectIdParam, body CreateNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPinnedItems request
GetPinnedItems(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
// PinItemToProjectWithBody request with any body
PinItemToProjectWithBody(ctx context.Context, projectId ProjectIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PinItemToProject(ctx context.Context, projectId ProjectIdParam, body PinItemToProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveProjectWorkersByEmailsWithBody request with any body
RemoveProjectWorkersByEmailsWithBody(ctx context.Context, projectId ProjectIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RemoveProjectWorkersByEmails(ctx context.Context, projectId ProjectIdParam, body RemoveProjectWorkersByEmailsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveProjectWorkersByIdsWithBody request with any body
RemoveProjectWorkersByIdsWithBody(ctx context.Context, projectId ProjectIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RemoveProjectWorkersByIds(ctx context.Context, projectId ProjectIdParam, body RemoveProjectWorkersByIdsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAssignableWorkers request
GetAssignableWorkers(ctx context.Context, projectId ProjectIdParam, tasklistId TasklistIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTasksInTasklist request
GetTasksInTasklist(ctx context.Context, projectId ProjectIdParam, tasklistId TasklistIdParam, params *GetTasksInTasklistParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateTaskWithBody request with any body
CreateTaskWithBody(ctx context.Context, projectId ProjectIdParam, tasklistId TasklistIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateTask(ctx context.Context, projectId ProjectIdParam, tasklistId TasklistIdParam, body CreateTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateTasklistWithBody request with any body
CreateTasklistWithBody(ctx context.Context, projectId ProjectIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateTasklist(ctx context.Context, projectId ProjectIdParam, body CreateTasklistJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetProjectWorkers request
GetProjectWorkers(ctx context.Context, projectId ProjectIdParam, params *GetProjectWorkersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetProjects request
GetProjects(ctx context.Context, params *GetProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateProjectWithBody request with any body
CreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateProject(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeletePublicLinkToTask request
DeletePublicLinkToTask(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPublicLinkToTask request
GetPublicLinkToTask(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
// SearchWithBody request with any body
SearchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
Search(ctx context.Context, body SearchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllStates request
GetAllStates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTaskLabelColors request
GetTaskLabelColors(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateTaskLabelsWithBody request with any body
CreateTaskLabelsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateTaskLabels(ctx context.Context, body CreateTaskLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddTaskLabelsToTaskWithBody request with any body
AddTaskLabelsToTaskWithBody(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddTaskLabelsToTask(ctx context.Context, taskId TaskIdParam, body AddTaskLabelsToTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// FindAvailableTaskLabels request
FindAvailableTaskLabels(ctx context.Context, params *FindAvailableTaskLabelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MergeTaskLabelsWithBody request with any body
MergeTaskLabelsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
MergeTaskLabels(ctx context.Context, body MergeTaskLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveTaskLabelsFromTaskWithBody request with any body
RemoveTaskLabelsFromTaskWithBody(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RemoveTaskLabelsFromTask(ctx context.Context, taskId TaskIdParam, body RemoveTaskLabelsFromTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateTaskFromTemplateWithBody request with any body
CreateTaskFromTemplateWithBody(ctx context.Context, templateId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateTaskFromTemplate(ctx context.Context, templateId int, body CreateTaskFromTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteTask request
DeleteTask(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTask request
GetTask(ctx context.Context, taskId TaskIdParam, params *GetTaskParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// EditTaskWithBody request with any body
EditTaskWithBody(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EditTask(ctx context.Context, taskId TaskIdParam, body EditTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ActivateTaskWithBody request with any body
ActivateTaskWithBody(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ActivateTask(ctx context.Context, taskId TaskIdParam, body ActivateTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateCommentWithBody request with any body
CreateCommentWithBody(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateComment(ctx context.Context, taskId TaskIdParam, body CreateCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTaskDescription request
GetTaskDescription(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
// EditTaskDescriptionWithBody request with any body
EditTaskDescriptionWithBody(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EditTaskDescription(ctx context.Context, taskId TaskIdParam, body EditTaskDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// FinishTaskWithBody request with any body
FinishTaskWithBody(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
FinishTask(ctx context.Context, taskId TaskIdParam, body FinishTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// MoveTaskWithBody request with any body
MoveTaskWithBody(ctx context.Context, taskId TaskIdParam, tasklistId TasklistIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
MoveTask(ctx context.Context, taskId TaskIdParam, tasklistId TasklistIdParam, body MoveTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AssignTaskToProjectWithBody request with any body
AssignTaskToProjectWithBody(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AssignTaskToProject(ctx context.Context, taskId TaskIdParam, body AssignTaskToProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveTaskFromProject request
RemoveTaskFromProject(ctx context.Context, taskId TaskIdParam, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTaskRelations request
GetTaskRelations(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteTaskReminder request
DeleteTaskReminder(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateTaskReminderWithBody request with any body
CreateTaskReminderWithBody(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateTaskReminder(ctx context.Context, taskId TaskIdParam, body CreateTaskReminderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSubtasksInTask request
GetSubtasksInTask(ctx context.Context, taskId TaskIdParam, params *GetSubtasksInTaskParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSubtaskWithBody request with any body
CreateSubtaskWithBody(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSubtask(ctx context.Context, taskId TaskIdParam, body CreateSubtaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteTotalTimeEstimate request
DeleteTotalTimeEstimate(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetTotalTimeEstimateWithBody request with any body
SetTotalTimeEstimateWithBody(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetTotalTimeEstimate(ctx context.Context, taskId TaskIdParam, body SetTotalTimeEstimateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteUserTimeEstimate request
DeleteUserTimeEstimate(ctx context.Context, taskId TaskIdParam, userId int, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetUserTimeEstimateWithBody request with any body
SetUserTimeEstimateWithBody(ctx context.Context, taskId TaskIdParam, userId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetUserTimeEstimate(ctx context.Context, taskId TaskIdParam, userId int, body SetUserTimeEstimateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateWorkReportWithBody request with any body
CreateWorkReportWithBody(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateWorkReport(ctx context.Context, taskId TaskIdParam, body CreateWorkReportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteTaskcheck request
DeleteTaskcheck(ctx context.Context, taskcheckId TaskcheckIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
// EditTaskcheckWithBody request with any body
EditTaskcheckWithBody(ctx context.Context, taskcheckId TaskcheckIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EditTaskcheck(ctx context.Context, taskcheckId TaskcheckIdParam, body EditTaskcheckJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ActivateTaskcheck request
ActivateTaskcheck(ctx context.Context, taskcheckId TaskcheckIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
// FinishTaskcheckWithBody request with any body
FinishTaskcheckWithBody(ctx context.Context, taskcheckId TaskcheckIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
FinishTaskcheck(ctx context.Context, taskcheckId TaskcheckIdParam, body FinishTaskcheckJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateTasklistFromTemplateWithBody request with any body
CreateTasklistFromTemplateWithBody(ctx context.Context, templateId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateTasklistFromTemplate(ctx context.Context, templateId int, body CreateTasklistFromTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTasklist request
GetTasklist(ctx context.Context, tasklistId TasklistIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)
// EditTasklistWithBody request with any body
EditTasklistWithBody(ctx context.Context, tasklistId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EditTasklist(ctx context.Context, tasklistId int, body EditTasklistJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFinishedTasks request
GetFinishedTasks(ctx context.Context, tasklistId TasklistIdParam, params *GetFinishedTasksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// FindTaskRelationsBulkWithBody request with any body
FindTaskRelationsBulkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
FindTaskRelationsBulk(ctx context.Context, body FindTaskRelationsBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTemplateProjects request
GetTemplateProjects(ctx context.Context, params *GetTemplateProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// EditTimeTrackingWithBody request with any body
EditTimeTrackingWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EditTimeTracking(ctx context.Context, body EditTimeTrackingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// StartTimeTrackingWithBody request with any body
StartTimeTrackingWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
StartTimeTracking(ctx context.Context, body StartTimeTrackingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTimeTrackingStatus request
GetTimeTrackingStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// StopTimeTracking request
StopTimeTracking(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUserProjects request
GetUserProjects(ctx context.Context, userId int, params *GetUserProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DisableOutOfOffice request
DisableOutOfOffice(ctx context.Context, userId int, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOutOfOffice request
GetOutOfOffice(ctx context.Context, userId int, reqEditors ...RequestEditorFn) (*http.Response, error)
// EnableOutOfOfficeWithBody request with any body
EnableOutOfOfficeWithBody(ctx context.Context, userId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EnableOutOfOffice(ctx context.Context, userId int, body EnableOutOfOfficeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllUsers request
GetAllUsers(ctx context.Context, params *GetAllUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// InviteUsersToProjectsWithBody request with any body
InviteUsersToProjectsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
InviteUsersToProjects(ctx context.Context, body InviteUsersToProjectsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUsersMe request
GetUsersMe(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetProjectManagerOf request
GetProjectManagerOf(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWorkReports request
GetWorkReports(ctx context.Context, params *GetWorkReportsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteWorkReport request
DeleteWorkReport(ctx context.Context, workReportId int, reqEditors ...RequestEditorFn) (*http.Response, error)
// EditWorkReportWithBody request with any body
EditWorkReportWithBody(ctx context.Context, workReportId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EditWorkReport(ctx context.Context, workReportId int, body EditWorkReportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) ActivateProjectWithResponse ¶
func (c *ClientWithResponses) ActivateProjectWithResponse(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*ActivateProjectResponse, error)
ActivateProjectWithResponse request returning *ActivateProjectResponse
func (*ClientWithResponses) ActivateTaskWithBodyWithResponse ¶ added in v0.3.1
func (c *ClientWithResponses) ActivateTaskWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActivateTaskResponse, error)
ActivateTaskWithBodyWithResponse request with arbitrary body returning *ActivateTaskResponse
func (*ClientWithResponses) ActivateTaskWithResponse ¶
func (c *ClientWithResponses) ActivateTaskWithResponse(ctx context.Context, taskId TaskIdParam, body ActivateTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*ActivateTaskResponse, error)
func (*ClientWithResponses) ActivateTaskcheckWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) ActivateTaskcheckWithResponse(ctx context.Context, taskcheckId TaskcheckIdParam, reqEditors ...RequestEditorFn) (*ActivateTaskcheckResponse, error)
ActivateTaskcheckWithResponse request returning *ActivateTaskcheckResponse
func (*ClientWithResponses) AddOrEditCustomFieldValueWithBodyWithResponse ¶
func (c *ClientWithResponses) AddOrEditCustomFieldValueWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddOrEditCustomFieldValueResponse, error)
AddOrEditCustomFieldValueWithBodyWithResponse request with arbitrary body returning *AddOrEditCustomFieldValueResponse
func (*ClientWithResponses) AddOrEditCustomFieldValueWithResponse ¶
func (c *ClientWithResponses) AddOrEditCustomFieldValueWithResponse(ctx context.Context, body AddOrEditCustomFieldValueJSONRequestBody, reqEditors ...RequestEditorFn) (*AddOrEditCustomFieldValueResponse, error)
func (*ClientWithResponses) AddOrEditEnumValueWithBodyWithResponse ¶
func (c *ClientWithResponses) AddOrEditEnumValueWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddOrEditEnumValueResponse, error)
AddOrEditEnumValueWithBodyWithResponse request with arbitrary body returning *AddOrEditEnumValueResponse
func (*ClientWithResponses) AddOrEditEnumValueWithResponse ¶
func (c *ClientWithResponses) AddOrEditEnumValueWithResponse(ctx context.Context, body AddOrEditEnumValueJSONRequestBody, reqEditors ...RequestEditorFn) (*AddOrEditEnumValueResponse, error)
func (*ClientWithResponses) AddProjectLabelToProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) AddProjectLabelToProjectWithBodyWithResponse(ctx context.Context, projectId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddProjectLabelToProjectResponse, error)
AddProjectLabelToProjectWithBodyWithResponse request with arbitrary body returning *AddProjectLabelToProjectResponse
func (*ClientWithResponses) AddProjectLabelToProjectWithResponse ¶
func (c *ClientWithResponses) AddProjectLabelToProjectWithResponse(ctx context.Context, projectId int, body AddProjectLabelToProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*AddProjectLabelToProjectResponse, error)
func (*ClientWithResponses) AddTaskLabelsToTaskWithBodyWithResponse ¶
func (c *ClientWithResponses) AddTaskLabelsToTaskWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddTaskLabelsToTaskResponse, error)
AddTaskLabelsToTaskWithBodyWithResponse request with arbitrary body returning *AddTaskLabelsToTaskResponse
func (*ClientWithResponses) AddTaskLabelsToTaskWithResponse ¶
func (c *ClientWithResponses) AddTaskLabelsToTaskWithResponse(ctx context.Context, taskId TaskIdParam, body AddTaskLabelsToTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*AddTaskLabelsToTaskResponse, error)
func (*ClientWithResponses) ArchiveProjectWithResponse ¶
func (c *ClientWithResponses) ArchiveProjectWithResponse(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*ArchiveProjectResponse, error)
ArchiveProjectWithResponse request returning *ArchiveProjectResponse
func (*ClientWithResponses) AssignTaskToProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) AssignTaskToProjectWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AssignTaskToProjectResponse, error)
AssignTaskToProjectWithBodyWithResponse request with arbitrary body returning *AssignTaskToProjectResponse
func (*ClientWithResponses) AssignTaskToProjectWithResponse ¶
func (c *ClientWithResponses) AssignTaskToProjectWithResponse(ctx context.Context, taskId TaskIdParam, body AssignTaskToProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*AssignTaskToProjectResponse, error)
func (*ClientWithResponses) CreateCommentWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateCommentWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCommentResponse, error)
CreateCommentWithBodyWithResponse request with arbitrary body returning *CreateCommentResponse
func (*ClientWithResponses) CreateCommentWithResponse ¶
func (c *ClientWithResponses) CreateCommentWithResponse(ctx context.Context, taskId TaskIdParam, body CreateCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCommentResponse, error)
func (*ClientWithResponses) CreateCustomFieldWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateCustomFieldWithBodyWithResponse(ctx context.Context, projectId ProjectIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCustomFieldResponse, error)
CreateCustomFieldWithBodyWithResponse request with arbitrary body returning *CreateCustomFieldResponse
func (*ClientWithResponses) CreateCustomFieldWithResponse ¶
func (c *ClientWithResponses) CreateCustomFieldWithResponse(ctx context.Context, projectId ProjectIdParam, body CreateCustomFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCustomFieldResponse, error)
func (*ClientWithResponses) CreateEnumOptionWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateEnumOptionWithBodyWithResponse(ctx context.Context, customFieldUuid openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEnumOptionResponse, error)
CreateEnumOptionWithBodyWithResponse request with arbitrary body returning *CreateEnumOptionResponse
func (*ClientWithResponses) CreateEnumOptionWithResponse ¶
func (c *ClientWithResponses) CreateEnumOptionWithResponse(ctx context.Context, customFieldUuid openapi_types.UUID, body CreateEnumOptionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEnumOptionResponse, error)
func (*ClientWithResponses) CreateNoteWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateNoteWithBodyWithResponse(ctx context.Context, projectId ProjectIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateNoteResponse, error)
CreateNoteWithBodyWithResponse request with arbitrary body returning *CreateNoteResponse
func (*ClientWithResponses) CreateNoteWithResponse ¶
func (c *ClientWithResponses) CreateNoteWithResponse(ctx context.Context, projectId ProjectIdParam, body CreateNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateNoteResponse, error)
func (*ClientWithResponses) CreateProjectFromTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateProjectFromTemplateWithBodyWithResponse(ctx context.Context, templateId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectFromTemplateResponse, error)
CreateProjectFromTemplateWithBodyWithResponse request with arbitrary body returning *CreateProjectFromTemplateResponse
func (*ClientWithResponses) CreateProjectFromTemplateWithResponse ¶
func (c *ClientWithResponses) CreateProjectFromTemplateWithResponse(ctx context.Context, templateId int, body CreateProjectFromTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectFromTemplateResponse, error)
func (*ClientWithResponses) CreateProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)
CreateProjectWithBodyWithResponse request with arbitrary body returning *CreateProjectResponse
func (*ClientWithResponses) CreateProjectWithResponse ¶
func (c *ClientWithResponses) CreateProjectWithResponse(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)
func (*ClientWithResponses) CreateSubtaskWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSubtaskWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSubtaskResponse, error)
CreateSubtaskWithBodyWithResponse request with arbitrary body returning *CreateSubtaskResponse
func (*ClientWithResponses) CreateSubtaskWithResponse ¶
func (c *ClientWithResponses) CreateSubtaskWithResponse(ctx context.Context, taskId TaskIdParam, body CreateSubtaskJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSubtaskResponse, error)
func (*ClientWithResponses) CreateTaskFromTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateTaskFromTemplateWithBodyWithResponse(ctx context.Context, templateId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTaskFromTemplateResponse, error)
CreateTaskFromTemplateWithBodyWithResponse request with arbitrary body returning *CreateTaskFromTemplateResponse
func (*ClientWithResponses) CreateTaskFromTemplateWithResponse ¶
func (c *ClientWithResponses) CreateTaskFromTemplateWithResponse(ctx context.Context, templateId int, body CreateTaskFromTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTaskFromTemplateResponse, error)
func (*ClientWithResponses) CreateTaskLabelsWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateTaskLabelsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTaskLabelsResponse, error)
CreateTaskLabelsWithBodyWithResponse request with arbitrary body returning *CreateTaskLabelsResponse
func (*ClientWithResponses) CreateTaskLabelsWithResponse ¶
func (c *ClientWithResponses) CreateTaskLabelsWithResponse(ctx context.Context, body CreateTaskLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTaskLabelsResponse, error)
func (*ClientWithResponses) CreateTaskReminderWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateTaskReminderWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTaskReminderResponse, error)
CreateTaskReminderWithBodyWithResponse request with arbitrary body returning *CreateTaskReminderResponse
func (*ClientWithResponses) CreateTaskReminderWithResponse ¶
func (c *ClientWithResponses) CreateTaskReminderWithResponse(ctx context.Context, taskId TaskIdParam, body CreateTaskReminderJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTaskReminderResponse, error)
func (*ClientWithResponses) CreateTaskWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateTaskWithBodyWithResponse(ctx context.Context, projectId ProjectIdParam, tasklistId TasklistIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTaskResponse, error)
CreateTaskWithBodyWithResponse request with arbitrary body returning *CreateTaskResponse
func (*ClientWithResponses) CreateTaskWithResponse ¶
func (c *ClientWithResponses) CreateTaskWithResponse(ctx context.Context, projectId ProjectIdParam, tasklistId TasklistIdParam, body CreateTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTaskResponse, error)
func (*ClientWithResponses) CreateTasklistFromTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateTasklistFromTemplateWithBodyWithResponse(ctx context.Context, templateId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTasklistFromTemplateResponse, error)
CreateTasklistFromTemplateWithBodyWithResponse request with arbitrary body returning *CreateTasklistFromTemplateResponse
func (*ClientWithResponses) CreateTasklistFromTemplateWithResponse ¶
func (c *ClientWithResponses) CreateTasklistFromTemplateWithResponse(ctx context.Context, templateId int, body CreateTasklistFromTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTasklistFromTemplateResponse, error)
func (*ClientWithResponses) CreateTasklistWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateTasklistWithBodyWithResponse(ctx context.Context, projectId ProjectIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTasklistResponse, error)
CreateTasklistWithBodyWithResponse request with arbitrary body returning *CreateTasklistResponse
func (*ClientWithResponses) CreateTasklistWithResponse ¶
func (c *ClientWithResponses) CreateTasklistWithResponse(ctx context.Context, projectId ProjectIdParam, body CreateTasklistJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTasklistResponse, error)
func (*ClientWithResponses) CreateWorkReportWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateWorkReportWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkReportResponse, error)
CreateWorkReportWithBodyWithResponse request with arbitrary body returning *CreateWorkReportResponse
func (*ClientWithResponses) CreateWorkReportWithResponse ¶
func (c *ClientWithResponses) CreateWorkReportWithResponse(ctx context.Context, taskId TaskIdParam, body CreateWorkReportJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWorkReportResponse, error)
func (*ClientWithResponses) DeleteCommentWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) DeleteCommentWithResponse(ctx context.Context, commentId int, reqEditors ...RequestEditorFn) (*DeleteCommentResponse, error)
DeleteCommentWithResponse request returning *DeleteCommentResponse
func (*ClientWithResponses) DeleteCustomFieldValueWithResponse ¶
func (c *ClientWithResponses) DeleteCustomFieldValueWithResponse(ctx context.Context, uuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteCustomFieldValueResponse, error)
DeleteCustomFieldValueWithResponse request returning *DeleteCustomFieldValueResponse
func (*ClientWithResponses) DeleteCustomFieldWithResponse ¶
func (c *ClientWithResponses) DeleteCustomFieldWithResponse(ctx context.Context, uuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteCustomFieldResponse, error)
DeleteCustomFieldWithResponse request returning *DeleteCustomFieldResponse
func (*ClientWithResponses) DeleteDocOrFileByUuidWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) DeleteDocOrFileByUuidWithResponse(ctx context.Context, fileUuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteDocOrFileByUuidResponse, error)
DeleteDocOrFileByUuidWithResponse request returning *DeleteDocOrFileByUuidResponse
func (*ClientWithResponses) DeleteEnumOptionWithResponse ¶
func (c *ClientWithResponses) DeleteEnumOptionWithResponse(ctx context.Context, customFieldEnumUuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteEnumOptionResponse, error)
DeleteEnumOptionWithResponse request returning *DeleteEnumOptionResponse
func (*ClientWithResponses) DeleteNoteWithResponse ¶
func (c *ClientWithResponses) DeleteNoteWithResponse(ctx context.Context, noteId NoteIdParam, reqEditors ...RequestEditorFn) (*DeleteNoteResponse, error)
DeleteNoteWithResponse request returning *DeleteNoteResponse
func (*ClientWithResponses) DeletePinnedItemWithResponse ¶
func (c *ClientWithResponses) DeletePinnedItemWithResponse(ctx context.Context, pinnedItemId int, reqEditors ...RequestEditorFn) (*DeletePinnedItemResponse, error)
DeletePinnedItemWithResponse request returning *DeletePinnedItemResponse
func (*ClientWithResponses) DeleteProjectLabelWithResponse ¶
func (c *ClientWithResponses) DeleteProjectLabelWithResponse(ctx context.Context, labelId int, reqEditors ...RequestEditorFn) (*DeleteProjectLabelResponse, error)
DeleteProjectLabelWithResponse request returning *DeleteProjectLabelResponse
func (*ClientWithResponses) DeleteProjectWithResponse ¶
func (c *ClientWithResponses) DeleteProjectWithResponse(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)
DeleteProjectWithResponse request returning *DeleteProjectResponse
func (*ClientWithResponses) DeletePublicLinkToTaskWithResponse ¶
func (c *ClientWithResponses) DeletePublicLinkToTaskWithResponse(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*DeletePublicLinkToTaskResponse, error)
DeletePublicLinkToTaskWithResponse request returning *DeletePublicLinkToTaskResponse
func (*ClientWithResponses) DeleteTaskReminderWithResponse ¶
func (c *ClientWithResponses) DeleteTaskReminderWithResponse(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*DeleteTaskReminderResponse, error)
DeleteTaskReminderWithResponse request returning *DeleteTaskReminderResponse
func (*ClientWithResponses) DeleteTaskWithResponse ¶
func (c *ClientWithResponses) DeleteTaskWithResponse(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*DeleteTaskResponse, error)
DeleteTaskWithResponse request returning *DeleteTaskResponse
func (*ClientWithResponses) DeleteTaskcheckWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) DeleteTaskcheckWithResponse(ctx context.Context, taskcheckId TaskcheckIdParam, reqEditors ...RequestEditorFn) (*DeleteTaskcheckResponse, error)
DeleteTaskcheckWithResponse request returning *DeleteTaskcheckResponse
func (*ClientWithResponses) DeleteTotalTimeEstimateWithResponse ¶
func (c *ClientWithResponses) DeleteTotalTimeEstimateWithResponse(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*DeleteTotalTimeEstimateResponse, error)
DeleteTotalTimeEstimateWithResponse request returning *DeleteTotalTimeEstimateResponse
func (*ClientWithResponses) DeleteUserTimeEstimateWithResponse ¶
func (c *ClientWithResponses) DeleteUserTimeEstimateWithResponse(ctx context.Context, taskId TaskIdParam, userId int, reqEditors ...RequestEditorFn) (*DeleteUserTimeEstimateResponse, error)
DeleteUserTimeEstimateWithResponse request returning *DeleteUserTimeEstimateResponse
func (*ClientWithResponses) DeleteWorkReportWithResponse ¶
func (c *ClientWithResponses) DeleteWorkReportWithResponse(ctx context.Context, workReportId int, reqEditors ...RequestEditorFn) (*DeleteWorkReportResponse, error)
DeleteWorkReportWithResponse request returning *DeleteWorkReportResponse
func (*ClientWithResponses) DisableOutOfOfficeWithResponse ¶
func (c *ClientWithResponses) DisableOutOfOfficeWithResponse(ctx context.Context, userId int, reqEditors ...RequestEditorFn) (*DisableOutOfOfficeResponse, error)
DisableOutOfOfficeWithResponse request returning *DisableOutOfOfficeResponse
func (*ClientWithResponses) DownloadFileWithResponse ¶
func (c *ClientWithResponses) DownloadFileWithResponse(ctx context.Context, fileUuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*DownloadFileResponse, error)
DownloadFileWithResponse request returning *DownloadFileResponse
func (*ClientWithResponses) DownloadIssuedInvoiceReportsWithResponse ¶
func (c *ClientWithResponses) DownloadIssuedInvoiceReportsWithResponse(ctx context.Context, invoiceId int, reqEditors ...RequestEditorFn) (*DownloadIssuedInvoiceReportsResponse, error)
DownloadIssuedInvoiceReportsWithResponse request returning *DownloadIssuedInvoiceReportsResponse
func (*ClientWithResponses) EditCommentWithBodyWithResponse ¶
func (c *ClientWithResponses) EditCommentWithBodyWithResponse(ctx context.Context, commentId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditCommentResponse, error)
EditCommentWithBodyWithResponse request with arbitrary body returning *EditCommentResponse
func (*ClientWithResponses) EditCommentWithResponse ¶
func (c *ClientWithResponses) EditCommentWithResponse(ctx context.Context, commentId int, body EditCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*EditCommentResponse, error)
func (*ClientWithResponses) EditEnumOptionWithBodyWithResponse ¶
func (c *ClientWithResponses) EditEnumOptionWithBodyWithResponse(ctx context.Context, customFieldEnumUuid openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditEnumOptionResponse, error)
EditEnumOptionWithBodyWithResponse request with arbitrary body returning *EditEnumOptionResponse
func (*ClientWithResponses) EditEnumOptionWithResponse ¶
func (c *ClientWithResponses) EditEnumOptionWithResponse(ctx context.Context, customFieldEnumUuid openapi_types.UUID, body EditEnumOptionJSONRequestBody, reqEditors ...RequestEditorFn) (*EditEnumOptionResponse, error)
func (*ClientWithResponses) EditNoteWithBodyWithResponse ¶
func (c *ClientWithResponses) EditNoteWithBodyWithResponse(ctx context.Context, noteId NoteIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditNoteResponse, error)
EditNoteWithBodyWithResponse request with arbitrary body returning *EditNoteResponse
func (*ClientWithResponses) EditNoteWithResponse ¶
func (c *ClientWithResponses) EditNoteWithResponse(ctx context.Context, noteId NoteIdParam, body EditNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*EditNoteResponse, error)
func (*ClientWithResponses) EditProjectLabelWithBodyWithResponse ¶
func (c *ClientWithResponses) EditProjectLabelWithBodyWithResponse(ctx context.Context, labelId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditProjectLabelResponse, error)
EditProjectLabelWithBodyWithResponse request with arbitrary body returning *EditProjectLabelResponse
func (*ClientWithResponses) EditProjectLabelWithResponse ¶
func (c *ClientWithResponses) EditProjectLabelWithResponse(ctx context.Context, labelId int, body EditProjectLabelJSONRequestBody, reqEditors ...RequestEditorFn) (*EditProjectLabelResponse, error)
func (*ClientWithResponses) EditTaskDescriptionWithBodyWithResponse ¶
func (c *ClientWithResponses) EditTaskDescriptionWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditTaskDescriptionResponse, error)
EditTaskDescriptionWithBodyWithResponse request with arbitrary body returning *EditTaskDescriptionResponse
func (*ClientWithResponses) EditTaskDescriptionWithResponse ¶
func (c *ClientWithResponses) EditTaskDescriptionWithResponse(ctx context.Context, taskId TaskIdParam, body EditTaskDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*EditTaskDescriptionResponse, error)
func (*ClientWithResponses) EditTaskWithBodyWithResponse ¶
func (c *ClientWithResponses) EditTaskWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditTaskResponse, error)
EditTaskWithBodyWithResponse request with arbitrary body returning *EditTaskResponse
func (*ClientWithResponses) EditTaskWithResponse ¶
func (c *ClientWithResponses) EditTaskWithResponse(ctx context.Context, taskId TaskIdParam, body EditTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*EditTaskResponse, error)
func (*ClientWithResponses) EditTaskcheckWithBodyWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) EditTaskcheckWithBodyWithResponse(ctx context.Context, taskcheckId TaskcheckIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditTaskcheckResponse, error)
EditTaskcheckWithBodyWithResponse request with arbitrary body returning *EditTaskcheckResponse
func (*ClientWithResponses) EditTaskcheckWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) EditTaskcheckWithResponse(ctx context.Context, taskcheckId TaskcheckIdParam, body EditTaskcheckJSONRequestBody, reqEditors ...RequestEditorFn) (*EditTaskcheckResponse, error)
func (*ClientWithResponses) EditTasklistWithBodyWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) EditTasklistWithBodyWithResponse(ctx context.Context, tasklistId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditTasklistResponse, error)
EditTasklistWithBodyWithResponse request with arbitrary body returning *EditTasklistResponse
func (*ClientWithResponses) EditTasklistWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) EditTasklistWithResponse(ctx context.Context, tasklistId int, body EditTasklistJSONRequestBody, reqEditors ...RequestEditorFn) (*EditTasklistResponse, error)
func (*ClientWithResponses) EditTimeTrackingWithBodyWithResponse ¶
func (c *ClientWithResponses) EditTimeTrackingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditTimeTrackingResponse, error)
EditTimeTrackingWithBodyWithResponse request with arbitrary body returning *EditTimeTrackingResponse
func (*ClientWithResponses) EditTimeTrackingWithResponse ¶
func (c *ClientWithResponses) EditTimeTrackingWithResponse(ctx context.Context, body EditTimeTrackingJSONRequestBody, reqEditors ...RequestEditorFn) (*EditTimeTrackingResponse, error)
func (*ClientWithResponses) EditWorkReportWithBodyWithResponse ¶
func (c *ClientWithResponses) EditWorkReportWithBodyWithResponse(ctx context.Context, workReportId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditWorkReportResponse, error)
EditWorkReportWithBodyWithResponse request with arbitrary body returning *EditWorkReportResponse
func (*ClientWithResponses) EditWorkReportWithResponse ¶
func (c *ClientWithResponses) EditWorkReportWithResponse(ctx context.Context, workReportId int, body EditWorkReportJSONRequestBody, reqEditors ...RequestEditorFn) (*EditWorkReportResponse, error)
func (*ClientWithResponses) EnableOutOfOfficeWithBodyWithResponse ¶
func (c *ClientWithResponses) EnableOutOfOfficeWithBodyWithResponse(ctx context.Context, userId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnableOutOfOfficeResponse, error)
EnableOutOfOfficeWithBodyWithResponse request with arbitrary body returning *EnableOutOfOfficeResponse
func (*ClientWithResponses) EnableOutOfOfficeWithResponse ¶
func (c *ClientWithResponses) EnableOutOfOfficeWithResponse(ctx context.Context, userId int, body EnableOutOfOfficeJSONRequestBody, reqEditors ...RequestEditorFn) (*EnableOutOfOfficeResponse, error)
func (*ClientWithResponses) FindAvailableProjectLabelsWithResponse ¶
func (c *ClientWithResponses) FindAvailableProjectLabelsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*FindAvailableProjectLabelsResponse, error)
FindAvailableProjectLabelsWithResponse request returning *FindAvailableProjectLabelsResponse
func (*ClientWithResponses) FindAvailableTaskLabelsWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) FindAvailableTaskLabelsWithResponse(ctx context.Context, params *FindAvailableTaskLabelsParams, reqEditors ...RequestEditorFn) (*FindAvailableTaskLabelsResponse, error)
FindAvailableTaskLabelsWithResponse request returning *FindAvailableTaskLabelsResponse
func (*ClientWithResponses) FindCustomFieldsByProjectWithResponse ¶
func (c *ClientWithResponses) FindCustomFieldsByProjectWithResponse(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*FindCustomFieldsByProjectResponse, error)
FindCustomFieldsByProjectWithResponse request returning *FindCustomFieldsByProjectResponse
func (*ClientWithResponses) FindTaskRelationsBulkWithBodyWithResponse ¶
func (c *ClientWithResponses) FindTaskRelationsBulkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FindTaskRelationsBulkResponse, error)
FindTaskRelationsBulkWithBodyWithResponse request with arbitrary body returning *FindTaskRelationsBulkResponse
func (*ClientWithResponses) FindTaskRelationsBulkWithResponse ¶
func (c *ClientWithResponses) FindTaskRelationsBulkWithResponse(ctx context.Context, body FindTaskRelationsBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*FindTaskRelationsBulkResponse, error)
func (*ClientWithResponses) FinishTaskWithBodyWithResponse ¶ added in v0.3.1
func (c *ClientWithResponses) FinishTaskWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FinishTaskResponse, error)
FinishTaskWithBodyWithResponse request with arbitrary body returning *FinishTaskResponse
func (*ClientWithResponses) FinishTaskWithResponse ¶
func (c *ClientWithResponses) FinishTaskWithResponse(ctx context.Context, taskId TaskIdParam, body FinishTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*FinishTaskResponse, error)
func (*ClientWithResponses) FinishTaskcheckWithBodyWithResponse ¶ added in v0.3.1
func (c *ClientWithResponses) FinishTaskcheckWithBodyWithResponse(ctx context.Context, taskcheckId TaskcheckIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FinishTaskcheckResponse, error)
FinishTaskcheckWithBodyWithResponse request with arbitrary body returning *FinishTaskcheckResponse
func (*ClientWithResponses) FinishTaskcheckWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) FinishTaskcheckWithResponse(ctx context.Context, taskcheckId TaskcheckIdParam, body FinishTaskcheckJSONRequestBody, reqEditors ...RequestEditorFn) (*FinishTaskcheckResponse, error)
func (*ClientWithResponses) ForceDeleteEnumOptionWithResponse ¶
func (c *ClientWithResponses) ForceDeleteEnumOptionWithResponse(ctx context.Context, customFieldEnumUuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*ForceDeleteEnumOptionResponse, error)
ForceDeleteEnumOptionWithResponse request returning *ForceDeleteEnumOptionResponse
func (*ClientWithResponses) GetAllCommentsWithResponse ¶
func (c *ClientWithResponses) GetAllCommentsWithResponse(ctx context.Context, params *GetAllCommentsParams, reqEditors ...RequestEditorFn) (*GetAllCommentsResponse, error)
GetAllCommentsWithResponse request returning *GetAllCommentsResponse
func (*ClientWithResponses) GetAllDocsAndFilesWithResponse ¶
func (c *ClientWithResponses) GetAllDocsAndFilesWithResponse(ctx context.Context, params *GetAllDocsAndFilesParams, reqEditors ...RequestEditorFn) (*GetAllDocsAndFilesResponse, error)
GetAllDocsAndFilesWithResponse request returning *GetAllDocsAndFilesResponse
func (*ClientWithResponses) GetAllEventsWithResponse ¶
func (c *ClientWithResponses) GetAllEventsWithResponse(ctx context.Context, params *GetAllEventsParams, reqEditors ...RequestEditorFn) (*GetAllEventsResponse, error)
GetAllEventsWithResponse request returning *GetAllEventsResponse
func (*ClientWithResponses) GetAllNotificationsWithResponse ¶
func (c *ClientWithResponses) GetAllNotificationsWithResponse(ctx context.Context, params *GetAllNotificationsParams, reqEditors ...RequestEditorFn) (*GetAllNotificationsResponse, error)
GetAllNotificationsWithResponse request returning *GetAllNotificationsResponse
func (*ClientWithResponses) GetAllProjectsWithResponse ¶
func (c *ClientWithResponses) GetAllProjectsWithResponse(ctx context.Context, params *GetAllProjectsParams, reqEditors ...RequestEditorFn) (*GetAllProjectsResponse, error)
GetAllProjectsWithResponse request returning *GetAllProjectsResponse
func (*ClientWithResponses) GetAllStatesWithResponse ¶
func (c *ClientWithResponses) GetAllStatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllStatesResponse, error)
GetAllStatesWithResponse request returning *GetAllStatesResponse
func (*ClientWithResponses) GetAllTasklistsWithResponse ¶
func (c *ClientWithResponses) GetAllTasklistsWithResponse(ctx context.Context, params *GetAllTasklistsParams, reqEditors ...RequestEditorFn) (*GetAllTasklistsResponse, error)
GetAllTasklistsWithResponse request returning *GetAllTasklistsResponse
func (*ClientWithResponses) GetAllTasksWithResponse ¶
func (c *ClientWithResponses) GetAllTasksWithResponse(ctx context.Context, params *GetAllTasksParams, reqEditors ...RequestEditorFn) (*GetAllTasksResponse, error)
GetAllTasksWithResponse request returning *GetAllTasksResponse
func (*ClientWithResponses) GetAllUsersWithResponse ¶
func (c *ClientWithResponses) GetAllUsersWithResponse(ctx context.Context, params *GetAllUsersParams, reqEditors ...RequestEditorFn) (*GetAllUsersResponse, error)
GetAllUsersWithResponse request returning *GetAllUsersResponse
func (*ClientWithResponses) GetArchivedProjectsWithResponse ¶
func (c *ClientWithResponses) GetArchivedProjectsWithResponse(ctx context.Context, params *GetArchivedProjectsParams, reqEditors ...RequestEditorFn) (*GetArchivedProjectsResponse, error)
GetArchivedProjectsWithResponse request returning *GetArchivedProjectsResponse
func (*ClientWithResponses) GetAssignableWorkersWithResponse ¶
func (c *ClientWithResponses) GetAssignableWorkersWithResponse(ctx context.Context, projectId ProjectIdParam, tasklistId TasklistIdParam, reqEditors ...RequestEditorFn) (*GetAssignableWorkersResponse, error)
GetAssignableWorkersWithResponse request returning *GetAssignableWorkersResponse
func (*ClientWithResponses) GetCustomFieldTypesWithResponse ¶
func (c *ClientWithResponses) GetCustomFieldTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCustomFieldTypesResponse, error)
GetCustomFieldTypesWithResponse request returning *GetCustomFieldTypesResponse
func (*ClientWithResponses) GetEnumOptionsForCustomFieldWithResponse ¶
func (c *ClientWithResponses) GetEnumOptionsForCustomFieldWithResponse(ctx context.Context, customFieldUuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetEnumOptionsForCustomFieldResponse, error)
GetEnumOptionsForCustomFieldWithResponse request returning *GetEnumOptionsForCustomFieldResponse
func (*ClientWithResponses) GetFinishedTasksWithResponse ¶
func (c *ClientWithResponses) GetFinishedTasksWithResponse(ctx context.Context, tasklistId TasklistIdParam, params *GetFinishedTasksParams, reqEditors ...RequestEditorFn) (*GetFinishedTasksResponse, error)
GetFinishedTasksWithResponse request returning *GetFinishedTasksResponse
func (*ClientWithResponses) GetInvitedProjectsWithResponse ¶
func (c *ClientWithResponses) GetInvitedProjectsWithResponse(ctx context.Context, params *GetInvitedProjectsParams, reqEditors ...RequestEditorFn) (*GetInvitedProjectsResponse, error)
GetInvitedProjectsWithResponse request returning *GetInvitedProjectsResponse
func (*ClientWithResponses) GetIssuedInvoiceDetailWithResponse ¶
func (c *ClientWithResponses) GetIssuedInvoiceDetailWithResponse(ctx context.Context, invoiceId int, reqEditors ...RequestEditorFn) (*GetIssuedInvoiceDetailResponse, error)
GetIssuedInvoiceDetailWithResponse request returning *GetIssuedInvoiceDetailResponse
func (*ClientWithResponses) GetIssuedInvoiceReportsJsonWithResponse ¶
func (c *ClientWithResponses) GetIssuedInvoiceReportsJsonWithResponse(ctx context.Context, invoiceId int, reqEditors ...RequestEditorFn) (*GetIssuedInvoiceReportsJsonResponse, error)
GetIssuedInvoiceReportsJsonWithResponse request returning *GetIssuedInvoiceReportsJsonResponse
func (*ClientWithResponses) GetIssuedInvoicesWithResponse ¶
func (c *ClientWithResponses) GetIssuedInvoicesWithResponse(ctx context.Context, params *GetIssuedInvoicesParams, reqEditors ...RequestEditorFn) (*GetIssuedInvoicesResponse, error)
GetIssuedInvoicesWithResponse request returning *GetIssuedInvoicesResponse
func (*ClientWithResponses) GetNoteWithResponse ¶
func (c *ClientWithResponses) GetNoteWithResponse(ctx context.Context, noteId NoteIdParam, reqEditors ...RequestEditorFn) (*GetNoteResponse, error)
GetNoteWithResponse request returning *GetNoteResponse
func (*ClientWithResponses) GetOutOfOfficeWithResponse ¶
func (c *ClientWithResponses) GetOutOfOfficeWithResponse(ctx context.Context, userId int, reqEditors ...RequestEditorFn) (*GetOutOfOfficeResponse, error)
GetOutOfOfficeWithResponse request returning *GetOutOfOfficeResponse
func (*ClientWithResponses) GetPinnedItemsWithResponse ¶
func (c *ClientWithResponses) GetPinnedItemsWithResponse(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*GetPinnedItemsResponse, error)
GetPinnedItemsWithResponse request returning *GetPinnedItemsResponse
func (*ClientWithResponses) GetProjectManagerOfWithResponse ¶
func (c *ClientWithResponses) GetProjectManagerOfWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetProjectManagerOfResponse, error)
GetProjectManagerOfWithResponse request returning *GetProjectManagerOfResponse
func (*ClientWithResponses) GetProjectWithResponse ¶
func (c *ClientWithResponses) GetProjectWithResponse(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)
GetProjectWithResponse request returning *GetProjectResponse
func (*ClientWithResponses) GetProjectWorkersWithResponse ¶
func (c *ClientWithResponses) GetProjectWorkersWithResponse(ctx context.Context, projectId ProjectIdParam, params *GetProjectWorkersParams, reqEditors ...RequestEditorFn) (*GetProjectWorkersResponse, error)
GetProjectWorkersWithResponse request returning *GetProjectWorkersResponse
func (*ClientWithResponses) GetProjectsWithResponse ¶
func (c *ClientWithResponses) GetProjectsWithResponse(ctx context.Context, params *GetProjectsParams, reqEditors ...RequestEditorFn) (*GetProjectsResponse, error)
GetProjectsWithResponse request returning *GetProjectsResponse
func (*ClientWithResponses) GetPublicLinkToTaskWithResponse ¶
func (c *ClientWithResponses) GetPublicLinkToTaskWithResponse(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*GetPublicLinkToTaskResponse, error)
GetPublicLinkToTaskWithResponse request returning *GetPublicLinkToTaskResponse
func (*ClientWithResponses) GetSubtasksInTaskWithResponse ¶
func (c *ClientWithResponses) GetSubtasksInTaskWithResponse(ctx context.Context, taskId TaskIdParam, params *GetSubtasksInTaskParams, reqEditors ...RequestEditorFn) (*GetSubtasksInTaskResponse, error)
GetSubtasksInTaskWithResponse request returning *GetSubtasksInTaskResponse
func (*ClientWithResponses) GetTaskDescriptionWithResponse ¶
func (c *ClientWithResponses) GetTaskDescriptionWithResponse(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*GetTaskDescriptionResponse, error)
GetTaskDescriptionWithResponse request returning *GetTaskDescriptionResponse
func (*ClientWithResponses) GetTaskLabelColorsWithResponse ¶ added in v0.2.1
func (c *ClientWithResponses) GetTaskLabelColorsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTaskLabelColorsResponse, error)
GetTaskLabelColorsWithResponse request returning *GetTaskLabelColorsResponse
func (*ClientWithResponses) GetTaskRelationsWithResponse ¶
func (c *ClientWithResponses) GetTaskRelationsWithResponse(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*GetTaskRelationsResponse, error)
GetTaskRelationsWithResponse request returning *GetTaskRelationsResponse
func (*ClientWithResponses) GetTaskWithResponse ¶
func (c *ClientWithResponses) GetTaskWithResponse(ctx context.Context, taskId TaskIdParam, params *GetTaskParams, reqEditors ...RequestEditorFn) (*GetTaskResponse, error)
GetTaskWithResponse request returning *GetTaskResponse
func (*ClientWithResponses) GetTasklistWithResponse ¶
func (c *ClientWithResponses) GetTasklistWithResponse(ctx context.Context, tasklistId TasklistIdParam, reqEditors ...RequestEditorFn) (*GetTasklistResponse, error)
GetTasklistWithResponse request returning *GetTasklistResponse
func (*ClientWithResponses) GetTasksInTasklistWithResponse ¶
func (c *ClientWithResponses) GetTasksInTasklistWithResponse(ctx context.Context, projectId ProjectIdParam, tasklistId TasklistIdParam, params *GetTasksInTasklistParams, reqEditors ...RequestEditorFn) (*GetTasksInTasklistResponse, error)
GetTasksInTasklistWithResponse request returning *GetTasksInTasklistResponse
func (*ClientWithResponses) GetTemplateProjectsWithResponse ¶
func (c *ClientWithResponses) GetTemplateProjectsWithResponse(ctx context.Context, params *GetTemplateProjectsParams, reqEditors ...RequestEditorFn) (*GetTemplateProjectsResponse, error)
GetTemplateProjectsWithResponse request returning *GetTemplateProjectsResponse
func (*ClientWithResponses) GetTimeTrackingStatusWithResponse ¶
func (c *ClientWithResponses) GetTimeTrackingStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTimeTrackingStatusResponse, error)
GetTimeTrackingStatusWithResponse request returning *GetTimeTrackingStatusResponse
func (*ClientWithResponses) GetUserProjectsWithResponse ¶
func (c *ClientWithResponses) GetUserProjectsWithResponse(ctx context.Context, userId int, params *GetUserProjectsParams, reqEditors ...RequestEditorFn) (*GetUserProjectsResponse, error)
GetUserProjectsWithResponse request returning *GetUserProjectsResponse
func (*ClientWithResponses) GetUsersMeWithResponse ¶
func (c *ClientWithResponses) GetUsersMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUsersMeResponse, error)
GetUsersMeWithResponse request returning *GetUsersMeResponse
func (*ClientWithResponses) GetWorkReportsWithResponse ¶
func (c *ClientWithResponses) GetWorkReportsWithResponse(ctx context.Context, params *GetWorkReportsParams, reqEditors ...RequestEditorFn) (*GetWorkReportsResponse, error)
GetWorkReportsWithResponse request returning *GetWorkReportsResponse
func (*ClientWithResponses) InviteUsersToProjectsWithBodyWithResponse ¶
func (c *ClientWithResponses) InviteUsersToProjectsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InviteUsersToProjectsResponse, error)
InviteUsersToProjectsWithBodyWithResponse request with arbitrary body returning *InviteUsersToProjectsResponse
func (*ClientWithResponses) InviteUsersToProjectsWithResponse ¶
func (c *ClientWithResponses) InviteUsersToProjectsWithResponse(ctx context.Context, body InviteUsersToProjectsJSONRequestBody, reqEditors ...RequestEditorFn) (*InviteUsersToProjectsResponse, error)
func (*ClientWithResponses) MarkAsInvoicedWithBodyWithResponse ¶
func (c *ClientWithResponses) MarkAsInvoicedWithBodyWithResponse(ctx context.Context, invoiceId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MarkAsInvoicedResponse, error)
MarkAsInvoicedWithBodyWithResponse request with arbitrary body returning *MarkAsInvoicedResponse
func (*ClientWithResponses) MarkAsInvoicedWithResponse ¶
func (c *ClientWithResponses) MarkAsInvoicedWithResponse(ctx context.Context, invoiceId int, body MarkAsInvoicedJSONRequestBody, reqEditors ...RequestEditorFn) (*MarkAsInvoicedResponse, error)
func (*ClientWithResponses) MarkNotificationAsReadWithResponse ¶
func (c *ClientWithResponses) MarkNotificationAsReadWithResponse(ctx context.Context, notificationId int, reqEditors ...RequestEditorFn) (*MarkNotificationAsReadResponse, error)
MarkNotificationAsReadWithResponse request returning *MarkNotificationAsReadResponse
func (*ClientWithResponses) MarkNotificationAsUnreadWithResponse ¶
func (c *ClientWithResponses) MarkNotificationAsUnreadWithResponse(ctx context.Context, notificationId int, reqEditors ...RequestEditorFn) (*MarkNotificationAsUnreadResponse, error)
MarkNotificationAsUnreadWithResponse request returning *MarkNotificationAsUnreadResponse
func (*ClientWithResponses) MergeTaskLabelsWithBodyWithResponse ¶ added in v0.3.1
func (c *ClientWithResponses) MergeTaskLabelsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MergeTaskLabelsResponse, error)
MergeTaskLabelsWithBodyWithResponse request with arbitrary body returning *MergeTaskLabelsResponse
func (*ClientWithResponses) MergeTaskLabelsWithResponse ¶ added in v0.3.1
func (c *ClientWithResponses) MergeTaskLabelsWithResponse(ctx context.Context, body MergeTaskLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*MergeTaskLabelsResponse, error)
func (*ClientWithResponses) MoveTaskWithBodyWithResponse ¶
func (c *ClientWithResponses) MoveTaskWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, tasklistId TasklistIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MoveTaskResponse, error)
MoveTaskWithBodyWithResponse request with arbitrary body returning *MoveTaskResponse
func (*ClientWithResponses) MoveTaskWithResponse ¶
func (c *ClientWithResponses) MoveTaskWithResponse(ctx context.Context, taskId TaskIdParam, tasklistId TasklistIdParam, body MoveTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*MoveTaskResponse, error)
func (*ClientWithResponses) PinItemToProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) PinItemToProjectWithBodyWithResponse(ctx context.Context, projectId ProjectIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PinItemToProjectResponse, error)
PinItemToProjectWithBodyWithResponse request with arbitrary body returning *PinItemToProjectResponse
func (*ClientWithResponses) PinItemToProjectWithResponse ¶
func (c *ClientWithResponses) PinItemToProjectWithResponse(ctx context.Context, projectId ProjectIdParam, body PinItemToProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*PinItemToProjectResponse, error)
func (*ClientWithResponses) RemoveProjectLabelFromProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) RemoveProjectLabelFromProjectWithBodyWithResponse(ctx context.Context, projectId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveProjectLabelFromProjectResponse, error)
RemoveProjectLabelFromProjectWithBodyWithResponse request with arbitrary body returning *RemoveProjectLabelFromProjectResponse
func (*ClientWithResponses) RemoveProjectLabelFromProjectWithResponse ¶
func (c *ClientWithResponses) RemoveProjectLabelFromProjectWithResponse(ctx context.Context, projectId int, body RemoveProjectLabelFromProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveProjectLabelFromProjectResponse, error)
func (*ClientWithResponses) RemoveProjectWorkersByEmailsWithBodyWithResponse ¶
func (c *ClientWithResponses) RemoveProjectWorkersByEmailsWithBodyWithResponse(ctx context.Context, projectId ProjectIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveProjectWorkersByEmailsResponse, error)
RemoveProjectWorkersByEmailsWithBodyWithResponse request with arbitrary body returning *RemoveProjectWorkersByEmailsResponse
func (*ClientWithResponses) RemoveProjectWorkersByEmailsWithResponse ¶
func (c *ClientWithResponses) RemoveProjectWorkersByEmailsWithResponse(ctx context.Context, projectId ProjectIdParam, body RemoveProjectWorkersByEmailsJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveProjectWorkersByEmailsResponse, error)
func (*ClientWithResponses) RemoveProjectWorkersByIdsWithBodyWithResponse ¶
func (c *ClientWithResponses) RemoveProjectWorkersByIdsWithBodyWithResponse(ctx context.Context, projectId ProjectIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveProjectWorkersByIdsResponse, error)
RemoveProjectWorkersByIdsWithBodyWithResponse request with arbitrary body returning *RemoveProjectWorkersByIdsResponse
func (*ClientWithResponses) RemoveProjectWorkersByIdsWithResponse ¶
func (c *ClientWithResponses) RemoveProjectWorkersByIdsWithResponse(ctx context.Context, projectId ProjectIdParam, body RemoveProjectWorkersByIdsJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveProjectWorkersByIdsResponse, error)
func (*ClientWithResponses) RemoveTaskFromProjectWithResponse ¶
func (c *ClientWithResponses) RemoveTaskFromProjectWithResponse(ctx context.Context, taskId TaskIdParam, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*RemoveTaskFromProjectResponse, error)
RemoveTaskFromProjectWithResponse request returning *RemoveTaskFromProjectResponse
func (*ClientWithResponses) RemoveTaskLabelsFromTaskWithBodyWithResponse ¶
func (c *ClientWithResponses) RemoveTaskLabelsFromTaskWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveTaskLabelsFromTaskResponse, error)
RemoveTaskLabelsFromTaskWithBodyWithResponse request with arbitrary body returning *RemoveTaskLabelsFromTaskResponse
func (*ClientWithResponses) RemoveTaskLabelsFromTaskWithResponse ¶
func (c *ClientWithResponses) RemoveTaskLabelsFromTaskWithResponse(ctx context.Context, taskId TaskIdParam, body RemoveTaskLabelsFromTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveTaskLabelsFromTaskResponse, error)
func (*ClientWithResponses) RenameCustomFieldWithBodyWithResponse ¶
func (c *ClientWithResponses) RenameCustomFieldWithBodyWithResponse(ctx context.Context, uuid openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameCustomFieldResponse, error)
RenameCustomFieldWithBodyWithResponse request with arbitrary body returning *RenameCustomFieldResponse
func (*ClientWithResponses) RenameCustomFieldWithResponse ¶
func (c *ClientWithResponses) RenameCustomFieldWithResponse(ctx context.Context, uuid openapi_types.UUID, body RenameCustomFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameCustomFieldResponse, error)
func (*ClientWithResponses) RestoreCustomFieldWithResponse ¶
func (c *ClientWithResponses) RestoreCustomFieldWithResponse(ctx context.Context, uuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*RestoreCustomFieldResponse, error)
RestoreCustomFieldWithResponse request returning *RestoreCustomFieldResponse
func (*ClientWithResponses) SearchWithBodyWithResponse ¶
func (c *ClientWithResponses) SearchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchResponse, error)
SearchWithBodyWithResponse request with arbitrary body returning *SearchResponse
func (*ClientWithResponses) SearchWithResponse ¶
func (c *ClientWithResponses) SearchWithResponse(ctx context.Context, body SearchJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchResponse, error)
func (*ClientWithResponses) SetTotalTimeEstimateWithBodyWithResponse ¶
func (c *ClientWithResponses) SetTotalTimeEstimateWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetTotalTimeEstimateResponse, error)
SetTotalTimeEstimateWithBodyWithResponse request with arbitrary body returning *SetTotalTimeEstimateResponse
func (*ClientWithResponses) SetTotalTimeEstimateWithResponse ¶
func (c *ClientWithResponses) SetTotalTimeEstimateWithResponse(ctx context.Context, taskId TaskIdParam, body SetTotalTimeEstimateJSONRequestBody, reqEditors ...RequestEditorFn) (*SetTotalTimeEstimateResponse, error)
func (*ClientWithResponses) SetUserTimeEstimateWithBodyWithResponse ¶
func (c *ClientWithResponses) SetUserTimeEstimateWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, userId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetUserTimeEstimateResponse, error)
SetUserTimeEstimateWithBodyWithResponse request with arbitrary body returning *SetUserTimeEstimateResponse
func (*ClientWithResponses) SetUserTimeEstimateWithResponse ¶
func (c *ClientWithResponses) SetUserTimeEstimateWithResponse(ctx context.Context, taskId TaskIdParam, userId int, body SetUserTimeEstimateJSONRequestBody, reqEditors ...RequestEditorFn) (*SetUserTimeEstimateResponse, error)
func (*ClientWithResponses) StartTimeTrackingWithBodyWithResponse ¶
func (c *ClientWithResponses) StartTimeTrackingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartTimeTrackingResponse, error)
StartTimeTrackingWithBodyWithResponse request with arbitrary body returning *StartTimeTrackingResponse
func (*ClientWithResponses) StartTimeTrackingWithResponse ¶
func (c *ClientWithResponses) StartTimeTrackingWithResponse(ctx context.Context, body StartTimeTrackingJSONRequestBody, reqEditors ...RequestEditorFn) (*StartTimeTrackingResponse, error)
func (*ClientWithResponses) StopTimeTrackingWithResponse ¶
func (c *ClientWithResponses) StopTimeTrackingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*StopTimeTrackingResponse, error)
StopTimeTrackingWithResponse request returning *StopTimeTrackingResponse
func (*ClientWithResponses) UploadFileWithBodyWithResponse ¶
func (c *ClientWithResponses) UploadFileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadFileResponse, error)
UploadFileWithBodyWithResponse request with arbitrary body returning *UploadFileResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetAllCommentsWithResponse request
GetAllCommentsWithResponse(ctx context.Context, params *GetAllCommentsParams, reqEditors ...RequestEditorFn) (*GetAllCommentsResponse, error)
// GetAllDocsAndFilesWithResponse request
GetAllDocsAndFilesWithResponse(ctx context.Context, params *GetAllDocsAndFilesParams, reqEditors ...RequestEditorFn) (*GetAllDocsAndFilesResponse, error)
// GetAllNotificationsWithResponse request
GetAllNotificationsWithResponse(ctx context.Context, params *GetAllNotificationsParams, reqEditors ...RequestEditorFn) (*GetAllNotificationsResponse, error)
// GetAllProjectsWithResponse request
GetAllProjectsWithResponse(ctx context.Context, params *GetAllProjectsParams, reqEditors ...RequestEditorFn) (*GetAllProjectsResponse, error)
// GetAllTasklistsWithResponse request
GetAllTasklistsWithResponse(ctx context.Context, params *GetAllTasklistsParams, reqEditors ...RequestEditorFn) (*GetAllTasklistsResponse, error)
// GetAllTasksWithResponse request
GetAllTasksWithResponse(ctx context.Context, params *GetAllTasksParams, reqEditors ...RequestEditorFn) (*GetAllTasksResponse, error)
// GetArchivedProjectsWithResponse request
GetArchivedProjectsWithResponse(ctx context.Context, params *GetArchivedProjectsParams, reqEditors ...RequestEditorFn) (*GetArchivedProjectsResponse, error)
// DeleteCommentWithResponse request
DeleteCommentWithResponse(ctx context.Context, commentId int, reqEditors ...RequestEditorFn) (*DeleteCommentResponse, error)
// EditCommentWithBodyWithResponse request with any body
EditCommentWithBodyWithResponse(ctx context.Context, commentId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditCommentResponse, error)
EditCommentWithResponse(ctx context.Context, commentId int, body EditCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*EditCommentResponse, error)
// EditEnumOptionWithBodyWithResponse request with any body
EditEnumOptionWithBodyWithResponse(ctx context.Context, customFieldEnumUuid openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditEnumOptionResponse, error)
EditEnumOptionWithResponse(ctx context.Context, customFieldEnumUuid openapi_types.UUID, body EditEnumOptionJSONRequestBody, reqEditors ...RequestEditorFn) (*EditEnumOptionResponse, error)
// CreateEnumOptionWithBodyWithResponse request with any body
CreateEnumOptionWithBodyWithResponse(ctx context.Context, customFieldUuid openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEnumOptionResponse, error)
CreateEnumOptionWithResponse(ctx context.Context, customFieldUuid openapi_types.UUID, body CreateEnumOptionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEnumOptionResponse, error)
// DeleteEnumOptionWithResponse request
DeleteEnumOptionWithResponse(ctx context.Context, customFieldEnumUuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteEnumOptionResponse, error)
// ForceDeleteEnumOptionWithResponse request
ForceDeleteEnumOptionWithResponse(ctx context.Context, customFieldEnumUuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*ForceDeleteEnumOptionResponse, error)
// GetEnumOptionsForCustomFieldWithResponse request
GetEnumOptionsForCustomFieldWithResponse(ctx context.Context, customFieldUuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetEnumOptionsForCustomFieldResponse, error)
// AddOrEditEnumValueWithBodyWithResponse request with any body
AddOrEditEnumValueWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddOrEditEnumValueResponse, error)
AddOrEditEnumValueWithResponse(ctx context.Context, body AddOrEditEnumValueJSONRequestBody, reqEditors ...RequestEditorFn) (*AddOrEditEnumValueResponse, error)
// AddOrEditCustomFieldValueWithBodyWithResponse request with any body
AddOrEditCustomFieldValueWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddOrEditCustomFieldValueResponse, error)
AddOrEditCustomFieldValueWithResponse(ctx context.Context, body AddOrEditCustomFieldValueJSONRequestBody, reqEditors ...RequestEditorFn) (*AddOrEditCustomFieldValueResponse, error)
// CreateCustomFieldWithBodyWithResponse request with any body
CreateCustomFieldWithBodyWithResponse(ctx context.Context, projectId ProjectIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCustomFieldResponse, error)
CreateCustomFieldWithResponse(ctx context.Context, projectId ProjectIdParam, body CreateCustomFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCustomFieldResponse, error)
// DeleteCustomFieldValueWithResponse request
DeleteCustomFieldValueWithResponse(ctx context.Context, uuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteCustomFieldValueResponse, error)
// DeleteCustomFieldWithResponse request
DeleteCustomFieldWithResponse(ctx context.Context, uuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteCustomFieldResponse, error)
// FindCustomFieldsByProjectWithResponse request
FindCustomFieldsByProjectWithResponse(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*FindCustomFieldsByProjectResponse, error)
// GetCustomFieldTypesWithResponse request
GetCustomFieldTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCustomFieldTypesResponse, error)
// RenameCustomFieldWithBodyWithResponse request with any body
RenameCustomFieldWithBodyWithResponse(ctx context.Context, uuid openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameCustomFieldResponse, error)
RenameCustomFieldWithResponse(ctx context.Context, uuid openapi_types.UUID, body RenameCustomFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameCustomFieldResponse, error)
// RestoreCustomFieldWithResponse request
RestoreCustomFieldWithResponse(ctx context.Context, uuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*RestoreCustomFieldResponse, error)
// GetAllEventsWithResponse request
GetAllEventsWithResponse(ctx context.Context, params *GetAllEventsParams, reqEditors ...RequestEditorFn) (*GetAllEventsResponse, error)
// UploadFileWithBodyWithResponse request with any body
UploadFileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadFileResponse, error)
// DeleteDocOrFileByUuidWithResponse request
DeleteDocOrFileByUuidWithResponse(ctx context.Context, fileUuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteDocOrFileByUuidResponse, error)
// DownloadFileWithResponse request
DownloadFileWithResponse(ctx context.Context, fileUuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*DownloadFileResponse, error)
// GetInvitedProjectsWithResponse request
GetInvitedProjectsWithResponse(ctx context.Context, params *GetInvitedProjectsParams, reqEditors ...RequestEditorFn) (*GetInvitedProjectsResponse, error)
// GetIssuedInvoiceDetailWithResponse request
GetIssuedInvoiceDetailWithResponse(ctx context.Context, invoiceId int, reqEditors ...RequestEditorFn) (*GetIssuedInvoiceDetailResponse, error)
// MarkAsInvoicedWithBodyWithResponse request with any body
MarkAsInvoicedWithBodyWithResponse(ctx context.Context, invoiceId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MarkAsInvoicedResponse, error)
MarkAsInvoicedWithResponse(ctx context.Context, invoiceId int, body MarkAsInvoicedJSONRequestBody, reqEditors ...RequestEditorFn) (*MarkAsInvoicedResponse, error)
// DownloadIssuedInvoiceReportsWithResponse request
DownloadIssuedInvoiceReportsWithResponse(ctx context.Context, invoiceId int, reqEditors ...RequestEditorFn) (*DownloadIssuedInvoiceReportsResponse, error)
// GetIssuedInvoiceReportsJsonWithResponse request
GetIssuedInvoiceReportsJsonWithResponse(ctx context.Context, invoiceId int, reqEditors ...RequestEditorFn) (*GetIssuedInvoiceReportsJsonResponse, error)
// GetIssuedInvoicesWithResponse request
GetIssuedInvoicesWithResponse(ctx context.Context, params *GetIssuedInvoicesParams, reqEditors ...RequestEditorFn) (*GetIssuedInvoicesResponse, error)
// DeleteNoteWithResponse request
DeleteNoteWithResponse(ctx context.Context, noteId NoteIdParam, reqEditors ...RequestEditorFn) (*DeleteNoteResponse, error)
// GetNoteWithResponse request
GetNoteWithResponse(ctx context.Context, noteId NoteIdParam, reqEditors ...RequestEditorFn) (*GetNoteResponse, error)
// EditNoteWithBodyWithResponse request with any body
EditNoteWithBodyWithResponse(ctx context.Context, noteId NoteIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditNoteResponse, error)
EditNoteWithResponse(ctx context.Context, noteId NoteIdParam, body EditNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*EditNoteResponse, error)
// MarkNotificationAsReadWithResponse request
MarkNotificationAsReadWithResponse(ctx context.Context, notificationId int, reqEditors ...RequestEditorFn) (*MarkNotificationAsReadResponse, error)
// MarkNotificationAsUnreadWithResponse request
MarkNotificationAsUnreadWithResponse(ctx context.Context, notificationId int, reqEditors ...RequestEditorFn) (*MarkNotificationAsUnreadResponse, error)
// DeletePinnedItemWithResponse request
DeletePinnedItemWithResponse(ctx context.Context, pinnedItemId int, reqEditors ...RequestEditorFn) (*DeletePinnedItemResponse, error)
// AddProjectLabelToProjectWithBodyWithResponse request with any body
AddProjectLabelToProjectWithBodyWithResponse(ctx context.Context, projectId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddProjectLabelToProjectResponse, error)
AddProjectLabelToProjectWithResponse(ctx context.Context, projectId int, body AddProjectLabelToProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*AddProjectLabelToProjectResponse, error)
// FindAvailableProjectLabelsWithResponse request
FindAvailableProjectLabelsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*FindAvailableProjectLabelsResponse, error)
// RemoveProjectLabelFromProjectWithBodyWithResponse request with any body
RemoveProjectLabelFromProjectWithBodyWithResponse(ctx context.Context, projectId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveProjectLabelFromProjectResponse, error)
RemoveProjectLabelFromProjectWithResponse(ctx context.Context, projectId int, body RemoveProjectLabelFromProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveProjectLabelFromProjectResponse, error)
// DeleteProjectLabelWithResponse request
DeleteProjectLabelWithResponse(ctx context.Context, labelId int, reqEditors ...RequestEditorFn) (*DeleteProjectLabelResponse, error)
// EditProjectLabelWithBodyWithResponse request with any body
EditProjectLabelWithBodyWithResponse(ctx context.Context, labelId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditProjectLabelResponse, error)
EditProjectLabelWithResponse(ctx context.Context, labelId int, body EditProjectLabelJSONRequestBody, reqEditors ...RequestEditorFn) (*EditProjectLabelResponse, error)
// CreateProjectFromTemplateWithBodyWithResponse request with any body
CreateProjectFromTemplateWithBodyWithResponse(ctx context.Context, templateId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectFromTemplateResponse, error)
CreateProjectFromTemplateWithResponse(ctx context.Context, templateId int, body CreateProjectFromTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectFromTemplateResponse, error)
// DeleteProjectWithResponse request
DeleteProjectWithResponse(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)
// GetProjectWithResponse request
GetProjectWithResponse(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)
// ActivateProjectWithResponse request
ActivateProjectWithResponse(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*ActivateProjectResponse, error)
// ArchiveProjectWithResponse request
ArchiveProjectWithResponse(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*ArchiveProjectResponse, error)
// CreateNoteWithBodyWithResponse request with any body
CreateNoteWithBodyWithResponse(ctx context.Context, projectId ProjectIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateNoteResponse, error)
CreateNoteWithResponse(ctx context.Context, projectId ProjectIdParam, body CreateNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateNoteResponse, error)
// GetPinnedItemsWithResponse request
GetPinnedItemsWithResponse(ctx context.Context, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*GetPinnedItemsResponse, error)
// PinItemToProjectWithBodyWithResponse request with any body
PinItemToProjectWithBodyWithResponse(ctx context.Context, projectId ProjectIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PinItemToProjectResponse, error)
PinItemToProjectWithResponse(ctx context.Context, projectId ProjectIdParam, body PinItemToProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*PinItemToProjectResponse, error)
// RemoveProjectWorkersByEmailsWithBodyWithResponse request with any body
RemoveProjectWorkersByEmailsWithBodyWithResponse(ctx context.Context, projectId ProjectIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveProjectWorkersByEmailsResponse, error)
RemoveProjectWorkersByEmailsWithResponse(ctx context.Context, projectId ProjectIdParam, body RemoveProjectWorkersByEmailsJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveProjectWorkersByEmailsResponse, error)
// RemoveProjectWorkersByIdsWithBodyWithResponse request with any body
RemoveProjectWorkersByIdsWithBodyWithResponse(ctx context.Context, projectId ProjectIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveProjectWorkersByIdsResponse, error)
RemoveProjectWorkersByIdsWithResponse(ctx context.Context, projectId ProjectIdParam, body RemoveProjectWorkersByIdsJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveProjectWorkersByIdsResponse, error)
// GetAssignableWorkersWithResponse request
GetAssignableWorkersWithResponse(ctx context.Context, projectId ProjectIdParam, tasklistId TasklistIdParam, reqEditors ...RequestEditorFn) (*GetAssignableWorkersResponse, error)
// GetTasksInTasklistWithResponse request
GetTasksInTasklistWithResponse(ctx context.Context, projectId ProjectIdParam, tasklistId TasklistIdParam, params *GetTasksInTasklistParams, reqEditors ...RequestEditorFn) (*GetTasksInTasklistResponse, error)
// CreateTaskWithBodyWithResponse request with any body
CreateTaskWithBodyWithResponse(ctx context.Context, projectId ProjectIdParam, tasklistId TasklistIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTaskResponse, error)
CreateTaskWithResponse(ctx context.Context, projectId ProjectIdParam, tasklistId TasklistIdParam, body CreateTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTaskResponse, error)
// CreateTasklistWithBodyWithResponse request with any body
CreateTasklistWithBodyWithResponse(ctx context.Context, projectId ProjectIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTasklistResponse, error)
CreateTasklistWithResponse(ctx context.Context, projectId ProjectIdParam, body CreateTasklistJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTasklistResponse, error)
// GetProjectWorkersWithResponse request
GetProjectWorkersWithResponse(ctx context.Context, projectId ProjectIdParam, params *GetProjectWorkersParams, reqEditors ...RequestEditorFn) (*GetProjectWorkersResponse, error)
// GetProjectsWithResponse request
GetProjectsWithResponse(ctx context.Context, params *GetProjectsParams, reqEditors ...RequestEditorFn) (*GetProjectsResponse, error)
// CreateProjectWithBodyWithResponse request with any body
CreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)
CreateProjectWithResponse(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)
// DeletePublicLinkToTaskWithResponse request
DeletePublicLinkToTaskWithResponse(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*DeletePublicLinkToTaskResponse, error)
// GetPublicLinkToTaskWithResponse request
GetPublicLinkToTaskWithResponse(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*GetPublicLinkToTaskResponse, error)
// SearchWithBodyWithResponse request with any body
SearchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchResponse, error)
SearchWithResponse(ctx context.Context, body SearchJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchResponse, error)
// GetAllStatesWithResponse request
GetAllStatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllStatesResponse, error)
// GetTaskLabelColorsWithResponse request
GetTaskLabelColorsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTaskLabelColorsResponse, error)
// CreateTaskLabelsWithBodyWithResponse request with any body
CreateTaskLabelsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTaskLabelsResponse, error)
CreateTaskLabelsWithResponse(ctx context.Context, body CreateTaskLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTaskLabelsResponse, error)
// AddTaskLabelsToTaskWithBodyWithResponse request with any body
AddTaskLabelsToTaskWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddTaskLabelsToTaskResponse, error)
AddTaskLabelsToTaskWithResponse(ctx context.Context, taskId TaskIdParam, body AddTaskLabelsToTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*AddTaskLabelsToTaskResponse, error)
// FindAvailableTaskLabelsWithResponse request
FindAvailableTaskLabelsWithResponse(ctx context.Context, params *FindAvailableTaskLabelsParams, reqEditors ...RequestEditorFn) (*FindAvailableTaskLabelsResponse, error)
// MergeTaskLabelsWithBodyWithResponse request with any body
MergeTaskLabelsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MergeTaskLabelsResponse, error)
MergeTaskLabelsWithResponse(ctx context.Context, body MergeTaskLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*MergeTaskLabelsResponse, error)
// RemoveTaskLabelsFromTaskWithBodyWithResponse request with any body
RemoveTaskLabelsFromTaskWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveTaskLabelsFromTaskResponse, error)
RemoveTaskLabelsFromTaskWithResponse(ctx context.Context, taskId TaskIdParam, body RemoveTaskLabelsFromTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveTaskLabelsFromTaskResponse, error)
// CreateTaskFromTemplateWithBodyWithResponse request with any body
CreateTaskFromTemplateWithBodyWithResponse(ctx context.Context, templateId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTaskFromTemplateResponse, error)
CreateTaskFromTemplateWithResponse(ctx context.Context, templateId int, body CreateTaskFromTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTaskFromTemplateResponse, error)
// DeleteTaskWithResponse request
DeleteTaskWithResponse(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*DeleteTaskResponse, error)
// GetTaskWithResponse request
GetTaskWithResponse(ctx context.Context, taskId TaskIdParam, params *GetTaskParams, reqEditors ...RequestEditorFn) (*GetTaskResponse, error)
// EditTaskWithBodyWithResponse request with any body
EditTaskWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditTaskResponse, error)
EditTaskWithResponse(ctx context.Context, taskId TaskIdParam, body EditTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*EditTaskResponse, error)
// ActivateTaskWithBodyWithResponse request with any body
ActivateTaskWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActivateTaskResponse, error)
ActivateTaskWithResponse(ctx context.Context, taskId TaskIdParam, body ActivateTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*ActivateTaskResponse, error)
// CreateCommentWithBodyWithResponse request with any body
CreateCommentWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCommentResponse, error)
CreateCommentWithResponse(ctx context.Context, taskId TaskIdParam, body CreateCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCommentResponse, error)
// GetTaskDescriptionWithResponse request
GetTaskDescriptionWithResponse(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*GetTaskDescriptionResponse, error)
// EditTaskDescriptionWithBodyWithResponse request with any body
EditTaskDescriptionWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditTaskDescriptionResponse, error)
EditTaskDescriptionWithResponse(ctx context.Context, taskId TaskIdParam, body EditTaskDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*EditTaskDescriptionResponse, error)
// FinishTaskWithBodyWithResponse request with any body
FinishTaskWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FinishTaskResponse, error)
FinishTaskWithResponse(ctx context.Context, taskId TaskIdParam, body FinishTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*FinishTaskResponse, error)
// MoveTaskWithBodyWithResponse request with any body
MoveTaskWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, tasklistId TasklistIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MoveTaskResponse, error)
MoveTaskWithResponse(ctx context.Context, taskId TaskIdParam, tasklistId TasklistIdParam, body MoveTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*MoveTaskResponse, error)
// AssignTaskToProjectWithBodyWithResponse request with any body
AssignTaskToProjectWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AssignTaskToProjectResponse, error)
AssignTaskToProjectWithResponse(ctx context.Context, taskId TaskIdParam, body AssignTaskToProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*AssignTaskToProjectResponse, error)
// RemoveTaskFromProjectWithResponse request
RemoveTaskFromProjectWithResponse(ctx context.Context, taskId TaskIdParam, projectId ProjectIdParam, reqEditors ...RequestEditorFn) (*RemoveTaskFromProjectResponse, error)
// GetTaskRelationsWithResponse request
GetTaskRelationsWithResponse(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*GetTaskRelationsResponse, error)
// DeleteTaskReminderWithResponse request
DeleteTaskReminderWithResponse(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*DeleteTaskReminderResponse, error)
// CreateTaskReminderWithBodyWithResponse request with any body
CreateTaskReminderWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTaskReminderResponse, error)
CreateTaskReminderWithResponse(ctx context.Context, taskId TaskIdParam, body CreateTaskReminderJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTaskReminderResponse, error)
// GetSubtasksInTaskWithResponse request
GetSubtasksInTaskWithResponse(ctx context.Context, taskId TaskIdParam, params *GetSubtasksInTaskParams, reqEditors ...RequestEditorFn) (*GetSubtasksInTaskResponse, error)
// CreateSubtaskWithBodyWithResponse request with any body
CreateSubtaskWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSubtaskResponse, error)
CreateSubtaskWithResponse(ctx context.Context, taskId TaskIdParam, body CreateSubtaskJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSubtaskResponse, error)
// DeleteTotalTimeEstimateWithResponse request
DeleteTotalTimeEstimateWithResponse(ctx context.Context, taskId TaskIdParam, reqEditors ...RequestEditorFn) (*DeleteTotalTimeEstimateResponse, error)
// SetTotalTimeEstimateWithBodyWithResponse request with any body
SetTotalTimeEstimateWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetTotalTimeEstimateResponse, error)
SetTotalTimeEstimateWithResponse(ctx context.Context, taskId TaskIdParam, body SetTotalTimeEstimateJSONRequestBody, reqEditors ...RequestEditorFn) (*SetTotalTimeEstimateResponse, error)
// DeleteUserTimeEstimateWithResponse request
DeleteUserTimeEstimateWithResponse(ctx context.Context, taskId TaskIdParam, userId int, reqEditors ...RequestEditorFn) (*DeleteUserTimeEstimateResponse, error)
// SetUserTimeEstimateWithBodyWithResponse request with any body
SetUserTimeEstimateWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, userId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetUserTimeEstimateResponse, error)
SetUserTimeEstimateWithResponse(ctx context.Context, taskId TaskIdParam, userId int, body SetUserTimeEstimateJSONRequestBody, reqEditors ...RequestEditorFn) (*SetUserTimeEstimateResponse, error)
// CreateWorkReportWithBodyWithResponse request with any body
CreateWorkReportWithBodyWithResponse(ctx context.Context, taskId TaskIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkReportResponse, error)
CreateWorkReportWithResponse(ctx context.Context, taskId TaskIdParam, body CreateWorkReportJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWorkReportResponse, error)
// DeleteTaskcheckWithResponse request
DeleteTaskcheckWithResponse(ctx context.Context, taskcheckId TaskcheckIdParam, reqEditors ...RequestEditorFn) (*DeleteTaskcheckResponse, error)
// EditTaskcheckWithBodyWithResponse request with any body
EditTaskcheckWithBodyWithResponse(ctx context.Context, taskcheckId TaskcheckIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditTaskcheckResponse, error)
EditTaskcheckWithResponse(ctx context.Context, taskcheckId TaskcheckIdParam, body EditTaskcheckJSONRequestBody, reqEditors ...RequestEditorFn) (*EditTaskcheckResponse, error)
// ActivateTaskcheckWithResponse request
ActivateTaskcheckWithResponse(ctx context.Context, taskcheckId TaskcheckIdParam, reqEditors ...RequestEditorFn) (*ActivateTaskcheckResponse, error)
// FinishTaskcheckWithBodyWithResponse request with any body
FinishTaskcheckWithBodyWithResponse(ctx context.Context, taskcheckId TaskcheckIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FinishTaskcheckResponse, error)
FinishTaskcheckWithResponse(ctx context.Context, taskcheckId TaskcheckIdParam, body FinishTaskcheckJSONRequestBody, reqEditors ...RequestEditorFn) (*FinishTaskcheckResponse, error)
// CreateTasklistFromTemplateWithBodyWithResponse request with any body
CreateTasklistFromTemplateWithBodyWithResponse(ctx context.Context, templateId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTasklistFromTemplateResponse, error)
CreateTasklistFromTemplateWithResponse(ctx context.Context, templateId int, body CreateTasklistFromTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTasklistFromTemplateResponse, error)
// GetTasklistWithResponse request
GetTasklistWithResponse(ctx context.Context, tasklistId TasklistIdParam, reqEditors ...RequestEditorFn) (*GetTasklistResponse, error)
// EditTasklistWithBodyWithResponse request with any body
EditTasklistWithBodyWithResponse(ctx context.Context, tasklistId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditTasklistResponse, error)
EditTasklistWithResponse(ctx context.Context, tasklistId int, body EditTasklistJSONRequestBody, reqEditors ...RequestEditorFn) (*EditTasklistResponse, error)
// GetFinishedTasksWithResponse request
GetFinishedTasksWithResponse(ctx context.Context, tasklistId TasklistIdParam, params *GetFinishedTasksParams, reqEditors ...RequestEditorFn) (*GetFinishedTasksResponse, error)
// FindTaskRelationsBulkWithBodyWithResponse request with any body
FindTaskRelationsBulkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FindTaskRelationsBulkResponse, error)
FindTaskRelationsBulkWithResponse(ctx context.Context, body FindTaskRelationsBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*FindTaskRelationsBulkResponse, error)
// GetTemplateProjectsWithResponse request
GetTemplateProjectsWithResponse(ctx context.Context, params *GetTemplateProjectsParams, reqEditors ...RequestEditorFn) (*GetTemplateProjectsResponse, error)
// EditTimeTrackingWithBodyWithResponse request with any body
EditTimeTrackingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditTimeTrackingResponse, error)
EditTimeTrackingWithResponse(ctx context.Context, body EditTimeTrackingJSONRequestBody, reqEditors ...RequestEditorFn) (*EditTimeTrackingResponse, error)
// StartTimeTrackingWithBodyWithResponse request with any body
StartTimeTrackingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartTimeTrackingResponse, error)
StartTimeTrackingWithResponse(ctx context.Context, body StartTimeTrackingJSONRequestBody, reqEditors ...RequestEditorFn) (*StartTimeTrackingResponse, error)
// GetTimeTrackingStatusWithResponse request
GetTimeTrackingStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTimeTrackingStatusResponse, error)
// StopTimeTrackingWithResponse request
StopTimeTrackingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*StopTimeTrackingResponse, error)
// GetUserProjectsWithResponse request
GetUserProjectsWithResponse(ctx context.Context, userId int, params *GetUserProjectsParams, reqEditors ...RequestEditorFn) (*GetUserProjectsResponse, error)
// DisableOutOfOfficeWithResponse request
DisableOutOfOfficeWithResponse(ctx context.Context, userId int, reqEditors ...RequestEditorFn) (*DisableOutOfOfficeResponse, error)
// GetOutOfOfficeWithResponse request
GetOutOfOfficeWithResponse(ctx context.Context, userId int, reqEditors ...RequestEditorFn) (*GetOutOfOfficeResponse, error)
// EnableOutOfOfficeWithBodyWithResponse request with any body
EnableOutOfOfficeWithBodyWithResponse(ctx context.Context, userId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnableOutOfOfficeResponse, error)
EnableOutOfOfficeWithResponse(ctx context.Context, userId int, body EnableOutOfOfficeJSONRequestBody, reqEditors ...RequestEditorFn) (*EnableOutOfOfficeResponse, error)
// GetAllUsersWithResponse request
GetAllUsersWithResponse(ctx context.Context, params *GetAllUsersParams, reqEditors ...RequestEditorFn) (*GetAllUsersResponse, error)
// InviteUsersToProjectsWithBodyWithResponse request with any body
InviteUsersToProjectsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InviteUsersToProjectsResponse, error)
InviteUsersToProjectsWithResponse(ctx context.Context, body InviteUsersToProjectsJSONRequestBody, reqEditors ...RequestEditorFn) (*InviteUsersToProjectsResponse, error)
// GetUsersMeWithResponse request
GetUsersMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUsersMeResponse, error)
// GetProjectManagerOfWithResponse request
GetProjectManagerOfWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetProjectManagerOfResponse, error)
// GetWorkReportsWithResponse request
GetWorkReportsWithResponse(ctx context.Context, params *GetWorkReportsParams, reqEditors ...RequestEditorFn) (*GetWorkReportsResponse, error)
// DeleteWorkReportWithResponse request
DeleteWorkReportWithResponse(ctx context.Context, workReportId int, reqEditors ...RequestEditorFn) (*DeleteWorkReportResponse, error)
// EditWorkReportWithBodyWithResponse request with any body
EditWorkReportWithBodyWithResponse(ctx context.Context, workReportId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditWorkReportResponse, error)
EditWorkReportWithResponse(ctx context.Context, workReportId int, body EditWorkReportJSONRequestBody, reqEditors ...RequestEditorFn) (*EditWorkReportResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type Comment ¶
type Comment struct {
Content *string `json:"content,omitempty"`
// DateAdd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateAdd *freelotime.Time `json:"date_add,omitempty"`
Files *[]FileBasic `json:"files,omitempty"`
Id *int `json:"id,omitempty"`
}
Comment defines model for Comment.
type CommentFull ¶
type CommentFull struct {
Author *UserBasic `json:"author,omitempty"`
Content *string `json:"content,omitempty"`
// DateAdd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateAdd *freelotime.Time `json:"date_add,omitempty"`
// DateEditedAt Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateEditedAt *freelotime.Time `json:"date_edited_at,omitempty"`
Document *struct {
Name *string `json:"name,omitempty"`
Uuid *openapi_types.UUID `json:"uuid,omitempty"`
} `json:"document,omitempty"`
File *struct {
Uuid *openapi_types.UUID `json:"uuid,omitempty"`
} `json:"file,omitempty"`
Files *[]FileFull `json:"files,omitempty"`
Id *int `json:"id,omitempty"`
Link *struct {
Name *string `json:"name,omitempty"`
Uuid *openapi_types.UUID `json:"uuid,omitempty"`
} `json:"link,omitempty"`
Project *ProjectBasic `json:"project,omitempty"`
Task *struct {
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"task,omitempty"`
Tasklist *TasklistBasic `json:"tasklist,omitempty"`
Uuid *openapi_types.UUID `json:"uuid,omitempty"`
}
CommentFull defines model for CommentFull.
type CommentWithFiles ¶
type CommentWithFiles struct {
Author *UserBasic `json:"author,omitempty"`
CommentsReactions *[]UserBasic `json:"comments_reactions,omitempty"`
Content *string `json:"content,omitempty"`
// DateAdd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateAdd *freelotime.Time `json:"date_add,omitempty"`
Files *[]FileFull `json:"files,omitempty"`
Id *int `json:"id,omitempty"`
IsDescription *bool `json:"is_description,omitempty"`
}
CommentWithFiles defines model for CommentWithFiles.
type CreateCommentJSONBody ¶
type CreateCommentJSONBody struct {
// Content Comment body (HTML / plain text).
//
// **Inline file attachment:** embed an anchor to attach an uploaded file inside the body:
// `<a data-freelo-uuid="{file_uuid}" href="https://app.freelo.io/file/{file_uuid}">caption</a>`
// The UUID is extracted server-side and the file is attached automatically (do not also list it in `files`). The anchor stays in the stored content, so the file is rendered inside the comment on read.
//
// **Mention a user:** embed a span:
// `<span data-freelo-mention="1" data-freelo-user-id="{id}">@{mention_key}</span>`
// (`id` and `mention_key` come from the user's `UserBasic` object, e.g. `GET /users/me`).
Content string `json:"content"`
// Files Files to attach as plain attachments (not placed inline in the body). Alternative to embedding an anchor in `content` — use one mechanism per file, never both for the same UUID.
Files *[]FileUpload `json:"files,omitempty"`
// NotifyAuthor When true, the authenticated caller (the action author) is kept in the notification recipients even though they triggered the action. Useful for automations acting under your own token. Only takes effect if you are otherwise a subscriber/worker/tracking user of the target.
NotifyAuthor *bool `json:"notify_author,omitempty"`
}
CreateCommentJSONBody defines parameters for CreateComment.
type CreateCommentJSONRequestBody ¶
type CreateCommentJSONRequestBody CreateCommentJSONBody
CreateCommentJSONRequestBody defines body for CreateComment for application/json ContentType.
type CreateCommentResponse ¶
func ParseCreateCommentResponse ¶
func ParseCreateCommentResponse(rsp *http.Response) (*CreateCommentResponse, error)
ParseCreateCommentResponse parses an HTTP response from a CreateCommentWithResponse call
func (CreateCommentResponse) ContentType ¶ added in v0.2.0
func (r CreateCommentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateCommentResponse) Status ¶
func (r CreateCommentResponse) Status() string
Status returns HTTPResponse.Status
func (CreateCommentResponse) StatusCode ¶
func (r CreateCommentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateCustomFieldJSONBody ¶
type CreateCustomFieldJSONBody struct {
Name string `json:"name"`
// Type UUID of custom field type:
// - `2f7bfe3a-c950-470e-b910-95b4caf5dc4f` - text
// - `b1e56fa9-a97a-429b-8ab4-82bebe58933a` - number
// - `f9729a8f-d340-40e4-b2c0-dc46c37e18ce` - enum
Type openapi_types.UUID `json:"type"`
Uuid *openapi_types.UUID `json:"uuid,omitempty"`
}
CreateCustomFieldJSONBody defines parameters for CreateCustomField.
type CreateCustomFieldJSONRequestBody ¶
type CreateCustomFieldJSONRequestBody CreateCustomFieldJSONBody
CreateCustomFieldJSONRequestBody defines body for CreateCustomField for application/json ContentType.
type CreateCustomFieldResponse ¶
type CreateCustomFieldResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
CustomField *CustomField `json:"custom_field,omitempty"`
}
}
func ParseCreateCustomFieldResponse ¶
func ParseCreateCustomFieldResponse(rsp *http.Response) (*CreateCustomFieldResponse, error)
ParseCreateCustomFieldResponse parses an HTTP response from a CreateCustomFieldWithResponse call
func (CreateCustomFieldResponse) ContentType ¶ added in v0.2.0
func (r CreateCustomFieldResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateCustomFieldResponse) Status ¶
func (r CreateCustomFieldResponse) Status() string
Status returns HTTPResponse.Status
func (CreateCustomFieldResponse) StatusCode ¶
func (r CreateCustomFieldResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateEnumOptionJSONBody ¶
type CreateEnumOptionJSONBody struct {
Uuid *openapi_types.UUID `json:"uuid,omitempty"`
Value string `json:"value"`
}
CreateEnumOptionJSONBody defines parameters for CreateEnumOption.
type CreateEnumOptionJSONRequestBody ¶
type CreateEnumOptionJSONRequestBody CreateEnumOptionJSONBody
CreateEnumOptionJSONRequestBody defines body for CreateEnumOption for application/json ContentType.
type CreateEnumOptionResponse ¶
type CreateEnumOptionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
CustomFieldEnum *struct {
Uuid *openapi_types.UUID `json:"uuid,omitempty"`
Value *string `json:"value,omitempty"`
} `json:"custom_field_enum,omitempty"`
}
}
func ParseCreateEnumOptionResponse ¶
func ParseCreateEnumOptionResponse(rsp *http.Response) (*CreateEnumOptionResponse, error)
ParseCreateEnumOptionResponse parses an HTTP response from a CreateEnumOptionWithResponse call
func (CreateEnumOptionResponse) ContentType ¶ added in v0.2.0
func (r CreateEnumOptionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateEnumOptionResponse) Status ¶
func (r CreateEnumOptionResponse) Status() string
Status returns HTTPResponse.Status
func (CreateEnumOptionResponse) StatusCode ¶
func (r CreateEnumOptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateNoteJSONBody ¶
type CreateNoteJSONBody struct {
Content *string `json:"content,omitempty"`
Name string `json:"name"`
}
CreateNoteJSONBody defines parameters for CreateNote.
type CreateNoteJSONRequestBody ¶
type CreateNoteJSONRequestBody CreateNoteJSONBody
CreateNoteJSONRequestBody defines body for CreateNote for application/json ContentType.
type CreateNoteResponse ¶
func ParseCreateNoteResponse ¶
func ParseCreateNoteResponse(rsp *http.Response) (*CreateNoteResponse, error)
ParseCreateNoteResponse parses an HTTP response from a CreateNoteWithResponse call
func (CreateNoteResponse) ContentType ¶ added in v0.2.0
func (r CreateNoteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateNoteResponse) Status ¶
func (r CreateNoteResponse) Status() string
Status returns HTTPResponse.Status
func (CreateNoteResponse) StatusCode ¶
func (r CreateNoteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateProjectFromTemplateJSONBody ¶
type CreateProjectFromTemplateJSONBody struct {
CurrencyIso *CreateProjectFromTemplateJSONBodyCurrencyIso `json:"currency_iso,omitempty"`
GeneralSettings *struct {
Layout *CreateProjectFromTemplateJSONBodyGeneralSettingsLayout `json:"layout,omitempty"`
} `json:"general_settings,omitempty"`
Name *string `json:"name,omitempty"`
// PresetDateFrom Date to set floating due dates in templates
PresetDateFrom *openapi_types.Date `json:"preset_date_from,omitempty"`
ProjectOwnerId *int `json:"project_owner_id,omitempty"`
// UsersIds Users from template to invite
UsersIds *[]int `json:"users_ids,omitempty"`
}
CreateProjectFromTemplateJSONBody defines parameters for CreateProjectFromTemplate.
type CreateProjectFromTemplateJSONBodyCurrencyIso ¶
type CreateProjectFromTemplateJSONBodyCurrencyIso string
CreateProjectFromTemplateJSONBodyCurrencyIso defines parameters for CreateProjectFromTemplate.
const ( CreateProjectFromTemplateJSONBodyCurrencyIsoCZK CreateProjectFromTemplateJSONBodyCurrencyIso = "CZK" CreateProjectFromTemplateJSONBodyCurrencyIsoEUR CreateProjectFromTemplateJSONBodyCurrencyIso = "EUR" CreateProjectFromTemplateJSONBodyCurrencyIsoUSD CreateProjectFromTemplateJSONBodyCurrencyIso = "USD" )
Defines values for CreateProjectFromTemplateJSONBodyCurrencyIso.
func (CreateProjectFromTemplateJSONBodyCurrencyIso) Valid ¶
func (e CreateProjectFromTemplateJSONBodyCurrencyIso) Valid() bool
Valid indicates whether the value is a known member of the CreateProjectFromTemplateJSONBodyCurrencyIso enum.
type CreateProjectFromTemplateJSONBodyGeneralSettingsLayout ¶
type CreateProjectFromTemplateJSONBodyGeneralSettingsLayout string
CreateProjectFromTemplateJSONBodyGeneralSettingsLayout defines parameters for CreateProjectFromTemplate.
const ( Kanban CreateProjectFromTemplateJSONBodyGeneralSettingsLayout = "kanban" Rows CreateProjectFromTemplateJSONBodyGeneralSettingsLayout = "rows" )
Defines values for CreateProjectFromTemplateJSONBodyGeneralSettingsLayout.
func (CreateProjectFromTemplateJSONBodyGeneralSettingsLayout) Valid ¶
func (e CreateProjectFromTemplateJSONBodyGeneralSettingsLayout) Valid() bool
Valid indicates whether the value is a known member of the CreateProjectFromTemplateJSONBodyGeneralSettingsLayout enum.
type CreateProjectFromTemplateJSONRequestBody ¶
type CreateProjectFromTemplateJSONRequestBody CreateProjectFromTemplateJSONBody
CreateProjectFromTemplateJSONRequestBody defines body for CreateProjectFromTemplate for application/json ContentType.
type CreateProjectFromTemplateResponse ¶
type CreateProjectFromTemplateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
CurrencyIso *string `json:"currency_iso,omitempty"`
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Owner *UserBasic `json:"owner,omitempty"`
}
}
func ParseCreateProjectFromTemplateResponse ¶
func ParseCreateProjectFromTemplateResponse(rsp *http.Response) (*CreateProjectFromTemplateResponse, error)
ParseCreateProjectFromTemplateResponse parses an HTTP response from a CreateProjectFromTemplateWithResponse call
func (CreateProjectFromTemplateResponse) ContentType ¶ added in v0.2.0
func (r CreateProjectFromTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateProjectFromTemplateResponse) Status ¶
func (r CreateProjectFromTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (CreateProjectFromTemplateResponse) StatusCode ¶
func (r CreateProjectFromTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateProjectJSONBody ¶
type CreateProjectJSONBody struct {
// CurrencyIso Currency used for budgets and invoicing in this project. Cannot be changed afterwards.
CurrencyIso CreateProjectJSONBodyCurrencyIso `json:"currency_iso"`
Name string `json:"name"`
// ProjectOwnerId ID of user assigned as owner. Must be an owner-eligible user in the caller's account.
// If omitted, the authenticated caller becomes the owner.
ProjectOwnerId *int `json:"project_owner_id,omitempty"`
}
CreateProjectJSONBody defines parameters for CreateProject.
type CreateProjectJSONBodyCurrencyIso ¶
type CreateProjectJSONBodyCurrencyIso string
CreateProjectJSONBodyCurrencyIso defines parameters for CreateProject.
const ( CZK CreateProjectJSONBodyCurrencyIso = "CZK" EUR CreateProjectJSONBodyCurrencyIso = "EUR" USD CreateProjectJSONBodyCurrencyIso = "USD" )
Defines values for CreateProjectJSONBodyCurrencyIso.
func (CreateProjectJSONBodyCurrencyIso) Valid ¶
func (e CreateProjectJSONBodyCurrencyIso) Valid() bool
Valid indicates whether the value is a known member of the CreateProjectJSONBodyCurrencyIso enum.
type CreateProjectJSONRequestBody ¶
type CreateProjectJSONRequestBody CreateProjectJSONBody
CreateProjectJSONRequestBody defines body for CreateProject for application/json ContentType.
type CreateProjectResponse ¶
type CreateProjectResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProjectBasic
}
func ParseCreateProjectResponse ¶
func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, error)
ParseCreateProjectResponse parses an HTTP response from a CreateProjectWithResponse call
func (CreateProjectResponse) ContentType ¶ added in v0.2.0
func (r CreateProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateProjectResponse) Status ¶
func (r CreateProjectResponse) Status() string
Status returns HTTPResponse.Status
func (CreateProjectResponse) StatusCode ¶
func (r CreateProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSubtaskJSONRequestBody ¶
type CreateSubtaskJSONRequestBody = SubtaskCreate
CreateSubtaskJSONRequestBody defines body for CreateSubtask for application/json ContentType.
type CreateSubtaskResponse ¶
func ParseCreateSubtaskResponse ¶
func ParseCreateSubtaskResponse(rsp *http.Response) (*CreateSubtaskResponse, error)
ParseCreateSubtaskResponse parses an HTTP response from a CreateSubtaskWithResponse call
func (CreateSubtaskResponse) ContentType ¶ added in v0.2.0
func (r CreateSubtaskResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateSubtaskResponse) Status ¶
func (r CreateSubtaskResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSubtaskResponse) StatusCode ¶
func (r CreateSubtaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateTaskFromTemplateJSONBody ¶
type CreateTaskFromTemplateJSONBody struct {
PresetDateFrom *openapi_types.Date `json:"preset_date_from,omitempty"`
TargetProjectId *int `json:"target_project_id,omitempty"`
TargetTasklistId *int `json:"target_tasklist_id,omitempty"`
// TaskId ID of the task from template
TaskId int `json:"task_id"`
UsersIds *[]int `json:"users_ids,omitempty"`
}
CreateTaskFromTemplateJSONBody defines parameters for CreateTaskFromTemplate.
type CreateTaskFromTemplateJSONRequestBody ¶
type CreateTaskFromTemplateJSONRequestBody CreateTaskFromTemplateJSONBody
CreateTaskFromTemplateJSONRequestBody defines body for CreateTaskFromTemplate for application/json ContentType.
type CreateTaskFromTemplateResponse ¶
type CreateTaskFromTemplateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Tasklist *struct {
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"tasklist,omitempty"`
}
}
func ParseCreateTaskFromTemplateResponse ¶
func ParseCreateTaskFromTemplateResponse(rsp *http.Response) (*CreateTaskFromTemplateResponse, error)
ParseCreateTaskFromTemplateResponse parses an HTTP response from a CreateTaskFromTemplateWithResponse call
func (CreateTaskFromTemplateResponse) ContentType ¶ added in v0.2.0
func (r CreateTaskFromTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateTaskFromTemplateResponse) Status ¶
func (r CreateTaskFromTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (CreateTaskFromTemplateResponse) StatusCode ¶
func (r CreateTaskFromTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateTaskJSONRequestBody ¶
type CreateTaskJSONRequestBody = TaskCreate
CreateTaskJSONRequestBody defines body for CreateTask for application/json ContentType.
type CreateTaskLabelsJSONBody ¶
type CreateTaskLabelsJSONBody struct {
Labels *[]struct {
Color *string `json:"color,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"labels,omitempty"`
}
CreateTaskLabelsJSONBody defines parameters for CreateTaskLabels.
type CreateTaskLabelsJSONRequestBody ¶
type CreateTaskLabelsJSONRequestBody CreateTaskLabelsJSONBody
CreateTaskLabelsJSONRequestBody defines body for CreateTaskLabels for application/json ContentType.
type CreateTaskLabelsResponse ¶
func ParseCreateTaskLabelsResponse ¶
func ParseCreateTaskLabelsResponse(rsp *http.Response) (*CreateTaskLabelsResponse, error)
ParseCreateTaskLabelsResponse parses an HTTP response from a CreateTaskLabelsWithResponse call
func (CreateTaskLabelsResponse) ContentType ¶ added in v0.2.0
func (r CreateTaskLabelsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateTaskLabelsResponse) Status ¶
func (r CreateTaskLabelsResponse) Status() string
Status returns HTTPResponse.Status
func (CreateTaskLabelsResponse) StatusCode ¶
func (r CreateTaskLabelsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateTaskReminderJSONBody ¶
type CreateTaskReminderJSONBody struct {
// RemindAt Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
RemindAt freelotime.Time `json:"remind_at"`
}
CreateTaskReminderJSONBody defines parameters for CreateTaskReminder.
type CreateTaskReminderJSONRequestBody ¶
type CreateTaskReminderJSONRequestBody CreateTaskReminderJSONBody
CreateTaskReminderJSONRequestBody defines body for CreateTaskReminder for application/json ContentType.
type CreateTaskReminderResponse ¶
type CreateTaskReminderResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// RemindAt Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
RemindAt *freelotime.Time `json:"remind_at,omitempty"`
Task *struct {
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"task,omitempty"`
}
}
func ParseCreateTaskReminderResponse ¶
func ParseCreateTaskReminderResponse(rsp *http.Response) (*CreateTaskReminderResponse, error)
ParseCreateTaskReminderResponse parses an HTTP response from a CreateTaskReminderWithResponse call
func (CreateTaskReminderResponse) ContentType ¶ added in v0.2.0
func (r CreateTaskReminderResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateTaskReminderResponse) Status ¶
func (r CreateTaskReminderResponse) Status() string
Status returns HTTPResponse.Status
func (CreateTaskReminderResponse) StatusCode ¶
func (r CreateTaskReminderResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateTaskResponse ¶
type CreateTaskResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TaskCreated
}
func ParseCreateTaskResponse ¶
func ParseCreateTaskResponse(rsp *http.Response) (*CreateTaskResponse, error)
ParseCreateTaskResponse parses an HTTP response from a CreateTaskWithResponse call
func (CreateTaskResponse) ContentType ¶ added in v0.2.0
func (r CreateTaskResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateTaskResponse) Status ¶
func (r CreateTaskResponse) Status() string
Status returns HTTPResponse.Status
func (CreateTaskResponse) StatusCode ¶
func (r CreateTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateTasklistFromTemplateJSONBody ¶
type CreateTasklistFromTemplateJSONBody struct {
PresetDateFrom *openapi_types.Date `json:"preset_date_from,omitempty"`
TargetProjectId *int `json:"target_project_id,omitempty"`
TargetTasklistId *int `json:"target_tasklist_id,omitempty"`
// TasklistId ID of the tasklist from template
TasklistId int `json:"tasklist_id"`
UsersIds *[]int `json:"users_ids,omitempty"`
}
CreateTasklistFromTemplateJSONBody defines parameters for CreateTasklistFromTemplate.
type CreateTasklistFromTemplateJSONRequestBody ¶
type CreateTasklistFromTemplateJSONRequestBody CreateTasklistFromTemplateJSONBody
CreateTasklistFromTemplateJSONRequestBody defines body for CreateTasklistFromTemplate for application/json ContentType.
type CreateTasklistFromTemplateResponse ¶
type CreateTasklistFromTemplateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Tasks *[]struct {
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"tasks,omitempty"`
}
}
func ParseCreateTasklistFromTemplateResponse ¶
func ParseCreateTasklistFromTemplateResponse(rsp *http.Response) (*CreateTasklistFromTemplateResponse, error)
ParseCreateTasklistFromTemplateResponse parses an HTTP response from a CreateTasklistFromTemplateWithResponse call
func (CreateTasklistFromTemplateResponse) ContentType ¶ added in v0.2.0
func (r CreateTasklistFromTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateTasklistFromTemplateResponse) Status ¶
func (r CreateTasklistFromTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (CreateTasklistFromTemplateResponse) StatusCode ¶
func (r CreateTasklistFromTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateTasklistJSONBody ¶
type CreateTasklistJSONBody struct {
// Budget Currency amount (2 decimal places, no separator)
Budget *string `json:"budget,omitempty"`
Name string `json:"name"`
// Priority Position (order) of the tasklist within the project, 1 = first. Tasklists currently at this position or below shift down by 1 to make room. Values past the end of the list are clamped to `last + 1`. Omit to append at the end.
//
// Note: despite the name, this is positional ordering — not to be confused with task `priority_enum` (low/medium/high importance).
Priority *int `json:"priority,omitempty"`
}
CreateTasklistJSONBody defines parameters for CreateTasklist.
type CreateTasklistJSONRequestBody ¶
type CreateTasklistJSONRequestBody CreateTasklistJSONBody
CreateTasklistJSONRequestBody defines body for CreateTasklist for application/json ContentType.
type CreateTasklistResponse ¶
type CreateTasklistResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TasklistWithBudget
}
func ParseCreateTasklistResponse ¶
func ParseCreateTasklistResponse(rsp *http.Response) (*CreateTasklistResponse, error)
ParseCreateTasklistResponse parses an HTTP response from a CreateTasklistWithResponse call
func (CreateTasklistResponse) ContentType ¶ added in v0.2.0
func (r CreateTasklistResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateTasklistResponse) Status ¶
func (r CreateTasklistResponse) Status() string
Status returns HTTPResponse.Status
func (CreateTasklistResponse) StatusCode ¶
func (r CreateTasklistResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateWorkReportJSONBody ¶
type CreateWorkReportJSONBody struct {
// Cost Currency amount (2 decimal places × 100)
Cost *string `json:"cost,omitempty"`
// DateReported Start timestamp of the work session. Accepts either a full ISO 8601 datetime
// (`2026-05-08T08:00:00+02:00`) or a date-only string (`2026-05-08`).
// Datetime form records the exact start moment; date-only defaults to start of day.
DateReported *string `json:"date_reported,omitempty"`
Minutes int `json:"minutes"`
Note *string `json:"note,omitempty"`
WorkerId *int `json:"worker_id,omitempty"`
}
CreateWorkReportJSONBody defines parameters for CreateWorkReport.
type CreateWorkReportJSONRequestBody ¶
type CreateWorkReportJSONRequestBody CreateWorkReportJSONBody
CreateWorkReportJSONRequestBody defines body for CreateWorkReport for application/json ContentType.
type CreateWorkReportResponse ¶
type CreateWorkReportResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *WorkReport
}
func ParseCreateWorkReportResponse ¶
func ParseCreateWorkReportResponse(rsp *http.Response) (*CreateWorkReportResponse, error)
ParseCreateWorkReportResponse parses an HTTP response from a CreateWorkReportWithResponse call
func (CreateWorkReportResponse) ContentType ¶ added in v0.2.0
func (r CreateWorkReportResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateWorkReportResponse) Status ¶
func (r CreateWorkReportResponse) Status() string
Status returns HTTPResponse.Status
func (CreateWorkReportResponse) StatusCode ¶
func (r CreateWorkReportResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Currency ¶
type Currency struct {
// Amount Amount multiplied by 100
Amount *string `json:"amount,omitempty"`
Currency *CurrencyCurrency `json:"currency,omitempty"`
}
Currency defines model for Currency.
type CurrencyCurrency ¶
type CurrencyCurrency string
CurrencyCurrency defines model for Currency.Currency.
const ( CurrencyCurrencyCZK CurrencyCurrency = "CZK" CurrencyCurrencyEUR CurrencyCurrency = "EUR" CurrencyCurrencyUSD CurrencyCurrency = "USD" )
Defines values for CurrencyCurrency.
func (CurrencyCurrency) Valid ¶
func (e CurrencyCurrency) Valid() bool
Valid indicates whether the value is a known member of the CurrencyCurrency enum.
type CustomField ¶
type CustomField struct {
AuthorId *int `json:"author_id,omitempty"`
CustomFieldsTypesUuid *openapi_types.UUID `json:"custom_fields_types_uuid,omitempty"`
// DateAdd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateAdd *freelotime.Time `json:"date_add,omitempty"`
Name *string `json:"name,omitempty"`
Priority *int `json:"priority,omitempty"`
ProjectId *int `json:"project_id,omitempty"`
Uuid *openapi_types.UUID `json:"uuid,omitempty"`
}
CustomField defines model for CustomField.
type CustomFieldEnumOption ¶
type CustomFieldEnumOption struct {
CustomFieldName *string `json:"custom_field_name,omitempty"`
CustomFieldUuid *openapi_types.UUID `json:"custom_field_uuid,omitempty"`
EnumUuid *openapi_types.UUID `json:"enum_uuid,omitempty"`
EnumValue *string `json:"enum_value,omitempty"`
}
CustomFieldEnumOption defines model for CustomFieldEnumOption.
type CustomFieldEnumValue ¶
type CustomFieldEnumValue struct {
AuthorId *int `json:"author_id,omitempty"`
CustomFieldUuid *openapi_types.UUID `json:"custom_field_uuid,omitempty"`
// DateAdd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateAdd *freelotime.Time `json:"date_add,omitempty"`
// DateEditedAt Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateEditedAt *freelotime.Time `json:"date_edited_at,omitempty"`
TaskId *int `json:"task_id,omitempty"`
Uuid *openapi_types.UUID `json:"uuid,omitempty"`
Value *string `json:"value,omitempty"`
}
CustomFieldEnumValue defines model for CustomFieldEnumValue.
type CustomFieldValue ¶
type CustomFieldValue struct {
AuthorId *int `json:"author_id,omitempty"`
CustomFieldUuid *openapi_types.UUID `json:"custom_field_uuid,omitempty"`
// DateAdd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateAdd *freelotime.Time `json:"date_add,omitempty"`
// DateEditedAt Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateEditedAt *freelotime.Time `json:"date_edited_at,omitempty"`
TaskId *int `json:"task_id,omitempty"`
Uuid *openapi_types.UUID `json:"uuid,omitempty"`
Value *string `json:"value,omitempty"`
}
CustomFieldValue defines model for CustomFieldValue.
type CustomFieldWithValue ¶
type CustomFieldWithValue struct {
CustomFieldsTypesUuid *openapi_types.UUID `json:"custom_fields_types_uuid,omitempty"`
// FieldDateAdd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
FieldDateAdd *freelotime.Time `json:"field_date_add,omitempty"`
FieldUuid *openapi_types.UUID `json:"field_uuid,omitempty"`
Name *string `json:"name,omitempty"`
Priority *int `json:"priority,omitempty"`
ProjectId *int `json:"project_id,omitempty"`
Value *string `json:"value,omitempty"`
ValueAuthorId *int `json:"value_author_id,omitempty"`
// ValueDateAdd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
ValueDateAdd *freelotime.Time `json:"value_date_add,omitempty"`
// ValueDateEditedAt Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
ValueDateEditedAt *freelotime.Time `json:"value_date_edited_at,omitempty"`
ValueUuid *openapi_types.UUID `json:"value_uuid,omitempty"`
}
CustomFieldWithValue defines model for CustomFieldWithValue.
type DeleteCommentResponse ¶ added in v0.3.0
func ParseDeleteCommentResponse ¶ added in v0.3.0
func ParseDeleteCommentResponse(rsp *http.Response) (*DeleteCommentResponse, error)
ParseDeleteCommentResponse parses an HTTP response from a DeleteCommentWithResponse call
func (DeleteCommentResponse) ContentType ¶ added in v0.3.0
func (r DeleteCommentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteCommentResponse) Status ¶ added in v0.3.0
func (r DeleteCommentResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteCommentResponse) StatusCode ¶ added in v0.3.0
func (r DeleteCommentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteCustomFieldResponse ¶
type DeleteCustomFieldResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseDeleteCustomFieldResponse ¶
func ParseDeleteCustomFieldResponse(rsp *http.Response) (*DeleteCustomFieldResponse, error)
ParseDeleteCustomFieldResponse parses an HTTP response from a DeleteCustomFieldWithResponse call
func (DeleteCustomFieldResponse) ContentType ¶ added in v0.2.0
func (r DeleteCustomFieldResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteCustomFieldResponse) Status ¶
func (r DeleteCustomFieldResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteCustomFieldResponse) StatusCode ¶
func (r DeleteCustomFieldResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteCustomFieldValueResponse ¶
type DeleteCustomFieldValueResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseDeleteCustomFieldValueResponse ¶
func ParseDeleteCustomFieldValueResponse(rsp *http.Response) (*DeleteCustomFieldValueResponse, error)
ParseDeleteCustomFieldValueResponse parses an HTTP response from a DeleteCustomFieldValueWithResponse call
func (DeleteCustomFieldValueResponse) ContentType ¶ added in v0.2.0
func (r DeleteCustomFieldValueResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteCustomFieldValueResponse) Status ¶
func (r DeleteCustomFieldValueResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteCustomFieldValueResponse) StatusCode ¶
func (r DeleteCustomFieldValueResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteDocOrFileByUuidResponse ¶ added in v0.3.0
type DeleteDocOrFileByUuidResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseDeleteDocOrFileByUuidResponse ¶ added in v0.3.0
func ParseDeleteDocOrFileByUuidResponse(rsp *http.Response) (*DeleteDocOrFileByUuidResponse, error)
ParseDeleteDocOrFileByUuidResponse parses an HTTP response from a DeleteDocOrFileByUuidWithResponse call
func (DeleteDocOrFileByUuidResponse) ContentType ¶ added in v0.3.0
func (r DeleteDocOrFileByUuidResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteDocOrFileByUuidResponse) Status ¶ added in v0.3.0
func (r DeleteDocOrFileByUuidResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteDocOrFileByUuidResponse) StatusCode ¶ added in v0.3.0
func (r DeleteDocOrFileByUuidResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteEnumOptionResponse ¶
type DeleteEnumOptionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseDeleteEnumOptionResponse ¶
func ParseDeleteEnumOptionResponse(rsp *http.Response) (*DeleteEnumOptionResponse, error)
ParseDeleteEnumOptionResponse parses an HTTP response from a DeleteEnumOptionWithResponse call
func (DeleteEnumOptionResponse) ContentType ¶ added in v0.2.0
func (r DeleteEnumOptionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteEnumOptionResponse) Status ¶
func (r DeleteEnumOptionResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteEnumOptionResponse) StatusCode ¶
func (r DeleteEnumOptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteNoteResponse ¶
func ParseDeleteNoteResponse ¶
func ParseDeleteNoteResponse(rsp *http.Response) (*DeleteNoteResponse, error)
ParseDeleteNoteResponse parses an HTTP response from a DeleteNoteWithResponse call
func (DeleteNoteResponse) ContentType ¶ added in v0.2.0
func (r DeleteNoteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteNoteResponse) Status ¶
func (r DeleteNoteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteNoteResponse) StatusCode ¶
func (r DeleteNoteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePinnedItemResponse ¶
type DeletePinnedItemResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseDeletePinnedItemResponse ¶
func ParseDeletePinnedItemResponse(rsp *http.Response) (*DeletePinnedItemResponse, error)
ParseDeletePinnedItemResponse parses an HTTP response from a DeletePinnedItemWithResponse call
func (DeletePinnedItemResponse) ContentType ¶ added in v0.2.0
func (r DeletePinnedItemResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeletePinnedItemResponse) Status ¶
func (r DeletePinnedItemResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePinnedItemResponse) StatusCode ¶
func (r DeletePinnedItemResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteProjectLabelResponse ¶
type DeleteProjectLabelResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseDeleteProjectLabelResponse ¶
func ParseDeleteProjectLabelResponse(rsp *http.Response) (*DeleteProjectLabelResponse, error)
ParseDeleteProjectLabelResponse parses an HTTP response from a DeleteProjectLabelWithResponse call
func (DeleteProjectLabelResponse) ContentType ¶ added in v0.2.0
func (r DeleteProjectLabelResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteProjectLabelResponse) Status ¶
func (r DeleteProjectLabelResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteProjectLabelResponse) StatusCode ¶
func (r DeleteProjectLabelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteProjectResponse ¶
type DeleteProjectResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseDeleteProjectResponse ¶
func ParseDeleteProjectResponse(rsp *http.Response) (*DeleteProjectResponse, error)
ParseDeleteProjectResponse parses an HTTP response from a DeleteProjectWithResponse call
func (DeleteProjectResponse) ContentType ¶ added in v0.2.0
func (r DeleteProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteProjectResponse) Status ¶
func (r DeleteProjectResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteProjectResponse) StatusCode ¶
func (r DeleteProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePublicLinkToTaskResponse ¶
type DeletePublicLinkToTaskResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseDeletePublicLinkToTaskResponse ¶
func ParseDeletePublicLinkToTaskResponse(rsp *http.Response) (*DeletePublicLinkToTaskResponse, error)
ParseDeletePublicLinkToTaskResponse parses an HTTP response from a DeletePublicLinkToTaskWithResponse call
func (DeletePublicLinkToTaskResponse) ContentType ¶ added in v0.2.0
func (r DeletePublicLinkToTaskResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeletePublicLinkToTaskResponse) Status ¶
func (r DeletePublicLinkToTaskResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePublicLinkToTaskResponse) StatusCode ¶
func (r DeletePublicLinkToTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteTaskReminderResponse ¶
type DeleteTaskReminderResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseDeleteTaskReminderResponse ¶
func ParseDeleteTaskReminderResponse(rsp *http.Response) (*DeleteTaskReminderResponse, error)
ParseDeleteTaskReminderResponse parses an HTTP response from a DeleteTaskReminderWithResponse call
func (DeleteTaskReminderResponse) ContentType ¶ added in v0.2.0
func (r DeleteTaskReminderResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteTaskReminderResponse) Status ¶
func (r DeleteTaskReminderResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteTaskReminderResponse) StatusCode ¶
func (r DeleteTaskReminderResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteTaskResponse ¶
type DeleteTaskResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseDeleteTaskResponse ¶
func ParseDeleteTaskResponse(rsp *http.Response) (*DeleteTaskResponse, error)
ParseDeleteTaskResponse parses an HTTP response from a DeleteTaskWithResponse call
func (DeleteTaskResponse) ContentType ¶ added in v0.2.0
func (r DeleteTaskResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteTaskResponse) Status ¶
func (r DeleteTaskResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteTaskResponse) StatusCode ¶
func (r DeleteTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteTaskcheckResponse ¶ added in v0.2.0
type DeleteTaskcheckResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseDeleteTaskcheckResponse ¶ added in v0.2.0
func ParseDeleteTaskcheckResponse(rsp *http.Response) (*DeleteTaskcheckResponse, error)
ParseDeleteTaskcheckResponse parses an HTTP response from a DeleteTaskcheckWithResponse call
func (DeleteTaskcheckResponse) ContentType ¶ added in v0.2.0
func (r DeleteTaskcheckResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteTaskcheckResponse) Status ¶ added in v0.2.0
func (r DeleteTaskcheckResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteTaskcheckResponse) StatusCode ¶ added in v0.2.0
func (r DeleteTaskcheckResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteTotalTimeEstimateResponse ¶
type DeleteTotalTimeEstimateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseDeleteTotalTimeEstimateResponse ¶
func ParseDeleteTotalTimeEstimateResponse(rsp *http.Response) (*DeleteTotalTimeEstimateResponse, error)
ParseDeleteTotalTimeEstimateResponse parses an HTTP response from a DeleteTotalTimeEstimateWithResponse call
func (DeleteTotalTimeEstimateResponse) ContentType ¶ added in v0.2.0
func (r DeleteTotalTimeEstimateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteTotalTimeEstimateResponse) Status ¶
func (r DeleteTotalTimeEstimateResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteTotalTimeEstimateResponse) StatusCode ¶
func (r DeleteTotalTimeEstimateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteUserTimeEstimateResponse ¶
type DeleteUserTimeEstimateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseDeleteUserTimeEstimateResponse ¶
func ParseDeleteUserTimeEstimateResponse(rsp *http.Response) (*DeleteUserTimeEstimateResponse, error)
ParseDeleteUserTimeEstimateResponse parses an HTTP response from a DeleteUserTimeEstimateWithResponse call
func (DeleteUserTimeEstimateResponse) ContentType ¶ added in v0.2.0
func (r DeleteUserTimeEstimateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteUserTimeEstimateResponse) Status ¶
func (r DeleteUserTimeEstimateResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteUserTimeEstimateResponse) StatusCode ¶
func (r DeleteUserTimeEstimateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteWorkReportResponse ¶
type DeleteWorkReportResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseDeleteWorkReportResponse ¶
func ParseDeleteWorkReportResponse(rsp *http.Response) (*DeleteWorkReportResponse, error)
ParseDeleteWorkReportResponse parses an HTTP response from a DeleteWorkReportWithResponse call
func (DeleteWorkReportResponse) ContentType ¶ added in v0.2.0
func (r DeleteWorkReportResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteWorkReportResponse) Status ¶
func (r DeleteWorkReportResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteWorkReportResponse) StatusCode ¶
func (r DeleteWorkReportResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DisableOutOfOfficeResponse ¶
type DisableOutOfOfficeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseDisableOutOfOfficeResponse ¶
func ParseDisableOutOfOfficeResponse(rsp *http.Response) (*DisableOutOfOfficeResponse, error)
ParseDisableOutOfOfficeResponse parses an HTTP response from a DisableOutOfOfficeWithResponse call
func (DisableOutOfOfficeResponse) ContentType ¶ added in v0.2.0
func (r DisableOutOfOfficeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DisableOutOfOfficeResponse) Status ¶
func (r DisableOutOfOfficeResponse) Status() string
Status returns HTTPResponse.Status
func (DisableOutOfOfficeResponse) StatusCode ¶
func (r DisableOutOfOfficeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadFileResponse ¶
func ParseDownloadFileResponse ¶
func ParseDownloadFileResponse(rsp *http.Response) (*DownloadFileResponse, error)
ParseDownloadFileResponse parses an HTTP response from a DownloadFileWithResponse call
func (DownloadFileResponse) ContentType ¶ added in v0.2.0
func (r DownloadFileResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DownloadFileResponse) Status ¶
func (r DownloadFileResponse) Status() string
Status returns HTTPResponse.Status
func (DownloadFileResponse) StatusCode ¶
func (r DownloadFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadIssuedInvoiceReportsResponse ¶
func ParseDownloadIssuedInvoiceReportsResponse ¶
func ParseDownloadIssuedInvoiceReportsResponse(rsp *http.Response) (*DownloadIssuedInvoiceReportsResponse, error)
ParseDownloadIssuedInvoiceReportsResponse parses an HTTP response from a DownloadIssuedInvoiceReportsWithResponse call
func (DownloadIssuedInvoiceReportsResponse) ContentType ¶ added in v0.2.0
func (r DownloadIssuedInvoiceReportsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DownloadIssuedInvoiceReportsResponse) Status ¶
func (r DownloadIssuedInvoiceReportsResponse) Status() string
Status returns HTTPResponse.Status
func (DownloadIssuedInvoiceReportsResponse) StatusCode ¶
func (r DownloadIssuedInvoiceReportsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EditCommentJSONBody ¶
type EditCommentJSONBody struct {
// Content Comment body (HTML / plain text). Supports inline file anchors (`<a data-freelo-uuid="{file_uuid}">…</a>`) and user mentions — see `POST /task/{id}/comments`.
Content string `json:"content"`
// Files Files to attach as plain attachments (not placed inline in the body). Replaces the full attachment set. Use one mechanism per file — do not also embed the same UUID in `content`.
Files *[]FileUpload `json:"files,omitempty"`
// NotifyAuthor When true, the authenticated caller (the action author) is kept in the notification recipients even though they triggered the action. Useful for automations acting under your own token. Only takes effect if you are otherwise a subscriber/worker/tracking user of the target.
NotifyAuthor *bool `json:"notify_author,omitempty"`
}
EditCommentJSONBody defines parameters for EditComment.
type EditCommentJSONRequestBody ¶
type EditCommentJSONRequestBody EditCommentJSONBody
EditCommentJSONRequestBody defines body for EditComment for application/json ContentType.
type EditCommentResponse ¶
func ParseEditCommentResponse ¶
func ParseEditCommentResponse(rsp *http.Response) (*EditCommentResponse, error)
ParseEditCommentResponse parses an HTTP response from a EditCommentWithResponse call
func (EditCommentResponse) ContentType ¶ added in v0.2.0
func (r EditCommentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EditCommentResponse) Status ¶
func (r EditCommentResponse) Status() string
Status returns HTTPResponse.Status
func (EditCommentResponse) StatusCode ¶
func (r EditCommentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EditEnumOptionJSONBody ¶
type EditEnumOptionJSONBody struct {
Value string `json:"value"`
}
EditEnumOptionJSONBody defines parameters for EditEnumOption.
type EditEnumOptionJSONRequestBody ¶
type EditEnumOptionJSONRequestBody EditEnumOptionJSONBody
EditEnumOptionJSONRequestBody defines body for EditEnumOption for application/json ContentType.
type EditEnumOptionResponse ¶
type EditEnumOptionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
CustomFieldEnum *struct {
Uuid *openapi_types.UUID `json:"uuid,omitempty"`
Value *string `json:"value,omitempty"`
} `json:"custom_field_enum,omitempty"`
}
}
func ParseEditEnumOptionResponse ¶
func ParseEditEnumOptionResponse(rsp *http.Response) (*EditEnumOptionResponse, error)
ParseEditEnumOptionResponse parses an HTTP response from a EditEnumOptionWithResponse call
func (EditEnumOptionResponse) ContentType ¶ added in v0.2.0
func (r EditEnumOptionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EditEnumOptionResponse) Status ¶
func (r EditEnumOptionResponse) Status() string
Status returns HTTPResponse.Status
func (EditEnumOptionResponse) StatusCode ¶
func (r EditEnumOptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EditNoteJSONBody ¶
type EditNoteJSONBody struct {
Content *string `json:"content,omitempty"`
Name string `json:"name"`
// NotifyAuthor When true, the authenticated caller (the action author) is kept in the notification recipients even though they triggered the action. Useful for automations acting under your own token. Only takes effect if you are otherwise a subscriber/worker/tracking user of the target.
NotifyAuthor *bool `json:"notify_author,omitempty"`
}
EditNoteJSONBody defines parameters for EditNote.
type EditNoteJSONRequestBody ¶
type EditNoteJSONRequestBody EditNoteJSONBody
EditNoteJSONRequestBody defines body for EditNote for application/json ContentType.
type EditNoteResponse ¶
func ParseEditNoteResponse ¶
func ParseEditNoteResponse(rsp *http.Response) (*EditNoteResponse, error)
ParseEditNoteResponse parses an HTTP response from a EditNoteWithResponse call
func (EditNoteResponse) ContentType ¶ added in v0.2.0
func (r EditNoteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EditNoteResponse) Status ¶
func (r EditNoteResponse) Status() string
Status returns HTTPResponse.Status
func (EditNoteResponse) StatusCode ¶
func (r EditNoteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EditProjectLabelJSONBody ¶
type EditProjectLabelJSONBody struct {
Color *string `json:"color,omitempty"`
IsPrivate *bool `json:"is_private,omitempty"`
Name *string `json:"name,omitempty"`
}
EditProjectLabelJSONBody defines parameters for EditProjectLabel.
type EditProjectLabelJSONRequestBody ¶
type EditProjectLabelJSONRequestBody EditProjectLabelJSONBody
EditProjectLabelJSONRequestBody defines body for EditProjectLabel for application/json ContentType.
type EditProjectLabelResponse ¶
type EditProjectLabelResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseEditProjectLabelResponse ¶
func ParseEditProjectLabelResponse(rsp *http.Response) (*EditProjectLabelResponse, error)
ParseEditProjectLabelResponse parses an HTTP response from a EditProjectLabelWithResponse call
func (EditProjectLabelResponse) ContentType ¶ added in v0.2.0
func (r EditProjectLabelResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EditProjectLabelResponse) Status ¶
func (r EditProjectLabelResponse) Status() string
Status returns HTTPResponse.Status
func (EditProjectLabelResponse) StatusCode ¶
func (r EditProjectLabelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EditTaskDescriptionJSONBody ¶
type EditTaskDescriptionJSONBody struct {
Content string `json:"content"`
Files *[]FileUpload `json:"files,omitempty"`
}
EditTaskDescriptionJSONBody defines parameters for EditTaskDescription.
type EditTaskDescriptionJSONRequestBody ¶
type EditTaskDescriptionJSONRequestBody EditTaskDescriptionJSONBody
EditTaskDescriptionJSONRequestBody defines body for EditTaskDescription for application/json ContentType.
type EditTaskDescriptionResponse ¶
type EditTaskDescriptionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Comment
}
func ParseEditTaskDescriptionResponse ¶
func ParseEditTaskDescriptionResponse(rsp *http.Response) (*EditTaskDescriptionResponse, error)
ParseEditTaskDescriptionResponse parses an HTTP response from a EditTaskDescriptionWithResponse call
func (EditTaskDescriptionResponse) ContentType ¶ added in v0.2.0
func (r EditTaskDescriptionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EditTaskDescriptionResponse) Status ¶
func (r EditTaskDescriptionResponse) Status() string
Status returns HTTPResponse.Status
func (EditTaskDescriptionResponse) StatusCode ¶
func (r EditTaskDescriptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EditTaskJSONBody ¶
type EditTaskJSONBody struct {
// AddTrackingUsersIds Add tracking users by user ID (merged with existing).
AddTrackingUsersIds *[]int `json:"add_tracking_users_ids,omitempty"`
// Description Task description as an object, identical to the POST /task/{task_id}/description request body. Files are downloaded from download_url, attached to the description, and the description file set is reconciled (files no longer present are archived).
Description *struct {
Content string `json:"content"`
Files *[]FileUpload `json:"files,omitempty"`
} `json:"description,omitempty"`
// DueDate Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DueDate *freelotime.Time `json:"due_date,omitempty"`
// DueDateEnd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DueDateEnd *freelotime.Time `json:"due_date_end,omitempty"`
Labels *[]TaskLabelAddInput `json:"labels,omitempty"`
Name *string `json:"name,omitempty"`
// NotifyAuthor When true, the authenticated caller (the action author) is kept in the notification recipients even though they triggered the action. Useful for automations acting under your own token. Only takes effect if you are otherwise a subscriber/worker/tracking user of the target.
NotifyAuthor *bool `json:"notify_author,omitempty"`
// PriorityEnum Allowed options are l, m, h. Set to null to remove priority.
PriorityEnum *EditTaskJSONBodyPriorityEnum `json:"priority_enum,omitempty"`
// RemoveTrackingUsersIds Remove tracking users by user ID.
RemoveTrackingUsersIds *[]int `json:"remove_tracking_users_ids,omitempty"`
// TrackingUsersIds Set (replace) all tracking users. Pass an empty array to remove all.
TrackingUsersIds *[]int `json:"tracking_users_ids,omitempty"`
Worker *int `json:"worker,omitempty"`
}
EditTaskJSONBody defines parameters for EditTask.
type EditTaskJSONBodyPriorityEnum ¶
type EditTaskJSONBodyPriorityEnum string
EditTaskJSONBodyPriorityEnum defines parameters for EditTask.
const ( H EditTaskJSONBodyPriorityEnum = "h" L EditTaskJSONBodyPriorityEnum = "l" M EditTaskJSONBodyPriorityEnum = "m" )
Defines values for EditTaskJSONBodyPriorityEnum.
func (EditTaskJSONBodyPriorityEnum) Valid ¶
func (e EditTaskJSONBodyPriorityEnum) Valid() bool
Valid indicates whether the value is a known member of the EditTaskJSONBodyPriorityEnum enum.
type EditTaskJSONRequestBody ¶
type EditTaskJSONRequestBody EditTaskJSONBody
EditTaskJSONRequestBody defines body for EditTask for application/json ContentType.
type EditTaskResponse ¶
type EditTaskResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TaskDetail
}
func ParseEditTaskResponse ¶
func ParseEditTaskResponse(rsp *http.Response) (*EditTaskResponse, error)
ParseEditTaskResponse parses an HTTP response from a EditTaskWithResponse call
func (EditTaskResponse) ContentType ¶ added in v0.2.0
func (r EditTaskResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EditTaskResponse) Status ¶
func (r EditTaskResponse) Status() string
Status returns HTTPResponse.Status
func (EditTaskResponse) StatusCode ¶
func (r EditTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EditTaskcheckJSONBody ¶ added in v0.2.0
type EditTaskcheckJSONBody struct {
Name *string `json:"name,omitempty"`
// NotifyAuthor When true, the authenticated caller (the action author) is kept in the notification recipients even though they triggered the action. Useful for automations acting under your own token. Only takes effect if you are otherwise a subscriber/worker/tracking user of the target.
NotifyAuthor *bool `json:"notify_author,omitempty"`
// Worker User id of the worker to assign. Pass `null` to clear.
Worker *int `json:"worker,omitempty"`
}
EditTaskcheckJSONBody defines parameters for EditTaskcheck.
type EditTaskcheckJSONRequestBody ¶ added in v0.2.0
type EditTaskcheckJSONRequestBody EditTaskcheckJSONBody
EditTaskcheckJSONRequestBody defines body for EditTaskcheck for application/json ContentType.
type EditTaskcheckResponse ¶ added in v0.2.0
type EditTaskcheckResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseEditTaskcheckResponse ¶ added in v0.2.0
func ParseEditTaskcheckResponse(rsp *http.Response) (*EditTaskcheckResponse, error)
ParseEditTaskcheckResponse parses an HTTP response from a EditTaskcheckWithResponse call
func (EditTaskcheckResponse) ContentType ¶ added in v0.2.0
func (r EditTaskcheckResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EditTaskcheckResponse) Status ¶ added in v0.2.0
func (r EditTaskcheckResponse) Status() string
Status returns HTTPResponse.Status
func (EditTaskcheckResponse) StatusCode ¶ added in v0.2.0
func (r EditTaskcheckResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EditTasklistJSONBody ¶ added in v0.2.0
type EditTasklistJSONBody struct {
// Budget Integer amount in minor currency units, encoded as a string (e.g. "100000" for 1000.00). `null` or `"0"` clears the budget. Decimal strings ("100.50") are rejected with HTTP 400.
Budget *string `json:"budget,omitempty"`
Name *string `json:"name,omitempty"`
Priority *int `json:"priority,omitempty"`
ShouldChangeExistingTasks *bool `json:"should_change_existing_tasks,omitempty"`
TimeBudgetMinutes *int `json:"time_budget_minutes,omitempty"`
TrackingUsersIds *[]int `json:"tracking_users_ids,omitempty"`
WorkerId *int `json:"worker_id,omitempty"`
}
EditTasklistJSONBody defines parameters for EditTasklist.
type EditTasklistJSONRequestBody ¶ added in v0.2.0
type EditTasklistJSONRequestBody EditTasklistJSONBody
EditTasklistJSONRequestBody defines body for EditTasklist for application/json ContentType.
type EditTasklistResponse ¶ added in v0.2.0
type EditTasklistResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// PriorityApplied `true` when the priority renumber finished (or was not requested). `false` when other fields committed but the priority renumber failed (the client may retry the priority field alone).
PriorityApplied bool `json:"priorityApplied"`
}
}
func ParseEditTasklistResponse ¶ added in v0.2.0
func ParseEditTasklistResponse(rsp *http.Response) (*EditTasklistResponse, error)
ParseEditTasklistResponse parses an HTTP response from a EditTasklistWithResponse call
func (EditTasklistResponse) ContentType ¶ added in v0.2.0
func (r EditTasklistResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EditTasklistResponse) Status ¶ added in v0.2.0
func (r EditTasklistResponse) Status() string
Status returns HTTPResponse.Status
func (EditTasklistResponse) StatusCode ¶ added in v0.2.0
func (r EditTasklistResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EditTimeTrackingJSONBody ¶
type EditTimeTrackingJSONBody struct {
// DateReported New start timestamp for the running session (ISO 8601, e.g. `2026-05-07T09:00:00+02:00`). Used to correct or backdate the timer's start time. The work report produced by `/timetracking/stop` will compute its duration from this value.
DateReported *freelotime.Time `json:"date_reported,omitempty"`
// Note Updated note for the time tracking session.
Note *string `json:"note,omitempty"`
// TaskId ID of the task to reassign the session to. Can be used to switch tasks on an active session.
TaskId *int `json:"task_id,omitempty"`
}
EditTimeTrackingJSONBody defines parameters for EditTimeTracking.
type EditTimeTrackingJSONRequestBody ¶
type EditTimeTrackingJSONRequestBody EditTimeTrackingJSONBody
EditTimeTrackingJSONRequestBody defines body for EditTimeTracking for application/json ContentType.
type EditTimeTrackingResponse ¶
type EditTimeTrackingResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Uuid UUID of the updated time tracking session
Uuid *openapi_types.UUID `json:"uuid,omitempty"`
}
JSON409 *ErrorResponse
}
func ParseEditTimeTrackingResponse ¶
func ParseEditTimeTrackingResponse(rsp *http.Response) (*EditTimeTrackingResponse, error)
ParseEditTimeTrackingResponse parses an HTTP response from a EditTimeTrackingWithResponse call
func (EditTimeTrackingResponse) ContentType ¶ added in v0.2.0
func (r EditTimeTrackingResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EditTimeTrackingResponse) Status ¶
func (r EditTimeTrackingResponse) Status() string
Status returns HTTPResponse.Status
func (EditTimeTrackingResponse) StatusCode ¶
func (r EditTimeTrackingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EditWorkReportJSONBody ¶
type EditWorkReportJSONBody struct {
Cost *string `json:"cost,omitempty"`
// DateReported Start timestamp of the work session. Accepts either a full ISO 8601 datetime
// (`2026-05-08T08:00:00+02:00`) or a date-only string (`2026-05-08`).
// Datetime form records the exact start moment; date-only defaults to start of day.
DateReported *string `json:"date_reported,omitempty"`
Minutes *int `json:"minutes,omitempty"`
// Note Note for the work report. Pass `null` to clear an existing note. Empty string is rejected.
Note *string `json:"note,omitempty"`
// TaskId ID of the task this work report belongs to. Pass `null` to detach the report from its current task.
TaskId *int `json:"task_id,omitempty"`
}
EditWorkReportJSONBody defines parameters for EditWorkReport.
type EditWorkReportJSONRequestBody ¶
type EditWorkReportJSONRequestBody EditWorkReportJSONBody
EditWorkReportJSONRequestBody defines body for EditWorkReport for application/json ContentType.
type EditWorkReportResponse ¶
type EditWorkReportResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *WorkReport
}
func ParseEditWorkReportResponse ¶
func ParseEditWorkReportResponse(rsp *http.Response) (*EditWorkReportResponse, error)
ParseEditWorkReportResponse parses an HTTP response from a EditWorkReportWithResponse call
func (EditWorkReportResponse) ContentType ¶ added in v0.2.0
func (r EditWorkReportResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EditWorkReportResponse) Status ¶
func (r EditWorkReportResponse) Status() string
Status returns HTTPResponse.Status
func (EditWorkReportResponse) StatusCode ¶
func (r EditWorkReportResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EnableOutOfOfficeJSONBody ¶
type EnableOutOfOfficeJSONBody struct {
OutOfOffice struct {
// DateFrom Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateFrom freelotime.Time `json:"date_from"`
// DateTo Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateTo freelotime.Time `json:"date_to"`
} `json:"out_of_office"`
}
EnableOutOfOfficeJSONBody defines parameters for EnableOutOfOffice.
type EnableOutOfOfficeJSONRequestBody ¶
type EnableOutOfOfficeJSONRequestBody EnableOutOfOfficeJSONBody
EnableOutOfOfficeJSONRequestBody defines body for EnableOutOfOffice for application/json ContentType.
type EnableOutOfOfficeResponse ¶
type EnableOutOfOfficeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseEnableOutOfOfficeResponse ¶
func ParseEnableOutOfOfficeResponse(rsp *http.Response) (*EnableOutOfOfficeResponse, error)
ParseEnableOutOfOfficeResponse parses an HTTP response from a EnableOutOfOfficeWithResponse call
func (EnableOutOfOfficeResponse) ContentType ¶ added in v0.2.0
func (r EnableOutOfOfficeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EnableOutOfOfficeResponse) Status ¶
func (r EnableOutOfOfficeResponse) Status() string
Status returns HTTPResponse.Status
func (EnableOutOfOfficeResponse) StatusCode ¶
func (r EnableOutOfOfficeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ErrorResponse ¶
type ErrorResponse struct {
Errors *[]string `json:"errors,omitempty"`
}
ErrorResponse defines model for ErrorResponse.
type Event ¶
type Event struct {
Author *UserBasic `json:"author,omitempty"`
Comment *struct {
Id *int `json:"id,omitempty"`
} `json:"comment,omitempty"`
// DateAction Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateAction *freelotime.Time `json:"date_action,omitempty"`
Document *struct {
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"document,omitempty"`
// DueDate Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DueDate *freelotime.Time `json:"due_date,omitempty"`
// DueDateEnd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DueDateEnd *freelotime.Time `json:"due_date_end,omitempty"`
File *struct {
Caption *string `json:"caption,omitempty"`
Filename *string `json:"filename,omitempty"`
Id *int `json:"id,omitempty"`
Uuid *openapi_types.UUID `json:"uuid,omitempty"`
} `json:"file,omitempty"`
Id *int `json:"id,omitempty"`
Project *ProjectBasic `json:"project,omitempty"`
Task *struct {
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"task,omitempty"`
TaskCheck *struct {
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"task_check,omitempty"`
Tasklist *TasklistBasic `json:"tasklist,omitempty"`
Type *string `json:"type,omitempty"`
Who *UserBasic `json:"who,omitempty"`
}
Event defines model for Event.
type FileBasic ¶
type FileBasic struct {
Filename *string `json:"filename,omitempty"`
Id *int `json:"id,omitempty"`
Size *int `json:"size,omitempty"`
Uuid *openapi_types.UUID `json:"uuid,omitempty"`
}
FileBasic defines model for FileBasic.
type FileFull ¶
type FileFull struct {
Caption *string `json:"caption,omitempty"`
// DateAdd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateAdd *freelotime.Time `json:"date_add,omitempty"`
// DateEditedAt Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateEditedAt *freelotime.Time `json:"date_edited_at,omitempty"`
Description *string `json:"description,omitempty"`
Filename *string `json:"filename,omitempty"`
Id *int `json:"id,omitempty"`
Size *int `json:"size,omitempty"`
State *State `json:"state,omitempty"`
Uuid *openapi_types.UUID `json:"uuid,omitempty"`
}
FileFull defines model for FileFull.
type FileItem ¶
type FileItem struct {
Author *UserBasic `json:"author,omitempty"`
Caption *string `json:"caption,omitempty"`
Color *string `json:"color,omitempty"`
// DateAdd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateAdd *freelotime.Time `json:"date_add,omitempty"`
DirectoryUuid *openapi_types.UUID `json:"directory_uuid,omitempty"`
Extension *string `json:"extension,omitempty"`
Filename *string `json:"filename,omitempty"`
ItemsCount *int `json:"items_count,omitempty"`
Link *string `json:"link,omitempty"`
LinkType *string `json:"link_type,omitempty"`
MimeType *string `json:"mime_type,omitempty"`
Name *string `json:"name,omitempty"`
Note *string `json:"note,omitempty"`
Order *int `json:"order,omitempty"`
Project *ProjectBasic `json:"project,omitempty"`
Size *int `json:"size,omitempty"`
Type *FileItemType `json:"type,omitempty"`
Uuid *openapi_types.UUID `json:"uuid,omitempty"`
}
FileItem defines model for FileItem.
type FileItemType ¶
type FileItemType string
FileItemType defines model for FileItem.Type.
const ( FileItemTypeDirectory FileItemType = "directory" FileItemTypeDocument FileItemType = "document" FileItemTypeFile FileItemType = "file" FileItemTypeLink FileItemType = "link" )
Defines values for FileItemType.
func (FileItemType) Valid ¶
func (e FileItemType) Valid() bool
Valid indicates whether the value is a known member of the FileItemType enum.
type FileUpload ¶
type FileUpload struct {
// contains filtered or unexported fields
}
FileUpload A file to attach to a comment / task description / work report. Provide **one** of two variants: - **By uuid** — reference a file already uploaded via `POST /file/upload` (`{ "uuid": "…" }`). - **By download_url** — give a URL that Freelo downloads the file from server-side (`{ "download_url": "…" }`).
The variant is chosen by which key is present: if `uuid` is set it is used, otherwise `download_url` is downloaded. `caption` is optional in both.
func (FileUpload) AsFileUploadByUrl ¶ added in v0.3.0
func (t FileUpload) AsFileUploadByUrl() (FileUploadByUrl, error)
AsFileUploadByUrl returns the union data inside the FileUpload as a FileUploadByUrl
func (FileUpload) AsFileUploadByUuid ¶ added in v0.3.0
func (t FileUpload) AsFileUploadByUuid() (FileUploadByUuid, error)
AsFileUploadByUuid returns the union data inside the FileUpload as a FileUploadByUuid
func (*FileUpload) FromFileUploadByUrl ¶ added in v0.3.0
func (t *FileUpload) FromFileUploadByUrl(v FileUploadByUrl) error
FromFileUploadByUrl overwrites any union data inside the FileUpload as the provided FileUploadByUrl
func (*FileUpload) FromFileUploadByUuid ¶ added in v0.3.0
func (t *FileUpload) FromFileUploadByUuid(v FileUploadByUuid) error
FromFileUploadByUuid overwrites any union data inside the FileUpload as the provided FileUploadByUuid
func (FileUpload) MarshalJSON ¶ added in v0.3.0
func (t FileUpload) MarshalJSON() ([]byte, error)
func (*FileUpload) MergeFileUploadByUrl ¶ added in v0.3.0
func (t *FileUpload) MergeFileUploadByUrl(v FileUploadByUrl) error
MergeFileUploadByUrl performs a merge with any union data inside the FileUpload, using the provided FileUploadByUrl
func (*FileUpload) MergeFileUploadByUuid ¶ added in v0.3.0
func (t *FileUpload) MergeFileUploadByUuid(v FileUploadByUuid) error
MergeFileUploadByUuid performs a merge with any union data inside the FileUpload, using the provided FileUploadByUuid
func (*FileUpload) UnmarshalJSON ¶ added in v0.3.0
func (t *FileUpload) UnmarshalJSON(b []byte) error
type FileUploadByUrl ¶ added in v0.3.0
type FileUploadByUrl struct {
// Caption Optional caption. Ignored if empty.
Caption *string `json:"caption,omitempty"`
// DownloadUrl URL Freelo fetches the file from (server-side download).
DownloadUrl string `json:"download_url"`
Filename *string `json:"filename,omitempty"`
}
FileUploadByUrl defines model for FileUploadByUrl.
type FileUploadByUuid ¶ added in v0.3.0
type FileUploadByUuid struct {
// Caption Optional caption. Ignored if empty.
Caption *string `json:"caption,omitempty"`
// Uuid UUID returned by `POST /file/upload`.
Uuid openapi_types.UUID `json:"uuid"`
}
FileUploadByUuid defines model for FileUploadByUuid.
type FindAvailableProjectLabelsResponse ¶
type FindAvailableProjectLabelsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Labels *[]ProjectLabel `json:"labels,omitempty"`
}
}
func ParseFindAvailableProjectLabelsResponse ¶
func ParseFindAvailableProjectLabelsResponse(rsp *http.Response) (*FindAvailableProjectLabelsResponse, error)
ParseFindAvailableProjectLabelsResponse parses an HTTP response from a FindAvailableProjectLabelsWithResponse call
func (FindAvailableProjectLabelsResponse) ContentType ¶ added in v0.2.0
func (r FindAvailableProjectLabelsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FindAvailableProjectLabelsResponse) Status ¶
func (r FindAvailableProjectLabelsResponse) Status() string
Status returns HTTPResponse.Status
func (FindAvailableProjectLabelsResponse) StatusCode ¶
func (r FindAvailableProjectLabelsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FindAvailableTaskLabelsParams ¶ added in v0.3.1
type FindAvailableTaskLabelsParams struct {
// ProjectId Restrict results to labels used in this project (must be accessible to the caller).
ProjectId *int `form:"project_id,omitempty" json:"project_id,omitempty"`
}
FindAvailableTaskLabelsParams defines parameters for FindAvailableTaskLabels.
type FindAvailableTaskLabelsResponse ¶ added in v0.2.0
type FindAvailableTaskLabelsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Labels *[]TaskLabel `json:"labels,omitempty"`
}
}
func ParseFindAvailableTaskLabelsResponse ¶ added in v0.2.0
func ParseFindAvailableTaskLabelsResponse(rsp *http.Response) (*FindAvailableTaskLabelsResponse, error)
ParseFindAvailableTaskLabelsResponse parses an HTTP response from a FindAvailableTaskLabelsWithResponse call
func (FindAvailableTaskLabelsResponse) ContentType ¶ added in v0.2.0
func (r FindAvailableTaskLabelsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FindAvailableTaskLabelsResponse) Status ¶ added in v0.2.0
func (r FindAvailableTaskLabelsResponse) Status() string
Status returns HTTPResponse.Status
func (FindAvailableTaskLabelsResponse) StatusCode ¶ added in v0.2.0
func (r FindAvailableTaskLabelsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FindCustomFieldsByProjectResponse ¶
type FindCustomFieldsByProjectResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
CustomFields *[]CustomField `json:"custom_fields,omitempty"`
IsCommander *bool `json:"is_commander,omitempty"`
}
}
func ParseFindCustomFieldsByProjectResponse ¶
func ParseFindCustomFieldsByProjectResponse(rsp *http.Response) (*FindCustomFieldsByProjectResponse, error)
ParseFindCustomFieldsByProjectResponse parses an HTTP response from a FindCustomFieldsByProjectWithResponse call
func (FindCustomFieldsByProjectResponse) ContentType ¶ added in v0.2.0
func (r FindCustomFieldsByProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FindCustomFieldsByProjectResponse) Status ¶
func (r FindCustomFieldsByProjectResponse) Status() string
Status returns HTTPResponse.Status
func (FindCustomFieldsByProjectResponse) StatusCode ¶
func (r FindCustomFieldsByProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FindTaskRelationsBulkJSONBody ¶
type FindTaskRelationsBulkJSONBody struct {
// TaskIds List of task IDs (1–100 items).
TaskIds []int `json:"task_ids"`
}
FindTaskRelationsBulkJSONBody defines parameters for FindTaskRelationsBulk.
type FindTaskRelationsBulkJSONRequestBody ¶
type FindTaskRelationsBulkJSONRequestBody FindTaskRelationsBulkJSONBody
FindTaskRelationsBulkJSONRequestBody defines body for FindTaskRelationsBulk for application/json ContentType.
type FindTaskRelationsBulkResponse ¶
type FindTaskRelationsBulkResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Tasks *[]struct {
Relations *[]TaskRelation `json:"relations,omitempty"`
TaskId *int `json:"task_id,omitempty"`
} `json:"tasks,omitempty"`
}
}
func ParseFindTaskRelationsBulkResponse ¶
func ParseFindTaskRelationsBulkResponse(rsp *http.Response) (*FindTaskRelationsBulkResponse, error)
ParseFindTaskRelationsBulkResponse parses an HTTP response from a FindTaskRelationsBulkWithResponse call
func (FindTaskRelationsBulkResponse) ContentType ¶ added in v0.2.0
func (r FindTaskRelationsBulkResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FindTaskRelationsBulkResponse) Status ¶
func (r FindTaskRelationsBulkResponse) Status() string
Status returns HTTPResponse.Status
func (FindTaskRelationsBulkResponse) StatusCode ¶
func (r FindTaskRelationsBulkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FinishTaskJSONBody ¶ added in v0.3.1
type FinishTaskJSONBody struct {
// NotifyAuthor When true, the authenticated caller (the action author) is kept in the notification recipients even though they triggered the action. Useful for automations acting under your own token. Only takes effect if you are otherwise a subscriber/worker/tracking user of the target.
NotifyAuthor *bool `json:"notify_author,omitempty"`
}
FinishTaskJSONBody defines parameters for FinishTask.
type FinishTaskJSONRequestBody ¶ added in v0.3.1
type FinishTaskJSONRequestBody FinishTaskJSONBody
FinishTaskJSONRequestBody defines body for FinishTask for application/json ContentType.
type FinishTaskResponse ¶
type FinishTaskResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseFinishTaskResponse ¶
func ParseFinishTaskResponse(rsp *http.Response) (*FinishTaskResponse, error)
ParseFinishTaskResponse parses an HTTP response from a FinishTaskWithResponse call
func (FinishTaskResponse) ContentType ¶ added in v0.2.0
func (r FinishTaskResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FinishTaskResponse) Status ¶
func (r FinishTaskResponse) Status() string
Status returns HTTPResponse.Status
func (FinishTaskResponse) StatusCode ¶
func (r FinishTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FinishTaskcheckJSONBody ¶ added in v0.3.1
type FinishTaskcheckJSONBody struct {
// NotifyAuthor When true, the authenticated caller (the action author) is kept in the notification recipients even though they triggered the action. Useful for automations acting under your own token. Only takes effect if you are otherwise a subscriber/worker/tracking user of the target.
NotifyAuthor *bool `json:"notify_author,omitempty"`
}
FinishTaskcheckJSONBody defines parameters for FinishTaskcheck.
type FinishTaskcheckJSONRequestBody ¶ added in v0.3.1
type FinishTaskcheckJSONRequestBody FinishTaskcheckJSONBody
FinishTaskcheckJSONRequestBody defines body for FinishTaskcheck for application/json ContentType.
type FinishTaskcheckResponse ¶ added in v0.2.0
type FinishTaskcheckResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseFinishTaskcheckResponse ¶ added in v0.2.0
func ParseFinishTaskcheckResponse(rsp *http.Response) (*FinishTaskcheckResponse, error)
ParseFinishTaskcheckResponse parses an HTTP response from a FinishTaskcheckWithResponse call
func (FinishTaskcheckResponse) ContentType ¶ added in v0.2.0
func (r FinishTaskcheckResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FinishTaskcheckResponse) Status ¶ added in v0.2.0
func (r FinishTaskcheckResponse) Status() string
Status returns HTTPResponse.Status
func (FinishTaskcheckResponse) StatusCode ¶ added in v0.2.0
func (r FinishTaskcheckResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ForceDeleteEnumOptionResponse ¶
type ForceDeleteEnumOptionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseForceDeleteEnumOptionResponse ¶
func ParseForceDeleteEnumOptionResponse(rsp *http.Response) (*ForceDeleteEnumOptionResponse, error)
ParseForceDeleteEnumOptionResponse parses an HTTP response from a ForceDeleteEnumOptionWithResponse call
func (ForceDeleteEnumOptionResponse) ContentType ¶ added in v0.2.0
func (r ForceDeleteEnumOptionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ForceDeleteEnumOptionResponse) Status ¶
func (r ForceDeleteEnumOptionResponse) Status() string
Status returns HTTPResponse.Status
func (ForceDeleteEnumOptionResponse) StatusCode ¶
func (r ForceDeleteEnumOptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllCommentsParams ¶
type GetAllCommentsParams struct {
ProjectsIds *[]int `form:"projects_ids[],omitempty" json:"projects_ids[],omitempty"`
// Type Comment type
Type *GetAllCommentsParamsType `form:"type,omitempty" json:"type,omitempty"`
OrderBy *GetAllCommentsParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`
Order *GetAllCommentsParamsOrder `form:"order,omitempty" json:"order,omitempty"`
// P Page number (starting from 0). Alias of `page` — `p` takes precedence when both are provided.
P *PageParam `form:"p,omitempty" json:"p,omitempty"`
// Page Page number (starting from 0). Alias of `p` — `p` takes precedence when both are provided.
Page *PageAliasParam `form:"page,omitempty" json:"page,omitempty"`
}
GetAllCommentsParams defines parameters for GetAllComments.
type GetAllCommentsParamsOrder ¶
type GetAllCommentsParamsOrder string
GetAllCommentsParamsOrder defines parameters for GetAllComments.
const ( GetAllCommentsParamsOrderAsc GetAllCommentsParamsOrder = "asc" GetAllCommentsParamsOrderDesc GetAllCommentsParamsOrder = "desc" )
Defines values for GetAllCommentsParamsOrder.
func (GetAllCommentsParamsOrder) Valid ¶
func (e GetAllCommentsParamsOrder) Valid() bool
Valid indicates whether the value is a known member of the GetAllCommentsParamsOrder enum.
type GetAllCommentsParamsOrderBy ¶
type GetAllCommentsParamsOrderBy string
GetAllCommentsParamsOrderBy defines parameters for GetAllComments.
const ( GetAllCommentsParamsOrderByDateAdd GetAllCommentsParamsOrderBy = "date_add" GetAllCommentsParamsOrderByDateEditedAt GetAllCommentsParamsOrderBy = "date_edited_at" )
Defines values for GetAllCommentsParamsOrderBy.
func (GetAllCommentsParamsOrderBy) Valid ¶
func (e GetAllCommentsParamsOrderBy) Valid() bool
Valid indicates whether the value is a known member of the GetAllCommentsParamsOrderBy enum.
type GetAllCommentsParamsType ¶
type GetAllCommentsParamsType string
GetAllCommentsParamsType defines parameters for GetAllComments.
const ( GetAllCommentsParamsTypeAll GetAllCommentsParamsType = "all" GetAllCommentsParamsTypeDocument GetAllCommentsParamsType = "document" GetAllCommentsParamsTypeFile GetAllCommentsParamsType = "file" GetAllCommentsParamsTypeLink GetAllCommentsParamsType = "link" GetAllCommentsParamsTypeTask GetAllCommentsParamsType = "task" )
Defines values for GetAllCommentsParamsType.
func (GetAllCommentsParamsType) Valid ¶
func (e GetAllCommentsParamsType) Valid() bool
Valid indicates whether the value is a known member of the GetAllCommentsParamsType enum.
type GetAllCommentsResponse ¶
type GetAllCommentsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Count *int `json:"count,omitempty"`
Data *struct {
Comments *[]CommentFull `json:"comments,omitempty"`
} `json:"data,omitempty"`
Page *int `json:"page,omitempty"`
PerPage *int `json:"per_page,omitempty"`
Total *int `json:"total,omitempty"`
}
}
func ParseGetAllCommentsResponse ¶
func ParseGetAllCommentsResponse(rsp *http.Response) (*GetAllCommentsResponse, error)
ParseGetAllCommentsResponse parses an HTTP response from a GetAllCommentsWithResponse call
func (GetAllCommentsResponse) ContentType ¶ added in v0.2.0
func (r GetAllCommentsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAllCommentsResponse) Status ¶
func (r GetAllCommentsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllCommentsResponse) StatusCode ¶
func (r GetAllCommentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllDocsAndFilesParams ¶
type GetAllDocsAndFilesParams struct {
ProjectsIds *[]int `form:"projects_ids[],omitempty" json:"projects_ids[],omitempty"`
Type *GetAllDocsAndFilesParamsType `form:"type,omitempty" json:"type,omitempty"`
// P Page number (starting from 0). Alias of `page` — `p` takes precedence when both are provided.
P *PageParam `form:"p,omitempty" json:"p,omitempty"`
// Page Page number (starting from 0). Alias of `p` — `p` takes precedence when both are provided.
Page *PageAliasParam `form:"page,omitempty" json:"page,omitempty"`
}
GetAllDocsAndFilesParams defines parameters for GetAllDocsAndFiles.
type GetAllDocsAndFilesParamsType ¶
type GetAllDocsAndFilesParamsType string
GetAllDocsAndFilesParamsType defines parameters for GetAllDocsAndFiles.
const ( GetAllDocsAndFilesParamsTypeDirectory GetAllDocsAndFilesParamsType = "directory" GetAllDocsAndFilesParamsTypeDocument GetAllDocsAndFilesParamsType = "document" GetAllDocsAndFilesParamsTypeFile GetAllDocsAndFilesParamsType = "file" GetAllDocsAndFilesParamsTypeLink GetAllDocsAndFilesParamsType = "link" )
Defines values for GetAllDocsAndFilesParamsType.
func (GetAllDocsAndFilesParamsType) Valid ¶
func (e GetAllDocsAndFilesParamsType) Valid() bool
Valid indicates whether the value is a known member of the GetAllDocsAndFilesParamsType enum.
type GetAllDocsAndFilesResponse ¶
type GetAllDocsAndFilesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Count *int `json:"count,omitempty"`
Data *struct {
Items *[]FileItem `json:"items,omitempty"`
} `json:"data,omitempty"`
Page *int `json:"page,omitempty"`
PerPage *int `json:"per_page,omitempty"`
Total *int `json:"total,omitempty"`
}
}
func ParseGetAllDocsAndFilesResponse ¶
func ParseGetAllDocsAndFilesResponse(rsp *http.Response) (*GetAllDocsAndFilesResponse, error)
ParseGetAllDocsAndFilesResponse parses an HTTP response from a GetAllDocsAndFilesWithResponse call
func (GetAllDocsAndFilesResponse) ContentType ¶ added in v0.2.0
func (r GetAllDocsAndFilesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAllDocsAndFilesResponse) Status ¶
func (r GetAllDocsAndFilesResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllDocsAndFilesResponse) StatusCode ¶
func (r GetAllDocsAndFilesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllEventsParams ¶
type GetAllEventsParams struct {
ProjectsIds *[]int `form:"projects_ids[],omitempty" json:"projects_ids[],omitempty"`
UsersIds *[]int `form:"users_ids[],omitempty" json:"users_ids[],omitempty"`
EventsTypes *[]string `form:"events_types[],omitempty" json:"events_types[],omitempty"`
Order *GetAllEventsParamsOrder `form:"order,omitempty" json:"order,omitempty"`
DateRangeDateFrom *openapi_types.Date `form:"date_range[date_from],omitempty" json:"date_range[date_from],omitempty"`
DateRangeDateTo *openapi_types.Date `form:"date_range[date_to],omitempty" json:"date_range[date_to],omitempty"`
TasksIds *[]int `form:"tasks_ids[],omitempty" json:"tasks_ids[],omitempty"`
// P Page number (starting from 0). Alias of `page` — `p` takes precedence when both are provided.
P *PageParam `form:"p,omitempty" json:"p,omitempty"`
// Page Page number (starting from 0). Alias of `p` — `p` takes precedence when both are provided.
Page *PageAliasParam `form:"page,omitempty" json:"page,omitempty"`
}
GetAllEventsParams defines parameters for GetAllEvents.
type GetAllEventsParamsOrder ¶
type GetAllEventsParamsOrder string
GetAllEventsParamsOrder defines parameters for GetAllEvents.
const ( GetAllEventsParamsOrderAsc GetAllEventsParamsOrder = "asc" GetAllEventsParamsOrderDesc GetAllEventsParamsOrder = "desc" )
Defines values for GetAllEventsParamsOrder.
func (GetAllEventsParamsOrder) Valid ¶
func (e GetAllEventsParamsOrder) Valid() bool
Valid indicates whether the value is a known member of the GetAllEventsParamsOrder enum.
type GetAllEventsResponse ¶
type GetAllEventsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Count *int `json:"count,omitempty"`
Data *struct {
Events *[]Event `json:"events,omitempty"`
} `json:"data,omitempty"`
Page *int `json:"page,omitempty"`
PerPage *int `json:"per_page,omitempty"`
Total *int `json:"total,omitempty"`
}
}
func ParseGetAllEventsResponse ¶
func ParseGetAllEventsResponse(rsp *http.Response) (*GetAllEventsResponse, error)
ParseGetAllEventsResponse parses an HTTP response from a GetAllEventsWithResponse call
func (GetAllEventsResponse) ContentType ¶ added in v0.2.0
func (r GetAllEventsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAllEventsResponse) Status ¶
func (r GetAllEventsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllEventsResponse) StatusCode ¶
func (r GetAllEventsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllNotificationsParams ¶
type GetAllNotificationsParams struct {
ProjectsIds *[]int `form:"projects_ids[],omitempty" json:"projects_ids[],omitempty"`
// UsersIds Authors of notifications
UsersIds *[]int `form:"users_ids[],omitempty" json:"users_ids[],omitempty"`
TeamsUuids *[]openapi_types.UUID `form:"teams_uuids[],omitempty" json:"teams_uuids[],omitempty"`
Order *GetAllNotificationsParamsOrder `form:"order,omitempty" json:"order,omitempty"`
NotificationTypes *[]string `form:"notification_types[],omitempty" json:"notification_types[],omitempty"`
// OnlyUnread Only return unread notifications. Pass `1` to enable, `0` to disable — string values like `true`/`false` are not accepted and silently fall back to the default.
OnlyUnread *GetAllNotificationsParamsOnlyUnread `form:"only_unread,omitempty" json:"only_unread,omitempty"`
// P Page number (starting from 0). Alias of `page` — `p` takes precedence when both are provided.
P *PageParam `form:"p,omitempty" json:"p,omitempty"`
// Page Page number (starting from 0). Alias of `p` — `p` takes precedence when both are provided.
Page *PageAliasParam `form:"page,omitempty" json:"page,omitempty"`
}
GetAllNotificationsParams defines parameters for GetAllNotifications.
type GetAllNotificationsParamsOnlyUnread ¶ added in v0.2.0
type GetAllNotificationsParamsOnlyUnread int
GetAllNotificationsParamsOnlyUnread defines parameters for GetAllNotifications.
const ( GetAllNotificationsParamsOnlyUnreadN0 GetAllNotificationsParamsOnlyUnread = 0 GetAllNotificationsParamsOnlyUnreadN1 GetAllNotificationsParamsOnlyUnread = 1 )
Defines values for GetAllNotificationsParamsOnlyUnread.
func (GetAllNotificationsParamsOnlyUnread) Valid ¶ added in v0.2.0
func (e GetAllNotificationsParamsOnlyUnread) Valid() bool
Valid indicates whether the value is a known member of the GetAllNotificationsParamsOnlyUnread enum.
type GetAllNotificationsParamsOrder ¶
type GetAllNotificationsParamsOrder string
GetAllNotificationsParamsOrder defines parameters for GetAllNotifications.
const ( GetAllNotificationsParamsOrderAsc GetAllNotificationsParamsOrder = "asc" GetAllNotificationsParamsOrderDesc GetAllNotificationsParamsOrder = "desc" )
Defines values for GetAllNotificationsParamsOrder.
func (GetAllNotificationsParamsOrder) Valid ¶
func (e GetAllNotificationsParamsOrder) Valid() bool
Valid indicates whether the value is a known member of the GetAllNotificationsParamsOrder enum.
type GetAllNotificationsResponse ¶
type GetAllNotificationsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Count *int `json:"count,omitempty"`
Data *struct {
Notifications *[]Notification `json:"notifications,omitempty"`
} `json:"data,omitempty"`
Page *int `json:"page,omitempty"`
PerPage *int `json:"per_page,omitempty"`
Total *int `json:"total,omitempty"`
}
}
func ParseGetAllNotificationsResponse ¶
func ParseGetAllNotificationsResponse(rsp *http.Response) (*GetAllNotificationsResponse, error)
ParseGetAllNotificationsResponse parses an HTTP response from a GetAllNotificationsWithResponse call
func (GetAllNotificationsResponse) ContentType ¶ added in v0.2.0
func (r GetAllNotificationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAllNotificationsResponse) Status ¶
func (r GetAllNotificationsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllNotificationsResponse) StatusCode ¶
func (r GetAllNotificationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllProjectsParams ¶
type GetAllProjectsParams struct {
OrderBy *GetAllProjectsParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`
Order *GetAllProjectsParamsOrder `form:"order,omitempty" json:"order,omitempty"`
// Tags Filter by tags. Use "without" to get projects without tags.
Tags *[]string `form:"tags[],omitempty" json:"tags[],omitempty"`
// StatesIds Project states: 1=active, 2=archived, 3=template
StatesIds *[]GetAllProjectsParamsStatesIds `form:"states_ids[],omitempty" json:"states_ids[],omitempty"`
// UsersIds Filter by project owner IDs
UsersIds *[]int `form:"users_ids[],omitempty" json:"users_ids[],omitempty"`
CreatedInRangeDateFrom *openapi_types.Date `form:"created_in_range[date_from],omitempty" json:"created_in_range[date_from],omitempty"`
CreatedInRangeDateTo *openapi_types.Date `form:"created_in_range[date_to],omitempty" json:"created_in_range[date_to],omitempty"`
// P Page number (starting from 0). Alias of `page` — `p` takes precedence when both are provided.
P *PageParam `form:"p,omitempty" json:"p,omitempty"`
// Page Page number (starting from 0). Alias of `p` — `p` takes precedence when both are provided.
Page *PageAliasParam `form:"page,omitempty" json:"page,omitempty"`
}
GetAllProjectsParams defines parameters for GetAllProjects.
type GetAllProjectsParamsOrder ¶
type GetAllProjectsParamsOrder string
GetAllProjectsParamsOrder defines parameters for GetAllProjects.
const ( GetAllProjectsParamsOrderAsc GetAllProjectsParamsOrder = "asc" GetAllProjectsParamsOrderDesc GetAllProjectsParamsOrder = "desc" )
Defines values for GetAllProjectsParamsOrder.
func (GetAllProjectsParamsOrder) Valid ¶
func (e GetAllProjectsParamsOrder) Valid() bool
Valid indicates whether the value is a known member of the GetAllProjectsParamsOrder enum.
type GetAllProjectsParamsOrderBy ¶
type GetAllProjectsParamsOrderBy string
GetAllProjectsParamsOrderBy defines parameters for GetAllProjects.
const ( GetAllProjectsParamsOrderByDateAdd GetAllProjectsParamsOrderBy = "date_add" GetAllProjectsParamsOrderByDateEditedAt GetAllProjectsParamsOrderBy = "date_edited_at" GetAllProjectsParamsOrderByName GetAllProjectsParamsOrderBy = "name" )
Defines values for GetAllProjectsParamsOrderBy.
func (GetAllProjectsParamsOrderBy) Valid ¶
func (e GetAllProjectsParamsOrderBy) Valid() bool
Valid indicates whether the value is a known member of the GetAllProjectsParamsOrderBy enum.
type GetAllProjectsParamsStatesIds ¶
type GetAllProjectsParamsStatesIds int
GetAllProjectsParamsStatesIds defines parameters for GetAllProjects.
const ( GetAllProjectsParamsStatesIdsN1 GetAllProjectsParamsStatesIds = 1 GetAllProjectsParamsStatesIdsN2 GetAllProjectsParamsStatesIds = 2 GetAllProjectsParamsStatesIdsN3 GetAllProjectsParamsStatesIds = 3 )
Defines values for GetAllProjectsParamsStatesIds.
func (GetAllProjectsParamsStatesIds) Valid ¶
func (e GetAllProjectsParamsStatesIds) Valid() bool
Valid indicates whether the value is a known member of the GetAllProjectsParamsStatesIds enum.
type GetAllProjectsResponse ¶
type GetAllProjectsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Count *int `json:"count,omitempty"`
Data *struct {
Projects *[]ProjectFull `json:"projects,omitempty"`
} `json:"data,omitempty"`
Page *int `json:"page,omitempty"`
PerPage *int `json:"per_page,omitempty"`
Total *int `json:"total,omitempty"`
}
}
func ParseGetAllProjectsResponse ¶
func ParseGetAllProjectsResponse(rsp *http.Response) (*GetAllProjectsResponse, error)
ParseGetAllProjectsResponse parses an HTTP response from a GetAllProjectsWithResponse call
func (GetAllProjectsResponse) ContentType ¶ added in v0.2.0
func (r GetAllProjectsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAllProjectsResponse) Status ¶
func (r GetAllProjectsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllProjectsResponse) StatusCode ¶
func (r GetAllProjectsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllStatesResponse ¶
type GetAllStatesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
States *[]State `json:"states,omitempty"`
}
}
func ParseGetAllStatesResponse ¶
func ParseGetAllStatesResponse(rsp *http.Response) (*GetAllStatesResponse, error)
ParseGetAllStatesResponse parses an HTTP response from a GetAllStatesWithResponse call
func (GetAllStatesResponse) ContentType ¶ added in v0.2.0
func (r GetAllStatesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAllStatesResponse) Status ¶
func (r GetAllStatesResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllStatesResponse) StatusCode ¶
func (r GetAllStatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllTasklistsParams ¶
type GetAllTasklistsParams struct {
ProjectsIds *[]int `form:"projects_ids[],omitempty" json:"projects_ids[],omitempty"`
// States Restrict to tasklists in the given states. Defaults to both when omitted.
States *[]GetAllTasklistsParamsStates `form:"states[],omitempty" json:"states[],omitempty"`
OrderBy *GetAllTasklistsParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`
Order *GetAllTasklistsParamsOrder `form:"order,omitempty" json:"order,omitempty"`
// P Page number (starting from 0). Alias of `page` — `p` takes precedence when both are provided.
P *PageParam `form:"p,omitempty" json:"p,omitempty"`
// Page Page number (starting from 0). Alias of `p` — `p` takes precedence when both are provided.
Page *PageAliasParam `form:"page,omitempty" json:"page,omitempty"`
}
GetAllTasklistsParams defines parameters for GetAllTasklists.
type GetAllTasklistsParamsOrder ¶
type GetAllTasklistsParamsOrder string
GetAllTasklistsParamsOrder defines parameters for GetAllTasklists.
const ( GetAllTasklistsParamsOrderAsc GetAllTasklistsParamsOrder = "asc" GetAllTasklistsParamsOrderDesc GetAllTasklistsParamsOrder = "desc" )
Defines values for GetAllTasklistsParamsOrder.
func (GetAllTasklistsParamsOrder) Valid ¶
func (e GetAllTasklistsParamsOrder) Valid() bool
Valid indicates whether the value is a known member of the GetAllTasklistsParamsOrder enum.
type GetAllTasklistsParamsOrderBy ¶
type GetAllTasklistsParamsOrderBy string
GetAllTasklistsParamsOrderBy defines parameters for GetAllTasklists.
const ( GetAllTasklistsParamsOrderByDateAdd GetAllTasklistsParamsOrderBy = "date_add" GetAllTasklistsParamsOrderByDateEditedAt GetAllTasklistsParamsOrderBy = "date_edited_at" GetAllTasklistsParamsOrderByName GetAllTasklistsParamsOrderBy = "name" )
Defines values for GetAllTasklistsParamsOrderBy.
func (GetAllTasklistsParamsOrderBy) Valid ¶
func (e GetAllTasklistsParamsOrderBy) Valid() bool
Valid indicates whether the value is a known member of the GetAllTasklistsParamsOrderBy enum.
type GetAllTasklistsParamsStates ¶ added in v0.3.0
type GetAllTasklistsParamsStates string
GetAllTasklistsParamsStates defines parameters for GetAllTasklists.
const ( GetAllTasklistsParamsStatesActive GetAllTasklistsParamsStates = "active" GetAllTasklistsParamsStatesFinished GetAllTasklistsParamsStates = "finished" )
Defines values for GetAllTasklistsParamsStates.
func (GetAllTasklistsParamsStates) Valid ¶ added in v0.3.0
func (e GetAllTasklistsParamsStates) Valid() bool
Valid indicates whether the value is a known member of the GetAllTasklistsParamsStates enum.
type GetAllTasklistsResponse ¶
type GetAllTasklistsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Count *int `json:"count,omitempty"`
Data *struct {
Tasklists *[]TasklistFull `json:"tasklists,omitempty"`
} `json:"data,omitempty"`
Page *int `json:"page,omitempty"`
PerPage *int `json:"per_page,omitempty"`
Total *int `json:"total,omitempty"`
}
}
func ParseGetAllTasklistsResponse ¶
func ParseGetAllTasklistsResponse(rsp *http.Response) (*GetAllTasklistsResponse, error)
ParseGetAllTasklistsResponse parses an HTTP response from a GetAllTasklistsWithResponse call
func (GetAllTasklistsResponse) ContentType ¶ added in v0.2.0
func (r GetAllTasklistsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAllTasklistsResponse) Status ¶
func (r GetAllTasklistsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllTasklistsResponse) StatusCode ¶
func (r GetAllTasklistsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllTasksParams ¶
type GetAllTasksParams struct {
// SearchQuery Fulltext search query matched against the **task name only** (not descriptions, comments or files) and restricted to **top-level tasks** (subtasks and checklist items are excluded). For full-content or subtask/checklist search use `POST /search`.
SearchQuery *string `form:"search_query,omitempty" json:"search_query,omitempty"`
// StateId ID of the tasks state
StateId *int `form:"state_id,omitempty" json:"state_id,omitempty"`
// ProjectsIds Filter tasks by project IDs. If empty, tasks from all accessible projects are returned.
ProjectsIds *[]int `form:"projects_ids[],omitempty" json:"projects_ids[],omitempty"`
// TasklistsIds Filter tasks by tasklist IDs
TasklistsIds *[]int `form:"tasklists_ids[],omitempty" json:"tasklists_ids[],omitempty"`
// OrderBy When `due_date`, tasks without a due date are always last; all-day tasks sort at the start of their day (00:00). Results are tie-broken by task id for stable pagination.
OrderBy *GetAllTasksParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`
Order *GetAllTasksParamsOrder `form:"order,omitempty" json:"order,omitempty"`
// WithLabels Filter tasks that have at least one of the specified labels (case insensitive). Can be combined with with_label.
WithLabels *[]string `form:"with_labels[],omitempty" json:"with_labels[],omitempty"`
// WithLabel Filter tasks by a single label name (case insensitive). If with_labels[] is also provided, this value is merged into that array.
WithLabel *string `form:"with_label,omitempty" json:"with_label,omitempty"`
// WithoutLabel Exclude tasks that have the specified label (case insensitive)
WithoutLabel *string `form:"without_label,omitempty" json:"without_label,omitempty"`
// NoDueDate Only tasks with no due date. Pass `1` to enable, `0` to disable — string values like `true`/`false` are not accepted and silently fall back to the default.
NoDueDate *GetAllTasksParamsNoDueDate `form:"no_due_date,omitempty" json:"no_due_date,omitempty"`
// DueDateRangeDateFrom Filter tasks with due date on or after this date
DueDateRangeDateFrom *openapi_types.Date `form:"due_date_range[date_from],omitempty" json:"due_date_range[date_from],omitempty"`
// DueDateRangeDateTo Filter tasks with due date on or before this date
DueDateRangeDateTo *openapi_types.Date `form:"due_date_range[date_to],omitempty" json:"due_date_range[date_to],omitempty"`
// FinishedOverdue Only tasks finished after due date. Pass `1` to enable, `0` to disable — string values like `true`/`false` are not accepted and silently fall back to the default.
FinishedOverdue *GetAllTasksParamsFinishedOverdue `form:"finished_overdue,omitempty" json:"finished_overdue,omitempty"`
// FinishedDateRangeDateFrom Filter tasks finished on or after this date
FinishedDateRangeDateFrom *openapi_types.Date `form:"finished_date_range[date_from],omitempty" json:"finished_date_range[date_from],omitempty"`
// FinishedDateRangeDateTo Filter tasks finished on or before this date
FinishedDateRangeDateTo *openapi_types.Date `form:"finished_date_range[date_to],omitempty" json:"finished_date_range[date_to],omitempty"`
// WorkerId Filter by worker ID
WorkerId *int `form:"worker_id,omitempty" json:"worker_id,omitempty"`
// MyPriorities Only tasks in the authenticated user's priorities ("my priorities"). Pass `1` to enable, `0` to disable — string values like `true`/`false` are not accepted and silently fall back to the default.
MyPriorities *GetAllTasksParamsMyPriorities `form:"my_priorities,omitempty" json:"my_priorities,omitempty"`
// PriorityEnum Filter by task priority level: `l` (low), `m` (medium) or `h` (high). Omit to return tasks of any priority.
PriorityEnum *GetAllTasksParamsPriorityEnum `form:"priority_enum,omitempty" json:"priority_enum,omitempty"`
// P Page number (starting from 0). Alias of `page` — `p` takes precedence when both are provided.
P *PageParam `form:"p,omitempty" json:"p,omitempty"`
// Page Page number (starting from 0). Alias of `p` — `p` takes precedence when both are provided.
Page *PageAliasParam `form:"page,omitempty" json:"page,omitempty"`
}
GetAllTasksParams defines parameters for GetAllTasks.
type GetAllTasksParamsFinishedOverdue ¶ added in v0.2.0
type GetAllTasksParamsFinishedOverdue int
GetAllTasksParamsFinishedOverdue defines parameters for GetAllTasks.
const ( GetAllTasksParamsFinishedOverdueN0 GetAllTasksParamsFinishedOverdue = 0 GetAllTasksParamsFinishedOverdueN1 GetAllTasksParamsFinishedOverdue = 1 )
Defines values for GetAllTasksParamsFinishedOverdue.
func (GetAllTasksParamsFinishedOverdue) Valid ¶ added in v0.2.0
func (e GetAllTasksParamsFinishedOverdue) Valid() bool
Valid indicates whether the value is a known member of the GetAllTasksParamsFinishedOverdue enum.
type GetAllTasksParamsMyPriorities ¶ added in v0.2.0
type GetAllTasksParamsMyPriorities int
GetAllTasksParamsMyPriorities defines parameters for GetAllTasks.
const ( GetAllTasksParamsMyPrioritiesN0 GetAllTasksParamsMyPriorities = 0 GetAllTasksParamsMyPrioritiesN1 GetAllTasksParamsMyPriorities = 1 )
Defines values for GetAllTasksParamsMyPriorities.
func (GetAllTasksParamsMyPriorities) Valid ¶ added in v0.2.0
func (e GetAllTasksParamsMyPriorities) Valid() bool
Valid indicates whether the value is a known member of the GetAllTasksParamsMyPriorities enum.
type GetAllTasksParamsNoDueDate ¶ added in v0.2.0
type GetAllTasksParamsNoDueDate int
GetAllTasksParamsNoDueDate defines parameters for GetAllTasks.
const ( GetAllTasksParamsNoDueDateN0 GetAllTasksParamsNoDueDate = 0 GetAllTasksParamsNoDueDateN1 GetAllTasksParamsNoDueDate = 1 )
Defines values for GetAllTasksParamsNoDueDate.
func (GetAllTasksParamsNoDueDate) Valid ¶ added in v0.2.0
func (e GetAllTasksParamsNoDueDate) Valid() bool
Valid indicates whether the value is a known member of the GetAllTasksParamsNoDueDate enum.
type GetAllTasksParamsOrder ¶
type GetAllTasksParamsOrder string
GetAllTasksParamsOrder defines parameters for GetAllTasks.
const ( GetAllTasksParamsOrderAsc GetAllTasksParamsOrder = "asc" GetAllTasksParamsOrderDesc GetAllTasksParamsOrder = "desc" )
Defines values for GetAllTasksParamsOrder.
func (GetAllTasksParamsOrder) Valid ¶
func (e GetAllTasksParamsOrder) Valid() bool
Valid indicates whether the value is a known member of the GetAllTasksParamsOrder enum.
type GetAllTasksParamsOrderBy ¶
type GetAllTasksParamsOrderBy string
GetAllTasksParamsOrderBy defines parameters for GetAllTasks.
const ( GetAllTasksParamsOrderByDateAdd GetAllTasksParamsOrderBy = "date_add" GetAllTasksParamsOrderByDateEditedAt GetAllTasksParamsOrderBy = "date_edited_at" GetAllTasksParamsOrderByDueDate GetAllTasksParamsOrderBy = "due_date" GetAllTasksParamsOrderByName GetAllTasksParamsOrderBy = "name" GetAllTasksParamsOrderByPriority GetAllTasksParamsOrderBy = "priority" )
Defines values for GetAllTasksParamsOrderBy.
func (GetAllTasksParamsOrderBy) Valid ¶
func (e GetAllTasksParamsOrderBy) Valid() bool
Valid indicates whether the value is a known member of the GetAllTasksParamsOrderBy enum.
type GetAllTasksParamsPriorityEnum ¶ added in v0.2.1
type GetAllTasksParamsPriorityEnum string
GetAllTasksParamsPriorityEnum defines parameters for GetAllTasks.
const ( GetAllTasksParamsPriorityEnumH GetAllTasksParamsPriorityEnum = "h" GetAllTasksParamsPriorityEnumL GetAllTasksParamsPriorityEnum = "l" GetAllTasksParamsPriorityEnumM GetAllTasksParamsPriorityEnum = "m" )
Defines values for GetAllTasksParamsPriorityEnum.
func (GetAllTasksParamsPriorityEnum) Valid ¶ added in v0.2.1
func (e GetAllTasksParamsPriorityEnum) Valid() bool
Valid indicates whether the value is a known member of the GetAllTasksParamsPriorityEnum enum.
type GetAllTasksResponse ¶
type GetAllTasksResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Count *int `json:"count,omitempty"`
Data *struct {
Tasks *[]TaskFull `json:"tasks,omitempty"`
} `json:"data,omitempty"`
Page *int `json:"page,omitempty"`
PerPage *int `json:"per_page,omitempty"`
Total *int `json:"total,omitempty"`
}
}
func ParseGetAllTasksResponse ¶
func ParseGetAllTasksResponse(rsp *http.Response) (*GetAllTasksResponse, error)
ParseGetAllTasksResponse parses an HTTP response from a GetAllTasksWithResponse call
func (GetAllTasksResponse) ContentType ¶ added in v0.2.0
func (r GetAllTasksResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAllTasksResponse) Status ¶
func (r GetAllTasksResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllTasksResponse) StatusCode ¶
func (r GetAllTasksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllUsersParams ¶
type GetAllUsersParams struct {
// P Page number (starting from 0). Alias of `page` — `p` takes precedence when both are provided.
P *PageParam `form:"p,omitempty" json:"p,omitempty"`
// Page Page number (starting from 0). Alias of `p` — `p` takes precedence when both are provided.
Page *PageAliasParam `form:"page,omitempty" json:"page,omitempty"`
}
GetAllUsersParams defines parameters for GetAllUsers.
type GetAllUsersResponse ¶
type GetAllUsersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Count *int `json:"count,omitempty"`
Data *struct {
Users *[]UserWithEmail `json:"users,omitempty"`
} `json:"data,omitempty"`
Page *int `json:"page,omitempty"`
PerPage *int `json:"per_page,omitempty"`
Total *int `json:"total,omitempty"`
}
}
func ParseGetAllUsersResponse ¶
func ParseGetAllUsersResponse(rsp *http.Response) (*GetAllUsersResponse, error)
ParseGetAllUsersResponse parses an HTTP response from a GetAllUsersWithResponse call
func (GetAllUsersResponse) ContentType ¶ added in v0.2.0
func (r GetAllUsersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAllUsersResponse) Status ¶
func (r GetAllUsersResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllUsersResponse) StatusCode ¶
func (r GetAllUsersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetArchivedProjectsParams ¶
type GetArchivedProjectsParams struct {
// P Page number (starting from 0). Alias of `page` — `p` takes precedence when both are provided.
P *PageParam `form:"p,omitempty" json:"p,omitempty"`
// Page Page number (starting from 0). Alias of `p` — `p` takes precedence when both are provided.
Page *PageAliasParam `form:"page,omitempty" json:"page,omitempty"`
}
GetArchivedProjectsParams defines parameters for GetArchivedProjects.
type GetArchivedProjectsResponse ¶
type GetArchivedProjectsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Count *int `json:"count,omitempty"`
Data *struct {
ArchivedProjects *[]ProjectWithTasklists `json:"archived_projects,omitempty"`
} `json:"data,omitempty"`
Page *int `json:"page,omitempty"`
PerPage *int `json:"per_page,omitempty"`
Total *int `json:"total,omitempty"`
}
}
func ParseGetArchivedProjectsResponse ¶
func ParseGetArchivedProjectsResponse(rsp *http.Response) (*GetArchivedProjectsResponse, error)
ParseGetArchivedProjectsResponse parses an HTTP response from a GetArchivedProjectsWithResponse call
func (GetArchivedProjectsResponse) ContentType ¶ added in v0.2.0
func (r GetArchivedProjectsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetArchivedProjectsResponse) Status ¶
func (r GetArchivedProjectsResponse) Status() string
Status returns HTTPResponse.Status
func (GetArchivedProjectsResponse) StatusCode ¶
func (r GetArchivedProjectsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAssignableWorkersResponse ¶
type GetAssignableWorkersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]UserWithEmail
}
func ParseGetAssignableWorkersResponse ¶
func ParseGetAssignableWorkersResponse(rsp *http.Response) (*GetAssignableWorkersResponse, error)
ParseGetAssignableWorkersResponse parses an HTTP response from a GetAssignableWorkersWithResponse call
func (GetAssignableWorkersResponse) ContentType ¶ added in v0.2.0
func (r GetAssignableWorkersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAssignableWorkersResponse) Status ¶
func (r GetAssignableWorkersResponse) Status() string
Status returns HTTPResponse.Status
func (GetAssignableWorkersResponse) StatusCode ¶
func (r GetAssignableWorkersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCustomFieldTypesResponse ¶
type GetCustomFieldTypesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
CustomFieldTypes *[]struct {
Name *string `json:"name,omitempty"`
Uuid *openapi_types.UUID `json:"uuid,omitempty"`
} `json:"custom_field_types,omitempty"`
}
}
func ParseGetCustomFieldTypesResponse ¶
func ParseGetCustomFieldTypesResponse(rsp *http.Response) (*GetCustomFieldTypesResponse, error)
ParseGetCustomFieldTypesResponse parses an HTTP response from a GetCustomFieldTypesWithResponse call
func (GetCustomFieldTypesResponse) ContentType ¶ added in v0.2.0
func (r GetCustomFieldTypesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCustomFieldTypesResponse) Status ¶
func (r GetCustomFieldTypesResponse) Status() string
Status returns HTTPResponse.Status
func (GetCustomFieldTypesResponse) StatusCode ¶
func (r GetCustomFieldTypesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEnumOptionsForCustomFieldResponse ¶
type GetEnumOptionsForCustomFieldResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
CustomFieldEnum *[]CustomFieldEnumOption `json:"custom_field_enum,omitempty"`
}
}
func ParseGetEnumOptionsForCustomFieldResponse ¶
func ParseGetEnumOptionsForCustomFieldResponse(rsp *http.Response) (*GetEnumOptionsForCustomFieldResponse, error)
ParseGetEnumOptionsForCustomFieldResponse parses an HTTP response from a GetEnumOptionsForCustomFieldWithResponse call
func (GetEnumOptionsForCustomFieldResponse) ContentType ¶ added in v0.2.0
func (r GetEnumOptionsForCustomFieldResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEnumOptionsForCustomFieldResponse) Status ¶
func (r GetEnumOptionsForCustomFieldResponse) Status() string
Status returns HTTPResponse.Status
func (GetEnumOptionsForCustomFieldResponse) StatusCode ¶
func (r GetEnumOptionsForCustomFieldResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFinishedTasksParams ¶
type GetFinishedTasksParams struct {
SearchQuery *string `form:"search_query,omitempty" json:"search_query,omitempty"`
// P Page number (starting from 0). Alias of `page` — `p` takes precedence when both are provided.
P *PageParam `form:"p,omitempty" json:"p,omitempty"`
// Page Page number (starting from 0). Alias of `p` — `p` takes precedence when both are provided.
Page *PageAliasParam `form:"page,omitempty" json:"page,omitempty"`
}
GetFinishedTasksParams defines parameters for GetFinishedTasks.
type GetFinishedTasksResponse ¶
type GetFinishedTasksResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Count *int `json:"count,omitempty"`
Data *struct {
FinishedTasks *[]TaskFinished `json:"finished_tasks,omitempty"`
} `json:"data,omitempty"`
Page *int `json:"page,omitempty"`
PerPage *int `json:"per_page,omitempty"`
Total *int `json:"total,omitempty"`
}
}
func ParseGetFinishedTasksResponse ¶
func ParseGetFinishedTasksResponse(rsp *http.Response) (*GetFinishedTasksResponse, error)
ParseGetFinishedTasksResponse parses an HTTP response from a GetFinishedTasksWithResponse call
func (GetFinishedTasksResponse) ContentType ¶ added in v0.2.0
func (r GetFinishedTasksResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetFinishedTasksResponse) Status ¶
func (r GetFinishedTasksResponse) Status() string
Status returns HTTPResponse.Status
func (GetFinishedTasksResponse) StatusCode ¶
func (r GetFinishedTasksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetInvitedProjectsParams ¶
type GetInvitedProjectsParams struct {
// P Page number (starting from 0). Alias of `page` — `p` takes precedence when both are provided.
P *PageParam `form:"p,omitempty" json:"p,omitempty"`
// Page Page number (starting from 0). Alias of `p` — `p` takes precedence when both are provided.
Page *PageAliasParam `form:"page,omitempty" json:"page,omitempty"`
}
GetInvitedProjectsParams defines parameters for GetInvitedProjects.
type GetInvitedProjectsResponse ¶
type GetInvitedProjectsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Count *int `json:"count,omitempty"`
Data *struct {
InvitedProjects *[]ProjectWithTasklists `json:"invited_projects,omitempty"`
} `json:"data,omitempty"`
Page *int `json:"page,omitempty"`
PerPage *int `json:"per_page,omitempty"`
Total *int `json:"total,omitempty"`
}
}
func ParseGetInvitedProjectsResponse ¶
func ParseGetInvitedProjectsResponse(rsp *http.Response) (*GetInvitedProjectsResponse, error)
ParseGetInvitedProjectsResponse parses an HTTP response from a GetInvitedProjectsWithResponse call
func (GetInvitedProjectsResponse) ContentType ¶ added in v0.2.0
func (r GetInvitedProjectsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetInvitedProjectsResponse) Status ¶
func (r GetInvitedProjectsResponse) Status() string
Status returns HTTPResponse.Status
func (GetInvitedProjectsResponse) StatusCode ¶
func (r GetInvitedProjectsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIssuedInvoiceDetailResponse ¶
type GetIssuedInvoiceDetailResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *IssuedInvoiceDetail
}
func ParseGetIssuedInvoiceDetailResponse ¶
func ParseGetIssuedInvoiceDetailResponse(rsp *http.Response) (*GetIssuedInvoiceDetailResponse, error)
ParseGetIssuedInvoiceDetailResponse parses an HTTP response from a GetIssuedInvoiceDetailWithResponse call
func (GetIssuedInvoiceDetailResponse) ContentType ¶ added in v0.2.0
func (r GetIssuedInvoiceDetailResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetIssuedInvoiceDetailResponse) Status ¶
func (r GetIssuedInvoiceDetailResponse) Status() string
Status returns HTTPResponse.Status
func (GetIssuedInvoiceDetailResponse) StatusCode ¶
func (r GetIssuedInvoiceDetailResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIssuedInvoiceReportsJsonResponse ¶
type GetIssuedInvoiceReportsJsonResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]WorkReportExtended
}
func ParseGetIssuedInvoiceReportsJsonResponse ¶
func ParseGetIssuedInvoiceReportsJsonResponse(rsp *http.Response) (*GetIssuedInvoiceReportsJsonResponse, error)
ParseGetIssuedInvoiceReportsJsonResponse parses an HTTP response from a GetIssuedInvoiceReportsJsonWithResponse call
func (GetIssuedInvoiceReportsJsonResponse) ContentType ¶ added in v0.2.0
func (r GetIssuedInvoiceReportsJsonResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetIssuedInvoiceReportsJsonResponse) Status ¶
func (r GetIssuedInvoiceReportsJsonResponse) Status() string
Status returns HTTPResponse.Status
func (GetIssuedInvoiceReportsJsonResponse) StatusCode ¶
func (r GetIssuedInvoiceReportsJsonResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIssuedInvoicesParams ¶
type GetIssuedInvoicesParams struct {
DateRangeDateFrom *openapi_types.Date `form:"date_range[date_from],omitempty" json:"date_range[date_from],omitempty"`
DateRangeDateTo *openapi_types.Date `form:"date_range[date_to],omitempty" json:"date_range[date_to],omitempty"`
ProjectsIds *[]int `form:"projects_ids[],omitempty" json:"projects_ids[],omitempty"`
// P Page number (starting from 0). Alias of `page` — `p` takes precedence when both are provided.
P *PageParam `form:"p,omitempty" json:"p,omitempty"`
// Page Page number (starting from 0). Alias of `p` — `p` takes precedence when both are provided.
Page *PageAliasParam `form:"page,omitempty" json:"page,omitempty"`
}
GetIssuedInvoicesParams defines parameters for GetIssuedInvoices.
type GetIssuedInvoicesResponse ¶
type GetIssuedInvoicesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Count *int `json:"count,omitempty"`
Data *struct {
IssuedInvoices *[]IssuedInvoice `json:"issued_invoices,omitempty"`
} `json:"data,omitempty"`
Page *int `json:"page,omitempty"`
PerPage *int `json:"per_page,omitempty"`
Total *int `json:"total,omitempty"`
}
}
func ParseGetIssuedInvoicesResponse ¶
func ParseGetIssuedInvoicesResponse(rsp *http.Response) (*GetIssuedInvoicesResponse, error)
ParseGetIssuedInvoicesResponse parses an HTTP response from a GetIssuedInvoicesWithResponse call
func (GetIssuedInvoicesResponse) ContentType ¶ added in v0.2.0
func (r GetIssuedInvoicesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetIssuedInvoicesResponse) Status ¶
func (r GetIssuedInvoicesResponse) Status() string
Status returns HTTPResponse.Status
func (GetIssuedInvoicesResponse) StatusCode ¶
func (r GetIssuedInvoicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNoteResponse ¶
func ParseGetNoteResponse ¶
func ParseGetNoteResponse(rsp *http.Response) (*GetNoteResponse, error)
ParseGetNoteResponse parses an HTTP response from a GetNoteWithResponse call
func (GetNoteResponse) ContentType ¶ added in v0.2.0
func (r GetNoteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetNoteResponse) Status ¶
func (r GetNoteResponse) Status() string
Status returns HTTPResponse.Status
func (GetNoteResponse) StatusCode ¶
func (r GetNoteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOutOfOfficeResponse ¶
type GetOutOfOfficeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
OutOfOffice *struct {
// DateFrom Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateFrom *freelotime.Time `json:"date_from,omitempty"`
// DateTo Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateTo *freelotime.Time `json:"date_to,omitempty"`
} `json:"out_of_office,omitempty"`
}
}
func ParseGetOutOfOfficeResponse ¶
func ParseGetOutOfOfficeResponse(rsp *http.Response) (*GetOutOfOfficeResponse, error)
ParseGetOutOfOfficeResponse parses an HTTP response from a GetOutOfOfficeWithResponse call
func (GetOutOfOfficeResponse) ContentType ¶ added in v0.2.0
func (r GetOutOfOfficeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOutOfOfficeResponse) Status ¶
func (r GetOutOfOfficeResponse) Status() string
Status returns HTTPResponse.Status
func (GetOutOfOfficeResponse) StatusCode ¶
func (r GetOutOfOfficeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPinnedItemsResponse ¶
type GetPinnedItemsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]PinnedItem
}
func ParseGetPinnedItemsResponse ¶
func ParseGetPinnedItemsResponse(rsp *http.Response) (*GetPinnedItemsResponse, error)
ParseGetPinnedItemsResponse parses an HTTP response from a GetPinnedItemsWithResponse call
func (GetPinnedItemsResponse) ContentType ¶ added in v0.2.0
func (r GetPinnedItemsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPinnedItemsResponse) Status ¶
func (r GetPinnedItemsResponse) Status() string
Status returns HTTPResponse.Status
func (GetPinnedItemsResponse) StatusCode ¶
func (r GetPinnedItemsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProjectManagerOfResponse ¶
type GetProjectManagerOfResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]UserBasic
}
func ParseGetProjectManagerOfResponse ¶
func ParseGetProjectManagerOfResponse(rsp *http.Response) (*GetProjectManagerOfResponse, error)
ParseGetProjectManagerOfResponse parses an HTTP response from a GetProjectManagerOfWithResponse call
func (GetProjectManagerOfResponse) ContentType ¶ added in v0.2.0
func (r GetProjectManagerOfResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetProjectManagerOfResponse) Status ¶
func (r GetProjectManagerOfResponse) Status() string
Status returns HTTPResponse.Status
func (GetProjectManagerOfResponse) StatusCode ¶
func (r GetProjectManagerOfResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProjectResponse ¶
type GetProjectResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProjectDetail
}
func ParseGetProjectResponse ¶
func ParseGetProjectResponse(rsp *http.Response) (*GetProjectResponse, error)
ParseGetProjectResponse parses an HTTP response from a GetProjectWithResponse call
func (GetProjectResponse) ContentType ¶ added in v0.2.0
func (r GetProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetProjectResponse) Status ¶
func (r GetProjectResponse) Status() string
Status returns HTTPResponse.Status
func (GetProjectResponse) StatusCode ¶
func (r GetProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProjectWorkersParams ¶
type GetProjectWorkersParams struct {
// P Page number (starting from 0). Alias of `page` — `p` takes precedence when both are provided.
P *PageParam `form:"p,omitempty" json:"p,omitempty"`
// Page Page number (starting from 0). Alias of `p` — `p` takes precedence when both are provided.
Page *PageAliasParam `form:"page,omitempty" json:"page,omitempty"`
}
GetProjectWorkersParams defines parameters for GetProjectWorkers.
type GetProjectWorkersResponse ¶
type GetProjectWorkersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Count *int `json:"count,omitempty"`
Data *struct {
Workers *[]UserWithEmail `json:"workers,omitempty"`
} `json:"data,omitempty"`
Page *int `json:"page,omitempty"`
PerPage *int `json:"per_page,omitempty"`
Total *int `json:"total,omitempty"`
}
}
func ParseGetProjectWorkersResponse ¶
func ParseGetProjectWorkersResponse(rsp *http.Response) (*GetProjectWorkersResponse, error)
ParseGetProjectWorkersResponse parses an HTTP response from a GetProjectWorkersWithResponse call
func (GetProjectWorkersResponse) ContentType ¶ added in v0.2.0
func (r GetProjectWorkersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetProjectWorkersResponse) Status ¶
func (r GetProjectWorkersResponse) Status() string
Status returns HTTPResponse.Status
func (GetProjectWorkersResponse) StatusCode ¶
func (r GetProjectWorkersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProjectsParams ¶
type GetProjectsParams struct {
// OrderBy Order column
OrderBy *GetProjectsParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`
// Order Order direction
Order *GetProjectsParamsOrder `form:"order,omitempty" json:"order,omitempty"`
}
GetProjectsParams defines parameters for GetProjects.
type GetProjectsParamsOrder ¶
type GetProjectsParamsOrder string
GetProjectsParamsOrder defines parameters for GetProjects.
const ( GetProjectsParamsOrderAsc GetProjectsParamsOrder = "asc" GetProjectsParamsOrderDesc GetProjectsParamsOrder = "desc" )
Defines values for GetProjectsParamsOrder.
func (GetProjectsParamsOrder) Valid ¶
func (e GetProjectsParamsOrder) Valid() bool
Valid indicates whether the value is a known member of the GetProjectsParamsOrder enum.
type GetProjectsParamsOrderBy ¶
type GetProjectsParamsOrderBy string
GetProjectsParamsOrderBy defines parameters for GetProjects.
const ( GetProjectsParamsOrderByDateAdd GetProjectsParamsOrderBy = "date_add" GetProjectsParamsOrderByDateEditedAt GetProjectsParamsOrderBy = "date_edited_at" GetProjectsParamsOrderByName GetProjectsParamsOrderBy = "name" )
Defines values for GetProjectsParamsOrderBy.
func (GetProjectsParamsOrderBy) Valid ¶
func (e GetProjectsParamsOrderBy) Valid() bool
Valid indicates whether the value is a known member of the GetProjectsParamsOrderBy enum.
type GetProjectsResponse ¶
type GetProjectsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]ProjectWithTasklists
}
func ParseGetProjectsResponse ¶
func ParseGetProjectsResponse(rsp *http.Response) (*GetProjectsResponse, error)
ParseGetProjectsResponse parses an HTTP response from a GetProjectsWithResponse call
func (GetProjectsResponse) ContentType ¶ added in v0.2.0
func (r GetProjectsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetProjectsResponse) Status ¶
func (r GetProjectsResponse) Status() string
Status returns HTTPResponse.Status
func (GetProjectsResponse) StatusCode ¶
func (r GetProjectsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPublicLinkToTaskResponse ¶
type GetPublicLinkToTaskResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Url *string `json:"url,omitempty"`
}
}
func ParseGetPublicLinkToTaskResponse ¶
func ParseGetPublicLinkToTaskResponse(rsp *http.Response) (*GetPublicLinkToTaskResponse, error)
ParseGetPublicLinkToTaskResponse parses an HTTP response from a GetPublicLinkToTaskWithResponse call
func (GetPublicLinkToTaskResponse) ContentType ¶ added in v0.2.0
func (r GetPublicLinkToTaskResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPublicLinkToTaskResponse) Status ¶
func (r GetPublicLinkToTaskResponse) Status() string
Status returns HTTPResponse.Status
func (GetPublicLinkToTaskResponse) StatusCode ¶
func (r GetPublicLinkToTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSubtasksInTaskParams ¶
type GetSubtasksInTaskParams struct {
// P Page number (starting from 0). Alias of `page` — `p` takes precedence when both are provided.
P *PageParam `form:"p,omitempty" json:"p,omitempty"`
// Page Page number (starting from 0). Alias of `p` — `p` takes precedence when both are provided.
Page *PageAliasParam `form:"page,omitempty" json:"page,omitempty"`
}
GetSubtasksInTaskParams defines parameters for GetSubtasksInTask.
type GetSubtasksInTaskResponse ¶
type GetSubtasksInTaskResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Count *int `json:"count,omitempty"`
Data *struct {
Subtasks *[]Subtask `json:"subtasks,omitempty"`
} `json:"data,omitempty"`
Page *int `json:"page,omitempty"`
PerPage *int `json:"per_page,omitempty"`
Total *int `json:"total,omitempty"`
}
}
func ParseGetSubtasksInTaskResponse ¶
func ParseGetSubtasksInTaskResponse(rsp *http.Response) (*GetSubtasksInTaskResponse, error)
ParseGetSubtasksInTaskResponse parses an HTTP response from a GetSubtasksInTaskWithResponse call
func (GetSubtasksInTaskResponse) ContentType ¶ added in v0.2.0
func (r GetSubtasksInTaskResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSubtasksInTaskResponse) Status ¶
func (r GetSubtasksInTaskResponse) Status() string
Status returns HTTPResponse.Status
func (GetSubtasksInTaskResponse) StatusCode ¶
func (r GetSubtasksInTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTaskDescriptionResponse ¶
func ParseGetTaskDescriptionResponse ¶
func ParseGetTaskDescriptionResponse(rsp *http.Response) (*GetTaskDescriptionResponse, error)
ParseGetTaskDescriptionResponse parses an HTTP response from a GetTaskDescriptionWithResponse call
func (GetTaskDescriptionResponse) ContentType ¶ added in v0.2.0
func (r GetTaskDescriptionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTaskDescriptionResponse) Status ¶
func (r GetTaskDescriptionResponse) Status() string
Status returns HTTPResponse.Status
func (GetTaskDescriptionResponse) StatusCode ¶
func (r GetTaskDescriptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTaskLabelColorsResponse ¶ added in v0.2.1
type GetTaskLabelColorsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Colors *[]TaskLabelColor `json:"colors,omitempty"`
}
}
func ParseGetTaskLabelColorsResponse ¶ added in v0.2.1
func ParseGetTaskLabelColorsResponse(rsp *http.Response) (*GetTaskLabelColorsResponse, error)
ParseGetTaskLabelColorsResponse parses an HTTP response from a GetTaskLabelColorsWithResponse call
func (GetTaskLabelColorsResponse) ContentType ¶ added in v0.2.1
func (r GetTaskLabelColorsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTaskLabelColorsResponse) Status ¶ added in v0.2.1
func (r GetTaskLabelColorsResponse) Status() string
Status returns HTTPResponse.Status
func (GetTaskLabelColorsResponse) StatusCode ¶ added in v0.2.1
func (r GetTaskLabelColorsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTaskParams ¶ added in v0.3.0
type GetTaskParams struct {
// CommentsOrder Sort direction for inline comments by date_add. Defaults to asc (oldest first).
CommentsOrder *GetTaskParamsCommentsOrder `form:"comments_order,omitempty" json:"comments_order,omitempty"`
// CommentsLimit Max number of inline comments to return after ordering. Omit for all comments; 0 returns none.
CommentsLimit *int `form:"comments_limit,omitempty" json:"comments_limit,omitempty"`
}
GetTaskParams defines parameters for GetTask.
type GetTaskParamsCommentsOrder ¶ added in v0.3.0
type GetTaskParamsCommentsOrder string
GetTaskParamsCommentsOrder defines parameters for GetTask.
const ( GetTaskParamsCommentsOrderAsc GetTaskParamsCommentsOrder = "asc" GetTaskParamsCommentsOrderDesc GetTaskParamsCommentsOrder = "desc" )
Defines values for GetTaskParamsCommentsOrder.
func (GetTaskParamsCommentsOrder) Valid ¶ added in v0.3.0
func (e GetTaskParamsCommentsOrder) Valid() bool
Valid indicates whether the value is a known member of the GetTaskParamsCommentsOrder enum.
type GetTaskRelationsResponse ¶
type GetTaskRelationsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Relations *[]TaskRelation `json:"relations,omitempty"`
}
}
func ParseGetTaskRelationsResponse ¶
func ParseGetTaskRelationsResponse(rsp *http.Response) (*GetTaskRelationsResponse, error)
ParseGetTaskRelationsResponse parses an HTTP response from a GetTaskRelationsWithResponse call
func (GetTaskRelationsResponse) ContentType ¶ added in v0.2.0
func (r GetTaskRelationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTaskRelationsResponse) Status ¶
func (r GetTaskRelationsResponse) Status() string
Status returns HTTPResponse.Status
func (GetTaskRelationsResponse) StatusCode ¶
func (r GetTaskRelationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTaskResponse ¶
type GetTaskResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TaskDetail
}
func ParseGetTaskResponse ¶
func ParseGetTaskResponse(rsp *http.Response) (*GetTaskResponse, error)
ParseGetTaskResponse parses an HTTP response from a GetTaskWithResponse call
func (GetTaskResponse) ContentType ¶ added in v0.2.0
func (r GetTaskResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTaskResponse) Status ¶
func (r GetTaskResponse) Status() string
Status returns HTTPResponse.Status
func (GetTaskResponse) StatusCode ¶
func (r GetTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTasklistResponse ¶
type GetTasklistResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TasklistDetail
}
func ParseGetTasklistResponse ¶
func ParseGetTasklistResponse(rsp *http.Response) (*GetTasklistResponse, error)
ParseGetTasklistResponse parses an HTTP response from a GetTasklistWithResponse call
func (GetTasklistResponse) ContentType ¶ added in v0.2.0
func (r GetTasklistResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTasklistResponse) Status ¶
func (r GetTasklistResponse) Status() string
Status returns HTTPResponse.Status
func (GetTasklistResponse) StatusCode ¶
func (r GetTasklistResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTasksInTasklistParams ¶
type GetTasksInTasklistParams struct {
// OrderBy When `due_date`, tasks without a due date are always last; all-day tasks sort at the start of their day (00:00).
OrderBy *GetTasksInTasklistParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`
Order *GetTasksInTasklistParamsOrder `form:"order,omitempty" json:"order,omitempty"`
}
GetTasksInTasklistParams defines parameters for GetTasksInTasklist.
type GetTasksInTasklistParamsOrder ¶
type GetTasksInTasklistParamsOrder string
GetTasksInTasklistParamsOrder defines parameters for GetTasksInTasklist.
const ( GetTasksInTasklistParamsOrderAsc GetTasksInTasklistParamsOrder = "asc" GetTasksInTasklistParamsOrderDesc GetTasksInTasklistParamsOrder = "desc" )
Defines values for GetTasksInTasklistParamsOrder.
func (GetTasksInTasklistParamsOrder) Valid ¶
func (e GetTasksInTasklistParamsOrder) Valid() bool
Valid indicates whether the value is a known member of the GetTasksInTasklistParamsOrder enum.
type GetTasksInTasklistParamsOrderBy ¶
type GetTasksInTasklistParamsOrderBy string
GetTasksInTasklistParamsOrderBy defines parameters for GetTasksInTasklist.
const ( GetTasksInTasklistParamsOrderByDateAdd GetTasksInTasklistParamsOrderBy = "date_add" GetTasksInTasklistParamsOrderByDateEditedAt GetTasksInTasklistParamsOrderBy = "date_edited_at" GetTasksInTasklistParamsOrderByDueDate GetTasksInTasklistParamsOrderBy = "due_date" GetTasksInTasklistParamsOrderByName GetTasksInTasklistParamsOrderBy = "name" GetTasksInTasklistParamsOrderByPriority GetTasksInTasklistParamsOrderBy = "priority" )
Defines values for GetTasksInTasklistParamsOrderBy.
func (GetTasksInTasklistParamsOrderBy) Valid ¶
func (e GetTasksInTasklistParamsOrderBy) Valid() bool
Valid indicates whether the value is a known member of the GetTasksInTasklistParamsOrderBy enum.
type GetTasksInTasklistResponse ¶
type GetTasksInTasklistResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]TaskSummary
}
func ParseGetTasksInTasklistResponse ¶
func ParseGetTasksInTasklistResponse(rsp *http.Response) (*GetTasksInTasklistResponse, error)
ParseGetTasksInTasklistResponse parses an HTTP response from a GetTasksInTasklistWithResponse call
func (GetTasksInTasklistResponse) ContentType ¶ added in v0.2.0
func (r GetTasksInTasklistResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTasksInTasklistResponse) Status ¶
func (r GetTasksInTasklistResponse) Status() string
Status returns HTTPResponse.Status
func (GetTasksInTasklistResponse) StatusCode ¶
func (r GetTasksInTasklistResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTemplateProjectsParams ¶
type GetTemplateProjectsParams struct {
OrderBy *GetTemplateProjectsParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`
Order *GetTemplateProjectsParamsOrder `form:"order,omitempty" json:"order,omitempty"`
Tags *[]string `form:"tags[],omitempty" json:"tags[],omitempty"`
UsersIds *[]int `form:"users_ids[],omitempty" json:"users_ids[],omitempty"`
CreatedInRangeDateFrom *openapi_types.Date `form:"created_in_range[date_from],omitempty" json:"created_in_range[date_from],omitempty"`
CreatedInRangeDateTo *openapi_types.Date `form:"created_in_range[date_to],omitempty" json:"created_in_range[date_to],omitempty"`
// P Page number (starting from 0). Alias of `page` — `p` takes precedence when both are provided.
P *PageParam `form:"p,omitempty" json:"p,omitempty"`
// Page Page number (starting from 0). Alias of `p` — `p` takes precedence when both are provided.
Page *PageAliasParam `form:"page,omitempty" json:"page,omitempty"`
}
GetTemplateProjectsParams defines parameters for GetTemplateProjects.
type GetTemplateProjectsParamsOrder ¶
type GetTemplateProjectsParamsOrder string
GetTemplateProjectsParamsOrder defines parameters for GetTemplateProjects.
const ( GetTemplateProjectsParamsOrderAsc GetTemplateProjectsParamsOrder = "asc" GetTemplateProjectsParamsOrderDesc GetTemplateProjectsParamsOrder = "desc" )
Defines values for GetTemplateProjectsParamsOrder.
func (GetTemplateProjectsParamsOrder) Valid ¶
func (e GetTemplateProjectsParamsOrder) Valid() bool
Valid indicates whether the value is a known member of the GetTemplateProjectsParamsOrder enum.
type GetTemplateProjectsParamsOrderBy ¶
type GetTemplateProjectsParamsOrderBy string
GetTemplateProjectsParamsOrderBy defines parameters for GetTemplateProjects.
const ( GetTemplateProjectsParamsOrderByDateAdd GetTemplateProjectsParamsOrderBy = "date_add" GetTemplateProjectsParamsOrderByDateEditedAt GetTemplateProjectsParamsOrderBy = "date_edited_at" GetTemplateProjectsParamsOrderByName GetTemplateProjectsParamsOrderBy = "name" )
Defines values for GetTemplateProjectsParamsOrderBy.
func (GetTemplateProjectsParamsOrderBy) Valid ¶
func (e GetTemplateProjectsParamsOrderBy) Valid() bool
Valid indicates whether the value is a known member of the GetTemplateProjectsParamsOrderBy enum.
type GetTemplateProjectsResponse ¶
type GetTemplateProjectsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Count *int `json:"count,omitempty"`
Data *struct {
TemplateProjects *[]ProjectWithTasklists `json:"template_projects,omitempty"`
} `json:"data,omitempty"`
Page *int `json:"page,omitempty"`
PerPage *int `json:"per_page,omitempty"`
Total *int `json:"total,omitempty"`
}
}
func ParseGetTemplateProjectsResponse ¶
func ParseGetTemplateProjectsResponse(rsp *http.Response) (*GetTemplateProjectsResponse, error)
ParseGetTemplateProjectsResponse parses an HTTP response from a GetTemplateProjectsWithResponse call
func (GetTemplateProjectsResponse) ContentType ¶ added in v0.2.0
func (r GetTemplateProjectsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTemplateProjectsResponse) Status ¶
func (r GetTemplateProjectsResponse) Status() string
Status returns HTTPResponse.Status
func (GetTemplateProjectsResponse) StatusCode ¶
func (r GetTemplateProjectsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTimeTrackingStatusResponse ¶
type GetTimeTrackingStatusResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Cost Cost information
Cost *map[string]interface{} `json:"cost,omitempty"`
// DateReported Timestamp when the session was started. Naive ISO8601 in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateReported *freelotime.Time `json:"date_reported,omitempty"`
IsBillable *bool `json:"is_billable,omitempty"`
IsCostFixed *bool `json:"is_cost_fixed,omitempty"`
Labels *[]struct {
Name *string `json:"name,omitempty"`
} `json:"labels,omitempty"`
// Note Note associated with the session
Note *string `json:"note,omitempty"`
// ProjectSetting Project setting for the associated task's project
ProjectSetting *map[string]interface{} `json:"project_setting,omitempty"`
// Task Associated task, or null if tracking without a task
Task *struct {
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Project *struct {
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"project,omitempty"`
Tasklist *struct {
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"tasklist,omitempty"`
} `json:"task,omitempty"`
// Uuid UUID of the active time tracking session
Uuid *openapi_types.UUID `json:"uuid,omitempty"`
}
}
func ParseGetTimeTrackingStatusResponse ¶
func ParseGetTimeTrackingStatusResponse(rsp *http.Response) (*GetTimeTrackingStatusResponse, error)
ParseGetTimeTrackingStatusResponse parses an HTTP response from a GetTimeTrackingStatusWithResponse call
func (GetTimeTrackingStatusResponse) ContentType ¶ added in v0.2.0
func (r GetTimeTrackingStatusResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTimeTrackingStatusResponse) Status ¶
func (r GetTimeTrackingStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetTimeTrackingStatusResponse) StatusCode ¶
func (r GetTimeTrackingStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUserProjectsParams ¶
type GetUserProjectsParams struct {
// StatesIds States: 1=active, 2=archived, 3=template
StatesIds *[]GetUserProjectsParamsStatesIds `form:"states_ids[],omitempty" json:"states_ids[],omitempty"`
OrderBy *GetUserProjectsParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`
Order *GetUserProjectsParamsOrder `form:"order,omitempty" json:"order,omitempty"`
// P Page number (starting from 0). Alias of `page` — `p` takes precedence when both are provided.
P *PageParam `form:"p,omitempty" json:"p,omitempty"`
// Page Page number (starting from 0). Alias of `p` — `p` takes precedence when both are provided.
Page *PageAliasParam `form:"page,omitempty" json:"page,omitempty"`
}
GetUserProjectsParams defines parameters for GetUserProjects.
type GetUserProjectsParamsOrder ¶
type GetUserProjectsParamsOrder string
GetUserProjectsParamsOrder defines parameters for GetUserProjects.
const ( Asc GetUserProjectsParamsOrder = "asc" Desc GetUserProjectsParamsOrder = "desc" )
Defines values for GetUserProjectsParamsOrder.
func (GetUserProjectsParamsOrder) Valid ¶
func (e GetUserProjectsParamsOrder) Valid() bool
Valid indicates whether the value is a known member of the GetUserProjectsParamsOrder enum.
type GetUserProjectsParamsOrderBy ¶
type GetUserProjectsParamsOrderBy string
GetUserProjectsParamsOrderBy defines parameters for GetUserProjects.
const ( GetUserProjectsParamsOrderByDateAdd GetUserProjectsParamsOrderBy = "date_add" GetUserProjectsParamsOrderByDateEditedAt GetUserProjectsParamsOrderBy = "date_edited_at" GetUserProjectsParamsOrderByName GetUserProjectsParamsOrderBy = "name" )
Defines values for GetUserProjectsParamsOrderBy.
func (GetUserProjectsParamsOrderBy) Valid ¶
func (e GetUserProjectsParamsOrderBy) Valid() bool
Valid indicates whether the value is a known member of the GetUserProjectsParamsOrderBy enum.
type GetUserProjectsParamsStatesIds ¶
type GetUserProjectsParamsStatesIds int
GetUserProjectsParamsStatesIds defines parameters for GetUserProjects.
const ( GetUserProjectsParamsStatesIdsN1 GetUserProjectsParamsStatesIds = 1 GetUserProjectsParamsStatesIdsN2 GetUserProjectsParamsStatesIds = 2 GetUserProjectsParamsStatesIdsN3 GetUserProjectsParamsStatesIds = 3 )
Defines values for GetUserProjectsParamsStatesIds.
func (GetUserProjectsParamsStatesIds) Valid ¶
func (e GetUserProjectsParamsStatesIds) Valid() bool
Valid indicates whether the value is a known member of the GetUserProjectsParamsStatesIds enum.
type GetUserProjectsResponse ¶
type GetUserProjectsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Count *int `json:"count,omitempty"`
Data *struct {
Projects *[]ProjectFull `json:"projects,omitempty"`
} `json:"data,omitempty"`
Page *int `json:"page,omitempty"`
PerPage *int `json:"per_page,omitempty"`
Total *int `json:"total,omitempty"`
}
}
func ParseGetUserProjectsResponse ¶
func ParseGetUserProjectsResponse(rsp *http.Response) (*GetUserProjectsResponse, error)
ParseGetUserProjectsResponse parses an HTTP response from a GetUserProjectsWithResponse call
func (GetUserProjectsResponse) ContentType ¶ added in v0.2.0
func (r GetUserProjectsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetUserProjectsResponse) Status ¶
func (r GetUserProjectsResponse) Status() string
Status returns HTTPResponse.Status
func (GetUserProjectsResponse) StatusCode ¶
func (r GetUserProjectsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUsersMeResponse ¶
type GetUsersMeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Result string `json:"result"`
User struct {
// Email Email address of the authenticated user
Email openapi_types.Email `json:"email"`
// Fullname Full name of the authenticated user (first name + last name, or email if name is empty).
Fullname string `json:"fullname"`
// Id ID of the authenticated user
Id int `json:"id"`
// MentionKey Normalized form of the authenticated user's `fullname` (whitespace stripped, diacritics removed) used in comments as the visible text after `@` inside a mention span. Build a mention with:
// `<span data-freelo-mention="1" data-freelo-user-id="{id}">@{mention_key}</span>`
MentionKey string `json:"mention_key"`
} `json:"user"`
}
JSON401 *struct {
Errors *[]struct {
Message *string `json:"message,omitempty"`
} `json:"errors,omitempty"`
}
}
func ParseGetUsersMeResponse ¶
func ParseGetUsersMeResponse(rsp *http.Response) (*GetUsersMeResponse, error)
ParseGetUsersMeResponse parses an HTTP response from a GetUsersMeWithResponse call
func (GetUsersMeResponse) ContentType ¶ added in v0.2.0
func (r GetUsersMeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetUsersMeResponse) Status ¶
func (r GetUsersMeResponse) Status() string
Status returns HTTPResponse.Status
func (GetUsersMeResponse) StatusCode ¶
func (r GetUsersMeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWorkReportsParams ¶
type GetWorkReportsParams struct {
ProjectsIds *[]int `form:"projects_ids[],omitempty" json:"projects_ids[],omitempty"`
UsersIds *[]int `form:"users_ids[],omitempty" json:"users_ids[],omitempty"`
TasksIds *[]int `form:"tasks_ids[],omitempty" json:"tasks_ids[],omitempty"`
// TasksLabels UUIDs for task labels
TasksLabels *[]openapi_types.UUID `form:"tasks_labels[],omitempty" json:"tasks_labels[],omitempty"`
DateReportedRangeDateFrom *openapi_types.Date `form:"date_reported_range[date_from],omitempty" json:"date_reported_range[date_from],omitempty"`
DateReportedRangeDateTo *openapi_types.Date `form:"date_reported_range[date_to],omitempty" json:"date_reported_range[date_to],omitempty"`
DateAddRangeDateFrom *openapi_types.Date `form:"date_add_range[date_from],omitempty" json:"date_add_range[date_from],omitempty"`
DateAddRangeDateTo *openapi_types.Date `form:"date_add_range[date_to],omitempty" json:"date_add_range[date_to],omitempty"`
DateEditedFrom *openapi_types.Date `form:"date_edited_from,omitempty" json:"date_edited_from,omitempty"`
// WithOwnTaskless Include the authenticated user's work reports without an associated task. Automatically filters by the authenticated user. Pass `1` to enable, `0` to disable — string values like `true`/`false` are not accepted and silently fall back to the default. Mutually exclusive with `users_ids[]`.
WithOwnTaskless *GetWorkReportsParamsWithOwnTaskless `form:"with_own_taskless,omitempty" json:"with_own_taskless,omitempty"`
// P Page number (starting from 0). Alias of `page` — `p` takes precedence when both are provided.
P *PageParam `form:"p,omitempty" json:"p,omitempty"`
// Page Page number (starting from 0). Alias of `p` — `p` takes precedence when both are provided.
Page *PageAliasParam `form:"page,omitempty" json:"page,omitempty"`
}
GetWorkReportsParams defines parameters for GetWorkReports.
type GetWorkReportsParamsWithOwnTaskless ¶ added in v0.2.0
type GetWorkReportsParamsWithOwnTaskless int
GetWorkReportsParamsWithOwnTaskless defines parameters for GetWorkReports.
const ( N0 GetWorkReportsParamsWithOwnTaskless = 0 N1 GetWorkReportsParamsWithOwnTaskless = 1 )
Defines values for GetWorkReportsParamsWithOwnTaskless.
func (GetWorkReportsParamsWithOwnTaskless) Valid ¶ added in v0.2.0
func (e GetWorkReportsParamsWithOwnTaskless) Valid() bool
Valid indicates whether the value is a known member of the GetWorkReportsParamsWithOwnTaskless enum.
type GetWorkReportsResponse ¶
type GetWorkReportsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Count *int `json:"count,omitempty"`
Data *struct {
Reports *[]WorkReportFull `json:"reports,omitempty"`
} `json:"data,omitempty"`
Page *int `json:"page,omitempty"`
PerPage *int `json:"per_page,omitempty"`
Total *int `json:"total,omitempty"`
}
}
func ParseGetWorkReportsResponse ¶
func ParseGetWorkReportsResponse(rsp *http.Response) (*GetWorkReportsResponse, error)
ParseGetWorkReportsResponse parses an HTTP response from a GetWorkReportsWithResponse call
func (GetWorkReportsResponse) ContentType ¶ added in v0.2.0
func (r GetWorkReportsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWorkReportsResponse) Status ¶
func (r GetWorkReportsResponse) Status() string
Status returns HTTPResponse.Status
func (GetWorkReportsResponse) StatusCode ¶
func (r GetWorkReportsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type InviteUsersToProjectsJSONBody ¶
type InviteUsersToProjectsJSONBody struct {
Emails *[]openapi_types.Email `json:"emails,omitempty"`
ProjectsIds []int `json:"projects_ids"`
UsersIds *[]int `json:"users_ids,omitempty"`
}
InviteUsersToProjectsJSONBody defines parameters for InviteUsersToProjects.
type InviteUsersToProjectsJSONRequestBody ¶
type InviteUsersToProjectsJSONRequestBody InviteUsersToProjectsJSONBody
InviteUsersToProjectsJSONRequestBody defines body for InviteUsersToProjects for application/json ContentType.
type InviteUsersToProjectsResponse ¶
type InviteUsersToProjectsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
NewlyCreatedUsers *[]struct {
Email *string `json:"email,omitempty"`
Id *int `json:"id,omitempty"`
} `json:"newly_created_users,omitempty"`
NewlyInvitedUsers *[]struct {
Email *string `json:"email,omitempty"`
Id *int `json:"id,omitempty"`
ProjectsIds *[]int `json:"projects_ids,omitempty"`
} `json:"newly_invited_users,omitempty"`
NewlyInvitedUsersToProjects *[]map[string]interface{} `json:"newly_invited_users_to_projects,omitempty"`
RemovedUsersFromProjects *[]map[string]interface{} `json:"removed_users_from_projects,omitempty"`
}
}
func ParseInviteUsersToProjectsResponse ¶
func ParseInviteUsersToProjectsResponse(rsp *http.Response) (*InviteUsersToProjectsResponse, error)
ParseInviteUsersToProjectsResponse parses an HTTP response from a InviteUsersToProjectsWithResponse call
func (InviteUsersToProjectsResponse) ContentType ¶ added in v0.2.0
func (r InviteUsersToProjectsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (InviteUsersToProjectsResponse) Status ¶
func (r InviteUsersToProjectsResponse) Status() string
Status returns HTTPResponse.Status
func (InviteUsersToProjectsResponse) StatusCode ¶
func (r InviteUsersToProjectsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IssuedInvoice ¶
type IssuedInvoice struct {
Currency *IssuedInvoiceCurrency `json:"currency,omitempty"`
// DateAdd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateAdd *freelotime.Time `json:"date_add,omitempty"`
Id *int `json:"id,omitempty"`
InvItems *[]struct {
Id *int `json:"id,omitempty"`
Minutes *int `json:"minutes,omitempty"`
Name *string `json:"name,omitempty"`
Price *Currency `json:"price,omitempty"`
} `json:"inv_items,omitempty"`
Minutes *int `json:"minutes,omitempty"`
Note *string `json:"note,omitempty"`
Price *Currency `json:"price,omitempty"`
Subject *struct {
CompanyName *string `json:"company_name,omitempty"`
InvoiceUrl *string `json:"invoice_url,omitempty"`
} `json:"subject,omitempty"`
}
IssuedInvoice defines model for IssuedInvoice.
type IssuedInvoiceCurrency ¶
type IssuedInvoiceCurrency string
IssuedInvoiceCurrency defines model for IssuedInvoice.Currency.
const ( IssuedInvoiceCurrencyCZK IssuedInvoiceCurrency = "CZK" IssuedInvoiceCurrencyEUR IssuedInvoiceCurrency = "EUR" IssuedInvoiceCurrencyUSD IssuedInvoiceCurrency = "USD" )
Defines values for IssuedInvoiceCurrency.
func (IssuedInvoiceCurrency) Valid ¶
func (e IssuedInvoiceCurrency) Valid() bool
Valid indicates whether the value is a known member of the IssuedInvoiceCurrency enum.
type IssuedInvoiceDetail ¶
type IssuedInvoiceDetail struct {
Currency *IssuedInvoiceDetailCurrency `json:"currency,omitempty"`
// DateAdd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateAdd *freelotime.Time `json:"date_add,omitempty"`
Id *int `json:"id,omitempty"`
InvItems *[]struct {
Id *int `json:"id,omitempty"`
Minutes *int `json:"minutes,omitempty"`
Name *string `json:"name,omitempty"`
Price *Currency `json:"price,omitempty"`
Reports *[]struct {
Id *int `json:"id,omitempty"`
Minutes *int `json:"minutes,omitempty"`
Name *string `json:"name,omitempty"`
Price *Currency `json:"price,omitempty"`
ProjectName *string `json:"project_name,omitempty"`
TasklistName *string `json:"tasklist_name,omitempty"`
WorkReportId *int `json:"work_report_id,omitempty"`
} `json:"reports,omitempty"`
} `json:"inv_items,omitempty"`
Minutes *int `json:"minutes,omitempty"`
Note *string `json:"note,omitempty"`
Price *Currency `json:"price,omitempty"`
Subject *struct {
CompanyName *string `json:"company_name,omitempty"`
InvoiceUrl *string `json:"invoice_url,omitempty"`
} `json:"subject,omitempty"`
}
IssuedInvoiceDetail defines model for IssuedInvoiceDetail.
type IssuedInvoiceDetailCurrency ¶
type IssuedInvoiceDetailCurrency string
IssuedInvoiceDetailCurrency defines model for IssuedInvoiceDetail.Currency.
const ( IssuedInvoiceDetailCurrencyCZK IssuedInvoiceDetailCurrency = "CZK" IssuedInvoiceDetailCurrencyEUR IssuedInvoiceDetailCurrency = "EUR" IssuedInvoiceDetailCurrencyUSD IssuedInvoiceDetailCurrency = "USD" )
Defines values for IssuedInvoiceDetailCurrency.
func (IssuedInvoiceDetailCurrency) Valid ¶
func (e IssuedInvoiceDetailCurrency) Valid() bool
Valid indicates whether the value is a known member of the IssuedInvoiceDetailCurrency enum.
type MarkAsInvoicedJSONBody ¶
MarkAsInvoicedJSONBody defines parameters for MarkAsInvoiced.
type MarkAsInvoicedJSONRequestBody ¶
type MarkAsInvoicedJSONRequestBody MarkAsInvoicedJSONBody
MarkAsInvoicedJSONRequestBody defines body for MarkAsInvoiced for application/json ContentType.
type MarkAsInvoicedResponse ¶
type MarkAsInvoicedResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *IssuedInvoiceDetail
}
func ParseMarkAsInvoicedResponse ¶
func ParseMarkAsInvoicedResponse(rsp *http.Response) (*MarkAsInvoicedResponse, error)
ParseMarkAsInvoicedResponse parses an HTTP response from a MarkAsInvoicedWithResponse call
func (MarkAsInvoicedResponse) ContentType ¶ added in v0.2.0
func (r MarkAsInvoicedResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MarkAsInvoicedResponse) Status ¶
func (r MarkAsInvoicedResponse) Status() string
Status returns HTTPResponse.Status
func (MarkAsInvoicedResponse) StatusCode ¶
func (r MarkAsInvoicedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MarkNotificationAsReadResponse ¶
type MarkNotificationAsReadResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseMarkNotificationAsReadResponse ¶
func ParseMarkNotificationAsReadResponse(rsp *http.Response) (*MarkNotificationAsReadResponse, error)
ParseMarkNotificationAsReadResponse parses an HTTP response from a MarkNotificationAsReadWithResponse call
func (MarkNotificationAsReadResponse) ContentType ¶ added in v0.2.0
func (r MarkNotificationAsReadResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MarkNotificationAsReadResponse) Status ¶
func (r MarkNotificationAsReadResponse) Status() string
Status returns HTTPResponse.Status
func (MarkNotificationAsReadResponse) StatusCode ¶
func (r MarkNotificationAsReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MarkNotificationAsUnreadResponse ¶
type MarkNotificationAsUnreadResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseMarkNotificationAsUnreadResponse ¶
func ParseMarkNotificationAsUnreadResponse(rsp *http.Response) (*MarkNotificationAsUnreadResponse, error)
ParseMarkNotificationAsUnreadResponse parses an HTTP response from a MarkNotificationAsUnreadWithResponse call
func (MarkNotificationAsUnreadResponse) ContentType ¶ added in v0.2.0
func (r MarkNotificationAsUnreadResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MarkNotificationAsUnreadResponse) Status ¶
func (r MarkNotificationAsUnreadResponse) Status() string
Status returns HTTPResponse.Status
func (MarkNotificationAsUnreadResponse) StatusCode ¶
func (r MarkNotificationAsUnreadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MergeTaskLabelsJSONBody ¶ added in v0.3.1
type MergeTaskLabelsJSONBody struct {
// FromUuids UUIDs of the labels to merge away (must be owned by the caller).
FromUuids []openapi_types.UUID `json:"from_uuids"`
// ToUuid UUID of the label the source labels are merged into (must be owned by the caller).
ToUuid openapi_types.UUID `json:"to_uuid"`
}
MergeTaskLabelsJSONBody defines parameters for MergeTaskLabels.
type MergeTaskLabelsJSONRequestBody ¶ added in v0.3.1
type MergeTaskLabelsJSONRequestBody MergeTaskLabelsJSONBody
MergeTaskLabelsJSONRequestBody defines body for MergeTaskLabels for application/json ContentType.
type MergeTaskLabelsResponse ¶ added in v0.3.1
type MergeTaskLabelsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseMergeTaskLabelsResponse ¶ added in v0.3.1
func ParseMergeTaskLabelsResponse(rsp *http.Response) (*MergeTaskLabelsResponse, error)
ParseMergeTaskLabelsResponse parses an HTTP response from a MergeTaskLabelsWithResponse call
func (MergeTaskLabelsResponse) ContentType ¶ added in v0.3.1
func (r MergeTaskLabelsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MergeTaskLabelsResponse) Status ¶ added in v0.3.1
func (r MergeTaskLabelsResponse) Status() string
Status returns HTTPResponse.Status
func (MergeTaskLabelsResponse) StatusCode ¶ added in v0.3.1
func (r MergeTaskLabelsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MoveTaskJSONBody ¶
type MoveTaskJSONBody struct {
CustomFieldsAction *MoveTaskJSONBodyCustomFieldsAction `json:"custom_fields_action,omitempty"`
// MultiProjectTask Optional multi-project task context for moving a specific project instance
MultiProjectTask *struct {
// SourceTasklistId ID of the source tasklist identifying which project instance to move
SourceTasklistId *int `json:"source_tasklist_id,omitempty"`
} `json:"multi_project_task,omitempty"`
WorkReportsAction *MoveTaskJSONBodyWorkReportsAction `json:"work_reports_action,omitempty"`
}
MoveTaskJSONBody defines parameters for MoveTask.
type MoveTaskJSONBodyCustomFieldsAction ¶
type MoveTaskJSONBodyCustomFieldsAction string
MoveTaskJSONBodyCustomFieldsAction defines parameters for MoveTask.
const ( DeleteAll MoveTaskJSONBodyCustomFieldsAction = "delete_all" DeleteWhatCantBeKeep MoveTaskJSONBodyCustomFieldsAction = "delete_what_cant_be_keep" MoveToCommentsAll MoveTaskJSONBodyCustomFieldsAction = "move_to_comments_all" MoveToCommentsWhatCantBeKeep MoveTaskJSONBodyCustomFieldsAction = "move_to_comments_what_cant_be_keep" Nothing MoveTaskJSONBodyCustomFieldsAction = "nothing" )
Defines values for MoveTaskJSONBodyCustomFieldsAction.
func (MoveTaskJSONBodyCustomFieldsAction) Valid ¶
func (e MoveTaskJSONBodyCustomFieldsAction) Valid() bool
Valid indicates whether the value is a known member of the MoveTaskJSONBodyCustomFieldsAction enum.
type MoveTaskJSONBodyWorkReportsAction ¶
type MoveTaskJSONBodyWorkReportsAction string
MoveTaskJSONBodyWorkReportsAction defines parameters for MoveTask.
const ( KeepOnOriginProject MoveTaskJSONBodyWorkReportsAction = "keep_on_origin_project" MoveToTargetProject MoveTaskJSONBodyWorkReportsAction = "move_to_target_project" )
Defines values for MoveTaskJSONBodyWorkReportsAction.
func (MoveTaskJSONBodyWorkReportsAction) Valid ¶
func (e MoveTaskJSONBodyWorkReportsAction) Valid() bool
Valid indicates whether the value is a known member of the MoveTaskJSONBodyWorkReportsAction enum.
type MoveTaskJSONRequestBody ¶
type MoveTaskJSONRequestBody MoveTaskJSONBody
MoveTaskJSONRequestBody defines body for MoveTask for application/json ContentType.
type MoveTaskResponse ¶
type MoveTaskResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseMoveTaskResponse ¶
func ParseMoveTaskResponse(rsp *http.Response) (*MoveTaskResponse, error)
ParseMoveTaskResponse parses an HTTP response from a MoveTaskWithResponse call
func (MoveTaskResponse) ContentType ¶ added in v0.2.0
func (r MoveTaskResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MoveTaskResponse) Status ¶
func (r MoveTaskResponse) Status() string
Status returns HTTPResponse.Status
func (MoveTaskResponse) StatusCode ¶
func (r MoveTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Note ¶
type Note struct {
Author *UserBasic `json:"author,omitempty"`
Comments *[]CommentWithFiles `json:"comments,omitempty"`
Content *string `json:"content,omitempty"`
// DateAdd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateAdd *freelotime.Time `json:"date_add,omitempty"`
// DateEditedAt Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateEditedAt *freelotime.Time `json:"date_edited_at,omitempty"`
Files *[]FileFull `json:"files,omitempty"`
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Project *ProjectBasic `json:"project,omitempty"`
State *State `json:"state,omitempty"`
Uuid *openapi_types.UUID `json:"uuid,omitempty"`
}
Note defines model for Note.
type NoteIdParam ¶ added in v0.3.0
type NoteIdParam = string
NoteIdParam defines model for NoteIdParam.
type Notification ¶
type Notification struct {
Author *UserBasic `json:"author,omitempty"`
Comment *struct {
Id *int `json:"id,omitempty"`
} `json:"comment,omitempty"`
// DateAction Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateAction *freelotime.Time `json:"date_action,omitempty"`
Document *struct {
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"document,omitempty"`
File *struct {
Caption *string `json:"caption,omitempty"`
Filename *string `json:"filename,omitempty"`
Uuid *openapi_types.UUID `json:"uuid,omitempty"`
} `json:"file,omitempty"`
Id *int `json:"id,omitempty"`
IsNew *bool `json:"is_new,omitempty"`
IsUnread *bool `json:"is_unread,omitempty"`
MoreComments *bool `json:"more_comments,omitempty"`
MoreUsers *[]UserBasic `json:"more_users,omitempty"`
Project *ProjectBasic `json:"project,omitempty"`
Task *struct {
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"task,omitempty"`
Tasklist *TasklistBasic `json:"tasklist,omitempty"`
Type *string `json:"type,omitempty"`
Who *UserBasic `json:"who,omitempty"`
}
Notification defines model for Notification.
type PageAliasParam ¶ added in v0.2.0
type PageAliasParam = int
PageAliasParam defines model for PageAliasParam.
type PaginatedResponse ¶
type PaginatedResponse struct {
Count *int `json:"count,omitempty"`
Page *int `json:"page,omitempty"`
PerPage *int `json:"per_page,omitempty"`
Total *int `json:"total,omitempty"`
}
PaginatedResponse defines model for PaginatedResponse.
type PinItemToProjectJSONBody ¶
type PinItemToProjectJSONBody struct {
// Link Full URL to pin. If the URL matches an internal Freelo resource, the endpoint is idempotent (see description).
Link string `json:"link"`
// Title Optional display label. If omitted, a default is derived from the target.
Title *string `json:"title,omitempty"`
}
PinItemToProjectJSONBody defines parameters for PinItemToProject.
type PinItemToProjectJSONRequestBody ¶
type PinItemToProjectJSONRequestBody PinItemToProjectJSONBody
PinItemToProjectJSONRequestBody defines body for PinItemToProject for application/json ContentType.
type PinItemToProjectResponse ¶
type PinItemToProjectResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PinnedItem
}
func ParsePinItemToProjectResponse ¶
func ParsePinItemToProjectResponse(rsp *http.Response) (*PinItemToProjectResponse, error)
ParsePinItemToProjectResponse parses an HTTP response from a PinItemToProjectWithResponse call
func (PinItemToProjectResponse) ContentType ¶ added in v0.2.0
func (r PinItemToProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PinItemToProjectResponse) Status ¶
func (r PinItemToProjectResponse) Status() string
Status returns HTTPResponse.Status
func (PinItemToProjectResponse) StatusCode ¶
func (r PinItemToProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PinnedItem ¶
type PinnedItem struct {
Id *int `json:"id,omitempty"`
Link *string `json:"link,omitempty"`
Title *string `json:"title,omitempty"`
}
PinnedItem defines model for PinnedItem.
type ProjectBasic ¶
ProjectBasic defines model for ProjectBasic.
type ProjectDetail ¶
type ProjectDetail struct {
Budget *Currency `json:"budget,omitempty"`
// DateAdd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateAdd *freelotime.Time `json:"date_add,omitempty"`
// DateEditedAt Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateEditedAt *freelotime.Time `json:"date_edited_at,omitempty"`
Id *int `json:"id,omitempty"`
MinutesBudget *int `json:"minutes_budget,omitempty"`
Name *string `json:"name,omitempty"`
Owner *UserBasic `json:"owner,omitempty"`
RealCost *Currency `json:"real_cost,omitempty"`
RealMinutesSpent *int `json:"real_minutes_spent,omitempty"`
State *State `json:"state,omitempty"`
Tasklists *[]struct {
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Tasks *[]struct {
// DueDate Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DueDate *freelotime.Time `json:"due_date,omitempty"`
// DueDateEnd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DueDateEnd *freelotime.Time `json:"due_date_end,omitempty"`
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
ParentTaskId *int `json:"parent_task_id,omitempty"`
Worker *UserBasic `json:"worker,omitempty"`
} `json:"tasks,omitempty"`
} `json:"tasklists,omitempty"`
Workers *[]struct {
Fullname *string `json:"fullname,omitempty"`
HourRate *struct {
Amount *int `json:"amount,omitempty"`
Currency *string `json:"currency,omitempty"`
IsFixed *bool `json:"is_fixed,omitempty"`
} `json:"hour_rate,omitempty"`
Id *int `json:"id,omitempty"`
} `json:"workers,omitempty"`
}
ProjectDetail defines model for ProjectDetail.
type ProjectFull ¶
type ProjectFull struct {
Budget *Currency `json:"budget,omitempty"`
// DateAdd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateAdd *freelotime.Time `json:"date_add,omitempty"`
// DateEditedAt Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateEditedAt *freelotime.Time `json:"date_edited_at,omitempty"`
Id *int `json:"id,omitempty"`
MinutesBudget *int `json:"minutes_budget,omitempty"`
Name *string `json:"name,omitempty"`
Owner *UserBasic `json:"owner,omitempty"`
RealCost *Currency `json:"real_cost,omitempty"`
RealMinutesSpent *int `json:"real_minutes_spent,omitempty"`
State *State `json:"state,omitempty"`
}
ProjectFull defines model for ProjectFull.
type ProjectLabel ¶
type ProjectLabel struct {
CanBeEdited *bool `json:"can_be_edited,omitempty"`
CanBePublic *bool `json:"can_be_public,omitempty"`
Color *string `json:"color,omitempty"`
Id *int `json:"id,omitempty"`
IsPrivate *bool `json:"is_private,omitempty"`
Name *string `json:"name,omitempty"`
UsageCount *int `json:"usage_count,omitempty"`
UsersId *int `json:"users_id,omitempty"`
}
ProjectLabel defines model for ProjectLabel.
type ProjectWithTasklists ¶
type ProjectWithTasklists struct {
Client *BusinessClient `json:"client,omitempty"`
// DateAdd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateAdd *freelotime.Time `json:"date_add,omitempty"`
// DateEditedAt Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateEditedAt *freelotime.Time `json:"date_edited_at,omitempty"`
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Tasklists *[]TasklistBasic `json:"tasklists,omitempty"`
}
ProjectWithTasklists defines model for ProjectWithTasklists.
type RemoveProjectLabelFromProjectJSONBody ¶
type RemoveProjectLabelFromProjectJSONBody struct {
Color *string `json:"color,omitempty"`
// Id ID of the label to detach. When present, `name`/`color`/`is_private` are ignored.
Id *int `json:"id,omitempty"`
IsPrivate *bool `json:"is_private,omitempty"`
Name *string `json:"name,omitempty"`
}
RemoveProjectLabelFromProjectJSONBody defines parameters for RemoveProjectLabelFromProject.
type RemoveProjectLabelFromProjectJSONRequestBody ¶
type RemoveProjectLabelFromProjectJSONRequestBody RemoveProjectLabelFromProjectJSONBody
RemoveProjectLabelFromProjectJSONRequestBody defines body for RemoveProjectLabelFromProject for application/json ContentType.
type RemoveProjectLabelFromProjectResponse ¶
type RemoveProjectLabelFromProjectResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseRemoveProjectLabelFromProjectResponse ¶
func ParseRemoveProjectLabelFromProjectResponse(rsp *http.Response) (*RemoveProjectLabelFromProjectResponse, error)
ParseRemoveProjectLabelFromProjectResponse parses an HTTP response from a RemoveProjectLabelFromProjectWithResponse call
func (RemoveProjectLabelFromProjectResponse) ContentType ¶ added in v0.2.0
func (r RemoveProjectLabelFromProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RemoveProjectLabelFromProjectResponse) Status ¶
func (r RemoveProjectLabelFromProjectResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveProjectLabelFromProjectResponse) StatusCode ¶
func (r RemoveProjectLabelFromProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveProjectWorkersByEmailsJSONBody ¶
type RemoveProjectWorkersByEmailsJSONBody struct {
UsersEmails []openapi_types.Email `json:"users_emails"`
}
RemoveProjectWorkersByEmailsJSONBody defines parameters for RemoveProjectWorkersByEmails.
type RemoveProjectWorkersByEmailsJSONRequestBody ¶
type RemoveProjectWorkersByEmailsJSONRequestBody RemoveProjectWorkersByEmailsJSONBody
RemoveProjectWorkersByEmailsJSONRequestBody defines body for RemoveProjectWorkersByEmails for application/json ContentType.
type RemoveProjectWorkersByEmailsResponse ¶
type RemoveProjectWorkersByEmailsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseRemoveProjectWorkersByEmailsResponse ¶
func ParseRemoveProjectWorkersByEmailsResponse(rsp *http.Response) (*RemoveProjectWorkersByEmailsResponse, error)
ParseRemoveProjectWorkersByEmailsResponse parses an HTTP response from a RemoveProjectWorkersByEmailsWithResponse call
func (RemoveProjectWorkersByEmailsResponse) ContentType ¶ added in v0.2.0
func (r RemoveProjectWorkersByEmailsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RemoveProjectWorkersByEmailsResponse) Status ¶
func (r RemoveProjectWorkersByEmailsResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveProjectWorkersByEmailsResponse) StatusCode ¶
func (r RemoveProjectWorkersByEmailsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveProjectWorkersByIdsJSONBody ¶
type RemoveProjectWorkersByIdsJSONBody struct {
UsersIds []int `json:"users_ids"`
}
RemoveProjectWorkersByIdsJSONBody defines parameters for RemoveProjectWorkersByIds.
type RemoveProjectWorkersByIdsJSONRequestBody ¶
type RemoveProjectWorkersByIdsJSONRequestBody RemoveProjectWorkersByIdsJSONBody
RemoveProjectWorkersByIdsJSONRequestBody defines body for RemoveProjectWorkersByIds for application/json ContentType.
type RemoveProjectWorkersByIdsResponse ¶
type RemoveProjectWorkersByIdsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseRemoveProjectWorkersByIdsResponse ¶
func ParseRemoveProjectWorkersByIdsResponse(rsp *http.Response) (*RemoveProjectWorkersByIdsResponse, error)
ParseRemoveProjectWorkersByIdsResponse parses an HTTP response from a RemoveProjectWorkersByIdsWithResponse call
func (RemoveProjectWorkersByIdsResponse) ContentType ¶ added in v0.2.0
func (r RemoveProjectWorkersByIdsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RemoveProjectWorkersByIdsResponse) Status ¶
func (r RemoveProjectWorkersByIdsResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveProjectWorkersByIdsResponse) StatusCode ¶
func (r RemoveProjectWorkersByIdsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveTaskFromProjectResponse ¶
type RemoveTaskFromProjectResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseRemoveTaskFromProjectResponse ¶
func ParseRemoveTaskFromProjectResponse(rsp *http.Response) (*RemoveTaskFromProjectResponse, error)
ParseRemoveTaskFromProjectResponse parses an HTTP response from a RemoveTaskFromProjectWithResponse call
func (RemoveTaskFromProjectResponse) ContentType ¶ added in v0.2.0
func (r RemoveTaskFromProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RemoveTaskFromProjectResponse) Status ¶
func (r RemoveTaskFromProjectResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveTaskFromProjectResponse) StatusCode ¶
func (r RemoveTaskFromProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveTaskLabelsFromTaskJSONBody ¶
type RemoveTaskLabelsFromTaskJSONBody struct {
Labels []TaskLabelRemoveInput `json:"labels"`
}
RemoveTaskLabelsFromTaskJSONBody defines parameters for RemoveTaskLabelsFromTask.
type RemoveTaskLabelsFromTaskJSONRequestBody ¶
type RemoveTaskLabelsFromTaskJSONRequestBody RemoveTaskLabelsFromTaskJSONBody
RemoveTaskLabelsFromTaskJSONRequestBody defines body for RemoveTaskLabelsFromTask for application/json ContentType.
type RemoveTaskLabelsFromTaskResponse ¶
type RemoveTaskLabelsFromTaskResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseRemoveTaskLabelsFromTaskResponse ¶
func ParseRemoveTaskLabelsFromTaskResponse(rsp *http.Response) (*RemoveTaskLabelsFromTaskResponse, error)
ParseRemoveTaskLabelsFromTaskResponse parses an HTTP response from a RemoveTaskLabelsFromTaskWithResponse call
func (RemoveTaskLabelsFromTaskResponse) ContentType ¶ added in v0.2.0
func (r RemoveTaskLabelsFromTaskResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RemoveTaskLabelsFromTaskResponse) Status ¶
func (r RemoveTaskLabelsFromTaskResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveTaskLabelsFromTaskResponse) StatusCode ¶
func (r RemoveTaskLabelsFromTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RenameCustomFieldJSONBody ¶
type RenameCustomFieldJSONBody struct {
Name string `json:"name"`
}
RenameCustomFieldJSONBody defines parameters for RenameCustomField.
type RenameCustomFieldJSONRequestBody ¶
type RenameCustomFieldJSONRequestBody RenameCustomFieldJSONBody
RenameCustomFieldJSONRequestBody defines body for RenameCustomField for application/json ContentType.
type RenameCustomFieldResponse ¶
type RenameCustomFieldResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
CustomField *CustomField `json:"custom_field,omitempty"`
}
}
func ParseRenameCustomFieldResponse ¶
func ParseRenameCustomFieldResponse(rsp *http.Response) (*RenameCustomFieldResponse, error)
ParseRenameCustomFieldResponse parses an HTTP response from a RenameCustomFieldWithResponse call
func (RenameCustomFieldResponse) ContentType ¶ added in v0.2.0
func (r RenameCustomFieldResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RenameCustomFieldResponse) Status ¶
func (r RenameCustomFieldResponse) Status() string
Status returns HTTPResponse.Status
func (RenameCustomFieldResponse) StatusCode ¶
func (r RenameCustomFieldResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RestoreCustomFieldResponse ¶
type RestoreCustomFieldResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
CustomField *CustomField `json:"custom_field,omitempty"`
}
}
func ParseRestoreCustomFieldResponse ¶
func ParseRestoreCustomFieldResponse(rsp *http.Response) (*RestoreCustomFieldResponse, error)
ParseRestoreCustomFieldResponse parses an HTTP response from a RestoreCustomFieldWithResponse call
func (RestoreCustomFieldResponse) ContentType ¶ added in v0.2.0
func (r RestoreCustomFieldResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RestoreCustomFieldResponse) Status ¶
func (r RestoreCustomFieldResponse) Status() string
Status returns HTTPResponse.Status
func (RestoreCustomFieldResponse) StatusCode ¶
func (r RestoreCustomFieldResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchJSONBody ¶
type SearchJSONBody struct {
// AuthorsIds Filter by author (entity owner) user IDs.
AuthorsIds *[]int `json:"authors_ids,omitempty"`
// DueDate Due-date range. At least one of `date_from` / `date_to` must be set when this object is present.
DueDate *struct {
DateFrom *openapi_types.Date `json:"date_from,omitempty"`
DateTo *openapi_types.Date `json:"date_to,omitempty"`
} `json:"due_date,omitempty"`
// EntityType Narrow to a single category. See the **Entity types** table in the endpoint description for the underlying ES document types each value maps to. Omit for mixed results.
EntityType *SearchJSONBodyEntityType `json:"entity_type,omitempty"`
// ExcludeEntityTypes Exclude one or more categories (same vocabulary as `entity_type`).
ExcludeEntityTypes *[]SearchJSONBodyExcludeEntityTypes `json:"exclude_entity_types,omitempty"`
// IsSubtask When `true`, restrict to smart-subtask documents (subtasks, checklist items and their comments).
IsSubtask *bool `json:"is_subtask,omitempty"`
// Lang Language used by the Elasticsearch analyzer / stemmer.
Lang *SearchJSONBodyLang `json:"lang,omitempty"`
// Limit Page size.
Limit *int `json:"limit,omitempty"`
// Page Zero-based page index.
Page *int `json:"page,omitempty"`
// ProjectsIds Restrict to these projects (or to documents attached to them).
ProjectsIds *[]int `json:"projects_ids,omitempty"`
// SearchQuery Fulltext query (2–200 chars after trimming). Double-quoted fragments are matched as ordered exact phrases; the rest as loose terms.
SearchQuery string `json:"search_query"`
// Sort Optional sort. Omit for relevance-score ordering.
Sort *struct {
// Order Direction — note the uppercase values (`OrderEnum::ASC` / `OrderEnum::DESC`).
Order *SearchJSONBodySortOrder `json:"order,omitempty"`
OrderBy *SearchJSONBodySortOrderBy `json:"order_by,omitempty"`
} `json:"sort,omitempty"`
// StateIds Lifecycle states to include. Defaults to `["active"]` if omitted or empty.
StateIds *[]SearchJSONBodyStateIds `json:"state_ids,omitempty"`
// TasklistsIds Restrict to these tasklists (or to documents attached to them).
TasklistsIds *[]int `json:"tasklists_ids,omitempty"`
// TasksIds Restrict to these tasks (or to documents attached to them — e.g. comments / files of the listed tasks).
TasksIds *[]int `json:"tasks_ids,omitempty"`
// WorkersIds Filter by assignee user IDs. Meaningful for tasks / subtasks.
WorkersIds *[]int `json:"workers_ids,omitempty"`
}
SearchJSONBody defines parameters for Search.
type SearchJSONBodyEntityType ¶
type SearchJSONBodyEntityType string
SearchJSONBodyEntityType defines parameters for Search.
const ( SearchJSONBodyEntityTypeComment SearchJSONBodyEntityType = "comment" SearchJSONBodyEntityTypeFile SearchJSONBodyEntityType = "file" SearchJSONBodyEntityTypeProject SearchJSONBodyEntityType = "project" SearchJSONBodyEntityTypeSubtask SearchJSONBodyEntityType = "subtask" SearchJSONBodyEntityTypeTask SearchJSONBodyEntityType = "task" SearchJSONBodyEntityTypeTaskcheck SearchJSONBodyEntityType = "taskcheck" SearchJSONBodyEntityTypeTasklist SearchJSONBodyEntityType = "tasklist" )
Defines values for SearchJSONBodyEntityType.
func (SearchJSONBodyEntityType) Valid ¶
func (e SearchJSONBodyEntityType) Valid() bool
Valid indicates whether the value is a known member of the SearchJSONBodyEntityType enum.
type SearchJSONBodyExcludeEntityTypes ¶ added in v0.2.0
type SearchJSONBodyExcludeEntityTypes string
SearchJSONBodyExcludeEntityTypes defines parameters for Search.
const ( SearchJSONBodyExcludeEntityTypesComment SearchJSONBodyExcludeEntityTypes = "comment" SearchJSONBodyExcludeEntityTypesFile SearchJSONBodyExcludeEntityTypes = "file" SearchJSONBodyExcludeEntityTypesProject SearchJSONBodyExcludeEntityTypes = "project" SearchJSONBodyExcludeEntityTypesSubtask SearchJSONBodyExcludeEntityTypes = "subtask" SearchJSONBodyExcludeEntityTypesTask SearchJSONBodyExcludeEntityTypes = "task" SearchJSONBodyExcludeEntityTypesTaskcheck SearchJSONBodyExcludeEntityTypes = "taskcheck" SearchJSONBodyExcludeEntityTypesTasklist SearchJSONBodyExcludeEntityTypes = "tasklist" )
Defines values for SearchJSONBodyExcludeEntityTypes.
func (SearchJSONBodyExcludeEntityTypes) Valid ¶ added in v0.2.0
func (e SearchJSONBodyExcludeEntityTypes) Valid() bool
Valid indicates whether the value is a known member of the SearchJSONBodyExcludeEntityTypes enum.
type SearchJSONBodyLang ¶ added in v0.2.0
type SearchJSONBodyLang string
SearchJSONBodyLang defines parameters for Search.
const ( CsCz SearchJSONBodyLang = "cs_cz" EnUs SearchJSONBodyLang = "en_us" )
Defines values for SearchJSONBodyLang.
func (SearchJSONBodyLang) Valid ¶ added in v0.2.0
func (e SearchJSONBodyLang) Valid() bool
Valid indicates whether the value is a known member of the SearchJSONBodyLang enum.
type SearchJSONBodySortOrder ¶ added in v0.2.0
type SearchJSONBodySortOrder string
SearchJSONBodySortOrder defines parameters for Search.
const ( ASC SearchJSONBodySortOrder = "ASC" DESC SearchJSONBodySortOrder = "DESC" )
Defines values for SearchJSONBodySortOrder.
func (SearchJSONBodySortOrder) Valid ¶ added in v0.2.0
func (e SearchJSONBodySortOrder) Valid() bool
Valid indicates whether the value is a known member of the SearchJSONBodySortOrder enum.
type SearchJSONBodySortOrderBy ¶ added in v0.2.0
type SearchJSONBodySortOrderBy string
SearchJSONBodySortOrderBy defines parameters for Search.
const (
LastUpdated SearchJSONBodySortOrderBy = "last_updated"
)
Defines values for SearchJSONBodySortOrderBy.
func (SearchJSONBodySortOrderBy) Valid ¶ added in v0.2.0
func (e SearchJSONBodySortOrderBy) Valid() bool
Valid indicates whether the value is a known member of the SearchJSONBodySortOrderBy enum.
type SearchJSONBodyStateIds ¶
type SearchJSONBodyStateIds string
SearchJSONBodyStateIds defines parameters for Search.
const ( Active SearchJSONBodyStateIds = "active" Archived SearchJSONBodyStateIds = "archived" ArchivedFinished SearchJSONBodyStateIds = "archived_finished" ArchivedUnfinished SearchJSONBodyStateIds = "archived_unfinished" Finished SearchJSONBodyStateIds = "finished" NotTemplate SearchJSONBodyStateIds = "not_template" Template SearchJSONBodyStateIds = "template" )
Defines values for SearchJSONBodyStateIds.
func (SearchJSONBodyStateIds) Valid ¶
func (e SearchJSONBodyStateIds) Valid() bool
Valid indicates whether the value is a known member of the SearchJSONBodyStateIds enum.
type SearchJSONRequestBody ¶
type SearchJSONRequestBody SearchJSONBody
SearchJSONRequestBody defines body for Search for application/json ContentType.
type SearchResponse ¶
type SearchResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Count *int `json:"count,omitempty"`
Data *struct {
Items *[]SearchResult `json:"items,omitempty"`
} `json:"data,omitempty"`
Page *int `json:"page,omitempty"`
PerPage *int `json:"per_page,omitempty"`
Total *int `json:"total,omitempty"`
}
}
func ParseSearchResponse ¶
func ParseSearchResponse(rsp *http.Response) (*SearchResponse, error)
ParseSearchResponse parses an HTTP response from a SearchWithResponse call
func (SearchResponse) ContentType ¶ added in v0.2.0
func (r SearchResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SearchResponse) Status ¶
func (r SearchResponse) Status() string
Status returns HTTPResponse.Status
func (SearchResponse) StatusCode ¶
func (r SearchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchResult ¶
type SearchResult struct {
// AuthorId ID of the root entity's owner.
AuthorId *int `json:"author_id,omitempty"`
// File **Conditional** — present only for `type=file_comment`.
File *struct {
Name *string `json:"name,omitempty"`
Uuid *string `json:"uuid,omitempty"`
} `json:"file,omitempty"`
// HighlightContent Highlighted snippets from the entity content (HTML, with `<em>` markers).
HighlightContent *[]string `json:"highlight_content,omitempty"`
// HighlightName Highlighted snippets from the entity name (HTML, with `<em>` markers).
HighlightName *[]string `json:"highlight_name,omitempty"`
// Id Entity ID. For `task` hits whose entity is a child of a multi-project parent, this is rewritten to the **multi-project parent's task ID** (the original child ID is not exposed here).
Id *int `json:"id,omitempty"`
// IsSmart **Conditional** — present only for `type=task`. `true` when the task is a smart subtask, `false` for a regular top-level task.
IsSmart *bool `json:"is_smart,omitempty"`
// Link **Conditional** — present only for `type=link_comment`.
Link *struct {
Name *string `json:"name,omitempty"`
Uuid *string `json:"uuid,omitempty"`
} `json:"link,omitempty"`
Name *string `json:"name,omitempty"`
// Note **Conditional** — present only for `type=note_comment`.
Note *struct {
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"note,omitempty"`
Project *ProjectBasic `json:"project,omitempty"`
// Score Elasticsearch relevance score (`null` if missing from the hit).
Score *float32 `json:"score,omitempty"`
// SmartTask **Conditional** — smart-task ancestor (if any) for `type` of `taskcheck` or `task_comment`. `null` when the hit is not under a smart task.
SmartTask *struct {
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"smart_task,omitempty"`
// State Numeric state ID of the root entity (active / archived / finished / template).
State *int `json:"state,omitempty"`
// Task **Conditional** — parent task of the hit. Present for `type` of `taskcheck`, `task_comment`, and for `task` hits that are smart subtasks (in which case it carries the parent task).
Task *struct {
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"task,omitempty"`
Tasklist *TasklistBasic `json:"tasklist,omitempty"`
// Type Underlying Elasticsearch entity type for this hit (underscore form of `ElasticsearchEntityTypeEnum`). Broader than the `entity_type` request filter.
Type *SearchResultType `json:"type,omitempty"`
Uuid *openapi_types.UUID `json:"uuid,omitempty"`
}
SearchResult Single search hit. Fields marked **conditional** below appear only for specific `type` values:
| Conditional field | Appears when `type` is | | --- | --- | | `is_smart` | `task` | | `task` | `task` (only if it's a smart subtask), `taskcheck`, `task_comment` | | `smart_task` | `taskcheck`, `task_comment` (the smart-task ancestor, if any) | | `note` | `note_comment` | | `file` | `file_comment` | | `link` | `link_comment` |
type SearchResultType ¶
type SearchResultType string
SearchResultType Underlying Elasticsearch entity type for this hit (underscore form of `ElasticsearchEntityTypeEnum`). Broader than the `entity_type` request filter.
const ( SearchResultTypeDirectory SearchResultType = "directory" SearchResultTypeFile SearchResultType = "file" SearchResultTypeFileComment SearchResultType = "file_comment" SearchResultTypeLink SearchResultType = "link" SearchResultTypeLinkComment SearchResultType = "link_comment" SearchResultTypeNote SearchResultType = "note" SearchResultTypeNoteComment SearchResultType = "note_comment" SearchResultTypeProject SearchResultType = "project" SearchResultTypeTask SearchResultType = "task" SearchResultTypeTaskComment SearchResultType = "task_comment" SearchResultTypeTaskcheck SearchResultType = "taskcheck" SearchResultTypeTasklist SearchResultType = "tasklist" SearchResultTypeUser SearchResultType = "user" )
Defines values for SearchResultType.
func (SearchResultType) Valid ¶
func (e SearchResultType) Valid() bool
Valid indicates whether the value is a known member of the SearchResultType enum.
type SetTotalTimeEstimateJSONBody ¶
type SetTotalTimeEstimateJSONBody struct {
Minutes int `json:"minutes"`
}
SetTotalTimeEstimateJSONBody defines parameters for SetTotalTimeEstimate.
type SetTotalTimeEstimateJSONRequestBody ¶
type SetTotalTimeEstimateJSONRequestBody SetTotalTimeEstimateJSONBody
SetTotalTimeEstimateJSONRequestBody defines body for SetTotalTimeEstimate for application/json ContentType.
type SetTotalTimeEstimateResponse ¶
type SetTotalTimeEstimateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseSetTotalTimeEstimateResponse ¶
func ParseSetTotalTimeEstimateResponse(rsp *http.Response) (*SetTotalTimeEstimateResponse, error)
ParseSetTotalTimeEstimateResponse parses an HTTP response from a SetTotalTimeEstimateWithResponse call
func (SetTotalTimeEstimateResponse) ContentType ¶ added in v0.2.0
func (r SetTotalTimeEstimateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetTotalTimeEstimateResponse) Status ¶
func (r SetTotalTimeEstimateResponse) Status() string
Status returns HTTPResponse.Status
func (SetTotalTimeEstimateResponse) StatusCode ¶
func (r SetTotalTimeEstimateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetUserTimeEstimateJSONBody ¶
type SetUserTimeEstimateJSONBody struct {
Minutes int `json:"minutes"`
}
SetUserTimeEstimateJSONBody defines parameters for SetUserTimeEstimate.
type SetUserTimeEstimateJSONRequestBody ¶
type SetUserTimeEstimateJSONRequestBody SetUserTimeEstimateJSONBody
SetUserTimeEstimateJSONRequestBody defines body for SetUserTimeEstimate for application/json ContentType.
type SetUserTimeEstimateResponse ¶
type SetUserTimeEstimateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
}
func ParseSetUserTimeEstimateResponse ¶
func ParseSetUserTimeEstimateResponse(rsp *http.Response) (*SetUserTimeEstimateResponse, error)
ParseSetUserTimeEstimateResponse parses an HTTP response from a SetUserTimeEstimateWithResponse call
func (SetUserTimeEstimateResponse) ContentType ¶ added in v0.2.0
func (r SetUserTimeEstimateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetUserTimeEstimateResponse) Status ¶
func (r SetUserTimeEstimateResponse) Status() string
Status returns HTTPResponse.Status
func (SetUserTimeEstimateResponse) StatusCode ¶
func (r SetUserTimeEstimateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StartTimeTrackingJSONBody ¶
type StartTimeTrackingJSONBody struct {
// Note Optional note for the time tracking session.
Note *string `json:"note,omitempty"`
// TaskId ID of the task to track time for. Optional — if not provided, time tracking starts without a task assignment.
TaskId *int `json:"task_id,omitempty"`
}
StartTimeTrackingJSONBody defines parameters for StartTimeTracking.
type StartTimeTrackingJSONRequestBody ¶
type StartTimeTrackingJSONRequestBody StartTimeTrackingJSONBody
StartTimeTrackingJSONRequestBody defines body for StartTimeTracking for application/json ContentType.
type StartTimeTrackingResponse ¶
type StartTimeTrackingResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Uuid UUID of the created time tracking session
Uuid *openapi_types.UUID `json:"uuid,omitempty"`
}
JSON409 *ErrorResponse
}
func ParseStartTimeTrackingResponse ¶
func ParseStartTimeTrackingResponse(rsp *http.Response) (*StartTimeTrackingResponse, error)
ParseStartTimeTrackingResponse parses an HTTP response from a StartTimeTrackingWithResponse call
func (StartTimeTrackingResponse) ContentType ¶ added in v0.2.0
func (r StartTimeTrackingResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StartTimeTrackingResponse) Status ¶
func (r StartTimeTrackingResponse) Status() string
Status returns HTTPResponse.Status
func (StartTimeTrackingResponse) StatusCode ¶
func (r StartTimeTrackingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type State ¶
type State struct {
Id *int `json:"id,omitempty"`
State *StateState `json:"state,omitempty"`
}
State defines model for State.
type StateState ¶
type StateState string
StateState defines model for State.State.
const ( StateStateActive StateState = "active" StateStateArchived StateState = "archived" StateStateDeleted StateState = "deleted" StateStateFinished StateState = "finished" StateStateTemplate StateState = "template" )
Defines values for StateState.
func (StateState) Valid ¶
func (e StateState) Valid() bool
Valid indicates whether the value is a known member of the StateState enum.
type StopTimeTrackingResponse ¶
type StopTimeTrackingResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *WorkReport
JSON409 *ErrorResponse
}
func ParseStopTimeTrackingResponse ¶
func ParseStopTimeTrackingResponse(rsp *http.Response) (*StopTimeTrackingResponse, error)
ParseStopTimeTrackingResponse parses an HTTP response from a StopTimeTrackingWithResponse call
func (StopTimeTrackingResponse) ContentType ¶ added in v0.2.0
func (r StopTimeTrackingResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StopTimeTrackingResponse) Status ¶
func (r StopTimeTrackingResponse) Status() string
Status returns HTTPResponse.Status
func (StopTimeTrackingResponse) StatusCode ¶
func (r StopTimeTrackingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Subtask ¶
type Subtask struct {
Author *UserBasic `json:"author,omitempty"`
CountComments *int `json:"count_comments,omitempty"`
CountSubtasks *int `json:"count_subtasks,omitempty"`
// DateAdd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateAdd *freelotime.Time `json:"date_add,omitempty"`
// DueDate Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DueDate *freelotime.Time `json:"due_date,omitempty"`
// DueDateEnd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DueDateEnd *freelotime.Time `json:"due_date_end,omitempty"`
Id *int `json:"id,omitempty"`
Labels *[]TaskLabel `json:"labels,omitempty"`
Name *string `json:"name,omitempty"`
Project *struct {
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
State *State `json:"state,omitempty"`
} `json:"project,omitempty"`
State *State `json:"state,omitempty"`
TaskId *int `json:"task_id,omitempty"`
Tasklist *struct {
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
State *State `json:"state,omitempty"`
} `json:"tasklist,omitempty"`
// Type Subtask kind discriminator: `subtask` = smart subtask (has its own `task_id`), `taskcheck` = simple checklist item (`task_id` is null). On the public API a `taskcheck` supports read, create, edit (name/worker only), finish, activate and delete via the `/api/v1/taskcheck/{taskcheck_id}/*` endpoints.
Type *SubtaskType `json:"type,omitempty"`
Worker *UserBasic `json:"worker,omitempty"`
}
Subtask defines model for Subtask.
type SubtaskCreate ¶
type SubtaskCreate struct {
Comment *struct {
Content *string `json:"content,omitempty"`
} `json:"comment,omitempty"`
// DueDate Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DueDate *freelotime.Time `json:"due_date,omitempty"`
// DueDateEnd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DueDateEnd *freelotime.Time `json:"due_date_end,omitempty"`
Labels *[]TaskLabelAddInput `json:"labels,omitempty"`
Name string `json:"name"`
// NotifyAuthor When true, the authenticated caller (the action author) is kept in the notification recipients even though they triggered the action. Useful for automations acting under your own token. Only takes effect if you are otherwise a subscriber/worker/tracking user of the target.
NotifyAuthor *bool `json:"notify_author,omitempty"`
PriorityEnum *SubtaskCreatePriorityEnum `json:"priority_enum,omitempty"`
TrackingUsersIds *[]int `json:"tracking_users_ids,omitempty"`
Worker *int `json:"worker,omitempty"`
}
SubtaskCreate defines model for SubtaskCreate.
type SubtaskCreatePriorityEnum ¶
type SubtaskCreatePriorityEnum string
SubtaskCreatePriorityEnum defines model for SubtaskCreate.PriorityEnum.
const ( SubtaskCreatePriorityEnumH SubtaskCreatePriorityEnum = "h" SubtaskCreatePriorityEnumL SubtaskCreatePriorityEnum = "l" SubtaskCreatePriorityEnumM SubtaskCreatePriorityEnum = "m" )
Defines values for SubtaskCreatePriorityEnum.
func (SubtaskCreatePriorityEnum) Valid ¶
func (e SubtaskCreatePriorityEnum) Valid() bool
Valid indicates whether the value is a known member of the SubtaskCreatePriorityEnum enum.
type SubtaskType ¶ added in v0.2.0
type SubtaskType string
SubtaskType Subtask kind discriminator: `subtask` = smart subtask (has its own `task_id`), `taskcheck` = simple checklist item (`task_id` is null). On the public API a `taskcheck` supports read, create, edit (name/worker only), finish, activate and delete via the `/api/v1/taskcheck/{taskcheck_id}/*` endpoints.
const ( SubtaskTypeSubtask SubtaskType = "subtask" SubtaskTypeTaskcheck SubtaskType = "taskcheck" )
Defines values for SubtaskType.
func (SubtaskType) Valid ¶ added in v0.2.0
func (e SubtaskType) Valid() bool
Valid indicates whether the value is a known member of the SubtaskType enum.
type SuccessResponse ¶
type SuccessResponse struct {
Result *string `json:"result,omitempty"`
}
SuccessResponse defines model for SuccessResponse.
type TaskCreate ¶
type TaskCreate struct {
Comment *struct {
Content *string `json:"content,omitempty"`
} `json:"comment,omitempty"`
// DueDate Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DueDate *freelotime.Time `json:"due_date,omitempty"`
// DueDateEnd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DueDateEnd *freelotime.Time `json:"due_date_end,omitempty"`
Labels *[]TaskLabelAddInput `json:"labels,omitempty"`
Name string `json:"name"`
// NotifyAuthor When true, the authenticated caller (the action author) is kept in the notification recipients even though they triggered the action. Useful for automations acting under your own token. Only takes effect if you are otherwise a subscriber/worker/tracking user of the target.
NotifyAuthor *bool `json:"notify_author,omitempty"`
PriorityEnum *TaskCreatePriorityEnum `json:"priority_enum,omitempty"`
Subtasks *[]SubtaskCreate `json:"subtasks,omitempty"`
TrackingUsersIds *[]int `json:"tracking_users_ids,omitempty"`
TurnOffAuthorsTracking *bool `json:"turn_off_authors_tracking,omitempty"`
Worker *int `json:"worker,omitempty"`
}
TaskCreate defines model for TaskCreate.
type TaskCreatePriorityEnum ¶
type TaskCreatePriorityEnum string
TaskCreatePriorityEnum defines model for TaskCreate.PriorityEnum.
const ( TaskCreatePriorityEnumH TaskCreatePriorityEnum = "h" TaskCreatePriorityEnumL TaskCreatePriorityEnum = "l" TaskCreatePriorityEnumM TaskCreatePriorityEnum = "m" )
Defines values for TaskCreatePriorityEnum.
func (TaskCreatePriorityEnum) Valid ¶
func (e TaskCreatePriorityEnum) Valid() bool
Valid indicates whether the value is a known member of the TaskCreatePriorityEnum enum.
type TaskCreated ¶
type TaskCreated struct {
// DateAdd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateAdd *freelotime.Time `json:"date_add,omitempty"`
// DueDate Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DueDate *freelotime.Time `json:"due_date,omitempty"`
// DueDateEnd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DueDateEnd *freelotime.Time `json:"due_date_end,omitempty"`
Id *int `json:"id,omitempty"`
Labels *[]TaskLabel `json:"labels,omitempty"`
Name *string `json:"name,omitempty"`
PriorityEnum *string `json:"priority_enum,omitempty"`
Subtasks *[]struct {
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
TaskId *int `json:"task_id,omitempty"`
} `json:"subtasks,omitempty"`
TrackingUsers *[]UserBasic `json:"tracking_users,omitempty"`
Worker *UserBasic `json:"worker,omitempty"`
}
TaskCreated defines model for TaskCreated.
type TaskDetail ¶
type TaskDetail struct {
Author *UserBasic `json:"author,omitempty"`
Comments *[]CommentWithFiles `json:"comments,omitempty"`
Cost *Currency `json:"cost,omitempty"`
CountSubtasks *int `json:"count_subtasks,omitempty"`
CustomFields *[]CustomFieldWithValue `json:"custom_fields,omitempty"`
// DateAdd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateAdd *freelotime.Time `json:"date_add,omitempty"`
// DateEditedAt Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateEditedAt *freelotime.Time `json:"date_edited_at,omitempty"`
// DateFinished Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateFinished *freelotime.Time `json:"date_finished,omitempty"`
// DueDate Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DueDate *freelotime.Time `json:"due_date,omitempty"`
// DueDateEnd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DueDateEnd *freelotime.Time `json:"due_date_end,omitempty"`
Id *int `json:"id,omitempty"`
Labels *[]TaskLabel `json:"labels,omitempty"`
Minutes *int `json:"minutes,omitempty"`
Name *string `json:"name,omitempty"`
ParentTaskId *int `json:"parent_task_id,omitempty"`
PriorityEnum *string `json:"priority_enum,omitempty"`
Project *ProjectBasic `json:"project,omitempty"`
State *State `json:"state,omitempty"`
Tasklist *TasklistBasic `json:"tasklist,omitempty"`
TotalTimeEstimate *TimeEstimate `json:"total_time_estimate,omitempty"`
TrackingUsers *[]UserBasic `json:"tracking_users,omitempty"`
UsersTimeEstimates *[]UserTimeEstimate `json:"users_time_estimates,omitempty"`
Worker *UserBasic `json:"worker,omitempty"`
}
TaskDetail defines model for TaskDetail.
type TaskFinished ¶
type TaskFinished struct {
Author *UserBasic `json:"author,omitempty"`
CountComments *int `json:"count_comments,omitempty"`
CountSubtasks *int `json:"count_subtasks,omitempty"`
// DateAdd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateAdd *freelotime.Time `json:"date_add,omitempty"`
// DateEditedAt Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateEditedAt *freelotime.Time `json:"date_edited_at,omitempty"`
// DateFinished Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateFinished *freelotime.Time `json:"date_finished,omitempty"`
// DueDate Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DueDate *freelotime.Time `json:"due_date,omitempty"`
// DueDateEnd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DueDateEnd *freelotime.Time `json:"due_date_end,omitempty"`
FinishedBy *UserBasic `json:"finished_by,omitempty"`
Id *int `json:"id,omitempty"`
Labels *[]TaskLabel `json:"labels,omitempty"`
Name *string `json:"name,omitempty"`
ParentTaskId *int `json:"parent_task_id,omitempty"`
TotalTimeEstimate *TimeEstimate `json:"total_time_estimate,omitempty"`
UsersTimeEstimates *[]UserTimeEstimate `json:"users_time_estimates,omitempty"`
Worker *UserBasic `json:"worker,omitempty"`
}
TaskFinished defines model for TaskFinished.
type TaskFull ¶
type TaskFull struct {
Author *UserBasic `json:"author,omitempty"`
CountComments *int `json:"count_comments,omitempty"`
CountSubtasks *int `json:"count_subtasks,omitempty"`
CustomFields *[]CustomFieldWithValue `json:"custom_fields,omitempty"`
// DateAdd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateAdd *freelotime.Time `json:"date_add,omitempty"`
// DateEditedAt Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateEditedAt *freelotime.Time `json:"date_edited_at,omitempty"`
// DueDate Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DueDate *freelotime.Time `json:"due_date,omitempty"`
// DueDateEnd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DueDateEnd *freelotime.Time `json:"due_date_end,omitempty"`
Id *int `json:"id,omitempty"`
Labels *[]TaskLabel `json:"labels,omitempty"`
Name *string `json:"name,omitempty"`
ParentTaskId *int `json:"parent_task_id,omitempty"`
// PriorityEnum Task priority level: 'h' = high, 'm' = medium, 'l' = low.
PriorityEnum *TaskFullPriorityEnum `json:"priority_enum,omitempty"`
Project *struct {
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
State *State `json:"state,omitempty"`
} `json:"project,omitempty"`
State *State `json:"state,omitempty"`
Tasklist *struct {
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
State *State `json:"state,omitempty"`
} `json:"tasklist,omitempty"`
TotalTimeEstimate *TimeEstimate `json:"total_time_estimate,omitempty"`
// Type Task kind discriminator: `task` = top-level task, `subtask` = smart subtask (has its own task id).
Type *TaskFullType `json:"type,omitempty"`
UsersTimeEstimates *[]UserTimeEstimate `json:"users_time_estimates,omitempty"`
Worker *UserBasic `json:"worker,omitempty"`
}
TaskFull defines model for TaskFull.
type TaskFullPriorityEnum ¶ added in v0.2.0
type TaskFullPriorityEnum string
TaskFullPriorityEnum Task priority level: 'h' = high, 'm' = medium, 'l' = low.
const ( TaskFullPriorityEnumH TaskFullPriorityEnum = "h" TaskFullPriorityEnumL TaskFullPriorityEnum = "l" TaskFullPriorityEnumM TaskFullPriorityEnum = "m" )
Defines values for TaskFullPriorityEnum.
func (TaskFullPriorityEnum) Valid ¶ added in v0.2.0
func (e TaskFullPriorityEnum) Valid() bool
Valid indicates whether the value is a known member of the TaskFullPriorityEnum enum.
type TaskFullType ¶ added in v0.2.0
type TaskFullType string
TaskFullType Task kind discriminator: `task` = top-level task, `subtask` = smart subtask (has its own task id).
const ( TaskFullTypeSubtask TaskFullType = "subtask" TaskFullTypeTask TaskFullType = "task" )
Defines values for TaskFullType.
func (TaskFullType) Valid ¶ added in v0.2.0
func (e TaskFullType) Valid() bool
Valid indicates whether the value is a known member of the TaskFullType enum.
type TaskLabel ¶
type TaskLabel struct {
Color *string `json:"color,omitempty"`
Name *string `json:"name,omitempty"`
Uuid *openapi_types.UUID `json:"uuid,omitempty"`
}
TaskLabel defines model for TaskLabel.
type TaskLabelAddInput ¶
type TaskLabelAddInput struct {
// contains filtered or unexported fields
}
TaskLabelAddInput Two input modes: (1) UUID only — reference an existing label by UUID, assigned as-is. (2) Name-based — name is required; color defaults to #77787a if omitted; uuid is auto-generated if omitted. Matching is by name+color — if an existing label matches both, it is reused; otherwise a new label is created.
func (TaskLabelAddInput) AsTaskLabelAddInput0 ¶
func (t TaskLabelAddInput) AsTaskLabelAddInput0() (TaskLabelAddInput0, error)
AsTaskLabelAddInput0 returns the union data inside the TaskLabelAddInput as a TaskLabelAddInput0
func (TaskLabelAddInput) AsTaskLabelAddInput1 ¶
func (t TaskLabelAddInput) AsTaskLabelAddInput1() (TaskLabelAddInput1, error)
AsTaskLabelAddInput1 returns the union data inside the TaskLabelAddInput as a TaskLabelAddInput1
func (*TaskLabelAddInput) FromTaskLabelAddInput0 ¶
func (t *TaskLabelAddInput) FromTaskLabelAddInput0(v TaskLabelAddInput0) error
FromTaskLabelAddInput0 overwrites any union data inside the TaskLabelAddInput as the provided TaskLabelAddInput0
func (*TaskLabelAddInput) FromTaskLabelAddInput1 ¶
func (t *TaskLabelAddInput) FromTaskLabelAddInput1(v TaskLabelAddInput1) error
FromTaskLabelAddInput1 overwrites any union data inside the TaskLabelAddInput as the provided TaskLabelAddInput1
func (TaskLabelAddInput) MarshalJSON ¶
func (t TaskLabelAddInput) MarshalJSON() ([]byte, error)
func (*TaskLabelAddInput) MergeTaskLabelAddInput0 ¶
func (t *TaskLabelAddInput) MergeTaskLabelAddInput0(v TaskLabelAddInput0) error
MergeTaskLabelAddInput0 performs a merge with any union data inside the TaskLabelAddInput, using the provided TaskLabelAddInput0
func (*TaskLabelAddInput) MergeTaskLabelAddInput1 ¶
func (t *TaskLabelAddInput) MergeTaskLabelAddInput1(v TaskLabelAddInput1) error
MergeTaskLabelAddInput1 performs a merge with any union data inside the TaskLabelAddInput, using the provided TaskLabelAddInput1
func (*TaskLabelAddInput) UnmarshalJSON ¶
func (t *TaskLabelAddInput) UnmarshalJSON(b []byte) error
type TaskLabelAddInput0 ¶
type TaskLabelAddInput0 struct {
Uuid openapi_types.UUID `json:"uuid"`
}
TaskLabelAddInput0 Reference an existing label by UUID.
type TaskLabelAddInput1 ¶
type TaskLabelAddInput1 struct {
// Color Label color hex code. Defaults to #77787a (gray) if not provided.
Color *string `json:"color,omitempty"`
Name string `json:"name"`
// Uuid Optional UUID for the label. Auto-generated if omitted.
Uuid *openapi_types.UUID `json:"uuid,omitempty"`
}
TaskLabelAddInput1 Create or match a label by name and color.
type TaskLabelColor ¶ added in v0.2.1
type TaskLabelColor struct {
// Color Hex value to send as the label color (e.g. "#15acc0").
Color *string `json:"color,omitempty"`
// DisplayName Human-readable color name, for display only; not accepted as input.
DisplayName *string `json:"display_name,omitempty"`
// IsDefault True for the color applied when a label is created without a color.
IsDefault *bool `json:"is_default,omitempty"`
}
TaskLabelColor defines model for TaskLabelColor.
type TaskLabelRemoveInput ¶
type TaskLabelRemoveInput struct {
// contains filtered or unexported fields
}
TaskLabelRemoveInput Three input modes: (1) UUID — removes the label identified by UUID. (2) Name only — removes all labels with that name regardless of color. (3) Name + color — removes the label matching both name and color.
func (TaskLabelRemoveInput) AsTaskLabelRemoveInput0 ¶
func (t TaskLabelRemoveInput) AsTaskLabelRemoveInput0() (TaskLabelRemoveInput0, error)
AsTaskLabelRemoveInput0 returns the union data inside the TaskLabelRemoveInput as a TaskLabelRemoveInput0
func (TaskLabelRemoveInput) AsTaskLabelRemoveInput1 ¶
func (t TaskLabelRemoveInput) AsTaskLabelRemoveInput1() (TaskLabelRemoveInput1, error)
AsTaskLabelRemoveInput1 returns the union data inside the TaskLabelRemoveInput as a TaskLabelRemoveInput1
func (TaskLabelRemoveInput) AsTaskLabelRemoveInput2 ¶
func (t TaskLabelRemoveInput) AsTaskLabelRemoveInput2() (TaskLabelRemoveInput2, error)
AsTaskLabelRemoveInput2 returns the union data inside the TaskLabelRemoveInput as a TaskLabelRemoveInput2
func (*TaskLabelRemoveInput) FromTaskLabelRemoveInput0 ¶
func (t *TaskLabelRemoveInput) FromTaskLabelRemoveInput0(v TaskLabelRemoveInput0) error
FromTaskLabelRemoveInput0 overwrites any union data inside the TaskLabelRemoveInput as the provided TaskLabelRemoveInput0
func (*TaskLabelRemoveInput) FromTaskLabelRemoveInput1 ¶
func (t *TaskLabelRemoveInput) FromTaskLabelRemoveInput1(v TaskLabelRemoveInput1) error
FromTaskLabelRemoveInput1 overwrites any union data inside the TaskLabelRemoveInput as the provided TaskLabelRemoveInput1
func (*TaskLabelRemoveInput) FromTaskLabelRemoveInput2 ¶
func (t *TaskLabelRemoveInput) FromTaskLabelRemoveInput2(v TaskLabelRemoveInput2) error
FromTaskLabelRemoveInput2 overwrites any union data inside the TaskLabelRemoveInput as the provided TaskLabelRemoveInput2
func (TaskLabelRemoveInput) MarshalJSON ¶
func (t TaskLabelRemoveInput) MarshalJSON() ([]byte, error)
func (*TaskLabelRemoveInput) MergeTaskLabelRemoveInput0 ¶
func (t *TaskLabelRemoveInput) MergeTaskLabelRemoveInput0(v TaskLabelRemoveInput0) error
MergeTaskLabelRemoveInput0 performs a merge with any union data inside the TaskLabelRemoveInput, using the provided TaskLabelRemoveInput0
func (*TaskLabelRemoveInput) MergeTaskLabelRemoveInput1 ¶
func (t *TaskLabelRemoveInput) MergeTaskLabelRemoveInput1(v TaskLabelRemoveInput1) error
MergeTaskLabelRemoveInput1 performs a merge with any union data inside the TaskLabelRemoveInput, using the provided TaskLabelRemoveInput1
func (*TaskLabelRemoveInput) MergeTaskLabelRemoveInput2 ¶
func (t *TaskLabelRemoveInput) MergeTaskLabelRemoveInput2(v TaskLabelRemoveInput2) error
MergeTaskLabelRemoveInput2 performs a merge with any union data inside the TaskLabelRemoveInput, using the provided TaskLabelRemoveInput2
func (*TaskLabelRemoveInput) UnmarshalJSON ¶
func (t *TaskLabelRemoveInput) UnmarshalJSON(b []byte) error
type TaskLabelRemoveInput0 ¶
type TaskLabelRemoveInput0 struct {
Uuid openapi_types.UUID `json:"uuid"`
}
TaskLabelRemoveInput0 Remove a label by UUID.
type TaskLabelRemoveInput1 ¶
type TaskLabelRemoveInput1 struct {
Name string `json:"name"`
}
TaskLabelRemoveInput1 Remove all labels with the given name (any color).
type TaskLabelRemoveInput2 ¶
TaskLabelRemoveInput2 Remove the label matching both name and color.
type TaskRelation ¶
type TaskRelation struct {
RelatedTaskId *int `json:"related_task_id,omitempty"`
RelatedTaskName *string `json:"related_task_name,omitempty"`
Type *TaskRelationType `json:"type,omitempty"`
}
TaskRelation defines model for TaskRelation.
type TaskRelationType ¶
type TaskRelationType string
TaskRelationType defines model for TaskRelation.Type.
const ( BlockedBy TaskRelationType = "blocked_by" Blocks TaskRelationType = "blocks" DuplicateOf TaskRelationType = "duplicate_of" RelatedTo TaskRelationType = "related_to" )
Defines values for TaskRelationType.
func (TaskRelationType) Valid ¶
func (e TaskRelationType) Valid() bool
Valid indicates whether the value is a known member of the TaskRelationType enum.
type TaskSummary ¶
type TaskSummary struct {
Author *UserBasic `json:"author,omitempty"`
CountComments *int `json:"count_comments,omitempty"`
CountSubtasks *int `json:"count_subtasks,omitempty"`
// DateAdd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateAdd *freelotime.Time `json:"date_add,omitempty"`
// DateEditedAt Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateEditedAt *freelotime.Time `json:"date_edited_at,omitempty"`
// DueDate Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DueDate *freelotime.Time `json:"due_date,omitempty"`
// DueDateEnd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DueDateEnd *freelotime.Time `json:"due_date_end,omitempty"`
Id *int `json:"id,omitempty"`
Labels *[]TaskLabel `json:"labels,omitempty"`
Name *string `json:"name,omitempty"`
ParentTaskId *int `json:"parent_task_id,omitempty"`
TotalTimeEstimate *TimeEstimate `json:"total_time_estimate,omitempty"`
UsersTimeEstimates *[]UserTimeEstimate `json:"users_time_estimates,omitempty"`
Worker *UserBasic `json:"worker,omitempty"`
}
TaskSummary defines model for TaskSummary.
type TaskcheckIdParam ¶ added in v0.2.0
type TaskcheckIdParam = int
TaskcheckIdParam defines model for TaskcheckIdParam.
type TasklistBasic ¶
TasklistBasic defines model for TasklistBasic.
type TasklistDetail ¶
type TasklistDetail struct {
// DateAdd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateAdd *freelotime.Time `json:"date_add,omitempty"`
// DateEditedAt Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateEditedAt *freelotime.Time `json:"date_edited_at,omitempty"`
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
ProjectId *int `json:"project_id,omitempty"`
Tasks *[]struct {
// DueDate Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DueDate *freelotime.Time `json:"due_date,omitempty"`
// DueDateEnd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DueDateEnd *freelotime.Time `json:"due_date_end,omitempty"`
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
ParentTaskId *int `json:"parent_task_id,omitempty"`
Worker *UserBasic `json:"worker,omitempty"`
} `json:"tasks,omitempty"`
// WorkerId Default worker of the tasklist (same field as in POST /tasklist/{tasklist_id}/edit). `null` when not set or when the worker is no longer among the tasklist's assignable workers.
WorkerId *int `json:"worker_id,omitempty"`
}
TasklistDetail defines model for TasklistDetail.
type TasklistFull ¶
type TasklistFull struct {
Budget *Currency `json:"budget,omitempty"`
// DateAdd Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateAdd *freelotime.Time `json:"date_add,omitempty"`
// DateEditedAt Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateEditedAt *freelotime.Time `json:"date_edited_at,omitempty"`
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Project *struct {
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
State *State `json:"state,omitempty"`
} `json:"project,omitempty"`
RealCost *Currency `json:"real_cost,omitempty"`
RealMinutesSpent *int `json:"real_minutes_spent,omitempty"`
State *State `json:"state,omitempty"`
}
TasklistFull defines model for TasklistFull.
type TasklistIdParam ¶
type TasklistIdParam = int
TasklistIdParam defines model for TasklistIdParam.
type TasklistWithBudget ¶
type TasklistWithBudget struct {
Budget *Currency `json:"budget,omitempty"`
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
}
TasklistWithBudget defines model for TasklistWithBudget.
type TimeEstimate ¶
type TimeEstimate struct {
Minutes *int `json:"minutes,omitempty"`
}
TimeEstimate defines model for TimeEstimate.
type UploadFileMultipartBody ¶
type UploadFileMultipartBody struct {
File openapi_types.File `json:"file"`
}
UploadFileMultipartBody defines parameters for UploadFile.
type UploadFileMultipartRequestBody ¶
type UploadFileMultipartRequestBody UploadFileMultipartBody
UploadFileMultipartRequestBody defines body for UploadFile for multipart/form-data ContentType.
type UploadFileResponse ¶
type UploadFileResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Uuid *openapi_types.UUID `json:"uuid,omitempty"`
}
}
func ParseUploadFileResponse ¶
func ParseUploadFileResponse(rsp *http.Response) (*UploadFileResponse, error)
ParseUploadFileResponse parses an HTTP response from a UploadFileWithResponse call
func (UploadFileResponse) ContentType ¶ added in v0.2.0
func (r UploadFileResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UploadFileResponse) Status ¶
func (r UploadFileResponse) Status() string
Status returns HTTPResponse.Status
func (UploadFileResponse) StatusCode ¶
func (r UploadFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserBasic ¶
type UserBasic struct {
Fullname string `json:"fullname"`
Id int `json:"id"`
// MentionKey Normalized form of `fullname` (whitespace stripped, diacritics removed) used as the visible text after `@` inside a mention span. Build a mention with:
// `<span data-freelo-mention="1" data-freelo-user-id="{id}">@{mention_key}</span>`
MentionKey string `json:"mention_key"`
}
UserBasic defines model for UserBasic.
type UserTimeEstimate ¶
type UserTimeEstimate struct {
Minutes *int `json:"minutes,omitempty"`
User *UserBasic `json:"user,omitempty"`
}
UserTimeEstimate defines model for UserTimeEstimate.
type UserWithEmail ¶ added in v0.2.0
type UserWithEmail struct {
Email openapi_types.Email `json:"email"`
Fullname string `json:"fullname"`
Id int `json:"id"`
// MentionKey Normalized form of `fullname` (whitespace stripped, diacritics removed) used as the visible text after `@` inside a mention span. Build a mention with:
// `<span data-freelo-mention="1" data-freelo-user-id="{id}">@{mention_key}</span>`
MentionKey string `json:"mention_key"`
}
UserWithEmail defines model for UserWithEmail.
type WorkReport ¶
type WorkReport struct {
Author *UserBasic `json:"author,omitempty"`
Cost *Currency `json:"cost,omitempty"`
// DateAdd Insertion timestamp of the work report (when the row was created in the DB). Naive ISO8601 in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateAdd *freelotime.Time `json:"date_add,omitempty"`
// DateReported Start timestamp of the work session. Naive ISO8601 in Europe/Prague timezone (no offset). End time is derived as `date_reported + minutes`. See "Timestamp Format" in API description.
DateReported *freelotime.Time `json:"date_reported,omitempty"`
Id *int `json:"id,omitempty"`
Minutes *int `json:"minutes,omitempty"`
Note *string `json:"note,omitempty"`
Task *struct {
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"task,omitempty"`
Worker *UserBasic `json:"worker,omitempty"`
}
WorkReport defines model for WorkReport.
type WorkReportExtended ¶
type WorkReportExtended struct {
Author *UserBasic `json:"author,omitempty"`
Cost *Currency `json:"cost,omitempty"`
// DateAdd Insertion timestamp of the work report (when the row was created in the DB). Naive ISO8601 in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateAdd *freelotime.Time `json:"date_add,omitempty"`
// DateReported Start timestamp of the work session. Naive ISO8601 in Europe/Prague timezone (no offset). End time is derived as `date_reported + minutes`. See "Timestamp Format" in API description.
DateReported *freelotime.Time `json:"date_reported,omitempty"`
Id *int `json:"id,omitempty"`
Minutes *int `json:"minutes,omitempty"`
Note *string `json:"note,omitempty"`
Project *ProjectBasic `json:"project,omitempty"`
Task *struct {
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"task,omitempty"`
Tasklist *TasklistBasic `json:"tasklist,omitempty"`
WorkReportId *int `json:"work_report_id,omitempty"`
Worker *UserBasic `json:"worker,omitempty"`
}
WorkReportExtended defines model for WorkReportExtended.
type WorkReportFull ¶
type WorkReportFull struct {
Author *UserBasic `json:"author,omitempty"`
Cost *Currency `json:"cost,omitempty"`
// DateAdd Insertion timestamp of the work report (when the row was created in the DB). Naive ISO8601 in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateAdd *freelotime.Time `json:"date_add,omitempty"`
// DateEditedAt Naive ISO8601 timestamp in Europe/Prague timezone (no offset). See "Timestamp Format" in API description.
DateEditedAt *freelotime.Time `json:"date_edited_at,omitempty"`
// DateReported Start timestamp of the work session. Naive ISO8601 in Europe/Prague timezone (no offset). End time is derived as `date_reported + minutes`. See "Timestamp Format" in API description.
DateReported *freelotime.Time `json:"date_reported,omitempty"`
Id *int `json:"id,omitempty"`
Minutes *int `json:"minutes,omitempty"`
Note *string `json:"note,omitempty"`
Project *struct {
Id *int `json:"id,omitempty"`
Labels *[]string `json:"labels,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"project,omitempty"`
Task *struct {
Cost *Currency `json:"cost,omitempty"`
Id *int `json:"id,omitempty"`
Labels *[]TaskLabel `json:"labels,omitempty"`
Minutes *int `json:"minutes,omitempty"`
Name *string `json:"name,omitempty"`
ParentTaskId *int `json:"parent_task_id,omitempty"`
TotalTimeEstimate *TimeEstimate `json:"total_time_estimate,omitempty"`
UsersTimeEstimates *[]UserTimeEstimate `json:"users_time_estimates,omitempty"`
} `json:"task,omitempty"`
Tasklist *TasklistBasic `json:"tasklist,omitempty"`
Worker *UserBasic `json:"worker,omitempty"`
}
WorkReportFull defines model for WorkReportFull.