Class: TencentCloud::Cwp::V20180228::RegionListDetail
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::RegionListDetail
- Defined in:
- lib/v20180228/models.rb
Overview
地域列表详情
Instance Attribute Summary collapse
-
#CloudFrom ⇒ Object
CVM 腾讯云云服务器 LH 腾讯云轻量服务器 ECM 腾讯云边缘计算服务器 BM 腾讯云黑石1.0 服务器 Other 其他服务器(非腾讯云) 1 IDC机房 2 阿里云 3 华为云 4 亚马逊 5 微软 6 Google 7 Oracle 8 Digital Ocean.
-
#MachineType ⇒ Object
CVM 腾讯云云服务器 LH 腾讯云轻量服务器 ECM 腾讯云边缘计算服务器 BM 腾讯云黑石1.0 服务器 Other 其他服务器(非腾讯云) 1 IDC机房 2 阿里云 3 华为云 4 亚马逊 5 微软 6 Google 7 Oracle 8 Digital Ocean.
-
#RegionList ⇒ Object
CVM 腾讯云云服务器 LH 腾讯云轻量服务器 ECM 腾讯云边缘计算服务器 BM 腾讯云黑石1.0 服务器 Other 其他服务器(非腾讯云) 1 IDC机房 2 阿里云 3 华为云 4 亚马逊 5 微软 6 Google 7 Oracle 8 Digital Ocean.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(machinetype = nil, cloudfrom = nil, regionlist = nil) ⇒ RegionListDetail
constructor
A new instance of RegionListDetail.
Constructor Details
#initialize(machinetype = nil, cloudfrom = nil, regionlist = nil) ⇒ RegionListDetail
Returns a new instance of RegionListDetail.
36527 36528 36529 36530 36531 |
# File 'lib/v20180228/models.rb', line 36527 def initialize(machinetype=nil, cloudfrom=nil, regionlist=nil) @MachineType = machinetype @CloudFrom = cloudfrom @RegionList = regionlist end |
Instance Attribute Details
#CloudFrom ⇒ Object
CVM 腾讯云云服务器 LH 腾讯云轻量服务器 ECM 腾讯云边缘计算服务器 BM 腾讯云黑石1.0 服务器 Other 其他服务器(非腾讯云) 1 IDC机房 2 阿里云 3 华为云 4 亚马逊 5 微软 6 Google 7 Oracle 8 Digital Ocean
36525 36526 36527 |
# File 'lib/v20180228/models.rb', line 36525 def CloudFrom @CloudFrom end |
#MachineType ⇒ Object
CVM 腾讯云云服务器 LH 腾讯云轻量服务器 ECM 腾讯云边缘计算服务器 BM 腾讯云黑石1.0 服务器 Other 其他服务器(非腾讯云) 1 IDC机房 2 阿里云 3 华为云 4 亚马逊 5 微软 6 Google 7 Oracle 8 Digital Ocean
36525 36526 36527 |
# File 'lib/v20180228/models.rb', line 36525 def MachineType @MachineType end |
#RegionList ⇒ Object
CVM 腾讯云云服务器 LH 腾讯云轻量服务器 ECM 腾讯云边缘计算服务器 BM 腾讯云黑石1.0 服务器 Other 其他服务器(非腾讯云) 1 IDC机房 2 阿里云 3 华为云 4 亚马逊 5 微软 6 Google 7 Oracle 8 Digital Ocean
36525 36526 36527 |
# File 'lib/v20180228/models.rb', line 36525 def RegionList @RegionList end |
Instance Method Details
#deserialize(params) ⇒ Object
36533 36534 36535 36536 36537 36538 36539 36540 36541 36542 36543 36544 |
# File 'lib/v20180228/models.rb', line 36533 def deserialize(params) @MachineType = params['MachineType'] @CloudFrom = params['CloudFrom'] unless params['RegionList'].nil? @RegionList = [] params['RegionList'].each do |i| regioninfo_tmp = RegionInfo.new regioninfo_tmp.deserialize(i) @RegionList << regioninfo_tmp end end end |