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.
4856 4857 4858 4859 4860 |
# File 'lib/v20181119/models.rb', line 4856 def initialize(invoicegeneralinfos=nil, angle=nil, requestid=nil) @InvoiceGeneralInfos = invoicegeneralinfos @Angle = angle @RequestId = requestid end |
Instance Attribute Details
#Angle ⇒ Object
4854 4855 4856 |
# File 'lib/v20181119/models.rb', line 4854 def Angle @Angle end |
#InvoiceGeneralInfos ⇒ Object
4854 4855 4856 |
# File 'lib/v20181119/models.rb', line 4854 def InvoiceGeneralInfos @InvoiceGeneralInfos end |
#RequestId ⇒ Object
4854 4855 4856 |
# File 'lib/v20181119/models.rb', line 4854 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 |
# File 'lib/v20181119/models.rb', line 4862 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 |