public class Notification extends Resource
| Modifier and Type | Method and Description |
|---|---|
static NotificationDeleter |
deleter(String pathCallSid,
String pathSid)
Create a NotificationDeleter to execute delete.
|
static NotificationDeleter |
deleter(String pathAccountSid,
String pathCallSid,
String pathSid)
Create a NotificationDeleter to execute delete.
|
boolean |
equals(Object o) |
static NotificationFetcher |
fetcher(String pathCallSid,
String pathSid)
Create a NotificationFetcher to execute fetch.
|
static NotificationFetcher |
fetcher(String pathAccountSid,
String pathCallSid,
String pathSid)
Create a NotificationFetcher to execute fetch.
|
static Notification |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Notification object using the provided
ObjectMapper.
|
static Notification |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Notification object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
String |
getApiVersion()
Returns The The api_version.
|
String |
getCallSid()
Returns The The call_sid.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date_created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date_updated.
|
String |
getErrorCode()
Returns The The error_code.
|
String |
getLog()
Returns The The log.
|
org.joda.time.DateTime |
getMessageDate()
Returns The The message_date.
|
String |
getMessageText()
Returns The The message_text.
|
URI |
getMoreInfo()
Returns The The more_info.
|
HttpMethod |
getRequestMethod()
Returns The The request_method.
|
URI |
getRequestUrl()
Returns The The request_url.
|
String |
getRequestVariables()
Returns The The request_variables.
|
String |
getResponseBody()
Returns The The response_body.
|
String |
getResponseHeaders()
Returns The The response_headers.
|
String |
getSid()
Returns The The sid.
|
String |
getUri()
Returns The The uri.
|
int |
hashCode() |
static NotificationReader |
reader(String pathCallSid)
Create a NotificationReader to execute read.
|
static NotificationReader |
reader(String pathAccountSid,
String pathCallSid)
Create a NotificationReader to execute read.
|
String |
toString() |
public static NotificationFetcher fetcher(String pathAccountSid, String pathCallSid, String pathSid)
pathAccountSid - The account_sidpathCallSid - The call_sidpathSid - The sidpublic static NotificationFetcher fetcher(String pathCallSid, String pathSid)
pathCallSid - The call_sidpathSid - The sidpublic static NotificationDeleter deleter(String pathAccountSid, String pathCallSid, String pathSid)
pathAccountSid - The account_sidpathCallSid - The call_sidpathSid - The sidpublic static NotificationDeleter deleter(String pathCallSid, String pathSid)
pathCallSid - The call_sidpathSid - The sidpublic static NotificationReader reader(String pathAccountSid, String pathCallSid)
pathAccountSid - The account_sidpathCallSid - The call_sidpublic static NotificationReader reader(String pathCallSid)
pathCallSid - The call_sidpublic static Notification fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static Notification fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getAccountSid()
public final String getApiVersion()
public final String getCallSid()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final String getErrorCode()
public final String getLog()
public final org.joda.time.DateTime getMessageDate()
public final String getMessageText()
public final URI getMoreInfo()
public final HttpMethod getRequestMethod()
public final URI getRequestUrl()
public final String getRequestVariables()
public final String getResponseBody()
public final String getResponseHeaders()
public final String getSid()
public final String getUri()
Copyright © 2016 Twilio, Inc. All Rights Reserved.