Class: TencentCloud::Waf::V20180125::CCRuleItem

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(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, optionsarr=nil)
  @ActionType = actiontype
  @Advance = advance
  @Interval = interval
  @Limit = limit
  @MatchFunc = matchfunc
  @Name = name
  @Priority = priority
  @Status = status
  @TsVersion = tsversion
  @Url = url
  @ValidTime = validtime
  @OptionsArr = optionsarr
end

Instance Attribute Details

#ActionTypeObject

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

Parameters:

  • ActionType:

    动作

  • Advance:

    高级模式

  • Interval:

    时间周期

  • Limit:

    限制次数

  • MatchFunc:

    匹配方法

  • Name:

    名称

  • Priority:

    优先级

  • Status:

    状态

  • TsVersion:

    更新时间戳

  • Url:

    匹配url

  • ValidTime:

    策略动作有效时间

  • OptionsArr:

    高级参数



1334
1335
1336
# File 'lib/v20180125/models.rb', line 1334

def ActionType
  @ActionType
end

#AdvanceObject

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

Parameters:

  • ActionType:

    动作

  • Advance:

    高级模式

  • Interval:

    时间周期

  • Limit:

    限制次数

  • MatchFunc:

    匹配方法

  • Name:

    名称

  • Priority:

    优先级

  • Status:

    状态

  • TsVersion:

    更新时间戳

  • Url:

    匹配url

  • ValidTime:

    策略动作有效时间

  • OptionsArr:

    高级参数



1334
1335
1336
# File 'lib/v20180125/models.rb', line 1334

def Advance
  @Advance
end

#IntervalObject

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

Parameters:

  • ActionType:

    动作

  • Advance:

    高级模式

  • Interval:

    时间周期

  • Limit:

    限制次数

  • MatchFunc:

    匹配方法

  • Name:

    名称

  • Priority:

    优先级

  • Status:

    状态

  • TsVersion:

    更新时间戳

  • Url:

    匹配url

  • ValidTime:

    策略动作有效时间

  • OptionsArr:

    高级参数



1334
1335
1336
# File 'lib/v20180125/models.rb', line 1334

def Interval
  @Interval
end

#LimitObject

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

Parameters:

  • ActionType:

    动作

  • Advance:

    高级模式

  • Interval:

    时间周期

  • Limit:

    限制次数

  • MatchFunc:

    匹配方法

  • Name:

    名称

  • Priority:

    优先级

  • Status:

    状态

  • TsVersion:

    更新时间戳

  • Url:

    匹配url

  • ValidTime:

    策略动作有效时间

  • OptionsArr:

    高级参数



1334
1335
1336
# File 'lib/v20180125/models.rb', line 1334

def Limit
  @Limit
end

#MatchFuncObject

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

Parameters:

  • ActionType:

    动作

  • Advance:

    高级模式

  • Interval:

    时间周期

  • Limit:

    限制次数

  • MatchFunc:

    匹配方法

  • Name:

    名称

  • Priority:

    优先级

  • Status:

    状态

  • TsVersion:

    更新时间戳

  • Url:

    匹配url

  • ValidTime:

    策略动作有效时间

  • OptionsArr:

    高级参数



1334
1335
1336
# File 'lib/v20180125/models.rb', line 1334

def MatchFunc
  @MatchFunc
end

#NameObject

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

Parameters:

  • ActionType:

    动作

  • Advance:

    高级模式

  • Interval:

    时间周期

  • Limit:

    限制次数

  • MatchFunc:

    匹配方法

  • Name:

    名称

  • Priority:

    优先级

  • Status:

    状态

  • TsVersion:

    更新时间戳

  • Url:

    匹配url

  • ValidTime:

    策略动作有效时间

  • OptionsArr:

    高级参数



1334
1335
1336
# File 'lib/v20180125/models.rb', line 1334

def Name
  @Name
end

#OptionsArrObject

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

Parameters:

  • ActionType:

    动作

  • Advance:

    高级模式

  • Interval:

    时间周期

  • Limit:

    限制次数

  • MatchFunc:

    匹配方法

  • Name:

    名称

  • Priority:

    优先级

  • Status:

    状态

  • TsVersion:

    更新时间戳

  • Url:

    匹配url

  • ValidTime:

    策略动作有效时间

  • OptionsArr:

    高级参数



1334
1335
1336
# File 'lib/v20180125/models.rb', line 1334

def OptionsArr
  @OptionsArr
end

#PriorityObject

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

Parameters:

  • ActionType:

    动作

  • Advance:

    高级模式

  • Interval:

    时间周期

  • Limit:

    限制次数

  • MatchFunc:

    匹配方法

  • Name:

    名称

  • Priority:

    优先级

  • Status:

    状态

  • TsVersion:

    更新时间戳

  • Url:

    匹配url

  • ValidTime:

    策略动作有效时间

  • OptionsArr:

    高级参数



1334
1335
1336
# File 'lib/v20180125/models.rb', line 1334

def Priority
  @Priority
end

#StatusObject

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

Parameters:

  • ActionType:

    动作

  • Advance:

    高级模式

  • Interval:

    时间周期

  • Limit:

    限制次数

  • MatchFunc:

    匹配方法

  • Name:

    名称

  • Priority:

    优先级

  • Status:

    状态

  • TsVersion:

    更新时间戳

  • Url:

    匹配url

  • ValidTime:

    策略动作有效时间

  • OptionsArr:

    高级参数



1334
1335
1336
# File 'lib/v20180125/models.rb', line 1334

def Status
  @Status
end

#TsVersionObject

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

Parameters:

  • ActionType:

    动作

  • Advance:

    高级模式

  • Interval:

    时间周期

  • Limit:

    限制次数

  • MatchFunc:

    匹配方法

  • Name:

    名称

  • Priority:

    优先级

  • Status:

    状态

  • TsVersion:

    更新时间戳

  • Url:

    匹配url

  • ValidTime:

    策略动作有效时间

  • OptionsArr:

    高级参数



1334
1335
1336
# File 'lib/v20180125/models.rb', line 1334

def TsVersion
  @TsVersion
end

#UrlObject

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

Parameters:

  • ActionType:

    动作

  • Advance:

    高级模式

  • Interval:

    时间周期

  • Limit:

    限制次数

  • MatchFunc:

    匹配方法

  • Name:

    名称

  • Priority:

    优先级

  • Status:

    状态

  • TsVersion:

    更新时间戳

  • Url:

    匹配url

  • ValidTime:

    策略动作有效时间

  • OptionsArr:

    高级参数



1334
1335
1336
# File 'lib/v20180125/models.rb', line 1334

def Url
  @Url
end

#ValidTimeObject

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

Parameters:

  • ActionType:

    动作

  • Advance:

    高级模式

  • Interval:

    时间周期

  • Limit:

    限制次数

  • MatchFunc:

    匹配方法

  • Name:

    名称

  • Priority:

    优先级

  • Status:

    状态

  • TsVersion:

    更新时间戳

  • Url:

    匹配url

  • ValidTime:

    策略动作有效时间

  • OptionsArr:

    高级参数



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