public class NetDetectIpState extends AbstractModel
header, skipSign
Constructor and Description |
---|
NetDetectIpState() |
NetDetectIpState(NetDetectIpState 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 |
---|---|
Long |
getDelay()
Get The latency.
|
String |
getDetectDestinationIp()
Get The destination IPv4 address of network detection.
|
Long |
getPacketLossRate()
Get The packet loss rate.
|
Long |
getState()
Get The detection result.
|
void |
setDelay(Long Delay)
Set The latency.
|
void |
setDetectDestinationIp(String DetectDestinationIp)
Set The destination IPv4 address of network detection.
|
void |
setPacketLossRate(Long PacketLossRate)
Set The packet loss rate.
|
void |
setState(Long State)
Set The detection result.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public NetDetectIpState()
public NetDetectIpState(NetDetectIpState source)
public String getDetectDestinationIp()
public void setDetectDestinationIp(String DetectDestinationIp)
DetectDestinationIp
- The destination IPv4 address of network detection.public Long getState()
public void setState(Long State)
State
- The detection result.
0: successful;
-1: no packet loss occurred during routing;
-2: packet loss occurred when outbound traffic is blocked by the ACL;
-3: packet loss occurred when inbound traffic is blocked by the ACL;
-4: other errors.public Long getDelay()
public void setDelay(Long Delay)
Delay
- The latency. Unit: ms.public Long getPacketLossRate()
public void setPacketLossRate(Long PacketLossRate)
PacketLossRate
- The packet loss rate.Copyright © 2024. All rights reserved.