Class: TencentCloud::Keewidb::V20220308::NodeInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Keewidb::V20220308::NodeInfo
- Defined in:
- lib/v20220308/models.rb
Overview
描述实例的主节点或者副本节点信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(nodetype = nil, nodeid = nil, zoneid = nil, zonename = nil) ⇒ NodeInfo
constructor
A new instance of NodeInfo.
Constructor Details
#initialize(nodetype = nil, nodeid = nil, zoneid = nil, zonename = nil) ⇒ NodeInfo
Returns a new instance of NodeInfo.
2728 2729 2730 2731 2732 2733 |
# File 'lib/v20220308/models.rb', line 2728 def initialize(nodetype=nil, nodeid=nil, zoneid=nil, zonename=nil) @NodeType = nodetype @NodeId = nodeid @ZoneId = zoneid @ZoneName = zonename end |
Instance Attribute Details
#NodeId ⇒ Object
2726 2727 2728 |
# File 'lib/v20220308/models.rb', line 2726 def NodeId @NodeId end |
#NodeType ⇒ Object
2726 2727 2728 |
# File 'lib/v20220308/models.rb', line 2726 def NodeType @NodeType end |
#ZoneId ⇒ Object
2726 2727 2728 |
# File 'lib/v20220308/models.rb', line 2726 def ZoneId @ZoneId end |
#ZoneName ⇒ Object
2726 2727 2728 |
# File 'lib/v20220308/models.rb', line 2726 def ZoneName @ZoneName end |
Instance Method Details
#deserialize(params) ⇒ Object
2735 2736 2737 2738 2739 2740 |
# File 'lib/v20220308/models.rb', line 2735 def deserialize(params) @NodeType = params['NodeType'] @NodeId = params['NodeId'] @ZoneId = params['ZoneId'] @ZoneName = params['ZoneName'] end |