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.
836 837 838 839 840 841 842 843 844 845 846 |
# File 'lib/v20220308/models.rb', line 836 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
834 835 836 |
# File 'lib/v20220308/models.rb', line 834 def KeeWiDB @KeeWiDB end |
#KeeWiDBCount ⇒ Object
834 835 836 |
# File 'lib/v20220308/models.rb', line 834 def KeeWiDBCount @KeeWiDBCount end |
#Proxy ⇒ Object
834 835 836 |
# File 'lib/v20220308/models.rb', line 834 def Proxy @Proxy end |
#ProxyCount ⇒ Object
834 835 836 |
# File 'lib/v20220308/models.rb', line 834 def ProxyCount @ProxyCount end |
#Redis ⇒ Object
834 835 836 |
# File 'lib/v20220308/models.rb', line 834 def Redis @Redis end |
#RedisCount ⇒ Object
834 835 836 |
# File 'lib/v20220308/models.rb', line 834 def RedisCount @RedisCount end |
#RequestId ⇒ Object
834 835 836 |
# File 'lib/v20220308/models.rb', line 834 def RequestId @RequestId end |
#Tendis ⇒ Object
834 835 836 |
# File 'lib/v20220308/models.rb', line 834 def Tendis @Tendis end |
#TendisCount ⇒ Object
834 835 836 |
# File 'lib/v20220308/models.rb', line 834 def TendisCount @TendisCount end |
Instance Method Details
#deserialize(params) ⇒ Object
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 873 874 875 876 877 878 879 880 881 882 883 884 885 886 |
# File 'lib/v20220308/models.rb', line 848 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 |