public class SamplePair extends AbstractModel
Constructor and Description |
---|
SamplePair() |
SamplePair(SamplePair 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 |
---|---|
Long |
getTimestamp()
Get is the number of milliseconds since the epoch (1970-01-01 00:00 UTC) excluding leap seconds.
|
Float |
getValue()
Get is a representation of a value for a given sample at a given time.
|
void |
setTimestamp(Long Timestamp)
Set is the number of milliseconds since the epoch (1970-01-01 00:00 UTC) excluding leap seconds.
|
void |
setValue(Float Value)
Set is a representation of a value for a given sample at a given time.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public SamplePair()
public SamplePair(SamplePair source)
public Long getTimestamp()
public void setTimestamp(Long Timestamp)
Timestamp
- is the number of milliseconds since the epoch (1970-01-01 00:00 UTC) excluding leap seconds.public Float getValue()
public void setValue(Float Value)
Value
- is a representation of a value for a given sample at a given time.Copyright © 2023. All rights reserved.