class TencentCloud::Ess::V20201111::ApproverInfo

合同参与者信息。

def deserialize(params)

def deserialize(params)
  @ApproverType = params['ApproverType']
  @ApproverName = params['ApproverName']
  @ApproverMobile = params['ApproverMobile']
  @OrganizationName = params['OrganizationName']
  unless params['SignComponents'].nil?
    @SignComponents = []
    params['SignComponents'].each do |i|
      component_tmp = Component.new
      component_tmp.deserialize(i)
      @SignComponents << component_tmp
    end
  end
  @ApproverIdCardType = params['ApproverIdCardType']
  @ApproverIdCardNumber = params['ApproverIdCardNumber']
  @NotifyType = params['NotifyType']
  @ApproverRole = params['ApproverRole']
  @ApproverRoleName = params['ApproverRoleName']
  @VerifyChannel = params['VerifyChannel']
  @PreReadTime = params['PreReadTime']
  @UserId = params['UserId']
  @ApproverSource = params['ApproverSource']
  @CustomApproverTag = params['CustomApproverTag']
  unless params['ApproverOption'].nil?
    @ApproverOption = ApproverOption.new
    @ApproverOption.deserialize(params['ApproverOption'])
  end
  @ApproverVerifyTypes = params['ApproverVerifyTypes']
  @ApproverSignTypes = params['ApproverSignTypes']
  @ApproverNeedSignReview = params['ApproverNeedSignReview']
  unless params['AddSignComponentsLimits'].nil?
    @AddSignComponentsLimits = []
    params['AddSignComponentsLimits'].each do |i|
      componentlimit_tmp = ComponentLimit.new
      componentlimit_tmp.deserialize(i)
      @AddSignComponentsLimits << componentlimit_tmp
    end
  end
  @SignInstructionContent = params['SignInstructionContent']
  @Deadline = params['Deadline']
  unless params['Components'].nil?
    @Components = []
    params['Components'].each do |i|
      component_tmp = Component.new
      component_tmp.deserialize(i)
      @Components << component_tmp
    end
  end
  @SignEndpoints = params['SignEndpoints']
end

def initialize(approvertype=nil, approvername=nil, approvermobile=nil, organizationname=nil, signcomponents=nil, approveridcardtype=nil, approveridcardnumber=nil, notifytype=nil, approverrole=nil, approverrolename=nil, verifychannel=nil, prereadtime=nil, userid=nil, approversource=nil, customapprovertag=nil, approveroption=nil, approververifytypes=nil, approversigntypes=nil, approverneedsignreview=nil, addsigncomponentslimits=nil, signinstructioncontent=nil, deadline=nil, components=nil, signendpoints=nil)

def initialize(approvertype=nil, approvername=nil, approvermobile=nil, organizationname=nil, signcomponents=nil, approveridcardtype=nil, approveridcardnumber=nil, notifytype=nil, approverrole=nil, approverrolename=nil, verifychannel=nil, prereadtime=nil, userid=nil, approversource=nil, customapprovertag=nil, approveroption=nil, approververifytypes=nil, approversigntypes=nil, approverneedsignreview=nil, addsigncomponentslimits=nil, signinstructioncontent=nil, deadline=nil, components=nil, signendpoints=nil)
  @ApproverType = approvertype
  @ApproverName = approvername
  @ApproverMobile = approvermobile
  @OrganizationName = organizationname
  @SignComponents = signcomponents
  @ApproverIdCardType = approveridcardtype
  @ApproverIdCardNumber = approveridcardnumber
  @NotifyType = notifytype
  @ApproverRole = approverrole
  @ApproverRoleName = approverrolename
  @VerifyChannel = verifychannel
  @PreReadTime = prereadtime
  @UserId = userid
  @ApproverSource = approversource
  @CustomApproverTag = customapprovertag
  @ApproverOption = approveroption
  @ApproverVerifyTypes = approververifytypes
  @ApproverSignTypes = approversigntypes
  @ApproverNeedSignReview = approverneedsignreview
  @AddSignComponentsLimits = addsigncomponentslimits
  @SignInstructionContent = signinstructioncontent
  @Deadline = deadline
  @Components = components
  @SignEndpoints = signendpoints
end