public class ExceptUserRuleScope extends AbstractModel
skipSign
Constructor and Description |
---|
ExceptUserRuleScope() |
ExceptUserRuleScope(ExceptUserRuleScope source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getModules()
Get 生效的模块,该字段取值有:
waf:托管规则;
rate:速率限制;
acl:自定义规则;
cc:cc攻击防护;
bot:Bot防护。
注意:此字段可能返回 null,表示取不到有效值。
|
PartialModule[] |
getPartialModules()
Get 跳过部分规则ID的例外规则详情。如果为null,默认使用历史配置。
注意:此字段可能返回 null,表示取不到有效值。
|
SkipCondition[] |
getSkipConditions()
Get 跳过具体字段不去扫描的例外规则详情。如果为null,默认使用历史配置。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getType()
Get 例外规则类型。其中complete模式代表全量数据进行例外,partial模式代表可选择指定模块指定字段进行例外,该字段取值有:
complete:完全跳过模式;
partial:部分跳过模式。
|
void |
setModules(String[] Modules)
Set 生效的模块,该字段取值有:
waf:托管规则;
rate:速率限制;
acl:自定义规则;
cc:cc攻击防护;
bot:Bot防护。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setPartialModules(PartialModule[] PartialModules)
Set 跳过部分规则ID的例外规则详情。如果为null,默认使用历史配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSkipConditions(SkipCondition[] SkipConditions)
Set 跳过具体字段不去扫描的例外规则详情。如果为null,默认使用历史配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setType(String Type)
Set 例外规则类型。其中complete模式代表全量数据进行例外,partial模式代表可选择指定模块指定字段进行例外,该字段取值有:
complete:完全跳过模式;
partial:部分跳过模式。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ExceptUserRuleScope()
public ExceptUserRuleScope(ExceptUserRuleScope source)
public String getType()
public void setType(String Type)
Type
- 例外规则类型。其中complete模式代表全量数据进行例外,partial模式代表可选择指定模块指定字段进行例外,该字段取值有:
public String[] getModules()
public void setModules(String[] Modules)
Modules
- 生效的模块,该字段取值有:
public PartialModule[] getPartialModules()
public void setPartialModules(PartialModule[] PartialModules)
PartialModules
- 跳过部分规则ID的例外规则详情。如果为null,默认使用历史配置。
注意:此字段可能返回 null,表示取不到有效值。public SkipCondition[] getSkipConditions()
public void setSkipConditions(SkipCondition[] SkipConditions)
SkipConditions
- 跳过具体字段不去扫描的例外规则详情。如果为null,默认使用历史配置。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2023. All rights reserved.