xref: /openbmc/bmcweb/features/redfish/include/generated/enums/reservoir.hpp (revision f263e09c81b798bcf123df8fb144499389e9cbd1)
1*f263e09cSEd Tanous #pragma once
2*f263e09cSEd Tanous #include <nlohmann/json.hpp>
3*f263e09cSEd Tanous 
4*f263e09cSEd Tanous namespace reservoir
5*f263e09cSEd Tanous {
6*f263e09cSEd Tanous // clang-format off
7*f263e09cSEd Tanous 
8*f263e09cSEd Tanous enum class ReservoirType{
9*f263e09cSEd Tanous     Invalid,
10*f263e09cSEd Tanous     Reserve,
11*f263e09cSEd Tanous     Overflow,
12*f263e09cSEd Tanous     Inline,
13*f263e09cSEd Tanous     Immersion,
14*f263e09cSEd Tanous };
15*f263e09cSEd Tanous 
16*f263e09cSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(ReservoirType, {
17*f263e09cSEd Tanous     {ReservoirType::Invalid, "Invalid"},
18*f263e09cSEd Tanous     {ReservoirType::Reserve, "Reserve"},
19*f263e09cSEd Tanous     {ReservoirType::Overflow, "Overflow"},
20*f263e09cSEd Tanous     {ReservoirType::Inline, "Inline"},
21*f263e09cSEd Tanous     {ReservoirType::Immersion, "Immersion"},
22*f263e09cSEd Tanous });
23*f263e09cSEd Tanous 
24*f263e09cSEd Tanous }
25*f263e09cSEd Tanous // clang-format on
26