Class: TencentCloud::Cdb::V20170320::ModifyAuditRuleTemplatesRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::ModifyAuditRuleTemplatesRequest
- Defined in:
- lib/v20170320/models.rb
Overview
ModifyAuditRuleTemplates请求参数结构体
Instance Attribute Summary collapse
- #AlarmLevel ⇒ Object
- #AlarmPolicy ⇒ Object
- #Description ⇒ Object
- #RuleFilters ⇒ Object
- #RuleTemplateIds ⇒ Object
- #RuleTemplateName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ruletemplateids = nil, rulefilters = nil, ruletemplatename = nil, description = nil, alarmlevel = nil, alarmpolicy = nil) ⇒ ModifyAuditRuleTemplatesRequest
constructor
A new instance of ModifyAuditRuleTemplatesRequest.
Constructor Details
#initialize(ruletemplateids = nil, rulefilters = nil, ruletemplatename = nil, description = nil, alarmlevel = nil, alarmpolicy = nil) ⇒ ModifyAuditRuleTemplatesRequest
10309 10310 10311 10312 10313 10314 10315 10316 |
# File 'lib/v20170320/models.rb', line 10309 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 |
Instance Attribute Details
#AlarmLevel ⇒ Object
10307 10308 10309 |
# File 'lib/v20170320/models.rb', line 10307 def AlarmLevel @AlarmLevel end |
#AlarmPolicy ⇒ Object
10307 10308 10309 |
# File 'lib/v20170320/models.rb', line 10307 def AlarmPolicy @AlarmPolicy end |
#Description ⇒ Object
10307 10308 10309 |
# File 'lib/v20170320/models.rb', line 10307 def Description @Description end |
#RuleFilters ⇒ Object
10307 10308 10309 |
# File 'lib/v20170320/models.rb', line 10307 def RuleFilters @RuleFilters end |
#RuleTemplateIds ⇒ Object
10307 10308 10309 |
# File 'lib/v20170320/models.rb', line 10307 def RuleTemplateIds @RuleTemplateIds end |
#RuleTemplateName ⇒ Object
10307 10308 10309 |
# File 'lib/v20170320/models.rb', line 10307 def RuleTemplateName @RuleTemplateName end |
Instance Method Details
#deserialize(params) ⇒ Object
10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 |
# File 'lib/v20170320/models.rb', line 10318 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 |