com.volcengine.model.imagex.v2.GetImageContentTaskDetailResResultDataItem 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;
/**
* GetImageContentTaskDetailResResultDataItem
*/
@lombok.Data
public final class GetImageContentTaskDetailResResultDataItem {
/**
* 任务指定的 URL 或目录
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Url")
private String url;
/**
* 资源任务类型,取值如下所示:
*
* * `refresh`:刷新任务
*
* * `refresh_url`:刷新 URL
*
* * `block_url`:禁用 URL
*
* * `unblock_url`:解禁 URL
*
* * `preload_url`:预热 URL
*
* * `refresh_dir`:目录刷新
*/
@com.alibaba.fastjson.annotation.JSONField(name = "TaskType")
private String taskType;
/**
* 任务 ID
*/
@com.alibaba.fastjson.annotation.JSONField(name = "TaskId")
private String taskId;
/**
* 资源任务状态,取值如下所示:
*
* - `submitting`:提交中
*
* - `running`:执行中
*
* - `succeed`:成功
*
* - `failed`:失败
*/
@com.alibaba.fastjson.annotation.JSONField(name = "State")
private String state;
/**
* 任务进度
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Process")
private String process;
/**
* 任务的创建时间
*/
@com.alibaba.fastjson.annotation.JSONField(name = "CreateTime")
private Long createTime;
/**
* 任务的更新时间
*/
@com.alibaba.fastjson.annotation.JSONField(name = "UpdateTime")
private Long updateTime;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy