Class: TencentCloud::Wav::V20210129::TagGroup
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wav::V20210129::TagGroup
- Defined in:
- lib/v20210129/models.rb
Overview
标签组信息
Instance Attribute Summary collapse
- #BizGroupId ⇒ Object
- #CreateTime ⇒ Object
- #GroupId ⇒ Object
- #GroupName ⇒ Object
- #Sort ⇒ Object
- #Tags ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(groupid = nil, bizgroupid = nil, groupname = nil, sort = nil, createtime = nil, tags = nil) ⇒ TagGroup
constructor
A new instance of TagGroup.
Constructor Details
#initialize(groupid = nil, bizgroupid = nil, groupname = nil, sort = nil, createtime = nil, tags = nil) ⇒ TagGroup
Returns a new instance of TagGroup.
3304 3305 3306 3307 3308 3309 3310 3311 |
# File 'lib/v20210129/models.rb', line 3304 def initialize(groupid=nil, bizgroupid=nil, groupname=nil, sort=nil, createtime=nil, =nil) @GroupId = groupid @BizGroupId = bizgroupid @GroupName = groupname @Sort = sort @CreateTime = createtime @Tags = end |
Instance Attribute Details
#BizGroupId ⇒ Object
3302 3303 3304 |
# File 'lib/v20210129/models.rb', line 3302 def BizGroupId @BizGroupId end |
#CreateTime ⇒ Object
3302 3303 3304 |
# File 'lib/v20210129/models.rb', line 3302 def CreateTime @CreateTime end |
#GroupId ⇒ Object
3302 3303 3304 |
# File 'lib/v20210129/models.rb', line 3302 def GroupId @GroupId end |
#GroupName ⇒ Object
3302 3303 3304 |
# File 'lib/v20210129/models.rb', line 3302 def GroupName @GroupName end |
#Sort ⇒ Object
3302 3303 3304 |
# File 'lib/v20210129/models.rb', line 3302 def Sort @Sort end |
#Tags ⇒ Object
3302 3303 3304 |
# File 'lib/v20210129/models.rb', line 3302 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 |
# File 'lib/v20210129/models.rb', line 3313 def deserialize(params) @GroupId = params['GroupId'] @BizGroupId = params['BizGroupId'] @GroupName = params['GroupName'] @Sort = params['Sort'] @CreateTime = params['CreateTime'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tagdetailinfo_tmp = TagDetailInfo.new tagdetailinfo_tmp.deserialize(i) @Tags << tagdetailinfo_tmp end end end |