com.aliyun.sas20181203.models.GenerateOnceTaskResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sas20181203.models;
import com.aliyun.tea.*;
public class GenerateOnceTaskResponseBody extends TeaModel {
/**
* Indicates whether you can create more scan tasks. Valid values:
*
* * **true**: yes
* * **false**: no
*
* > By default, a maximum of 10 scan tasks can be running at the same time. If 10 image scan tasks are running, you cannot create a scan task by calling this operation. You must wait for at least one of the 10 existing scan tasks to complete before you can create a scan task.
*/
@NameInMap("CanCreate")
public Boolean canCreate;
/**
* The collection time.
*/
@NameInMap("CollectTime")
public Long collectTime;
/**
* The number of scan tasks that are complete.
*/
@NameInMap("FinishCount")
public Integer finishCount;
/**
* The ID of the last scan task.
*/
@NameInMap("LastTask")
public String lastTask;
/**
* The ID of the request, which is used to locate and troubleshoot issues.
*/
@NameInMap("RequestId")
public String requestId;
/**
* The ID of the scan task.
*/
@NameInMap("TaskId")
public String taskId;
/**
* The total number of scan tasks.
*/
@NameInMap("TotalCount")
public Integer totalCount;
public static GenerateOnceTaskResponseBody build(java.util.Map map) throws Exception {
GenerateOnceTaskResponseBody self = new GenerateOnceTaskResponseBody();
return TeaModel.build(map, self);
}
public GenerateOnceTaskResponseBody setCanCreate(Boolean canCreate) {
this.canCreate = canCreate;
return this;
}
public Boolean getCanCreate() {
return this.canCreate;
}
public GenerateOnceTaskResponseBody setCollectTime(Long collectTime) {
this.collectTime = collectTime;
return this;
}
public Long getCollectTime() {
return this.collectTime;
}
public GenerateOnceTaskResponseBody setFinishCount(Integer finishCount) {
this.finishCount = finishCount;
return this;
}
public Integer getFinishCount() {
return this.finishCount;
}
public GenerateOnceTaskResponseBody setLastTask(String lastTask) {
this.lastTask = lastTask;
return this;
}
public String getLastTask() {
return this.lastTask;
}
public GenerateOnceTaskResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public GenerateOnceTaskResponseBody setTaskId(String taskId) {
this.taskId = taskId;
return this;
}
public String getTaskId() {
return this.taskId;
}
public GenerateOnceTaskResponseBody setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public Integer getTotalCount() {
return this.totalCount;
}
}