class TencentCloud::Cdb::V20170320::AuditRuleTemplateInfo
审计规则模板的详情
def deserialize(params)
def deserialize(params) @RuleTemplateId = params['RuleTemplateId'] @RuleTemplateName = params['RuleTemplateName'] unless params['RuleFilters'].nil? @RuleFilters = [] params['RuleFilters'].each do |i| rulefilters_tmp = RuleFilters.new rulefilters_tmp.deserialize(i) @RuleFilters << rulefilters_tmp end end @Description = params['Description'] @CreateAt = params['CreateAt'] @AlarmLevel = params['AlarmLevel'] @AlarmPolicy = params['AlarmPolicy'] @AffectedInstances = params['AffectedInstances'] @Status = params['Status'] @UpdateAt = params['UpdateAt'] end
def initialize(ruletemplateid=nil, ruletemplatename=nil, rulefilters=nil, description=nil, createat=nil, alarmlevel=nil, alarmpolicy=nil, affectedinstances=nil, status=nil, updateat=nil)
def initialize(ruletemplateid=nil, ruletemplatename=nil, rulefilters=nil, description=nil, createat=nil, alarmlevel=nil, alarmpolicy=nil, affectedinstances=nil, status=nil, updateat=nil) @RuleTemplateId = ruletemplateid @RuleTemplateName = ruletemplatename @RuleFilters = rulefilters @Description = description @CreateAt = createat @AlarmLevel = alarmlevel @AlarmPolicy = alarmpolicy @AffectedInstances = affectedinstances @Status = status @UpdateAt = updateat end