| Constructor and Description |
|---|
TaskUpdater(String pathWorkspaceSid,
String pathSid)
Construct a new TaskUpdater.
|
| Modifier and Type | Method and Description |
|---|---|
TaskUpdater |
setAssignmentStatus(Task.Status assignmentStatus)
The assignment_status.
|
TaskUpdater |
setAttributes(String attributes)
The attributes.
|
TaskUpdater |
setPriority(Integer priority)
The priority.
|
TaskUpdater |
setReason(String reason)
The reason.
|
TaskUpdater |
setTaskChannel(String taskChannel)
The task_channel.
|
Task |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsyncpublic TaskUpdater setAttributes(String attributes)
attributes - The attributespublic TaskUpdater setAssignmentStatus(Task.Status assignmentStatus)
assignmentStatus - The assignment_statuspublic TaskUpdater setReason(String reason)
reason - The reasonpublic TaskUpdater setPriority(Integer priority)
priority - The prioritypublic TaskUpdater setTaskChannel(String taskChannel)
taskChannel - The task_channelpublic Task update(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.