public class ModifyBanStatusRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyBanStatusRequest() |
ModifyBanStatusRequest(ModifyBanStatusRequest 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 |
---|---|
Boolean |
getOpenSmartMode()
Get Whether to enable intelligent over-allowing mode
|
Long |
getStatus()
Get Blocking switch status: 0 -- off; 1 -- advanced blocking; 2 -- basic blocking (Only blocklisted IPs in the intelligence database will be blocked.)
|
void |
setOpenSmartMode(Boolean OpenSmartMode)
Set Whether to enable intelligent over-allowing mode
|
void |
setStatus(Long Status)
Set Blocking switch status: 0 -- off; 1 -- advanced blocking; 2 -- basic blocking (Only blocklisted IPs in the intelligence database will be blocked.)
|
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 ModifyBanStatusRequest()
public ModifyBanStatusRequest(ModifyBanStatusRequest source)
public Long getStatus()
public void setStatus(Long Status)
Status
- Blocking switch status: 0 -- off; 1 -- advanced blocking; 2 -- basic blocking (Only blocklisted IPs in the intelligence database will be blocked.)public Boolean getOpenSmartMode()
public void setOpenSmartMode(Boolean OpenSmartMode)
OpenSmartMode
- Whether to enable intelligent over-allowing modeCopyright © 2025. All rights reserved.