All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.dingtalkproject_1_0.models.CreateTaskRequest Maven / Gradle / Ivy

There is a newer version: 2.1.67
Show newest version
// 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 {
    /**
     * 

This parameter is required.

* * example: *

任务标题

*/ @NameInMap("content") public String content; @NameInMap("customfields") public java.util.List customfields; /** * example: *

2022-06-13T07:36:50.318Z

*/ @NameInMap("dueDate") public String dueDate; /** * example: *

173xxxx

*/ @NameInMap("executorId") public String executorId; /** * example: *

我是一条任务备注

*/ @NameInMap("note") public String note; /** * example: *

62c25e3b376exxxxxx

*/ @NameInMap("parentTaskId") public String parentTaskId; /** * example: *

-10

*/ @NameInMap("priority") public Integer priority; /** *

This parameter is required.

* * example: *

62c25e3b376exxxxxx

*/ @NameInMap("projectId") public String projectId; /** * example: *

62c25e3b376exxxxxx

*/ @NameInMap("scenariofieldconfigId") public String scenariofieldconfigId; /** * example: *

62c25e3b376exxxxxx

*/ @NameInMap("stageId") public String stageId; /** * example: *

2022-06-13T07:36:50.318Z

*/ @NameInMap("startDate") public String startDate; /** * example: *

members

*/ @NameInMap("visible") public String visible; 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 setCustomfields(java.util.List customfields) { this.customfields = customfields; return this; } public java.util.List getCustomfields() { return this.customfields; } 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 setParentTaskId(String parentTaskId) { this.parentTaskId = parentTaskId; return this; } public String getParentTaskId() { return this.parentTaskId; } 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; } public CreateTaskRequest setScenariofieldconfigId(String scenariofieldconfigId) { this.scenariofieldconfigId = scenariofieldconfigId; return this; } public String getScenariofieldconfigId() { return this.scenariofieldconfigId; } public CreateTaskRequest setStageId(String stageId) { this.stageId = stageId; return this; } public String getStageId() { return this.stageId; } public CreateTaskRequest setStartDate(String startDate) { this.startDate = startDate; return this; } public String getStartDate() { return this.startDate; } public CreateTaskRequest setVisible(String visible) { this.visible = visible; return this; } public String getVisible() { return this.visible; } public static class CreateTaskRequestCustomfieldsValue extends TeaModel { @NameInMap("id") public String id; @NameInMap("thumbUrl") public String thumbUrl; /** * example: *

我是自定义字段显示值

*/ @NameInMap("title") public String title; public static CreateTaskRequestCustomfieldsValue build(java.util.Map map) throws Exception { CreateTaskRequestCustomfieldsValue self = new CreateTaskRequestCustomfieldsValue(); return TeaModel.build(map, self); } public CreateTaskRequestCustomfieldsValue setId(String id) { this.id = id; return this; } public String getId() { return this.id; } public CreateTaskRequestCustomfieldsValue setThumbUrl(String thumbUrl) { this.thumbUrl = thumbUrl; return this; } public String getThumbUrl() { return this.thumbUrl; } public CreateTaskRequestCustomfieldsValue setTitle(String title) { this.title = title; return this; } public String getTitle() { return this.title; } } public static class CreateTaskRequestCustomfields extends TeaModel { /** * example: *

62fb0bxxxxxxx

*/ @NameInMap("customfieldId") public String customfieldId; /** * example: *

自定义字段-文本

*/ @NameInMap("customfieldName") public String customfieldName; @NameInMap("value") public java.util.List value; public static CreateTaskRequestCustomfields build(java.util.Map map) throws Exception { CreateTaskRequestCustomfields self = new CreateTaskRequestCustomfields(); return TeaModel.build(map, self); } public CreateTaskRequestCustomfields setCustomfieldId(String customfieldId) { this.customfieldId = customfieldId; return this; } public String getCustomfieldId() { return this.customfieldId; } public CreateTaskRequestCustomfields setCustomfieldName(String customfieldName) { this.customfieldName = customfieldName; return this; } public String getCustomfieldName() { return this.customfieldName; } public CreateTaskRequestCustomfields setValue(java.util.List value) { this.value = value; return this; } public java.util.List getValue() { return this.value; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy