Class: TencentCloud::Cdb::V20170320::DescribeDBPriceRequest

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

Overview

DescribeDBPrice请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(period = nil, zone = nil, goodsnum = nil, memory = nil, volume = nil, instancerole = nil, paytype = nil, protectmode = nil, devicetype = nil, instancenodes = nil, cpu = nil, instanceid = nil, ladder = nil, disktype = nil) ⇒ DescribeDBPriceRequest



6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
# File 'lib/v20170320/models.rb', line 6570

def initialize(period=nil, zone=nil, goodsnum=nil, memory=nil, volume=nil, instancerole=nil, paytype=nil, protectmode=nil, devicetype=nil, instancenodes=nil, cpu=nil, instanceid=nil, ladder=nil, disktype=nil)
  @Period = period
  @Zone = zone
  @GoodsNum = goodsnum
  @Memory = memory
  @Volume = volume
  @InstanceRole = instancerole
  @PayType = paytype
  @ProtectMode = protectmode
  @DeviceType = devicetype
  @InstanceNodes = instancenodes
  @Cpu = cpu
  @InstanceId = instanceid
  @Ladder = ladder
  @DiskType = disktype
end

Instance Attribute Details

#CpuObject



6568
6569
6570
# File 'lib/v20170320/models.rb', line 6568

def Cpu
  @Cpu
end

#DeviceTypeObject



6568
6569
6570
# File 'lib/v20170320/models.rb', line 6568

def DeviceType
  @DeviceType
end

#DiskTypeObject



6568
6569
6570
# File 'lib/v20170320/models.rb', line 6568

def DiskType
  @DiskType
end

#GoodsNumObject



6568
6569
6570
# File 'lib/v20170320/models.rb', line 6568

def GoodsNum
  @GoodsNum
end

#InstanceIdObject



6568
6569
6570
# File 'lib/v20170320/models.rb', line 6568

def InstanceId
  @InstanceId
end

#InstanceNodesObject



6568
6569
6570
# File 'lib/v20170320/models.rb', line 6568

def InstanceNodes
  @InstanceNodes
end

#InstanceRoleObject



6568
6569
6570
# File 'lib/v20170320/models.rb', line 6568

def InstanceRole
  @InstanceRole
end

#LadderObject



6568
6569
6570
# File 'lib/v20170320/models.rb', line 6568

def Ladder
  @Ladder
end

#MemoryObject



6568
6569
6570
# File 'lib/v20170320/models.rb', line 6568

def Memory
  @Memory
end

#PayTypeObject



6568
6569
6570
# File 'lib/v20170320/models.rb', line 6568

def PayType
  @PayType
end

#PeriodObject



6568
6569
6570
# File 'lib/v20170320/models.rb', line 6568

def Period
  @Period
end

#ProtectModeObject



6568
6569
6570
# File 'lib/v20170320/models.rb', line 6568

def ProtectMode
  @ProtectMode
end

#VolumeObject



6568
6569
6570
# File 'lib/v20170320/models.rb', line 6568

def Volume
  @Volume
end

#ZoneObject



6568
6569
6570
# File 'lib/v20170320/models.rb', line 6568

def Zone
  @Zone
end

Instance Method Details

#deserialize(params) ⇒ Object



6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
# File 'lib/v20170320/models.rb', line 6587

def deserialize(params)
  @Period = params['Period']
  @Zone = params['Zone']
  @GoodsNum = params['GoodsNum']
  @Memory = params['Memory']
  @Volume = params['Volume']
  @InstanceRole = params['InstanceRole']
  @PayType = params['PayType']
  @ProtectMode = params['ProtectMode']
  @DeviceType = params['DeviceType']
  @InstanceNodes = params['InstanceNodes']
  @Cpu = params['Cpu']
  @InstanceId = params['InstanceId']
  @Ladder = params['Ladder']
  @DiskType = params['DiskType']
end