public static class IvrCallRequest.IvrCallRequestMenuKeyMap
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
code
The voice that corresponds to the key specified by the MenuKeyMap.N.Key parameter.
|
String |
key
The key that can be pressed by the subscriber.
|
String |
ttsParams
The variables in the TTS template, in the JSON format.
|
| 构造器和说明 |
|---|
IvrCallRequestMenuKeyMap() |
| 限定符和类型 | 方法和说明 |
|---|---|
static IvrCallRequest.IvrCallRequestMenuKeyMap |
build(Map<String,?> map) |
String |
getCode() |
String |
getKey() |
String |
getTtsParams() |
IvrCallRequest.IvrCallRequestMenuKeyMap |
setCode(String code) |
IvrCallRequest.IvrCallRequestMenuKeyMap |
setKey(String key) |
IvrCallRequest.IvrCallRequestMenuKeyMap |
setTtsParams(String ttsParams) |
@NameInMap(value="Code") public String code
The voice that corresponds to the key specified by the MenuKeyMap.N.Key parameter.
TTS_1235****
@NameInMap(value="Key") public String key
The key that can be pressed by the subscriber.
example:1
@NameInMap(value="TtsParams") public String ttsParams
The variables in the TTS template, in the JSON format.
This parameter specifies the substitution relationship of the variables in the TTS template if the value of the MenuKeyMap.N.Code parameter is set to the ID of the TTS template.
This parameter is required if the value of the MenuKeyMap.N.Code parameter is set to the ID of a TTS template that contains variables.
{"name":"xxx","code":"123"}
public static IvrCallRequest.IvrCallRequestMenuKeyMap build(Map<String,?> map) throws Exception
Exceptionpublic IvrCallRequest.IvrCallRequestMenuKeyMap setCode(String code)
public String getCode()
public IvrCallRequest.IvrCallRequestMenuKeyMap setKey(String key)
public String getKey()
public IvrCallRequest.IvrCallRequestMenuKeyMap setTtsParams(String ttsParams)
public String getTtsParams()
Copyright © 2025. All rights reserved.