174eec26bSSunitha Harish #pragma once 2*847deee3SEd Tanous /**************************************************************** 3*847deee3SEd Tanous * READ THIS WARNING FIRST 4*847deee3SEd Tanous * This is an auto-generated header which contains definitions 5*847deee3SEd Tanous * for Redfish DMTF defined messages. 6*847deee3SEd Tanous * DO NOT modify this registry outside of running the 7*847deee3SEd Tanous * parse_registries.py script. The definitions contained within 8*847deee3SEd Tanous * this file are owned by DMTF. Any modifications to these files 9*847deee3SEd Tanous * should be first pushed to the relevant registry in the DMTF 10*847deee3SEd Tanous * github organization. 11*847deee3SEd Tanous ***************************************************************/ 1274eec26bSSunitha Harish 13*847deee3SEd Tanous #include "http_response.hpp" 143ccb3adbSEd Tanous 15*847deee3SEd Tanous #include <boost/url/url_view_base.hpp> 1665e4f1f7SEd Tanous #include <nlohmann/json.hpp> 1765e4f1f7SEd Tanous 18*847deee3SEd Tanous #include <source_location> 19*847deee3SEd Tanous #include <string_view> 20*847deee3SEd Tanous 21*847deee3SEd Tanous // IWYU pragma: no_forward_declare crow::Response 22*847deee3SEd Tanous 2374eec26bSSunitha Harish namespace redfish 2474eec26bSSunitha Harish { 25*847deee3SEd Tanous 2674eec26bSSunitha Harish namespace messages 2774eec26bSSunitha Harish { 28*847deee3SEd Tanous nlohmann::json resourceCreated(); 2974eec26bSSunitha Harish 30*847deee3SEd Tanous nlohmann::json resourceRemoved(); 3165e4f1f7SEd Tanous 32*847deee3SEd Tanous nlohmann::json resourceErrorsDetected(std::string_view arg1, 33*847deee3SEd Tanous std::string_view arg2); 3474eec26bSSunitha Harish 35*847deee3SEd Tanous nlohmann::json resourceErrorsCorrected(std::string_view arg1, 36*847deee3SEd Tanous std::string_view arg2); 3774eec26bSSunitha Harish 38*847deee3SEd Tanous nlohmann::json resourceErrorThresholdExceeded(std::string_view arg1, 39*847deee3SEd Tanous std::string_view arg2); 40*847deee3SEd Tanous 41*847deee3SEd Tanous nlohmann::json 42*847deee3SEd Tanous resourceErrorThresholdCleared(std::string_view arg1, std::string_view arg2); 43*847deee3SEd Tanous 44*847deee3SEd Tanous nlohmann::json resourceWarningThresholdExceeded(std::string_view arg1, 45*847deee3SEd Tanous std::string_view arg2); 46*847deee3SEd Tanous 47*847deee3SEd Tanous nlohmann::json resourceWarningThresholdCleared(std::string_view arg1, 48*847deee3SEd Tanous std::string_view arg2); 49*847deee3SEd Tanous 50*847deee3SEd Tanous nlohmann::json resourceStatusChangedOK(std::string_view arg1, 51*847deee3SEd Tanous std::string_view arg2); 52*847deee3SEd Tanous 53*847deee3SEd Tanous nlohmann::json 54*847deee3SEd Tanous resourceStatusChangedWarning(std::string_view arg1, std::string_view arg2); 55*847deee3SEd Tanous 56*847deee3SEd Tanous nlohmann::json 57*847deee3SEd Tanous resourceStatusChangedCritical(std::string_view arg1, std::string_view arg2); 58*847deee3SEd Tanous 59*847deee3SEd Tanous nlohmann::json resourceStateChanged(std::string_view arg1, 60*847deee3SEd Tanous std::string_view arg2); 61*847deee3SEd Tanous 62*847deee3SEd Tanous nlohmann::json resourcePoweredOn(std::string_view arg1); 63*847deee3SEd Tanous 64*847deee3SEd Tanous nlohmann::json resourcePoweringOn(std::string_view arg1); 65*847deee3SEd Tanous 66*847deee3SEd Tanous nlohmann::json resourcePoweredOff(std::string_view arg1); 67*847deee3SEd Tanous 68*847deee3SEd Tanous nlohmann::json resourcePoweringOff(std::string_view arg1); 69*847deee3SEd Tanous 70*847deee3SEd Tanous nlohmann::json resourcePaused(std::string_view arg1); 71*847deee3SEd Tanous 72*847deee3SEd Tanous nlohmann::json uRIForResourceChanged(); 73*847deee3SEd Tanous 74*847deee3SEd Tanous nlohmann::json resourceChanged(); 75*847deee3SEd Tanous 76*847deee3SEd Tanous nlohmann::json resourceVersionIncompatible(std::string_view arg1); 77*847deee3SEd Tanous 78*847deee3SEd Tanous nlohmann::json resourceSelfTestFailed(std::string_view arg1); 79*847deee3SEd Tanous 80*847deee3SEd Tanous nlohmann::json resourceSelfTestCompleted(); 81*847deee3SEd Tanous 82*847deee3SEd Tanous nlohmann::json testMessage(); 83*847deee3SEd Tanous 84*847deee3SEd Tanous nlohmann::json aggregationSourceDiscovered(std::string_view arg1, 85*847deee3SEd Tanous std::string_view arg2); 86*847deee3SEd Tanous 87*847deee3SEd Tanous nlohmann::json licenseExpired(std::string_view arg1, std::string_view arg2); 88*847deee3SEd Tanous 89*847deee3SEd Tanous nlohmann::json licenseChanged(std::string_view arg1, std::string_view arg2); 90*847deee3SEd Tanous 91*847deee3SEd Tanous nlohmann::json licenseAdded(std::string_view arg1, std::string_view arg2); 9274eec26bSSunitha Harish 9374eec26bSSunitha Harish } // namespace messages 9474eec26bSSunitha Harish } // namespace redfish 95