Class: TencentCloud::Cdb::V20170320::RenewDBInstanceRequest

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170320/models.rb

Overview

RenewDBInstance请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, timespan = nil, modifypaytype = nil, autorenew = nil) ⇒ 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

#AutoRenewObject



12652
12653
12654
# File 'lib/v20170320/models.rb', line 12652

def AutoRenew
  @AutoRenew
end

#InstanceIdObject



12652
12653
12654
# File 'lib/v20170320/models.rb', line 12652

def InstanceId
  @InstanceId
end

#ModifyPayTypeObject



12652
12653
12654
# File 'lib/v20170320/models.rb', line 12652

def ModifyPayType
  @ModifyPayType
end

#TimeSpanObject



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