Class: TencentCloud::Lighthouse::V20200324::Bundle
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lighthouse::V20200324::Bundle
- Defined in:
- lib/v20200324/models.rb
Overview
套餐信息。
Instance Attribute Summary collapse
-
#BundleDisplayLabel ⇒ Object
取值范围:
- CLOUD_SSD:SSD 云硬盘
- CLOUD_PREMIUM:高性能云硬盘
取值范围:- GENERAL_BUNDLE:通用型
- STORAGE_BUNDLE:存储型
- ENTERPRISE_BUNDLE:企业型
- EXCLUSIVE_BUNDLE:专属型
- BEFAST_BUNDLE:蜂驰型
- STARTER_BUNDLE:入门型
- CAREFREE_BUNDLE:无忧型
- RAZOR_SPEED_BUNDLE:锐驰型
取值范围: "ACTIVITY": 活动套餐, "NORMAL": 普通套餐 "CAREFREE": 无忧套餐. -
#BundleId ⇒ Object
取值范围:
- CLOUD_SSD:SSD 云硬盘
- CLOUD_PREMIUM:高性能云硬盘
取值范围:- GENERAL_BUNDLE:通用型
- STORAGE_BUNDLE:存储型
- ENTERPRISE_BUNDLE:企业型
- EXCLUSIVE_BUNDLE:专属型
- BEFAST_BUNDLE:蜂驰型
- STARTER_BUNDLE:入门型
- CAREFREE_BUNDLE:无忧型
- RAZOR_SPEED_BUNDLE:锐驰型
取值范围: "ACTIVITY": 活动套餐, "NORMAL": 普通套餐 "CAREFREE": 无忧套餐. -
#BundleSalesState ⇒ Object
取值范围:
- CLOUD_SSD:SSD 云硬盘
- CLOUD_PREMIUM:高性能云硬盘
取值范围:- GENERAL_BUNDLE:通用型
- STORAGE_BUNDLE:存储型
- ENTERPRISE_BUNDLE:企业型
- EXCLUSIVE_BUNDLE:专属型
- BEFAST_BUNDLE:蜂驰型
- STARTER_BUNDLE:入门型
- CAREFREE_BUNDLE:无忧型
- RAZOR_SPEED_BUNDLE:锐驰型
取值范围: "ACTIVITY": 活动套餐, "NORMAL": 普通套餐 "CAREFREE": 无忧套餐. -
#BundleType ⇒ Object
取值范围:
- CLOUD_SSD:SSD 云硬盘
- CLOUD_PREMIUM:高性能云硬盘
取值范围:- GENERAL_BUNDLE:通用型
- STORAGE_BUNDLE:存储型
- ENTERPRISE_BUNDLE:企业型
- EXCLUSIVE_BUNDLE:专属型
- BEFAST_BUNDLE:蜂驰型
- STARTER_BUNDLE:入门型
- CAREFREE_BUNDLE:无忧型
- RAZOR_SPEED_BUNDLE:锐驰型
取值范围: "ACTIVITY": 活动套餐, "NORMAL": 普通套餐 "CAREFREE": 无忧套餐. -
#BundleTypeDescription ⇒ Object
取值范围:
- CLOUD_SSD:SSD 云硬盘
- CLOUD_PREMIUM:高性能云硬盘
取值范围:- GENERAL_BUNDLE:通用型
- STORAGE_BUNDLE:存储型
- ENTERPRISE_BUNDLE:企业型
- EXCLUSIVE_BUNDLE:专属型
- BEFAST_BUNDLE:蜂驰型
- STARTER_BUNDLE:入门型
- CAREFREE_BUNDLE:无忧型
- RAZOR_SPEED_BUNDLE:锐驰型
取值范围: "ACTIVITY": 活动套餐, "NORMAL": 普通套餐 "CAREFREE": 无忧套餐. -
#CPU ⇒ Object
取值范围:
- CLOUD_SSD:SSD 云硬盘
- CLOUD_PREMIUM:高性能云硬盘
取值范围:- GENERAL_BUNDLE:通用型
- STORAGE_BUNDLE:存储型
- ENTERPRISE_BUNDLE:企业型
- EXCLUSIVE_BUNDLE:专属型
- BEFAST_BUNDLE:蜂驰型
- STARTER_BUNDLE:入门型
- CAREFREE_BUNDLE:无忧型
- RAZOR_SPEED_BUNDLE:锐驰型
取值范围: "ACTIVITY": 活动套餐, "NORMAL": 普通套餐 "CAREFREE": 无忧套餐. -
#InternetChargeType ⇒ Object
取值范围:
- CLOUD_SSD:SSD 云硬盘
- CLOUD_PREMIUM:高性能云硬盘
取值范围:- GENERAL_BUNDLE:通用型
- STORAGE_BUNDLE:存储型
- ENTERPRISE_BUNDLE:企业型
- EXCLUSIVE_BUNDLE:专属型
- BEFAST_BUNDLE:蜂驰型
- STARTER_BUNDLE:入门型
- CAREFREE_BUNDLE:无忧型
- RAZOR_SPEED_BUNDLE:锐驰型
取值范围: "ACTIVITY": 活动套餐, "NORMAL": 普通套餐 "CAREFREE": 无忧套餐. -
#InternetMaxBandwidthOut ⇒ Object
取值范围:
- CLOUD_SSD:SSD 云硬盘
- CLOUD_PREMIUM:高性能云硬盘
取值范围:- GENERAL_BUNDLE:通用型
- STORAGE_BUNDLE:存储型
- ENTERPRISE_BUNDLE:企业型
- EXCLUSIVE_BUNDLE:专属型
- BEFAST_BUNDLE:蜂驰型
- STARTER_BUNDLE:入门型
- CAREFREE_BUNDLE:无忧型
- RAZOR_SPEED_BUNDLE:锐驰型
取值范围: "ACTIVITY": 活动套餐, "NORMAL": 普通套餐 "CAREFREE": 无忧套餐. -
#Memory ⇒ Object
取值范围:
- CLOUD_SSD:SSD 云硬盘
- CLOUD_PREMIUM:高性能云硬盘
取值范围:- GENERAL_BUNDLE:通用型
- STORAGE_BUNDLE:存储型
- ENTERPRISE_BUNDLE:企业型
- EXCLUSIVE_BUNDLE:专属型
- BEFAST_BUNDLE:蜂驰型
- STARTER_BUNDLE:入门型
- CAREFREE_BUNDLE:无忧型
- RAZOR_SPEED_BUNDLE:锐驰型
取值范围: "ACTIVITY": 活动套餐, "NORMAL": 普通套餐 "CAREFREE": 无忧套餐. -
#MonthlyTraffic ⇒ Object
取值范围:
- CLOUD_SSD:SSD 云硬盘
- CLOUD_PREMIUM:高性能云硬盘
取值范围:- GENERAL_BUNDLE:通用型
- STORAGE_BUNDLE:存储型
- ENTERPRISE_BUNDLE:企业型
- EXCLUSIVE_BUNDLE:专属型
- BEFAST_BUNDLE:蜂驰型
- STARTER_BUNDLE:入门型
- CAREFREE_BUNDLE:无忧型
- RAZOR_SPEED_BUNDLE:锐驰型
取值范围: "ACTIVITY": 活动套餐, "NORMAL": 普通套餐 "CAREFREE": 无忧套餐. -
#Price ⇒ Object
取值范围:
- CLOUD_SSD:SSD 云硬盘
- CLOUD_PREMIUM:高性能云硬盘
取值范围:- GENERAL_BUNDLE:通用型
- STORAGE_BUNDLE:存储型
- ENTERPRISE_BUNDLE:企业型
- EXCLUSIVE_BUNDLE:专属型
- BEFAST_BUNDLE:蜂驰型
- STARTER_BUNDLE:入门型
- CAREFREE_BUNDLE:无忧型
- RAZOR_SPEED_BUNDLE:锐驰型
取值范围: "ACTIVITY": 活动套餐, "NORMAL": 普通套餐 "CAREFREE": 无忧套餐. -
#SupportLinuxUnixPlatform ⇒ Object
取值范围:
- CLOUD_SSD:SSD 云硬盘
- CLOUD_PREMIUM:高性能云硬盘
取值范围:- GENERAL_BUNDLE:通用型
- STORAGE_BUNDLE:存储型
- ENTERPRISE_BUNDLE:企业型
- EXCLUSIVE_BUNDLE:专属型
- BEFAST_BUNDLE:蜂驰型
- STARTER_BUNDLE:入门型
- CAREFREE_BUNDLE:无忧型
- RAZOR_SPEED_BUNDLE:锐驰型
取值范围: "ACTIVITY": 活动套餐, "NORMAL": 普通套餐 "CAREFREE": 无忧套餐. -
#SupportWindowsPlatform ⇒ Object
取值范围:
- CLOUD_SSD:SSD 云硬盘
- CLOUD_PREMIUM:高性能云硬盘
取值范围:- GENERAL_BUNDLE:通用型
- STORAGE_BUNDLE:存储型
- ENTERPRISE_BUNDLE:企业型
- EXCLUSIVE_BUNDLE:专属型
- BEFAST_BUNDLE:蜂驰型
- STARTER_BUNDLE:入门型
- CAREFREE_BUNDLE:无忧型
- RAZOR_SPEED_BUNDLE:锐驰型
取值范围: "ACTIVITY": 活动套餐, "NORMAL": 普通套餐 "CAREFREE": 无忧套餐. -
#SystemDiskSize ⇒ Object
取值范围:
- CLOUD_SSD:SSD 云硬盘
- CLOUD_PREMIUM:高性能云硬盘
取值范围:- GENERAL_BUNDLE:通用型
- STORAGE_BUNDLE:存储型
- ENTERPRISE_BUNDLE:企业型
- EXCLUSIVE_BUNDLE:专属型
- BEFAST_BUNDLE:蜂驰型
- STARTER_BUNDLE:入门型
- CAREFREE_BUNDLE:无忧型
- RAZOR_SPEED_BUNDLE:锐驰型
取值范围: "ACTIVITY": 活动套餐, "NORMAL": 普通套餐 "CAREFREE": 无忧套餐. -
#SystemDiskType ⇒ Object
取值范围:
- CLOUD_SSD:SSD 云硬盘
- CLOUD_PREMIUM:高性能云硬盘
取值范围:- GENERAL_BUNDLE:通用型
- STORAGE_BUNDLE:存储型
- ENTERPRISE_BUNDLE:企业型
- EXCLUSIVE_BUNDLE:专属型
- BEFAST_BUNDLE:蜂驰型
- STARTER_BUNDLE:入门型
- CAREFREE_BUNDLE:无忧型
- RAZOR_SPEED_BUNDLE:锐驰型
取值范围: "ACTIVITY": 活动套餐, "NORMAL": 普通套餐 "CAREFREE": 无忧套餐. -
#TrafficUnlimited ⇒ Object
取值范围:
- CLOUD_SSD:SSD 云硬盘
- CLOUD_PREMIUM:高性能云硬盘
取值范围:- GENERAL_BUNDLE:通用型
- STORAGE_BUNDLE:存储型
- ENTERPRISE_BUNDLE:企业型
- EXCLUSIVE_BUNDLE:专属型
- BEFAST_BUNDLE:蜂驰型
- STARTER_BUNDLE:入门型
- CAREFREE_BUNDLE:无忧型
- RAZOR_SPEED_BUNDLE:锐驰型
取值范围: "ACTIVITY": 活动套餐, "NORMAL": 普通套餐 "CAREFREE": 无忧套餐.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(bundleid = nil, memory = nil, systemdisktype = nil, systemdisksize = nil, monthlytraffic = nil, supportlinuxunixplatform = nil, supportwindowsplatform = nil, price = nil, cpu = nil, internetmaxbandwidthout = nil, internetchargetype = nil, bundlesalesstate = nil, bundletype = nil, bundletypedescription = nil, bundledisplaylabel = nil, trafficunlimited = nil) ⇒ Bundle
constructor
A new instance of Bundle.
Constructor Details
#initialize(bundleid = nil, memory = nil, systemdisktype = nil, systemdisksize = nil, monthlytraffic = nil, supportlinuxunixplatform = nil, supportwindowsplatform = nil, price = nil, cpu = nil, internetmaxbandwidthout = nil, internetchargetype = nil, bundlesalesstate = nil, bundletype = nil, bundletypedescription = nil, bundledisplaylabel = nil, trafficunlimited = nil) ⇒ Bundle
Returns a new instance of Bundle.
526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 |
# File 'lib/v20200324/models.rb', line 526 def initialize(bundleid=nil, memory=nil, systemdisktype=nil, systemdisksize=nil, monthlytraffic=nil, supportlinuxunixplatform=nil, supportwindowsplatform=nil, price=nil, cpu=nil, internetmaxbandwidthout=nil, internetchargetype=nil, bundlesalesstate=nil, bundletype=nil, bundletypedescription=nil, bundledisplaylabel=nil, trafficunlimited=nil) @BundleId = bundleid @Memory = memory @SystemDiskType = systemdisktype @SystemDiskSize = systemdisksize @MonthlyTraffic = monthlytraffic @SupportLinuxUnixPlatform = supportlinuxunixplatform @SupportWindowsPlatform = supportwindowsplatform @Price = price @CPU = cpu @InternetMaxBandwidthOut = internetmaxbandwidthout @InternetChargeType = internetchargetype @BundleSalesState = bundlesalesstate @BundleType = bundletype @BundleTypeDescription = bundletypedescription @BundleDisplayLabel = bundledisplaylabel @TrafficUnlimited = trafficunlimited end |
Instance Attribute Details
#BundleDisplayLabel ⇒ Object
取值范围:
524 525 526 |
# File 'lib/v20200324/models.rb', line 524 def BundleDisplayLabel @BundleDisplayLabel end |
#BundleId ⇒ Object
取值范围:
524 525 526 |
# File 'lib/v20200324/models.rb', line 524 def BundleId @BundleId end |
#BundleSalesState ⇒ Object
取值范围:
524 525 526 |
# File 'lib/v20200324/models.rb', line 524 def BundleSalesState @BundleSalesState end |
#BundleType ⇒ Object
取值范围:
524 525 526 |
# File 'lib/v20200324/models.rb', line 524 def BundleType @BundleType end |
#BundleTypeDescription ⇒ Object
取值范围:
524 525 526 |
# File 'lib/v20200324/models.rb', line 524 def BundleTypeDescription @BundleTypeDescription end |
#CPU ⇒ Object
取值范围:
524 525 526 |
# File 'lib/v20200324/models.rb', line 524 def CPU @CPU end |
#InternetChargeType ⇒ Object
取值范围:
524 525 526 |
# File 'lib/v20200324/models.rb', line 524 def InternetChargeType @InternetChargeType end |
#InternetMaxBandwidthOut ⇒ Object
取值范围:
524 525 526 |
# File 'lib/v20200324/models.rb', line 524 def InternetMaxBandwidthOut @InternetMaxBandwidthOut end |
#Memory ⇒ Object
取值范围:
524 525 526 |
# File 'lib/v20200324/models.rb', line 524 def Memory @Memory end |
#MonthlyTraffic ⇒ Object
取值范围:
524 525 526 |
# File 'lib/v20200324/models.rb', line 524 def MonthlyTraffic @MonthlyTraffic end |
#Price ⇒ Object
取值范围:
524 525 526 |
# File 'lib/v20200324/models.rb', line 524 def Price @Price end |
#SupportLinuxUnixPlatform ⇒ Object
取值范围:
524 525 526 |
# File 'lib/v20200324/models.rb', line 524 def SupportLinuxUnixPlatform @SupportLinuxUnixPlatform end |
#SupportWindowsPlatform ⇒ Object
取值范围:
524 525 526 |
# File 'lib/v20200324/models.rb', line 524 def SupportWindowsPlatform @SupportWindowsPlatform end |
#SystemDiskSize ⇒ Object
取值范围:
524 525 526 |
# File 'lib/v20200324/models.rb', line 524 def SystemDiskSize @SystemDiskSize end |
#SystemDiskType ⇒ Object
取值范围:
524 525 526 |
# File 'lib/v20200324/models.rb', line 524 def SystemDiskType @SystemDiskType end |
#TrafficUnlimited ⇒ Object
取值范围:
524 525 526 |
# File 'lib/v20200324/models.rb', line 524 def TrafficUnlimited @TrafficUnlimited end |
Instance Method Details
#deserialize(params) ⇒ Object
545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 |
# File 'lib/v20200324/models.rb', line 545 def deserialize(params) @BundleId = params['BundleId'] @Memory = params['Memory'] @SystemDiskType = params['SystemDiskType'] @SystemDiskSize = params['SystemDiskSize'] @MonthlyTraffic = params['MonthlyTraffic'] @SupportLinuxUnixPlatform = params['SupportLinuxUnixPlatform'] @SupportWindowsPlatform = params['SupportWindowsPlatform'] unless params['Price'].nil? @Price = Price.new @Price.deserialize(params['Price']) end @CPU = params['CPU'] @InternetMaxBandwidthOut = params['InternetMaxBandwidthOut'] @InternetChargeType = params['InternetChargeType'] @BundleSalesState = params['BundleSalesState'] @BundleType = params['BundleType'] @BundleTypeDescription = params['BundleTypeDescription'] @BundleDisplayLabel = params['BundleDisplayLabel'] @TrafficUnlimited = params['TrafficUnlimited'] end |