Class: TencentCloud::Cynosdb::V20190107::ProxyGroupInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cynosdb::V20190107::ProxyGroupInfo
- Defined in:
- lib/v20190107/models.rb
Overview
数据库代理组详细信息
Instance Attribute Summary collapse
-
#ConnectionPool ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#NetAddrInfos ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ProxyGroup ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ProxyGroupRwInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ProxyNodes ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Tasks ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(proxygroup = nil, proxygrouprwinfo = nil, proxynodes = nil, connectionpool = nil, netaddrinfos = nil, tasks = nil) ⇒ ProxyGroupInfo
constructor
A new instance of ProxyGroupInfo.
Constructor Details
#initialize(proxygroup = nil, proxygrouprwinfo = nil, proxynodes = nil, connectionpool = nil, netaddrinfos = nil, tasks = nil) ⇒ ProxyGroupInfo
Returns a new instance of ProxyGroupInfo.
12609 12610 12611 12612 12613 12614 12615 12616 |
# File 'lib/v20190107/models.rb', line 12609 def initialize(proxygroup=nil, proxygrouprwinfo=nil, proxynodes=nil, connectionpool=nil, netaddrinfos=nil, tasks=nil) @ProxyGroup = proxygroup @ProxyGroupRwInfo = proxygrouprwinfo @ProxyNodes = proxynodes @ConnectionPool = connectionpool @NetAddrInfos = netaddrinfos @Tasks = tasks end |
Instance Attribute Details
#ConnectionPool ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
12607 12608 12609 |
# File 'lib/v20190107/models.rb', line 12607 def ConnectionPool @ConnectionPool end |
#NetAddrInfos ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
12607 12608 12609 |
# File 'lib/v20190107/models.rb', line 12607 def NetAddrInfos @NetAddrInfos end |
#ProxyGroup ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
12607 12608 12609 |
# File 'lib/v20190107/models.rb', line 12607 def ProxyGroup @ProxyGroup end |
#ProxyGroupRwInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
12607 12608 12609 |
# File 'lib/v20190107/models.rb', line 12607 def ProxyGroupRwInfo @ProxyGroupRwInfo end |
#ProxyNodes ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
12607 12608 12609 |
# File 'lib/v20190107/models.rb', line 12607 def ProxyNodes @ProxyNodes end |
#Tasks ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
12607 12608 12609 |
# File 'lib/v20190107/models.rb', line 12607 def Tasks @Tasks end |
Instance Method Details
#deserialize(params) ⇒ Object
12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 |
# File 'lib/v20190107/models.rb', line 12618 def deserialize(params) unless params['ProxyGroup'].nil? @ProxyGroup = ProxyGroup.new @ProxyGroup.deserialize(params['ProxyGroup']) end unless params['ProxyGroupRwInfo'].nil? @ProxyGroupRwInfo = ProxyGroupRwInfo.new @ProxyGroupRwInfo.deserialize(params['ProxyGroupRwInfo']) end unless params['ProxyNodes'].nil? @ProxyNodes = [] params['ProxyNodes'].each do |i| proxynodeinfo_tmp = ProxyNodeInfo.new proxynodeinfo_tmp.deserialize(i) @ProxyNodes << proxynodeinfo_tmp end end unless params['ConnectionPool'].nil? @ConnectionPool = ProxyConnectionPoolInfo.new @ConnectionPool.deserialize(params['ConnectionPool']) end unless params['NetAddrInfos'].nil? @NetAddrInfos = [] params['NetAddrInfos'].each do |i| netaddr_tmp = NetAddr.new netaddr_tmp.deserialize(i) @NetAddrInfos << netaddr_tmp end end unless params['Tasks'].nil? @Tasks = [] params['Tasks'].each do |i| objecttask_tmp = ObjectTask.new objecttask_tmp.deserialize(i) @Tasks << objecttask_tmp end end end |