public class ScdnBotConfig extends AbstractModel
Constructor and Description |
---|
ScdnBotConfig() |
ScdnBotConfig(ScdnBotConfig 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 |
---|---|
BotCookie[] |
getBotCookie()
Get Bot cookie policy
Note: this field may return `null`, indicating that no valid values can be obtained.
|
BotJavaScript[] |
getBotJavaScript()
Get Bot JS policy
Note: this field may return `null`, indicating that no valid values can be obtained.
|
String |
getSwitch()
Get Valid values: `on` and `off`.
|
void |
setBotCookie(BotCookie[] BotCookie)
Set Bot cookie policy
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setBotJavaScript(BotJavaScript[] BotJavaScript)
Set Bot JS policy
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setSwitch(String Switch)
Set Valid values: `on` and `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 ScdnBotConfig()
public ScdnBotConfig(ScdnBotConfig source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- Valid values: `on` and `off`.public BotCookie[] getBotCookie()
public void setBotCookie(BotCookie[] BotCookie)
BotCookie
- Bot cookie policy
Note: this field may return `null`, indicating that no valid values can be obtained.public BotJavaScript[] getBotJavaScript()
public void setBotJavaScript(BotJavaScript[] BotJavaScript)
BotJavaScript
- Bot JS policy
Note: this field may return `null`, indicating that no valid values can be obtained.Copyright © 2021. All rights reserved.