Class DependentPhoneNumber
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.api.v2010.account.address.DependentPhoneNumber
-
- All Implemented Interfaces:
Serializable
public class DependentPhoneNumber extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DependentPhoneNumber.AddressRequirement
static class
DependentPhoneNumber.EmergencyStatus
-
Method Summary
-
-
-
Method Detail
-
reader
public static DependentPhoneNumberReader reader(String pathAddressSid)
-
reader
public static DependentPhoneNumberReader reader(String pathAccountSid, String pathAddressSid)
-
fromJson
public static DependentPhoneNumber fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a DependentPhoneNumber object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- DependentPhoneNumber object represented by the provided JSON
-
fromJson
public static DependentPhoneNumber fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a DependentPhoneNumber object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- DependentPhoneNumber object represented by the provided JSON
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getFriendlyName
public final PhoneNumber getFriendlyName()
-
getPhoneNumber
public final PhoneNumber getPhoneNumber()
-
getVoiceUrl
public final URI getVoiceUrl()
-
getVoiceMethod
public final HttpMethod getVoiceMethod()
-
getVoiceFallbackMethod
public final HttpMethod getVoiceFallbackMethod()
-
getVoiceFallbackUrl
public final URI getVoiceFallbackUrl()
-
getVoiceCallerIdLookup
public final Boolean getVoiceCallerIdLookup()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getSmsFallbackMethod
public final HttpMethod getSmsFallbackMethod()
-
getSmsFallbackUrl
public final URI getSmsFallbackUrl()
-
getSmsMethod
public final HttpMethod getSmsMethod()
-
getSmsUrl
public final URI getSmsUrl()
-
getAddressRequirements
public final DependentPhoneNumber.AddressRequirement getAddressRequirements()
-
getStatusCallback
public final URI getStatusCallback()
-
getStatusCallbackMethod
public final HttpMethod getStatusCallbackMethod()
-
getApiVersion
public final String getApiVersion()
-
getSmsApplicationSid
public final String getSmsApplicationSid()
-
getVoiceApplicationSid
public final String getVoiceApplicationSid()
-
getTrunkSid
public final String getTrunkSid()
-
getEmergencyStatus
public final DependentPhoneNumber.EmergencyStatus getEmergencyStatus()
-
getEmergencyAddressSid
public final String getEmergencyAddressSid()
-
getUri
public final String getUri()
-
-