class TencentCloud::Cynosdb::V20190107::UpgradeProxyRequest

UpgradeProxy请求参数结构体

def deserialize(params)

def deserialize(params)
  @ClusterId = params['ClusterId']
  @Cpu = params['Cpu']
  @Mem = params['Mem']
  @ProxyCount = params['ProxyCount']
  @ProxyGroupId = params['ProxyGroupId']
  @ReloadBalance = params['ReloadBalance']
  @IsInMaintainPeriod = params['IsInMaintainPeriod']
  unless params['ProxyZones'].nil?
    @ProxyZones = []
    params['ProxyZones'].each do |i|
      proxyzone_tmp = ProxyZone.new
      proxyzone_tmp.deserialize(i)
      @ProxyZones << proxyzone_tmp
    end
  end
end

def initialize(clusterid=nil, cpu=nil, mem=nil, proxycount=nil, proxygroupid=nil, reloadbalance=nil, isinmaintainperiod=nil, proxyzones=nil)

def initialize(clusterid=nil, cpu=nil, mem=nil, proxycount=nil, proxygroupid=nil, reloadbalance=nil, isinmaintainperiod=nil, proxyzones=nil)
  @ClusterId = clusterid
  @Cpu = cpu
  @Mem = mem
  @ProxyCount = proxycount
  @ProxyGroupId = proxygroupid
  @ReloadBalance = reloadbalance
  @IsInMaintainPeriod = isinmaintainperiod
  @ProxyZones = proxyzones
end