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.
12662 12663 12664 12665 12666 |
# File 'lib/v20181119/models.rb', line 12662 def initialize(tollinvoiceinfos=nil, angle=nil, requestid=nil) @TollInvoiceInfos = tollinvoiceinfos @Angle = angle @RequestId = requestid end |
Instance Attribute Details
#Angle ⇒ Object
12660 12661 12662 |
# File 'lib/v20181119/models.rb', line 12660 def Angle @Angle end |
#RequestId ⇒ Object
12660 12661 12662 |
# File 'lib/v20181119/models.rb', line 12660 def RequestId @RequestId end |
#TollInvoiceInfos ⇒ Object
12660 12661 12662 |
# File 'lib/v20181119/models.rb', line 12660 def TollInvoiceInfos @TollInvoiceInfos end |
Instance Method Details
#deserialize(params) ⇒ Object
12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 |
# File 'lib/v20181119/models.rb', line 12668 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 |