Class: TencentCloud::Dayu::V20180709::DescribleL4RulesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dayu::V20180709::DescribleL4RulesResponse
- Defined in:
- lib/v20180709/models.rb
Overview
DescribleL4Rules返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(rules = nil, total = nil, healths = nil, requestid = nil) ⇒ DescribleL4RulesResponse
constructor
A new instance of DescribleL4RulesResponse.
Constructor Details
#initialize(rules = nil, total = nil, healths = nil, requestid = nil) ⇒ DescribleL4RulesResponse
Returns a new instance of DescribleL4RulesResponse.
5847 5848 5849 5850 5851 5852 |
# File 'lib/v20180709/models.rb', line 5847 def initialize(rules=nil, total=nil, healths=nil, requestid=nil) @Rules = rules @Total = total @Healths = healths @RequestId = requestid end |
Instance Attribute Details
#Healths ⇒ Object
5845 5846 5847 |
# File 'lib/v20180709/models.rb', line 5845 def Healths @Healths end |
#RequestId ⇒ Object
5845 5846 5847 |
# File 'lib/v20180709/models.rb', line 5845 def RequestId @RequestId end |
#Rules ⇒ Object
5845 5846 5847 |
# File 'lib/v20180709/models.rb', line 5845 def Rules @Rules end |
#Total ⇒ Object
5845 5846 5847 |
# File 'lib/v20180709/models.rb', line 5845 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 |
# File 'lib/v20180709/models.rb', line 5854 def deserialize(params) unless params['Rules'].nil? @Rules = [] params['Rules'].each do |i| l4ruleentry_tmp = L4RuleEntry.new l4ruleentry_tmp.deserialize(i) @Rules << l4ruleentry_tmp end end @Total = params['Total'] unless params['Healths'].nil? @Healths = [] params['Healths'].each do |i| l4rulehealth_tmp = L4RuleHealth.new l4rulehealth_tmp.deserialize(i) @Healths << l4rulehealth_tmp end end @RequestId = params['RequestId'] end |