com.aliyun.dingtalkyida_2_0.models.StartInstanceRequest 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.dingtalkyida_2_0.models;
import com.aliyun.tea.*;
public class StartInstanceRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* APP_PBKT0MFBEBTDO8T7SLVP
*/
@NameInMap("appType")
public String appType;
/**
* example:
* 18295
*/
@NameInMap("departmentId")
public String departmentId;
/**
* This parameter is required.
*
* example:
* {"textField_jcpm6agt": "单行","employeeField_jcos0sar": ["workno"]}
*/
@NameInMap("formDataJson")
public String formDataJson;
/**
* This parameter is required.
*
* example:
* FORM-NJYJZELV8YZRDEI2N5IQ7L6VEDMR1VE9GMPCJB
*/
@NameInMap("formUuid")
public String formUuid;
/**
* example:
* zh_CN
*/
@NameInMap("language")
public String language;
/**
* example:
* TPROC--EF6Y4G8WO2FN0SUB43TDQ3CGC3FMFQ1G9400RCJ4
*/
@NameInMap("processCode")
public String processCode;
/**
* example:
* [{ "key": "__optionalApproval_node_ocltdztr2b1", "value": ["5014533041684350"] }, { "key": "__optionalApproval_node_ocltdztr2b3", "value": ["5014533041684350", "01536610064226180419"] }, { "key": "__optionalApproval_node_oclte07cwn1", "value": ["01432910392321237660"] }]
*/
@NameInMap("processData")
public String processData;
/**
* This parameter is required.
*
* example:
* hexxx
*/
@NameInMap("systemToken")
public String systemToken;
/**
* example:
* false
*/
@NameInMap("useAlias")
public Boolean useAlias;
/**
* This parameter is required.
*
* example:
* 1731234567
*/
@NameInMap("userId")
public String userId;
public static StartInstanceRequest build(java.util.Map map) throws Exception {
StartInstanceRequest self = new StartInstanceRequest();
return TeaModel.build(map, self);
}
public StartInstanceRequest setAppType(String appType) {
this.appType = appType;
return this;
}
public String getAppType() {
return this.appType;
}
public StartInstanceRequest setDepartmentId(String departmentId) {
this.departmentId = departmentId;
return this;
}
public String getDepartmentId() {
return this.departmentId;
}
public StartInstanceRequest setFormDataJson(String formDataJson) {
this.formDataJson = formDataJson;
return this;
}
public String getFormDataJson() {
return this.formDataJson;
}
public StartInstanceRequest setFormUuid(String formUuid) {
this.formUuid = formUuid;
return this;
}
public String getFormUuid() {
return this.formUuid;
}
public StartInstanceRequest setLanguage(String language) {
this.language = language;
return this;
}
public String getLanguage() {
return this.language;
}
public StartInstanceRequest setProcessCode(String processCode) {
this.processCode = processCode;
return this;
}
public String getProcessCode() {
return this.processCode;
}
public StartInstanceRequest setProcessData(String processData) {
this.processData = processData;
return this;
}
public String getProcessData() {
return this.processData;
}
public StartInstanceRequest setSystemToken(String systemToken) {
this.systemToken = systemToken;
return this;
}
public String getSystemToken() {
return this.systemToken;
}
public StartInstanceRequest setUseAlias(Boolean useAlias) {
this.useAlias = useAlias;
return this;
}
public Boolean getUseAlias() {
return this.useAlias;
}
public StartInstanceRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}