Class: TencentCloud::Ckafka::V20190819::GroupResponse

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

Overview

DescribeGroup的返回

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, grouplist = nil, groupcountquota = nil) ⇒ GroupResponse

Returns a new instance of GroupResponse.



7485
7486
7487
7488
7489
# File 'lib/v20190819/models.rb', line 7485

def initialize(totalcount=nil, grouplist=nil, groupcountquota=nil)
  @TotalCount = totalcount
  @GroupList = grouplist
  @GroupCountQuota = groupcountquota
end

Instance Attribute Details

#GroupCountQuotaObject

Parameters:

  • TotalCount:

    计数

  • GroupList:

    GroupList

  • GroupCountQuota:

    消费分组配额



7483
7484
7485
# File 'lib/v20190819/models.rb', line 7483

def GroupCountQuota
  @GroupCountQuota
end

#GroupListObject

Parameters:

  • TotalCount:

    计数

  • GroupList:

    GroupList

  • GroupCountQuota:

    消费分组配额



7483
7484
7485
# File 'lib/v20190819/models.rb', line 7483

def GroupList
  @GroupList
end

#TotalCountObject

Parameters:

  • TotalCount:

    计数

  • GroupList:

    GroupList

  • GroupCountQuota:

    消费分组配额



7483
7484
7485
# File 'lib/v20190819/models.rb', line 7483

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
# File 'lib/v20190819/models.rb', line 7491

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['GroupList'].nil?
    @GroupList = []
    params['GroupList'].each do |i|
      describegroup_tmp = DescribeGroup.new
      describegroup_tmp.deserialize(i)
      @GroupList << describegroup_tmp
    end
  end
  @GroupCountQuota = params['GroupCountQuota']
end