Class: TencentCloud::Waf::V20180125::DescribeAttackWhiteRuleResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::DescribeAttackWhiteRuleResponse
- Defined in:
- lib/v20180125/models.rb
Overview
DescribeAttackWhiteRule返回参数结构体
Instance Attribute Summary collapse
-
#List ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, list = nil, requestid = nil) ⇒ DescribeAttackWhiteRuleResponse
constructor
A new instance of DescribeAttackWhiteRuleResponse.
Constructor Details
#initialize(total = nil, list = nil, requestid = nil) ⇒ DescribeAttackWhiteRuleResponse
Returns a new instance of DescribeAttackWhiteRuleResponse.
4088 4089 4090 4091 4092 |
# File 'lib/v20180125/models.rb', line 4088 def initialize(total=nil, list=nil, requestid=nil) @Total = total @List = list @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4086 4087 4088 |
# File 'lib/v20180125/models.rb', line 4086 def List @List end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4086 4087 4088 |
# File 'lib/v20180125/models.rb', line 4086 def RequestId @RequestId end |
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4086 4087 4088 |
# File 'lib/v20180125/models.rb', line 4086 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 |
# File 'lib/v20180125/models.rb', line 4094 def deserialize(params) @Total = params['Total'] unless params['List'].nil? @List = [] params['List'].each do |i| userwhiterule_tmp = UserWhiteRule.new userwhiterule_tmp.deserialize(i) @List << userwhiterule_tmp end end @RequestId = params['RequestId'] end |