class TencentCloud::Cdb::V20170320::AuditRule
审计规则
def deserialize(params)
def deserialize(params) @RuleId = params['RuleId'] @CreateTime = params['CreateTime'] @ModifyTime = params['ModifyTime'] @RuleName = params['RuleName'] @Description = params['Description'] unless params['RuleFilters'].nil? @RuleFilters = [] params['RuleFilters'].each do |i| auditfilter_tmp = AuditFilter.new auditfilter_tmp.deserialize(i) @RuleFilters << auditfilter_tmp end end @AuditAll = params['AuditAll'] end
def initialize(ruleid=nil, createtime=nil, modifytime=nil, rulename=nil, description=nil, rulefilters=nil, auditall=nil)
def initialize(ruleid=nil, createtime=nil, modifytime=nil, rulename=nil, description=nil, rulefilters=nil, auditall=nil) @RuleId = ruleid @CreateTime = createtime @ModifyTime = modifytime @RuleName = rulename @Description = description @RuleFilters = rulefilters @AuditAll = auditall end