Class: TencentCloud::Teo::V20220901::PrepaidPlanParam
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::PrepaidPlanParam
- Defined in:
- lib/v20220901/models.rb
Overview
预付费套餐计费参数
Instance Attribute Summary collapse
-
#Period ⇒ Object
不填写使用默认值 1。 <li> on:开启自动续费;</li> <li> off:不开启自动续费。</li> 不填写使用默认值 off,自动续费时,默认续费1个月。.
-
#RenewFlag ⇒ Object
不填写使用默认值 1。 <li> on:开启自动续费;</li> <li> off:不开启自动续费。</li> 不填写使用默认值 off,自动续费时,默认续费1个月。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(period = nil, renewflag = nil) ⇒ PrepaidPlanParam
constructor
A new instance of PrepaidPlanParam.
Constructor Details
#initialize(period = nil, renewflag = nil) ⇒ PrepaidPlanParam
Returns a new instance of PrepaidPlanParam.
19286 19287 19288 19289 |
# File 'lib/v20220901/models.rb', line 19286 def initialize(period=nil, renewflag=nil) @Period = period @RenewFlag = renewflag end |
Instance Attribute Details
#Period ⇒ Object
不填写使用默认值 1。<li> on:开启自动续费;</li> <li> off:不开启自动续费。</li> 不填写使用默认值 off,自动续费时,默认续费1个月。
19284 19285 19286 |
# File 'lib/v20220901/models.rb', line 19284 def Period @Period end |
#RenewFlag ⇒ Object
不填写使用默认值 1。<li> on:开启自动续费;</li> <li> off:不开启自动续费。</li> 不填写使用默认值 off,自动续费时,默认续费1个月。
19284 19285 19286 |
# File 'lib/v20220901/models.rb', line 19284 def RenewFlag @RenewFlag end |
Instance Method Details
#deserialize(params) ⇒ Object
19291 19292 19293 19294 |
# File 'lib/v20220901/models.rb', line 19291 def deserialize(params) @Period = params['Period'] @RenewFlag = params['RenewFlag'] end |