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.
12432 12433 12434 12435 12436 |
# File 'lib/v20181119/models.rb', line 12432 def initialize(tollinvoiceinfos=nil, angle=nil, requestid=nil) @TollInvoiceInfos = tollinvoiceinfos @Angle = angle @RequestId = requestid end |
Instance Attribute Details
#Angle ⇒ Object
12430 12431 12432 |
# File 'lib/v20181119/models.rb', line 12430 def Angle @Angle end |
#RequestId ⇒ Object
12430 12431 12432 |
# File 'lib/v20181119/models.rb', line 12430 def RequestId @RequestId end |
#TollInvoiceInfos ⇒ Object
12430 12431 12432 |
# File 'lib/v20181119/models.rb', line 12430 def TollInvoiceInfos @TollInvoiceInfos end |
Instance Method Details
#deserialize(params) ⇒ Object
12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 |
# File 'lib/v20181119/models.rb', line 12438 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 |