class TencentCloud::Cynosdb::V20190107::RuleTemplateInfo
规则模板内容
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 @AlarmLevel = params['AlarmLevel'] @AlarmPolicy = params['AlarmPolicy'] @Description = params['Description'] end
def initialize(ruletemplateid=nil, ruletemplatename=nil, rulefilters=nil, alarmlevel=nil, alarmpolicy=nil, description=nil)
def initialize(ruletemplateid=nil, ruletemplatename=nil, rulefilters=nil, alarmlevel=nil, alarmpolicy=nil, description=nil) @RuleTemplateId = ruletemplateid @RuleTemplateName = ruletemplatename @RuleFilters = rulefilters @AlarmLevel = alarmlevel @AlarmPolicy = alarmpolicy @Description = description end