class TencentCloud::Cdb::V20170320::CreateCdbProxyAddressRequest

def deserialize(params)

def deserialize(params)
  @ProxyGroupId = params['ProxyGroupId']
  @WeightMode = params['WeightMode']
  @IsKickOut = params['IsKickOut']
  @MinCount = params['MinCount']
  @MaxDelay = params['MaxDelay']
  @FailOver = params['FailOver']
  @AutoAddRo = params['AutoAddRo']
  @ReadOnly = params['ReadOnly']
  @TransSplit = params['TransSplit']
  unless params['ProxyAllocation'].nil?
    @ProxyAllocation = []
    params['ProxyAllocation'].each do |i|
      proxyallocation_tmp = ProxyAllocation.new
      proxyallocation_tmp.deserialize(i)
      @ProxyAllocation << proxyallocation_tmp
    end
  end
  @UniqVpcId = params['UniqVpcId']
  @UniqSubnetId = params['UniqSubnetId']
  @ConnectionPool = params['ConnectionPool']
  @Desc = params['Desc']
  @Vip = params['Vip']
  @VPort = params['VPort']
  @SecurityGroup = params['SecurityGroup']
  @ConnectionPoolType = params['ConnectionPoolType']
  @AutoLoadBalance = params['AutoLoadBalance']
  @AccessMode = params['AccessMode']
end