Class: TencentCloud::Ocr::V20181119::TollInvoiceOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::TollInvoiceOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
TollInvoiceOCR返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(tollinvoiceinfos = nil, angle = nil, requestid = nil) ⇒ TollInvoiceOCRResponse
constructor
A new instance of TollInvoiceOCRResponse.
Constructor Details
#initialize(tollinvoiceinfos = nil, angle = nil, requestid = nil) ⇒ TollInvoiceOCRResponse
Returns a new instance of TollInvoiceOCRResponse.
12773 12774 12775 12776 12777 |
# File 'lib/v20181119/models.rb', line 12773 def initialize(tollinvoiceinfos=nil, angle=nil, requestid=nil) @TollInvoiceInfos = tollinvoiceinfos @Angle = angle @RequestId = requestid end |
Instance Attribute Details
#Angle ⇒ Object
12771 12772 12773 |
# File 'lib/v20181119/models.rb', line 12771 def Angle @Angle end |
#RequestId ⇒ Object
12771 12772 12773 |
# File 'lib/v20181119/models.rb', line 12771 def RequestId @RequestId end |
#TollInvoiceInfos ⇒ Object
12771 12772 12773 |
# File 'lib/v20181119/models.rb', line 12771 def TollInvoiceInfos @TollInvoiceInfos end |
Instance Method Details
#deserialize(params) ⇒ Object
12779 12780 12781 12782 12783 12784 12785 12786 12787 12788 12789 12790 |
# File 'lib/v20181119/models.rb', line 12779 def deserialize(params) unless params['TollInvoiceInfos'].nil? @TollInvoiceInfos = [] params['TollInvoiceInfos'].each do |i| tollinvoiceinfo_tmp = TollInvoiceInfo.new tollinvoiceinfo_tmp.deserialize(i) @TollInvoiceInfos << tollinvoiceinfo_tmp end end @Angle = params['Angle'] @RequestId = params['RequestId'] end |