Class: TencentCloud::Cdb::V20170320::DescribeProxyCustomConfResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DescribeProxyCustomConfResponse
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/v20170320/models.rb
Overview
DescribeProxyCustomConf返回参数结构体
Instance Attribute Summary collapse
- #Count ⇒ Object
- #CustomConf ⇒ Object
- #CustomConfInfo ⇒ Object
- #RequestId ⇒ Object
- #WeightRule ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(count = nil, customconf = nil, weightrule = nil, customconfinfo = nil, requestid = nil) ⇒ DescribeProxyCustomConfResponse
constructor
A new instance of DescribeProxyCustomConfResponse.
Constructor Details
#initialize(count = nil, customconf = nil, weightrule = nil, customconfinfo = nil, requestid = nil) ⇒ DescribeProxyCustomConfResponse
Returns a new instance of DescribeProxyCustomConfResponse.
7830 7831 7832 7833 7834 7835 7836 |
# File 'lib/v20170320/models.rb', line 7830 def initialize(count=nil, customconf=nil, weightrule=nil, customconfinfo=nil, requestid=nil) @Count = count @CustomConf = customconf @WeightRule = weightrule @CustomConfInfo = customconfinfo @RequestId = requestid end |
Instance Attribute Details
#Count ⇒ Object
7825 7826 7827 |
# File 'lib/v20170320/models.rb', line 7825 def Count @Count end |
#CustomConf ⇒ Object
7825 7826 7827 |
# File 'lib/v20170320/models.rb', line 7825 def CustomConf @CustomConf end |
#CustomConfInfo ⇒ Object
7825 7826 7827 |
# File 'lib/v20170320/models.rb', line 7825 def CustomConfInfo @CustomConfInfo end |
#RequestId ⇒ Object
7825 7826 7827 |
# File 'lib/v20170320/models.rb', line 7825 def RequestId @RequestId end |
#WeightRule ⇒ Object
7825 7826 7827 |
# File 'lib/v20170320/models.rb', line 7825 def WeightRule @WeightRule end |
Instance Method Details
#deserialize(params) ⇒ Object
7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 |
# File 'lib/v20170320/models.rb', line 7838 def deserialize(params) @Count = params['Count'] unless params['CustomConf'].nil? @CustomConf = CustomConfig.new @CustomConf.deserialize(params['CustomConf']) end unless params['WeightRule'].nil? @WeightRule = Rule.new @WeightRule.deserialize(params['WeightRule']) end unless params['CustomConfInfo'].nil? @CustomConfInfo = [] params['CustomConfInfo'].each do |i| customconfig_tmp = CustomConfig.new customconfig_tmp.deserialize(i) @CustomConfInfo << customconfig_tmp end end @RequestId = params['RequestId'] end |