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.
12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 |
# File 'lib/v20170320/models.rb', line 12403 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
12401 12402 12403 |
# File 'lib/v20170320/models.rb', line 12401 def ConnectionPoolLimit @ConnectionPoolLimit end |
#ProxyAddress ⇒ Object
12401 12402 12403 |
# File 'lib/v20170320/models.rb', line 12401 def ProxyAddress @ProxyAddress end |
#ProxyGroupId ⇒ Object
12401 12402 12403 |
# File 'lib/v20170320/models.rb', line 12401 def ProxyGroupId @ProxyGroupId end |
#ProxyNode ⇒ Object
12401 12402 12403 |
# File 'lib/v20170320/models.rb', line 12401 def ProxyNode @ProxyNode end |
#ProxyVersion ⇒ Object
12401 12402 12403 |
# File 'lib/v20170320/models.rb', line 12401 def ProxyVersion @ProxyVersion end |
#Status ⇒ Object
12401 12402 12403 |
# File 'lib/v20170320/models.rb', line 12401 def Status @Status end |
#SupportCreateProxyAddress ⇒ Object
12401 12402 12403 |
# File 'lib/v20170320/models.rb', line 12401 def SupportCreateProxyAddress @SupportCreateProxyAddress end |
#SupportUpgradeProxyMysqlVersion ⇒ Object
12401 12402 12403 |
# File 'lib/v20170320/models.rb', line 12401 def SupportUpgradeProxyMysqlVersion @SupportUpgradeProxyMysqlVersion end |
#SupportUpgradeProxyVersion ⇒ Object
12401 12402 12403 |
# File 'lib/v20170320/models.rb', line 12401 def SupportUpgradeProxyVersion @SupportUpgradeProxyVersion end |
#TaskStatus ⇒ Object
12401 12402 12403 |
# File 'lib/v20170320/models.rb', line 12401 def TaskStatus @TaskStatus end |
Instance Method Details
#deserialize(params) ⇒ Object
12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 |
# File 'lib/v20170320/models.rb', line 12416 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 |