Class: TencentCloud::Ocr::V20181119::BusinessCardOCRRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::BusinessCardOCRRequest
- Defined in:
- lib/v20181119/models.rb
Overview
BusinessCardOCR请求参数结构体
Instance Attribute Summary collapse
-
#Config ⇒ Object
SDK 设置方式参考: Config = Json.stringify(“RetImageType”:“PROPROCESS”) API 3.0 Explorer 设置方式参考: Config = “RetImageType”:“PROPROCESS”.
-
#ImageBase64 ⇒ Object
SDK 设置方式参考: Config = Json.stringify(“RetImageType”:“PROPROCESS”) API 3.0 Explorer 设置方式参考: Config = “RetImageType”:“PROPROCESS”.
-
#ImageUrl ⇒ Object
SDK 设置方式参考: Config = Json.stringify(“RetImageType”:“PROPROCESS”) API 3.0 Explorer 设置方式参考: Config = “RetImageType”:“PROPROCESS”.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imagebase64 = nil, imageurl = nil, config = nil) ⇒ BusinessCardOCRRequest
constructor
A new instance of BusinessCardOCRRequest.
Constructor Details
#initialize(imagebase64 = nil, imageurl = nil, config = nil) ⇒ BusinessCardOCRRequest
Returns a new instance of BusinessCardOCRRequest.
1015 1016 1017 1018 1019 |
# File 'lib/v20181119/models.rb', line 1015 def initialize(imagebase64=nil, imageurl=nil, config=nil) @ImageBase64 = imagebase64 @ImageUrl = imageurl @Config = config end |
Instance Attribute Details
#Config ⇒ Object
SDK 设置方式参考: Config = Json.stringify(“RetImageType”:“PROPROCESS”) API 3.0 Explorer 设置方式参考: Config = “RetImageType”:“PROPROCESS”
1013 1014 1015 |
# File 'lib/v20181119/models.rb', line 1013 def Config @Config end |
#ImageBase64 ⇒ Object
SDK 设置方式参考: Config = Json.stringify(“RetImageType”:“PROPROCESS”) API 3.0 Explorer 设置方式参考: Config = “RetImageType”:“PROPROCESS”
1013 1014 1015 |
# File 'lib/v20181119/models.rb', line 1013 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
SDK 设置方式参考: Config = Json.stringify(“RetImageType”:“PROPROCESS”) API 3.0 Explorer 设置方式参考: Config = “RetImageType”:“PROPROCESS”
1013 1014 1015 |
# File 'lib/v20181119/models.rb', line 1013 def ImageUrl @ImageUrl end |
Instance Method Details
#deserialize(params) ⇒ Object
1021 1022 1023 1024 1025 |
# File 'lib/v20181119/models.rb', line 1021 def deserialize(params) @ImageBase64 = params['ImageBase64'] @ImageUrl = params['ImageUrl'] @Config = params['Config'] end |