xref: /openbmc/bmcweb/features/redfish/include/task_messages.hpp (revision f175c280979b414f21cf7ad6eb16a2ce4927bfd8)
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 <cstdint>
19 #include <source_location>
20 #include <string>
21 #include <string_view>
22 
23 // IWYU pragma: no_forward_declare crow::Response
24 
25 namespace redfish
26 {
27 
28 namespace messages
29 {
30 nlohmann::json taskStarted(std::string_view arg1);
31 
32 nlohmann::json taskCompletedOK(std::string_view arg1);
33 
34 nlohmann::json taskCompletedWarning(std::string_view arg1);
35 
36 nlohmann::json taskAborted(std::string_view arg1);
37 
38 nlohmann::json taskCancelled(std::string_view arg1);
39 
40 nlohmann::json taskRemoved(std::string_view arg1);
41 
42 nlohmann::json taskPaused(std::string_view arg1);
43 
44 nlohmann::json taskResumed(std::string_view arg1);
45 
46 nlohmann::json taskProgressChanged(std::string_view arg1, uint64_t arg2);
47 
48 } // namespace messages
49 } // namespace redfish
50