public class Notification extends SidResource
Modifier and Type | Method and Description |
---|---|
static NotificationDeleter |
delete(String accountSid,
String callSid,
String sid)
Create a NotificationDeleter to execute delete.
|
boolean |
equals(Object o) |
static NotificationFetcher |
fetch(String accountSid,
String callSid,
String sid)
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 |
read(String accountSid,
String callSid)
Create a NotificationReader to execute read.
|
String |
toString() |
public static NotificationFetcher fetch(String accountSid, String callSid, String sid)
accountSid
- The account_sidcallSid
- The call_sidsid
- The sidpublic static NotificationDeleter delete(String accountSid, String callSid, String sid)
accountSid
- The account_sidcallSid
- The call_sidsid
- The sidpublic static NotificationReader read(String accountSid, String callSid)
accountSid
- The account_sidcallSid
- 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 getSid()
getSid
in class SidResource
public final String getUri()
public final String getRequestVariables()
public final String getResponseBody()
public final String getResponseHeaders()
Copyright © 2011 Twilio, Inc. All Rights Reserved.