Class SendCodeVoiceRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.vms.v20200902.models.SendCodeVoiceRequest
-
public class SendCodeVoiceRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
SendCodeVoiceRequest
public SendCodeVoiceRequest()
-
SendCodeVoiceRequest
public 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.
-
-
Method Detail
-
getCodeMessage
public String getCodeMessage()
Get 验证码,仅支持填写数字,实际播报语音时,会自动在数字前补充语音文本"您的验证码是"。- Returns:
- CodeMessage 验证码,仅支持填写数字,实际播报语音时,会自动在数字前补充语音文本"您的验证码是"。
-
setCodeMessage
public void setCodeMessage(String CodeMessage)
Set 验证码,仅支持填写数字,实际播报语音时,会自动在数字前补充语音文本"您的验证码是"。- Parameters:
CodeMessage
- 验证码,仅支持填写数字,实际播报语音时,会自动在数字前补充语音文本"您的验证码是"。
-
getCalledNumber
public String getCalledNumber()
Get 被叫手机号码,采用 e.164 标准,格式为+[国家或地区码][用户号码]。 例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。- Returns:
- CalledNumber 被叫手机号码,采用 e.164 标准,格式为+[国家或地区码][用户号码]。 例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
-
setCalledNumber
public void setCalledNumber(String CalledNumber)
Set 被叫手机号码,采用 e.164 标准,格式为+[国家或地区码][用户号码]。 例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。- Parameters:
CalledNumber
- 被叫手机号码,采用 e.164 标准,格式为+[国家或地区码][用户号码]。 例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
-
getVoiceSdkAppid
public String getVoiceSdkAppid()
Get 在[语音控制台](https://console.cloud.tencent.com/vms)添加应用后生成的实际SdkAppid,示例如1400006666。- Returns:
- VoiceSdkAppid 在[语音控制台](https://console.cloud.tencent.com/vms)添加应用后生成的实际SdkAppid,示例如1400006666。
-
setVoiceSdkAppid
public void setVoiceSdkAppid(String VoiceSdkAppid)
Set 在[语音控制台](https://console.cloud.tencent.com/vms)添加应用后生成的实际SdkAppid,示例如1400006666。- Parameters:
VoiceSdkAppid
- 在[语音控制台](https://console.cloud.tencent.com/vms)添加应用后生成的实际SdkAppid,示例如1400006666。
-
getPlayTimes
public Long getPlayTimes()
Get 播放次数,可选,最多3次,默认2次。- Returns:
- PlayTimes 播放次数,可选,最多3次,默认2次。
-
setPlayTimes
public void setPlayTimes(Long PlayTimes)
Set 播放次数,可选,最多3次,默认2次。- Parameters:
PlayTimes
- 播放次数,可选,最多3次,默认2次。
-
getSessionContext
public String getSessionContext()
Get 用户的 session 内容,腾讯 server 回包中会原样返回。- Returns:
- SessionContext 用户的 session 内容,腾讯 server 回包中会原样返回。
-
setSessionContext
public void setSessionContext(String SessionContext)
Set 用户的 session 内容,腾讯 server 回包中会原样返回。- Parameters:
SessionContext
- 用户的 session 内容,腾讯 server 回包中会原样返回。
-
-