Class: TencentCloud::Ocr::V20181119::OnlineTaxiItinerary
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::OnlineTaxiItinerary
- Defined in:
- lib/v20181119/models.rb
Overview
网约车行程单
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(title = nil, content = nil) ⇒ OnlineTaxiItinerary
constructor
A new instance of OnlineTaxiItinerary.
Constructor Details
#initialize(title = nil, content = nil) ⇒ OnlineTaxiItinerary
Returns a new instance of OnlineTaxiItinerary.
7101 7102 7103 7104 |
# File 'lib/v20181119/models.rb', line 7101 def initialize(title=nil, content=nil) @Title = title @Content = content end |
Instance Attribute Details
#Content ⇒ Object
7099 7100 7101 |
# File 'lib/v20181119/models.rb', line 7099 def Content @Content end |
#Title ⇒ Object
7099 7100 7101 |
# File 'lib/v20181119/models.rb', line 7099 def Title @Title end |
Instance Method Details
#deserialize(params) ⇒ Object
7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 |
# File 'lib/v20181119/models.rb', line 7106 def deserialize(params) @Title = params['Title'] unless params['Content'].nil? @Content = [] params['Content'].each do |i| otherinvoiceitem_tmp = OtherInvoiceItem.new otherinvoiceitem_tmp.deserialize(i) @Content << otherinvoiceitem_tmp end end end |