class TencentCloud::Ticm::V20181127::ImageModerationResponse

ImageModeration返回参数结构体

def deserialize(params)

def deserialize(params)
  @Suggestion = params['Suggestion']
  unless params['PornResult'].nil?
    @PornResult = PornResult.new
    @PornResult.deserialize(params['PornResult'])
  end
  unless params['TerrorismResult'].nil?
    @TerrorismResult = TerrorismResult.new
    @TerrorismResult.deserialize(params['TerrorismResult'])
  end
  unless params['PoliticsResult'].nil?
    @PoliticsResult = PoliticsResult.new
    @PoliticsResult.deserialize(params['PoliticsResult'])
  end
  @Extra = params['Extra']
  unless params['DisgustResult'].nil?
    @DisgustResult = DisgustResult.new
    @DisgustResult.deserialize(params['DisgustResult'])
  end
  @RequestId = params['RequestId']
end

def initialize(suggestion=nil, pornresult=nil, terrorismresult=nil, politicsresult=nil, extra=nil, disgustresult=nil, requestid=nil)

def initialize(suggestion=nil, pornresult=nil, terrorismresult=nil, politicsresult=nil, extra=nil, disgustresult=nil, requestid=nil)
  @Suggestion = suggestion
  @PornResult = pornresult
  @TerrorismResult = terrorismresult
  @PoliticsResult = politicsresult
  @Extra = extra
  @DisgustResult = disgustresult
  @RequestId = requestid
end