public class WorkspaceList extends NextGenListResource<Workspace,TwilioTaskRouterClient> implements WorkspaceFactory
Workspace.| Constructor and Description |
|---|
WorkspaceList(TwilioTaskRouterClient client)
Instantiates a workspace list.
|
WorkspaceList(TwilioTaskRouterClient client,
Map<String,String> filters)
Instantiates a workspace list.
|
| Modifier and Type | Method and Description |
|---|---|
Workspace |
create(List<org.apache.http.NameValuePair> params)
Creates a workspace.
|
Workspace |
create(Map<String,String> params)
Creates a workspace.
|
getNextPageUrl, getPage, getPageData, getPageSize, getPreviousPageUrl, getUrl, iteratorsetRequestAccountSidequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic WorkspaceList(TwilioTaskRouterClient client)
client - the clientpublic WorkspaceList(TwilioTaskRouterClient client, Map<String,String> filters)
client - the clientfilters - the filterspublic Workspace create(Map<String,String> params) throws TwilioRestException
WorkspaceFactorycreate in interface WorkspaceFactoryparams - the params listTwilioRestExceptionpublic Workspace create(List<org.apache.http.NameValuePair> params) throws TwilioRestException
WorkspaceFactorycreate in interface WorkspaceFactoryparams - the params listTwilioRestExceptionCopyright © 2011 Twilio, Inc. All Rights Reserved.