Class: TencentCloud::Ivld::V20210903::L2Tag

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210903/models.rb

Overview

请注意,二级标签信息可能不包含三级标签(此时L3TagSet为空)。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, l3tagset = nil, appearindexpairset = nil, firstappear = nil) ⇒ L2Tag

Returns a new instance of L2Tag.



1809
1810
1811
1812
1813
1814
# File 'lib/v20210903/models.rb', line 1809

def initialize(name=nil, l3tagset=nil, appearindexpairset=nil, firstappear=nil)
  @Name = name
  @L3TagSet = l3tagset
  @AppearIndexPairSet = appearindexpairset
  @FirstAppear = firstappear
end

Instance Attribute Details

#AppearIndexPairSetObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    二级标签名

  • L3TagSet:

    从属于此二级标签的三级标签数组

  • AppearIndexPairSet:

    二级标签出现信息

  • FirstAppear:

    二级标签首次出现信息



1807
1808
1809
# File 'lib/v20210903/models.rb', line 1807

def AppearIndexPairSet
  @AppearIndexPairSet
end

#FirstAppearObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    二级标签名

  • L3TagSet:

    从属于此二级标签的三级标签数组

  • AppearIndexPairSet:

    二级标签出现信息

  • FirstAppear:

    二级标签首次出现信息



1807
1808
1809
# File 'lib/v20210903/models.rb', line 1807

def FirstAppear
  @FirstAppear
end

#L3TagSetObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    二级标签名

  • L3TagSet:

    从属于此二级标签的三级标签数组

  • AppearIndexPairSet:

    二级标签出现信息

  • FirstAppear:

    二级标签首次出现信息



1807
1808
1809
# File 'lib/v20210903/models.rb', line 1807

def L3TagSet
  @L3TagSet
end

#NameObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    二级标签名

  • L3TagSet:

    从属于此二级标签的三级标签数组

  • AppearIndexPairSet:

    二级标签出现信息

  • FirstAppear:

    二级标签首次出现信息



1807
1808
1809
# File 'lib/v20210903/models.rb', line 1807

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
# File 'lib/v20210903/models.rb', line 1816

def deserialize(params)
  @Name = params['Name']
  unless params['L3TagSet'].nil?
    @L3TagSet = []
    params['L3TagSet'].each do |i|
      l3tag_tmp = L3Tag.new
      l3tag_tmp.deserialize(i)
      @L3TagSet << l3tag_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