public class GenericTemplateElement extends Object implements Serializable
| Constructor and Description |
|---|
GenericTemplateElement(String title)
Instantiates a new generic 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.
|
String |
getImageUrl()
Gets the image url.
|
String |
getItemUrl()
Gets the item url.
|
String |
getSubtitle()
Gets the subtitle.
|
String |
getTitle()
Gets the title.
|
int |
hashCode() |
void |
setButtons(List<Button> buttons)
Sets the buttons.
|
void |
setImageUrl(String imageUrl)
Sets the image url.
|
void |
setItemUrl(String itemUrl)
Sets the item url.
|
void |
setSubtitle(String subtitle)
Sets the subtitle.
|
void |
setTitle(String title)
Sets the title.
|
String |
toString() |
public GenericTemplateElement(String title)
title - the titlepublic String getTitle()
public void setTitle(String title)
title - the new titlepublic String getItemUrl()
public void setItemUrl(String itemUrl)
itemUrl - the new item urlpublic 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.