com.twilio.sdk.resource.instance
Class AvailablePhoneNumber

java.lang.Object
  extended by com.twilio.sdk.resource.Resource
      extended by com.twilio.sdk.resource.InstanceResource
          extended by com.twilio.sdk.resource.instance.AvailablePhoneNumber

public class AvailablePhoneNumber
extends InstanceResource

The Class AvailablePhoneNumber. For more information see https://www.twilio.com/docs/api/rest/available-phone-numbers


Constructor Summary
AvailablePhoneNumber(TwilioRestClient client)
          Instantiates a new available phone number.
AvailablePhoneNumber(TwilioRestClient client, Map<String,Object> properties)
          Instantiates a new available phone number.
 
Method Summary
 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.
 
Methods inherited from class com.twilio.sdk.resource.InstanceResource
getObject, getProperty, update, update
 
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
 

Constructor Detail

AvailablePhoneNumber

public AvailablePhoneNumber(TwilioRestClient client)
Instantiates a new available phone number.

Parameters:
client - the client

AvailablePhoneNumber

public AvailablePhoneNumber(TwilioRestClient client,
                            Map<String,Object> properties)
Instantiates a new available phone number.

Parameters:
client - the client
properties - the properties
Method Detail

getFriendlyName

public String getFriendlyName()
Gets the friendly name.

Returns:
the friendly name

getPhoneNumber

public String getPhoneNumber()
Gets the phone number.

Returns:
the phone number

getLata

public String getLata()
Gets the lata.

Returns:
the lata

getRateCenter

public String getRateCenter()
Gets the rate center.

Returns:
the rate center

getLatitude

public String getLatitude()
Gets the latitude.

Returns:
the latitude

getLongitude

public String getLongitude()
Gets the longitude.

Returns:
the longitude

getRegion

public String getRegion()
Gets the region.

Returns:
the region

getPostalCode

public String getPostalCode()
Gets the postal code.

Returns:
the postal code

getIsoCountry

public String getIsoCountry()
Gets the iso country.

Returns:
the iso country


Copyright © 2011 Twilio, Inc. All Rights Reserved.