class TencentCloud::Cynosdb::V20190107::UpgradeInstanceRequest

UpgradeInstance请求参数结构体

def deserialize(params)

def deserialize(params)
  @InstanceId = params['InstanceId']
  @Cpu = params['Cpu']
  @Memory = params['Memory']
  @UpgradeType = params['UpgradeType']
  @DeviceType = params['DeviceType']
  @StorageLimit = params['StorageLimit']
  @AutoVoucher = params['AutoVoucher']
  @DbType = params['DbType']
  @DealMode = params['DealMode']
  @UpgradeMode = params['UpgradeMode']
  unless params['UpgradeProxy'].nil?
    @UpgradeProxy = UpgradeProxy.new
    @UpgradeProxy.deserialize(params['UpgradeProxy'])
  end
end

def initialize(instanceid=nil, cpu=nil, memory=nil, upgradetype=nil, devicetype=nil, storagelimit=nil, autovoucher=nil, dbtype=nil, dealmode=nil, upgrademode=nil, upgradeproxy=nil)

def initialize(instanceid=nil, cpu=nil, memory=nil, upgradetype=nil, devicetype=nil, storagelimit=nil, autovoucher=nil, dbtype=nil, dealmode=nil, upgrademode=nil, upgradeproxy=nil)
  @InstanceId = instanceid
  @Cpu = cpu
  @Memory = memory
  @UpgradeType = upgradetype
  @DeviceType = devicetype
  @StorageLimit = storagelimit
  @AutoVoucher = autovoucher
  @DbType = dbtype
  @DealMode = dealmode
  @UpgradeMode = upgrademode
  @UpgradeProxy = upgradeproxy
end