Class Notification
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.api.v2010.account.call.Notification
-
- All Implemented Interfaces:
Serializable
public class Notification extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static NotificationFetcher
fetcher(String pathCallSid, String pathSid)
static NotificationFetcher
fetcher(String pathAccountSid, String pathCallSid, String pathSid)
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()
String
getApiVersion()
String
getCallSid()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getErrorCode()
String
getLog()
ZonedDateTime
getMessageDate()
String
getMessageText()
URI
getMoreInfo()
HttpMethod
getRequestMethod()
URI
getRequestUrl()
String
getRequestVariables()
String
getResponseBody()
String
getResponseHeaders()
String
getSid()
String
getUri()
int
hashCode()
static NotificationReader
reader(String pathCallSid)
static NotificationReader
reader(String pathAccountSid, String pathCallSid)
-
-
-
Method Detail
-
fetcher
public static NotificationFetcher fetcher(String pathCallSid, String pathSid)
-
fetcher
public static NotificationFetcher fetcher(String pathAccountSid, String pathCallSid, String pathSid)
-
reader
public static NotificationReader reader(String pathCallSid)
-
reader
public static NotificationReader reader(String pathAccountSid, String pathCallSid)
-
fromJson
public static Notification fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Notification object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- Notification object represented by the provided JSON
-
fromJson
public static Notification fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Notification object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- Notification object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getApiVersion
public final String getApiVersion()
-
getCallSid
public final String getCallSid()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getErrorCode
public final String getErrorCode()
-
getLog
public final String getLog()
-
getMessageDate
public final ZonedDateTime getMessageDate()
-
getMessageText
public final String getMessageText()
-
getMoreInfo
public final URI getMoreInfo()
-
getRequestMethod
public final HttpMethod getRequestMethod()
-
getRequestUrl
public final URI getRequestUrl()
-
getRequestVariables
public final String getRequestVariables()
-
getResponseBody
public final String getResponseBody()
-
getResponseHeaders
public final String getResponseHeaders()
-
getSid
public final String getSid()
-
getUri
public final String getUri()
-
-