1 #pragma once
2 #include <nlohmann/json.hpp>
3 
4 namespace telemetry_service
5 {
6 // clang-format off
7 
8 enum class CollectionFunction{
9     Invalid,
10     Average,
11     Maximum,
12     Minimum,
13     Summation,
14 };
15 
16 NLOHMANN_JSON_SERIALIZE_ENUM(CollectionFunction, {
17     {CollectionFunction::Invalid, "Invalid"},
18     {CollectionFunction::Average, "Average"},
19     {CollectionFunction::Maximum, "Maximum"},
20     {CollectionFunction::Minimum, "Minimum"},
21     {CollectionFunction::Summation, "Summation"},
22 });
23 
24 }
25 // clang-format on
26