com.aliyun.dingtalkworkflow_1_0.models.UpdateIntegratedTaskRequest 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.dingtalkworkflow_1_0.models;
import com.aliyun.tea.*;
public class UpdateIntegratedTaskRequest extends TeaModel {
/**
* example:
* tPr_FB_mT_xxxxxxxxx2hQ05201655306463
*
* if can be null:
* false
*/
@NameInMap("processInstanceId")
public String processInstanceId;
/**
* This parameter is required.
*/
@NameInMap("tasks")
public java.util.List tasks;
public static UpdateIntegratedTaskRequest build(java.util.Map map) throws Exception {
UpdateIntegratedTaskRequest self = new UpdateIntegratedTaskRequest();
return TeaModel.build(map, self);
}
public UpdateIntegratedTaskRequest setProcessInstanceId(String processInstanceId) {
this.processInstanceId = processInstanceId;
return this;
}
public String getProcessInstanceId() {
return this.processInstanceId;
}
public UpdateIntegratedTaskRequest setTasks(java.util.List tasks) {
this.tasks = tasks;
return this;
}
public java.util.List getTasks() {
return this.tasks;
}
public static class UpdateIntegratedTaskRequestTasks extends TeaModel {
/**
* example:
* AGREE
*/
@NameInMap("result")
public String result;
/**
* This parameter is required.
*
* example:
* COMPLETED
*/
@NameInMap("status")
public String status;
/**
* This parameter is required.
*
* if can be null:
* true
*/
@NameInMap("taskId")
public Long taskId;
public static UpdateIntegratedTaskRequestTasks build(java.util.Map map) throws Exception {
UpdateIntegratedTaskRequestTasks self = new UpdateIntegratedTaskRequestTasks();
return TeaModel.build(map, self);
}
public UpdateIntegratedTaskRequestTasks setResult(String result) {
this.result = result;
return this;
}
public String getResult() {
return this.result;
}
public UpdateIntegratedTaskRequestTasks setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public UpdateIntegratedTaskRequestTasks setTaskId(Long taskId) {
this.taskId = taskId;
return this;
}
public Long getTaskId() {
return this.taskId;
}
}
}