public class Application extends Resource
| Modifier and Type | Method and Description |
|---|---|
static ApplicationCreator |
creator(String friendlyName)
Create a ApplicationCreator to execute create.
|
static ApplicationCreator |
creator(String pathAccountSid,
String friendlyName)
Create a ApplicationCreator to execute create.
|
static ApplicationDeleter |
deleter(String pathSid)
Create a ApplicationDeleter to execute delete.
|
static ApplicationDeleter |
deleter(String pathAccountSid,
String pathSid)
Create a ApplicationDeleter to execute delete.
|
boolean |
equals(Object o) |
static ApplicationFetcher |
fetcher(String pathSid)
Create a ApplicationFetcher to execute fetch.
|
static ApplicationFetcher |
fetcher(String pathAccountSid,
String pathSid)
Create a ApplicationFetcher to execute fetch.
|
static Application |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Application object using the provided
ObjectMapper.
|
static Application |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Application object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The A string that uniquely identifies this resource.
|
String |
getApiVersion()
Returns The The API version to use.
|
org.joda.time.DateTime |
getDateCreated()
Returns The Date this resource was created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The Date this resource was last updated.
|
String |
getFriendlyName()
Returns The Human readable description of this resource.
|
URI |
getMessageStatusCallback()
Returns The URL to make requests to with status updates.
|
String |
getSid()
Returns The A string that uniquely identifies this resource.
|
HttpMethod |
getSmsFallbackMethod()
Returns The HTTP method to use with sms_fallback_method.
|
URI |
getSmsFallbackUrl()
Returns The Fallback URL if there's an error parsing TwiML.
|
HttpMethod |
getSmsMethod()
Returns The HTTP method to use with sms_url.
|
URI |
getSmsStatusCallback()
Returns The URL Twilio with request with status updates.
|
URI |
getSmsUrl()
Returns The URL Twilio will request when receiving an SMS.
|
URI |
getStatusCallback()
Returns The URL to hit with status updates.
|
HttpMethod |
getStatusCallbackMethod()
Returns The HTTP method to use with the status callback.
|
String |
getUri()
Returns The URI for this resource.
|
Boolean |
getVoiceCallerIdLookup()
Returns The True or False.
|
HttpMethod |
getVoiceFallbackMethod()
Returns The HTTP method to use with the fallback url.
|
URI |
getVoiceFallbackUrl()
Returns The Fallback URL.
|
HttpMethod |
getVoiceMethod()
Returns The HTTP method to use with the URL.
|
URI |
getVoiceUrl()
Returns The URL Twilio will make requests to when relieving a call.
|
int |
hashCode() |
static ApplicationReader |
reader()
Create a ApplicationReader to execute read.
|
static ApplicationReader |
reader(String pathAccountSid)
Create a ApplicationReader to execute read.
|
String |
toString() |
static ApplicationUpdater |
updater(String pathSid)
Create a ApplicationUpdater to execute update.
|
static ApplicationUpdater |
updater(String pathAccountSid,
String pathSid)
Create a ApplicationUpdater to execute update.
|
public static ApplicationCreator creator(String pathAccountSid, String friendlyName)
pathAccountSid - The account_sidfriendlyName - The friendly_namepublic static ApplicationCreator creator(String friendlyName)
friendlyName - The friendly_namepublic static ApplicationDeleter deleter(String pathAccountSid, String pathSid)
pathAccountSid - The account_sidpathSid - The application sid to deletepublic static ApplicationDeleter deleter(String pathSid)
pathSid - The application sid to deletepublic static ApplicationFetcher fetcher(String pathAccountSid, String pathSid)
pathAccountSid - The account_sidpathSid - Fetch by unique Application Sidpublic static ApplicationFetcher fetcher(String pathSid)
pathSid - Fetch by unique Application Sidpublic static ApplicationReader reader(String pathAccountSid)
pathAccountSid - The account_sidpublic static ApplicationReader reader()
public static ApplicationUpdater updater(String pathAccountSid, String pathSid)
pathAccountSid - The account_sidpathSid - The sidpublic static ApplicationUpdater updater(String pathSid)
pathSid - The sidpublic static Application fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static Application fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getAccountSid()
public final String getApiVersion()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final String getFriendlyName()
public final URI getMessageStatusCallback()
public final String getSid()
public final HttpMethod getSmsFallbackMethod()
public final URI getSmsFallbackUrl()
public final HttpMethod getSmsMethod()
public final URI getSmsStatusCallback()
public final URI getSmsUrl()
public final URI getStatusCallback()
public final HttpMethod getStatusCallbackMethod()
public final String getUri()
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.