xref: /openbmc/bmcweb/features/redfish/include/generated/enums/trusted_component.hpp (revision 853c0dc5486bbab77b2d1f158152de93847c20d9)
1*853c0dc5SEd Tanous #pragma once
2*853c0dc5SEd Tanous #include <nlohmann/json.hpp>
3*853c0dc5SEd Tanous 
4*853c0dc5SEd Tanous namespace trusted_component
5*853c0dc5SEd Tanous {
6*853c0dc5SEd Tanous // clang-format off
7*853c0dc5SEd Tanous 
8*853c0dc5SEd Tanous enum class TrustedComponentType{
9*853c0dc5SEd Tanous     Invalid,
10*853c0dc5SEd Tanous     Discrete,
11*853c0dc5SEd Tanous     Integrated,
12*853c0dc5SEd Tanous };
13*853c0dc5SEd Tanous 
14*853c0dc5SEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(TrustedComponentType, {
15*853c0dc5SEd Tanous     {TrustedComponentType::Invalid, "Invalid"},
16*853c0dc5SEd Tanous     {TrustedComponentType::Discrete, "Discrete"},
17*853c0dc5SEd Tanous     {TrustedComponentType::Integrated, "Integrated"},
18*853c0dc5SEd Tanous });
19*853c0dc5SEd Tanous 
20*853c0dc5SEd Tanous }
21*853c0dc5SEd Tanous // clang-format on
22