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

namespace job_document
{
// clang-format off

enum class DataType{
    Invalid,
    Boolean,
    Number,
    String,
};

NLOHMANN_JSON_SERIALIZE_ENUM(DataType, {
    {DataType::Invalid, "Invalid"},
    {DataType::Boolean, "Boolean"},
    {DataType::Number, "Number"},
    {DataType::String, "String"},
});

// clang-format on
} // namespace job_document