Class: TencentCloud::Waf::V20180125::DescribeAntiFakeRulesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::DescribeAntiFakeRulesResponse
- Defined in:
- lib/v20180125/models.rb
Overview
DescribeAntiFakeRules返回参数结构体
Instance Attribute Summary collapse
-
#Data ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, data = nil, requestid = nil) ⇒ DescribeAntiFakeRulesResponse
constructor
A new instance of DescribeAntiFakeRulesResponse.
Constructor Details
#initialize(total = nil, data = nil, requestid = nil) ⇒ DescribeAntiFakeRulesResponse
Returns a new instance of DescribeAntiFakeRulesResponse.
3431 3432 3433 3434 3435 |
# File 'lib/v20180125/models.rb', line 3431 def initialize(total=nil, data=nil, requestid=nil) @Total = total @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3429 3430 3431 |
# File 'lib/v20180125/models.rb', line 3429 def Data @Data end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3429 3430 3431 |
# File 'lib/v20180125/models.rb', line 3429 def RequestId @RequestId end |
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3429 3430 3431 |
# File 'lib/v20180125/models.rb', line 3429 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 |
# File 'lib/v20180125/models.rb', line 3437 def deserialize(params) @Total = params['Total'] unless params['Data'].nil? @Data = [] params['Data'].each do |i| cacheurlitems_tmp = CacheUrlItems.new cacheurlitems_tmp.deserialize(i) @Data << cacheurlitems_tmp end end @RequestId = params['RequestId'] end |