
com.tencentcloudapi.ess.v20201111.models.CreateMultiFlowSignQRCodeRequest Maven / Gradle / Ivy
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.ess.v20201111.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class CreateMultiFlowSignQRCodeRequest extends AbstractModel{
/**
* 模板ID
*/
@SerializedName("TemplateId")
@Expose
private String TemplateId;
/**
* 签署流程名称,最大长度不超过200字符
*/
@SerializedName("FlowName")
@Expose
private String FlowName;
/**
* 用户信息
*/
@SerializedName("Operator")
@Expose
private UserInfo Operator;
/**
* 应用信息
*/
@SerializedName("Agent")
@Expose
private Agent Agent;
/**
* 回调地址,最大长度1000字符串
回调时机:
用户通过签署二维码发起签署流程时,企业额度不足导致失败
*/
@SerializedName("CallbackUrl")
@Expose
private String CallbackUrl;
/**
* 最大可发起签署流程份数,默认5份
发起流程数量超过此上限后二维码自动失效
*/
@SerializedName("MaxFlowNum")
@Expose
private Long MaxFlowNum;
/**
* 签署流程有效天数 默认7天 最高设置不超过30天
*/
@SerializedName("FlowEffectiveDay")
@Expose
private Long FlowEffectiveDay;
/**
* 二维码有效天数 默认7天 最高设置不超过90天
*/
@SerializedName("QrEffectiveDay")
@Expose
private Long QrEffectiveDay;
/**
* 限制二维码用户条件
*/
@SerializedName("ApproverRestrictions")
@Expose
private ApproverRestriction ApproverRestrictions;
/**
* Get 模板ID
* @return TemplateId 模板ID
*/
public String getTemplateId() {
return this.TemplateId;
}
/**
* Set 模板ID
* @param TemplateId 模板ID
*/
public void setTemplateId(String TemplateId) {
this.TemplateId = TemplateId;
}
/**
* Get 签署流程名称,最大长度不超过200字符
* @return FlowName 签署流程名称,最大长度不超过200字符
*/
public String getFlowName() {
return this.FlowName;
}
/**
* Set 签署流程名称,最大长度不超过200字符
* @param FlowName 签署流程名称,最大长度不超过200字符
*/
public void setFlowName(String FlowName) {
this.FlowName = FlowName;
}
/**
* Get 用户信息
* @return Operator 用户信息
*/
public UserInfo getOperator() {
return this.Operator;
}
/**
* Set 用户信息
* @param Operator 用户信息
*/
public void setOperator(UserInfo Operator) {
this.Operator = Operator;
}
/**
* Get 应用信息
* @return Agent 应用信息
*/
public Agent getAgent() {
return this.Agent;
}
/**
* Set 应用信息
* @param Agent 应用信息
*/
public void setAgent(Agent Agent) {
this.Agent = Agent;
}
/**
* Get 回调地址,最大长度1000字符串
回调时机:
用户通过签署二维码发起签署流程时,企业额度不足导致失败
* @return CallbackUrl 回调地址,最大长度1000字符串
回调时机:
用户通过签署二维码发起签署流程时,企业额度不足导致失败
*/
public String getCallbackUrl() {
return this.CallbackUrl;
}
/**
* Set 回调地址,最大长度1000字符串
回调时机:
用户通过签署二维码发起签署流程时,企业额度不足导致失败
* @param CallbackUrl 回调地址,最大长度1000字符串
回调时机:
用户通过签署二维码发起签署流程时,企业额度不足导致失败
*/
public void setCallbackUrl(String CallbackUrl) {
this.CallbackUrl = CallbackUrl;
}
/**
* Get 最大可发起签署流程份数,默认5份
发起流程数量超过此上限后二维码自动失效
* @return MaxFlowNum 最大可发起签署流程份数,默认5份
发起流程数量超过此上限后二维码自动失效
*/
public Long getMaxFlowNum() {
return this.MaxFlowNum;
}
/**
* Set 最大可发起签署流程份数,默认5份
发起流程数量超过此上限后二维码自动失效
* @param MaxFlowNum 最大可发起签署流程份数,默认5份
发起流程数量超过此上限后二维码自动失效
*/
public void setMaxFlowNum(Long MaxFlowNum) {
this.MaxFlowNum = MaxFlowNum;
}
/**
* Get 签署流程有效天数 默认7天 最高设置不超过30天
* @return FlowEffectiveDay 签署流程有效天数 默认7天 最高设置不超过30天
*/
public Long getFlowEffectiveDay() {
return this.FlowEffectiveDay;
}
/**
* Set 签署流程有效天数 默认7天 最高设置不超过30天
* @param FlowEffectiveDay 签署流程有效天数 默认7天 最高设置不超过30天
*/
public void setFlowEffectiveDay(Long FlowEffectiveDay) {
this.FlowEffectiveDay = FlowEffectiveDay;
}
/**
* Get 二维码有效天数 默认7天 最高设置不超过90天
* @return QrEffectiveDay 二维码有效天数 默认7天 最高设置不超过90天
*/
public Long getQrEffectiveDay() {
return this.QrEffectiveDay;
}
/**
* Set 二维码有效天数 默认7天 最高设置不超过90天
* @param QrEffectiveDay 二维码有效天数 默认7天 最高设置不超过90天
*/
public void setQrEffectiveDay(Long QrEffectiveDay) {
this.QrEffectiveDay = QrEffectiveDay;
}
/**
* Get 限制二维码用户条件
* @return ApproverRestrictions 限制二维码用户条件
*/
public ApproverRestriction getApproverRestrictions() {
return this.ApproverRestrictions;
}
/**
* Set 限制二维码用户条件
* @param ApproverRestrictions 限制二维码用户条件
*/
public void setApproverRestrictions(ApproverRestriction ApproverRestrictions) {
this.ApproverRestrictions = ApproverRestrictions;
}
public CreateMultiFlowSignQRCodeRequest() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public CreateMultiFlowSignQRCodeRequest(CreateMultiFlowSignQRCodeRequest source) {
if (source.TemplateId != null) {
this.TemplateId = new String(source.TemplateId);
}
if (source.FlowName != null) {
this.FlowName = new String(source.FlowName);
}
if (source.Operator != null) {
this.Operator = new UserInfo(source.Operator);
}
if (source.Agent != null) {
this.Agent = new Agent(source.Agent);
}
if (source.CallbackUrl != null) {
this.CallbackUrl = new String(source.CallbackUrl);
}
if (source.MaxFlowNum != null) {
this.MaxFlowNum = new Long(source.MaxFlowNum);
}
if (source.FlowEffectiveDay != null) {
this.FlowEffectiveDay = new Long(source.FlowEffectiveDay);
}
if (source.QrEffectiveDay != null) {
this.QrEffectiveDay = new Long(source.QrEffectiveDay);
}
if (source.ApproverRestrictions != null) {
this.ApproverRestrictions = new ApproverRestriction(source.ApproverRestrictions);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "TemplateId", this.TemplateId);
this.setParamSimple(map, prefix + "FlowName", this.FlowName);
this.setParamObj(map, prefix + "Operator.", this.Operator);
this.setParamObj(map, prefix + "Agent.", this.Agent);
this.setParamSimple(map, prefix + "CallbackUrl", this.CallbackUrl);
this.setParamSimple(map, prefix + "MaxFlowNum", this.MaxFlowNum);
this.setParamSimple(map, prefix + "FlowEffectiveDay", this.FlowEffectiveDay);
this.setParamSimple(map, prefix + "QrEffectiveDay", this.QrEffectiveDay);
this.setParamObj(map, prefix + "ApproverRestrictions.", this.ApproverRestrictions);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy