Class Notification
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.conversations.v1.service.configuration.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 booleanequals(Object o)static NotificationFetcherfetcher(String pathChatServiceSid)static NotificationfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Notification object using the provided ObjectMapper.static NotificationfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Notification object using the provided ObjectMapper.StringgetAccountSid()Map<String,Object>getAddedToConversation()StringgetChatServiceSid()BooleangetLogEnabled()Map<String,Object>getNewMessage()Map<String,Object>getRemovedFromConversation()URIgetUrl()inthashCode()static NotificationUpdaterupdater(String pathChatServiceSid)
-
-
-
Method Detail
-
fetcher
public static NotificationFetcher fetcher(String pathChatServiceSid)
-
updater
public static NotificationUpdater updater(String pathChatServiceSid)
-
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()
-
getChatServiceSid
public final String getChatServiceSid()
-
getLogEnabled
public final Boolean getLogEnabled()
-
getUrl
public final URI getUrl()
-
-