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.
10228 10229 10230 10231 10232 10233 10234 |
# File 'lib/v20181119/models.rb', line 10228 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
坐标。
10226 10227 10228 |
# File 'lib/v20181119/models.rb', line 10226 def Confidence @Confidence end |
#ItemCoord ⇒ Object
坐标。
10226 10227 10228 |
# File 'lib/v20181119/models.rb', line 10226 def ItemCoord @ItemCoord end |
#Name ⇒ Object
坐标。
10226 10227 10228 |
# File 'lib/v20181119/models.rb', line 10226 def Name @Name end |
#Row ⇒ Object
坐标。
10226 10227 10228 |
# File 'lib/v20181119/models.rb', line 10226 def Row @Row end |
#Value ⇒ Object
坐标。
10226 10227 10228 |
# File 'lib/v20181119/models.rb', line 10226 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 |
# File 'lib/v20181119/models.rb', line 10236 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 |