com.twilio.sdk.resource.instance
Class DependentPhoneNumber

java.lang.Object
  extended by com.twilio.sdk.resource.Resource<C>
      extended by com.twilio.sdk.resource.InstanceResource
          extended by com.twilio.sdk.resource.instance.DependentPhoneNumber

public class DependentPhoneNumber
extends InstanceResource

An incoming phone number that depends on a particular address. Fields match IncomingPhoneNumber. For more information see https://www.twilio.com/docs/api/rest/address


Constructor Summary
DependentPhoneNumber(TwilioRestClient client)
          Instantiates a new dependent phone number.
DependentPhoneNumber(TwilioRestClient client, Map<String,Object> properties)
          Instantiates a new conference.
DependentPhoneNumber(TwilioRestClient client, String sid)
          Instantiates a new dependent phone number.
 
Method Summary
 String getAccountSid()
          Gets the account sid.
 String getAddressRequirements()
          Gets the address requirements.
 String getApiVersion()
          Gets the api version.
 Date getDateCreated()
          Gets the date created.
 Date getDateUpdated()
          Gets the date updated.
 String getPhoneNumber()
          Gets the phone number.
 String getSid()
          Gets the sid.
 String getSmsApplicationSid()
          Gets the sms application sid.
 String getSmsFallbackMethod()
          Gets the sms fallback method.
 String getSmsFallbackUrl()
          Gets the sms fallback url.
 String getSmsMethod()
          Gets the sms method.
 String getSmsStatusCallback()
          Gets the sms status callback.
 String getSmsUrl()
          Gets the sms url.
 String getStatusCallback()
          Gets the status callback.
 String getStatusCallbackMethod()
          Gets the status callback method.
 String getVoiceApplicationSid()
          Gets the voice application sid.
 String getVoiceCallerIdLookup()
          Gets the voice caller id lookup.
 String getVoiceFallbackMethod()
          Gets the voice fallback method.
 String getVoiceFallbackUrl()
          Gets the voice fallback url.
 String getVoiceMethod()
          Gets the voice method.
 String getVoiceUrl()
          Gets the voice url.
 
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

DependentPhoneNumber

public DependentPhoneNumber(TwilioRestClient client)
Instantiates a new dependent phone number.

Parameters:
client - the client

DependentPhoneNumber

public DependentPhoneNumber(TwilioRestClient client,
                            String sid)
Instantiates a new dependent phone number.

Parameters:
client - the client
sid - the sid

DependentPhoneNumber

public DependentPhoneNumber(TwilioRestClient client,
                            Map<String,Object> properties)
Instantiates a new conference.

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

getSid

public String getSid()
Gets the sid.

Returns:
the sid

getDateCreated

public Date getDateCreated()
Gets the date created.

Returns:
the date created

getDateUpdated

public Date getDateUpdated()
Gets the date updated.

Returns:
the date updated

getAccountSid

public String getAccountSid()
Gets the account sid.

Returns:
the account sid

getPhoneNumber

public String getPhoneNumber()
Gets the phone number.

Returns:
the phone number

getVoiceApplicationSid

public String getVoiceApplicationSid()
Gets the voice application sid.

Returns:
the voice application sid

getSmsApplicationSid

public String getSmsApplicationSid()
Gets the sms application sid.

Returns:
the sms application sid

getApiVersion

public String getApiVersion()
Gets the api version.

Returns:
the api version

getVoiceUrl

public String getVoiceUrl()
Gets the voice url.

Returns:
the voice url

getVoiceMethod

public String getVoiceMethod()
Gets the voice method.

Returns:
the voice method

getVoiceFallbackUrl

public String getVoiceFallbackUrl()
Gets the voice fallback url.

Returns:
the voice fallback url

getVoiceFallbackMethod

public String getVoiceFallbackMethod()
Gets the voice fallback method.

Returns:
the voice fallback method

getStatusCallback

public String getStatusCallback()
Gets the status callback.

Returns:
the status callback

getStatusCallbackMethod

public String getStatusCallbackMethod()
Gets the status callback method.

Returns:
the status callback method

getVoiceCallerIdLookup

public String getVoiceCallerIdLookup()
Gets the voice caller id lookup.

Returns:
the voice caller id lookup

getSmsUrl

public String getSmsUrl()
Gets the sms url.

Returns:
the sms url

getSmsMethod

public String getSmsMethod()
Gets the sms method.

Returns:
the sms method

getSmsFallbackUrl

public String getSmsFallbackUrl()
Gets the sms fallback url.

Returns:
the sms fallback url

getSmsFallbackMethod

public String getSmsFallbackMethod()
Gets the sms fallback method.

Returns:
the sms fallback method

getSmsStatusCallback

public String getSmsStatusCallback()
Gets the sms status callback.

Returns:
the sms status callback

getAddressRequirements

public String getAddressRequirements()
Gets the address requirements.

Returns:
the address requirements


Copyright © 2011 Twilio, Inc. All Rights Reserved.