Package com.mypurecloud.sdk.v2.model
Class OpenSocialMediaChannel
java.lang.Object
com.mypurecloud.sdk.v2.model.OpenSocialMediaChannel
- All Implemented Interfaces:
Serializable
Channel-specific information that describes the message and the message channel/provider.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe provider type.static enumSpecifies if this message is part of a private or public conversation. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfrom(OpenSocialMediaRecipient from) Information about the recipient the message is received from.getFrom()getId()getTime()getTo()getType()inthashCode()Unique provider ID of the message such as a Facebook message ID.metadata(ConversationChannelMetadata metadata) Information about the channel.publicMetadata(OpenSocialMediaPublicMetadata publicMetadata) Meta data of this public post.voidvoidsetMessageId(String messageId) voidsetMetadata(ConversationChannelMetadata metadata) voidsetPublicMetadata(OpenSocialMediaPublicMetadata publicMetadata) voidvoidOriginal time of the event.Information about the recipient the message is sent to.toString()
-
Constructor Details
-
OpenSocialMediaChannel
public OpenSocialMediaChannel() -
OpenSocialMediaChannel
-
-
Method Details
-
getId
-
getPlatform
-
getType
-
messageId
Unique provider ID of the message such as a Facebook message ID. -
getMessageId
-
setMessageId
-
to
Information about the recipient the message is sent to. -
getTo
-
setTo
-
from
Information about the recipient the message is received from. -
getFrom
-
setFrom
-
time
Original time of the event. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getTime
-
setTime
-
metadata
Information about the channel. -
getMetadata
-
setMetadata
-
publicMetadata
Meta data of this public post. For example, used to define where in the thread the post exists. -
getPublicMetadata
-
setPublicMetadata
-
equals
-
hashCode
public int hashCode() -
toString
-