public class BotConfig extends AbstractModel
Constructor and Description |
---|
BotConfig() |
BotConfig(BotConfig 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 |
---|---|
AlgDetectRule[] |
getAlgDetectRule()
Get Active bot detection rule.
|
BotManagedRule |
getBotManagedRule()
Get The settings of the bot managed rule.
|
BotPortraitRule |
getBotPortraitRule()
Get The settings of the client reputation rule.
|
BotUserRule[] |
getBotUserRules()
Get Settings of the custom bot rule.
|
BotUserRule[] |
getCustomizes()
Get Settings of the bot managed rule.
|
IntelligenceRule |
getIntelligenceRule()
Get The bot intelligence settings.
|
String |
getSwitch()
Get Whether to enable bot security.
|
void |
setAlgDetectRule(AlgDetectRule[] AlgDetectRule)
Set Active bot detection rule.
|
void |
setBotManagedRule(BotManagedRule BotManagedRule)
Set The settings of the bot managed rule.
|
void |
setBotPortraitRule(BotPortraitRule BotPortraitRule)
Set The settings of the client reputation rule.
|
void |
setBotUserRules(BotUserRule[] BotUserRules)
Set Settings of the custom bot rule.
|
void |
setCustomizes(BotUserRule[] Customizes)
Set Settings of the bot managed rule.
|
void |
setIntelligenceRule(IntelligenceRule IntelligenceRule)
Set The bot intelligence settings.
|
void |
setSwitch(String Switch)
Set Whether to enable bot security.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public BotConfig()
public BotConfig(BotConfig source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- Whether to enable bot security. Values:
public BotManagedRule getBotManagedRule()
public void setBotManagedRule(BotManagedRule BotManagedRule)
BotManagedRule
- The settings of the bot managed rule. If it is null, the settings that were last configured will be used.public BotPortraitRule getBotPortraitRule()
public void setBotPortraitRule(BotPortraitRule BotPortraitRule)
BotPortraitRule
- The settings of the client reputation rule. If it is null, the settings that were last configured will be used.public IntelligenceRule getIntelligenceRule()
public void setIntelligenceRule(IntelligenceRule IntelligenceRule)
IntelligenceRule
- The bot intelligence settings. If it is null, the settings that were last configured will be used.
Note: This field may return null, indicating that no valid values can be obtained.public BotUserRule[] getBotUserRules()
public void setBotUserRules(BotUserRule[] BotUserRules)
BotUserRules
- Settings of the custom bot rule. If it is null, the settings that were last configured will be used.public AlgDetectRule[] getAlgDetectRule()
public void setAlgDetectRule(AlgDetectRule[] AlgDetectRule)
AlgDetectRule
- Active bot detection rule.public BotUserRule[] getCustomizes()
public void setCustomizes(BotUserRule[] Customizes)
Customizes
- Settings of the bot managed rule. It is only used for output.
Note: This field may return `null`, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.