public class TaskList extends NextGenListResource<Task,TwilioTaskRouterClient> implements TaskFactory
Task.| Constructor and Description |
|---|
TaskList(TwilioTaskRouterClient client,
String workspaceSid)
Instantiates a task list.
|
TaskList(TwilioTaskRouterClient client,
String workspaceSid,
Map<String,String> filters)
Instantiates a task list.
|
| Modifier and Type | Method and Description |
|---|---|
Task |
create(List<org.apache.http.NameValuePair> params)
Creates a task.
|
Task |
create(Map<String,String> params)
Creates a task.
|
getNextPageUrl, getPage, getPageData, getPageSize, getPreviousPageUrl, getUrl, iteratorsetRequestAccountSidequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic TaskList(TwilioTaskRouterClient client, String workspaceSid)
client - the clientworkspaceSid - the workspace sidpublic TaskList(TwilioTaskRouterClient client, String workspaceSid, Map<String,String> filters)
client - the clientworkspaceSid - the workspace sidfilters - the filterspublic Task create(Map<String,String> params) throws TwilioRestException
TaskFactorycreate in interface TaskFactoryparams - the params listTwilioRestExceptionpublic Task create(List<org.apache.http.NameValuePair> params) throws TwilioRestException
TaskFactorycreate in interface TaskFactoryparams - the params listTwilioRestExceptionCopyright © 2011 Twilio, Inc. All Rights Reserved.