Class ContentPostback
- java.lang.Object
-
- cloud.genesys.webmessaging.sdk.model.ContentPostback
-
- All Implemented Interfaces:
Serializable
public class ContentPostback extends Object implements Serializable
Structured message postback (Deprecated). Postback response object representing the click of a rich media button (Deprecated).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContentPostback()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetId()StringgetPayload()StringgetText()inthashCode()ContentPostbackid(String id)An ID assigned to the button response.ContentPostbackpayload(String payload)The response payload associated with the clicked button.voidsetId(String id)voidsetPayload(String payload)voidsetText(String text)ContentPostbacktext(String text)The response text from the button click.StringtoString()
-
-
-
Method Detail
-
id
public ContentPostback id(String id)
An ID assigned to the button response.
-
getId
public String getId()
-
setId
public void setId(String id)
-
payload
public ContentPostback payload(String payload)
The response payload associated with the clicked button.
-
getPayload
public String getPayload()
-
setPayload
public void setPayload(String payload)
-
text
public ContentPostback text(String text)
The response text from the button click.
-
getText
public String getText()
-
setText
public void setText(String text)
-
-