xref: /openbmc/bmcweb/redfish-core/include/task_messages.hpp (revision 6e1a52fae1e39bdae6427bf060598242e1e4e4e6)
1 #pragma once
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  ***************************************************************/
12 
13 #include "http_response.hpp"
14 
15 #include <boost/url/url_view_base.hpp>
16 #include <nlohmann/json.hpp>
17 
18 #include <source_location>
19 #include <string_view>
20 
21 // IWYU pragma: no_forward_declare crow::Response
22 
23 namespace redfish
24 {
25 
26 namespace messages
27 {
28 nlohmann::json taskStarted(std::string_view arg1);
29 
30 nlohmann::json taskCompletedOK(std::string_view arg1);
31 
32 nlohmann::json taskCompletedWarning(std::string_view arg1);
33 
34 nlohmann::json taskAborted(std::string_view arg1);
35 
36 nlohmann::json taskCancelled(std::string_view arg1);
37 
38 nlohmann::json taskRemoved(std::string_view arg1);
39 
40 nlohmann::json taskPaused(std::string_view arg1);
41 
42 nlohmann::json taskResumed(std::string_view arg1);
43 
44 nlohmann::json taskProgressChanged(std::string_view arg1, uint64_t arg2);
45 
46 } // namespace messages
47 } // namespace redfish
48