Class Mobile
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.api.v2010.account.incomingphonenumber.Mobile
-
- All Implemented Interfaces:
Serializable
public class Mobile extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMobile.AddressRequirementstatic classMobile.EmergencyAddressStatusstatic classMobile.EmergencyStatusstatic classMobile.VoiceReceiveMode
-
Method Summary
-
-
-
Method Detail
-
creator
public static MobileCreator creator(PhoneNumber phoneNumber)
-
creator
public static MobileCreator creator(String pathAccountSid, PhoneNumber phoneNumber)
-
reader
public static MobileReader reader()
-
reader
public static MobileReader reader(String pathAccountSid)
-
fromJson
public static Mobile fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Mobile object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Mobile object represented by the provided JSON
-
fromJson
public static Mobile fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Mobile object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Mobile object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getAddressSid
public final String getAddressSid()
-
getAddressRequirements
public final Mobile.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 Mobile.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 Mobile.EmergencyStatus getEmergencyStatus()
-
getEmergencyAddressSid
public final String getEmergencyAddressSid()
-
getEmergencyAddressStatus
public final Mobile.EmergencyAddressStatus getEmergencyAddressStatus()
-
getBundleSid
public final String getBundleSid()
-
getStatus
public final String getStatus()
-
-