public class VoicePrintUpdateRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
VoicePrintUpdateRequest() |
VoicePrintUpdateRequest(VoicePrintUpdateRequest 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 |
getData()
Get 音频数据, base64 编码, 音频时长不能超过30s,数据大小不超过2M
|
Long |
getSampleRate()
Get 音频采样率 目前仅支持16000 单位Hz
|
String |
getSpeakerNick()
Get 说话人昵称 不超过32字节
|
Long |
getVoiceFormat()
Get 音频格式 0: pcm, 1: wav
|
String |
getVoicePrintId()
Get 说话人id, 说话人唯一标识
|
void |
setData(String Data)
Set 音频数据, base64 编码, 音频时长不能超过30s,数据大小不超过2M
|
void |
setSampleRate(Long SampleRate)
Set 音频采样率 目前仅支持16000 单位Hz
|
void |
setSpeakerNick(String SpeakerNick)
Set 说话人昵称 不超过32字节
|
void |
setVoiceFormat(Long VoiceFormat)
Set 音频格式 0: pcm, 1: wav
|
void |
setVoicePrintId(String VoicePrintId)
Set 说话人id, 说话人唯一标识
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public VoicePrintUpdateRequest()
public VoicePrintUpdateRequest(VoicePrintUpdateRequest source)
public Long getVoiceFormat()
public void setVoiceFormat(Long VoiceFormat)
VoiceFormat
- 音频格式 0: pcm, 1: wavpublic Long getSampleRate()
public void setSampleRate(Long SampleRate)
SampleRate
- 音频采样率 目前仅支持16000 单位Hzpublic String getVoicePrintId()
public void setVoicePrintId(String VoicePrintId)
VoicePrintId
- 说话人id, 说话人唯一标识public String getData()
public void setData(String Data)
Data
- 音频数据, base64 编码, 音频时长不能超过30s,数据大小不超过2Mpublic String getSpeakerNick()
public void setSpeakerNick(String SpeakerNick)
SpeakerNick
- 说话人昵称 不超过32字节Copyright © 2024. All rights reserved.