Class: TencentCloud::Cwp::V20180228::MachineFileTamperRule
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::MachineFileTamperRule
- Defined in:
- lib/v20180228/models.rb
Overview
查询主机相关核心文件监控规则详情
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, rulecategory = nil, rule = nil, id = nil) ⇒ MachineFileTamperRule
constructor
A new instance of MachineFileTamperRule.
Constructor Details
#initialize(name = nil, rulecategory = nil, rule = nil, id = nil) ⇒ MachineFileTamperRule
Returns a new instance of MachineFileTamperRule.
31499 31500 31501 31502 31503 31504 |
# File 'lib/v20180228/models.rb', line 31499 def initialize(name=nil, rulecategory=nil, rule=nil, id=nil) @Name = name @RuleCategory = rulecategory @Rule = rule @Id = id end |
Instance Attribute Details
#Id ⇒ Object
31497 31498 31499 |
# File 'lib/v20180228/models.rb', line 31497 def Id @Id end |
#Name ⇒ Object
31497 31498 31499 |
# File 'lib/v20180228/models.rb', line 31497 def Name @Name end |
#Rule ⇒ Object
31497 31498 31499 |
# File 'lib/v20180228/models.rb', line 31497 def Rule @Rule end |
#RuleCategory ⇒ Object
31497 31498 31499 |
# File 'lib/v20180228/models.rb', line 31497 def RuleCategory @RuleCategory end |
Instance Method Details
#deserialize(params) ⇒ Object
31506 31507 31508 31509 31510 31511 31512 31513 31514 31515 31516 31517 31518 |
# File 'lib/v20180228/models.rb', line 31506 def deserialize(params) @Name = params['Name'] @RuleCategory = params['RuleCategory'] unless params['Rule'].nil? @Rule = [] params['Rule'].each do |i| filetamperrule_tmp = FileTamperRule.new filetamperrule_tmp.deserialize(i) @Rule << filetamperrule_tmp end end @Id = params['Id'] end |