Class: TencentCloud::Cwp::V20180228::BaselineRuleDetect

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(ruleid = nil, rulename = nil, ruledesc = nil, itemcount = nil, hostcount = nil, firsttime = nil, lasttime = nil, detectstatus = nil, itemids = nil) ⇒ BaselineRuleDetect

Returns a new instance of BaselineRuleDetect.



3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
# File 'lib/v20180228/models.rb', line 3738

def initialize(ruleid=nil, rulename=nil, ruledesc=nil, itemcount=nil, hostcount=nil, firsttime=nil, lasttime=nil, detectstatus=nil, itemids=nil)
  @RuleId = ruleid
  @RuleName = rulename
  @RuleDesc = ruledesc
  @ItemCount = itemcount
  @HostCount = hostcount
  @FirstTime = firsttime
  @LastTime = lasttime
  @DetectStatus = detectstatus
  @ItemIds = itemids
end

Instance Attribute Details

#DetectStatusObject

Parameters:

  • RuleId:

    规则Id

  • RuleName:

    规则名称

  • RuleDesc:

    规则描述

  • ItemCount:

    关联项数

  • HostCount:

    关联主机数

  • FirstTime:

    首次检测时间

  • LastTime:

    string

  • DetectStatus:

    0:未通过 1:忽略 3:通过 5:检测中

  • ItemIds:

    ItemID集合



3736
3737
3738
# File 'lib/v20180228/models.rb', line 3736

def DetectStatus
  @DetectStatus
end

#FirstTimeObject

Parameters:

  • RuleId:

    规则Id

  • RuleName:

    规则名称

  • RuleDesc:

    规则描述

  • ItemCount:

    关联项数

  • HostCount:

    关联主机数

  • FirstTime:

    首次检测时间

  • LastTime:

    string

  • DetectStatus:

    0:未通过 1:忽略 3:通过 5:检测中

  • ItemIds:

    ItemID集合



3736
3737
3738
# File 'lib/v20180228/models.rb', line 3736

def FirstTime
  @FirstTime
end

#HostCountObject

Parameters:

  • RuleId:

    规则Id

  • RuleName:

    规则名称

  • RuleDesc:

    规则描述

  • ItemCount:

    关联项数

  • HostCount:

    关联主机数

  • FirstTime:

    首次检测时间

  • LastTime:

    string

  • DetectStatus:

    0:未通过 1:忽略 3:通过 5:检测中

  • ItemIds:

    ItemID集合



3736
3737
3738
# File 'lib/v20180228/models.rb', line 3736

def HostCount
  @HostCount
end

#ItemCountObject

Parameters:

  • RuleId:

    规则Id

  • RuleName:

    规则名称

  • RuleDesc:

    规则描述

  • ItemCount:

    关联项数

  • HostCount:

    关联主机数

  • FirstTime:

    首次检测时间

  • LastTime:

    string

  • DetectStatus:

    0:未通过 1:忽略 3:通过 5:检测中

  • ItemIds:

    ItemID集合



3736
3737
3738
# File 'lib/v20180228/models.rb', line 3736

def ItemCount
  @ItemCount
end

#ItemIdsObject

Parameters:

  • RuleId:

    规则Id

  • RuleName:

    规则名称

  • RuleDesc:

    规则描述

  • ItemCount:

    关联项数

  • HostCount:

    关联主机数

  • FirstTime:

    首次检测时间

  • LastTime:

    string

  • DetectStatus:

    0:未通过 1:忽略 3:通过 5:检测中

  • ItemIds:

    ItemID集合



3736
3737
3738
# File 'lib/v20180228/models.rb', line 3736

def ItemIds
  @ItemIds
end

#LastTimeObject

Parameters:

  • RuleId:

    规则Id

  • RuleName:

    规则名称

  • RuleDesc:

    规则描述

  • ItemCount:

    关联项数

  • HostCount:

    关联主机数

  • FirstTime:

    首次检测时间

  • LastTime:

    string

  • DetectStatus:

    0:未通过 1:忽略 3:通过 5:检测中

  • ItemIds:

    ItemID集合



3736
3737
3738
# File 'lib/v20180228/models.rb', line 3736

def LastTime
  @LastTime
end

#RuleDescObject

Parameters:

  • RuleId:

    规则Id

  • RuleName:

    规则名称

  • RuleDesc:

    规则描述

  • ItemCount:

    关联项数

  • HostCount:

    关联主机数

  • FirstTime:

    首次检测时间

  • LastTime:

    string

  • DetectStatus:

    0:未通过 1:忽略 3:通过 5:检测中

  • ItemIds:

    ItemID集合



3736
3737
3738
# File 'lib/v20180228/models.rb', line 3736

def RuleDesc
  @RuleDesc
end

#RuleIdObject

Parameters:

  • RuleId:

    规则Id

  • RuleName:

    规则名称

  • RuleDesc:

    规则描述

  • ItemCount:

    关联项数

  • HostCount:

    关联主机数

  • FirstTime:

    首次检测时间

  • LastTime:

    string

  • DetectStatus:

    0:未通过 1:忽略 3:通过 5:检测中

  • ItemIds:

    ItemID集合



3736
3737
3738
# File 'lib/v20180228/models.rb', line 3736

def RuleId
  @RuleId
end

#RuleNameObject

Parameters:

  • RuleId:

    规则Id

  • RuleName:

    规则名称

  • RuleDesc:

    规则描述

  • ItemCount:

    关联项数

  • HostCount:

    关联主机数

  • FirstTime:

    首次检测时间

  • LastTime:

    string

  • DetectStatus:

    0:未通过 1:忽略 3:通过 5:检测中

  • ItemIds:

    ItemID集合



3736
3737
3738
# File 'lib/v20180228/models.rb', line 3736

def RuleName
  @RuleName
end

Instance Method Details

#deserialize(params) ⇒ Object



3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
# File 'lib/v20180228/models.rb', line 3750

def deserialize(params)
  @RuleId = params['RuleId']
  @RuleName = params['RuleName']
  @RuleDesc = params['RuleDesc']
  @ItemCount = params['ItemCount']
  @HostCount = params['HostCount']
  @FirstTime = params['FirstTime']
  @LastTime = params['LastTime']
  @DetectStatus = params['DetectStatus']
  @ItemIds = params['ItemIds']
end