Class: TencentCloud::Waf::V20180125::DescribeUserSignatureRuleResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::DescribeUserSignatureRuleResponse
- Defined in:
- lib/v20180125/models.rb
Overview
DescribeUserSignatureRule返回参数结构体
Instance Attribute Summary collapse
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Rules ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, rules = nil, requestid = nil) ⇒ DescribeUserSignatureRuleResponse
constructor
A new instance of DescribeUserSignatureRuleResponse.
Constructor Details
#initialize(total = nil, rules = nil, requestid = nil) ⇒ DescribeUserSignatureRuleResponse
Returns a new instance of DescribeUserSignatureRuleResponse.
6681 6682 6683 6684 6685 |
# File 'lib/v20180125/models.rb', line 6681 def initialize(total=nil, rules=nil, requestid=nil) @Total = total @Rules = rules @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6679 6680 6681 |
# File 'lib/v20180125/models.rb', line 6679 def RequestId @RequestId end |
#Rules ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6679 6680 6681 |
# File 'lib/v20180125/models.rb', line 6679 def Rules @Rules end |
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6679 6680 6681 |
# File 'lib/v20180125/models.rb', line 6679 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 |
# File 'lib/v20180125/models.rb', line 6687 def deserialize(params) @Total = params['Total'] unless params['Rules'].nil? @Rules = [] params['Rules'].each do |i| usersignaturerule_tmp = UserSignatureRule.new usersignaturerule_tmp.deserialize(i) @Rules << usersignaturerule_tmp end end @RequestId = params['RequestId'] end |