public class ControlAIConversationRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ControlAIConversationRequest() |
ControlAIConversationRequest(ControlAIConversationRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getCommand()
Get Control commands, currently supported commands are as follows:
- ServerPushText, the server sends text to the AI robot, and the AI robot will play the text
|
ServerPushText |
getServerPushText()
Get The server sends a text broadcast command.
|
String |
getTaskId()
Get Unique ID of the task
|
void |
setCommand(String Command)
Set Control commands, currently supported commands are as follows:
- ServerPushText, the server sends text to the AI robot, and the AI robot will play the text
|
void |
setServerPushText(ServerPushText ServerPushText)
Set The server sends a text broadcast command.
|
void |
setTaskId(String TaskId)
Set Unique ID of the task
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ControlAIConversationRequest()
public ControlAIConversationRequest(ControlAIConversationRequest source)
public String getTaskId()
public void setTaskId(String TaskId)
TaskId
- Unique ID of the taskpublic String getCommand()
public void setCommand(String Command)
Command
- Control commands, currently supported commands are as follows:
- ServerPushText, the server sends text to the AI robot, and the AI robot will play the textpublic ServerPushText getServerPushText()
public void setServerPushText(ServerPushText ServerPushText)
ServerPushText
- The server sends a text broadcast command. This is required when Command is ServerPushText.Copyright © 2025. All rights reserved.