public class DependentPhoneNumber extends Resource
| Modifier and Type | Class and Description |
|---|---|
static class |
DependentPhoneNumber.AddressRequirement |
static class |
DependentPhoneNumber.EmergencyStatus |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static DependentPhoneNumber |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a DependentPhoneNumber object using the
provided ObjectMapper.
|
static DependentPhoneNumber |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a DependentPhoneNumber object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
DependentPhoneNumber.AddressRequirement |
getAddressRequirements()
Returns The The address_requirements.
|
String |
getApiVersion()
Returns The The api_version.
|
Map<String,Object> |
getCapabilities()
Returns The The capabilities.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date_created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date_updated.
|
String |
getEmergencyAddressSid()
Returns The The emergency_address_sid.
|
DependentPhoneNumber.EmergencyStatus |
getEmergencyStatus()
Returns The The emergency_status.
|
PhoneNumber |
getFriendlyName()
Returns The The friendly_name.
|
PhoneNumber |
getPhoneNumber()
Returns The The phone_number.
|
String |
getSid()
Returns The The sid.
|
String |
getSmsApplicationSid()
Returns The The sms_application_sid.
|
HttpMethod |
getSmsFallbackMethod()
Returns The The sms_fallback_method.
|
URI |
getSmsFallbackUrl()
Returns The The sms_fallback_url.
|
HttpMethod |
getSmsMethod()
Returns The The sms_method.
|
URI |
getSmsUrl()
Returns The The sms_url.
|
URI |
getStatusCallback()
Returns The The status_callback.
|
HttpMethod |
getStatusCallbackMethod()
Returns The The status_callback_method.
|
String |
getTrunkSid()
Returns The The trunk_sid.
|
String |
getUri()
Returns The The uri.
|
String |
getVoiceApplicationSid()
Returns The The voice_application_sid.
|
Boolean |
getVoiceCallerIdLookup()
Returns The The voice_caller_id_lookup.
|
HttpMethod |
getVoiceFallbackMethod()
Returns The The voice_fallback_method.
|
URI |
getVoiceFallbackUrl()
Returns The The voice_fallback_url.
|
HttpMethod |
getVoiceMethod()
Returns The The voice_method.
|
URI |
getVoiceUrl()
Returns The The voice_url.
|
int |
hashCode() |
static DependentPhoneNumberReader |
reader(String pathAddressSid)
Create a DependentPhoneNumberReader to execute read.
|
static DependentPhoneNumberReader |
reader(String pathAccountSid,
String pathAddressSid)
Create a DependentPhoneNumberReader to execute read.
|
String |
toString() |
public static DependentPhoneNumberReader reader(String pathAccountSid, String pathAddressSid)
pathAccountSid - The account_sidpathAddressSid - The address_sidpublic static DependentPhoneNumberReader reader(String pathAddressSid)
pathAddressSid - The address_sidpublic static DependentPhoneNumber fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static DependentPhoneNumber fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getSid()
public final String getAccountSid()
public final PhoneNumber getFriendlyName()
public final PhoneNumber getPhoneNumber()
public final URI getVoiceUrl()
public final HttpMethod getVoiceMethod()
public final HttpMethod getVoiceFallbackMethod()
public final URI getVoiceFallbackUrl()
public final Boolean getVoiceCallerIdLookup()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final HttpMethod getSmsFallbackMethod()
public final URI getSmsFallbackUrl()
public final HttpMethod getSmsMethod()
public final URI getSmsUrl()
public final DependentPhoneNumber.AddressRequirement getAddressRequirements()
public final Map<String,Object> getCapabilities()
public final URI getStatusCallback()
public final HttpMethod getStatusCallbackMethod()
public final String getApiVersion()
public final String getSmsApplicationSid()
public final String getVoiceApplicationSid()
public final String getTrunkSid()
public final DependentPhoneNumber.EmergencyStatus getEmergencyStatus()
public final String getEmergencyAddressSid()
public final String getUri()
Copyright © 2016 Twilio, Inc. All Rights Reserved.