public class DescribeDefenseSwitchResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribeDefenseSwitchResponse() |
DescribeDefenseSwitchResponse(DescribeDefenseSwitchResponse 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 |
---|---|
Long |
getBaselineAllSwitch()
Get Whether to enable the Security Baseline feature
|
Long |
getBasicRuleSwitch()
Get Whether to enable the Basic Protection feature
|
Long |
getHistoryOpen()
Get Whether it has been enabled before
|
String |
getRequestId()
Get The unique request ID, which is returned for each request.
|
Long |
getReturnCode()
Get Status code.
|
String |
getReturnMsg()
Get Status message.
|
Long |
getTiSwitch()
Get Whether to enable the Treat Intelligence feature
|
Long |
getVirtualPatchSwitch()
Get Whether to enable the Virtual Patch feature
|
void |
setBaselineAllSwitch(Long BaselineAllSwitch)
Set Whether to enable the Security Baseline feature
|
void |
setBasicRuleSwitch(Long BasicRuleSwitch)
Set Whether to enable the Basic Protection feature
|
void |
setHistoryOpen(Long HistoryOpen)
Set Whether it has been enabled before
|
void |
setRequestId(String RequestId)
Set The unique request ID, which is returned for each request.
|
void |
setReturnCode(Long ReturnCode)
Set Status code.
|
void |
setReturnMsg(String ReturnMsg)
Set Status message.
|
void |
setTiSwitch(Long TiSwitch)
Set Whether to enable the Treat Intelligence feature
|
void |
setVirtualPatchSwitch(Long VirtualPatchSwitch)
Set Whether to enable the Virtual Patch feature
|
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 DescribeDefenseSwitchResponse()
public DescribeDefenseSwitchResponse(DescribeDefenseSwitchResponse source)
public Long getBasicRuleSwitch()
public void setBasicRuleSwitch(Long BasicRuleSwitch)
BasicRuleSwitch
- Whether to enable the Basic Protection featurepublic Long getBaselineAllSwitch()
public void setBaselineAllSwitch(Long BaselineAllSwitch)
BaselineAllSwitch
- Whether to enable the Security Baseline featurepublic Long getTiSwitch()
public void setTiSwitch(Long TiSwitch)
TiSwitch
- Whether to enable the Treat Intelligence featurepublic Long getVirtualPatchSwitch()
public void setVirtualPatchSwitch(Long VirtualPatchSwitch)
VirtualPatchSwitch
- Whether to enable the Virtual Patch featurepublic Long getHistoryOpen()
public void setHistoryOpen(Long HistoryOpen)
HistoryOpen
- Whether it has been enabled beforepublic Long getReturnCode()
public void setReturnCode(Long ReturnCode)
ReturnCode
- Status code. `0`: Succeeded. Others: Failedpublic String getReturnMsg()
public void setReturnMsg(String ReturnMsg)
ReturnMsg
- Status message. `success` and `fail.public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, which is returned for each request. RequestId is required for locating a problem.Copyright © 2024. All rights reserved.