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