public class AccountList extends ListResource<Account,TwilioRestClient> implements AccountFactory
| Constructor and Description |
|---|
AccountList(TwilioRestClient client)
Instantiate a new AccountList
|
AccountList(TwilioRestClient client,
Map<String,String> filters)
Instantiates a new account list with the given filters.
|
| Modifier and Type | Method and Description |
|---|---|
Account |
create(List<org.apache.http.NameValuePair> params) |
Account |
create(Map<String,String> params)
Creates a subaccount.
|
getEnd, getNextUri, getPage, getPageData, getStart, iteratorsetRequestAccountSidequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic AccountList(TwilioRestClient client)
public AccountList(TwilioRestClient client, Map<String,String> filters)
client - the clientfilters - the filterspublic Account create(Map<String,String> params) throws TwilioRestException
AccountFactorycreate in interface AccountFactoryparams - the paramsTwilioRestExceptionpublic Account create(List<org.apache.http.NameValuePair> params) throws TwilioRestException
create in interface AccountFactoryTwilioRestExceptionCopyright © 2011 Twilio, Inc. All Rights Reserved.