public class DataPoint extends java.lang.Object implements JsonSerializable
Constructor and Description |
---|
DataPoint()
Initializes a new instance of the DataPoint class.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getCount()
Gets the Count property.
|
DataPointType |
getKind()
Gets the Kind property.
|
java.lang.Double |
getMax()
Gets the Max property.
|
java.lang.Double |
getMin()
Gets the Min property.
|
java.lang.String |
getName()
Gets the Name property.
|
java.lang.Double |
getStdDev()
Gets the StdDev property.
|
double |
getValue()
Gets the Value property.
|
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)
Sets the Count property.
|
void |
setKind(DataPointType value)
Sets the Kind property.
|
void |
setMax(java.lang.Double value)
Sets the Max property.
|
void |
setMin(java.lang.Double value)
Sets the Min property.
|
void |
setName(java.lang.String value)
Sets the Name property.
|
void |
setStdDev(java.lang.Double value)
Sets the StdDev property.
|
void |
setValue(double value)
Sets the Value property.
|
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 JsonSerializable
writer
- 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
protected void InitializeFields()