public class SendCodeVoiceRequest extends AbstractModel
Constructor and Description |
---|
SendCodeVoiceRequest() |
SendCodeVoiceRequest(SendCodeVoiceRequest 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 |
getCalledNumber()
Get 被叫手机号码,采用 e.164 标准,格式为+[国家或地区码][用户号码]。
例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
String |
getCodeMessage()
Get 验证码,仅支持填写数字,实际播报语音时,会自动在数字前补充语音文本"您的验证码是"。
|
Long |
getPlayTimes()
Get 播放次数,可选,最多3次,默认2次。
|
String |
getSessionContext()
Get 用户的 session 内容,腾讯 server 回包中会原样返回。
|
String |
getVoiceSdkAppid()
Get 在[语音控制台](https://console.cloud.tencent.com/vms)添加应用后生成的实际SdkAppid,示例如1400006666。
|
void |
setCalledNumber(String CalledNumber)
Set 被叫手机号码,采用 e.164 标准,格式为+[国家或地区码][用户号码]。
例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
void |
setCodeMessage(String CodeMessage)
Set 验证码,仅支持填写数字,实际播报语音时,会自动在数字前补充语音文本"您的验证码是"。
|
void |
setPlayTimes(Long PlayTimes)
Set 播放次数,可选,最多3次,默认2次。
|
void |
setSessionContext(String SessionContext)
Set 用户的 session 内容,腾讯 server 回包中会原样返回。
|
void |
setVoiceSdkAppid(String VoiceSdkAppid)
Set 在[语音控制台](https://console.cloud.tencent.com/vms)添加应用后生成的实际SdkAppid,示例如1400006666。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public SendCodeVoiceRequest()
public SendCodeVoiceRequest(SendCodeVoiceRequest source)
public String getCodeMessage()
public void setCodeMessage(String CodeMessage)
CodeMessage
- 验证码,仅支持填写数字,实际播报语音时,会自动在数字前补充语音文本"您的验证码是"。public String getCalledNumber()
public void setCalledNumber(String CalledNumber)
CalledNumber
- 被叫手机号码,采用 e.164 标准,格式为+[国家或地区码][用户号码]。
例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。public String getVoiceSdkAppid()
public void setVoiceSdkAppid(String VoiceSdkAppid)
VoiceSdkAppid
- 在[语音控制台](https://console.cloud.tencent.com/vms)添加应用后生成的实际SdkAppid,示例如1400006666。public Long getPlayTimes()
public void setPlayTimes(Long PlayTimes)
PlayTimes
- 播放次数,可选,最多3次,默认2次。public String getSessionContext()
public void setSessionContext(String SessionContext)
SessionContext
- 用户的 session 内容,腾讯 server 回包中会原样返回。Copyright © 2022. All rights reserved.