Class: TencentCloud::Ocr::V20181119::MLIDCardOCRRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::MLIDCardOCRRequest
- Defined in:
- lib/v20181119/models.rb
Overview
MLIDCardOCR请求参数结构体
Instance Attribute Summary collapse
- #BackImageBase64 ⇒ Object
- #BackImageUrl ⇒ Object
- #ImageBase64 ⇒ Object
- #ImageUrl ⇒ Object
- #RetImage ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imagebase64 = nil, backimagebase64 = nil, imageurl = nil, backimageurl = nil, retimage = nil) ⇒ MLIDCardOCRRequest
constructor
A new instance of MLIDCardOCRRequest.
Constructor Details
#initialize(imagebase64 = nil, backimagebase64 = nil, imageurl = nil, backimageurl = nil, retimage = nil) ⇒ MLIDCardOCRRequest
Returns a new instance of MLIDCardOCRRequest.
6079 6080 6081 6082 6083 6084 6085 |
# File 'lib/v20181119/models.rb', line 6079 def initialize(imagebase64=nil, backimagebase64=nil, imageurl=nil, backimageurl=nil, retimage=nil) @ImageBase64 = imagebase64 @BackImageBase64 = backimagebase64 @ImageUrl = imageurl @BackImageUrl = backimageurl @RetImage = retimage end |
Instance Attribute Details
#BackImageBase64 ⇒ Object
6077 6078 6079 |
# File 'lib/v20181119/models.rb', line 6077 def BackImageBase64 @BackImageBase64 end |
#BackImageUrl ⇒ Object
6077 6078 6079 |
# File 'lib/v20181119/models.rb', line 6077 def BackImageUrl @BackImageUrl end |
#ImageBase64 ⇒ Object
6077 6078 6079 |
# File 'lib/v20181119/models.rb', line 6077 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
6077 6078 6079 |
# File 'lib/v20181119/models.rb', line 6077 def ImageUrl @ImageUrl end |
#RetImage ⇒ Object
6077 6078 6079 |
# File 'lib/v20181119/models.rb', line 6077 def RetImage @RetImage end |
Instance Method Details
#deserialize(params) ⇒ Object
6087 6088 6089 6090 6091 6092 6093 |
# File 'lib/v20181119/models.rb', line 6087 def deserialize(params) @ImageBase64 = params['ImageBase64'] @BackImageBase64 = params['BackImageBase64'] @ImageUrl = params['ImageUrl'] @BackImageUrl = params['BackImageUrl'] @RetImage = params['RetImage'] end |