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.
5847 5848 5849 5850 |
# File 'lib/v20181119/models.rb', line 5847 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
5845 5846 5847 |
# File 'lib/v20181119/models.rb', line 5845 def Key @Key end |
#Value ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
5845 5846 5847 |
# File 'lib/v20181119/models.rb', line 5845 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 |
# File 'lib/v20181119/models.rb', line 5852 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 |