Class: TencentCloud::Keewidb::V20220308::DescribeInstanceNodeInfoResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Keewidb::V20220308::DescribeInstanceNodeInfoResponse
- Defined in:
- lib/v20220308/models.rb
Overview
DescribeInstanceNodeInfo返回参数结构体
Instance Attribute Summary collapse
- #KeeWiDB ⇒ Object
- #KeeWiDBCount ⇒ Object
- #Proxy ⇒ Object
- #ProxyCount ⇒ Object
- #Redis ⇒ Object
- #RedisCount ⇒ Object
- #RequestId ⇒ Object
- #Tendis ⇒ Object
- #TendisCount ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(proxycount = nil, proxy = nil, rediscount = nil, redis = nil, tendiscount = nil, tendis = nil, keewidbcount = nil, keewidb = nil, requestid = nil) ⇒ DescribeInstanceNodeInfoResponse
constructor
A new instance of DescribeInstanceNodeInfoResponse.
Constructor Details
#initialize(proxycount = nil, proxy = nil, rediscount = nil, redis = nil, tendiscount = nil, tendis = nil, keewidbcount = nil, keewidb = nil, requestid = nil) ⇒ DescribeInstanceNodeInfoResponse
Returns a new instance of DescribeInstanceNodeInfoResponse.
822 823 824 825 826 827 828 829 830 831 832 |
# File 'lib/v20220308/models.rb', line 822 def initialize(proxycount=nil, proxy=nil, rediscount=nil, redis=nil, tendiscount=nil, tendis=nil, keewidbcount=nil, keewidb=nil, requestid=nil) @ProxyCount = proxycount @Proxy = proxy @RedisCount = rediscount @Redis = redis @TendisCount = tendiscount @Tendis = tendis @KeeWiDBCount = keewidbcount @KeeWiDB = keewidb @RequestId = requestid end |
Instance Attribute Details
#KeeWiDB ⇒ Object
820 821 822 |
# File 'lib/v20220308/models.rb', line 820 def KeeWiDB @KeeWiDB end |
#KeeWiDBCount ⇒ Object
820 821 822 |
# File 'lib/v20220308/models.rb', line 820 def KeeWiDBCount @KeeWiDBCount end |
#Proxy ⇒ Object
820 821 822 |
# File 'lib/v20220308/models.rb', line 820 def Proxy @Proxy end |
#ProxyCount ⇒ Object
820 821 822 |
# File 'lib/v20220308/models.rb', line 820 def ProxyCount @ProxyCount end |
#Redis ⇒ Object
820 821 822 |
# File 'lib/v20220308/models.rb', line 820 def Redis @Redis end |
#RedisCount ⇒ Object
820 821 822 |
# File 'lib/v20220308/models.rb', line 820 def RedisCount @RedisCount end |
#RequestId ⇒ Object
820 821 822 |
# File 'lib/v20220308/models.rb', line 820 def RequestId @RequestId end |
#Tendis ⇒ Object
820 821 822 |
# File 'lib/v20220308/models.rb', line 820 def Tendis @Tendis end |
#TendisCount ⇒ Object
820 821 822 |
# File 'lib/v20220308/models.rb', line 820 def TendisCount @TendisCount end |
Instance Method Details
#deserialize(params) ⇒ Object
834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 |
# File 'lib/v20220308/models.rb', line 834 def deserialize(params) @ProxyCount = params['ProxyCount'] unless params['Proxy'].nil? @Proxy = [] params['Proxy'].each do |i| proxynodeinfo_tmp = ProxyNodeInfo.new proxynodeinfo_tmp.deserialize(i) @Proxy << proxynodeinfo_tmp end end @RedisCount = params['RedisCount'] unless params['Redis'].nil? @Redis = [] params['Redis'].each do |i| redisnodeinfo_tmp = RedisNodeInfo.new redisnodeinfo_tmp.deserialize(i) @Redis << redisnodeinfo_tmp end end @TendisCount = params['TendisCount'] unless params['Tendis'].nil? @Tendis = [] params['Tendis'].each do |i| instancenodeinfo_tmp = InstanceNodeInfo.new instancenodeinfo_tmp.deserialize(i) @Tendis << instancenodeinfo_tmp end end @KeeWiDBCount = params['KeeWiDBCount'] unless params['KeeWiDB'].nil? @KeeWiDB = [] params['KeeWiDB'].each do |i| instancenodeinfo_tmp = InstanceNodeInfo.new instancenodeinfo_tmp.deserialize(i) @KeeWiDB << instancenodeinfo_tmp end end @RequestId = params['RequestId'] end |