Class: TencentCloud::Cwp::V20180228::BaselineInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::BaselineInfo
- Defined in:
- lib/v20180228/models.rb
Overview
基线信息
Instance Attribute Summary collapse
- #BaselineFailCount ⇒ Object
- #CategoryId ⇒ Object
- #HostCount ⇒ Object
- #LastScanTime ⇒ Object
- #Level ⇒ Object
- #MaxStatus ⇒ Object
- #Name ⇒ Object
- #RuleCount ⇒ Object
- #Status ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, level = nil, rulecount = nil, hostcount = nil, status = nil, categoryid = nil, lastscantime = nil, maxstatus = nil, baselinefailcount = nil) ⇒ BaselineInfo
constructor
A new instance of BaselineInfo.
Constructor Details
#initialize(name = nil, level = nil, rulecount = nil, hostcount = nil, status = nil, categoryid = nil, lastscantime = nil, maxstatus = nil, baselinefailcount = nil) ⇒ BaselineInfo
Returns a new instance of BaselineInfo.
3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 |
# File 'lib/v20180228/models.rb', line 3242 def initialize(name=nil, level=nil, rulecount=nil, hostcount=nil, status=nil, categoryid=nil, lastscantime=nil, maxstatus=nil, baselinefailcount=nil) @Name = name @Level = level @RuleCount = rulecount @HostCount = hostcount @Status = status @CategoryId = categoryid @LastScanTime = lastscantime @MaxStatus = maxstatus @BaselineFailCount = baselinefailcount end |
Instance Attribute Details
#BaselineFailCount ⇒ Object
3240 3241 3242 |
# File 'lib/v20180228/models.rb', line 3240 def BaselineFailCount @BaselineFailCount end |
#CategoryId ⇒ Object
3240 3241 3242 |
# File 'lib/v20180228/models.rb', line 3240 def CategoryId @CategoryId end |
#HostCount ⇒ Object
3240 3241 3242 |
# File 'lib/v20180228/models.rb', line 3240 def HostCount @HostCount end |
#LastScanTime ⇒ Object
3240 3241 3242 |
# File 'lib/v20180228/models.rb', line 3240 def LastScanTime @LastScanTime end |
#Level ⇒ Object
3240 3241 3242 |
# File 'lib/v20180228/models.rb', line 3240 def Level @Level end |
#MaxStatus ⇒ Object
3240 3241 3242 |
# File 'lib/v20180228/models.rb', line 3240 def MaxStatus @MaxStatus end |
#Name ⇒ Object
3240 3241 3242 |
# File 'lib/v20180228/models.rb', line 3240 def Name @Name end |
#RuleCount ⇒ Object
3240 3241 3242 |
# File 'lib/v20180228/models.rb', line 3240 def RuleCount @RuleCount end |
#Status ⇒ Object
3240 3241 3242 |
# File 'lib/v20180228/models.rb', line 3240 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 |
# File 'lib/v20180228/models.rb', line 3254 def deserialize(params) @Name = params['Name'] @Level = params['Level'] @RuleCount = params['RuleCount'] @HostCount = params['HostCount'] @Status = params['Status'] @CategoryId = params['CategoryId'] @LastScanTime = params['LastScanTime'] @MaxStatus = params['MaxStatus'] @BaselineFailCount = params['BaselineFailCount'] end |