Class: TencentCloud::Tke::V20180525::InstanceChargePrepaid
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::InstanceChargePrepaid
- Defined in:
- lib/v20180525/models.rb
Overview
包年包月配置
Instance Attribute Summary collapse
-
#Period ⇒ Object
默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。.
-
#RenewFlag ⇒ Object
默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_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.
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
#Period ⇒ Object
默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
12904 12905 12906 |
# File 'lib/v20180525/models.rb', line 12904 def Period @Period end |
#RenewFlag ⇒ Object
默认取值: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 |