TaskModuleResponse Class
- java.
lang. Object - com.
microsoft. bot. schema. teams. TaskModuleResponse
- com.
public class TaskModuleResponse
Envelope for Task Module Response.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| TaskModuleResponse() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Cache |
getCacheInfo()
Gets the Cache |
|
Task |
getTask()
Gets the response task. |
| void |
setCacheInfo(CacheInfo withCacheInfo)
Sets the Cache |
| void |
setTask(TaskModuleResponseBase withTask)
Sets the response task. |
Methods inherited from java.lang.Object
Constructor Details
TaskModuleResponse
public TaskModuleResponse()
Method Details
getCacheInfo
public CacheInfo getCacheInfo()
Gets the CacheInfo for this MessagingExtensionActionResponse.
Returns:
getTask
public TaskModuleResponseBase getTask()
Gets the response task.
Returns:
setCacheInfo
public void setCacheInfo(CacheInfo withCacheInfo)
Sets the CacheInfo for this MessagingExtensionActionResponse.
Parameters:
setTask
public void setTask(TaskModuleResponseBase withTask)
Sets the response task.
Parameters: