Class SpeedValue
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.antiddos.v20200309.models.SpeedValue
-
public class SpeedValue extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SpeedValue()SpeedValue(SpeedValue 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetType()Get 限速值类型,取值[ 1(包速率pps) 2(带宽bps) ]LonggetValue()Get 值大小voidsetType(Long Type)Set 限速值类型,取值[ 1(包速率pps) 2(带宽bps) ]voidsetValue(Long Value)Set 值大小voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
SpeedValue
public SpeedValue()
-
SpeedValue
public SpeedValue(SpeedValue 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.
-
-
Method Detail
-
getType
public Long getType()
Get 限速值类型,取值[ 1(包速率pps) 2(带宽bps) ]- Returns:
- Type 限速值类型,取值[ 1(包速率pps) 2(带宽bps) ]
-
setType
public void setType(Long Type)
Set 限速值类型,取值[ 1(包速率pps) 2(带宽bps) ]- Parameters:
Type- 限速值类型,取值[ 1(包速率pps) 2(带宽bps) ]
-
getValue
public Long getValue()
Get 值大小- Returns:
- Value 值大小
-
setValue
public void setValue(Long Value)
Set 值大小- Parameters:
Value- 值大小
-
-