public class AccountList extends ListResource<Account> implements AccountFactory
| Constructor and Description |
|---|
AccountList(TwilioRestClient client,
Map<String,String> filters)
Instantiates a new account list.
|
| Modifier and Type | Method and Description |
|---|---|
Account |
create(Map<String,String> params)
Creates a subaccount.
|
getEnd, getNextUri, getNumPages, getPage, getPageData, getStart, getTotal, iteratorsetRequestAccountSidpublic AccountList(TwilioRestClient client, Map<String,String> filters)
client - the clientpublic Account create(Map<String,String> params) throws TwilioRestException
AccountFactorycreate in interface AccountFactoryparams - the paramsTwilioRestExceptionCopyright © 2011 Twilio, Inc. All Rights Reserved.