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.
8660 8661 8662 8663 |
# File 'lib/v20181119/models.rb', line 8660 def initialize(=nil, requestid=nil) @OnlineTaxiItineraryInfos = @RequestId = requestid end |
Instance Attribute Details
#OnlineTaxiItineraryInfos ⇒ Object
8658 8659 8660 |
# File 'lib/v20181119/models.rb', line 8658 def OnlineTaxiItineraryInfos @OnlineTaxiItineraryInfos end |
#RequestId ⇒ Object
8658 8659 8660 |
# File 'lib/v20181119/models.rb', line 8658 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 |
# File 'lib/v20181119/models.rb', line 8665 def deserialize(params) unless params['OnlineTaxiItineraryInfos'].nil? @OnlineTaxiItineraryInfos = [] params['OnlineTaxiItineraryInfos'].each do |i| = OnlineTaxiItineraryInfo.new .deserialize(i) @OnlineTaxiItineraryInfos << end end @RequestId = params['RequestId'] end |