com.volcengine.model.imagex.v2.GetImageAuditTasksResResultTasksItemAuditTask Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of volc-sdk-java Show documentation
Show all versions of volc-sdk-java Show documentation
The VOLC Engine SDK for Java
package com.volcengine.model.imagex.v2;
import com.alibaba.fastjson.JSON;
import java.util.List;
/**
* GetImageAuditTasksResResultTasksItemAuditTask
*/
@lombok.Data
public final class GetImageAuditTasksResResultTasksItemAuditTask {
/**
* 审核能力,取值如下所示:
*
*
*
* - `0`:基础审核能力
*
* - `1`:智能审核能力
*/
@com.alibaba.fastjson.annotation.JSONField(name = "AuditAbility")
private Integer auditAbility;
/**
* 指定的冻结措施,取值如下所示:
*
*
*
* - `recheck`:建议复审
*
* - `nopass`:审核不通过
*/
@com.alibaba.fastjson.annotation.JSONField(name = "FreezeType")
private List freezeType;
/**
* 指定的冻结维度
*/
@com.alibaba.fastjson.annotation.JSONField(name = "FreezeDimensions")
private List freezeDimensions;
/**
* 是否开启冻结,取值如下所示:
*
*
*
* - `true`:开启
*
* - `false`:不开启
*/
@com.alibaba.fastjson.annotation.JSONField(name = "EnableFreeze")
private Boolean enableFreeze;
/**
* 指定的审核维度
*/
@com.alibaba.fastjson.annotation.JSONField(name = "AuditDimensions")
private List auditDimensions;
/**
* 指定的回调类型
*/
@com.alibaba.fastjson.annotation.JSONField(name = "CallbackDimensions")
private List callbackDimensions;
/**
* 是否开启回调,取值如下所示:
*
*
*
* - `true`:开启
*
* - `false`:不开启
*/
@com.alibaba.fastjson.annotation.JSONField(name = "EnableCallback")
private Boolean enableCallback;
/**
* 冻结策略,当前仅支持取 `0`,表示禁用图片。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "FreezeStrategy")
private Integer freezeStrategy;
/**
* 指定的回调 URL
*/
@com.alibaba.fastjson.annotation.JSONField(name = "CallbackUrl")
private String callbackUrl;
/**
* 回调图片类型,取值如下所示:
*
*
*
* - `normal`:正常图片
*
* - `problem`:问题图片
*
* - `frozen`:冻结图片
*
* - `fail`:审核失败图片
*/
@com.alibaba.fastjson.annotation.JSONField(name = "CallbackImageTypes")
private List callbackImageTypes;
/**
* 仅当 `Type` 取值 `Upload` 时,有返回值。
*
* 审核范围,取值如下所示:
*
*
*
* - `0`:不限范围
*
* - `1`:指定范围
*/
@com.alibaba.fastjson.annotation.JSONField(name = "EnableAuditRange")
private Integer enableAuditRange;
/**
* 仅当 `EnableAuditRange` 取值 `1` 时,有返回值。表示指定不审核的目录前缀。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "NoAuditPrefix")
private List noAuditPrefix;
/**
* 仅当 `EnableAuditRange` 取值 `1` 时,有返回值。表示指定审核的目录前缀。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "AuditPrefix")
private List auditPrefix;
/**
* 审核中的图片数量
*/
@com.alibaba.fastjson.annotation.JSONField(name = "ProcessedNumber")
private Long processedNumber;
/**
* 审核失败的图片数量
*/
@com.alibaba.fastjson.annotation.JSONField(name = "FailedCount")
private Long failedCount;
/**
* 审核成功的图片数量
*/
@com.alibaba.fastjson.annotation.JSONField(name = "SuccessCount")
private Long successCount;
/**
* 仅当 Type 取值 Url 时,有返回值。表示上传的待审核图片 Url 列表详情。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "ImageInfos")
private List imageInfos;
/**
* 指定的智能安全审核类型下图片文本审核维度。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "AuditTextDimensions")
private List auditTextDimensions;
/**
* 是否开启大图审核,取值如下所示:
*
* - `true`:开启
*
* - `false`:不开启
*/
@com.alibaba.fastjson.annotation.JSONField(name = "EnableLargeImageDetect")
private Boolean enableLargeImageDetect;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy