com.antgroup.antchain.openapi.deps.models.TaskResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-deps Show documentation
Show all versions of openapi-deps Show documentation
Ant Chain deps SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.deps.models;
import com.aliyun.tea.*;
public class TaskResult extends TeaModel {
// 任务执行结果。取值:
// SUCCESSFUL:任务执行成功;
// FAILED:任务执行失败
//
@NameInMap("result")
public String result;
// 任务目标id,如:一个Computer的id
@NameInMap("target_id")
public String targetId;
public static TaskResult build(java.util.Map map) throws Exception {
TaskResult self = new TaskResult();
return TeaModel.build(map, self);
}
public TaskResult setResult(String result) {
this.result = result;
return this;
}
public String getResult() {
return this.result;
}
public TaskResult setTargetId(String targetId) {
this.targetId = targetId;
return this;
}
public String getTargetId() {
return this.targetId;
}
}