Class: TencentCloud::Thpc::V20220401::InstanceChargePrepaid
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20220401::InstanceChargePrepaid
- Defined in:
- lib/v20220401/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.
1427 1428 1429 1430 |
# File 'lib/v20220401/models.rb', line 1427 def initialize(period=nil, renewflag=nil) @Period = period @RenewFlag = renewflag end |
Instance Attribute Details
#Period ⇒ Object
默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
1425 1426 1427 |
# File 'lib/v20220401/models.rb', line 1425 def Period @Period end |
#RenewFlag ⇒ Object
默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
1425 1426 1427 |
# File 'lib/v20220401/models.rb', line 1425 def RenewFlag @RenewFlag end |
Instance Method Details
#deserialize(params) ⇒ Object
1432 1433 1434 1435 |
# File 'lib/v20220401/models.rb', line 1432 def deserialize(params) @Period = params['Period'] @RenewFlag = params['RenewFlag'] end |