public class DDoSUserAllowBlockIP extends AbstractModel
Constructor and Description |
---|
DDoSUserAllowBlockIP() |
DDoSUserAllowBlockIP(DDoSUserAllowBlockIP 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 |
getIp()
Get 客户端IP。
|
String |
getIp2()
Get 客户端IP2,设置IP范围时使用,例如 1.1.1.1-1.1.1.2。
|
Long |
getMask()
Get 掩码。
|
Long |
getMask2()
Get 掩码2,设置IP网段范围时使用,例如 1.1.1.0/24-1.1.2.0/24。
|
String |
getType()
Get 类型,取值有:
block :丢弃 ;
allow :允许。
|
Long |
getUpdateTime()
Get 10位时间戳,例如1199116800。
|
void |
setIp(String Ip)
Set 客户端IP。
|
void |
setIp2(String Ip2)
Set 客户端IP2,设置IP范围时使用,例如 1.1.1.1-1.1.1.2。
|
void |
setMask(Long Mask)
Set 掩码。
|
void |
setMask2(Long Mask2)
Set 掩码2,设置IP网段范围时使用,例如 1.1.1.0/24-1.1.2.0/24。
|
void |
setType(String Type)
Set 类型,取值有:
block :丢弃 ;
allow :允许。
|
void |
setUpdateTime(Long UpdateTime)
Set 10位时间戳,例如1199116800。
|
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, toJsonString
public DDoSUserAllowBlockIP()
public DDoSUserAllowBlockIP(DDoSUserAllowBlockIP source)
public String getIp()
public void setIp(String Ip)
Ip
- 客户端IP。public Long getMask()
public void setMask(Long Mask)
Mask
- 掩码。public String getType()
public void setType(String Type)
Type
- 类型,取值有:
public Long getUpdateTime()
public void setUpdateTime(Long UpdateTime)
UpdateTime
- 10位时间戳,例如1199116800。public String getIp2()
public void setIp2(String Ip2)
Ip2
- 客户端IP2,设置IP范围时使用,例如 1.1.1.1-1.1.1.2。public Long getMask2()
public void setMask2(Long Mask2)
Mask2
- 掩码2,设置IP网段范围时使用,例如 1.1.1.0/24-1.1.2.0/24。Copyright © 2023. All rights reserved.