Class ButtonComponent
- java.lang.Object
-
- cloud.genesys.webmessaging.sdk.model.ButtonComponent
-
- All Implemented Interfaces:
Serializable
public class ButtonComponent extends Object implements Serializable
Structured template button object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ButtonComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ButtonComponentactions(ContentActions actions)The button actions (Deprecated).booleanequals(Object o)ContentActionsgetActions()StringgetTitle()inthashCode()voidsetActions(ContentActions actions)voidsetTitle(String title)ButtonComponenttitle(String title)Text to show inside the button.StringtoString()
-
-
-
Method Detail
-
title
public ButtonComponent title(String title)
Text to show inside the button.
-
getTitle
public String getTitle()
-
setTitle
public void setTitle(String title)
-
actions
public ButtonComponent actions(ContentActions actions)
The button actions (Deprecated).
-
getActions
public ContentActions getActions()
-
setActions
public void setActions(ContentActions actions)
-
-