SigninCard Class

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

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<CardAction> 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

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

Field Details

CONTENTTYPE

public static final String CONTENTTYPE

Constructor Details

SigninCard

public SigninCard()

Method Details

getButtons

public List getButtons()

Get the buttons value.

Returns:

the buttons value

getText

public String getText()

Get the text value.

Returns:

the text value

setButtons

public void setButtons(CardAction[] withButtons)

Set the buttons value.

Parameters:

withButtons - the buttons value to set

setButtons

public void setButtons(List withButtons)

Set the buttons value.

Parameters:

withButtons - the buttons value to set

setText

public void setText(String withText)

Set the text value.

Parameters:

withText - the text value to set

toAttachment

public Attachment toAttachment()

Creates an @{link Attachment} for this card.

Returns:

An Attachment object containing the card.

Applies to