public class Notification extends InstanceResource<TwilioRestClient>
| Constructor and Description |
|---|
Notification(TwilioRestClient client)
Instantiates a new notification.
|
Notification(TwilioRestClient client,
Map<String,Object> properties)
Instantiates a new notification.
|
Notification(TwilioRestClient client,
String sid)
Instantiates a new notification.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete()
Delete.
|
String |
getAccountSid()
Gets the account sid.
|
String |
getApiVersion()
Gets the api version.
|
String |
getCallSid()
Gets the call sid.
|
Date |
getDateCreated()
Gets the date created.
|
Date |
getDateUpdated()
Gets the date updated.
|
String |
getErrorCode()
Gets the error code.
|
String |
getLog()
Gets the log.
|
String |
getMessageDate()
Gets the message date.
|
String |
getMessageText()
Gets the message text.
|
String |
getMoreInfo()
Gets the more info.
|
String |
getRequestUrl()
Gets the request url.
|
String |
getRequestVariables()
Gets the request variables.
|
String |
getResponseBody()
Gets the response body.
|
String |
getResponseHeaders()
Gets the response headers.
|
String |
getSid()
Gets the sid.
|
getCastedObject, getObject, getProperty, toJSON, update, updatesetRequestAccountSidpublic Notification(TwilioRestClient client)
client - the clientpublic Notification(TwilioRestClient client, String sid)
client - the clientsid - the sidpublic Notification(TwilioRestClient client, Map<String,Object> properties)
client - the clientproperties - the propertiespublic String getSid()
public Date getDateCreated()
public Date getDateUpdated()
public String getAccountSid()
public String getCallSid()
public String getApiVersion()
public String getLog()
public String getErrorCode()
public String getMoreInfo()
public String getMessageText()
public String getMessageDate()
public String getRequestUrl()
public String getRequestVariables()
public String getResponseHeaders()
public String getResponseBody()
public boolean delete()
throws TwilioRestException
TwilioRestException - the twilio rest exceptionCopyright © 2011 Twilio, Inc. All Rights Reserved.