public class BotCookie extends AbstractModel
header, skipSign
Constructor and Description |
---|
BotCookie() |
BotCookie(BotCookie 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 Action.
|
String |
getRedirectUrl()
Get Redirection target page
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getRuleType()
Get Rule type, which can only be `all` currently.
|
String[] |
getRuleValue()
Get Rule value.
|
String |
getSwitch()
Get Whether to enable bot cookie policies.
|
String |
getUpdateTime()
Get Update time
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setAction(String Action)
Set Action.
|
void |
setRedirectUrl(String RedirectUrl)
Set Redirection target page
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setRuleType(String RuleType)
Set Rule type, which can only be `all` currently.
|
void |
setRuleValue(String[] RuleValue)
Set Rule value.
|
void |
setSwitch(String Switch)
Set Whether to enable bot cookie policies.
|
void |
setUpdateTime(String UpdateTime)
Set Update time
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public BotCookie()
public BotCookie(BotCookie source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- Whether to enable bot cookie policies. Values:
`on`: Enable
`off`: Disablepublic String getRuleType()
public void setRuleType(String RuleType)
RuleType
- Rule type, which can only be `all` currently.public String[] getRuleValue()
public void setRuleValue(String[] RuleValue)
RuleValue
- Rule value. Valid value: `*`.public String getAction()
public void setAction(String Action)
Action
- Action. Valid values: `monitor`, `intercept`, `redirect`, and `captcha`.public String getRedirectUrl()
public void setRedirectUrl(String RedirectUrl)
RedirectUrl
- Redirection target page
Note: This field may return null, indicating that no valid values can be obtained.public String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime
- Update time
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2024. All rights reserved.