| Constructor and Description |
|---|
TaskCreator(String pathWorkspaceSid)
Construct a new TaskCreator.
|
| Modifier and Type | Method and Description |
|---|---|
Task |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
TaskCreator |
setAttributes(String attributes)
The attributes.
|
TaskCreator |
setPriority(Integer priority)
The priority.
|
TaskCreator |
setTaskChannel(String taskChannel)
The task_channel.
|
TaskCreator |
setTimeout(Integer timeout)
The timeout.
|
TaskCreator |
setWorkflowSid(String workflowSid)
The workflow_sid.
|
create, createAsync, createAsyncpublic TaskCreator(String pathWorkspaceSid)
pathWorkspaceSid - The workspace_sidpublic TaskCreator setTimeout(Integer timeout)
timeout - The timeoutpublic TaskCreator setPriority(Integer priority)
priority - The prioritypublic TaskCreator setTaskChannel(String taskChannel)
taskChannel - The task_channelpublic TaskCreator setWorkflowSid(String workflowSid)
workflowSid - The workflow_sidpublic TaskCreator setAttributes(String attributes)
attributes - The attributespublic Task create(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.