public class TollFree extends Resource
Modifier and Type | Class and Description |
---|---|
static class |
TollFree.AddressRequirement |
Modifier and Type | Method and Description |
---|---|
static TollFreeCreator |
creator(PhoneNumber phoneNumber)
Create a TollFreeCreator to execute create.
|
static TollFreeCreator |
creator(String ownerAccountSid,
PhoneNumber phoneNumber)
Create a TollFreeCreator to execute create.
|
boolean |
equals(Object o) |
static TollFree |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a TollFree object using the provided
ObjectMapper.
|
static TollFree |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a TollFree object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
TollFree.AddressRequirement |
getAddressRequirements()
Returns The The address_requirements.
|
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.
|
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 |
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 TollFreeReader |
reader()
Create a TollFreeReader to execute read.
|
static TollFreeReader |
reader(String ownerAccountSid)
Create a TollFreeReader to execute read.
|
String |
toString() |
public static TollFreeReader reader(String ownerAccountSid)
ownerAccountSid
- The owner_account_sidpublic static TollFreeReader reader()
public static TollFreeCreator creator(String ownerAccountSid, PhoneNumber phoneNumber)
ownerAccountSid
- The owner_account_sidphoneNumber
- The phone_numberpublic static TollFreeCreator creator(PhoneNumber phoneNumber)
phoneNumber
- The phone_numberpublic static TollFree fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static TollFree fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final TollFree.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 PhoneNumber getPhoneNumber()
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 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 © 2011 Twilio, Inc. All Rights Reserved.