class TencentCloud::Sqlserver::V20180328::UpgradeDBInstanceRequest
UpgradeDBInstance请求参数结构体
def deserialize(params)
def deserialize(params) @InstanceId = params['InstanceId'] @Memory = params['Memory'] @Storage = params['Storage'] @AutoVoucher = params['AutoVoucher'] @VoucherIds = params['VoucherIds'] @Cpu = params['Cpu'] @DBVersion = params['DBVersion'] @HAType = params['HAType'] @MultiZones = params['MultiZones'] @WaitSwitch = params['WaitSwitch'] unless params['DrZones'].nil? @DrZones = [] params['DrZones'].each do |i| drzoneinfo_tmp = DrZoneInfo.new drzoneinfo_tmp.deserialize(i) @DrZones << drzoneinfo_tmp end end end
def initialize(instanceid=nil, memory=nil, storage=nil, autovoucher=nil, voucherids=nil, cpu=nil, dbversion=nil, hatype=nil, multizones=nil, waitswitch=nil, drzones=nil)
def initialize(instanceid=nil, memory=nil, storage=nil, autovoucher=nil, voucherids=nil, cpu=nil, dbversion=nil, hatype=nil, multizones=nil, waitswitch=nil, drzones=nil) @InstanceId = instanceid @Memory = memory @Storage = storage @AutoVoucher = autovoucher @VoucherIds = voucherids @Cpu = cpu @DBVersion = dbversion @HAType = hatype @MultiZones = multizones @WaitSwitch = waitswitch @DrZones = drzones end