SigninCard Clase

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

public class SigninCard

Tarjeta que representa una solicitud para iniciar sesión.

Resumen del campo

Modificador y tipo Campo y descripción
static final java.lang.String CONTENTTYPE

Resumen del constructor

Constructor Description
SigninCard()

Resumen del método

Modificador y tipo Método y descripción
java.util.List<CardAction> getButtons()

Obtenga el valor de los botones.

java.lang.String getText()

Obtenga el valor de texto.

void setButtons(CardAction[] withButtons)

Establezca el valor de los botones.

void setButtons(List<CardAction> withButtons)

Establezca el valor de los botones.

void setText(String withText)

Establezca el valor de texto.

Attachment toAttachment()

Crea un archivo @{link Attachment} para esta tarjeta.

Métodos heredados de 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

Detalles del campo

CONTENTTYPE

public static final String CONTENTTYPE

Detalles del constructor

SigninCard

public SigninCard()

Detalles del método

getButtons

public List getButtons()

Obtenga el valor de los botones.

Devoluciones:

el valor de los botones

getText

public String getText()

Obtenga el valor de texto.

Devoluciones:

el valor de texto

setButtons

public void setButtons(CardAction[] withButtons)

Establezca el valor de los botones.

Parámetros:

withButtons - el valor de botones que se va a establecer

setButtons

public void setButtons(List withButtons)

Establezca el valor de los botones.

Parámetros:

withButtons - el valor de botones que se va a establecer

setText

public void setText(String withText)

Establezca el valor de texto.

Parámetros:

withText - el valor de texto que se va a establecer

toAttachment

public Attachment toAttachment()

Crea un archivo @{link Attachment} para esta tarjeta.

Devoluciones:

Objeto Attachment que contiene la tarjeta.

Se aplica a