Class: TencentCloud::Ocr::V20181119::VinOCRRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::VinOCRRequest
- Defined in:
- lib/v20181119/models.rb
Overview
VinOCR请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imagebase64 = nil, imageurl = nil) ⇒ VinOCRRequest
constructor
A new instance of VinOCRRequest.
Constructor Details
#initialize(imagebase64 = nil, imageurl = nil) ⇒ VinOCRRequest
Returns a new instance of VinOCRRequest.
15050 15051 15052 15053 |
# File 'lib/v20181119/models.rb', line 15050 def initialize(imagebase64=nil, imageurl=nil) @ImageBase64 = imagebase64 @ImageUrl = imageurl end |
Instance Attribute Details
#ImageBase64 ⇒ Object
15048 15049 15050 |
# File 'lib/v20181119/models.rb', line 15048 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
15048 15049 15050 |
# File 'lib/v20181119/models.rb', line 15048 def ImageUrl @ImageUrl end |
Instance Method Details
#deserialize(params) ⇒ Object
15055 15056 15057 15058 |
# File 'lib/v20181119/models.rb', line 15055 def deserialize(params) @ImageBase64 = params['ImageBase64'] @ImageUrl = params['ImageUrl'] end |