Class: SDKTask
entities.SDKTask
A class representing a Task object.
Implements
Table of contents
Constructors
Properties
- assignmentIds
- createdAt
- creator
- datasetId
- dueDate
- forReview
- hasParent
- id
- issues
- itemStatus
- name
- progress
- projectId
- query
- recipeId
- spec
- status
- taskOwner
- updatedAt
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.
createdAt
• createdAt: Date
The date and time when the task was created.
creator
• creator: string
The creator of the task.
datasetId
• datasetId: string
The ID of the dataset the task belongs to.
dueDate
• dueDate: number
The due date of the task.
forReview
• forReview: number
The number of items that need to be reviewed.
hasParent
• hasParent: boolean
Whether the task has a parent task.
id
• id: string
The unique identifier of the task.
issues
• issues: number
The number of issues associated with the task.
itemStatus
• itemStatus: Object
The status of the items associated with the task.
Type declaration
Name | Type |
---|---|
approved? |
number |
completed? |
number |
remaining |
number |
name
• name: string
The name of the task.
progress
• progress: number
The progress of the task.
projectId
• projectId: string
The ID of the project the task belongs to.
query
• query: string
The query associated with the task.
recipeId
• recipeId: string
The ID of the recipe associated with the task.
spec
• spec: any
The task's spec.
status
• status: string
The status of the task.
taskOwner
• taskOwner: string
The task owner.
updatedAt
• updatedAt: Date
The date and time when the task was last updated.