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 通用详细基础规则。如果为null,默认使用历史配置。
|
BotPortraitRule |
getBotPortraitRule()
Get 用户画像规则。如果为null,默认使用历史配置。
|
IntelligenceRule |
getIntelligenceRule()
Get Bot智能分析。如果为null,默认使用历史配置。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getSwitch()
Get bot开关,取值有:
on:开启;
off:关闭。
|
void |
setBotManagedRule(BotManagedRule BotManagedRule)
Set 通用详细基础规则。如果为null,默认使用历史配置。
|
void |
setBotPortraitRule(BotPortraitRule BotPortraitRule)
Set 用户画像规则。如果为null,默认使用历史配置。
|
void |
setIntelligenceRule(IntelligenceRule IntelligenceRule)
Set Bot智能分析。如果为null,默认使用历史配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSwitch(String Switch)
Set bot开关,取值有:
on:开启;
off:关闭。
|
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
- bot开关,取值有:
public BotManagedRule getBotManagedRule()
public void setBotManagedRule(BotManagedRule BotManagedRule)
BotManagedRule
- 通用详细基础规则。如果为null,默认使用历史配置。public BotPortraitRule getBotPortraitRule()
public void setBotPortraitRule(BotPortraitRule BotPortraitRule)
BotPortraitRule
- 用户画像规则。如果为null,默认使用历史配置。public IntelligenceRule getIntelligenceRule()
public void setIntelligenceRule(IntelligenceRule IntelligenceRule)
IntelligenceRule
- Bot智能分析。如果为null,默认使用历史配置。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2022. All rights reserved.