Class: TencentCloud::Ocr::V20181119::RecognizeOnlineTaxiItineraryOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::RecognizeOnlineTaxiItineraryOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
RecognizeOnlineTaxiItineraryOCR返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(onlinetaxiitineraryinfos = nil, requestid = nil) ⇒ RecognizeOnlineTaxiItineraryOCRResponse
constructor
A new instance of RecognizeOnlineTaxiItineraryOCRResponse.
Constructor Details
#initialize(onlinetaxiitineraryinfos = nil, requestid = nil) ⇒ RecognizeOnlineTaxiItineraryOCRResponse
Returns a new instance of RecognizeOnlineTaxiItineraryOCRResponse.
9385 9386 9387 9388 |
# File 'lib/v20181119/models.rb', line 9385 def initialize(=nil, requestid=nil) @OnlineTaxiItineraryInfos = @RequestId = requestid end |
Instance Attribute Details
#OnlineTaxiItineraryInfos ⇒ Object
9383 9384 9385 |
# File 'lib/v20181119/models.rb', line 9383 def OnlineTaxiItineraryInfos @OnlineTaxiItineraryInfos end |
#RequestId ⇒ Object
9383 9384 9385 |
# File 'lib/v20181119/models.rb', line 9383 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 |
# File 'lib/v20181119/models.rb', line 9390 def deserialize(params) unless params['OnlineTaxiItineraryInfos'].nil? @OnlineTaxiItineraryInfos = [] params['OnlineTaxiItineraryInfos'].each do |i| = OnlineTaxiItineraryInfo.new .deserialize(i) @OnlineTaxiItineraryInfos << end end @RequestId = params['RequestId'] end |