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
注意:此字段可能返回 null,表示取不到有效值。.
-
#Advance ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Interval ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Limit ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#MatchFunc ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#OptionsArr ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Priority ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Status ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TsVersion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Url ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ValidTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
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) ⇒ 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) ⇒ CCRuleItem
Returns a new instance of CCRuleItem.
1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 |
# File 'lib/v20180125/models.rb', line 1336 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) @ActionType = actiontype @Advance = advance @Interval = interval @Limit = limit @MatchFunc = matchfunc @Name = name @Priority = priority @Status = status @TsVersion = tsversion @Url = url @ValidTime = validtime @OptionsArr = end |
Instance Attribute Details
#ActionType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1334 1335 1336 |
# File 'lib/v20180125/models.rb', line 1334 def ActionType @ActionType end |
#Advance ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1334 1335 1336 |
# File 'lib/v20180125/models.rb', line 1334 def Advance @Advance end |
#Interval ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1334 1335 1336 |
# File 'lib/v20180125/models.rb', line 1334 def Interval @Interval end |
#Limit ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1334 1335 1336 |
# File 'lib/v20180125/models.rb', line 1334 def Limit @Limit end |
#MatchFunc ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1334 1335 1336 |
# File 'lib/v20180125/models.rb', line 1334 def MatchFunc @MatchFunc end |
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1334 1335 1336 |
# File 'lib/v20180125/models.rb', line 1334 def Name @Name end |
#OptionsArr ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1334 1335 1336 |
# File 'lib/v20180125/models.rb', line 1334 def OptionsArr @OptionsArr end |
#Priority ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1334 1335 1336 |
# File 'lib/v20180125/models.rb', line 1334 def Priority @Priority end |
#Status ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1334 1335 1336 |
# File 'lib/v20180125/models.rb', line 1334 def Status @Status end |
#TsVersion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1334 1335 1336 |
# File 'lib/v20180125/models.rb', line 1334 def TsVersion @TsVersion end |
#Url ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1334 1335 1336 |
# File 'lib/v20180125/models.rb', line 1334 def Url @Url end |
#ValidTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1334 1335 1336 |
# File 'lib/v20180125/models.rb', line 1334 def ValidTime @ValidTime end |
Instance Method Details
#deserialize(params) ⇒ Object
1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 |
# File 'lib/v20180125/models.rb', line 1351 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'] end |