public class BotManagedRule extends AbstractModel
| Constructor and Description | 
|---|
| BotManagedRule() | 
| BotManagedRule(BotManagedRule 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 of the rule. | 
| Long[] | getAlgManagedIds()Get ID of the rule that is set to verify requests by JavaScript challenge
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| Long[] | getCapManagedIds()Get ID of the rule that is set to verify requests by CAPTCHA
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| Long[] | getDropManagedIds()Get ID of the rule that is set to block requests
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| Long[] | getManagedIds()Get ID of the rule to be enabled
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| Long[] | getMonManagedIds()Get ID of the rule that is set to observe requests
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| String | getName()Get Name of the custom block page
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| Long | getPageId()Get ID of the custom block page
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| Long | getPunishTime()Get The amount of time the IP is blocked
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| String | getPunishTimeUnit()Get Unit of IP blocking time
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| String | getRedirectUrl()Get Redirection URL, which must be a subdomain name of your site encoded by URLEncode
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| Long | getResponseCode()Get Response code returned after redirection
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| Long | getRuleID()Get ID of the rule being applied | 
| Long[] | getTransManagedIds()Get ID of the rule that is set to allow requests
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setAction(String Action)Set Action of the rule. | 
| void | setAlgManagedIds(Long[] AlgManagedIds)Set ID of the rule that is set to verify requests by JavaScript challenge
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setCapManagedIds(Long[] CapManagedIds)Set ID of the rule that is set to verify requests by CAPTCHA
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setDropManagedIds(Long[] DropManagedIds)Set ID of the rule that is set to block requests
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setManagedIds(Long[] ManagedIds)Set ID of the rule to be enabled
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setMonManagedIds(Long[] MonManagedIds)Set ID of the rule that is set to observe requests
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setName(String Name)Set Name of the custom block page
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setPageId(Long PageId)Set ID of the custom block page
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setPunishTime(Long PunishTime)Set The amount of time the IP is blocked
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setPunishTimeUnit(String PunishTimeUnit)Set Unit of IP blocking time
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setRedirectUrl(String RedirectUrl)Set Redirection URL, which must be a subdomain name of your site encoded by URLEncode
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setResponseCode(Long ResponseCode)Set Response code returned after redirection
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setRuleID(Long RuleID)Set ID of the rule being applied | 
| void | setTransManagedIds(Long[] TransManagedIds)Set ID of the rule that is set to allow requests
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| 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, toJsonStringpublic BotManagedRule()
public BotManagedRule(BotManagedRule source)
public Long[] getManagedIds()
public void setManagedIds(Long[] ManagedIds)
ManagedIds - ID of the rule to be enabled
Note: This field may return `null`, indicating that no valid value can be obtained.public Long getRuleID()
public void setRuleID(Long RuleID)
RuleID - ID of the rule being appliedpublic String getAction()
public void setAction(String Action)
Action - Action of the rule. Values: `drop`; `trans`; `monitor`; `alg`.public Long getPunishTime()
public void setPunishTime(Long PunishTime)
PunishTime - The amount of time the IP is blocked
Note: This field may return `null`, indicating that no valid value can be obtained.public String getPunishTimeUnit()
public void setPunishTimeUnit(String PunishTimeUnit)
PunishTimeUnit - Unit of IP blocking time
Note: This field may return `null`, indicating that no valid value can be obtained.public String getName()
public void setName(String Name)
Name - Name of the custom block page
Note: This field may return `null`, indicating that no valid value can be obtained.public Long getPageId()
public void setPageId(Long PageId)
PageId - ID of the custom block page
Note: This field may return `null`, indicating that no valid value can be obtained.public String getRedirectUrl()
public void setRedirectUrl(String RedirectUrl)
RedirectUrl - Redirection URL, which must be a subdomain name of your site encoded by URLEncode
Note: This field may return `null`, indicating that no valid value can be obtained.public Long getResponseCode()
public void setResponseCode(Long ResponseCode)
ResponseCode - Response code returned after redirection
Note: This field may return `null`, indicating that no valid value can be obtained.public Long[] getTransManagedIds()
public void setTransManagedIds(Long[] TransManagedIds)
TransManagedIds - ID of the rule that is set to allow requests
Note: This field may return `null`, indicating that no valid value can be obtained.public Long[] getAlgManagedIds()
public void setAlgManagedIds(Long[] AlgManagedIds)
AlgManagedIds - ID of the rule that is set to verify requests by JavaScript challenge
Note: This field may return `null`, indicating that no valid value can be obtained.public Long[] getCapManagedIds()
public void setCapManagedIds(Long[] CapManagedIds)
CapManagedIds - ID of the rule that is set to verify requests by CAPTCHA
Note: This field may return `null`, indicating that no valid value can be obtained.public Long[] getMonManagedIds()
public void setMonManagedIds(Long[] MonManagedIds)
MonManagedIds - ID of the rule that is set to observe requests
Note: This field may return `null`, indicating that no valid value can be obtained.public Long[] getDropManagedIds()
public void setDropManagedIds(Long[] DropManagedIds)
DropManagedIds - ID of the rule that is set to block requests
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2023. All rights reserved.