Package com.mypurecloud.sdk.v2.model
Class OpenMessageNormalizedMessage
java.lang.Object
com.mypurecloud.sdk.v2.model.OpenMessageNormalizedMessage
- All Implemented Interfaces:
Serializable
Open Messaging rich media message structure
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchannel(OpenMessagingChannel channel) Channel-specific information that describes the message and the message channel/provider.content(List<OpenMessageContent> content) List of content elements.conversationId(String conversationId) The conversationId context for the messagebooleangetId()getText()getType()inthashCode()Unique ID of the message generated by Messaging Platform.Additional metadata about this message.voidsetChannel(OpenMessagingChannel channel) voidsetContent(List<OpenMessageContent> content) voidsetConversationId(String conversationId) voidvoidsetMetadata(Map<String, String> metadata) voidvoidMessage text.toString()Message type.
-
Constructor Details
-
OpenMessageNormalizedMessage
public OpenMessageNormalizedMessage() -
OpenMessageNormalizedMessage
-
-
Method Details
-
id
Unique ID of the message generated by Messaging Platform. -
getId
-
setId
-
channel
Channel-specific information that describes the message and the message channel/provider. -
getChannel
-
setChannel
-
type
Message type. -
getType
-
setType
-
text
Message text. -
getText
-
setText
-
content
List of content elements. -
getContent
-
setContent
-
metadata
Additional metadata about this message. -
getMetadata
-
setMetadata
-
conversationId
The conversationId context for the message -
getConversationId
-
setConversationId
-
equals
-
hashCode
public int hashCode() -
toString
-