public class TrafficFlow extends AbstractModel
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 格式化后流量的单位
注意:此字段可能返回 null,表示取不到有效值。
|
Float |
getFormatValue()
Get 格式化后的流量,单位见参数 FormatUnit
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getValue()
Get 实际流量,单位为 字节
|
void |
setFormatUnit(String FormatUnit)
Set 格式化后流量的单位
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setFormatValue(Float FormatValue)
Set 格式化后的流量,单位见参数 FormatUnit
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setValue(Long Value)
Set 实际流量,单位为 字节
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public TrafficFlow()
public TrafficFlow(TrafficFlow source)
public Long getValue()
public void setValue(Long Value)
Value
- 实际流量,单位为 字节public Float getFormatValue()
public void setFormatValue(Float FormatValue)
FormatValue
- 格式化后的流量,单位见参数 FormatUnit
注意:此字段可能返回 null,表示取不到有效值。public String getFormatUnit()
public void setFormatUnit(String FormatUnit)
FormatUnit
- 格式化后流量的单位
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2023. All rights reserved.