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