public class Local extends Resource
| Modifier and Type | Class and Description |
|---|---|
static class |
Local.AddressRequirement |
| Modifier and Type | Method and Description |
|---|---|
static LocalCreator |
creator(PhoneNumber phoneNumber)
Create a LocalCreator to execute create.
|
static LocalCreator |
creator(String pathAccountSid,
PhoneNumber phoneNumber)
Create a LocalCreator to execute create.
|
boolean |
equals(Object o) |
static Local |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Local object using the provided
ObjectMapper.
|
static Local |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Local object using the provided ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
Local.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 LocalReader |
reader()
Create a LocalReader to execute read.
|
static LocalReader |
reader(String pathAccountSid)
Create a LocalReader to execute read.
|
String |
toString() |
public static LocalReader reader(String pathAccountSid)
pathAccountSid - The account_sidpublic static LocalReader reader()
public static LocalCreator creator(String pathAccountSid, PhoneNumber phoneNumber)
pathAccountSid - The account_sidphoneNumber - The phone_numberpublic static LocalCreator creator(PhoneNumber phoneNumber)
phoneNumber - The phone_numberpublic static Local fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static Local fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getAccountSid()
public final String getAddressSid()
public final Local.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.