Class IPDefendStatus
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cfw.v20190904.models.IPDefendStatus
-
public class IPDefendStatus extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description IPDefendStatus()IPDefendStatus(IPDefendStatus 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetIP()Get ip地址LonggetStatus()Get 防护状态 1:防护打开; -1:地址错误; 其他:未防护voidsetIP(String IP)Set ip地址voidsetStatus(Long Status)Set 防护状态 1:防护打开; -1:地址错误; 其他:未防护voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
IPDefendStatus
public IPDefendStatus()
-
IPDefendStatus
public IPDefendStatus(IPDefendStatus 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.
-
-
Method Detail
-
getIP
public String getIP()
Get ip地址- Returns:
- IP ip地址
-
setIP
public void setIP(String IP)
Set ip地址- Parameters:
IP- ip地址
-
getStatus
public Long getStatus()
Get 防护状态 1:防护打开; -1:地址错误; 其他:未防护- Returns:
- Status 防护状态 1:防护打开; -1:地址错误; 其他:未防护
-
setStatus
public void setStatus(Long Status)
Set 防护状态 1:防护打开; -1:地址错误; 其他:未防护- Parameters:
Status- 防护状态 1:防护打开; -1:地址错误; 其他:未防护
-
-