com.aliyun.green20220302.models.VoiceModerationResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.green20220302.models;
import com.aliyun.tea.*;
public class VoiceModerationResponseBody extends TeaModel {
/**
* The returned HTTP status code.
*
* example:
* 200
*/
@NameInMap("Code")
public Integer code;
/**
* The data returned.
*/
@NameInMap("Data")
public VoiceModerationResponseBodyData data;
/**
* The message that is returned in response to the request.
*
* example:
* SUCCESS
*/
@NameInMap("Message")
public String message;
/**
* The request ID.
*
* example:
* AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****
*/
@NameInMap("RequestId")
public String requestId;
public static VoiceModerationResponseBody build(java.util.Map map) throws Exception {
VoiceModerationResponseBody self = new VoiceModerationResponseBody();
return TeaModel.build(map, self);
}
public VoiceModerationResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public VoiceModerationResponseBody setData(VoiceModerationResponseBodyData data) {
this.data = data;
return this;
}
public VoiceModerationResponseBodyData getData() {
return this.data;
}
public VoiceModerationResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public VoiceModerationResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class VoiceModerationResponseBodyData extends TeaModel {
/**
* The ID of the moderated object.
*
* example:
* data1234
*/
@NameInMap("DataId")
public String dataId;
/**
* The task ID.
*
* example:
* xxxxx-xxxxx
*/
@NameInMap("TaskId")
public String taskId;
public static VoiceModerationResponseBodyData build(java.util.Map map) throws Exception {
VoiceModerationResponseBodyData self = new VoiceModerationResponseBodyData();
return TeaModel.build(map, self);
}
public VoiceModerationResponseBodyData setDataId(String dataId) {
this.dataId = dataId;
return this;
}
public String getDataId() {
return this.dataId;
}
public VoiceModerationResponseBodyData setTaskId(String taskId) {
this.taskId = taskId;
return this;
}
public String getTaskId() {
return this.taskId;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy