
com.aliyun.sdk.service.qualitycheck20190115.models.GetSyncResultResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.qualitycheck20190115.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetSyncResultResponseBody} extends {@link TeaModel}
*
* GetSyncResultResponseBody
*/
public class GetSyncResultResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("Count")
private Integer count;
@NameInMap("Data")
private java.util.List < Data> data;
@NameInMap("Message")
private String message;
@NameInMap("PageNumber")
private Integer pageNumber;
@NameInMap("PageSize")
private Integer pageSize;
@NameInMap("RequestId")
private String requestId;
@NameInMap("ResultCountId")
private String resultCountId;
@NameInMap("Success")
private Boolean success;
private GetSyncResultResponseBody(Builder builder) {
this.code = builder.code;
this.count = builder.count;
this.data = builder.data;
this.message = builder.message;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.resultCountId = builder.resultCountId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static GetSyncResultResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return count
*/
public Integer getCount() {
return this.count;
}
/**
* @return data
*/
public java.util.List < Data> getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return resultCountId
*/
public String getResultCountId() {
return this.resultCountId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private String code;
private Integer count;
private java.util.List < Data> data;
private String message;
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private String resultCountId;
private Boolean success;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* Count.
*/
public Builder count(Integer count) {
this.count = count;
return this;
}
/**
* Data.
*/
public Builder data(java.util.List < Data> data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* ResultCountId.
*/
public Builder resultCountId(String resultCountId) {
this.resultCountId = resultCountId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public GetSyncResultResponseBody build() {
return new GetSyncResultResponseBody(this);
}
}
public static class Agent extends TeaModel {
@NameInMap("Id")
private String id;
@NameInMap("Name")
private String name;
@NameInMap("SkillGroup")
private String skillGroup;
private Agent(Builder builder) {
this.id = builder.id;
this.name = builder.name;
this.skillGroup = builder.skillGroup;
}
public static Builder builder() {
return new Builder();
}
public static Agent create() {
return builder().build();
}
/**
* @return id
*/
public String getId() {
return this.id;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return skillGroup
*/
public String getSkillGroup() {
return this.skillGroup;
}
public static final class Builder {
private String id;
private String name;
private String skillGroup;
/**
* Id.
*/
public Builder id(String id) {
this.id = id;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* SkillGroup.
*/
public Builder skillGroup(String skillGroup) {
this.skillGroup = skillGroup;
return this;
}
public Agent build() {
return new Agent(this);
}
}
}
public static class AsrResult extends TeaModel {
@NameInMap("Begin")
private Long begin;
@NameInMap("EmotionValue")
private Integer emotionValue;
@NameInMap("End")
private Long end;
@NameInMap("Role")
private String role;
@NameInMap("SilenceDuration")
private Integer silenceDuration;
@NameInMap("SpeechRate")
private Integer speechRate;
@NameInMap("Words")
private String words;
private AsrResult(Builder builder) {
this.begin = builder.begin;
this.emotionValue = builder.emotionValue;
this.end = builder.end;
this.role = builder.role;
this.silenceDuration = builder.silenceDuration;
this.speechRate = builder.speechRate;
this.words = builder.words;
}
public static Builder builder() {
return new Builder();
}
public static AsrResult create() {
return builder().build();
}
/**
* @return begin
*/
public Long getBegin() {
return this.begin;
}
/**
* @return emotionValue
*/
public Integer getEmotionValue() {
return this.emotionValue;
}
/**
* @return end
*/
public Long getEnd() {
return this.end;
}
/**
* @return role
*/
public String getRole() {
return this.role;
}
/**
* @return silenceDuration
*/
public Integer getSilenceDuration() {
return this.silenceDuration;
}
/**
* @return speechRate
*/
public Integer getSpeechRate() {
return this.speechRate;
}
/**
* @return words
*/
public String getWords() {
return this.words;
}
public static final class Builder {
private Long begin;
private Integer emotionValue;
private Long end;
private String role;
private Integer silenceDuration;
private Integer speechRate;
private String words;
/**
* Begin.
*/
public Builder begin(Long begin) {
this.begin = begin;
return this;
}
/**
* EmotionValue.
*/
public Builder emotionValue(Integer emotionValue) {
this.emotionValue = emotionValue;
return this;
}
/**
* End.
*/
public Builder end(Long end) {
this.end = end;
return this;
}
/**
* Role.
*/
public Builder role(String role) {
this.role = role;
return this;
}
/**
* SilenceDuration.
*/
public Builder silenceDuration(Integer silenceDuration) {
this.silenceDuration = silenceDuration;
return this;
}
/**
* SpeechRate.
*/
public Builder speechRate(Integer speechRate) {
this.speechRate = speechRate;
return this;
}
/**
* Words.
*/
public Builder words(String words) {
this.words = words;
return this;
}
public AsrResult build() {
return new AsrResult(this);
}
}
}
public static class KeyWords extends TeaModel {
@NameInMap("Cid")
private String cid;
@NameInMap("From")
private Integer from;
@NameInMap("To")
private Integer to;
@NameInMap("Val")
private String val;
private KeyWords(Builder builder) {
this.cid = builder.cid;
this.from = builder.from;
this.to = builder.to;
this.val = builder.val;
}
public static Builder builder() {
return new Builder();
}
public static KeyWords create() {
return builder().build();
}
/**
* @return cid
*/
public String getCid() {
return this.cid;
}
/**
* @return from
*/
public Integer getFrom() {
return this.from;
}
/**
* @return to
*/
public Integer getTo() {
return this.to;
}
/**
* @return val
*/
public String getVal() {
return this.val;
}
public static final class Builder {
private String cid;
private Integer from;
private Integer to;
private String val;
/**
* Cid.
*/
public Builder cid(String cid) {
this.cid = cid;
return this;
}
/**
* From.
*/
public Builder from(Integer from) {
this.from = from;
return this;
}
/**
* To.
*/
public Builder to(Integer to) {
this.to = to;
return this;
}
/**
* Val.
*/
public Builder val(String val) {
this.val = val;
return this;
}
public KeyWords build() {
return new KeyWords(this);
}
}
}
public static class Phrase extends TeaModel {
@NameInMap("Begin")
private Long begin;
@NameInMap("EmotionValue")
private Integer emotionValue;
@NameInMap("End")
private Integer end;
@NameInMap("Role")
private String role;
@NameInMap("SilenceDuration")
private Integer silenceDuration;
@NameInMap("SpeechRate")
private Integer speechRate;
@NameInMap("Words")
private String words;
private Phrase(Builder builder) {
this.begin = builder.begin;
this.emotionValue = builder.emotionValue;
this.end = builder.end;
this.role = builder.role;
this.silenceDuration = builder.silenceDuration;
this.speechRate = builder.speechRate;
this.words = builder.words;
}
public static Builder builder() {
return new Builder();
}
public static Phrase create() {
return builder().build();
}
/**
* @return begin
*/
public Long getBegin() {
return this.begin;
}
/**
* @return emotionValue
*/
public Integer getEmotionValue() {
return this.emotionValue;
}
/**
* @return end
*/
public Integer getEnd() {
return this.end;
}
/**
* @return role
*/
public String getRole() {
return this.role;
}
/**
* @return silenceDuration
*/
public Integer getSilenceDuration() {
return this.silenceDuration;
}
/**
* @return speechRate
*/
public Integer getSpeechRate() {
return this.speechRate;
}
/**
* @return words
*/
public String getWords() {
return this.words;
}
public static final class Builder {
private Long begin;
private Integer emotionValue;
private Integer end;
private String role;
private Integer silenceDuration;
private Integer speechRate;
private String words;
/**
* Begin.
*/
public Builder begin(Long begin) {
this.begin = begin;
return this;
}
/**
* EmotionValue.
*/
public Builder emotionValue(Integer emotionValue) {
this.emotionValue = emotionValue;
return this;
}
/**
* End.
*/
public Builder end(Integer end) {
this.end = end;
return this;
}
/**
* Role.
*/
public Builder role(String role) {
this.role = role;
return this;
}
/**
* SilenceDuration.
*/
public Builder silenceDuration(Integer silenceDuration) {
this.silenceDuration = silenceDuration;
return this;
}
/**
* SpeechRate.
*/
public Builder speechRate(Integer speechRate) {
this.speechRate = speechRate;
return this;
}
/**
* Words.
*/
public Builder words(String words) {
this.words = words;
return this;
}
public Phrase build() {
return new Phrase(this);
}
}
}
public static class Hits extends TeaModel {
@NameInMap("Cid")
private java.util.List < String > cid;
@NameInMap("KeyWords")
private java.util.List < KeyWords> keyWords;
@NameInMap("Phrase")
private Phrase phrase;
private Hits(Builder builder) {
this.cid = builder.cid;
this.keyWords = builder.keyWords;
this.phrase = builder.phrase;
}
public static Builder builder() {
return new Builder();
}
public static Hits create() {
return builder().build();
}
/**
* @return cid
*/
public java.util.List < String > getCid() {
return this.cid;
}
/**
* @return keyWords
*/
public java.util.List < KeyWords> getKeyWords() {
return this.keyWords;
}
/**
* @return phrase
*/
public Phrase getPhrase() {
return this.phrase;
}
public static final class Builder {
private java.util.List < String > cid;
private java.util.List < KeyWords> keyWords;
private Phrase phrase;
/**
* Cid.
*/
public Builder cid(java.util.List < String > cid) {
this.cid = cid;
return this;
}
/**
* KeyWords.
*/
public Builder keyWords(java.util.List < KeyWords> keyWords) {
this.keyWords = keyWords;
return this;
}
/**
* Phrase.
*/
public Builder phrase(Phrase phrase) {
this.phrase = phrase;
return this;
}
public Hits build() {
return new Hits(this);
}
}
}
public static class HitResult extends TeaModel {
@NameInMap("Hits")
private java.util.List < Hits> hits;
@NameInMap("Name")
private String name;
@NameInMap("ReviewResult")
private Integer reviewResult;
@NameInMap("Rid")
private String rid;
@NameInMap("Type")
private String type;
private HitResult(Builder builder) {
this.hits = builder.hits;
this.name = builder.name;
this.reviewResult = builder.reviewResult;
this.rid = builder.rid;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static HitResult create() {
return builder().build();
}
/**
* @return hits
*/
public java.util.List < Hits> getHits() {
return this.hits;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return reviewResult
*/
public Integer getReviewResult() {
return this.reviewResult;
}
/**
* @return rid
*/
public String getRid() {
return this.rid;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private java.util.List < Hits> hits;
private String name;
private Integer reviewResult;
private String rid;
private String type;
/**
* Hits.
*/
public Builder hits(java.util.List < Hits> hits) {
this.hits = hits;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* ReviewResult.
*/
public Builder reviewResult(Integer reviewResult) {
this.reviewResult = reviewResult;
return this;
}
/**
* Rid.
*/
public Builder rid(String rid) {
this.rid = rid;
return this;
}
/**
* Type.
*/
public Builder type(String type) {
this.type = type;
return this;
}
public HitResult build() {
return new HitResult(this);
}
}
}
public static class Recording extends TeaModel {
@NameInMap("Business")
private String business;
@NameInMap("CallId")
private String callId;
@NameInMap("CallTime")
private String callTime;
@NameInMap("CallType")
private Integer callType;
@NameInMap("Callee")
private String callee;
@NameInMap("Caller")
private String caller;
@NameInMap("DataSetName")
private String dataSetName;
@NameInMap("Duration")
private Long duration;
@NameInMap("DurationAudio")
private Long durationAudio;
@NameInMap("Id")
private String id;
@NameInMap("Name")
private String name;
@NameInMap("PrimaryId")
private String primaryId;
@NameInMap("Remark1")
private String remark1;
@NameInMap("Remark2")
private String remark2;
@NameInMap("Remark3")
private String remark3;
@NameInMap("Url")
private String url;
private Recording(Builder builder) {
this.business = builder.business;
this.callId = builder.callId;
this.callTime = builder.callTime;
this.callType = builder.callType;
this.callee = builder.callee;
this.caller = builder.caller;
this.dataSetName = builder.dataSetName;
this.duration = builder.duration;
this.durationAudio = builder.durationAudio;
this.id = builder.id;
this.name = builder.name;
this.primaryId = builder.primaryId;
this.remark1 = builder.remark1;
this.remark2 = builder.remark2;
this.remark3 = builder.remark3;
this.url = builder.url;
}
public static Builder builder() {
return new Builder();
}
public static Recording create() {
return builder().build();
}
/**
* @return business
*/
public String getBusiness() {
return this.business;
}
/**
* @return callId
*/
public String getCallId() {
return this.callId;
}
/**
* @return callTime
*/
public String getCallTime() {
return this.callTime;
}
/**
* @return callType
*/
public Integer getCallType() {
return this.callType;
}
/**
* @return callee
*/
public String getCallee() {
return this.callee;
}
/**
* @return caller
*/
public String getCaller() {
return this.caller;
}
/**
* @return dataSetName
*/
public String getDataSetName() {
return this.dataSetName;
}
/**
* @return duration
*/
public Long getDuration() {
return this.duration;
}
/**
* @return durationAudio
*/
public Long getDurationAudio() {
return this.durationAudio;
}
/**
* @return id
*/
public String getId() {
return this.id;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return primaryId
*/
public String getPrimaryId() {
return this.primaryId;
}
/**
* @return remark1
*/
public String getRemark1() {
return this.remark1;
}
/**
* @return remark2
*/
public String getRemark2() {
return this.remark2;
}
/**
* @return remark3
*/
public String getRemark3() {
return this.remark3;
}
/**
* @return url
*/
public String getUrl() {
return this.url;
}
public static final class Builder {
private String business;
private String callId;
private String callTime;
private Integer callType;
private String callee;
private String caller;
private String dataSetName;
private Long duration;
private Long durationAudio;
private String id;
private String name;
private String primaryId;
private String remark1;
private String remark2;
private String remark3;
private String url;
/**
* Business.
*/
public Builder business(String business) {
this.business = business;
return this;
}
/**
* CallId.
*/
public Builder callId(String callId) {
this.callId = callId;
return this;
}
/**
* CallTime.
*/
public Builder callTime(String callTime) {
this.callTime = callTime;
return this;
}
/**
* CallType.
*/
public Builder callType(Integer callType) {
this.callType = callType;
return this;
}
/**
* Callee.
*/
public Builder callee(String callee) {
this.callee = callee;
return this;
}
/**
* Caller.
*/
public Builder caller(String caller) {
this.caller = caller;
return this;
}
/**
* DataSetName.
*/
public Builder dataSetName(String dataSetName) {
this.dataSetName = dataSetName;
return this;
}
/**
* Duration.
*/
public Builder duration(Long duration) {
this.duration = duration;
return this;
}
/**
* DurationAudio.
*/
public Builder durationAudio(Long durationAudio) {
this.durationAudio = durationAudio;
return this;
}
/**
* Id.
*/
public Builder id(String id) {
this.id = id;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* PrimaryId.
*/
public Builder primaryId(String primaryId) {
this.primaryId = primaryId;
return this;
}
/**
* Remark1.
*/
public Builder remark1(String remark1) {
this.remark1 = remark1;
return this;
}
/**
* Remark2.
*/
public Builder remark2(String remark2) {
this.remark2 = remark2;
return this;
}
/**
* Remark3.
*/
public Builder remark3(String remark3) {
this.remark3 = remark3;
return this;
}
/**
* Url.
*/
public Builder url(String url) {
this.url = url;
return this;
}
public Recording build() {
return new Recording(this);
}
}
}
public static class Data extends TeaModel {
@NameInMap("Agent")
private Agent agent;
@NameInMap("AsrResult")
private java.util.List < AsrResult> asrResult;
@NameInMap("Comments")
private String comments;
@NameInMap("CreateTime")
private String createTime;
@NameInMap("ErrorMessage")
private String errorMessage;
@NameInMap("HitResult")
private java.util.List < HitResult> hitResult;
@NameInMap("Recording")
private Recording recording;
@NameInMap("Resolver")
private String resolver;
@NameInMap("ReviewResult")
private Integer reviewResult;
@NameInMap("ReviewStatus")
private Integer reviewStatus;
@NameInMap("Reviewer")
private String reviewer;
@NameInMap("Score")
private Integer score;
@NameInMap("Status")
private Integer status;
@NameInMap("TaskId")
private String taskId;
@NameInMap("TaskName")
private String taskName;
private Data(Builder builder) {
this.agent = builder.agent;
this.asrResult = builder.asrResult;
this.comments = builder.comments;
this.createTime = builder.createTime;
this.errorMessage = builder.errorMessage;
this.hitResult = builder.hitResult;
this.recording = builder.recording;
this.resolver = builder.resolver;
this.reviewResult = builder.reviewResult;
this.reviewStatus = builder.reviewStatus;
this.reviewer = builder.reviewer;
this.score = builder.score;
this.status = builder.status;
this.taskId = builder.taskId;
this.taskName = builder.taskName;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return agent
*/
public Agent getAgent() {
return this.agent;
}
/**
* @return asrResult
*/
public java.util.List < AsrResult> getAsrResult() {
return this.asrResult;
}
/**
* @return comments
*/
public String getComments() {
return this.comments;
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return errorMessage
*/
public String getErrorMessage() {
return this.errorMessage;
}
/**
* @return hitResult
*/
public java.util.List < HitResult> getHitResult() {
return this.hitResult;
}
/**
* @return recording
*/
public Recording getRecording() {
return this.recording;
}
/**
* @return resolver
*/
public String getResolver() {
return this.resolver;
}
/**
* @return reviewResult
*/
public Integer getReviewResult() {
return this.reviewResult;
}
/**
* @return reviewStatus
*/
public Integer getReviewStatus() {
return this.reviewStatus;
}
/**
* @return reviewer
*/
public String getReviewer() {
return this.reviewer;
}
/**
* @return score
*/
public Integer getScore() {
return this.score;
}
/**
* @return status
*/
public Integer getStatus() {
return this.status;
}
/**
* @return taskId
*/
public String getTaskId() {
return this.taskId;
}
/**
* @return taskName
*/
public String getTaskName() {
return this.taskName;
}
public static final class Builder {
private Agent agent;
private java.util.List < AsrResult> asrResult;
private String comments;
private String createTime;
private String errorMessage;
private java.util.List < HitResult> hitResult;
private Recording recording;
private String resolver;
private Integer reviewResult;
private Integer reviewStatus;
private String reviewer;
private Integer score;
private Integer status;
private String taskId;
private String taskName;
/**
* Agent.
*/
public Builder agent(Agent agent) {
this.agent = agent;
return this;
}
/**
* AsrResult.
*/
public Builder asrResult(java.util.List < AsrResult> asrResult) {
this.asrResult = asrResult;
return this;
}
/**
* Comments.
*/
public Builder comments(String comments) {
this.comments = comments;
return this;
}
/**
* CreateTime.
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* ErrorMessage.
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* HitResult.
*/
public Builder hitResult(java.util.List < HitResult> hitResult) {
this.hitResult = hitResult;
return this;
}
/**
* Recording.
*/
public Builder recording(Recording recording) {
this.recording = recording;
return this;
}
/**
* Resolver.
*/
public Builder resolver(String resolver) {
this.resolver = resolver;
return this;
}
/**
* ReviewResult.
*/
public Builder reviewResult(Integer reviewResult) {
this.reviewResult = reviewResult;
return this;
}
/**
* ReviewStatus.
*/
public Builder reviewStatus(Integer reviewStatus) {
this.reviewStatus = reviewStatus;
return this;
}
/**
* Reviewer.
*/
public Builder reviewer(String reviewer) {
this.reviewer = reviewer;
return this;
}
/**
* Score.
*/
public Builder score(Integer score) {
this.score = score;
return this;
}
/**
* Status.
*/
public Builder status(Integer status) {
this.status = status;
return this;
}
/**
* TaskId.
*/
public Builder taskId(String taskId) {
this.taskId = taskId;
return this;
}
/**
* TaskName.
*/
public Builder taskName(String taskName) {
this.taskName = taskName;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy