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.
5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 |
# File 'lib/v20180411/models.rb', line 5992 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
5990 5991 5992 |
# File 'lib/v20180411/models.rb', line 5990 def Cpu @Cpu end |
#Createtime ⇒ Object
5990 5991 5992 |
# File 'lib/v20180411/models.rb', line 5990 def Createtime @Createtime end |
#Memory ⇒ Object
5990 5991 5992 |
# File 'lib/v20180411/models.rb', line 5990 def Memory @Memory end |
#NodeCount ⇒ Object
5990 5991 5992 |
# File 'lib/v20180411/models.rb', line 5990 def NodeCount @NodeCount end |
#Pid ⇒ Object
5990 5991 5992 |
# File 'lib/v20180411/models.rb', line 5990 def Pid @Pid end |
#ShardId ⇒ Object
5990 5991 5992 |
# File 'lib/v20180411/models.rb', line 5990 def ShardId @ShardId end |
#ShardInstanceId ⇒ Object
5990 5991 5992 |
# File 'lib/v20180411/models.rb', line 5990 def ShardInstanceId @ShardInstanceId end |
#ShardSerialId ⇒ Object
5990 5991 5992 |
# File 'lib/v20180411/models.rb', line 5990 def ShardSerialId @ShardSerialId end |
#Status ⇒ Object
5990 5991 5992 |
# File 'lib/v20180411/models.rb', line 5990 def Status @Status end |
#Storage ⇒ Object
5990 5991 5992 |
# File 'lib/v20180411/models.rb', line 5990 def Storage @Storage end |
Instance Method Details
#deserialize(params) ⇒ Object
6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 |
# File 'lib/v20180411/models.rb', line 6005 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 |