class TencentCloud::Cynosdb::V20190107::CreateProxyEndPointRequest
CreateProxyEndPoint请求参数结构体
def deserialize(params)
def deserialize(params) @ClusterId = params['ClusterId'] @UniqueVpcId = params['UniqueVpcId'] @UniqueSubnetId = params['UniqueSubnetId'] @ConnectionPoolType = params['ConnectionPoolType'] @OpenConnectionPool = params['OpenConnectionPool'] @ConnectionPoolTimeOut = params['ConnectionPoolTimeOut'] @SecurityGroupIds = params['SecurityGroupIds'] @Description = params['Description'] @Vip = params['Vip'] @WeightMode = params['WeightMode'] @AutoAddRo = params['AutoAddRo'] @FailOver = params['FailOver'] @ConsistencyType = params['ConsistencyType'] @RwType = params['RwType'] @ConsistencyTimeOut = params['ConsistencyTimeOut'] @TransSplit = params['TransSplit'] @AccessMode = params['AccessMode'] unless params['InstanceWeights'].nil? @InstanceWeights = [] params['InstanceWeights'].each do |i| proxyinstanceweight_tmp = ProxyInstanceWeight.new proxyinstanceweight_tmp.deserialize(i) @InstanceWeights << proxyinstanceweight_tmp end end end
def initialize(clusterid=nil, uniquevpcid=nil, uniquesubnetid=nil, connectionpooltype=nil, openconnectionpool=nil, connectionpooltimeout=nil, securitygroupids=nil, description=nil, vip=nil, weightmode=nil, autoaddro=nil, failover=nil, consistencytype=nil, rwtype=nil, consistencytimeout=nil, transsplit=nil, accessmode=nil, instanceweights=nil)
def initialize(clusterid=nil, uniquevpcid=nil, uniquesubnetid=nil, connectionpooltype=nil, openconnectionpool=nil, connectionpooltimeout=nil, securitygroupids=nil, description=nil, vip=nil, weightmode=nil, autoaddro=nil, failover=nil, consistencytype=nil, rwtype=nil, consistencytimeout=nil, transsplit=nil, accessmode=nil, instanceweights=nil) @ClusterId = clusterid @UniqueVpcId = uniquevpcid @UniqueSubnetId = uniquesubnetid @ConnectionPoolType = connectionpooltype @OpenConnectionPool = openconnectionpool @ConnectionPoolTimeOut = connectionpooltimeout @SecurityGroupIds = securitygroupids @Description = description @Vip = vip @WeightMode = weightmode @AutoAddRo = autoaddro @FailOver = failover @ConsistencyType = consistencytype @RwType = rwtype @ConsistencyTimeOut = consistencytimeout @TransSplit = transsplit @AccessMode = accessmode @InstanceWeights = instanceweights end