public class Application extends Resource
Modifier and Type | Method and Description |
---|---|
static ApplicationCreator |
creator()
Create a ApplicationCreator to execute create.
|
static ApplicationCreator |
creator(String pathAccountSid)
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 SID of the Account that created the resource.
|
String |
getApiVersion()
Returns The API version used to start a new TwiML session.
|
ZonedDateTime |
getDateCreated()
Returns The RFC 2822 date and time in GMT that the resource was created.
|
ZonedDateTime |
getDateUpdated()
Returns The RFC 2822 date and time in GMT that the resource was last updated.
|
String |
getFriendlyName()
Returns The string that you assigned to describe the resource.
|
URI |
getMessageStatusCallback()
Returns The URL to send message status information to your application.
|
String |
getSid()
Returns The unique string that identifies the resource.
|
HttpMethod |
getSmsFallbackMethod()
Returns The HTTP method used with sms_fallback_url.
|
URI |
getSmsFallbackUrl()
Returns The URL that we call when an error occurs while retrieving or
executing the TwiML.
|
HttpMethod |
getSmsMethod()
Returns The HTTP method to use with sms_url.
|
URI |
getSmsStatusCallback()
Returns The URL to send status information to your application.
|
URI |
getSmsUrl()
Returns The URL we call when the phone number receives an incoming SMS
message.
|
URI |
getStatusCallback()
Returns The URL to send status information to your application.
|
HttpMethod |
getStatusCallbackMethod()
Returns The HTTP method we use to call status_callback.
|
String |
getUri()
Returns The URI of the resource, relative to `https://api.twilio.com`.
|
Boolean |
getVoiceCallerIdLookup()
Returns Whether to lookup the caller's name.
|
HttpMethod |
getVoiceFallbackMethod()
Returns The HTTP method used with voice_fallback_url.
|
URI |
getVoiceFallbackUrl()
Returns The URL we call when a TwiML error occurs.
|
HttpMethod |
getVoiceMethod()
Returns The HTTP method used with the voice_url.
|
URI |
getVoiceUrl()
Returns The URL we call when the phone number receives a call.
|
int |
hashCode() |
static ApplicationReader |
reader()
Create a ApplicationReader to execute read.
|
static ApplicationReader |
reader(String pathAccountSid)
Create a ApplicationReader to execute read.
|
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)
pathAccountSid
- The SID of the Account that will create the resourcepublic static ApplicationCreator creator()
public static ApplicationDeleter deleter(String pathAccountSid, String pathSid)
pathAccountSid
- The SID of the Account that created the resources to
deletepathSid
- The unique string that identifies the resourcepublic static ApplicationDeleter deleter(String pathSid)
pathSid
- The unique string that identifies the resourcepublic static ApplicationFetcher fetcher(String pathAccountSid, String pathSid)
pathAccountSid
- The SID of the Account that created the resource to
fetchpathSid
- The unique string that identifies the resourcepublic static ApplicationFetcher fetcher(String pathSid)
pathSid
- The unique string that identifies the resourcepublic static ApplicationReader reader(String pathAccountSid)
pathAccountSid
- The SID of the Account that created the resources to
readpublic static ApplicationReader reader()
public static ApplicationUpdater updater(String pathAccountSid, String pathSid)
pathAccountSid
- The SID of the Account that will create the resourcepathSid
- The unique string that identifies the resourcepublic static ApplicationUpdater updater(String pathSid)
pathSid
- The unique string that identifies the resourcepublic 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 ZonedDateTime getDateCreated()
public final ZonedDateTime 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 © 2019 Twilio, Inc. All Rights Reserved.