com.aliyun.dingtalkworkflow_1_0.models.FormDataSource 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
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkworkflow_1_0.models;
import com.aliyun.tea.*;
public class FormDataSource extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("target")
public FormDataSourceTarget target;
/**
* example:
* form
*/
@NameInMap("type")
public String type;
public static FormDataSource build(java.util.Map map) throws Exception {
FormDataSource self = new FormDataSource();
return TeaModel.build(map, self);
}
public FormDataSource setTarget(FormDataSourceTarget target) {
this.target = target;
return this;
}
public FormDataSourceTarget getTarget() {
return this.target;
}
public FormDataSource setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public static class FormDataSourceTarget extends TeaModel {
/**
* This parameter is required.
*
* example:
* 0
*/
@NameInMap("appType")
public Integer appType;
/**
* example:
* SWAPP-abcd
*/
@NameInMap("appUuid")
public String appUuid;
@NameInMap("bizType")
public String bizType;
/**
* This parameter is required.
*/
@NameInMap("formCode")
public String formCode;
public static FormDataSourceTarget build(java.util.Map map) throws Exception {
FormDataSourceTarget self = new FormDataSourceTarget();
return TeaModel.build(map, self);
}
public FormDataSourceTarget setAppType(Integer appType) {
this.appType = appType;
return this;
}
public Integer getAppType() {
return this.appType;
}
public FormDataSourceTarget setAppUuid(String appUuid) {
this.appUuid = appUuid;
return this;
}
public String getAppUuid() {
return this.appUuid;
}
public FormDataSourceTarget setBizType(String bizType) {
this.bizType = bizType;
return this;
}
public String getBizType() {
return this.bizType;
}
public FormDataSourceTarget setFormCode(String formCode) {
this.formCode = formCode;
return this;
}
public String getFormCode() {
return this.formCode;
}
}
}