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