Class: TencentCloud::Eis::V20210601::ListRuntimeDeployedInstancesMCResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Eis::V20210601::ListRuntimeDeployedInstancesMCResponse
- Defined in:
- lib/v20210601/models.rb
Overview
ListRuntimeDeployedInstancesMC返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instances = nil, totalcount = nil, requestid = nil) ⇒ ListRuntimeDeployedInstancesMCResponse
constructor
A new instance of ListRuntimeDeployedInstancesMCResponse.
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
321 322 323 |
# File 'lib/v20210601/models.rb', line 321 def Instances @Instances end |
#RequestId ⇒ Object
321 322 323 |
# File 'lib/v20210601/models.rb', line 321 def RequestId @RequestId end |
#TotalCount ⇒ Object
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 |