Class: TencentCloud::Cdb::V20170320::DescribeProxyCustomConfResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DescribeProxyCustomConfResponse
- Defined in:
- lib/v20170320/models.rb
Overview
DescribeProxyCustomConf返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(count = nil, customconf = nil, weightrule = nil, requestid = nil) ⇒ DescribeProxyCustomConfResponse
constructor
A new instance of DescribeProxyCustomConfResponse.
Constructor Details
#initialize(count = nil, customconf = nil, weightrule = nil, requestid = nil) ⇒ DescribeProxyCustomConfResponse
Returns a new instance of DescribeProxyCustomConfResponse.
7711 7712 7713 7714 7715 7716 |
# File 'lib/v20170320/models.rb', line 7711 def initialize(count=nil, customconf=nil, weightrule=nil, requestid=nil) @Count = count @CustomConf = customconf @WeightRule = weightrule @RequestId = requestid end |
Instance Attribute Details
#Count ⇒ Object
7709 7710 7711 |
# File 'lib/v20170320/models.rb', line 7709 def Count @Count end |
#CustomConf ⇒ Object
7709 7710 7711 |
# File 'lib/v20170320/models.rb', line 7709 def CustomConf @CustomConf end |
#RequestId ⇒ Object
7709 7710 7711 |
# File 'lib/v20170320/models.rb', line 7709 def RequestId @RequestId end |
#WeightRule ⇒ Object
7709 7710 7711 |
# File 'lib/v20170320/models.rb', line 7709 def WeightRule @WeightRule end |
Instance Method Details
#deserialize(params) ⇒ Object
7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 |
# File 'lib/v20170320/models.rb', line 7718 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 @RequestId = params['RequestId'] end |