Class: TencentCloud::Cdb::V20170320::ReadWriteNode
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::ReadWriteNode
- Defined in:
- lib/v20170320/models.rb
Overview
集群版 RW 节点的配置。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(zone = nil, nodeid = nil) ⇒ ReadWriteNode
constructor
A new instance of ReadWriteNode.
Constructor Details
#initialize(zone = nil, nodeid = nil) ⇒ ReadWriteNode
Returns a new instance of ReadWriteNode.
12589 12590 12591 12592 |
# File 'lib/v20170320/models.rb', line 12589 def initialize(zone=nil, nodeid=nil) @Zone = zone @NodeId = nodeid end |
Instance Attribute Details
#NodeId ⇒ Object
12587 12588 12589 |
# File 'lib/v20170320/models.rb', line 12587 def NodeId @NodeId end |
#Zone ⇒ Object
12587 12588 12589 |
# File 'lib/v20170320/models.rb', line 12587 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
12594 12595 12596 12597 |
# File 'lib/v20170320/models.rb', line 12594 def deserialize(params) @Zone = params['Zone'] @NodeId = params['NodeId'] end |