Class: TencentCloud::Ocr::V20181119::IDCardConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::IDCardConfig
- Defined in:
- lib/v20181119/models.rb
Overview
身份证配置信息
Instance Attribute Summary collapse
- #BorderCheckWarn ⇒ Object
- #CopyWarn ⇒ Object
- #CropPortrait ⇒ Object
- #DetectPsWarn ⇒ Object
- #InvalidDateWarn ⇒ Object
- #ReflectWarn ⇒ Object
- #ReshootWarn ⇒ Object
- #TempIdWarn ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(copywarn = nil, bordercheckwarn = nil, reshootwarn = nil, detectpswarn = nil, tempidwarn = nil, invaliddatewarn = nil, reflectwarn = nil, cropportrait = nil) ⇒ IDCardConfig
constructor
A new instance of IDCardConfig.
Constructor Details
#initialize(copywarn = nil, bordercheckwarn = nil, reshootwarn = nil, detectpswarn = nil, tempidwarn = nil, invaliddatewarn = nil, reflectwarn = nil, cropportrait = nil) ⇒ IDCardConfig
Returns a new instance of IDCardConfig.
4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 |
# File 'lib/v20181119/models.rb', line 4828 def initialize(copywarn=nil, bordercheckwarn=nil, reshootwarn=nil, detectpswarn=nil, tempidwarn=nil, invaliddatewarn=nil, reflectwarn=nil, cropportrait=nil) @CopyWarn = copywarn @BorderCheckWarn = bordercheckwarn @ReshootWarn = reshootwarn @DetectPsWarn = detectpswarn @TempIdWarn = tempidwarn @InvalidDateWarn = invaliddatewarn @ReflectWarn = reflectwarn @CropPortrait = cropportrait end |
Instance Attribute Details
#BorderCheckWarn ⇒ Object
4826 4827 4828 |
# File 'lib/v20181119/models.rb', line 4826 def BorderCheckWarn @BorderCheckWarn end |
#CopyWarn ⇒ Object
4826 4827 4828 |
# File 'lib/v20181119/models.rb', line 4826 def CopyWarn @CopyWarn end |
#CropPortrait ⇒ Object
4826 4827 4828 |
# File 'lib/v20181119/models.rb', line 4826 def CropPortrait @CropPortrait end |
#DetectPsWarn ⇒ Object
4826 4827 4828 |
# File 'lib/v20181119/models.rb', line 4826 def DetectPsWarn @DetectPsWarn end |
#InvalidDateWarn ⇒ Object
4826 4827 4828 |
# File 'lib/v20181119/models.rb', line 4826 def InvalidDateWarn @InvalidDateWarn end |
#ReflectWarn ⇒ Object
4826 4827 4828 |
# File 'lib/v20181119/models.rb', line 4826 def ReflectWarn @ReflectWarn end |
#ReshootWarn ⇒ Object
4826 4827 4828 |
# File 'lib/v20181119/models.rb', line 4826 def ReshootWarn @ReshootWarn end |
#TempIdWarn ⇒ Object
4826 4827 4828 |
# File 'lib/v20181119/models.rb', line 4826 def TempIdWarn @TempIdWarn end |
Instance Method Details
#deserialize(params) ⇒ Object
4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 |
# File 'lib/v20181119/models.rb', line 4839 def deserialize(params) @CopyWarn = params['CopyWarn'] @BorderCheckWarn = params['BorderCheckWarn'] @ReshootWarn = params['ReshootWarn'] @DetectPsWarn = params['DetectPsWarn'] @TempIdWarn = params['TempIdWarn'] @InvalidDateWarn = params['InvalidDateWarn'] @ReflectWarn = params['ReflectWarn'] @CropPortrait = params['CropPortrait'] end |