Package com.mypurecloud.sdk.v2.model
Class OpenReceiptNormalizedMessage
java.lang.Object
com.mypurecloud.sdk.v2.model.OpenReceiptNormalizedMessage
- All Implemented Interfaces:
Serializable
Open Messaging rich media message structure
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe direction of the message.static enumMessage receipt status.static enumMessage type. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchannel(OpenMessagingChannel channel) Channel-specific information that describes the message and the message channel/provider.The direction of the message.booleangetId()getType()inthashCode()The original unique message Id generated by the messaging platform, that this receipt message is referencing.isFinalReceipt(Boolean isFinalReceipt) Indicates if this is the last message receipt for this message, or if another message receipt can be expected.reasons(List<ConversationReason> reasons) List of reasons for a message receipt that indicates the message has failed.voidsetChannel(OpenMessagingChannel channel) voidvoidvoidsetIsFinalReceipt(Boolean isFinalReceipt) voidsetReasons(List<ConversationReason> reasons) voidvoidMessage receipt status.toString()Message type.
-
Constructor Details
-
OpenReceiptNormalizedMessage
public OpenReceiptNormalizedMessage() -
OpenReceiptNormalizedMessage
-
-
Method Details
-
id
The original unique message Id generated by the messaging platform, that this receipt message is referencing. -
getId
-
setId
-
channel
Channel-specific information that describes the message and the message channel/provider. -
getChannel
-
setChannel
-
type
Message type. -
getType
-
setType
-
status
Message receipt status. -
getStatus
-
setStatus
-
reasons
List of reasons for a message receipt that indicates the message has failed. Only used with Failed status. -
getReasons
-
setReasons
-
isFinalReceipt
Indicates if this is the last message receipt for this message, or if another message receipt can be expected. -
getIsFinalReceipt
-
setIsFinalReceipt
-
direction
The direction of the message. -
getDirection
-
setDirection
-
equals
-
hashCode
public int hashCode() -
toString
-