class TencentCloud::Cdb::V20170320::AdjustCdbProxyAddressRequest
AdjustCdbProxyAddress请求参数结构体
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'] @ProxyAddressId = params['ProxyAddressId'] @TransSplit = params['TransSplit'] @ConnectionPool = params['ConnectionPool'] unless params['ProxyAllocation'].nil? @ProxyAllocation = [] params['ProxyAllocation'].each do |i| proxyallocation_tmp = ProxyAllocation.new proxyallocation_tmp.deserialize(i) @ProxyAllocation << proxyallocation_tmp end end @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, proxyaddressid=nil, transsplit=nil, connectionpool=nil, proxyallocation=nil, autoloadbalance=nil, accessmode=nil)
def initialize(proxygroupid=nil, weightmode=nil, iskickout=nil, mincount=nil, maxdelay=nil, failover=nil, autoaddro=nil, readonly=nil, proxyaddressid=nil, transsplit=nil, connectionpool=nil, proxyallocation=nil, autoloadbalance=nil, accessmode=nil) @ProxyGroupId = proxygroupid @WeightMode = weightmode @IsKickOut = iskickout @MinCount = mincount @MaxDelay = maxdelay @FailOver = failover @AutoAddRo = autoaddro @ReadOnly = readonly @ProxyAddressId = proxyaddressid @TransSplit = transsplit @ConnectionPool = connectionpool @ProxyAllocation = proxyallocation @AutoLoadBalance = autoloadbalance @AccessMode = accessmode end