Package com.mypurecloud.sdk.v2.model
Class MessageDetails
java.lang.Object
com.mypurecloud.sdk.v2.model.MessageDetails
- All Implemented Interfaces:
Serializable
MessageDetails
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumIndicates the delivery status of the message.static enumFor social media messages, the visibility of the message in the originating social platform -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanProvider specific error information for a communication.getMedia()inthashCode()media(List<MessageMedia> media) Deprecated: Use the API /api/v2/conversations/messages/{conversationId}/messages/{messageId} to get the associated media.UUID identifying the message media.messageMetadata(ConversationMessageMetadata messageMetadata) Information that describes the content of the message, if anymessageSegmentCount(Integer messageSegmentCount) The message segment count, greater than 1 if the message content was split into multiple parts for this message type, e.g.messageStatus(MessageDetails.MessageStatusEnum messageStatus) Indicates the delivery status of the message.messageTime(Date messageTime) The time when the message was sent or received.messageURI(String messageURI) A URI for this message entity.voidsetErrorInfo(ErrorBody errorInfo) voidsetMedia(List<MessageMedia> media) voidsetMessageId(String messageId) voidsetMessageMetadata(ConversationMessageMetadata messageMetadata) voidsetMessageSegmentCount(Integer messageSegmentCount) voidsetMessageStatus(MessageDetails.MessageStatusEnum messageStatus) voidsetMessageTime(Date messageTime) voidsetMessageURI(String messageURI) voidsetSocialVisibility(MessageDetails.SocialVisibilityEnum socialVisibility) voidsetStickers(List<MessageSticker> stickers) socialVisibility(MessageDetails.SocialVisibilityEnum socialVisibility) For social media messages, the visibility of the message in the originating social platformstickers(List<MessageSticker> stickers) Deprecated: This attribute is no longer used.toString()
-
Constructor Details
-
MessageDetails
public MessageDetails() -
MessageDetails
-
-
Method Details
-
messageId
UUID identifying the message media. -
getMessageId
-
setMessageId
-
messageURI
A URI for this message entity. -
getMessageURI
-
setMessageURI
-
messageStatus
Indicates the delivery status of the message. -
getMessageStatus
-
setMessageStatus
-
messageSegmentCount
The message segment count, greater than 1 if the message content was split into multiple parts for this message type, e.g. SMS character limits. -
getMessageSegmentCount
-
setMessageSegmentCount
-
messageTime
The time when the message was sent or received. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getMessageTime
-
setMessageTime
-
media
Deprecated: Use the API /api/v2/conversations/messages/{conversationId}/messages/{messageId} to get the associated media. -
getMedia
-
setMedia
-
stickers
Deprecated: This attribute is no longer used. Messages have not included associated stickers for a long time. -
getStickers
-
setStickers
-
messageMetadata
Information that describes the content of the message, if any -
getMessageMetadata
-
setMessageMetadata
-
getSocialVisibility
-
setSocialVisibility
-
errorInfo
Provider specific error information for a communication. -
getErrorInfo
-
setErrorInfo
-
equals
-
hashCode
public int hashCode() -
toString
-
socialVisibility