com.aliyun.dingtalkworkflow_1_0.models.StartProcessInstanceRequest 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 StartProcessInstanceRequest extends TeaModel {
@NameInMap("approvers")
public java.util.List approvers;
@NameInMap("ccList")
public java.util.List ccList;
/**
* example:
* START、FINISH、START_FINISH
*/
@NameInMap("ccPosition")
public String ccPosition;
/**
* example:
* 1
*/
@NameInMap("deptId")
public Long deptId;
/**
* This parameter is required.
*/
@NameInMap("formComponentValues")
public java.util.List formComponentValues;
/**
* example:
* 41605932
*/
@NameInMap("microappAgentId")
public Long microappAgentId;
/**
* This parameter is required.
*
* example:
* manager432
*/
@NameInMap("originatorUserId")
public String originatorUserId;
/**
* This parameter is required.
*
* example:
* PROC-EF6YJL35P2-SCKICSB7P750S0YISYKV3-xxxx-1
*/
@NameInMap("processCode")
public String processCode;
@NameInMap("targetSelectActioners")
public java.util.List targetSelectActioners;
public static StartProcessInstanceRequest build(java.util.Map map) throws Exception {
StartProcessInstanceRequest self = new StartProcessInstanceRequest();
return TeaModel.build(map, self);
}
public StartProcessInstanceRequest setApprovers(java.util.List approvers) {
this.approvers = approvers;
return this;
}
public java.util.List getApprovers() {
return this.approvers;
}
public StartProcessInstanceRequest setCcList(java.util.List ccList) {
this.ccList = ccList;
return this;
}
public java.util.List getCcList() {
return this.ccList;
}
public StartProcessInstanceRequest setCcPosition(String ccPosition) {
this.ccPosition = ccPosition;
return this;
}
public String getCcPosition() {
return this.ccPosition;
}
public StartProcessInstanceRequest setDeptId(Long deptId) {
this.deptId = deptId;
return this;
}
public Long getDeptId() {
return this.deptId;
}
public StartProcessInstanceRequest setFormComponentValues(java.util.List formComponentValues) {
this.formComponentValues = formComponentValues;
return this;
}
public java.util.List getFormComponentValues() {
return this.formComponentValues;
}
public StartProcessInstanceRequest setMicroappAgentId(Long microappAgentId) {
this.microappAgentId = microappAgentId;
return this;
}
public Long getMicroappAgentId() {
return this.microappAgentId;
}
public StartProcessInstanceRequest setOriginatorUserId(String originatorUserId) {
this.originatorUserId = originatorUserId;
return this;
}
public String getOriginatorUserId() {
return this.originatorUserId;
}
public StartProcessInstanceRequest setProcessCode(String processCode) {
this.processCode = processCode;
return this;
}
public String getProcessCode() {
return this.processCode;
}
public StartProcessInstanceRequest setTargetSelectActioners(java.util.List targetSelectActioners) {
this.targetSelectActioners = targetSelectActioners;
return this;
}
public java.util.List getTargetSelectActioners() {
return this.targetSelectActioners;
}
public static class StartProcessInstanceRequestApprovers extends TeaModel {
/**
* example:
* 会签:AND;或签:OR;单人:NONE
*/
@NameInMap("actionType")
public String actionType;
@NameInMap("userIds")
public java.util.List userIds;
public static StartProcessInstanceRequestApprovers build(java.util.Map map) throws Exception {
StartProcessInstanceRequestApprovers self = new StartProcessInstanceRequestApprovers();
return TeaModel.build(map, self);
}
public StartProcessInstanceRequestApprovers setActionType(String actionType) {
this.actionType = actionType;
return this;
}
public String getActionType() {
return this.actionType;
}
public StartProcessInstanceRequestApprovers setUserIds(java.util.List userIds) {
this.userIds = userIds;
return this;
}
public java.util.List getUserIds() {
return this.userIds;
}
}
public static class StartProcessInstanceRequestFormComponentValuesDetailsDetails extends TeaModel {
/**
* example:
* Phone
*/
@NameInMap("bizAlias")
public String bizAlias;
@NameInMap("componentType")
public String componentType;
/**
* example:
* 总个数:1
*/
@NameInMap("extValue")
public String extValue;
/**
* example:
* PhoneField_IZI2LP8QF6O0
*/
@NameInMap("id")
public String id;
/**
* example:
* PhoneField
*/
@NameInMap("name")
public String name;
/**
* example:
* 123xxxxxxxx
*/
@NameInMap("value")
public String value;
public static StartProcessInstanceRequestFormComponentValuesDetailsDetails build(java.util.Map map) throws Exception {
StartProcessInstanceRequestFormComponentValuesDetailsDetails self = new StartProcessInstanceRequestFormComponentValuesDetailsDetails();
return TeaModel.build(map, self);
}
public StartProcessInstanceRequestFormComponentValuesDetailsDetails setBizAlias(String bizAlias) {
this.bizAlias = bizAlias;
return this;
}
public String getBizAlias() {
return this.bizAlias;
}
public StartProcessInstanceRequestFormComponentValuesDetailsDetails setComponentType(String componentType) {
this.componentType = componentType;
return this;
}
public String getComponentType() {
return this.componentType;
}
public StartProcessInstanceRequestFormComponentValuesDetailsDetails setExtValue(String extValue) {
this.extValue = extValue;
return this;
}
public String getExtValue() {
return this.extValue;
}
public StartProcessInstanceRequestFormComponentValuesDetailsDetails setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public StartProcessInstanceRequestFormComponentValuesDetailsDetails setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public StartProcessInstanceRequestFormComponentValuesDetailsDetails setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
public static class StartProcessInstanceRequestFormComponentValuesDetails extends TeaModel {
/**
* example:
* Phone
*/
@NameInMap("bizAlias")
public String bizAlias;
@NameInMap("details")
public java.util.List details;
/**
* example:
* 总个数:1
*/
@NameInMap("extValue")
public String extValue;
/**
* example:
* PhoneField_IZI2LP8QF6O0
*/
@NameInMap("id")
public String id;
/**
* example:
* PhoneField
*/
@NameInMap("name")
public String name;
/**
* example:
* 123xxxxxxxx
*/
@NameInMap("value")
public String value;
public static StartProcessInstanceRequestFormComponentValuesDetails build(java.util.Map map) throws Exception {
StartProcessInstanceRequestFormComponentValuesDetails self = new StartProcessInstanceRequestFormComponentValuesDetails();
return TeaModel.build(map, self);
}
public StartProcessInstanceRequestFormComponentValuesDetails setBizAlias(String bizAlias) {
this.bizAlias = bizAlias;
return this;
}
public String getBizAlias() {
return this.bizAlias;
}
public StartProcessInstanceRequestFormComponentValuesDetails setDetails(java.util.List details) {
this.details = details;
return this;
}
public java.util.List getDetails() {
return this.details;
}
public StartProcessInstanceRequestFormComponentValuesDetails setExtValue(String extValue) {
this.extValue = extValue;
return this;
}
public String getExtValue() {
return this.extValue;
}
public StartProcessInstanceRequestFormComponentValuesDetails setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public StartProcessInstanceRequestFormComponentValuesDetails setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public StartProcessInstanceRequestFormComponentValuesDetails setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
public static class StartProcessInstanceRequestFormComponentValues extends TeaModel {
/**
* example:
* Phone
*/
@NameInMap("bizAlias")
public String bizAlias;
@NameInMap("componentType")
public String componentType;
@NameInMap("details")
public java.util.List details;
/**
* example:
* 总个数:1
*/
@NameInMap("extValue")
public String extValue;
/**
* example:
* PhoneField_IZI2LP8QF6O0
*/
@NameInMap("id")
public String id;
/**
* This parameter is required.
*
* example:
* PhoneField
*/
@NameInMap("name")
public String name;
/**
* This parameter is required.
*
* example:
* 123xxxxxxxx
*/
@NameInMap("value")
public String value;
public static StartProcessInstanceRequestFormComponentValues build(java.util.Map map) throws Exception {
StartProcessInstanceRequestFormComponentValues self = new StartProcessInstanceRequestFormComponentValues();
return TeaModel.build(map, self);
}
public StartProcessInstanceRequestFormComponentValues setBizAlias(String bizAlias) {
this.bizAlias = bizAlias;
return this;
}
public String getBizAlias() {
return this.bizAlias;
}
public StartProcessInstanceRequestFormComponentValues setComponentType(String componentType) {
this.componentType = componentType;
return this;
}
public String getComponentType() {
return this.componentType;
}
public StartProcessInstanceRequestFormComponentValues setDetails(java.util.List details) {
this.details = details;
return this;
}
public java.util.List getDetails() {
return this.details;
}
public StartProcessInstanceRequestFormComponentValues setExtValue(String extValue) {
this.extValue = extValue;
return this;
}
public String getExtValue() {
return this.extValue;
}
public StartProcessInstanceRequestFormComponentValues setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public StartProcessInstanceRequestFormComponentValues setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public StartProcessInstanceRequestFormComponentValues setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
public static class StartProcessInstanceRequestTargetSelectActioners extends TeaModel {
/**
* example:
* manual_1918_5cd3_5e19_6a98
*/
@NameInMap("actionerKey")
public String actionerKey;
@NameInMap("actionerUserIds")
public java.util.List actionerUserIds;
public static StartProcessInstanceRequestTargetSelectActioners build(java.util.Map map) throws Exception {
StartProcessInstanceRequestTargetSelectActioners self = new StartProcessInstanceRequestTargetSelectActioners();
return TeaModel.build(map, self);
}
public StartProcessInstanceRequestTargetSelectActioners setActionerKey(String actionerKey) {
this.actionerKey = actionerKey;
return this;
}
public String getActionerKey() {
return this.actionerKey;
}
public StartProcessInstanceRequestTargetSelectActioners setActionerUserIds(java.util.List actionerUserIds) {
this.actionerUserIds = actionerUserIds;
return this;
}
public java.util.List getActionerUserIds() {
return this.actionerUserIds;
}
}
}