Class: TencentCloud::Cwp::V20180228::Strategy
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::Strategy
- Defined in:
- lib/v20180228/models.rb
Overview
基线安全用户策略信息
Instance Attribute Summary collapse
- #CategoryIds ⇒ Object
- #Enabled ⇒ Object
- #HostCount ⇒ Object
- #IsDefault ⇒ Object
- #PassRate ⇒ Object
- #RuleCount ⇒ Object
- #ScanAt ⇒ Object
- #ScanCycle ⇒ Object
- #StrategyId ⇒ Object
- #StrategyName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(strategyname = nil, strategyid = nil, rulecount = nil, hostcount = nil, scancycle = nil, scanat = nil, enabled = nil, passrate = nil, categoryids = nil, isdefault = nil) ⇒ Strategy
constructor
A new instance of Strategy.
Constructor Details
#initialize(strategyname = nil, strategyid = nil, rulecount = nil, hostcount = nil, scancycle = nil, scanat = nil, enabled = nil, passrate = nil, categoryids = nil, isdefault = nil) ⇒ Strategy
Returns a new instance of Strategy.
39383 39384 39385 39386 39387 39388 39389 39390 39391 39392 39393 39394 |
# File 'lib/v20180228/models.rb', line 39383 def initialize(strategyname=nil, strategyid=nil, rulecount=nil, hostcount=nil, scancycle=nil, scanat=nil, enabled=nil, passrate=nil, categoryids=nil, isdefault=nil) @StrategyName = strategyname @StrategyId = strategyid @RuleCount = rulecount @HostCount = hostcount @ScanCycle = scancycle @ScanAt = scanat @Enabled = enabled @PassRate = passrate @CategoryIds = categoryids @IsDefault = isdefault end |
Instance Attribute Details
#CategoryIds ⇒ Object
39381 39382 39383 |
# File 'lib/v20180228/models.rb', line 39381 def CategoryIds @CategoryIds end |
#Enabled ⇒ Object
39381 39382 39383 |
# File 'lib/v20180228/models.rb', line 39381 def Enabled @Enabled end |
#HostCount ⇒ Object
39381 39382 39383 |
# File 'lib/v20180228/models.rb', line 39381 def HostCount @HostCount end |
#IsDefault ⇒ Object
39381 39382 39383 |
# File 'lib/v20180228/models.rb', line 39381 def IsDefault @IsDefault end |
#PassRate ⇒ Object
39381 39382 39383 |
# File 'lib/v20180228/models.rb', line 39381 def PassRate @PassRate end |
#RuleCount ⇒ Object
39381 39382 39383 |
# File 'lib/v20180228/models.rb', line 39381 def RuleCount @RuleCount end |
#ScanAt ⇒ Object
39381 39382 39383 |
# File 'lib/v20180228/models.rb', line 39381 def ScanAt @ScanAt end |
#ScanCycle ⇒ Object
39381 39382 39383 |
# File 'lib/v20180228/models.rb', line 39381 def ScanCycle @ScanCycle end |
#StrategyId ⇒ Object
39381 39382 39383 |
# File 'lib/v20180228/models.rb', line 39381 def StrategyId @StrategyId end |
#StrategyName ⇒ Object
39381 39382 39383 |
# File 'lib/v20180228/models.rb', line 39381 def StrategyName @StrategyName end |
Instance Method Details
#deserialize(params) ⇒ Object
39396 39397 39398 39399 39400 39401 39402 39403 39404 39405 39406 39407 |
# File 'lib/v20180228/models.rb', line 39396 def deserialize(params) @StrategyName = params['StrategyName'] @StrategyId = params['StrategyId'] @RuleCount = params['RuleCount'] @HostCount = params['HostCount'] @ScanCycle = params['ScanCycle'] @ScanAt = params['ScanAt'] @Enabled = params['Enabled'] @PassRate = params['PassRate'] @CategoryIds = params['CategoryIds'] @IsDefault = params['IsDefault'] end |