SuggestedActions Class

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

public class SuggestedActions

SuggestedActions that can be performed.

Constructor Summary

Constructor Description
SuggestedActions()

Default empty SuggestedActions.

SuggestedActions(CardAction[] withCardActions)

SuggestedActions with CardActions.

Method Summary

Modifier and Type Method and Description
static SuggestedActions clone(SuggestedActions suggestedActions)

Performs a deep copy of a SuggestedActions.

java.util.List<CardAction> getActions()

Get the actions value.

java.util.List<java.lang.String> getTo()

Get the to value.

void setActions(List<CardAction> withActions)

Set the actions value.

void setTo(List<String> withTo)

Set the to value.

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

SuggestedActions

public SuggestedActions()

Default empty SuggestedActions.

SuggestedActions

public SuggestedActions(CardAction[] withCardActions)

SuggestedActions with CardActions.

Parameters:

withCardActions - The array of CardActions.

Method Details

clone

public static SuggestedActions clone(SuggestedActions suggestedActions)

Performs a deep copy of a SuggestedActions.

Parameters:

suggestedActions - The SuggestedActions to copy.

Returns:

A clone of the SuggestedActions.

getActions

public List getActions()

Get the actions value.

Returns:

the actions value

getTo

public List getTo()

Get the to value.

Returns:

the to value

setActions

public void setActions(List withActions)

Set the actions value.

Parameters:

withActions - the actions value to set

setTo

public void setTo(List withTo)

Set the to value.

Parameters:

withTo - the to value to set

Applies to