Class DeliveryReceipt
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.conversations.v1.conversation.message.DeliveryReceipt
-
- All Implemented Interfaces:
Serializable
public class DeliveryReceipt extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeliveryReceipt.DeliveryStatus
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static DeliveryReceiptFetcherfetcher(String pathConversationSid, String pathMessageSid, String pathSid)static DeliveryReceiptfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a DeliveryReceipt object using the provided ObjectMapper.static DeliveryReceiptfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a DeliveryReceipt object using the provided ObjectMapper.StringgetAccountSid()StringgetChannelMessageSid()StringgetConversationSid()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()IntegergetErrorCode()StringgetMessageSid()StringgetParticipantSid()StringgetSid()DeliveryReceipt.DeliveryStatusgetStatus()URIgetUrl()inthashCode()static DeliveryReceiptReaderreader(String pathConversationSid, String pathMessageSid)
-
-
-
Method Detail
-
fetcher
public static DeliveryReceiptFetcher fetcher(String pathConversationSid, String pathMessageSid, String pathSid)
-
reader
public static DeliveryReceiptReader reader(String pathConversationSid, String pathMessageSid)
-
fromJson
public static DeliveryReceipt fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a DeliveryReceipt object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- DeliveryReceipt object represented by the provided JSON
-
fromJson
public static DeliveryReceipt fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a DeliveryReceipt object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- DeliveryReceipt object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getConversationSid
public final String getConversationSid()
-
getSid
public final String getSid()
-
getMessageSid
public final String getMessageSid()
-
getChannelMessageSid
public final String getChannelMessageSid()
-
getParticipantSid
public final String getParticipantSid()
-
getStatus
public final DeliveryReceipt.DeliveryStatus getStatus()
-
getErrorCode
public final Integer getErrorCode()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUrl
public final URI getUrl()
-
-