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