Class: TencentCloud::Ocr::V20181119::FlightInvoiceOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::FlightInvoiceOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
FlightInvoiceOCR返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(flightinvoiceinfos = nil, requestid = nil) ⇒ FlightInvoiceOCRResponse
constructor
A new instance of FlightInvoiceOCRResponse.
Constructor Details
#initialize(flightinvoiceinfos = nil, requestid = nil) ⇒ FlightInvoiceOCRResponse
Returns a new instance of FlightInvoiceOCRResponse.
3635 3636 3637 3638 |
# File 'lib/v20181119/models.rb', line 3635 def initialize(flightinvoiceinfos=nil, requestid=nil) @FlightInvoiceInfos = flightinvoiceinfos @RequestId = requestid end |
Instance Attribute Details
#FlightInvoiceInfos ⇒ Object
3633 3634 3635 |
# File 'lib/v20181119/models.rb', line 3633 def FlightInvoiceInfos @FlightInvoiceInfos end |
#RequestId ⇒ Object
3633 3634 3635 |
# File 'lib/v20181119/models.rb', line 3633 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 |
# File 'lib/v20181119/models.rb', line 3640 def deserialize(params) unless params['FlightInvoiceInfos'].nil? @FlightInvoiceInfos = [] params['FlightInvoiceInfos'].each do |i| flightinvoiceinfo_tmp = FlightInvoiceInfo.new flightinvoiceinfo_tmp.deserialize(i) @FlightInvoiceInfos << flightinvoiceinfo_tmp end end @RequestId = params['RequestId'] end |