Class: TencentCloud::Cwp::V20180228::BaselinePolicy
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::BaselinePolicy
- Defined in:
- lib/v20180228/models.rb
Overview
基线策略信息
Instance Attribute Summary collapse
- #AssetType ⇒ Object
- #DetectInterval ⇒ Object
- #DetectTime ⇒ Object
- #HostCount ⇒ Object
- #HostIds ⇒ Object
- #HostIps ⇒ Object
- #IsDefault ⇒ Object
- #IsEnabled ⇒ Object
- #ItemCount ⇒ Object
- #PolicyId ⇒ Object
- #PolicyName ⇒ Object
- #RuleCount ⇒ Object
- #RuleIds ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(policyname = nil, detectinterval = nil, detecttime = nil, isenabled = nil, assettype = nil, policyid = nil, rulecount = nil, itemcount = nil, hostcount = nil, ruleids = nil, hostids = nil, hostips = nil, isdefault = nil) ⇒ BaselinePolicy
constructor
A new instance of BaselinePolicy.
Constructor Details
#initialize(policyname = nil, detectinterval = nil, detecttime = nil, isenabled = nil, assettype = nil, policyid = nil, rulecount = nil, itemcount = nil, hostcount = nil, ruleids = nil, hostids = nil, hostips = nil, isdefault = nil) ⇒ BaselinePolicy
Returns a new instance of BaselinePolicy.
3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 |
# File 'lib/v20180228/models.rb', line 3543 def initialize(policyname=nil, detectinterval=nil, detecttime=nil, isenabled=nil, assettype=nil, policyid=nil, rulecount=nil, itemcount=nil, hostcount=nil, ruleids=nil, hostids=nil, hostips=nil, isdefault=nil) @PolicyName = policyname @DetectInterval = detectinterval @DetectTime = detecttime @IsEnabled = isenabled @AssetType = assettype @PolicyId = policyid @RuleCount = rulecount @ItemCount = itemcount @HostCount = hostcount @RuleIds = ruleids @HostIds = hostids @HostIps = hostips @IsDefault = isdefault end |
Instance Attribute Details
#AssetType ⇒ Object
3541 3542 3543 |
# File 'lib/v20180228/models.rb', line 3541 def AssetType @AssetType end |
#DetectInterval ⇒ Object
3541 3542 3543 |
# File 'lib/v20180228/models.rb', line 3541 def DetectInterval @DetectInterval end |
#DetectTime ⇒ Object
3541 3542 3543 |
# File 'lib/v20180228/models.rb', line 3541 def DetectTime @DetectTime end |
#HostCount ⇒ Object
3541 3542 3543 |
# File 'lib/v20180228/models.rb', line 3541 def HostCount @HostCount end |
#HostIds ⇒ Object
3541 3542 3543 |
# File 'lib/v20180228/models.rb', line 3541 def HostIds @HostIds end |
#HostIps ⇒ Object
3541 3542 3543 |
# File 'lib/v20180228/models.rb', line 3541 def HostIps @HostIps end |
#IsDefault ⇒ Object
3541 3542 3543 |
# File 'lib/v20180228/models.rb', line 3541 def IsDefault @IsDefault end |
#IsEnabled ⇒ Object
3541 3542 3543 |
# File 'lib/v20180228/models.rb', line 3541 def IsEnabled @IsEnabled end |
#ItemCount ⇒ Object
3541 3542 3543 |
# File 'lib/v20180228/models.rb', line 3541 def ItemCount @ItemCount end |
#PolicyId ⇒ Object
3541 3542 3543 |
# File 'lib/v20180228/models.rb', line 3541 def PolicyId @PolicyId end |
#PolicyName ⇒ Object
3541 3542 3543 |
# File 'lib/v20180228/models.rb', line 3541 def PolicyName @PolicyName end |
#RuleCount ⇒ Object
3541 3542 3543 |
# File 'lib/v20180228/models.rb', line 3541 def RuleCount @RuleCount end |
#RuleIds ⇒ Object
3541 3542 3543 |
# File 'lib/v20180228/models.rb', line 3541 def RuleIds @RuleIds end |
Instance Method Details
#deserialize(params) ⇒ Object
3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 |
# File 'lib/v20180228/models.rb', line 3559 def deserialize(params) @PolicyName = params['PolicyName'] @DetectInterval = params['DetectInterval'] @DetectTime = params['DetectTime'] @IsEnabled = params['IsEnabled'] @AssetType = params['AssetType'] @PolicyId = params['PolicyId'] @RuleCount = params['RuleCount'] @ItemCount = params['ItemCount'] @HostCount = params['HostCount'] @RuleIds = params['RuleIds'] @HostIds = params['HostIds'] @HostIps = params['HostIps'] @IsDefault = params['IsDefault'] end |