com.aliyun.dingtalktodo_1_0.models.CreateTodoTaskResponseBody 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.dingtalktodo_1_0.models;
import com.aliyun.tea.*;
public class CreateTodoTaskResponseBody extends TeaModel {
// 接入应用标识
@NameInMap("bizTag")
public String bizTag;
// 创建时间
@NameInMap("createdTime")
public Long createdTime;
// 创建者(用户的unionId)
@NameInMap("creatorId")
public String creatorId;
// 描述
@NameInMap("description")
public String description;
// 自定义详情页跳转配置
@NameInMap("detailUrl")
public CreateTodoTaskResponseBodyDetailUrl detailUrl;
// 完成状态
@NameInMap("done")
public Boolean done;
// 截止时间
@NameInMap("dueTime")
public Long dueTime;
// 执行者列表(用户的unionId)
@NameInMap("executorIds")
public java.util.List executorIds;
// 完成时间
@NameInMap("finishTime")
public Long finishTime;
// id
@NameInMap("id")
public String id;
// 生成的待办是否仅展示在执行者的待办列表中
@NameInMap("isOnlyShowExecutor")
public Boolean isOnlyShowExecutor;
// 更新时间
@NameInMap("modifiedTime")
public Long modifiedTime;
// 更新者(用户的unionId)
@NameInMap("modifierId")
public String modifierId;
// 待办通知配置
@NameInMap("notifyConfigs")
public CreateTodoTaskResponseBodyNotifyConfigs notifyConfigs;
// 参与者列表(用户的unionId)
@NameInMap("participantIds")
public java.util.List participantIds;
// 优先级, 较低:10, 普通:20, 紧急:30, 非常紧急:40
@NameInMap("priority")
public Integer priority;
// requestId
@NameInMap("requestId")
public String requestId;
// 业务来源
@NameInMap("source")
public String source;
// 业务来源id
@NameInMap("sourceId")
public String sourceId;
// 开始时间
@NameInMap("startTime")
public Long startTime;
// 标题
@NameInMap("subject")
public String subject;
public static CreateTodoTaskResponseBody build(java.util.Map map) throws Exception {
CreateTodoTaskResponseBody self = new CreateTodoTaskResponseBody();
return TeaModel.build(map, self);
}
public CreateTodoTaskResponseBody setBizTag(String bizTag) {
this.bizTag = bizTag;
return this;
}
public String getBizTag() {
return this.bizTag;
}
public CreateTodoTaskResponseBody setCreatedTime(Long createdTime) {
this.createdTime = createdTime;
return this;
}
public Long getCreatedTime() {
return this.createdTime;
}
public CreateTodoTaskResponseBody setCreatorId(String creatorId) {
this.creatorId = creatorId;
return this;
}
public String getCreatorId() {
return this.creatorId;
}
public CreateTodoTaskResponseBody setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public CreateTodoTaskResponseBody setDetailUrl(CreateTodoTaskResponseBodyDetailUrl detailUrl) {
this.detailUrl = detailUrl;
return this;
}
public CreateTodoTaskResponseBodyDetailUrl getDetailUrl() {
return this.detailUrl;
}
public CreateTodoTaskResponseBody setDone(Boolean done) {
this.done = done;
return this;
}
public Boolean getDone() {
return this.done;
}
public CreateTodoTaskResponseBody setDueTime(Long dueTime) {
this.dueTime = dueTime;
return this;
}
public Long getDueTime() {
return this.dueTime;
}
public CreateTodoTaskResponseBody setExecutorIds(java.util.List executorIds) {
this.executorIds = executorIds;
return this;
}
public java.util.List getExecutorIds() {
return this.executorIds;
}
public CreateTodoTaskResponseBody setFinishTime(Long finishTime) {
this.finishTime = finishTime;
return this;
}
public Long getFinishTime() {
return this.finishTime;
}
public CreateTodoTaskResponseBody setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public CreateTodoTaskResponseBody setIsOnlyShowExecutor(Boolean isOnlyShowExecutor) {
this.isOnlyShowExecutor = isOnlyShowExecutor;
return this;
}
public Boolean getIsOnlyShowExecutor() {
return this.isOnlyShowExecutor;
}
public CreateTodoTaskResponseBody setModifiedTime(Long modifiedTime) {
this.modifiedTime = modifiedTime;
return this;
}
public Long getModifiedTime() {
return this.modifiedTime;
}
public CreateTodoTaskResponseBody setModifierId(String modifierId) {
this.modifierId = modifierId;
return this;
}
public String getModifierId() {
return this.modifierId;
}
public CreateTodoTaskResponseBody setNotifyConfigs(CreateTodoTaskResponseBodyNotifyConfigs notifyConfigs) {
this.notifyConfigs = notifyConfigs;
return this;
}
public CreateTodoTaskResponseBodyNotifyConfigs getNotifyConfigs() {
return this.notifyConfigs;
}
public CreateTodoTaskResponseBody setParticipantIds(java.util.List participantIds) {
this.participantIds = participantIds;
return this;
}
public java.util.List getParticipantIds() {
return this.participantIds;
}
public CreateTodoTaskResponseBody setPriority(Integer priority) {
this.priority = priority;
return this;
}
public Integer getPriority() {
return this.priority;
}
public CreateTodoTaskResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public CreateTodoTaskResponseBody setSource(String source) {
this.source = source;
return this;
}
public String getSource() {
return this.source;
}
public CreateTodoTaskResponseBody setSourceId(String sourceId) {
this.sourceId = sourceId;
return this;
}
public String getSourceId() {
return this.sourceId;
}
public CreateTodoTaskResponseBody setStartTime(Long startTime) {
this.startTime = startTime;
return this;
}
public Long getStartTime() {
return this.startTime;
}
public CreateTodoTaskResponseBody setSubject(String subject) {
this.subject = subject;
return this;
}
public String getSubject() {
return this.subject;
}
public static class CreateTodoTaskResponseBodyDetailUrl extends TeaModel {
// app端详情页地址
@NameInMap("appUrl")
public String appUrl;
// pc端详情页地址
@NameInMap("pcUrl")
public String pcUrl;
public static CreateTodoTaskResponseBodyDetailUrl build(java.util.Map map) throws Exception {
CreateTodoTaskResponseBodyDetailUrl self = new CreateTodoTaskResponseBodyDetailUrl();
return TeaModel.build(map, self);
}
public CreateTodoTaskResponseBodyDetailUrl setAppUrl(String appUrl) {
this.appUrl = appUrl;
return this;
}
public String getAppUrl() {
return this.appUrl;
}
public CreateTodoTaskResponseBodyDetailUrl setPcUrl(String pcUrl) {
this.pcUrl = pcUrl;
return this;
}
public String getPcUrl() {
return this.pcUrl;
}
}
public static class CreateTodoTaskResponseBodyNotifyConfigs extends TeaModel {
// ding通知配置:value:"channel"(1钉弹框通知,2钉短信通知,3钉电话通知)
@NameInMap("dingNotify")
public String dingNotify;
public static CreateTodoTaskResponseBodyNotifyConfigs build(java.util.Map map) throws Exception {
CreateTodoTaskResponseBodyNotifyConfigs self = new CreateTodoTaskResponseBodyNotifyConfigs();
return TeaModel.build(map, self);
}
public CreateTodoTaskResponseBodyNotifyConfigs setDingNotify(String dingNotify) {
this.dingNotify = dingNotify;
return this;
}
public String getDingNotify() {
return this.dingNotify;
}
}
}