Class: TencentCloud::Ivld::V20210903::L1Tag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ivld::V20210903::L1Tag
- Defined in:
- lib/v20210903/models.rb
Overview
请注意,一级标签信息可能不包含二级标签(此时L2TagSet为空)。在这种情况下,一级标签可直接包含出现信息。
Instance Attribute Summary collapse
-
#AppearIndexPairSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#FirstAppear ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#L2TagSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, l2tagset = nil, appearindexpairset = nil, firstappear = nil) ⇒ L1Tag
constructor
A new instance of L1Tag.
Constructor Details
#initialize(name = nil, l2tagset = nil, appearindexpairset = nil, firstappear = nil) ⇒ L1Tag
Returns a new instance of L1Tag.
1762 1763 1764 1765 1766 1767 |
# File 'lib/v20210903/models.rb', line 1762 def initialize(name=nil, =nil, appearindexpairset=nil, firstappear=nil) @Name = name @L2TagSet = @AppearIndexPairSet = appearindexpairset @FirstAppear = firstappear end |
Instance Attribute Details
#AppearIndexPairSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1760 1761 1762 |
# File 'lib/v20210903/models.rb', line 1760 def AppearIndexPairSet @AppearIndexPairSet end |
#FirstAppear ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1760 1761 1762 |
# File 'lib/v20210903/models.rb', line 1760 def FirstAppear @FirstAppear end |
#L2TagSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1760 1761 1762 |
# File 'lib/v20210903/models.rb', line 1760 def L2TagSet @L2TagSet end |
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1760 1761 1762 |
# File 'lib/v20210903/models.rb', line 1760 def Name @Name end |
Instance Method Details
#deserialize(params) ⇒ Object
1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 |
# File 'lib/v20210903/models.rb', line 1769 def deserialize(params) @Name = params['Name'] unless params['L2TagSet'].nil? @L2TagSet = [] params['L2TagSet'].each do |i| l2tag_tmp = L2Tag.new l2tag_tmp.deserialize(i) @L2TagSet << l2tag_tmp end end unless params['AppearIndexPairSet'].nil? @AppearIndexPairSet = [] params['AppearIndexPairSet'].each do |i| appearindexpair_tmp = AppearIndexPair.new appearindexpair_tmp.deserialize(i) @AppearIndexPairSet << appearindexpair_tmp end end @FirstAppear = params['FirstAppear'] end |