Class: TencentCloud::Tke::V20180525::InstanceChargePrepaid

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

Overview

包年包月配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of InstanceChargePrepaid.



12906
12907
12908
12909
# File 'lib/v20180525/models.rb', line 12906

def initialize(period=nil, renewflag=nil)
  @Period = period
  @RenewFlag = renewflag
end

Instance Attribute Details

#PeriodObject

默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。



12904
12905
12906
# File 'lib/v20180525/models.rb', line 12904

def Period
  @Period
end

#RenewFlagObject

默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。



12904
12905
12906
# File 'lib/v20180525/models.rb', line 12904

def RenewFlag
  @RenewFlag
end

Instance Method Details

#deserialize(params) ⇒ Object



12911
12912
12913
12914
# File 'lib/v20180525/models.rb', line 12911

def deserialize(params)
  @Period = params['Period']
  @RenewFlag = params['RenewFlag']
end