Class Notification
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.verify.v2.service.entity.challenge.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 static NotificationCreatorcreator(String pathServiceSid, String pathIdentity, String pathChallengeSid)booleanequals(Object o)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()StringgetChallengeSid()ZonedDateTimegetDateCreated()StringgetEntitySid()StringgetIdentity()StringgetPriority()StringgetServiceSid()StringgetSid()IntegergetTtl()inthashCode()
-
-
-
Method Detail
-
creator
public static NotificationCreator creator(String pathServiceSid, String pathIdentity, String pathChallengeSid)
-
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
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getServiceSid
public final String getServiceSid()
-
getEntitySid
public final String getEntitySid()
-
getIdentity
public final String getIdentity()
-
getChallengeSid
public final String getChallengeSid()
-
getPriority
public final String getPriority()
-
getTtl
public final Integer getTtl()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
-