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.
9229 9230 9231 9232 9233 |
# File 'lib/v20181119/models.rb', line 9229 def initialize(imagebase64=nil, imageurl=nil, type=nil) @ImageBase64 = imagebase64 @ImageUrl = imageurl @Type = type end |
Instance Attribute Details
#ImageBase64 ⇒ Object
0:自动识别
9227 9228 9229 |
# File 'lib/v20181119/models.rb', line 9227 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
0:自动识别
9227 9228 9229 |
# File 'lib/v20181119/models.rb', line 9227 def ImageUrl @ImageUrl end |
#Type ⇒ Object
0:自动识别
9227 9228 9229 |
# File 'lib/v20181119/models.rb', line 9227 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
9235 9236 9237 9238 9239 |
# File 'lib/v20181119/models.rb', line 9235 def deserialize(params) @ImageBase64 = params['ImageBase64'] @ImageUrl = params['ImageUrl'] @Type = params['Type'] end |