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.
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
#Cpu ⇒ Object
6568 6569 6570 |
# File 'lib/v20170320/models.rb', line 6568 def Cpu @Cpu end |
#DeviceType ⇒ Object
6568 6569 6570 |
# File 'lib/v20170320/models.rb', line 6568 def DeviceType @DeviceType end |
#DiskType ⇒ Object
6568 6569 6570 |
# File 'lib/v20170320/models.rb', line 6568 def DiskType @DiskType end |
#GoodsNum ⇒ Object
6568 6569 6570 |
# File 'lib/v20170320/models.rb', line 6568 def GoodsNum @GoodsNum end |
#InstanceId ⇒ Object
6568 6569 6570 |
# File 'lib/v20170320/models.rb', line 6568 def InstanceId @InstanceId end |
#InstanceNodes ⇒ Object
6568 6569 6570 |
# File 'lib/v20170320/models.rb', line 6568 def InstanceNodes @InstanceNodes end |
#InstanceRole ⇒ Object
6568 6569 6570 |
# File 'lib/v20170320/models.rb', line 6568 def InstanceRole @InstanceRole end |
#Ladder ⇒ Object
6568 6569 6570 |
# File 'lib/v20170320/models.rb', line 6568 def Ladder @Ladder end |
#Memory ⇒ Object
6568 6569 6570 |
# File 'lib/v20170320/models.rb', line 6568 def Memory @Memory end |
#PayType ⇒ Object
6568 6569 6570 |
# File 'lib/v20170320/models.rb', line 6568 def PayType @PayType end |
#Period ⇒ Object
6568 6569 6570 |
# File 'lib/v20170320/models.rb', line 6568 def Period @Period end |
#ProtectMode ⇒ Object
6568 6569 6570 |
# File 'lib/v20170320/models.rb', line 6568 def ProtectMode @ProtectMode end |
#Volume ⇒ Object
6568 6569 6570 |
# File 'lib/v20170320/models.rb', line 6568 def Volume @Volume end |
#Zone ⇒ Object
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 |