Class: TencentCloud::Ocr::V20181119::ShipInvoiceOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::ShipInvoiceOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
ShipInvoiceOCR返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(shipinvoiceinfos = nil, angle = nil, requestid = nil) ⇒ ShipInvoiceOCRResponse
constructor
A new instance of ShipInvoiceOCRResponse.
Constructor Details
#initialize(shipinvoiceinfos = nil, angle = nil, requestid = nil) ⇒ ShipInvoiceOCRResponse
Returns a new instance of ShipInvoiceOCRResponse.
10402 10403 10404 10405 10406 |
# File 'lib/v20181119/models.rb', line 10402 def initialize(shipinvoiceinfos=nil, angle=nil, requestid=nil) @ShipInvoiceInfos = shipinvoiceinfos @Angle = angle @RequestId = requestid end |
Instance Attribute Details
#Angle ⇒ Object
10400 10401 10402 |
# File 'lib/v20181119/models.rb', line 10400 def Angle @Angle end |
#RequestId ⇒ Object
10400 10401 10402 |
# File 'lib/v20181119/models.rb', line 10400 def RequestId @RequestId end |
#ShipInvoiceInfos ⇒ Object
10400 10401 10402 |
# File 'lib/v20181119/models.rb', line 10400 def ShipInvoiceInfos @ShipInvoiceInfos end |
Instance Method Details
#deserialize(params) ⇒ Object
10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 |
# File 'lib/v20181119/models.rb', line 10408 def deserialize(params) unless params['ShipInvoiceInfos'].nil? @ShipInvoiceInfos = [] params['ShipInvoiceInfos'].each do |i| shipinvoiceinfo_tmp = ShipInvoiceInfo.new shipinvoiceinfo_tmp.deserialize(i) @ShipInvoiceInfos << shipinvoiceinfo_tmp end end @Angle = params['Angle'] @RequestId = params['RequestId'] end |