Class: TencentCloud::Ecm::V20190719::RegionInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ecm::V20190719::RegionInfo
- Defined in:
- lib/v20190719/models.rb
Overview
Region和RegionName
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(region = nil, regionname = nil, regionid = nil) ⇒ RegionInfo
constructor
A new instance of RegionInfo.
Constructor Details
#initialize(region = nil, regionname = nil, regionid = nil) ⇒ RegionInfo
Returns a new instance of RegionInfo.
9349 9350 9351 9352 9353 |
# File 'lib/v20190719/models.rb', line 9349 def initialize(region=nil, regionname=nil, regionid=nil) @Region = region @RegionName = regionname @RegionId = regionid end |
Instance Attribute Details
#Region ⇒ Object
9347 9348 9349 |
# File 'lib/v20190719/models.rb', line 9347 def Region @Region end |
#RegionId ⇒ Object
9347 9348 9349 |
# File 'lib/v20190719/models.rb', line 9347 def RegionId @RegionId end |
#RegionName ⇒ Object
9347 9348 9349 |
# File 'lib/v20190719/models.rb', line 9347 def RegionName @RegionName end |
Instance Method Details
#deserialize(params) ⇒ Object
9355 9356 9357 9358 9359 |
# File 'lib/v20190719/models.rb', line 9355 def deserialize(params) @Region = params['Region'] @RegionName = params['RegionName'] @RegionId = params['RegionId'] end |