| Constructor and Description |
|---|
TaskCreator(String workspaceSid,
String attributes,
String workflowSid)
Construct a new TaskCreator.
|
| Modifier and Type | Method and Description |
|---|---|
Task |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
TaskCreator |
setPriority(Integer priority)
The priority.
|
TaskCreator |
setTimeout(Integer timeout)
The timeout.
|
public TaskCreator setTimeout(Integer timeout)
timeout - The timeoutpublic TaskCreator setPriority(Integer priority)
priority - The prioritypublic Task execute(TwilioRestClient client)
Copyright © 2011 Twilio, Inc. All Rights Reserved.