AdaptiveCardInvokeValue Class

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

public class AdaptiveCardInvokeValue

Defines the structure that arrives in the Activity.Value for Invoke activity with Name of 'adaptiveCard/action'.

Constructor Summary

Constructor Description
AdaptiveCardInvokeValue()

Method Summary

Modifier and Type Method and Description
AdaptiveCardInvokeAction getAction()

Gets the action of this adaptive card action invoke value.

AdaptiveCardAuthentication getAuthentication()

Gets the AdaptiveCardAuthentication for this adaptive card invoke action value.

java.lang.String getState()

Gets the 'state' or magic code for an OAuth flow.

void setAction(AdaptiveCardInvokeAction withAction)

Sets the action of this adaptive card action invoke value.

void setAuthentication(AdaptiveCardAuthentication withAuthentication)

Sets the AdaptiveCardAuthentication for this adaptive card invoke action value.

void setState(String withState)

Sets the 'state' or magic code for an OAuth flow.

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

AdaptiveCardInvokeValue

public AdaptiveCardInvokeValue()

Method Details

getAction

public AdaptiveCardInvokeAction getAction()

Gets the action of this adaptive card action invoke value.

Returns:

the Action value as a AdaptiveCardInvokeAction.

getAuthentication

public AdaptiveCardAuthentication getAuthentication()

Gets the AdaptiveCardAuthentication for this adaptive card invoke action value.

Returns:

the Authentication value as a AdaptiveCardAuthentication.

getState

public String getState()

Gets the 'state' or magic code for an OAuth flow.

Returns:

the State value as a String.

setAction

public void setAction(AdaptiveCardInvokeAction withAction)

Sets the action of this adaptive card action invoke value.

Parameters:

withAction - The Action value.

setAuthentication

public void setAuthentication(AdaptiveCardAuthentication withAuthentication)

Sets the AdaptiveCardAuthentication for this adaptive card invoke action value.

Parameters:

withAuthentication - The Authentication value.

setState

public void setState(String withState)

Sets the 'state' or magic code for an OAuth flow.

Parameters:

withState - The State value.

Applies to