public class MetricData extends TelemetryData
| Constructor and Description |
|---|
MetricData()
Initializes a new instance of the MetricData class.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBaseType()
Base Type for this telemetry.
|
java.lang.String |
getEnvelopeName()
Envelope Name for this telemetry.
|
java.util.List<DataPoint> |
getMetrics()
Gets the Metrics property.
|
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Gets the Properties property.
|
int |
getVer()
Gets the Ver property.
|
protected void |
InitializeFields()
Optionally initializes fields for the current context.
|
protected java.lang.String |
serializeContent(java.io.Writer writer)
Serializes the beginning of this object to the passed in writer.
|
void |
setMetrics(java.util.List<DataPoint> value)
Sets the Metrics property.
|
void |
setProperties(java.util.Map<java.lang.String,java.lang.String> value)
Sets the Properties property.
|
void |
SetupAttributes()
Sets up the events attributes
|
void |
setVer(int value)
Sets the Ver property.
|
public MetricData()
public java.lang.String getEnvelopeName()
public java.lang.String getBaseType()
public int getVer()
public void setVer(int value)
public java.util.List<DataPoint> getMetrics()
public void setMetrics(java.util.List<DataPoint> value)
public java.util.Map<java.lang.String,java.lang.String> getProperties()
public void setProperties(java.util.Map<java.lang.String,java.lang.String> value)
protected java.lang.String serializeContent(java.io.Writer writer)
throws java.io.IOException
writer - The writer to serialize this object to.java.io.IOExceptionpublic void SetupAttributes()
protected void InitializeFields()