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.
5693 5694 5695 5696 |
# File 'lib/v20181119/models.rb', line 5693 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
5691 5692 5693 |
# File 'lib/v20181119/models.rb', line 5691 def Key @Key end |
#Value ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
5691 5692 5693 |
# File 'lib/v20181119/models.rb', line 5691 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 |
# File 'lib/v20181119/models.rb', line 5698 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 |