public static class CarouselLayoutTemplate.CarouselColumn extends java.lang.Object implements Jsonable
| Constructor and Description |
|---|
CarouselColumn(java.lang.String text,
java.util.List<ClickActionForTemplateMessage> actions)
constructor to create CarouselColumn
|
| Modifier and Type | Method and Description |
|---|---|
void |
setDefaultAction(ClickActionForTemplateMessage defaultAction)
Set default column action.
|
void |
setImageBackgroundColor(java.lang.String imageBackgroundColor)
Set image background color.
|
void |
setThumbnailImageUrl(java.lang.String thumbnailImageUrl)
Set thumbnail image url if exists.
|
void |
setTitle(java.lang.String title)
Set column title.
|
org.json.JSONObject |
toJsonObject() |
public CarouselColumn(java.lang.String text,
java.util.List<ClickActionForTemplateMessage> actions)
text - description for the columnactions - action for the columnpublic void setThumbnailImageUrl(java.lang.String thumbnailImageUrl)
thumbnailImageUrl - public void setImageBackgroundColor(java.lang.String imageBackgroundColor)
imageBackgroundColor - public void setTitle(java.lang.String title)
title - public void setDefaultAction(ClickActionForTemplateMessage defaultAction)
defaultAction - public org.json.JSONObject toJsonObject()
throws org.json.JSONException
toJsonObject in interface Jsonableorg.json.JSONException