Class: TencentCloud::Cdb::V20170320::ReadonlyNode
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::ReadonlyNode
- Defined in:
- lib/v20170320/models.rb
Overview
云盘版的 RO 节点配置。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(israndomzone = nil, zone = nil, nodeid = nil) ⇒ ReadonlyNode
constructor
A new instance of ReadonlyNode.
Constructor Details
#initialize(israndomzone = nil, zone = nil, nodeid = nil) ⇒ ReadonlyNode
Returns a new instance of ReadonlyNode.
12782 12783 12784 12785 12786 |
# File 'lib/v20170320/models.rb', line 12782 def initialize(israndomzone=nil, zone=nil, nodeid=nil) @IsRandomZone = israndomzone @Zone = zone @NodeId = nodeid end |
Instance Attribute Details
#IsRandomZone ⇒ Object
12780 12781 12782 |
# File 'lib/v20170320/models.rb', line 12780 def IsRandomZone @IsRandomZone end |
#NodeId ⇒ Object
12780 12781 12782 |
# File 'lib/v20170320/models.rb', line 12780 def NodeId @NodeId end |
#Zone ⇒ Object
12780 12781 12782 |
# File 'lib/v20170320/models.rb', line 12780 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
12788 12789 12790 12791 12792 |
# File 'lib/v20170320/models.rb', line 12788 def deserialize(params) @IsRandomZone = params['IsRandomZone'] @Zone = params['Zone'] @NodeId = params['NodeId'] end |