class TencentCloud::Cdb::V20170320::ProxyGroupInfo
代理组详情
def deserialize(params)
def deserialize(params) @ProxyGroupId = params['ProxyGroupId'] @ProxyVersion = params['ProxyVersion'] @SupportUpgradeProxyVersion = params['SupportUpgradeProxyVersion'] @Status = params['Status'] @TaskStatus = params['TaskStatus'] unless params['ProxyNode'].nil? @ProxyNode = [] params['ProxyNode'].each do |i| proxynode_tmp = ProxyNode.new proxynode_tmp.deserialize(i) @ProxyNode << proxynode_tmp end end unless params['ProxyAddress'].nil? @ProxyAddress = [] params['ProxyAddress'].each do |i| proxyaddress_tmp = ProxyAddress.new proxyaddress_tmp.deserialize(i) @ProxyAddress << proxyaddress_tmp end end @ConnectionPoolLimit = params['ConnectionPoolLimit'] @SupportCreateProxyAddress = params['SupportCreateProxyAddress'] @SupportUpgradeProxyMysqlVersion = params['SupportUpgradeProxyMysqlVersion'] end
def initialize(proxygroupid=nil, proxyversion=nil, supportupgradeproxyversion=nil, status=nil, taskstatus=nil, proxynode=nil, proxyaddress=nil, connectionpoollimit=nil, supportcreateproxyaddress=nil, supportupgradeproxymysqlversion=nil)
def initialize(proxygroupid=nil, proxyversion=nil, supportupgradeproxyversion=nil, status=nil, taskstatus=nil, proxynode=nil, proxyaddress=nil, connectionpoollimit=nil, supportcreateproxyaddress=nil, supportupgradeproxymysqlversion=nil) @ProxyGroupId = proxygroupid @ProxyVersion = proxyversion @SupportUpgradeProxyVersion = supportupgradeproxyversion @Status = status @TaskStatus = taskstatus @ProxyNode = proxynode @ProxyAddress = proxyaddress @ConnectionPoolLimit = connectionpoollimit @SupportCreateProxyAddress = supportcreateproxyaddress @SupportUpgradeProxyMysqlVersion = supportupgradeproxymysqlversion end