blob: f0bc679dda7535a96588c63e0bfe2b25f0807535 [file] [log] [blame]
Wludzik, Jozefe2362792020-10-27 17:23:55 +01001#pragma once
2
3#include <array>
4#include <string>
5
6namespace utils
7{
Wludzik, Jozefe2362792020-10-27 17:23:55 +01008namespace tstring
9{
10
Krzysztof Grobelnyd2238192020-12-02 09:27:28 +000011struct Id
12{
13 static std::string str()
14 {
15 return "id";
16 }
17};
18
Krzysztof Grobelnye8fc5752021-02-05 14:30:45 +000019struct SensorPath
Krzysztof Grobelnyd2238192020-12-02 09:27:28 +000020{
21 static std::string str()
22 {
Krzysztof Grobelnye8fc5752021-02-05 14:30:45 +000023 return "sensorPath";
Krzysztof Grobelnyd2238192020-12-02 09:27:28 +000024 }
25};
26
Cezary Zwolaka4e67612021-02-18 13:16:16 +010027struct SensorMetadata
28{
29 static std::string str()
30 {
31 return "sensorMetadata";
32 }
33};
34
Krzysztof Grobelnyd2238192020-12-02 09:27:28 +000035struct OperationType
36{
37 static std::string str()
38 {
39 return "operationType";
40 }
41};
42
43struct MetricMetadata
44{
45 static std::string str()
46 {
47 return "metricMetadata";
48 }
49};
50
51struct Service
52{
53 static std::string str()
54 {
55 return "service";
56 }
57};
58
59struct Path
60{
61 static std::string str()
62 {
63 return "path";
64 }
65};
Wludzik, Jozefe2362792020-10-27 17:23:55 +010066
Cezary Zwolaka4e67612021-02-18 13:16:16 +010067struct Type
68{
69 static std::string str()
70 {
71 return "type";
72 }
73};
74
75struct DwellTime
76{
77 static std::string str()
78 {
79 return "dwellTime";
80 }
81};
82
83struct Direction
84{
85 static std::string str()
86 {
87 return "direction";
88 }
89};
90
91struct ThresholdValue
92{
93 static std::string str()
94 {
95 return "thresholdValue";
96 }
97};
98
99struct UserId
100{
101 static std::string str()
102 {
103 return "userId";
104 }
105};
106
107struct Severity
108{
109 static std::string str()
110 {
111 return "severity";
112 }
113};
114
Krzysztof Grobelnydcc4e192021-03-08 09:09:34 +0000115struct CollectionTimeScope
116{
117 static std::string str()
118 {
119 return "collectionTimeScope";
120 }
121};
122
123struct CollectionDuration
124{
125 static std::string str()
126 {
127 return "collectionDuration";
128 }
129};
130
Szymon Dompke3a617022021-07-19 18:23:02 +0200131struct MetricProperties
132{
133 static std::string str()
134 {
135 return "MetricProperties";
136 }
137};
138
139struct SensorDbusPath
140{
141 static std::string str()
142 {
143 return "SensorDbusPath";
144 }
145};
146
147struct SensorRedfishUri
148{
149 static std::string str()
150 {
151 return "SensorRedfishUri";
152 }
153};
154
Wludzik, Jozefe2362792020-10-27 17:23:55 +0100155} // namespace tstring
156} // namespace utils