
com.aliyun.ice20201109.models.DetectAudioForCustomizedVoiceJobRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ice20201109.models;
import com.aliyun.tea.*;
public class DetectAudioForCustomizedVoiceJobRequest extends TeaModel {
/**
* The sequence number of the recording file.
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("AudioRecordId")
public Integer audioRecordId;
/**
* The URL of the recording file.
*
* : The URL must be an Object Storage Service (OSS) URL within your Alibaba Cloud account. The OSS bucket must be in the same region in which IMS is activated.
*
*
* : The audio file must be in the WAV or PCM format and must be a 16-bit mono audio file at 48000 Hz.
*
* This parameter is required.
*
* example:
* https://your-bucket.oss-cn-hangzhou.aliyuncs.com/record1.wav
*/
@NameInMap("RecordUrl")
public String recordUrl;
/**
* The voice ID.
* This parameter is required.
*
* example:
* xiaozhuan
*/
@NameInMap("VoiceId")
public String voiceId;
public static DetectAudioForCustomizedVoiceJobRequest build(java.util.Map map) throws Exception {
DetectAudioForCustomizedVoiceJobRequest self = new DetectAudioForCustomizedVoiceJobRequest();
return TeaModel.build(map, self);
}
public DetectAudioForCustomizedVoiceJobRequest setAudioRecordId(Integer audioRecordId) {
this.audioRecordId = audioRecordId;
return this;
}
public Integer getAudioRecordId() {
return this.audioRecordId;
}
public DetectAudioForCustomizedVoiceJobRequest setRecordUrl(String recordUrl) {
this.recordUrl = recordUrl;
return this;
}
public String getRecordUrl() {
return this.recordUrl;
}
public DetectAudioForCustomizedVoiceJobRequest setVoiceId(String voiceId) {
this.voiceId = voiceId;
return this;
}
public String getVoiceId() {
return this.voiceId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy