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.
12760 12761 12762 12763 |
# File 'lib/v20170320/models.rb', line 12760 def initialize(zone=nil, nodeid=nil) @Zone = zone @NodeId = nodeid end |
Instance Attribute Details
#NodeId ⇒ Object
12758 12759 12760 |
# File 'lib/v20170320/models.rb', line 12758 def NodeId @NodeId end |
#Zone ⇒ Object
12758 12759 12760 |
# File 'lib/v20170320/models.rb', line 12758 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
12765 12766 12767 12768 |
# File 'lib/v20170320/models.rb', line 12765 def deserialize(params) @Zone = params['Zone'] @NodeId = params['NodeId'] end |