public class TrafficFlow extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| TrafficFlow() | 
| TrafficFlow(TrafficFlow 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 | getFormatUnit()Get 格式化后流量的单位 | 
| Float | getFormatValue()Get 格式化后的流量,单位见参数 FormatUnit | 
| Long | getValue()Get 实际流量,单位为 字节 | 
| void | setFormatUnit(String FormatUnit)Set 格式化后流量的单位 | 
| void | setFormatValue(Float FormatValue)Set 格式化后的流量,单位见参数 FormatUnit | 
| void | setValue(Long Value)Set 实际流量,单位为 字节 | 
| 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 TrafficFlow()
public TrafficFlow(TrafficFlow source)
public Long getValue()
public void setValue(Long Value)
Value - 实际流量,单位为 字节public Float getFormatValue()
public void setFormatValue(Float FormatValue)
FormatValue - 格式化后的流量,单位见参数 FormatUnitpublic String getFormatUnit()
public void setFormatUnit(String FormatUnit)
FormatUnit - 格式化后流量的单位Copyright © 2025. All rights reserved.