Class: TencentCloud::Bm::V20180423::DevicePriceInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bm::V20180423::DevicePriceInfo
- Defined in:
- lib/v20180423/models.rb
Overview
服务器价格信息
Instance Attribute Summary collapse
- #CpmPayMode ⇒ Object
- #CpuDescription ⇒ Object
- #DeviceClassCode ⇒ Object
- #DiskDescription ⇒ Object
- #GoodsCount ⇒ Object
- #GpuDescription ⇒ Object
- #InstanceId ⇒ Object
- #IsElastic ⇒ Object
- #MemDescription ⇒ Object
- #NicDescription ⇒ Object
- #NormalPrice ⇒ Object
- #Price ⇒ Object
- #RaidDescription ⇒ Object
- #RealTotalCost ⇒ Object
- #TimeSpan ⇒ Object
- #TimeUnit ⇒ Object
- #TotalCost ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, deviceclasscode = nil, iselastic = nil, cpmpaymode = nil, cpudescription = nil, memdescription = nil, diskdescription = nil, nicdescription = nil, gpudescription = nil, raiddescription = nil, price = nil, normalprice = nil, totalcost = nil, realtotalcost = nil, timespan = nil, timeunit = nil, goodscount = nil) ⇒ DevicePriceInfo
constructor
A new instance of DevicePriceInfo.
Constructor Details
#initialize(instanceid = nil, deviceclasscode = nil, iselastic = nil, cpmpaymode = nil, cpudescription = nil, memdescription = nil, diskdescription = nil, nicdescription = nil, gpudescription = nil, raiddescription = nil, price = nil, normalprice = nil, totalcost = nil, realtotalcost = nil, timespan = nil, timeunit = nil, goodscount = nil) ⇒ DevicePriceInfo
2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 |
# File 'lib/v20180423/models.rb', line 2740 def initialize(instanceid=nil, deviceclasscode=nil, iselastic=nil, cpmpaymode=nil, cpudescription=nil, memdescription=nil, diskdescription=nil, nicdescription=nil, gpudescription=nil, raiddescription=nil, price=nil, normalprice=nil, totalcost=nil, realtotalcost=nil, timespan=nil, timeunit=nil, goodscount=nil) @InstanceId = instanceid @DeviceClassCode = deviceclasscode @IsElastic = iselastic @CpmPayMode = cpmpaymode @CpuDescription = cpudescription @MemDescription = memdescription @DiskDescription = diskdescription @NicDescription = nicdescription @GpuDescription = gpudescription @RaidDescription = raiddescription @Price = price @NormalPrice = normalprice @TotalCost = totalcost @RealTotalCost = realtotalcost @TimeSpan = timespan @TimeUnit = timeunit @GoodsCount = goodscount end |
Instance Attribute Details
#CpmPayMode ⇒ Object
2738 2739 2740 |
# File 'lib/v20180423/models.rb', line 2738 def CpmPayMode @CpmPayMode end |
#CpuDescription ⇒ Object
2738 2739 2740 |
# File 'lib/v20180423/models.rb', line 2738 def CpuDescription @CpuDescription end |
#DeviceClassCode ⇒ Object
2738 2739 2740 |
# File 'lib/v20180423/models.rb', line 2738 def DeviceClassCode @DeviceClassCode end |
#DiskDescription ⇒ Object
2738 2739 2740 |
# File 'lib/v20180423/models.rb', line 2738 def DiskDescription @DiskDescription end |
#GoodsCount ⇒ Object
2738 2739 2740 |
# File 'lib/v20180423/models.rb', line 2738 def GoodsCount @GoodsCount end |
#GpuDescription ⇒ Object
2738 2739 2740 |
# File 'lib/v20180423/models.rb', line 2738 def GpuDescription @GpuDescription end |
#InstanceId ⇒ Object
2738 2739 2740 |
# File 'lib/v20180423/models.rb', line 2738 def InstanceId @InstanceId end |
#IsElastic ⇒ Object
2738 2739 2740 |
# File 'lib/v20180423/models.rb', line 2738 def IsElastic @IsElastic end |
#MemDescription ⇒ Object
2738 2739 2740 |
# File 'lib/v20180423/models.rb', line 2738 def MemDescription @MemDescription end |
#NicDescription ⇒ Object
2738 2739 2740 |
# File 'lib/v20180423/models.rb', line 2738 def NicDescription @NicDescription end |
#NormalPrice ⇒ Object
2738 2739 2740 |
# File 'lib/v20180423/models.rb', line 2738 def NormalPrice @NormalPrice end |
#Price ⇒ Object
2738 2739 2740 |
# File 'lib/v20180423/models.rb', line 2738 def Price @Price end |
#RaidDescription ⇒ Object
2738 2739 2740 |
# File 'lib/v20180423/models.rb', line 2738 def RaidDescription @RaidDescription end |
#RealTotalCost ⇒ Object
2738 2739 2740 |
# File 'lib/v20180423/models.rb', line 2738 def RealTotalCost @RealTotalCost end |
#TimeSpan ⇒ Object
2738 2739 2740 |
# File 'lib/v20180423/models.rb', line 2738 def TimeSpan @TimeSpan end |
#TimeUnit ⇒ Object
2738 2739 2740 |
# File 'lib/v20180423/models.rb', line 2738 def TimeUnit @TimeUnit end |
#TotalCost ⇒ Object
2738 2739 2740 |
# File 'lib/v20180423/models.rb', line 2738 def TotalCost @TotalCost end |
Instance Method Details
#deserialize(params) ⇒ Object
2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 |
# File 'lib/v20180423/models.rb', line 2760 def deserialize(params) @InstanceId = params['InstanceId'] @DeviceClassCode = params['DeviceClassCode'] @IsElastic = params['IsElastic'] @CpmPayMode = params['CpmPayMode'] @CpuDescription = params['CpuDescription'] @MemDescription = params['MemDescription'] @DiskDescription = params['DiskDescription'] @NicDescription = params['NicDescription'] @GpuDescription = params['GpuDescription'] @RaidDescription = params['RaidDescription'] @Price = params['Price'] @NormalPrice = params['NormalPrice'] @TotalCost = params['TotalCost'] @RealTotalCost = params['RealTotalCost'] @TimeSpan = params['TimeSpan'] @TimeUnit = params['TimeUnit'] @GoodsCount = params['GoodsCount'] end |