public class BotJavaScript extends AbstractModel
Constructor and Description |
---|
BotJavaScript() |
BotJavaScript(BotJavaScript 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 |
---|---|
String |
getAction()
Get 执行动作,monitor|intercept|redirect|captcha
|
String |
getRedirectUrl()
Get 重定向时设置的重定向页面
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getRuleType()
Get 规则类型,当前只有file
|
String[] |
getRuleValue()
Get 规则值,['html', 'htm']
|
String |
getSwitch()
Get on|off
|
String |
getUpdateTime()
Get 更新时间
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setAction(String Action)
Set 执行动作,monitor|intercept|redirect|captcha
|
void |
setRedirectUrl(String RedirectUrl)
Set 重定向时设置的重定向页面
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setRuleType(String RuleType)
Set 规则类型,当前只有file
|
void |
setRuleValue(String[] RuleValue)
Set 规则值,['html', 'htm']
|
void |
setSwitch(String Switch)
Set on|off
|
void |
setUpdateTime(String UpdateTime)
Set 更新时间
注意:此字段可能返回 null,表示取不到有效值。
|
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 BotJavaScript()
public BotJavaScript(BotJavaScript source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- on|offpublic String getRuleType()
public void setRuleType(String RuleType)
RuleType
- 规则类型,当前只有filepublic String[] getRuleValue()
public void setRuleValue(String[] RuleValue)
RuleValue
- 规则值,['html', 'htm']public String getAction()
public void setAction(String Action)
Action
- 执行动作,monitor|intercept|redirect|captchapublic String getRedirectUrl()
public void setRedirectUrl(String RedirectUrl)
RedirectUrl
- 重定向时设置的重定向页面
注意:此字段可能返回 null,表示取不到有效值。public String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime
- 更新时间
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2021. All rights reserved.