Class: TencentCloud::Ocr::V20181119::BankSlipOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::BankSlipOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
BankSlipOCR返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(bankslipinfos = nil, angle = nil, requestid = nil) ⇒ BankSlipOCRResponse
constructor
A new instance of BankSlipOCRResponse.
Constructor Details
#initialize(bankslipinfos = nil, angle = nil, requestid = nil) ⇒ BankSlipOCRResponse
Returns a new instance of BankSlipOCRResponse.
607 608 609 610 611 |
# File 'lib/v20181119/models.rb', line 607 def initialize(bankslipinfos=nil, angle=nil, requestid=nil) @BankSlipInfos = bankslipinfos @Angle = angle @RequestId = requestid end |
Instance Attribute Details
#Angle ⇒ Object
605 606 607 |
# File 'lib/v20181119/models.rb', line 605 def Angle @Angle end |
#BankSlipInfos ⇒ Object
605 606 607 |
# File 'lib/v20181119/models.rb', line 605 def BankSlipInfos @BankSlipInfos end |
#RequestId ⇒ Object
605 606 607 |
# File 'lib/v20181119/models.rb', line 605 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
613 614 615 616 617 618 619 620 621 622 623 624 |
# File 'lib/v20181119/models.rb', line 613 def deserialize(params) unless params['BankSlipInfos'].nil? @BankSlipInfos = [] params['BankSlipInfos'].each do |i| bankslipinfo_tmp = BankSlipInfo.new bankslipinfo_tmp.deserialize(i) @BankSlipInfos << bankslipinfo_tmp end end @Angle = params['Angle'] @RequestId = params['RequestId'] end |