Class: TencentCloud::Cwp::V20180228::BaselineRuleTopInfo

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

Overview

基线检测项TOP信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(rulename = nil, level = nil, eventcount = nil, ruleid = nil) ⇒ BaselineRuleTopInfo

Returns a new instance of BaselineRuleTopInfo.



3828
3829
3830
3831
3832
3833
# File 'lib/v20180228/models.rb', line 3828

def initialize(rulename=nil, level=nil, eventcount=nil, ruleid=nil)
  @RuleName = rulename
  @Level = level
  @EventCount = eventcount
  @RuleId = ruleid
end

Instance Attribute Details

#EventCountObject

Parameters:

  • RuleName:

    基线检测项名

  • Level:

    检测项危害等级

  • EventCount:

    事件总数

  • RuleId:

    检测项id



3826
3827
3828
# File 'lib/v20180228/models.rb', line 3826

def EventCount
  @EventCount
end

#LevelObject

Parameters:

  • RuleName:

    基线检测项名

  • Level:

    检测项危害等级

  • EventCount:

    事件总数

  • RuleId:

    检测项id



3826
3827
3828
# File 'lib/v20180228/models.rb', line 3826

def Level
  @Level
end

#RuleIdObject

Parameters:

  • RuleName:

    基线检测项名

  • Level:

    检测项危害等级

  • EventCount:

    事件总数

  • RuleId:

    检测项id



3826
3827
3828
# File 'lib/v20180228/models.rb', line 3826

def RuleId
  @RuleId
end

#RuleNameObject

Parameters:

  • RuleName:

    基线检测项名

  • Level:

    检测项危害等级

  • EventCount:

    事件总数

  • RuleId:

    检测项id



3826
3827
3828
# File 'lib/v20180228/models.rb', line 3826

def RuleName
  @RuleName
end

Instance Method Details

#deserialize(params) ⇒ Object



3835
3836
3837
3838
3839
3840
# File 'lib/v20180228/models.rb', line 3835

def deserialize(params)
  @RuleName = params['RuleName']
  @Level = params['Level']
  @EventCount = params['EventCount']
  @RuleId = params['RuleId']
end