com.aliyun.dingtalkproject_1_0.models.GetOrganizationTaskResponseBody 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.dingtalkproject_1_0.models;
import com.aliyun.tea.*;
public class GetOrganizationTaskResponseBody extends TeaModel {
// 返回结构体
@NameInMap("result")
public GetOrganizationTaskResponseBodyResult result;
public static GetOrganizationTaskResponseBody build(java.util.Map map) throws Exception {
GetOrganizationTaskResponseBody self = new GetOrganizationTaskResponseBody();
return TeaModel.build(map, self);
}
public GetOrganizationTaskResponseBody setResult(GetOrganizationTaskResponseBodyResult result) {
this.result = result;
return this;
}
public GetOrganizationTaskResponseBodyResult getResult() {
return this.result;
}
public static class GetOrganizationTaskResponseBodyResult extends TeaModel {
// 父任务id
@NameInMap("ancestorIds")
public java.util.List ancestorIds;
// 任务标题
@NameInMap("content")
public String content;
// 创建时间
@NameInMap("created")
public String created;
// 创建者id
@NameInMap("creatorId")
public String creatorId;
// 任务截止时间
@NameInMap("dueDate")
public String dueDate;
// 执行者id
@NameInMap("executorId")
public String executorId;
// 参与者列表
@NameInMap("involveMembers")
public java.util.List involveMembers;
// 任务是否已删除
@NameInMap("isDeleted")
public Boolean isDeleted;
// 任务是否已完成
@NameInMap("isDone")
public Boolean isDone;
// 任务自定义标记
@NameInMap("labels")
public java.util.List labels;
// 任务备注
@NameInMap("note")
public String note;
// 优先级【-10,0,1,2】中选一个
@NameInMap("priority")
public Integer priority;
// 任务开始时间
@NameInMap("startDate")
public String startDate;
// 任务id
@NameInMap("taskId")
public String taskId;
// 更新时间
@NameInMap("updated")
public String updated;
// 任务可见性。involves:仅参与者可见。members:所有人可见
@NameInMap("visible")
public String visible;
public static GetOrganizationTaskResponseBodyResult build(java.util.Map map) throws Exception {
GetOrganizationTaskResponseBodyResult self = new GetOrganizationTaskResponseBodyResult();
return TeaModel.build(map, self);
}
public GetOrganizationTaskResponseBodyResult setAncestorIds(java.util.List ancestorIds) {
this.ancestorIds = ancestorIds;
return this;
}
public java.util.List getAncestorIds() {
return this.ancestorIds;
}
public GetOrganizationTaskResponseBodyResult setContent(String content) {
this.content = content;
return this;
}
public String getContent() {
return this.content;
}
public GetOrganizationTaskResponseBodyResult setCreated(String created) {
this.created = created;
return this;
}
public String getCreated() {
return this.created;
}
public GetOrganizationTaskResponseBodyResult setCreatorId(String creatorId) {
this.creatorId = creatorId;
return this;
}
public String getCreatorId() {
return this.creatorId;
}
public GetOrganizationTaskResponseBodyResult setDueDate(String dueDate) {
this.dueDate = dueDate;
return this;
}
public String getDueDate() {
return this.dueDate;
}
public GetOrganizationTaskResponseBodyResult setExecutorId(String executorId) {
this.executorId = executorId;
return this;
}
public String getExecutorId() {
return this.executorId;
}
public GetOrganizationTaskResponseBodyResult setInvolveMembers(java.util.List involveMembers) {
this.involveMembers = involveMembers;
return this;
}
public java.util.List getInvolveMembers() {
return this.involveMembers;
}
public GetOrganizationTaskResponseBodyResult setIsDeleted(Boolean isDeleted) {
this.isDeleted = isDeleted;
return this;
}
public Boolean getIsDeleted() {
return this.isDeleted;
}
public GetOrganizationTaskResponseBodyResult setIsDone(Boolean isDone) {
this.isDone = isDone;
return this;
}
public Boolean getIsDone() {
return this.isDone;
}
public GetOrganizationTaskResponseBodyResult setLabels(java.util.List labels) {
this.labels = labels;
return this;
}
public java.util.List getLabels() {
return this.labels;
}
public GetOrganizationTaskResponseBodyResult setNote(String note) {
this.note = note;
return this;
}
public String getNote() {
return this.note;
}
public GetOrganizationTaskResponseBodyResult setPriority(Integer priority) {
this.priority = priority;
return this;
}
public Integer getPriority() {
return this.priority;
}
public GetOrganizationTaskResponseBodyResult setStartDate(String startDate) {
this.startDate = startDate;
return this;
}
public String getStartDate() {
return this.startDate;
}
public GetOrganizationTaskResponseBodyResult setTaskId(String taskId) {
this.taskId = taskId;
return this;
}
public String getTaskId() {
return this.taskId;
}
public GetOrganizationTaskResponseBodyResult setUpdated(String updated) {
this.updated = updated;
return this;
}
public String getUpdated() {
return this.updated;
}
public GetOrganizationTaskResponseBodyResult setVisible(String visible) {
this.visible = visible;
return this;
}
public String getVisible() {
return this.visible;
}
}
}