class TencentCloud::Ess::V20201111::Intention

注: ‘视频认证为白名单功能,使用前请联系对接的客户经理沟通。`

def deserialize(params)

def deserialize(params)
  @IntentionType = params['IntentionType']
  unless params['IntentionQuestions'].nil?
    @IntentionQuestions = []
    params['IntentionQuestions'].each do |i|
      intentionquestion_tmp = IntentionQuestion.new
      intentionquestion_tmp.deserialize(i)
      @IntentionQuestions << intentionquestion_tmp
    end
  end
  unless params['IntentionActions'].nil?
    @IntentionActions = []
    params['IntentionActions'].each do |i|
      intentionaction_tmp = IntentionAction.new
      intentionaction_tmp.deserialize(i)
      @IntentionActions << intentionaction_tmp
    end
  end
end

def initialize(intentiontype=nil, intentionquestions=nil, intentionactions=nil)

def initialize(intentiontype=nil, intentionquestions=nil, intentionactions=nil)
  @IntentionType = intentiontype
  @IntentionQuestions = intentionquestions
  @IntentionActions = intentionactions
end