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.
1439 1440 1441 1442 |
# File 'lib/v20181119/models.rb', line 1439 def initialize(classifydetectinfos=nil, requestid=nil) @ClassifyDetectInfos = classifydetectinfos @RequestId = requestid end |
Instance Attribute Details
#ClassifyDetectInfos ⇒ Object
1437 1438 1439 |
# File 'lib/v20181119/models.rb', line 1437 def ClassifyDetectInfos @ClassifyDetectInfos end |
#RequestId ⇒ Object
1437 1438 1439 |
# File 'lib/v20181119/models.rb', line 1437 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 |
# File 'lib/v20181119/models.rb', line 1444 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 |