public class ListTemplateElement extends Object implements Serializable
| Constructor and Description |
|---|
ListTemplateElement(String title)
Instantiates a new list template element.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addButton(Button button)
Adds the button.
|
boolean |
equals(Object obj) |
List<Button> |
getButtons()
Gets the buttons.
|
DefaultAction |
getDefaultAction()
Gets the default action.
|
String |
getImageUrl()
Gets the image url.
|
String |
getSubtitle()
Gets the subtitle.
|
String |
getTitle()
Gets the title.
|
int |
hashCode() |
void |
setButtons(List<Button> buttons)
Sets the buttons.
|
void |
setDefaultAction(DefaultAction defaultAction)
Sets the default action.
|
void |
setImageUrl(String imageUrl)
Sets the image url.
|
void |
setSubtitle(String subtitle)
Sets the subtitle.
|
void |
setTitle(String title)
Sets the title.
|
String |
toString() |
public ListTemplateElement(String title)
title - the titlepublic DefaultAction getDefaultAction()
public void setDefaultAction(DefaultAction defaultAction)
defaultAction - the new default actionpublic String getTitle()
public void setTitle(String title)
title - the new titlepublic String getImageUrl()
public void setImageUrl(String imageUrl)
imageUrl - the new image urlpublic String getSubtitle()
public void setSubtitle(String subtitle)
subtitle - the new subtitlepublic void setButtons(List<Button> buttons)
buttons - the new buttonspublic void addButton(Button button)
button - the buttonCopyright © 2017 BotMill. All rights reserved.