public class MicrosoftTeamsMessageCard extends BasePOJO
Constructor and Description |
---|
MicrosoftTeamsMessageCard() |
Modifier and Type | Method and Description |
---|---|
void |
addAction(java.lang.String pType,
java.util.Map<java.lang.String,java.io.Serializable> pFields) |
void |
addFact(java.lang.String pTitle,
java.lang.Object pValue) |
void |
addTableRow(java.util.List<java.lang.String> pRow)
Adds a table row to the message.
|
void |
clearTableRows()
Clears all table row data
|
JSONArray |
getActions() |
JSONArray |
getFacts() |
static java.lang.String |
getMarkdownLink(java.io.Serializable text,
java.lang.String url) |
void |
setActivityTitle(java.lang.String pActivityTitle) |
void |
setIconUrl(java.lang.String pIconUrl) |
void |
setSectionText(java.lang.String pSectionText) |
void |
setTableHeaders(java.util.List<java.lang.String> pHeader) |
void |
setTitle(java.lang.String pTitle) |
JSONObject |
toJSONObject() |
java.lang.String |
toString()
Returns custom String representation implemented by walking complete object structure.
|
public void setTitle(java.lang.String pTitle)
public void setActivityTitle(java.lang.String pActivityTitle)
public void setSectionText(java.lang.String pSectionText)
public void setIconUrl(java.lang.String pIconUrl)
public JSONArray getFacts()
public void addFact(java.lang.String pTitle, java.lang.Object pValue)
public JSONArray getActions()
public void addAction(java.lang.String pType, java.util.Map<java.lang.String,java.io.Serializable> pFields)
public void addTableRow(java.util.List<java.lang.String> pRow)
pRow
- - A list of column values for the rowpublic void setTableHeaders(java.util.List<java.lang.String> pHeader)
public void clearTableRows()
public JSONObject toJSONObject()
public static java.lang.String getMarkdownLink(java.io.Serializable text, java.lang.String url)