1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors 3 #pragma once 4 #include <nlohmann/json.hpp> 5 6 namespace registered_client 7 { 8 // clang-format off 9 10 enum class ClientType{ 11 Invalid, 12 Monitor, 13 Configure, 14 }; 15 16 NLOHMANN_JSON_SERIALIZE_ENUM(ClientType, { 17 {ClientType::Invalid, "Invalid"}, 18 {ClientType::Monitor, "Monitor"}, 19 {ClientType::Configure, "Configure"}, 20 }); 21 22 } 23 // clang-format on 24