Class: TencentCloud::Ocr::V20181119::ClassifyDetectOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::ClassifyDetectOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
ClassifyDetectOCR返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(classifydetectinfos = nil, requestid = nil) ⇒ ClassifyDetectOCRResponse
constructor
A new instance of ClassifyDetectOCRResponse.
Constructor Details
#initialize(classifydetectinfos = nil, requestid = nil) ⇒ ClassifyDetectOCRResponse
Returns a new instance of ClassifyDetectOCRResponse.
1337 1338 1339 1340 |
# File 'lib/v20181119/models.rb', line 1337 def initialize(classifydetectinfos=nil, requestid=nil) @ClassifyDetectInfos = classifydetectinfos @RequestId = requestid end |
Instance Attribute Details
#ClassifyDetectInfos ⇒ Object
1335 1336 1337 |
# File 'lib/v20181119/models.rb', line 1335 def ClassifyDetectInfos @ClassifyDetectInfos end |
#RequestId ⇒ Object
1335 1336 1337 |
# File 'lib/v20181119/models.rb', line 1335 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 |
# File 'lib/v20181119/models.rb', line 1342 def deserialize(params) unless params['ClassifyDetectInfos'].nil? @ClassifyDetectInfos = [] params['ClassifyDetectInfos'].each do |i| classifydetectinfo_tmp = ClassifyDetectInfo.new classifydetectinfo_tmp.deserialize(i) @ClassifyDetectInfos << classifydetectinfo_tmp end end @RequestId = params['RequestId'] end |