public class DomainList extends ListResource<Domain,TwilioRestClient> implements DomainFactory
| Constructor and Description |
|---|
DomainList(TwilioRestClient client)
Instantiates a new sip domain list.
|
DomainList(TwilioRestClient client,
Map<String,String> filters)
Instantiates a new sip domain list.
|
| Modifier and Type | Method and Description |
|---|---|
Domain |
create(List<org.apache.http.NameValuePair> params)
Creates the sip domain.
|
Domain |
create(Map<String,String> params)
Creates the sip domain.
|
getEnd, getNextUri, getPage, getPageData, getStart, iteratorsetRequestAccountSidequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic DomainList(TwilioRestClient client)
client - the clientpublic DomainList(TwilioRestClient client, Map<String,String> filters)
client - the clientfilters - the filterspublic Domain create(Map<String,String> params) throws TwilioRestException
DomainFactorycreate in interface DomainFactoryparams - the params mapTwilioRestExceptionpublic Domain create(List<org.apache.http.NameValuePair> params) throws TwilioRestException
DomainFactorycreate in interface DomainFactoryparams - the params listTwilioRestExceptionCopyright © 2011 Twilio, Inc. All Rights Reserved.