Package com.mypurecloud.sdk.v2.model
Class ConversationMessageContent
java.lang.Object
com.mypurecloud.sdk.v2.model.ConversationMessageContent
- All Implemented Interfaces:
Serializable
Message content element. If contentType = \"Attachment\" only one item is allowed.
- 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.buttonResponse(ConversationContentButtonResponse buttonResponse) Button response content.card(ConversationContentCard card) Card contentcarousel(ConversationContentCarousel carousel) Carousel contentcontentType(ConversationMessageContent.ContentTypeEnum contentType) Type of this content element.booleangetCard()getStory()getText()inthashCode()location(ConversationContentLocation location) Location content.quickReply(ConversationContentQuickReply quickReply) Quick reply content.quickReplyV2(ConversationContentQuickReplyV2 quickReplyV2) Quick reply V2 content.voidsetAttachment(ConversationContentAttachment attachment) voidsetButtonResponse(ConversationContentButtonResponse buttonResponse) voidvoidsetCarousel(ConversationContentCarousel carousel) voidsetContentType(ConversationMessageContent.ContentTypeEnum contentType) voidsetLocation(ConversationContentLocation location) voidsetQuickReply(ConversationContentQuickReply quickReply) voidsetQuickReplyV2(ConversationContentQuickReplyV2 quickReplyV2) voidsetStory(ConversationContentStory story) voidvoidstory(ConversationContentStory story) Ephemeral story content.Template notification content.text(ConversationContentText text) Text content.toString()
-
Constructor Details
-
ConversationMessageContent
public ConversationMessageContent()
-
-
Method Details
-
contentType
public ConversationMessageContent contentType(ConversationMessageContent.ContentTypeEnum contentType) Type of this content element. -
getContentType
-
setContentType
-
location
Location content. -
getLocation
-
setLocation
-
attachment
Attachment content. -
getAttachment
-
setAttachment
-
quickReply
Quick reply content. -
getQuickReply
-
setQuickReply
-
buttonResponse
Button response content. -
getButtonResponse
-
setButtonResponse
-
template
Template notification content. -
getTemplate
-
setTemplate
-
story
Ephemeral story content. -
getStory
-
setStory
-
card
Card content -
getCard
-
setCard
-
carousel
Carousel content -
getCarousel
-
setCarousel
-
text
Text content. -
getText
-
setText
-
quickReplyV2
Quick reply V2 content. -
getQuickReplyV2
-
setQuickReplyV2
-
equals
-
hashCode
public int hashCode() -
toString
-