Class: TencentCloud::Ocr::V20181119::InvoiceGeneralOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::InvoiceGeneralOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
InvoiceGeneralOCR返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(invoicegeneralinfos = nil, angle = nil, requestid = nil) ⇒ InvoiceGeneralOCRResponse
constructor
A new instance of InvoiceGeneralOCRResponse.
Constructor Details
#initialize(invoicegeneralinfos = nil, angle = nil, requestid = nil) ⇒ InvoiceGeneralOCRResponse
Returns a new instance of InvoiceGeneralOCRResponse.
5476 5477 5478 5479 5480 |
# File 'lib/v20181119/models.rb', line 5476 def initialize(invoicegeneralinfos=nil, angle=nil, requestid=nil) @InvoiceGeneralInfos = invoicegeneralinfos @Angle = angle @RequestId = requestid end |
Instance Attribute Details
#Angle ⇒ Object
5474 5475 5476 |
# File 'lib/v20181119/models.rb', line 5474 def Angle @Angle end |
#InvoiceGeneralInfos ⇒ Object
5474 5475 5476 |
# File 'lib/v20181119/models.rb', line 5474 def InvoiceGeneralInfos @InvoiceGeneralInfos end |
#RequestId ⇒ Object
5474 5475 5476 |
# File 'lib/v20181119/models.rb', line 5474 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 |
# File 'lib/v20181119/models.rb', line 5482 def deserialize(params) unless params['InvoiceGeneralInfos'].nil? @InvoiceGeneralInfos = [] params['InvoiceGeneralInfos'].each do |i| invoicegeneralinfo_tmp = InvoiceGeneralInfo.new invoicegeneralinfo_tmp.deserialize(i) @InvoiceGeneralInfos << invoicegeneralinfo_tmp end end @Angle = params['Angle'] @RequestId = params['RequestId'] end |