public class PhoneNumber extends NextGenInstanceResource<LookupsClient>
| Modifier and Type | Class and Description |
|---|---|
static class |
PhoneNumber.Type |
| Constructor and Description |
|---|
PhoneNumber(LookupsClient client) |
PhoneNumber(LookupsClient client,
Map<String,Object> properties) |
PhoneNumber(LookupsClient client,
String number) |
PhoneNumber(LookupsClient client,
String number,
Map<String,String> filters) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCarrierName()
Only available if carrier information was requested.
|
String |
getCountryCode() |
Integer |
getErrorCode() |
String |
getFormattedNumber() |
String |
getMobileCountryCode()
The country code for the mobile carrier, or null.
|
String |
getMobileNetworkCode()
The mobile carrier's network code, or null.
|
String |
getPhoneNumber() |
String |
getResourceLocation()
Gets the resource location.
|
PhoneNumber.Type |
getType() |
String |
getUrl() |
getCastedObject, getObject, getProperty, getPropertyAsInteger, toJSON, update, updatesetRequestAccountSidpublic PhoneNumber(LookupsClient client)
public PhoneNumber(LookupsClient client, Map<String,Object> properties)
public PhoneNumber(LookupsClient client, String number)
public PhoneNumber(LookupsClient client, String number, Map<String,String> filters)
public String getPhoneNumber()
public String getCountryCode()
public String getFormattedNumber()
public String getMobileCountryCode()
public String getMobileNetworkCode()
public String getCarrierName()
public PhoneNumber.Type getType()
public Integer getErrorCode()
public String getUrl()
Copyright © 2011 Twilio, Inc. All Rights Reserved.