xref: /openbmc/bmcweb/redfish-core/include/generated/enums/trusted_component.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 trusted_component
7 {
8 // clang-format off
9 
10 enum class TrustedComponentType{
11     Invalid,
12     Discrete,
13     Integrated,
14 };
15 
16 NLOHMANN_JSON_SERIALIZE_ENUM(TrustedComponentType, {
17     {TrustedComponentType::Invalid, "Invalid"},
18     {TrustedComponentType::Discrete, "Discrete"},
19     {TrustedComponentType::Integrated, "Integrated"},
20 });
21 
22 }
23 // clang-format on
24