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.
5893 5894 5895 5896 5897 5898 5899 |
# File 'lib/v20181119/models.rb', line 5893 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
5891 5892 5893 |
# File 'lib/v20181119/models.rb', line 5891 def BackImageBase64 @BackImageBase64 end |
#BackImageUrl ⇒ Object
5891 5892 5893 |
# File 'lib/v20181119/models.rb', line 5891 def BackImageUrl @BackImageUrl end |
#ImageBase64 ⇒ Object
5891 5892 5893 |
# File 'lib/v20181119/models.rb', line 5891 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
5891 5892 5893 |
# File 'lib/v20181119/models.rb', line 5891 def ImageUrl @ImageUrl end |
#RetImage ⇒ Object
5891 5892 5893 |
# File 'lib/v20181119/models.rb', line 5891 def RetImage @RetImage end |
Instance Method Details
#deserialize(params) ⇒ Object
5901 5902 5903 5904 5905 5906 5907 |
# File 'lib/v20181119/models.rb', line 5901 def deserialize(params) @ImageBase64 = params['ImageBase64'] @BackImageBase64 = params['BackImageBase64'] @ImageUrl = params['ImageUrl'] @BackImageUrl = params['BackImageUrl'] @RetImage = params['RetImage'] end |