-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathRun.h
More file actions
277 lines (221 loc) · 6.5 KB
/
Copy pathRun.h
File metadata and controls
277 lines (221 loc) · 6.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
/**
* ALICE Bookkeeping
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 0.0.0
*
* NOTE: This class is auto generated by OpenAPI-Generator 5.0.0-beta2.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/*
* Run.h
*
* Describes an intervention or an event that happened.
*/
#ifndef ORG_OPENAPITOOLS_CLIENT_MODEL_Run_H_
#define ORG_OPENAPITOOLS_CLIENT_MODEL_Run_H_
#include "../ModelBase.h"
#include "RunType.h"
#include <cpprest/details/basic_types.h>
#include "RunQuality.h"
namespace org {
namespace openapitools {
namespace client {
namespace model {
/// <summary>
/// Describes an intervention or an event that happened.
/// </summary>
class Run
: public ModelBase
{
public:
Run();
virtual ~Run();
/////////////////////////////////////////////
/// ModelBase overrides
void validate() override;
web::json::value toJson() const override;
bool fromJson(const web::json::value& json) override;
void toMultipart(std::shared_ptr<MultipartFormData> multipart, const utility::string_t& namePrefix) const override;
bool fromMultiPart(std::shared_ptr<MultipartFormData> multipart, const utility::string_t& namePrefix) override;
/////////////////////////////////////////////
/// Run members
/// <summary>
/// The unique identifier of this entity.
/// </summary>
utility::string_t getEnvironmentId() const;
bool environmentIdIsSet() const;
void unsetEnvironmentId();
void setEnvironmentId(const utility::string_t& value);
/// <summary>
/// Total data volume read out from the detectors by the O2 system in bytes.
/// </summary>
int64_t getBytesReadOut() const;
bool bytesReadOutIsSet() const;
void unsetBytesReadOut();
void setBytesReadOut(int64_t value);
/// <summary>
/// Unix timestamp when this entity was created.
/// </summary>
int64_t getCreatedAt() const;
bool createdAtIsSet() const;
void unsetCreatedAt();
void setCreatedAt(int64_t value);
/// <summary>
/// The unique identifier of this entity.
/// </summary>
int64_t getId() const;
bool idIsSet() const;
void unsetId();
void setId(int64_t value);
/// <summary>
/// The amount of detectors in a single run.
/// </summary>
int64_t getNDetectors() const;
bool nDetectorsIsSet() const;
void unsetNDetectors();
void setNDetectors(int64_t value);
/// <summary>
/// The amount of Epns nodes in a single run.
/// </summary>
int64_t getNEpns() const;
bool nEpnsIsSet() const;
void unsetNEpns();
void setNEpns(int64_t value);
/// <summary>
/// The amount of Flps nodes in a single run.
/// </summary>
int64_t getNFlps() const;
bool nFlpsIsSet() const;
void unsetNFlps();
void setNFlps(int64_t value);
/// <summary>
/// Total number of subtimeframes processed by the O2 system.
/// </summary>
int64_t getNSubtimeframes() const;
bool nSubtimeframesIsSet() const;
void unsetNSubtimeframes();
void setNSubtimeframes(int64_t value);
/// <summary>
/// The unique identifier of this entity.
/// </summary>
int64_t getRunNumber() const;
bool runNumberIsSet() const;
void unsetRunNumber();
void setRunNumber(int64_t value);
/// <summary>
///
/// </summary>
std::shared_ptr<RunQuality> getRunQuality() const;
bool runQualityIsSet() const;
void unsetRunQuality();
void setRunQuality(const std::shared_ptr<RunQuality>& value);
/// <summary>
///
/// </summary>
std::shared_ptr<RunType> getRunType() const;
bool runTypeIsSet() const;
void unsetRunType();
void setRunType(const std::shared_ptr<RunType>& value);
/// <summary>
/// Unix timestamp when this entity was created.
/// </summary>
int64_t getTimeO2End() const;
bool timeO2EndIsSet() const;
void unsetTimeO2End();
void setTimeO2End(int64_t value);
/// <summary>
/// Unix timestamp when this entity was created.
/// </summary>
int64_t getTimeO2Start() const;
bool timeO2StartIsSet() const;
void unsetTimeO2Start();
void setTimeO2Start(int64_t value);
/// <summary>
/// Unix timestamp when this entity was created.
/// </summary>
int64_t getTimeTrgEnd() const;
bool timeTrgEndIsSet() const;
void unsetTimeTrgEnd();
void setTimeTrgEnd(int64_t value);
/// <summary>
/// Unix timestamp when this entity was created.
/// </summary>
int64_t getTimeTrgStart() const;
bool timeTrgStartIsSet() const;
void unsetTimeTrgStart();
void setTimeTrgStart(int64_t value);
/// <summary>
/// Boolean for Data Distrubution (FLP), On or Off.
/// </summary>
bool isDdFlp() const;
bool ddFlpIsSet() const;
void unsetDd_flp();
void setDdFlp(bool value);
/// <summary>
/// Boolean for DCS, On or Off.
/// </summary>
bool isDcs() const;
bool dcsIsSet() const;
void unsetDcs();
void setDcs(bool value);
/// <summary>
/// Boolean for EPN, On or Off.
/// </summary>
bool isEpn() const;
bool epnIsSet() const;
void unsetEpn();
void setEpn(bool value);
/// <summary>
/// Unix timestamp when this entity was last updated.
/// </summary>
int64_t getUpdatedAt() const;
bool updatedAtIsSet() const;
void unsetUpdatedAt();
void setUpdatedAt(int64_t value);
protected:
utility::string_t m_EnvironmentId;
bool m_EnvironmentIdIsSet;
int64_t m_BytesReadOut;
bool m_BytesReadOutIsSet;
int64_t m_CreatedAt;
bool m_CreatedAtIsSet;
int64_t m_Id;
bool m_IdIsSet;
int64_t m_NDetectors;
bool m_NDetectorsIsSet;
int64_t m_NEpns;
bool m_NEpnsIsSet;
int64_t m_NFlps;
bool m_NFlpsIsSet;
int64_t m_NSubtimeframes;
bool m_NSubtimeframesIsSet;
int64_t m_RunNumber;
bool m_RunNumberIsSet;
std::shared_ptr<RunQuality> m_RunQuality;
bool m_RunQualityIsSet;
std::shared_ptr<RunType> m_RunType;
bool m_RunTypeIsSet;
int64_t m_TimeO2End;
bool m_TimeO2EndIsSet;
int64_t m_TimeO2Start;
bool m_TimeO2StartIsSet;
int64_t m_TimeTrgEnd;
bool m_TimeTrgEndIsSet;
int64_t m_TimeTrgStart;
bool m_TimeTrgStartIsSet;
bool m_Dd_flp;
bool m_Dd_flpIsSet;
bool m_Dcs;
bool m_DcsIsSet;
bool m_Epn;
bool m_EpnIsSet;
int64_t m_UpdatedAt;
bool m_UpdatedAtIsSet;
};
}
}
}
}
#endif /* ORG_OPENAPITOOLS_CLIENT_MODEL_Run_H_ */