Class BotConfig
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.teo.v20220901.models.BotConfig
-
public class BotConfig extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlgDetectRule[]getAlgDetectRule()Get Bot主动特征识别规则。BotManagedRulegetBotManagedRule()Get 通用详细基础规则。如果为null,默认使用历史配置。BotPortraitRulegetBotPortraitRule()Get 用户画像规则。如果为null,默认使用历史配置。BotUserRule[]getBotUserRules()Get Bot自定义规则。如果为null,默认使用历史配置。BotUserRule[]getCustomizes()Get Bot托管定制策略,入参可不填,仅出参使用。 注意:此字段可能返回 null,表示取不到有效值。IntelligenceRulegetIntelligenceRule()Get Bot智能分析。如果为null,默认使用历史配置。 注意:此字段可能返回 null,表示取不到有效值。StringgetSwitch()Get bot开关,取值有: on:开启; off:关闭。voidsetAlgDetectRule(AlgDetectRule[] AlgDetectRule)Set Bot主动特征识别规则。voidsetBotManagedRule(BotManagedRule BotManagedRule)Set 通用详细基础规则。如果为null,默认使用历史配置。voidsetBotPortraitRule(BotPortraitRule BotPortraitRule)Set 用户画像规则。如果为null,默认使用历史配置。voidsetBotUserRules(BotUserRule[] BotUserRules)Set Bot自定义规则。如果为null,默认使用历史配置。voidsetCustomizes(BotUserRule[] Customizes)Set Bot托管定制策略,入参可不填,仅出参使用。 注意:此字段可能返回 null,表示取不到有效值。voidsetIntelligenceRule(IntelligenceRule IntelligenceRule)Set Bot智能分析。如果为null,默认使用历史配置。 注意:此字段可能返回 null,表示取不到有效值。voidsetSwitch(String Switch)Set bot开关,取值有: on:开启; off:关闭。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
BotConfig
public BotConfig()
-
BotConfig
public 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.
-
-
Method Detail
-
getSwitch
public String getSwitch()
Get bot开关,取值有:- on:开启;
- off:关闭。
- Returns:
- Switch bot开关,取值有:
- on:开启;
- off:关闭。
-
setSwitch
public void setSwitch(String Switch)
Set bot开关,取值有:- on:开启;
- off:关闭。
- Parameters:
Switch- bot开关,取值有:- on:开启;
- off:关闭。
-
getBotManagedRule
public BotManagedRule getBotManagedRule()
Get 通用详细基础规则。如果为null,默认使用历史配置。- Returns:
- BotManagedRule 通用详细基础规则。如果为null,默认使用历史配置。
-
setBotManagedRule
public void setBotManagedRule(BotManagedRule BotManagedRule)
Set 通用详细基础规则。如果为null,默认使用历史配置。- Parameters:
BotManagedRule- 通用详细基础规则。如果为null,默认使用历史配置。
-
getBotPortraitRule
public BotPortraitRule getBotPortraitRule()
Get 用户画像规则。如果为null,默认使用历史配置。- Returns:
- BotPortraitRule 用户画像规则。如果为null,默认使用历史配置。
-
setBotPortraitRule
public void setBotPortraitRule(BotPortraitRule BotPortraitRule)
Set 用户画像规则。如果为null,默认使用历史配置。- Parameters:
BotPortraitRule- 用户画像规则。如果为null,默认使用历史配置。
-
getIntelligenceRule
public IntelligenceRule getIntelligenceRule()
Get Bot智能分析。如果为null,默认使用历史配置。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- IntelligenceRule Bot智能分析。如果为null,默认使用历史配置。 注意:此字段可能返回 null,表示取不到有效值。
-
setIntelligenceRule
public void setIntelligenceRule(IntelligenceRule IntelligenceRule)
Set Bot智能分析。如果为null,默认使用历史配置。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
IntelligenceRule- Bot智能分析。如果为null,默认使用历史配置。 注意:此字段可能返回 null,表示取不到有效值。
-
getBotUserRules
public BotUserRule[] getBotUserRules()
Get Bot自定义规则。如果为null,默认使用历史配置。- Returns:
- BotUserRules Bot自定义规则。如果为null,默认使用历史配置。
-
setBotUserRules
public void setBotUserRules(BotUserRule[] BotUserRules)
Set Bot自定义规则。如果为null,默认使用历史配置。- Parameters:
BotUserRules- Bot自定义规则。如果为null,默认使用历史配置。
-
getAlgDetectRule
public AlgDetectRule[] getAlgDetectRule()
Get Bot主动特征识别规则。- Returns:
- AlgDetectRule Bot主动特征识别规则。
-
setAlgDetectRule
public void setAlgDetectRule(AlgDetectRule[] AlgDetectRule)
Set Bot主动特征识别规则。- Parameters:
AlgDetectRule- Bot主动特征识别规则。
-
getCustomizes
public BotUserRule[] getCustomizes()
Get Bot托管定制策略,入参可不填,仅出参使用。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Customizes Bot托管定制策略,入参可不填,仅出参使用。 注意:此字段可能返回 null,表示取不到有效值。
-
setCustomizes
public void setCustomizes(BotUserRule[] Customizes)
Set Bot托管定制策略,入参可不填,仅出参使用。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Customizes- Bot托管定制策略,入参可不填,仅出参使用。 注意:此字段可能返回 null,表示取不到有效值。
-
-