Class: TencentCloud::Teo::V20220901::DescribeL4ProxyRulesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::DescribeL4ProxyRulesResponse
- Defined in:
- lib/v20220901/models.rb
Overview
DescribeL4ProxyRules返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, l4proxyrules = nil, requestid = nil) ⇒ DescribeL4ProxyRulesResponse
constructor
A new instance of DescribeL4ProxyRulesResponse.
Constructor Details
#initialize(totalcount = nil, l4proxyrules = nil, requestid = nil) ⇒ DescribeL4ProxyRulesResponse
9162 9163 9164 9165 9166 |
# File 'lib/v20220901/models.rb', line 9162 def initialize(totalcount=nil, l4proxyrules=nil, requestid=nil) @TotalCount = totalcount @L4ProxyRules = l4proxyrules @RequestId = requestid end |
Instance Attribute Details
#L4ProxyRules ⇒ Object
9160 9161 9162 |
# File 'lib/v20220901/models.rb', line 9160 def L4ProxyRules @L4ProxyRules end |
#RequestId ⇒ Object
9160 9161 9162 |
# File 'lib/v20220901/models.rb', line 9160 def RequestId @RequestId end |
#TotalCount ⇒ Object
9160 9161 9162 |
# File 'lib/v20220901/models.rb', line 9160 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 |
# File 'lib/v20220901/models.rb', line 9168 def deserialize(params) @TotalCount = params['TotalCount'] unless params['L4ProxyRules'].nil? @L4ProxyRules = [] params['L4ProxyRules'].each do |i| l4proxyrule_tmp = L4ProxyRule.new l4proxyrule_tmp.deserialize(i) @L4ProxyRules << l4proxyrule_tmp end end @RequestId = params['RequestId'] end |