public class Mobile extends Resource
Modifier and Type | Class and Description |
---|---|
static class |
Mobile.AddressRequirement |
Modifier and Type | Method and Description |
---|---|
static MobileCreator |
creator(PhoneNumber phoneNumber)
Create a MobileCreator to execute create.
|
static MobileCreator |
creator(String pathAccountSid,
PhoneNumber phoneNumber)
Create a MobileCreator to execute create.
|
boolean |
equals(Object o) |
static Mobile |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Mobile object using the provided
ObjectMapper.
|
static Mobile |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Mobile object using the provided ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
Mobile.AddressRequirement |
getAddressRequirements()
Returns The The address_requirements.
|
String |
getAddressSid()
Returns The The address_sid.
|
String |
getApiVersion()
Returns The The api_version.
|
Boolean |
getBeta()
Returns The The beta.
|
PhoneNumberCapabilities |
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 |
getFriendlyName()
Returns The The friendly_name.
|
String |
getIdentitySid()
Returns The The identity_sid.
|
String |
getOrigin()
Returns The The origin.
|
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 MobileReader |
reader()
Create a MobileReader to execute read.
|
static MobileReader |
reader(String pathAccountSid)
Create a MobileReader to execute read.
|
String |
toString() |
public static MobileReader reader(String pathAccountSid)
pathAccountSid
- The account_sidpublic static MobileReader reader()
public static MobileCreator creator(String pathAccountSid, PhoneNumber phoneNumber)
pathAccountSid
- The account_sidphoneNumber
- The phone_numberpublic static MobileCreator creator(PhoneNumber phoneNumber)
phoneNumber
- The phone_numberpublic static Mobile fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static Mobile fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final String getAddressSid()
public final Mobile.AddressRequirement getAddressRequirements()
public final String getApiVersion()
public final Boolean getBeta()
public final PhoneNumberCapabilities getCapabilities()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final String getFriendlyName()
public final String getIdentitySid()
public final PhoneNumber getPhoneNumber()
public final String getOrigin()
public final String getSid()
public final String getSmsApplicationSid()
public final HttpMethod getSmsFallbackMethod()
public final URI getSmsFallbackUrl()
public final HttpMethod getSmsMethod()
public final URI getSmsUrl()
public final URI getStatusCallback()
public final HttpMethod getStatusCallbackMethod()
public final String getTrunkSid()
public final String getUri()
public final String getVoiceApplicationSid()
public final Boolean getVoiceCallerIdLookup()
public final HttpMethod getVoiceFallbackMethod()
public final URI getVoiceFallbackUrl()
public final HttpMethod getVoiceMethod()
public final URI getVoiceUrl()
Copyright © 2016 Twilio, Inc. All Rights Reserved.