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

com.aliyun.green20220302.models.ImageAsyncModerationResponseBody Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.green20220302.models;

import com.aliyun.tea.*;

public class ImageAsyncModerationResponseBody extends TeaModel {
    /**
     * 

The returned HTTP status code.

* * example: *

200

*/ @NameInMap("Code") public Integer code; /** *

The data returned.

*/ @NameInMap("Data") public ImageAsyncModerationResponseBodyData data; /** *

The message that is returned in response to the request.

* * example: *

success

*/ @NameInMap("Msg") public String msg; /** *

The request ID.

* * example: *

4A926AE2-4C96-573F-824F-0532960799F8

*/ @NameInMap("RequestId") public String requestId; public static ImageAsyncModerationResponseBody build(java.util.Map map) throws Exception { ImageAsyncModerationResponseBody self = new ImageAsyncModerationResponseBody(); return TeaModel.build(map, self); } public ImageAsyncModerationResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public ImageAsyncModerationResponseBody setData(ImageAsyncModerationResponseBodyData data) { this.data = data; return this; } public ImageAsyncModerationResponseBodyData getData() { return this.data; } public ImageAsyncModerationResponseBody setMsg(String msg) { this.msg = msg; return this; } public String getMsg() { return this.msg; } public ImageAsyncModerationResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public static class ImageAsyncModerationResponseBodyData extends TeaModel { /** *

The ID of the moderated object.

* * example: *

fb5ffab1-993b-449f-b8d6-b97d5e3331f2

*/ @NameInMap("DataId") public String dataId; /** *

The reqId field returned by the Image Async Moderation API. You can use this field to query the detection results.

* * example: *

A07B3DB9-D762-5C56-95B1-8EC55CF176D2

*/ @NameInMap("ReqId") public String reqId; public static ImageAsyncModerationResponseBodyData build(java.util.Map map) throws Exception { ImageAsyncModerationResponseBodyData self = new ImageAsyncModerationResponseBodyData(); return TeaModel.build(map, self); } public ImageAsyncModerationResponseBodyData setDataId(String dataId) { this.dataId = dataId; return this; } public String getDataId() { return this.dataId; } public ImageAsyncModerationResponseBodyData setReqId(String reqId) { this.reqId = reqId; return this; } public String getReqId() { return this.reqId; } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy