class TencentCloud::Ess::V20201111::CreateFlowByFilesRequest

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