class TencentCloud::Ess::V20201111::CreateFlowByFilesRequest

CreateFlowByFiles请求参数结构体

def deserialize(params)

def deserialize(params)
  unless params['Operator'].nil?
    @Operator = UserInfo.new
    @Operator.deserialize(params['Operator'])
  end
  @FlowName = params['FlowName']
  unless params['Approvers'].nil?
    @Approvers = []
    params['Approvers'].each do |i|
      approverinfo_tmp = ApproverInfo.new
      approverinfo_tmp.deserialize(i)
      @Approvers << approverinfo_tmp
    end
  end
  @FileIds = params['FileIds']
  @FlowDescription = params['FlowDescription']
  @FlowType = params['FlowType']
  unless params['Components'].nil?
    @Components = []
    params['Components'].each do |i|
      component_tmp = Component.new
      component_tmp.deserialize(i)
      @Components << component_tmp
    end
  end
  unless params['CcInfos'].nil?
    @CcInfos = []
    params['CcInfos'].each do |i|
      ccinfo_tmp = CcInfo.new
      ccinfo_tmp.deserialize(i)
      @CcInfos << ccinfo_tmp
    end
  end
  @CcNotifyType = params['CcNotifyType']
  @NeedPreview = params['NeedPreview']
  @PreviewType = params['PreviewType']
  @Deadline = params['Deadline']
  @Unordered = params['Unordered']
  @UserData = params['UserData']
  @RemindedOn = params['RemindedOn']
  @ApproverVerifyType = params['ApproverVerifyType']
  @SignBeanTag = params['SignBeanTag']
  @CustomShowMap = params['CustomShowMap']
  unless params['Agent'].nil?
    @Agent = Agent.new
    @Agent.deserialize(params['Agent'])
  end
  @AutoSignScene = params['AutoSignScene']
  @NeedSignReview = params['NeedSignReview']
  @FlowDisplayType = params['FlowDisplayType']
  @OpenDynamicSignFlow = params['OpenDynamicSignFlow']
end

def initialize(operator=nil, flowname=nil, approvers=nil, fileids=nil, flowdescription=nil, flowtype=nil, components=nil, ccinfos=nil, ccnotifytype=nil, needpreview=nil, previewtype=nil, deadline=nil, unordered=nil, userdata=nil, remindedon=nil, approververifytype=nil, signbeantag=nil, customshowmap=nil, agent=nil, autosignscene=nil, needsignreview=nil, flowdisplaytype=nil, opendynamicsignflow=nil)

def initialize(operator=nil, flowname=nil, approvers=nil, fileids=nil, flowdescription=nil, flowtype=nil, components=nil, ccinfos=nil, ccnotifytype=nil, needpreview=nil, previewtype=nil, deadline=nil, unordered=nil, userdata=nil, remindedon=nil, approververifytype=nil, signbeantag=nil, customshowmap=nil, agent=nil, autosignscene=nil, needsignreview=nil, flowdisplaytype=nil, opendynamicsignflow=nil)
  @Operator = operator
  @FlowName = flowname
  @Approvers = approvers
  @FileIds = fileids
  @FlowDescription = flowdescription
  @FlowType = flowtype
  @Components = components
  @CcInfos = ccinfos
  @CcNotifyType = ccnotifytype
  @NeedPreview = needpreview
  @PreviewType = previewtype
  @Deadline = deadline
  @Unordered = unordered
  @UserData = userdata
  @RemindedOn = remindedon
  @ApproverVerifyType = approververifytype
  @SignBeanTag = signbeantag
  @CustomShowMap = customshowmap
  @Agent = agent
  @AutoSignScene = autosignscene
  @NeedSignReview = needsignreview
  @FlowDisplayType = flowdisplaytype
  @OpenDynamicSignFlow = opendynamicsignflow
end