Class: TencentCloud::Ocr::V20181119::RecognizeHealthCodeOCRRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::RecognizeHealthCodeOCRRequest
- Defined in:
- lib/v20181119/models.rb
Overview
RecognizeHealthCodeOCR请求参数结构体
Instance Attribute Summary collapse
-
#ImageBase64 ⇒ Object
0:自动识别.
-
#ImageUrl ⇒ Object
0:自动识别.
-
#Type ⇒ Object
0:自动识别.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imagebase64 = nil, imageurl = nil, type = nil) ⇒ RecognizeHealthCodeOCRRequest
constructor
A new instance of RecognizeHealthCodeOCRRequest.
Constructor Details
#initialize(imagebase64 = nil, imageurl = nil, type = nil) ⇒ RecognizeHealthCodeOCRRequest
Returns a new instance of RecognizeHealthCodeOCRRequest.
9212 9213 9214 9215 9216 |
# File 'lib/v20181119/models.rb', line 9212 def initialize(imagebase64=nil, imageurl=nil, type=nil) @ImageBase64 = imagebase64 @ImageUrl = imageurl @Type = type end |
Instance Attribute Details
#ImageBase64 ⇒ Object
0:自动识别
9210 9211 9212 |
# File 'lib/v20181119/models.rb', line 9210 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
0:自动识别
9210 9211 9212 |
# File 'lib/v20181119/models.rb', line 9210 def ImageUrl @ImageUrl end |
#Type ⇒ Object
0:自动识别
9210 9211 9212 |
# File 'lib/v20181119/models.rb', line 9210 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
9218 9219 9220 9221 9222 |
# File 'lib/v20181119/models.rb', line 9218 def deserialize(params) @ImageBase64 = params['ImageBase64'] @ImageUrl = params['ImageUrl'] @Type = params['Type'] end |