SigninCard Class
- java.
lang. Object - com.
microsoft. bot. schema. SigninCard
- com.
public class SigninCard
A card representing a request to sign in.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
| static final java.lang.String | CONTENTTYPE |
Constructor Summary
| Constructor | Description | |
|---|---|---|
| SigninCard() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
java.util.List<Card |
getButtons()
Get the buttons value. |
| java.lang.String |
getText()
Get the text value. |
| void |
setButtons(CardAction[] withButtons)
Set the buttons value. |
| void |
setButtons(List<CardAction> withButtons)
Set the buttons value. |
| void |
setText(String withText)
Set the text value. |
| Attachment |
toAttachment()
Creates an @{link Attachment} for this card. |
Methods inherited from java.lang.Object
Field Details
CONTENTTYPE
public static final String CONTENTTYPE
Constructor Details
SigninCard
public SigninCard()
Method Details
getButtons
public List
Get the buttons value.
Returns:
getText
public String getText()
Get the text value.
Returns:
setButtons
public void setButtons(CardAction[] withButtons)
Set the buttons value.
Parameters:
setButtons
public void setButtons(List
Set the buttons value.
Parameters:
setText
public void setText(String withText)
Set the text value.
Parameters:
toAttachment
public Attachment toAttachment()
Creates an @{link Attachment} for this card.
Returns: