Class: TencentCloud::Cdb::V20170320::ProxyGroupInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::ProxyGroupInfo
- Defined in:
- lib/v20170320/models.rb
Overview
代理组详情
Instance Attribute Summary collapse
- #ConnectionPoolLimit ⇒ Object
- #ProxyAddress ⇒ Object
- #ProxyGroupId ⇒ Object
- #ProxyNode ⇒ Object
- #ProxyVersion ⇒ Object
- #Status ⇒ Object
- #SupportCreateProxyAddress ⇒ Object
- #SupportUpgradeProxyMysqlVersion ⇒ Object
- #SupportUpgradeProxyVersion ⇒ Object
- #TaskStatus ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(proxygroupid = nil, proxyversion = nil, supportupgradeproxyversion = nil, status = nil, taskstatus = nil, proxynode = nil, proxyaddress = nil, connectionpoollimit = nil, supportcreateproxyaddress = nil, supportupgradeproxymysqlversion = nil) ⇒ ProxyGroupInfo
constructor
A new instance of ProxyGroupInfo.
Constructor Details
#initialize(proxygroupid = nil, proxyversion = nil, supportupgradeproxyversion = nil, status = nil, taskstatus = nil, proxynode = nil, proxyaddress = nil, connectionpoollimit = nil, supportcreateproxyaddress = nil, supportupgradeproxymysqlversion = nil) ⇒ ProxyGroupInfo
Returns a new instance of ProxyGroupInfo.
12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 |
# File 'lib/v20170320/models.rb', line 12590 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 |
Instance Attribute Details
#ConnectionPoolLimit ⇒ Object
12588 12589 12590 |
# File 'lib/v20170320/models.rb', line 12588 def ConnectionPoolLimit @ConnectionPoolLimit end |
#ProxyAddress ⇒ Object
12588 12589 12590 |
# File 'lib/v20170320/models.rb', line 12588 def ProxyAddress @ProxyAddress end |
#ProxyGroupId ⇒ Object
12588 12589 12590 |
# File 'lib/v20170320/models.rb', line 12588 def ProxyGroupId @ProxyGroupId end |
#ProxyNode ⇒ Object
12588 12589 12590 |
# File 'lib/v20170320/models.rb', line 12588 def ProxyNode @ProxyNode end |
#ProxyVersion ⇒ Object
12588 12589 12590 |
# File 'lib/v20170320/models.rb', line 12588 def ProxyVersion @ProxyVersion end |
#Status ⇒ Object
12588 12589 12590 |
# File 'lib/v20170320/models.rb', line 12588 def Status @Status end |
#SupportCreateProxyAddress ⇒ Object
12588 12589 12590 |
# File 'lib/v20170320/models.rb', line 12588 def SupportCreateProxyAddress @SupportCreateProxyAddress end |
#SupportUpgradeProxyMysqlVersion ⇒ Object
12588 12589 12590 |
# File 'lib/v20170320/models.rb', line 12588 def SupportUpgradeProxyMysqlVersion @SupportUpgradeProxyMysqlVersion end |
#SupportUpgradeProxyVersion ⇒ Object
12588 12589 12590 |
# File 'lib/v20170320/models.rb', line 12588 def SupportUpgradeProxyVersion @SupportUpgradeProxyVersion end |
#TaskStatus ⇒ Object
12588 12589 12590 |
# File 'lib/v20170320/models.rb', line 12588 def TaskStatus @TaskStatus end |
Instance Method Details
#deserialize(params) ⇒ Object
12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 |
# File 'lib/v20170320/models.rb', line 12603 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 |