Class: TencentCloud::Yinsuda::V20220527::KTVTagGroupInfo

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

Overview

标签分组信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(groupid = nil, name = nil, taginfoset = nil) ⇒ KTVTagGroupInfo

Returns a new instance of KTVTagGroupInfo.



1456
1457
1458
1459
1460
# File 'lib/v20220527/models.rb', line 1456

def initialize(groupid=nil, name=nil, taginfoset=nil)
  @GroupId = groupid
  @Name = name
  @TagInfoSet = taginfoset
end

Instance Attribute Details

#GroupIdObject

Parameters:

  • GroupId:

    分组 Id。

  • Name:

    分组名。

  • TagInfoSet:

    标签列表。



1454
1455
1456
# File 'lib/v20220527/models.rb', line 1454

def GroupId
  @GroupId
end

#NameObject

Parameters:

  • GroupId:

    分组 Id。

  • Name:

    分组名。

  • TagInfoSet:

    标签列表。



1454
1455
1456
# File 'lib/v20220527/models.rb', line 1454

def Name
  @Name
end

#TagInfoSetObject

Parameters:

  • GroupId:

    分组 Id。

  • Name:

    分组名。

  • TagInfoSet:

    标签列表。



1454
1455
1456
# File 'lib/v20220527/models.rb', line 1454

def TagInfoSet
  @TagInfoSet
end

Instance Method Details

#deserialize(params) ⇒ Object



1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
# File 'lib/v20220527/models.rb', line 1462

def deserialize(params)
  @GroupId = params['GroupId']
  @Name = params['Name']
  unless params['TagInfoSet'].nil?
    @TagInfoSet = []
    params['TagInfoSet'].each do |i|
      ktvtaginfo_tmp = KTVTagInfo.new
      ktvtaginfo_tmp.deserialize(i)
      @TagInfoSet << ktvtaginfo_tmp
    end
  end
end