xref: /openbmc/telemetry/src/utils/tstring.hpp (revision 405c1e4bf8b993cb3800adead546e91b030ecb9b)
1 #pragma once
2 
3 #include <array>
4 #include <string>
5 
6 namespace utils
7 {
8 namespace tstring
9 {
10 
11 struct Id
12 {
13     static std::string str()
14     {
15         return "id";
16     }
17 };
18 
19 struct SensorPath
20 {
21     static std::string str()
22     {
23         return "sensorPath";
24     }
25 };
26 
27 struct OperationType
28 {
29     static std::string str()
30     {
31         return "operationType";
32     }
33 };
34 
35 struct MetricMetadata
36 {
37     static std::string str()
38     {
39         return "metricMetadata";
40     }
41 };
42 
43 struct Service
44 {
45     static std::string str()
46     {
47         return "service";
48     }
49 };
50 
51 struct Path
52 {
53     static std::string str()
54     {
55         return "path";
56     }
57 };
58 
59 } // namespace tstring
60 } // namespace utils
61