Class: TencentCloud::Ckafka::V20190819::InstanceResponse

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

Overview

聚合的实例状态返回结果

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instancelist = nil, totalcount = nil) ⇒ InstanceResponse

Returns a new instance of InstanceResponse.



8367
8368
8369
8370
# File 'lib/v20190819/models.rb', line 8367

def initialize(instancelist=nil, totalcount=nil)
  @InstanceList = instancelist
  @TotalCount = totalcount
end

Instance Attribute Details

#InstanceListObject

Parameters:

  • InstanceList:

    符合条件的实例列表

  • TotalCount:

    符合条件的结果总数



8365
8366
8367
# File 'lib/v20190819/models.rb', line 8365

def InstanceList
  @InstanceList
end

#TotalCountObject

Parameters:

  • InstanceList:

    符合条件的实例列表

  • TotalCount:

    符合条件的结果总数



8365
8366
8367
# File 'lib/v20190819/models.rb', line 8365

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
# File 'lib/v20190819/models.rb', line 8372

def deserialize(params)
  unless params['InstanceList'].nil?
    @InstanceList = []
    params['InstanceList'].each do |i|
      instance_tmp = Instance.new
      instance_tmp.deserialize(i)
      @InstanceList << instance_tmp
    end
  end
  @TotalCount = params['TotalCount']
end