Class Notification
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.api.v2010.account.Notification
-
- All Implemented Interfaces:
Serializable
public class Notification extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
-
-
-
Method Detail
-
fetcher
public static NotificationFetcher fetcher(String pathSid)
-
fetcher
public static NotificationFetcher fetcher(String pathAccountSid, String pathSid)
-
reader
public static NotificationReader reader()
-
reader
public static NotificationReader reader(String pathAccountSid)
-
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()
-
-