xref: /openbmc/bmcweb/features/redfish/include/generated/enums/cooling_loop.hpp (revision 40e9b92ec19acffb46f83a6e55b18974da5d708e)
1*40e9b92eSEd Tanous // SPDX-License-Identifier: Apache-2.0
2*40e9b92eSEd Tanous // SPDX-FileCopyrightText: Copyright OpenBMC Authors
3f263e09cSEd Tanous #pragma once
4f263e09cSEd Tanous #include <nlohmann/json.hpp>
5f263e09cSEd Tanous 
6f263e09cSEd Tanous namespace cooling_loop
7f263e09cSEd Tanous {
8f263e09cSEd Tanous // clang-format off
9f263e09cSEd Tanous 
10f263e09cSEd Tanous enum class CoolantType{
11f263e09cSEd Tanous     Invalid,
12f263e09cSEd Tanous     Water,
13f263e09cSEd Tanous     Hydrocarbon,
14f263e09cSEd Tanous     Fluorocarbon,
15f263e09cSEd Tanous     Dielectric,
16f263e09cSEd Tanous };
17f263e09cSEd Tanous 
18f263e09cSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(CoolantType, {
19f263e09cSEd Tanous     {CoolantType::Invalid, "Invalid"},
20f263e09cSEd Tanous     {CoolantType::Water, "Water"},
21f263e09cSEd Tanous     {CoolantType::Hydrocarbon, "Hydrocarbon"},
22f263e09cSEd Tanous     {CoolantType::Fluorocarbon, "Fluorocarbon"},
23f263e09cSEd Tanous     {CoolantType::Dielectric, "Dielectric"},
24f263e09cSEd Tanous });
25f263e09cSEd Tanous 
26f263e09cSEd Tanous }
27f263e09cSEd Tanous // clang-format on
28