Class IpSegment
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.antiddos.v20200309.models.IpSegment
-
public class IpSegment extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetIp()Get ip地址LonggetMask()Get ip掩码,如果为32位ip,填0voidsetIp(String Ip)Set ip地址voidsetMask(Long Mask)Set ip掩码,如果为32位ip,填0voidtoMap(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
-
IpSegment
public IpSegment()
-
IpSegment
public IpSegment(IpSegment 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地址
-
getMask
public Long getMask()
Get ip掩码,如果为32位ip,填0- Returns:
- Mask ip掩码,如果为32位ip,填0
-
setMask
public void setMask(Long Mask)
Set ip掩码,如果为32位ip,填0- Parameters:
Mask- ip掩码,如果为32位ip,填0
-
-