|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.twilio.sdk.resource.Resource
com.twilio.sdk.resource.ListResource<IncomingPhoneNumber>
com.twilio.sdk.resource.list.IncomingPhoneNumberList
public class IncomingPhoneNumberList
The Class IncomingPhoneNumberList. For more information see https://www.twilio.com/docs/api/rest/incoming-phone-numbers
| Field Summary | |
|---|---|
String |
type
The type. |
static String |
TYPE_LOCAL
|
static String |
TYPE_MOBILE
|
static String |
TYPE_TOLLFREE
|
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
IncomingPhoneNumber |
create(List<org.apache.http.NameValuePair> params)
Creates the IncomingPhoneNumber |
IncomingPhoneNumber |
create(Map<String,String> params)
Creates the IncomingPhoneNumber |
| Methods inherited from class com.twilio.sdk.resource.ListResource |
|---|
getEnd, getNextUri, getNumPages, getPage, getPageData, getStart, getTotal, iterator |
| Methods inherited from class com.twilio.sdk.resource.Resource |
|---|
setRequestAccountSid |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TYPE_LOCAL
public static final String TYPE_TOLLFREE
public static final String TYPE_MOBILE
public String type
| Constructor Detail |
|---|
public IncomingPhoneNumberList(TwilioRestClient client)
client - the client
public IncomingPhoneNumberList(TwilioRestClient client,
Map<String,String> filters)
client - the clientfilters - the filters
public IncomingPhoneNumberList(TwilioRestClient client,
String type,
Map<String,String> filters)
client - the clienttype - the typefilters - the filters
public IncomingPhoneNumberList(TwilioRestClient client,
String type)
client - the clienttype - the type| Method Detail |
|---|
public IncomingPhoneNumber create(Map<String,String> params)
throws TwilioRestException
IncomingPhoneNumberFactory
create in interface IncomingPhoneNumberFactoryparams - the params map
TwilioRestException
public IncomingPhoneNumber create(List<org.apache.http.NameValuePair> params)
throws TwilioRestException
IncomingPhoneNumberFactory
create in interface IncomingPhoneNumberFactoryparams - the param list
TwilioRestException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||