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 reservoir 7f263e09cSEd Tanous { 8f263e09cSEd Tanous // clang-format off 9f263e09cSEd Tanous 10f263e09cSEd Tanous enum class ReservoirType{ 11f263e09cSEd Tanous Invalid, 12f263e09cSEd Tanous Reserve, 13f263e09cSEd Tanous Overflow, 14f263e09cSEd Tanous Inline, 15f263e09cSEd Tanous Immersion, 16f263e09cSEd Tanous }; 17f263e09cSEd Tanous 18f263e09cSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(ReservoirType, { 19f263e09cSEd Tanous {ReservoirType::Invalid, "Invalid"}, 20f263e09cSEd Tanous {ReservoirType::Reserve, "Reserve"}, 21f263e09cSEd Tanous {ReservoirType::Overflow, "Overflow"}, 22f263e09cSEd Tanous {ReservoirType::Inline, "Inline"}, 23f263e09cSEd Tanous {ReservoirType::Immersion, "Immersion"}, 24f263e09cSEd Tanous }); 25f263e09cSEd Tanous 26f263e09cSEd Tanous } 27f263e09cSEd Tanous // clang-format on 28