Class: TencentCloud::Waf::V20180125::Rule

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

Overview

规则列表详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, type = nil, level = nil, description = nil, cve = nil, status = nil, modifytime = nil, addtime = nil) ⇒ Rule

Returns a new instance of Rule.



17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
# File 'lib/v20180125/models.rb', line 17795

def initialize(id=nil, type=nil, level=nil, description=nil, cve=nil, status=nil, modifytime=nil, addtime=nil)
  @Id = id
  @Type = type
  @Level = level
  @Description = description
  @CVE = cve
  @Status = status
  @ModifyTime = modifytime
  @AddTime = addtime
end

Instance Attribute Details

#AddTimeObject

Parameters:

  • Id:

    规则id

  • Type:

    规则类型

  • Level:

    规则等级

  • Description:

    规则描述

  • CVE:

    规则防护的CVE编号

  • Status:

    规则的状态

  • ModifyTime:

    规则修改的时间

  • AddTime:

    门神规则新增/更新时间



17793
17794
17795
# File 'lib/v20180125/models.rb', line 17793

def AddTime
  @AddTime
end

#CVEObject

Parameters:

  • Id:

    规则id

  • Type:

    规则类型

  • Level:

    规则等级

  • Description:

    规则描述

  • CVE:

    规则防护的CVE编号

  • Status:

    规则的状态

  • ModifyTime:

    规则修改的时间

  • AddTime:

    门神规则新增/更新时间



17793
17794
17795
# File 'lib/v20180125/models.rb', line 17793

def CVE
  @CVE
end

#DescriptionObject

Parameters:

  • Id:

    规则id

  • Type:

    规则类型

  • Level:

    规则等级

  • Description:

    规则描述

  • CVE:

    规则防护的CVE编号

  • Status:

    规则的状态

  • ModifyTime:

    规则修改的时间

  • AddTime:

    门神规则新增/更新时间



17793
17794
17795
# File 'lib/v20180125/models.rb', line 17793

def Description
  @Description
end

#IdObject

Parameters:

  • Id:

    规则id

  • Type:

    规则类型

  • Level:

    规则等级

  • Description:

    规则描述

  • CVE:

    规则防护的CVE编号

  • Status:

    规则的状态

  • ModifyTime:

    规则修改的时间

  • AddTime:

    门神规则新增/更新时间



17793
17794
17795
# File 'lib/v20180125/models.rb', line 17793

def Id
  @Id
end

#LevelObject

Parameters:

  • Id:

    规则id

  • Type:

    规则类型

  • Level:

    规则等级

  • Description:

    规则描述

  • CVE:

    规则防护的CVE编号

  • Status:

    规则的状态

  • ModifyTime:

    规则修改的时间

  • AddTime:

    门神规则新增/更新时间



17793
17794
17795
# File 'lib/v20180125/models.rb', line 17793

def Level
  @Level
end

#ModifyTimeObject

Parameters:

  • Id:

    规则id

  • Type:

    规则类型

  • Level:

    规则等级

  • Description:

    规则描述

  • CVE:

    规则防护的CVE编号

  • Status:

    规则的状态

  • ModifyTime:

    规则修改的时间

  • AddTime:

    门神规则新增/更新时间



17793
17794
17795
# File 'lib/v20180125/models.rb', line 17793

def ModifyTime
  @ModifyTime
end

#StatusObject

Parameters:

  • Id:

    规则id

  • Type:

    规则类型

  • Level:

    规则等级

  • Description:

    规则描述

  • CVE:

    规则防护的CVE编号

  • Status:

    规则的状态

  • ModifyTime:

    规则修改的时间

  • AddTime:

    门神规则新增/更新时间



17793
17794
17795
# File 'lib/v20180125/models.rb', line 17793

def Status
  @Status
end

#TypeObject

Parameters:

  • Id:

    规则id

  • Type:

    规则类型

  • Level:

    规则等级

  • Description:

    规则描述

  • CVE:

    规则防护的CVE编号

  • Status:

    规则的状态

  • ModifyTime:

    规则修改的时间

  • AddTime:

    门神规则新增/更新时间



17793
17794
17795
# File 'lib/v20180125/models.rb', line 17793

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
# File 'lib/v20180125/models.rb', line 17806

def deserialize(params)
  @Id = params['Id']
  @Type = params['Type']
  @Level = params['Level']
  @Description = params['Description']
  @CVE = params['CVE']
  @Status = params['Status']
  @ModifyTime = params['ModifyTime']
  @AddTime = params['AddTime']
end