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

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

UrlAsyncModerationResponseBody

*/ public class UrlAsyncModerationResponseBody 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("Msg") private String msg; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private UrlAsyncModerationResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.msg = builder.msg; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static UrlAsyncModerationResponseBody create() { return builder().build(); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return msg */ public String getMsg() { return this.msg; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Integer code; private Data data; private String msg; 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 msg(String msg) { this.msg = msg; return this; } /** * Id of the request */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public UrlAsyncModerationResponseBody build() { return new UrlAsyncModerationResponseBody(this); } } public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("DataId") private String dataId; @com.aliyun.core.annotation.NameInMap("ReqId") private String reqId; private Data(Builder builder) { this.dataId = builder.dataId; this.reqId = builder.reqId; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return dataId */ public String getDataId() { return this.dataId; } /** * @return reqId */ public String getReqId() { return this.reqId; } public static final class Builder { private String dataId; private String reqId; /** * The ID of the moderated object. */ public Builder dataId(String dataId) { this.dataId = dataId; return this; } /** * The reqId field returned by the Url Async Moderation API. */ public Builder reqId(String reqId) { this.reqId = reqId; return this; } public Data build() { return new Data(this); } } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy