public class Application extends SidResource
Modifier and Type | Method and Description |
---|---|
static ApplicationCreator |
create(String friendlyName)
Create a ApplicationCreator to execute create.
|
static ApplicationCreator |
create(String accountSid,
String friendlyName)
Create a ApplicationCreator to execute create.
|
static ApplicationDeleter |
delete(String sid)
Create a ApplicationDeleter to execute delete.
|
static ApplicationDeleter |
delete(String accountSid,
String sid)
Create a ApplicationDeleter to execute delete.
|
boolean |
equals(Object o) |
static ApplicationFetcher |
fetch(String sid)
Create a ApplicationFetcher to execute fetch.
|
static ApplicationFetcher |
fetch(String accountSid,
String sid)
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 |
read()
Create a ApplicationReader to execute read.
|
static ApplicationReader |
read(String accountSid)
Create a ApplicationReader to execute read.
|
String |
toString() |
static ApplicationUpdater |
update(String sid)
Create a ApplicationUpdater to execute update.
|
static ApplicationUpdater |
update(String accountSid,
String sid)
Create a ApplicationUpdater to execute update.
|
public static ApplicationCreator create(String accountSid, String friendlyName)
accountSid
- The account_sidfriendlyName
- Human readable description of this resourcepublic static ApplicationCreator create(String friendlyName)
friendlyName
- Human readable description of this resourcepublic static ApplicationDeleter delete(String accountSid, String sid)
accountSid
- The account_sidsid
- The application sid to deletepublic static ApplicationDeleter delete(String sid)
sid
- The application sid to deletepublic static ApplicationFetcher fetch(String accountSid, String sid)
accountSid
- The account_sidsid
- Fetch by unique Application Sidpublic static ApplicationFetcher fetch(String sid)
sid
- Fetch by unique Application Sidpublic static ApplicationReader read(String accountSid)
accountSid
- The account_sidpublic static ApplicationReader read()
public static ApplicationUpdater update(String accountSid, String sid)
accountSid
- The account_sidsid
- The sidpublic static ApplicationUpdater update(String sid)
sid
- 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()
getSid
in class SidResource
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 © 2011 Twilio, Inc. All Rights Reserved.