com.aliyun.dingtalkworkflow_1_0.models.UpdateProcessInstanceRequest 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 UpdateProcessInstanceRequest extends TeaModel {
@NameInMap("notifiers")
public java.util.List notifiers;
/**
* This parameter is required.
*
* example:
* abc
*/
@NameInMap("processInstanceId")
public String processInstanceId;
/**
* example:
* agree
*/
@NameInMap("result")
public String result;
/**
* This parameter is required.
*
* example:
* COMPLETED
*/
@NameInMap("status")
public String status;
public static UpdateProcessInstanceRequest build(java.util.Map map) throws Exception {
UpdateProcessInstanceRequest self = new UpdateProcessInstanceRequest();
return TeaModel.build(map, self);
}
public UpdateProcessInstanceRequest setNotifiers(java.util.List notifiers) {
this.notifiers = notifiers;
return this;
}
public java.util.List getNotifiers() {
return this.notifiers;
}
public UpdateProcessInstanceRequest setProcessInstanceId(String processInstanceId) {
this.processInstanceId = processInstanceId;
return this;
}
public String getProcessInstanceId() {
return this.processInstanceId;
}
public UpdateProcessInstanceRequest setResult(String result) {
this.result = result;
return this;
}
public String getResult() {
return this.result;
}
public UpdateProcessInstanceRequest setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public static class UpdateProcessInstanceRequestNotifiers extends TeaModel {
/**
* This parameter is required.
*
* example:
* manager001
*/
@NameInMap("userId")
public String userId;
public static UpdateProcessInstanceRequestNotifiers build(java.util.Map map) throws Exception {
UpdateProcessInstanceRequestNotifiers self = new UpdateProcessInstanceRequestNotifiers();
return TeaModel.build(map, self);
}
public UpdateProcessInstanceRequestNotifiers setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
}