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 pump 7f263e09cSEd Tanous { 8f263e09cSEd Tanous // clang-format off 9f263e09cSEd Tanous 10f263e09cSEd Tanous enum class PumpType{ 11f263e09cSEd Tanous Invalid, 12f263e09cSEd Tanous Liquid, 13f263e09cSEd Tanous Compressor, 14f263e09cSEd Tanous }; 15f263e09cSEd Tanous 16f263e09cSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(PumpType, { 17f263e09cSEd Tanous {PumpType::Invalid, "Invalid"}, 18f263e09cSEd Tanous {PumpType::Liquid, "Liquid"}, 19f263e09cSEd Tanous {PumpType::Compressor, "Compressor"}, 20f263e09cSEd Tanous }); 21f263e09cSEd Tanous 22f263e09cSEd Tanous } 23f263e09cSEd Tanous // clang-format on 24