AdaptiveCardInvokeResponse Clase

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

public class AdaptiveCardInvokeResponse

Define la estructura que se devuelve como resultado de una actividad Invoke con el nombre "adaptiveCard/action".

Resumen del constructor

Constructor Description
AdaptiveCardInvokeResponse()

Resumen del método

Modificador y tipo Método y descripción
int getStatusCode()

Obtiene la respuesta acción de tarjeta obtenerEstadoCode().

java.lang.String getType()

Obtiene el tipo de este AdaptiveCardInvokeResponse .

java.lang.Object getValue()

Obtiene el objeto de respuesta json.

void setStatusCode(int withStatusCode)

Establece la respuesta acción de tarjeta obtenerEstadoCode().

void setType(String withType)

Establece el tipo de este AdaptiveCardInvokeResponse .

void setValue(Object withValue)

Establece el objeto de respuesta json.

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 constructor

AdaptiveCardInvokeResponse

public AdaptiveCardInvokeResponse()

Detalles del método

getStatusCode

public int getStatusCode()

Obtiene la respuesta de acción de tarjeta getStatusCode().

Devoluciones:

el valor statusCode como un valor int.

getType

public String getType()

Obtiene el tipo de este AdaptiveCardInvokeResponse .

Devoluciones:

el valor Type como string.

getValue

public Object getValue()

Obtiene el objeto de respuesta json.

Devoluciones:

el valor Value como un objeto .

setStatusCode

public void setStatusCode(int withStatusCode)

Establece la respuesta de acción de tarjeta getStatusCode().

Parámetros:

withStatusCode - El valor StatusCode.

setType

public void setType(String withType)

Establece el tipo de este AdaptiveCardInvokeResponse .

Parámetros:

withType - El valor Type.

setValue

public void setValue(Object withValue)

Establece el objeto de respuesta json.

Parámetros:

withValue - Valor.

Se aplica a