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