Class: TencentCloud::Eis::V20210601::ListRuntimesMCResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Eis::V20210601::ListRuntimesMCResponse
- Defined in:
- lib/v20210601/models.rb
Overview
ListRuntimesMC返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(runtimes = nil, requestid = nil) ⇒ ListRuntimesMCResponse
constructor
A new instance of ListRuntimesMCResponse.
Constructor Details
#initialize(runtimes = nil, requestid = nil) ⇒ ListRuntimesMCResponse
Returns a new instance of ListRuntimesMCResponse.
372 373 374 375 |
# File 'lib/v20210601/models.rb', line 372 def initialize(runtimes=nil, requestid=nil) @Runtimes = runtimes @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
370 371 372 |
# File 'lib/v20210601/models.rb', line 370 def RequestId @RequestId end |
#Runtimes ⇒ Object
370 371 372 |
# File 'lib/v20210601/models.rb', line 370 def Runtimes @Runtimes end |
Instance Method Details
#deserialize(params) ⇒ Object
377 378 379 380 381 382 383 384 385 386 387 |
# File 'lib/v20210601/models.rb', line 377 def deserialize(params) unless params['Runtimes'].nil? @Runtimes = [] params['Runtimes'].each do |i| runtimemc_tmp = RuntimeMC.new runtimemc_tmp.deserialize(i) @Runtimes << runtimemc_tmp end end @RequestId = params['RequestId'] end |