Class: TencentCloud::Emr::V20190103::InstanceChargePrepaid

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

Overview

实例预付费参数,只有在付费类型为PREPAID时生效。

Instance Attribute Summary collapse

  • #RenewFlag ⇒ Object

    取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10,11, 12, 24, 36, 48, 60。

  • true:是
  • false:否
  • .

    Instance Method Summary collapse

    Constructor Details

    #initialize(period = nil, renewflag = nil) ⇒ InstanceChargePrepaid

    Returns a new instance of InstanceChargePrepaid.

    
    
    8059
    8060
    8061
    8062
    # File 'lib/v20190103/models.rb', line 8059
    
    def initialize(period=nil, renewflag=nil)
      @Period = period
      @RenewFlag = renewflag
    end

    Instance Attribute Details

    #PeriodObject

    取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10,11, 12, 24, 36, 48, 60。

  • true:是
  • false:否
  • Parameters:

    • Period:

      包年包月时间,默认为1,单位:月。

    • RenewFlag:

      是否自动续费,默认为否。

    
    
    8057
    8058
    8059
    # File 'lib/v20190103/models.rb', line 8057
    
    def Period
      @Period
    end

    #RenewFlagObject

    取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10,11, 12, 24, 36, 48, 60。

  • true:是
  • false:否
  • Parameters:

    • Period:

      包年包月时间,默认为1,单位:月。

    • RenewFlag:

      是否自动续费,默认为否。

    
    
    8057
    8058
    8059
    # File 'lib/v20190103/models.rb', line 8057
    
    def RenewFlag
      @RenewFlag
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    8064
    8065
    8066
    8067
    # File 'lib/v20190103/models.rb', line 8064
    
    def deserialize(params)
      @Period = params['Period']
      @RenewFlag = params['RenewFlag']
    end