com.volcengine.model.imagex.v2.GetImageAuditTasksResResultTasksItem 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;
/**
* GetImageAuditTasksResResultTasksItem
*/
@lombok.Data
public final class GetImageAuditTasksResResultTasksItem {
/**
* 该审核任务所在的服务 ID
*/
@com.alibaba.fastjson.annotation.JSONField(name = "ServiceId")
private String serviceId;
/**
* 审核任务 ID
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Id")
private String id;
/**
* 该条审核任务的状态,取值如下所示:
*
*
*
* - `Running`:审核中
*
* - `Suspend`:已暂停
*
* - `Done`:已完成
*
* - `Failed`:审核失败
*
* - `Cancel`:已取消
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Status")
private String status;
/**
* 该审核任务的更新时间
*/
@com.alibaba.fastjson.annotation.JSONField(name = "UpdateAt")
private String updateAt;
/**
* 该审核任务的创建时间
*/
@com.alibaba.fastjson.annotation.JSONField(name = "CreateAt")
private String createAt;
/**
* 审核任务
*/
@com.alibaba.fastjson.annotation.JSONField(name = "AuditTask")
private GetImageAuditTasksResResultTasksItemAuditTask auditTask;
/**
* 仅当 `Type` 值为 `UrlFile` 时,有返回值。表示 txt 审核文件的存储 URI。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "ResUri")
private List resUri;
/**
* 审核场景,取值如下所示:
*
*
*
* - `UrlFile`:上传 txt 审核文件处理场景
*
* - `Url`:上传审核图片 URL 处理场景
*
* - `Upload`:图片上传场景
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Type")
private String type;
/**
* 审核任务类型,当前仅支持取值为 `audit`。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "TaskType")
private String taskType;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy