BasicCard Class

  • java.lang.Object
    • com.microsoft.bot.schema.BasicCard

public class BasicCard

A basic card.

Constructor Summary

Constructor Description
BasicCard()

Method Summary

Modifier and Type Method and Description
java.util.List<CardAction> getButtons()

Get the buttons value.

java.util.List<CardImage> getImages()

Get the images value.

java.lang.String getSubtitle()

Get the subtitle value.

java.lang.String getText()

Get the text value.

java.lang.String getTitle()

Get the title value.

void setButtons(List<CardAction> withButtons)

Set the buttons value.

void setImages(List<CardImage> withImages)

Set the images value.

void setSubtitle(String withSubtitle)

Set the subtitle value.

void setTap(CardAction withTap)

Set the tap value.

void setText(String withText)

Set the text value.

void setTitle(String withTitle)

Set the title value.

CardAction tap()

Get the tap value.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

BasicCard

public BasicCard()

Method Details

getButtons

public List getButtons()

Get the buttons value.

Returns:

the buttons value

getImages

public List getImages()

Get the images value.

Returns:

the images value

getSubtitle

public String getSubtitle()

Get the subtitle value.

Returns:

the subtitle value

getText

public String getText()

Get the text value.

Returns:

the text value

getTitle

public String getTitle()

Get the title value.

Returns:

the title value

setButtons

public void setButtons(List withButtons)

Set the buttons value.

Parameters:

withButtons - the buttons value to set

setImages

public void setImages(List withImages)

Set the images value.

Parameters:

withImages - the images value to set

setSubtitle

public void setSubtitle(String withSubtitle)

Set the subtitle value.

Parameters:

withSubtitle - the subtitle value to set

setTap

public void setTap(CardAction withTap)

Set the tap value.

Parameters:

withTap - the tap value to set

setText

public void setText(String withText)

Set the text value.

Parameters:

withText - the text value to set

setTitle

public void setTitle(String withTitle)

Set the title value.

Parameters:

withTitle - the title value to set

tap

public CardAction tap()

Get the tap value.

Returns:

the tap value

Applies to