/// <summary>
 /// Initializes a new instance of the <see cref="MetricDataPoint" /> class.
 /// </summary>
 /// <param name="data">Corresponding value of a metric at the given timestamp. When client adds or pushes the stats, this field must be specified. When Stats module, returns the time series data, this field could be empty if data point is not available for the given timestamp..</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.Data           = data;
     this.TimestampMsecs = timestampMsecs;
 }
예제 #2
0
 /// <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.Data = data;
     this.Type = type;
 }