Class: TencentCloud::Teo::V20220901::ManagedRuleAutoUpdate

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20220901/models.rb

Overview

托管规则自动更新选项

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(autoupdatetolatestversion = nil, rulesetversion = nil) ⇒ ManagedRuleAutoUpdate



14993
14994
14995
14996
# File 'lib/v20220901/models.rb', line 14993

def initialize(autoupdatetolatestversion=nil, rulesetversion=nil)
  @AutoUpdateToLatestVersion = autoupdatetolatestversion
  @RulesetVersion = rulesetversion
end

Instance Attribute Details

#AutoUpdateToLatestVersionObject



14991
14992
14993
# File 'lib/v20220901/models.rb', line 14991

def AutoUpdateToLatestVersion
  @AutoUpdateToLatestVersion
end

#RulesetVersionObject



14991
14992
14993
# File 'lib/v20220901/models.rb', line 14991

def RulesetVersion
  @RulesetVersion
end

Instance Method Details

#deserialize(params) ⇒ Object



14998
14999
15000
15001
# File 'lib/v20220901/models.rb', line 14998

def deserialize(params)
  @AutoUpdateToLatestVersion = params['AutoUpdateToLatestVersion']
  @RulesetVersion = params['RulesetVersion']
end