Class: TencentCloud::Tdmq::V20200217::InstanceNodeDistribution
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::InstanceNodeDistribution
- Defined in:
- lib/v20200217/models.rb
Overview
实例节点分布信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(zonename = nil, zoneid = nil, nodecount = nil, nodepermwipeflag = nil) ⇒ InstanceNodeDistribution
constructor
A new instance of InstanceNodeDistribution.
Constructor Details
#initialize(zonename = nil, zoneid = nil, nodecount = nil, nodepermwipeflag = nil) ⇒ InstanceNodeDistribution
Returns a new instance of InstanceNodeDistribution.
8309 8310 8311 8312 8313 8314 |
# File 'lib/v20200217/models.rb', line 8309 def initialize(zonename=nil, zoneid=nil, nodecount=nil, nodepermwipeflag=nil) @ZoneName = zonename @ZoneId = zoneid @NodeCount = nodecount @NodePermWipeFlag = nodepermwipeflag end |
Instance Attribute Details
#NodeCount ⇒ Object
8307 8308 8309 |
# File 'lib/v20200217/models.rb', line 8307 def NodeCount @NodeCount end |
#NodePermWipeFlag ⇒ Object
8307 8308 8309 |
# File 'lib/v20200217/models.rb', line 8307 def NodePermWipeFlag @NodePermWipeFlag end |
#ZoneId ⇒ Object
8307 8308 8309 |
# File 'lib/v20200217/models.rb', line 8307 def ZoneId @ZoneId end |
#ZoneName ⇒ Object
8307 8308 8309 |
# File 'lib/v20200217/models.rb', line 8307 def ZoneName @ZoneName end |
Instance Method Details
#deserialize(params) ⇒ Object
8316 8317 8318 8319 8320 8321 |
# File 'lib/v20200217/models.rb', line 8316 def deserialize(params) @ZoneName = params['ZoneName'] @ZoneId = params['ZoneId'] @NodeCount = params['NodeCount'] @NodePermWipeFlag = params['NodePermWipeFlag'] end |