public final class DataPoint extends java.lang.Object implements JsonSerializable, SendableData
| Constructor and Description |
|---|
DataPoint()
Initializes a new instance of the class.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBaseTypeName() |
java.lang.Integer |
getCount() |
java.lang.String |
getEnvelopName() |
DataPointType |
getKind() |
java.lang.Double |
getMax() |
java.lang.Double |
getMin() |
java.lang.String |
getName() |
java.lang.Double |
getStdDev() |
double |
getValue() |
protected void |
InitializeFields()
Optionally initializes fields for the current context.
|
void |
serialize(JsonTelemetryDataSerializer writer)
Serializes the beginning of this object to the passed in writer.
|
protected void |
serializeContent(JsonTelemetryDataSerializer writer)
Serializes the beginning of this object to the passed in writer.
|
void |
setCount(java.lang.Integer value) |
void |
setKind(DataPointType value) |
void |
setMax(java.lang.Double value) |
void |
setMin(java.lang.Double value) |
void |
setName(java.lang.String value) |
void |
setStdDev(java.lang.Double value) |
void |
setValue(double value) |
public java.lang.String getName()
public void setName(java.lang.String value)
public DataPointType getKind()
public void setKind(DataPointType value)
public double getValue()
public void setValue(double value)
public java.lang.Integer getCount()
public void setCount(java.lang.Integer value)
public java.lang.Double getMin()
public void setMin(java.lang.Double value)
public java.lang.Double getMax()
public void setMax(java.lang.Double value)
public java.lang.Double getStdDev()
public void setStdDev(java.lang.Double value)
public void serialize(JsonTelemetryDataSerializer writer) throws java.io.IOException
serialize in interface JsonSerializablewriter - The writer to serialize this object to.java.io.IOException - The exception that might be thrown during serialization.protected void serializeContent(JsonTelemetryDataSerializer writer) throws java.io.IOException
writer - The writer to serialize this object to.java.io.IOException - Might be throw during serialization.protected void InitializeFields()
public java.lang.String getEnvelopName()
getEnvelopName in interface SendableDatapublic java.lang.String getBaseTypeName()
getBaseTypeName in interface SendableData