class TencentCloud::Cdb::V20170320::CreateCdbProxyAddressRequest

CreateCdbProxyAddress请求参数结构体

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

def initialize(proxygroupid=nil, weightmode=nil, iskickout=nil, mincount=nil, maxdelay=nil, failover=nil, autoaddro=nil, readonly=nil, transsplit=nil, proxyallocation=nil, uniqvpcid=nil, uniqsubnetid=nil, connectionpool=nil, desc=nil, vip=nil, vport=nil, securitygroup=nil, connectionpooltype=nil, autoloadbalance=nil, accessmode=nil)

def initialize(proxygroupid=nil, weightmode=nil, iskickout=nil, mincount=nil, maxdelay=nil, failover=nil, autoaddro=nil, readonly=nil, transsplit=nil, proxyallocation=nil, uniqvpcid=nil, uniqsubnetid=nil, connectionpool=nil, desc=nil, vip=nil, vport=nil, securitygroup=nil, connectionpooltype=nil, autoloadbalance=nil, accessmode=nil)
  @ProxyGroupId = proxygroupid
  @WeightMode = weightmode
  @IsKickOut = iskickout
  @MinCount = mincount
  @MaxDelay = maxdelay
  @FailOver = failover
  @AutoAddRo = autoaddro
  @ReadOnly = readonly
  @TransSplit = transsplit
  @ProxyAllocation = proxyallocation
  @UniqVpcId = uniqvpcid
  @UniqSubnetId = uniqsubnetid
  @ConnectionPool = connectionpool
  @Desc = desc
  @Vip = vip
  @VPort = vport
  @SecurityGroup = securitygroup
  @ConnectionPoolType = connectionpooltype
  @AutoLoadBalance = autoloadbalance
  @AccessMode = accessmode
end