public class IpSegment extends AbstractModel
header, skipSign
Constructor and Description |
---|
IpSegment() |
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.
|
Modifier and Type | Method and Description |
---|---|
String |
getIp()
Get ip地址
|
Long |
getMask()
Get ip掩码,如果为32位ip,填0
|
void |
setIp(String Ip)
Set ip地址
|
void |
setMask(Long Mask)
Set ip掩码,如果为32位ip,填0
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public IpSegment()
public IpSegment(IpSegment source)
public String getIp()
public void setIp(String Ip)
Ip
- ip地址public Long getMask()
public void setMask(Long Mask)
Mask
- ip掩码,如果为32位ip,填0Copyright © 2024. All rights reserved.