AdaptiveCardInvokeAction Class

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

public class AdaptiveCardInvokeAction

Defines the structure that arrives in the Activity.getValue().Action for Invoke activity with Name of 'adaptiveCard/action'.

Constructor Summary

Constructor Description
AdaptiveCardInvokeAction()

Method Summary

Modifier and Type Method and Description
java.lang.Object getData()

Gets the Data of this adaptive card action invoke.

java.lang.String getId()

Gets the Id of this adaptive card action invoke.

java.lang.String getType()

Gets the Type of this adaptive card action invoke.

java.lang.String getVerb()

Gets the Verb of this adaptive card action invoke.

void setData(Object withData)

Sets the Data of this adaptive card action invoke.

void setId(String withId)

Sets the Id of this adaptive card action invoke.

void setType(String withType)

Sets the Type of this adaptive card action invoke.

void setVerb(String withVerb)

Sets the Verb of this adaptive card action invoke.

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

AdaptiveCardInvokeAction

public AdaptiveCardInvokeAction()

Method Details

getData

public Object getData()

Gets the Data of this adaptive card action invoke.

Returns:

the Data value as a Object.

getId

public String getId()

Gets the Id of this adaptive card action invoke.

Returns:

the Id value as a String.

getType

public String getType()

Gets the Type of this adaptive card action invoke.

Returns:

the Type value as a String.

getVerb

public String getVerb()

Gets the Verb of this adaptive card action invoke.

Returns:

the Verb value as a String.

setData

public void setData(Object withData)

Sets the Data of this adaptive card action invoke.

Parameters:

withData - The Data value.

setId

public void setId(String withId)

Sets the Id of this adaptive card action invoke.

Parameters:

withId - The Id value.

setType

public void setType(String withType)

Sets the Type of this adaptive card action invoke.

Parameters:

withType - The Type value.

setVerb

public void setVerb(String withVerb)

Sets the Verb of this adaptive card action invoke.

Parameters:

withVerb - The Verb value.

Applies to