public class NetworkStatus extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| NetworkStatus() | 
| NetworkStatus(NetworkStatus 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 | getAddressIp()Get 公网 IP 地址
注意:此字段可能返回 null,表示取不到有效值。 | 
| Long | getBandwidth()Get 出带宽上限,单位Mbps
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getInstanceId()Get HAI 的实例 ID | 
| Float | getRemainingTrafficAmount()Get 流量包剩余量,单位GB | 
| Float | getTotalTrafficAmount()Get 流量包总量,单位GB | 
| void | setAddressIp(String AddressIp)Set 公网 IP 地址
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setBandwidth(Long Bandwidth)Set 出带宽上限,单位Mbps
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setInstanceId(String InstanceId)Set HAI 的实例 ID | 
| void | setRemainingTrafficAmount(Float RemainingTrafficAmount)Set 流量包剩余量,单位GB | 
| void | setTotalTrafficAmount(Float TotalTrafficAmount)Set 流量包总量,单位GB | 
| 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, toJsonStringpublic NetworkStatus()
public NetworkStatus(NetworkStatus source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - HAI 的实例 IDpublic String getAddressIp()
public void setAddressIp(String AddressIp)
AddressIp - 公网 IP 地址
注意:此字段可能返回 null,表示取不到有效值。public Long getBandwidth()
public void setBandwidth(Long Bandwidth)
Bandwidth - 出带宽上限,单位Mbps
注意:此字段可能返回 null,表示取不到有效值。public Float getTotalTrafficAmount()
public void setTotalTrafficAmount(Float TotalTrafficAmount)
TotalTrafficAmount - 流量包总量,单位GBpublic Float getRemainingTrafficAmount()
public void setRemainingTrafficAmount(Float RemainingTrafficAmount)
RemainingTrafficAmount - 流量包剩余量,单位GBCopyright © 2025. All rights reserved.