Class: TencentCloud::Eis::V20210601::ListRuntimeDeployedInstancesMCResponse

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

Overview

ListRuntimeDeployedInstancesMC返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instances = nil, totalcount = nil, requestid = nil) ⇒ ListRuntimeDeployedInstancesMCResponse

Returns a new instance of ListRuntimeDeployedInstancesMCResponse.



323
324
325
326
327
# File 'lib/v20210601/models.rb', line 323

def initialize(instances=nil, totalcount=nil, requestid=nil)
  @Instances = instances
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#Instances ⇒ Object

Parameters:

  • Instances: —

    运行时所部属的应用实例列表

  • TotalCount: —

    满足条件的记录总数,用于分页器

  • RequestId: —

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



321
322
323
# File 'lib/v20210601/models.rb', line 321

def Instances
  @Instances
end

#RequestId ⇒ Object

Parameters:

  • Instances: —

    运行时所部属的应用实例列表

  • TotalCount: —

    满足条件的记录总数,用于分页器

  • RequestId: —

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



321
322
323
# File 'lib/v20210601/models.rb', line 321

def RequestId
  @RequestId
end

#TotalCount ⇒ Object

Parameters:

  • Instances: —

    运行时所部属的应用实例列表

  • TotalCount: —

    满足条件的记录总数,用于分页器

  • RequestId: —

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



321
322
323
# File 'lib/v20210601/models.rb', line 321

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



329
330
331
332
333
334
335
336
337
338
339
340
# File 'lib/v20210601/models.rb', line 329

def deserialize(params)
  unless params['Instances'].nil?
    @Instances = []
    params['Instances'].each do |i|
      runtimedeployedinstancemc_tmp = RuntimeDeployedInstanceMC.new
      runtimedeployedinstancemc_tmp.deserialize(i)
      @Instances << runtimedeployedinstancemc_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end