
com.aliyun.ice20201109.models.ListCustomizedVoicesResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ice20201109.models;
import com.aliyun.tea.*;
public class ListCustomizedVoicesResponseBody extends TeaModel {
/**
* The data returned.
*/
@NameInMap("Data")
public ListCustomizedVoicesResponseBodyData data;
/**
* The request ID.
*
* example:
* 11-DB8D-4A9A-875B-275798
*/
@NameInMap("RequestId")
public String requestId;
/**
* Indicates whether the request was successful. Valid values:
*
* - true
* - false
*
*
* example:
* true
*/
@NameInMap("Success")
public Boolean success;
public static ListCustomizedVoicesResponseBody build(java.util.Map map) throws Exception {
ListCustomizedVoicesResponseBody self = new ListCustomizedVoicesResponseBody();
return TeaModel.build(map, self);
}
public ListCustomizedVoicesResponseBody setData(ListCustomizedVoicesResponseBodyData data) {
this.data = data;
return this;
}
public ListCustomizedVoicesResponseBodyData getData() {
return this.data;
}
public ListCustomizedVoicesResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public ListCustomizedVoicesResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class ListCustomizedVoicesResponseBodyDataCustomizedVoiceList extends TeaModel {
/**
* The media asset ID of the sample audio file.
*
* example:
* 4d5e829d498aaf966b119348
*/
@NameInMap("DemoAudioMediaId")
public String demoAudioMediaId;
/**
* The gender. Valid values:
*
* - female
* - male
*
*
* example:
* male
*/
@NameInMap("Gender")
public String gender;
/**
* The scenario. Valid values:
*
* - story
* - interaction
* - navigation
*
*
* example:
* story
*/
@NameInMap("Scenario")
public String scenario;
/**
*
* The voice type. Valid values:
*
* - Basic
* - Standard
*
*
*
*
* example:
* Standard
*/
@NameInMap("Type")
public String type;
/**
* The voice description.
*/
@NameInMap("VoiceDesc")
public String voiceDesc;
/**
* The voice ID.
*
* example:
* xiaozhuan
*/
@NameInMap("VoiceId")
public String voiceId;
/**
* The voice name.
*/
@NameInMap("VoiceName")
public String voiceName;
public static ListCustomizedVoicesResponseBodyDataCustomizedVoiceList build(java.util.Map map) throws Exception {
ListCustomizedVoicesResponseBodyDataCustomizedVoiceList self = new ListCustomizedVoicesResponseBodyDataCustomizedVoiceList();
return TeaModel.build(map, self);
}
public ListCustomizedVoicesResponseBodyDataCustomizedVoiceList setDemoAudioMediaId(String demoAudioMediaId) {
this.demoAudioMediaId = demoAudioMediaId;
return this;
}
public String getDemoAudioMediaId() {
return this.demoAudioMediaId;
}
public ListCustomizedVoicesResponseBodyDataCustomizedVoiceList setGender(String gender) {
this.gender = gender;
return this;
}
public String getGender() {
return this.gender;
}
public ListCustomizedVoicesResponseBodyDataCustomizedVoiceList setScenario(String scenario) {
this.scenario = scenario;
return this;
}
public String getScenario() {
return this.scenario;
}
public ListCustomizedVoicesResponseBodyDataCustomizedVoiceList setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public ListCustomizedVoicesResponseBodyDataCustomizedVoiceList setVoiceDesc(String voiceDesc) {
this.voiceDesc = voiceDesc;
return this;
}
public String getVoiceDesc() {
return this.voiceDesc;
}
public ListCustomizedVoicesResponseBodyDataCustomizedVoiceList setVoiceId(String voiceId) {
this.voiceId = voiceId;
return this;
}
public String getVoiceId() {
return this.voiceId;
}
public ListCustomizedVoicesResponseBodyDataCustomizedVoiceList setVoiceName(String voiceName) {
this.voiceName = voiceName;
return this;
}
public String getVoiceName() {
return this.voiceName;
}
}
public static class ListCustomizedVoicesResponseBodyData extends TeaModel {
/**
* The queried personalized human voices.
*/
@NameInMap("CustomizedVoiceList")
public java.util.List customizedVoiceList;
/**
* The total number of entries returned.
*
* example:
* 41
*/
@NameInMap("TotalCount")
public Integer totalCount;
public static ListCustomizedVoicesResponseBodyData build(java.util.Map map) throws Exception {
ListCustomizedVoicesResponseBodyData self = new ListCustomizedVoicesResponseBodyData();
return TeaModel.build(map, self);
}
public ListCustomizedVoicesResponseBodyData setCustomizedVoiceList(java.util.List customizedVoiceList) {
this.customizedVoiceList = customizedVoiceList;
return this;
}
public java.util.List getCustomizedVoiceList() {
return this.customizedVoiceList;
}
public ListCustomizedVoicesResponseBodyData setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public Integer getTotalCount() {
return this.totalCount;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy