com.aliyun.dingtalkworkflow_1_0.models.CopyProcessRequest 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 CopyProcessRequest extends TeaModel {
@NameInMap("copyOptions")
public CopyProcessRequestCopyOptions copyOptions;
/**
* This parameter is required.
*
* example:
* dingabc
*/
@NameInMap("sourceCorpId")
public String sourceCorpId;
/**
* This parameter is required.
*/
@NameInMap("sourceProcessVOList")
public java.util.List sourceProcessVOList;
public static CopyProcessRequest build(java.util.Map map) throws Exception {
CopyProcessRequest self = new CopyProcessRequest();
return TeaModel.build(map, self);
}
public CopyProcessRequest setCopyOptions(CopyProcessRequestCopyOptions copyOptions) {
this.copyOptions = copyOptions;
return this;
}
public CopyProcessRequestCopyOptions getCopyOptions() {
return this.copyOptions;
}
public CopyProcessRequest setSourceCorpId(String sourceCorpId) {
this.sourceCorpId = sourceCorpId;
return this;
}
public String getSourceCorpId() {
return this.sourceCorpId;
}
public CopyProcessRequest setSourceProcessVOList(java.util.List sourceProcessVOList) {
this.sourceProcessVOList = sourceProcessVOList;
return this;
}
public java.util.List getSourceProcessVOList() {
return this.sourceProcessVOList;
}
public static class CopyProcessRequestCopyOptions extends TeaModel {
/**
* example:
* 1
*/
@NameInMap("copyType")
public Integer copyType;
public static CopyProcessRequestCopyOptions build(java.util.Map map) throws Exception {
CopyProcessRequestCopyOptions self = new CopyProcessRequestCopyOptions();
return TeaModel.build(map, self);
}
public CopyProcessRequestCopyOptions setCopyType(Integer copyType) {
this.copyType = copyType;
return this;
}
public Integer getCopyType() {
return this.copyType;
}
}
public static class CopyProcessRequestSourceProcessVOList extends TeaModel {
/**
* example:
* abc
*/
@NameInMap("bizType")
public String bizType;
/**
* example:
* abc
*/
@NameInMap("name")
public String name;
/**
* This parameter is required.
*
* example:
* proc-abc
*/
@NameInMap("processCode")
public String processCode;
public static CopyProcessRequestSourceProcessVOList build(java.util.Map map) throws Exception {
CopyProcessRequestSourceProcessVOList self = new CopyProcessRequestSourceProcessVOList();
return TeaModel.build(map, self);
}
public CopyProcessRequestSourceProcessVOList setBizType(String bizType) {
this.bizType = bizType;
return this;
}
public String getBizType() {
return this.bizType;
}
public CopyProcessRequestSourceProcessVOList setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public CopyProcessRequestSourceProcessVOList setProcessCode(String processCode) {
this.processCode = processCode;
return this;
}
public String getProcessCode() {
return this.processCode;
}
}
}