public class BotManagementCustomRules extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| BotManagementCustomRules() | 
| BotManagementCustomRules(BotManagementCustomRules 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 | 
|---|---|
| BotManagementCustomRule[] | getRules()Get Bot 自定义规则的列表。使用 ModifySecurityPolicy 修改 Web 防护配置时:  若未指定 SecurityPolicy.BotManagement.CustomRules 中的 Rules 参数,或 Rules 参数长度为零:清空所有 Bot 自定义规则配置。 若 SecurityPolicy.BotManagement 参数中,未指定 CustomRules 参数值:保持已有 Bot 自定义规则配置,不做修改。 | 
| void | setRules(BotManagementCustomRule[] Rules)Set Bot 自定义规则的列表。使用 ModifySecurityPolicy 修改 Web 防护配置时:  若未指定 SecurityPolicy.BotManagement.CustomRules 中的 Rules 参数,或 Rules 参数长度为零:清空所有 Bot 自定义规则配置。 若 SecurityPolicy.BotManagement 参数中,未指定 CustomRules 参数值:保持已有 Bot 自定义规则配置,不做修改。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic BotManagementCustomRules()
public BotManagementCustomRules(BotManagementCustomRules source)
public BotManagementCustomRule[] getRules()
public void setRules(BotManagementCustomRule[] Rules)
Rules - Bot 自定义规则的列表。使用 ModifySecurityPolicy 修改 Web 防护配置时: Copyright © 2025. All rights reserved.