class TencentCloud::Cynosdb::V20190107::AddInstancesRequest

AddInstances请求参数结构体

def deserialize(params)

def deserialize(params)
  @ClusterId = params['ClusterId']
  @Cpu = params['Cpu']
  @Memory = params['Memory']
  @ReadOnlyCount = params['ReadOnlyCount']
  @DeviceType = params['DeviceType']
  @InstanceGrpId = params['InstanceGrpId']
  @VpcId = params['VpcId']
  @SubnetId = params['SubnetId']
  @Port = params['Port']
  @InstanceName = params['InstanceName']
  @AutoVoucher = params['AutoVoucher']
  @DbType = params['DbType']
  @OrderSource = params['OrderSource']
  @DealMode = params['DealMode']
  @ParamTemplateId = params['ParamTemplateId']
  unless params['InstanceParams'].nil?
    @InstanceParams = []
    params['InstanceParams'].each do |i|
      modifyparamitem_tmp = ModifyParamItem.new
      modifyparamitem_tmp.deserialize(i)
      @InstanceParams << modifyparamitem_tmp
    end
  end
  @SecurityGroupIds = params['SecurityGroupIds']
  unless params['UpgradeProxy'].nil?
    @UpgradeProxy = UpgradeProxy.new
    @UpgradeProxy.deserialize(params['UpgradeProxy'])
  end
end

def initialize(clusterid=nil, cpu=nil, memory=nil, readonlycount=nil, devicetype=nil, instancegrpid=nil, vpcid=nil, subnetid=nil, port=nil, instancename=nil, autovoucher=nil, dbtype=nil, ordersource=nil, dealmode=nil, paramtemplateid=nil, instanceparams=nil, securitygroupids=nil, upgradeproxy=nil)

def initialize(clusterid=nil, cpu=nil, memory=nil, readonlycount=nil, devicetype=nil, instancegrpid=nil, vpcid=nil, subnetid=nil, port=nil, instancename=nil, autovoucher=nil, dbtype=nil, ordersource=nil, dealmode=nil, paramtemplateid=nil, instanceparams=nil, securitygroupids=nil, upgradeproxy=nil)
  @ClusterId = clusterid
  @Cpu = cpu
  @Memory = memory
  @ReadOnlyCount = readonlycount
  @DeviceType = devicetype
  @InstanceGrpId = instancegrpid
  @VpcId = vpcid
  @SubnetId = subnetid
  @Port = port
  @InstanceName = instancename
  @AutoVoucher = autovoucher
  @DbType = dbtype
  @OrderSource = ordersource
  @DealMode = dealmode
  @ParamTemplateId = paramtemplateid
  @InstanceParams = instanceparams
  @SecurityGroupIds = securitygroupids
  @UpgradeProxy = upgradeproxy
end