public class IncomingPhoneNumberList extends ListResource<IncomingPhoneNumber,TwilioRestClient> implements IncomingPhoneNumberFactory
| Modifier and Type | Field and Description |
|---|---|
String |
type
The type.
|
static String |
TYPE_LOCAL |
static String |
TYPE_MOBILE |
static String |
TYPE_TOLLFREE |
| Constructor and Description |
|---|
IncomingPhoneNumberList(TwilioRestClient client)
Instantiates a new incoming phone number list.
|
IncomingPhoneNumberList(TwilioRestClient client,
Map<String,String> filters)
Instantiates a new incoming phone number list.
|
IncomingPhoneNumberList(TwilioRestClient client,
String type)
Instantiates a new incoming phone number list.
|
IncomingPhoneNumberList(TwilioRestClient client,
String type,
Map<String,String> filters)
Instantiates a new incoming phone number list.
|
| Modifier and Type | Method and Description |
|---|---|
IncomingPhoneNumber |
create(List<org.apache.http.NameValuePair> params)
Creates the IncomingPhoneNumber
|
IncomingPhoneNumber |
create(Map<String,String> params)
Creates the IncomingPhoneNumber
|
getEnd, getNextUri, getPage, getPageData, getStart, iteratorsetRequestAccountSidequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static final String TYPE_LOCAL
public static final String TYPE_TOLLFREE
public static final String TYPE_MOBILE
public String type
public IncomingPhoneNumberList(TwilioRestClient client)
client - the clientpublic IncomingPhoneNumberList(TwilioRestClient client, Map<String,String> filters)
client - the clientfilters - the filterspublic IncomingPhoneNumberList(TwilioRestClient client, String type, Map<String,String> filters)
client - the clienttype - the typefilters - the filterspublic IncomingPhoneNumberList(TwilioRestClient client, String type)
client - the clienttype - the typepublic IncomingPhoneNumber create(Map<String,String> params) throws TwilioRestException
IncomingPhoneNumberFactorycreate in interface IncomingPhoneNumberFactoryparams - the params mapTwilioRestExceptionpublic IncomingPhoneNumber create(List<org.apache.http.NameValuePair> params) throws TwilioRestException
IncomingPhoneNumberFactorycreate in interface IncomingPhoneNumberFactoryparams - the param listTwilioRestExceptionCopyright © 2011 Twilio, Inc. All Rights Reserved.