SemanticAction Class

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

public class SemanticAction

Represents a reference to a programmatic action.

Constructor Summary

Constructor Description
SemanticAction()

Method Summary

Modifier and Type Method and Description
java.util.Map<java.lang.String,Entity> getEntities()

Gets entities associated with this action.

java.lang.String getId()

Gets ID of this action.

void setEntities(Map<String,Entity> withEntities)

Sets entities associated with this action.

void setId(String withId)

Sets ID of this action.

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

SemanticAction

public SemanticAction()

Method Details

getEntities

public Map getEntities()

Gets entities associated with this action.

Returns:

the activities value

getId

public String getId()

Gets ID of this action.

Returns:

The id.

setEntities

public void setEntities(Map withEntities)

Sets entities associated with this action.

Parameters:

withEntities - A List of Entity.

setId

public void setId(String withId)

Sets ID of this action.

Parameters:

withId - ID of this action

Applies to