Classes
Methods
# async archive(projectStatusId, archivedStatus)
Archives or unarchives the project status with the specified id.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
projectStatusId |
String
|
||
archivedStatus |
Boolean
|
true |
# async create(projectTemplateId, projectStatus) → {Promise.<ProjectStatus>}
Creates a new project status. For this operation, a projectTemplateId is required.
Parameters:
Name | Type | Description |
---|---|---|
projectTemplateId |
String
|
The id of the project template. |
projectStatus |
ProjectStatus
|
Promise.<ProjectStatus>
# async delete(projectStatusId)
Deletes the project status with the specified id.
Parameters:
Name | Type | Description |
---|---|---|
projectStatusId |
String
|
# async get(projectStatusId) → {Array.<Promise.<ProjectStatus>>}
Returns the project status with the specified id.
Parameters:
Name | Type | Description |
---|---|---|
projectStatusId |
String
|
The id of the project status. |
Array.<Promise.<ProjectStatus>>
# async list(optionsopt) → {Array.<Promise.<ProjectStatus>>}
Returns all project statuses.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
options |
ListOptions
|
<optional> |
Pagination and filtering options. |
Array.<Promise.<ProjectStatus>>
# async update(projectStatusId, projectStatus) → {Promise.<ProjectStatus>}
Updates the project status with the specified id.
Parameters:
Name | Type | Description |
---|---|---|
projectStatusId |
String
|
|
projectStatus |
ProjectStatus
|
Promise.<ProjectStatus>