Class: TencentCloud::Ocr::V20181119::VatRollInvoiceOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::VatRollInvoiceOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
VatRollInvoiceOCR返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(vatrollinvoiceinfos = nil, angle = nil, requestid = nil) ⇒ VatRollInvoiceOCRResponse
constructor
A new instance of VatRollInvoiceOCRResponse.
Constructor Details
#initialize(vatrollinvoiceinfos = nil, angle = nil, requestid = nil) ⇒ VatRollInvoiceOCRResponse
Returns a new instance of VatRollInvoiceOCRResponse.
14230 14231 14232 14233 14234 |
# File 'lib/v20181119/models.rb', line 14230 def initialize(vatrollinvoiceinfos=nil, angle=nil, requestid=nil) @VatRollInvoiceInfos = vatrollinvoiceinfos @Angle = angle @RequestId = requestid end |
Instance Attribute Details
#Angle ⇒ Object
14228 14229 14230 |
# File 'lib/v20181119/models.rb', line 14228 def Angle @Angle end |
#RequestId ⇒ Object
14228 14229 14230 |
# File 'lib/v20181119/models.rb', line 14228 def RequestId @RequestId end |
#VatRollInvoiceInfos ⇒ Object
14228 14229 14230 |
# File 'lib/v20181119/models.rb', line 14228 def VatRollInvoiceInfos @VatRollInvoiceInfos end |
Instance Method Details
#deserialize(params) ⇒ Object
14236 14237 14238 14239 14240 14241 14242 14243 14244 14245 14246 14247 |
# File 'lib/v20181119/models.rb', line 14236 def deserialize(params) unless params['VatRollInvoiceInfos'].nil? @VatRollInvoiceInfos = [] params['VatRollInvoiceInfos'].each do |i| vatrollinvoiceinfo_tmp = VatRollInvoiceInfo.new vatrollinvoiceinfo_tmp.deserialize(i) @VatRollInvoiceInfos << vatrollinvoiceinfo_tmp end end @Angle = params['Angle'] @RequestId = params['RequestId'] end |