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 | 
|---|---|
| BotManagedRule | getBotManagedRule()Get The settings of the bot managed rule. | 
| BotPortraitRule | getBotPortraitRule()Get The settings of the client reputation rule. | 
| IntelligenceRule | getIntelligenceRule()Get The bot intelligence settings. | 
| String | getSwitch()Get Whether to enable bot security. | 
| 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 | 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, toJsonStringpublic 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.Copyright © 2022. All rights reserved.