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

com.aliyun.sdk.service.green20220302.models.FileModerationResponseBody 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 FileModerationResponseBody} extends {@link TeaModel}
 *
 * 

FileModerationResponseBody

*/ public class FileModerationResponseBody 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 FileModerationResponseBody(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 FileModerationResponseBody 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 FileModerationResponseBody build() { return new FileModerationResponseBody(this); } } public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; private Data(Builder builder) { this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return taskId */ public String getTaskId() { return this.taskId; } public static final class Builder { private String taskId; /** * 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