public class IPAddress extends AbstractModel
Constructor and Description |
---|
IPAddress() |
IPAddress(IPAddress 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 |
getPort()
Get 网络端口
|
String |
getType()
Get Ip 地址的类型。可为 advertise, public 等
|
void |
setIp(String Ip)
Set Ip 地址
|
void |
setPort(Long Port)
Set 网络端口
|
void |
setType(String Type)
Set Ip 地址的类型。可为 advertise, public 等
|
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 IPAddress()
public IPAddress(IPAddress source)
public String getType()
public void setType(String Type)
Type
- Ip 地址的类型。可为 advertise, public 等public String getIp()
public void setIp(String Ip)
Ip
- Ip 地址public Long getPort()
public void setPort(Long Port)
Port
- 网络端口Copyright © 2021. All rights reserved.