Class: TencentCloud::Lighthouse::V20200324::ModifyBundle
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lighthouse::V20200324::ModifyBundle
- Defined in:
- lib/v20200324/models.rb
Overview
描述了实例可变更的套餐。
Instance Attribute Summary collapse
-
#Bundle ⇒ Object
- SOLD_OUT:套餐售罄
- AVAILABLE:支持套餐变更
- UNAVAILABLE:暂不支持套餐变更
. -
#ModifyBundleState ⇒ Object
- SOLD_OUT:套餐售罄
- AVAILABLE:支持套餐变更
- UNAVAILABLE:暂不支持套餐变更
. -
#ModifyPrice ⇒ Object
- SOLD_OUT:套餐售罄
- AVAILABLE:支持套餐变更
- UNAVAILABLE:暂不支持套餐变更
. -
#NotSupportModifyMessage ⇒ Object
- SOLD_OUT:套餐售罄
- AVAILABLE:支持套餐变更
- UNAVAILABLE:暂不支持套餐变更
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(modifyprice = nil, modifybundlestate = nil, bundle = nil, notsupportmodifymessage = nil) ⇒ ModifyBundle
constructor
A new instance of ModifyBundle.
Constructor Details
#initialize(modifyprice = nil, modifybundlestate = nil, bundle = nil, notsupportmodifymessage = nil) ⇒ ModifyBundle
Returns a new instance of ModifyBundle.
6600 6601 6602 6603 6604 6605 |
# File 'lib/v20200324/models.rb', line 6600 def initialize(modifyprice=nil, modifybundlestate=nil, bundle=nil, =nil) @ModifyPrice = modifyprice @ModifyBundleState = modifybundlestate @Bundle = bundle @NotSupportModifyMessage = end |
Instance Attribute Details
#Bundle ⇒ Object
6598 6599 6600 |
# File 'lib/v20200324/models.rb', line 6598 def Bundle @Bundle end |
#ModifyBundleState ⇒ Object
6598 6599 6600 |
# File 'lib/v20200324/models.rb', line 6598 def ModifyBundleState @ModifyBundleState end |
#ModifyPrice ⇒ Object
6598 6599 6600 |
# File 'lib/v20200324/models.rb', line 6598 def ModifyPrice @ModifyPrice end |
#NotSupportModifyMessage ⇒ Object
6598 6599 6600 |
# File 'lib/v20200324/models.rb', line 6598 def NotSupportModifyMessage @NotSupportModifyMessage end |
Instance Method Details
#deserialize(params) ⇒ Object
6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 |
# File 'lib/v20200324/models.rb', line 6607 def deserialize(params) unless params['ModifyPrice'].nil? @ModifyPrice = Price.new @ModifyPrice.deserialize(params['ModifyPrice']) end @ModifyBundleState = params['ModifyBundleState'] unless params['Bundle'].nil? @Bundle = Bundle.new @Bundle.deserialize(params['Bundle']) end @NotSupportModifyMessage = params['NotSupportModifyMessage'] end |