xref: /openbmc/bmcweb/features/redfish/include/generated/enums/action_info.hpp (revision 40e9b92ec19acffb46f83a6e55b18974da5d708e)
1*40e9b92eSEd Tanous // SPDX-License-Identifier: Apache-2.0
2*40e9b92eSEd Tanous // SPDX-FileCopyrightText: Copyright OpenBMC Authors
30ec8b83dSEd Tanous #pragma once
40ec8b83dSEd Tanous #include <nlohmann/json.hpp>
50ec8b83dSEd Tanous 
60ec8b83dSEd Tanous namespace action_info
70ec8b83dSEd Tanous {
80ec8b83dSEd Tanous // clang-format off
90ec8b83dSEd Tanous 
100ec8b83dSEd Tanous enum class ParameterTypes{
110ec8b83dSEd Tanous     Invalid,
120ec8b83dSEd Tanous     Boolean,
130ec8b83dSEd Tanous     Number,
140ec8b83dSEd Tanous     NumberArray,
150ec8b83dSEd Tanous     String,
160ec8b83dSEd Tanous     StringArray,
170ec8b83dSEd Tanous     Object,
180ec8b83dSEd Tanous     ObjectArray,
190ec8b83dSEd Tanous };
200ec8b83dSEd Tanous 
210ec8b83dSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(ParameterTypes, {
220ec8b83dSEd Tanous     {ParameterTypes::Invalid, "Invalid"},
230ec8b83dSEd Tanous     {ParameterTypes::Boolean, "Boolean"},
240ec8b83dSEd Tanous     {ParameterTypes::Number, "Number"},
250ec8b83dSEd Tanous     {ParameterTypes::NumberArray, "NumberArray"},
260ec8b83dSEd Tanous     {ParameterTypes::String, "String"},
270ec8b83dSEd Tanous     {ParameterTypes::StringArray, "StringArray"},
280ec8b83dSEd Tanous     {ParameterTypes::Object, "Object"},
290ec8b83dSEd Tanous     {ParameterTypes::ObjectArray, "ObjectArray"},
300ec8b83dSEd Tanous });
310ec8b83dSEd Tanous 
320ec8b83dSEd Tanous }
330ec8b83dSEd Tanous // clang-format on
34