summaryrefslogtreecommitdiff
path: root/redfish-core/include/generated/enums/trusted_component.hpp
blob: 1291158afa3dddb684d758874bb36f0423bb8005 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright OpenBMC Authors
#pragma once
#include <nlohmann/json.hpp>

namespace trusted_component
{
// clang-format off

enum class TrustedComponentType{
    Invalid,
    Discrete,
    Integrated,
};

NLOHMANN_JSON_SERIALIZE_ENUM(TrustedComponentType, {
    {TrustedComponentType::Invalid, "Invalid"},
    {TrustedComponentType::Discrete, "Discrete"},
    {TrustedComponentType::Integrated, "Integrated"},
});

// clang-format on
} // namespace trusted_component