Class: TencentCloud::Lighthouse::V20200324::ModifyBundle

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200324/models.rb

Overview

描述了实例可变更的套餐。

Instance Attribute Summary collapse

  • #ModifyBundleState ⇒ Object
  • SOLD_OUT:套餐售罄
  • AVAILABLE:支持套餐变更
  • UNAVAILABLE:暂不支持套餐变更
  • .
  • #ModifyPrice ⇒ Object
  • SOLD_OUT:套餐售罄
  • AVAILABLE:支持套餐变更
  • UNAVAILABLE:暂不支持套餐变更
  • .
  • #NotSupportModifyMessage ⇒ Object
  • SOLD_OUT:套餐售罄
  • AVAILABLE:支持套餐变更
  • UNAVAILABLE:暂不支持套餐变更
  • .

    Instance Method Summary collapse

    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, notsupportmodifymessage=nil)
      @ModifyPrice = modifyprice
      @ModifyBundleState = modifybundlestate
      @Bundle = bundle
      @NotSupportModifyMessage = notsupportmodifymessage
    end

    Instance Attribute Details

    #BundleObject

  • SOLD_OUT:套餐售罄
  • AVAILABLE:支持套餐变更
  • UNAVAILABLE:暂不支持套餐变更
  • Parameters:

    • ModifyPrice:

      更改实例套餐后需要补的差价。

    • ModifyBundleState:

      变更套餐状态。取值:

    • Bundle:

      套餐信息。

    • NotSupportModifyMessage:

      不支持套餐变更原因信息。变更套餐状态为"AVAILABLE"时, 该信息为空

    
    
    6598
    6599
    6600
    # File 'lib/v20200324/models.rb', line 6598
    
    def Bundle
      @Bundle
    end

    #ModifyBundleStateObject

  • SOLD_OUT:套餐售罄
  • AVAILABLE:支持套餐变更
  • UNAVAILABLE:暂不支持套餐变更
  • Parameters:

    • ModifyPrice:

      更改实例套餐后需要补的差价。

    • ModifyBundleState:

      变更套餐状态。取值:

    • Bundle:

      套餐信息。

    • NotSupportModifyMessage:

      不支持套餐变更原因信息。变更套餐状态为"AVAILABLE"时, 该信息为空

    
    
    6598
    6599
    6600
    # File 'lib/v20200324/models.rb', line 6598
    
    def ModifyBundleState
      @ModifyBundleState
    end

    #ModifyPriceObject

  • SOLD_OUT:套餐售罄
  • AVAILABLE:支持套餐变更
  • UNAVAILABLE:暂不支持套餐变更
  • Parameters:

    • ModifyPrice:

      更改实例套餐后需要补的差价。

    • ModifyBundleState:

      变更套餐状态。取值:

    • Bundle:

      套餐信息。

    • NotSupportModifyMessage:

      不支持套餐变更原因信息。变更套餐状态为"AVAILABLE"时, 该信息为空

    
    
    6598
    6599
    6600
    # File 'lib/v20200324/models.rb', line 6598
    
    def ModifyPrice
      @ModifyPrice
    end

    #NotSupportModifyMessageObject

  • SOLD_OUT:套餐售罄
  • AVAILABLE:支持套餐变更
  • UNAVAILABLE:暂不支持套餐变更
  • Parameters:

    • ModifyPrice:

      更改实例套餐后需要补的差价。

    • ModifyBundleState:

      变更套餐状态。取值:

    • Bundle:

      套餐信息。

    • NotSupportModifyMessage:

      不支持套餐变更原因信息。变更套餐状态为"AVAILABLE"时, 该信息为空

    
    
    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