Class: TencentCloud::Cwp::V20180228::BaselineInfo

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

Overview

基线信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#BaselineFailCountObject

Parameters:

  • Name:

    基线名

  • Level:

    危害等级:1-低危;2-中危;3-高危;4-严重

  • RuleCount:

    检测项数量

  • HostCount:

    影响服务器数量

  • Status:

    通过状态:0:未通过,1:已通过

  • CategoryId:

    基线id

  • LastScanTime:

    最后检测时间

  • MaxStatus:

    检测中状态: 5

  • BaselineFailCount:

    基线风险项



3240
3241
3242
# File 'lib/v20180228/models.rb', line 3240

def BaselineFailCount
  @BaselineFailCount
end

#CategoryIdObject

Parameters:

  • Name:

    基线名

  • Level:

    危害等级:1-低危;2-中危;3-高危;4-严重

  • RuleCount:

    检测项数量

  • HostCount:

    影响服务器数量

  • Status:

    通过状态:0:未通过,1:已通过

  • CategoryId:

    基线id

  • LastScanTime:

    最后检测时间

  • MaxStatus:

    检测中状态: 5

  • BaselineFailCount:

    基线风险项



3240
3241
3242
# File 'lib/v20180228/models.rb', line 3240

def CategoryId
  @CategoryId
end

#HostCountObject

Parameters:

  • Name:

    基线名

  • Level:

    危害等级:1-低危;2-中危;3-高危;4-严重

  • RuleCount:

    检测项数量

  • HostCount:

    影响服务器数量

  • Status:

    通过状态:0:未通过,1:已通过

  • CategoryId:

    基线id

  • LastScanTime:

    最后检测时间

  • MaxStatus:

    检测中状态: 5

  • BaselineFailCount:

    基线风险项



3240
3241
3242
# File 'lib/v20180228/models.rb', line 3240

def HostCount
  @HostCount
end

#LastScanTimeObject

Parameters:

  • Name:

    基线名

  • Level:

    危害等级:1-低危;2-中危;3-高危;4-严重

  • RuleCount:

    检测项数量

  • HostCount:

    影响服务器数量

  • Status:

    通过状态:0:未通过,1:已通过

  • CategoryId:

    基线id

  • LastScanTime:

    最后检测时间

  • MaxStatus:

    检测中状态: 5

  • BaselineFailCount:

    基线风险项



3240
3241
3242
# File 'lib/v20180228/models.rb', line 3240

def LastScanTime
  @LastScanTime
end

#LevelObject

Parameters:

  • Name:

    基线名

  • Level:

    危害等级:1-低危;2-中危;3-高危;4-严重

  • RuleCount:

    检测项数量

  • HostCount:

    影响服务器数量

  • Status:

    通过状态:0:未通过,1:已通过

  • CategoryId:

    基线id

  • LastScanTime:

    最后检测时间

  • MaxStatus:

    检测中状态: 5

  • BaselineFailCount:

    基线风险项



3240
3241
3242
# File 'lib/v20180228/models.rb', line 3240

def Level
  @Level
end

#MaxStatusObject

Parameters:

  • Name:

    基线名

  • Level:

    危害等级:1-低危;2-中危;3-高危;4-严重

  • RuleCount:

    检测项数量

  • HostCount:

    影响服务器数量

  • Status:

    通过状态:0:未通过,1:已通过

  • CategoryId:

    基线id

  • LastScanTime:

    最后检测时间

  • MaxStatus:

    检测中状态: 5

  • BaselineFailCount:

    基线风险项



3240
3241
3242
# File 'lib/v20180228/models.rb', line 3240

def MaxStatus
  @MaxStatus
end

#NameObject

Parameters:

  • Name:

    基线名

  • Level:

    危害等级:1-低危;2-中危;3-高危;4-严重

  • RuleCount:

    检测项数量

  • HostCount:

    影响服务器数量

  • Status:

    通过状态:0:未通过,1:已通过

  • CategoryId:

    基线id

  • LastScanTime:

    最后检测时间

  • MaxStatus:

    检测中状态: 5

  • BaselineFailCount:

    基线风险项



3240
3241
3242
# File 'lib/v20180228/models.rb', line 3240

def Name
  @Name
end

#RuleCountObject

Parameters:

  • Name:

    基线名

  • Level:

    危害等级:1-低危;2-中危;3-高危;4-严重

  • RuleCount:

    检测项数量

  • HostCount:

    影响服务器数量

  • Status:

    通过状态:0:未通过,1:已通过

  • CategoryId:

    基线id

  • LastScanTime:

    最后检测时间

  • MaxStatus:

    检测中状态: 5

  • BaselineFailCount:

    基线风险项



3240
3241
3242
# File 'lib/v20180228/models.rb', line 3240

def RuleCount
  @RuleCount
end

#StatusObject

Parameters:

  • Name:

    基线名

  • Level:

    危害等级:1-低危;2-中危;3-高危;4-严重

  • RuleCount:

    检测项数量

  • HostCount:

    影响服务器数量

  • Status:

    通过状态:0:未通过,1:已通过

  • CategoryId:

    基线id

  • LastScanTime:

    最后检测时间

  • MaxStatus:

    检测中状态: 5

  • BaselineFailCount:

    基线风险项



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