Class: TencentCloud::Ocr::V20181119::RecognizeTravelCardOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::RecognizeTravelCardOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
RecognizeTravelCardOCR返回参数结构体
Instance Attribute Summary collapse
- #Color ⇒ Object
- #ReachedCity ⇒ Object
- #RequestId ⇒ Object
- #RiskArea ⇒ Object
- #Telephone ⇒ Object
- #Time ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(time = nil, color = nil, reachedcity = nil, riskarea = nil, telephone = nil, requestid = nil) ⇒ RecognizeTravelCardOCRResponse
constructor
A new instance of RecognizeTravelCardOCRResponse.
Constructor Details
#initialize(time = nil, color = nil, reachedcity = nil, riskarea = nil, telephone = nil, requestid = nil) ⇒ RecognizeTravelCardOCRResponse
Returns a new instance of RecognizeTravelCardOCRResponse.
9539 9540 9541 9542 9543 9544 9545 9546 |
# File 'lib/v20181119/models.rb', line 9539 def initialize(time=nil, color=nil, reachedcity=nil, riskarea=nil, telephone=nil, requestid=nil) @Time = time @Color = color @ReachedCity = reachedcity @RiskArea = riskarea @Telephone = telephone @RequestId = requestid end |
Instance Attribute Details
#Color ⇒ Object
9537 9538 9539 |
# File 'lib/v20181119/models.rb', line 9537 def Color @Color end |
#ReachedCity ⇒ Object
9537 9538 9539 |
# File 'lib/v20181119/models.rb', line 9537 def ReachedCity @ReachedCity end |
#RequestId ⇒ Object
9537 9538 9539 |
# File 'lib/v20181119/models.rb', line 9537 def RequestId @RequestId end |
#RiskArea ⇒ Object
9537 9538 9539 |
# File 'lib/v20181119/models.rb', line 9537 def RiskArea @RiskArea end |
#Telephone ⇒ Object
9537 9538 9539 |
# File 'lib/v20181119/models.rb', line 9537 def Telephone @Telephone end |
#Time ⇒ Object
9537 9538 9539 |
# File 'lib/v20181119/models.rb', line 9537 def Time @Time end |
Instance Method Details
#deserialize(params) ⇒ Object
9548 9549 9550 9551 9552 9553 9554 9555 |
# File 'lib/v20181119/models.rb', line 9548 def deserialize(params) @Time = params['Time'] @Color = params['Color'] @ReachedCity = params['ReachedCity'] @RiskArea = params['RiskArea'] @Telephone = params['Telephone'] @RequestId = params['RequestId'] end |