Class: TencentCloud::Cdb::V20170320::RenewDBInstanceRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::RenewDBInstanceRequest
- Defined in:
- lib/v20170320/models.rb
Overview
RenewDBInstance请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, timespan = nil, modifypaytype = nil, autorenew = nil) ⇒ RenewDBInstanceRequest
constructor
A new instance of RenewDBInstanceRequest.
Constructor Details
#initialize(instanceid = nil, timespan = nil, modifypaytype = nil, autorenew = nil) ⇒ RenewDBInstanceRequest
Returns a new instance of RenewDBInstanceRequest.
12654 12655 12656 12657 12658 12659 |
# File 'lib/v20170320/models.rb', line 12654 def initialize(instanceid=nil, timespan=nil, modifypaytype=nil, autorenew=nil) @InstanceId = instanceid @TimeSpan = timespan @ModifyPayType = modifypaytype @AutoRenew = autorenew end |
Instance Attribute Details
#AutoRenew ⇒ Object
12652 12653 12654 |
# File 'lib/v20170320/models.rb', line 12652 def AutoRenew @AutoRenew end |
#InstanceId ⇒ Object
12652 12653 12654 |
# File 'lib/v20170320/models.rb', line 12652 def InstanceId @InstanceId end |
#ModifyPayType ⇒ Object
12652 12653 12654 |
# File 'lib/v20170320/models.rb', line 12652 def ModifyPayType @ModifyPayType end |
#TimeSpan ⇒ Object
12652 12653 12654 |
# File 'lib/v20170320/models.rb', line 12652 def TimeSpan @TimeSpan end |
Instance Method Details
#deserialize(params) ⇒ Object
12661 12662 12663 12664 12665 12666 |
# File 'lib/v20170320/models.rb', line 12661 def deserialize(params) @InstanceId = params['InstanceId'] @TimeSpan = params['TimeSpan'] @ModifyPayType = params['ModifyPayType'] @AutoRenew = params['AutoRenew'] end |