Class MicrosoftTeamsMessageCard

java.lang.Object
flexagon.ff.common.core.pojos.BasePOJO
flexagon.ffi.microsoftteams.pojos.MicrosoftTeamsMessageCard
All Implemented Interfaces:
Serializable

public class MicrosoftTeamsMessageCard extends BasePOJO
See Also:
  • Constructor Details

    • MicrosoftTeamsMessageCard

      public MicrosoftTeamsMessageCard()
  • Method Details

    • setTitle

      public void setTitle(String pTitle)
    • setActivityTitle

      public void setActivityTitle(String pActivityTitle)
    • setSectionText

      public void setSectionText(String pSectionText)
    • setIconUrl

      public void setIconUrl(String pIconUrl)
    • getFacts

      public JSONArray getFacts()
    • addFact

      public void addFact(String pTitle, Object pValue)
    • getActions

      public JSONArray getActions()
    • addAction

      public void addAction(String pType, Map<String,Serializable> pFields)
    • addTableRow

      public void addTableRow(List<String> pRow)
      Adds a table row to the message. If the table is a simple key/value table then consider using addFact
      Parameters:
      pRow - - A list of column values for the row
    • setTableHeaders

      public void setTableHeaders(List<String> pHeader)
    • clearTableRows

      public void clearTableRows()
      Clears all table row data
    • toJSONObject

      public JSONObject toJSONObject()
    • getMarkdownLink

      public static String getMarkdownLink(Serializable text, String url)
    • toString

      public String toString()
      Description copied from class: BasePOJO
      Returns custom String representation implemented by walking complete object structure.
      Overrides:
      toString in class BasePOJO
      Returns:
      a String representation of this object