-
- All Implemented Interfaces:
-
com.microsoft.telemetry.IJsonSerializable,java.io.Serializable
public class MetricData extends TelemetryData
Data contract class MetricData.
-
-
Constructor Summary
Constructors Constructor Description MetricData()Initializes a new instance of the MetricData class.
-
Method Summary
Modifier and Type Method Description intgetVer()Gets the Ver property. voidsetVer(int value)Sets the Ver property. List<DataPoint>getMetrics()Gets the Metrics property. voidsetMetrics(List<DataPoint> value)Sets the Metrics property. Map<String, String>getProperties()Gets the Properties property. voidsetProperties(Map<String, String> value)Sets the Properties property. StringgetEnvelopeName()Envelope Name for this telemetry. StringgetBaseType()Base Type for this telemetry. voidSetupAttributes()Sets up the events attributes -
Methods inherited from class com.microsoft.telemetry.ITelemetry
getBaseType, getEnvelopeName, getProperties, setProperties, setVer -
Methods inherited from class com.microsoft.telemetry.Domain
serialize -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getVer
int getVer()
Gets the Ver property.
-
setVer
void setVer(int value)
Sets the Ver property.
-
getMetrics
List<DataPoint> getMetrics()
Gets the Metrics property.
-
setMetrics
void setMetrics(List<DataPoint> value)
Sets the Metrics property.
-
getProperties
Map<String, String> getProperties()
Gets the Properties property.
-
setProperties
void setProperties(Map<String, String> value)
Sets the Properties property.
-
getEnvelopeName
String getEnvelopeName()
Envelope Name for this telemetry.
-
getBaseType
String getBaseType()
Base Type for this telemetry.
-
SetupAttributes
void SetupAttributes()
Sets up the events attributes
-
-
-
-