Class: TencentCloud::Emr::V20190103::InstanceChargePrepaid
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::InstanceChargePrepaid
- Defined in:
- lib/v20190103/models.rb
Overview
实例预付费参数,只有在付费类型为PREPAID时生效。
Instance Attribute Summary collapse
-
#Period ⇒ Object
取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10,11, 12, 24, 36, 48, 60。
- true:是
- false:否
. -
#RenewFlag ⇒ Object
取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10,11, 12, 24, 36, 48, 60。
- true:是
- false:否
.
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.
8059 8060 8061 8062 |
# File 'lib/v20190103/models.rb', line 8059 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。
8057 8058 8059 |
# File 'lib/v20190103/models.rb', line 8057 def Period @Period end |
#RenewFlag ⇒ Object
取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10,11, 12, 24, 36, 48, 60。
8057 8058 8059 |
# File 'lib/v20190103/models.rb', line 8057 def RenewFlag @RenewFlag end |
Instance Method Details
#deserialize(params) ⇒ Object
8064 8065 8066 8067 |
# File 'lib/v20190103/models.rb', line 8064 def deserialize(params) @Period = params['Period'] @RenewFlag = params['RenewFlag'] end |