TaskModuleResponse Class

  • java.lang.Object
    • com.microsoft.bot.schema.teams.TaskModuleResponse

public class TaskModuleResponse

Envelope for Task Module Response.

Constructor Summary

Constructor Description
TaskModuleResponse()

Method Summary

Modifier and Type Method and Description
CacheInfo getCacheInfo()

Gets the CacheInfo for this MessagingExtensionActionResponse.

TaskModuleResponseBase getTask()

Gets the response task.

void setCacheInfo(CacheInfo withCacheInfo)

Sets the CacheInfo for this MessagingExtensionActionResponse.

void setTask(TaskModuleResponseBase withTask)

Sets the response task.

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

TaskModuleResponse

public TaskModuleResponse()

Method Details

getCacheInfo

public CacheInfo getCacheInfo()

Gets the CacheInfo for this MessagingExtensionActionResponse.

Returns:

CacheInfo

getTask

public TaskModuleResponseBase getTask()

Gets the response task.

Returns:

The response task.

setCacheInfo

public void setCacheInfo(CacheInfo withCacheInfo)

Sets the CacheInfo for this MessagingExtensionActionResponse.

Parameters:

withCacheInfo - CacheInfo

setTask

public void setTask(TaskModuleResponseBase withTask)

Sets the response task.

Parameters:

withTask - The response task.

Applies to