Class: TencentCloud::Tke::V20220501::InstanceChargePrepaid

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20220501/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.



1229
1230
1231
1232
# File 'lib/v20220501/models.rb', line 1229

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

  • NOTIFY_AND_AUTO_RENEW:通知用户过期,且自动续费 (默认)

  • NOTIFY_AND_MANUAL_RENEW:通知用户过期,但不自动续费

  • DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知用户过期,也不自动续费

Parameters:

  • Period:

    后付费计费周期,单位(月):

  • RenewFlag:

    预付费续费方式:



1227
1228
1229
# File 'lib/v20220501/models.rb', line 1227

def Period
  @Period
end

#RenewFlagObject

1,2,3,4,5,,6,7, 8,9,10,11,12,24,36,48,60

  • NOTIFY_AND_AUTO_RENEW:通知用户过期,且自动续费 (默认)

  • NOTIFY_AND_MANUAL_RENEW:通知用户过期,但不自动续费

  • DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知用户过期,也不自动续费

Parameters:

  • Period:

    后付费计费周期,单位(月):

  • RenewFlag:

    预付费续费方式:



1227
1228
1229
# File 'lib/v20220501/models.rb', line 1227

def RenewFlag
  @RenewFlag
end

Instance Method Details

#deserialize(params) ⇒ Object



1234
1235
1236
1237
# File 'lib/v20220501/models.rb', line 1234

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