Share via


AdaptiveCardInvokeResponse Class

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

public class AdaptiveCardInvokeResponse

Defines the structure that is returned as the result of an Invoke activity with Name of 'adaptiveCard/action'.

Constructor Summary

Constructor Description
AdaptiveCardInvokeResponse()

Method Summary

Modifier and Type Method and Description
int getStatusCode()

Gets the Card Action response getStatusCode().

java.lang.String getType()

Gets the Type of this AdaptiveCardInvokeResponse .

java.lang.Object getValue()

Gets the json response Object.

void setStatusCode(int withStatusCode)

Sets the Card Action response getStatusCode().

void setType(String withType)

Sets the Type of this AdaptiveCardInvokeResponse .

void setValue(Object withValue)

Sets the json response Object.

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

Constructor Details

AdaptiveCardInvokeResponse

public AdaptiveCardInvokeResponse()

Method Details

getStatusCode

public int getStatusCode()

Gets the Card Action response getStatusCode().

Returns:

the StatusCode value as a int.

getType

public String getType()

Gets the Type of this AdaptiveCardInvokeResponse .

Returns:

the Type value as a String.

getValue

public Object getValue()

Gets the json response Object.

Returns:

the Value value as a Object.

setStatusCode

public void setStatusCode(int withStatusCode)

Sets the Card Action response getStatusCode().

Parameters:

withStatusCode - The StatusCode value.

setType

public void setType(String withType)

Sets the Type of this AdaptiveCardInvokeResponse .

Parameters:

withType - The Type value.

setValue

public void setValue(Object withValue)

Sets the json response Object.

Parameters:

withValue - The Value value.

Applies to