All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.green20220302.models.VoiceModerationResponseBody Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.green20220302.models;

import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link VoiceModerationResponseBody} extends {@link TeaModel}
 *
 * 

VoiceModerationResponseBody

*/ public class VoiceModerationResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private VoiceModerationResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static VoiceModerationResponseBody create() { return builder().build(); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Integer code; private Data data; private String message; private String requestId; /** * The returned HTTP status code. */ public Builder code(Integer code) { this.code = code; return this; } /** * The data returned. */ public Builder data(Data data) { this.data = data; return this; } /** * The message that is returned in response to the request. */ public Builder message(String message) { this.message = message; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public VoiceModerationResponseBody build() { return new VoiceModerationResponseBody(this); } } public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("DataId") private String dataId; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; private Data(Builder builder) { this.dataId = builder.dataId; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return dataId */ public String getDataId() { return this.dataId; } /** * @return taskId */ public String getTaskId() { return this.taskId; } public static final class Builder { private String dataId; private String taskId; /** * The ID of the moderated object. */ public Builder dataId(String dataId) { this.dataId = dataId; return this; } /** * The task ID. */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } public Data build() { return new Data(this); } } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy