Class: TencentCloud::Cwp::V20180228::NetAttackWhiteRule
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::NetAttackWhiteRule
- Defined in:
- lib/v20180228/models.rb
Overview
网络攻击白名单规则
Instance Attribute Summary collapse
- #CreateTime ⇒ Object
- #DealOldEvents ⇒ Object
- #Description ⇒ Object
- #Id ⇒ Object
- #ModifyTime ⇒ Object
- #Quuids ⇒ Object
- #Scope ⇒ Object
- #SrcIP ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, description = nil, scope = nil, dealoldevents = nil, quuids = nil, srcip = nil, createtime = nil, modifytime = nil) ⇒ NetAttackWhiteRule
constructor
A new instance of NetAttackWhiteRule.
Constructor Details
#initialize(id = nil, description = nil, scope = nil, dealoldevents = nil, quuids = nil, srcip = nil, createtime = nil, modifytime = nil) ⇒ NetAttackWhiteRule
Returns a new instance of NetAttackWhiteRule.
35277 35278 35279 35280 35281 35282 35283 35284 35285 35286 |
# File 'lib/v20180228/models.rb', line 35277 def initialize(id=nil, description=nil, scope=nil, dealoldevents=nil, quuids=nil, srcip=nil, createtime=nil, modifytime=nil) @Id = id @Description = description @Scope = scope @DealOldEvents = dealoldevents @Quuids = quuids @SrcIP = srcip @CreateTime = createtime @ModifyTime = modifytime end |
Instance Attribute Details
#CreateTime ⇒ Object
35275 35276 35277 |
# File 'lib/v20180228/models.rb', line 35275 def CreateTime @CreateTime end |
#DealOldEvents ⇒ Object
35275 35276 35277 |
# File 'lib/v20180228/models.rb', line 35275 def DealOldEvents @DealOldEvents end |
#Description ⇒ Object
35275 35276 35277 |
# File 'lib/v20180228/models.rb', line 35275 def Description @Description end |
#Id ⇒ Object
35275 35276 35277 |
# File 'lib/v20180228/models.rb', line 35275 def Id @Id end |
#ModifyTime ⇒ Object
35275 35276 35277 |
# File 'lib/v20180228/models.rb', line 35275 def ModifyTime @ModifyTime end |
#Quuids ⇒ Object
35275 35276 35277 |
# File 'lib/v20180228/models.rb', line 35275 def Quuids @Quuids end |
#Scope ⇒ Object
35275 35276 35277 |
# File 'lib/v20180228/models.rb', line 35275 def Scope @Scope end |
#SrcIP ⇒ Object
35275 35276 35277 |
# File 'lib/v20180228/models.rb', line 35275 def SrcIP @SrcIP end |
Instance Method Details
#deserialize(params) ⇒ Object
35288 35289 35290 35291 35292 35293 35294 35295 35296 35297 |
# File 'lib/v20180228/models.rb', line 35288 def deserialize(params) @Id = params['Id'] @Description = params['Description'] @Scope = params['Scope'] @DealOldEvents = params['DealOldEvents'] @Quuids = params['Quuids'] @SrcIP = params['SrcIP'] @CreateTime = params['CreateTime'] @ModifyTime = params['ModifyTime'] end |