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.
8641 8642 8643 8644 8645 8646 |
# File 'lib/v20221121/models.rb', line 8641 def initialize(totalcount=nil, data=nil, altertype=nil, requestid=nil) @TotalCount = totalcount @Data = data @AlterType = altertype @RequestId = requestid end |
Instance Attribute Details
#AlterType ⇒ Object
8639 8640 8641 |
# File 'lib/v20221121/models.rb', line 8639 def AlterType @AlterType end |
#Data ⇒ Object
8639 8640 8641 |
# File 'lib/v20221121/models.rb', line 8639 def Data @Data end |
#RequestId ⇒ Object
8639 8640 8641 |
# File 'lib/v20221121/models.rb', line 8639 def RequestId @RequestId end |
#TotalCount ⇒ Object
8639 8640 8641 |
# File 'lib/v20221121/models.rb', line 8639 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 |
# File 'lib/v20221121/models.rb', line 8648 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 |