Class: TencentCloud::Cdb::V20170320::DescribeDBPriceRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DescribeDBPriceRequest
- Defined in:
- lib/v20170320/models.rb
Overview
DescribeDBPrice请求参数结构体
Instance Attribute Summary collapse
- #Cpu ⇒ Object
- #DeviceType ⇒ Object
- #DiskType ⇒ Object
- #GoodsNum ⇒ Object
- #InstanceId ⇒ Object
- #InstanceNodes ⇒ Object
- #InstanceRole ⇒ Object
- #Ladder ⇒ Object
- #Memory ⇒ Object
- #PayType ⇒ Object
- #Period ⇒ Object
- #ProtectMode ⇒ Object
- #Volume ⇒ Object
- #Zone ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#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
constructor
A new instance of DescribeDBPriceRequest.
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
Returns a new instance of DescribeDBPriceRequest.
6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 |
# File 'lib/v20170320/models.rb', line 6599 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
#Cpu ⇒ Object
6597 6598 6599 |
# File 'lib/v20170320/models.rb', line 6597 def Cpu @Cpu end |
#DeviceType ⇒ Object
6597 6598 6599 |
# File 'lib/v20170320/models.rb', line 6597 def DeviceType @DeviceType end |
#DiskType ⇒ Object
6597 6598 6599 |
# File 'lib/v20170320/models.rb', line 6597 def DiskType @DiskType end |
#GoodsNum ⇒ Object
6597 6598 6599 |
# File 'lib/v20170320/models.rb', line 6597 def GoodsNum @GoodsNum end |
#InstanceId ⇒ Object
6597 6598 6599 |
# File 'lib/v20170320/models.rb', line 6597 def InstanceId @InstanceId end |
#InstanceNodes ⇒ Object
6597 6598 6599 |
# File 'lib/v20170320/models.rb', line 6597 def InstanceNodes @InstanceNodes end |
#InstanceRole ⇒ Object
6597 6598 6599 |
# File 'lib/v20170320/models.rb', line 6597 def InstanceRole @InstanceRole end |
#Ladder ⇒ Object
6597 6598 6599 |
# File 'lib/v20170320/models.rb', line 6597 def Ladder @Ladder end |
#Memory ⇒ Object
6597 6598 6599 |
# File 'lib/v20170320/models.rb', line 6597 def Memory @Memory end |
#PayType ⇒ Object
6597 6598 6599 |
# File 'lib/v20170320/models.rb', line 6597 def PayType @PayType end |
#Period ⇒ Object
6597 6598 6599 |
# File 'lib/v20170320/models.rb', line 6597 def Period @Period end |
#ProtectMode ⇒ Object
6597 6598 6599 |
# File 'lib/v20170320/models.rb', line 6597 def ProtectMode @ProtectMode end |
#Volume ⇒ Object
6597 6598 6599 |
# File 'lib/v20170320/models.rb', line 6597 def Volume @Volume end |
#Zone ⇒ Object
6597 6598 6599 |
# File 'lib/v20170320/models.rb', line 6597 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 |
# File 'lib/v20170320/models.rb', line 6616 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 |