UNPKG

489 BJavaScriptView Raw
1export class PollingMeasure {
2 name;
3 duration;
4 startTime;
5 entryType = 'polling-measure';
6 constructor(name, duration, startTime) {
7 this.name = name;
8 this.duration = duration;
9 this.startTime = startTime;
10 }
11 toJSON() {
12 return {
13 duration: this.duration,
14 entryType: this.entryType,
15 name: this.name,
16 startTime: this.startTime,
17 };
18 }
19}
20//# sourceMappingURL=polling-measure.js.map
\No newline at end of file