public class VoicePrintGroupVerifyRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| VoicePrintGroupVerifyRequest() | 
| VoicePrintGroupVerifyRequest(VoicePrintGroupVerifyRequest 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 | 
| String | getGroupId()Get 分组id, 支持数字,字母,下划线,长度不超过128 | 
| Long | getSampleRate()Get 音频采样率,目前支持16000,单位:Hz,必填 | 
| Long | getTopN()Get 返回打分结果降序排列topN, TopN大于0, 小于可创建声纹最大数量 | 
| Long | getVoiceFormat()Get 音频格式 0: pcm, 1: wav | 
| void | setData(String Data)Set 音频数据, base64 编码, 音频时长不能超过30s,数据大小不超过2M | 
| void | setGroupId(String GroupId)Set 分组id, 支持数字,字母,下划线,长度不超过128 | 
| void | setSampleRate(Long SampleRate)Set 音频采样率,目前支持16000,单位:Hz,必填 | 
| void | setTopN(Long TopN)Set 返回打分结果降序排列topN, TopN大于0, 小于可创建声纹最大数量 | 
| void | setVoiceFormat(Long VoiceFormat)Set 音频格式 0: pcm, 1: wav | 
| 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, toJsonStringpublic VoicePrintGroupVerifyRequest()
public VoicePrintGroupVerifyRequest(VoicePrintGroupVerifyRequest source)
public Long getVoiceFormat()
public void setVoiceFormat(Long VoiceFormat)
VoiceFormat - 音频格式 0: pcm, 1: wavpublic Long getSampleRate()
public void setSampleRate(Long SampleRate)
SampleRate - 音频采样率,目前支持16000,单位:Hz,必填public String getData()
public void setData(String Data)
Data - 音频数据, base64 编码, 音频时长不能超过30s,数据大小不超过2Mpublic String getGroupId()
public void setGroupId(String GroupId)
GroupId - 分组id, 支持数字,字母,下划线,长度不超过128public Long getTopN()
public void setTopN(Long TopN)
TopN - 返回打分结果降序排列topN, TopN大于0, 小于可创建声纹最大数量Copyright © 2025. All rights reserved.