Class: TencentCloud::Tke::V20220501::InstanceChargePrepaid
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20220501::InstanceChargePrepaid
- Defined in:
- lib/v20220501/models.rb
Overview
包年包月配置
Instance Attribute Summary collapse
-
#Period ⇒ Object
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:不通知用户过期,也不自动续费.
-
#RenewFlag ⇒ Object
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:不通知用户过期,也不自动续费.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(period = nil, renewflag = nil) ⇒ InstanceChargePrepaid
constructor
A new instance of InstanceChargePrepaid.
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
#Period ⇒ Object
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:不通知用户过期,也不自动续费
1227 1228 1229 |
# File 'lib/v20220501/models.rb', line 1227 def Period @Period end |
#RenewFlag ⇒ Object
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:不通知用户过期,也不自动续费
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 |