Package com.mypurecloud.sdk.v2.model
Class OpenSocialMediaMessageContent
java.lang.Object
com.mypurecloud.sdk.v2.model.OpenSocialMediaMessageContent
- All Implemented Interfaces:
Serializable
Message content element.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumType of this content element. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachment(ConversationContentAttachment attachment) Attachment content.contentType(OpenSocialMediaMessageContent.ContentTypeEnum contentType) Type of this content element.booleangetText()inthashCode()reaction(ConversationContentReaction reaction) A set of reactions to a message.voidsetAttachment(ConversationContentAttachment attachment) voidvoidsetReaction(ConversationContentReaction reaction) voidtext(ConversationContentText text) A content type containing text.toString()
-
Constructor Details
-
OpenSocialMediaMessageContent
public OpenSocialMediaMessageContent() -
OpenSocialMediaMessageContent
-
-
Method Details
-
contentType
public OpenSocialMediaMessageContent contentType(OpenSocialMediaMessageContent.ContentTypeEnum contentType) Type of this content element. -
getContentType
-
setContentType
-
attachment
Attachment content. -
getAttachment
-
setAttachment
-
text
A content type containing text. -
getText
-
setText
-
reaction
A set of reactions to a message. -
getReaction
-
setReaction
-
equals
-
hashCode
public int hashCode() -
toString
-