Class: TencentCloud::Ocr::V20181119::BusinessCardOCRRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20181119/models.rb

Overview

BusinessCardOCR请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ConfigObject

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

#ImageBase64Object

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

#ImageUrlObject

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