Constructor and Description |
---|
TaskUpdater(String workspaceSid,
String sid)
Construct a new TaskUpdater.
|
Modifier and Type | Method and Description |
---|---|
Task |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
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.
|
public 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 Task execute(TwilioRestClient client)
Copyright © 2011 Twilio, Inc. All Rights Reserved.