class TencentCloud::Ocr::V20181119::AdvertiseOCRResponse
AdvertiseOCR返回参数结构体
def deserialize(params)
def deserialize(params) unless params['TextDetections'].nil? @TextDetections = [] params['TextDetections'].each do |i| advertisetextdetection_tmp = AdvertiseTextDetection.new advertisetextdetection_tmp.deserialize(i) @TextDetections << advertisetextdetection_tmp end end @RequestId = params['RequestId'] end
def initialize(textdetections=nil, requestid=nil)
def initialize(textdetections=nil, requestid=nil) @TextDetections = textdetections @RequestId = requestid end