Package com.mypurecloud.sdk.v2.model
Class OpenStructuredResponseNormalizedMessage
java.lang.Object
com.mypurecloud.sdk.v2.model.OpenStructuredResponseNormalizedMessage
- All Implemented Interfaces:
Serializable
Open Messaging rich media response normalized message structure
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe direction of the message.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.List of content elements.The direction of the message.booleangetId()getType()inthashCode()Unique ID of the message.Additional metadata about this message.voidsetChannel(OpenMessagingChannel channel) voidvoidvoidvoidsetMetadata(Map<String, String> metadata) voidtoString()Message type.
-
Constructor Details
-
OpenStructuredResponseNormalizedMessage
public OpenStructuredResponseNormalizedMessage() -
OpenStructuredResponseNormalizedMessage
-
-
Method Details
-
id
Unique ID of the message. This ID is generated by Messaging Platform. Message receipts will have the same ID as the message they reference, as such should only be set when sending a message receipt. -
getId
-
setId
-
channel
Channel-specific information that describes the message and the message channel/provider. -
getChannel
-
setChannel
-
type
public OpenStructuredResponseNormalizedMessage type(OpenStructuredResponseNormalizedMessage.TypeEnum type) Message type. -
getType
-
setType
-
direction
public OpenStructuredResponseNormalizedMessage direction(OpenStructuredResponseNormalizedMessage.DirectionEnum direction) The direction of the message. -
getDirection
-
setDirection
-
content
public OpenStructuredResponseNormalizedMessage content(List<OpenInboundStructuredResponseNormalizedMessageContent> content) List of content elements. -
getContent
-
setContent
-
metadata
Additional metadata about this message. -
getMetadata
-
setMetadata
-
equals
-
hashCode
public int hashCode() -
toString
-