xref: /openbmc/bmcweb/redfish-core/include/generated/enums/cooling_unit.hpp (revision 40e9b92ec19acffb46f83a6e55b18974da5d708e)
1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors
3 #pragma once
4 #include <nlohmann/json.hpp>
5 
6 namespace cooling_unit
7 {
8 // clang-format off
9 
10 enum class CoolingEquipmentType{
11     Invalid,
12     CDU,
13     HeatExchanger,
14     ImmersionUnit,
15 };
16 
17 NLOHMANN_JSON_SERIALIZE_ENUM(CoolingEquipmentType, {
18     {CoolingEquipmentType::Invalid, "Invalid"},
19     {CoolingEquipmentType::CDU, "CDU"},
20     {CoolingEquipmentType::HeatExchanger, "HeatExchanger"},
21     {CoolingEquipmentType::ImmersionUnit, "ImmersionUnit"},
22 });
23 
24 }
25 // clang-format on
26