class TencentCloud::Cynosdb::V20190107::ModifyAuditRuleTemplatesRequest
ModifyAuditRuleTemplates请求参数结构体
def deserialize(params)
def deserialize(params) @RuleTemplateIds = params['RuleTemplateIds'] unless params['RuleFilters'].nil? @RuleFilters = [] params['RuleFilters'].each do |i| rulefilters_tmp = RuleFilters.new rulefilters_tmp.deserialize(i) @RuleFilters << rulefilters_tmp end end @RuleTemplateName = params['RuleTemplateName'] @Description = params['Description'] @AlarmLevel = params['AlarmLevel'] @AlarmPolicy = params['AlarmPolicy'] end
def initialize(ruletemplateids=nil, rulefilters=nil, ruletemplatename=nil, description=nil, alarmlevel=nil, alarmpolicy=nil)
def initialize(ruletemplateids=nil, rulefilters=nil, ruletemplatename=nil, description=nil, alarmlevel=nil, alarmpolicy=nil) @RuleTemplateIds = ruletemplateids @RuleFilters = rulefilters @RuleTemplateName = ruletemplatename @Description = description @AlarmLevel = alarmlevel @AlarmPolicy = alarmpolicy end