Classes
Methods
# async create(taskTemplate) → {Promise.<TaskTemplate>}
Creates a new task template for the task bundle with the specified id.
Parameters:
Name | Type | Description |
---|---|---|
taskTemplate |
TaskTemplateCreateModel
|
The model used to create a new task template. |
Promise.<TaskTemplate>
# async delete(taskTemplateId) → {Promise.<void>}
Deletes the task template for the task bundle with the specified id.
Parameters:
Name | Type | Description |
---|---|---|
taskTemplateId |
String
|
The id of the task template. |
Promise.<void>
# async get(taskTemplateId) → {Promise.<TaskTemplate>}
Returns the task template of the task bundle with the specified id.
Parameters:
Name | Type | Description |
---|---|---|
taskTemplateId |
String
|
The id of the task template. |
Promise.<TaskTemplate>
# async list(optionsopt) → {Promise.<Array.<TaskListTemplate>>}
Returns all task templates of the task bundle with the specified id.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
options |
ListOptions
|
<optional> |
Pagination and filtering options. |
Promise.<Array.<TaskListTemplate>>
# async update(taskTemplateId, taskTemplate) → {Promise.<TaskTemplate>}
Updates the task template for the task bundle with the specified id.
Parameters:
Name | Type | Description |
---|---|---|
taskTemplateId |
String
|
The if of the task template. |
taskTemplate |
TaskTemplateUpdateModel
|
The model to update a task template. |
Promise.<TaskTemplate>