Class: TencentCloud::Yinsuda::V20220527::KTVTagGroupInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Yinsuda::V20220527::KTVTagGroupInfo
- Defined in:
- lib/v20220527/models.rb
Overview
标签分组信息。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(groupid = nil, name = nil, taginfoset = nil) ⇒ KTVTagGroupInfo
constructor
A new instance of KTVTagGroupInfo.
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
#GroupId ⇒ Object
1454 1455 1456 |
# File 'lib/v20220527/models.rb', line 1454 def GroupId @GroupId end |
#Name ⇒ Object
1454 1455 1456 |
# File 'lib/v20220527/models.rb', line 1454 def Name @Name end |
#TagInfoSet ⇒ Object
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 |