com.aliyun.dingtalkesign_2_0.models.ProcessStartRequest 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.dingtalkesign_2_0.models;
import com.aliyun.tea.*;
public class ProcessStartRequest extends TeaModel {
@NameInMap("autoStart")
public String autoStart;
@NameInMap("ccs")
public java.util.List ccs;
/**
* This parameter is required.
*/
@NameInMap("files")
public java.util.List files;
/**
* This parameter is required.
*/
@NameInMap("initiatorUserId")
public String initiatorUserId;
@NameInMap("participants")
public java.util.List participants;
@NameInMap("redirectUrl")
public String redirectUrl;
@NameInMap("sourceInfo")
public ProcessStartRequestSourceInfo sourceInfo;
@NameInMap("taskName")
public String taskName;
public static ProcessStartRequest build(java.util.Map map) throws Exception {
ProcessStartRequest self = new ProcessStartRequest();
return TeaModel.build(map, self);
}
public ProcessStartRequest setAutoStart(String autoStart) {
this.autoStart = autoStart;
return this;
}
public String getAutoStart() {
return this.autoStart;
}
public ProcessStartRequest setCcs(java.util.List ccs) {
this.ccs = ccs;
return this;
}
public java.util.List getCcs() {
return this.ccs;
}
public ProcessStartRequest setFiles(java.util.List files) {
this.files = files;
return this;
}
public java.util.List getFiles() {
return this.files;
}
public ProcessStartRequest setInitiatorUserId(String initiatorUserId) {
this.initiatorUserId = initiatorUserId;
return this;
}
public String getInitiatorUserId() {
return this.initiatorUserId;
}
public ProcessStartRequest setParticipants(java.util.List participants) {
this.participants = participants;
return this;
}
public java.util.List getParticipants() {
return this.participants;
}
public ProcessStartRequest setRedirectUrl(String redirectUrl) {
this.redirectUrl = redirectUrl;
return this;
}
public String getRedirectUrl() {
return this.redirectUrl;
}
public ProcessStartRequest setSourceInfo(ProcessStartRequestSourceInfo sourceInfo) {
this.sourceInfo = sourceInfo;
return this;
}
public ProcessStartRequestSourceInfo getSourceInfo() {
return this.sourceInfo;
}
public ProcessStartRequest setTaskName(String taskName) {
this.taskName = taskName;
return this;
}
public String getTaskName() {
return this.taskName;
}
public static class ProcessStartRequestCcs extends TeaModel {
@NameInMap("account")
public String account;
@NameInMap("accountName")
public String accountName;
/**
* This parameter is required.
*/
@NameInMap("accountType")
public String accountType;
@NameInMap("orgName")
public String orgName;
@NameInMap("userId")
public String userId;
public static ProcessStartRequestCcs build(java.util.Map map) throws Exception {
ProcessStartRequestCcs self = new ProcessStartRequestCcs();
return TeaModel.build(map, self);
}
public ProcessStartRequestCcs setAccount(String account) {
this.account = account;
return this;
}
public String getAccount() {
return this.account;
}
public ProcessStartRequestCcs setAccountName(String accountName) {
this.accountName = accountName;
return this;
}
public String getAccountName() {
return this.accountName;
}
public ProcessStartRequestCcs setAccountType(String accountType) {
this.accountType = accountType;
return this;
}
public String getAccountType() {
return this.accountType;
}
public ProcessStartRequestCcs setOrgName(String orgName) {
this.orgName = orgName;
return this;
}
public String getOrgName() {
return this.orgName;
}
public ProcessStartRequestCcs setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
public static class ProcessStartRequestFiles extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("fileId")
public String fileId;
/**
* This parameter is required.
*/
@NameInMap("fileName")
public String fileName;
public static ProcessStartRequestFiles build(java.util.Map map) throws Exception {
ProcessStartRequestFiles self = new ProcessStartRequestFiles();
return TeaModel.build(map, self);
}
public ProcessStartRequestFiles setFileId(String fileId) {
this.fileId = fileId;
return this;
}
public String getFileId() {
return this.fileId;
}
public ProcessStartRequestFiles setFileName(String fileName) {
this.fileName = fileName;
return this;
}
public String getFileName() {
return this.fileName;
}
}
public static class ProcessStartRequestParticipants extends TeaModel {
@NameInMap("account")
public String account;
@NameInMap("accountName")
public String accountName;
/**
* This parameter is required.
*/
@NameInMap("accountType")
public String accountType;
@NameInMap("orgName")
public String orgName;
@NameInMap("signRequirements")
public String signRequirements;
@NameInMap("userId")
public String userId;
public static ProcessStartRequestParticipants build(java.util.Map map) throws Exception {
ProcessStartRequestParticipants self = new ProcessStartRequestParticipants();
return TeaModel.build(map, self);
}
public ProcessStartRequestParticipants setAccount(String account) {
this.account = account;
return this;
}
public String getAccount() {
return this.account;
}
public ProcessStartRequestParticipants setAccountName(String accountName) {
this.accountName = accountName;
return this;
}
public String getAccountName() {
return this.accountName;
}
public ProcessStartRequestParticipants setAccountType(String accountType) {
this.accountType = accountType;
return this;
}
public String getAccountType() {
return this.accountType;
}
public ProcessStartRequestParticipants setOrgName(String orgName) {
this.orgName = orgName;
return this;
}
public String getOrgName() {
return this.orgName;
}
public ProcessStartRequestParticipants setSignRequirements(String signRequirements) {
this.signRequirements = signRequirements;
return this;
}
public String getSignRequirements() {
return this.signRequirements;
}
public ProcessStartRequestParticipants setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
public static class ProcessStartRequestSourceInfo extends TeaModel {
@NameInMap("mobileUrl")
public String mobileUrl;
@NameInMap("pcUrl")
public String pcUrl;
@NameInMap("showText")
public String showText;
public static ProcessStartRequestSourceInfo build(java.util.Map map) throws Exception {
ProcessStartRequestSourceInfo self = new ProcessStartRequestSourceInfo();
return TeaModel.build(map, self);
}
public ProcessStartRequestSourceInfo setMobileUrl(String mobileUrl) {
this.mobileUrl = mobileUrl;
return this;
}
public String getMobileUrl() {
return this.mobileUrl;
}
public ProcessStartRequestSourceInfo setPcUrl(String pcUrl) {
this.pcUrl = pcUrl;
return this;
}
public String getPcUrl() {
return this.pcUrl;
}
public ProcessStartRequestSourceInfo setShowText(String showText) {
this.showText = showText;
return this;
}
public String getShowText() {
return this.showText;
}
}
}