Class WebMessagingContent
- java.lang.Object
-
- cloud.genesys.webmessaging.sdk.model.WebMessagingContent
-
- All Implemented Interfaces:
Serializable
public class WebMessagingContent extends Object implements Serializable
Message content element.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebMessagingContent.ContentTypeEnumType of this content element.
-
Constructor Summary
Constructors Constructor Description WebMessagingContent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebMessagingContentbuttonResponse(WebMessagingButtonResponse buttonResponse)Button response content.booleanequals(Object o)WebMessagingContentgeneric(WebMessagingGeneric generic)Generic content.WebMessagingAttachmentgetAttachment()WebMessagingButtonResponsegetButtonResponse()WebMessagingContent.ContentTypeEnumgetContentType()WebMessagingGenericgetGeneric()WebMessagingQuickReplygetQuickReply()inthashCode()WebMessagingContentquickReply(WebMessagingQuickReply quickReply)Quick reply content.voidsetButtonResponse(WebMessagingButtonResponse buttonResponse)voidsetGeneric(WebMessagingGeneric generic)voidsetQuickReply(WebMessagingQuickReply quickReply)StringtoString()
-
-
-
Method Detail
-
getContentType
public WebMessagingContent.ContentTypeEnum getContentType()
-
getAttachment
public WebMessagingAttachment getAttachment()
-
quickReply
public WebMessagingContent quickReply(WebMessagingQuickReply quickReply)
Quick reply content.
-
getQuickReply
public WebMessagingQuickReply getQuickReply()
-
setQuickReply
public void setQuickReply(WebMessagingQuickReply quickReply)
-
buttonResponse
public WebMessagingContent buttonResponse(WebMessagingButtonResponse buttonResponse)
Button response content.
-
getButtonResponse
public WebMessagingButtonResponse getButtonResponse()
-
setButtonResponse
public void setButtonResponse(WebMessagingButtonResponse buttonResponse)
-
generic
public WebMessagingContent generic(WebMessagingGeneric generic)
Generic content.
-
getGeneric
public WebMessagingGeneric getGeneric()
-
setGeneric
public void setGeneric(WebMessagingGeneric generic)
-
-