Class: TencentCloud::Waf::V20180125::DescribeAntiLeakageItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::DescribeAntiLeakageItem
- Defined in:
- lib/v20180125/models.rb
Overview
出参
Instance Attribute Summary collapse
- #Action ⇒ Object
- #CreateTime ⇒ Object
- #ModifyTime ⇒ Object
- #Name ⇒ Object
- #RuleId ⇒ Object
- #Status ⇒ Object
- #Strategies ⇒ Object
- #Uri ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ruleid = nil, name = nil, status = nil, action = nil, createtime = nil, strategies = nil, uri = nil, modifytime = nil) ⇒ DescribeAntiLeakageItem
constructor
A new instance of DescribeAntiLeakageItem.
Constructor Details
#initialize(ruleid = nil, name = nil, status = nil, action = nil, createtime = nil, strategies = nil, uri = nil, modifytime = nil) ⇒ DescribeAntiLeakageItem
5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 |
# File 'lib/v20180125/models.rb', line 5627 def initialize(ruleid=nil, name=nil, status=nil, action=nil, createtime=nil, strategies=nil, uri=nil, modifytime=nil) @RuleId = ruleid @Name = name @Status = status @Action = action @CreateTime = createtime @Strategies = strategies @Uri = uri @ModifyTime = modifytime end |
Instance Attribute Details
#Action ⇒ Object
5625 5626 5627 |
# File 'lib/v20180125/models.rb', line 5625 def Action @Action end |
#CreateTime ⇒ Object
5625 5626 5627 |
# File 'lib/v20180125/models.rb', line 5625 def CreateTime @CreateTime end |
#ModifyTime ⇒ Object
5625 5626 5627 |
# File 'lib/v20180125/models.rb', line 5625 def ModifyTime @ModifyTime end |
#Name ⇒ Object
5625 5626 5627 |
# File 'lib/v20180125/models.rb', line 5625 def Name @Name end |
#RuleId ⇒ Object
5625 5626 5627 |
# File 'lib/v20180125/models.rb', line 5625 def RuleId @RuleId end |
#Status ⇒ Object
5625 5626 5627 |
# File 'lib/v20180125/models.rb', line 5625 def Status @Status end |
#Strategies ⇒ Object
5625 5626 5627 |
# File 'lib/v20180125/models.rb', line 5625 def Strategies @Strategies end |
#Uri ⇒ Object
5625 5626 5627 |
# File 'lib/v20180125/models.rb', line 5625 def Uri @Uri end |
Instance Method Details
#deserialize(params) ⇒ Object
5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 |
# File 'lib/v20180125/models.rb', line 5638 def deserialize(params) @RuleId = params['RuleId'] @Name = params['Name'] @Status = params['Status'] @Action = params['Action'] @CreateTime = params['CreateTime'] unless params['Strategies'].nil? @Strategies = [] params['Strategies'].each do |i| describeantiinfoleakrulesstrategyitem_tmp = DescribeAntiInfoLeakRulesStrategyItem.new describeantiinfoleakrulesstrategyitem_tmp.deserialize(i) @Strategies << describeantiinfoleakrulesstrategyitem_tmp end end @Uri = params['Uri'] @ModifyTime = params['ModifyTime'] end |