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.
38945 38946 38947 38948 38949 38950 38951 38952 38953 38954 38955 38956 |
# File 'lib/v20180228/models.rb', line 38945 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
38943 38944 38945 |
# File 'lib/v20180228/models.rb', line 38943 def CategoryIds @CategoryIds end |
#Enabled ⇒ Object
38943 38944 38945 |
# File 'lib/v20180228/models.rb', line 38943 def Enabled @Enabled end |
#HostCount ⇒ Object
38943 38944 38945 |
# File 'lib/v20180228/models.rb', line 38943 def HostCount @HostCount end |
#IsDefault ⇒ Object
38943 38944 38945 |
# File 'lib/v20180228/models.rb', line 38943 def IsDefault @IsDefault end |
#PassRate ⇒ Object
38943 38944 38945 |
# File 'lib/v20180228/models.rb', line 38943 def PassRate @PassRate end |
#RuleCount ⇒ Object
38943 38944 38945 |
# File 'lib/v20180228/models.rb', line 38943 def RuleCount @RuleCount end |
#ScanAt ⇒ Object
38943 38944 38945 |
# File 'lib/v20180228/models.rb', line 38943 def ScanAt @ScanAt end |
#ScanCycle ⇒ Object
38943 38944 38945 |
# File 'lib/v20180228/models.rb', line 38943 def ScanCycle @ScanCycle end |
#StrategyId ⇒ Object
38943 38944 38945 |
# File 'lib/v20180228/models.rb', line 38943 def StrategyId @StrategyId end |
#StrategyName ⇒ Object
38943 38944 38945 |
# File 'lib/v20180228/models.rb', line 38943 def StrategyName @StrategyName end |
Instance Method Details
#deserialize(params) ⇒ Object
38958 38959 38960 38961 38962 38963 38964 38965 38966 38967 38968 38969 |
# File 'lib/v20180228/models.rb', line 38958 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 |