class TencentCloud::Ess::V20201111::CreateMultiFlowSignQRCodeRequest
CreateMultiFlowSignQRCode请求参数结构体
def deserialize(params)
def deserialize(params) unless params['Operator'].nil? @Operator = UserInfo.new @Operator.deserialize(params['Operator']) end @TemplateId = params['TemplateId'] @FlowName = params['FlowName'] @MaxFlowNum = params['MaxFlowNum'] @QrEffectiveDay = params['QrEffectiveDay'] @FlowEffectiveDay = params['FlowEffectiveDay'] unless params['Restrictions'].nil? @Restrictions = [] params['Restrictions'].each do |i| approverrestriction_tmp = ApproverRestriction.new approverrestriction_tmp.deserialize(i) @Restrictions << approverrestriction_tmp end end @UserData = params['UserData'] @CallbackUrl = params['CallbackUrl'] unless params['Agent'].nil? @Agent = Agent.new @Agent.deserialize(params['Agent']) end unless params['ApproverRestrictions'].nil? @ApproverRestrictions = ApproverRestriction.new @ApproverRestrictions.deserialize(params['ApproverRestrictions']) end unless params['ApproverComponentLimitTypes'].nil? @ApproverComponentLimitTypes = [] params['ApproverComponentLimitTypes'].each do |i| approvercomponentlimittype_tmp = ApproverComponentLimitType.new approvercomponentlimittype_tmp.deserialize(i) @ApproverComponentLimitTypes << approvercomponentlimittype_tmp end end @ForbidPersonalMultipleSign = params['ForbidPersonalMultipleSign'] @FlowNameAppendScannerInfo = params['FlowNameAppendScannerInfo'] end
def initialize(operator=nil, templateid=nil, flowname=nil, maxflownum=nil, qreffectiveday=nil, floweffectiveday=nil, restrictions=nil, userdata=nil, callbackurl=nil, agent=nil, approverrestrictions=nil, approvercomponentlimittypes=nil, forbidpersonalmultiplesign=nil, flownameappendscannerinfo=nil)
def initialize(operator=nil, templateid=nil, flowname=nil, maxflownum=nil, qreffectiveday=nil, floweffectiveday=nil, restrictions=nil, userdata=nil, callbackurl=nil, agent=nil, approverrestrictions=nil, approvercomponentlimittypes=nil, forbidpersonalmultiplesign=nil, flownameappendscannerinfo=nil) @Operator = operator @TemplateId = templateid @FlowName = flowname @MaxFlowNum = maxflownum @QrEffectiveDay = qreffectiveday @FlowEffectiveDay = floweffectiveday @Restrictions = restrictions @UserData = userdata @CallbackUrl = callbackurl @Agent = agent @ApproverRestrictions = approverrestrictions @ApproverComponentLimitTypes = approvercomponentlimittypes @ForbidPersonalMultipleSign = forbidpersonalmultiplesign @FlowNameAppendScannerInfo = flownameappendscannerinfo end