blob: 98290ee805ca8f45fa1d7ac3793d8f5f9ef998b7 [file] [log] [blame]
Sunitha Harish74eec262020-06-25 10:00:01 -05001#pragma once
Ed Tanous847deee2024-12-02 15:28:10 -08002/****************************************************************
3 * READ THIS WARNING FIRST
4 * This is an auto-generated header which contains definitions
5 * for Redfish DMTF defined messages.
6 * DO NOT modify this registry outside of running the
7 * parse_registries.py script. The definitions contained within
8 * this file are owned by DMTF. Any modifications to these files
9 * should be first pushed to the relevant registry in the DMTF
10 * github organization.
11 ***************************************************************/
Ed Tanous4aad6ed2025-01-30 09:35:06 -080012// These generated headers are a superset of what is needed.
13// clang sees them as an error, so ignore
14// NOLINTBEGIN(misc-include-cleaner)
15#include "http_response.hpp"
Sunitha Harish74eec262020-06-25 10:00:01 -050016
Ed Tanous4aad6ed2025-01-30 09:35:06 -080017#include <boost/url/url_view_base.hpp>
Ed Tanous65e4f1f2022-02-08 00:23:54 -080018#include <nlohmann/json.hpp>
Ed Tanous65e4f1f2022-02-08 00:23:54 -080019
Ed Tanous4aad6ed2025-01-30 09:35:06 -080020#include <cstdint>
21#include <source_location>
Ed Tanous847deee2024-12-02 15:28:10 -080022#include <string_view>
Ed Tanous4aad6ed2025-01-30 09:35:06 -080023// NOLINTEND(misc-include-cleaner)
Ed Tanous847deee2024-12-02 15:28:10 -080024
Sunitha Harish74eec262020-06-25 10:00:01 -050025namespace redfish
26{
Ed Tanous847deee2024-12-02 15:28:10 -080027
Sunitha Harish74eec262020-06-25 10:00:01 -050028namespace messages
29{
Ed Tanous10cf50d2025-05-06 16:10:32 -070030nlohmann::json::object_t resourceCreated();
Sunitha Harish74eec262020-06-25 10:00:01 -050031
Ed Tanous10cf50d2025-05-06 16:10:32 -070032nlohmann::json::object_t resourceRemoved();
Ed Tanous65e4f1f2022-02-08 00:23:54 -080033
Ed Tanous10cf50d2025-05-06 16:10:32 -070034nlohmann::json::object_t resourceErrorsDetected(std::string_view arg1,
Ed Tanous847deee2024-12-02 15:28:10 -080035 std::string_view arg2);
36
Ed Tanous10cf50d2025-05-06 16:10:32 -070037nlohmann::json::object_t resourceErrorsCorrected(std::string_view arg1,
38 std::string_view arg2);
Ed Tanous847deee2024-12-02 15:28:10 -080039
Ed Tanous10cf50d2025-05-06 16:10:32 -070040nlohmann::json::object_t resourceErrorThresholdExceeded(std::string_view arg1,
41 std::string_view arg2);
Ed Tanous847deee2024-12-02 15:28:10 -080042
Ed Tanous10cf50d2025-05-06 16:10:32 -070043nlohmann::json::object_t resourceErrorThresholdCleared(std::string_view arg1,
44 std::string_view arg2);
Ed Tanous847deee2024-12-02 15:28:10 -080045
Ed Tanous10cf50d2025-05-06 16:10:32 -070046nlohmann::json::object_t resourceWarningThresholdExceeded(
47 std::string_view arg1, std::string_view arg2);
Ed Tanous847deee2024-12-02 15:28:10 -080048
Ed Tanous10cf50d2025-05-06 16:10:32 -070049nlohmann::json::object_t resourceWarningThresholdCleared(std::string_view arg1,
50 std::string_view arg2);
Ed Tanous847deee2024-12-02 15:28:10 -080051
Ed Tanous10cf50d2025-05-06 16:10:32 -070052nlohmann::json::object_t resourceStatusChangedOK(std::string_view arg1,
53 std::string_view arg2);
Ed Tanous847deee2024-12-02 15:28:10 -080054
Ed Tanous10cf50d2025-05-06 16:10:32 -070055nlohmann::json::object_t resourceStatusChangedWarning(std::string_view arg1,
56 std::string_view arg2);
Ed Tanous847deee2024-12-02 15:28:10 -080057
Ed Tanous10cf50d2025-05-06 16:10:32 -070058nlohmann::json::object_t resourceStatusChangedCritical(std::string_view arg1,
59 std::string_view arg2);
Ed Tanous847deee2024-12-02 15:28:10 -080060
Ed Tanous10cf50d2025-05-06 16:10:32 -070061nlohmann::json::object_t resourceStateChanged(std::string_view arg1,
62 std::string_view arg2);
Ed Tanous847deee2024-12-02 15:28:10 -080063
Ed Tanous10cf50d2025-05-06 16:10:32 -070064nlohmann::json::object_t resourcePoweredOn(std::string_view arg1);
Ed Tanous847deee2024-12-02 15:28:10 -080065
Ed Tanous10cf50d2025-05-06 16:10:32 -070066nlohmann::json::object_t resourcePoweringOn(std::string_view arg1);
Ed Tanous847deee2024-12-02 15:28:10 -080067
Ed Tanous10cf50d2025-05-06 16:10:32 -070068nlohmann::json::object_t resourcePoweredOff(std::string_view arg1);
Ed Tanous847deee2024-12-02 15:28:10 -080069
Ed Tanous10cf50d2025-05-06 16:10:32 -070070nlohmann::json::object_t resourcePoweringOff(std::string_view arg1);
Ed Tanous847deee2024-12-02 15:28:10 -080071
Ed Tanous10cf50d2025-05-06 16:10:32 -070072nlohmann::json::object_t resourcePaused(std::string_view arg1);
Ed Tanous847deee2024-12-02 15:28:10 -080073
Ed Tanous10cf50d2025-05-06 16:10:32 -070074nlohmann::json::object_t uRIForResourceChanged();
Ed Tanous847deee2024-12-02 15:28:10 -080075
Ed Tanous10cf50d2025-05-06 16:10:32 -070076nlohmann::json::object_t resourceChanged();
Ed Tanous847deee2024-12-02 15:28:10 -080077
Ed Tanous10cf50d2025-05-06 16:10:32 -070078nlohmann::json::object_t resourceVersionIncompatible(std::string_view arg1);
Ed Tanous847deee2024-12-02 15:28:10 -080079
Ed Tanous10cf50d2025-05-06 16:10:32 -070080nlohmann::json::object_t resourceSelfTestFailed(std::string_view arg1);
Ed Tanous847deee2024-12-02 15:28:10 -080081
Ed Tanous10cf50d2025-05-06 16:10:32 -070082nlohmann::json::object_t resourceSelfTestCompleted();
Ed Tanous847deee2024-12-02 15:28:10 -080083
Ed Tanous10cf50d2025-05-06 16:10:32 -070084nlohmann::json::object_t testMessage();
85
86nlohmann::json::object_t aggregationSourceDiscovered(std::string_view arg1,
87 std::string_view arg2);
88
89nlohmann::json::object_t licenseExpired(std::string_view arg1,
90 std::string_view arg2);
91
92nlohmann::json::object_t licenseChanged(std::string_view arg1,
93 std::string_view arg2);
94
95nlohmann::json::object_t licenseAdded(std::string_view arg1,
96 std::string_view arg2);
Sunitha Harish74eec262020-06-25 10:00:01 -050097
98} // namespace messages
99} // namespace redfish