Class: TencentCloud::Dcdb::V20180411::DescribeDCDBPriceRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dcdb::V20180411::DescribeDCDBPriceRequest
- Defined in:
- lib/v20180411/models.rb
Overview
DescribeDCDBPrice请求参数结构体
Instance Attribute Summary collapse
-
#AmountUnit ⇒ Object
-
pent:分 * microPent:微分.
-
-
#Count ⇒ Object
-
pent:分 * microPent:微分.
-
-
#CpuType ⇒ Object
-
pent:分 * microPent:微分.
-
-
#Paymode ⇒ Object
-
pent:分 * microPent:微分.
-
-
#Period ⇒ Object
-
pent:分 * microPent:微分.
-
-
#ShardCount ⇒ Object
-
pent:分 * microPent:微分.
-
-
#ShardMemory ⇒ Object
-
pent:分 * microPent:微分.
-
-
#ShardNodeCount ⇒ Object
-
pent:分 * microPent:微分.
-
-
#ShardStorage ⇒ Object
-
pent:分 * microPent:微分.
-
-
#Zone ⇒ Object
-
pent:分 * microPent:微分.
-
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(zone = nil, count = nil, period = nil, shardnodecount = nil, shardmemory = nil, shardstorage = nil, shardcount = nil, paymode = nil, amountunit = nil, cputype = nil) ⇒ DescribeDCDBPriceRequest
constructor
A new instance of DescribeDCDBPriceRequest.
Constructor Details
#initialize(zone = nil, count = nil, period = nil, shardnodecount = nil, shardmemory = nil, shardstorage = nil, shardcount = nil, paymode = nil, amountunit = nil, cputype = nil) ⇒ DescribeDCDBPriceRequest
Returns a new instance of DescribeDCDBPriceRequest.
3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 |
# File 'lib/v20180411/models.rb', line 3138 def initialize(zone=nil, count=nil, period=nil, shardnodecount=nil, shardmemory=nil, shardstorage=nil, shardcount=nil, paymode=nil, amountunit=nil, cputype=nil) @Zone = zone @Count = count @Period = period @ShardNodeCount = shardnodecount @ShardMemory = shardmemory @ShardStorage = shardstorage @ShardCount = shardcount @Paymode = paymode @AmountUnit = amountunit @CpuType = cputype end |
Instance Attribute Details
#AmountUnit ⇒ Object
-
pent:分
-
microPent:微分
3136 3137 3138 |
# File 'lib/v20180411/models.rb', line 3136 def AmountUnit @AmountUnit end |
#Count ⇒ Object
-
pent:分
-
microPent:微分
3136 3137 3138 |
# File 'lib/v20180411/models.rb', line 3136 def Count @Count end |
#CpuType ⇒ Object
-
pent:分
-
microPent:微分
3136 3137 3138 |
# File 'lib/v20180411/models.rb', line 3136 def CpuType @CpuType end |
#Paymode ⇒ Object
-
pent:分
-
microPent:微分
3136 3137 3138 |
# File 'lib/v20180411/models.rb', line 3136 def Paymode @Paymode end |
#Period ⇒ Object
-
pent:分
-
microPent:微分
3136 3137 3138 |
# File 'lib/v20180411/models.rb', line 3136 def Period @Period end |
#ShardCount ⇒ Object
-
pent:分
-
microPent:微分
3136 3137 3138 |
# File 'lib/v20180411/models.rb', line 3136 def ShardCount @ShardCount end |
#ShardMemory ⇒ Object
-
pent:分
-
microPent:微分
3136 3137 3138 |
# File 'lib/v20180411/models.rb', line 3136 def ShardMemory @ShardMemory end |
#ShardNodeCount ⇒ Object
-
pent:分
-
microPent:微分
3136 3137 3138 |
# File 'lib/v20180411/models.rb', line 3136 def ShardNodeCount @ShardNodeCount end |
#ShardStorage ⇒ Object
-
pent:分
-
microPent:微分
3136 3137 3138 |
# File 'lib/v20180411/models.rb', line 3136 def ShardStorage @ShardStorage end |
#Zone ⇒ Object
-
pent:分
-
microPent:微分
3136 3137 3138 |
# File 'lib/v20180411/models.rb', line 3136 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 |
# File 'lib/v20180411/models.rb', line 3151 def deserialize(params) @Zone = params['Zone'] @Count = params['Count'] @Period = params['Period'] @ShardNodeCount = params['ShardNodeCount'] @ShardMemory = params['ShardMemory'] @ShardStorage = params['ShardStorage'] @ShardCount = params['ShardCount'] @Paymode = params['Paymode'] @AmountUnit = params['AmountUnit'] @CpuType = params['CpuType'] end |