com.luna.baidu.dto.voice.VoiceWriteResultDTO Maven / Gradle / Ivy
package com.luna.baidu.dto.voice;
import java.util.List;
/**
* @author luna@mac
* @link https://cloud.baidu.com/doc/SPEECH/s/6k5dilahb
* 2021年05月11日 15:53
*/
public class VoiceWriteResultDTO {
private String taskStatus;
private TaskResult taskResult;
public String getTaskStatus() {
return taskStatus;
}
public VoiceWriteResultDTO setTaskStatus(String taskStatus) {
this.taskStatus = taskStatus;
return this;
}
public TaskResult getTaskResult() {
return taskResult;
}
public VoiceWriteResultDTO setTaskResult(TaskResult taskResult) {
this.taskResult = taskResult;
return this;
}
}
class TaskResult {
private List result;
private Integer audioDuration;
private List detailedResult;
public List getResult() {
return result;
}
public TaskResult setResult(List result) {
this.result = result;
return this;
}
public Integer getAudioDuration() {
return audioDuration;
}
public TaskResult setAudioDuration(Integer audioDuration) {
this.audioDuration = audioDuration;
return this;
}
public List getDetailedResult() {
return detailedResult;
}
public TaskResult setDetailedResult(List detailedResult) {
this.detailedResult = detailedResult;
return this;
}
}
class DetailedResult {
private List res;
private Integer endTime;
private Integer beginTime;
private String corpusNo;
private String sn;
private List wordsInfo;
public List getRes() {
return res;
}
public DetailedResult setRes(List res) {
this.res = res;
return this;
}
public Integer getEndTime() {
return endTime;
}
public DetailedResult setEndTime(Integer endTime) {
this.endTime = endTime;
return this;
}
public Integer getBeginTime() {
return beginTime;
}
public DetailedResult setBeginTime(Integer beginTime) {
this.beginTime = beginTime;
return this;
}
public String getCorpusNo() {
return corpusNo;
}
public DetailedResult setCorpusNo(String corpusNo) {
this.corpusNo = corpusNo;
return this;
}
public String getSn() {
return sn;
}
public DetailedResult setSn(String sn) {
this.sn = sn;
return this;
}
public List getWordsInfo() {
return wordsInfo;
}
public DetailedResult setWordsInfo(List wordsInfo) {
this.wordsInfo = wordsInfo;
return this;
}
}