class TencentCloud::Cdb::V20170320::CreateDBInstanceHourRequest
CreateDBInstanceHour请求参数结构体
def deserialize(params)
def deserialize(params) @GoodsNum = params['GoodsNum'] @Memory = params['Memory'] @Volume = params['Volume'] @EngineVersion = params['EngineVersion'] @UniqVpcId = params['UniqVpcId'] @UniqSubnetId = params['UniqSubnetId'] @ProjectId = params['ProjectId'] @Zone = params['Zone'] @MasterInstanceId = params['MasterInstanceId'] @InstanceRole = params['InstanceRole'] @MasterRegion = params['MasterRegion'] @Port = params['Port'] @Password = params['Password'] unless params['ParamList'].nil? @ParamList = [] params['ParamList'].each do |i| paraminfo_tmp = ParamInfo.new paraminfo_tmp.deserialize(i) @ParamList << paraminfo_tmp end end @ProtectMode = params['ProtectMode'] @DeployMode = params['DeployMode'] @SlaveZone = params['SlaveZone'] @BackupZone = params['BackupZone'] @SecurityGroup = params['SecurityGroup'] unless params['RoGroup'].nil? @RoGroup = RoGroup.new @RoGroup.deserialize(params['RoGroup']) end @AutoRenewFlag = params['AutoRenewFlag'] @InstanceName = params['InstanceName'] unless params['ResourceTags'].nil? @ResourceTags = [] params['ResourceTags'].each do |i| taginfo_tmp = TagInfo.new taginfo_tmp.deserialize(i) @ResourceTags << taginfo_tmp end end @DeployGroupId = params['DeployGroupId'] @ClientToken = params['ClientToken'] @DeviceType = params['DeviceType'] @ParamTemplateId = params['ParamTemplateId'] @AlarmPolicyList = params['AlarmPolicyList'] @InstanceNodes = params['InstanceNodes'] @Cpu = params['Cpu'] @AutoSyncFlag = params['AutoSyncFlag'] @CageId = params['CageId'] @ParamTemplateType = params['ParamTemplateType'] @AlarmPolicyIdList = params['AlarmPolicyIdList'] @DryRun = params['DryRun'] @EngineType = params['EngineType'] @Vips = params['Vips'] @DataProtectVolume = params['DataProtectVolume'] unless params['ClusterTopology'].nil? @ClusterTopology = ClusterTopology.new @ClusterTopology.deserialize(params['ClusterTopology']) end @DiskType = params['DiskType'] @ClusterType = params['ClusterType'] end
def initialize(goodsnum=nil, memory=nil, volume=nil, engineversion=nil, uniqvpcid=nil, uniqsubnetid=nil, projectid=nil, zone=nil, masterinstanceid=nil, instancerole=nil, masterregion=nil, port=nil, password=nil, paramlist=nil, protectmode=nil, deploymode=nil, slavezone=nil, backupzone=nil, securitygroup=nil, rogroup=nil, autorenewflag=nil, instancename=nil, resourcetags=nil, deploygroupid=nil, clienttoken=nil, devicetype=nil, paramtemplateid=nil, alarmpolicylist=nil, instancenodes=nil, cpu=nil, autosyncflag=nil, cageid=nil, paramtemplatetype=nil, alarmpolicyidlist=nil, dryrun=nil, enginetype=nil, vips=nil, dataprotectvolume=nil, clustertopology=nil, disktype=nil, clustertype=nil)
def initialize(goodsnum=nil, memory=nil, volume=nil, engineversion=nil, uniqvpcid=nil, uniqsubnetid=nil, projectid=nil, zone=nil, masterinstanceid=nil, instancerole=nil, masterregion=nil, port=nil, password=nil, paramlist=nil, protectmode=nil, deploymode=nil, slavezone=nil, backupzone=nil, securitygroup=nil, rogroup=nil, autorenewflag=nil, instancename=nil, resourcetags=nil, deploygroupid=nil, clienttoken=nil, devicetype=nil, paramtemplateid=nil, alarmpolicylist=nil, instancenodes=nil, cpu=nil, autosyncflag=nil, cageid=nil, paramtemplatetype=nil, alarmpolicyidlist=nil, dryrun=nil, enginetype=nil, vips=nil, dataprotectvolume=nil, clustertopology=nil, disktype=nil, clustertype=nil) @GoodsNum = goodsnum @Memory = memory @Volume = volume @EngineVersion = engineversion @UniqVpcId = uniqvpcid @UniqSubnetId = uniqsubnetid @ProjectId = projectid @Zone = zone @MasterInstanceId = masterinstanceid @InstanceRole = instancerole @MasterRegion = masterregion @Port = port @Password = password @ParamList = paramlist @ProtectMode = protectmode @DeployMode = deploymode @SlaveZone = slavezone @BackupZone = backupzone @SecurityGroup = securitygroup @RoGroup = rogroup @AutoRenewFlag = autorenewflag @InstanceName = instancename @ResourceTags = resourcetags @DeployGroupId = deploygroupid @ClientToken = clienttoken @DeviceType = devicetype @ParamTemplateId = paramtemplateid @AlarmPolicyList = alarmpolicylist @InstanceNodes = instancenodes @Cpu = cpu @AutoSyncFlag = autosyncflag @CageId = cageid @ParamTemplateType = paramtemplatetype @AlarmPolicyIdList = alarmpolicyidlist @DryRun = dryrun @EngineType = enginetype @Vips = vips @DataProtectVolume = dataprotectvolume @ClusterTopology = clustertopology @DiskType = disktype @ClusterType = clustertype end