Class: SDKTask

sdkApi/interfaces/entities/iTask.SDKTask

A class representing a Task object.

Implements

Implements

Table of contents

Constructors

Properties

Constructors

constructor

new SDKTask(task)

Creates an instance of SDKTask.

Parameters

Name Type Description
task any The task object.

Properties

assignmentIds

assignmentIds: string[]

The IDs of the assignments associated with the task.

Implementation of

ITask.assignmentIds


createdAt

createdAt: Date

The date and time when the task was created.

Implementation of

ITask.createdAt


creator

creator: string

The creator of the task.

Implementation of

ITask.creator


datasetId

datasetId: string

The ID of the dataset the task belongs to.

Implementation of

ITask.datasetId


dueDate

dueDate: number

The due date of the task.

Implementation of

ITask.dueDate


forReview

forReview: number

The number of items that need to be reviewed.

Implementation of

ITask.forReview


hasParent

hasParent: boolean

Whether the task has a parent task.

Implementation of

ITask.hasParent


id

id: string

The unique identifier of the task.

Implementation of

ITask.id


issues

issues: number

The number of issues associated with the task.

Implementation of

ITask.issues


itemStatus

itemStatus: Object

The status of the items associated with the task.

Type declaration

Name Type
approved? number
completed? number
remaining number

Implementation of

ITask.itemStatus


name

name: string

The name of the task.

Implementation of

ITask.name


progress

progress: number

The progress of the task.

Implementation of

ITask.progress


projectId

projectId: string

The ID of the project the task belongs to.

Implementation of

ITask.projectId


query

query: string

The query associated with the task.

Implementation of

ITask.query


recipeId

recipeId: string

The ID of the recipe associated with the task.

Implementation of

ITask.recipeId


spec

spec: any

The task's spec.

Implementation of

ITask.spec


status

status: string

The status of the task.

Implementation of

ITask.status


taskOwner

taskOwner: string

The task owner.

Implementation of

ITask.taskOwner


updatedAt

updatedAt: Date

The date and time when the task was last updated.

Implementation of

ITask.updatedAt