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.
4643 4644 4645 4646 4647 |
# File 'lib/v20181119/models.rb', line 4643 def initialize(invoicegeneralinfos=nil, angle=nil, requestid=nil) @InvoiceGeneralInfos = invoicegeneralinfos @Angle = angle @RequestId = requestid end |
Instance Attribute Details
#Angle ⇒ Object
4641 4642 4643 |
# File 'lib/v20181119/models.rb', line 4641 def Angle @Angle end |
#InvoiceGeneralInfos ⇒ Object
4641 4642 4643 |
# File 'lib/v20181119/models.rb', line 4641 def InvoiceGeneralInfos @InvoiceGeneralInfos end |
#RequestId ⇒ Object
4641 4642 4643 |
# File 'lib/v20181119/models.rb', line 4641 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 |
# File 'lib/v20181119/models.rb', line 4649 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 |