Class: TencentCloud::Cwp::V20180228::DescribeMachineRegionsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeMachineRegionsResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeMachineRegions返回参数结构体
Instance Attribute Summary collapse
- #ALL ⇒ Object
- #BM ⇒ Object
- #CVM ⇒ Object
- #ECM ⇒ Object
- #LH ⇒ Object
- #Other ⇒ Object
- #RequestId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(cvm = nil, bm = nil, lh = nil, ecm = nil, other = nil, all = nil, requestid = nil) ⇒ DescribeMachineRegionsResponse
constructor
A new instance of DescribeMachineRegionsResponse.
Constructor Details
#initialize(cvm = nil, bm = nil, lh = nil, ecm = nil, other = nil, all = nil, requestid = nil) ⇒ DescribeMachineRegionsResponse
Returns a new instance of DescribeMachineRegionsResponse.
17377 17378 17379 17380 17381 17382 17383 17384 17385 |
# File 'lib/v20180228/models.rb', line 17377 def initialize(cvm=nil, bm=nil, lh=nil, ecm=nil, other=nil, all=nil, requestid=nil) @CVM = cvm @BM = bm @LH = lh @ECM = ecm @Other = other @ALL = all @RequestId = requestid end |
Instance Attribute Details
#ALL ⇒ Object
17375 17376 17377 |
# File 'lib/v20180228/models.rb', line 17375 def ALL @ALL end |
#BM ⇒ Object
17375 17376 17377 |
# File 'lib/v20180228/models.rb', line 17375 def BM @BM end |
#CVM ⇒ Object
17375 17376 17377 |
# File 'lib/v20180228/models.rb', line 17375 def CVM @CVM end |
#ECM ⇒ Object
17375 17376 17377 |
# File 'lib/v20180228/models.rb', line 17375 def ECM @ECM end |
#LH ⇒ Object
17375 17376 17377 |
# File 'lib/v20180228/models.rb', line 17375 def LH @LH end |
#Other ⇒ Object
17375 17376 17377 |
# File 'lib/v20180228/models.rb', line 17375 def Other @Other end |
#RequestId ⇒ Object
17375 17376 17377 |
# File 'lib/v20180228/models.rb', line 17375 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
17387 17388 17389 17390 17391 17392 17393 17394 17395 17396 17397 17398 17399 17400 17401 17402 17403 17404 17405 17406 17407 17408 17409 17410 17411 17412 17413 17414 17415 17416 17417 17418 17419 17420 17421 17422 17423 17424 17425 17426 17427 17428 17429 17430 17431 17432 17433 17434 17435 17436 17437 |
# File 'lib/v20180228/models.rb', line 17387 def deserialize(params) unless params['CVM'].nil? @CVM = [] params['CVM'].each do |i| regioninfo_tmp = RegionInfo.new regioninfo_tmp.deserialize(i) @CVM << regioninfo_tmp end end unless params['BM'].nil? @BM = [] params['BM'].each do |i| regioninfo_tmp = RegionInfo.new regioninfo_tmp.deserialize(i) @BM << regioninfo_tmp end end unless params['LH'].nil? @LH = [] params['LH'].each do |i| regioninfo_tmp = RegionInfo.new regioninfo_tmp.deserialize(i) @LH << regioninfo_tmp end end unless params['ECM'].nil? @ECM = [] params['ECM'].each do |i| regioninfo_tmp = RegionInfo.new regioninfo_tmp.deserialize(i) @ECM << regioninfo_tmp end end unless params['Other'].nil? @Other = [] params['Other'].each do |i| regioninfo_tmp = RegionInfo.new regioninfo_tmp.deserialize(i) @Other << regioninfo_tmp end end unless params['ALL'].nil? @ALL = [] params['ALL'].each do |i| regioninfo_tmp = RegionInfo.new regioninfo_tmp.deserialize(i) @ALL << regioninfo_tmp end end @RequestId = params['RequestId'] end |