Class: TencentCloud::Cdc::V20201214::ZoneInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdc::V20201214::ZoneInfo
- Defined in:
- lib/v20201214/models.rb
Overview
可用区信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(zone = nil, zonename = nil, zoneid = nil, zonestate = nil) ⇒ ZoneInfo
constructor
A new instance of ZoneInfo.
Constructor Details
#initialize(zone = nil, zonename = nil, zoneid = nil, zonestate = nil) ⇒ ZoneInfo
Returns a new instance of ZoneInfo.
2400 2401 2402 2403 2404 2405 |
# File 'lib/v20201214/models.rb', line 2400 def initialize(zone=nil, zonename=nil, zoneid=nil, zonestate=nil) @Zone = zone @ZoneName = zonename @ZoneId = zoneid @ZoneState = zonestate end |
Instance Attribute Details
#Zone ⇒ Object
2398 2399 2400 |
# File 'lib/v20201214/models.rb', line 2398 def Zone @Zone end |
#ZoneId ⇒ Object
2398 2399 2400 |
# File 'lib/v20201214/models.rb', line 2398 def ZoneId @ZoneId end |
#ZoneName ⇒ Object
2398 2399 2400 |
# File 'lib/v20201214/models.rb', line 2398 def ZoneName @ZoneName end |
#ZoneState ⇒ Object
2398 2399 2400 |
# File 'lib/v20201214/models.rb', line 2398 def ZoneState @ZoneState end |
Instance Method Details
#deserialize(params) ⇒ Object
2407 2408 2409 2410 2411 2412 |
# File 'lib/v20201214/models.rb', line 2407 def deserialize(params) @Zone = params['Zone'] @ZoneName = params['ZoneName'] @ZoneId = params['ZoneId'] @ZoneState = params['ZoneState'] end |