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.
17658 17659 17660 17661 17662 17663 17664 17665 17666 |
# File 'lib/v20180228/models.rb', line 17658 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
17656 17657 17658 |
# File 'lib/v20180228/models.rb', line 17656 def ALL @ALL end |
#BM ⇒ Object
17656 17657 17658 |
# File 'lib/v20180228/models.rb', line 17656 def BM @BM end |
#CVM ⇒ Object
17656 17657 17658 |
# File 'lib/v20180228/models.rb', line 17656 def CVM @CVM end |
#ECM ⇒ Object
17656 17657 17658 |
# File 'lib/v20180228/models.rb', line 17656 def ECM @ECM end |
#LH ⇒ Object
17656 17657 17658 |
# File 'lib/v20180228/models.rb', line 17656 def LH @LH end |
#Other ⇒ Object
17656 17657 17658 |
# File 'lib/v20180228/models.rb', line 17656 def Other @Other end |
#RequestId ⇒ Object
17656 17657 17658 |
# File 'lib/v20180228/models.rb', line 17656 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
17668 17669 17670 17671 17672 17673 17674 17675 17676 17677 17678 17679 17680 17681 17682 17683 17684 17685 17686 17687 17688 17689 17690 17691 17692 17693 17694 17695 17696 17697 17698 17699 17700 17701 17702 17703 17704 17705 17706 17707 17708 17709 17710 17711 17712 17713 17714 17715 17716 17717 17718 |
# File 'lib/v20180228/models.rb', line 17668 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 |