Class: TencentCloud::Ocr::V20181119::ContentInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::ContentInfo
- Defined in:
- lib/v20181119/models.rb
Overview
卡证字段信息返回值
Instance Attribute Summary collapse
-
#Confidence ⇒ Object
0 字段正常 1 字段不完整 0 字段正常 1 字段有反光.
-
#Content ⇒ Object
0 字段正常 1 字段不完整 0 字段正常 1 字段有反光.
-
#IsInComplete ⇒ Object
0 字段正常 1 字段不完整 0 字段正常 1 字段有反光.
-
#IsReflect ⇒ Object
0 字段正常 1 字段不完整 0 字段正常 1 字段有反光.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(content = nil, confidence = nil, isincomplete = nil, isreflect = nil) ⇒ ContentInfo
constructor
A new instance of ContentInfo.
Constructor Details
#initialize(content = nil, confidence = nil, isincomplete = nil, isreflect = nil) ⇒ ContentInfo
Returns a new instance of ContentInfo.
1416 1417 1418 1419 1420 1421 |
# File 'lib/v20181119/models.rb', line 1416 def initialize(content=nil, confidence=nil, isincomplete=nil, isreflect=nil) @Content = content @Confidence = confidence @IsInComplete = isincomplete @IsReflect = isreflect end |
Instance Attribute Details
#Confidence ⇒ Object
0 字段正常 1 字段不完整 0 字段正常 1 字段有反光
1414 1415 1416 |
# File 'lib/v20181119/models.rb', line 1414 def Confidence @Confidence end |
#Content ⇒ Object
0 字段正常 1 字段不完整 0 字段正常 1 字段有反光
1414 1415 1416 |
# File 'lib/v20181119/models.rb', line 1414 def Content @Content end |
#IsInComplete ⇒ Object
0 字段正常 1 字段不完整 0 字段正常 1 字段有反光
1414 1415 1416 |
# File 'lib/v20181119/models.rb', line 1414 def IsInComplete @IsInComplete end |
#IsReflect ⇒ Object
0 字段正常 1 字段不完整 0 字段正常 1 字段有反光
1414 1415 1416 |
# File 'lib/v20181119/models.rb', line 1414 def IsReflect @IsReflect end |
Instance Method Details
#deserialize(params) ⇒ Object
1423 1424 1425 1426 1427 1428 |
# File 'lib/v20181119/models.rb', line 1423 def deserialize(params) @Content = params['Content'] @Confidence = params['Confidence'] @IsInComplete = params['IsInComplete'] @IsReflect = params['IsReflect'] end |