Class: TencentCloud::Ocr::V20181119::StructuralItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::StructuralItem
- Defined in:
- lib/v20181119/models.rb
Overview
文档智能识别
Instance Attribute Summary collapse
-
#Confidence ⇒ Object
坐标。.
-
#ItemCoord ⇒ Object
坐标。.
-
#Name ⇒ Object
坐标。.
-
#Row ⇒ Object
坐标。.
-
#Value ⇒ Object
坐标。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, value = nil, confidence = nil, itemcoord = nil, row = nil) ⇒ StructuralItem
constructor
A new instance of StructuralItem.
Constructor Details
#initialize(name = nil, value = nil, confidence = nil, itemcoord = nil, row = nil) ⇒ StructuralItem
Returns a new instance of StructuralItem.
11287 11288 11289 11290 11291 11292 11293 |
# File 'lib/v20181119/models.rb', line 11287 def initialize(name=nil, value=nil, confidence=nil, itemcoord=nil, row=nil) @Name = name @Value = value @Confidence = confidence @ItemCoord = itemcoord @Row = row end |
Instance Attribute Details
#Confidence ⇒ Object
坐标。
11285 11286 11287 |
# File 'lib/v20181119/models.rb', line 11285 def Confidence @Confidence end |
#ItemCoord ⇒ Object
坐标。
11285 11286 11287 |
# File 'lib/v20181119/models.rb', line 11285 def ItemCoord @ItemCoord end |
#Name ⇒ Object
坐标。
11285 11286 11287 |
# File 'lib/v20181119/models.rb', line 11285 def Name @Name end |
#Row ⇒ Object
坐标。
11285 11286 11287 |
# File 'lib/v20181119/models.rb', line 11285 def Row @Row end |
#Value ⇒ Object
坐标。
11285 11286 11287 |
# File 'lib/v20181119/models.rb', line 11285 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 |
# File 'lib/v20181119/models.rb', line 11295 def deserialize(params) @Name = params['Name'] @Value = params['Value'] @Confidence = params['Confidence'] unless params['ItemCoord'].nil? @ItemCoord = ItemCoord.new @ItemCoord.deserialize(params['ItemCoord']) end @Row = params['Row'] end |