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.
5505 5506 5507 5508 5509 |
# File 'lib/v20181119/models.rb', line 5505 def initialize(invoicegeneralinfos=nil, angle=nil, requestid=nil) @InvoiceGeneralInfos = invoicegeneralinfos @Angle = angle @RequestId = requestid end |
Instance Attribute Details
#Angle ⇒ Object
5503 5504 5505 |
# File 'lib/v20181119/models.rb', line 5503 def Angle @Angle end |
#InvoiceGeneralInfos ⇒ Object
5503 5504 5505 |
# File 'lib/v20181119/models.rb', line 5503 def InvoiceGeneralInfos @InvoiceGeneralInfos end |
#RequestId ⇒ Object
5503 5504 5505 |
# File 'lib/v20181119/models.rb', line 5503 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 |
# File 'lib/v20181119/models.rb', line 5511 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 |