blob: b8ef3cccae8d40a61df52e1b8f67eb9002fe22d8 [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 ***************************************************************/
Sunitha Harish74eec262020-06-25 10:00:01 -050012
Ed Tanous65e4f1f2022-02-08 00:23:54 -080013#include <nlohmann/json.hpp>
Ed Tanous65e4f1f2022-02-08 00:23:54 -080014
Ed Tanous847deee2024-12-02 15:28:10 -080015#include <string_view>
16
17// IWYU pragma: no_forward_declare crow::Response
18
Sunitha Harish74eec262020-06-25 10:00:01 -050019namespace redfish
20{
Ed Tanous847deee2024-12-02 15:28:10 -080021
Sunitha Harish74eec262020-06-25 10:00:01 -050022namespace messages
23{
Ed Tanous847deee2024-12-02 15:28:10 -080024nlohmann::json resourceCreated();
Sunitha Harish74eec262020-06-25 10:00:01 -050025
Ed Tanous847deee2024-12-02 15:28:10 -080026nlohmann::json resourceRemoved();
Ed Tanous65e4f1f2022-02-08 00:23:54 -080027
Ed Tanous847deee2024-12-02 15:28:10 -080028nlohmann::json resourceErrorsDetected(std::string_view arg1,
29 std::string_view arg2);
Sunitha Harish74eec262020-06-25 10:00:01 -050030
Ed Tanous847deee2024-12-02 15:28:10 -080031nlohmann::json resourceErrorsCorrected(std::string_view arg1,
32 std::string_view arg2);
Sunitha Harish74eec262020-06-25 10:00:01 -050033
Ed Tanous847deee2024-12-02 15:28:10 -080034nlohmann::json resourceErrorThresholdExceeded(std::string_view arg1,
35 std::string_view arg2);
36
37nlohmann::json
38 resourceErrorThresholdCleared(std::string_view arg1, std::string_view arg2);
39
40nlohmann::json resourceWarningThresholdExceeded(std::string_view arg1,
41 std::string_view arg2);
42
43nlohmann::json resourceWarningThresholdCleared(std::string_view arg1,
44 std::string_view arg2);
45
46nlohmann::json resourceStatusChangedOK(std::string_view arg1,
47 std::string_view arg2);
48
49nlohmann::json
50 resourceStatusChangedWarning(std::string_view arg1, std::string_view arg2);
51
52nlohmann::json
53 resourceStatusChangedCritical(std::string_view arg1, std::string_view arg2);
54
55nlohmann::json resourceStateChanged(std::string_view arg1,
56 std::string_view arg2);
57
58nlohmann::json resourcePoweredOn(std::string_view arg1);
59
60nlohmann::json resourcePoweringOn(std::string_view arg1);
61
62nlohmann::json resourcePoweredOff(std::string_view arg1);
63
64nlohmann::json resourcePoweringOff(std::string_view arg1);
65
66nlohmann::json resourcePaused(std::string_view arg1);
67
68nlohmann::json uRIForResourceChanged();
69
70nlohmann::json resourceChanged();
71
72nlohmann::json resourceVersionIncompatible(std::string_view arg1);
73
74nlohmann::json resourceSelfTestFailed(std::string_view arg1);
75
76nlohmann::json resourceSelfTestCompleted();
77
78nlohmann::json testMessage();
79
80nlohmann::json aggregationSourceDiscovered(std::string_view arg1,
81 std::string_view arg2);
82
83nlohmann::json licenseExpired(std::string_view arg1, std::string_view arg2);
84
85nlohmann::json licenseChanged(std::string_view arg1, std::string_view arg2);
86
87nlohmann::json licenseAdded(std::string_view arg1, std::string_view arg2);
Sunitha Harish74eec262020-06-25 10:00:01 -050088
89} // namespace messages
90} // namespace redfish