summaryrefslogtreecommitdiff
path: root/redfish-core/include/generated/enums/thermal.hpp
blob: 0df9711bd4c8893bfbeca1cb83e21b512d6dffd4 (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 thermal
{
// clang-format off

enum class ReadingUnits{
    Invalid,
    RPM,
    Percent,
};

NLOHMANN_JSON_SERIALIZE_ENUM(ReadingUnits, {
    {ReadingUnits::Invalid, "Invalid"},
    {ReadingUnits::RPM, "RPM"},
    {ReadingUnits::Percent, "Percent"},
});

// clang-format on
} // namespace thermal