Class: TencentCloud::Wav::V20210129::TagGroup

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

Overview

标签组信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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, tags=nil)
  @GroupId = groupid
  @BizGroupId = bizgroupid
  @GroupName = groupname
  @Sort = sort
  @CreateTime = createtime
  @Tags = tags
end

Instance Attribute Details

#BizGroupIdObject

Parameters:

  • GroupId:

    企微标签组id

  • BizGroupId:

    标签组业务id

  • GroupName:

    企微标签组名称,不能超过15个字符

  • Sort:

    标签组次序值。sort值大的排序靠前。有效的值范围是[0, 2^32)

  • CreateTime:

    标签组创建时间,单位为秒

  • Tags:

    标签组内的标签列表, 上限为20



3302
3303
3304
# File 'lib/v20210129/models.rb', line 3302

def BizGroupId
  @BizGroupId
end

#CreateTimeObject

Parameters:

  • GroupId:

    企微标签组id

  • BizGroupId:

    标签组业务id

  • GroupName:

    企微标签组名称,不能超过15个字符

  • Sort:

    标签组次序值。sort值大的排序靠前。有效的值范围是[0, 2^32)

  • CreateTime:

    标签组创建时间,单位为秒

  • Tags:

    标签组内的标签列表, 上限为20



3302
3303
3304
# File 'lib/v20210129/models.rb', line 3302

def CreateTime
  @CreateTime
end

#GroupIdObject

Parameters:

  • GroupId:

    企微标签组id

  • BizGroupId:

    标签组业务id

  • GroupName:

    企微标签组名称,不能超过15个字符

  • Sort:

    标签组次序值。sort值大的排序靠前。有效的值范围是[0, 2^32)

  • CreateTime:

    标签组创建时间,单位为秒

  • Tags:

    标签组内的标签列表, 上限为20



3302
3303
3304
# File 'lib/v20210129/models.rb', line 3302

def GroupId
  @GroupId
end

#GroupNameObject

Parameters:

  • GroupId:

    企微标签组id

  • BizGroupId:

    标签组业务id

  • GroupName:

    企微标签组名称,不能超过15个字符

  • Sort:

    标签组次序值。sort值大的排序靠前。有效的值范围是[0, 2^32)

  • CreateTime:

    标签组创建时间,单位为秒

  • Tags:

    标签组内的标签列表, 上限为20



3302
3303
3304
# File 'lib/v20210129/models.rb', line 3302

def GroupName
  @GroupName
end

#SortObject

Parameters:

  • GroupId:

    企微标签组id

  • BizGroupId:

    标签组业务id

  • GroupName:

    企微标签组名称,不能超过15个字符

  • Sort:

    标签组次序值。sort值大的排序靠前。有效的值范围是[0, 2^32)

  • CreateTime:

    标签组创建时间,单位为秒

  • Tags:

    标签组内的标签列表, 上限为20



3302
3303
3304
# File 'lib/v20210129/models.rb', line 3302

def Sort
  @Sort
end

#TagsObject

Parameters:

  • GroupId:

    企微标签组id

  • BizGroupId:

    标签组业务id

  • GroupName:

    企微标签组名称,不能超过15个字符

  • Sort:

    标签组次序值。sort值大的排序靠前。有效的值范围是[0, 2^32)

  • CreateTime:

    标签组创建时间,单位为秒

  • Tags:

    标签组内的标签列表, 上限为20



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