/// <summary> /// Initializes a new instance of the <see cref="MetricDataPoint" /> class. /// </summary> /// <param name="data">data.</param> /// <param name="rollupFunction">If this is a rolled up data point, following enum denotes the rollup function used for rolling up. For a raw point this enum is not set..</param> /// <param name="timestampMsecs">Specifies a timestamp when the metric data point was captured..</param> public MetricDataPoint(ValueData data = default(ValueData), int?rollupFunction = default(int?), long?timestampMsecs = default(long?)) { this.RollupFunction = rollupFunction; this.TimestampMsecs = timestampMsecs; this.Data = data; this.RollupFunction = rollupFunction; this.TimestampMsecs = timestampMsecs; }
/// <summary> /// Initializes a new instance of the <see cref="Value" /> class. /// </summary> /// <param name="data">data.</param> /// <param name="type">Specifies the type of value. 0 specifies a data point of type Int64. 1 specifies a data point of type Double. 2 specifies a data point of type String. 3 specifies a data point of type Bytes..</param> public Value(ValueData data = default(ValueData), int?type = default(int?)) { this.Type = type; this.Data = data; this.Type = type; }
/// <summary> /// Initializes a new instance of the <see cref="MetricDataPoint" /> class. /// </summary> /// <param name="data">data.</param> /// <param name="timestampMsecs">Specifies a timestamp when the metric data point was captured..</param> public MetricDataPoint(ValueData data = default(ValueData), long?timestampMsecs = default(long?)) { this.TimestampMsecs = timestampMsecs; this.Data = data; this.TimestampMsecs = timestampMsecs; }