blob: 1665810e295e6f480ec5b8ca23172745a5467f1a [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 Tanous847deee2024-12-02 15:28:10 -080030nlohmann::json resourceCreated();
Sunitha Harish74eec262020-06-25 10:00:01 -050031
Ed Tanous847deee2024-12-02 15:28:10 -080032nlohmann::json resourceRemoved();
Ed Tanous65e4f1f2022-02-08 00:23:54 -080033
Ed Tanous847deee2024-12-02 15:28:10 -080034nlohmann::json resourceErrorsDetected(std::string_view arg1,
35 std::string_view arg2);
Sunitha Harish74eec262020-06-25 10:00:01 -050036
Ed Tanous847deee2024-12-02 15:28:10 -080037nlohmann::json resourceErrorsCorrected(std::string_view arg1,
38 std::string_view arg2);
Sunitha Harish74eec262020-06-25 10:00:01 -050039
Ed Tanous847deee2024-12-02 15:28:10 -080040nlohmann::json resourceErrorThresholdExceeded(std::string_view arg1,
41 std::string_view arg2);
42
43nlohmann::json
44 resourceErrorThresholdCleared(std::string_view arg1, std::string_view arg2);
45
46nlohmann::json resourceWarningThresholdExceeded(std::string_view arg1,
47 std::string_view arg2);
48
49nlohmann::json resourceWarningThresholdCleared(std::string_view arg1,
50 std::string_view arg2);
51
52nlohmann::json resourceStatusChangedOK(std::string_view arg1,
53 std::string_view arg2);
54
55nlohmann::json
56 resourceStatusChangedWarning(std::string_view arg1, std::string_view arg2);
57
58nlohmann::json
59 resourceStatusChangedCritical(std::string_view arg1, std::string_view arg2);
60
61nlohmann::json resourceStateChanged(std::string_view arg1,
62 std::string_view arg2);
63
64nlohmann::json resourcePoweredOn(std::string_view arg1);
65
66nlohmann::json resourcePoweringOn(std::string_view arg1);
67
68nlohmann::json resourcePoweredOff(std::string_view arg1);
69
70nlohmann::json resourcePoweringOff(std::string_view arg1);
71
72nlohmann::json resourcePaused(std::string_view arg1);
73
74nlohmann::json uRIForResourceChanged();
75
76nlohmann::json resourceChanged();
77
78nlohmann::json resourceVersionIncompatible(std::string_view arg1);
79
80nlohmann::json resourceSelfTestFailed(std::string_view arg1);
81
82nlohmann::json resourceSelfTestCompleted();
83
84nlohmann::json testMessage();
85
86nlohmann::json aggregationSourceDiscovered(std::string_view arg1,
87 std::string_view arg2);
88
89nlohmann::json licenseExpired(std::string_view arg1, std::string_view arg2);
90
91nlohmann::json licenseChanged(std::string_view arg1, std::string_view arg2);
92
93nlohmann::json licenseAdded(std::string_view arg1, std::string_view arg2);
Sunitha Harish74eec262020-06-25 10:00:01 -050094
95} // namespace messages
96} // namespace redfish