Class: TencentCloud::Ocr::V20181119::ItemInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::ItemInfo
- Defined in:
- lib/v20181119/models.rb
Overview
智能结构化元素组
Instance Attribute Summary collapse
-
#Key ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Value ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ ItemInfo
constructor
A new instance of ItemInfo.
Constructor Details
#initialize(key = nil, value = nil) ⇒ ItemInfo
Returns a new instance of ItemInfo.
5664 5665 5666 5667 |
# File 'lib/v20181119/models.rb', line 5664 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
5662 5663 5664 |
# File 'lib/v20181119/models.rb', line 5662 def Key @Key end |
#Value ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
5662 5663 5664 |
# File 'lib/v20181119/models.rb', line 5662 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 |
# File 'lib/v20181119/models.rb', line 5669 def deserialize(params) unless params['Key'].nil? @Key = Key.new @Key.deserialize(params['Key']) end unless params['Value'].nil? @Value = Value.new @Value.deserialize(params['Value']) end end |