Class: TencentCloud::Cdb::V20170320::ProxyNodeCustom

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170320/models.rb

Overview

节点规格配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(nodecount = nil, cpu = nil, mem = nil, region = nil, zone = nil) ⇒ ProxyNodeCustom



12436
12437
12438
12439
12440
12441
12442
# File 'lib/v20170320/models.rb', line 12436

def initialize(nodecount=nil, cpu=nil, mem=nil, region=nil, zone=nil)
  @NodeCount = nodecount
  @Cpu = cpu
  @Mem = mem
  @Region = region
  @Zone = zone
end

Instance Attribute Details

#CpuObject



12434
12435
12436
# File 'lib/v20170320/models.rb', line 12434

def Cpu
  @Cpu
end

#MemObject



12434
12435
12436
# File 'lib/v20170320/models.rb', line 12434

def Mem
  @Mem
end

#NodeCountObject



12434
12435
12436
# File 'lib/v20170320/models.rb', line 12434

def NodeCount
  @NodeCount
end

#RegionObject



12434
12435
12436
# File 'lib/v20170320/models.rb', line 12434

def Region
  @Region
end

#ZoneObject



12434
12435
12436
# File 'lib/v20170320/models.rb', line 12434

def Zone
  @Zone
end

Instance Method Details

#deserialize(params) ⇒ Object



12444
12445
12446
12447
12448
12449
12450
# File 'lib/v20170320/models.rb', line 12444

def deserialize(params)
  @NodeCount = params['NodeCount']
  @Cpu = params['Cpu']
  @Mem = params['Mem']
  @Region = params['Region']
  @Zone = params['Zone']
end