Class: TencentCloud::Ckafka::V20190819::InstanceResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::InstanceResponse
- Defined in:
- lib/v20190819/models.rb
Overview
聚合的实例状态返回结果
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instancelist = nil, totalcount = nil) ⇒ InstanceResponse
constructor
A new instance of InstanceResponse.
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
#InstanceList ⇒ Object
8365 8366 8367 |
# File 'lib/v20190819/models.rb', line 8365 def InstanceList @InstanceList end |
#TotalCount ⇒ Object
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 |