Class TimeValue
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tiw.v20190919.models.TimeValue
-
public class TimeValue extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetTime()Get Unix时间戳,单位秒FloatgetValue()Get 查询指标对应当前时间的值voidsetTime(Long Time)Set Unix时间戳,单位秒voidsetValue(Float 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
-
TimeValue
public TimeValue()
-
TimeValue
public TimeValue(TimeValue 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
-
getTime
public Long getTime()
Get Unix时间戳,单位秒- Returns:
- Time Unix时间戳,单位秒
-
setTime
public void setTime(Long Time)
Set Unix时间戳,单位秒- Parameters:
Time- Unix时间戳,单位秒
-
getValue
public Float getValue()
Get 查询指标对应当前时间的值- Returns:
- Value 查询指标对应当前时间的值
-
setValue
public void setValue(Float Value)
Set 查询指标对应当前时间的值- Parameters:
Value- 查询指标对应当前时间的值
-
-