Class: TencentCloud::Bm::V20180423::ZoneInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bm::V20180423::ZoneInfo
- Defined in:
- lib/v20180423/models.rb
Overview
可用区信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(zone = nil, zoneid = nil, zonedescription = nil) ⇒ ZoneInfo
constructor
A new instance of ZoneInfo.
Constructor Details
#initialize(zone = nil, zoneid = nil, zonedescription = nil) ⇒ ZoneInfo
Returns a new instance of ZoneInfo.
4291 4292 4293 4294 4295 |
# File 'lib/v20180423/models.rb', line 4291 def initialize(zone=nil, zoneid=nil, zonedescription=nil) @Zone = zone @ZoneId = zoneid @ZoneDescription = zonedescription end |
Instance Attribute Details
#Zone ⇒ Object
4289 4290 4291 |
# File 'lib/v20180423/models.rb', line 4289 def Zone @Zone end |
#ZoneDescription ⇒ Object
4289 4290 4291 |
# File 'lib/v20180423/models.rb', line 4289 def ZoneDescription @ZoneDescription end |
#ZoneId ⇒ Object
4289 4290 4291 |
# File 'lib/v20180423/models.rb', line 4289 def ZoneId @ZoneId end |
Instance Method Details
#deserialize(params) ⇒ Object
4297 4298 4299 4300 4301 |
# File 'lib/v20180423/models.rb', line 4297 def deserialize(params) @Zone = params['Zone'] @ZoneId = params['ZoneId'] @ZoneDescription = params['ZoneDescription'] end |