Class ContentQuickReply
- java.lang.Object
-
- cloud.genesys.webmessaging.sdk.model.ContentQuickReply
-
- All Implemented Interfaces:
Serializable
public class ContentQuickReply extends Object implements Serializable
Quick reply content. Quick reply object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContentQuickReply()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentQuickReplyaction(Action action)Specifies the type of action that is triggered upon clicking the quick reply.booleanequals(Object o)ActiongetAction()StringgetId()StringgetImage()StringgetPayload()StringgetText()inthashCode()ContentQuickReplyid(String id)A unique ID assigned to the quick reply (Deprecated).ContentQuickReplyimage(String image)URL of an image associated with the quick reply.ContentQuickReplypayload(String payload)Content of the payload included in the quick reply response.voidsetAction(Action action)voidsetId(String id)voidsetImage(String image)voidsetPayload(String payload)voidsetText(String text)ContentQuickReplytext(String text)Text to show inside the quick reply.StringtoString()
-
-
-
Method Detail
-
action
public ContentQuickReply action(Action action)
Specifies the type of action that is triggered upon clicking the quick reply.
-
getAction
public Action getAction()
-
setAction
public void setAction(Action action)
-
id
public ContentQuickReply id(String id)
A unique ID assigned to the quick reply (Deprecated).
-
getId
public String getId()
-
setId
public void setId(String id)
-
image
public ContentQuickReply image(String image)
URL of an image associated with the quick reply.
-
getImage
public String getImage()
-
setImage
public void setImage(String image)
-
payload
public ContentQuickReply payload(String payload)
Content of the payload included in the quick reply response. Could be an ID identifying the quick reply response.
-
getPayload
public String getPayload()
-
setPayload
public void setPayload(String payload)
-
text
public ContentQuickReply text(String text)
Text to show inside the quick reply. This is also used as the response text after clicking on the quick reply.
-
getText
public String getText()
-
setText
public void setText(String text)
-
-