Class: TencentCloud::Waf::V20180125::CCRuleItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::CCRuleItem
- Defined in:
- lib/v20180125/models.rb
Overview
cc规则
Instance Attribute Summary collapse
- #ActionType ⇒ Object
- #Advance ⇒ Object
- #CreateTime ⇒ Object
- #EventId ⇒ Object
- #Interval ⇒ Object
- #Length ⇒ Object
- #Limit ⇒ Object
- #MatchFunc ⇒ Object
- #Name ⇒ Object
- #OptionsArr ⇒ Object
- #Priority ⇒ Object
- #RuleId ⇒ Object
- #SessionApplied ⇒ Object
- #Status ⇒ Object
- #TsVersion ⇒ Object
- #Url ⇒ Object
- #ValidTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(actiontype = nil, advance = nil, interval = nil, limit = nil, matchfunc = nil, name = nil, priority = nil, status = nil, tsversion = nil, url = nil, validtime = nil, optionsarr = nil, length = nil, ruleid = nil, eventid = nil, sessionapplied = nil, createtime = nil) ⇒ CCRuleItem
constructor
A new instance of CCRuleItem.
Constructor Details
#initialize(actiontype = nil, advance = nil, interval = nil, limit = nil, matchfunc = nil, name = nil, priority = nil, status = nil, tsversion = nil, url = nil, validtime = nil, optionsarr = nil, length = nil, ruleid = nil, eventid = nil, sessionapplied = nil, createtime = nil) ⇒ CCRuleItem
Returns a new instance of CCRuleItem.
2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 |
# File 'lib/v20180125/models.rb', line 2775 def initialize(actiontype=nil, advance=nil, interval=nil, limit=nil, matchfunc=nil, name=nil, priority=nil, status=nil, tsversion=nil, url=nil, validtime=nil, =nil, length=nil, ruleid=nil, eventid=nil, sessionapplied=nil, createtime=nil) @ActionType = actiontype @Advance = advance @Interval = interval @Limit = limit @MatchFunc = matchfunc @Name = name @Priority = priority @Status = status @TsVersion = tsversion @Url = url @ValidTime = validtime @OptionsArr = @Length = length @RuleId = ruleid @EventId = eventid @SessionApplied = sessionapplied @CreateTime = createtime end |
Instance Attribute Details
#ActionType ⇒ Object
2773 2774 2775 |
# File 'lib/v20180125/models.rb', line 2773 def ActionType @ActionType end |
#Advance ⇒ Object
2773 2774 2775 |
# File 'lib/v20180125/models.rb', line 2773 def Advance @Advance end |
#CreateTime ⇒ Object
2773 2774 2775 |
# File 'lib/v20180125/models.rb', line 2773 def CreateTime @CreateTime end |
#EventId ⇒ Object
2773 2774 2775 |
# File 'lib/v20180125/models.rb', line 2773 def EventId @EventId end |
#Interval ⇒ Object
2773 2774 2775 |
# File 'lib/v20180125/models.rb', line 2773 def Interval @Interval end |
#Length ⇒ Object
2773 2774 2775 |
# File 'lib/v20180125/models.rb', line 2773 def Length @Length end |
#Limit ⇒ Object
2773 2774 2775 |
# File 'lib/v20180125/models.rb', line 2773 def Limit @Limit end |
#MatchFunc ⇒ Object
2773 2774 2775 |
# File 'lib/v20180125/models.rb', line 2773 def MatchFunc @MatchFunc end |
#Name ⇒ Object
2773 2774 2775 |
# File 'lib/v20180125/models.rb', line 2773 def Name @Name end |
#OptionsArr ⇒ Object
2773 2774 2775 |
# File 'lib/v20180125/models.rb', line 2773 def OptionsArr @OptionsArr end |
#Priority ⇒ Object
2773 2774 2775 |
# File 'lib/v20180125/models.rb', line 2773 def Priority @Priority end |
#RuleId ⇒ Object
2773 2774 2775 |
# File 'lib/v20180125/models.rb', line 2773 def RuleId @RuleId end |
#SessionApplied ⇒ Object
2773 2774 2775 |
# File 'lib/v20180125/models.rb', line 2773 def SessionApplied @SessionApplied end |
#Status ⇒ Object
2773 2774 2775 |
# File 'lib/v20180125/models.rb', line 2773 def Status @Status end |
#TsVersion ⇒ Object
2773 2774 2775 |
# File 'lib/v20180125/models.rb', line 2773 def TsVersion @TsVersion end |
#Url ⇒ Object
2773 2774 2775 |
# File 'lib/v20180125/models.rb', line 2773 def Url @Url end |
#ValidTime ⇒ Object
2773 2774 2775 |
# File 'lib/v20180125/models.rb', line 2773 def ValidTime @ValidTime end |
Instance Method Details
#deserialize(params) ⇒ Object
2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 |
# File 'lib/v20180125/models.rb', line 2795 def deserialize(params) @ActionType = params['ActionType'] @Advance = params['Advance'] @Interval = params['Interval'] @Limit = params['Limit'] @MatchFunc = params['MatchFunc'] @Name = params['Name'] @Priority = params['Priority'] @Status = params['Status'] @TsVersion = params['TsVersion'] @Url = params['Url'] @ValidTime = params['ValidTime'] @OptionsArr = params['OptionsArr'] @Length = params['Length'] @RuleId = params['RuleId'] @EventId = params['EventId'] @SessionApplied = params['SessionApplied'] @CreateTime = params['CreateTime'] end |