blob: aab01a4589f487e96c8d6d7b4079f7bfa9f181d0 [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 Tanous847deee2024-12-02 15:28:10 -080013#include "http_response.hpp"
Ed Tanous3ccb3ad2023-01-13 17:40:03 -080014
Ed Tanous847deee2024-12-02 15:28:10 -080015#include <boost/url/url_view_base.hpp>
Ed Tanous65e4f1f2022-02-08 00:23:54 -080016#include <nlohmann/json.hpp>
Ed Tanous65e4f1f2022-02-08 00:23:54 -080017
Ed Tanous847deee2024-12-02 15:28:10 -080018#include <source_location>
Ed Tanous847deee2024-12-02 15:28:10 -080019#include <string_view>
20
21// IWYU pragma: no_forward_declare crow::Response
22
Sunitha Harish74eec262020-06-25 10:00:01 -050023namespace redfish
24{
Ed Tanous847deee2024-12-02 15:28:10 -080025
Sunitha Harish74eec262020-06-25 10:00:01 -050026namespace messages
27{
Ed Tanous847deee2024-12-02 15:28:10 -080028nlohmann::json resourceCreated();
Sunitha Harish74eec262020-06-25 10:00:01 -050029
Ed Tanous847deee2024-12-02 15:28:10 -080030nlohmann::json resourceRemoved();
Ed Tanous65e4f1f2022-02-08 00:23:54 -080031
Ed Tanous847deee2024-12-02 15:28:10 -080032nlohmann::json resourceErrorsDetected(std::string_view arg1,
33 std::string_view arg2);
Sunitha Harish74eec262020-06-25 10:00:01 -050034
Ed Tanous847deee2024-12-02 15:28:10 -080035nlohmann::json resourceErrorsCorrected(std::string_view arg1,
36 std::string_view arg2);
Sunitha Harish74eec262020-06-25 10:00:01 -050037
Ed Tanous847deee2024-12-02 15:28:10 -080038nlohmann::json resourceErrorThresholdExceeded(std::string_view arg1,
39 std::string_view arg2);
40
41nlohmann::json
42 resourceErrorThresholdCleared(std::string_view arg1, std::string_view arg2);
43
44nlohmann::json resourceWarningThresholdExceeded(std::string_view arg1,
45 std::string_view arg2);
46
47nlohmann::json resourceWarningThresholdCleared(std::string_view arg1,
48 std::string_view arg2);
49
50nlohmann::json resourceStatusChangedOK(std::string_view arg1,
51 std::string_view arg2);
52
53nlohmann::json
54 resourceStatusChangedWarning(std::string_view arg1, std::string_view arg2);
55
56nlohmann::json
57 resourceStatusChangedCritical(std::string_view arg1, std::string_view arg2);
58
59nlohmann::json resourceStateChanged(std::string_view arg1,
60 std::string_view arg2);
61
62nlohmann::json resourcePoweredOn(std::string_view arg1);
63
64nlohmann::json resourcePoweringOn(std::string_view arg1);
65
66nlohmann::json resourcePoweredOff(std::string_view arg1);
67
68nlohmann::json resourcePoweringOff(std::string_view arg1);
69
70nlohmann::json resourcePaused(std::string_view arg1);
71
72nlohmann::json uRIForResourceChanged();
73
74nlohmann::json resourceChanged();
75
76nlohmann::json resourceVersionIncompatible(std::string_view arg1);
77
78nlohmann::json resourceSelfTestFailed(std::string_view arg1);
79
80nlohmann::json resourceSelfTestCompleted();
81
82nlohmann::json testMessage();
83
84nlohmann::json aggregationSourceDiscovered(std::string_view arg1,
85 std::string_view arg2);
86
87nlohmann::json licenseExpired(std::string_view arg1, std::string_view arg2);
88
89nlohmann::json licenseChanged(std::string_view arg1, std::string_view arg2);
90
91nlohmann::json licenseAdded(std::string_view arg1, std::string_view arg2);
Sunitha Harish74eec262020-06-25 10:00:01 -050092
93} // namespace messages
94} // namespace redfish