public class AvailablePhoneNumber extends InstanceResource<TwilioRestClient>
| Constructor and Description |
|---|
AvailablePhoneNumber(TwilioRestClient client)
Instantiates a new available phone number.
|
AvailablePhoneNumber(TwilioRestClient client,
Map<String,Object> properties)
Instantiates a new available phone number.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAddressRequirements()
Indicates whether this number requires an Address to be on file with Twilio.
|
boolean |
getBeta()
Whether this number is new to the Twilio platform.
|
String |
getFriendlyName()
Gets the friendly name.
|
String |
getIsoCountry()
Gets the iso country.
|
String |
getLata()
Gets the lata.
|
String |
getLatitude()
Gets the latitude.
|
String |
getLongitude()
Gets the longitude.
|
String |
getPhoneNumber()
Gets the phone number.
|
String |
getPostalCode()
Gets the postal code.
|
String |
getRateCenter()
Gets the rate center.
|
String |
getRegion()
Gets the region.
|
getCastedObject, getObject, getProperty, toJSON, update, updatesetRequestAccountSidpublic AvailablePhoneNumber(TwilioRestClient client)
client - the clientpublic AvailablePhoneNumber(TwilioRestClient client, Map<String,Object> properties)
client - the clientproperties - the propertiespublic String getFriendlyName()
public String getPhoneNumber()
public String getLata()
public String getRateCenter()
public String getLatitude()
public String getLongitude()
public String getRegion()
public String getPostalCode()
public String getIsoCountry()
public boolean getBeta()
public String getAddressRequirements()
Copyright © 2011 Twilio, Inc. All Rights Reserved.