Class: TencentCloud::Dcdb::V20180411::ShardInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dcdb::V20180411::ShardInfo
- Defined in:
- lib/v20180411/models.rb
Overview
分片信息
Instance Attribute Summary collapse
- #Cpu ⇒ Object
- #Createtime ⇒ Object
- #Memory ⇒ Object
- #NodeCount ⇒ Object
- #Pid ⇒ Object
- #ShardId ⇒ Object
- #ShardInstanceId ⇒ Object
- #ShardSerialId ⇒ Object
- #Status ⇒ Object
- #Storage ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(shardinstanceid = nil, shardserialid = nil, status = nil, createtime = nil, memory = nil, storage = nil, shardid = nil, nodecount = nil, pid = nil, cpu = nil) ⇒ ShardInfo
constructor
A new instance of ShardInfo.
Constructor Details
#initialize(shardinstanceid = nil, shardserialid = nil, status = nil, createtime = nil, memory = nil, storage = nil, shardid = nil, nodecount = nil, pid = nil, cpu = nil) ⇒ ShardInfo
Returns a new instance of ShardInfo.
6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 |
# File 'lib/v20180411/models.rb', line 6310 def initialize(shardinstanceid=nil, shardserialid=nil, status=nil, createtime=nil, memory=nil, storage=nil, shardid=nil, nodecount=nil, pid=nil, cpu=nil) @ShardInstanceId = shardinstanceid @ShardSerialId = shardserialid @Status = status @Createtime = createtime @Memory = memory @Storage = storage @ShardId = shardid @NodeCount = nodecount @Pid = pid @Cpu = cpu end |
Instance Attribute Details
#Cpu ⇒ Object
6308 6309 6310 |
# File 'lib/v20180411/models.rb', line 6308 def Cpu @Cpu end |
#Createtime ⇒ Object
6308 6309 6310 |
# File 'lib/v20180411/models.rb', line 6308 def Createtime @Createtime end |
#Memory ⇒ Object
6308 6309 6310 |
# File 'lib/v20180411/models.rb', line 6308 def Memory @Memory end |
#NodeCount ⇒ Object
6308 6309 6310 |
# File 'lib/v20180411/models.rb', line 6308 def NodeCount @NodeCount end |
#Pid ⇒ Object
6308 6309 6310 |
# File 'lib/v20180411/models.rb', line 6308 def Pid @Pid end |
#ShardId ⇒ Object
6308 6309 6310 |
# File 'lib/v20180411/models.rb', line 6308 def ShardId @ShardId end |
#ShardInstanceId ⇒ Object
6308 6309 6310 |
# File 'lib/v20180411/models.rb', line 6308 def ShardInstanceId @ShardInstanceId end |
#ShardSerialId ⇒ Object
6308 6309 6310 |
# File 'lib/v20180411/models.rb', line 6308 def ShardSerialId @ShardSerialId end |
#Status ⇒ Object
6308 6309 6310 |
# File 'lib/v20180411/models.rb', line 6308 def Status @Status end |
#Storage ⇒ Object
6308 6309 6310 |
# File 'lib/v20180411/models.rb', line 6308 def Storage @Storage end |
Instance Method Details
#deserialize(params) ⇒ Object
6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 |
# File 'lib/v20180411/models.rb', line 6323 def deserialize(params) @ShardInstanceId = params['ShardInstanceId'] @ShardSerialId = params['ShardSerialId'] @Status = params['Status'] @Createtime = params['Createtime'] @Memory = params['Memory'] @Storage = params['Storage'] @ShardId = params['ShardId'] @NodeCount = params['NodeCount'] @Pid = params['Pid'] @Cpu = params['Cpu'] end |