Class: TencentCloud::Csip::V20221121::DescribeUebaRuleResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Csip::V20221121::DescribeUebaRuleResponse
- Defined in:
- lib/v20221121/models.rb
Overview
DescribeUebaRule返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, data = nil, altertype = nil, requestid = nil) ⇒ DescribeUebaRuleResponse
constructor
A new instance of DescribeUebaRuleResponse.
Constructor Details
#initialize(totalcount = nil, data = nil, altertype = nil, requestid = nil) ⇒ DescribeUebaRuleResponse
Returns a new instance of DescribeUebaRuleResponse.
5631 5632 5633 5634 5635 5636 |
# File 'lib/v20221121/models.rb', line 5631 def initialize(totalcount=nil, data=nil, altertype=nil, requestid=nil) @TotalCount = totalcount @Data = data @AlterType = altertype @RequestId = requestid end |
Instance Attribute Details
#AlterType ⇒ Object
5629 5630 5631 |
# File 'lib/v20221121/models.rb', line 5629 def AlterType @AlterType end |
#Data ⇒ Object
5629 5630 5631 |
# File 'lib/v20221121/models.rb', line 5629 def Data @Data end |
#RequestId ⇒ Object
5629 5630 5631 |
# File 'lib/v20221121/models.rb', line 5629 def RequestId @RequestId end |
#TotalCount ⇒ Object
5629 5630 5631 |
# File 'lib/v20221121/models.rb', line 5629 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 |
# File 'lib/v20221121/models.rb', line 5638 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Data'].nil? @Data = [] params['Data'].each do |i| = UebaRule.new .deserialize(i) @Data << end end unless params['AlterType'].nil? @AlterType = [] params['AlterType'].each do |i| filterdataobject_tmp = FilterDataObject.new filterdataobject_tmp.deserialize(i) @AlterType << filterdataobject_tmp end end @RequestId = params['RequestId'] end |