class TencentCloud::Ticm::V20181127::TerrorismResult
暴恐识别结果。
def deserialize(params)
def deserialize(params) @Code = params['Code'] @Msg = params['Msg'] @Suggestion = params['Suggestion'] @Confidence = params['Confidence'] unless params['FaceResults'].nil? @FaceResults = [] params['FaceResults'].each do |i| faceresult_tmp = FaceResult.new faceresult_tmp.deserialize(i) @FaceResults << faceresult_tmp end end @AdvancedInfo = params['AdvancedInfo'] @Type = params['Type'] end
def initialize(code=nil, msg=nil, suggestion=nil, confidence=nil, faceresults=nil, advancedinfo=nil, type=nil)
def initialize(code=nil, msg=nil, suggestion=nil, confidence=nil, faceresults=nil, advancedinfo=nil, type=nil) @Code = code @Msg = msg @Suggestion = suggestion @Confidence = confidence @FaceResults = faceresults @AdvancedInfo = advancedinfo @Type = type end