Class: TencentCloud::Waf::V20180125::CCRuleItems

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180125/models.rb

Overview

CC规则详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, status = nil, advance = nil, limit = nil, interval = nil, url = nil, matchfunc = nil, actiontype = nil, priority = nil, validtime = nil, tsversion = nil, options = nil, ruleid = nil, eventid = nil, sessionapplied = nil) ⇒ CCRuleItems

Returns a new instance of CCRuleItems.



1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
# File 'lib/v20180125/models.rb', line 1404

def initialize(name=nil, status=nil, advance=nil, limit=nil, interval=nil, url=nil, matchfunc=nil, actiontype=nil, priority=nil, validtime=nil, tsversion=nil, options=nil, ruleid=nil, eventid=nil, sessionapplied=nil)
  @Name = name
  @Status = status
  @Advance = advance
  @Limit = limit
  @Interval = interval
  @Url = url
  @MatchFunc = matchfunc
  @ActionType = actiontype
  @Priority = priority
  @ValidTime = validtime
  @TsVersion = tsversion
  @Options = options
  @RuleId = ruleid
  @EventId = eventid
  @SessionApplied = sessionapplied
end

Instance Attribute Details

#ActionTypeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    名字

  • Status:

    状态

  • Advance:

    模式

  • Limit:

    限制

  • Interval:

    范围

  • Url:

    网址

  • MatchFunc:

    匹配类型

  • ActionType:

    动作

  • Priority:

    优先级

  • ValidTime:

    有效时间

  • TsVersion:

    版本

  • Options:

    规则详情

  • RuleId:

    规则ID

  • EventId:

    事件id

  • SessionApplied:

    关联的Session规则



1402
1403
1404
# File 'lib/v20180125/models.rb', line 1402

def ActionType
  @ActionType
end

#AdvanceObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    名字

  • Status:

    状态

  • Advance:

    模式

  • Limit:

    限制

  • Interval:

    范围

  • Url:

    网址

  • MatchFunc:

    匹配类型

  • ActionType:

    动作

  • Priority:

    优先级

  • ValidTime:

    有效时间

  • TsVersion:

    版本

  • Options:

    规则详情

  • RuleId:

    规则ID

  • EventId:

    事件id

  • SessionApplied:

    关联的Session规则



1402
1403
1404
# File 'lib/v20180125/models.rb', line 1402

def Advance
  @Advance
end

#EventIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    名字

  • Status:

    状态

  • Advance:

    模式

  • Limit:

    限制

  • Interval:

    范围

  • Url:

    网址

  • MatchFunc:

    匹配类型

  • ActionType:

    动作

  • Priority:

    优先级

  • ValidTime:

    有效时间

  • TsVersion:

    版本

  • Options:

    规则详情

  • RuleId:

    规则ID

  • EventId:

    事件id

  • SessionApplied:

    关联的Session规则



1402
1403
1404
# File 'lib/v20180125/models.rb', line 1402

def EventId
  @EventId
end

#IntervalObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    名字

  • Status:

    状态

  • Advance:

    模式

  • Limit:

    限制

  • Interval:

    范围

  • Url:

    网址

  • MatchFunc:

    匹配类型

  • ActionType:

    动作

  • Priority:

    优先级

  • ValidTime:

    有效时间

  • TsVersion:

    版本

  • Options:

    规则详情

  • RuleId:

    规则ID

  • EventId:

    事件id

  • SessionApplied:

    关联的Session规则



1402
1403
1404
# File 'lib/v20180125/models.rb', line 1402

def Interval
  @Interval
end

#LimitObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    名字

  • Status:

    状态

  • Advance:

    模式

  • Limit:

    限制

  • Interval:

    范围

  • Url:

    网址

  • MatchFunc:

    匹配类型

  • ActionType:

    动作

  • Priority:

    优先级

  • ValidTime:

    有效时间

  • TsVersion:

    版本

  • Options:

    规则详情

  • RuleId:

    规则ID

  • EventId:

    事件id

  • SessionApplied:

    关联的Session规则



1402
1403
1404
# File 'lib/v20180125/models.rb', line 1402

def Limit
  @Limit
end

#MatchFuncObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    名字

  • Status:

    状态

  • Advance:

    模式

  • Limit:

    限制

  • Interval:

    范围

  • Url:

    网址

  • MatchFunc:

    匹配类型

  • ActionType:

    动作

  • Priority:

    优先级

  • ValidTime:

    有效时间

  • TsVersion:

    版本

  • Options:

    规则详情

  • RuleId:

    规则ID

  • EventId:

    事件id

  • SessionApplied:

    关联的Session规则



1402
1403
1404
# File 'lib/v20180125/models.rb', line 1402

def MatchFunc
  @MatchFunc
end

#NameObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    名字

  • Status:

    状态

  • Advance:

    模式

  • Limit:

    限制

  • Interval:

    范围

  • Url:

    网址

  • MatchFunc:

    匹配类型

  • ActionType:

    动作

  • Priority:

    优先级

  • ValidTime:

    有效时间

  • TsVersion:

    版本

  • Options:

    规则详情

  • RuleId:

    规则ID

  • EventId:

    事件id

  • SessionApplied:

    关联的Session规则



1402
1403
1404
# File 'lib/v20180125/models.rb', line 1402

def Name
  @Name
end

#OptionsObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    名字

  • Status:

    状态

  • Advance:

    模式

  • Limit:

    限制

  • Interval:

    范围

  • Url:

    网址

  • MatchFunc:

    匹配类型

  • ActionType:

    动作

  • Priority:

    优先级

  • ValidTime:

    有效时间

  • TsVersion:

    版本

  • Options:

    规则详情

  • RuleId:

    规则ID

  • EventId:

    事件id

  • SessionApplied:

    关联的Session规则



1402
1403
1404
# File 'lib/v20180125/models.rb', line 1402

def Options
  @Options
end

#PriorityObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    名字

  • Status:

    状态

  • Advance:

    模式

  • Limit:

    限制

  • Interval:

    范围

  • Url:

    网址

  • MatchFunc:

    匹配类型

  • ActionType:

    动作

  • Priority:

    优先级

  • ValidTime:

    有效时间

  • TsVersion:

    版本

  • Options:

    规则详情

  • RuleId:

    规则ID

  • EventId:

    事件id

  • SessionApplied:

    关联的Session规则



1402
1403
1404
# File 'lib/v20180125/models.rb', line 1402

def Priority
  @Priority
end

#RuleIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    名字

  • Status:

    状态

  • Advance:

    模式

  • Limit:

    限制

  • Interval:

    范围

  • Url:

    网址

  • MatchFunc:

    匹配类型

  • ActionType:

    动作

  • Priority:

    优先级

  • ValidTime:

    有效时间

  • TsVersion:

    版本

  • Options:

    规则详情

  • RuleId:

    规则ID

  • EventId:

    事件id

  • SessionApplied:

    关联的Session规则



1402
1403
1404
# File 'lib/v20180125/models.rb', line 1402

def RuleId
  @RuleId
end

#SessionAppliedObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    名字

  • Status:

    状态

  • Advance:

    模式

  • Limit:

    限制

  • Interval:

    范围

  • Url:

    网址

  • MatchFunc:

    匹配类型

  • ActionType:

    动作

  • Priority:

    优先级

  • ValidTime:

    有效时间

  • TsVersion:

    版本

  • Options:

    规则详情

  • RuleId:

    规则ID

  • EventId:

    事件id

  • SessionApplied:

    关联的Session规则



1402
1403
1404
# File 'lib/v20180125/models.rb', line 1402

def SessionApplied
  @SessionApplied
end

#StatusObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    名字

  • Status:

    状态

  • Advance:

    模式

  • Limit:

    限制

  • Interval:

    范围

  • Url:

    网址

  • MatchFunc:

    匹配类型

  • ActionType:

    动作

  • Priority:

    优先级

  • ValidTime:

    有效时间

  • TsVersion:

    版本

  • Options:

    规则详情

  • RuleId:

    规则ID

  • EventId:

    事件id

  • SessionApplied:

    关联的Session规则



1402
1403
1404
# File 'lib/v20180125/models.rb', line 1402

def Status
  @Status
end

#TsVersionObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    名字

  • Status:

    状态

  • Advance:

    模式

  • Limit:

    限制

  • Interval:

    范围

  • Url:

    网址

  • MatchFunc:

    匹配类型

  • ActionType:

    动作

  • Priority:

    优先级

  • ValidTime:

    有效时间

  • TsVersion:

    版本

  • Options:

    规则详情

  • RuleId:

    规则ID

  • EventId:

    事件id

  • SessionApplied:

    关联的Session规则



1402
1403
1404
# File 'lib/v20180125/models.rb', line 1402

def TsVersion
  @TsVersion
end

#UrlObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    名字

  • Status:

    状态

  • Advance:

    模式

  • Limit:

    限制

  • Interval:

    范围

  • Url:

    网址

  • MatchFunc:

    匹配类型

  • ActionType:

    动作

  • Priority:

    优先级

  • ValidTime:

    有效时间

  • TsVersion:

    版本

  • Options:

    规则详情

  • RuleId:

    规则ID

  • EventId:

    事件id

  • SessionApplied:

    关联的Session规则



1402
1403
1404
# File 'lib/v20180125/models.rb', line 1402

def Url
  @Url
end

#ValidTimeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    名字

  • Status:

    状态

  • Advance:

    模式

  • Limit:

    限制

  • Interval:

    范围

  • Url:

    网址

  • MatchFunc:

    匹配类型

  • ActionType:

    动作

  • Priority:

    优先级

  • ValidTime:

    有效时间

  • TsVersion:

    版本

  • Options:

    规则详情

  • RuleId:

    规则ID

  • EventId:

    事件id

  • SessionApplied:

    关联的Session规则



1402
1403
1404
# File 'lib/v20180125/models.rb', line 1402

def ValidTime
  @ValidTime
end

Instance Method Details

#deserialize(params) ⇒ Object



1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
# File 'lib/v20180125/models.rb', line 1422

def deserialize(params)
  @Name = params['Name']
  @Status = params['Status']
  @Advance = params['Advance']
  @Limit = params['Limit']
  @Interval = params['Interval']
  @Url = params['Url']
  @MatchFunc = params['MatchFunc']
  @ActionType = params['ActionType']
  @Priority = params['Priority']
  @ValidTime = params['ValidTime']
  @TsVersion = params['TsVersion']
  @Options = params['Options']
  @RuleId = params['RuleId']
  @EventId = params['EventId']
  @SessionApplied = params['SessionApplied']
end