SigninCard Classe

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

public class SigninCard

Scheda che rappresenta una richiesta di accesso.

Riepilogo dei campi

Modificatore e tipo Campo e descrizione
static final java.lang.String CONTENTTYPE

Riepilogo dei costruttori

Costruttore Descrizione
SigninCard()

Riepilogo dei metodi

Modificatore e tipo Metodo e descrizione
java.util.List<CardAction> getButtons()

Ottenere il valore dei pulsanti.

java.lang.String getText()

Ottenere il valore di testo.

void setButtons(CardAction[] withButtons)

Impostare il valore dei pulsanti.

void setButtons(List<CardAction> withButtons)

Impostare il valore dei pulsanti.

void setText(String withText)

Impostare il valore di testo.

Attachment toAttachment()

Crea un oggetto @{link Attachment} per questa scheda.

Metodi ereditati da 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

Dettagli del campo

CONTENTTYPE

public static final String CONTENTTYPE

Dettagli costruttore

SigninCard

public SigninCard()

Dettagli metodo

getButtons

public List getButtons()

Ottenere il valore dei pulsanti.

Restituisce:

valore dei pulsanti

getText

public String getText()

Ottenere il valore di testo.

Restituisce:

valore di testo

setButtons

public void setButtons(CardAction[] withButtons)

Impostare il valore dei pulsanti.

Parametri:

withButtons - valore dei pulsanti da impostare

setButtons

public void setButtons(List withButtons)

Impostare il valore dei pulsanti.

Parametri:

withButtons - valore dei pulsanti da impostare

setText

public void setText(String withText)

Impostare il valore di testo.

Parametri:

withText - valore di testo da impostare

toAttachment

public Attachment toAttachment()

Crea un oggetto @{link Attachment} per questa scheda.

Restituisce:

Oggetto Attachment contenente la scheda.

Si applica a