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

enum class RegionType{
    Invalid,
    Static,
    Dynamic,
};

NLOHMANN_JSON_SERIALIZE_ENUM(RegionType, {
    {RegionType::Invalid, "Invalid"},
    {RegionType::Static, "Static"},
    {RegionType::Dynamic, "Dynamic"},
});

// clang-format on
} // namespace memory_region