com.aliyun.dingtalkproject_1_0.models.CreateTaskRequest 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 CreateTaskRequest extends TeaModel {
// 任务标题
@NameInMap("content")
public String content;
// 任务截止时间
@NameInMap("dueDate")
public String dueDate;
// 执行者userId
@NameInMap("executorId")
public String executorId;
// 任务备注
@NameInMap("note")
public String note;
// 任务优先级
@NameInMap("priority")
public Integer priority;
// 项目id
@NameInMap("projectId")
public String projectId;
public static CreateTaskRequest build(java.util.Map map) throws Exception {
CreateTaskRequest self = new CreateTaskRequest();
return TeaModel.build(map, self);
}
public CreateTaskRequest setContent(String content) {
this.content = content;
return this;
}
public String getContent() {
return this.content;
}
public CreateTaskRequest setDueDate(String dueDate) {
this.dueDate = dueDate;
return this;
}
public String getDueDate() {
return this.dueDate;
}
public CreateTaskRequest setExecutorId(String executorId) {
this.executorId = executorId;
return this;
}
public String getExecutorId() {
return this.executorId;
}
public CreateTaskRequest setNote(String note) {
this.note = note;
return this;
}
public String getNote() {
return this.note;
}
public CreateTaskRequest setPriority(Integer priority) {
this.priority = priority;
return this;
}
public Integer getPriority() {
return this.priority;
}
public CreateTaskRequest setProjectId(String projectId) {
this.projectId = projectId;
return this;
}
public String getProjectId() {
return this.projectId;
}
}