Class: TencentCloud::Waf::V20180125::Rule
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::Rule
- Defined in:
- lib/v20180125/models.rb
Overview
规则列表详情
Instance Attribute Summary collapse
- #AddTime ⇒ Object
- #CVE ⇒ Object
- #Description ⇒ Object
- #Id ⇒ Object
- #Level ⇒ Object
- #ModifyTime ⇒ Object
- #Status ⇒ Object
- #Type ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, type = nil, level = nil, description = nil, cve = nil, status = nil, modifytime = nil, addtime = nil) ⇒ Rule
constructor
A new instance of Rule.
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
#AddTime ⇒ Object
17793 17794 17795 |
# File 'lib/v20180125/models.rb', line 17793 def AddTime @AddTime end |
#CVE ⇒ Object
17793 17794 17795 |
# File 'lib/v20180125/models.rb', line 17793 def CVE @CVE end |
#Description ⇒ Object
17793 17794 17795 |
# File 'lib/v20180125/models.rb', line 17793 def Description @Description end |
#Id ⇒ Object
17793 17794 17795 |
# File 'lib/v20180125/models.rb', line 17793 def Id @Id end |
#Level ⇒ Object
17793 17794 17795 |
# File 'lib/v20180125/models.rb', line 17793 def Level @Level end |
#ModifyTime ⇒ Object
17793 17794 17795 |
# File 'lib/v20180125/models.rb', line 17793 def ModifyTime @ModifyTime end |
#Status ⇒ Object
17793 17794 17795 |
# File 'lib/v20180125/models.rb', line 17793 def Status @Status end |
#Type ⇒ Object
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 |