com.aliyun.dingtalkstorage_1_0.models.GetTaskResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkstorage_1_0.models;
import com.aliyun.tea.*;
public class GetTaskResponseBody extends TeaModel {
@NameInMap("task")
public GetTaskResponseBodyTask task;
public static GetTaskResponseBody build(java.util.Map map) throws Exception {
GetTaskResponseBody self = new GetTaskResponseBody();
return TeaModel.build(map, self);
}
public GetTaskResponseBody setTask(GetTaskResponseBodyTask task) {
this.task = task;
return this;
}
public GetTaskResponseBodyTask getTask() {
return this.task;
}
public static class GetTaskResponseBodyTask extends TeaModel {
/**
* example:
* 2022-01-01T10:00:00Z
*/
@NameInMap("beginTime")
public String beginTime;
/**
* example:
* 2022-01-01T10:00:00Z
*/
@NameInMap("endTime")
public String endTime;
/**
* example:
* 1
*/
@NameInMap("failCount")
public Long failCount;
/**
* example:
* permissionDenied
*/
@NameInMap("failMessage")
public String failMessage;
/**
* example:
* task_id
*/
@NameInMap("id")
public String id;
/**
* example:
* IN_PROGRESS
*/
@NameInMap("status")
public String status;
/**
* example:
* 3
*/
@NameInMap("successCount")
public Long successCount;
/**
* example:
* 6
*/
@NameInMap("totalCount")
public Long totalCount;
public static GetTaskResponseBodyTask build(java.util.Map map) throws Exception {
GetTaskResponseBodyTask self = new GetTaskResponseBodyTask();
return TeaModel.build(map, self);
}
public GetTaskResponseBodyTask setBeginTime(String beginTime) {
this.beginTime = beginTime;
return this;
}
public String getBeginTime() {
return this.beginTime;
}
public GetTaskResponseBodyTask setEndTime(String endTime) {
this.endTime = endTime;
return this;
}
public String getEndTime() {
return this.endTime;
}
public GetTaskResponseBodyTask setFailCount(Long failCount) {
this.failCount = failCount;
return this;
}
public Long getFailCount() {
return this.failCount;
}
public GetTaskResponseBodyTask setFailMessage(String failMessage) {
this.failMessage = failMessage;
return this;
}
public String getFailMessage() {
return this.failMessage;
}
public GetTaskResponseBodyTask setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public GetTaskResponseBodyTask setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public GetTaskResponseBodyTask setSuccessCount(Long successCount) {
this.successCount = successCount;
return this;
}
public Long getSuccessCount() {
return this.successCount;
}
public GetTaskResponseBodyTask setTotalCount(Long totalCount) {
this.totalCount = totalCount;
return this;
}
public Long getTotalCount() {
return this.totalCount;
}
}
}