Sunitha Harish | 74eec26 | 2020-06-25 10:00:01 -0500 | [diff] [blame] | 1 | #pragma once |
Ed Tanous | 847deee | 2024-12-02 15:28:10 -0800 | [diff] [blame] | 2 | /**************************************************************** |
| 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 Harish | 74eec26 | 2020-06-25 10:00:01 -0500 | [diff] [blame] | 12 | |
Ed Tanous | 847deee | 2024-12-02 15:28:10 -0800 | [diff] [blame] | 13 | #include "http_response.hpp" |
Ed Tanous | 3ccb3ad | 2023-01-13 17:40:03 -0800 | [diff] [blame] | 14 | |
Ed Tanous | 847deee | 2024-12-02 15:28:10 -0800 | [diff] [blame] | 15 | #include <boost/url/url_view_base.hpp> |
Ed Tanous | 65e4f1f | 2022-02-08 00:23:54 -0800 | [diff] [blame] | 16 | #include <nlohmann/json.hpp> |
Ed Tanous | 65e4f1f | 2022-02-08 00:23:54 -0800 | [diff] [blame] | 17 | |
Ed Tanous | 847deee | 2024-12-02 15:28:10 -0800 | [diff] [blame] | 18 | #include <source_location> |
Ed Tanous | 847deee | 2024-12-02 15:28:10 -0800 | [diff] [blame] | 19 | #include <string_view> |
| 20 | |
| 21 | // IWYU pragma: no_forward_declare crow::Response |
| 22 | |
Sunitha Harish | 74eec26 | 2020-06-25 10:00:01 -0500 | [diff] [blame] | 23 | namespace redfish |
| 24 | { |
Ed Tanous | 847deee | 2024-12-02 15:28:10 -0800 | [diff] [blame] | 25 | |
Sunitha Harish | 74eec26 | 2020-06-25 10:00:01 -0500 | [diff] [blame] | 26 | namespace messages |
| 27 | { |
Ed Tanous | 847deee | 2024-12-02 15:28:10 -0800 | [diff] [blame] | 28 | nlohmann::json resourceCreated(); |
Sunitha Harish | 74eec26 | 2020-06-25 10:00:01 -0500 | [diff] [blame] | 29 | |
Ed Tanous | 847deee | 2024-12-02 15:28:10 -0800 | [diff] [blame] | 30 | nlohmann::json resourceRemoved(); |
Ed Tanous | 65e4f1f | 2022-02-08 00:23:54 -0800 | [diff] [blame] | 31 | |
Ed Tanous | 847deee | 2024-12-02 15:28:10 -0800 | [diff] [blame] | 32 | nlohmann::json resourceErrorsDetected(std::string_view arg1, |
| 33 | std::string_view arg2); |
Sunitha Harish | 74eec26 | 2020-06-25 10:00:01 -0500 | [diff] [blame] | 34 | |
Ed Tanous | 847deee | 2024-12-02 15:28:10 -0800 | [diff] [blame] | 35 | nlohmann::json resourceErrorsCorrected(std::string_view arg1, |
| 36 | std::string_view arg2); |
Sunitha Harish | 74eec26 | 2020-06-25 10:00:01 -0500 | [diff] [blame] | 37 | |
Ed Tanous | 847deee | 2024-12-02 15:28:10 -0800 | [diff] [blame] | 38 | nlohmann::json resourceErrorThresholdExceeded(std::string_view arg1, |
| 39 | std::string_view arg2); |
| 40 | |
| 41 | nlohmann::json |
| 42 | resourceErrorThresholdCleared(std::string_view arg1, std::string_view arg2); |
| 43 | |
| 44 | nlohmann::json resourceWarningThresholdExceeded(std::string_view arg1, |
| 45 | std::string_view arg2); |
| 46 | |
| 47 | nlohmann::json resourceWarningThresholdCleared(std::string_view arg1, |
| 48 | std::string_view arg2); |
| 49 | |
| 50 | nlohmann::json resourceStatusChangedOK(std::string_view arg1, |
| 51 | std::string_view arg2); |
| 52 | |
| 53 | nlohmann::json |
| 54 | resourceStatusChangedWarning(std::string_view arg1, std::string_view arg2); |
| 55 | |
| 56 | nlohmann::json |
| 57 | resourceStatusChangedCritical(std::string_view arg1, std::string_view arg2); |
| 58 | |
| 59 | nlohmann::json resourceStateChanged(std::string_view arg1, |
| 60 | std::string_view arg2); |
| 61 | |
| 62 | nlohmann::json resourcePoweredOn(std::string_view arg1); |
| 63 | |
| 64 | nlohmann::json resourcePoweringOn(std::string_view arg1); |
| 65 | |
| 66 | nlohmann::json resourcePoweredOff(std::string_view arg1); |
| 67 | |
| 68 | nlohmann::json resourcePoweringOff(std::string_view arg1); |
| 69 | |
| 70 | nlohmann::json resourcePaused(std::string_view arg1); |
| 71 | |
| 72 | nlohmann::json uRIForResourceChanged(); |
| 73 | |
| 74 | nlohmann::json resourceChanged(); |
| 75 | |
| 76 | nlohmann::json resourceVersionIncompatible(std::string_view arg1); |
| 77 | |
| 78 | nlohmann::json resourceSelfTestFailed(std::string_view arg1); |
| 79 | |
| 80 | nlohmann::json resourceSelfTestCompleted(); |
| 81 | |
| 82 | nlohmann::json testMessage(); |
| 83 | |
| 84 | nlohmann::json aggregationSourceDiscovered(std::string_view arg1, |
| 85 | std::string_view arg2); |
| 86 | |
| 87 | nlohmann::json licenseExpired(std::string_view arg1, std::string_view arg2); |
| 88 | |
| 89 | nlohmann::json licenseChanged(std::string_view arg1, std::string_view arg2); |
| 90 | |
| 91 | nlohmann::json licenseAdded(std::string_view arg1, std::string_view arg2); |
Sunitha Harish | 74eec26 | 2020-06-25 10:00:01 -0500 | [diff] [blame] | 92 | |
| 93 | } // namespace messages |
| 94 | } // namespace redfish |