com.volcengine.model.acep.v20231030.ResultTask 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.acep.v20231030;
import com.alibaba.fastjson.JSON;
/**
* ResultTask
*/
@lombok.Data
public final class ResultTask {
/**
* 返回的任务 ID。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "TaskId")
private String taskId;
/**
* 任务结束时间(UTC)。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "EndTime")
private Long endTime;
/**
* 任务开始时间(UTC)。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "StartTime")
private Long startTime;
/**
* 任务类型。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "TaskAction")
private String taskAction;
/**
* 任务执行进度。
*
*
*
* - 100:执行完成;
*
* - <0:执行失败:
*
* - -1:通用失败;
*
* - 其他:待定。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "TaskResult")
private Integer taskResult;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy