Class: TencentCloud::Ocr::V20181119::PassportOCRRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::PassportOCRRequest
- Defined in:
- lib/v20181119/models.rb
Overview
PassportOCR请求参数结构体
Instance Attribute Summary collapse
-
#CropPortrait ⇒ Object
支持中国大陆地区护照。.
-
#ImageBase64 ⇒ Object
支持中国大陆地区护照。.
-
#ImageUrl ⇒ Object
支持中国大陆地区护照。.
-
#Type ⇒ Object
支持中国大陆地区护照。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imagebase64 = nil, imageurl = nil, type = nil, cropportrait = nil) ⇒ PassportOCRRequest
constructor
A new instance of PassportOCRRequest.
Constructor Details
#initialize(imagebase64 = nil, imageurl = nil, type = nil, cropportrait = nil) ⇒ PassportOCRRequest
Returns a new instance of PassportOCRRequest.
7345 7346 7347 7348 7349 7350 |
# File 'lib/v20181119/models.rb', line 7345 def initialize(imagebase64=nil, imageurl=nil, type=nil, cropportrait=nil) @ImageBase64 = imagebase64 @ImageUrl = imageurl @Type = type @CropPortrait = cropportrait end |
Instance Attribute Details
#CropPortrait ⇒ Object
支持中国大陆地区护照。
7343 7344 7345 |
# File 'lib/v20181119/models.rb', line 7343 def CropPortrait @CropPortrait end |
#ImageBase64 ⇒ Object
支持中国大陆地区护照。
7343 7344 7345 |
# File 'lib/v20181119/models.rb', line 7343 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
支持中国大陆地区护照。
7343 7344 7345 |
# File 'lib/v20181119/models.rb', line 7343 def ImageUrl @ImageUrl end |
#Type ⇒ Object
支持中国大陆地区护照。
7343 7344 7345 |
# File 'lib/v20181119/models.rb', line 7343 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
7352 7353 7354 7355 7356 7357 |
# File 'lib/v20181119/models.rb', line 7352 def deserialize(params) @ImageBase64 = params['ImageBase64'] @ImageUrl = params['ImageUrl'] @Type = params['Type'] @CropPortrait = params['CropPortrait'] end |