Class: TencentCloud::Ckafka::V20190819::InstanceDetailResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::InstanceDetailResponse
- Defined in:
- lib/v20190819/models.rb
Overview
实例详情返回结果
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, instancelist = nil) ⇒ InstanceDetailResponse
constructor
A new instance of InstanceDetailResponse.
Constructor Details
#initialize(totalcount = nil, instancelist = nil) ⇒ InstanceDetailResponse
Returns a new instance of InstanceDetailResponse.
8318 8319 8320 8321 |
# File 'lib/v20190819/models.rb', line 8318 def initialize(totalcount=nil, instancelist=nil) @TotalCount = totalcount @InstanceList = instancelist end |
Instance Attribute Details
#InstanceList ⇒ Object
8316 8317 8318 |
# File 'lib/v20190819/models.rb', line 8316 def InstanceList @InstanceList end |
#TotalCount ⇒ Object
8316 8317 8318 |
# File 'lib/v20190819/models.rb', line 8316 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 |
# File 'lib/v20190819/models.rb', line 8323 def deserialize(params) @TotalCount = params['TotalCount'] unless params['InstanceList'].nil? @InstanceList = [] params['InstanceList'].each do |i| instancedetail_tmp = InstanceDetail.new instancedetail_tmp.deserialize(i) @InstanceList << instancedetail_tmp end end end |